/*
 * KALYANI SAREES - Premium Luxury Stylesheet
 * Brand Colors: Red (#FE131C), Gold (#D4AF37), White (#FFFFFF), Dark (#222222)
 * Fonts: Headings - Playfair Display, Body - Poppins
 */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Poppins:wght@300;400;500;600;700&display=swap');

* {
    box-sizing: border-box;
    max-width: 100%;
}

html, body {
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
}

:root {
    --primary-red: #FE131C;
    --primary-red-hover: #D40F16;
    --gold-accent: #D4AF37;
    --gold-hover: #bda02b;
    --dark-text: #222222;
    --muted-text: #777777;
    --light-bg: #FCF9F6;
    --white: #FFFFFF;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.06);
    --shadow-lg: 0 16px 36px rgba(254, 19, 28, 0.08);
    --transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-text);
    background-color: var(--white);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6, .heading-font {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    letter-spacing: 0.5px;
}

a {
    color: var(--primary-red);
    text-decoration: none;
    transition: var(--transition);
}
a:hover {
    color: var(--primary-red-hover);
}

/* TOP ANNOUNCEMENT BAR */
.announcement-bar {
    background-color: var(--dark-text);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 1px;
    padding: 8px 0;
    text-transform: uppercase;
}

/* LUXURY HEADER */
.main-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    position: sticky;
    top: 0;
    z-index: 1020;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.brand-logo {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--primary-red) !important;
    letter-spacing: 1.5px;
    text-shadow: 1px 1px 0px rgba(212, 175, 55, 0.2);
}
.brand-logo span {
    color: var(--gold-accent);
}

/* COOL LOGO HOVER ANIMATION FOR TRIAL */
.brand-logo img {
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform-origin: center;
}
.brand-logo:hover img {
    transform: scale(1.08) rotate(-1.5deg);
    filter: drop-shadow(0 4px 12px rgba(254, 19, 28, 0.6)) drop-shadow(0 0 5px rgba(212, 175, 55, 0.5)) !important;
}

.nav-link {
    color: var(--dark-text) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 10px 15px !important;
    letter-spacing: 0.5px;
    transition: var(--transition);
    position: relative;
}
.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 5px;
    left: 15px;
    background-color: var(--gold-accent);
    transition: var(--transition);
}
.nav-link:hover {
    color: var(--primary-red) !important;
}
.nav-link:hover:after {
    width: calc(100% - 30px);
}

.header-icons a {
    color: var(--dark-text);
    position: relative;
    font-size: 1.25rem;
    margin-left: 20px;
    transition: var(--transition);
}
.header-icons a:hover {
    color: var(--primary-red);
    transform: translateY(-2px);
}
.badge-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background-color: var(--primary-red);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 50%;
    border: 2px solid var(--white);
}

/* SEARCH WIDGET */
.search-overlay {
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100px;
    background: rgba(255,255,255,0.98);
    box-shadow: var(--shadow-md);
    z-index: 1030;
    transition: var(--transition);
    display: flex;
    align-items: center;
    padding: 0 30px;
}
.search-overlay.active {
    top: 0;
}
.search-input {
    border: none;
    border-bottom: 2px solid var(--gold-accent);
    font-size: 1.4rem;
    width: 100%;
    font-family: 'Playfair Display', serif;
    outline: none;
    padding: 10px 0;
    background: transparent;
}

/* SWIPEABLE HERO CAROUSEL */
/* SWIPEABLE HERO CAROUSEL */
.hero-slider {
    position: relative;
    width: 100%;
    height: auto !important;
    min-height: auto;
    background-color: #171717;
    overflow: hidden;
}
.hero-slider .swiper-wrapper {
    height: auto !important;
}
.hero-slider .swiper-slide {
    position: relative;
    width: 100%;
    height: auto !important;
    overflow: hidden;
}
.hero-banner-img {
    position: relative;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    display: block;
    z-index: 1;
}
.hero-overlay {
    position: relative;
    z-index: 3;
    background: linear-gradient(to right, rgba(0,0,0,0.6) 30%, rgba(0,0,0,0.2) 100%);
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
}
.hero-caption {
    color: var(--white);
    max-width: 600px;
    padding: 0 20px;
    position: relative;
    z-index: 4;
}
.hero-caption h2 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}
.hero-caption p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

/* PREMIUM BUTTONS */
.btn-luxury {
    background-color: var(--primary-red);
    color: var(--white);
    border: 2px solid var(--primary-red);
    font-weight: 500;
    letter-spacing: 1px;
    padding: 12px 35px;
    border-radius: 40px;
    text-transform: uppercase;
    font-size: 0.85rem;
    box-shadow: 0 4px 15px rgba(254, 19, 28, 0.35);
    transition: var(--transition);
}
.btn-luxury:hover {
    background-color: var(--white);
    color: var(--primary-red);
    border-color: var(--primary-red);
    box-shadow: 0 6px 20px rgba(254, 19, 28, 0.2);
    transform: translateY(-2px);
}
.btn-luxury-gold {
    background-color: var(--gold-accent);
    color: var(--white);
    border: 2px solid var(--gold-accent);
    font-weight: 500;
    letter-spacing: 1px;
    padding: 12px 35px;
    border-radius: 40px;
    text-transform: uppercase;
    font-size: 0.85rem;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.35);
    transition: var(--transition);
}
.btn-luxury-gold:hover {
    background-color: var(--white);
    color: var(--gold-accent);
    border-color: var(--gold-accent);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.2);
    transform: translateY(-2px);
}
.btn-luxury-outline {
    background-color: transparent;
    color: var(--primary-red);
    border: 2px solid var(--primary-red);
    font-weight: 500;
    letter-spacing: 1px;
    padding: 12px 35px;
    border-radius: 40px;
    text-transform: uppercase;
    font-size: 0.85rem;
    transition: var(--transition);
}
.btn-luxury-outline:hover {
    background-color: var(--primary-red);
    color: var(--white);
    transform: translateY(-2px);
}

/* CATEGORY CIRCLE SLIDER */
.category-circle-card {
    text-align: center;
    margin-bottom: 20px;
    transition: var(--transition);
}
.category-circle-card:hover {
    transform: translateY(-5px);
}
.category-image-wrap {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    margin: 0 auto 12px;
    overflow: hidden;
    border: 3px solid var(--white);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: var(--transition);
}
.category-circle-card:hover .category-image-wrap {
    border-color: var(--gold-accent);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}
.category-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.category-circle-card:hover .category-image-wrap img {
    transform: scale(1.1);
}
.category-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark-text);
}

/* PREMIUM PRODUCT CARD */
.product-card {
    background-color: var(--white);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.1);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.product-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.3);
}
.product-image-container {
    height: 380px;
    position: relative;
    overflow: hidden;
    background-color: #f7f7f7;
}
.product-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.product-card:hover .product-image-container img {
    transform: scale(1.08);
}
.badge-discount {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--gold-accent);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(212,175,55,0.3);
    z-index: 5;
}
.badge-stock {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #dc3545;
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    z-index: 5;
}
.wishlist-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--white);
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted-text);
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
    transition: var(--transition);
    cursor: pointer;
    z-index: 10;
}
.wishlist-btn:hover {
    color: var(--primary-red);
    transform: scale(1.1);
}
.wishlist-btn.active {
    color: var(--primary-red);
}
.product-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.product-category-lbl {
    font-size: 0.75rem;
    color: var(--gold-accent);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    margin-bottom: 5px;
}
.product-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 10px;
    height: 48px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-title a {
    color: #111111 !important;
    text-decoration: none;
    transition: var(--transition);
}
.product-title a:hover {
    color: var(--primary-red) !important;
}
.product-price-box {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}
.price-actual {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-red);
    white-space: nowrap !important;
}
.price-old {
    font-size: 0.95rem;
    color: var(--muted-text);
    text-decoration: line-through;
    white-space: nowrap !important;
}
.product-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: auto;
}
.product-actions .btn {
    font-size: 0.75rem;
    padding: 8px 12px;
    border-radius: 20px;
    font-weight: 500;
}

/* FESTIVE PROMOTIONS BANNER */
.festive-banner {
    background-color: var(--primary-red);
    background-image: radial-gradient(rgba(212, 175, 55, 0.15) 1px, transparent 0);
    background-size: 24px 24px;
    color: var(--white);
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--gold-accent);
}
.festive-content {
    padding: 60px;
    position: relative;
    z-index: 5;
}
.festive-content h3 {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

/* WHATSAPP FLOATING BUTTON */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #25D366;
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse-whatsapp 2s infinite;
    cursor: pointer;
    transition: var(--transition);
}
.whatsapp-float:hover {
    transform: scale(1.1) rotate(10deg);
    color: var(--white);
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* MOBILE STICKY NAVIGATION */
.mobile-sticky-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.05);
    z-index: 1050;
    border-top: 1.5px solid rgba(212, 175, 55, 0.35);
    height: 68px;
}
.mobile-sticky-nav-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 100%;
    padding: 6px 0 calc(6px + env(safe-area-inset-bottom));
}
.mobile-nav-item {
    color: var(--muted-text);
    text-align: center;
    font-size: 0.72rem;
    font-weight: 500;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    text-decoration: none;
    transition: var(--transition);
}
.mobile-nav-icon-wrapper {
    position: relative;
    display: inline-block;
    padding: 2px;
}
.mobile-nav-item i {
    font-size: 1.35rem;
    display: block;
    transition: transform 0.2s ease;
}
.mobile-nav-item:hover, .mobile-nav-item.active {
    color: var(--primary-red);
    font-weight: 600;
}
.mobile-nav-item.active i {
    transform: scale(1.1);
}
.mobile-nav-item.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    width: 4px;
    height: 4px;
    background-color: var(--gold-accent);
    border-radius: 50%;
    box-shadow: 0 0 4px var(--gold-accent);
}
.mobile-nav-item .badge-count {
    position: absolute;
    top: -5px;
    right: -8px;
    background-color: var(--primary-red);
    color: var(--white);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 5px;
    border-radius: 50%;
    border: 1.5px solid var(--white);
    z-index: 2;
    min-width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* REVIEWS CAROUSEL */
.review-card {
    background: var(--white);
    border-radius: 16px;
    padding: 30px;
    border: 1px solid rgba(212, 175, 55, 0.15);
    box-shadow: var(--shadow-sm);
    height: 100%;
}
.stars-rating {
    color: var(--gold-accent);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

/* LUXURY FOOTER */
.luxury-footer {
    background-color: #171717;
    color: rgba(255,255,255,0.7);
    padding: 80px 0 40px;
    border-top: 4px solid var(--gold-accent);
}
.footer-title {
    color: var(--white);
    font-size: 1.15rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}
.footer-title:after {
    content: '';
    position: absolute;
    width: 35px;
    height: 2px;
    background-color: var(--gold-accent);
    bottom: 0;
    left: 0;
}
.footer-links p {
    margin-bottom: 12px;
}
.footer-links a {
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}
.footer-links a:hover {
    color: var(--gold-accent);
    padding-left: 5px;
}

/* NEWSLETTER INPUT */
.newsletter-form .form-control {
    background-color: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 30px;
    color: var(--white);
    padding: 12px 20px;
}
.newsletter-form .form-control:focus {
    background-color: rgba(255,255,255,0.1);
    border-color: var(--gold-accent);
    box-shadow: none;
}

/* PRODUCT DETAILS PAGE */
.product-gallery-container {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.15);
    box-shadow: var(--shadow-sm);
}
.product-gallery-main {
    height: 480px;
    background-color: #f7f7f7;
}
.product-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}
.product-gallery-thumbs {
    overflow-x: auto;
    width: 100%;
    scrollbar-width: none;
}
.product-gallery-thumbs::-webkit-scrollbar {
    display: none;
}
.thumb-preview {
    flex-shrink: 0;
    transition: var(--transition);
}
.thumb-preview:hover {
    transform: translateY(-2px);
    border-color: var(--gold-accent) !important;
}
.thumb-preview.active {
    border-color: var(--gold-accent) !important;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.35) !important;
}

.specs-table {
    margin-top: 20px;
}
.specs-table th {
    background-color: #f8f9fa;
    color: var(--dark-text);
    font-weight: 600;
    width: 35%;
}

/* MEDIA QUERIES FOR MOBILE OPTIMIZATIONS */
@media (max-width: 768px) {
    body {
        padding-bottom: 70px; /* Space for sticky mobile nav */
    }
    .hero-slider {
        height: auto !important;
        min-height: auto !important;
    }
    .hero-slider .swiper-slide {
        height: auto !important;
    }
    .hero-caption h2 {
        font-size: 2.2rem;
    }
    .festive-content {
        padding: 30px;
    }
    .festive-content h3 {
        font-size: 1.8rem;
    }
    
    /* MOBILE 2 PRODUCTS PER ROW RULES */
    .mobile-2-col {
        display: flex;
        flex-wrap: wrap;
        margin-right: -6px;
        margin-left: -6px;
    }
    .mobile-2-col > div:not(.col-12) {
        padding-right: 6px;
        padding-left: 6px;
        flex: 0 0 50%;
        max-width: 50%;
    }
    .product-card {
        margin-bottom: 12px;
        border-radius: 12px;
        height: 100%;
        display: flex;
        flex-direction: column;
    }
    .product-image-container {
        height: 200px; /* Slimmer for compact visual balance */
        border-radius: 12px 12px 0 0;
    }
    .product-info {
        padding: 10px;
        display: flex;
        flex-direction: column;
        flex-grow: 1;
    }
    .product-title {
        font-size: 0.8rem;
        height: 36px;
        line-height: 1.25;
        margin-bottom: 4px;
        font-weight: 500;
    }
    .product-price-box {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        margin-bottom: 10px;
        gap: 6px;
    }
    .price-actual {
        font-size: 0.9rem;
        font-weight: 700;
    }
    .price-old {
        font-size: 0.75rem;
    }
    .product-category-lbl {
        font-size: 0.6rem;
        margin-bottom: 1px;
    }
    .product-actions {
        grid-template-columns: 1fr !important;
        gap: 0px;
    }
    .product-actions .add-to-cart-btn {
        display: none !important; /* Hide Add button in mobile grids */
    }
    .product-actions .btn {
        width: 100%;
        padding: 8px 12px;
        font-size: 0.75rem;
        border-radius: 30px;
        background-color: var(--primary-red);
        color: var(--white);
        border: none;
        text-transform: uppercase;
        font-weight: 600;
        box-shadow: 0 3px 8px rgba(254, 19, 28, 0.2);
    }
    .review-card {
        padding: 20px 16px;
    }
    
    /* SHOW MOBILE NAVIGATION */
    .mobile-sticky-nav {
        display: block;
    }
    
    /* ADJUST WHATSAPP FOR STICKY FOOTER */
    .whatsapp-float {
        bottom: 80px;
        right: 15px;
        width: 50px;
        height: 50px;
        font-size: 26px;
    }
    
    .product-gallery-main {
        height: 350px;
    }
}

/* RESPONSIVE SOCIAL GRID (INSTAGRAM) */
.instagram-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}
.instagram-grid img {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    transition: var(--transition);
}
.instagram-grid img:hover {
    transform: scale(1.04);
    box-shadow: var(--shadow-md);
}
@media (max-width: 768px) {
    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

/* SKELETON LOADER ANIMATION */
.skeleton-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #f2f2f2 25%, #e6e6e6 50%, #f2f2f2 75%);
    background-size: 200% 100%;
    animation: loading-shimmer 1.5s infinite;
    z-index: 2;
}

@keyframes loading-shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* BODY OVERFLOW LOCK */
body.overflow-hidden {
    overflow: hidden !important;
}

/* MOBILE DRAWER / SIDEBAR MENU & OVERLAY */
.mobile-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    z-index: 1040;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.mobile-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    max-width: 85%;
    height: 100%;
    background: var(--white);
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
    z-index: 1050;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-left: 3px solid var(--gold-accent);
}

.mobile-drawer.active {
    right: 0;
}

.mobile-drawer-header {
    padding: 20px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-drawer-header .brand-logo {
    font-size: 1.5rem;
}

.mobile-drawer-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}

.mobile-drawer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-drawer-nav > li {
    margin-bottom: 18px;
    border-bottom: 1px solid rgba(0,0,0,0.03);
    padding-bottom: 10px;
}

.mobile-drawer-nav > li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.mobile-drawer-nav > li > a {
    color: var(--dark-text);
    font-size: 1.05rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    padding: 6px 0;
    transition: var(--transition);
}

.mobile-drawer-nav > li > a:hover {
    color: var(--primary-red);
    padding-left: 5px;
}

/* Accordion categories styling */
.mobile-drawer-nav .has-submenu .submenu-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    width: 100%;
    color: var(--dark-text);
    font-size: 1.05rem;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
}

.mobile-drawer-submenu {
    list-style: none;
    padding-left: 24px;
    margin-top: 10px;
    margin-bottom: 10px;
    display: none;
    border-left: 1px dashed var(--gold-accent);
}

.mobile-drawer-submenu li {
    margin-bottom: 10px;
}

.mobile-drawer-submenu li a {
    color: var(--muted-text);
    font-size: 0.95rem;
    font-weight: 400;
    display: block;
    padding: 4px 0;
    text-decoration: none;
}

.mobile-drawer-submenu li a:hover {
    color: var(--primary-red);
    padding-left: 5px;
}

.submenu-toggle i.bi-chevron-down {
    transition: transform 0.3s ease;
}

.submenu-toggle.active i.bi-chevron-down {
    transform: rotate(180deg);
}

/* PREMIUM PRODUCT PAGE POLISH */
.product-details-panel {
    display: flex;
    flex-direction: column;
}

@media (max-width: 768px) {
    .product-details-panel {
        padding-bottom: 50px !important; /* Elegant scroll spacing above sticky bottom bar */
    }
}

.product-pricing-card {
    background-color: var(--light-bg) !important;
    border: 1px solid rgba(212, 175, 55, 0.2) !important;
    border-radius: 16px !important;
    padding: 24px !important;
    margin-bottom: 24px !important;
    box-shadow: var(--shadow-sm);
}

.product-spec-item {
    font-size: 0.9rem !important;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    color: var(--dark-text);
}

.product-spec-item i {
    color: var(--gold-accent) !important;
    font-size: 1.1rem;
    margin-right: 10px;
    display: inline-flex;
    align-items: center;
}

/* Premium Inline Quantity Selector */
.qty-selector {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 30px;
    padding: 3px;
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
}

.qty-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background-color: var(--light-bg);
    color: var(--dark-text);
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.qty-btn:hover {
    background-color: var(--primary-red);
    color: var(--white);
}

.qty-input {
    width: 45px;
    border: none;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 600;
    outline: none;
    background: transparent;
    -moz-appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Premium Product Page Buttons scaling */
.product-actions-group {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-premium-action {
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    padding: 12px 20px !important;
    border-radius: 30px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-transform: uppercase !important;
    transition: var(--transition) !important;
    white-space: nowrap !important;
}

.btn-whatsapp-premium {
    background-color: #25D366 !important;
    border-color: #25D366 !important;
    color: var(--white) !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    padding: 12px 20px !important;
    border-radius: 30px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-transform: uppercase !important;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2) !important;
    transition: var(--transition) !important;
}

.btn-whatsapp-premium:hover {
    background-color: #20ba5a !important;
    border-color: #20ba5a !important;
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.3) !important;
    transform: translateY(-2px) !important;
}

@media (max-width: 768px) {
    .btn-premium-action {
        font-size: 0.78rem !important;
        padding: 10px 10px !important;
    }
    .btn-whatsapp-premium {
        font-size: 0.8rem !important;
        padding: 10px 15px !important;
    }
}

/* PREMIUM GALLERY LIGHTBOX MODAL */
.luxury-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.luxury-lightbox.active {
    opacity: 1;
    visibility: visible;
}
.luxury-lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
    transform: scale(0.9);
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    overflow: hidden;
}
.luxury-lightbox.active .luxury-lightbox-content {
    transform: scale(1);
}
.luxury-lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    display: block;
}
.luxury-lightbox-close {
    position: absolute;
    top: 20px;
    right: 25px;
    color: var(--gold-accent);
    font-size: 2.8rem;
    font-weight: 300;
    cursor: pointer;
    transition: var(--transition);
    z-index: 2010;
}
.luxury-lightbox-close:hover {
    color: var(--white);
    transform: rotate(90deg);
}
.luxury-lightbox-caption {
    background: rgba(23, 23, 23, 0.95);
    color: var(--white);
    text-align: center;
    padding: 15px;
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    letter-spacing: 1px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

/* RESPONSIVE FULL WIDTH PRODUCT PAGE OPTIMIZATIONS */
.product-wrapper {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

.product-page-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
}

.product-page-title {
    width: 100% !important;
    max-width: 100% !important;
    line-height: 1.2 !important;
}

.product-pricing-card {
    width: 100% !important;
    max-width: 100% !important;
}

.product-specs-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 14px !important;
    width: 100% !important;
    max-width: 100% !important;
}

.product-qty-stock-container {
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 12px !important;
    flex-wrap: nowrap !important;
}

/* OVERRIDE NARROW CONSTRAINTS GLOBALLY IN PRODUCT VIEWPORTS */
@media (max-width: 768px) {
    .product-page-container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
        box-sizing: border-box !important;
    }
    
    .product-wrapper p,
    .product-wrapper div,
    .product-wrapper section,
    .product-wrapper table,
    .product-wrapper .card,
    .product-wrapper form {
        max-width: 100% !important;
        min-width: 0 !important;
    }
    
    /* Remove any fixed or limited widths */
    .max-width-600,
    .max-width-500,
    .product-details-panel,
    .product-pricing-card,
    .product-actions-group,
    .specs-table {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }
}

/* PREMIUM FLOATING HERO SLIDER CARD */
.hero-slider-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .hero-slider-container {
        padding-left: 16px;
        padding-right: 16px;
        padding-top: 12px;
        padding-bottom: 0;
    }
}

.hero-slider {
    border-radius: 20px !important;
    overflow: hidden !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06) !important;
    border: 1px solid rgba(212, 175, 55, 0.15) !important;
    background-color: #171717;
}

.hero-slider .swiper-slide,
.hero-slider .swiper-slide img,
.hero-slider .swiper-slide picture {
    border-radius: 20px !important;
    overflow: hidden !important;
}

/* GLOBAL MOBILE VIEWPORT OVERFLOW & RESPONSIVENESS SYSTEM */
html, body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

* {
    box-sizing: border-box !important;
}

@media (max-width: 768px) {
    /* Prevent Bootstrap negative margin overflows globally on mobile screens */
    .container, .container-fluid, .row {
        max-width: 100% !important;
        width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 8px !important;
        padding-right: 8px !important;
        box-sizing: border-box !important;
    }
    
    .row > [class*="col-"] {
        padding-left: 6px !important;
        padding-right: 6px !important;
        box-sizing: border-box !important;
    }
    
    /* Auto-adjust images & containers on extremely small mobile screens */
    img, table, div, p, section, header, footer {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* Override any residual desktop limits */
    .max-width-600, .max-width-500 {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* Lock equal height and spacing on mobile product grids */
    .mobile-2-col {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
    }
    
    .product-card {
        margin-bottom: 12px !important;
        border-radius: 12px !important;
        height: 100% !important;
    }
}

/* MODERN SCROLL REVEAL SCROLL ANIMATIONS FOR TRIAL */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1), transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform, opacity;
}
.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}
