/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.main-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo h1 {
    color: #6b73ff;
    font-size: 1.8rem;
    font-weight: 600;
}

.main-nav {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.main-nav a:hover {
    color: #6b73ff;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.mobile-menu-toggle:hover {
    color: #6b73ff;
}

.mobile-menu-toggle i {
    transition: transform 0.3s ease;
}

.mobile-menu-toggle.active i {
    transform: rotate(90deg);
}

.cart-icon a {
    position: relative;
    color: #6b73ff;
    text-decoration: none;
    font-size: 1.5rem;
    padding: 0.5rem;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff6b6b;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2,
.section-header h3 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Main Content */
.main {
    padding: 2rem 0;
}

.product-section {
    margin-bottom: 4rem;
}

.product-showcase {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.product-image {
    text-align: center;
    position: relative;
}

.product-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}



.product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #ff6b6b;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.product-info {
    padding: 1rem 0;
}

.product-title {
    font-size: 2rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 600;
}

.product-rating {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.stars {
    color: #ffc107;
    margin-right: 0.5rem;
}

.rating-text {
    color: #666;
    font-size: 0.9rem;
}

.product-description {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

.product-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.highlight {
    display: flex;
    align-items: center;
    color: #28a745;
    font-size: 0.9rem;
}

.highlight i {
    margin-right: 0.5rem;
}

.product-price {
    margin-bottom: 2rem;
}

.price {
    font-size: 2.5rem;
    color: #6b73ff;
    font-weight: 700;
}

.original-price {
    font-size: 1.5rem;
    color: #999;
    text-decoration: line-through;
    margin-left: 1rem;
}

/* Form Styles */
.add-to-cart-form {
    margin-top: 1.5rem;
}

.quantity-selector,
.size-selector,
.quantity-selector label,
.size-selector label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

/* Quantity controls removed - now using dropdown */

/* Quantity Dropdown Selector */
.quantity-dropdown {
    width: 100px;
    height: 45px;
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1rem;
    padding-right: 2.5rem;
}

.quantity-dropdown:focus {
    outline: none;
    border-color: #6b73ff;
    box-shadow: 0 0 0 3px rgba(107, 115, 255, 0.1);
}

.quantity-dropdown:hover {
    border-color: #6b73ff;
}

.quantity-dropdown option {
    padding: 0.5rem;
    font-weight: 600;
    color: #333;
}

#size {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1rem;
    background: white;
}

/* Color options removed - now using default black color */

.add-to-cart-btn {
    width: 100%;
    background: #6b73ff;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.add-to-cart-btn:hover {
    background: #5a61e8;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(107, 115, 255, 0.3);
}

.trust-signals {
    display: flex;
    justify-content: space-around;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

.trust-item i {
    font-size: 1.5rem;
    color: #6b73ff;
    margin-bottom: 0.5rem;
}

/* Features Section */
.features-section {
    background: #fff;
    padding: 4rem 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 4rem;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.feature {
    text-align: center;
    padding: 2rem 1rem;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature-icon {
    margin-bottom: 1rem;
}

.feature-icon i {
    font-size: 3rem;
    color: #6b73ff;
}

.feature h4 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.feature p {
    color: #666;
    line-height: 1.6;
}

/* Testimonials Section */
.testimonials-section {
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f0ff 100%);
    padding: 4rem 2rem;
    border-radius: 15px;
    margin-bottom: 4rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.testimonial {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content .stars {
    margin-bottom: 1rem;
}

.testimonial-content p {
    font-style: italic;
    color: #666;
    line-height: 1.6;
    font-size: 1.1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: #28a745;
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
}

.verified-badge i {
    font-size: 0.7rem;
}

.author-info h5 {
    color: #333;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.author-info span {
    color: #6b73ff;
    font-size: 0.9rem;
}

/* FAQ Section */
.faq-section {
    background: white;
    padding: 4rem 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 4rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.faq-item {
    padding: 1.5rem;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #6b73ff;
    box-shadow: 0 5px 15px rgba(107, 115, 255, 0.1);
}

.faq-item h4 {
    color: #333;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.faq-item p {
    color: #666;
    line-height: 1.6;
}

/* Checkout Page */
.checkout-page {
    padding: 2rem 0;
}

.checkout-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.order-summary {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    height: fit-content;
}

.product-details {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.product-image img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
}

.product-info h4 {
    color: #333;
    margin-bottom: 0.5rem;
}

.product-description {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.order-details p {
    margin: 0.25rem 0;
    font-size: 0.9rem;
}

.price-breakdown {
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

.price-row {
    display: flex;
    justify-content: space-between;
    margin: 0.5rem 0;
}

.discount-row {
    color: #28a745;
}

.total-row {
    border-top: 1px solid #eee;
    padding-top: 0.5rem;
    margin-top: 1rem;
    font-size: 1.1rem;
}

/* Compact Summary Styles */
.compact-summary {
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0.5rem 0;
    padding: 0.25rem 0;
    font-size: 0.95rem;
}

.summary-line:first-child {
    font-weight: 600;
    color: #333;
}

.summary-line:not(:first-child):not(.total-line) {
    color: #666;
    font-size: 0.9rem;
}

.discount-line {
    color: #28a745;
}

.total-line {
    border-top: 1px solid #eee;
    padding-top: 0.75rem;
    margin-top: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Light Promotional Popup Styles */
.light-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-in-out;
}

.light-popup {
    background: white;
    border-radius: 12px;
    max-width: 320px;
    width: 90%;
    margin: 20px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    animation: slideIn 0.4s ease-out;
    border: 1px solid #e5e7eb;
}

.light-popup .popup-content {
    padding: 25px 20px 20px;
    text-align: center;
    position: relative;
}

.light-popup .popup-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 24px;
    height: 24px;
    background: #f3f4f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #6b7280;
    font-size: 0.8rem;
}

.light-popup .popup-close:hover {
    background: #e5e7eb;
    color: #374151;
}

.light-popup .popup-icon {
    font-size: 2rem;
    margin-bottom: 12px;
    color: #f59e0b;
}

.light-popup h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    font-weight: 700;
    color: #111827;
}

.light-popup .popup-tagline {
    font-size: 0.9rem;
    margin-bottom: 15px;
    color: #6b7280;
    font-style: italic;
}

.light-popup .discount-badge {
    background: #fef3c7;
    border: 1px solid #fbbf24;
    border-radius: 8px;
    padding: 8px 16px;
    margin-bottom: 12px;
    display: inline-block;
    color: #92400e;
    font-weight: 700;
    font-size: 1.2rem;
}

.light-popup .popup-benefit {
    font-size: 0.85rem;
    margin-bottom: 18px;
    color: #059669;
    font-weight: 500;
}

.light-popup .popup-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
}

.light-popup .popup-order-btn {
    background: #0284c7;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.light-popup .popup-order-btn:hover {
    background: #0369a1;
}

.light-popup .popup-close-btn {
    background: transparent;
    color: #6b7280;
    border: 1px solid #d1d5db;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.light-popup .popup-close-btn:hover {
    background: #f9fafb;
    border-color: #9ca3af;
}

.light-popup .popup-timer {
    color: #6b7280;
    font-size: 0.8rem;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { 
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to { 
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .promo-popup {
        margin: 10px;
        max-width: none;
        width: calc(100% - 20px);
    }
    
    .popup-content {
        padding: 30px 20px 25px;
    }
    
    .popup-content h2 {
        font-size: 1.5rem;
    }
    
    .discount-percentage {
        font-size: 2rem;
    }
    
    .popup-actions {
        gap: 10px;
    }
    
    .popup-order-btn,
    .popup-close-btn {
        padding: 12px 20px;
        font-size: 1rem;
    }
}

/* Promotional Banner Styles */
.promo-banner {
    background: #f0f9ff;
    border: 1px solid #e0f2fe;
    border-radius: 6px;
    padding: 6px 12px;
    margin-bottom: 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #0369a1;
    font-size: 0.8rem;
    font-weight: 500;
    box-shadow: none;
}

.promo-banner i {
    color: #0284c7;
    font-size: 0.9rem;
}

/* Light theme promotional tag - NEW CLASS */
.light-promo-tag {
    background: #f0f9ff;
    border: 1px solid #e0f2fe;
    border-radius: 6px;
    padding: 6px 12px;
    margin-bottom: 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #0369a1;
    font-size: 0.8rem;
    font-weight: 500;
    box-shadow: none;
    max-width: fit-content;
}

.light-promo-tag i {
    color: #0284c7;
    font-size: 0.9rem;
}

/* Promotion Card Styles */
.promo-card {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 1px solid #fbbf24;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 1px 4px rgba(251, 191, 36, 0.2);
}

.promo-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
}

.promo-icon {
    width: 32px;
    height: 32px;
    background: #f59e0b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    flex-shrink: 0;
}

.promo-text h4 {
    margin: 0 0 2px 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: #92400e;
}

.promo-text p {
    margin: 0;
    font-size: 0.75rem;
    color: #a16207;
}

.promo-savings {
    text-align: right;
    flex-shrink: 0;
}

.savings-amount {
    font-size: 1rem;
    font-weight: 700;
    color: #059669;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .promo-card {
        padding: 10px;
        margin-bottom: 12px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .promo-card-header {
        width: 100%;
        justify-content: flex-start;
    }
    
    .promo-icon {
        width: 28px;
        height: 28px;
        font-size: 0.9rem;
    }
    
    .promo-text h4 {
        font-size: 0.85rem;
    }
    
    .promo-text p {
        font-size: 0.7rem;
    }
    
    .promo-savings {
        text-align: left;
        width: 100%;
    }
    
    .savings-amount {
        font-size: 0.9rem;
    }
}

.checkout-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.payment-methods {
    margin: 1rem 0;
}

.payment-option {
    margin-bottom: 1rem;
}

.payment-option input[type="radio"] {
    display: none;
}

.payment-label {
    display: flex;
    align-items: center;
    padding: 1rem;
    border: 2px solid #eee;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-option input[type="radio"]:checked + .payment-label {
    border-color: #6b73ff;
    background: #f8f9ff;
}

.payment-icon {
    width: 50px;
    height: 50px;
    background: #6b73ff;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-right: 1rem;
}

.jazzcash-icon {
    background: #ff6b35;
}

.payment-info h4 {
    margin: 0 0 0.25rem 0;
    color: #333;
}

.payment-info p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

.discount-badge {
    background: #28a745;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    margin-top: 0.5rem;
    display: inline-block;
}

/* Footer */
.main-footer {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-top: 1px solid #e9ecef;
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
    position: relative;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #6b73ff, #5a61e8, #6b73ff);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
    align-items: start;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.footer-logo i {
    font-size: 1.5rem;
    color: #6b73ff;
    background: white;
    padding: 0.5rem;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(107, 115, 255, 0.2);
}

.footer-brand h3 {
    color: #333;
    margin: 0;
    font-size: 1.4rem;
    font-weight: 700;
}

.footer-brand p {
    color: #666;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.social-link:hover {
    background: #6b73ff;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(107, 115, 255, 0.3);
}

.social-link i {
    font-size: 1.1rem;
}

.footer-links-section h4 {
    color: #333;
    margin: 0 0 1.5rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    position: relative;
}

.footer-links-section h4::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 30px;
    height: 2px;
    background: #6b73ff;
    border-radius: 1px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.footer-links a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    border-radius: 5px;
}

.footer-links a:hover {
    color: #6b73ff;
    background: rgba(107, 115, 255, 0.05);
    transform: translateX(5px);
}

.footer-links a i {
    font-size: 0.8rem;
    width: 16px;
    text-align: center;
}

.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: #999;
    margin: 0;
    font-size: 0.85rem;
}

.footer-payment-methods {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #666;
    font-size: 0.8rem;
}

.footer-payment-methods span {
    font-weight: 600;
}

.footer-payment-methods i {
    font-size: 1.2rem;
    color: #6b73ff;
    transition: color 0.3s ease;
}

.footer-payment-methods i:hover {
    color: #5a61e8;
}

/* Admin Footer */
.admin-footer {
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    padding: 1.5rem 0 1rem;
    margin-top: 3rem;
}

.admin-footer .footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.admin-footer .footer-brand h3 {
    color: #333;
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
    font-weight: 600;
}

.admin-footer .footer-brand p {
    color: #666;
    margin: 0;
    font-size: 0.8rem;
}

.admin-footer .footer-links {
    display: flex;
    gap: 1.5rem;
}

.admin-footer .footer-links a {
    color: #666;
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.3s ease;
}

.admin-footer .footer-links a:hover {
    color: #6b73ff;
}

.admin-footer .footer-bottom {
    text-align: center;
    padding-top: 0.75rem;
    border-top: 1px solid #e9ecef;
}

.admin-footer .footer-bottom p {
    color: #999;
    margin: 0;
    font-size: 0.75rem;
}

/* Tracking Info Styles */
.tracking-info {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.tracking-info h4 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.tracking-info h4 i {
    color: #6b73ff;
    margin-right: 0.5rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.info-item {
    background: white;
    padding: 1rem;
    border-radius: 6px;
    border-left: 3px solid #6b73ff;
}

.info-item strong {
    color: #333;
    display: block;
    margin-bottom: 0.5rem;
}

.info-item p {
    color: #666;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Standard Toggle Switch Styles */
.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    color: #333;
    margin-bottom: 0.5rem;
    gap: 25px;
    min-height: 45px;
    width: 100%;
    padding: 10px 0;
    position: relative;
}

.checkbox-label::after {
    content: '';
    position: absolute;
    left: 75px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 25px;
    background: linear-gradient(to bottom, transparent, #d0d0d0, transparent);
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 50px;
    height: 28px;
    background: #dc3545; /* Red when off */
    border-radius: 14px;
    position: relative;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 2px 4px rgba(220, 53, 69, 0.3);
    flex-shrink: 0;
}

.checkmark::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 24px;
    height: 24px;
    background: #ffffff;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.checkmark::after {
    content: 'OFF';
    position: absolute;
    top: 50%;
    right: 6px;
    transform: translateY(-50%);
    color: white;
    font-size: 9px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: #28a745; /* Green when on */
    box-shadow: 0 2px 4px rgba(40, 167, 69, 0.3);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::before {
    transform: translateX(22px);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: 'ON';
    left: 6px;
    right: auto;
    color: white;
}

.checkbox-label:hover .checkmark {
    box-shadow: 0 3px 6px rgba(220, 53, 69, 0.4);
}

.checkbox-label input[type="checkbox"]:checked:hover + .checkmark {
    background: #218838;
    box-shadow: 0 3px 6px rgba(40, 167, 69, 0.4);
}

.checkbox-label span {
    flex: 1;
    line-height: 1.4;
    padding: 6px 0 6px 15px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    font-size: 0.9rem;
    font-weight: 500;
    margin-left: 10px;
}

/* WhatsApp Order Section */
.whatsapp-order-section {
    margin-top: 1.5rem;
    text-align: center;
}

.divider {
    position: relative;
    margin: 1.5rem 0;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e0e0e0;
}

.divider span {
    background: white;
    padding: 0 1rem;
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
}

.whatsapp-order-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #25D366;
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    margin-bottom: 0.5rem;
}

.whatsapp-order-btn:hover {
    background: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    color: white;
}

.whatsapp-order-btn i {
    font-size: 1.2rem;
}

.whatsapp-note {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
    font-style: italic;
}

/* Policy Pages Styles */
.policy-page {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.policy-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #f0f0f0;
}

.policy-header h1 {
    color: #333;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.policy-header h1 i {
    color: #6b73ff;
    margin-right: 1rem;
}

.policy-intro {
    color: #666;
    font-size: 1rem;
    font-style: italic;
    margin: 0;
}

.policy-content {
    line-height: 1.8;
}

.policy-section {
    margin-bottom: 2.5rem;
}

.policy-section h2 {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    border-left: 4px solid #6b73ff;
    padding-left: 1rem;
}

.policy-section p {
    color: #555;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.policy-section ul,
.policy-section ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

.policy-section li {
    color: #555;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.policy-section li strong {
    color: #333;
    font-weight: 600;
}

.contact-info {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #6b73ff;
    margin-top: 1rem;
}

.contact-info p {
    margin: 0.5rem 0;
    color: #555;
}

.contact-info strong {
    color: #333;
    font-weight: 600;
}

.contact-info a {
    color: #6b73ff;
    text-decoration: none;
    font-weight: 500;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Policy Management Tabs */
.policy-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 1rem;
}

.policy-tab {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    color: #666;
    transition: all 0.3s ease;
}

.policy-tab:hover {
    background: #e9ecef;
    color: #333;
}

.policy-tab.active {
    background: #6b73ff;
    color: white;
    border-color: #6b73ff;
}

.policy-content-tabs {
    position: relative;
}

.policy-content-tab {
    display: none;
}

.policy-content-tab.active {
    display: block;
}

.policy-content-tab label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.policy-content-tab textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.9rem;
    line-height: 1.6;
    resize: vertical;
    min-height: 300px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.policy-content-tab textarea:focus {
    outline: none;
    border-color: #6b73ff;
    box-shadow: 0 0 0 3px rgba(107, 115, 255, 0.1);
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f0ff 100%);
    padding: 4rem 2rem;
    border-radius: 15px;
    margin-bottom: 4rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.whatsapp-section {
    display: flex;
    justify-content: center;
}

.whatsapp-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    max-width: 400px;
    width: 100%;
}

.whatsapp-icon {
    background: #25D366;
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1rem;
}

.whatsapp-content h4 {
    color: #333;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.whatsapp-content p {
    color: #666;
    margin-bottom: 1.5rem;
}

.whatsapp-btn {
    background: #25D366;
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.contact-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
}

.contact-icon {
    background: #6b73ff;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-details h4 {
    color: #333;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-details p {
    color: #333;
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.contact-details small {
    color: #666;
    font-size: 0.8rem;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.contact-form h4 {
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.contact-form-fields .form-group {
    margin-bottom: 1.5rem;
}

.contact-form-fields .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.contact-form-fields .form-group input,
.contact-form-fields .form-group select,
.contact-form-fields .form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form-fields .form-group input:focus,
.contact-form-fields .form-group select:focus,
.contact-form-fields .form-group textarea:focus {
    outline: none;
    border-color: #6b73ff;
}

.contact-form-fields .form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form-fields .form-group small {
    color: #666;
    font-size: 0.8rem;
    display: block;
    margin-top: 0.25rem;
}

.contact-submit-btn {
    background: #6b73ff;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    justify-content: center;
}

.contact-submit-btn:hover {
    background: #5a61e8;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(107, 115, 255, 0.3);
}

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 2rem 0 1rem;
    margin-top: 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: #6b73ff;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
}

.footer-section a:hover {
    color: #6b73ff;
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid #555;
    color: #ccc;
}

/* Cart Page Styles */
.cart-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.cart-item {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 1rem;
    display: grid;
    grid-template-columns: 100px 1fr auto;
    gap: 1rem;
    align-items: center;
}

.cart-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 5px;
}

.cart-item-info h4 {
    margin-bottom: 0.5rem;
    color: #333;
}

.cart-item-details {
    color: #666;
    font-size: 0.9rem;
}

.cart-item-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.cart-item-price {
    font-size: 1.2rem;
    font-weight: 600;
    color: #6b73ff;
}

.cart-total {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    margin-top: 2rem;
}

.cart-total h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.checkout-btn {
    background: #6b73ff;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.checkout-btn:hover {
    background: #5a61e8;
    transform: translateY(-2px);
}

/* Checkout Page Styles */
.checkout-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #6b73ff;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

/* Admin Panel Styles */
.admin-header {
    background: linear-gradient(135deg, #333 0%, #444 100%);
    color: white;
    padding: 1.5rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.admin-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-nav h1 {
    color: #6b73ff;
    font-size: 1.5rem;
    margin: 0;
}

.admin-nav h1 i {
    margin-right: 0.5rem;
}

.admin-nav-links {
    display: flex;
    gap: 1rem;
}

.admin-nav-links a {
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    position: relative;
    font-weight: 500;
}

.admin-nav-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #6b73ff;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.admin-nav-links a:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

.admin-nav-links a:hover::before {
    width: 80%;
}

.admin-nav-links a i {
    margin-right: 0.5rem;
}

.admin-dashboard {
    padding: 2rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.3s ease;
    border: 1px solid #f0f0f0;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.stat-icon {
    background: #6b73ff;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.stat-content h3 {
    font-size: 1.8rem;
    color: #333;
    margin: 0;
    font-weight: 700;
}

.stat-content p {
    color: #666;
    margin: 0;
    font-size: 0.9rem;
}

.quick-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.action-btn {
    background: #6b73ff;
    color: white;
    padding: 1rem;
    border-radius: 10px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.action-btn:hover {
    background: #5a61e8;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(107, 115, 255, 0.3);
}

.action-btn i {
    font-size: 1.2rem;
}

.settings-form {
    margin-top: 1rem;
}

.settings-form .form-group {
    margin-bottom: 1.5rem;
}

.settings-form small {
    color: #666;
    font-size: 0.8rem;
    display: block;
    margin-top: 0.25rem;
}

.system-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.info-item {
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #6b73ff;
}

.stock-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.stock-badge.in-stock {
    background: #d4edda;
    color: #155724;
}

.stock-badge.low-stock {
    background: #fff3cd;
    color: #856404;
}

.stock-badge.out-of-stock {
    background: #f8d7da;
    color: #721c24;
}

.status-active {
    background: #d4edda;
    color: #155724;
}

.status-inactive {
    background: #f8d7da;
    color: #721c24;
}

.order-count-badge {
    background: #e8f0ff;
    color: #004085;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Image Upload Styles */
.image-upload-section {
    border: 2px dashed #e0e0e0;
    border-radius: 10px;
    padding: 1.5rem;
    margin-top: 0.5rem;
    background: #f8f9fa;
}

.current-image {
    text-align: center;
    margin-bottom: 1rem;
}

.current-image img {
    border: 2px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.current-image p {
    color: #666;
    font-style: italic;
    margin: 1rem 0;
}

.image-upload-controls {
    margin-bottom: 1rem;
}

.image-upload-controls input[type="file"] {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #6b73ff;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    margin-bottom: 1rem;
}

.image-requirements {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #6b73ff;
}

.image-requirements h5 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.image-requirements ul {
    margin: 0;
    padding-left: 1.2rem;
    color: #666;
    font-size: 0.8rem;
}

.image-requirements li {
    margin-bottom: 0.25rem;
}

.image-info {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    margin-top: 1rem;
}

.image-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.image-details span {
    color: #333;
    font-size: 0.9rem;
}

.uploading {
    color: #6b73ff;
    font-weight: 600;
    text-align: center;
}

.error {
    color: #dc3545;
    font-weight: 600;
    text-align: center;
}

/* Filter Form Styles */
.filter-form {
    margin-top: 1rem;
}

.filter-form .form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.filter-form .form-group {
    margin-bottom: 0;
}

.filter-form .form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.filter-form .form-group input,
.filter-form .form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 0.9rem;
}

.filter-form .form-group input:focus,
.filter-form .form-group select:focus {
    outline: none;
    border-color: #6b73ff;
}

.filter-form .checkout-btn {
    display: inline-block;
    margin-right: 0.5rem;
}

.admin-content {
    padding: 2rem 0;
}

.admin-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-bottom: 1.5rem;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.admin-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.admin-table th,
.admin-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.admin-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #333;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-processing {
    background: #cce5ff;
    color: #004085;
}

.status-shipped {
    background: #d4edda;
    color: #155724;
}

.status-delivered {
    background: #d1ecf1;
    color: #0c5460;
}

.status-cancelled {
    background: #f8d7da;
    color: #721c24;
}

.status-paid {
    background: #d4edda;
    color: #155724;
}

.status-pending-payment {
    background: #fff3cd;
    color: #856404;
}

/* Admin Panel Missing Styles */
.table-responsive {
    overflow-x: auto;
    margin-top: 1rem;
}

.table-responsive table {
    min-width: 800px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
    max-height: 80%;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
}

.modal .close {
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #999;
    transition: color 0.3s ease;
}

.modal .close:hover {
    color: #333;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { 
        opacity: 0;
        transform: translateY(-50px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

/* Order Details Styles */
.order-details {
    padding: 1rem 0;
}

.order-details h3 {
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    border-bottom: 2px solid #6b73ff;
    padding-bottom: 0.5rem;
}

.order-details h4 {
    color: #333;
    margin: 1.5rem 0 1rem 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.order-details .order-info,
.order-details .shipping-info,
.order-details .order-items {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border-left: 4px solid #6b73ff;
}

.order-details p {
    margin: 0.5rem 0;
    color: #555;
    line-height: 1.6;
}

.order-details strong {
    color: #333;
    font-weight: 600;
}

/* Admin Table Enhancements */
.admin-table tbody tr:hover {
    background: #f8f9fa;
}

.admin-table td {
    vertical-align: middle;
}

.admin-table select {
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9rem;
    background: white;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.admin-table select:focus {
    outline: none;
    border-color: #6b73ff;
}

.admin-table select:hover {
    border-color: #6b73ff;
}

/* Status Badge Enhancements */
.status-badge {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.status-processing {
    background: #cce5ff;
    color: #004085;
    border: 1px solid #74c0fc;
}

.status-shipped {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.status-delivered {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.status-cancelled {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.status-paid {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.status-pending-payment {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

/* Order Count Badge Enhancement */
.order-count-badge {
    background: #e8f0ff;
    color: #004085;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid #b3d9ff;
    display: inline-block;
}

/* Admin Button Enhancements */
.admin-table .qty-btn {
    background: #17a2b8;
    color: white;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin-right: 0.5rem;
}

.admin-table .qty-btn:hover {
    background: #138496;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(23, 162, 184, 0.3);
}

.admin-table .qty-btn i {
    font-size: 0.9rem;
}

/* Responsive Admin Table */
@media (max-width: 768px) {
    .admin-table {
        font-size: 0.8rem;
    }
    
    .admin-table th,
    .admin-table td {
        padding: 0.5rem;
    }
    
    .admin-table select {
        font-size: 0.8rem;
        padding: 0.3rem;
    }
    
    .admin-table .qty-btn {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    
    .modal-content {
        margin: 10% auto;
        padding: 1rem;
        width: 95%;
    }
    
    .order-details .order-info,
    .order-details .shipping-info,
    .order-details .order-items {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .admin-table th,
    .admin-table td {
        padding: 0.3rem;
        font-size: 0.7rem;
    }
    
    .status-badge {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }
    
    .order-count-badge {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }
}

/* Notification System */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    max-width: 400px;
    animation: slideInRight 0.3s ease;
}

.notification-content {
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-left: 4px solid #6b73ff;
}

.notification-success .notification-content {
    border-left-color: #28a745;
}

.notification-error .notification-content {
    border-left-color: #dc3545;
}

.notification-content i {
    font-size: 1.2rem;
    color: #6b73ff;
}

.notification-success .notification-content i {
    color: #28a745;
}

.notification-error .notification-content i {
    color: #dc3545;
}

.notification-content span {
    flex: 1;
    color: #333;
    font-weight: 500;
}

.notification-close {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.notification-close:hover {
    background: #f8f9fa;
    color: #333;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 768px) {
    .notification {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
    
    .notification-content {
        padding: 0.75rem 1rem;
    }
}

/* Admin Messages */
.success-message {
    background: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #c3e6cb;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.success-message::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #28a745;
}

.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #f5c6cb;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.error-message::before {
    content: '\f06a';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #dc3545;
}

.warning-message {
    background: #fff3cd;
    color: #856404;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #ffeaa7;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.warning-message::before {
    content: '\f071';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #ffc107;
}

/* Admin Card Enhancements */
.admin-card h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.admin-card h3 i {
    color: #6b73ff;
    font-size: 1.1rem;
}

/* Admin Form Enhancements */
.admin-card .form-group {
    margin-bottom: 1.5rem;
}

.admin-card .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
}

.admin-card .form-group input,
.admin-card .form-group select,
.admin-card .form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
}

.admin-card .form-group input:focus,
.admin-card .form-group select:focus,
.admin-card .form-group textarea:focus {
    outline: none;
    border-color: #6b73ff;
    box-shadow: 0 0 0 3px rgba(107, 115, 255, 0.1);
}

.admin-card .form-group small {
    color: #666;
    font-size: 0.8rem;
    margin-top: 0.25rem;
    display: block;
}

/* Admin Button Styles */
.admin-card .checkout-btn {
    background: linear-gradient(135deg, #6b73ff 0%, #5a61e8 100%);
    color: white;
    border: none;
    padding: 0.875rem 1.75rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.admin-card .checkout-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.admin-card .checkout-btn:hover {
    background: linear-gradient(135deg, #5a61e8 0%, #4c52d1 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(107, 115, 255, 0.4);
}

.admin-card .checkout-btn:hover::before {
    left: 100%;
}

.admin-card .checkout-btn i {
    font-size: 0.9rem;
}

/* Admin Table Action Buttons */
.admin-table .action-buttons {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.admin-table .btn-edit {
    background: linear-gradient(135deg, #17a2b8 0%, #20c997 100%);
    color: white;
    border: none;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(23, 162, 184, 0.3);
}

.admin-table .btn-edit:hover {
    background: linear-gradient(135deg, #138496 0%, #1ea085 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(23, 162, 184, 0.4);
}

.admin-table .btn-delete {
    background: linear-gradient(135deg, #dc3545 0%, #e74c3c 100%);
    color: white;
    border: none;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
}

.admin-table .btn-delete:hover {
    background: linear-gradient(135deg, #c82333 0%, #c0392b 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
}

.admin-table .btn-view {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    color: white;
    border: none;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(108, 117, 125, 0.3);
}

.admin-table .btn-view:hover {
    background: linear-gradient(135deg, #5a6268 0%, #343a40 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.4);
}

/* Admin Modal Enhancements */
.admin-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.admin-modal-content {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
}

.admin-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
}

.admin-modal-header h3 {
    margin: 0;
    color: #333;
    font-size: 1.3rem;
}

.admin-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #999;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.admin-modal-close:hover {
    background: #f8f9fa;
    color: #333;
}

/* Responsive Admin Enhancements */
@media (max-width: 768px) {
    .admin-card {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .admin-card h3 {
        font-size: 1.1rem;
    }
    
    .admin-table .action-buttons {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .admin-table .btn-edit,
    .admin-table .btn-delete,
    .admin-table .btn-view {
        width: 100%;
        text-align: center;
    }
    
    .admin-modal-content {
        padding: 1.5rem;
        width: 95%;
    }
}

@media (max-width: 480px) {
    .admin-card {
        padding: 0.75rem;
    }
    
    .admin-card h3 {
        font-size: 1rem;
    }
    
    .admin-modal-content {
        padding: 1rem;
    }
}

/* Additional Admin Panel Fixes */
.admin-content {
    min-height: calc(100vh - 140px);
    padding: 2rem 0;
}

.admin-dashboard {
    max-width: 1200px;
    margin: 0 auto;
}

.admin-card {
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
}

.admin-card:last-child {
    margin-bottom: 0;
}

/* Fix container alignment issues */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 3rem;
    }
}

/* Fix form alignment */
.settings-form {
    max-width: 800px;
}

.settings-form .form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .settings-form .form-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Fix stats grid alignment */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .stat-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .stat-content h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .stat-card {
        padding: 0.75rem;
    }
}

/* Fix admin table container */
.table-responsive {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

/* Fix modal positioning */
.modal {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal-content {
    margin: 0;
    max-height: 90vh;
}

/* Fix button alignment in tables */
.admin-table td {
    vertical-align: middle;
    white-space: nowrap;
}

.admin-table .action-buttons {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

/* Fix filter form alignment */
.filter-form {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.filter-form .form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .filter-form .form-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

.filter-form .checkout-btn {
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

/* Fix policy tabs alignment */
.policy-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 1rem;
}

@media (max-width: 768px) {
    .policy-tabs {
        flex-direction: column;
    }
    
    .policy-tab {
        width: 100%;
        text-align: center;
    }
}

/* Fix admin navigation alignment */
.admin-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.admin-nav-links {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .admin-nav {
        flex-direction: column;
        text-align: center;
    }
    
    .admin-nav-links {
        justify-content: center;
    }
}

/* Fix admin header alignment */
.admin-header {
    position: sticky;
    top: 0;
    z-index: 100;
}

/* Fix footer alignment */
.admin-footer {
    margin-top: auto;
}

/* Fix system info alignment */
.system-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
}

@media (min-width: 768px) {
    .system-info {
        grid-template-columns: repeat(2, 1fr);
    }
}

.info-item {
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 3px solid #6b73ff;
}

.info-item strong {
    color: #333;
    margin-right: 0.5rem;
}

/* Stock Availability Bar */
.stock-availability {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe8e8 100%);
    border: 1px solid #ff6b6b;
    border-radius: 8px;
    padding: 0.75rem;
    margin: 1rem 0;
    position: relative;
    overflow: hidden;
}

.stock-availability::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff6b6b, #ff8e8e, #ff6b6b);
    animation: stock-pulse 3s ease-in-out infinite;
}

@keyframes stock-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.stock-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.stock-label {
    font-size: 0.9rem;
    color: #d63031;
    font-weight: 600;
}

.stock-label strong {
    color: #e74c3c;
    font-weight: 700;
}

.stock-percentage {
    background: #e74c3c;
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    animation: stock-bounce 2s ease-in-out infinite;
}

@keyframes stock-bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.stock-bar {
    background: #ffe0e0;
    height: 6px;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 0.5rem;
    position: relative;
}

.stock-bar-fill {
    background: linear-gradient(90deg, #e74c3c, #ff6b6b, #e74c3c);
    height: 100%;
    border-radius: 4px;
    position: relative;
    animation: stock-fill 2s ease-out;
}

.stock-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: stock-shine 3s ease-in-out infinite;
}

@keyframes stock-fill {
    from { width: 0%; }
    to { width: 90%; }
}

@keyframes stock-shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.stock-urgency {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    color: #d63031;
    font-weight: 600;
    font-size: 0.85rem;
    animation: stock-urgency-pulse 3s ease-in-out infinite;
}

.stock-urgency i {
    color: #ff6b6b;
    animation: stock-fire 1s ease-in-out infinite;
}

@keyframes stock-urgency-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

@keyframes stock-fire {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Dark mode stock bar */
[data-theme="dark"] .stock-availability {
    background: linear-gradient(135deg, #2d1b1b 0%, #3d1f1f 100%);
    border-color: #ff6b6b;
}

[data-theme="dark"] .stock-label {
    color: #ff8a8a;
}

[data-theme="dark"] .stock-label strong {
    color: #ff6b6b;
}

[data-theme="dark"] .stock-bar {
    background: #3d1f1f;
}

[data-theme="dark"] .stock-urgency {
    color: #ff8a8a;
}

[data-theme="dark"] .stock-urgency i {
    color: #ff6b6b;
}

/* Responsive stock bar */
@media (max-width: 768px) {
    .stock-availability {
        padding: 0.6rem;
        margin: 0.75rem 0;
        border-radius: 6px;
    }
    
    .stock-info {
        flex-direction: row;
        gap: 0.5rem;
        align-items: center;
        margin-bottom: 0.4rem;
    }
    
    .stock-label {
        font-size: 0.85rem;
        flex: 1;
    }
    
    .stock-percentage {
        font-size: 0.7rem;
        padding: 0.15rem 0.5rem;
        border-radius: 12px;
    }
    
    .stock-bar {
        height: 5px;
        margin-bottom: 0.4rem;
    }
    
    .stock-urgency {
        font-size: 0.8rem;
        gap: 0.3rem;
    }
}

@media (max-width: 480px) {
    .stock-availability {
        padding: 0.5rem;
        margin: 0.5rem 0;
        border-radius: 5px;
    }
    
    .stock-info {
        margin-bottom: 0.3rem;
    }
    
    .stock-label {
        font-size: 0.8rem;
    }
    
    .stock-percentage {
        font-size: 0.65rem;
        padding: 0.1rem 0.4rem;
        border-radius: 10px;
    }
    
    .stock-bar {
        height: 4px;
        margin-bottom: 0.3rem;
    }
    
    .stock-urgency {
        font-size: 0.75rem;
        gap: 0.25rem;
    }
    
    .stock-urgency i {
        font-size: 0.8rem;
    }
}

/* Promotional Ticker */
.promo-ticker {
    background: linear-gradient(135deg, #6b73ff 0%, #5a61e8 100%);
    color: white;
    padding: 0.5rem 0;
    overflow: hidden;
    position: relative;
    box-shadow: 0 2px 10px rgba(107, 115, 255, 0.3);
}

.ticker-content {
    display: flex;
    animation: ticker-scroll 30s linear infinite;
    white-space: nowrap;
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0 2rem;
    font-weight: 600;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.ticker-item i {
    font-size: 1rem;
    color: #ffd700;
}

.ticker-item span {
    white-space: nowrap;
}

@keyframes ticker-scroll {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Pause animation on hover */
.promo-ticker:hover .ticker-content {
    animation-play-state: paused;
}

/* Dark mode ticker */
[data-theme="dark"] .promo-ticker {
    background: linear-gradient(135deg, #7c83ff 0%, #6b73ff 100%);
    box-shadow: 0 2px 10px rgba(124, 131, 255, 0.4);
}

[data-theme="dark"] .ticker-item i {
    color: #ffd700;
}

/* Responsive ticker */
@media (max-width: 768px) {
    .ticker-item {
        font-size: 0.8rem;
        padding: 0 1.5rem;
    }
    
    .ticker-item i {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .ticker-item {
        font-size: 0.75rem;
        padding: 0 1rem;
    }
    
    .ticker-item i {
        font-size: 0.8rem;
    }
}

/* Theme Variables */
:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #e9ecef;
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-muted: #999999;
    --border-color: #e0e0e0;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --accent-color: #6b73ff;
    --accent-hover: #5a61e8;
    --success-color: #28a745;
    --error-color: #dc3545;
    --warning-color: #ffc107;
}


/* Theme Toggle Button */
.mobile-track-order {
    background: #6b73ff;
    color: white;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    margin-left: 1rem;
    white-space: nowrap;
}

.mobile-track-order:hover {
    background: #5a61e8;
    transform: translateY(-1px);
    text-decoration: none;
    color: white;
}

.mobile-track-order:active {
    transform: translateY(0);
}

/* Header Controls */
.header-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.admin-header-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Dark Mode Styles */
[data-theme="dark"] body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

[data-theme="dark"] .main-header {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

[data-theme="dark"] .admin-header {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

[data-theme="dark"] .main-nav a {
    color: var(--text-primary);
}

[data-theme="dark"] .main-nav a:hover {
    background: var(--bg-tertiary);
    color: var(--accent-color);
}

[data-theme="dark"] .admin-nav-links a {
    color: var(--text-primary);
}

[data-theme="dark"] .admin-nav-links a:hover {
    background: var(--bg-tertiary);
    color: var(--accent-color);
}

[data-theme="dark"] .product-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 20px var(--shadow-color);
}

[data-theme="dark"] .admin-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 20px var(--shadow-color);
}

[data-theme="dark"] .features-section,
[data-theme="dark"] .testimonials-section,
[data-theme="dark"] .faq-section,
[data-theme="dark"] .contact-section {
    background: var(--bg-secondary);
}

[data-theme="dark"] .section-header h3 {
    color: var(--text-primary);
}

[data-theme="dark"] .section-header p {
    color: var(--text-secondary);
}

[data-theme="dark"] .feature,
[data-theme="dark"] .testimonial,
[data-theme="dark"] .faq-item {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .feature h4,
[data-theme="dark"] .testimonial h4,
[data-theme="dark"] .faq-question {
    color: var(--text-primary);
}

[data-theme="dark"] .feature p,
[data-theme="dark"] .testimonial p,
[data-theme="dark"] .faq-answer {
    color: var(--text-secondary);
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group select,
[data-theme="dark"] .form-group textarea {
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    color: var(--text-primary);
}

[data-theme="dark"] .form-group input:focus,
[data-theme="dark"] .form-group select:focus,
[data-theme="dark"] .form-group textarea:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(124, 131, 255, 0.1);
}

[data-theme="dark"] .checkout-btn,
[data-theme="dark"] .add-to-cart-btn {
    background: var(--accent-color);
    color: white;
}

[data-theme="dark"] .checkout-btn:hover,
[data-theme="dark"] .add-to-cart-btn:hover {
    background: var(--accent-hover);
}

[data-theme="dark"] .admin-table {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .admin-table th {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

[data-theme="dark"] .admin-table td {
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
}

[data-theme="dark"] .admin-table tbody tr:hover {
    background: var(--bg-tertiary);
}

[data-theme="dark"] .modal-content {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .modal .close {
    color: var(--text-primary);
}

[data-theme="dark"] .modal .close:hover {
    color: var(--accent-color);
}

[data-theme="dark"] .success-message {
    background: rgba(52, 206, 87, 0.1);
    color: var(--success-color);
    border: 1px solid var(--success-color);
}

[data-theme="dark"] .error-message {
    background: rgba(255, 71, 87, 0.1);
    color: var(--error-color);
    border: 1px solid var(--error-color);
}

[data-theme="dark"] .warning-message {
    background: rgba(255, 211, 42, 0.1);
    color: var(--warning-color);
    border: 1px solid var(--warning-color);
}

[data-theme="dark"] .policy-page {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .policy-header h1 {
    color: var(--text-primary);
}

[data-theme="dark"] .policy-section h2 {
    color: var(--text-primary);
}

[data-theme="dark"] .policy-section p,
[data-theme="dark"] .policy-section li {
    color: var(--text-secondary);
}

[data-theme="dark"] .contact-info {
    background: var(--bg-tertiary);
    border-left: 4px solid var(--accent-color);
}

[data-theme="dark"] .contact-info p {
    color: var(--text-secondary);
}

[data-theme="dark"] .contact-info strong {
    color: var(--text-primary);
}

[data-theme="dark"] .contact-info a {
    color: var(--accent-color);
}

[data-theme="dark"] .main-footer {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    border-top: 1px solid var(--border-color);
}

[data-theme="dark"] .admin-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

[data-theme="dark"] .footer-brand h3 {
    color: var(--text-primary);
}

[data-theme="dark"] .footer-brand p {
    color: var(--text-secondary);
}

[data-theme="dark"] .footer-logo i {
    background: var(--bg-primary);
    color: var(--accent-color);
}

[data-theme="dark"] .social-link {
    background: var(--bg-primary);
    color: var(--text-secondary);
}

[data-theme="dark"] .social-link:hover {
    background: var(--accent-color);
    color: white;
}

[data-theme="dark"] .footer-links-section h4 {
    color: var(--text-primary);
}

[data-theme="dark"] .footer-links-section h4::after {
    background: var(--accent-color);
}

[data-theme="dark"] .footer-links a {
    color: var(--text-secondary);
}

[data-theme="dark"] .footer-links a:hover {
    color: var(--accent-color);
    background: rgba(124, 131, 255, 0.1);
}

[data-theme="dark"] .footer-bottom {
    border-top: 1px solid var(--border-color);
}

[data-theme="dark"] .footer-bottom p {
    color: var(--text-muted);
}

[data-theme="dark"] .footer-payment-methods {
    color: var(--text-secondary);
}

[data-theme="dark"] .footer-payment-methods i {
    color: var(--accent-color);
}

/* Login Form */
.login-form {
    max-width: 400px;
    margin: 2rem auto;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.login-form h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
}

.login-btn {
    width: 100%;
    background: #6b73ff;
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-btn:hover {
    background: #5a61e8;
}

/* Responsive Design */
@media (min-width: 768px) {
    .main-nav {
        display: flex;
    }
    
    
    .product-showcase {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cart-item {
        grid-template-columns: 100px 1fr auto;
    }
    
    .trust-signals {
        justify-content: space-between;
    }
    
    .checkout-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .quick-actions {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .admin-nav-links {
        gap: 0.5rem;
    }
    
    .admin-nav-links a {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .filter-form .form-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 40px;
    }
    
    .product-section {
        gap: 4rem;
    }
    
    .cart-item {
        grid-template-columns: 120px 1fr auto;
    }
    
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .quick-actions {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .admin-nav-links {
        gap: 1rem;
    }
    
    .admin-nav-links a {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.hidden {
    display: none;
}

.success-message {
    background: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
}

/* Mobile Responsive for Checkout */
@media (max-width: 767px) {
    .checkout-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .product-details {
        flex-direction: column;
        text-align: center;
    }
    
    .payment-label {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .payment-icon {
        margin-right: 0;
    }
    
    /* Footer Responsive */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-brand {
        align-items: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .footer-links a {
        justify-content: center;
        padding: 0.75rem;
        background: rgba(255, 255, 255, 0.5);
        border-radius: 8px;
        margin-bottom: 0.25rem;
    }
    
    .footer-links a:hover {
        transform: translateY(-2px);
        background: rgba(107, 115, 255, 0.1);
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-payment-methods {
        justify-content: center;
    }
    
    .admin-footer .footer-content {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
    
    .admin-footer .footer-links {
        justify-content: center;
    }
    
    /* Mobile Track Order Button Responsive */
    .mobile-track-order {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
        margin-left: 0.5rem;
    }
    
    .mobile-track-order span {
        display: inline;
    }
    
    .header-controls {
        gap: 0.25rem;
    }
    
    .admin-header-controls {
        gap: 0.25rem;
    }
    
    /* Mobile Menu */
    .mobile-menu-toggle {
        display: block;
    }
    
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        flex-direction: column;
        padding: 1rem;
        gap: 0;
    }
    
    .main-nav.active {
        display: flex;
    }
    
    .main-nav a {
        padding: 0.75rem 0;
        border-bottom: 1px solid #f0f0f0;
        margin: 0;
    }
    
    .main-nav a:last-child {
        border-bottom: none;
    }
    
    /* Footer Mobile */
    .main-footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
    
    .footer-brand h3 {
        font-size: 1.2rem;
    }
    
    .footer-brand p {
        font-size: 0.85rem;
    }
    
    .footer-logo i {
        font-size: 1.2rem;
        padding: 0.4rem;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
    }
    
    .social-link i {
        font-size: 1rem;
    }
    
    .footer-links-section h4 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .footer-links a {
        font-size: 0.85rem;
        padding: 0.6rem;
    }
    
    .footer-links a i {
        font-size: 0.75rem;
    }
    
    .footer-bottom p {
        font-size: 0.8rem;
    }
    
    .footer-payment-methods {
        font-size: 0.75rem;
        gap: 0.5rem;
    }
    
    .footer-payment-methods i {
        font-size: 1rem;
    }
}

/* Enhanced Admin Stat Cards */
.stat-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #6b73ff, #5a61e8, #6b73ff);
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.stat-card .stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: white;
}

.stat-card:nth-child(1) .stat-icon {
    background: linear-gradient(135deg, #6b73ff, #5a61e8);
}

.stat-card:nth-child(2) .stat-icon {
    background: linear-gradient(135deg, #28a745, #20c997);
}

.stat-card:nth-child(3) .stat-icon {
    background: linear-gradient(135deg, #ffc107, #fd7e14);
}

.stat-card:nth-child(4) .stat-icon {
    background: linear-gradient(135deg, #dc3545, #e74c3c);
}

.stat-card .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.5rem;
}

.stat-card .stat-label {
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Admin Loading Animations */
@keyframes admin-fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.admin-card {
    animation: admin-fadeIn 0.6s ease-out;
}

.admin-card:nth-child(1) { animation-delay: 0.1s; }
.admin-card:nth-child(2) { animation-delay: 0.2s; }
.admin-card:nth-child(3) { animation-delay: 0.3s; }
.admin-card:nth-child(4) { animation-delay: 0.4s; }

/* Admin Form Enhancements */
.admin-card .form-group input,
.admin-card .form-group select,
.admin-card .form-group textarea {
    transition: all 0.3s ease;
}

.admin-card .form-group input:focus,
.admin-card .form-group select:focus,
.admin-card .form-group textarea:focus {
    transform: scale(1.02);
    box-shadow: 0 0 0 3px rgba(107, 115, 255, 0.1);
}

/* Dark Mode Admin Enhancements */
[data-theme="dark"] .stat-card {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .stat-card .stat-number {
    color: var(--text-primary);
}

[data-theme="dark"] .stat-card .stat-label {
    color: var(--text-secondary);
}

/* Mobile Product Container Optimization */
@media (max-width: 768px) {
    .container {
        padding: 0;
        max-width: 100%;
    }
    
    .product-showcase {
        padding: 1rem;
        margin: 0;
        border-radius: 0;
        box-shadow: none;
        background: white;
        gap: 1.5rem;
    }
    
    .product-image {
        padding: 0;
    }
    
    .product-image img {
        border-radius: 10px;
        height: 300px;
        width: 100%;
        object-fit: cover;
    }
    
    .product-info {
        padding: 0;
    }
    
    .product-title {
        font-size: 1.4rem;
        margin-bottom: 0.75rem;
        line-height: 1.3;
    }
    
    .product-rating {
        margin-bottom: 1rem;
    }
    
    .product-description {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 1rem;
    }
    
    .product-highlights {
        gap: 0.75rem;
        margin-bottom: 1rem;
    }
    
    .highlight {
        padding: 0.5rem;
        font-size: 0.85rem;
        border-radius: 6px;
    }
    
    .highlight i {
        font-size: 0.9rem;
    }
    
    .product-price .price {
        font-size: 1.6rem;
    }
    
    .product-price .original-price {
        font-size: 1.2rem;
    }
    
    .product-price .discount {
        font-size: 0.8rem;
    }
    
    .add-to-cart-form {
        margin-top: 1rem;
    }
    
    .quantity-selector,
    .size-selector {
        margin-bottom: 1rem;
    }
    
    .quantity-dropdown,
    #size {
        width: 100%;
        padding: 0.75rem;
        font-size: 1rem;
    }
    
    .add-to-cart-btn {
        width: 100%;
        padding: 1rem;
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .whatsapp-order-section {
        margin-top: 1rem;
    }
    
    .whatsapp-order-btn {
        width: 100%;
        padding: 1rem;
        font-size: 1rem;
    }
    
    .trust-signals {
        gap: 1rem;
        margin-top: 1.5rem;
    }
    
    .trust-item {
        padding: 0.75rem;
        font-size: 0.85rem;
    }
    
    .trust-item i {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .product-showcase {
        padding: 0.75rem;
    }
    
    .product-title {
        font-size: 1.2rem;
    }
    
    .product-price .price {
        font-size: 1.4rem;
    }
    
    .product-description {
        font-size: 0.85rem;
    }
    
    .highlight {
        padding: 0.4rem;
        font-size: 0.8rem;
    }
    
    .quantity-dropdown,
    #size {
        padding: 0.6rem;
        font-size: 0.9rem;
    }
    
    .add-to-cart-btn,
    .whatsapp-order-btn {
        padding: 0.875rem;
        font-size: 0.9rem;
    }
    
    .trust-item {
        padding: 0.6rem;
        font-size: 0.8rem;
    }
}

/* Mobile Header Optimization */
@media (max-width: 768px) {
    .main-header {
        padding: 0.5rem 1rem;
    }
    
    .header-content {
        gap: 0.75rem;
    }
    
    .logo h1 {
        font-size: 1.1rem;
    }
    
    .main-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .header-controls {
        gap: 0.5rem;
    }
    
    .mobile-track-order {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
        gap: 0.3rem;
    }
    
    .mobile-track-order span {
        display: inline;
    }
}

/* Extra Small Mobile - Ensure Track Order Button Text is Always Visible */
@media (max-width: 480px) {
    .main-header {
        padding: 0.4rem 0.75rem;
    }
    
    .header-content {
        gap: 0.5rem;
    }
    
    .logo h1 {
        font-size: 1.1rem;
    }
    
    .mobile-track-order {
        padding: 0.4rem 0.7rem;
        font-size: 0.7rem;
        gap: 0.25rem;
        min-width: fit-content;
    }
    
    .mobile-track-order span {
        display: inline !important;
        font-size: 0.7rem;
    }
    
    .mobile-track-order i {
        font-size: 0.7rem;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
}


/* Mobile Sections Optimization */
@media (max-width: 768px) {
    .features-section,
    .testimonials-section,
    .faq-section,
    .contact-section {
        padding: 2rem 1rem;
    }
    
    .section-header h3 {
        font-size: 1.5rem;
    }
    
    .section-header p {
        font-size: 0.9rem;
    }
    
    .features-grid,
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    @media (max-width: 480px) {
        .testimonials-grid {
            grid-template-columns: 1fr;
            gap: 1rem;
        }
    }
    
    .feature,
    .testimonial,
    .faq-item {
        padding: 1.5rem;
    }
    
    .feature h4,
    .testimonial h4 {
        font-size: 1.1rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Mobile Promotional Ticker */
@media (max-width: 768px) {
    .promo-ticker {
        padding: 0.4rem 0;
    }
    
    .ticker-item {
        font-size: 0.8rem;
        padding: 0 1.5rem;
    }
    
    .ticker-item i {
        font-size: 0.9rem;
    }
}
