/*
Theme Name: Glow Chocoloom V2
Description: Luxury Gifting & Premium Confectionery Theme
Author: Crafts Chocoloom
Version: 2.0
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}


:root {
    /* Color Palette */
    --black: #1a1a1a;
    --dark-brown: #3E2723;
    --brown: #6B4F3D;
    --biscuit: #E8D8C8;
    --light-biscuit: #F5EFEB;
    --white: #ffffff;
    --gray: #f9f9f9;
    
    /* Typography */
    --font-primary: 'Outfit', sans-serif;
    --font-serif: 'Playfair Display', serif;

    /* Spacing & Transitions */
    --transition: 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    font-family: var(--font-primary);
    background-color: var(--light-biscuit);
    color: var(--black);
}

/* Loader */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--dark-brown);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 1s ease-in-out, visibility 1s;
}

.loader.fadeOut {
    opacity: 0;
    visibility: hidden;
}

.loader-logo {
    color: var(--biscuit);
    font-family: var(--font-primary);
    font-size: 4rem;
    font-weight: 700;
    opacity: 0;
    animation: fadeInOut 2s ease-in-out forwards;
}

@keyframes fadeInOut {
    0% { opacity: 0; transform: translateY(20px); }
    30% { opacity: 1; transform: translateY(0); }
    70% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; }
}

/* Advertisement Banner */
.ad-banner-container {
    padding: 0 0.5rem 1.5rem;
}

.ad-banner {
    display: block;
    position: relative;
    width: 100%;
    height: 220px;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.ad-banner:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.ad-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.ad-banner:hover img {
    transform: scale(1.05);
}

.ad-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(62, 39, 35, 0.9), transparent 80%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    color: white;
}

.ad-badge {
    background: #f39c12;
    color: white;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    width: fit-content;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.ad-overlay h2 {
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
    font-family: var(--font-primary);
}

.ad-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 1rem;
    max-width: 500px;
}

.ad-cta {
    font-weight: 700;
    font-size: 0.9rem;
    color: #f39c12;
}

@media (max-width: 768px) {
    .ad-banner {
        height: 140px;
    }
    .ad-overlay {
        padding: 1rem;
        background: linear-gradient(to top, rgba(62, 39, 35, 0.95), transparent 100%);
        justify-content: flex-end;
    }
    .ad-overlay h2 {
        font-size: 1.2rem;
    }
    .ad-overlay p {
        display: none; /* Hide p on mobile to save space */
    }
}

/* Category Strip */
.category-strip {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    padding: 1.5rem 0.5rem;
    gap: 1.2rem 0.5rem;
    justify-items: center;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    max-width: 80px;
    cursor: pointer;
    transition: transform 0.3s;
}

/* Smooth Image Loading */
img {
    transition: opacity 0.4s ease-in-out;
}

img:not([src]) {
    opacity: 0;
}

.img-loaded {
    opacity: 1 !important;
}

.cat-icon-container, .category-card, .product-card {
    background: #fdfaf8; /* Subtle placeholder color */
    overflow: hidden;
}

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

.cat-icon-container {
    position: relative;
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    padding: 2px;
    overflow: hidden;
    transition: box-shadow 0.3s;
    border: 2px solid #fff;
}

.coming-soon-badge {
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    background: rgba(107, 79, 61, 0.9); /* Warm brown theme matching dark-brown */
    color: #fff;
    font-size: 8px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    padding: 2px 0;
    pointer-events: none;
    z-index: 10;
    letter-spacing: 0.5px;
}

.category-item:hover .cat-icon-container {
    box-shadow: 0 12px 35px rgba(107, 79, 61, 0.15);
}

.cat-icon-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.category-item span {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--dark-brown);
    text-align: center;
    white-space: normal;
    line-height: 1.1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Header */
header {
    background-color: var(--white);
    padding: 1rem 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    width: 100%;
    padding: 0 0.5rem;
}

.header-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    height: 70px;
}

.search-row {
    padding: 0.5rem 0.5rem 1rem;
    display: flex;
    justify-content: center;
}

.header-search {
    flex: 1;
    max-width: none;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    background: #f5efeb;
    border-radius: 50px;
    padding: 5px 15px;
}

#search-input {
    width: 100%;
    border: none;
    background: transparent;
    padding: 8px;
    outline: none;
    font-family: inherit;
    color: #4a2c2a;
}

#search-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #4a2c2a;
}

.search-results-dropdown {
    position: fixed;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    max-height: 400px;
    overflow-y: auto;
    z-index: 10000;
    display: none;
    border: 1px solid #e0d5d0;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 10px 15px;
    cursor: pointer;
    transition: background 0.3s;
    border-bottom: 1px solid #eee;
}

.search-result-item:hover {
    background: #f9f4f1;
}

.search-result-item img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
}

.search-result-info .res-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: #3e2723;
}

.search-result-info .res-cat {
    font-size: 0.75rem;
    color: #8d6e63;
}

.menu-btn {
    justify-self: start;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--dark-brown);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    z-index: 101;
}

.cart-btn-header {
    justify-self: end;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--dark-brown);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    z-index: 101;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    white-space: nowrap;
    justify-self: center;
}

.logo span {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-brown);
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.cart-btn-header {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-brown);
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 101;
}

.cart-badge {
    background-color: var(--brown);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 50px;
    margin-left: 5px;
    min-width: 18px;
    text-align: center;
}

@keyframes logoPulse {
    from { text-shadow: 0 0 10px rgba(107, 79, 61, 0.2); }
    to { text-shadow: 0 0 25px rgba(107, 79, 61, 0.6); }
}

@keyframes imageGlow {
    from { filter: drop-shadow(0 0 5px rgba(107, 79, 61, 0.3)); }
    to { filter: drop-shadow(0 0 20px rgba(107, 79, 61, 0.8)); }
}

.logo:hover {
    color: var(--brown);
    text-shadow: 0 0 20px rgba(107, 79, 61, 0.5);
    transform: scale(1.02);
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--brown);
    transition: width 0.4s ease;
}

.logo:hover::after {
    width: 100%;
}

.mobile-nav {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: 0;
    background-color: var(--white);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: height 0.3s ease;
    z-index: 100;
}

.mobile-nav.active {
    height: auto;
    padding-bottom: 2rem;
}

.mobile-nav-content {
    display: flex;
    flex-direction: column;
    padding: 1rem 0;
}

.mobile-nav-content a {
    text-decoration: none;
    color: var(--dark-brown);
    font-weight: 600;
    padding: 1rem 2rem;
    transition: background var(--transition);
}

.mobile-nav-content a:hover {
    background-color: var(--light-biscuit);
    color: var(--brown);
}

.mobile-nav-content a.active {
    background-color: var(--light-biscuit);
    color: var(--brown);
    border-left: 4px solid var(--brown);
}

.header-icons {
    display: flex;
    gap: 1.5rem;
}

.icon-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--dark-brown);
    transition: transform var(--transition);
}

.icon-btn:hover {
    transform: scale(1.1);
    color: var(--brown);
}



/* Instructions Section */
.instructions-section {
    padding: 6rem 2rem;
    background-color: var(--white);
    border-radius: 40px;
    margin: 4rem 0;
    box-shadow: 0 15px 50px rgba(0,0,0,0.02);
}

.instructions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
}

.instruction-step {
    text-align: center;
    position: relative;
    padding: 2rem;
    transition: transform 0.3s ease;
}

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

.step-icon {
    width: 60px;
    height: 60px;
    background-color: var(--dark-brown);
    color: var(--biscuit);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 20px rgba(62, 39, 35, 0.2);
}

.instruction-step h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--dark-brown);
    margin-bottom: 1rem;
}

.instruction-step p {
    color: var(--brown);
    line-height: 1.6;
    font-size: 1rem;
}

/* Reviews Section */
.reviews-section {
    margin-top: 4rem;
    padding: 4rem 0;
    background: var(--light-biscuit);
    border-radius: 40px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 0 1.5rem;
}

.review-card {
    padding: 2rem;
    border-radius: 20px;
    background: var(--light-biscuit);
    position: relative;
}

.review-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 4rem;
    color: var(--brown);
    opacity: 0.1;
    font-family: serif;
}

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

.review-name {
    font-weight: 700;
    color: var(--dark-brown);
}

.review-date {
    font-size: 0.8rem;
    opacity: 0.6;
}

/* Contact Page */
.contact-container {
    max-width: 900px;
    margin: 4rem auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    background: var(--white);
    padding: 3rem;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.05);
}

.contact-info h2 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--dark-brown);
}

.contact-details {
    margin-top: 2rem;
}

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

.contact-item span {
    font-size: 1.5rem;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: #25D366;
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    margin-top: 2rem;
    transition: transform var(--transition);
}

.whatsapp-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid var(--biscuit);
    border-radius: 10px;
    background: var(--light-biscuit);
    outline: none;
}

.contact-form button {
    width: 100%;
    padding: 1rem;
    background: var(--dark-brown);
    color: var(--biscuit);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 700;
}

/* Main Content Area */
main {
    max-width: 1300px; /* Slightly wider for better space usage */
    margin: 1rem auto;
    padding: 0 1.5rem;
    min-height: 70vh;
}


/* Home view specific styles */
.hero-section {
    text-align: center;
    padding: 3rem 1rem 2rem;
    margin-bottom: 0;
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.classic-banner {
    position: relative;
    width: 100%;
    height: 45vh;
    min-height: 320px;
    border-radius: 30px;
    overflow: hidden;
    margin-bottom: 4rem;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
}

.classic-banner:hover .banner-img {
    transform: scale(1.05);
}

.banner-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #3E2723;
    padding: 2rem;
}

.banner-content h2 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 6vw, 3.5rem);
    margin-bottom: 1.5rem;
    text-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.banner-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.banner-cta {
    background: var(--biscuit);
    color: var(--dark-brown);
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.banner-cta:hover {
    transform: translateY(-5px);
    background: var(--white);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}



/* Highlights & Promo Sections */
.highlights-section {
    margin: 2rem 0;
}

.promo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 1.5rem 0;
}

.promo-banner {
    position: relative;
    height: 400px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.promo-banner.full-width {
    grid-column: span 2;
    height: 350px;
}

.promo-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.promo-banner:hover img {
    transform: scale(1.08);
}

.promo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent 70%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 3rem;
    color: var(--white);
    transition: background 0.3s ease;
}

.promo-banner:hover .promo-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent 80%);
}

.promo-overlay h3 {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.promo-overlay p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.promo-btn {
    align-self: flex-start;
    background: var(--white);
    color: var(--dark-brown);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.promo-btn:hover {
    background: var(--biscuit);
    transform: scale(1.05);
}

/* Featured Arrivals Section */
.featured-section {
    margin: 1.5rem 0;
    padding: 2.5rem 2rem;
    background: linear-gradient(135deg, #fdfcfb 0%, #e2d1c3 100%);
    border-radius: 30px;
    position: relative;
    overflow: hidden;
}

.featured-section::before {
    content: 'NEW';
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 15rem;
    font-weight: 900;
    color: rgba(255,255,255,0.2);
    z-index: 0;
}

.featured-header {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.featured-header h2 {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    color: var(--dark-brown);
    margin-bottom: 1rem;
}

.featured-header p {
    font-size: 1.2rem;
    color: var(--brown);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.featured-section .products-grid {
    position: relative;
    z-index: 1;
}

/* Glassmorphism for Overlays */
.category-overlay, .promo-overlay {
    /* Removed blur to keep images sharp */
}

.budget-section {
    padding: 6rem 2rem;
    background: var(--white);
    border-radius: 40px;
    margin: 4rem 0;
    box-shadow: 0 15px 50px rgba(0,0,0,0.02);
}

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

/* Trending Section */
.trending-section {
    margin-top: 5rem;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--dark-brown);
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--brown);
    margin: 1rem auto;
}

/* Categories Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .promo-grid {
        grid-template-columns: 1fr;
    }
    .promo-banner.full-width {
        grid-column: span 1;
    }
    .promo-overlay h3 {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .search-row {
        padding: 0.5rem 1rem 1rem;
    }
    
    .header-search {
        max-width: 100%;
    }
    
    .logo {
        position: static;
        transform: none;
        left: auto;
    }
}


.category-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform var(--transition), box-shadow var(--transition);
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(107, 79, 61, 0.2);
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(62, 39, 35, 0.8) 0%, rgba(62, 39, 35, 0) 50%);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
}

.category-title {
    color: var(--biscuit);
    font-family: var(--font-serif);
    font-size: 1.8rem;
}

/* Specific Style for Crafts Circle */
.category-card[data-id="crafts"] {
    border-radius: 50%;
    aspect-ratio: 1;
    background: white;
    padding: 10px;
    border: 1px solid #eee;
    overflow: hidden;
}

.category-card[data-id="crafts"] img {
    width: 80%;
    height: 80%;
    object-fit: contain;
    margin: 10%;
}

.category-card[data-id="crafts"] .category-overlay {
    background: transparent;
    justify-content: center;
    padding: 0;
    bottom: -35px;
}

.category-card[data-id="crafts"] .category-title {
    color: var(--dark-brown);
    font-size: 1.2rem;
    font-weight: 700;
}


/* Product View */
.back-btn {
    background: transparent;
    border: none;
    font-size: 1rem;
    color: var(--brown);
    cursor: pointer;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.back-btn:hover {
    text-decoration: underline;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 2rem;
}

@media (max-width: 600px) {
    .products-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.8rem;
    }
}


.product-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform var(--transition);
    animation: fadeUp 0.6s ease-out backwards;
    position: relative;
}

.out-of-stock-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(220, 38, 38, 0.9);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.7rem;
    font-weight: 700;
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bestseller-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(212, 175, 55, 0.9); /* Gold */
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.7rem;
    font-weight: 700;
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}


.out-of-stock-btn {
    background: #a3a3a3 !important;
    cursor: not-allowed !important;
    pointer-events: none;
    opacity: 0.7;
}


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

.product-image {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.product-info {
    padding: 1.2rem;
}

.product-title {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--dark-brown);
    margin-bottom: 0.5rem;
}

.product-price {
    font-weight: 700;
    color: var(--brown);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

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

.product-actions {
    display: flex;
    gap: 0.8rem;
}

.add-to-cart {
    flex: 1;
    padding: 0.8rem;
    background-color: var(--dark-brown);
    color: var(--biscuit);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color var(--transition);
}

.view-details-btn {
    flex: 1;
    padding: 0.8rem;
    background-color: transparent;
    color: var(--dark-brown);
    border: 2px solid var(--dark-brown);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all var(--transition);
    font-size: 0.9rem;
}

.view-details-btn:hover {
    background-color: var(--dark-brown);
    color: var(--biscuit);
}

.add-review-container {
    max-width: 800px;
    margin: 3rem auto 0;
    padding: 2rem;
    background: var(--light-biscuit);
    border-radius: 20px;
    text-align: center;
}

.review-form-inline {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.review-form-inline input, .review-form-inline select {
    padding: 0.8rem;
    border: 1px solid var(--biscuit);
    border-radius: 8px;
    outline: none;
}

.review-form-inline input[type="text"] {
    flex: 1;
    min-width: 200px;
}

.review-form-inline button {
    padding: 0.8rem 2rem;
    background: var(--dark-brown);
    color: var(--biscuit);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}

.add-to-cart:hover {
    background-color: var(--brown);
}

/* Footer */
footer {
    background-color: var(--black);
    color: var(--light-biscuit);
    padding: 4rem 2rem 2rem;
    margin-top: 6rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--biscuit);
}

.footer-section p {
    font-size: 0.9rem;
    line-height: 1.6;
    opacity: 0.8;
}

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

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

.footer-section ul li a {
    color: var(--light-biscuit);
    text-decoration: none;
    font-size: 0.9rem;
    opacity: 0.7;
    transition: opacity var(--transition);
}

.footer-section ul li a:hover {
    opacity: 1;
}

.newsletter-form {
    display: flex;
    margin-top: 1.5rem;
}

.newsletter-form input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.8rem;
    color: white;
    border-radius: 5px 0 0 5px;
    outline: none;
    flex: 1;
}

.newsletter-form button {
    background-color: var(--brown);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    font-weight: 600;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.5;
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        padding: 0 0.8rem;
    }

    .header-content {
        height: 60px;
        gap: 0.2rem;
    }

    .logo span {
        display: block;
        font-size: 1.2rem;
    }

    .logo-img {
        height: 32px;
    }

    .mobile-nav {
        top: 60px;
    }

    .hero-section h2 {
        font-size: clamp(1.2rem, 7vw, 1.8rem);
    }

    .hero-section p {
        font-size: 0.9rem;
        padding: 0 1rem;
    }

    /* Side-by-side view for mobile */
    .categories-grid, .products-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.6rem;
        padding: 0;
    }

    /* New Arrivals - force 2-column big cards on mobile */
    .products-grid.featured-arrivals-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.8rem !important;
    }

    /* Curated for Excellence - force 3-column side-by-side on mobile */
    .promo-grid.promo-grid-compact {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 0.4rem !important;
        margin: 0.8rem 0 !important;
    }

    .promo-banner-small {
        height: 105px !important;
        border-radius: 8px !important;
    }

    .promo-banner-small .promo-overlay {
        padding: 0.6rem !important;
    }

    .promo-banner-small .promo-overlay h3 {
        font-size: 0.65rem !important;
        margin-bottom: 0.1rem;
    }

    .promo-banner-small .promo-btn {
        padding: 0.25rem 0.5rem !important;
        font-size: 0.6rem !important;
    }

    /* Reduce section spacing on mobile */
    .featured-section {
        margin: 0 0 0.8rem 0 !important;
        padding: 0.5rem 0.8rem 1.2rem 0.8rem !important;
        border-radius: 16px !important;
    }

    .featured-header {
        margin-bottom: 0.8rem !important;
    }

    .featured-header h2 {
        font-size: 1.6rem !important;
    }

    .highlights-section {
        margin: 0.8rem 0 !important;
    }

    .ad-section {
        padding: 0.5rem 0.5rem 0 0.5rem !important;
        margin: 0.8rem auto 0 auto !important;
    }

    .video-ad-wrapper {
        aspect-ratio: 16 / 9 !important;
        height: auto !important;
        border-radius: 12px;
    }

    .ad-overlay-content {
        padding: 1rem !important;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
        background: rgba(0,0,0,0.4) !important;
    }

    .ad-badges {
        gap: 0.4rem !important;
        margin-bottom: 0.6rem !important;
        justify-content: center !important;
    }

    .premium-tag {
        padding: 0.2rem 0.5rem !important;
        font-size: 0.55rem !important;
    }

    .ad-text-content h2 {
        font-size: 1.2rem !important;
        margin-bottom: 0.3rem !important;
    }

    .ad-text-content p {
        font-size: 0.65rem !important;
        margin-bottom: 0.6rem !important;
        line-height: 1.3 !important;
        max-width: 100% !important;
    }

    .ad-features {
        gap: 1rem !important;
        padding-top: 0.6rem !important;
        border-top: 1px solid rgba(255,255,255,0.2) !important;
        justify-content: center !important;
    }

    .feature-item {
        font-size: 0.6rem !important;
    }

    .promo-grid {
        margin: 0.8rem 0 !important;
        gap: 0.8rem !important;
    }

    .category-card {
        aspect-ratio: 1; /* Square cards look better side-by-side */
    }

    .category-title {
        font-size: 1rem;
        text-align: center;
        width: 100%;
    }

    .category-overlay {
        padding: 0.5rem;
        justify-content: center;
    }

    .product-card .product-title {
        font-size: 0.85rem;
        margin-bottom: 0.3rem;
        height: 2.4rem; /* Ensure consistent height for titles */
        overflow: hidden;
    }

    .product-info {
        padding: 0.8rem;
    }

    .product-price {
        font-size: 0.95rem;
    }

    .product-rating {
        font-size: 0.75rem;
    }

    .add-to-cart {
        padding: 0.6rem;
        font-size: 0.75rem;
    }

    .product-actions {
        flex-direction: column;
        gap: 0.5rem;
    }

    .whatsapp-icon-btn {
        width: 100%;
        height: 35px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 0 1rem;
    }

    .newsletter-form {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }

    .newsletter-form input, .newsletter-form button {
        border-radius: 5px;
        width: 100%;
    }

    .contact-container {
        grid-template-columns: 1fr;
        padding: 1rem;
        margin: 1rem 0;
        gap: 1.5rem;
    }
    
    main {
        padding: 0 0.8rem; /* Tighter side padding on mobile */
    }

}

/* Product Customization */
.customization-section {
    margin: 1.5rem 0;
    padding: 1rem;
    background: #fdfaf8;
    border-radius: 12px;
    border: 1px solid #f5efeb;
}

.customization-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--brown);
    margin-bottom: 0.8rem;
    display: block;
}

.size-selector {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 0.8rem;
}

.size-option {
    padding: 10px;
    border: 2px solid #eee;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    background: white;
}

.size-option:hover {
    border-color: var(--accent);
    background: #fdfaf8;
}

.size-option.active {
    border-color: var(--accent);
    background: var(--accent);
    color: white;
}

.size-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
}

.size-price {
    display: block;
    font-size: 0.75rem;
    opacity: 0.8;
    margin-top: 2px;
}

/* Cart Sidebar Styles */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background-color: var(--white);
    box-shadow: -5px 0 30px rgba(0,0,0,0.1);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    padding: 1.5rem;
    background-color: var(--dark-brown);
    color: var(--biscuit);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-cart {
    background: none;
    border: none;
    color: var(--biscuit);
    font-size: 2rem;
    cursor: pointer;
}

.cart-items-container {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

.cart-instructions {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--light-biscuit);
    background-color: var(--white);
}

.cart-instructions label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--brown);
    margin-bottom: 0.5rem;
}

.cart-instructions textarea {
    width: 100%;
    height: 80px;
    padding: 0.8rem;
    border: 1px solid var(--biscuit);
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 0.9rem;
    resize: none;
    outline: none;
    transition: border-color 0.3s ease;
}

.cart-instructions textarea:focus {
    border-color: var(--brown);
    box-shadow: 0 0 0 3px rgba(107, 79, 61, 0.1);
}

.cart-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--light-biscuit);
    animation: fadeIn 0.3s ease-out;
}

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

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

.cart-item-info {
    flex: 1;
}

.cart-item-title {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
}

.cart-item-price {
    color: var(--brown);
    font-weight: 700;
}

.empty-cart-msg {
    text-align: center;
    color: var(--brown);
    margin-top: 3rem;
    opacity: 0.6;
}

.cart-footer {
    padding: 1.2rem;
    border-top: 1px solid var(--light-biscuit);
    background-color: var(--gray);
}

.cart-location-select {
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cart-location-select label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--brown);
}

.cart-location-select select {
    padding: 0.6rem;
    border-radius: 8px;
    border: 1px solid var(--biscuit);
    background: white;
    font-family: var(--font-primary);
    cursor: pointer;
}

.cart-summary-line {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 1rem 0;
    padding-top: 1rem;
    border-top: 1px dashed var(--biscuit);
    color: var(--dark-brown);
}

.checkout-btn {
    width: 100%;
    padding: 1rem;
    background-color: var(--dark-brown);
    color: var(--biscuit);
    border: none;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cart-quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-top: 0.5rem;
}

.qty-btn {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    border: 1px solid var(--biscuit);
    background: var(--white);
    color: var(--dark-brown);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    transition: all 0.2s ease;
}

.qty-btn:hover {
    background: var(--dark-brown);
    color: var(--white);
}

.qty-val {
    font-weight: 600;
    font-size: 0.9rem;
    min-width: 20px;
    text-align: center;
}

.cart-item-total {
    font-weight: 700;
    color: var(--dark-brown);
    font-size: 0.95rem;
    align-self: center;
}

.add-to-cart.added {
    background-color: #2e7d32 !important;
    color: white !important;
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    backdrop-filter: blur(5px);
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: var(--white);
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    border-radius: 20px;
    overflow-y: auto;
    position: relative;
    animation: modalIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--light-biscuit);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: white;
    z-index: 10;
}

.modal-header h2 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--dark-brown);
}

.close-modal {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--brown);
}

.checkout-form {
    padding: 2rem;
}

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

.form-section h3 {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--dark-brown);
    margin-bottom: 1.2rem;
    border-bottom: 2px solid var(--light-biscuit);
    padding-bottom: 0.6rem;
    font-weight: 700;
}

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

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

.checkout-form input {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    font-family: var(--font-primary);
    font-size: 1rem;
    background-color: var(--white);
    color: var(--dark-brown);
    outline: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.checkout-form input:focus {
    border-color: var(--brown);
    box-shadow: 0 0 0 4px rgba(107, 79, 61, 0.1), 0 4px 10px rgba(0,0,0,0.05);
    background-color: #fff;
}

.checkout-form input::placeholder {
    color: #9e9e9e;
    font-size: 0.9rem;
}

.checkout-summary-mini {
    background-color: var(--light-biscuit);
    padding: 1rem;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--dark-brown);
}

.place-order-btn {
    width: 100%;
    padding: 1.2rem;
    background-color: #25D366;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.place-order-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

@media (max-width: 480px) {
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
    
    .cart-sidebar.active {
        right: 0;
    }

    .modal-content {
        width: 100%;
        height: 100%;
        max-height: 100vh;
        border-radius: 0;
        padding-bottom: 2rem;
    }

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

    .modal-header h2 {
        font-size: 1.2rem;
    }
}
/* Product Details View */
.product-details-view {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    animation: fadeIn 0.5s ease;
}

.details-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.details-image-section {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.details-image-section img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.details-info-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.details-title {
    font-size: 2.5rem;
    color: var(--dark-brown);
    margin-bottom: 0.5rem;
}

.details-rating {
    color: #ff9800;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.review-count {
    color: #888;
    font-size: 0.9rem;
    margin-left: 0.5rem;
}

.details-price {
    font-size: 2rem;
    color: var(--dark-brown);
    font-weight: 700;
    margin-bottom: 2rem;
}

.details-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 2rem;
}

.details-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 0.85rem;
    color: #666;
    padding: 1rem;
    background: var(--light-biscuit);
    border-radius: 12px;
}

.feature-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.add-to-cart-large {
    width: 100%;
    padding: 1.2rem;
    background-color: var(--dark-brown);
    color: var(--biscuit);
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition);
}

.add-to-cart-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(74, 44, 42, 0.2);
}

.add-to-cart-large.added {
    background-color: #4CAF50;
}

@media (max-width: 768px) {
    .details-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1rem;
    }
    
    .details-title {
        font-size: 1.8rem;
    }
    
    .details-features {
        grid-template-columns: repeat(3, 1fr);
        font-size: 0.75rem;
    }
}

/* Payment Options */
.payment-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem;
    border: 2px solid var(--light-biscuit);
    border-radius: 12px;
    cursor: pointer;
    transition: all var(--transition);
}

.payment-option:has(input:checked) {
    border-color: var(--dark-brown);
    background-color: rgba(74, 44, 42, 0.05);
}

.payment-option.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background-color: #f5f5f5;
}

.option-content {
    display: flex;
    flex-direction: column;
}

.option-title {
    font-weight: 700;
    color: var(--dark-brown);
}

.option-desc {
    font-size: 0.85rem;
    color: #666;
}

.payment-note {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.5rem;
    padding: 1rem;
    background: #fdf6f5;
    border-radius: 8px;
    border-left: 4px solid var(--dark-brown);
}

#utr-number {
    font-family: monospace;
    letter-spacing: 1px;
}

.upi-pay-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 15px;
    border: 1px dashed #ccc;
}

.upi-pay-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    padding: 1rem;
    background: white;
    border: 2px solid #4a2c2a;
    border-radius: 12px;
    color: #4a2c2a;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.upi-pay-btn:hover {
    background: #4a2c2a;
    color: white;
}

.qr-code-container {
    text-align: center;
}

.qr-code-container p {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.payment-qr-img {
    width: 200px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.merchant-name {
    font-weight: 700;
    font-size: 0.9rem;
    margin-top: 0.5rem !important;
    color: #333;
}

/* Mobile Sticky CTA */
@media (max-width: 768px) {
    .product-details-view {
        padding-bottom: 100px;
    }

    .details-actions {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: white;
        padding: 1rem 1.5rem;
        box-shadow: 0 -10px 25px rgba(0,0,0,0.1);
        z-index: 1000;
    }

    .add-to-cart-large {
        border-radius: 50px;
        box-shadow: 0 10px 20px rgba(74, 44, 42, 0.3);
    }
}

/* Ad Section */
.ad-section {
    padding: 1rem 1.5rem;
    max-width: 900px;
    margin: 1.5rem auto;
}

.video-ad-wrapper {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    cursor: pointer;
    background: #000;
}

.ad-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-ad-wrapper:hover .ad-media {
    transform: scale(1.05);
    opacity: 1;
}

.ad-overlay-content {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 70%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 3rem;
    color: white;
    z-index: 2;
}

.ad-badges {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
    flex-wrap: wrap;
}

.premium-tag {
    background: #E67E22;
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.3);
}

.premium-tag.india-delivery {
    background: #27AE60;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
}

.ad-text-content h2 {
    font-size: 3rem;
    margin-bottom: 0.8rem;
    font-weight: 900;
    letter-spacing: -1px;
    line-height: 1.1;
}

.ad-text-content p {
    font-size: 1.15rem;
    max-width: 650px;
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.ad-features {
    display: flex;
    gap: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
}

.feature-item svg {
    stroke: #E67E22;
}


/* ===== New Arrivals - Big Cards (2-column) ===== */
.featured-arrivals-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem;
}

.product-card-large .product-image {
    aspect-ratio: 4/5;
}

.product-card-large .product-title {
    font-size: 1.15rem;
}

.product-card-large .product-price {
    font-size: 1.25rem;
}

/* ===== Curated for Excellence - Compact side-by-side ===== */
.promo-grid-compact {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
}

.promo-banner-small {
    height: 180px !important;
    border-radius: 12px;
    overflow: hidden;
}

.promo-banner-small .promo-overlay h3 {
    font-size: 0.9rem !important;
    margin-bottom: 0.2rem;
}

.promo-banner-small .promo-overlay p {
    display: none;
}

.promo-banner-small .promo-btn {
    padding: 0.35rem 0.8rem !important;
    font-size: 0.72rem !important;
    margin-top: 0.4rem;
}

@media (max-width: 768px) {
    .featured-arrivals-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.8rem;
    }

    .promo-grid-compact {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.4rem;
    }

    .promo-banner-small {
        height: 110px !important;
    }

    .promo-banner-small .promo-overlay h3 {
        font-size: 0.7rem !important;
    }
}

/* Category Tabs for Bouquets Page */
.category-tabs-container {
    overflow-x: auto;
    padding: 1rem 0;
    margin: 0 -1rem;
    scrollbar-width: none;
}
.category-tabs-container::-webkit-scrollbar {
    display: none;
}
.category-tabs {
    display: flex;
    gap: 1rem;
    padding: 0 1rem;
}
.category-tab {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}
.category-tab:active {
    transform: scale(0.95);
}
.tab-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--brown);
    background: var(--cream);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.tab-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.category-tab span {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--brown);
    text-align: center;
    max-width: 80px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.category-card-soon {
    background: #e6a817; /* Harmonious high-contrast gold label */
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 12px;
    margin-top: 8px;
    letter-spacing: 0.5px;
    display: inline-block;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Gallery Slider Styles */
.details-gallery-slider::-webkit-scrollbar {
    display: none !important;
}
.details-gallery-slider {
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
}

/* Secure Multi-Step Checkout Modal Custom Styles */
.step-indicator {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.step-indicator.active {
    transform: scale(1.15);
}

.payment-card {
    border-color: #e5e3dd;
    transition: all 0.3s ease;
}
.payment-card.active {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(62, 39, 35, 0.08) !important;
}

.upi-app-btn {
    transition: all 0.2s ease;
}
.upi-app-btn:hover {
    background: #f1f3f5 !important;
    border-color: var(--dark-brown) !important;
    transform: translateY(-1px);
}
.upi-app-btn:active {
    transform: scale(0.96);
}

.form-section-card input:focus {
    border-color: var(--dark-brown) !important;
    box-shadow: 0 0 0 3px rgba(62, 39, 35, 0.1);
}

.payment-card-details {
    animation: slideDown 0.3s ease-out forwards;
}

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