/* ============================================================
   PAJOMAR — Design System & Global Styles
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Outfit:wght@300;400;500;600;700&family=Tajawal:wght@300;400;500;700&display=swap');

:root {
  --primary: #3DB4E0;
  --primary-dark: #2A9BC7;
  --primary-light: #6ECAE8;
  --secondary: #8FC4DC;
  --accent: #B8D4E8;
  --accent-warm: #E8DDD0;

  --dark: #0D0D0D;
  --dark-soft: #1A1A1A;
  --dark-muted: #2A2A2A;

  --warm-white: #FAF8F5;
  --warm-cream: #F5F0E8;
  --warm-sand: #EDE6DA;
  --header-bg: rgba(250, 248, 245, 0.95);

  --text: #1C1C1C;
  --text-muted: #6B6560;
  --text-light: #9A948E;

  --border: rgba(0, 0, 0, 0.08);
  --border-light: rgba(255, 255, 255, 0.12);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
  --shadow-nav: 0 -2px 20px rgba(0, 0, 0, 0.08);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Outfit', system-ui, sans-serif;
  --font-brand: 'Cinzel', 'Cormorant Garamond', Georgia, serif;

  --nav-height: 80px;
  --mobile-nav-height: 68px;
  --mobile-top-height: 56px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius: 4px;
  --radius-lg: 8px;

  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: var(--warm-white);
  overflow-x: hidden;
}

html[dir="rtl"] body {
  font-family: 'Tajawal', var(--font-body);
}

html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4,
html[dir="rtl"] h5,
html[dir="rtl"] h6,
html[dir="rtl"] .display-xl,
html[dir="rtl"] .display-lg,
html[dir="rtl"] .display-md {
  font-family: 'Tajawal', var(--font-body);
}

.lang-switch-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  min-width: auto;
  padding: 10px 14px !important;
  border: none;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: var(--text);
}

.lang-switch-btn:hover,
.lang-switch-btn:focus,
.lang-switch-btn:focus-visible,
.lang-switch-btn:active {
  background: none;
  border: none;
  box-shadow: none;
  transform: none;
  color: var(--text);
  outline: none;
}

.lang-switch-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.lang-switch-icon svg {
  width: 15px;
  height: 15px;
}

.lang-switch-text {
  line-height: 1;
}

.lang-switch-btn--menu {
  padding: 8px 12px !important;
  font-size: 11px;
}

.site-header.transparent .lang-switch-btn {
  background: none;
  box-shadow: none;
  color: #fff;
}

.site-header.transparent .lang-switch-btn:hover,
.site-header.transparent .lang-switch-btn:focus,
.site-header.transparent .lang-switch-btn:focus-visible,
.site-header.transparent .lang-switch-btn:active {
  background: none;
  box-shadow: none;
  color: #fff;
}

.empty-state {
  text-align: center;
  padding: 80px 24px;
  color: var(--text-muted);
  grid-column: 1 / -1;
}

html[dir="rtl"] .hero-content {
  margin: 0 max(24px, calc((100% - 1400px) / 2 + 24px)) 0 auto;
  text-align: right;
}

html[dir="rtl"] .mega-menu {
  left: auto;
  right: 50%;
  transform: translateX(50%) translateY(8px);
}

html[dir="rtl"] .nav-item.has-mega:hover .mega-menu,
html[dir="rtl"] .nav-item.has-mega.open .mega-menu {
  transform: translateX(50%) translateY(0);
}

html[dir="rtl"] .mobile-menu-drawer {
  right: auto;
  left: 0;
  transform: translateX(-100%);
}

html[dir="rtl"] .mobile-menu-drawer.open {
  transform: translateX(0);
}

html[dir="rtl"] .filter-drawer {
  right: auto;
  left: 0;
  transform: translateX(-100%);
}

html[dir="rtl"] .filter-drawer.open {
  transform: translateX(0);
}

html[dir="rtl"] .whatsapp-btn::before {
  right: auto;
  left: calc(100% + 12px);
}

body.menu-open,
body.search-open,
body.filter-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  background: var(--warm-cream);
}

.hero-bg img,
.category-card img,
.collection-card img,
.fabric-swatch img,
.product-card-image img,
.product-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.2;
}

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 1100px;
}

/* Typography */
.display-xl {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.display-lg {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
}

.display-md {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
}

.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
}

.text-muted { color: var(--text-muted); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  color: #fff;
}

.btn-outline {
  border: 1.5px solid var(--primary);
  color: #fff;
  background: var(--primary);
}

.btn-outline:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
}

.btn-dark {
  background: var(--primary);
  color: #fff;
}

.btn-dark:hover {
  background: var(--primary-dark);
  color: #fff;
}

.btn-ghost {
  color: var(--text);
  padding: 10px 16px;
}

.btn-ghost:hover { color: var(--primary); }

.btn-sm {
  padding: 10px 20px;
  font-size: 11px;
}

/* ============================================================
   DESKTOP NAVBAR
   ============================================================ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}

.site-header.transparent {
  background: transparent;
}

.site-header.transparent .nav-link,
.site-header.transparent .nav-action {
  color: #fff;
}

.site-header.transparent .logo-text { color: #fff; }

.site-header.scrolled,
.site-header.solid {
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

.site-header.scrolled .nav-link,
.site-header.scrolled .nav-action,
.site-header.solid .nav-link,
.site-header.solid .nav-action {
  color: var(--text);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-lockup {
  text-decoration: none;
}

.logo-mark {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--dark);
  border: 2px solid var(--secondary);
  display: block;
}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 8%;
  background: var(--dark);
}

.logo-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}

.logo-name {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--primary);
  white-space: nowrap;
}

.logo-tagline {
  font-size: 7.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-top: 2px;
  white-space: nowrap;
}

.site-header.transparent .logo-name { color: var(--primary-light); }
.site-header.transparent .logo-tagline { color: var(--secondary); }

.site-header.scrolled .logo-name,
.site-header.solid .logo-name { color: var(--primary); }

.logo-lockup--footer .logo-mark {
  width: 52px;
  height: 52px;
}

.logo-lockup--footer .logo-name {
  font-size: 20px;
}

.logo-lockup--footer .logo-tagline {
  font-size: 8px;
}

.nav-main {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: block;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--text);
  transition: color var(--transition);
}

.nav-link:hover,
.nav-link.active { color: var(--primary); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-action {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  transition: color var(--transition);
}

.nav-action:not(.lang-switch-btn):hover { color: var(--primary); }

.nav-action svg { width: 18px; height: 18px; }

.nav-action .wishlist-count {
  background: var(--primary);
  color: #fff;
  font-size: 10px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-quote {
  background: var(--primary);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: var(--radius);
  margin-left: 4px;
}

.btn-quote:hover {
  background: var(--primary-dark);
  color: #fff !important;
}

.mobile-menu-cta,
.mobile-menu-cta.btn-primary {
  background: var(--primary);
  color: #fff !important;
}

.mobile-menu-cta:hover {
  background: var(--primary-dark);
  color: #fff !important;
}

/* Mega Menu */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: min(900px, 90vw);
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 32px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}

.nav-item.has-mega:hover .mega-menu,
.nav-item.has-mega.open .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.mega-grid-folders {
  grid-template-columns: 1fr;
}

.mega-folder-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px 24px;
}

.mega-count {
  margin-inline-start: auto;
  font-size: 12px;
  color: var(--text-muted);
}

.mega-col h4 {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.mega-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--text);
  transition: color var(--transition);
}

.mega-link:hover { color: var(--primary); }

.mega-link img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: var(--radius);
}

/* Desktop Search */
.search-trigger { position: relative; }

.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(13, 13, 13, 0.6);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}

.search-overlay.open {
  opacity: 1;
  visibility: visible;
}

.search-panel {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: var(--warm-white);
  padding: 24px 0 0;
  transform: translateY(-20px);
  transition: transform var(--transition);
}

.search-overlay.open .search-panel {
  transform: translateY(0);
}

.search-panel-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px 24px;
}

.search-input-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 2px solid var(--border);
  padding-bottom: 16px;
}

.search-input-wrap svg {
  width: 24px;
  height: 24px;
  color: var(--text-muted);
  flex-shrink: 0;
}

.search-input {
  flex: 1;
  border: none;
  background: none;
  font-size: 18px;
  font-family: var(--font-body);
  color: var(--text);
  outline: none;
}

.search-input::placeholder { color: var(--text-light); }

.search-close {
  padding: 8px;
  color: var(--text-muted);
  transition: color var(--transition);
}

.search-close:hover { color: var(--text); }

.search-results {
  max-height: 60vh;
  overflow-y: auto;
  margin-top: 16px;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
  min-width: 0;
}

.search-result-info {
  flex: 1;
  min-width: 0;
}

.search-result-item:hover { background: var(--warm-cream); margin: 0 -16px; padding: 12px 16px; }

.search-result-item img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: var(--radius);
}

.search-result-info h5 {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
}

.search-result-info p {
  font-size: 12px;
  color: var(--text-muted);
}

.search-view-all {
  display: block;
  text-align: center;
  padding: 16px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  margin-top: 8px;
}

.search-view-all:hover { text-decoration: underline; }

.search-empty {
  padding: 32px;
  text-align: center;
  color: var(--text-muted);
}

/* ============================================================
   MOBILE BOTTOM NAVIGATION
   ============================================================ */

.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.06);
  padding-bottom: var(--safe-bottom);
}

.mobile-bottom-nav-inner {
  display: flex;
  align-items: stretch;
  justify-content: space-around;
  height: var(--mobile-nav-height);
  max-width: 500px;
  margin: 0 auto;
}

.mobile-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 2px 6px;
  color: #111;
  transition: color var(--transition);
  position: relative;
  -webkit-tap-highlight-color: transparent;
}

.mobile-nav-item svg {
  width: 22px;
  height: 22px;
  transition: transform var(--transition);
}

.mobile-nav-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-nav-free {
  position: absolute;
  top: -6px;
  inset-inline-end: -10px;
  font-size: 6px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  color: #111;
}

.mobile-nav-item span {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0;
  text-align: center;
  line-height: 1.2;
  max-width: 100%;
}

.mobile-nav-item.active {
  color: #111;
}

.mobile-nav-item.active svg {
  transform: none;
}

.mobile-nav-item .badge {
  position: absolute;
  top: 6px;
  right: calc(50% - 18px);
  background: var(--primary);
  color: #fff;
  font-size: 9px;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* Mobile Menu Drawer */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(13, 13, 13, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}

.mobile-menu-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(360px, 90vw);
  z-index: 1101;
  background: var(--warm-white);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  padding-bottom: calc(var(--mobile-nav-height) + var(--safe-bottom) + 24px);
}

.mobile-menu-drawer.open {
  transform: translateX(0);
}

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

.mobile-menu-header .logo-mark {
  width: 40px;
  height: 40px;
}

.mobile-menu-close {
  padding: 8px;
  color: var(--text);
}

.mobile-menu-nav { padding: 16px 0; }

.mobile-menu-link {
  display: block;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 400;
  color: var(--text);
  transition: background var(--transition), color var(--transition);
}

.mobile-menu-link:hover,
.mobile-menu-link.active {
  background: var(--warm-cream);
  color: var(--primary);
}

.mobile-menu-accordion-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 24px;
  font-size: 15px;
  color: var(--text);
  text-align: left;
}

.mobile-menu-accordion-btn svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition);
}

.mobile-menu-accordion-btn.open svg { transform: rotate(180deg); }

.mobile-menu-sub {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  background: var(--warm-cream);
}

.mobile-menu-sub.open {
  max-height: min(70vh, 720px);
  overflow-y: auto;
}

.mobile-menu-sub h5 {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 12px 24px 8px 24px;
}

.mobile-menu-folders {
  display: flex;
  flex-direction: column;
  padding: 0 12px 12px;
  gap: 4px;
}

.mobile-menu-folder {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  font-size: 14px;
  color: var(--text);
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
}

.mobile-menu-folder:hover,
.mobile-menu-folder:active {
  color: var(--primary);
  background: rgba(61, 180, 224, 0.08);
}

.mobile-menu-folder img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: var(--radius);
  flex-shrink: 0;
  background: var(--warm-sand);
}

.mobile-menu-folder span {
  flex: 1;
  line-height: 1.3;
}

.mobile-menu-cta {
  margin: 24px;
  display: block;
  text-align: center;
}

/* Mobile Search Full Screen */
.mobile-search-overlay {
  position: fixed;
  inset: 0;
  z-index: 1050;
  background: var(--warm-white);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: calc(var(--mobile-nav-height) + var(--safe-bottom));
  overflow: hidden;
}

.mobile-search-overlay.open {
  transform: translateY(0);
}

.mobile-search-header {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--warm-white);
}

.mobile-search-input-wrap {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--warm-cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.mobile-search-input-wrap svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--text-muted);
}

.mobile-search-header .search-input {
  flex: 1;
  min-width: 0;
  width: 100%;
  font-size: 16px;
  line-height: 1.4;
  border: none;
  background: transparent;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.mobile-search-header .search-input::placeholder {
  color: var(--text-light);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mobile-search-close {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--warm-cream);
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: background var(--transition), color var(--transition);
}

.mobile-search-close:hover,
.mobile-search-close:active {
  background: var(--warm-sand);
  color: var(--text);
}

.mobile-search-close svg {
  width: 20px;
  height: 20px;
}

.mobile-search-results {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 8px 16px 24px;
}

/* Mobile Categories Sheet */
.mobile-categories-overlay {
  position: fixed;
  inset: 0;
  z-index: 1050;
  background: var(--warm-white);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  padding-bottom: calc(var(--mobile-nav-height) + var(--safe-bottom) + 16px);
}

.mobile-categories-overlay.open {
  transform: translateY(0);
}

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

.mobile-categories-header h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
}

.mobile-cat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 20px;
}

.mobile-cat-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1;
}

.mobile-cat-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.mobile-cat-card span {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: #fff;
  font-size: 13px;
  font-weight: 500;
}

/* ============================================================
   WHATSAPP BUTTON
   ============================================================ */

.whatsapp-btn {
  position: fixed;
  bottom: 82px;
  right: 24px;
  z-index: 850;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: transform var(--transition), box-shadow var(--transition);
  animation: whatsappEnter 0.6s ease 1s both;
}

.whatsapp-btn .ai-chat-label { display: none; }

.whatsapp-btn .whatsapp-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.whatsapp-btn svg { width: 28px; height: 28px; }

.whatsapp-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

.whatsapp-btn::before {
  content: 'Chat with us';
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--dark);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.whatsapp-btn:hover::before { opacity: 1; }

@keyframes whatsappEnter {
  from { opacity: 0; transform: scale(0.5) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
  z-index: 0;
}

.hero-slide.is-active {
  opacity: 1;
  z-index: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1);
}

.hero-slide.is-active img {
  animation: heroKenBurns 6s ease-out forwards;
}

@keyframes heroKenBurns {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    to right,
    rgba(13, 13, 13, 0.72) 0%,
    rgba(13, 13, 13, 0.38) 48%,
    rgba(13, 13, 13, 0.12) 100%
  );
  pointer-events: none;
}

.hero-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  background: none;
  backdrop-filter: none;
  border-radius: 0;
  border: none;
}

.hero-dot {
  width: 6px;
  height: 6px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), width var(--transition);
}

.hero-dot.is-active {
  width: 22px;
  border-radius: 999px;
  background: #fff;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 700px;
  padding: calc(var(--nav-height) + 40px) 24px 80px;
  margin: 0 auto 0 max(24px, calc((100% - 1400px) / 2 + 24px));
  color: #fff;
  animation: fadeUp 1s ease 0.3s both;
}

.hero-content .eyebrow { color: var(--accent); }

.hero-content h1 {
  margin: 16px 0 24px;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 400;
  line-height: 1.1;
}

.hero-content p {
  font-size: 17px;
  line-height: 1.7;
  opacity: 0.9;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-brand-mark {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.4vw, 1.45rem);
  font-weight: 500;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 8px;
  opacity: 0.95;
  animation: brandReveal 1.1s ease both;
}

.hero-brand .hero-content h1 {
  max-width: 14ch;
  margin-top: 8px;
}

.hero-brand .hero-content p {
  max-width: 38ch;
}

@keyframes brandReveal {
  from { opacity: 0; letter-spacing: 0.6em; transform: translateY(10px); }
  to { opacity: 0.95; letter-spacing: 0.42em; transform: translateY(0); }
}

.lookbooks-header {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: end;
  margin-bottom: 40px;
  text-align: start;
}

.lookbooks-header .section-header,
.lookbooks-header.section-header {
  margin-bottom: 0;
}

.lookbooks-lede {
  font-size: 15px;
  line-height: 1.7;
  max-width: 34ch;
  margin: 0;
  justify-self: end;
}

.lookbook-mosaic {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(160px, 18vw);
  gap: 14px;
}

.lookbook-tile {
  position: relative;
  grid-column: span 3;
  overflow: hidden;
  border-radius: 18px;
  isolation: isolate;
  background: var(--warm-sand);
}

.lookbook-tile--hero {
  grid-column: span 6;
  grid-row: span 2;
}

.lookbook-tile--tall {
  grid-row: span 2;
  grid-column: span 3;
}

.lookbook-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1), filter 0.5s ease;
  filter: saturate(0.92) contrast(1.02);
}

.lookbook-tile:hover img {
  transform: scale(1.06);
  filter: saturate(1.05) contrast(1.04);
}

.lookbook-tile-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 18px 18px 16px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  background: linear-gradient(transparent, rgba(8, 10, 12, 0.78));
  color: #fff;
}

.lookbook-tile-name {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.8vw, 1.55rem);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.lookbook-tile-meta {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.75;
  flex-shrink: 0;
}

.home-statement {
  position: relative;
  padding: 100px 24px;
  background:
    linear-gradient(120deg, rgba(13, 13, 13, 0.55), rgba(13, 13, 13, 0.35)),
    radial-gradient(ellipse at 30% 40%, rgba(61, 180, 224, 0.25), transparent 50%),
    var(--dark);
  color: #fff;
  overflow: hidden;
}

.home-statement-inner {
  max-width: 820px;
  text-align: center;
}

.home-statement-eyebrow {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 18px;
}

.home-statement h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 28px;
}

.home-statement-cta {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.home-statement-cta:hover {
  background: #fff;
  color: var(--dark);
  border-color: #fff;
}

.section-ritual {
  background: var(--warm-white);
}

.ritual-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.ritual-item {
  padding: 28px 24px;
  border-top: 1px solid var(--border);
  transition: border-color var(--transition), transform var(--transition);
}

.ritual-item:hover {
  border-top-color: var(--primary);
  transform: translateY(-4px);
}

.ritual-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 14px;
}

.ritual-item h4 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  margin-bottom: 10px;
}

.ritual-item p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

.cta-banner-chic {
  background:
    radial-gradient(ellipse at 80% 20%, rgba(61, 180, 224, 0.18), transparent 45%),
    linear-gradient(145deg, #101214 0%, #1c2328 100%);
}

.cta-banner-chic .eyebrow {
  color: var(--primary-light);
  margin-bottom: 12px;
}

@media (max-width: 900px) {
  .lookbooks-header {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .lookbooks-lede {
    justify-self: start;
    max-width: none;
  }

  .lookbook-mosaic {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: minmax(140px, 28vw);
  }

  .lookbook-tile { grid-column: span 3; }
  .lookbook-tile--hero { grid-column: span 6; grid-row: span 2; }
  .lookbook-tile--tall { grid-column: span 3; grid-row: span 1; }

  .ritual-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .lookbook-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 180px;
  }

  .lookbook-tile,
  .lookbook-tile--tall { grid-column: span 1; grid-row: span 1; }
  .lookbook-tile--hero { grid-column: span 2; grid-row: span 2; }

  .hero-brand-mark { letter-spacing: 0.28em; }
}

.hero-actions .btn-outline,
.hero-outline,
.hero-sedar-panel .hero-actions a.btn.btn-outline.hero-outline {
  border: 1.5px solid rgba(255, 255, 255, 0.85) !important;
  background: rgba(255, 255, 255, 0.08) !important;
  background-color: rgba(255, 255, 255, 0.08) !important;
  color: #fff !important;
  box-shadow: none !important;
}

.hero-actions .btn-outline:hover,
.hero-outline:hover,
.hero-sedar-panel .hero-actions a.btn.btn-outline.hero-outline:hover {
  background: #fff !important;
  background-color: #fff !important;
  border-color: #fff !important;
  color: #0d0d0d !important;
  transform: none;
}

.hero-sedar-panel .hero-actions .btn,
.hero-sedar-panel .hero-actions .btn-shop,
.hero-sedar-panel .hero-actions .hero-outline {
  flex: 0 0 auto;
  width: auto;
  min-width: 200px;
  min-height: 56px;
  padding: 18px 36px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 6px;
  white-space: nowrap;
  line-height: 1.2;
  text-align: center;
}

.hero-sedar-panel .hero-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: stretch;
  max-width: 100%;
  width: auto;
}

.hero-sedar-panel .hero-actions .btn-shop,
.hero-sedar-panel .hero-actions a.btn.btn-shop {
  background: var(--primary) !important;
  background-color: var(--primary) !important;
  border: 1.5px solid var(--primary) !important;
  color: #fff !important;
  box-shadow: none !important;
}

.hero-sedar-panel .hero-actions .btn-shop:hover,
.hero-sedar-panel .hero-actions a.btn.btn-shop:hover {
  background: var(--primary-dark) !important;
  background-color: var(--primary-dark) !important;
  border-color: var(--primary-dark) !important;
  color: #fff !important;
  box-shadow: none !important;
  transform: none;
}

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

@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    transition: none;
  }

  .hero-slide.is-active img {
    animation: none;
  }
}

/* ============================================================
   SECTIONS
   ============================================================ */

.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
}

.section-header h2 { margin: 12px 0 16px; }

.section-dark {
  background: var(--dark);
  color: #fff;
}

.section-cream { background: var(--warm-cream); }

/* Category Cards */
.category-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.category-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  group: category;
}

.folder-gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-auto-rows: 1fr;
  width: 100%;
  height: 100%;
  gap: 1px;
  background: rgba(0, 0, 0, 0.08);
}

.category-card .folder-gallery-grid,
.collection-card .folder-gallery-grid {
  position: absolute;
  inset: 0;
}

.folder-gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fabric-swatch .folder-gallery-grid {
  width: 100%;
  height: 100%;
}

.fabric-page-gallery,
.collection-page-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.fabric-page-gallery img,
.collection-page-gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
}

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

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

.category-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 35%, rgba(13,13,13,0.82));
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.category-card-overlay span {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.lookbook-card-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lookbook-card-text small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-lookbooks {
  background:
    radial-gradient(ellipse 80% 60% at 10% 20%, rgba(61, 180, 224, 0.08), transparent 55%),
    radial-gradient(ellipse 70% 50% at 90% 80%, rgba(232, 221, 208, 0.55), transparent 50%),
    var(--warm-white);
}

.lookbook-grid .lookbook-card {
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

.lookbook-grid .lookbook-card:hover {
  box-shadow: var(--shadow-md);
}

/* Fabric Swatches */
.fabric-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.fabric-card {
  text-align: center;
  transition: transform var(--transition);
}

.fabric-card:hover { transform: translateY(-4px); }

.fabric-swatch {
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
}

.fabric-swatch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.fabric-card:hover .fabric-swatch img { transform: scale(1.08); }

.fabric-card h4 {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
}

/* Collection Cards */
.collection-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.collection-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/10;
}

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

.collection-card:hover img { transform: scale(1.04); }

.collection-card-content {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 30%, rgba(13,13,13,0.8));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  color: #fff;
}

.collection-card-content h3 {
  font-size: 1.75rem;
  margin-bottom: 8px;
}

.collection-card-content p {
  font-size: 14px;
  opacity: 0.85;
  margin-bottom: 16px;
}

.collection-card-content .link-arrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

/* Why Choose Us */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-item {
  text-align: center;
  padding: 32px 24px;
}

.feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(61, 180, 224, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.feature-icon svg { width: 24px; height: 24px; }

.feature-item h4 {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
}

.feature-item p {
  font-size: 14px;
  color: var(--text-muted);
}

/* CTA Banner */
.cta-banner {
  text-align: center;
  padding: 80px 24px;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-soft) 100%);
  color: #fff;
}

.cta-banner h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 16px;
}

.cta-banner p {
  opacity: 0.8;
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   PRODUCT LISTING
   ============================================================ */

.page-hero {
  padding: calc(var(--nav-height) + 48px) 0 48px;
  background: var(--warm-cream);
  text-align: center;
}

.page-hero h1 { margin-bottom: 12px; }

.page-hero p {
  max-width: 560px;
  margin: 0 auto;
  color: var(--text-muted);
}

.faq-page {
  padding-bottom: 80px;
}

.consult-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 8px 0 48px;
}

.consult-hero {
  padding-bottom: 36px;
}

.consult-mood {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.consult-mood img {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.consult-mood img:nth-child(2) {
  transform: translateY(-8px);
}

.consult-card {
  padding: 0 0 24px;
  overflow: visible;
  background: var(--warm-cream);
  border-radius: 14px;
}

.consult-card-top {
  position: relative;
  height: 132px;
  margin-bottom: 8px;
}

.consult-card-top img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 14px 14px 0 0;
}

.consult-icon {
  position: absolute;
  left: 16px;
  bottom: -18px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--primary-dark);
  border-radius: 50%;
  box-shadow: 0 6px 16px rgba(42, 155, 199, 0.18);
  z-index: 1;
}

.consult-icon svg {
  width: 22px;
  height: 22px;
}

.consult-card .eyebrow,
.consult-card h3,
.consult-card > p {
  padding-left: 24px;
  padding-right: 24px;
}

html[dir="rtl"] .consult-icon {
  left: auto;
  right: 16px;
}

.consult-card h3 {
  margin: 22px 0 10px;
  font-size: 1.25rem;
}

.consult-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

.faq-heading {
  text-align: center;
  margin: 8px 0 28px;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

@media (max-width: 768px) {
  .consult-mood img {
    width: 72px;
    height: 72px;
  }

  .consult-services {
    grid-template-columns: 1fr;
  }

  .faq-page {
    padding-bottom: 112px;
  }

  .faq-heading {
    font-size: 1.35rem;
    margin: 4px 0 12px;
  }

  .faq-list {
    margin-bottom: 36px;
  }

  .faq-q {
    gap: 12px;
    padding: 16px 2px;
    font-size: 1rem;
    line-height: 1.5;
  }

  .faq-a {
    padding: 0 2px 18px;
  }

  .faq-a p {
    font-size: 14px;
    line-height: 1.7;
    max-width: none;
  }

  .faq-cta {
    padding: 32px 18px;
  }

  .faq-cta p {
    max-width: none;
  }
}

.faq-list {
  max-width: 780px;
  margin: 0 auto 56px;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-q {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  max-width: 100%;
  padding: 22px 0;
  background: none;
  border: none;
  box-shadow: none;
  text-align: start;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.4vw, 1.45rem);
  font-weight: 500;
  line-height: 1.4;
  color: var(--text);
  cursor: pointer;
}

.faq-q > span:not(.faq-chevron) {
  flex: 1 1 auto;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

html[dir="rtl"] .faq-q {
  font-family: 'Tajawal', var(--font-body);
}

.faq-chevron {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: var(--primary);
  transition: transform 0.25s ease;
}

.faq-chevron svg {
  display: block;
  width: 18px;
  height: 18px;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

.faq-a {
  display: none;
  padding: 0 0 22px;
}

.faq-item.open .faq-a {
  display: block;
}

.faq-a p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 62ch;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.faq-cta {
  text-align: center;
  padding: 48px 24px;
  background: var(--warm-cream);
  border-radius: 16px;
  margin-bottom: 24px;
}

.faq-cta h2 {
  margin-bottom: 10px;
}

.faq-cta p {
  color: var(--text-muted);
  margin: 0 auto 24px;
  max-width: 42ch;
}

.listing-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  padding: 48px 0 80px;
}

.filter-sidebar {
  position: sticky;
  top: calc(var(--nav-height) + 24px);
  align-self: start;
  max-height: calc(100vh - var(--nav-height) - 48px);
  overflow-y: auto;
  padding: 20px;
  background: linear-gradient(165deg, #fff 0%, var(--warm-cream) 140%);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}

.filter-lookbooks-head {
  margin-bottom: 18px;
}

.filter-lookbooks-head h4 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  margin-bottom: 6px;
  color: var(--text);
}

.filter-lookbooks-head p {
  font-size: 12px;
  line-height: 1.45;
  color: var(--text-muted);
}

.filter-lookbook-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filter-lookbook {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition), transform var(--transition);
}

.filter-lookbook:hover {
  border-color: rgba(61, 180, 224, 0.35);
  background: #fff;
  transform: translateX(2px);
}

html[dir="rtl"] .filter-lookbook:hover {
  transform: translateX(-2px);
}

.filter-lookbook:has(input:checked) {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(61, 180, 224, 0.15);
}

.filter-lookbook input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.filter-lookbook-thumb {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--warm-sand);
}

.filter-lookbook-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.filter-lookbook:hover .filter-lookbook-thumb img,
.filter-lookbook:has(input:checked) .filter-lookbook-thumb img {
  transform: scale(1.08);
}

.filter-lookbook-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.filter-lookbook-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

.filter-lookbook-count {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.filter-lookbook:has(input:checked)::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
  margin-inline-end: 4px;
}

.filter-group {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

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

.filter-group h4 {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 14px;
  cursor: pointer;
  color: var(--text);
}

.filter-option .filter-count {
  margin-inline-start: auto;
  font-size: 12px;
  color: var(--text-muted);
}

.filter-option input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
  cursor: pointer;
}

.color-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.color-swatch {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color var(--transition), transform var(--transition);
}

.color-swatch:hover,
.color-swatch.active {
  border-color: var(--primary);
  transform: scale(1.1);
}

.color-swatch[data-color="White"] { background: #fff; box-shadow: inset 0 0 0 1px var(--border); }
.color-swatch[data-color="Beige"] { background: #D4C4A8; }
.color-swatch[data-color="Cream"] { background: #F5F0E0; box-shadow: inset 0 0 0 1px var(--border); }
.color-swatch[data-color="Grey"] { background: #9E9E9E; }
.color-swatch[data-color="Brown"] { background: #8B6914; }
.color-swatch[data-color="Black"] { background: #1C1C1C; }
.color-swatch[data-color="Other"] { background: linear-gradient(135deg, #E8DDD0, #8FC4DC); }

.price-range {
  padding: 8px 0;
}

.price-range input[type="range"] {
  width: 100%;
  accent-color: var(--primary);
}

.price-range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 8px;
}

.filter-clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 18px;
  padding: 11px 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 999px;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.filter-clear:hover {
  text-decoration: none;
  color: #fff;
  background: var(--dark);
  border-color: var(--dark);
}

.listing-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.listing-count {
  font-size: 14px;
  color: var(--text-muted);
}

.listing-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}

.sort-select {
  padding: 10px 36px 10px 14px;
  font-family: var(--font-body);
  font-size: 13px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B6560' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center;
  appearance: none;
  cursor: pointer;
}

.filter-mobile-btn {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
}

.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 500;
  background: #fff;
  border: 1px solid rgba(61, 180, 224, 0.35);
  border-radius: 999px;
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

.filter-chip button {
  display: flex;
  padding: 2px;
  color: var(--text-muted);
  transition: color var(--transition);
}

.filter-chip button:hover { color: var(--primary); }

.filter-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  background: linear-gradient(180deg, #fff 0%, var(--warm-cream) 160%);
}

.filter-drawer-body .filter-lookbooks-head h4 {
  font-size: 1.5rem;
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  position: relative;
  group: product;
  min-width: 0;
  max-width: 100%;
}

.product-card-image {
  position: relative;
  aspect-ratio: 3/4;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--warm-cream);
  margin-bottom: 16px;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.5s ease, transform 0.6s ease;
}

.product-card-image .img-secondary {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.product-card:hover .product-card-image .img-primary {
  transform: scale(1.05);
}

.product-card:hover .product-card-image .img-secondary {
  opacity: 1;
}

.product-card-actions {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(13, 13, 13, 0.4);
  opacity: 0;
  transition: opacity var(--transition);
}

.product-card:hover .product-card-actions { opacity: 1; }

.product-card-actions .btn {
  padding: 10px 24px;
  font-size: 11px;
  background: var(--primary);
  color: #fff;
}

.product-card-actions .btn:hover {
  background: var(--primary-dark);
  color: #fff;
}

.wishlist-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition);
  z-index: 2;
}

.wishlist-btn:hover,
.wishlist-btn.active {
  color: var(--primary);
  background: #fff;
}

.wishlist-btn.active svg { fill: var(--primary); }

.product-card-info {
  min-width: 0;
  max-width: 100%;
}

.product-card-info h3 {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 4px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.product-card-meta {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.product-card-request {
  display: inline-block;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  transition: color var(--transition);
}

.product-card-request:hover {
  color: var(--primary-dark);
}

.product-card-price {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

.product-card-price .from {
  font-weight: 400;
  color: var(--text-muted);
  font-size: 12px;
}

/* Filter Drawer Mobile */
.filter-drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(13, 13, 13, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}

.filter-drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

.filter-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 400px;
  z-index: 1201;
  background: var(--warm-white);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.filter-drawer.open { transform: translateX(0); }

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

.filter-drawer-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 12px;
}

.filter-drawer-footer .btn { flex: 1; }

/* ============================================================
   PRODUCT DETAIL
   ============================================================ */

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 4vw, 64px);
  padding: calc(var(--nav-height) + 48px) 0 80px;
  width: 100%;
  max-width: 100%;
  align-items: start;
}

.product-detail > * {
  min-width: 0;
  max-width: 100%;
}

.product-gallery {
  width: 100%;
  max-width: 560px;
}

.product-gallery-main {
  aspect-ratio: 4/5;
  width: 100%;
  max-width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--warm-cream);
  margin-bottom: 12px;
}

.product-gallery-main img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  display: block;
}

.product-gallery-thumbs {
  display: flex;
  gap: 12px;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  padding-bottom: 4px;
}

.product-gallery-thumbs button {
  width: 80px;
  height: 80px;
  flex: 0 0 80px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid transparent;
  transition: border-color var(--transition);
}

.product-gallery-thumbs button.active,
.product-gallery-thumbs button:hover {
  border-color: var(--primary);
}

.product-gallery-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.product-info .eyebrow { margin-bottom: 8px; }

.product-info h1 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 8px;
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
}

.product-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 24px 0;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.product-meta-item {
  flex: 1;
  min-width: 100px;
}

.product-meta-item label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.product-meta-item span { font-size: 14px; }

.product-colors {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.product-color-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
}

.product-color-dot.active { border-color: var(--primary); }

.product-description {
  margin: 24px 0;
  color: var(--text-muted);
  line-height: 1.8;
}

.product-specs {
  margin: 32px 0;
}

.product-specs h4 {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.product-specs dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 24px;
  font-size: 14px;
}

.product-specs dt { color: var(--text-muted); }

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
  width: 100%;
}

.product-actions .btn {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
  padding: 12px 24px;
  border-radius: 999px;
  white-space: nowrap;
  text-align: center;
}

.related-section {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}

.related-section h2 {
  text-align: center;
  margin-bottom: 40px;
}

/* ============================================================
   FABRICS PAGE
   ============================================================ */

.fabrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 48px 0 80px;
}

.fabric-page-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.fabric-page-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.fabric-page-card-image {
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
}

.fabric-page-card-image .folder-gallery-grid,
.collection-editorial-image .folder-gallery-grid {
  position: absolute;
  inset: 0;
}

.fabric-page-card-image img,
.fabric-page-card-image .folder-gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.fabric-page-card:hover .fabric-page-card-image img,
.fabric-page-card:hover .fabric-page-card-image .folder-gallery-grid img {
  transform: scale(1.05);
}

.fabric-page-card-body {
  padding: 24px;
}

.fabric-page-card-body h3 {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
}

.fabric-page-card-body .texture {
  font-size: 12px;
  color: var(--primary);
  margin-bottom: 12px;
}

.fabric-page-card-body p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.7;
}

.fabric-colors-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.fabric-colors-list span {
  font-size: 11px;
  padding: 4px 10px;
  background: var(--warm-cream);
  border-radius: 12px;
  color: var(--text-muted);
}

/* ============================================================
   COLLECTIONS & INSPIRATION PAGES
   ============================================================ */

.editorial-hero {
  position: relative;
  height: 70vh;
  min-height: 400px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.editorial-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.editorial-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 30%, rgba(13,13,13,0.7));
}

.editorial-hero-content {
  position: relative;
  z-index: 1;
  padding: 48px;
  color: #fff;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
}

.editorial-hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 12px;
}

.collections-editorial {
  padding: 80px 0;
}

.collection-editorial-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 80px;
}

.collection-editorial-item:nth-child(even) {
  direction: rtl;
}

.collection-editorial-item:nth-child(even) > * {
  direction: ltr;
}

.collection-editorial-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  position: relative;
}

.collection-editorial-image img,
.collection-editorial-image .folder-gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collection-editorial-text .eyebrow { margin-bottom: 12px; }

.collection-editorial-text h2 {
  margin-bottom: 16px;
}

.collection-editorial-text p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 24px;
}

/* ============================================================
   CUSTOM CURTAINS PAGE
   ============================================================ */

.custom-hero {
  padding: calc(var(--nav-height) + 80px) 0 80px;
  text-align: center;
  background: linear-gradient(180deg, var(--warm-cream) 0%, var(--warm-white) 100%);
}

.custom-hero h1 { margin: 16px 0 24px; }

.custom-hero p {
  max-width: 600px;
  margin: 0 auto 40px;
  color: var(--text-muted);
  font-size: 17px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  padding: 80px 0;
}

.process-step {
  text-align: center;
  position: relative;
}

.process-step-number {
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-step h4 {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 13px;
  color: var(--text-muted);
}

/* ============================================================
   ABOUT & CONTACT
   ============================================================ */

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 48px 0 80px;
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
}

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

.about-text h2 { margin-bottom: 20px; }

.about-text p {
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.8;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: 48px 0 80px;
}

.contact-info h3 { margin-bottom: 24px; }

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-item svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--text-muted);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--primary);
}

.contact-form textarea { min-height: 140px; resize: vertical; }

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .logo { margin-bottom: 16px; }

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  padding: 6px 0;
  transition: color var(--transition);
}

.footer-col a:hover { color: var(--primary-light); }

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

/* ============================================================
   WISHLIST PAGE / MODAL
   ============================================================ */

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

.wishlist-empty svg {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  color: var(--text-light);
}

/* Quick View Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(13, 13, 13, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--warm-white);
  border-radius: var(--radius-lg);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.95);
  transition: transform var(--transition);
}

.modal-overlay.open .modal-content {
  transform: scale(1);
}

/* Fade-in animation for sections */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1200px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .fabric-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
  .nav-main, .nav-actions .nav-action:not(.btn-quote):not(.search-trigger):not(.lang-switch-btn) {
    display: none;
  }

  .listing-layout {
    grid-template-columns: 1fr;
  }

  .filter-sidebar { display: none; }

  .filter-mobile-btn { display: flex; }

  .product-grid { grid-template-columns: repeat(3, 1fr); }

  .product-detail {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 40px;
    align-items: start;
    padding: calc(var(--nav-height) + 40px) 0 64px;
  }

  .product-gallery-main {
    aspect-ratio: 4 / 5;
    max-width: 520px;
  }

  .product-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .product-actions .btn {
    flex: 0 1 auto;
    min-width: 0;
    width: auto;
    padding: 12px 22px;
    border-radius: 999px;
    white-space: nowrap;
  }

  .fabrics-grid { grid-template-columns: repeat(2, 1fr); }

  .collection-editorial-item {
    grid-template-columns: 1fr;
  }

  .collection-editorial-item:nth-child(even) { direction: ltr; }

  .process-steps { grid-template-columns: repeat(3, 1fr); }

  .footer-grid { grid-template-columns: 1fr 1fr; }

  .features-grid { grid-template-columns: repeat(2, 1fr); }

  .collection-grid { grid-template-columns: 1fr; }
}

.hero-mobile-actions {
  display: none;
}

@media (max-width: 900px) {
  .hero-mobile-actions {
    display: flex !important;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 6;
    align-items: center;
    justify-content: flex-end;
    padding: 18px 20px;
    pointer-events: none;
    background: none;
  }

  html[dir="rtl"] .hero-mobile-actions {
    direction: rtl;
    justify-content: flex-start;
  }

  .hero-mobile-actions-group {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    pointer-events: auto;
    padding: 0;
    border: none;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .hero-mobile-actions-divider {
    display: none;
  }

  .hero-mobile-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    color: #fff;
    opacity: 0.88;
    padding: 4px;
    filter: none;
    transition: opacity 0.2s ease;
  }

  .hero-mobile-contact:hover,
  .hero-mobile-contact:active {
    opacity: 1;
    background: none;
  }

  .hero-mobile-contact svg {
    width: 18px;
    height: 18px;
  }

  .lang-switch-btn--hero {
    min-width: 0;
    height: auto;
    color: #fff !important;
    opacity: 0.88;
    padding: 4px 0 !important;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    text-shadow: none;
    transition: opacity 0.2s ease;
  }

  .lang-switch-btn--hero:hover,
  .lang-switch-btn--hero:focus,
  .lang-switch-btn--hero:focus-visible,
  .lang-switch-btn--hero:active {
    color: #fff !important;
    opacity: 1;
    background: none;
  }

  .hero-sedar-panel {
    padding-top: 96px;
  }
}

.mobile-top-bar {
  display: none;
}

@media (max-width: 768px) {
  :root {
    --nav-height: 56px;
    --mobile-top-height: 56px;
    --mobile-nav-height: 72px;
  }

  .site-header { display: none; }

  .hero-mobile-actions { display: none !important; }

  .mobile-top-bar {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--mobile-top-height);
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }

  .mobile-top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 14px;
  }

  .mobile-top-cluster {
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .mobile-top-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 4px;
    color: #111;
    background: none;
    border: none;
    box-shadow: none;
  }

  .mobile-top-btn svg {
    width: 20px;
    height: 20px;
  }

  .mobile-lang-btn {
    gap: 4px;
    min-width: 0;
    padding: 0 6px;
  }

  .mobile-lang-caret {
    display: flex;
    width: 8px;
    height: 8px;
  }

  .mobile-lang-caret svg {
    width: 8px;
    height: 8px;
  }

  .mobile-lang-code {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    line-height: 1;
  }

  html[dir="rtl"] .mobile-top-arrow svg {
    transform: scaleX(-1);
  }

  .mobile-bottom-nav { display: block; }

  body {
    padding-top: var(--mobile-top-height);
    padding-bottom: calc(var(--mobile-nav-height) + var(--safe-bottom));
  }

  .page-hero {
    padding-top: 32px;
  }

  .whatsapp-btn {
    left: auto;
    right: 16px;
    bottom: calc(var(--mobile-nav-height) + var(--safe-bottom) + 72px);
    width: 52px;
    height: 52px;
    background: #25D366;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  }

  html[dir="rtl"] .whatsapp-btn {
    left: 16px;
    right: auto;
  }

  .whatsapp-btn .whatsapp-icon { display: flex; }
  .whatsapp-btn .ai-chat-label { display: none; }

  .whatsapp-btn::before { display: none; }

  .mobile-search-header {
    padding: 10px 12px;
    gap: 8px;
  }

  .mobile-search-input-wrap {
    padding: 9px 12px;
    gap: 8px;
  }

  .mobile-search-results {
    padding: 8px 12px 20px;
  }

  .mobile-search-overlay .search-result-item {
    gap: 12px;
    padding: 12px 0;
    margin: 0;
    align-items: center;
  }

  .mobile-search-overlay .search-result-item:hover,
  .mobile-search-overlay .search-result-item:active {
    margin: 0;
    padding: 12px 0;
    background: transparent;
  }

  .mobile-search-overlay .search-result-info {
    flex: 1;
    min-width: 0;
  }

  .mobile-search-overlay .search-result-info h5 {
    font-size: 13px;
    line-height: 1.35;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-search-overlay .search-result-info p {
    font-size: 11px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-search-overlay .search-result-item img {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
  }

  .mobile-search-overlay .search-empty {
    padding: 24px 12px;
    font-size: 14px;
    line-height: 1.6;
    word-break: break-word;
  }

  .mobile-search-overlay .search-view-all {
    padding: 14px 12px;
    font-size: 12px;
  }

  html[dir="rtl"] .mobile-search-header {
    flex-direction: row-reverse;
  }

  html[dir="rtl"] .mobile-search-input-wrap {
    flex-direction: row-reverse;
  }

  .hero {
    min-height: 85vh;
  }

  .hero.hero-sedar {
    min-height: 0;
    height: auto;
  }

  .hero-bg img {
    object-position: center center;
  }

  .hero-dots {
    padding: 0;
    gap: 8px;
  }

  .hero.hero-sedar .hero-dots,
  .hero-sedar .hero-dots {
    position: absolute;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    z-index: 4;
  }

  .hero-dot.is-active {
    width: 22px;
  }

  .hero-content {
    margin: 0;
    padding: 60px 24px 80px;
    text-align: center;
  }

  .hero-content p { margin-left: auto; margin-right: auto; }

  .hero-actions { justify-content: center; }

  .section { padding: 56px 0; }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .fabric-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .features-grid { grid-template-columns: 1fr; }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .product-card-actions { display: none; }

  .product-card:hover .product-card-image .img-primary {
    transform: none;
  }

  .listing-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .listing-controls {
    justify-content: space-between;
  }

  .fabrics-grid { grid-template-columns: 1fr; }

  .process-steps {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-content,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .page-hero {
    padding: 48px 0 32px;
  }

  .product-detail {
    grid-template-columns: 1fr;
    padding: 32px 0 56px;
    gap: 28px;
  }

  .product-gallery {
    max-width: 100%;
  }

  .product-gallery-main {
    aspect-ratio: 1 / 1;
    width: 88%;
    max-width: 340px;
    margin-inline: auto;
    border-radius: 14px;
  }

  .product-gallery-thumbs {
    gap: 8px;
  }

  .product-gallery-thumbs button {
    width: 64px;
    height: 64px;
    flex-basis: 64px;
  }

  .product-info h1 {
    font-size: clamp(1.45rem, 6.5vw, 1.9rem);
    line-height: 1.25;
  }

  .product-meta-row {
    gap: 12px;
    margin: 16px 0;
    padding: 16px 0;
  }

  .product-meta-item {
    min-width: 0;
    flex: 1 1 40%;
  }

  .product-actions {
    margin-top: 24px;
    flex-direction: column;
  }

  .product-actions .btn {
    flex: 1 1 auto;
    width: 100%;
    border-radius: 999px;
    white-space: normal;
  }

  .related-section {
    padding: 48px 0 64px;
  }

  .related-section h2 {
    font-size: clamp(1.35rem, 5.5vw, 1.75rem);
    padding: 0 4px;
    overflow-wrap: anywhere;
  }

  .editorial-hero { height: 50vh; }

  .editorial-hero-content { padding: 24px; }
}

@media (max-width: 768px) {
  .modal-content[style*="grid"] {
    display: block !important;
    padding: 20px !important;
  }

  .modal-content[style*="grid"] img {
    margin-bottom: 20px;
  }
}

/* Desktop-only padding when no mobile nav */
@media (min-width: 769px) {
  .page-content {
    padding-top: var(--nav-height);
  }

  .page-hero {
    padding-top: calc(var(--nav-height) + 48px);
  }
}

/* ============================================================
   HOME — Sedar-inspired layout
   ============================================================ */

.hero-sedar .hero-bg::after {
  display: none;
}

.hero-sedar .hero-bg::after {
  display: none;
}

.hero-sedar .hero-bg {
  position: absolute;
  inset: 0;
}

.hero-sedar {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  min-height: 100vh;
  /* Keep columns physical LTR so EN=left / AR=right is predictable */
  direction: ltr;
}

.hero-sedar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 8, 8, 0.94) 0%, rgba(8, 8, 8, 0.78) 38%, rgba(8, 8, 8, 0.35) 68%, rgba(8, 8, 8, 0.1) 100%);
  z-index: 1;
  pointer-events: none;
}

html[dir="rtl"] .hero-sedar::after {
  background: linear-gradient(90deg, rgba(8, 8, 8, 0.1) 0%, rgba(8, 8, 8, 0.35) 32%, rgba(8, 8, 8, 0.78) 62%, rgba(8, 8, 8, 0.94) 100%);
}

.hero-sedar-panel {
  position: relative;
  z-index: 3;
  grid-column: 1;
  justify-self: stretch;
  align-self: center;
  padding: calc(var(--nav-height) + 72px) clamp(40px, 5.5vw, 80px) 96px;
  color: #fff;
  max-width: none;
  width: 100%;
  text-align: left;
  direction: ltr;
  animation: fadeUp 0.9s ease 0.2s both;
}

html[dir="rtl"] .hero-sedar-panel {
  grid-column: 2;
  justify-self: stretch;
  text-align: right;
  direction: rtl;
}

.hero-sedar-panel .hero-actions {
  justify-content: flex-start;
}

html[dir="rtl"] .hero-sedar-panel .hero-actions {
  justify-content: flex-end;
}

.hero-sedar .hero-dots {
  z-index: 4;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
}

html[dir="rtl"] .hero-sedar .hero-dots {
  left: 50%;
}

.hero-sedar-panel .hero-eyebrow {
  display: block;
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.hero-sedar-panel .hero-brand-mark {
  position: relative;
  display: inline-block;
  font-family: var(--font-brand);
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  font-weight: 600;
  font-style: normal;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  margin: 0 0 26px;
  opacity: 1;
  color: transparent;
  background: linear-gradient(120deg, #ffffff 0%, #ffffff 35%, var(--primary-light) 72%, var(--primary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sedar-panel .hero-brand-mark::after {
  display: none;
}

html[dir="rtl"] .hero-sedar-panel .hero-brand-mark {
  letter-spacing: 0.24em;
  font-style: normal;
}

.hero-sedar-panel h1 {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 6.2vw, 5.2rem);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  max-width: 18ch;
  color: #fff;
}

.hero-sedar-panel > p:not(.hero-brand-mark):not(.hero-note):not(.hero-eyebrow),
.hero-sedar-panel .hero-lead {
  font-size: 18px;
  line-height: 1.75;
  font-weight: 400;
  opacity: 0.9;
  margin: 0 0 40px;
  max-width: 46ch;
  color: #fff;
}

.hero-note {
  margin-top: 18px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.58;
  font-weight: 400;
  display: block;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 36px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  max-width: 520px;
}

.hero-highlights li {
  position: relative;
  padding: 0 22px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  white-space: nowrap;
}

.hero-highlights li:first-child {
  padding-inline-start: 0;
}

.hero-highlights li:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50%;
  inset-inline-end: 0;
  width: 1px;
  height: 14px;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.28);
}

.btn-shop {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  background: var(--primary);
  color: #fff;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  transition: all var(--transition);
}

.btn-shop:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.home-products-bar {
  background: #0d0d0d;
  color: #fff;
  padding: 14px 0;
  border-top: 1px solid rgba(212, 175, 55, 0.45);
}

.home-products-bar-inner span {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.home-products-bar-inner span::before {
  content: '';
  width: 2px;
  height: 16px;
  background: #d4af37;
}

.section-home-cats { padding-top: 40px; }

.home-cat-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 14px;
}

.home-cat-tab {
  appearance: none;
  border: none;
  background: transparent;
  padding: 10px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 999px;
  transition: background var(--transition), color var(--transition);
}

.home-cat-tab:hover {
  color: var(--text);
  background: var(--warm-cream);
}

.home-cat-tab.is-active {
  color: #fff;
  background: var(--dark);
}

.home-cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.home-cat-card {
  display: block;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--warm-sand);
}

.home-cat-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

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

.home-cat-card span {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 16px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.72));
}

.home-cat-cta {
  margin-top: 28px;
  text-align: center;
}

.home-drape {
  padding: 36px 0 0;
  background: linear-gradient(180deg, #f6f1ea 0%, var(--warm-white) 100%);
}

.drape-intro {
  max-width: 38rem;
  margin-bottom: 28px;
}

.drape-intro .eyebrow {
  color: var(--primary);
}

.drape-intro h2 {
  font-family: var(--font-display);
  font-size: clamp(1.95rem, 3.6vw, 3rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.12;
  margin: 8px 0 14px;
  color: #1e6f8c;
}

.drape-intro p {
  color: #5a656c;
  font-size: 1.08rem;
  line-height: 1.8;
  max-width: 42ch;
}

html[dir="rtl"] .drape-intro h2 {
  font-style: normal;
  font-family: 'Tajawal', var(--font-body);
}

.drape-choose {
  max-width: 1280px;
  margin: 0 auto 12px;
  padding: 0 24px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--primary-dark);
}

html[dir="rtl"] .drape-choose {
  letter-spacing: 0.04em;
  text-transform: none;
}

.drape-types {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 720px;
  margin: 0 auto 20px;
  padding: 0 24px;
}

.drape-type {
  appearance: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: start;
  border: 1px solid rgba(61, 180, 224, 0.28);
  background: rgba(255, 255, 255, 0.78);
  color: var(--text);
  padding: 14px 16px;
  font-family: inherit;
  border-radius: 2px;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.drape-type:hover {
  border-color: var(--primary);
}

.drape-type.is-on {
  background: #fff;
  border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(42, 155, 199, 0.16);
}

.drape-type-swatch {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.drape-type--sheer .drape-type-swatch {
  background: linear-gradient(135deg, #fff7f0, #f3d5c4 55%, rgba(255, 255, 255, 0.4));
}

.drape-type--blackout .drape-type-swatch {
  background: linear-gradient(135deg, #1a2e3d, #2f4f5c);
}

.drape-type-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.drape-type-copy strong {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #1e6f8c;
}

.drape-type-copy em {
  font-style: italic;
  font-size: 12px;
  font-weight: 400;
  color: var(--text-muted);
}

html[dir="rtl"] .drape-type-copy strong {
  letter-spacing: 0;
}

html[dir="rtl"] .drape-type-copy em {
  font-style: normal;
}

.drape-type.is-on .drape-type-copy strong {
  color: var(--primary-dark);
}

.drape-stage {
  --left: 0;
  --right: 0;
  --fold-dark: #5c4033;
  --fold-mid: #8d6a4e;
  --fold-light: #d4b48a;
  position: relative;
  height: min(76vh, 660px);
  margin: 0 auto;
  max-width: 1280px;
  overflow: hidden;
  background: #1b2830;
  user-select: none;
  touch-action: pan-y;
  cursor: grab;
  outline: none;
}

.drape-stage.is-holding {
  cursor: grabbing;
  touch-action: none;
}

.drape-stage[data-kind="sheer"] {
  --fold-dark: rgba(232, 208, 196, 0.38);
  --fold-mid: rgba(250, 232, 220, 0.5);
  --fold-light: rgba(255, 248, 242, 0.68);
}

.drape-stage[data-kind="blackout"] {
  --fold-dark: #15202a;
  --fold-mid: #2a3a48;
  --fold-light: #4a5560;
}

.drape-reveal {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.drape-window {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #1a2a32;
}

.drape-view-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}

.drape-glass {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, transparent 38%);
}

.drape-sill {
  display: none;
}

.drape-rod {
  position: absolute;
  top: 14px;
  left: 3%;
  right: 2.5%;
  height: 11px;
  z-index: 5;
  border-radius: 11px;
  background: linear-gradient(180deg, #f0e0c2 0%, #9a7848 48%, #e2c896 100%);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.32);
}

.drape-rod::before,
.drape-rod::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #f7ead0, #8a6940);
  transform: translateY(-50%);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.28);
}

.drape-rod::before { left: -8px; }
.drape-rod::after { right: -8px; }

.drape-panel {
  position: absolute;
  top: 18px;
  bottom: -2px;
  z-index: 3;
  overflow: visible;
}

.drape-panel--l {
  left: 0;
  width: calc(51.4% - var(--left) * 38%);
}

.drape-panel--r {
  right: 0;
  width: calc(51.4% - var(--right) * 38%);
}

.drape-cloth {
  position: absolute;
  inset: 0;
  display: flex;
  overflow: hidden;
  border-radius: 0 0 40% 40% / 0 0 2.4% 2.4%;
  box-shadow:
    8px 24px 40px rgba(0, 0, 0, 0.22),
    inset 0 -18px 24px rgba(0, 0, 0, 0.12);
  transition: opacity 0.35s ease, filter 0.35s ease;
}

.drape-cloth::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 18%, rgba(0, 0, 0, 0.08) 100%),
    repeating-linear-gradient(90deg, transparent 0 3px, rgba(255, 255, 255, 0.04) 3px 4px);
  mix-blend-mode: overlay;
}

.drape-stage[data-kind="sheer"] .drape-cloth {
  opacity: 0.46;
  box-shadow: 6px 18px 30px rgba(0, 0, 0, 0.1);
}

.drape-fold {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  height: 100%;
  background: linear-gradient(
    90deg,
    var(--fold-dark) 0%,
    var(--fold-mid) 22%,
    var(--fold-light) 48%,
    var(--fold-mid) 76%,
    var(--fold-dark) 100%
  );
}

.drape-fold:nth-child(odd) {
  filter: brightness(0.93);
}

.drape-fold::after {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 42%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.16), transparent);
  pointer-events: none;
}

.drape-ring {
  position: absolute;
  top: -8px;
  left: 50%;
  width: 10px;
  height: 10px;
  border: 2px solid #d7c197;
  border-radius: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle at 30% 30%, #fff6e4, transparent 55%);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}

.drape-tassel {
  position: absolute;
  top: 18%;
  z-index: 4;
  width: 3px;
  height: 92px;
  background: linear-gradient(#d9c39a, #8b673c);
  border-radius: 2px;
  pointer-events: none;
}

.drape-tassel::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -16px;
  width: 14px;
  height: 22px;
  transform: translateX(-50%);
  background: radial-gradient(circle at 50% 20%, #f0dfc0, #8b673c 70%);
  border-radius: 40% 40% 50% 50%;
}

.drape-panel--l .drape-tassel { right: 14px; }
.drape-panel--r .drape-tassel { left: 14px; }

html[dir="rtl"] .drape-intro h2 {
  font-family: 'Tajawal', var(--font-body);
}

.home-stories { display: grid; gap: 28px; }

.home-story {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  min-height: 280px;
}

.home-story--feature {
  grid-template-columns: 1.35fr 0.65fr;
  min-height: 360px;
}

.home-story:nth-child(even) { grid-template-columns: 0.8fr 1.2fr; }
.home-story:nth-child(even) .home-story-media { order: 2; }
html[dir="rtl"] .home-story:nth-child(even) .home-story-media { order: 0; }

.home-story-media { display: block; min-height: 240px; }
.home-story-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.home-story:hover .home-story-media img { transform: scale(1.04); }

.home-story-body {
  padding: clamp(24px, 4vw, 40px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.home-story-body h3 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 500;
}

.home-story-body p {
  color: var(--text-muted);
  line-height: 1.7;
}

.home-project {
  background: var(--warm-cream);
  padding: 72px 0;
}

.home-project-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.home-project-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.home-project-media img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
}

.home-project-media img:first-child {
  grid-row: span 2;
  aspect-ratio: auto;
  height: 100%;
  min-height: 320px;
}

.home-project-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 400;
  margin: 8px 0 16px;
}

.home-project-copy p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.home-newsletter {
  background: #0d0d0d;
  color: #fff;
  padding: 64px 24px;
}

.home-newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.home-newsletter h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 400;
  margin-bottom: 8px;
}

.home-newsletter p { opacity: 0.75; }

.home-newsletter-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  width: min(480px, 100%);
}

.home-newsletter-form input {
  flex: 1;
  min-width: 200px;
  padding: 14px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-family: var(--font-body);
}

.home-newsletter-form input::placeholder { color: rgba(255, 255, 255, 0.45); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary);
}

.link-arrow:hover {
  color: var(--primary-dark);
}

@media (max-width: 900px) {
  .hero-sedar {
    grid-template-columns: 1fr;
    min-height: 0;
    height: auto;
    overflow: hidden;
    align-items: stretch;
  }

  .hero.hero-sedar {
    min-height: 0;
    height: auto;
  }

  .hero-sedar .hero-bg,
  .hero-sedar .hero-slide {
    overflow: hidden;
  }

  .hero-sedar .hero-slide img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center center;
  }

  .hero-sedar::after {
    background: linear-gradient(180deg, rgba(8, 8, 8, 0.35) 0%, rgba(8, 8, 8, 0.55) 42%, rgba(8, 8, 8, 0.9) 100%);
  }

  html[dir="rtl"] .hero-sedar::after {
    background: linear-gradient(180deg, rgba(8, 8, 8, 0.35) 0%, rgba(8, 8, 8, 0.55) 42%, rgba(8, 8, 8, 0.9) 100%);
  }

  .hero-sedar-panel {
    grid-column: 1 !important;
    justify-self: stretch !important;
    align-self: stretch;
    max-width: none;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 96px 22px 56px;
  }

  .hero-sedar .hero-dots,
  .hero.hero-sedar .hero-dots {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    margin: 0;
    width: auto;
  }

  .hero-note {
    display: none;
  }

  .hero-sedar-panel .hero-eyebrow {
    display: none;
  }

  .hero-highlights {
    display: none;
  }

  .hero-sedar-panel .hero-brand-mark {
    letter-spacing: 0.26em;
    font-size: clamp(1.4rem, 5.5vw, 1.85rem);
    margin-bottom: 16px;
    font-style: normal;
  }

  .hero-sedar-panel .hero-brand-mark::after {
    display: none;
  }

  html[dir="rtl"] .hero-sedar-panel .hero-brand-mark {
    font-style: normal;
  }

  .hero-sedar-panel h1 {
    font-size: clamp(2.15rem, 8.5vw, 2.85rem);
    line-height: 1.12;
    max-width: 100%;
    margin-bottom: 12px;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .hero-sedar-panel > p:not(.hero-brand-mark):not(.hero-note),
  .hero-sedar-panel .hero-lead {
    max-width: 34ch;
    font-size: 14px;
    line-height: 1.7;
    opacity: 0.8;
    margin-bottom: 26px;
    overflow-wrap: anywhere;
  }

  .hero-brand-mark {
    letter-spacing: 0.28em;
    overflow-wrap: normal;
  }

  .hero-sedar-panel .hero-actions {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 10px;
  }

  .hero-sedar-panel .hero-actions .btn,
  .hero-sedar-panel .hero-actions .btn-shop,
  .hero-sedar-panel .hero-actions .hero-outline {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    min-height: 48px;
    padding: 12px 14px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    white-space: nowrap;
    text-align: center;
    line-height: 1.25;
    border-radius: 6px;
  }

  .hero-sedar-panel .hero-actions .btn-shop,
  .hero-sedar-panel .hero-actions a.btn.btn-shop {
    background: var(--primary) !important;
    background-color: var(--primary) !important;
    border: 1.5px solid var(--primary) !important;
    color: #fff !important;
    box-shadow: none !important;
  }

  .hero-sedar-panel .hero-actions .hero-outline,
  .hero-sedar-panel .hero-actions a.btn.btn-outline.hero-outline {
    background: rgba(255, 255, 255, 0.08) !important;
    background-color: rgba(255, 255, 255, 0.08) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.85) !important;
    color: #fff !important;
    box-shadow: none !important;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }

  .hero-sedar-panel .hero-actions .hero-outline:hover,
  .hero-sedar-panel .hero-actions a.btn.btn-outline.hero-outline:hover,
  .hero-sedar-panel .hero-actions .hero-outline:active,
  .hero-sedar-panel .hero-actions a.btn.btn-outline.hero-outline:active {
    background: #fff !important;
    background-color: #fff !important;
    border-color: #fff !important;
    color: #0d0d0d !important;
  }

  html[dir="ltr"] .hero-sedar-panel {
    text-align: left;
    direction: ltr;
  }

  html[dir="rtl"] .hero-sedar-panel {
    text-align: right;
    direction: rtl;
  }

  html[dir="ltr"] .hero-sedar-panel .hero-actions {
    justify-content: flex-start;
  }

  html[dir="rtl"] .hero-sedar-panel .hero-actions {
    justify-content: flex-end;
  }

  .home-cat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  .home-cat-card span {
    font-size: 13px;
    padding: 12px;
    overflow-wrap: anywhere;
  }

  .home-story,
  .home-story--feature,
  .home-story:nth-child(even) {
    grid-template-columns: 1fr;
    min-height: 0;
    width: 100%;
    max-width: 100%;
  }

  .home-story:nth-child(even) .home-story-media { order: 0; }
  .home-story-media {
    aspect-ratio: 16/10;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .home-story-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .home-story-body {
    padding: 20px;
    min-width: 0;
  }

  .home-story-body h3,
  .home-story-body p,
  .drape-intro h2,
  .drape-intro p,
  .home-project-copy h2,
  .home-project-copy p,
  .home-newsletter h2,
  .home-newsletter p,
  .section-header .display-md {
    overflow-wrap: anywhere;
    word-break: break-word;
    max-width: 100%;
  }

  .home-project-copy p {
    max-width: 100%;
  }

  .home-project-grid { grid-template-columns: 1fr; }

  .home-project-media {
    width: 100%;
    max-width: 100%;
  }

  .home-project-media img:first-child {
    min-height: 220px;
  }
}

@media (max-width: 640px) {
  .home-cat-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .home-cat-card {
    aspect-ratio: 3 / 4;
  }

  .hero-sedar {
    min-height: 58vh;
    height: auto;
  }

  .hero.hero-sedar {
    min-height: 58vh;
  }

  .hero-sedar-panel {
    padding: 96px 16px 56px;
  }

  .hero-sedar .hero-dots,
  .hero.hero-sedar .hero-dots {
    position: absolute;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    margin: 0;
  }

  .hero-sedar .hero-slide.is-active img {
    animation: none;
    transform: scale(1.02);
  }

  .hero-note {
    display: none;
  }

  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .home-newsletter-form { width: 100%; }
  .home-newsletter-form input {
    min-width: 0;
    width: 100%;
  }
  .home-newsletter-form .btn-shop { width: 100%; }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .product-card-info h3 {
    font-size: 13px;
    line-height: 1.35;
  }
}

@media (max-width: 768px) {
  .home-drape {
    padding-top: 36px;
  }

  .drape-stage {
    height: min(62vh, 520px);
  }

  .drape-types {
    grid-template-columns: 1fr;
    overflow: visible;
  }

  .drape-type {
    width: 100%;
  }

  .hero-sedar-panel {
    padding: 28px 20px 48px !important;
  }

  .mobile-nav-item[data-nav="consult"] {
    position: relative;
  }

  .mobile-nav-item[data-nav="consult"] svg {
    overflow: visible;
  }
}

/* ── Creative page loader (page visible underneath) ── */
html.is-loading,
html.is-loading body {
  overflow: hidden;
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  background: rgba(13, 13, 13, 0.32);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  transition: opacity 0.4s ease;
}

.page-loader__inner {
  position: relative;
  display: grid;
  place-items: center;
  width: 120px;
  height: 120px;
}

.page-loader__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  animation: page-loader-pulse 1.8s ease-out infinite;
}

.page-loader__ring--delay {
  animation-delay: 0.55s;
}

.page-loader__mark {
  position: relative;
  z-index: 1;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.18);
}

.page-loader__letter {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--dark);
  line-height: 1;
  animation: page-loader-breathe 1.6s ease-in-out infinite;
}

.page-loader__folds {
  position: absolute;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  height: 14px;
  align-items: flex-end;
}

.page-loader__folds span {
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--primary-light), var(--primary));
  animation: page-loader-fold 1.05s ease-in-out infinite;
}

.page-loader__folds span:nth-child(1) { height: 8px; animation-delay: 0s; }
.page-loader__folds span:nth-child(2) { height: 14px; animation-delay: 0.12s; }
.page-loader__folds span:nth-child(3) { height: 10px; animation-delay: 0.24s; }
.page-loader__folds span:nth-child(4) { height: 16px; animation-delay: 0.36s; }
.page-loader__folds span:nth-child(5) { height: 9px; animation-delay: 0.48s; }

.page-loader.is-done {
  opacity: 0;
  pointer-events: none;
}

.page-loader.is-gone {
  display: none;
}

@keyframes page-loader-pulse {
  0% { transform: scale(0.72); opacity: 0.7; }
  100% { transform: scale(1.2); opacity: 0; }
}

@keyframes page-loader-breathe {
  0%, 100% { opacity: 0.7; transform: scale(0.96); }
  50% { opacity: 1; transform: scale(1); }
}

@keyframes page-loader-fold {
  0%, 100% { transform: scaleY(0.55); opacity: 0.45; }
  50% { transform: scaleY(1); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .page-loader__ring,
  .page-loader__letter,
  .page-loader__folds span {
    animation: none !important;
  }

  .page-loader {
    transition: opacity 0.2s ease;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

.theme-toggle {
  position: fixed;
  bottom: 24px;
  right: 29px;
  left: auto;
  z-index: 850;
  width: 46px;
  height: 46px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: linear-gradient(160deg, #5ec8ea 0%, #3DB4E0 55%, #1f8ec0 100%);
  color: #fff;
  cursor: pointer;
  border-radius: 50%;
  box-shadow: 0 8px 22px rgba(61, 180, 224, 0.4);
}

.theme-toggle-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  line-height: 0;
}

.theme-toggle-icon svg {
  display: block;
  width: 22px;
  height: 22px;
  overflow: visible;
}

.theme-toggle:not(.is-on) .theme-toggle-icon svg {
  transform: translate(1px, -0.5px);
}

html[dir="rtl"] .theme-toggle {
  right: 29px;
  left: auto;
}

.theme-toggle.is-on {
  background: linear-gradient(160deg, #7ad4f0 0%, #3DB4E0 50%, #0e6a94 100%);
  color: #fff;
  box-shadow: 0 8px 24px rgba(61, 180, 224, 0.5);
}

html.theme-dark {
  color-scheme: dark;
  --warm-white: #062433;
  --warm-cream: #083044;
  --warm-sand: #0B3A52;
  --header-bg: rgba(6, 36, 51, 0.94);
  --text: #E8F7FC;
  --text-muted: #9BC7D8;
  --text-light: #6EA8BC;
  --border: rgba(61, 180, 224, 0.28);
  --accent-warm: #0E4056;
  --dark: #031820;
  --dark-soft: #052838;
  --shadow-sm: 0 2px 8px rgba(3, 24, 36, 0.45);
  --shadow-md: 0 4px 20px rgba(3, 24, 36, 0.45);
  --shadow-lg: 0 8px 40px rgba(3, 24, 36, 0.55);
  --primary: #4FC3E8;
  --primary-dark: #7AD4F0;
  --primary-light: #9FE3F5;
}

html.theme-dark body {
  background: #05202C;
  color: var(--text);
}

html.theme-dark .site-header.solid,
html.theme-dark .mobile-top-bar,
html.theme-dark .mobile-bottom-nav,
html.theme-dark .mobile-menu-drawer,
html.theme-dark .mobile-search-overlay,
html.theme-dark .search-overlay,
html.theme-dark .product-card,
html.theme-dark .consult-card,
html.theme-dark .faq-item,
html.theme-dark .faq-q,
html.theme-dark .home-story,
html.theme-dark .drape-type,
html.theme-dark .filter-panel,
html.theme-dark .filter-lookbook,
html.theme-dark input,
html.theme-dark textarea,
html.theme-dark select,
html.theme-dark .form-group input,
html.theme-dark .form-group textarea,
html.theme-dark .consult-icon {
  background: #083044;
  color: var(--text);
  border-color: var(--border);
}

html.theme-dark .mobile-top-bar {
  background: #062433;
  border-bottom: 1px solid rgba(61, 180, 224, 0.22);
}

html.theme-dark .mobile-top-btn,
html.theme-dark .mobile-top-bar .lang-switch-btn,
html.theme-dark .mobile-top-bar .lang-switch-btn:hover,
html.theme-dark .mobile-top-bar .lang-switch-btn:focus {
  color: #E8F7FC;
}

html.theme-dark .mobile-bottom-nav {
  background: #062433;
  border-top: 1px solid rgba(61, 180, 224, 0.22);
  box-shadow: 0 -6px 20px rgba(3, 24, 36, 0.4);
}

html.theme-dark .mobile-nav-item,
html.theme-dark .mobile-nav-item.active,
html.theme-dark .mobile-nav-free {
  color: #D5EEF6;
}

html.theme-dark .mobile-nav-item.active {
  color: var(--primary);
}

html.theme-dark .site-footer,
html.theme-dark .home-newsletter {
  background: #041c28;
  color: rgba(232, 247, 252, 0.72);
}

html.theme-dark .footer-col h4 {
  color: #fff;
}

html.theme-dark .footer-col a {
  color: rgba(232, 247, 252, 0.72);
}

html.theme-dark .footer-col a:hover {
  color: var(--primary);
}

html.theme-dark .footer-bottom {
  border-top-color: rgba(61, 180, 224, 0.22);
}

html.theme-dark .page-hero,
html.theme-dark .home-drape,
html.theme-dark .home-project {
  background: #062838;
}

html.theme-dark .drape-intro h2,
html.theme-dark .drape-type-copy strong,
html.theme-dark .drape-choose {
  color: var(--primary);
}

html.theme-dark .btn-outline,
html.theme-dark .hero-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}

@media (max-width: 768px) {
  .theme-toggle {
    right: 19px;
    left: auto;
    bottom: calc(var(--mobile-nav-height) + var(--safe-bottom) + 16px);
  }

  html[dir="rtl"] .theme-toggle {
    left: 19px;
    right: auto;
  }
}
