/* ==========================================================================
   QUIET LUXURY LOOM DESIGN SYSTEM — MODERN RUGS
   Inspired by Stitch Luxury Hotel Storefront & The Ambiente
   Typography: 'Playfair Display' (Serif) & 'Plus Jakarta Sans' (Sans-Serif)
   Palette: Warm Mineral Raw Ivory (#FBF9F5), Rich Carbon (#181816), Antique Bronze (#735B2D),
            Terracotta (#9E5A44), Earth Olive (#5E6351), Stone (#EFECE6)
   Architectural Restraint: Strictly 0px border-radius, tonal layering, hairline borders
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200');

:root {
  /* Surface & Base Tones */
  --ql-surface-ivory: #FBF9F5;
  --ql-surface-stone: #EFECE6;
  --ql-surface-container: #EFEEEA;
  --ql-surface-container-low: #F5F3EF;
  --ql-surface-container-high: #EAE8E4;
  --ql-surface-container-highest: #E4E2DE;
  --ql-surface-white: #FFFFFF;

  /* Typography & Ink — Refined Dark Navy Blue */
  --ql-primary: #0F2036;
  --ql-on-surface: #0F2036;
  --ql-on-surface-variant: #2A3B52;
  --ql-text-muted: #53647C;
  --ql-headline: #0F2036;
  --ql-outline: #778396;
  --ql-border-hairline: #E2DFD7;

  /* Accent Earth & Antique Gold Pigments */
  --ql-secondary: #735B2D;
  --ql-secondary-fixed: #FFDEA5;
  --ql-secondary-container: #FCDBA1;
  --ql-bronze: #9B804E;
  --ql-gold: #C5A059;
  --ql-earth-terracotta: #9E5A44;
  --ql-earth-olive: #5E6351;
  --ql-navy-slate: #1A365D;

  /* Spacing Tokens */
  --ql-space-xs: 0.25rem;
  --ql-space-sm: 0.5rem;
  --ql-space-md: 1rem;
  --ql-space-lg: 1.75rem;
  --ql-space-xl: 3rem;
  --ql-gutter: 2rem;
  --ql-margin: 4rem;
  --ql-gutter-mobile: 1rem;
  --ql-margin-mobile: 1.25rem;

  /* Fonts */
  --ql-font-serif: 'Playfair Display', Georgia, serif;
  --ql-font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ==========================================================================
   GLOBAL RESET & TYPOGRAPHY DISCIPLINE (PREVENTS ZOOMED-IN APPEARANCE)
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 15px !important;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

html {
  overflow-x: clip !important;
  width: 100% !important;
  max-width: 100vw !important;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--ql-surface-ivory) !important;
  color: var(--ql-on-surface) !important;
  font-family: var(--ql-font-sans) !important;
  font-size: 14.5px !important;
  line-height: 1.6 !important;
  letter-spacing: 0.01em !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  padding: 0;
  overflow-x: clip !important;
  width: 100% !important;
  max-width: 100vw !important;
}

/* Dawn Theme Headings Overrides — Eliminates oversized/zoomed text, enriches dark navy */
h1, h2, h3, h4, h5, h6,
.h0, .h1, .h2, .h3, .h4, .h5, .h6,
.heading, .title, .section-heading,
.product__title, .card__heading, .collection__title {
  font-family: var(--ql-font-serif) !important;
  color: var(--ql-primary, #0F2036) !important;
  font-weight: 400 !important;
  letter-spacing: -0.01em !important;
  line-height: 1.25 !important;
  margin-top: 0;
}

/* Dark Banners, Hero Sliders, & Landscape Sections: Explicit Pure White Text */
.ql-hero-section h1, .ql-hero-section h2, .ql-hero-section h3,
.ql-hero-section .ql-slide-title, h1.ql-slide-title, h2.ql-slide-title,
.ql-fullscreen-landscape h1, .ql-fullscreen-landscape h2, .ql-fullscreen-landscape h3,
.ql-fullscreen-landscape .ql-display-hero, .ql-fullscreen-landscape .ql-landscape-title,
.ql-dark-section h1, .ql-dark-section h2, .ql-dark-section h3,
[data-theme="dark"] h1, [data-theme="dark"] h2 {
  color: #FFFFFF !important;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.85) !important;
}

.ql-hero-section p, .ql-hero-section .ql-slide-subtitle,
.ql-fullscreen-landscape p, .ql-fullscreen-landscape .ql-landscape-subtitle {
  color: rgba(255, 255, 255, 0.95) !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7) !important;
}

p, span, a, li, input, select, textarea, button, label {
  font-family: var(--ql-font-sans);
  color: inherit;
}

/* Explicit Quiet Luxury Typography Scale */
.ql-display-hero {
  font-family: var(--ql-font-serif) !important;
  font-size: clamp(32px, 4.5vw, 56px) !important;
  font-weight: 400 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.02em !important;
}

.ql-headline-lg {
  font-family: var(--ql-font-serif) !important;
  font-size: clamp(24px, 3.2vw, 38px) !important;
  font-weight: 400 !important;
  line-height: 1.25 !important;
  letter-spacing: -0.01em !important;
}

.ql-headline-md {
  font-family: var(--ql-font-serif) !important;
  font-size: clamp(20px, 2.2vw, 26px) !important;
  font-weight: 400 !important;
  line-height: 1.3 !important;
  letter-spacing: 0em !important;
}

.ql-headline-sm {
  font-family: var(--ql-font-serif) !important;
  font-size: clamp(17px, 1.8vw, 20px) !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
  letter-spacing: 0.01em !important;
}

.ql-body-lg {
  font-family: var(--ql-font-sans) !important;
  font-size: 16.5px !important;
  font-weight: 300 !important;
  line-height: 1.7 !important;
  letter-spacing: 0.01em !important;
}

.ql-body-md {
  font-family: var(--ql-font-sans) !important;
  font-size: 14.5px !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
  letter-spacing: 0.01em !important;
}

.ql-body-sm {
  font-family: var(--ql-font-sans) !important;
  font-size: 12.5px !important;
  font-weight: 400 !important;
  line-height: 1.55 !important;
  letter-spacing: 0.02em !important;
}

.ql-label-caps {
  font-family: var(--ql-font-sans) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  line-height: 1.45 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
}

.ql-label-sm {
  font-family: var(--ql-font-sans) !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  letter-spacing: 0.04em !important;
}

/* Strictly 0px Border Radius */
.ql-sharp,
button,
input,
select,
textarea,
.button,
.field__input,
.badge,
.card,
.modal {
  border-radius: 0px !important;
}

/* Hairline Borders */
.ql-border {
  border: 1px solid var(--ql-border-hairline);
}
.ql-border-b {
  border-bottom: 1px solid var(--ql-border-hairline);
}
.ql-border-t {
  border-top: 1px solid var(--ql-border-hairline);
}

/* Material Symbols Icon Alignment */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
  vertical-align: middle;
  line-height: 1;
}

/* ==========================================================================
   SMOOTH CINEMATIC ANIMATIONS & INVIEW SCROLL REVEALS
   Silky, subtle, and understated ("quiet luxury") entrance animations.
   ========================================================================== */

.ql-reveal,
[data-ql-reveal],
.mr-reveal,
[data-mr-reveal],
.ql-section-header,
.ql-card-reveal,
.ql-archetype-card,
.ql-collection-card,
.ql-construction-feature-card,
.ql-construction-prod-card,
.ql-dark-image-frame,
.ql-process-step,
.ql-showcase-card,
.ql-product-card,
.ql-weaver-banner,
.mr-process-header,
.mr-process-stepper-wrap,
.mr-prop-item,
.ql-faq-item,
.ql-contact-grid > div,
.ql-bento-card {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.78s cubic-bezier(0.16, 1, 0.3, 1), transform 0.78s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.ql-reveal.ql-revealed,
.ql-reveal.is-revealed,
[data-ql-reveal].ql-revealed,
[data-ql-reveal].is-revealed,
.mr-reveal.ql-revealed,
.mr-reveal.is-revealed,
[data-mr-reveal].ql-revealed,
[data-mr-reveal].is-revealed,
.ql-section-header.ql-revealed,
.ql-card-reveal.ql-revealed,
.ql-archetype-card.ql-revealed,
.ql-collection-card.ql-revealed,
.ql-construction-feature-card.ql-revealed,
.ql-construction-prod-card.ql-revealed,
.ql-dark-image-frame.ql-revealed,
.ql-process-step.ql-revealed,
.ql-showcase-card.ql-revealed,
.ql-product-card.ql-revealed,
.ql-weaver-banner.ql-revealed,
.mr-process-header.ql-revealed,
.mr-process-header.is-revealed,
.mr-process-stepper-wrap.ql-revealed,
.mr-process-stepper-wrap.is-revealed,
.mr-prop-item.ql-revealed,
.ql-faq-item.ql-revealed,
.ql-contact-grid > div.ql-revealed,
.ql-bento-card.ql-revealed {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Stagger Delays for multi-item sequences */
[data-delay="50"]  { transition-delay: 0.05s; }
[data-delay="60"]  { transition-delay: 0.06s; }
[data-delay="80"]  { transition-delay: 0.08s; }
[data-delay="100"] { transition-delay: 0.10s; }
[data-delay="120"] { transition-delay: 0.12s; }
[data-delay="150"] { transition-delay: 0.15s; }
[data-delay="180"] { transition-delay: 0.18s; }
[data-delay="200"] { transition-delay: 0.20s; }
[data-delay="240"] { transition-delay: 0.24s; }
[data-delay="300"] { transition-delay: 0.30s; }
[data-delay="350"] { transition-delay: 0.35s; }
[data-delay="400"] { transition-delay: 0.40s; }
[data-delay="500"] { transition-delay: 0.50s; }

/* Inview Fade-In Only (no vertical shift) */
[data-ql-reveal="fade-in"] {
  transform: none;
  opacity: 0;
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-ql-reveal="fade-in"].ql-revealed,
[data-ql-reveal="fade-in"].is-revealed {
  opacity: 1 !important;
}

/* Accessibility & Fallbacks */
@media (prefers-reduced-motion: reduce) {
  .ql-reveal,
  [data-ql-reveal],
  .mr-reveal,
  [data-mr-reveal],
  .ql-section-header,
  .ql-card-reveal,
  .ql-archetype-card,
  .ql-collection-card,
  .ql-construction-feature-card,
  .ql-construction-prod-card,
  .ql-dark-image-frame,
  .ql-process-step,
  .ql-showcase-card,
  .ql-product-card,
  .ql-weaver-banner,
  .mr-process-header,
  .mr-process-stepper-wrap,
  .mr-prop-item,
  .ql-faq-item,
  .ql-contact-grid > div,
  .ql-bento-card {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

html.no-js .ql-reveal,
html.no-js [data-ql-reveal],
html.no-js .mr-reveal,
html.no-js [data-mr-reveal],
html.no-js .ql-section-header,
html.no-js .ql-card-reveal,
html.no-js .ql-archetype-card,
html.no-js .ql-collection-card,
html.no-js .ql-construction-feature-card,
html.no-js .ql-construction-prod-card,
html.no-js .ql-dark-image-frame,
html.no-js .ql-process-step,
html.no-js .ql-showcase-card,
html.no-js .ql-product-card,
html.no-js .ql-weaver-banner,
html.no-js .mr-process-header,
html.no-js .mr-process-stepper-wrap,
html.no-js .mr-prop-item,
html.no-js .ql-faq-item,
html.no-js .ql-contact-grid > div,
html.no-js .ql-bento-card {
  opacity: 1 !important;
  transform: none !important;
}

/* Inview Subtle Zoom Out (for architectural hero assets) */
[data-ql-reveal="zoom-out"] {
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-ql-reveal="zoom-out"].ql-revealed {
  opacity: 1;
  transform: scale(1);
}

/* Subtle Image Scale on Hover */
.ql-zoom-img-wrap {
  overflow: hidden;
  position: relative;
}

.ql-zoom-img-wrap img {
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.ql-zoom-img-wrap:hover img {
  transform: scale(1.05);
}

/* ==========================================================================
   LUXURY BUTTONS & CTAS
   ========================================================================== */

.ql-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--ql-primary);
  color: var(--ql-surface-ivory);
  padding: 12px 24px;
  font-family: var(--ql-font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid var(--ql-primary);
  border-radius: 0;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
}

.ql-btn-primary:hover {
  background-color: #2A2A26;
  border-color: #2A2A26;
  color: #FFFFFF;
  letter-spacing: 0.18em;
}

.ql-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: transparent;
  color: var(--ql-primary);
  padding: 12px 24px;
  font-family: var(--ql-font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid var(--ql-primary);
  border-radius: 0;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
}

.ql-btn-secondary:hover {
  background-color: var(--ql-surface-stone);
  color: var(--ql-primary);
}

/* Hero Slider Secondary CTAs (WhatsApp Concierge, Trade Hub, Atelier Consultation) */
.ql-slide-ctas .ql-btn-secondary,
.ql-hero-btn.ql-btn-secondary {
  background-color: rgba(226, 194, 138, 0.10) !important;
  color: #E2C28A !important;
  border: 1px solid #E2C28A !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
}

.ql-slide-ctas .ql-btn-secondary span,
.ql-hero-btn.ql-btn-secondary span,
.ql-slide-ctas .ql-btn-secondary .material-symbols-outlined,
.ql-hero-btn.ql-btn-secondary .material-symbols-outlined {
  color: #E2C28A !important;
  transition: color 0.25s ease !important;
}

.ql-slide-ctas .ql-btn-secondary:hover,
.ql-hero-btn.ql-btn-secondary:hover {
  background-color: #E2C28A !important;
  border-color: #E2C28A !important;
  color: #0F2036 !important;
  transform: translateY(-2px);
}

.ql-slide-ctas .ql-btn-secondary:hover span,
.ql-hero-btn.ql-btn-secondary:hover span,
.ql-slide-ctas .ql-btn-secondary:hover .material-symbols-outlined,
.ql-hero-btn.ql-btn-secondary:hover .material-symbols-outlined {
  color: #0F2036 !important;
}

.ql-btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--ql-primary, #0F2036) !important;
  color: #FFFFFF !important;
  padding: 12px 24px;
  font-family: var(--ql-font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--ql-primary, #0F2036) !important;
  border-radius: 0;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
}

.ql-btn-whatsapp:hover {
  background-color: #193252 !important;
  border-color: #193252 !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(15, 32, 54, 0.25) !important;
}

.btn-whatsapp-enquire {
  background-color: var(--ql-primary, #0F2036) !important;
  border-color: var(--ql-primary, #0F2036) !important;
  color: #FFFFFF !important;
}

.btn-whatsapp-enquire:hover {
  background-color: #193252 !important;
  border-color: #193252 !important;
}

/* ==========================================================================
   HEADER & MEGA MENU NAVIGATION
   ========================================================================== */

.ql-header-wrapper {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: #FBF9F5;
  border-bottom: 1px solid var(--ql-border-hairline);
  transition: all 0.3s ease;
}

.ql-header-scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.ql-announcement-bar {
  background-color: var(--ql-primary);
  color: var(--ql-surface-ivory);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 7px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ql-main-nav {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 32px;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ql-logo-link {
  text-decoration: none;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.ql-logo-text {
  font-family: var(--ql-font-serif);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ql-primary);
  line-height: 1;
}

.ql-logo-sub {
  font-family: var(--ql-font-sans);
  font-size: 8.5px;
  letter-spacing: 0.2em;
  color: var(--ql-text-muted);
  text-transform: uppercase;
  margin-top: 3px;
}

.ql-nav-links {
  display: flex !important;
  align-items: center !important;
  gap: clamp(12px, 1.6vw, 26px) !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
}

.ql-nav-item {
  position: static;
  flex-shrink: 0 !important;
}

.ql-nav-link {
  font-family: var(--ql-font-sans);
  font-size: clamp(10.5px, 0.85vw, 11.5px) !important;
  font-weight: 500;
  letter-spacing: 0.09em !important;
  text-transform: uppercase;
  color: var(--ql-on-surface-variant);
  text-decoration: none;
  padding: 26px 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  word-break: keep-all !important;
  transition: color 0.2s ease;
}

.ql-nav-link:hover,
.ql-nav-item.active .ql-nav-link {
  color: var(--ql-primary);
  font-weight: 600;
}

/* MEGA MENU DROPDOWN */
.ql-mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: min(1380px, calc(100vw - 48px));
  max-width: calc(100vw - 32px);
  box-sizing: border-box;
  background-color: #FBF9F5 !important;
  border: 1px solid var(--ql-border-hairline);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  transform: translateY(8px);
  z-index: 1100;
  overflow: hidden;
  white-space: normal !important;
}

.ql-nav-item:hover .ql-mega-menu,
.ql-nav-item:focus-within .ql-mega-menu,
.ql-mega-menu:hover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.ql-mega-topbar {
  display: none !important;
}

.ql-mega-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr) minmax(0, 1.05fr) minmax(0, 1.15fr);
  gap: 28px;
  padding: 28px 32px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.ql-mega-col {
  min-width: 0;
  box-sizing: border-box;
  overflow: hidden;
}

.ql-mega-col-title {
  font-family: var(--ql-font-sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ql-earth-terracotta);
  margin-bottom: 14px;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(158, 90, 68, 0.2);
}

.ql-mega-col-sub {
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--ql-earth-terracotta);
  text-transform: uppercase;
}

.ql-mega-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ql-mega-item a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--ql-on-surface);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 400;
  transition: color 0.2s ease, transform 0.2s ease;
}

.ql-mega-item a:hover {
  color: var(--ql-secondary);
  transform: translateX(3px);
}

.ql-mega-item-tag {
  font-size: 10.5px;
  color: var(--ql-text-muted);
  font-style: italic;
  font-family: var(--ql-font-serif);
}

.ql-materials-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ql-materials-list li a {
  color: var(--ql-text-muted);
  font-size: 12.5px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.ql-materials-list li a:hover {
  color: var(--ql-primary);
}

.ql-pills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ql-pill {
  padding: 5px 12px;
  background-color: var(--ql-surface-stone);
  color: var(--ql-on-surface);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-decoration: none;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.ql-pill:hover {
  background-color: var(--ql-primary);
  color: #FFFFFF;
}

.ql-sizes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.ql-size-box {
  padding: 8px 10px;
  border: 1px solid var(--ql-border-hairline);
  background-color: var(--ql-surface-white);
  color: var(--ql-on-surface);
  font-size: 11.5px;
  text-align: center;
  text-decoration: none;
  transition: all 0.2s ease;
}

.ql-size-box:hover {
  border-color: var(--ql-primary);
  background-color: var(--ql-surface-stone);
}

.ql-swatches-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.ql-color-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.15);
  display: inline-block;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.ql-color-dot:hover {
  transform: scale(1.15);
}

.ql-spotlight-card {
  position: relative;
  background-color: var(--ql-surface-stone);
  border: 1px solid var(--ql-border-hairline);
  overflow: hidden;
  height: 100%;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 !important;
  box-sizing: border-box !important;
  white-space: normal !important;
}

.ql-spotlight-content,
.ql-spotlight-card > div:last-child {
  position: relative;
  z-index: 3;
  padding: 22px !important;
  width: 100%;
  box-sizing: border-box !important;
  color: #FFFFFF;
  white-space: normal !important;
  word-break: normal !important;
}

.ql-spotlight-card p,
.ql-spotlight-card h4,
.ql-spotlight-title {
  white-space: normal !important;
  word-break: normal !important;
}

.ql-spotlight-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.72) contrast(1.08);
  transition: transform 0.6s ease, filter 0.3s ease;
}

.ql-spotlight-card:hover .ql-spotlight-img {
  transform: scale(1.04);
  filter: brightness(0.78) contrast(1.08);
}

.ql-spotlight-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(15, 24, 38, 0.85) 100%);
}

.ql-spotlight-tag {
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ql-gold);
  font-weight: 600;
  margin-bottom: 4px;
}

.ql-spotlight-title,
.ql-spotlight-card h4 {
  font-family: var(--ql-font-serif);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.25;
  color: #FFFFFF !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95) !important;
  margin-bottom: 6px;
}

.ql-spotlight-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,0.4);
  padding-bottom: 2px;
  transition: all 0.2s ease;
}

.ql-spotlight-link:hover {
  border-color: #FFFFFF;
  color: var(--ql-gold);
}

/* Mega Menu Viewport Responsive Rules (Zero Overflow Across All Screens) */
@media screen and (min-width: 1025px) and (max-width: 1320px) {
  .ql-mega-menu {
    width: calc(100vw - 32px) !important;
    max-width: calc(100vw - 32px) !important;
    left: 16px !important;
    right: 16px !important;
    margin: 0 auto !important;
  }

  .ql-mega-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr) minmax(0, 1fr) minmax(0, 1.05fr) !important;
    gap: 16px !important;
    padding: 22px 20px !important;
  }

  .ql-mega-col-title {
    font-size: 9.5px !important;
    margin-bottom: 10px !important;
    padding-bottom: 4px !important;
    letter-spacing: 0.12em !important;
  }

  .ql-mega-col-sub {
    margin-top: 14px !important;
    margin-bottom: 8px !important;
    font-size: 9.5px !important;
    letter-spacing: 0.12em !important;
  }

  .ql-mega-list {
    gap: 8px !important;
  }

  .ql-mega-item a {
    font-size: 11.5px !important;
  }

  .ql-mega-item-tag {
    font-size: 9px !important;
  }

  .ql-materials-list {
    gap: 5px !important;
  }

  .ql-materials-list li a {
    font-size: 10.5px !important;
    line-height: 1.35 !important;
  }

  .ql-sizes-grid {
    gap: 4px !important;
  }

  .ql-sizes-grid .ql-size-box,
  .ql-mega-menu .ql-size-box {
    padding: 6px 4px !important;
    font-size: 9.5px !important;
    letter-spacing: -0.01em !important;
    white-space: nowrap !important;
  }

  .ql-spotlight-card {
    min-height: 250px !important;
    padding: 0 !important;
  }

  .ql-spotlight-content,
  .ql-spotlight-card > div:last-child {
    padding: 16px !important;
  }

  .ql-spotlight-title {
    font-size: 15px !important;
    margin-bottom: 4px !important;
  }

  .ql-spotlight-card p {
    font-size: 10px !important;
    margin-bottom: 8px !important;
    line-height: 1.35 !important;
  }

  .ql-spotlight-link,
  .ql-spotlight-card span {
    font-size: 9.5px !important;
  }
}

@media screen and (min-width: 1025px) and (max-width: 1140px) {
  .ql-mega-grid {
    gap: 12px !important;
    padding: 18px 16px !important;
  }
  
  .ql-mega-item a {
    font-size: 11px !important;
  }
  
  .ql-materials-list li a {
    font-size: 10px !important;
  }
  
  .ql-sizes-grid .ql-size-box,
  .ql-mega-menu .ql-size-box {
    padding: 5px 3px !important;
    font-size: 9px !important;
  }

  .ql-spotlight-content,
  .ql-spotlight-card > div:last-child {
    padding: 14px 12px !important;
  }
}

/* ==========================================================================
   PRODUCT CARDS & CATALOG GRID
   ========================================================================== */

/* Desktop Sticky Left Filter Sidebar */
@media (min-width: 992px) {
  .ql-filter-sidebar {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 24px !important;
    align-self: start !important;
    max-height: calc(100vh - 48px) !important;
    overflow-y: auto !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    padding-right: 12px !important;
    z-index: 10 !important;
  }
  .ql-filter-sidebar::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }
}

.ql-catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.ql-catalog-grid.editorial-view {
  grid-template-columns: repeat(2, 1fr) !important;
}

@media (max-width: 1024px) {
  .ql-catalog-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
  }
}

@media (max-width: 768px) {
  .ql-catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .ql-catalog-grid.single-col-view {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
}

.ql-product-card {
  background-color: var(--ql-surface-white);
  border: 1px solid var(--ql-border-hairline);
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.ql-product-card:hover {
  border-color: rgba(24, 24, 22, 0.25);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
}

.ql-card-media {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background-color: var(--ql-surface-stone);
  margin-bottom: 14px;
}

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

.ql-product-card:hover .ql-card-media img {
  transform: scale(1.04);
}

.ql-card-badge {
  position: absolute !important;
  top: 10px !important;
  left: 10px !important;
  background-color: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(6px) !important;
  -webkit-backdrop-filter: blur(6px) !important;
  padding: 4px 8px !important;
  font-size: 9.5px !important;
  font-weight: 600 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: #0F2036 !important;
  border: 1px solid rgba(15, 32, 54, 0.18) !important;
  border-radius: 2px !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06) !important;
  z-index: 5 !important;
  line-height: 1.2 !important;
  pointer-events: none !important;
}

button.ql-card-wishlist,
button.ql-prod-wish-btn,
button.mr-card-wishlist-btn,
button.js-wishlist-btn,
.ql-card-wishlist,
.ql-prod-wish-btn,
.mr-card-wishlist-btn,
.js-wishlist-btn {
  position: absolute !important;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  min-width: 24px;
  max-width: 34px;
  min-height: 24px;
  max-height: 34px;
  border-radius: 50% !important;
  -webkit-border-radius: 50% !important;
  border: 1px solid rgba(15, 32, 54, 0.15) !important;
  outline: none !important;
  background-color: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(6px) !important;
  -webkit-backdrop-filter: blur(6px) !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease !important;
  color: #0F2036 !important;
  box-shadow: 0 2px 8px rgba(15, 32, 54, 0.08) !important;
  padding: 0 !important;
  margin: 0 !important;
  z-index: 10 !important;
}

.ql-card-wishlist:hover,
.ql-prod-wish-btn:hover,
.mr-card-wishlist-btn:hover,
.js-wishlist-btn:hover {
  transform: scale(1.12);
  background-color: #FFFFFF !important;
  color: #0F2036 !important;
  box-shadow: 0 4px 12px rgba(15, 32, 54, 0.15) !important;
}

/* Active Wishlist State — Filled Heart */
.ql-card-wishlist.is-active,
.ql-prod-wish-btn.is-active,
.mr-card-wishlist-btn.is-active,
.js-wishlist-btn.is-active {
  color: #0F2036 !important;
  background-color: #FFFFFF !important;
}

.ql-card-wishlist.is-active .material-symbols-outlined,
.ql-prod-wish-btn.is-active .material-symbols-outlined,
.mr-card-wishlist-btn.is-active .material-symbols-outlined,
.js-wishlist-btn.is-active .material-symbols-outlined {
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24 !important;
  color: #0F2036 !important;
}

.ql-card-wishlist.is-active svg,
.ql-prod-wish-btn.is-active svg,
.mr-card-wishlist-btn.is-active svg,
.js-wishlist-btn.is-active svg {
  fill: #0F2036 !important;
  stroke: #0F2036 !important;
}

/* Product Card Size Sizing Chips / Pills */
.ql-card-size-pills {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
  margin-bottom: 2px;
}

.ql-card-size-pill,
a .ql-card-size-pill,
a:link .ql-card-size-pill,
a:visited .ql-card-size-pill,
a:hover .ql-card-size-pill,
.card-wrapper .ql-card-size-pill,
.product-card-wrapper .ql-card-size-pill,
.ql-card-size-pills span {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background-color: #EFECE6 !important;
  color: #0F2036 !important;
  -webkit-text-fill-color: #0F2036 !important;
  font-family: var(--ql-font-sans, 'Plus Jakarta Sans', sans-serif) !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  letter-spacing: 0.02em !important;
  padding: 3px 8px !important;
  border-radius: 2px !important;
  border: 1px solid rgba(15, 32, 54, 0.08) !important;
  white-space: nowrap !important;
  line-height: 1.3 !important;
  text-decoration: none !important;
}

.ql-card-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.ql-card-origin {
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ql-text-muted);
}

.ql-card-title {
  font-family: var(--ql-font-serif);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--ql-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.ql-card-title:hover {
  color: var(--ql-secondary);
}

.ql-card-meta {
  font-size: 11.5px;
  color: var(--ql-text-muted);
  margin-top: 2px;
}

.ql-card-actions {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--ql-border-hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ==========================================================================
   CARPET MAKING PROCESS (INTERACTIVE 6-STEP LOOM JOURNEY)
   ========================================================================== */

.mr-process-section {
  background-color: var(--ql-surface-ivory);
  padding: 80px 0;
  border-top: 1px solid var(--ql-border-hairline);
  border-bottom: 1px solid var(--ql-border-hairline);
}

.mr-process-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
}

.mr-preheading {
  font-family: var(--ql-font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ql-secondary);
  display: block;
  margin-bottom: 8px;
}

.mr-process-subheading {
  font-size: 14.5px;
  color: var(--ql-text-muted);
  line-height: 1.6;
  margin-top: 12px;
}

.mr-process-stepper-wrap {
  position: relative;
  max-width: 1080px;
  margin: 0 auto 48px;
}

.mr-process-track {
  position: absolute;
  top: 18px;
  left: 5%;
  right: 5%;
  height: 2px;
  background-color: var(--ql-surface-container-high);
  z-index: 1;
}

.mr-process-track-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background-color: var(--ql-secondary);
  transition: width 0.4s ease;
}

.mr-process-tabs {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
}

.mr-process-tab {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  transition: all 0.25s ease;
}

.mr-tab-num {
  width: 36px;
  height: 36px;
  background-color: var(--ql-surface-ivory);
  border: 2px solid var(--ql-border-hairline);
  color: var(--ql-text-muted);
  font-family: var(--ql-font-serif);
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  transition: all 0.25s ease;
}

.mr-process-tab.active .mr-tab-num {
  background-color: var(--ql-primary);
  border-color: var(--ql-primary);
  color: var(--ql-surface-ivory);
  transform: scale(1.1);
}

.mr-tab-label {
  font-family: var(--ql-font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ql-text-muted);
  transition: color 0.25s ease;
}

.mr-process-tab.active .mr-tab-label {
  color: var(--ql-primary);
}

.mr-process-stage-container {
  max-width: 1080px;
  margin: 0 auto;
}

.mr-process-panel {
  display: none;
  animation: qlFadeIn 0.4s ease forwards;
}

.mr-process-panel.active {
  display: block;
}

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

.mr-process-panel-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
  background-color: var(--ql-surface-stone);
  padding: 36px;
  border: 1px solid var(--ql-border-hairline);
}

@media (max-width: 820px) {
  .mr-process-panel-grid {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 24px;
  }
  .mr-process-tabs {
    overflow-x: auto;
    gap: 20px;
    padding-bottom: 12px;
  }
}

.mr-step-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.mr-step-count {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ql-secondary);
  font-weight: 600;
}

.mr-step-pill {
  background-color: var(--ql-surface-ivory);
  border: 1px solid var(--ql-border-hairline);
  padding: 3px 8px;
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ql-on-surface);
}

.mr-step-title {
  font-family: var(--ql-font-serif);
  font-size: 24px;
  color: var(--ql-primary);
  margin-bottom: 14px;
  line-height: 1.25;
}

.mr-step-text {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ql-on-surface-variant);
  margin-bottom: 12px;
}

.mr-step-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--ql-border-hairline);
}

.mr-metric-box {
  background-color: var(--ql-surface-ivory);
  padding: 12px 14px;
  border: 1px solid var(--ql-border-hairline);
}

.mr-metric-value {
  display: block;
  font-family: var(--ql-font-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--ql-primary);
}

.mr-metric-label {
  display: block;
  font-size: 10.5px;
  color: var(--ql-text-muted);
  margin-top: 2px;
}

.mr-process-img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border: 1px solid var(--ql-border-hairline);
}

.mr-process-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mr-process-badge-float {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background-color: rgba(251, 249, 245, 0.92);
  backdrop-filter: blur(4px);
  padding: 5px 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ql-primary);
}

/* ==========================================================================
   ATELIER WISHLIST DRAWER
   ========================================================================== */

.mr-wishlist-drawer {
  position: fixed;
  inset: 0;
  z-index: 1000000;
  visibility: hidden;
  pointer-events: none;
  overflow: hidden;
  transition: visibility 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mr-wishlist-drawer.is-open {
  visibility: visible;
  pointer-events: auto;
}

.mr-wishlist-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(15, 32, 54, 0.58);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  opacity: 0;
  display: block;
  transition: opacity 0.38s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity;
  cursor: pointer;
}

.mr-wishlist-drawer.is-open .mr-wishlist-backdrop {
  opacity: 1;
}

.mr-wishlist-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 440px;
  background-color: var(--ql-surface-ivory);
  border-left: 1px solid var(--ql-border-hairline);
  box-shadow: -16px 0 50px rgba(15, 32, 54, 0.22);
  display: flex;
  flex-direction: column;
  transform: translate3d(100%, 0, 0);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  z-index: 2;
  box-sizing: border-box;
}

.mr-wishlist-drawer.is-open .mr-wishlist-panel {
  transform: translate3d(0, 0, 0);
}

.mr-wishlist-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--ql-border-hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mr-wishlist-eyebrow {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ql-secondary);
  font-weight: 600;
  display: block;
}

.mr-wishlist-title {
  font-family: var(--ql-font-serif);
  font-size: 18px;
  color: var(--ql-primary);
  margin: 3px 0 0 0;
}

.mr-wishlist-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--ql-primary);
  transition: opacity 0.2s ease;
}

.mr-wishlist-close:hover {
  opacity: 0.6;
}

.mr-wishlist-body {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 20px 24px;
  scrollbar-width: thin;
  scrollbar-color: #D3CEBF transparent;
}
.mr-wishlist-body::-webkit-scrollbar {
  width: 5px;
}
.mr-wishlist-body::-webkit-scrollbar-track {
  background: transparent;
}
.mr-wishlist-body::-webkit-scrollbar-thumb {
  background: #D3CEBF;
}

.mr-wishlist-card {
  display: flex !important;
  flex-direction: row !important;
  gap: 16px !important;
  padding: 14px !important;
  background: #FFFFFF !important;
  border: 1px solid var(--ql-border-hairline) !important;
  align-items: stretch !important;
  position: relative !important;
  box-sizing: border-box !important;
  width: 100% !important;
}

.mr-wishlist-card-img,
.mr-wishlist-thumb {
  width: 90px !important;
  min-width: 90px !important;
  max-width: 90px !important;
  height: 110px !important;
  background-color: var(--ql-surface-stone) !important;
  overflow: hidden !important;
  flex-shrink: 0 !important;
  border: 1px solid var(--ql-border-hairline) !important;
  position: relative !important;
}

.mr-wishlist-card-img img,
.mr-wishlist-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
}

.mr-wishlist-card-details,
.mr-wishlist-info {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  min-width: 0 !important;
}

.mr-wishlist-card-weave,
.mr-wishlist-tag {
  font-family: var(--ql-font-sans) !important;
  font-size: 9.5px !important;
  font-weight: 600 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: #9E5A44 !important;
  display: block !important;
  margin-bottom: 2px !important;
}

.mr-wishlist-card-title,
.mr-wishlist-product-title {
  font-family: var(--ql-font-serif) !important;
  font-size: 14.5px !important;
  font-weight: 500 !important;
  line-height: 1.35 !important;
  margin: 0 0 4px 0 !important;
}

.mr-wishlist-card-title a,
.mr-wishlist-product-title a {
  color: var(--ql-primary) !important;
  text-decoration: none !important;
}

.mr-wishlist-card-title a:hover,
.mr-wishlist-product-title a:hover {
  color: var(--ql-secondary) !important;
}

.mr-wishlist-card-actions,
.mr-wishlist-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  margin-top: auto !important;
  padding-top: 6px !important;
  border-top: 1px solid #F0EEE9 !important;
}

.mr-wishlist-wa-item-btn,
.mr-wishlist-wa-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  background-color: rgba(15, 32, 54, 0.08) !important;
  color: #0F2036 !important;
  border: 1px solid rgba(15, 32, 54, 0.25) !important;
  padding: 5px 10px !important;
  font-family: var(--ql-font-sans) !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
}

.mr-wishlist-remove-btn {
  font-family: var(--ql-font-sans) !important;
  font-size: 10.5px !important;
  color: var(--ql-text-muted) !important;
  background: none !important;
  border: none !important;
  cursor: pointer !important;
  text-decoration: underline !important;
  padding: 0 !important;
}

.mr-wishlist-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--ql-border-hairline);
  background-color: var(--ql-surface-stone);
}

.mr-wishlist-empty {
  text-align: center;
  padding: 48px 24px;
  color: var(--ql-text-muted);
}

/* ==========================================================================
   QUIET LUXURY FOOTER
   ========================================================================== */

.ql-footer {
  background-color: var(--ql-surface-container-low);
  border-top: 1px solid var(--ql-border-hairline);
  color: var(--ql-on-surface);
  font-size: 13.5px;
}

.ql-footer-value-props {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  padding: 40px 0;
  border-bottom: 1px solid var(--ql-border-hairline);
}

@media (max-width: 900px) {
  .ql-footer-value-props {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .ql-footer-value-props {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    gap: 10px !important;
    padding: 14px 0 !important;
    margin: 0 -16px !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    border-bottom: 1px solid var(--ql-border-hairline) !important;
  }
  .ql-footer-value-props::-webkit-scrollbar {
    display: none !important;
  }
  .ql-footer-prop-item {
    flex: 0 0 auto !important;
    scroll-snap-align: start !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: #FFFFFF !important;
    border: 1px solid rgba(15, 32, 54, 0.08) !important;
    border-radius: 4px !important;
    padding: 8px 12px !important;
    box-sizing: border-box !important;
  }
  .ql-footer-prop-item .material-symbols-outlined {
    font-size: 18px !important;
    color: var(--ql-secondary, #C5A059) !important;
    flex-shrink: 0 !important;
  }
  .ql-footer-prop-title {
    font-size: 9px !important;
    letter-spacing: 0.08em !important;
    white-space: nowrap !important;
    line-height: 1.2 !important;
  }
  .ql-footer-prop-sub {
    font-size: 8px !important;
    white-space: nowrap !important;
    line-height: 1.2 !important;
    margin-top: 1px !important;
  }
}

.ql-footer-prop-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ql-footer-prop-title {
  font-family: var(--ql-font-sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ql-primary);
}

.ql-footer-prop-sub {
  font-size: 12px;
  color: var(--ql-text-muted);
  margin-top: 2px;
}

.ql-footer-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.1fr 1.1fr;
  gap: 48px;
  padding: 56px 0 40px;
}

@media (max-width: 1024px) {
  .ql-footer-main {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

@media (max-width: 640px) {
  .ql-footer-main {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.ql-footer-heading {
  font-family: var(--ql-font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ql-primary);
  margin-bottom: 16px;
}

.ql-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ql-footer-links a {
  color: var(--ql-on-surface-variant);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s ease;
}

.ql-footer-links a:hover {
  color: var(--ql-primary);
}

.ql-footer-sub {
  padding: 24px 0;
  border-top: 1px solid var(--ql-border-hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ql-text-muted);
  text-transform: uppercase;
}

/* ==========================================================================
   INTERACTIVE ACCORDIONS (PDP & FAQS)
   ========================================================================== */

/* ==========================================================================
   HIGH-PERFORMANCE ULTRA-SMOOTH ACCORDIONS
   ========================================================================== */

.ql-accordion-item {
  background-color: var(--ql-surface-ivory);
  border: 1px solid var(--ql-border-hairline);
  margin-bottom: 8px;
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}

.ql-accordion-item:hover {
  border-color: rgba(15, 32, 54, 0.22);
}

.ql-accordion-item.open {
  background-color: #FFFFFF !important;
  border-color: var(--ql-primary, #0F2036) !important;
  box-shadow: 0 4px 18px rgba(15, 32, 54, 0.05);
}

.ql-accordion-trigger {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 16px;
  transition: color 0.2s ease;
  outline: none;
}

.ql-accordion-title {
  font-family: var(--ql-font-serif, 'Playfair Display', serif);
  font-size: 17px;
  color: var(--ql-primary, #0F2036);
  font-weight: 500;
  transition: color 0.25s ease;
  line-height: 1.35;
  flex: 1;
}

.ql-accordion-trigger:hover .ql-accordion-title,
.ql-accordion-item.open .ql-accordion-title {
  color: var(--ql-secondary, #735B2D) !important;
}

.ql-accordion-icon {
  font-size: 20px;
  color: var(--ql-primary, #0F2036);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.25s ease !important;
  flex-shrink: 0;
  display: inline-block;
  transform-origin: center;
}

.ql-accordion-item.open .ql-accordion-icon {
  transform: rotate(45deg);
  color: var(--ql-secondary, #735B2D) !important;
}

.ql-accordion-content {
  display: none;
  overflow: hidden;
  padding: 0 24px 22px 24px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ql-text-muted, #53647C);
}

.ql-accordion-item.open .ql-accordion-content {
  display: block;
}

/* Native Dawn Accordions (<details>) Smooth Transition */
.accordion details {
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.accordion details summary {
  cursor: pointer;
  user-select: none;
  transition: color 0.2s ease;
}
.accordion details[open] summary .icon-caret {
  transform: rotate(180deg);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.accordion .accordion__content {
  overflow: hidden;
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   PAGE SPEED & HARDWARE ACCELERATION OPTIMIZATIONS
   ========================================================================== */

/* Modern CSS Content Visibility: skips offscreen layout cost until user scrolls */
.ql-construction-tabs-section,
/* Sections Layout & Containment */
.ql-noble-materials-section,
.ql-press-testimonials-section,
.ql-process-section,
.ql-faqs-contact-section,
.section-footer,
.related-products {
  /* content-visibility removed to prevent blank render gaps */
  box-sizing: border-box;
}

/* GPU Hardware Acceleration on Animated Layers */
.ql-slide-bg,
.ql-hero-section,
.mr-wishlist-panel,
.ql-mobile-bottom-nav,
.drawer__inner {
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* Conflicting Dawn Elements Suppression */
.header--top-left, .header--middle-left, .header--middle-center {
  display: none !important;
}

.product-form__buttons .shopify-payment-button,
.product-form__submit {
  display: none !important;
}

/* ==========================================================================
   PRODUCT DETAIL PAGE (PDP) - EDITORIAL 2-COLUMN LAYOUT
   ========================================================================== */

.ql-pdp-wrapper {
  background-color: var(--ql-surface-ivory);
  width: 100%;
}

.ql-pdp-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: start;
}

@media (max-width: 1024px) {
  .ql-pdp-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

.ql-pdp-gallery-sticky {
  position: sticky;
  top: 110px;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.ql-pdp-main-media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background-color: var(--ql-surface-stone, #EFECE6);
  overflow: hidden;
  border: 1px solid var(--ql-border-hairline, rgba(15, 32, 54, 0.08));
  margin-bottom: 16px;
  cursor: zoom-in;
  box-shadow: 0 8px 30px rgba(15, 32, 54, 0.05);
  box-sizing: border-box;
}

.ql-pdp-main-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.ql-pdp-main-media:hover img {
  transform: scale(1.035);
}

.ql-pdp-zoom-hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 32, 54, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: 5;
  pointer-events: none;
}

.ql-pdp-main-media:hover .ql-pdp-zoom-hover-overlay {
  opacity: 1;
  visibility: visible;
}

.ql-pdp-zoom-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 32, 54, 0.94);
  color: #FFFFFF;
  padding: 12px 24px;
  border: 1px solid rgba(226, 194, 138, 0.5);
  border-radius: 40px;
  font-family: var(--ql-font-sans, 'Inter', sans-serif);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transform: translateY(6px) scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ql-pdp-main-media:hover .ql-pdp-zoom-pill {
  transform: translateY(0) scale(1);
}

.ql-pdp-main-media:hover .ql-pdp-corner-zoom {
  opacity: 0;
}

.ql-pdp-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.ql-pdp-thumb {
  aspect-ratio: 4/3;
  background-color: var(--ql-surface-stone);
  border: 1px solid var(--ql-border-hairline);
  cursor: pointer;
  overflow: hidden;
  padding: 0;
  transition: border-color 0.2s ease, opacity 0.2s ease;
}

.ql-pdp-thumb:hover {
  opacity: 0.85;
}

.ql-pdp-thumb.active {
  border: 2px solid var(--ql-primary);
}

.ql-pdp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Size Selection Boxes (PDP) */
.ql-pdp-size-box,
#pdp-size-preset-wrap .ql-size-box {
  border: 1px solid var(--ql-border-hairline) !important;
  background-color: var(--ql-surface-white) !important;
  cursor: pointer;
  padding: 14px 16px !important;
  text-align: left !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  font-family: var(--ql-font-sans) !important;
  border-radius: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  display: block;
  width: 100%;
  box-sizing: border-box;
}

.ql-pdp-size-box:hover,
#pdp-size-preset-wrap .ql-size-box:hover {
  border-color: rgba(24, 24, 22, 0.4) !important;
  background-color: var(--ql-surface-stone) !important;
}

.ql-pdp-size-box.active,
#pdp-size-preset-wrap .ql-size-box.active {
  border-color: var(--ql-primary) !important;
  background-color: var(--ql-surface-stone) !important;
  box-shadow: 0 0 0 1px var(--ql-primary) !important;
}

/* Bespoke Architectural Loom Calculator */
.ql-custom-calculator {
  background-color: var(--ql-surface-white);
  border: 1px solid var(--ql-border-hairline);
  padding: 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
}

/* ==========================================================================
   LUXURY FORM INPUTS & TRADE UI (MATCHING CODE.HTML)
   ========================================================================== */

.ql-calc-input,
.ql-form-input {
  width: 100%;
  box-sizing: border-box;
  background-color: var(--ql-surface-stone) !important;
  border: 1px solid var(--ql-border-hairline) !important;
  padding: 12px 14px !important;
  font-family: var(--ql-font-sans) !important;
  font-size: 13px !important;
  color: var(--ql-primary) !important;
  outline: none !important;
  border-radius: 0 !important;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.ql-calc-input:focus,
.ql-form-input:focus {
  background-color: #FFFFFF !important;
  border-color: var(--ql-primary) !important;
  box-shadow: 0 0 0 1px var(--ql-primary) !important;
}

.ql-calc-input::placeholder,
.ql-form-input::placeholder {
  color: var(--ql-text-muted);
  opacity: 0.7;
}

select.ql-calc-input {
  cursor: pointer;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23181816'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
  padding-right: 36px !important;
  -webkit-appearance: none;
  appearance: none;
}

@media (max-width: 640px) {
  .ql-form-row {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON (FIXED CORNER WIDGET)
   ========================================================================== */

.floating-whatsapp-widget {
  position: fixed !important;
  bottom: 24px !important;
  right: 24px !important;
  z-index: 9999 !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  pointer-events: auto !important;
}

.floating-whatsapp-btn {
  width: 54px !important;
  height: 54px !important;
  border-radius: 50% !important;
  background-color: var(--ql-primary, #0F2036) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.2) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 4px 18px rgba(15, 32, 54, 0.35) !important;
  text-decoration: none !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease !important;
  flex-shrink: 0 !important;
}

.floating-whatsapp-btn:hover {
  transform: scale(1.08) !important;
  background-color: #193252 !important;
  box-shadow: 0 6px 24px rgba(15, 32, 54, 0.5) !important;
}

.floating-whatsapp-btn svg {
  width: 28px !important;
  height: 28px !important;
  fill: #FFFFFF !important;
  color: #FFFFFF !important;
  display: block !important;
}

.floating-whatsapp-tooltip {
  background: #0F2036 !important;
  color: #FFFFFF !important;
  font-family: var(--ql-font-sans, 'Plus Jakarta Sans', sans-serif) !important;
  font-size: 11px !important;
  padding: 8px 14px !important;
  border-radius: 4px !important;
  display: none !important;
  align-items: center !important;
  gap: 8px !important;
  white-space: nowrap !important;
  box-shadow: 0 4px 16px rgba(15, 32, 54, 0.3) !important;
  pointer-events: none !important;
}

.floating-whatsapp-widget:hover .floating-whatsapp-tooltip {
  display: flex !important;
}

.status-dot {
  width: 6px !important;
  height: 6px !important;
  border-radius: 50% !important;
  background-color: #C5A059 !important;
  display: inline-block !important;
}

/* Card Product Reset for Dawn Component Card (Desktop & PDP Related Products) */
.product-card-wrapper,
.card-wrapper {
  background: transparent !important;
}

.product-card-wrapper .card,
.card-wrapper .card {
  border: 1px solid var(--ql-border-hairline) !important;
  background-color: #FFFFFF !important;
  border-radius: 0 !important;
  padding: 12px 12px 14px !important;
  box-sizing: border-box !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.product-card-wrapper .card:hover,
.card-wrapper .card:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05) !important;
}

.product-card-wrapper .card__inner,
.card-wrapper .card__inner {
  border: none !important;
  border-radius: 0 !important;
  background-color: transparent !important;
  position: relative !important;
  overflow: hidden !important;
}

.product-card-wrapper .card__inner:after,
.card-wrapper .card__inner:after {
  display: none !important;
}

.product-card-wrapper .card__content,
.card-wrapper .card__content {
  padding: 10px 0 0 0 !important;
  background: transparent !important;
}

/* ==========================================================================
   MOBILE RESPONSIVE SUITE & BOTTOM NAVIGATION BUFFER
   Matches stitch_luxury_hotel_e_commerce_storefront the_ambiente_mobile_*
   ========================================================================== */

/* Universal Mobile Container Spacing */
@media screen and (max-width: 991px) {
  body {
    padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)) !important;
    overflow-x: clip !important;
  }

  /* Concierge in bottom navigation replaces floating button on mobile */
  .floating-whatsapp-widget {
    display: none !important;
  }

  /* Edge-to-Edge Margin Tightening on Mobile — Maximizes Product Card Surface Area */
  .ql-catalog-container {
    padding: 10px 8px 24px 8px !important;
    box-sizing: border-box !important;
  }

  .ql-showcase-section > div,
  .related-products.page-width,
  .page-width-desktop {
    padding-left: 8px !important;
    padding-right: 8px !important;
    box-sizing: border-box !important;
  }

  /* Catalog Grid & Aside Layout on Mobile */
  .ql-catalog-main-layout {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
  }

  .ql-filter-sidebar {
    position: static !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 10px 12px !important;
    top: auto !important;
    background-color: var(--ql-surface-stone) !important;
    border: 1px solid var(--ql-border-hairline) !important;
  }

  .ql-filter-sidebar-header {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    border-bottom: none !important;
    padding-bottom: 0 !important;
  }

  /* 2-Column Mobile Product Card Layout & Big Product Image Scaling */
  .ql-catalog-grid,
  .ql-catalog-grid.editorial-view {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .ql-product-card {
    min-width: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding: 8px 8px 10px !important;
    border: 1px solid var(--ql-border-hairline) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
  }

  .ql-card-size-pills {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 4px !important;
    overflow: hidden !important;
  }

  .ql-card-size-pill {
    font-size: 9px !important;
    padding: 2px 5px !important;
    max-width: 100% !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  .ql-card-media {
    aspect-ratio: 3/4 !important;
    margin-bottom: 8px !important;
    position: relative !important;
    overflow: hidden !important;
  }

  /* Compact top-left badge to avoid any collision with wishlist icon */
  .ql-card-badge {
    top: 6px !important;
    left: 6px !important;
    font-size: 7.5px !important;
    padding: 2px 5px !important;
    letter-spacing: 0.05em !important;
    max-width: 72% !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    z-index: 3 !important;
    line-height: 1.2 !important;
  }

  /* Compact circular wishlist icon */
  button.ql-card-wishlist,
  button.ql-prod-wish-btn,
  button.mr-card-wishlist-btn,
  button.js-wishlist-btn,
  .ql-card-wishlist,
  .ql-prod-wish-btn,
  .mr-card-wishlist-btn,
  .js-wishlist-btn {
    top: 6px !important;
    right: 6px !important;
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    max-width: 24px !important;
    min-height: 24px !important;
    max-height: 24px !important;
    padding: 0 !important;
    z-index: 4 !important;
  }

  .ql-card-wishlist .material-symbols-outlined,
  .ql-prod-wish-btn .material-symbols-outlined,
  .mr-card-wishlist-btn .material-symbols-outlined,
  .js-wishlist-btn .material-symbols-outlined {
    font-size: 13px !important;
    line-height: 1 !important;
  }

  /* Clean Typography hierarchy - Strict Single Line for 2-Column Cards */
  .ql-card-origin {
    font-size: 7.5px !important;
    letter-spacing: 0.08em !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    margin-bottom: 2px !important;
    display: block !important;
  }

  .ql-card-title,
  .card__heading,
  .card__heading a,
  .product-card-wrapper .card__heading,
  .product-card-wrapper .card__heading a,
  .ql-product-card .card__heading,
  .ql-product-card .card__heading a {
    font-size: 11px !important;
    line-height: 1.2 !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: block !important;
    min-height: auto !important;
    margin-bottom: 2px !important;
    color: var(--ql-primary, #0F2036) !important;
  }

  .ql-card-meta {
    font-size: 8px !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: block !important;
  }

  /* Sizing Pills */
  .ql-card-size-pills {
    display: flex !important;
    gap: 3px !important;
    margin-top: 3px !important;
    margin-bottom: 3px !important;
    flex-wrap: nowrap !important;
    overflow: hidden !important;
  }

  .ql-card-size-pill {
    font-size: 8px !important;
    padding: 2px 4px !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }

  /* Price styling for 2-column cards */
  .price,
  .price .price__regular,
  .price .price-item,
  .price-item--regular {
    font-size: 11px !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
  }

  /* Enquire Button on Mobile */
  .ql-card-actions {
    margin-top: 5px !important;
  }

  .ql-btn-whatsapp {
    font-size: 7.5px !important;
    padding: 6px 2px !important;
    letter-spacing: 0.02em !important;
    gap: 3px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    text-align: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
    overflow: hidden !important;
  }

  .ql-btn-whatsapp svg {
    width: 10px !important;
    height: 10px !important;
    flex-shrink: 0 !important;
  }

  .ql-btn-whatsapp span {
    font-size: 7.5px !important;
    letter-spacing: 0.02em !important;
    white-space: nowrap !important;
  }

  /* PDP Related Products Cards on Mobile: 2 Cards in One Row (Consistent with Collections & Catalog) */
  .related-products .grid,
  .ql-related-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .related-products .grid .grid__item,
  .ql-related-grid .grid__item {
    flex: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .product-card-wrapper .card {
    padding: 8px 8px 10px !important;
  }

  .product-card-wrapper .card .ql-card-badge {
    top: 6px !important;
    left: 6px !important;
    font-size: 8px !important;
    padding: 2px 5px !important;
  }

  .product-card-wrapper .card .ql-card-wishlist {
    top: 6px !important;
    right: 6px !important;
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    max-width: 24px !important;
    min-height: 24px !important;
    max-height: 24px !important;
    padding: 0 !important;
  }

  .product-card-wrapper .card__content {
    padding: 6px 0 0 0 !important;
  }

  /* Contact & Trade Hub Layout on Mobile */
  .ql-contact-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  /* Archetypes Grid on Tablet */
  .ql-archetypes-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }

  /* PDP Staging on Mobile */
  .ql-pdp-layout {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  .ql-pdp-gallery-sticky {
    position: static !important;
  }

  .ql-pdp-main-media {
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    max-height: none !important;
  }
}

@media screen and (max-width: 640px) {
  /* Headline font sizes proportionally reduced for optimal readability */
  .ql-display-hero {
    font-size: 30px !important;
    line-height: 1.2 !important;
  }

  .ql-headline-lg {
    font-size: 23px !important;
    line-height: 1.25 !important;
  }

  .ql-headline-md {
    font-size: 19px !important;
    line-height: 1.3 !important;
  }

  .ql-headline-sm {
    font-size: 16px !important;
    line-height: 1.35 !important;
  }

  .ql-body-lg {
    font-size: 14.5px !important;
    line-height: 1.6 !important;
  }

  /* Archetypes Single Column */
  .ql-archetypes-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  /* Contact Details Single Column */
  .ql-contact-meta-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  /* Form Row Single Column */
  .ql-form-row {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  /* Fullscreen Landscape Section */
  .ql-landscape-metrics {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }
}

/* Process Footer CTA Banner */
.ql-process-cta-banner {
  background-color: var(--ql-surface-stone);
  padding: 32px;
  border: 1px solid var(--ql-border-hairline);
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.ql-process-cta-text {
  text-align: left;
}

@media (max-width: 768px) {
  .ql-process-cta-banner {
    flex-direction: column !important;
    text-align: center !important;
    padding: 24px !important;
  }
  .ql-process-cta-text {
    text-align: center !important;
  }
}


/* Enforce pure contrast on Dark Nocturne Showcases */
.ql-dark-showcase-section h2,
.ql-dark-showcase-section h3,
.ql-dark-showcase-section h4,
.ql-dark-showcase-section .ql-headline-lg {
  color: #FFFFFF !important;
}
.ql-dark-showcase-section p,
.ql-dark-showcase-section .ql-body-md {
  color: #D1CEC7 !important;
}
.ql-dark-showcase-section .ql-label-caps {
  color: #C5A059 !important;
}

/* Eliminate extra focus outline/box on collection sort select */
#catalog-sort-select,
#catalog-sort-select:focus,
#catalog-sort-select:focus-visible,
#catalog-sort-select:active {
  outline: none !important;
  outline-offset: 0 !important;
  box-shadow: none !important;
  border-color: var(--ql-border-hairline) !important;
}

*:focus-visible#catalog-sort-select {
  outline: none !important;
  outline-offset: 0 !important;
  box-shadow: none !important;
}

/* Remove top-left collection name / badge from product cards on collection pages */
.template-collection .ql-card-badge,
.ql-catalog-wrapper .ql-card-badge,
.ql-catalog-container .ql-card-badge,
.ql-catalog-main-layout .ql-card-badge {
  display: none !important;
}

/* Live Search Modal Full-Viewport Elevation & Stacking Dominance */
body.ql-search-open {
  overflow: hidden !important;
}
body.ql-search-open .ql-header-wrapper,
body.ql-search-open .shopify-section-group-header-group,
body.ql-search-open #shopify-section-header,
body.ql-search-open header {
  z-index: 999999 !important;
  position: relative !important;
}
/* ==========================================================================
   QUIET LUXURY DYNAMIC FILTERS & FACETS (SHOPIFY SEARCH & DISCOVERY)
   ========================================================================== */

.ql-facets-wrapper {
  display: flex;
  flex-direction: column;
}

.ql-facets-active-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background-color: #EFECE6;
  border: 1px solid #E5E1D8;
  border-radius: 3px;
  margin-bottom: 16px;
}

.ql-facets-active-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ql-active-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #C5A059;
  display: inline-block;
}

.ql-active-count-text {
  font-family: var(--ql-font-sans, 'Plus Jakarta Sans', sans-serif);
  font-size: 11px;
  font-weight: 600;
  color: #0F2036;
  letter-spacing: 0.04em;
}

.ql-facets-clear-all-link {
  font-family: var(--ql-font-sans, 'Plus Jakarta Sans', sans-serif);
  font-size: 11px;
  color: #BA1A1A;
  text-decoration: underline;
  letter-spacing: 0.04em;
  transition: opacity 0.2s ease;
}

.ql-facets-clear-all-link:hover {
  opacity: 0.75;
}

.ql-filter-group {
  padding-top: 16px;
  margin-top: 16px;
  border-top: 1px solid var(--ql-border-hairline, #E5E1D8);
}

.ql-filter-group:first-child {
  padding-top: 0;
  margin-top: 0;
  border-top: none;
}

.ql-filter-group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.ql-filter-heading {
  font-family: var(--ql-font-sans, 'Plus Jakarta Sans', sans-serif) !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: #9E5A44 !important;
  display: block;
}

.ql-filter-group-active-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background-color: #0F2036;
  color: #FFFFFF;
  font-size: 9.5px;
  font-weight: 600;
  font-family: var(--ql-font-sans, sans-serif);
}

/* Options List (Checkboxes) */
.ql-filter-options-list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 7px !important;
}

.ql-filter-option-link {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  text-decoration: none !important;
  padding: 3px 0 !important;
  font-size: 12.5px !important;
  color: #2D3748 !important;
  font-family: var(--ql-font-sans, 'Plus Jakarta Sans', sans-serif) !important;
  transition: all 0.15s ease !important;
}

.ql-filter-option-link:hover {
  color: #0F2036 !important;
}

.ql-filter-option-left {
  display: flex !important;
  align-items: center !important;
  gap: 9px !important;
  flex: 1 !important;
  min-width: 0 !important;
}

.ql-filter-checkbox {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  border: 1.5px solid #C8C3B6 !important;
  border-radius: 3px !important;
  background-color: #FFFFFF !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.18s ease !important;
  box-sizing: border-box !important;
}

.ql-filter-option-link:hover .ql-filter-checkbox {
  border-color: #0F2036 !important;
}

.ql-filter-checkbox.is-checked {
  background-color: #0F2036 !important;
  border-color: #0F2036 !important;
  color: #FFFFFF !important;
}

.ql-filter-option-label {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.ql-filter-option-count {
  font-size: 11px !important;
  color: #858481 !important;
  font-weight: 500 !important;
  margin-left: 6px !important;
}

.ql-filter-option-link.is-active {
  font-weight: 600 !important;
  color: #0F2036 !important;
}

.ql-filter-option-link.is-disabled {
  opacity: 0.35 !important;
  pointer-events: none !important;
}

.ql-avail-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #2E7D32;
  display: inline-block;
}

/* 2-Column Luxury Size Grid */
.ql-filter-size-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 6px !important;
}

.ql-filter-size-chip {
  display: flex !important;
  flex-direction: column !important;
  padding: 7px 9px !important;
  border: 1px solid #DCD7CD !important;
  border-radius: 3px !important;
  background-color: #FAF8F5 !important;
  text-decoration: none !important;
  color: #0F2036 !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-sizing: border-box !important;
}

.ql-filter-size-chip:hover {
  border-color: #0F2036 !important;
  background-color: #FFFFFF !important;
  transform: translateY(-1px);
}

.ql-filter-size-chip.is-active {
  background-color: #0F2036 !important;
  color: #FFFFFF !important;
  border-color: #0F2036 !important;
  box-shadow: 0 3px 10px rgba(15, 32, 54, 0.2) !important;
}

.ql-size-chip-top {
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
}

.ql-size-check-icon {
  color: #C5A059 !important;
  display: inline-flex !important;
  align-items: center !important;
}

.ql-size-name {
  font-family: var(--ql-font-sans, 'Plus Jakarta Sans', sans-serif) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
  line-height: 1.2 !important;
}

.ql-size-chip-bot {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-top: 3px !important;
}

.ql-size-sub {
  font-size: 9px !important;
  color: #858481 !important;
  font-family: var(--ql-font-sans, sans-serif) !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.ql-filter-size-chip.is-active .ql-size-sub {
  color: #D3CEBF !important;
}

.ql-size-badge {
  font-size: 9px !important;
  color: #858481 !important;
  font-weight: 600 !important;
  margin-left: auto !important;
}

.ql-filter-size-chip.is-active .ql-size-badge {
  color: #C5A059 !important;
}

.ql-filter-size-chip.is-disabled {
  opacity: 0.35 !important;
  pointer-events: none !important;
}

/* Price Range Inputs */
.ql-price-inputs-row {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.ql-price-input-wrap {
  display: flex !important;
  align-items: center !important;
  border: 1px solid #DCD7CD !important;
  border-radius: 2px !important;
  background-color: #FFFFFF !important;
  padding: 6px 8px !important;
  flex: 1 !important;
  box-sizing: border-box !important;
}

.ql-price-input-wrap:focus-within {
  border-color: #0F2036 !important;
}

.ql-price-currency {
  font-size: 11px !important;
  color: #858481 !important;
  margin-right: 4px !important;
}

.ql-price-input-wrap input {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  width: 100% !important;
  font-size: 11.5px !important;
  font-family: var(--ql-font-sans, sans-serif) !important;
  color: #0F2036 !important;
  background: transparent !important;
  padding: 0 !important;
  min-width: 0 !important;
}

.ql-price-sep {
  color: #858481 !important;
  font-size: 12px !important;
}

.ql-price-apply-btn {
  background-color: #0F2036 !important;
  color: #FFFFFF !important;
  border: 1px solid #0F2036 !important;
  border-radius: 2px !important;
  padding: 7px 11px !important;
  font-size: 10.5px !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
}

.ql-price-apply-btn:hover {
  background-color: #1A365D !important;
}

.ql-price-reset-link {
  font-size: 10.5px !important;
  color: #858481 !important;
  text-decoration: underline !important;
}

.ql-price-reset-link:hover {
  color: #BA1A1A !important;
}

/* Signature Collection Link */
.ql-filter-collection-link {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  text-decoration: none !important;
  font-size: 12.5px !important;
  padding: 3px 0 !important;
  color: #4A5568 !important;
  transition: color 0.15s ease !important;
}

.ql-filter-collection-link:hover {
  color: #0F2036 !important;
}

.ql-filter-collection-link.is-active {
  color: #C5A059 !important;
  font-weight: 600 !important;
}

/* Active Facets Bar Above Grid */
.ql-active-facets-bar {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 8px !important;
  padding-bottom: 14px !important;
  margin-bottom: 20px !important;
  border-bottom: 1px solid var(--ql-border-hairline, #E5E1D8) !important;
}

.ql-active-facets-title {
  font-family: var(--ql-font-sans, sans-serif) !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  color: #858481 !important;
  margin-right: 4px !important;
}

.ql-active-facets-items {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 8px !important;
}

.ql-active-facet-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 4px 9px !important;
  background-color: #FAF8F5 !important;
  border: 1px solid #DCD7CD !important;
  border-radius: 2px !important;
  text-decoration: none !important;
  color: #0F2036 !important;
  font-size: 11px !important;
  font-family: var(--ql-font-sans, sans-serif) !important;
  transition: all 0.18s ease !important;
}

.ql-active-facet-pill:hover {
  border-color: #BA1A1A !important;
  color: #BA1A1A !important;
  background-color: #FFF5F5 !important;
}

.ql-active-facet-pill svg {
  color: #858481 !important;
  transition: color 0.15s ease !important;
}

.ql-active-facet-pill:hover svg {
  color: #BA1A1A !important;
}

.ql-active-pill-clear {
  font-size: 11px !important;
  color: #9E5A44 !important;
  text-decoration: underline !important;
  font-weight: 600 !important;
  margin-left: 6px !important;
  letter-spacing: 0.04em !important;
}

.ql-sidebar-clear-btn {
  font-size: 11px !important;
  color: #9E5A44 !important;
  text-decoration: underline !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em !important;
}

.ql-search-scrim.active,
#ql-search-scrim.active {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(15, 32, 54, 0.55) !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
  z-index: 999998 !important;
}

/* Eliminate Extra Focus Outline / Double Border on Search Input */
#ql-search-input-field,
#ql-search-input-field:focus,
#ql-search-input-field:focus-visible,
#ql-search-input-field:active,
*:focus-visible#ql-search-input-field {
  outline: none !important;
  outline-offset: 0 !important;
  box-shadow: none !important;
  border: none !important;
}
.ql-search-input-wrapper:focus-within {
  border-color: #0F2036 !important;
  box-shadow: none !important;
  outline: none !important;
}

/* Responsive Column Layout Density */
@media (min-width: 992px) {
  .ql-catalog-grid.ql-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 20px !important;
  }
  .ql-catalog-grid.ql-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }
}

@media (max-width: 991px) {
  .ql-catalog-grid.ql-cols-1 {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  .ql-catalog-grid.ql-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }
}

/* Compact Mobile Filter Drawer Action Buttons */
.ql-drawer-btn-clear {
  white-space: nowrap !important;
  font-size: 10px !important;
  padding: 8px 14px !important;
  height: 38px !important;
  letter-spacing: 0.08em !important;
  flex: 0 0 auto !important;
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  text-align: center !important;
  box-sizing: border-box !important;
  text-transform: uppercase !important;
  font-weight: 600 !important;
  border-radius: 0 !important;
}

.ql-drawer-btn-view {
  white-space: nowrap !important;
  font-size: 10px !important;
  padding: 8px 14px !important;
  height: 38px !important;
  letter-spacing: 0.08em !important;
  flex: 1 !important;
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  text-transform: uppercase !important;
  font-weight: 600 !important;
  border-radius: 0 !important;
}


