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

:root {
    /* New Design System Colors */
    --background-color: #FFFFFF;
    --primary-text: #333333;
    --secondary-text: #888888;
    --accent-color: #0B3C1A;
    --cta-highlights: #25D366;
    
    /* Legacy variables for backward compatibility */
    --primary-color: #0B3C1A;
    --primary-dark: #0a3117;
    --primary-light: #1e5e2e;
    --secondary-color: #0B3C1A;
    --success-color: #25D366;
    --text-dark: #333333;
    --text-medium: #333333;
    --text-light: #888888;
    --text-muted: #888888;
    --background-light: #F8F9FA;
    --background-white: #FFFFFF;
    --border-color: #E0E0E0;
    --shadow-light: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-medium: 0 4px 20px rgba(0,0,0,0.15);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--primary-text);
    background: var(--background-color);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--primary-text);
    line-height: 1.2;
    margin-bottom: 0.5em;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

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

/* Header Styles */
.header {
    background: var(--background-white);
    box-shadow: var(--shadow-light);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.header.hidden {
    transform: translateY(-100%);
}

/* Add padding to main content to compensate for fixed header */
.main-content {
    padding-top: 85px;
}

.navbar {
    padding: 1rem 0;
}

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

.navbar-brand a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.navbar-brand .logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
}

.navbar-brand .logo-image {
    height: 60px;
    width: 60px;
    object-fit: contain;
}

.navbar-brand .site-name {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-left: 0.5rem;
    letter-spacing: 0.5px;
}

.navbar-menu {
    display: none; /* Hidden by default on desktop */
    align-items: center;
}

.navbar-nav {
    display: flex;
    gap: 2rem;
    list-style: none;
}

/* Desktop navigation menu - show on hover or for large screens */
@media (min-width: 769px) {
    .navbar-menu {
        display: flex;
        position: static;
        background: transparent;
        box-shadow: none;
        padding: 0;
        margin: 0;
        width: auto;
        order: 1;
        flex: 1;
        justify-content: center;
    }
    
    .navbar-menu .search-box {
        display: none; /* Hide search in desktop menu */
    }
    
    .navbar-actions {
        order: 2;
    }
    
    .mobile-menu-toggle {
        display: none;
    }
    
    .navbar-content {
        display: flex;
        align-items: center;
        gap: 2rem;
    }
    
    .navbar-brand {
        order: 0;
    }
}

.nav-link {
    color: var(--text-medium);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--background-white);
    box-shadow: var(--shadow-medium);
    border-radius: var(--radius-md);
    padding: 0.5rem 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
}



.dropdown-item {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-medium);
    transition: var(--transition);
}

.dropdown-item:hover {
    background: var(--background-light);
    color: var(--primary-color);
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.search-box {
    position: relative;
}

.search-box input {
    padding: 0.5rem 2.5rem 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    width: 250px;
    transition: var(--transition);
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.search-box button {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
}

.account-menu,
.cart-icon {
    position: relative;
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    min-width: 180px;
    box-shadow: var(--shadow-medium);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown.show .dropdown-menu,
.nav-dropdown.show .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-medium);
    text-decoration: none;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background: var(--background-light);
    color: var(--primary-color);
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown .dropdown-menu {
    left: 0;
    right: auto;
    min-width: 200px;
    top: calc(100% + 10px);
}



.account-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-medium);
    font-weight: 500;
    text-decoration: none;
    padding: 0.5rem;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.account-link:hover {
    color: var(--primary-color);
    background: var(--background-light);
}

/* Logout Link Styling */
.logout-link {
    color: #dc3545 !important;
    font-weight: 600;
}

.logout-link:hover {
    color: #c82333 !important;
    background: rgba(220, 53, 69, 0.1);
}

.account-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-medium);
    font-weight: 500;
}

.cart-icon a {
    position: relative;
    color: var(--text-medium);
    font-size: 1.25rem;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-medium);
    transition: var(--transition);
}

/* Flash Messages */
.flash-messages {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 1100;
    max-width: 400px;
    pointer-events: none;
}

.alert {
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow-medium);
    animation: slideInRight 0.3s ease;
    transition: all 0.3s ease;
    pointer-events: auto;
    opacity: 1;
    transform: translateX(0);
}

.alert-success {
    background: #D4EDDA;
    color: #155724;
    border: 1px solid #C3E6CB;
}

.alert-danger {
    background: #F8D7DA;
    color: #721C24;
    border: 1px solid #F5C6CB;
}

.alert-info {
    background: #D1ECF1;
    color: #0C5460;
    border: 1px solid #BEE5EB;
}

.alert-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: inherit;
    opacity: 0.7;
}

.alert-close:hover {
    opacity: 1;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.875rem;
    line-height: 1;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--text-medium);
    color: white;
    border-color: var(--text-medium);
}

.btn-secondary:hover {
    background: var(--text-dark);
    border-color: var(--text-dark);
    color: white;
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* Hero Section */
.hero {
    position: relative;
    height: 60vh;
    min-height: 500px;
    max-height: 800px;
    overflow: hidden;
}

.hero-slider {
    height: 100%;
    position: relative;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide:first-child {
    opacity: 1;
}

.hero-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    background: rgba(0,0,0,0.4);
}

.hero-text {
    color: white;
    max-width: 800px;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.5;
    max-width: 600px;
}

.hero-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.hero-dot.active {
    background: white;
}

/* Features Section */
.features {
    padding: 4rem 0;
    background: var(--background-light);
}

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

.feature-item {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
}

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(46, 139, 87, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(60, 179, 113, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.testimonials .container {
    position: relative;
    z-index: 2;
}

.testimonials .section-header h2 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.testimonials .section-header p {
    color: var(--text-medium);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.testimonials-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

.testimonial-item {
    display: none;
    animation: testimonialFadeIn 0.6s ease-in-out;
}

.testimonial-item:first-child {
    display: block;
}

@keyframes testimonialFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.testimonial-content {
    background: white;
    padding: 3rem 2.5rem;
    border-radius: 20px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 8px 16px rgba(0, 0, 0, 0.05);
    position: relative;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(46, 139, 87, 0.1);
}

.testimonial-content:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.15),
        0 12px 24px rgba(0, 0, 0, 0.08);
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 30px;
    font-size: 5rem;
    font-family: Georgia, serif;
    color: var(--primary-color);
    opacity: 0.3;
    line-height: 1;
}

.testimonial-rating {
    display: flex;
    justify-content: center;
    gap: 0.3rem;
    margin-bottom: 1.5rem;
}

.testimonial-rating i {
    color: #FFD700;
    font-size: 1.2rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.testimonial-rating i:hover {
    transform: scale(1.1);
    color: #FFA500;
}

.testimonial-content p {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-dark);
    margin: 0 0 2rem 0;
    font-style: italic;
    position: relative;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.testimonial-author {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--background-light);
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
    box-shadow: 0 4px 12px rgba(46, 139, 87, 0.3);
}

.author-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    margin-bottom: 0.25rem;
}

.author-info span {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.author-info span::before {
    content: '✓';
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
}

.testimonials-navigation {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(46, 139, 87, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.testimonial-dot:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}

/* Responsive Design for Testimonials */
@media (max-width: 768px) {
    .testimonials {
        padding: 3rem 0;
    }
    
    .testimonial-content {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    
    .testimonial-content p {
        font-size: 1rem;
    }
    
    .author-avatar {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    /* Top Selling Products Mobile Styles */
    .top-selling-scroll {
        padding: 0 1rem 1rem 1rem;
        gap: 1rem;
    }
    
    .top-selling-card {
        flex: 0 0 280px;
        min-width: 280px;
    }
    
    .top-selling-info {
        padding: 1rem;
    }
    
    .top-selling-info h4 {
        font-size: 0.95rem;
        margin-bottom: 0.6rem;
        line-height: 1.3;
    }
    
    .top-selling-price {
        margin-bottom: 0.85rem;
    }
    
    .top-selling-price .current-price {
        font-size: 1rem;
    }
    
    .top-selling-price .original-price {
        font-size: 0.85rem;
    }
    
    .btn-add-to-cart,
    .btn-buy-now {
        padding: 0.7rem 0.8rem;
        font-size: 0.85rem;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.section-footer {
    text-align: center;
    margin-top: 3rem;
}

/* Product Cards */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
    border-color: #e0e0e0;
}

/* Bestseller Badge */
.bestseller-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #D4A574;
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    z-index: 2;
}

.product-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

/* Discount Badge */
.discount-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: #4CAF50;
    color: white;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 2;
}

/* Wishlist Button */
.wishlist-form {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
}

.btn-wishlist-overlay {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #666;
}

.btn-wishlist-overlay:hover {
    background: white;
    color: #e74c3c;
    transform: scale(1.1);
}

/* Product Info */
.product-info {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-category {
    font-size: 0.75rem;
    color: #888;
    font-weight: 600;
    letter-spacing: 0.8px;
    margin-bottom: 8px;
}

.product-info h3 {
    margin: 0 0 12px 0;
    font-size: 1rem;
    line-height: 1.3;
    flex: 1;
}

.product-info h3 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-info h3 a:hover {
    color: #007bff;
}

/* Rating */
.product-rating {
    margin-bottom: 12px;
}

.stars {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-bottom: 4px;
}

.stars i {
    color: #ffc107;
    font-size: 0.9rem;
}

.stars i.star-empty {
    color: #e0e0e0;
}

.rating-number {
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
    margin-left: 6px;
}

.review-count {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    color: #666;
}

.review-count i {
    color: #007bff;
    font-size: 0.75rem;
}

/* Price */
.product-price {
    margin-bottom: 16px;
    display: flex;
    align-items: baseline;
    gap: 4px;
    line-height: 1;
}

.current-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #333;
    margin: 0;
    padding: 0;
    line-height: 1;
}

.original-price {
    font-size: 1rem;
    color: #888;
    text-decoration: line-through;
    margin: 0;
    padding: 0;
    line-height: 1;
}

/* Add to Cart Button */
.btn-add-to-cart {
    width: 100%;
    background: #333;
    color: white;
    border: none;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.btn-add-to-cart:hover {
    background: #555;
    transform: translateY(-2px);
}

.btn-add-to-cart.out-of-stock {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.btn-add-to-cart.out-of-stock:hover {
    background: #ccc;
    transform: none;
}

/* Legacy styles - cleaned up for new design */

/* Mobile-optimized product grid */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        margin: 1rem 0;
        padding: 0 0.75rem;
    }
    
    .product-card {
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.06);
        border: 1px solid #f5f5f5;
    }
    
    .product-info {
        padding: 12px;
    }
    
    .product-info h3 {
        font-size: 0.9rem;
    }
    
    .current-price {
        font-size: 1.1rem;
    }
    
    .btn-add-to-cart {
        padding: 10px 12px;
        font-size: 0.8rem;
    }
    
    .bestseller-badge {
        font-size: 0.7rem;
        padding: 3px 8px;
    }
    }
    
    .product-card:hover {
        transform: none;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }
    
    .product-card .product-actions {
        display: none !important;
    }
    
    .product-card-bottom {
        display: flex !important;
        padding: 0.5rem;
        padding-top: 0;
    }
    
    .btn-add-to-cart-mobile {
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .btn-wishlist-mobile {
        width: 35px;
        height: 35px;
    }
}

/* Hide desktop actions on mobile for product cards only */
@media (max-width: 768px) {
    .product-card .product-actions {
        display: none !important;
    }
    
    /* Always show product actions on product detail page */
    .product-detail .product-actions {
        display: flex !important;
        gap: 0.5rem;
        margin: 1rem 0;
        flex-wrap: wrap;
    }
}

/* Show mobile actions only on mobile */
@media (min-width: 769px) {
    .product-card-bottom {
        display: none !important;
    }
}

.product-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    text-align: center;
    padding: 1rem;
}

.product-placeholder i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    opacity: 0.5;
}

.product-placeholder span {
    font-size: 0.8rem;
    font-weight: 500;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: var(--primary-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.featured-badge {
    background: linear-gradient(135deg, #FF9800, #F57C00);
}

.sale-badge {
    background: linear-gradient(135deg, #FF5722, #D84315);
}

.bestseller-badge {
    background: linear-gradient(135deg, #8BC34A, #689F38);
}

/* Mobile badges */
@media (max-width: 768px) {
    .product-badge {
        top: 0.5rem;
        left: 0.5rem;
        padding: 0.25rem 0.6rem;
        font-size: 0.7rem;
    }
}

/* Hover effects for product grid */
.product-card:hover .product-actions {
    opacity: 1;
    transform: translateX(0);
}

.product-card .btn-add-cart:hover,
.product-card .btn-wishlist:hover,
.product-card .btn-quick-view:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.product-detail .btn-add-cart:hover {
    background: linear-gradient(135deg, var(--primary-dark), #1e6b47) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(46, 139, 87, 0.4);
}

.product-detail .btn-add-cart:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(46, 139, 87, 0.3);
}

.product-detail .btn-wishlist {
    min-width: 160px;
    padding: 1rem 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.product-detail .btn-wishlist:hover {
    background: #E91E63;
    color: white;
}

.product-card .btn-quick-view:hover {
    background: var(--text-medium);
    color: white;
}

.product-info {
    padding: 1rem;
}

.product-info h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.6em;
}

.product-info h3 a {
    color: var(--text-dark);
}

.product-info h3 a:hover {
    color: var(--primary-color);
}

/* Mobile product info */
@media (max-width: 768px) {
    .product-info {
        padding: 0.75rem;
        padding-bottom: 0.5rem;
    }
    
    .product-info h3 {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
        min-height: 2.4em;
    }
    
    .stock-status {
        font-size: 0.75rem;
        margin-bottom: 0;
    }
}

.product-description {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.current-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
}

.original-price {
    font-size: 0.9rem;
    color: var(--text-light);
    text-decoration: line-through;
}

.discount-percentage {
    background: linear-gradient(135deg, #FF5722, #D84315);
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* Mobile pricing */
@media (max-width: 768px) {
    .product-price {
        gap: 0.4rem;
        margin-bottom: 0.5rem;
    }
    
    .current-price {
        font-size: 1rem;
        font-weight: 700;
    }
    
    .original-price {
        font-size: 0.8rem;
    }
    
    .discount-percentage {
        font-size: 0.65rem;
        padding: 0.15rem 0.4rem;
    }
}

.stock-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.stock-status.in-stock {
    color: var(--primary-color);
}

.stock-status.out-of-stock {
    color: #F44336;
}

/* Page Header */
.page-header {
    background: var(--background-light);
    padding: 2rem 0;
    border-bottom: 1px solid var(--border-color);
}

.page-header-content {
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.breadcrumb a {
    color: var(--primary-color);
}

/* Top Selling Products - Horizontal Scroll */
.top-selling-container {
    position: relative;
    margin: 2rem 0;
}

.top-selling-scroll {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 0 1rem 1rem 1rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.top-selling-scroll::-webkit-scrollbar {
    display: none;
}

.top-selling-card {
    flex: 0 0 280px;
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    position: relative;
}

.top-selling-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.top-selling-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.top-selling-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.top-selling-image:hover img {
    transform: scale(1.05);
}

.sale-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #e74c3c;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-md);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.top-selling-info {
    padding: 1.25rem;
}

.top-selling-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 0.75rem 0;
    line-height: 1.3;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.top-selling-info h4 a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.top-selling-info h4 a:hover {
    color: var(--primary-color);
}

.top-selling-price {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.top-selling-price .original-price {
    font-size: 0.9rem;
    color: var(--text-light);
    text-decoration: line-through;
}

.top-selling-price .current-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
}

.top-selling-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.inline-form {
    margin: 0;
}

.btn-add-to-cart,
.btn-buy-now {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    display: inline-block;
}

.btn-add-to-cart {
    background: white;
    color: var(--text-dark);
    border: 2px solid #e0e0e0;
}

.btn-add-to-cart:hover {
    background: #f8f9fa;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-buy-now {
    background: var(--text-dark);
    color: white;
    border: 2px solid var(--text-dark);
}

.btn-buy-now:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.scroll-indicators {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.25rem;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-medium);
}

.indicator-current {
    font-weight: 600;
    color: var(--text-dark);
}

/* Products Page */
.products-section {
    padding: 3rem 0;
}

.products-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
}

.products-sidebar {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-light);
    height: fit-content;
    position: sticky;
    top: 120px;
}

.filter-section {
    margin-bottom: 2rem;
}

.filter-section h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.filter-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-item {
    padding: 0.5rem 0;
    color: var(--text-medium);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.filter-item:hover,
.filter-item.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.products-main {
    min-height: 500px;
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.products-info h2 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.products-info p {
    color: var(--text-light);
    margin: 0;
}

.sort-options {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sort-options select {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: white;
    cursor: pointer;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-light);
}

.empty-state-icon,
.empty-state i {
    font-size: 4rem;
    color: var(--border-color);
    margin-bottom: 1rem;
}

.empty-state h3 {
    color: var(--text-medium);
    margin-bottom: 1rem;
}

.empty-state-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin: 3rem 0;
}

.pagination-btn,
.pagination-number {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-medium);
    text-decoration: none;
    transition: var(--transition);
}

.pagination-btn:hover,
.pagination-number:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.pagination-number.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.pagination-ellipsis {
    padding: 0.75rem 0.5rem;
    color: var(--text-light);
}

/* Product Detail Page */
.breadcrumb-section {
    background: var(--background-light);
    padding: 1rem 0;
}

.product-detail {
    padding: 3rem 0;
}

.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.product-images {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.main-image {
    position: relative;
    aspect-ratio: 1;
    margin-bottom: 1rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--background-light);
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: zoom-in;
}

.image-zoom-overlay {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: rgba(0,0,0,0.5);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.main-image:hover .image-zoom-overlay {
    opacity: 1;
}

.thumbnail-images {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}

.thumbnail {
    aspect-ratio: 1;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.thumbnail.active {
    border-color: var(--primary-color);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-header h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.product-sku {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
}

.product-price .current-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.product-price .original-price {
    font-size: 1.5rem;
    color: var(--text-light);
    text-decoration: line-through;
}

.discount-badge {
    background: #FF5722;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
}

.product-summary {
    font-size: 1.1rem;
    line-height: 1.7;
    margin: 1.5rem 0;
    color: var(--text-medium);
}

.stock-info {
    margin: 1.5rem 0;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--background-light);
    border-radius: var(--radius-lg);
    border: 2px solid rgba(46, 139, 87, 0.1);
}

.quantity-selector label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.quantity-input {
    display: flex;
    align-items: center;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.qty-btn {
    padding: 1rem 1.25rem;
    background: var(--background-light);
    border: none;
    cursor: pointer;
    color: var(--text-medium);
    transition: all 0.3s ease;
    font-size: 1.2rem;
    font-weight: 600;
    min-width: 50px;
}

.qty-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

.qty-btn:active {
    transform: scale(0.95);
}

.quantity-input input {
    border: none;
    padding: 1rem;
    width: 100px;
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.quantity-input input:focus {
    outline: none;
    background: rgba(46, 139, 87, 0.05);
}

/* Product grid actions (for homepage/products page) */
.product-card .product-actions {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    opacity: 0;
    transform: translateX(10px);
    transition: var(--transition);
}

/* Product detail page actions */
.product-detail .product-actions {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
    position: static;
    opacity: 1;
    transform: none;
}

/* Product grid buttons (small circular buttons) */
.product-card .btn-add-cart,
.product-card .btn-wishlist,
.product-card .btn-quick-view {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: none;
    color: var(--text-medium);
    cursor: pointer;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

/* Product detail page buttons (large full buttons) */
.product-detail .btn-add-cart,
.add-to-cart-form .btn-add-cart {
    flex: 1 !important;
    min-width: 200px !important;
    width: auto !important;
    height: auto !important;
    padding: 1rem 2rem !important;
    font-size: 1.1rem !important;
    font-weight: 600;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark)) !important;
    border: none !important;
    border-radius: var(--radius-lg) !important;
    color: white !important;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(46, 139, 87, 0.3) !important;
    text-decoration: none;
    z-index: 10;
    position: relative !important;
    opacity: 1 !important;
    transform: none !important;
}

.btn-add-cart:hover {
    background: linear-gradient(135deg, var(--primary-dark), #1e6b47);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(46, 139, 87, 0.4);
}

.btn-add-cart:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(46, 139, 87, 0.3);
}

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

/* Buy Now button styling for product detail page */
.product-detail .btn-buy-now,
.buy-now-form .btn-buy-now {
    flex: 1 !important;
    min-width: 200px !important;
    width: auto !important;
    height: auto !important;
    padding: 1rem 2rem !important;
    font-size: 1.1rem !important;
    font-weight: 600;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #FF6B35, #E55A31) !important;
    border: none !important;
    border-radius: var(--radius-lg) !important;
    color: white !important;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3) !important;
    text-decoration: none;
    z-index: 10;
    position: relative !important;
    opacity: 1 !important;
    transform: none !important;
}

.btn-buy-now:hover {
    background: linear-gradient(135deg, #E55A31, #CC4A2A) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 107, 53, 0.4);
}

.btn-buy-now:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

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

.btn-wishlist {
    min-width: 160px;
    padding: 1rem 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.out-of-stock-actions {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.out-of-stock-actions .btn {
    flex: 1;
    min-width: 180px;
}

/* Responsive Design for Product Detail */
@media (max-width: 768px) {
    .product-detail-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .quantity-selector {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        padding: 1rem;
    }
    
    .quantity-selector label {
        margin-bottom: 0.5rem;
    }
    
    .quantity-input {
        align-self: center;
        max-width: 200px;
    }
    
    .product-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .btn-add-cart,
    .btn-buy-now,
    .btn-wishlist {
        width: 100%;
        min-width: auto;
        justify-content: center;
    }
    
    .out-of-stock-actions {
        flex-direction: column;
    }
    
    .out-of-stock-actions .btn {
        width: 100%;
        min-width: auto;
    }
}

.product-tags {
    margin: 2rem 0;
}

.tags-label {
    font-weight: 600;
    margin-right: 0.75rem;
}

.tag {
    display: inline-block;
    background: var(--background-light);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    margin: 0.25rem 0.25rem 0.25rem 0;
    color: var(--text-medium);
}

.product-sharing {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
    padding: 1rem 0;
    border-top: 1px solid var(--border-color);
}

.share-buttons {
    display: flex;
    gap: 0.5rem;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.share-btn.facebook { background: #1877F2; }
.share-btn.twitter { background: #1DA1F2; }
.share-btn.whatsapp { background: #25D366; }
.share-btn.copy-link { background: var(--text-medium); }

.share-btn:hover {
    transform: scale(1.1);
}

/* Product Tabs */
.product-tabs {
    background: var(--background-light);
    padding: 3rem 0;
}

.tabs-container {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-light);
    overflow: hidden;
}

.tabs-nav {
    display: flex;
    border-bottom: 1px solid var(--border-color);
}

.tab-btn {
    flex: 1;
    padding: 1.5rem;
    background: none;
    border: none;
    font-weight: 600;
    color: var(--text-medium);
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.tab-btn.active,
.tab-btn:hover {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.tabs-content {
    position: relative;
}

.tab-pane {
    display: none;
    padding: 2rem;
}

.tab-pane.active {
    display: block;
}

.reviews-summary {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.average-rating {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.rating-stars {
    color: #FFC107;
    font-size: 1.25rem;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.review-item {
    padding: 1.5rem;
    background: var(--background-light);
    border-radius: var(--radius-md);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.reviewer-info h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.review-rating {
    color: #FFC107;
    font-size: 0.9rem;
}

/* Product Description Styling */
.product-description {
    margin-top: 1rem !important;
    display: block !important;
    visibility: visible !important;
    white-space: pre-wrap !important;
    font-family: 'Poppins', sans-serif !important;
    line-height: 1.8 !important;
    color: #333 !important;
    font-size: 14px !important;
    padding: 1rem !important;
    background: #f9f9f9 !important;
    border-radius: 8px !important;
    border: 1px solid #e0e0e0 !important;
    min-height: 200px !important;
}

.product-description pre {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    font-family: 'Poppins', sans-serif;
    white-space: pre-wrap;
    line-height: 1.8;
    color: #333;
    font-size: 14px;
}

.review-date {
    color: var(--text-light);
    font-size: 0.875rem;
}

.review-text {
    color: var(--text-medium);
    line-height: 1.6;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: var(--transition);
    background: white;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.input-group {
    position: relative;
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: white;
    overflow: hidden;
}

.input-group input {
    border: none;
    border-radius: 0;
    flex: 1;
    padding-right: 3rem; /* Add space for password toggle */
}

.input-group input:focus {
    box-shadow: none;
}

.input-prefix {
    padding: 0.75rem 1rem;
    background: var(--background-light);
    color: var(--text-medium);
    font-weight: 600;
    border-right: 1px solid var(--border-color);
}

.form-hint {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.form-group.error input,
.form-group.error textarea,
.form-group.error select {
    border-color: #F44336;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-weight: normal;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    position: relative;
    transition: var(--transition);
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-label input:checked + .checkmark {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.checkbox-label input:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 0.875rem;
}

.checkbox-label input {
    display: none;
}

.checkbox-text {
    flex: 1;
}

.checkbox-text strong {
    display: block;
    margin-bottom: 0.25rem;
}

.checkbox-text small {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* Cart Styles */
.cart-section {
    padding: 3rem 0;
}

.cart-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.cart-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.cart-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto auto auto;
    gap: 1.5rem;
    align-items: center;
    padding: 1.5rem;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-light);
}

.item-image {
    aspect-ratio: 1;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-details h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.item-price {
    color: var(--text-light);
    font-size: 0.9rem;
}

.quantity-form {
    display: inline-block;
}

.item-total .total-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

.remove-btn {
    color: #F44336;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    border-radius: 50%;
    transition: var(--transition);
}

.remove-btn:hover {
    background: rgba(244, 67, 54, 0.1);
}

.cart-summary {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.summary-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-light);
}

.summary-card h3 {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

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

.summary-row.total-row {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.free-shipping {
    color: var(--primary-color);
    font-weight: 600;
}

.checkout-actions {
    margin-top: 2rem;
}

.checkout-actions .btn {
    margin-bottom: 1rem;
}

.trust-badges {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.trust-item i {
    color: var(--primary-color);
}

.empty-cart {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-light);
}

.empty-cart-icon {
    font-size: 4rem;
    color: var(--border-color);
    margin-bottom: 1.5rem;
}

.empty-cart-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}



/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255,255,255,0.8);
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary-light);
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    color: white;
}



.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 1rem;
}

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

/* Checkout Progress Indicator */
.checkout-progress {
    background: white;
    padding: 2rem 0;
    border-bottom: 1px solid #e9ecef;
}

.progress-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 600px;
    margin: 0 auto;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e9ecef;
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.step.completed .step-number {
    background: var(--success-color);
    color: white;
}

.step.active .step-number {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.2);
}

.step-label {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
}

.step.completed .step-label,
.step.active .step-label {
    color: var(--text-dark);
    font-weight: 600;
}

.step-line {
    width: 80px;
    height: 2px;
    background: #e9ecef;
    margin: 0 1rem;
}

.step-line.completed {
    background: var(--success-color);
}

/* Enhanced Checkout Styling */
.checkout-section {
    padding: 3rem 0;
    background: #f8f9fa;
}

.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

.checkout-section-card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid #e9ecef;
    transition: box-shadow 0.3s ease;
}

.checkout-section-card:hover {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.checkout-section-card h3 {
    color: var(--text-dark);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkout-section-card h3 i {
    color: var(--primary-color);
}

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

.form-grid .full-width {
    grid-column: 1 / -1;
}

.checkout-form .form-group {
    margin-bottom: 1rem;
}

.checkout-form .form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.checkout-form .form-group input,
.checkout-form .form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.checkout-form .form-group input:focus,
.checkout-form .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.1);
}

.checkout-form .form-group input.error,
.checkout-form .form-group textarea.error {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Footer payment methods - horizontal layout */
.footer-bottom .payment-methods {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    font-size: 1.5rem;
}

.payment-option {
    position: relative;
}

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

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

.payment-label:hover {
    border-color: var(--primary-color);
    background: #f8f9fa;
}

.payment-option input[type="radio"]:checked + .payment-label,
.payment-label.active {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, #f8f9fa, #e8f0e6);
    box-shadow: 0 2px 8px rgba(139, 69, 19, 0.15);
}

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

.payment-details h4 {
    margin: 0 0 0.25rem 0;
    font-weight: 600;
    color: var(--text-dark);
}

.payment-details p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

.terms-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.terms-checkbox input[type="checkbox"] {
    margin-top: 0.25rem;
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
}

.terms-checkbox label {
    color: var(--text-medium);
    line-height: 1.5;
}

.terms-checkbox a {
    color: var(--primary-color);
    text-decoration: none;
}

.terms-checkbox a:hover {
    text-decoration: underline;
}

.order-summary {
    position: sticky;
    top: 2rem;
    height: fit-content;
}

.summary-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
}

.summary-card h3 {
    color: var(--text-dark);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f8f9fa;
}

.order-items {
    margin-bottom: 1.5rem;
}

.order-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f8f9fa;
}

.order-item:last-child {
    border-bottom: none;
}

.item-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-details {
    flex: 1;
}

.item-details h4 {
    margin: 0 0 0.25rem 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
}

.item-details p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-light);
}

.item-price {
    font-weight: 600;
    color: var(--primary-color) !important;
}

.price-breakdown {
    margin: 1.5rem 0;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f8f9fa;
}

.price-row:last-child {
    border-bottom: none;
}

.price-row.total-row {
    padding-top: 1rem;
    border-top: 2px solid #e9ecef;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.free-shipping {
    color: var(--success-color);
    font-weight: 600;
}

.place-order-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border: none;
    border-radius: 8px;
    color: white;
    margin: 1.5rem 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.place-order-btn:hover {
    background: linear-gradient(135deg, var(--primary-dark), #1e6b47);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(139, 69, 19, 0.3);
}

.place-order-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.security-badges {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #f8f9fa;
}

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

.badge-item i {
    color: var(--success-color);
    font-size: 1.1rem;
}

.badge-item span {
    font-size: 0.75rem;
    color: var(--text-light);
    text-align: center;
}

.checkout-trust {
    padding: 3rem 0;
    background: white;
}

.trust-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.trust-item {
    text-align: center;
    padding: 1.5rem;
}

.trust-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.trust-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.trust-item p {
    color: var(--text-light);
    font-size: 0.9rem;
}

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

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

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive Design */

/* Extra large screens */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .hero-text h1 {
        font-size: 4rem;
        white-space: nowrap;
    }
    
    .hero-text p {
        font-size: 1.3rem;
        max-width: 700px;
    }
    
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    }
    
    .science-image {
        height: 300px;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Desktop screens - better hero text layout */
@media (min-width: 1200px) {
    .hero-text h1 {
        font-size: 3.5rem;
        line-height: 1.1;
        white-space: nowrap;
    }
}

/* Large tablets and small desktops */
@media (max-width: 1200px) {
    .container {
        max-width: 1140px;
        padding: 0 2rem;
    }
    
    .hero-text h1 {
        font-size: 3rem;
        white-space: normal;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablets */
@media (max-width: 1024px) {
    .container {
        max-width: 960px;
        padding: 0 1.5rem;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-text p {
        font-size: 1.1rem;
    }
    
    .products-layout {
        grid-template-columns: 250px 1fr;
        gap: 2rem;
    }
    
    .product-detail-layout {
        gap: 3rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .science-image {
        height: 200px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .admin-content {
        margin-left: 220px;
    }
    
    .admin-sidebar {
        width: 220px;
    }
}

/* Mobile devices */
@media (max-width: 768px) {
    .container {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    /* Logo and site name responsive */
    .navbar-brand .site-name {
        font-size: 1.1rem;
        margin-left: 0.3rem;
        letter-spacing: 0.3px;
    }
    
    /* Adjust main content padding for mobile */
    .main-content {
        padding-top: 75px;
    }
    
    /* Navigation responsive */
    .navbar {
        padding: 0.75rem 0;
        position: relative;
    }
    
    .navbar-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
        position: relative;
    }
    
    .navbar-brand h1 {
        font-size: 1.5rem;
    }
    
    .navbar-actions {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
    
    .search-box {
        display: none; /* Hide search on mobile initially */
    }
    
    .account-menu .account-link span,
    .account-menu .dropdown-toggle i {
        display: none; /* Hide text and dropdown arrow on mobile */
    }
    
    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border: 1px solid var(--border-color);
        border-radius: var(--radius-sm);
        background: white;
        cursor: pointer;
    }
    
    .navbar-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: var(--shadow-medium);
        border-radius: var(--radius-md);
        padding: 1rem;
        margin-top: 0.5rem;
        display: none;
        z-index: 1000;
        max-height: 70vh;
        overflow-y: auto;
    }
    
    .navbar-menu.active {
        display: block;
    }
    
    .navbar-nav {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--border-color);
    }
    
    .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }
    
    /* Mobile dropdown fixes */
    .navbar-nav .nav-dropdown {
        position: static;
    }
    
    .navbar-nav .nav-dropdown .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--background-light);
        border-radius: var(--radius-sm);
        margin: 0.5rem 0 0 1rem;
        padding: 0.5rem 0;
        border: 1px solid var(--border-color);
        display: none;
        max-height: none;
    }
    
    .navbar-nav .nav-dropdown.show .dropdown-menu {
        display: block;
    }
    
    .navbar-nav .dropdown-item {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    
    .navbar-nav .dropdown-item:last-child {
        border-bottom: none;
    }
    
    /* Add search to mobile menu */
    .navbar-menu .search-box {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
        padding-bottom: 1rem;
        border-bottom: 1px solid var(--border-color);
    }
    
    .navbar-menu .search-box input {
        width: 100%;
        font-size: 16px; /* Prevent zoom on iOS */
    }
    
    /* Hero section responsive */
    .hero {
        height: 60vh;
        min-height: 400px;
    }
    
    .hero-text {
        text-align: center;
        max-width: 100%;
    }
    
    .hero-text h1 {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-text p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-dots {
        bottom: 1rem;
    }
    
    /* Features section responsive */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        text-align: center;
    }
    
    .feature-item {
        padding: 1.5rem 1rem;
    }
    
    /* Products layout responsive */
    .products-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .products-sidebar {
        position: static;
        order: 2;
        background: var(--background-light);
        padding: 1.5rem;
        border-radius: var(--radius-md);
    }
    
    .products-main {
        order: 1;
    }
    
    .products-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    /* Product detail responsive */
    .product-detail-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .product-images {
        position: static;
    }
    
    .quantity-controls {
        justify-content: center;
    }
    
    .product-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .product-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Science section responsive handled in main section */
    

    
    /* Testimonials responsive */
    .testimonials {
        padding: 3rem 0;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-item {
        padding: 2rem 1.5rem;
        text-align: center;
    }
    
    /* Cart layout responsive */
    .cart-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .cart-item {
        grid-template-columns: 80px 1fr;
        gap: 1rem;
        padding: 1rem;
    }
    
    .item-details h4 {
        font-size: 1rem;
    }
    
    .item-quantity,
    .item-total,
    .item-actions {
        grid-column: span 2;
        justify-self: start;
        margin-top: 0.5rem;
    }
    
    .item-actions {
        text-align: left;
    }
    
    /* Checkout responsive */
    .checkout-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .checkout-section {
        padding: 2rem 0;
    }
    
    .checkout-form {
        padding: 1.5rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .order-summary {
        position: static;
        order: -1;
    }
    
    .trust-items {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .security-badges {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .badge-item {
        flex-direction: row;
        justify-content: flex-start;
        gap: 0.5rem;
    }
    
    /* Progress indicator mobile */
    .progress-steps {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .step-line {
        width: 40px;
        margin: 0 0.5rem;
    }
    
    .step-label {
        font-size: 0.75rem;
    }
    
    .form-group {
        margin-bottom: 1.5rem;
    }
    
    /* Footer responsive */
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-section {
        border-bottom: 1px solid rgba(255,255,255,0.2);
        padding-bottom: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .footer-section:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .payment-methods {
        justify-content: center;
    }
    
    /* Admin responsive */
    .admin-layout {
        grid-template-columns: 1fr;
    }
    
    .admin-sidebar {
        position: static;
        width: 100%;
        order: 2;
    }
    
    .admin-content {
        margin-left: 0;
        order: 1;
        padding: 1rem;
    }
    
    .admin-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .admin-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .admin-table-container {
        overflow-x: auto;
    }
    
    .admin-table {
        min-width: 600px;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
    
    /* Typography responsive */
    .hero-text h1 {
        font-size: 1.75rem;
        line-height: 1.1;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }
    
    .section-header p {
        font-size: 0.95rem;
    }
    
    /* Navigation responsive */
    .navbar-brand h1 {
        font-size: 1.25rem;
    }
    
    .navbar-actions {
        gap: 0.25rem;
    }
    
    .navbar-actions .btn {
        padding: 0.5rem;
        font-size: 0.875rem;
    }
    
    /* Hero responsive */
    .hero {
        height: 50vh;
        min-height: 350px;
    }
    
    .hero-text p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    /* Products responsive */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .product-card {
        max-width: 100%;
    }
    
    .product-card-image {
        aspect-ratio: 1;
        height: 120px;
    }
    
    .product-card-info {
        padding: 0.75rem;
    }
    
    .product-card-info h3 {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
        line-height: 1.2;
    }
    
    .product-card-info .product-price {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .product-card-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .product-card-actions .btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }
    
    /* Buttons responsive */
    .btn {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }
    
    .btn-lg {
        padding: 1rem 1.25rem;
        font-size: 1rem;
    }
    
    .btn-sm {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }
    
    /* Forms responsive */
    .form-control {
        padding: 0.75rem;
        font-size: 16px; /* Prevent zoom on iOS */
    }
    
    .form-group label {
        font-size: 0.9rem;
    }
    
    /* Cart responsive */
    .cart-item {
        grid-template-columns: 60px 1fr;
        gap: 0.75rem;
        padding: 0.75rem;
    }
    
    .cart-item img {
        width: 60px;
        height: 60px;
    }
    
    /* Top Selling Products - Extra Small Mobile */
    .top-selling-scroll {
        padding: 0 0.5rem 1rem 0.5rem;
        gap: 0.75rem;
    }
    
    .top-selling-card {
        flex: 0 0 220px;
        min-width: 220px;
    }
    
    .top-selling-info {
        padding: 0.8rem;
    }
    
    .top-selling-info h4 {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
        line-height: 1.2;
    }
    
    .top-selling-price {
        margin-bottom: 0.6rem;
    }
    
    .top-selling-price .current-price {
        font-size: 0.9rem;
    }
    
    .top-selling-price .original-price {
        font-size: 0.8rem;
    }
    
    .btn-add-to-cart,
    .btn-buy-now {
        padding: 0.6rem 0.7rem;
        font-size: 0.8rem;
    }
    
    /* Newsletter responsive */
    .newsletter-text h2 {
        font-size: 1.5rem;
    }
    
    .newsletter-text p {
        font-size: 1rem;
    }
    
    .newsletter .newsletter-form {
        max-width: 280px;
        padding: 0.75rem;
    }
    
    .newsletter .newsletter-form input {
        padding: 0.75rem 1rem;
        font-size: 16px;
    }
    
    .newsletter .newsletter-form button {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
    
    /* Admin responsive */
    .admin-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .admin-stat-card {
        padding: 1rem;
    }
    
    .admin-table {
        font-size: 0.875rem;
    }
    
    /* Features responsive */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .feature-item {
        padding: 1.5rem 0.75rem;
    }
    
    .feature-icon {
        font-size: 2rem;
        width: 60px;
        height: 60px;
    }
    
    /* Science section responsive */
    .science {
        padding: 2rem 0;
    }
    
    .science-image {
        height: 150px;
    }
    
    .science-icon svg {
        width: 60px;
        height: 60px;
    }
    
    /* Testimonials responsive */
    .testimonial-item {
        padding: 1.5rem 1rem;
    }
    
    .testimonial-avatar {
        width: 50px;
        height: 50px;
    }
    
    /* Footer responsive */
    .footer {
        padding: 1.5rem 0 1rem;
    }
    
    .footer-section {
        padding-bottom: 1rem;
        margin-bottom: 1rem;
    }
    
    .social-links a {
        width: 35px;
        height: 35px;
        font-size: 0.875rem;
    }
    
    .payment-methods {
        font-size: 1.25rem;
        gap: 0.75rem;
    }
}

/* Science Section */
.science {
    padding: 4rem 0;
    background: var(--background-light);
    border-top: 1px solid var(--border-color);
}

.science .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.science .section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.science-images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.science-image-item {
    aspect-ratio: 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
    border: 2px solid var(--border-color);
    background: var(--background-white);
}

.science-image-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.science-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.science-image-item:hover img {
    transform: scale(1.05);
}

.science-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
}

.science-placeholder svg {
    width: 60px;
    height: 60px;
    stroke: white;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .science {
        padding: 3rem 0;
    }
    
    .science .section-header h2 {
        font-size: 2rem;
    }
    
    .science-images-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .science-images-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}



/* Confirmation Modal Styles */
.confirmation-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: modalFadeIn 0.3s ease-out;
}

.confirmation-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(3px);
}

.confirmation-dialog {
    position: relative;
    max-width: 450px;
    width: 90%;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    animation: modalSlideIn 0.3s ease-out;
}

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

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

.confirmation-header {
    padding: 2rem 2rem 1.5rem;
    text-align: center;
    position: relative;
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
}

.confirmation-header.default {
    background: linear-gradient(135deg, #0B3C1A, #25D366);
}

.confirmation-header.destructive {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
}

.confirmation-icon {
    background: rgba(255, 255, 255, 0.2);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2.5rem;
}

.confirmation-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.confirmation-header .modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s;
    padding: 0.5rem;
}

.confirmation-header .modal-close:hover {
    opacity: 1;
}

.confirmation-content {
    padding: 2rem;
    text-align: center;
}

.confirmation-message {
    font-size: 1.1rem;
    color: #333;
    margin: 0 0 1rem 0;
    line-height: 1.5;
}

.confirmation-warning {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.4;
    font-style: italic;
}

.confirmation-actions {
    padding: 1.5rem 2rem 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn-cancel {
    background: #f8f9fa;
    border: 2px solid #dee2e6;
    color: #6c757d;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-cancel:hover {
    background: #e9ecef;
    border-color: #adb5bd;
    color: #495057;
}

.btn-delete {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    border: none;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

.btn-delete:hover {
    background: linear-gradient(135deg, #c0392b, #a93226);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(231, 76, 60, 0.4);
}

.btn-confirm {
    background: linear-gradient(135deg, #0B3C1A, #25D366);
    border: none;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(11, 60, 26, 0.3);
}

.btn-confirm:hover {
    background: linear-gradient(135deg, #25D366, #0B3C1A);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(11, 60, 26, 0.4);
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .btn,
    .product-actions,
    .cart-actions {
        display: none !important;
    }
    
    .container {
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}

/* Auth Section Styles */
.auth-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 2rem 0;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-light) 100%);
    position: relative;
}

.auth-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 25%, rgba(139, 69, 19, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(160, 82, 45, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.auth-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-medium);
    overflow: hidden;
}

.auth-layout-centered {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 500px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.auth-image {
    position: relative;
    background: var(--primary-color);
}

.auth-image-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    opacity: 0.9;
}

.auth-overlay {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 2rem;
}

.auth-overlay h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: white;
}

.auth-overlay p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.auth-form {
    padding: 3rem;
    display: flex;
    align-items: center;
}

.auth-form-centered {
    background: white;
    padding: 3rem;
    border-radius: var(--radius-xl);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    width: 100%;
    max-width: 550px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    margin: 2rem 0;
}

.auth-form-centered::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: inherit;
    z-index: -1;
}

.auth-form-content {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-logo {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), #10b981);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2.2rem;
    color: white;
    box-shadow: 0 15px 35px rgba(16, 185, 129, 0.3);
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

/* Auth trust section styling */
.auth-trust {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #f8fafc 100%);
    padding: 5rem 0;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

.auth-trust::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2310b981' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    z-index: 1;
}

.auth-trust h3 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.trust-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.trust-stat {
    text-align: center;
    background: white;
    padding: 2.5rem 1.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.trust-stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(16, 185, 129, 0.15);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: #10b981;
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-medium);
    font-weight: 500;
}

.auth-header h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 600;
}

.auth-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

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

.login-form .input-group input,
.register-form .input-group input {
    padding-left: 3.5rem !important;
}

.login-form .input-group i,
.register-form .input-group i {
    left: 1.2rem !important;
    z-index: 10 !important;
    pointer-events: none !important;
}

/* Error state styling */
.input-group.error {
    border-color: #dc2626;
}

.input-group.error input {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.input-group.error i {
    color: #dc2626;
}

/* Error messages */
.error-message {
    display: none;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    padding: 0.5rem 0.75rem;
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 6px;
    color: #dc2626;
    font-size: 0.875rem;
    font-weight: 500;
}

.error-message i {
    font-size: 0.875rem;
    color: #dc2626;
}

.login-form label,
.register-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.form-hint {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 0.25rem;
    opacity: 0.8;
}

.password-strength {
    margin-top: 0.5rem;
}

.strength-bar {
    height: 4px;
    background: var(--border-color);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 0.25rem;
}

.strength-fill {
    height: 100%;
    width: 0%;
    background: #ccc;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.strength-text {
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 500;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    margin-bottom: 0 !important;
    font-size: 0.9rem;
    line-height: 1.4;
    gap: 0.75rem;
}

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

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border-color);
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    transition: all 0.2s ease;
    flex-shrink: 0;
    margin-top: 1px;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.checkbox-label:hover .checkmark {
    border-color: var(--primary-color);
}

.btn-block {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 600;
    margin-top: 1rem;
    box-shadow: 0 4px 12px rgba(139, 69, 19, 0.2);
    transition: all 0.3s ease;
}

.btn-block:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(139, 69, 19, 0.3);
}

.input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.input-group i {
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    z-index: 3;
    pointer-events: none;
    font-size: 1rem;
}

.input-group input {
    width: 100%;
    padding: 1.2rem 1rem 1.2rem 3.5rem;
    border: 2px solid #e1e5e9;
    border-radius: 15px;
    font-size: 1rem;
    background: #f8f9fa;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.05);
    position: relative;
    font-weight: 500;
    z-index: 1;
}

.input-group input:focus {
    outline: none;
    border-color: #10b981;
    background: white;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15), 0 6px 25px rgba(16, 185, 129, 0.1);
    transform: translateY(-1px);
}

.input-group input::placeholder {
    color: var(--text-light);
    opacity: 0.7;
}

.input-group.error input {
    border-color: #dc3545;
    background: #fff5f5;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.input-group.error i {
    color: #dc3545;
}

.error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.error-message i {
    font-size: 0.8rem;
}

.password-toggle {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: 0.25rem;
    z-index: 3;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.password-toggle:hover {
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--text-dark);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.forgot-password {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.social-login {
    margin: 2rem 0;
}

.divider {
    text-align: center;
    position: relative;
    margin-bottom: 1rem;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border-color);
}

.divider span {
    background: white;
    padding: 0 1rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.social-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn-social {
    flex: 1;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    background: white;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-social:hover {
    border-color: var(--primary-color);
    background: var(--background-light);
}

.auth-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.auth-footer a {
    color: var(--primary-color);
    font-weight: 500;
}

.auth-benefits {
    padding: 3rem 0;
    background: white;
}

.auth-benefits h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

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

.benefit-item {
    text-align: center;
    padding: 1.5rem;
}

.benefit-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.benefit-item h4 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.benefit-item p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .auth-layout {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .auth-layout-centered {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .auth-image {
        min-height: 200px;
    }
    
    .auth-form {
        padding: 2rem 1.5rem;
    }
    
    .auth-form-centered {
        padding: 2.5rem 1.5rem;
        margin: 1rem;
        border-radius: var(--radius-lg);
        max-width: 100%;
    }
    
    .auth-trust {
        padding: 3rem 0;
        margin-top: 2rem;
    }
    
    .auth-trust h3 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .trust-stats {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    .trust-stat {
        padding: 1.5rem 1rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
    
    .auth-logo {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .auth-header h1 {
        font-size: 1.75rem;
    }
    
    .social-buttons {
        flex-direction: column;
    }
    
    .form-options {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
}

/* Responsive Utility Classes */

/* Display utilities */
.d-none { display: none !important; }
.d-block { display: block !important; }
.d-flex { display: flex !important; }
.d-grid { display: grid !important; }

/* Text utilities */
.text-center { text-align: center !important; }
.text-left { text-align: left !important; }
.text-right { text-align: right !important; }

/* Visibility utilities */
@media (max-width: 768px) {
    .d-md-none { display: none !important; }
    .d-md-block { display: block !important; }
    .text-md-center { text-align: center !important; }
    .text-md-left { text-align: left !important; }
}

@media (min-width: 769px) {
    .d-desktop-none { display: none !important; }
    .d-desktop-block { display: block !important; }
}

/* Spacing utilities */
.mb-1 { margin-bottom: 0.5rem !important; }
.mb-2 { margin-bottom: 1rem !important; }
.mb-3 { margin-bottom: 2rem !important; }
.mt-1 { margin-top: 0.5rem !important; }
.mt-2 { margin-top: 1rem !important; }
.mt-3 { margin-top: 2rem !important; }

.p-1 { padding: 0.5rem !important; }
.p-2 { padding: 1rem !important; }
.p-3 { padding: 2rem !important; }
.px-1 { padding-left: 0.5rem !important; padding-right: 0.5rem !important; }
.px-2 { padding-left: 1rem !important; padding-right: 1rem !important; }
.py-1 { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; }
.py-2 { padding-top: 1rem !important; padding-bottom: 1rem !important; }

/* Flexbox utilities */
.flex-column { flex-direction: column !important; }
.flex-row { flex-direction: row !important; }
.justify-center { justify-content: center !important; }
.justify-between { justify-content: space-between !important; }
.align-center { align-items: center !important; }
.align-start { align-items: flex-start !important; }

/* Width utilities */
.w-100 { width: 100% !important; }
.w-50 { width: 50% !important; }
.w-auto { width: auto !important; }

/* Mobile-first responsive utilities */
@media (max-width: 480px) {
    .mobile-hide { display: none !important; }
    .mobile-show { display: block !important; }
    .mobile-text-center { text-align: center !important; }
    .mobile-flex-column { flex-direction: column !important; }
    .mobile-w-100 { width: 100% !important; }
    .mobile-mb-2 { margin-bottom: 1rem !important; }
    .mobile-p-1 { padding: 0.5rem !important; }
}

@media (min-width: 481px) and (max-width: 768px) {
    .tablet-hide { display: none !important; }
    .tablet-show { display: block !important; }
    .tablet-text-center { text-align: center !important; }
    .tablet-flex-column { flex-direction: column !important; }
    .tablet-w-100 { width: 100% !important; }
}

@media (min-width: 769px) {
    .desktop-hide { display: none !important; }
    .desktop-show { display: block !important; }
    .desktop-text-left { text-align: left !important; }
    .desktop-flex-row { flex-direction: row !important; }
}

/* Custom Delete Modal Styles */
.custom-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    max-width: 450px;
    width: 100%;
    overflow: hidden;
    transform: scale(0.9);
    transition: all 0.3s ease;
    animation: modalSlideIn 0.3s ease forwards;
}

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

.modal-header {
    padding: 1.5rem 1.5rem 1rem 1.5rem;
    border-bottom: 1px solid #f0f0f0;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.25rem;
    color: var(--text-dark);
    font-weight: 600;
}

.modal-body {
    padding: 1.5rem;
    text-align: center;
}

.modal-body p {
    margin: 0;
    color: var(--text-medium);
    line-height: 1.5;
    font-size: 1rem;
}

.modal-footer {
    padding: 1rem 1.5rem 1.5rem 1.5rem;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.btn-danger {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-danger:hover {
    background: linear-gradient(135deg, #c0392b, #a93226);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--text-medium);
    border: 1px solid #ddd;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-outline:hover {
    background: var(--background-light);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Touch-friendly elements */
@media (hover: none) and (pointer: coarse) {
    .btn {
        min-height: 44px;
        min-width: 44px;
    }
    
    .navbar-actions .btn {
        padding: 0.75rem;
    }
    
    .mobile-menu-toggle {
        min-height: 44px;
        min-width: 44px;
    }
    
    .cart-icon a {
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Profile Section Styles */
.profile-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #66BB6A 100%);
    color: white;
    padding: 3rem 0;
    margin-bottom: 0;
}

.profile-header-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.profile-avatar {
    flex-shrink: 0;
}

.avatar-circle {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.profile-info h1 {
    font-size: 2.5rem;
    margin: 0 0 0.5rem 0;
    font-weight: 700;
}

.profile-info p {
    font-size: 1.1rem;
    margin: 0 0 0.25rem 0;
    opacity: 0.9;
}

.member-since {
    font-size: 0.9rem;
    opacity: 0.8;
}

.profile-content {
    padding: 3rem 0;
    background: var(--background-light);
}

.profile-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    align-items: start;
}

.profile-sidebar {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-medium);
    padding: 1.5rem 0;
    position: sticky;
    top: 2rem;
}

.profile-nav {
    display: flex;
    flex-direction: column;
}

.profile-nav .nav-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    color: var(--text-medium);
    text-decoration: none;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.profile-nav .nav-item:hover {
    background: var(--background-light);
    color: var(--primary-color);
}

.profile-nav .nav-item.active {
    background: var(--background-light);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
    font-weight: 600;
}

.profile-nav .nav-item i {
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
}

.profile-main {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-medium);
    min-height: 400px;
}

.tab-content {
    display: none;
    padding: 2rem;
}

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

.tab-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
}

.tab-header h2 {
    font-size: 1.75rem;
    margin: 0 0 0.5rem 0;
    color: var(--text-dark);
}

.tab-header p {
    margin: 0;
    color: var(--text-medium);
}

.orders-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.order-card {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    background: white;
}

.order-card:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-2px);
}

.clickable-order {
    cursor: pointer;
}

.expand-icon {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.expand-icon.rotated {
    transform: rotate(180deg);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: var(--background-light);
    border-bottom: 1px solid var(--border-color);
}

.order-info h3 {
    font-size: 1.1rem;
    margin: 0 0 0.25rem 0;
    color: var(--text-dark);
}

.order-date {
    margin: 0;
    color: var(--text-medium);
    font-size: 0.9rem;
}

.order-status .status-badge {
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
}

.status-pending { background: #FFF3CD; color: #856404; }
.status-confirmed { background: #D4EDDA; color: #155724; }
.status-shipped { background: #CCE5FF; color: #004085; }
.status-delivered { background: #D1ECF1; color: #0C5460; }
.status-cancelled { background: #F8D7DA; color: #721C24; }

.order-items {
    padding: 1.5rem;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-light);
}

.order-item:last-child {
    border-bottom: none;
}

.item-name {
    font-weight: 500;
    color: var(--text-dark);
}

.item-details {
    color: var(--text-medium);
    font-size: 0.9rem;
}

.more-items {
    color: var(--text-medium);
    font-size: 0.9rem;
    font-style: italic;
    text-align: center;
    padding: 0.5rem 0;
}

.order-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: var(--background-light);
    border-top: 1px solid var(--border-color);
}

.order-total {
    font-size: 1.1rem;
    color: var(--text-dark);
}

.order-actions {
    display: flex;
    gap: 0.75rem;
}

/* Order Progress Tracking */
.order-progress {
    padding: 1.5rem;
    background: #f8f9fa;
    border-bottom: 1px solid var(--border-color);
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 40px;
    right: 40px;
    height: 2px;
    background: #e9ecef;
    z-index: 1;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e9ecef;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.step.active .step-icon {
    background: linear-gradient(135deg, #0B3C1A, #25D366);
    color: white;
}

.step-label {
    font-size: 0.8rem;
    color: #6c757d;
    font-weight: 500;
}

.step.active .step-label {
    color: #0B3C1A;
    font-weight: 600;
}

/* Order Details */
.order-details {
    padding: 1.5rem;
    background: #f8f9fa;
    border-top: 1px solid var(--border-color);
}

.order-items-detailed h4,
.order-shipping-info h4 {
    margin: 0 0 1rem 0;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.order-item-detailed {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    border: 1px solid var(--border-light);
}

.item-image {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: transform 0.2s ease;
}

.item-image img:hover {
    transform: scale(1.05);
}

.item-info {
    flex: 1;
}

.item-info h5 {
    margin: 0 0 0.5rem 0;
    color: var(--text-dark);
    font-size: 1rem;
}

.item-info p {
    margin: 0.25rem 0;
    font-size: 0.9rem;
    color: var(--text-medium);
}

.item-total {
    font-weight: 600;
    color: var(--primary-color) !important;
}

.order-shipping-info {
    margin-top: 1.5rem;
    padding: 1rem;
    background: white;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
}

.order-shipping-info p {
    margin: 0.5rem 0;
    color: var(--text-medium);
}

/* Request Cancel Button */
.request-cancel {
    background: linear-gradient(135deg, #ff9500, #ff7700);
    border: none;
    color: white;
}

.request-cancel:hover {
    background: linear-gradient(135deg, #ff7700, #ff5500);
    transform: translateY(-1px);
}

/* Mobile Responsive for Progress Steps */
@media (max-width: 768px) {
    .progress-steps {
        flex-direction: column;
        gap: 1rem;
    }
    
    .progress-steps::before {
        display: none;
    }
    
    .step {
        flex-direction: row;
        width: 100%;
        text-align: left;
        padding: 0.5rem;
        background: white;
        border-radius: var(--radius-sm);
    }
    
    .step-icon {
        margin-bottom: 0;
        margin-right: 1rem;
    }
    
    .order-item-detailed {
        flex-direction: column;
        text-align: center;
    }
    
    .item-image {
        align-self: center;
    }
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-medium);
}

.empty-state i {
    font-size: 4rem;
    color: var(--border-color);
    margin-bottom: 1rem;
}

.empty-state h3 {
    font-size: 1.5rem;
    margin: 0 0 0.5rem 0;
    color: var(--text-dark);
}

.profile-form {
    max-width: 100%;
}

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

.form-section h3 {
    font-size: 1.25rem;
    margin: 0 0 1.5rem 0;
    color: var(--text-dark);
    font-weight: 600;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.form-group input[readonly] {
    background: #f8f9fa !important;
    color: var(--text-medium) !important;
    cursor: not-allowed !important;
}

.form-group input[type="tel"]:not([readonly]) {
    background: white !important;
    color: var(--text-dark) !important;
    cursor: text !important;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.addresses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.address-card {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    transition: var(--transition);
}

.address-card:hover {
    box-shadow: var(--shadow-medium);
}

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

.address-header h4 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.address-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-icon {
    width: 32px;
    height: 32px;
    border: none;
    background: var(--background-light);
    border-radius: var(--radius-md);
    color: var(--text-medium);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-icon:hover {
    background: var(--primary-color);
    color: white;
}

.address-content p {
    margin: 0;
    color: var(--text-medium);
    line-height: 1.5;
}

.address-footer {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.address-type {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 500;
}

.add-address-card {
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-md);
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.add-address-card:hover {
    border-color: var(--primary-color);
    background: var(--background-light);
}

.add-address-content i {
    font-size: 2rem;
    color: var(--border-color);
    margin-bottom: 1rem;
}

.add-address-content h4 {
    margin: 0 0 0.5rem 0;
    color: var(--text-dark);
}

.add-address-content p {
    margin: 0;
    color: var(--text-medium);
}

.settings-sections {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.settings-section {
    padding: 2rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
}

.settings-section h3 {
    margin: 0 0 1.5rem 0;
    font-size: 1.25rem;
    color: var(--text-dark);
}

.password-form {
    max-width: 400px;
}

.settings-options {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.setting-option {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    cursor: pointer;
}

.setting-option input[type="checkbox"] {
    margin-top: 0.2rem;
}

.setting-label {
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.setting-description {
    color: var(--text-medium);
    font-size: 0.9rem;
}

.account-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Responsive Design for Profile */
@media (max-width: 1024px) {
    .profile-layout {
        grid-template-columns: 250px 1fr;
        gap: 2rem;
    }
    
    .profile-header-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    /* Profile Header */
    .profile-header {
        padding: 2rem 0;
    }
    
    .profile-header-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .profile-avatar .avatar-circle {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .profile-info h1 {
        font-size: 1.5rem;
    }
    
    /* Profile Layout */
    .profile-layout {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .profile-sidebar {
        position: static;
        order: 1;
        margin-bottom: 1rem;
    }
    
    .profile-main {
        order: 2;
    }
    
    /* Profile Navigation */
    .profile-nav {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 0.25rem;
        padding: 1rem;
        background: white;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        margin-bottom: 1rem;
    }
    
    .profile-nav .nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 1rem 0.5rem;
        text-decoration: none;
        color: var(--text-secondary);
        border-radius: 6px;
        transition: all 0.3s ease;
        background: #f8f9fa;
        min-height: 80px;
        justify-content: center;
    }
    
    .profile-nav .nav-item:hover,
    .profile-nav .nav-item.active {
        background: var(--primary-color);
        color: white;
        transform: translateY(-2px);
    }
    
    .profile-nav .nav-item i {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .profile-nav .nav-item span {
        font-size: 0.8rem;
        font-weight: 500;
        text-align: center;
        line-height: 1.2;
    }
    
    /* Form Grid Mobile */
    .form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Order Cards */
    .order-card {
        padding: 1rem;
    }
    
    .order-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .order-actions {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }
    
    .order-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Wishlist Grid */
    .wishlist-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .wishlist-item {
        flex-direction: row;
        align-items: center;
        gap: 1rem;
    }
    
    .wishlist-item-image {
        flex: 0 0 80px;
        height: 80px;
    }
    
    .wishlist-item-info {
        flex: 1;
    }
    
    .wishlist-item-footer {
        flex-direction: column;
        gap: 0.5rem;
        margin-top: 0.5rem;
    }
    
    /* Address Grid */
    .addresses-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Settings Sections */
    .settings-sections {
        gap: 1.5rem;
    }
    
    .settings-section {
        padding: 1rem;
    }
    
    .profile-main {
        order: 1;
    }
    
    .profile-nav {
        flex-direction: row;
        overflow-x: auto;
        padding: 0;
    }
    
    .profile-nav .nav-item {
        flex-shrink: 0;
        border-left: none;
        border-bottom: 3px solid transparent;
        padding: 1rem;
        text-align: center;
        min-width: 120px;
    }
    
    .profile-nav .nav-item.active {
        border-left: none;
        border-bottom-color: var(--primary-color);
    }
    
    .tab-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .addresses-grid {
        grid-template-columns: 1fr;
    }
    
    .order-header,
    .order-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .order-actions {
        width: 100%;
        justify-content: flex-start;
    }
    
    .form-actions,
    .account-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .profile-header {
        padding: 2rem 0;
    }
    
    .profile-content {
        padding: 2rem 0;
    }
    
    .tab-content {
        padding: 1.5rem;
    }
    
    .avatar-circle {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .profile-info h1 {
        font-size: 2rem;
    }
    
    .order-card {
        margin: 0 -0.5rem;
    }
    
    .profile-nav .nav-item {
        min-width: 100px;
        font-size: 0.9rem;
    }
}

/* High DPI screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .product-image img,
    .hero-bg,
    .science-image img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hero-slider,
    .testimonials-slider {
        scroll-behavior: auto !important;
    }
}

/* Print styles */
@media print {
    .navbar,
    .footer,
    .mobile-menu-toggle,
    .navbar-actions,
    .hero-dots,
    .newsletter {
        display: none !important;
    }
    
    .container {
        max-width: 100% !important;
        padding: 0 !important;
    }
    
    body {
        font-size: 12pt !important;
        line-height: 1.4 !important;
        color: #000 !important;
        background: #fff !important;
    }
    
    .product-card,
    .cart-item,
    .order-summary {
        break-inside: avoid !important;
        page-break-inside: avoid !important;
    }
}

/* Enhanced JavaScript Features Styles */

/* Confirmation Modal */
.confirmation-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.confirmation-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
}

.confirmation-dialog {
    position: relative;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-heavy);
    max-width: 400px;
    width: 100%;
    padding: 2rem;
    text-align: center;
    animation: confirmationSlideIn 0.3s ease-out;
}

@keyframes confirmationSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.confirmation-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
}

.confirmation-icon.default {
    background: var(--primary-light);
    color: var(--primary-color);
}

.confirmation-icon.destructive {
    background: #fef2f2;
    color: #dc2626;
}

.confirmation-content h3 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-size: 1.25rem;
}

.confirmation-content p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.5;
}

.confirmation-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.confirmation-actions .btn {
    min-width: 100px;
}

/* Form Validation Styles */
.field-error {
    border-color: #dc2626 !important;
    background-color: #fef2f2 !important;
}

.error-message {
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.error-message::before {
    content: '⚠';
    font-size: 0.75rem;
}

.form-group.has-error .form-control {
    border-color: #dc2626;
    background-color: #fef2f2;
}

.form-group.has-success .form-control {
    border-color: #16a34a;
    background-color: #f0fdf4;
}

/* Loading States */
.btn.loading {
    opacity: 0.7;
    cursor: not-allowed;
    pointer-events: none;
}

.btn.loading i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Enhanced Notifications */
.flash-messages {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9000;
    max-width: 400px;
}

.alert {
    position: relative;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    margin-bottom: 0.5rem;
    box-shadow: var(--shadow-medium);
    border-left: 4px solid;
    animation: slideInRight 0.3s ease-out;
}

.alert-success {
    background: #f0fdf4;
    color: #16a34a;
    border-left-color: #16a34a;
}

.alert-error {
    background: #fef2f2;
    color: #dc2626;
    border-left-color: #dc2626;
}

.alert-warning {
    background: #fffbeb;
    color: #d97706;
    border-left-color: #d97706;
}

.alert-info {
    background: #eff6ff;
    color: #2563eb;
    border-left-color: #2563eb;
}

.alert-close {
    position: absolute;
    top: 0.5rem;
    right: 0.75rem;
    background: none;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.alert-close:hover {
    opacity: 1;
}

/* Accessibility Focus Styles */
.btn:focus,
.form-control:focus,
.nav-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .confirmation-overlay {
        background: rgba(0, 0, 0, 0.8);
    }
    
    .field-error {
        border-width: 2px !important;
    }
    
    .error-message {
        font-weight: 600;
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: var(--cta-highlights);
    color: white;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.4);
    color: white;
}

.whatsapp-float i {
    margin-top: 4px;
}

@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Responsive adjustments for WhatsApp button */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 24px;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .confirmation-dialog {
        animation: none;
    }
    
    .alert {
        animation: none;
    }
    
    .btn.loading i {
        animation: none;
    }
    
    .whatsapp-float {
        animation: none;
    }
}

/* Image thumbnails */
.image-thumbnails {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s;
    background: var(--white);
}

.thumbnail.active {
    border-color: var(--primary-color);
}

.thumbnail:hover {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.image-modal .modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.image-modal img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 30px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0 10px;
}

.close-modal:hover {
    color: var(--primary-color);
}

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


/* Wishlist Styles */
.wishlist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.wishlist-item {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.wishlist-item:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.wishlist-item-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.wishlist-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.wishlist-item:hover .wishlist-item-image img {
    transform: scale(1.05);
}

.wishlist-item-actions {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
}

.remove-wishlist-btn {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    transition: var(--transition);
    text-decoration: none;
}

.remove-wishlist-btn:hover {
    background: #f44336;
    color: white;
    transform: scale(1.1);
}

.wishlist-item-info {
    padding: 1.25rem;
}

.wishlist-item-info h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.125rem;
    font-weight: 600;
}

.wishlist-item-info h3 a {
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
}

.wishlist-item-info h3 a:hover {
    color: var(--primary-color);
}

.item-description {
    color: var(--text-light);
    font-size: 0.875rem;
    margin: 0 0 1rem 0;
    line-height: 1.4;
}

.item-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.current-price {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
}

.original-price {
    font-size: 1rem;
    color: var(--text-light);
    text-decoration: line-through;
}

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

.added-date {
    font-size: 0.8rem;
    color: var(--text-light);
}

.wishlist-form-inline {
    display: inline-block;
}

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

/* Responsive Design for Wishlist */
@media (max-width: 768px) {
    .wishlist-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
    }
    
    .wishlist-item-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }
}

/* Checkout Page Mobile Responsive */
@media (max-width: 768px) {
    /* Page Header */
    .page-header {
        padding: 1.5rem 0;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .breadcrumb {
        font-size: 0.9rem;
    }
    
    /* Checkout Progress Steps - Mobile */
    .checkout-progress {
        padding: 1rem 0;
        background: white;
        margin-bottom: 1rem;
    }
    
    .checkout-progress .progress-steps {
        display: flex !important;
        flex-direction: row !important;
        gap: 0.5rem;
        max-width: 100%;
        padding: 0 1rem;
        justify-content: center;
        align-items: center;
    }
    
    .checkout-progress .step {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        flex: 1;
        min-width: 0;
        background: transparent !important;
        padding: 0 !important;
        border-radius: 0 !important;
    }
    
    .checkout-progress .step-label {
        font-size: 0.75rem !important;
        margin-top: 0.25rem !important;
        display: block !important;
        visibility: visible !important;
        color: var(--text-dark) !important;
        font-weight: 500 !important;
        white-space: nowrap;
    }
    
    .checkout-progress .step.completed .step-label,
    .checkout-progress .step.active .step-label {
        color: var(--text-dark) !important;
        font-weight: 600 !important;
    }
    
    .checkout-progress .step-number {
        width: 28px !important;
        height: 28px !important;
        font-size: 0.8rem !important;
        margin-bottom: 0.25rem !important;
        margin-right: 0 !important;
    }
    
    .checkout-progress .step-line {
        width: 30px !important;
        height: 2px !important;
        margin: 0 0.25rem !important;
        background: #e9ecef !important;
    }
    
    .checkout-progress .step-line.completed {
        background: var(--success-color) !important;
    }
    
    /* Profile Order Progress - Mobile */
    .order-progress .step-label {
        font-size: 0.75rem !important;
        margin-top: 0.25rem;
        display: block !important;
        text-align: center;
        color: #6c757d !important;
        font-weight: 500;
        line-height: 1.2;
    }
    
    .order-progress .step.active .step-label {
        color: #0B3C1A !important;
        font-weight: 600 !important;
    }
    
    .order-progress .step-line {
        height: 2px;
        margin: 0 0.25rem;
    }
    
    .order-progress .progress-steps {
        gap: 0.5rem;
        padding: 0 0.5rem;
    }
    
    /* Checkout Layout */
    .checkout-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .checkout-section {
        padding: 1.5rem 0;
    }
    
    .order-summary {
        order: 1;
        margin-bottom: 1.5rem;
    }
    
    .checkout-form {
        order: 2;
        padding: 1.5rem;
        border-radius: 8px;
    }
    
    /* Form Grid */
    .checkout-form .form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Checkout Section Cards */
    .checkout-section-card {
        padding: 1rem;
        margin-bottom: 1rem;
        border-radius: 8px;
    }
    
    .checkout-section-card h3 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    /* Order Summary Mobile Styles */
    .order-summary .summary-card {
        padding: 1rem;
        border-radius: 8px;
        margin-bottom: 1rem;
    }
    
    .order-items {
        max-height: none;
        overflow: visible;
    }
    
    .order-item {
        padding: 0.75rem 0;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .order-item:last-child {
        border-bottom: none;
    }
    
    .order-item .item-image {
        width: 50px;
        height: 50px;
        margin-right: 0.75rem;
        flex-shrink: 0;
    }
    
    .order-item .item-details h4 {
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
    }
    
    .order-item .item-details p {
        font-size: 0.8rem;
        margin-bottom: 0.25rem;
    }
    
    .price-breakdown {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid #f0f0f0;
    }
    
    .price-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.5rem 0;
        font-size: 0.9rem;
    }
    
    .price-row.total-row {
        font-weight: 600;
        font-size: 1rem;
        border-top: 2px solid #f0f0f0;
        margin-top: 0.5rem;
        padding-top: 0.75rem;
    }
    
    .place-order-btn {
        width: 100%;
        padding: 1rem;
        font-size: 1rem;
        margin-top: 1rem;
        border-radius: 8px;
    }
    
    .security-badges {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid #f0f0f0;
    }
    
    .badge-item {
        text-align: center;
        font-size: 0.75rem;
        padding: 0.5rem 0.25rem;
    }
    
    .badge-item i {
        font-size: 1rem;
        margin-bottom: 0.25rem;
        display: block;
    }
    
    .shipping-notice {
        padding: 0.75rem;
        margin: 0.75rem 0;
        border-radius: 6px;
        font-size: 0.85rem;
    }
    
    /* Payment Methods */
    .payment-methods {
        gap: 0.75rem;
        flex-direction: column;
    }
    
    .payment-option {
        width: 100%;
    }
    
    .payment-label {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .payment-label .payment-icon {
        margin-right: 0.75rem;
    }
    
    .payment-details h4 {
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
    }
    
    .payment-details p {
        font-size: 0.8rem;
        margin: 0;
    }
    
    /* Trust Section */
    .checkout-trust {
        padding: 2rem 0;
    }
    
    .trust-items {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .trust-item {
        text-align: center;
        padding: 1rem;
    }
    
    .trust-item i {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .trust-item h4 {
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
    }
    
    .trust-item p {
        font-size: 0.8rem;
        margin: 0;
    }
    
    .payment-label {
        padding: 0.75rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .payment-icon {
        margin-bottom: 0.25rem;
    }
    
    .payment-details h4 {
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
    }
    
    .payment-details p {
        font-size: 0.8rem;
    }
    
    /* Order Summary */
    .summary-card {
        padding: 1rem;
    }
    
    .summary-card h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    /* Order Items */
    .order-item {
        padding: 0.75rem 0;
        gap: 0.75rem;
    }
    
    .item-image {
        width: 60px;
        height: 60px;
        flex: 0 0 60px;
    }
    
    .item-details h4 {
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
    }
    
    .item-details p {
        font-size: 0.8rem;
        margin-bottom: 0.25rem;
    }
    
    .item-price {
        font-size: 0.9rem;
        font-weight: 600;
    }
    
    /* Price Breakdown */
    .price-breakdown {
        font-size: 0.9rem;
    }
    
    .price-row {
        padding: 0.5rem 0;
    }
    
    .total-row {
        font-size: 1rem;
        padding: 0.75rem 0;
    }
    
    /* Place Order Button */
    .place-order-btn {
        padding: 1rem;
        font-size: 1rem;
        margin-top: 1rem;
    }
    
    /* Security Badges */
    .security-badges {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        margin-top: 1rem;
    }
    
    .badge-item {
        padding: 0.5rem;
        font-size: 0.8rem;
    }
    
    /* Trust Section */
    .checkout-trust {
        padding: 2rem 0;
    }
    
    .trust-items {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .trust-item {
        text-align: center;
        padding: 1rem;
    }
    
    .trust-item i {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    
    .trust-item h4 {
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
    }
    
    .trust-item p {
        font-size: 0.8rem;
    }
    
    /* Terms Checkbox */
    .terms-checkbox {
        padding: 0.75rem;
    }
    
    .terms-checkbox label {
        font-size: 0.9rem;
        line-height: 1.4;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    /* Profile Order Progress Steps for very small screens */
    .order-progress .step-label {
        font-size: 0.7rem !important;
        margin-top: 0.25rem;
        display: block !important;
        text-align: center;
        white-space: nowrap;
        max-width: 70px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .order-progress .step-icon {
        width: 25px;
        height: 25px;
        font-size: 0.8rem;
    }
    
    .order-progress .progress-steps {
        gap: 0.25rem;
    }
    
    /* Hide checkout step labels only on very small screens */
    .checkout-progress .step-label {
        display: none;
    }
    
    .checkout-progress .step-number {
        width: 25px;
        height: 25px;
        font-size: 0.8rem;
    }
    
    /* Trust items single column on very small screens */
    .trust-items {
        grid-template-columns: 1fr;
    }
    
    /* Form adjustments */
    .checkout-form .form-group input,
    .checkout-form .form-group textarea {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
    }
    
    /* Payment method labels */
    .payment-label {
        padding: 0.6rem;
    }
    
    .payment-details h4 {
        font-size: 0.85rem;
    }
    
    .payment-details p {
        font-size: 0.75rem;
    }
    
    /* Profile navigation for very small screens */
    .profile-nav {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
        padding: 0.75rem;
    }
    
    .profile-nav .nav-item {
        min-height: 70px;
        padding: 0.75rem 0.25rem;
    }
    
    .profile-nav .nav-item i {
        font-size: 1.25rem;
        margin-bottom: 0.25rem;
    }
    
    .profile-nav .nav-item span {
        font-size: 0.7rem;
    }
}
    
    .wishlist-item-footer .btn {
        width: 100%;
    }
}

/* Delete Modal Styling */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(3px);
    animation: fadeIn 0.3s ease;
}

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

.modal-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    max-width: 500px;
    width: 90%;
    margin: 2rem;
    animation: slideUp 0.3s ease;
    overflow: hidden;
}

@keyframes slideUp {
    from { 
        transform: translateY(30px);
        opacity: 0;
    }
    to { 
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    padding: 2rem 2rem 1rem;
    text-align: center;
    border-bottom: 1px solid #f1f5f9;
}

.modal-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, #fef3cd, #fdd835);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #f57c00;
    box-shadow: 0 8px 25px rgba(245, 124, 0, 0.3);
}

.modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.modal-body {
    padding: 1.5rem 2rem;
}

.modal-body p {
    margin: 0 0 1rem;
    font-size: 1rem;
    color: var(--text-medium);
    line-height: 1.6;
}

.warning-text {
    font-size: 0.9rem;
    color: #dc2626 !important;
    background: #fef2f2;
    padding: 0.75rem;
    border-radius: 6px;
    border-left: 4px solid #dc2626;
}

.modal-footer {
    padding: 1rem 2rem 2rem;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
}

.modal-footer .btn {
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.modal-footer .btn-secondary {
    background: #6b7280;
    color: white;
    border: none;
}

.modal-footer .btn-secondary:hover {
    background: #4b5563;
    transform: translateY(-1px);
}

.modal-footer .btn-danger {
    background: #dc2626;
    color: white;
    border: none;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.modal-footer .btn-danger:hover {
    background: #b91c1c;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
}

/* Mobile responsiveness for modal */
@media (max-width: 480px) {
    .modal-container {
        margin: 1rem;
        width: calc(100% - 2rem);
    }
    
    .modal-header,
    .modal-body {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    .modal-footer {
        flex-direction: column;
        padding: 1.5rem;
    }
    
    .modal-footer .btn {
        width: 100%;
        justify-content: center;
    }
    
    .modal-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal[style*="display: block"] {
    display: flex !important;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
}

.modal-content {
    position: relative;
    background: white;
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--text-dark);
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-medium);
    padding: 0.5rem;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--background-light);
    color: var(--text-dark);
}

.modal-body {
    padding: 2rem;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    padding: 1rem 2rem 2rem;
    border-top: 1px solid var(--border-color);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checkbox-label span {
    font-size: 0.9rem;
    color: var(--text-dark);
}
