/* 
 * INAYSHA - Royal Indian Threads
 * Main Luxury Stylesheet 
 */

/* ==========================================================================
   1. DESIGN TOKENS & SETUP
   ========================================================================== */

:root {
    /* Brand Palette */
    --color-ivory: #F7F3EC;
    --color-warm-white: #FFFDF9;
    --color-charcoal: #171614;
    --color-deep-brown: #30251F;
    --color-gold: #B79A62;
    --color-gold-hover: #9E814B;
    --color-white: #FFFFFF;
    
    /* Typography */
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Fluid Typography (Responsive from 320px to 1920px) */
    --font-size-hero: clamp(2.4rem, 6vw + 0.5rem, 5rem);
    --font-size-section: clamp(1.8rem, 3.5vw + 0.5rem, 3rem);
    --font-size-editorial: clamp(2rem, 4vw + 0.5rem, 3.8rem);
    --font-size-body: clamp(0.85rem, 0.3vw + 0.75rem, 0.95rem);
    
    /* Spacing & Layout */
    --max-width: 1440px;
    --header-height: 90px;
    --header-height-scrolled: 75px;
    
    /* Transitions & Animations */
    --transition-smooth: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-slow: all 0.9s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-fast: all 0.25s cubic-bezier(0.25, 1, 0.5, 1);
    
    /* Z-Indices */
    --z-header: 100;
    --z-mobile-menu: 200;
}

/* Base Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border-radius: 0px !important;
}

html {
    width: 100%;
    max-width: 100%;
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    width: 100%;
    max-width: 100%;
    margin: 0;
    font-family: var(--font-body);
    font-size: var(--font-size-body);
    font-weight: 300;
    line-height: 1.7;
    background-color: var(--color-warm-white);
    color: var(--color-charcoal);
    overflow-x: hidden;
}

img,
video,
svg {
    max-width: 100%;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.25;
    color: var(--color-deep-brown);
}

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

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

/* Helper Utilities */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 4rem;
}

.text-center { text-align: center; }
.uppercase { text-transform: uppercase; }
.letter-spacing-wide { letter-spacing: 0.15em; }
.letter-spacing-widest { letter-spacing: 0.25em; }

/* Subtitle & Tagline */
.tagline {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.3em;
    color: var(--color-gold);
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: inline-block;
}

.section-title {
    font-size: var(--font-size-section);
    font-weight: 300;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--color-deep-brown);
    opacity: 0.8;
    margin-bottom: 3.5rem;
}

/* Decorative Divider */
.gold-divider {
    width: 60px;
    height: 1px;
    background-color: var(--color-gold);
    margin: 1.5rem 0 2rem 0;
    border: none;
}

.gold-divider.center {
    margin: 1.5rem auto 2rem auto;
}

/* Buttons */
.btn-luxury {
    display: inline-block;
    padding: 1.1rem 2.8rem;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    border: 1px solid var(--color-charcoal);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    background: transparent;
}

.btn-luxury.btn-solid {
    background-color: var(--color-charcoal);
    color: var(--color-warm-white);
}

.btn-luxury.btn-solid:hover {
    background-color: transparent;
    color: var(--color-charcoal);
}

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

.btn-luxury.btn-white:hover {
    background-color: transparent;
    color: var(--color-white);
}

.btn-luxury.btn-outline {
    background-color: transparent;
    color: var(--color-charcoal);
    border: 1px solid var(--color-gold);
}

.btn-luxury.btn-outline:hover {
    background-color: var(--color-gold);
    color: var(--color-warm-white);
}

/* Text arrow links */
.link-editorial {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-charcoal);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    padding-bottom: 4px;
}

.link-editorial::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-gold);
    transition: var(--transition-smooth);
}

.link-editorial:hover {
    color: var(--color-gold);
}

.link-editorial:hover::after {
    width: 100%;
}

/* Image zoom wrapper */
.img-reveal-wrapper {
    position: relative;
    overflow: hidden;
}

.img-reveal-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.img-reveal-wrapper:hover img {
    transform: scale(1.06);
}

/* ==========================================================================
   2. HEADER & NAVIGATION
   ========================================================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    display: flex;
    align-items: center;
    z-index: var(--z-header);
    transition: background-color 0.35s cubic-bezier(0.25, 1, 0.5, 1), height 0.35s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.35s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Header scrolled state */
.site-header.scrolled,
.site-header.subpage-header {
    background-color: var(--color-warm-white);
    border-bottom: 1px solid rgba(183, 154, 98, 0.12);
    box-shadow: none; /* Keep layout clean and flat as requested */
}

.site-header.scrolled {
    height: var(--header-height-scrolled);
}

.header-container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo Design */
.logo-block {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    transition: var(--transition-smooth);
    padding: 0.5rem 0;
}

.logo-img {
    width: 185px;
    height: 44px;
    object-fit: contain;
    transition: var(--transition-smooth);
}

/* Toggle light/dark logo images based on header scroll state */
.site-header .logo-light {
    display: block;
}
.site-header .logo-dark {
    display: none;
}

.site-header.scrolled .logo-light,
.site-header.subpage-header .logo-light {
    display: none;
}
.site-header.scrolled .logo-dark,
.site-header.subpage-header .logo-dark {
    display: block;
}

/* Subtle resize on scroll for tactile luxury feedback */
.site-header.scrolled .logo-img {
    width: 175px;
    height: 40px;
}

/* Navigation Links */
.desktop-nav {
    display: flex;
    align-items: center;
    gap: 3.5rem;
}

.nav-item {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    padding: 0.5rem 0;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-gold);
    transition: var(--transition-smooth);
}

.nav-item:hover {
    color: var(--color-white);
}

.nav-item:hover::after {
    width: 100%;
}

.nav-item.active {
    color: var(--color-gold);
}

.nav-item.active::after {
    width: 100%;
    background-color: var(--color-gold);
}

/* Scrolled nav item colors */
.site-header.scrolled .nav-item,
.site-header.subpage-header .nav-item {
    color: rgba(23, 22, 20, 0.7);
}

.site-header.scrolled .nav-item:hover,
.site-header.subpage-header .nav-item:hover {
    color: var(--color-charcoal);
}

.site-header.scrolled .nav-item.active,
.site-header.subpage-header .nav-item.active {
    color: var(--color-gold);
}

/* Header Utilities (Search/Account placeholder icons) */
.header-utils {
    display: flex;
    align-items: center;
    gap: 1.8rem;
    color: var(--color-white);
    transition: var(--transition-smooth);
}

.site-header.scrolled .header-utils {
    color: var(--color-charcoal);
}

/* Luxury account icon desktop layout */
.nav-account-icon,
.mobile-account-link {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important; /* Force circular outline container */
    border: 1px solid currentColor;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    padding: 0 !important;
}

/* Custom premium CSS tooltip for account icon */
.nav-account-icon[data-tooltip]::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -32px;
    left: 50%;
    transform: translate(-50%, 8px);
    background-color: var(--color-charcoal);
    color: var(--color-warm-white);
    padding: 0.4rem 0.8rem;
    font-family: var(--font-body);
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s cubic-bezier(0.25, 1, 0.5, 1), transform 0.2s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 100;
    border: 1px solid rgba(183, 154, 98, 0.15);
}

.nav-account-icon[data-tooltip]:hover::before {
    opacity: 1;
    transform: translate(-50%, 0);
}

.mobile-account-link {
    width: 38px !important;
    height: 38px !important;
}

/* Inline SVG sizing */
.account-svg {
    width: 16px;
    height: 16px;
    display: block;
    stroke-width: 1.5;
    border-radius: 0 !important; /* Disable circular reset for path elements */
}

/* Circle SVG sub-element overrides */
.nav-account-icon *,
.mobile-account-link * {
    border-radius: 0 !important;
}

.nav-account-icon::after,
.mobile-account-link::after {
    display: none !important; /* Disable nav underline */
}

/* Homepage Hero Initial Transparent Header State:
   - white/light icon
   - subtle white circular border
   - transparent background
*/
.site-header.home-header:not(.scrolled) .nav-account-icon,
.site-header.home-header:not(.scrolled) .mobile-account-link {
    color: rgba(255, 255, 255, 0.95);
    border-color: rgba(255, 255, 255, 0.35);
    background-color: transparent;
}

/* Scrolled homepage header:
   - #171614 icon & circular border
   - #FFFDF9 background
*/
.site-header.home-header.scrolled .nav-account-icon,
.site-header.home-header.scrolled .mobile-account-link {
    color: var(--color-charcoal);
    border-color: var(--color-charcoal);
    background-color: var(--color-warm-white);
}

/* Non-homepage subpages default & scrolled state:
   - #171614 icon & circular border
   - transparent background on the solid #FFFDF9 header surface
*/
.site-header.subpage-header .nav-account-icon,
.site-header.subpage-header .mobile-account-link {
    color: var(--color-charcoal);
    border-color: var(--color-charcoal);
    background-color: transparent;
}

/* Hover State: Muted Gold (#B79A62) icon & border. Background stays stable. */
.nav-account-icon:hover,
.mobile-account-link:hover {
    color: var(--color-gold) !important;
    border-color: var(--color-gold) !important;
}

/* Mobile Utilities (Account + Hamburger side-by-side) */
.mobile-header-utils {
    display: none;
    align-items: center;
    gap: 1.5rem;
}

.util-icon {
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.util-icon:hover {
    color: var(--color-gold);
}

/* Hamburger Menu button */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 16px;
}

.hamburger-line {
    width: 100%;
    height: 1px;
    background-color: var(--color-white);
    transition: var(--transition-smooth);
}

.site-header.scrolled .hamburger-line,
.site-header.subpage-header .hamburger-line {
    background-color: var(--color-charcoal);
}

/* Mobile Nav Drawer overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--color-charcoal);
    z-index: var(--z-mobile-menu);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.mobile-nav-overlay.open {
    opacity: 0.98;
    pointer-events: auto;
}

.mobile-menu-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--color-ivory);
    cursor: pointer;
}

.mobile-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
}

.mobile-menu .nav-item {
    font-size: 1.2rem;
    color: var(--color-ivory);
}

.mobile-menu .nav-item:hover {
    color: var(--color-gold);
}

/* ==========================================================================
   3. HERO SECTION
   ========================================================================== */

.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--color-charcoal);
}

.hero-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(23, 22, 20, 0.45) 0%, rgba(23, 22, 20, 0.3) 50%, rgba(23, 22, 20, 0.6) 100%);
    z-index: 2;
}

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: zoomSlow 20s infinite alternate;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--color-white);
    max-width: 800px;
    padding: 0 2rem;
}

.hero-brand {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: var(--font-size-hero);
    font-weight: 300;
    letter-spacing: 0.05em;
    line-height: 1.15;
    margin-bottom: 2rem;
    color: var(--color-white);
}

.hero-description {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.4rem;
    font-weight: 300;
    opacity: 0.9;
    letter-spacing: 0.02em;
    margin-bottom: 3.5rem;
}

/* Animations */
@keyframes zoomSlow {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); }
}

/* ==========================================================================
   4. ABOUT US SECTION
   ========================================================================== */

.about-section {
    background-color: var(--color-warm-white);
    padding: 9rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 7rem;
    align-items: center;
}

.about-image-column {
    position: relative;
    height: 600px;
}

.about-image-column img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2px;
}

.about-text-column {
    padding-right: 2rem;
}

.about-title {
    font-size: 3rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.about-description {
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.85;
    color: var(--color-charcoal);
    opacity: 0.85;
    margin-bottom: 2rem;
}

.about-description.secondary {
    font-size: 0.95rem;
    margin-bottom: 3rem;
}

/* ==========================================================================
   5. OUR COLLECTION (GRID)
   ========================================================================== */

.collection-section {
    background-color: var(--color-ivory);
    padding: 9rem 0;
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.2rem;
    margin-bottom: 5rem;
}

@media (max-width: 1200px) {
    .collection-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.8rem;
    }
}

@media (max-width: 768px) {
    .collection-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }
}

@media (max-width: 480px) {
    .collection-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
}

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

.collection-item {
    display: flex;
    flex-direction: column;
}

.collection-img-box {
    height: 480px;
    margin-bottom: 1.8rem;
    border-radius: 2px;
}

.collection-details {
    padding: 0 0.5rem;
}

.collection-name {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 0.3rem;
    letter-spacing: 0.02em;
    color: var(--color-deep-brown);
}

.collection-category {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-gold);
}

.collection-footer {
    display: flex;
    justify-content: center;
}

/* ==========================================================================
   6. LUXURY EDITORIAL (BANNER)
   ========================================================================== */

.editorial-section {
    position: relative;
    width: 100%;
    height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.editorial-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.editorial-bg-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(23, 22, 20, 0.45);
    z-index: 2;
}

.editorial-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.editorial-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--color-white);
    max-width: 850px;
    padding: 0 2rem;
}

.editorial-title {
    font-family: var(--font-heading);
    font-size: var(--font-size-editorial);
    font-weight: 300;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    color: var(--color-white);
}

.editorial-text {
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.8;
    opacity: 0.9;
    font-weight: 300;
    margin-bottom: 3rem;
    letter-spacing: 0.02em;
}

/* ==========================================================================
   7. CONTACT PREVIEW
   ========================================================================== */

.contact-section {
    background-color: var(--color-warm-white);
    padding: 9rem 0;
    display: flex;
    justify-content: center;
}

.contact-card {
    text-align: center;
    max-width: 600px;
    background-color: var(--color-white);
    border: 1px solid rgba(183, 154, 98, 0.15);
    padding: 5rem 4rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.015);
    border-radius: 2px;
}

.contact-icon {
    font-size: 2rem;
    color: var(--color-gold);
    margin-bottom: 2rem;
    display: block;
}

.contact-title {
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.contact-text {
    font-size: 0.95rem;
    line-height: 1.8;
    opacity: 0.8;
    margin-bottom: 2.8rem;
}

/* ==========================================================================
   8. FOOTER
   ========================================================================== */

.site-footer {
    background-color: var(--color-ivory);
    padding: 7rem 0 4rem 0;
    border-top: 1px solid rgba(183, 154, 98, 0.1);
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3.5rem;
}

.footer-logo-block {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-brand-emblem {
    width: 68px;
    height: 68px;
    object-fit: contain;
    margin-bottom: 1.2rem;
    transition: var(--transition-smooth);
}

.footer-brand-emblem:hover {
    transform: scale(1.05);
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    color: var(--color-deep-brown);
    line-height: 1;
}

.footer-tagline {
    font-family: var(--font-body);
    font-size: 0.6rem;
    font-weight: 400;
    letter-spacing: 0.35em;
    color: var(--color-gold);
    text-transform: uppercase;
    margin-top: 5px;
}

.footer-nav {
    display: flex;
    gap: 3.5rem;
}

.footer-link {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(23, 22, 20, 0.7);
}

.footer-link:hover {
    color: var(--color-gold);
}

.footer-socials {
    display: flex;
    gap: 2.5rem;
    color: var(--color-deep-brown);
}

.social-icon {
    font-size: 1.1rem;
    transition: var(--transition-fast);
}

.social-icon:hover {
    color: var(--color-gold);
}

.footer-copyright {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    color: rgba(23, 22, 20, 0.5);
    text-transform: uppercase;
    border-top: 1px solid rgba(183, 154, 98, 0.1);
    width: 100%;
    text-align: center;
    padding-top: 2.5rem;
}

/* ==========================================================================
   9. SCROLL REVEAL & MICRO-ANIMATIONS
   ========================================================================== */

/* Fade-Up Scroll Reveal classes */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1), transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

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

/* Delay modifiers */
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

/* Image scaling reveal */
.reveal-img {
    opacity: 0;
    transform: scale(1.08);
    transition: opacity 1.5s cubic-bezier(0.25, 1, 0.5, 1), transform 1.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal-img.revealed {
    opacity: 1;
    transform: scale(1);
}

/* ==========================================================================
   10. RESPONSIVE MEDIA QUERIES
   ========================================================================== */

/* Desktop (Large & Mid) */
@media (max-width: 1200px) {
    .container {
        padding: 0 3rem;
    }
    
    .about-grid {
        gap: 4rem;
    }
    
    .collection-grid {
        gap: 1.5rem;
    }
    
    .collection-img-box {
        height: 400px;
    }
}

/* Tablet (Portrait & Landscape) */
@media (max-width: 1024px) {
    .site-header {
        height: 80px;
    }
    
    .header-container {
        padding: 0 2rem;
    }
    
    .hero-title {
        font-size: 3.8rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .about-image-column {
        height: 500px;
        order: 1;
    }
    
    .about-text-column {
        order: 2;
        padding-right: 0;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    /* Cleaned up redundant collection-grid rules to let main responsive cascade handle it */
    
    .collection-img-box {
        height: 450px;
    }
    
    .editorial-title {
        font-size: 3rem;
    }
}

/* Mobile (Landscape & Portrait) */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .desktop-nav, .header-utils {
        display: none;
    }
    
    .mobile-header-utils {
        display: flex;
    }
    
    .header-container {
        padding: 0 1.5rem;
    }
    
    .logo-img {
        width: 150px;
        height: 36px;
    }
    
    .site-header.scrolled .logo-img {
        width: 140px;
        height: 34px;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
        margin-bottom: 2.5rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .about-section, .collection-section, .contact-section {
        padding: 6rem 0;
    }
    
    .about-image-column {
        height: 380px;
    }
    
    .collection-img-box {
        height: 350px;
    }
    
    .editorial-section {
        height: 60vh;
    }
    
    .editorial-title {
        font-size: 2.2rem;
    }
    
    .contact-card {
        padding: 3.5rem 2rem;
    }
    
    .footer-nav {
        flex-direction: column;
        align-items: center;
        gap: 1.8rem;
    }
    
    .footer-socials {
        gap: 1.8rem;
    }
}

@media (max-width: 480px) {
    .logo-img {
        width: 130px;
        height: 32px;
    }
    
    .site-header.scrolled .logo-img {
        width: 125px;
        height: 30px;
    }
    
    .hero-title {
        font-size: 2.4rem;
    }
    
    /* Cleaned up redundant collection-grid rules to let main responsive cascade handle it */
    
    .collection-img-box {
        height: 400px;
    }
    
    .about-image-column {
        height: 300px;
    }
}

/* ==========================================================================
   11. ADDED RESPONSIVE GRIDS FOR SUBPAGES
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: start;
}

.account-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7rem;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .contact-grid, .account-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
}

/* ==========================================================================
   12. LUXURY COUTURE HOMEPAGE SECTIONS
   ========================================================================== */

/* Featured Collections Discovery (Section 02) */
.editorial-discovery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.2rem;
    margin-top: 4.5rem;
}

.discovery-card {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.discovery-img-box {
    height: 440px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    background-color: var(--color-warm-white);
}

.discovery-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.discovery-card:hover .discovery-img-box img {
    transform: scale(1.03);
}

.discovery-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.discovery-num {
    font-family: var(--font-body);
    font-size: 0.72rem;
    color: var(--color-gold);
    letter-spacing: 0.1em;
    margin-bottom: 0.4rem;
    font-weight: 500;
}

.discovery-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--color-deep-brown);
    margin-bottom: 0.6rem;
    letter-spacing: 0.05em;
}

.discovery-desc {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: rgba(48, 37, 31, 0.85);
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

/* Best Sellers horizontal slider (Section 03) */
.bestsellers-section {
    background-color: var(--color-warm-white);
    padding: 9rem 0;
}

.bestsellers-slider-wrapper {
    margin-top: 4.5rem;
    width: 100%;
    overflow: hidden;
}

.bestsellers-slider {
    display: flex;
    gap: 2.2rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 1rem;
}

.bestsellers-slider::-webkit-scrollbar {
    display: none;
}

.product-card-luxury {
    flex: 0 0 calc(25% - 1.65rem);
    scroll-snap-align: start;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.product-card-img {
    height: 485px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    background-color: var(--color-ivory);
}

.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.product-card-luxury:hover .product-card-img img {
    transform: scale(1.03);
}

.product-card-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.p-category {
    font-family: var(--font-body);
    font-size: 0.7rem;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.4rem;
}

.p-name {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--color-deep-brown);
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

.slider-footer-links {
    margin-top: 4.5rem;
    display: flex;
    justify-content: center;
}

/* Editor's Choice Asymmetric layout (Section 04) */
.editors-choice-section {
    background-color: var(--color-ivory);
    padding: 9rem 0;
}

.editors-choice-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: stretch;
}

.choice-large-col {
    position: relative;
    height: 720px;
}

.choice-img-box {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.choice-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.choice-large-col:hover .choice-img-box img {
    transform: scale(1.02);
}

.choice-overlay-text {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 5rem 4rem;
    background: linear-gradient(to top, rgba(23, 22, 20, 0.8) 0%, rgba(23, 22, 20, 0) 100%);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    z-index: 2;
}

.choice-stacked-col {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 3rem;
}

.choice-stacked-card {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.stacked-img-wrapper {
    height: 280px;
    overflow: hidden;
    margin-bottom: 1.2rem;
    background-color: var(--color-warm-white);
}

.stacked-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.choice-stacked-card:hover .stacked-img-wrapper img {
    transform: scale(1.03);
}

.stacked-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.stacked-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--color-deep-brown);
    letter-spacing: 0.05em;
    margin-top: 0.2rem;
}

/* Indian Ethnic Edit split layout (Section 05) */
.ethnic-edit-section {
    background-color: var(--color-warm-white);
    padding: 9rem 0;
}

.ethnic-split-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 7rem;
    align-items: center;
}

.split-image-col {
    height: 600px;
    overflow: hidden;
}

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

.split-text-col {
    padding-right: 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

/* Bridal & Wedding Dark Theme (Section 06) */
.bridal-edit-section {
    position: relative;
    width: 100%;
    height: 80vh;
    overflow: hidden;
    background-color: var(--color-charcoal);
}

.bridal-banner-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bridal-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.bridal-bg-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(23, 22, 20, 0.65);
    z-index: 2;
}

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

.bridal-banner-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 800px;
    padding: 0 2rem;
}

/* Our Story split layout (Section 07) */
.story-section {
    background-color: var(--color-ivory);
    padding: 9rem 0;
}

.story-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 7rem;
    align-items: center;
}

.story-text-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.story-image-col {
    height: 600px;
    overflow: hidden;
}

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

/* Craftsmanship 4-tile grid (Section 08) */
.craftsmanship-section {
    background-color: var(--color-warm-white);
    padding: 9rem 0;
}

.craftsmanship-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.2rem;
    margin-top: 4.5rem;
}

.craft-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.craft-img-box {
    width: 100%;
    height: 320px;
    overflow: hidden;
    margin-bottom: 1.2rem;
    background-color: var(--color-ivory);
}

.craft-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.craft-tile:hover .craft-img-box img {
    transform: scale(1.03);
}

.craft-label {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-top: 0.4rem;
}

/* Inaysha Journal Masonry (Section 09) */
.journal-section {
    background-color: var(--color-ivory);
    padding: 9rem 0;
}

.journal-masonry {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2.2rem;
    width: 100%;
}

.journal-item {
    display: block;
    width: 100%;
    overflow: hidden;
    background-color: var(--color-warm-white);
}

.journal-item:nth-child(1),
.journal-item:nth-child(2),
.journal-item:nth-child(3) {
    grid-column: span 2;
}

.journal-item:nth-child(4) {
    grid-column: 2 / span 2;
}

.journal-item:nth-child(5) {
    grid-column: 4 / span 2;
}

.journal-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.journal-item:hover img {
    transform: scale(1.02);
}

/* Luxury Final CTA Full-Width (Section 10) */
.luxury-cta-section {
    position: relative;
    width: 100%;
    height: 75vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.cta-bg-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(23, 22, 20, 0.55);
    z-index: 2;
}

.cta-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-content-box {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 800px;
    padding: 0 2rem;
}

/* ==========================================================================
   13. RESPONSIVE HOMEPAGE SECTIONS
   ========================================================================== */
@media (max-width: 1024px) {
    .editorial-discovery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .product-card-luxury {
        flex: 0 0 calc(50% - 1.1rem);
    }
    
    .editors-choice-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    
    .choice-large-col {
        height: 540px;
    }
    
    .ethnic-split-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .split-image-col {
        height: 500px;
        order: 1;
    }
    
    .split-text-col {
        order: 2;
        padding-right: 0;
        text-align: center;
        align-items: center;
    }
    
    .story-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .story-image-col {
        height: 500px;
        order: 1;
    }
    
    .story-text-col {
        order: 2;
        text-align: center;
        align-items: center;
    }
    
    .craftsmanship-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .journal-masonry {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.8rem;
    }
    
    .journal-item:nth-child(1),
    .journal-item:nth-child(2),
    .journal-item:nth-child(3),
    .journal-item:nth-child(4) {
        grid-column: span 2 !important;
    }
    
    .journal-item:nth-child(5) {
        grid-column: 2 / span 2 !important;
    }
}

@media (max-width: 768px) {
    .bestsellers-section, .editors-choice-section, .ethnic-edit-section, .story-section, .craftsmanship-section, .journal-section {
        padding: 6rem 0;
    }
    
    .product-card-luxury {
        flex: 0 0 80%;
    }
    
    .journal-masonry {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .journal-item {
        grid-column: auto !important;
    }
    
    .bridal-edit-section {
        height: auto;
        padding: 7rem 0;
    }
    
    .luxury-cta-section {
        height: auto;
        padding: 7rem 0;
    }
    
    .choice-large-col {
        height: 420px;
    }
    
    .split-image-col, .story-image-col {
        height: 400px;
    }
}

@media (max-width: 480px) {
    .editorial-discovery-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .discovery-img-box {
        height: 380px;
    }
    
    .craftsmanship-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .craft-img-box {
        height: 280px;
    }
    
    .journal-masonry {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    
    .journal-item {
        grid-column: auto !important;
    }
}

/* ==========================================================================
   14. PRODUCT CATALOG & FILTER SYSTEM
   ========================================================================== */

/* Main layout grid */
.catalog-container {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
    margin-top: 2rem;
}

.catalog-sidebar {
    width: 260px;
    flex-shrink: 0;
    position: sticky;
    top: 110px;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
    padding-right: 1.5rem;
}

/* Custom Scrollbar for Sidebar */
.catalog-sidebar::-webkit-scrollbar {
    width: 4px;
}
.catalog-sidebar::-webkit-scrollbar-track {
    background: transparent;
}
.catalog-sidebar::-webkit-scrollbar-thumb {
    background: rgba(183, 154, 98, 0.25);
}

.catalog-grid-area {
    flex-grow: 1;
}

/* Category header / results bar */
.catalog-results-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(183, 154, 98, 0.15);
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
}

.results-count {
    font-family: var(--font-body);
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    color: var(--color-deep-brown);
    opacity: 0.8;
}

/* Sort dropdown desktop styling */
.sort-dropdown-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sort-label {
    font-family: var(--font-body);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-deep-brown);
}

.sort-select {
    font-family: var(--font-body);
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    color: var(--color-charcoal);
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--color-charcoal);
    padding: 0.25rem 1.5rem 0.25rem 0.5rem;
    outline: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'><path fill='%23171614' d='M0,3.5 L5,8.5 L10,3.5 Z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 3px center;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* Active filters container */
.active-chips-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    align-items: center;
    margin-bottom: 2.5rem;
}

.active-filter-chip {
    display: inline-flex;
    align-items: center;
    background-color: var(--color-ivory);
    border: 1px solid rgba(183, 154, 98, 0.25);
    padding: 0.4rem 0.8rem;
    font-family: var(--font-body);
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    color: var(--color-charcoal);
    gap: 0.6rem;
    cursor: pointer;
    transition: all 0.25s ease;
}

.active-filter-chip:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
}

.active-filter-chip svg {
    width: 8px;
    height: 8px;
    stroke-width: 2.5;
}

.clear-all-link {
    font-family: var(--font-body);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-gold);
    text-decoration: none;
    margin-left: 0.5rem;
    border-bottom: 1px solid currentColor;
    padding-bottom: 1px;
}

.clear-all-link:hover {
    color: var(--color-charcoal);
}

/* Sidebar filter blocks */
.filter-block {
    border-bottom: 1px solid rgba(183, 154, 98, 0.15);
    padding: 1.8rem 0;
}

.filter-block:first-child {
    padding-top: 0;
}

.filter-block:last-child {
    border-bottom: none;
}

.filter-title {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-charcoal);
    margin-bottom: 1.2rem;
}

/* Checkbox lists */
.filter-options-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.filter-option {
    display: flex;
    align-items: center;
    position: relative;
    cursor: pointer;
    user-select: none;
}

.filter-option input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.custom-checkbox {
    height: 14px;
    width: 14px;
    border: 1px solid #D1C7BD;
    background-color: transparent;
    margin-right: 0.9rem;
    display: inline-block;
    position: relative;
    transition: all 0.25s ease;
}

.filter-option:hover input ~ .custom-checkbox {
    border-color: var(--color-gold);
}

.filter-option input:checked ~ .custom-checkbox {
    background-color: var(--color-charcoal);
    border-color: var(--color-charcoal);
}

.filter-option input:checked ~ .custom-checkbox::after {
    content: '';
    position: absolute;
    display: block;
    left: 4px;
    top: 1px;
    width: 4px;
    height: 7px;
    border: solid var(--color-white);
    border-width: 0 1px 1px 0;
    transform: rotate(45deg);
}

.option-text {
    font-family: var(--font-body);
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    color: var(--color-deep-brown);
}

/* Color swatch specific */
.color-swatch-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.color-option {
    position: relative;
    cursor: pointer;
}

.color-option input {
    position: absolute;
    opacity: 0;
}

.color-swatch {
    width: 22px;
    height: 22px;
    border: 1px solid rgba(183, 154, 98, 0.2);
    display: inline-block;
    position: relative;
    transition: all 0.25s ease;
}

.color-option:hover .color-swatch {
    transform: scale(1.1);
}

.color-option input:checked ~ .color-swatch {
    border: 1px solid var(--color-charcoal);
    outline: 1.5px solid var(--color-gold);
    outline-offset: 1px;
}

/* Color swatch swatches */
.swatch-ivory { background-color: #FFFDF9; }
.swatch-gold { background-color: #B79A62; }
.swatch-black { background-color: #171614; }
.swatch-red { background-color: #A31D1D; }
.swatch-maroon { background-color: #5C1D24; }
.swatch-green { background-color: #1B4D3E; }
.swatch-pink { background-color: #E29B9B; }

/* Price input block */
.price-range-inputs {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.price-input-box {
    width: 45%;
    position: relative;
}

.price-input-box span {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-body);
    font-size: 0.72rem;
    color: var(--color-deep-brown);
    opacity: 0.7;
}

.price-input-box input {
    width: 100%;
    padding: 0.5rem 0.5rem 0.5rem 1.25rem;
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--color-charcoal);
    background-color: var(--color-warm-white);
    border: 1px solid #D1C7BD;
    outline: none;
}

/* Mobile Filter sort bar */
.mobile-filter-bar {
    display: none; /* Desktop hidden */
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-warm-white);
    border-top: 1px solid rgba(183, 154, 98, 0.15);
    z-index: 90;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.03);
}

.mobile-filter-btn {
    flex: 1;
    text-align: center;
    padding: 1.1rem 0;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-charcoal);
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.mobile-filter-btn:first-child {
    border-right: 1px solid rgba(183, 154, 98, 0.15);
}

/* Mobile bottom drawer sheets */
.mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1000;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.4s ease;
}

.mobile-drawer.open {
    visibility: visible;
    pointer-events: auto;
}

.mobile-drawer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(23, 22, 20, 0.4);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.mobile-drawer.open .mobile-drawer-overlay {
    opacity: 1;
}

.mobile-drawer-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    max-height: 85vh;
    background-color: var(--color-warm-white);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    display: flex;
    flex-direction: column;
}

.mobile-drawer.open .mobile-drawer-content {
    transform: translateY(0);
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(183, 154, 98, 0.15);
}

.drawer-header h3 {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: var(--color-charcoal);
}

.drawer-close-btn {
    font-size: 1.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--color-charcoal);
}

.drawer-body {
    overflow-y: auto;
    padding: 1.5rem;
    flex-grow: 1;
}

.drawer-footer {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    border-top: 1px solid rgba(183, 154, 98, 0.15);
    background-color: var(--color-warm-white);
}

.drawer-footer button {
    flex: 1;
}

/* Sort mobile options list */
.sort-options-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.sort-option-btn {
    text-align: left;
    background: transparent;
    border: none;
    font-family: var(--font-body);
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    color: var(--color-deep-brown);
    padding: 0.5rem 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sort-option-btn.active {
    color: var(--color-gold);
    font-weight: 500;
}

/* ==========================================================================
   15. PRODUCT QUICKVIEW MODAL
   ========================================================================== */
.quickview-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s ease;
}

.quickview-modal.open {
    visibility: visible;
    pointer-events: auto;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(23, 22, 20, 0.6);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.quickview-modal.open .modal-overlay {
    opacity: 1;
}

.modal-container {
    position: relative;
    width: 90%;
    max-width: 950px;
    max-height: 90vh;
    background-color: var(--color-warm-white);
    transform: scale(0.95);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.quickview-modal.open .modal-container {
    transform: scale(1);
    opacity: 1;
}

.modal-close-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 1.8rem;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--color-charcoal);
    z-index: 10;
    line-height: 1;
}

.modal-content {
    overflow-y: auto;
    padding: 3rem;
    height: 100%;
}

/* Inside Modal Layout */
.quickview-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3.5rem;
}

.quickview-gallery-area {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.quickview-main-img-box {
    width: 100%;
    height: 480px;
    overflow: hidden;
    background-color: var(--color-ivory);
}

.quickview-main-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quickview-thumbnails {
    display: flex;
    gap: 0.8rem;
    overflow-x: auto;
}

.q-thumb {
    width: 70px;
    height: 80px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid transparent;
    flex-shrink: 0;
}

.q-thumb.active {
    border-color: var(--color-gold);
}

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

.quickview-meta-area {
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.q-meta-category {
    font-family: var(--font-body);
    font-size: 0.72rem;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.5rem;
}

.q-meta-name {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 0.02em;
    color: var(--color-charcoal);
    margin-bottom: 0.8rem;
}

.q-meta-price {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--color-deep-brown);
    margin-bottom: 1.5rem;
}

.q-meta-desc {
    font-family: var(--font-body);
    font-size: 0.85rem;
    line-height: 1.7;
    opacity: 0.85;
    margin-bottom: 2rem;
}

.q-details-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    border-top: 1px solid rgba(183, 154, 98, 0.15);
    padding-top: 1.5rem;
    margin-bottom: 2rem;
}

.q-details-row {
    display: flex;
    font-size: 0.8rem;
}

.q-row-label {
    width: 100px;
    font-family: var(--font-body);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-gold);
}

.q-row-val {
    flex-grow: 1;
    font-family: var(--font-body);
    color: var(--color-charcoal);
}

/* Related Products Slider inside QuickView */
.quickview-related-section {
    border-top: 1px solid rgba(183, 154, 98, 0.15);
    padding-top: 2.5rem;
    margin-top: 3rem;
    text-align: left;
    width: 100%;
}

.quickview-related-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: var(--color-charcoal);
}

.quickview-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* Dynamic filter search empty result check */
.catalog-empty-state {
    padding: 6rem 0;
    text-align: center;
}

.catalog-empty-state h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--color-deep-brown);
    margin-bottom: 1rem;
}

.catalog-empty-state p {
    font-family: var(--font-body);
    font-size: 0.85rem;
    opacity: 0.7;
    margin-bottom: 2rem;
}

/* Responsive Overrides */
@media (max-width: 1024px) {
    .catalog-sidebar {
        display: none !important;
    }
    
    .catalog-container {
        gap: 0;
    }
    
    .mobile-filter-bar {
        display: flex;
    }
    
    /* Extra padding at bottom of content to account for sticky bar */
    .collection-section {
        padding-bottom: 9rem !important;
    }
    
    .quickview-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .quickview-main-img-box {
        height: 380px;
    }
    
    .modal-content {
        padding: 2.5rem 1.8rem;
    }
}

@media (max-width: 768px) {
    .quickview-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .modal-container {
        width: 100% !important;
        max-width: 100% !important;
        max-height: 85vh !important;
        position: absolute !important;
        bottom: 0 !important;
        top: auto !important;
        transform: translateY(100%) !important;
        opacity: 1 !important;
        transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1) !important;
        border-radius: 12px 12px 0 0 !important;
    }
    
    .quickview-modal.open .modal-container {
        transform: translateY(0) !important;
        opacity: 1 !important;
    }
}

@media (max-width: 480px) {
    .quickview-related-grid {
        grid-template-columns: 1fr;
    }
}

/* Visible Focus States for Luxury UI Accessibility */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 1.5px solid var(--color-gold) !important;
    outline-offset: 2px !important;
}

/* Reduced motion preference support */
@media (prefers-reduced-motion: reduce) {
    *, ::before, ::after {
        animation-delay: -1ms !important;
        animation-duration: 1ms !important;
        animation-iteration-count: 1 !important;
        background-attachment: initial !important;
        scroll-behavior: auto !important;
        transition-duration: 0s !important;
        transition-delay: 0s !important;
    }
}
