/* LiYoung Outdoor — Architectural Limestone, Deep Cypress & Liquid Glass Design System */
:root {
  --paper: #f6f3ec;
  --surface: #ffffff;
  --sand: #eae4d7;
  --sand-deep: #dfd7c6;
  --ink: #1b231e;
  --muted: #555e57;
  --teak: #9c6b3f;
  --teak-light: #c89b6e;
  --forest: #183026;
  --forest-mid: #244638;
  --forest-deep: #0f1f18;
  --line: #d9d2c4;
  --line-soft: rgba(24, 48, 38, 0.11);
  --focus: #496854;
  --glass-light: rgba(246, 243, 236, 0.86);
  --glass-dark: rgba(13, 25, 20, 0.56);
  --shadow-xs: 0 1px 2px rgba(15, 31, 24, 0.05);
  --shadow-sm: 0 4px 16px rgba(15, 31, 24, 0.06), 0 1px 3px rgba(15, 31, 24, 0.04);
  --shadow-md: 0 14px 36px rgba(15, 31, 24, 0.10), 0 4px 12px rgba(15, 31, 24, 0.05);
  --shadow-lg: 0 28px 64px rgba(15, 31, 24, 0.18), 0 8px 20px rgba(15, 31, 24, 0.08);
  --radius: 14px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --site-header-height: 76px;
  --page-gutter: clamp(16px, 3.5vw, 56px);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html {
  scroll-padding-top: calc(var(--site-header-height) + 28px);
}
body {
  background: var(--paper);
  color: var(--ink);
  overflow-x: clip;
}
.container {
  width: calc(100% - var(--page-gutter) * 2);
  max-width: 1440px;
}
.section {
  padding-block: clamp(48px, 6.2vw, 108px);
}
h1, h2, h3 {
  color: var(--forest);
}
h1, h2 {
  font-weight: 500;
  text-wrap: balance;
}
p {
  color: var(--muted);
}
:where(a, button, input, textarea, select, summary):focus-visible {
  outline: 2px solid var(--teak);
  outline-offset: 3px;
}

/* Scroll reading progress indicator */
.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 2.5px;
  z-index: 300;
  pointer-events: none;
  background: linear-gradient(90deg, var(--teak), var(--teak-light));
  transform: scaleX(0);
  transform-origin: left;
  will-change: transform;
}
[dir="rtl"] .scroll-progress {
  transform-origin: right;
}

/* Tactile Architectural Buttons & Links */
.btn {
  min-height: 46px;
  padding: 11px 22px;
  gap: 12px;
  border-radius: var(--radius-pill);
  color: var(--forest);
  background: transparent;
  border: 1.5px solid var(--forest);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: transform 0.25s var(--ease-out), background-color 0.25s var(--ease-out),
              color 0.25s var(--ease-out), border-color 0.25s var(--ease-out),
              box-shadow 0.25s var(--ease-out);
}
.btn:hover {
  background: var(--forest);
  border-color: var(--forest);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.btn:active {
  transform: translateY(0) scale(0.98);
}
.btn.dark {
  background: var(--forest);
  border-color: var(--forest);
  color: #fff;
  box-shadow: 0 6px 18px rgba(24, 48, 38, 0.18);
}
.btn.dark:hover,
.site-header .nav-tools > .btn:hover {
  background: var(--forest-mid);
  border-color: var(--forest-mid);
  color: #fff;
  box-shadow: 0 10px 24px rgba(24, 48, 38, 0.26);
}
.btn:focus-visible, .site-header a:focus-visible { outline-color: var(--teak); }
.text-link {
  color: var(--forest);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.45;
  gap: 12px;
}
.text-link:hover { color: var(--teak); }
.text-link svg, .btn svg {
  flex-shrink: 0;
  width: 16px;
  transition: transform 0.28s var(--ease-out);
}
.btn:hover svg, .text-link:hover svg { transform: translate(3px, -2px); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--teak);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  opacity: 0.7;
}
.section-head {
  align-items: end;
  gap: 24px;
  margin-bottom: clamp(26px, 3.6vw, 48px);
}
.section-head h2 {
  font-size: clamp(34px, 3.9vw, 60px);
  line-height: 1.06;
}
.page-intro {
  padding-block: clamp(40px, 5.4vw, 84px) clamp(26px, 4vw, 54px);
}
.page-intro h1 {
  font-size: clamp(40px, 5.2vw, 82px);
  line-height: 1.04;
}
.page-intro > p:not(.eyebrow) {
  margin-top: 18px;
  font-size: clamp(14.5px, 1.35vw, 17px);
  line-height: 1.7;
  max-width: 64ch;
}

/* Liquid Glass Sticky Header */
.site-header,
.site-header.is-scrolled,
.site-header.nav-active {
  position: sticky;
  top: 0;
  height: var(--site-header-height);
  background: var(--glass-light);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line-soft), 0 8px 24px rgba(15, 31, 24, 0.04);
  transition: background-color 0.35s var(--ease-out), color 0.35s var(--ease-out),
              box-shadow 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
}
.site-header .nav-wrap {
  width: calc(100% - var(--page-gutter) * 2);
  max-width: 1540px;
  gap: clamp(14px, 1.6vw, 25px);
}
.site-header .wordmark {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}
.site-header .wordmark .brand-logo {
  width: auto;
  height: 44px;
  transition: transform 0.3s var(--ease-out);
}
.site-header .wordmark:hover .brand-logo { transform: scale(1.04); }
.site-header .nav-brand {
  margin: 0;
  letter-spacing: -0.02em;
  color: var(--forest);
  font: 700 clamp(21px, 1.8vw, 26px)/1 var(--serif);
  white-space: nowrap;
}
[lang|="zh"] .site-header .nav-brand {
  font: 700 clamp(14px, 1.35vw, 18px)/1.3 var(--sans);
  letter-spacing: 0.04em;
}
.site-header nav { gap: clamp(9px, 1.1vw, 19px); }
.site-header nav > a, .nav-product > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  white-space: nowrap;
  position: relative;
}
.site-header nav > a::after, .nav-product > a::after {
  bottom: 8px;
  height: 1.5px;
  background: var(--teak-light);
}
.nav-tools { gap: 8px; margin-left: auto; }
.nav-tools .language-picker summary {
  min-height: 40px;
  padding: 0 11px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: 12px;
  font-weight: 600;
  transition: background-color 0.2s, border-color 0.2s;
}
.nav-tools .language-picker summary:hover {
  background: rgba(24, 48, 38, 0.06);
  border-color: var(--line-soft);
}
.language-options {
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-md);
  padding: 6px;
}
.language-options a {
  border-radius: 8px;
  transition: background-color 0.18s;
}
.site-header .inquiry-count {
  min-width: 44px;
  min-height: 40px;
  padding: 0 10px;
  border-radius: var(--radius-pill);
  justify-content: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  transition: background-color 0.22s, transform 0.22s var(--ease-spring);
}
.site-header .inquiry-count:hover {
  background: rgba(24, 48, 38, 0.08);
}
.site-header .inquiry-count.has-items [data-count] {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: var(--radius-pill);
  background: var(--teak);
  color: #fff;
  font-size: 11px;
}
.site-header .inquiry-count.is-pulsing {
  animation: badge-pop 0.48s var(--ease-spring);
}
@keyframes badge-pop {
  0% { transform: scale(1); }
  45% { transform: scale(1.22); }
  100% { transform: scale(1); }
}
.site-header .menu-toggle { min-width: 44px; min-height: 44px; }
.site-header .menu-toggle span { width: 22px; height: 2px; margin: 3px 0; border-radius: 2px; }
.site-header .mega-toggle { min-width: 28px; min-height: 44px; }
.site-header .nav-tools > .btn {
  min-width: 118px;
  min-height: 42px;
  padding: 8px 18px;
  background: var(--forest);
  border-color: var(--forest);
  color: #fff;
}
.site-header .mega-menu {
  top: var(--site-header-height);
  border-bottom: 1px solid var(--line);
  background: rgba(246, 243, 236, 0.97);
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
  box-shadow: var(--shadow-lg);
}
.site-header .mega-links a {
  padding: 10px 12px;
  border-radius: 8px;
  transition: background-color 0.2s, padding-inline-start 0.2s var(--ease-out);
}
.site-header .mega-links a:hover {
  background: rgba(24, 48, 38, 0.06);
  padding-inline-start: 18px;
}
.site-header .mega-image img {
  border-radius: var(--radius-sm);
  transition: transform 0.6s var(--ease-out);
}
.site-header .mega-image:hover img { transform: scale(1.04); }

/* Transparent Optical Glass Header Over Hero */
.site-header:has(+ main > .immersive-hero):not(.is-scrolled, .nav-active, :has(.language-picker[open])) {
  background: linear-gradient(to bottom, rgba(11, 22, 17, 0.72), rgba(11, 22, 17, 0.34));
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  color: #fff;
  box-shadow: 0 1px rgba(255, 255, 255, 0.16);
}
.site-header:has(+ main > .immersive-hero):not(.is-scrolled, .nav-active, :has(.language-picker[open])) .nav-brand {
  color: inherit;
}
.site-header:has(+ main > .immersive-hero):not(.is-scrolled, .nav-active, :has(.language-picker[open])) .nav-tools > .btn {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.site-header:has(+ main > .immersive-hero):not(.is-scrolled, .nav-active, :has(.language-picker[open])) .nav-tools > .btn:hover {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--forest);
}
.site-header:has(+ main > .immersive-hero):not(.is-scrolled, .nav-active, :has(.language-picker[open])) .language-picker summary:hover,
.site-header:has(+ main > .immersive-hero):not(.is-scrolled, .nav-active, :has(.language-picker[open])) .inquiry-count:hover {
  background: rgba(255, 255, 255, 0.14);
}
.site-header:has(+ main > .immersive-hero):not(.is-scrolled, .nav-active, :has(.language-picker[open])) a:focus-visible {
  outline-color: #fff;
}
[lang|="zh"] .site-header:has(+ main > .immersive-hero) .language-picker summary {
  white-space: nowrap;
}

/* Immersive Full-Viewport Hero */
.immersive-hero {
  --hero-shade-rgb: 11 22 17;
  --hero-veil: linear-gradient(
    to right,
    rgb(var(--hero-shade-rgb) / 0.86) 0%,
    rgb(var(--hero-shade-rgb) / 0.68) 46%,
    rgb(var(--hero-shade-rgb) / 0.36) 68%,
    rgb(var(--hero-shade-rgb) / 0.06) 90%
  );
  display: grid;
  grid-template-rows: 1fr auto;
  isolation: isolate;
  height: auto;
  min-height: 100vh;
  min-height: 100svh;
  max-height: none;
  margin-block-start: calc(0px - var(--site-header-height));
  padding-block: calc(var(--site-header-height) + 22px) clamp(18px, 3.8vh, 36px);
  background: var(--forest-deep);
  color: #fff;
}
.immersive-hero .hero-media {
  background: center / cover no-repeat url(/assets/hero-teak.webp);
}
.immersive-hero:dir(rtl) {
  --hero-veil: linear-gradient(
    to left,
    rgb(var(--hero-shade-rgb) / 0.86) 0%,
    rgb(var(--hero-shade-rgb) / 0.68) 46%,
    rgb(var(--hero-shade-rgb) / 0.36) 68%,
    rgb(var(--hero-shade-rgb) / 0.06) 90%
  );
}
.immersive-hero .hero-shade {
  background: var(--hero-veil), linear-gradient(to top, rgb(var(--hero-shade-rgb) / 0.72), transparent 40%);
}
.immersive-hero .hero-copy.container {
  position: relative;
  inset: auto;
  align-self: center;
  pointer-events: none;
  padding-block: clamp(22px, 5vh, 52px);
}
.immersive-hero .hero-copy h1 {
  max-inline-size: min(10.7em, 65vw);
  color: inherit;
  font-size: clamp(50px, 6.8vw, 108px);
  font-weight: 500;
  line-height: 1.01;
  text-shadow: 0 8px 32px rgba(8, 17, 13, 0.45);
  overflow-wrap: anywhere;
  text-wrap: initial;
}
.immersive-hero .hero-copy .line { padding-block-end: 0.12em; }
.immersive-hero .hero-copy p {
  max-inline-size: 34em;
  margin-block: 16px 28px;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(15px, 1.38vw, 19px);
  line-height: 1.6;
  text-shadow: 0 2px 14px rgba(8, 17, 13, 0.35);
}
.immersive-hero .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  pointer-events: none;
}
.immersive-hero .hero-actions .btn {
  min-width: 0;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  pointer-events: auto;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  background: rgba(11, 22, 17, 0.45);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: #fff;
}
.immersive-hero .hero-actions .btn:first-child {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--forest);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}
.immersive-hero .hero-actions .btn:first-child:hover {
  background: #fff;
  border-color: #fff;
  color: var(--forest);
}
.immersive-hero .hero-actions .btn:hover {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--forest);
}
.immersive-hero .hero-bottom.container {
  position: relative;
  inset: auto;
  gap: 16px;
  color: #fff;
  pointer-events: none;
}
.immersive-hero .scroll-cue {
  min-height: 44px;
  padding-inline: 4px;
  pointer-events: auto;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-shadow: 0 1px 10px rgba(8, 17, 13, 0.8);
}
.immersive-hero .hero-controls {
  gap: 6px;
  padding: 5px 7px;
  pointer-events: auto;
  background: rgba(11, 22, 17, 0.68);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius-pill);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}
.immersive-hero .hero-status {
  display: grid;
  gap: 6px;
  min-inline-size: 74px;
  padding-inline: 12px 8px;
}
.immersive-hero .hero-counter {
  min-width: 0;
  gap: 5px;
  direction: ltr;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}
.immersive-hero .hero-progress {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.28);
  overflow: hidden;
}
.immersive-hero .hero-progress > span {
  display: block;
  height: 100%;
  background: var(--teak-light);
  transform: scaleX(0);
  transform-origin: left;
}
.immersive-hero:dir(rtl) .hero-progress > span { transform-origin: right; }
.immersive-hero .hero-controls button,
.immersive-hero .hero-controls #carousel-toggle {
  width: 40px;
  min-width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  transition: background-color 0.2s, color 0.2s, transform 0.2s var(--ease-out);
}
.immersive-hero .hero-controls button:hover {
  background: var(--paper);
  color: var(--forest);
  transform: scale(1.05);
}
.immersive-hero .hero-controls #carousel-toggle span { display: none; }
.immersive-hero :is(.btn, .scroll-cue, .hero-controls button):focus-visible { outline-color: #fff; }
.immersive-hero .hero-carousel:not(.swiper-initialized) .swiper-slide:not(:first-child) { display: none; }
.immersive-hero .swiper-slide[data-hero-scene="teak"] img { object-position: 56% center; }
.immersive-hero .swiper-slide[data-hero-scene="aluminum"] img { object-position: 51% center; }
.immersive-hero .swiper-slide[data-hero-scene="pool"] img { object-position: 62% center; }

/* Homepage Asymmetric Architectural Bento Collections Grid */
.home-collections {
  padding-block: clamp(48px, 6vw, 88px) clamp(36px, 5vw, 72px);
}
.home-collections .section-head { margin-bottom: clamp(22px, 3vw, 38px); }
.home-collections .section-head h2 { font-size: clamp(34px, 3.8vw, 58px); }
.home-collections .section-head h2 br { display: none; }
.home-collections .browse-card-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}
.home-collections .collection-card {
  position: relative;
  display: block;
  grid-column: span 3;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-sm);
  transition: transform 0.42s var(--ease-out), box-shadow 0.42s var(--ease-out), border-color 0.3s;
}
.home-collections .collection-card:nth-child(1),
.home-collections .collection-card:nth-child(2) {
  grid-column: span 6;
}
.home-collections .collection-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(156, 107, 63, 0.45);
}
.home-collections .collection-card .image-frame {
  height: auto !important;
  aspect-ratio: 1.18;
  background: var(--sand);
  border-radius: 0;
  overflow: hidden;
}
.home-collections .collection-card:nth-child(1) .image-frame,
.home-collections .collection-card:nth-child(2) .image-frame {
  aspect-ratio: 1.72;
}
.home-collections .collection-card .image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  transition: transform 0.85s var(--ease-out);
}
.home-collections .collection-card:hover .image-frame img {
  transform: scale(1.07);
}
.home-collections .collection-caption {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 18px;
  gap: 10px;
  border: 0;
  background: var(--surface);
}
.home-collections .collection-card:nth-child(1) .collection-caption,
.home-collections .collection-card:nth-child(2) .collection-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 26px 24px 20px;
  background: linear-gradient(to top, rgba(15, 31, 24, 0.84) 0%, rgba(15, 31, 24, 0.46) 62%, transparent 100%);
  color: #fff;
}
.home-collections .collection-card:nth-child(1) .collection-caption h3,
.home-collections .collection-card:nth-child(2) .collection-caption h3 {
  color: #fff;
  font: 500 clamp(24px, 2.2vw, 32px)/1.15 var(--serif);
}
.home-collections .collection-caption :is(h2, h3) {
  font: 700 15.5px/1.3 var(--sans);
  color: var(--forest);
}
.home-collections .collection-caption svg {
  width: 18px;
  height: 18px;
  padding: 3px;
  border-radius: var(--radius-pill);
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-out), background-color 0.3s;
}
.home-collections .collection-card:hover .collection-caption svg {
  transform: translate(3px, -3px);
}

/* Gallery-Grade Product Cards (Homepage, Catalog, Related) */
.product-grid {
  gap: 24px;
}
.product-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  transition: transform 0.38s var(--ease-out), box-shadow 0.38s var(--ease-out), border-color 0.3s;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(156, 107, 63, 0.38);
}
.product-media {
  position: relative;
  overflow: hidden;
  background: #ffffff;
}
.product-card .product-photo {
  display: block;
  height: auto;
  aspect-ratio: 1.15;
  background: radial-gradient(circle at 50% 55%, #ffffff 42%, #f4f1ea 100%);
  overflow: hidden;
}
.product-card .product-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  mix-blend-mode: normal;
  transition: transform 0.7s var(--ease-out);
}
.product-card:hover .product-photo img {
  transform: scale(1.06);
}
.quick-view-btn {
  position: absolute;
  inset: auto auto 12px 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 6px 13px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(24, 48, 38, 0.14);
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: var(--forest);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s var(--ease-out), transform 0.28s var(--ease-out),
              background-color 0.2s, color 0.2s;
}
[dir="rtl"] .quick-view-btn {
  inset: auto 12px 12px auto;
}
.product-card:hover .quick-view-btn,
.product-card:focus-within .quick-view-btn,
.quick-view-btn:focus-visible {
  opacity: 1;
  transform: translateY(0);
}
.quick-view-btn:hover {
  background: var(--forest);
  border-color: var(--forest);
  color: #fff;
}
.quick-view-btn svg {
  width: 15px;
  height: 15px;
}
@media (hover: none) {
  .quick-view-btn {
    opacity: 1;
    transform: none;
    padding: 6px 10px;
  }
  .quick-view-btn span { display: none; }
}
.product-card .product-caption {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 16px 16px;
  gap: 12px;
  border-top: 1px solid var(--line-soft);
  background: var(--surface);
}
.product-card .model {
  display: inline-block;
  color: var(--forest);
  background: var(--paper);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.product-card .product-collection {
  font-size: 11.5px;
  color: var(--muted);
  margin: 0 0 3px;
}
.product-card .product-caption h3 {
  font: 600 clamp(15px, 1.15vw, 17.5px)/1.35 var(--sans);
  margin-top: 2px;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.product-card .product-caption h3 a:hover { color: var(--teak); }
.product-card .add-icon {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: var(--radius-pill);
  background: var(--forest);
  color: #fff;
  border: 1.5px solid var(--forest);
  font-size: 21px;
  line-height: 1;
  transition: transform 0.28s var(--ease-spring), background-color 0.22s, border-color 0.22s, box-shadow 0.22s;
}
.product-card .add-icon:hover {
  background: var(--teak);
  border-color: var(--teak);
  transform: scale(1.08);
  box-shadow: 0 6px 16px rgba(156, 107, 63, 0.3);
}
.product-card .add-icon.is-added {
  background: #236446;
  border-color: #236446;
  transform: scale(1.12);
}

/* Commanding Dark Cypress Factory Strength Band */
.factory-strength {
  position: relative;
  background:
    radial-gradient(circle at 82% 18%, rgba(156, 107, 63, 0.22), transparent 46%),
    radial-gradient(circle at 12% 88%, rgba(45, 92, 72, 0.35), transparent 50%),
    var(--forest-deep);
  color: #f6f3ec;
  overflow: hidden;
}
.factory-strength .eyebrow { color: var(--teak-light); }
.factory-strength h2,
.factory-strength h3 { color: #fff; }
.factory-strength p { color: rgba(246, 243, 236, 0.78); }
.factory-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0 0 36px;
  padding: 0;
  border: 0;
}
.factory-metrics > div {
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: transform 0.35s var(--ease-out), border-color 0.35s, background-color 0.35s;
}
.factory-metrics > div:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(200, 155, 110, 0.45);
}
.factory-metrics dt {
  font: 500 clamp(46px, 4.8vw, 72px)/1.05 var(--sans);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  color: #fff;
}
.factory-metrics dd {
  margin: 12px 0 0;
  color: rgba(246, 243, 236, 0.76);
  font-size: 14px;
  font-weight: 500;
}
.factory-visit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(22px, 2.8vw, 34px);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.factory-visit h3 { font-size: clamp(22px, 2.2vw, 30px); margin-bottom: 8px; }
.factory-visit .btn.dark {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--forest-deep);
}
.factory-visit .btn.dark:hover {
  background: var(--teak-light);
  border-color: var(--teak-light);
  color: var(--forest-deep);
}

/* Editorial Project References & Customer Feedback */
.reference-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.reference-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.3s;
}
.reference-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(156, 107, 63, 0.4);
}
.reference-card a {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.reference-card img {
  width: 100%;
  aspect-ratio: 1.38;
  object-fit: cover;
  border-radius: 0;
  transition: transform 0.75s var(--ease-out);
}
.reference-card:hover img { transform: scale(1.05); }
.reference-card > a > div {
  padding: 20px 22px 24px;
}
.reference-card .eyebrow { margin: 0 0 10px; }
.reference-card h3 {
  color: var(--forest);
  font-size: clamp(21px, 1.8vw, 26px);
  line-height: 1.22;
  margin: 0 0 10px;
}
.reference-card a:hover h3 {
  text-decoration: none;
  color: var(--teak);
}
.reference-card p { font-size: 14px; line-height: 1.65; }

/* Customer Feedback Band */
.customer-feedback {
  background: linear-gradient(180deg, var(--sand) 0%, var(--paper) 100%);
  padding-block: clamp(56px, 6.5vw, 96px);
}
.feedback-slide {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 40px);
  box-shadow: var(--shadow-sm);
}
.feedback-arrow {
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s var(--ease-out), background-color 0.22s, color 0.22s;
}
.feedback-arrow:hover {
  background: var(--forest);
  color: #fff;
  transform: scale(1.06);
}

/* Manufacturing, OEM / ODM & Partner Benefits */
.evidence-teaser {
  gap: clamp(32px, 5vw, 76px);
}
.evidence-teaser img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  transition: transform 0.6s var(--ease-out);
}
.evidence-teaser > div:first-child:hover img { transform: scale(1.02); }
.oem-band {
  background: var(--sand);
}
.process-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin: 36px 0 32px;
}
.process-step {
  min-width: 0;
  padding: 26px 24px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: transform 0.35s var(--ease-out), background-color 0.3s, box-shadow 0.35s, border-color 0.3s;
}
.process-step:first-child { padding: 26px 24px; border: 1px solid var(--line-soft); }
.process-step:hover {
  transform: translateY(-5px);
  background: var(--surface);
  box-shadow: var(--shadow-md);
  border-color: rgba(156, 107, 63, 0.42);
}
.process-step > span {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-pill);
  background: var(--forest);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.process-step h3 { font-size: 24px; margin: 18px 0 10px; }
.process-step p { font-size: 14px; line-height: 1.72; }

.partner-grid > div {
  padding: 26px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-xs);
  transition: transform 0.32s var(--ease-out), box-shadow 0.32s;
}
.partner-grid > div:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* Catalog Page */
.catalog-intro { padding-bottom: 20px; }
.catalog-intro h1 { font-size: clamp(38px, 5vw, 74px); }
.catalog-layout {
  display: grid;
  grid-template-areas: "search search" "filters results";
  grid-template-columns: minmax(210px, 0.62fr) minmax(0, 3.2fr);
  gap: 22px clamp(24px, 3vw, 44px);
  padding-bottom: 84px;
}
.catalog-layout .search-bar {
  grid-area: search;
  width: min(100%, 760px);
  padding: 6px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  gap: 8px;
}
.catalog-layout .search-bar:focus-within {
  border-color: var(--forest);
  box-shadow: 0 0 0 4px rgba(24, 48, 38, 0.08), var(--shadow-sm);
}
.catalog-layout .search-bar input {
  height: 46px;
  padding: 0 18px;
  border-radius: var(--radius-pill);
  background: transparent;
  border: 0;
  font-size: 15px;
  color: var(--ink);
}
.catalog-layout .search-bar input:focus { outline: none; }
.catalog-layout .search-bar input::placeholder { color: var(--muted); opacity: 1; }
.catalog-layout .search-bar .btn { min-height: 46px; padding-inline: 24px; }
.catalog-layout .browse-filters {
  grid-area: filters;
  display: block;
  min-width: 0;
}
@media (min-width: 768px) {
  .catalog-layout .browse-filters {
    position: sticky;
    top: calc(var(--site-header-height) + 20px);
    align-self: start;
  }
}
.catalog-layout .catalog-main { grid-area: results; min-width: 0; }
.catalog-layout .browse-filters details {
  padding: 0;
  border: 0;
  margin: 0 0 12px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
}
.catalog-layout .browse-filters summary {
  display: list-item;
  min-height: 46px;
  align-content: center;
  padding: 12px 16px;
  border: 0;
  color: var(--forest);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.catalog-layout .browse-filters details > div {
  display: block;
  margin: 0;
  padding: 0 12px 14px;
}
.catalog-layout .category-filter a {
  display: block;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  line-height: 1.4;
  font-size: 13.5px;
  font-weight: 500;
  transition: background-color 0.2s, color 0.2s, padding-inline-start 0.2s;
}
.catalog-layout .category-filter a:hover {
  background: var(--paper);
  color: var(--forest);
}
.catalog-layout .category-filter a.active,
.catalog-layout .category-filter a.selected,
.catalog-layout .series-links a.selected {
  color: #fff;
  background: var(--forest);
  border-color: var(--forest);
}
.catalog-layout .series-filter p { font-size: 12.5px; margin: 0 0 10px; line-height: 1.55; }
.catalog-layout .series-links { display: flex; flex-wrap: wrap; gap: 6px; }
.catalog-layout .series-links a {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  padding: 6px 11px;
  min-height: 38px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  background: var(--paper);
  border: 1px solid transparent;
}
.catalog-layout .series-links a[hidden], .series-reset[hidden] { display: none; }
.catalog-layout .series-links a.selected small { color: rgba(255, 255, 255, 0.85); }
.catalog-layout .series-reset {
  min-height: 36px;
  padding: 4px 12px;
  border: 1px solid var(--forest);
  border-radius: var(--radius-pill);
  background: var(--forest);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}
.catalog-layout #clear-filters[hidden] { display: none; }
.catalog-layout #clear-filters { min-height: 44px; padding: 5px 4px; }
.catalog-layout .catalog-toolbar {
  display: flex;
  gap: 8px 14px;
  flex-wrap: wrap;
  align-items: center;
  margin: 0 0 18px;
  padding: 10px 16px;
  min-height: 48px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--line-soft);
}
.catalog-layout .catalog-toolbar :is(p, label, select) { font-size: 13px; }
.catalog-layout .catalog-toolbar label { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; }
.catalog-layout .catalog-toolbar select {
  min-height: 36px;
  padding: 4px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--paper);
}
.catalog-layout .catalog-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
@media (max-width: 1180px) {
  .catalog-layout .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.pagination button {
  border-radius: var(--radius-pill);
  min-width: 40px;
  min-height: 40px;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.pagination button:not(:disabled):hover {
  border-color: var(--forest);
  background: var(--sand);
}

/* Product Detail Page */
.breadcrumbs { padding-block: 20px 0; font-size: 12.5px; }
.detail-layout {
  grid-template-areas: "media heading" "media info";
  grid-template-columns: minmax(0, 1.38fr) minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  align-items: start;
  gap: 18px clamp(26px, 4.2vw, 66px);
  padding-block: 24px 36px;
}
.detail-heading { grid-area: heading; min-width: 0; }
.detail-heading h1 { font-size: clamp(34px, 3.8vw, 58px); line-height: 1.06; overflow-wrap: anywhere; }
.detail-layout .detail-media { grid-area: media; position: sticky; top: calc(var(--site-header-height) + 20px); }
.detail-layout .product-gallery {
  position: relative;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: radial-gradient(circle at 50% 50%, #ffffff 45%, #f3efe6 100%);
  box-shadow: var(--shadow-sm);
  aspect-ratio: 1.24;
  overflow: hidden;
}
.detail-layout .product-gallery .swiper-slide img {
  height: 100%;
  width: 100%;
  padding: 18px;
  object-fit: contain;
  cursor: zoom-in;
  mix-blend-mode: normal;
  transition: transform 0.55s var(--ease-out);
}
.detail-layout .product-gallery .swiper-slide img:hover { transform: scale(1.03); }
.detail-layout .detail-info {
  grid-area: info;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-sm);
}
.detail-layout .spec-list { margin: 0 0 20px; }
.spec-list > div { padding-block: 13px; border-color: var(--line-soft); }
.spec-list dt { font-size: 12.5px; letter-spacing: 0.02em; font-weight: 800; color: var(--forest); }
.spec-list dd { font-size: 14px; color: var(--ink); }
.detail-actions { display: grid; grid-template-columns: 1fr; gap: 10px; }
.detail-actions > .btn { width: 100%; justify-content: space-between; }
.detail-info .whatsapp { margin-top: 10px; min-height: 44px; }
.detail-specifications {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
  column-gap: 42px;
  border-top: 1px solid var(--line);
  padding-block: 34px;
}
.detail-specifications .description { color: var(--ink); font-size: 16px; line-height: 1.75; }
.detail-specifications .spec-list {
  margin: 0;
  padding: 8px 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line-soft);
}
.detail-specifications .spec-note { grid-column: 1 / -1; font-size: 13.5px; margin-top: 16px; }

/* FAQ Accordion Polish */
details.editorial-faq,
main > section > details {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: var(--surface);
  padding: 4px 20px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-xs);
  transition: border-color 0.22s, box-shadow 0.22s;
}
details.editorial-faq[open],
main > section > details[open] {
  border-color: rgba(156, 107, 63, 0.45);
  box-shadow: var(--shadow-sm);
}
details.editorial-faq summary,
main > section > details summary {
  padding: 15px 0;
  font-weight: 700;
  color: var(--forest);
  cursor: pointer;
}
details.editorial-faq p,
main > section > details p {
  padding-bottom: 16px;
  line-height: 1.75;
}

/* Contact Page */
.contact-page {
  grid-template-areas: "intro inquiry" "resources inquiry";
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  grid-template-rows: auto 1fr;
  align-items: start;
  gap: 24px clamp(26px, 5vw, 76px);
  padding-top: clamp(36px, 5vw, 76px);
}
.contact-copy { grid-area: intro; }
.contact-resources { grid-area: resources; border-top: 1px solid var(--line); }
.contact-inquiry {
  grid-area: inquiry;
  min-width: 0;
  padding: clamp(22px, 3vw, 38px);
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-md);
}
.contact-resources .contact-details { margin-top: 18px; }
.contact-resources .contact-details h3 { margin-top: 18px; }
@media (min-width: 980px) {
  .contact-resources::after {
    content: "";
    display: block;
    aspect-ratio: 1.95;
    margin-top: 28px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    background: url(/assets/hero-teak.webp) center 58% / cover;
  }
}
.contact-copy h1 { font-size: clamp(40px, 5vw, 74px); }
.contact-details a { min-height: 44px; align-content: center; font-weight: 600; color: var(--forest); }
.contact-details a:hover { color: var(--teak); }
.contact-inquiry :is(.inquiry-form, .inquiry-list) > :is(h2, .list-heading) { margin-bottom: 12px; }
.contact-inquiry h2 { font-size: clamp(28px, 3vw, 42px); }
.contact-inquiry .inquiry-list { margin-bottom: 22px; padding-bottom: 16px; }
.inquiry-types label {
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  background: var(--paper);
  border: 1.5px solid var(--line);
  font-weight: 600;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.inquiry-types label:has(:checked) {
  background: var(--forest);
  border-color: var(--forest);
  color: #fff;
}
.inquiry-row { grid-template-columns: 58px minmax(0, 1fr) 68px 44px; gap: 10px; }
.inquiry-row img { background: var(--paper); border-radius: 8px; }
.inquiry-row button { min-height: 44px; border-radius: var(--radius-pill); }
.inquiry-row input { min-height: 44px; width: 100%; border-radius: 8px; }
.inquiry-row :is(a, small) { font-size: 13px; overflow-wrap: anywhere; }
.inquiry-form label { color: var(--ink); font-size: 13.5px; font-weight: 600; margin-bottom: 16px; }
.contact-inquiry .inquiry-form input:not([type="checkbox"]):not([type="file"]):not([type="radio"]),
.contact-inquiry .inquiry-form textarea {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  min-height: 46px;
  font-size: 15px;
  font-weight: 400;
  margin-top: 6px;
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}
.contact-inquiry .inquiry-form input:not([type="checkbox"]):not([type="file"]):not([type="radio"]):focus,
.contact-inquiry .inquiry-form textarea:focus {
  background: #fff;
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(24, 48, 38, 0.1);
  outline: none;
}
.inquiry-form .upload-label input { max-width: 100%; }
[hidden].honeypot, .inquiry-form .honeypot { display: none; }
.inquiry-form .consent { min-height: 44px; font-weight: 400; }
.inquiry-form .submit { width: 100%; }
.catalog-print-actions { gap: 10px 18px; }
.catalog-print-actions .text-link { min-height: 44px; }

/* Case Studies, Manufacturing, Inspirations & Editorial */
.case-lead {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(22px, 4vw, 58px);
  align-items: center;
  padding-block: 38px;
}
.case-lead .page-intro { width: auto; margin: 0; padding: 0; }
.case-lead .page-intro h1 { font-size: clamp(38px, 4.8vw, 72px); }
.case-lead .text-link { min-height: 44px; margin-top: 14px; }
.case-lead .evidence-banner img {
  aspect-ratio: 1.62;
  max-height: none;
  object-fit: cover;
  object-position: center 63%;
  box-shadow: var(--shadow-md);
}
:is(.case-lead, .evidence-gallery, .evidence-banner, .wide-image, .collection-index .collection-card) img {
  border-radius: var(--radius);
}
:is(.evidence-banner, .evidence-gallery, .scene-gallery) img {
  cursor: zoom-in;
  transition: transform 0.6s var(--ease-out);
}
.ly-zoom-trigger {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: none;
  color: inherit;
  text-align: inherit;
  cursor: zoom-in;
  border-radius: inherit;
}
.product-gallery .ly-zoom-trigger {
  height: 100%;
}
.ly-zoom-trigger:focus-visible {
  outline: 2.5px solid var(--teak);
  outline-offset: -3px;
}
:is(.evidence-banner, .evidence-gallery) figure:hover img { transform: scale(1.02); }
.production-video video {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.manufacturing-step { border-top: 1px solid var(--line); }
.manufacturing-step h2 { color: var(--forest); }
.step-heading > span {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  background: var(--forest);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
}
.scene-gallery {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.gallery-prev, .gallery-next {
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  transition: background-color 0.2s, color 0.2s, transform 0.2s;
}
.gallery-prev:hover, .gallery-next:hover {
  background: var(--forest);
  color: #fff;
}
:is(.prose, .article-content, .article-body, .evidence-intro) { line-height: 1.78; }
:is(.prose, .article-content, .article-body, .evidence-intro) p { max-width: 74ch; font-size: 16px; }
:is(.prose, .article-content, .article-body) h2 { margin-top: 1.2em; }
:is(.customer-feedback, .oem-band) :is(h1, h2, h3, p) { color: inherit; }
.editorial-index > h1, .editorial-article h1, .visit-hero h1 { font-size: clamp(40px, 5vw, 78px); }
.editorial-index :is(p, .article-summary), .editorial-article :is(p, li) { font-size: 16px; }
.editorial-article .article-content, .editorial-article .article-body { max-width: 74ch; }
[data-page="oem-odm"] main > .two-column { border-block-start: 1px solid var(--line); }
.about-showroom-photo img, .visit-hero img, .scene-card img, .feedback-gallery-photo img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.photo-caption, figcaption { color: var(--muted); font-size: 13px; }
#product-catalog, #inquiry-form { scroll-margin-top: 12px; }

/* Contact Band & Footer */
.contact-band {
  background:
    radial-gradient(circle at 85% 25%, rgba(156, 107, 63, 0.26), transparent 52%),
    var(--forest-deep);
  color: #fff;
  padding-block: clamp(56px, 6vw, 88px);
}
.contact-band h2 { color: #fff; }
.contact-band p { color: rgba(246, 243, 236, 0.78); font-size: 15px; }
.contact-band .btn {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--forest-deep);
}
.contact-band .btn:hover {
  background: var(--teak-light);
  border-color: var(--teak-light);
  color: var(--forest-deep);
}
.footer h2, .footer h3, .footer p { color: inherit; }
.footer .wordmark .brand-logo { height: 72px; }
.footer a:hover { color: var(--teak); }
.footer a:focus-visible { outline-color: var(--teak); }

/* Toast Notification */
.toast {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  border-radius: var(--radius-pill);
  background: var(--forest-deep);
  color: #fff;
  padding: 12px 20px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.toast.visible { pointer-events: auto; }
.toast-action {
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
}
.toast-action:hover { background: var(--paper); color: var(--forest-deep); }

/* =====================================================================
   INTERACTIVE EXPERIENCES: Shortlist Drawer, Quick-View, Lightbox, Sticky Bar
   ===================================================================== */

/* Floating Shortlist Pill */
.floating-shortlist {
  position: fixed;
  inset: auto 24px 24px auto;
  z-index: 220;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: var(--forest);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  box-shadow: var(--shadow-lg);
  transform: translateY(0);
  transition: transform 0.32s var(--ease-spring), background-color 0.22s, opacity 0.25s;
}
[dir="rtl"] .floating-shortlist { inset: auto auto 24px 24px; }
.floating-shortlist[hidden] { display: none; }
body[data-page="home"]:not(.hero-scrolled) .floating-shortlist {
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
}
.floating-shortlist:hover {
  background: var(--forest-mid);
  transform: translateY(-3px);
}
.floating-shortlist .pill-badge {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  border-radius: var(--radius-pill);
  background: var(--teak);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}
body.has-detail-bar .floating-shortlist { bottom: 88px; }

/* Slide-Over Inquiry Shortlist Drawer */
.ly-overlay {
  position: fixed;
  inset: 0;
  z-index: 420;
  background: rgba(11, 22, 17, 0.52);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease-out), visibility 0.3s;
}
.ly-overlay.is-open {
  opacity: 1;
  visibility: visible;
}
.ly-drawer[hidden], .ly-modal[hidden], .ly-lightbox[hidden] { display: none; }
.ly-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 430;
  width: min(440px, 94vw);
  height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  box-shadow: -16px 0 48px rgba(10, 22, 17, 0.24);
  transform: translateX(104%);
  transition: transform 0.38s var(--ease-out);
}
[dir="rtl"] .ly-drawer {
  inset: 0 auto 0 0;
  box-shadow: 16px 0 48px rgba(10, 22, 17, 0.24);
  transform: translateX(-104%);
}
.ly-drawer.is-open { transform: translateX(0); }
.ly-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.ly-drawer-head h2 {
  font-size: 24px;
  color: var(--forest);
}
.ly-close-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--forest);
  font-size: 22px;
  line-height: 1;
  transition: background-color 0.2s, color 0.2s, transform 0.2s;
}
.ly-close-btn:hover {
  background: var(--forest);
  border-color: var(--forest);
  color: #fff;
  transform: rotate(90deg);
}
.ly-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
}
.ly-drawer-empty {
  text-align: center;
  padding: 48px 16px;
}
.ly-drawer-empty p { margin-bottom: 18px; font-size: 14.5px; }
.ly-drawer-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  margin-bottom: 10px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--line-soft);
}
.ly-drawer-item img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 8px;
  background: var(--paper);
  padding: 4px;
}
.ly-drawer-item a {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--forest);
}
.ly-drawer-item small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}
.ly-qty-stepper {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 2px;
}
.ly-qty-stepper button {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--forest);
  font-size: 16px;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.ly-qty-stepper button:hover { background: var(--forest); color: #fff; }
.ly-qty-stepper span {
  min-width: 28px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.ly-remove-btn {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--muted);
  font-size: 19px;
}
.ly-remove-btn:hover { background: #fbe9e7; color: #9d3d2d; }
.ly-drawer-foot {
  padding: 16px 20px 20px;
  border-top: 1px solid var(--line);
  background: var(--surface);
  display: grid;
  gap: 10px;
}
.ly-drawer-foot .btn { width: 100%; justify-content: space-between; }
.ly-drawer-foot-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

/* Instant Product Quick-View Modal */
.ly-modal {
  position: fixed;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -46%) scale(0.96);
  z-index: 440;
  width: min(880px, calc(100vw - 32px));
  max-height: min(88dvh, 680px);
  overflow: auto;
  border-radius: 20px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s var(--ease-out), transform 0.34s var(--ease-out), visibility 0.28s;
}
.ly-modal.is-open {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}
.ly-modal-close {
  position: absolute;
  inset: 16px 16px auto auto;
  z-index: 2;
}
[dir="rtl"] .ly-modal-close { inset: 16px auto auto 16px; }
.ly-qv-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
}
.ly-qv-media {
  background: radial-gradient(circle at 50% 50%, #ffffff 42%, #f2ede3 100%);
  display: grid;
  place-items: center;
  padding: 28px;
  min-height: 360px;
}
.ly-qv-media img {
  max-height: 390px;
  width: 100%;
  object-fit: contain;
}
.ly-qv-body {
  padding: 30px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ly-qv-body .ly-qty-stepper { align-self: flex-start; }
.ly-qv-sku {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  background: var(--sand);
  color: var(--forest);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.ly-qv-body h2 { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; }
.ly-qv-desc { font-size: 14px; line-height: 1.65; color: var(--muted); white-space: pre-line; }
.ly-qv-specs {
  display: grid;
  gap: 8px;
  padding: 12px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  margin: 4px 0;
}
.ly-qv-specs div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-size: 13px;
}
.ly-qv-specs dt { font-weight: 700; color: var(--forest); }
.ly-qv-specs dd { margin: 0; color: var(--ink); text-align: end; }
.ly-qv-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 8px;
}
.ly-qv-actions .btn { flex: 1 1 160px; }

/* Full-Screen Photo Lightbox with Zoom */
.ly-lightbox {
  position: fixed;
  inset: 0;
  z-index: 460;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: rgba(10, 20, 16, 0.92);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s var(--ease-out), visibility 0.28s;
}
.ly-lightbox.is-open { opacity: 1; visibility: visible; }
.ly-lb-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.ly-lb-bar .ly-close-btn {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.24);
  color: #fff;
}
.ly-lb-stage {
  position: relative;
  display: grid;
  place-items: center;
  overflow: auto;
  padding: 8px 68px;
}
.ly-lb-stage img {
  max-width: 100%;
  max-height: 76dvh;
  border-radius: 10px;
  object-fit: contain;
  cursor: zoom-in;
  transition: transform 0.35s var(--ease-out);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.ly-lb-stage img.is-zoomed {
  transform: scale(1.65);
  cursor: zoom-out;
}
.ly-lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  display: grid;
  place-items: center;
  transition: background-color 0.2s, transform 0.2s;
}
.ly-lb-nav:hover { background: var(--paper); color: var(--forest-deep); }
.ly-lb-prev { inset-inline-start: 16px; }
.ly-lb-next { inset-inline-end: 16px; }
.ly-lb-prev svg { transform: rotate(180deg); }
[dir="rtl"] .ly-lb-prev svg { transform: none; }
[dir="rtl"] .ly-lb-next svg { transform: rotate(180deg); }
.ly-lb-caption {
  text-align: center;
  padding: 12px 24px 20px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}

/* Product Detail Sticky Bottom Quick-Inquiry Bar */
.detail-sticky-bar {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 210;
  background: var(--glass-light);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  border-top: 1px solid var(--line);
  box-shadow: 0 -10px 30px rgba(15, 31, 24, 0.08);
  transform: translateY(110%);
  transition: transform 0.34s var(--ease-out);
}
.detail-sticky-bar.is-visible { transform: translateY(0); }
.detail-sticky-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 10px;
}
.detail-sticky-info {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.detail-sticky-info img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line-soft);
}
.detail-sticky-info strong {
  display: block;
  font-size: 13px;
  color: var(--forest);
}
.detail-sticky-info span {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 34vw;
}
.detail-sticky-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.detail-sticky-actions .btn { min-height: 42px; padding: 8px 18px; }

/* Responsive Breakpoints */
@media (max-width: 1199px) {
  .site-header .nav-tools > .btn { display: none; }
  .site-header .menu-toggle { display: grid; place-content: center; }
  .site-header #main-nav {
    display: none;
    position: absolute;
    inset: 100% 0 auto;
    margin: 0;
    padding: 12px var(--page-gutter) 24px;
    background: var(--paper);
    max-height: calc(100dvh - var(--site-header-height));
    overflow: auto;
    box-shadow: var(--shadow-lg);
  }
  .site-header #main-nav.is-open { display: block; }
  .site-header #main-nav > a { display: flex; }
  .site-header #main-nav > :is(a, .mega-parent) { border-bottom: 1px solid var(--line); }
  .site-header .mega-menu { position: static; box-shadow: none; width: auto; padding: 10px 0; background: transparent; }
  .site-header .mega-menu:not([hidden]) { display: block; }
  .site-header .mega-menu > :first-child, .site-header .mega-image { display: none; }
  .site-header .mega-links a { min-height: 44px; }
  .home-collections .collection-card,
  .home-collections .collection-card:nth-child(1),
  .home-collections .collection-card:nth-child(2) {
    grid-column: span 4;
  }
  .home-collections .collection-card:nth-child(1) .image-frame,
  .home-collections .collection-card:nth-child(2) .image-frame {
    aspect-ratio: 1.25;
  }
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  :root { --site-header-height: 64px; --page-gutter: 16px; }
  .site-header .nav-wrap { gap: 6px; }
  .site-header .wordmark { gap: 5px; min-width: 0; }
  .site-header .wordmark .brand-logo { height: 40px; }
  .site-header .nav-brand { font-size: clamp(16px, 4.7vw, 21px); }
  .nav-tools { gap: 2px; min-width: 0; }
  .nav-tools .language-picker summary { font-size: 11px; padding-inline: 4px; min-width: 40px; }
  .site-header .inquiry-count { min-width: 38px; padding: 0 5px; gap: 3px; }
  .site-header .menu-toggle { width: 42px; min-width: 42px; }
  .site-header .inquiry-count :is(svg, span) { flex-shrink: 0; }
  .quick-view-btn { padding: 6px 8px; font-size: 11px; max-width: calc(100% - 16px); }
  .quick-view-btn span { display: none; }
  .product-card .product-caption { padding: 10px 10px 12px; gap: 6px; }
  .product-card .add-icon { flex: 0 0 36px; width: 36px; height: 36px; font-size: 18px; }

  .immersive-hero, .immersive-hero:dir(rtl) {
    --hero-veil: linear-gradient(
      to top,
      rgb(var(--hero-shade-rgb) / 0.88) 32%,
      rgb(var(--hero-shade-rgb) / 0.72) 56%,
      rgb(var(--hero-shade-rgb) / 0.5) 75%,
      rgb(var(--hero-shade-rgb) / 0.08) 94%
    );
    padding-block-end: 12px;
  }
  .immersive-hero .hero-copy.container { align-self: end; padding-block: 24px 20px; }
  .immersive-hero .hero-copy h1 { max-inline-size: 100%; font-size: clamp(33px, 9vw, 56px); line-height: 1.06; }
  .immersive-hero .hero-copy p { margin-block: 9px 17px; font-size: 14px; }
  .immersive-hero .hero-actions .btn { padding: 10px 14px; gap: 6px; font-size: 11.5px; min-height: 44px; }
  .immersive-hero .hero-bottom.container { justify-content: end; }
  .immersive-hero .hero-bottom .scroll-cue { display: none; }
  .immersive-hero .swiper-slide[data-hero-scene="teak"] img { object-position: 60% center; }
  .immersive-hero .swiper-slide[data-hero-scene="aluminum"] img { object-position: 46% center; }
  .immersive-hero .swiper-slide[data-hero-scene="pool"] img { object-position: 66% center; }

  .home-collections .browse-card-grid { gap: 12px; }
  .home-collections .collection-card,
  .home-collections .collection-card:nth-child(1),
  .home-collections .collection-card:nth-child(2) {
    grid-column: span 6;
  }
  .home-collections .collection-card:nth-child(1) .collection-caption,
  .home-collections .collection-card:nth-child(2) .collection-caption {
    position: relative;
    padding: 12px 14px;
    background: var(--surface);
    color: var(--forest);
  }
  .home-collections .collection-card:nth-child(1) .collection-caption h3,
  .home-collections .collection-card:nth-child(2) .collection-caption h3 {
    color: var(--forest);
    font: 700 14px/1.3 var(--sans);
  }
  .home-collections .collection-caption { padding: 12px 14px; }
  .home-collections .collection-caption :is(h2, h3) { font-size: 14px; }
  .home-collections .section-head { gap: 12px; align-items: start; }
  .home-collections .section-head h2 { font-size: clamp(30px, 8.5vw, 46px); }

  .factory-metrics { grid-template-columns: 1fr; gap: 14px; }
  .factory-metrics > div { padding: 20px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; }
  .factory-metrics dt { min-width: 0; font-size: 40px; }
  .factory-visit { flex-direction: column; align-items: flex-start; gap: 16px; }
  .process-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .process-step, .process-step:first-child { padding: 20px 18px; }
  .reference-grid { grid-template-columns: 1fr; gap: 20px; }

  .catalog-intro { padding-top: 22px; padding-bottom: 13px; }
  .catalog-intro h1 { font-size: clamp(36px, 8.8vw, 54px); }
  .catalog-layout { grid-template-areas: "search" "filters" "results"; grid-template-columns: minmax(0, 1fr); gap: 12px; padding-bottom: 48px; }
  .catalog-layout .catalog-grid { grid-template-columns: minmax(0, 1fr); }
  .catalog-layout .product-card .product-photo { aspect-ratio: 1.48; }
  .catalog-layout .catalog-toolbar label { margin-left: 0; }

  .detail-layout { grid-template-areas: "heading" "media" "info"; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; padding-block: 14px 24px; gap: 14px; }
  .detail-layout .detail-media { position: static; }
  .detail-heading h1 { font-size: clamp(31px, 8.5vw, 48px); }
  .detail-layout .product-gallery { aspect-ratio: 1.32; }
  .detail-specifications { grid-template-columns: minmax(0, 1fr); row-gap: 20px; }
  .contact-page { grid-template-areas: "intro" "inquiry" "resources"; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; padding-top: 22px; gap: 16px; }
  .contact-copy h1 { font-size: clamp(32px, 8.8vw, 46px); }
  .contact-copy h1 br { display: none; }
  .case-lead { grid-template-columns: minmax(0, 1fr); padding-block: 22px; gap: 14px; }
  .case-lead .evidence-banner img { aspect-ratio: 1.2; }

  .ly-qv-grid { grid-template-columns: 1fr; }
  .ly-qv-media { min-height: 220px; padding: 18px; }
  .ly-qv-media img { max-height: 230px; }
  .ly-qv-body { padding: 18px; }
  .ly-lb-stage { padding: 8px 16px; }
  .ly-lb-nav { width: 40px; height: 40px; }
  .detail-sticky-info span { display: none; }
  .detail-sticky-actions .btn { padding: 8px 12px; font-size: 11px; }
  .floating-shortlist { inset: auto 16px 16px auto; padding: 9px 14px; font-size: 12px; }
  [dir="rtl"] .floating-shortlist { inset: auto auto 16px 16px; }
}

@media (max-height: 520px) and (orientation: landscape) {
  .immersive-hero { padding-block: calc(var(--site-header-height) + 8px) 12px; }
  .immersive-hero .hero-copy.container { padding-block: 10px 8px; }
  .immersive-hero .hero-copy h1 { font-size: clamp(30px, 5vw, 52px); }
  .immersive-hero .hero-copy p { margin-block: 5px 11px; }
}

@media (max-width: 359px) {
  :root { --page-gutter: 12px; }
  .site-header .nav-wrap { gap: 3px; }
  .site-header .wordmark .brand-logo { height: 30px; }
  .site-header .nav-brand { font-size: 14px; }
  .site-header .inquiry-count { min-width: 34px; padding: 0 3px; gap: 2px; }
  .site-header .menu-toggle { width: 38px; min-width: 38px; }
  .nav-tools .language-picker summary { padding-inline: 2px; min-width: 34px; max-width: 4.5rem; overflow: hidden; text-overflow: ellipsis; }
  .product-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-inquiry .form-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-progress { transition: none; }
  .immersive-hero :is(.btn, .btn svg, .hero-controls button),
  .product-card, .collection-card, .reference-card, .process-step,
  .ly-drawer, .ly-modal, .ly-overlay, .ly-lightbox, .detail-sticky-bar {
    transition: none !important;
    animation: none !important;
  }
  .immersive-hero .scroll-cue span::after { animation: none; }
}

@media print {
  .scroll-progress, .floating-shortlist, .ly-overlay, .ly-drawer, .ly-modal,
  .ly-lightbox, .detail-sticky-bar, .quick-view-btn { display: none !important; }
  :is(.catalog-layout, .detail-layout, .detail-specifications) { display: block !important; }
  .product-card .product-caption { padding: 4px; }
  .product-card .product-caption h3 { font-size: 11pt; }
}
