/* =====================================
   1. GLOBAL STYLES & RESETS
===================================== */
body {
    margin: 0;
    font-family: 'Lato', sans-serif;
    background-color: #fdfbf7; 
    background-image: linear-gradient(to bottom, #fdfbf7, #f7f3e8);
    color: #222;
    min-height: 100vh;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
img { display: block; max-width: 100%; }
.container { max-width: 1200px; margin: auto; padding: 30px; }

/* =====================================
   2. HEADER & NAVIGATION
===================================== */
.top-bar {
    background-color: #000; color: #b88e2f; text-align: center;
    padding: 8px 0; font-size: 12px; letter-spacing: 1px;
    text-transform: uppercase; border-bottom: 1px solid #222;
}
.top-bar p { margin: 0; }

.lux-header {
    background: #0a0a0a; padding: 0; position: sticky;
    top: 0; z-index: 1000; border-bottom: 1px solid #1a1a1a;
}

.header-inner {
    max-width: 1400px; margin: 0 auto; padding: 20px 40px;
    display: flex; justify-content: space-between; align-items: center;
    position: static; /* CRITICAL FIX 1: Destroys the container cage */
}

/* GRID LAYOUT FOR PERFECT DESKTOP CENTERING */
@media (min-width: 769px) {
    .header-inner {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
    }
    .logo { justify-self: start; text-align: left; }
    .nav-links { justify-self: center; }
    .header-actions { justify-self: end; }
}

.logo {
    display: flex; flex-direction: column; color: #fff;
    font-family: 'Cinzel', serif; font-size: 24px; line-height: 1;
    letter-spacing: 1px;
}
.logo span {
    font-size: 10px; color: #b88e2f; letter-spacing: 3px;
    margin-top: 5px; text-transform: uppercase; font-family: 'Lato', sans-serif;
}

.nav-links { display: flex; gap: 40px; align-items: center; }

.nav-item, .dropdown-trigger {
    color: #ccc; font-size: 13px; text-transform: uppercase;
    letter-spacing: 1px; transition: 0.3s; cursor: pointer;
    padding: 10px 0; 
    /* CRITICAL FIX 2: Removed 'position: relative;' to let dropdown escape */
}
.nav-item:hover, .dropdown-trigger:hover { color: #b88e2f; }

.dropdown-parent { position: static; } /* CRITICAL FIX 3 */

.header-actions { display: flex; align-items: center; gap: 20px; }
.icon-link { color: #fff; font-size: 18px; position: relative; }
.cart-count {
    font-size: 10px; background: #D4AF37; color: #000;
    border-radius: 50%; padding: 2px 5px; position: absolute;
    top: -8px; right: -8px;
}

/* --- WIDE STRIP MEGA MENU --- */
.mega-menu {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    
    top: 100%; 
    left: 0;
    width: 100%; /* CRITICAL FIX 4: Flawlessly spans edge-to-edge */
    
    background: #ffffff;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    padding: 20px 0; 
    z-index: 1000;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.dropdown-parent:hover .mega-menu {
    visibility: visible;
    opacity: 1;
}

.mega-content {
    display: flex; justify-content: center; gap: 80px;
    max-width: 1200px; margin: 0 auto;
}

.mega-col { text-align: left; min-width: 200px; }
.mega-col h4 {
    font-family: 'Italiana', serif; font-size: 1.4rem;
    color: #D4AF37; margin-bottom: 20px; letter-spacing: 1px;
    border-bottom: 1px solid #eee; padding-bottom: 10px;
}
.mega-col ul { list-style: none; padding: 0; }
.mega-col ul li { margin-bottom: 12px; }
.mega-col ul li a {
    text-decoration: none; color: #555; font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem; font-weight: 500; transition: color 0.2s; display: block;
}
.mega-col ul li a:hover { color: #000; transform: translateX(5px); }

/* =====================================
   3. HERO SECTION
===================================== */
.hero-luxury {
    position: relative; height: 85vh; min-height: 600px; width: 100%;
    overflow: hidden; display: flex; align-items: center; justify-content: center;
    background: #000;
}
.hero-bg-wrapper { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.hero-zoom-img { width: 100%; height: 100%; object-fit: cover; animation: slowZoom 20s infinite alternate; }
.hero-overlay-gradient {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.8) 100%);
}
@keyframes slowZoom { 0% { transform: scale(1); } 100% { transform: scale(1.15); } }

.hero-content-luxury {
    position: relative; z-index: 5; text-align: center; max-width: 900px;
    padding: 0 20px; color: #fff; margin-bottom: 60px;
}
.text-gold { color: #D4AF37; font-style: italic; font-family: 'Playfair Display', serif; }
.hero-subtitle-anim {
    display: block; font-size: 14px; letter-spacing: 4px; text-transform: uppercase;
    color: #D4AF37; margin-bottom: 15px; opacity: 0; animation: fadeInUp 1s ease forwards 0.5s;
}
.hero-title-anim {
    font-family: 'Playfair Display', serif; font-size: 4rem; line-height: 1.1;
    margin: 0 0 20px; opacity: 0; animation: fadeInUp 1s ease forwards 0.8s;
}
.hero-desc-anim {
    font-size: 1.2rem; color: #ddd; margin: 0 auto 40px; max-width: 600px;
    opacity: 0; animation: fadeInUp 1s ease forwards 1.1s;
}
.hero-btn-anim { opacity: 0; animation: fadeInUp 1s ease forwards 1.4s; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

.btn-luxury-hero {
    padding: 18px 45px; background: transparent; border: 1px solid #D4AF37;
    color: #D4AF37; font-size: 14px; text-transform: uppercase; letter-spacing: 2px;
    font-weight: 600; transition: 0.4s; display: inline-block;
}
.btn-luxury-hero:hover { background: #D4AF37; color: #000; box-shadow: 0 0 20px rgba(212, 175, 55, 0.4); }

.hero-flash-ticker {
    position: absolute; bottom: 0; left: 0; width: 100%; height: 50px;
    background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(5px);
    border-top: 1px solid rgba(212, 175, 55, 0.3); z-index: 20;
    display: flex; align-items: center; overflow: hidden;
}
.ticker-track { display: flex; animation: scrollTicker 30s linear infinite; width: max-content; }
.ticker-item {
    color: #fff; padding: 0 40px; font-size: 12px; text-transform: uppercase;
    letter-spacing: 2px; display: flex; align-items: center; gap: 10px;
    white-space: nowrap; border-right: 1px solid rgba(255,255,255,0.1);
}
.ticker-item i { color: #D4AF37; font-size: 14px; }
@keyframes scrollTicker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* =====================================
   4. GLOBAL PRODUCT CARDS (Slider & Grid)
===================================== */
.card-img-box {
    position: relative;
    width: 100%;
    height: 300px; /* Fixed Height for consistency */
    overflow: hidden;
    background: #f4f4f4;
    border-radius: 20px;
}

/* CRITICAL: THIS PREVENTS "FED-UP" IMAGES EVERYWHERE */
.card-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures aspect ratio is kept */
    object-position: center;
    display: block;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

/* Image Swap Logic */
.img-front { position: relative; z-index: 2; opacity: 1; }
.img-back { position: absolute; top: 0; left: 0; z-index: 1; opacity: 0; }

/* Default Hover Behavior */
.featured-card:hover .img-front { opacity: 0; }
.featured-card:hover .img-back { opacity: 1; z-index: 2; }

/* Quick View Button */
.btn-quick-view {
    position: absolute; bottom: -50px; left: 10%; width: 80%;
    background: #000; color: #fff; border: none; padding: 12px 0;
    font-size: 11px; text-transform: uppercase; cursor: pointer;
    z-index: 100; transition: 0.3s; opacity: 0;
}
.featured-card:hover .btn-quick-view { bottom: 15px; opacity: 1; }

.featured-card h3 { font-size: 14px; margin: 10px 0 5px; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; }
.featured-card .price { font-size: 13px; margin: 0; font-weight: bold; color: #b88e2f; }

/* =====================================
   5. HOME PAGE SPECIFIC (Slider)
===================================== */
.featured-section { width: 100%; overflow: hidden; padding: 20px 0; max-width: 1600px; margin: 0 auto; }
.featured-wrapper { width: 96%; margin: 0 auto; overflow: hidden; }
.featured-track { display: flex; gap: 20px; padding: 40px 0; }

.featured-card {
    flex: 0 0 calc((100% - (20px * 4)) / 5);
    background: #fff; border-radius: 20px; padding: 10px;
    text-align: center; box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    transition: transform 0.5s ease, opacity 0.5s ease;
    opacity: 0.5; transform: scale(0.9);
    display: flex; flex-direction: column;
}

/* Center Highlight in Slider */
.featured-card.is-center {
    opacity: 1; transform: scale(1.1); z-index: 10;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
    border: 1px solid #D4AF37;
}

/* Category Grid on Home */
.category-grid { max-width: 1200px; margin: 40px auto 80px; padding: 0 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 30px; }
.category-card { position: relative; height: 350px; border-radius: 20px; overflow: hidden; display: block; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.cat-img-wrapper { width: 100%; height: 100%; overflow: hidden; }
.cat-img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.category-card:hover .cat-img-wrapper img { transform: scale(1.1); }
.cat-overlay-content { position: absolute; bottom: 0; left: 0; width: 100%; padding: 30px 20px; background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0)); color: #fff; z-index: 2; transform: translateY(10px); transition: 0.4s ease; }
.category-card:hover .cat-overlay-content { transform: translateY(0); background: linear-gradient(to top, rgba(0,0,0,1), rgba(0,0,0,0.1)); }
.cat-overlay-content h3 { font-family: 'Playfair Display', serif; font-size: 1.6rem; margin: 0 0 10px; color: #fff; letter-spacing: 1px; }
.shop-link { font-size: 0.9rem; color: #D4AF37; text-transform: uppercase; letter-spacing: 2px; font-weight: 600; opacity: 0.8; transition: 0.3s; display: inline-flex; align-items: center; gap: 8px; }

/* =====================================
   6. PRODUCTS PAGE (Grid & Controls)
===================================== */
.shop-header { background: #000; color: #fff; padding: 40px 0; margin-bottom: 20px; }
.shop-layout { display: flex; gap: 40px; align-items: flex-start; }

/* Compact Controls (Left Aligned) */
.shop-controls-compact {
    display: flex; justify-content: flex-start; align-items: center;
    gap: 10px; margin-bottom: 25px; padding-left: 0;
}

.search-bar-compact {
    display: flex; align-items: center; background: #fff;
    border: 1px solid #ddd; border-radius: 20px; padding: 0 10px;
    height: 40px; width: 250px; transition: border 0.3s;
}
.search-bar-compact:focus-within { border-color: #D4AF37; }
.search-bar-compact input { border: none; background: transparent; width: 100%; height: 100%; outline: none; font-size: 13px; }
.search-bar-compact button { background: transparent; border: none; cursor: pointer; color: #888; font-size: 14px; }

.select-wrapper-compact { position: relative; height: 40px; }
.select-wrapper-compact select {
    height: 100%; padding: 0 30px 0 15px; border: 1px solid #ddd;
    border-radius: 20px; background: #fff; font-size: 13px;
    outline: none; cursor: pointer; color: #444;
}
.select-wrapper-compact .fa-chevron-down {
    position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
    font-size: 10px; color: #888; pointer-events: none;
}

/* Product Grid Layout */
.products-grid {
    display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-top: 20px;
}

/* Override Slider Styles for Grid Items */
.products-grid .featured-card {
    opacity: 1 !important; transform: none !important;
    flex: auto; height: auto;
}

/* Ensure Grid Images match global non-fed-up style */
.products-grid .card-img-box {
    height: 280px; /* Fixed Height for Grid */
}
.products-grid .card-img-box img {
    opacity: 1 !important; /* Force visibility */
}
.products-grid .img-back { opacity: 0 !important; }
.products-grid .featured-card:hover .img-front { opacity: 0 !important; }
.products-grid .featured-card:hover .img-back { opacity: 1 !important; }
.products-grid .featured-card:hover .card-img-box img { transform: scale(1.08); }

/* =====================================
   7. QUICK VIEW MODAL
===================================== */
.modal-overlay {
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.8); z-index: 10000;
    justify-content: center; align-items: center; backdrop-filter: blur(5px);
}
.modal-content {
    background: #fff; width: 90%; max-width: 800px;
    position: relative; border-radius: 20px; overflow: hidden;
    display: flex; animation: zoomIn 0.3s ease;
}
@keyframes zoomIn { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.close-modal { position: absolute; top: 15px; right: 20px; font-size: 30px; color: #888; cursor: pointer; z-index: 10; }

.modal-body { display: flex; width: 100%; }
.modal-img { width: 50%; background: #f4f4f4; }
.modal-img img { width: 100%; height: 100%; object-fit: cover; }
.modal-info { width: 50%; padding: 40px; text-align: left; display: flex; flex-direction: column; justify-content: center; }
.modal-info h2 { font-family: 'Playfair Display', serif; font-size: 28px; margin: 0 0 10px; }
.qv-price { font-size: 22px; color: #D4AF37; font-weight: bold; margin: 15px 0; }
.qv-buttons { display: flex; gap: 15px; }

.btn-black {
    background: #000; color: #fff; border: 1px solid #000; padding: 12px 25px;
    cursor: pointer; text-transform: uppercase; font-size: 12px; letter-spacing: 1px; transition: 0.3s;
}
.btn-black:hover { background: #333; }

/* =====================================
   8. FOOTER & MOBILE
===================================== */
.lux-footer { background: #050505; color: #999; padding-top: 80px; margin-top: auto; }
.footer-container { max-width: 1200px; margin: 0 auto; padding: 0 40px; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-logo { color: #fff; font-family: 'Cinzel', serif; font-size: 22px; margin-bottom: 20px; }
.footer-col h4 { color: #fff; font-family: 'Playfair Display', serif; font-size: 16px; margin-bottom: 25px; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: #999; font-size: 13px; transition: 0.3s; }
.footer-links a:hover { color: #b88e2f; }
.newsletter-form { display: flex; border-bottom: 1px solid #333; padding-bottom: 5px; margin-bottom: 20px; }
.newsletter-form input { background: transparent; border: none; color: #fff; width: 100%; outline: none; }
.newsletter-form button { background: transparent; border: none; color: #b88e2f; font-weight: bold; cursor: pointer; }
.social-links { display: flex; gap: 15px; }
.social-links i { color: #fff; font-size: 18px; transition: 0.3s; }
.social-links i:hover { color: #b88e2f; }
.footer-bottom { border-top: 1px solid #111; margin-top: 60px; padding: 20px 0; text-align: center; font-size: 12px; }

@keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

/* =====================================
 9.  SINGLE PRODUCT PAGE STYLES
===================================== */
.breadcrumb {
    background: #f9f9f9;
    padding: 15px 0;
    font-size: 13px;
    color: #888;
    margin-bottom: 40px;
}
.breadcrumb a { color: #555; }
.breadcrumb a:hover { color: #D4AF37; }
.breadcrumb span { color: #D4AF37; }

/* Wrapper Layout */
.product-detail-wrapper {
    display: flex;
    gap: 50px;
    align-items: flex-start;
    padding-bottom: 80px;
}

/* --- LEFT: GALLERY --- */
.product-gallery {
    width: 50%;
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    align-items: center; /* Centers the image and thumbnails */
    gap: 20px;
}

.main-image-container {
    width: 240px;               /* 2.5 inches */
    height: 288px;              /* 3.0 inches */
    display: flex;
    align-items: center;        /* Centers image vertically */
    justify-content: center;     /* Centers image horizontally */
    border-radius: 20px;        /* Curved corners */
    background-color: #fdfbf7;  /* White background for empty spaces */
    border: 1px solid #eaeaea; 
    overflow: hidden;           /* Clips anything outside the curve */
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin: 0 auto;             /* Centers the box on the page */
}

/* The Image inside the Frame */
.main-image-container img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain; 
    padding: 10px;              /* Keeps the jewelry from touching the edges */
    transition: transform 0.3s ease;
}

.main-image-box {
    width: 100%;
    height: 244px; /* Fixed height for luxury feel */
    background: #f4f4f4;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 15px;
    border: 1px solid #eee;
}

.main-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Keeps proportions perfect */
    object-position: center;
    cursor: crosshair; /* Suggests zoom ability */
}

/* Thumbnails */
.thumbnail-row {
    display: flex;
    gap: 10px;
    overflow-x: auto;
}

.thumbnail-grid {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.thumb-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 1px solid #ddd;
    cursor: pointer;
    border-radius: 20px;
    transition: 0.3s;
    opacity: 0.7;
}

.thumb-img:hover {
    border-color: #D4AF37;
    opacity: 1;
}

.thumb-item {
    width: 65px;  /* Smaller thumbnails */
    height: 65px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid #ddd;
    transition: all 0.3s ease;
}

.thumb-item.active {
    border: 2px solid #d4af37; /* Gold highlight */
    transform: translateY(-2px);
}

.thumb-item:hover, .thumb-item.active {
    border-color: #d4af37; /* Gold border */
    opacity: 1;
}

/* --- RIGHT: INFO --- */
.product-info {
    width: 50%;
}

.product-category {
    color: #999;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.product-title {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    margin: 0 0 20px;
    line-height: 1.2;
}

.gold-separator-left {
    width: 60px;
    height: 3px;
    background: #D4AF37;
    margin-bottom: 20px;
}

.product-price {
    font-size: 28px;
    color: #D4AF37;
    font-weight: bold;
    margin-bottom: 25px;
}

.product-desc {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.qty-input {
    width: 60px;
    padding: 10px;
    text-align: center;
    border: 1px solid #ddd;
    font-size: 16px;
}

.btn-add-cart {
    flex: 1;
    background: #000;
    color: #fff;
    border: none;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.3s;
    font-size: 14px;
}

.btn-add-cart:hover {
    background: #D4AF37;
    color: #fff;
}

/* Trust Badges */
.trust-features {
    border-top: 1px solid #eee;
    padding-top: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #444;
    font-size: 13px;
}

.feature-item i {
    color: #D4AF37;
    font-size: 18px;
}

/* 1. The Golden Rule: Never let an image overflow */
img {
    max-width: 100%;
    height: auto;
    display: block; /* Removes tiny gaps under images */
}

/* 4. Fix for Cart & Checkout Thumbnails */
.cart-img-box img,
.summary-row img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* =========================================
 10.   POLICY PAGES (Shipping, Returns, etc.)
========================================= */

.policy-wrapper {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 20px;
    font-family: 'Montserrat', sans-serif;
    color: #444;
}

.policy-header {
    text-align: center;
    margin-bottom: 60px;
}

.policy-header h1 {
    font-family: 'Italiana', serif;
    font-size: 2.8rem;
    color: #111;
    margin-bottom: 15px;
}

.policy-header p {
    font-size: 1.1rem;
    color: #777;
    margin-top: 15px;
}

.policy-content {
    background: #fff;
    padding: 20px;
}

.policy-card {
    background-color: #fcfcfc;
    border: 1px solid #eee;
    padding: 30px;
    border-left: 4px solid #D4AF37; /* Gold accent */
    margin-bottom: 40px;
}

.policy-card h3 {
    font-family: 'Italiana', serif;
    font-size: 1.5rem;
    color: #111;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.policy-card i {
    color: #D4AF37;
}

.policy-section {
    margin-bottom: 40px;
}

.policy-section h4 {
    font-family: 'Italiana', serif;
    font-size: 1.4rem;
    color: #111;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.policy-section p {
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.shipping-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.shipping-table th, 
.shipping-table td {
    border: 1px solid #eee;
    padding: 15px;
    text-align: left;
}

.shipping-table th {
    background-color: #f9f9f9;
    font-family: 'Italiana', serif;
    color: #111;
    font-weight: 400;
}


/* ====================================================================
   11. THE MASTER MOBILE BLOCK (ULTRA-LUXURY OPTIMIZED)
==================================================================== */
@media (max-width: 768px) {
    /* 1. HEADER & VIP SLIDE-OUT MENU */
    .header-inner { flex-wrap: wrap; padding: 15px 20px; justify-content: space-between; }
    .logo { order: 1; }
    .header-actions { order: 2; margin-left: auto; margin-right: 20px; }
    .mobile-toggle { display: block; font-size: 24px; color: #fff; cursor: pointer; order: 3; margin-left: 0; z-index: 1001; }
    
    .nav-links { 
        position: fixed; top: 0; right: -100%; width: 300px; max-width: 85vw; height: 100vh; 
        background-color: #050505; flex-direction: column; justify-content: flex-start; 
        padding: 100px 30px 30px; margin: 0; box-shadow: -10px 0 30px rgba(0,0,0,0.8); 
        transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); z-index: 1000; overflow-y: auto; display: flex; 
        border-left: 2px solid #D4AF37; /* Luxury gold edge */
    }
    .nav-links.active { right: 0; }
    .nav-item, .dropdown-trigger { 
        padding: 18px 0; border-bottom: 1px solid #1a1a1a; width: 100%; 
        color: #eee; display: block; text-transform: uppercase; 
        letter-spacing: 2px; font-size: 0.95rem !important; 
    }
    
    .mega-menu { position: static; opacity: 1; visibility: visible; box-shadow: none; padding: 0 0 0 15px; background: transparent; border: none; transform: none; display: none; width: 100%; }
    .mega-menu.show-mega { display: block; }
    .dropdown-parent:hover .mega-menu { display: none; }
    .dropdown-parent:hover .mega-menu.show-mega { display: block; }
    .mega-content { flex-direction: column; padding: 0; gap: 15px; display: block;}
    .mega-col { min-width: auto; margin-bottom: 10px; }
    .mega-col h4 { color: #D4AF37; margin-top: 15px; font-size: 1rem; border-bottom: none; padding-bottom: 0; letter-spacing: 1.5px;}
    .mega-col ul li a { color: #aaa; font-size: 0.85rem; padding: 8px 0; letter-spacing: 1px;}

    /* 2. HERO SECTION & CATEGORY CARDS */
    .hero-luxury { height: 65vh !important; min-height: 450px !important; }
    .hero-title-anim { font-size: 2.2rem; margin-bottom: 15px; }
    .hero-desc-anim { font-size: 1rem; margin-bottom: 30px; padding: 0 10px; }
    .btn-luxury-hero { padding: 15px 35px; font-size: 12px; }
    .hero-bg-wrapper img, .hero-zoom-img { height: 100% !important; width: 100% !important; object-fit: cover !important; object-position: center center !important; }

    .category-grid { grid-template-columns: 1fr !important; gap: 15px !important; margin-top: 20px !important; margin-bottom: 40px !important; }
    .category-card { height: 280px !important; width: 100% !important; border-radius: 20px; }
    .cat-img-wrapper img { width: 100% !important; height: 100% !important; object-fit: cover !important; object-position: center center !important; }

/* 3. HOME PAGE SLIDER (1-IMAGE FULL SCREEN SWIPE - BULLETPROOF) */
    .featured-track { 
        display: flex !important;
        gap: 0 !important; 
        overflow-x: auto !important; 
        padding-bottom: 25px !important; 
        scroll-snap-type: x mandatory; 
        -webkit-overflow-scrolling: touch;
    }
    .featured-track::-webkit-scrollbar { display: none; }
    
    .featured-card { 
        flex: 0 0 100% !important; 
        max-width: 100% !important;
        transform: scale(1) !important; 
        opacity: 1 !important; 
        visibility: visible !important; /* FORCES VISIBILITY */
        padding: 0 15px !important; 
        box-sizing: border-box !important;
        scroll-snap-align: center; 
        display: block !important;
        box-shadow: none !important; border: none !important;
    }
    
    .featured-card .card-img-box { 
        width: 100% !important; 
        height: 320px !important; 
        min-height: 320px !important; /* CRITICAL: Prevents shrinking to 0 height */
        margin-bottom: 15px; 
        border-radius: 20px; 
        box-shadow: 0 5px 20px rgba(0,0,0,0.08); 
        display: block !important;
        position: relative !important;
        overflow: hidden !important;
    }
    
    /* Targets ANY image inside the box and forces it to show */
    .featured-card .card-img-box img { 
        width: 100% !important; 
        height: 100% !important; 
        object-fit: cover !important; 
        object-position: center !important; 
        opacity: 1 !important; 
        visibility: visible !important;
        display: block !important;
        position: absolute !important; /* Pins it to the box */
        top: 0 !important;
        left: 0 !important;
    }

    /* Hides the "hover" back-image on mobile so it doesn't overlap */
    .featured-card .img-back, 
    .featured-card .card-img-box img:nth-child(2) { 
        display: none !important; 
    }

    .featured-card h3 { font-size: 1.1rem !important; margin-top: 5px; font-weight: normal; }
    .featured-card .price { font-size: 1rem !important; color: #111; }

    /* 4.  Forces the front image to stay visible on mobile */
    .featured-card .img-front { opacity: 1 !important; display: block !important; }
    .featured-card .img-back { display: none !important; } 

    .featured-card h3 { font-size: 1.1rem !important; margin-top: 5px; font-weight: normal; }
    .featured-card .price { font-size: 1rem !important; color: #111; 
        
    }
    
    /* 4. SHOP PRODUCTS GRID (ULTRA CLEAN 2-COLUMN) */
    .shop-controls-compact { flex-direction: row; width: 100%; padding: 0 10px; }
    .search-bar-compact { flex: 2; width: auto; }
    .select-wrapper-compact { flex: 1; }
    .products-grid { grid-template-columns: repeat(1, 1fr) !important; gap: 12px !important; padding: 0 10px; }
    .products-grid .card-img-box { height: 220px !important; aspect-ratio: 1 / 1 !important; border-radius: 20px; }
    .products-grid .card-img-box img { width: 100% !important; height: 100% !important; object-fit: cover !important;  object-position:center !important; }
    
    

    /* 5. SINGLE PRODUCT PAGE */
    .product-detail-wrapper { flex-direction: column !important; gap: 20px !important; padding: 0 15px; }
    .product-gallery, .product-info { width: 100% !important; }
    .main-image-container, .main-image-box { width: 100% !important; height: auto !important; aspect-ratio: 4 / 5 !important; max-height: 450px !important; padding: 0 !important; border: none !important; box-shadow: 0 5px 20px rgba(0,0,0,0.05); }
    .main-image-container img, .main-image-box img { width: 100% !important; height: 100% !important; object-fit: contain !important; padding: 15px; }
    .product-title { font-size: 26px !important; line-height: 1.3; }
    .btn-add-cart { padding: 18px 0; font-size: 13px; letter-spacing: 2px; }

    /* 6. QUICK VIEW MODAL */
    .modal-body { flex-direction: column !important; }
    .modal-img, .modal-info { width: 100% !important; }
    .modal-img { height: 300px !important; }
    .modal-info { padding: 25px !important; }
    .qv-price { margin: 5px 0 20px 0 !important; }

    /* 7. FOOTER & POLICIES */
    .footer-container { grid-template-columns: 1fr; text-align: center; gap: 30px; }
    .newsletter-form { flex-direction: column; gap: 10px; }
    .newsletter-form input { text-align: center; border-bottom: 1px solid #333; padding-bottom: 10px; }
    .social-links { justify-content: center; margin-top: 10px; }
    .policy-header h1 { font-size: 2rem; }
    .shipping-table { font-size: 0.85rem; }
    .shipping-table th, .shipping-table td { padding: 10px; }
}