@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&family=Playfair+Display:ital,wght@0,700;1,700&display=swap');
         * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        :root {
            --primary: #ff6f91; /* richer coral */
            --secondary: #4ecdc4; /* complementary teal */
            --accent: #ffd166; /* warm gold */
            --dark: #2a2d34;
            --light: #f8f5f2;
            --sand: #e6d2aa;
            /* Glassmorphism variables */
            --glass-bg: rgba(255,255,255,0.2);
            --glass-border: rgba(255,255,255,0.3);
            --glass-shadow: 0 8px 32px rgba(0,0,0,0.1);
        }
        
        body {
            font-family: 'Inter', sans-serif;
            color: var(--dark);
            background-color: var(--light);
            line-height: 1.6;
            overflow-x: hidden;
            margin: 0 auto;
            max-width: 1200px;
            box-sizing: border-box;
            /* padding-top: 90px; */
            
        }
        
        h1, h2, h3, h4 {
            font-family: 'Playfair Display', serif;
            font-weight: 700;
        }
        
        .container {
            width: 90%;
            max-width: 1200px;
            margin: 0 auto;
        }
        
        /* Header Responsivo */
        header {
            background: var(--glass-bg);
            border-bottom: 1px solid var(--glass-border);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            position: fixed;
            width: 100%;
            max-width: 1200px;
            top: 0;
            z-index: 1000;
            padding: 5px 0;
            box-shadow: var(--glass-shadow);
        }
        
        .header-container {
           max-width: 1200px;
            margin: 0 auto;
            padding: 15px 30px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .logo {
            display: flex;
            align-items: center;
            z-index: 1001;
        }
        
        .logo h1 {
            font-weight: 700;
             line-height: 1.2;
               letter-spacing: -0.5px;
               
            font-size: 1.8rem;
            color: var(--primary);
            margin-left: 10px;
        }

        .logo h1 span {
            /* display: flex; */
            /* flex-wrap: wrap; */
             display: block;
            font-weight: 400;
             font-family: 'Playfair Display', serif;
            font-style: italic;
            font-size: 1.4rem;
            color: var(--secondary);
            margin-left: 10px;
            letter-spacing: 1px;
            border-bottom: var(--primary) 1px solid;
            width: 100%;
        }
        
        .logo-icon {
            color: var(--secondary);
            font-size: 2rem;
        }
        
        nav ul {
            display: flex;
            list-style: none;
        }
        
        nav ul li {
            margin-left: 30px;
        }
        
        nav ul li a {
            text-decoration: none;
            color: var(--dark);
            font-weight: 600;
            font-size: 1rem;
            transition: color 0.3s;
            position: relative;
        }
        
        nav ul li a:after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--primary);
            transition: width 0.3s;
        }
        
        nav ul li a:hover {
            color: var(--primary);
        }
        
        nav ul li a:hover:after {
            width: 100%;
        }
        
        .cta-button {
            background: var(--primary);
            color: white;
            padding: 10px 25px;
            border-radius: 30px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s;
            border: 2px solid var(--primary);
        }
        
        .cta-button:hover {
            background: transparent;
            color: var(--primary);
        }
        
        /* Menu Hambúrguer para Mobile */
        .menu-toggle {
            display: none;
            cursor: pointer;
            z-index: 1001;
        }
        
        .menu-toggle i {
            font-size: 1.8rem;
            color: var(--dark);
        }
        
          /* Botão Flutuante do WhatsApp */
        .whatsapp-button {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 70px;
            height: 70px;
            background: #25D366;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 5px 15px rgba(0,0,0,0.3);
            z-index: 1000;
            animation: pulse 2s infinite;
            transition: all 0.3s ease;
        }
        
        .whatsapp-button:hover {
            transform: scale(1.1);
            box-shadow: 0 8px 20px rgba(0,0,0,0.4);
        }
        
        .whatsapp-button i {
            font-size: 40px;
            color: white;
        }
        
        .whatsapp-text {
            position: absolute;
            top: -45px;
            right: 0;
            background: #25D366;
            color: white;
            padding: 8px 15px;
            border-radius: 20px;
            font-weight: 600;
            font-size: 14px;
            white-space: nowrap;
            opacity: 0;
            transition: opacity 0.3s;
            box-shadow: 0 3px 10px rgba(0,0,0,0.2);
        }
        
        .whatsapp-button:hover .whatsapp-text {
            opacity: 1;
        }
        
        /* Animação do botão */
        @keyframes pulse {
            0% {
                box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
            }
            70% {
                box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
            }
            100% {
                box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
            }
        }
        
        /* Hero Section */
        .hero {
    min-height: 100vh; /* Usamos min-height em vez de height para conteúdo maior */
    padding: 60px 20px 20px; /* Padding superior para navbar fixa + laterais/baixo */
    background: 
        linear-gradient(rgba(42, 45, 52, 0.7), rgba(42, 45, 52, 0.7)),
        url('../img/capa.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center; /* Centraliza horizontalmente também */
    flex-direction: column; /* Garante alinhamento vertical em coluna */
    color: white;
    text-align: center;
    box-sizing: border-box; /* Corrige cálculo de altura com padding */
}
        
        .hero-content {
            max-width: 800px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        .hero h1 {
            font-size: 4rem;
            margin-bottom: 20px;
            line-height: 1.2;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
        }
        
        .hero p {
            font-size: 1.5rem;
            margin-bottom: 30px;
            font-weight: 300;
        }
        
        .hero-buttons {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-top: 30px;
        }
        
        .secondary-button {
            background: transparent;
            color: white;
            padding: 12px 30px;
            border-radius: 30px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s;
            border: 2px solid white;
        }
        
        .secondary-button:hover {
            background: white;
            color: var(--dark);
        }
        
        /* Features Section */
        .features {
            padding: 100px 0;
            background-color: white;
        }
        
        .section-title {
            text-align: center;
            margin-bottom: 60px;
        }
        
        .section-title h2 {
            font-size: 2.5rem;
            color: var(--dark);
            position: relative;
            display: inline-block;
            margin-bottom: 15px;
        }
        
        .section-title h2:after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 3px;
            background: var(--primary);
        }
        
        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 40px;
        }
        
        .feature-card {
            text-align: center;
            padding: 30px;
            border-radius: 10px;
            transition: transform 0.3s, box-shadow 0.3s;
            background: var(--light);
        }
        
        .feature-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0,0,0,0.1);
        }
        
        .feature-icon {
            font-size: 3rem;
            color: var(--primary);
            margin-bottom: 20px;
        }
        
        .feature-card h3 {
            font-size: 1.5rem;
            margin-bottom: 15px;
            color: var(--dark);
        }

/* Glassmorphism utility */
.glass {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    box-shadow: var(--glass-shadow);
    border-radius: 12px;
}
        
        /* Process Section */
        .process {
            padding: 100px 0;
            background: linear-gradient(135deg, var(--sand) 0%, #f5e9d0 100%);
        }
        
        .process-steps {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 40px;
            margin-top: 50px;
        }
        
        .step {
            flex: 1;
            min-width: 250px;
            max-width: 300px;
            text-align: center;
            position: relative;
        }
        
        .step-number {
            width: 50px;
            height: 50px;
            background: var(--primary);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            font-weight: bold;
            margin: 0 auto 20px;
        }
        
        .step h3 {
            margin-bottom: 15px;
            color: var(--dark);
        }
        
        /* Gallery Section */
        .gallery {
            padding: 100px 0;
            background-color: white;
        }
        
        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 20px;
        }
        
        .gallery-item {
            height: 350px;
            border-radius: 10px;
            overflow: hidden;
            position: relative;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        
        .gallery-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s;
        }
        
        .gallery-item:hover img {
            transform: scale(1.1);
        }
        
        /* Testimonials */
        .testimonials {
            padding: 100px 0;
            background: linear-gradient(135deg, var(--secondary) 0%, #8ad1e2 100%);
            color: white;
            text-align: center;
        }
        
        .testimonial-container {
            max-width: 800px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        .testimonial {
            background: rgba(255,255,255,0.1);
            backdrop-filter: blur(10px);
            padding: 40px;
            border-radius: 15px;
            margin: 30px 0;
        }
        
        .testimonial-text {
            font-style: italic;
            font-size: 1.2rem;
            margin-bottom: 20px;
            position: relative;
        }
        
        .testimonial-text:before,
        .testimonial-text:after {
            content: '"';
            font-size: 3rem;
            color: rgba(255,255,255,0.3);
            position: absolute;
        }
        
        .testimonial-text:before {
            top: -20px;
            left: -15px;
        }
        
        .testimonial-text:after {
            bottom: -40px;
            right: -15px;
        }
        
        .testimonial-author {
            font-weight: 600;
            font-size: 1.1rem;
        }
        
        /* CTA Section */
        .cta-section {
            padding: 100px 0;
            background: linear-gradient(rgba(255,122,162,0.9), rgba(255,122,162,0.8)), url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80') no-repeat center center/cover;
            color: white;
            text-align: center;
        }
        
        .cta-section h2 {
            font-size: 3rem;
            margin-bottom: 20px;
        }
        
        .cta-section p {
            font-size: 1.5rem;
            max-width: 700px;
            margin: 0 auto 40px;
        }
        
        /* Localização com Google Maps */
        .location {
            padding: 100px 0;
            background-color: white;
        }
        
        .location-container {
            display: flex;
            flex-wrap: wrap;
            gap: 40px;
            align-items: center;
        }
        
        .location-info {
            flex: 1;
            min-width: 300px;
        }
        
        .location-map {
            flex: 1;
            min-width: 300px;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 15px 30px rgba(0,0,0,0.1);
            height: 450px;
        }
        
        .location-map iframe {
            width: 100%;
            height: 100%;
            border: 0;
        }
        
        .location-info h3 {
            font-size: 1.8rem;
            color: var(--primary);
            margin-bottom: 20px;
        }
        
        .contact-details {
            margin-top: 30px;
        }
        
        .contact-item {
            display: flex;
            align-items: flex-start;
            margin-bottom: 20px;
        }
        
        .contact-icon {
            width: 40px;
            height: 40px;
            background: var(--primary);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 15px;
            flex-shrink: 0;
        }
        
        .contact-text {
            line-height: 1.6;
        }
        
        /* Footer */
        footer {
            background: var(--dark);
            color: white;
            padding: 60px 0 30px;
        }
        
        .footer-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
            margin-bottom: 40px;
        }
        
        .footer-column h3 {
            color: var(--primary);
            margin-bottom: 20px;
            font-size: 1.5rem;
        }
        
        .footer-column ul {
            list-style: none;
        }
        
        .footer-column ul li {
            margin-bottom: 10px;
        }
        
        .footer-column ul li a {
            color: #ccc;
            text-decoration: none;
            transition: color 0.3s;
        }
        
        .footer-column ul li a:hover {
            color: var(--primary);
        }
        
        .social-icons {
            display: flex;
            gap: 15px;
            margin-top: 20px;
        }
        
        .social-icons a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background: rgba(255,255,255,0.1);
            border-radius: 50%;
            color: white;
            transition: all 0.3s;
        }
        
        .social-icons a:hover {
            background: var(--primary);
            transform: translateY(-5px);
        }
        
        .copyright {
            text-align: center;
            padding-top: 30px;
            border-top: 1px solid rgba(255,255,255,0.1);
            font-size: 0.9rem;
            color: #aaa;
        }
        
        .signature {
            font-family: 'Playfair Display', serif;
            font-style: italic;
            color: var(--primary);
            text-align: center;
            margin-top: 20px;
            font-size: 1.1rem;
        }
          @media (max-width: 1150px) {
             .logo h1 {
            font-size: 1.3rem;
        }

        .logo h1 span {
    
            font-size: 1.3rem;
            color: var(--secondary);
            margin-left: 10px;
            letter-spacing: 1px;
            border-bottom: var(--primary) 1px solid;
        }
        
        .logo-icon {
            font-size: 1.3rem;
        }

          .header {
        padding: 10px 20px; /* Exemplo: reduzir o padding */
    }
            }
        
        /* Responsive Styles */
        @media (max-width: 992px) {
            .hero h1 {
                font-size: 3rem;
            }
            
            .hero p {
                font-size: 1.3rem;
            }
            
            .section-title h2 {
                font-size: 2.2rem;
            }
               .header {
        padding: 10px 15px;
    }
        }
        
        @media (max-width: 768px) {
            .menu-toggle {
                display: block;
            }
            
            nav {
                position: fixed;
                top: 0;
                right: -100%;
                width: 88%;
                height: 100vh;
                background: rgba(255, 255, 255, 0.95);
                backdrop-filter: blur(10px);
                transition: all 0.4s ease;
                z-index: 1000;
                padding-top: 80px;
                box-shadow: -5px 0 15px rgba(0,0,0,0.1);
            }
               .header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background: white;
        z-index: 1000;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        padding: 10px 20px;
    }
            nav.active {
                right: 0;
            }
            
            nav ul {
                flex-direction: column;
                padding: 20px;
            }
            
            nav ul li {
                margin: 15px 0;
            }
            
            nav ul li a {
                font-size: 1.2rem;
            }
            
            .hero h1 {
                font-size: 2.5rem;
            }
            
            .hero p {
                font-size: 1.1rem;
            }
            
            .hero-buttons {
                flex-direction: column;
                align-items: center;
            }

            .whatsapp-button {
                width: 60px;
                height: 60px;
                bottom: 20px;
                right: 20px;
            }
            
            .whatsapp-button i {
                font-size: 35px;
            }
            
            .section-title h2 {
                font-size: 2rem;
            }
            
            .step {
                min-width: 100%;
                margin-bottom: 30px;
            }
            
            .location-container {
                flex-direction: column;
            }
            
            .location-map {
                width: 100%;
            }
        }
           @media (min-width: 769px) and (max-width: 1050px) {
             .logo h1 span {
                display: none;
             }
         }
        
        @media (max-width: 480px) {
            .header {
        padding: 8px 15px;
    }
                .logo-icon {
        font-size: 2rem;
    }
            .logo h1 {
                font-size: 1.5rem;
            }

               .logo h1 span {
           
            font-size: 1.2rem;
        }

            
            .hero h1 {
                font-size: 2rem;
            }
            
            .cta-section h2 {
                font-size: 2.2rem;
            }
            
            .cta-section p {
                font-size: 1.2rem;
            }
            
            .feature-card {
                padding: 20px;
            }
            
        }

/* Store Section - Modernized */
.store {
    padding: 100px 0;
    background-color: #f9f9f9; /* Light background to contrast with cards */
}

.store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    padding: 20px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15); /* Enhanced hover shadow */
}

.product-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 3/4;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.33, 1, 0.68, 1);
}

.product-card:hover .product-image img {
    transform: scale(1.08); /* Smoother zoom */
}

.badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent);
    color: var(--dark);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    z-index: 2;
}

.product-info h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--dark);
    font-weight: 700;
}

.price {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 20px;
    display: block;
}

.btn-buy {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #25D366;
    color: white;
    padding: 14px;
    border-radius: 50px; /* Pill shape */
    text-decoration: none;
    font-weight: 600;
    margin-top: auto;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.2);
}

.btn-buy:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(37, 211, 102, 0.3);
}


/* Shopping Cart Styles */
.cart-btn-floating {
    position: fixed;
    bottom: 30px;
    left: 30px; /* Opposite to WhatsApp button */
    width: 60px;
    height: 60px;
    background: var(--dark);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
    border: none;
}

.cart-btn-floating:hover {
    transform: scale(1.1);
    background: var(--primary);
}

.cart-btn-floating i {
    font-size: 24px;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--primary);
    color: white;
    font-size: 12px;
    font-weight: 700;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}

/* Cart Modal/Sidebar */
.cart-modal {
    position: fixed;
    top: 0;
    right: -400px;
    width: 100%;
    max-width: 400px;
    height: 100vh; /* Fallback */
    height: 100dvh; /* For mobile browsers */
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: -5px 0 30px rgba(0,0,0,0.2);
    z-index: 2000;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.cart-modal.active {
    right: 0;
}

.cart-header {
    padding: 20px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--primary);
    color: white;
    flex-shrink: 0; /* Prevent shrinking */
}

.cart-header h2 {
    font-size: 1.5rem;
    margin: 0;
    font-family: 'Playfair Display', serif;
}

.close-cart {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.2s;
}

.close-cart:hover {
    transform: rotate(90deg);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.empty-cart {
    text-align: center;
    color: #888;
    margin-top: 50px;
    font-style: italic;
}

.cart-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

.cart-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 15px;
}

.cart-item-info {
    flex: 1;
}

.cart-item-info h4 {
    margin-bottom: 5px;
    font-size: 1rem;
    color: var(--dark);
}

.cart-item-info p {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.cart-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 5px;
}

.cart-controls button {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.cart-controls button:hover {
    background: var(--light);
}

.remove-item {
    background: none;
    border: none;
    color: #ff6f91;
    cursor: pointer;
    padding: 5px;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.remove-item:hover {
    opacity: 1;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid rgba(0,0,0,0.1);
    background: white;
    flex-shrink: 0; /* Prevent shrinking */
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark);
}

.checkout-btn {
    width: 100%;
    background: #25D366;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 30px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s;
}


/* Toast Notification */
.toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: rgba(42, 45, 52, 0.9);
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    z-index: 3000;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    font-weight: 500;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
}

/* Product Detail Modal */
.product-detail-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 2500;
    display: none; /* specific logic to toggle flex */
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-detail-modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: var(--light);
    width: 90%;
    max-width: 900px;
    max-height: 90vh; /* Allow scrolling if needed */
    border-radius: 20px;
    overflow-y: auto; /* Internal scroll */
    position: relative;
    display: flex;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.product-detail-modal.active .modal-content {
    transform: scale(1);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255,255,255,0.8);
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--dark);
    transition: background 0.2s;
}

.close-modal:hover {
    background: white;
}

.modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
}

.modal-image {
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.modal-info {
    padding: 40px;
    display: flex;
    flex-direction: column;
}

.modal-info h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.modal-price {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 20px;
}

.modal-description {
    font-size: 1rem;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.size-selector {
    margin-bottom: 30px;
}

.size-selector h4 {
    margin-bottom: 10px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
}

.sizes-container {
    display: flex;
    gap: 10px;
}

.size-btn {
    border: 1px solid #ddd;
    background: white;
    color: #333; /* Force text color */
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
    min-width: 40px; /* Ensure minimum click area */
}

.size-btn:hover, .size-btn.selected {
    border-color: var(--primary);
    background: var(--primary);
    color: white;
}

.modal-add-btn {
    margin-top: auto;
    width: 100%;
    padding: 15px;
    background: var(--dark);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.modal-add-btn:hover {
    background: var(--secondary);
}

/* Modal Responsive */
@media (max-width: 768px) {
    .modal-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-image {
        height: 300px;
    }
    
    .modal-info {
        padding: 25px;
    }

    .modal-content {
        flex-direction: column;
        overflow-y: scroll;
         /* Fix for mobile scrolling inside modal */
        -webkit-overflow-scrolling: touch;
    }
}