:root {
  color-scheme: light;
  --ink: #18201d;
  --muted: #68736f;
  --paper: #f5efe3;
  --paper-deep: #e5d6bf;
  --surface: #fffdf8;
  --line: #d9cdbb;
  --forest: #24433c;
  --sage: #7d8f79;
  --blue: #6fa6bb;
  --clay: #9a6a56;
  --gold: #a9834a;
  --plum: #5d5a72;
  --charcoal: #111a16;
  --shadow: 0 24px 72px rgba(24, 32, 29, 0.17);
  --soft-shadow: 0 14px 38px rgba(24, 32, 29, 0.11);
  --radius: 8px;
  --header-height: 72px;
  --display-font: Georgia, "Times New Roman", "Songti SC", "Noto Serif SC", "STSong", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0) 360px),
    var(--paper);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

html[data-lang="zh"] body {
  line-height: 1.62;
}

body[data-page="admin"] {
  background:
    linear-gradient(180deg, #eef2f0, #f7f5ef 420px),
    #f7f5ef;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgba(181, 134, 59, 0.78);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 80;
  padding: 10px 14px;
  color: #fff;
  background: var(--ink);
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 16px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.site-header,
.admin-header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(16px, 2.8vw, 38px);
  padding: 0 clamp(22px, 5.4vw, 90px);
  background: rgba(248, 245, 238, 0.94);
  border-bottom: 1px solid rgba(17, 24, 23, 0.08);
  box-shadow: 0 12px 34px rgba(24, 32, 29, 0.06);
  backdrop-filter: blur(18px);
}

.admin-header {
  background: rgba(238, 242, 240, 0.94);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: clamp(205px, 16vw, 270px);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #fff;
  background: linear-gradient(135deg, var(--forest), var(--blue));
  border-radius: 50%;
  font-weight: 900;
}

.brand-logo-wrap {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  overflow: hidden;
  background: rgba(255, 253, 248, 0.9);
  border: 1px solid rgba(36, 67, 60, 0.16);
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(24, 32, 29, 0.08);
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1.58);
  transform-origin: center;
}

.brand strong,
.brand small {
  display: block;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.brand strong {
  font-size: 18px;
  font-weight: 900;
  line-height: 1.15;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand small {
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 700;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
  color: #394441;
  font-size: 14px;
  font-weight: 760;
  white-space: nowrap;
}

.site-nav a {
  position: relative;
  padding: 4px 0;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--forest);
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 3px;
  border: 1px solid rgba(17, 24, 23, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.62);
}

.language-switch button {
  min-width: 40px;
  min-height: 30px;
  padding: 0 9px;
  border: 0;
  border-radius: 6px;
  color: #53605c;
  background: transparent;
  font-size: 12px;
  font-weight: 900;
}

.language-switch button.is-active {
  color: #fff;
  background: var(--charcoal);
}

.header-cta,
.whatsapp-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid rgba(18, 63, 53, 0.28);
  border-radius: var(--radius);
  color: var(--forest);
  font-weight: 850;
  font-size: 13px;
  white-space: nowrap;
}

.whatsapp-cta {
  color: #fff;
  background: #1f8f58;
  border-color: rgba(31, 143, 88, 0.4);
  box-shadow: 0 12px 26px rgba(31, 143, 88, 0.18);
}

.whatsapp-cta::before {
  content: "";
  width: 9px;
  height: 9px;
  margin-right: 8px;
  background: #fff;
  border-radius: 50%;
  box-shadow: -4px 4px 0 rgba(255, 255, 255, 0.45);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--ink);
}

.mobile-menu {
  position: sticky;
  top: var(--header-height);
  z-index: 55;
  display: grid;
  padding: 8px 18px 18px;
  background: rgba(243, 240, 232, 0.98);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu a {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.hero-showroom {
  position: relative;
  --hero-cursor-x: 50%;
  --hero-cursor-y: 50%;
  --hero-shift-x: 0px;
  --hero-shift-y: 0px;
  --hero-tilt-x: 0deg;
  --hero-tilt-y: 0deg;
  height: min(calc(100vh - var(--header-height)), 810px);
  height: min(calc(100dvh - var(--header-height)), 810px);
  min-height: 620px;
  overflow: hidden;
  background: var(--charcoal);
}

.hero-showroom::before,
.hero-showroom::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-showroom::before {
  opacity: 0;
  background:
    radial-gradient(
      circle at var(--hero-cursor-x) var(--hero-cursor-y),
      rgba(255, 255, 255, 0.28),
      rgba(181, 134, 59, 0.12) 16%,
      rgba(255, 255, 255, 0) 38%
    );
  transition: opacity 240ms ease;
  mix-blend-mode: screen;
}

.hero-showroom::after {
  opacity: 0.22;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 8px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 10px);
  transform: translate3d(calc(var(--hero-shift-x) * 0.22), calc(var(--hero-shift-y) * 0.22), 0);
  transition: opacity 220ms ease, transform 220ms ease;
  mix-blend-mode: soft-light;
}

.hero-showroom[data-pointer-active="true"]::before {
  opacity: 1;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 720px) minmax(230px, 320px);
  justify-content: space-between;
  gap: clamp(28px, 5vw, 78px);
  align-items: end;
  padding: clamp(62px, 8vw, 104px) clamp(28px, 7.6vw, 138px) clamp(64px, 7vw, 94px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 650ms ease, transform 900ms ease;
  transform: scale(1.02);
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 18, 16, 0.78), rgba(10, 18, 16, 0.34) 48%, rgba(10, 18, 16, 0.05)),
    linear-gradient(0deg, rgba(10, 18, 16, 0.7), rgba(10, 18, 16, 0) 52%),
    var(--hero-image) center / cover no-repeat;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.hero-copy,
.hero-material-panel {
  position: relative;
  z-index: 3;
}

.hero-copy {
  max-width: 720px;
  color: #fff;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 960px;
  margin-bottom: 20px;
  font-size: clamp(44px, 7vw, 96px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4.3vw, 60px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.24;
}

.hero-copy h1 {
  max-width: 800px;
  font-family: var(--display-font);
  font-size: clamp(52px, 7vw, 96px);
  font-weight: 700;
  line-height: 0.94;
}

.hero-copy h2 {
  max-width: 760px;
  font-family: var(--display-font);
  font-size: clamp(46px, 6.2vw, 86px);
  font-weight: 700;
  line-height: 0.96;
}

.hero-copy p {
  max-width: 570px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(17px, 1.7vw, 20px);
}

.hero-material-panel {
  display: none;
}

.hero-material-panel span,
.hero-material-panel strong,
.hero-material-panel p {
  display: block;
}

.hero-material-panel span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-material-panel strong {
  margin: 8px 0;
  font-family: var(--display-font);
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.12;
}

.hero-material-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.hero-actions,
.contact-actions,
.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 850;
  text-align: center;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--soft-shadow);
}

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

.btn.secondary {
  color: var(--forest);
  background: transparent;
  border-color: rgba(18, 63, 53, 0.35);
}

.btn.secondary.dark {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn.light {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(10px);
}

.hero-controls {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: block;
  width: auto;
  padding: 0;
  color: #fff;
  background: none;
  border: 0;
  box-shadow: none;
  pointer-events: none;
}

.hero-controls > button {
  position: absolute;
  top: 50%;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  min-height: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(17, 24, 23, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
  font-size: 0;
  pointer-events: auto;
  transform: translateY(-50%);
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.hero-controls > button[data-hero-prev] {
  left: clamp(14px, 3vw, 42px);
}

.hero-controls > button[data-hero-next] {
  right: clamp(14px, 3vw, 42px);
}

.hero-controls > button::before {
  content: "";
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
}

.hero-controls > button[data-hero-prev]::before {
  transform: rotate(-45deg) translate(1px, 1px);
}

.hero-controls > button[data-hero-next]::before {
  transform: rotate(135deg) translate(1px, 1px);
}

.hero-controls > button:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.42);
  transform: translateY(calc(-50% - 1px));
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 26px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 6px;
  pointer-events: auto;
  transform: translateX(-50%);
}

.hero-dots button {
  position: relative;
  width: 24px;
  height: 24px;
  min-height: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  transition: width 220ms ease, background 220ms ease, opacity 220ms ease;
}

.hero-dots button.is-active {
  width: 36px;
}

.hero-dots button::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  transform: translate(-50%, -50%);
  transition: width 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.hero-dots button.is-active::before {
  width: 28px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.24);
}

.scroll-cue {
  position: absolute;
  right: clamp(150px, 15vw, 260px);
  bottom: 32px;
  z-index: 4;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 800;
}

.category-loop {
  position: relative;
  overflow: hidden;
  scroll-margin-top: var(--header-height);
  min-height: clamp(292px, 23vw, 330px);
  padding: clamp(46px, 4.7vw, 62px) 0 clamp(42px, 4.5vw, 60px);
  background: #f4f0e9;
  border-bottom: 1px solid rgba(17, 24, 23, 0.08);
}

.category-loop-heading {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 10px;
  max-width: 780px;
  margin: 0 auto clamp(34px, 3.5vw, 46px);
  padding: 0 20px;
  text-align: center;
}

.category-loop-kicker,
.category-loop-copy {
  margin: 0;
}

.category-loop-kicker {
  color: var(--gold);
  font-size: clamp(12px, 0.78vw, 14px);
  font-weight: 850;
}

.category-loop-copy {
  color: rgba(24, 32, 29, 0.58);
  font-family: var(--display-font);
  font-size: clamp(17px, 1.2vw, 19px);
  line-height: 1.62;
}

.category-loop-viewport {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(18px, 2vw, 26px);
  overflow: hidden;
  padding: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.category-loop-row {
  overflow: hidden;
}

.category-loop-track {
  display: flex;
  width: max-content;
  animation: categoryLoop 62s linear infinite;
  will-change: transform;
}

.category-loop-row--reverse .category-loop-track {
  animation-duration: 72s;
  animation-direction: reverse;
}

.category-loop-group {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: clamp(52px, 6.2vw, 108px);
  padding-right: clamp(52px, 6.2vw, 108px);
}

.category-loop-pill {
  flex: 0 0 auto;
  white-space: nowrap;
  color: rgba(24, 32, 29, 0.52);
  font-family: var(--display-font);
  font-size: clamp(22px, 1.85vw, 31px);
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: 0;
  text-decoration: none;
  transition: color 180ms ease;
}

.category-loop-pill:hover {
  color: rgba(24, 32, 29, 0.84);
}

@keyframes categoryLoop {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

.section-shell {
  padding: clamp(64px, 8vw, 112px) clamp(18px, 5vw, 72px);
}

.home-stats {
  scroll-margin-top: var(--header-height);
  padding: clamp(22px, 2.8vw, 34px) clamp(18px, 5vw, 72px) clamp(18px, 2.4vw, 28px);
  background: #fffdf8;
}

.home-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 8vw, 108px);
  max-width: 680px;
  margin: 0 auto;
  padding-bottom: clamp(14px, 2vw, 22px);
  border-bottom: 1px solid rgba(24, 32, 29, 0.14);
}

.home-stat {
  text-align: center;
}

.home-stat strong,
.home-stat span {
  display: block;
}

.home-stat strong {
  font-family: var(--display-font);
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 700;
  line-height: 1;
}

.home-stat span {
  margin-top: 6px;
  color: rgba(24, 32, 29, 0.58);
  font-size: 12px;
}

.section-head {
  max-width: 900px;
  margin-bottom: 32px;
}

.section-head.split,
.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 0.7fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: end;
}

.buyer-routes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding-top: 0;
}

.route-card {
  min-height: 190px;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.96), rgba(111, 166, 187, 0.13)),
    var(--surface);
  border: 1px solid rgba(36, 67, 60, 0.13);
  border-radius: var(--radius);
}

.route-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 20px;
  color: #fff;
  background: var(--forest);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
}

.route-card p {
  margin: 0;
  color: var(--muted);
}

.intro-copy p,
.section-head p,
.lookbook-copy p,
.contact-band p,
.catalog-hero p,
.fabric-summary p,
.admin-hero p {
  color: var(--muted);
}

.text-link {
  border: 0;
  background: transparent;
  color: var(--forest);
  font-weight: 900;
}

.catalog-entry-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  max-width: 100%;
  padding: 9px 17px;
  color: var(--forest);
  background: rgba(18, 63, 53, 0.065);
  border: 1px solid rgba(18, 63, 53, 0.24);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(24, 32, 29, 0.055);
  line-height: 1.35;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.catalog-entry-icon {
  display: inline-grid;
  flex: 0 0 22px;
  place-items: center;
  width: 22px;
  height: 22px;
  color: var(--forest);
  background: rgba(18, 63, 53, 0.1);
  border-radius: 50%;
  font-size: 14px;
  line-height: 1;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.catalog-entry-link:hover {
  color: #fff;
  background: var(--forest);
  border-color: var(--forest);
  box-shadow: 0 14px 34px rgba(18, 63, 53, 0.16);
  transform: translateY(-1px);
}

.catalog-entry-link:hover .catalog-entry-icon {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  transform: translateX(2px);
}

.catalog-entry-link:focus-visible {
  color: var(--forest);
  background: rgba(18, 63, 53, 0.1);
  border-color: rgba(18, 63, 53, 0.48);
  box-shadow: 0 0 0 4px rgba(181, 134, 59, 0.12), 0 12px 30px rgba(18, 63, 53, 0.12);
  transform: none;
}

.catalog-entry-link:active {
  transform: translateY(0);
}

.featured-grid,
.category-story-grid,
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.featured-grid.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.featured-grid.home-showcase-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 28px);
}

.home-showcase-grid .showcase-card {
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 18px 54px rgba(24, 32, 29, 0.08);
}

.showcase-card .card-media {
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0) 32%),
    linear-gradient(135deg, #fbf8f1, #eceee6);
}

.model-category-grid {
  align-items: stretch;
}

.model-category-card .category-media {
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(circle at 18% 14%, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0) 32%),
    linear-gradient(135deg, #fbf7ef, #eef2ee);
}

.fabric-card,
.category-card,
.product-card {
  content-visibility: auto;
  contain-intrinsic-size: 520px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(17, 24, 23, 0.09);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.68) inset;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.fabric-card:hover,
.category-card:hover,
.product-card:hover {
  transform: translateY(-3px);
  border-color: rgba(20, 61, 52, 0.18);
  box-shadow: var(--shadow);
}

.card-media,
.product-media,
.category-media {
  position: relative;
  min-height: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0) 34%),
    linear-gradient(135deg, #f8f4eb, #eef3ef);
  background-color: #f8f5ec;
}

.card-media:not(.has-image),
.product-media:not(.has-image),
.category-media:not(.has-image) {
  background-image:
    linear-gradient(135deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0)),
    var(--media-image, linear-gradient(135deg, #d8e4df, #f2efe6));
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.card-media.is-pending,
.product-media.is-pending,
.category-media.is-pending {
  background-image:
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0) 28%),
    repeating-linear-gradient(135deg, rgba(37, 79, 71, 0.1) 0 1px, rgba(255, 255, 255, 0) 1px 9px),
    linear-gradient(135deg, #dfe8e4, #f5f0e5 52%, #c8ddeb);
}

.card-media-image,
.product-media-image,
.category-media-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  padding: 10px;
  object-fit: contain;
  object-position: center;
  background: #fbf8f1;
}

.showcase-card .card-media-image,
.model-category-card .category-media-image {
  padding: 0;
  background: #f7f2e8;
}

.media-pending-mark {
  position: absolute;
  inset: auto 16px 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: calc(100% - 32px);
  min-height: 36px;
  padding: 0 12px;
  color: var(--forest);
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(37, 79, 71, 0.18);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 10px 28px rgba(17, 24, 23, 0.12);
  backdrop-filter: blur(12px);
}

.card-media::after,
.product-media::after,
.category-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(17, 24, 23, 0.08), rgba(17, 24, 23, 0) 46%, rgba(17, 24, 23, 0.1));
}

.badge-row {
  position: absolute;
  inset: 12px 12px auto;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  color: #fff;
  background: rgba(17, 24, 23, 0.7);
  font-size: 12px;
  font-weight: 850;
}

.card-body,
.product-body,
.category-body {
  padding: 18px;
}

.fabric-card,
.product-card,
.card-body,
.product-body {
  display: flex;
  flex-direction: column;
}

.fabric-card,
.product-card {
  min-height: 100%;
}

.card-media-link,
.product-media-link {
  display: block;
}

.card-body p,
.product-body p,
.category-body p {
  color: var(--muted);
}

.card-body h3,
.product-body h3,
.category-body h3 {
  display: -webkit-box;
  min-height: 2.48em;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-body > p:not(.eyebrow),
.product-body > p:not(.eyebrow),
.category-body > p:not(.eyebrow) {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: auto;
  padding-top: 16px;
}

.card-actions .btn {
  min-height: 38px;
  padding: 0 10px;
  font-size: 12px;
  line-height: 1.2;
  white-space: normal;
}

.swatch-action.is-selected {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

.meta-line,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}

.tag,
.meta-pill,
.status-chip {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  color: #3f4f4b;
  background: #e8ede7;
  font-size: 12px;
  font-weight: 850;
}

.status-chip {
  color: #fff;
  background: var(--forest);
}

.status-chip.alt {
  background: var(--blue);
}

.editorial-feature {
  padding-top: clamp(44px, 5vw, 68px);
  background: #fffdf8;
}

.editorial-feature .section-head {
  display: grid;
  justify-items: center;
  max-width: 860px;
  margin: 0 auto clamp(32px, 3.8vw, 48px);
  text-align: center;
}

.editorial-feature .section-head.split {
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: center;
}

.editorial-feature .section-head h2 {
  max-width: 760px;
  margin-bottom: 0;
  font-family: var(--display-font);
  font-size: clamp(38px, 4.5vw, 62px);
  font-weight: 700;
  line-height: 1.02;
}

.editorial-feature .section-head .text-link {
  margin-top: 0;
}

.home-editorial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(22px, 3vw, 34px);
}

.editorial-lead {
  display: grid;
  grid-template-columns: minmax(360px, 0.95fr) minmax(340px, 0.76fr);
  gap: clamp(34px, 5vw, 82px);
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}

.editorial-lead-media {
  display: block;
  overflow: hidden;
  height: clamp(500px, 50vw, 680px);
  min-height: 0;
  background: #eee6d9;
  border-radius: var(--radius);
  box-shadow: 0 34px 86px rgba(24, 32, 29, 0.13);
}

.editorial-lead-media img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center top;
  transition: transform 700ms ease;
}

.editorial-lead-media:hover img {
  transform: scale(1.025);
}

.editorial-lead-copy {
  padding-block: clamp(12px, 4vw, 46px);
}

.editorial-lead-copy h3 {
  max-width: 520px;
  margin-bottom: 18px;
  font-family: var(--display-font);
  font-size: clamp(38px, 4.5vw, 64px);
  font-weight: 700;
  line-height: 1.02;
}

.editorial-lead-copy p:not(.eyebrow) {
  max-width: 520px;
  color: rgba(24, 32, 29, 0.64);
  font-size: clamp(16px, 1.2vw, 18px);
}

.editorial-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0 0;
}

.editorial-specs span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  color: var(--forest);
  background: #eef3ed;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 850;
}

.editorial-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.editorial-mini-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
  max-width: 1180px;
  margin: 0 auto;
}

.editorial-mini {
  display: grid;
  gap: 10px;
  padding: 12px 12px 16px;
  background: rgba(255, 253, 248, 0.76);
  border: 1px solid rgba(24, 32, 29, 0.1);
  border-radius: var(--radius);
}

.editorial-mini span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
}

.editorial-mini img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: 6px;
}

.editorial-mini strong {
  font-size: 15px;
  line-height: 1.2;
}

.editorial-mini small {
  color: var(--muted);
}

.collection-panel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 28px);
}

body[data-page="home"] .collection-panel {
  overflow: hidden;
  background: rgba(255, 253, 248, 0.92);
  border: 1px solid rgba(24, 32, 29, 0.1);
  border-radius: var(--radius);
  box-shadow: 0 22px 62px rgba(24, 32, 29, 0.08);
}

body[data-page="home"] .collection-panel a,
body[data-page="home"] .collection-panel-media {
  display: block;
}

body[data-page="home"] .collection-panel-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0)),
    var(--media-image, #eee7dc);
  background-position: center;
  background-size: cover;
}

body[data-page="home"] .collection-panel-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

body[data-page="home"] .collection-panel-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(17, 24, 23, 0.1), rgba(17, 24, 23, 0) 44%, rgba(17, 24, 23, 0.12));
}

body[data-page="home"] .collection-panel-body {
  padding: 20px;
}

body[data-page="home"] .collection-panel-body h3 {
  min-height: 2.44em;
  margin-bottom: 10px;
  font-size: clamp(18px, 1.4vw, 22px);
}

body[data-page="home"] .collection-panel-body p:not(.eyebrow) {
  display: -webkit-box;
  min-height: 3.1em;
  overflow: hidden;
  color: var(--muted);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

body[data-page="home"] .category-story {
  background:
    linear-gradient(180deg, #fffdf8 0%, #f7f1e6 100%);
  border-top: 1px solid rgba(24, 32, 29, 0.08);
}

body[data-page="home"] .category-story .section-head {
  display: grid;
  justify-items: center;
  max-width: 820px;
  margin: 0 auto clamp(34px, 4vw, 54px);
  text-align: center;
}

body[data-page="home"] .category-story .section-head h2 {
  max-width: 760px;
  margin-bottom: 0;
  font-family: var(--display-font);
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 700;
  line-height: 1.04;
}

body[data-page="home"] .category-story-grid {
  max-width: 1180px;
  margin-inline: auto;
}

body[data-page="home"] .home-collection-panel {
  background: rgba(255, 253, 248, 0.9);
  border-color: rgba(24, 32, 29, 0.09);
  box-shadow: 0 26px 72px rgba(24, 32, 29, 0.09);
}

body[data-page="home"] .home-collection-panel .collection-panel-media {
  aspect-ratio: 16 / 10.8;
}

body[data-page="home"] .home-collection-panel .collection-panel-media img {
  transform: scale(1.01);
  transition: transform 650ms ease, filter 650ms ease;
}

body[data-page="home"] .home-collection-panel:hover .collection-panel-media img {
  transform: scale(1.045);
  filter: saturate(1.04);
}

body[data-page="home"] .home-collection-panel .collection-panel-body {
  padding: 20px 22px 24px;
}

body[data-page="home"] .home-collection-panel .collection-panel-body h3 {
  min-height: 0;
  max-width: 440px;
  font-family: var(--display-font);
  font-size: clamp(22px, 2.2vw, 34px);
  font-weight: 700;
  line-height: 1.06;
}

.lookbook-band {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1fr);
  min-height: 720px;
  background: var(--charcoal);
  color: #fff;
}

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

.lookbook-copy {
  align-self: center;
  padding: clamp(36px, 7vw, 86px);
}

.lookbook-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 26px 0;
  background: rgba(255, 255, 255, 0.16);
}

.proof-grid div {
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.proof-grid strong,
.proof-grid span {
  display: block;
}

.proof-grid strong {
  font-size: 32px;
}

.proof-grid span {
  color: rgba(255, 255, 255, 0.7);
}

body[data-page="home"] .lookbook-band {
  grid-template-columns: minmax(320px, 0.76fr) minmax(0, 1fr);
  min-height: 660px;
  color: var(--ink);
  background: #fffdf8;
  border-top: 1px solid rgba(24, 32, 29, 0.08);
}

body[data-page="home"] .lookbook-image {
  min-height: 520px;
  background: #efe6d8;
}

body[data-page="home"] .lookbook-image img {
  object-position: center top;
}

body[data-page="home"] .lookbook-copy {
  max-width: 720px;
}

body[data-page="home"] .lookbook-copy h2 {
  max-width: 680px;
  font-family: var(--display-font);
  font-size: clamp(40px, 5vw, 70px);
  font-weight: 700;
  line-height: 1.02;
}

body[data-page="home"] .lookbook-copy p {
  color: var(--muted);
}

body[data-page="home"] .proof-grid {
  overflow: hidden;
  background: rgba(24, 32, 29, 0.08);
  border: 1px solid rgba(24, 32, 29, 0.08);
  border-radius: var(--radius);
}

body[data-page="home"] .proof-grid div {
  background: rgba(238, 242, 234, 0.74);
}

body[data-page="home"] .proof-grid strong {
  color: var(--ink);
}

body[data-page="home"] .proof-grid span {
  color: rgba(24, 32, 29, 0.58);
}

body[data-page="home"] .lookbook-band .btn.secondary.dark {
  color: var(--forest);
  background: rgba(255, 253, 248, 0.86);
  border-color: rgba(18, 63, 53, 0.35);
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: clamp(46px, 7vw, 80px) clamp(18px, 5vw, 72px);
  color: #fff;
  background-image:
    linear-gradient(90deg, rgba(19, 27, 24, 0.94), rgba(19, 27, 24, 0.7)),
    var(--contact-image, linear-gradient(135deg, #244f48, #8eb1be));
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.contact-band h2 {
  max-width: 820px;
}

.contact-band p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.72);
}

.contact-band .inquiry-note {
  width: min(420px, 100%);
  margin-top: 16px;
  padding: 12px 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  font-weight: 850;
}

.catalog-hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding: clamp(46px, 7vw, 92px) clamp(18px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
}

.catalog-hero-media {
  position: relative;
}

.catalog-hero img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.catalog-hero-note {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 16px;
  color: #fff;
  background: rgba(17, 24, 23, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
}

.catalog-hero-note span,
.catalog-hero-note strong {
  display: block;
}

.catalog-hero-note span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.catalog-hero-note strong {
  font-size: 24px;
}

.catalog-hero h1 {
  color: var(--ink);
  font-size: clamp(38px, 5vw, 72px);
}

.catalog-layout {
  display: grid;
  grid-template-columns: 264px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.filter-panel,
.admin-panel {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.filter-panel {
  position: sticky;
  top: 94px;
  display: grid;
  gap: 14px;
  padding: 16px;
  background: rgba(255, 253, 248, 0.78);
  border-color: rgba(36, 67, 60, 0.12);
  box-shadow: 0 18px 50px rgba(24, 32, 29, 0.07);
  backdrop-filter: blur(18px);
}

.filter-title,
.result-bar,
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.filter-title span {
  font-weight: 900;
}

label span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  color: var(--ink);
  background: #f6f7f2;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

textarea {
  padding-top: 10px;
  resize: vertical;
}

.catalog-command {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
  margin-bottom: 20px;
  padding: 0 0 20px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(36, 67, 60, 0.1);
}

.catalog-command h2 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(30px, 3.4vw, 50px);
  line-height: 0.98;
}

.catalog-mobile-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: flex-end;
}

#filterToggle {
  display: none;
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.category-tabs button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(36, 67, 60, 0.14);
  border-radius: 999px;
  color: #3d4946;
  background: rgba(255, 253, 248, 0.78);
  font-weight: 850;
  box-shadow: 0 8px 24px rgba(24, 32, 29, 0.04);
}

.category-tabs button.is-active {
  color: #fff;
  background: var(--forest);
  border-color: var(--forest);
}

.result-bar {
  margin-bottom: 18px;
}

.result-bar p {
  margin: 0;
  color: var(--muted);
}

.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: -6px 0 18px;
}

.active-filters > span,
.active-filters small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.active-filters button {
  min-height: 32px;
  padding: 0 12px;
  color: var(--forest);
  background: #edf4f3;
  border: 1px solid rgba(36, 67, 60, 0.16);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.active-filters button::after {
  content: "×";
  margin-left: 8px;
  color: var(--clay);
}

.product-grid {
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
  align-items: start;
}

.product-card {
  display: flex;
  flex-direction: column;
}

.product-media {
  min-height: 0;
}

.product-gallery-card {
  background: rgba(255, 253, 248, 0.92);
  border-color: rgba(36, 67, 60, 0.1);
  box-shadow: 0 18px 54px rgba(24, 32, 29, 0.08);
}

.product-gallery-card:hover {
  transform: translateY(-4px);
  border-color: rgba(36, 67, 60, 0.2);
  box-shadow: 0 28px 76px rgba(24, 32, 29, 0.13);
}

.product-gallery-card .product-media {
  isolation: isolate;
  aspect-ratio: 4 / 3;
  background-image:
    linear-gradient(180deg, rgba(255, 253, 248, 0.18), rgba(255, 253, 248, 0.42)),
    var(--media-image, linear-gradient(135deg, #dfe8e4, #f5f0e5));
  background-position: center;
  background-size: cover;
}

.product-gallery-card .product-media.has-image::before {
  content: "";
  position: absolute;
  inset: -18px;
  z-index: 0;
  background-image: var(--media-image);
  background-position: center;
  background-size: cover;
  filter: blur(22px) saturate(0.92);
  opacity: 0.48;
  transform: scale(1.04);
}

.product-gallery-card .product-media::after {
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(17, 24, 23, 0.08), rgba(17, 24, 23, 0) 42%),
    linear-gradient(0deg, rgba(255, 253, 248, 0.22), rgba(255, 253, 248, 0) 42%);
}

.product-gallery-card .product-media-image {
  z-index: 1;
  padding: clamp(8px, 1.2vw, 16px);
  background: transparent;
  object-fit: contain;
  filter: drop-shadow(0 16px 28px rgba(17, 24, 23, 0.14));
}

.product-gallery-card .badge-row {
  z-index: 3;
}

.product-gallery-card .badge {
  min-height: 28px;
  background: rgba(17, 24, 23, 0.72);
  box-shadow: 0 10px 24px rgba(17, 24, 23, 0.12);
  backdrop-filter: blur(10px);
}

.product-gallery-card .subtle-badge {
  color: var(--forest);
  background: rgba(255, 253, 248, 0.84);
}

.product-gallery-card .product-body {
  gap: 10px;
  padding: 16px 18px 18px;
}

.product-card-kicker {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.product-card-kicker span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-gallery-card h3 {
  min-height: auto;
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
}

.product-spec-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 2px;
}

.product-spec-row span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  color: #33413d;
  background: #eef3ee;
  border: 1px solid rgba(36, 67, 60, 0.08);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.product-gallery-card .tag-row {
  display: none;
}

.product-card-actions {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.12fr);
  gap: 8px;
  padding-top: 12px;
}

.product-card-actions .btn {
  min-height: 40px;
  border-radius: 7px;
  line-height: 1.12;
  white-space: normal;
}

.spec-mini {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 14px 0;
}

.spec-mini div {
  padding: 9px;
  background: #f1f4ef;
  border-radius: var(--radius);
}

.spec-mini span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.spec-mini strong {
  display: block;
  font-size: 14px;
  overflow-wrap: anywhere;
}

.load-row {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 42px 18px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.fabric-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.72fr);
  gap: clamp(28px, 4.6vw, 68px);
  align-items: start;
  padding: clamp(42px, 5.8vw, 86px) clamp(18px, 5vw, 72px);
  background:
    radial-gradient(circle at 20% 10%, rgba(175, 207, 218, 0.22), rgba(255, 255, 255, 0) 34%),
    linear-gradient(180deg, #fbf8ef 0%, #f4efe4 100%);
}

.fabric-gallery {
  display: grid;
  gap: 14px;
}

.fabric-gallery-pending {
  grid-template-columns: 1fr;
}

.detail-media-pending {
  display: grid;
  align-content: end;
  min-height: 520px;
  padding: clamp(22px, 4vw, 42px);
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0) 30%),
    repeating-linear-gradient(135deg, rgba(37, 79, 71, 0.1) 0 1px, rgba(255, 255, 255, 0) 1px 10px),
    linear-gradient(135deg, #dfe8e4, #f5f0e5 54%, #c8ddeb);
  border: 1px solid rgba(37, 79, 71, 0.14);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
}

.detail-media-pending h2 {
  max-width: 640px;
  font-size: clamp(30px, 4vw, 56px);
}

.detail-media-pending p:not(.eyebrow) {
  max-width: 560px;
  color: var(--muted);
}

.detail-pending-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.detail-pending-specs span {
  padding: 8px 10px;
  background: rgba(255, 253, 248, 0.76);
  border: 1px solid rgba(36, 67, 60, 0.1);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.detail-media-pending small {
  display: block;
  max-width: 520px;
  margin-top: 14px;
  color: var(--forest);
  font-weight: 850;
}

.fabric-media-stage {
  position: relative;
}

.fabric-media-main {
  position: relative;
  margin: 0;
}

.fabric-media-main img,
.fabric-media-main video {
  display: block;
  width: 100%;
  height: min(70vh, 760px);
  min-height: 560px;
  object-fit: contain;
  border: 1px solid rgba(36, 67, 60, 0.12);
  border-radius: 6px;
  box-shadow: 0 32px 70px rgba(39, 42, 35, 0.16);
  background: #fffdf8;
}

.fabric-media-main figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 8px 12px;
  color: white;
  font-size: 12px;
  font-weight: 800;
  background: rgba(12, 20, 18, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  backdrop-filter: blur(10px);
}

.fabric-media-rail {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(92px, 118px));
  gap: 10px;
  align-items: stretch;
}

.fabric-thumb {
  display: grid;
  gap: 6px;
  padding: 6px;
  color: var(--ink);
  text-align: left;
  background: rgba(255, 253, 248, 0.86);
  border: 1px solid rgba(36, 67, 60, 0.14);
  border-radius: 6px;
  box-shadow: 0 12px 28px rgba(32, 38, 32, 0.08);
  cursor: pointer;
}

.fabric-thumb img,
.fabric-thumb-placeholder {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 4px;
  background: linear-gradient(135deg, #dfe8e4, #f6efe2);
}

.fabric-thumb-placeholder {
  display: grid;
  place-items: center;
  color: var(--forest);
  font-size: 12px;
  font-weight: 900;
}

.fabric-thumb small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
}

.fabric-thumb.is-active,
.fabric-thumb:focus-visible {
  outline: 0;
  border-color: rgba(37, 79, 71, 0.62);
  box-shadow: 0 0 0 3px rgba(37, 79, 71, 0.12), 0 16px 30px rgba(32, 38, 32, 0.1);
}

.fabric-summary {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 18px;
  padding: clamp(22px, 2.6vw, 32px);
  background: rgba(255, 253, 248, 0.94);
  border: 1px solid rgba(36, 67, 60, 0.13);
  border-radius: 8px;
  box-shadow: 0 30px 70px rgba(47, 52, 42, 0.13);
  backdrop-filter: blur(18px);
}

.detail-status-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  background: rgba(36, 67, 60, 0.14);
  border: 1px solid rgba(36, 67, 60, 0.12);
  border-radius: 6px;
}

.detail-status-bar span,
.detail-status-bar strong {
  min-width: 0;
  padding: 9px 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: #eef4f1;
  color: var(--forest);
  font-size: 12px;
  font-weight: 900;
}

.summary-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.summary-kicker span {
  padding: 7px 10px;
  color: var(--forest);
  background: rgba(216, 228, 223, 0.72);
  border: 1px solid rgba(37, 79, 71, 0.14);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.fabric-summary h1 {
  max-width: 100%;
  font-size: clamp(32px, 3vw, 44px);
  line-height: 1;
  color: var(--ink);
}

.fabric-story {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.detail-spec-eyebrow {
  margin: 4px 0 -8px;
}

.detail-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.detail-spec-chip {
  min-height: 76px;
  padding: 13px;
  background: #f2f5ef;
  border: 1px solid rgba(36, 67, 60, 0.06);
  border-radius: 6px;
  overflow-wrap: anywhere;
}

.detail-spec-chip span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.detail-spec-chip strong {
  display: block;
  margin-top: 5px;
  font-size: 17px;
  line-height: 1.25;
}

.detail-actions {
  grid-template-columns: 1fr 1fr;
}

.detail-actions .btn:nth-child(3) {
  grid-column: 1 / -1;
}

.detail-info-panel,
.detail-sample-panel {
  padding: 16px;
  background: #f8f5ec;
  border: 1px solid rgba(36, 67, 60, 0.1);
  border-radius: 6px;
}

.detail-info-panel p:not(.eyebrow),
.detail-sample-panel p:not(.eyebrow) {
  margin: 0 0 12px;
  color: var(--muted);
}

.detail-info-panel .tag {
  text-decoration: none;
}

.detail-sample-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(111, 166, 187, 0.13), rgba(169, 131, 74, 0.12)),
    #fffdf8;
}

.detail-sample-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  min-width: 190px;
}

.detail-mobile-cta {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 58;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 10px;
  background: rgba(255, 253, 248, 0.94);
  border: 1px solid rgba(36, 67, 60, 0.16);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(14px);
}

.detail-swatch-feedback {
  min-height: 20px;
  margin: -8px 0 0;
  color: var(--forest);
  font-size: 13px;
  font-weight: 800;
}

.technical-panel {
  overflow: hidden;
  border: 1px solid rgba(36, 67, 60, 0.12);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.64);
}

.technical-panel summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px;
  cursor: pointer;
}

.technical-panel summary::-webkit-details-marker {
  display: none;
}

.technical-panel summary::after {
  content: "+";
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--forest);
  border: 1px solid rgba(36, 67, 60, 0.16);
  border-radius: 50%;
  font-weight: 900;
}

.technical-panel[open] summary::after {
  content: "-";
}

.technical-panel summary strong,
.technical-panel summary small {
  display: block;
}

.technical-panel summary small {
  margin-top: 4px;
  color: var(--muted);
}

.technical-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 0 15px 15px;
}

.technical-grid div {
  padding: 11px;
  background: #f4f2eb;
  border-radius: 6px;
  overflow-wrap: anywhere;
}

.technical-grid span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.technical-grid strong {
  display: block;
  margin-top: 4px;
  font-size: 14px;
}

.not-found {
  max-width: 760px;
  margin: 80px auto;
  padding: 28px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.swatch-dock {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 88;
  display: grid;
  justify-items: end;
  width: min(420px, calc(100vw - 36px));
  pointer-events: none;
}

.swatch-dock * {
  pointer-events: auto;
}

.swatch-dock-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 18px 0 16px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(111, 166, 187, 0.22), rgba(169, 131, 74, 0.12)),
    #24433c;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  box-shadow: 0 18px 48px rgba(24, 32, 29, 0.22);
  backdrop-filter: blur(14px);
  font-weight: 900;
}

.swatch-dock-toggle strong {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 8px;
  color: var(--forest);
  background: #fffdf8;
  border-radius: 999px;
  font-size: 12px;
}

.swatch-dock-panel {
  width: 100%;
  max-height: min(560px, calc(100vh - 118px));
  margin-top: 10px;
  overflow: auto;
  padding: 18px;
  background: rgba(255, 253, 248, 0.98);
  border: 1px solid rgba(36, 67, 60, 0.14);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.swatch-panel-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
}

.swatch-panel-head h3 {
  margin-bottom: 6px;
}

.swatch-panel-close {
  width: 34px;
  height: 34px;
  color: var(--muted);
  background: #f4f1e8;
  border: 1px solid rgba(36, 67, 60, 0.12);
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
}

.swatch-panel-head p,
.swatch-empty,
.swatch-feedback {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.swatch-list {
  display: grid;
  gap: 8px;
  margin: 14px 0;
  padding: 0;
  list-style: none;
}

.swatch-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 6px 10px;
  align-items: center;
  padding: 10px;
  background: #f5f1e8;
  border: 1px solid rgba(36, 67, 60, 0.08);
  border-radius: var(--radius);
}

.swatch-list span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
}

.swatch-list strong {
  overflow-wrap: anywhere;
}

.swatch-list small {
  grid-column: 2;
  color: var(--muted);
}

.swatch-list button {
  grid-column: 3;
  grid-row: 1 / span 2;
  min-height: 34px;
  padding: 0 10px;
  color: var(--clay);
  background: transparent;
  border: 1px solid rgba(154, 106, 86, 0.28);
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 850;
}

.swatch-panel-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.swatch-panel-actions .text-link {
  grid-column: 1 / -1;
  justify-self: start;
}

.swatch-feedback {
  min-height: 20px;
  margin-top: 10px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 28px clamp(18px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.72);
  background: #101713;
}

.site-footer span {
  color: #fff;
  font-weight: 900;
}

.site-footer p {
  margin: 0;
  max-width: 780px;
}

.footer-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 850;
}

.privacy-main {
  padding: clamp(40px, 7vw, 96px) clamp(18px, 5vw, 72px);
}

.privacy-hero {
  max-width: 920px;
  margin-bottom: 34px;
}

.privacy-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(42px, 7vw, 90px);
  line-height: 0.94;
}

.privacy-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 20px);
}

.privacy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.privacy-card {
  padding: clamp(20px, 3vw, 30px);
  background: rgba(255, 253, 248, 0.9);
  border: 1px solid rgba(36, 67, 60, 0.12);
  border-radius: 18px;
  box-shadow: 0 22px 60px rgba(28, 32, 29, 0.08);
}

.privacy-card h2 {
  margin: 0 0 12px;
  font-size: 22px;
}

.privacy-card p,
.privacy-card li {
  color: var(--muted);
  line-height: 1.7;
}

.privacy-card ul {
  display: grid;
  gap: 8px;
  padding-left: 18px;
}

.admin-main {
  padding: clamp(24px, 4vw, 52px);
}

.admin-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: 24px;
  align-items: end;
  margin-bottom: 24px;
  padding: clamp(28px, 5vw, 56px);
  color: #fff;
  background-image:
    linear-gradient(90deg, rgba(17, 24, 23, 0.92), rgba(17, 24, 23, 0.52)),
    linear-gradient(135deg, #234940, #b7c8d9);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.admin-hero h1 {
  max-width: 900px;
  font-size: clamp(34px, 5vw, 72px);
}

.admin-hero p {
  color: rgba(255, 255, 255, 0.76);
}

.admin-status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.2);
}

.admin-status-grid div {
  padding: 16px;
  background: rgba(255, 255, 255, 0.12);
}

.admin-status-grid span,
.admin-status-grid strong {
  display: block;
}

.admin-status-grid span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.admin-status-grid strong {
  font-size: 30px;
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(340px, 0.95fr) minmax(0, 1fr) minmax(280px, 0.78fr);
  gap: 18px;
  align-items: start;
}

.admin-panel {
  padding: 20px;
  min-width: 0;
  box-shadow: var(--soft-shadow);
}

.admin-panel h2 {
  overflow-wrap: anywhere;
  font-size: clamp(24px, 3vw, 38px);
}

.panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  align-items: center;
}

.editor-panel {
  display: grid;
  gap: 14px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.upload-zone {
  display: grid;
  place-items: center;
  min-height: 142px;
  margin-bottom: 14px;
  padding: 18px;
  text-align: center;
  border: 1px dashed #aeb8b2;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(99, 128, 107, 0.12), rgba(63, 107, 131, 0.08)),
    #f7f8f5;
}

.upload-zone input {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-bottom: 10px;
}

.upload-zone span {
  font-weight: 900;
}

.upload-zone small {
  color: var(--muted);
}

.admin-preview {
  display: grid;
  place-items: center;
  overflow: hidden;
  min-height: 220px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #f4f6f2;
}

.admin-preview img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.admin-preview p {
  max-width: 240px;
  margin: 0;
  color: var(--muted);
  text-align: center;
  font-weight: 800;
}

.review-checklist,
.sync-timeline {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  color: var(--muted);
}

.review-checklist div {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  align-items: start;
}

.review-checklist span {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--sage);
}

.review-checklist span::before {
  content: "";
  width: 7px;
  height: 4px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

.review-checklist p,
.sync-timeline p {
  margin: 0;
}

.sync-timeline div {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 10px;
  align-items: start;
}

.sync-timeline span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: #fff;
  background: var(--forest);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
}

.service-panel {
  grid-column: 1 / -1;
}

.admin-service-body {
  max-width: 900px;
  margin: 0 0 18px;
  color: var(--muted);
}

.admin-service-desk {
  display: grid;
  grid-template-columns: minmax(260px, 0.38fr) minmax(0, 1fr);
  gap: 14px;
  min-height: 420px;
}

.admin-service-list,
.admin-service-thread,
.admin-api-boundary {
  background: rgba(255, 253, 248, 0.82);
  border: 1px solid rgba(36, 67, 60, 0.1);
  border-radius: var(--radius);
}

.admin-service-list {
  display: grid;
  align-content: start;
  gap: 8px;
  max-height: 560px;
  overflow: auto;
  padding: 10px;
}

.admin-chat-item {
  display: grid;
  gap: 5px;
  width: 100%;
  padding: 12px;
  text-align: left;
  color: var(--ink);
  background: #f6f2e9;
  border: 1px solid transparent;
  border-radius: var(--radius);
}

.admin-chat-item.is-active {
  background: #e7f0ef;
  border-color: rgba(36, 67, 60, 0.28);
}

.admin-chat-item span,
.admin-chat-item small,
.admin-thread-head span,
.admin-thread-message small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.admin-chat-item strong,
.admin-chat-item p {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-chat-item p,
.admin-chat-empty {
  margin: 0;
  color: var(--muted);
}

.admin-chat-empty {
  padding: 14px;
  font-weight: 800;
}

.admin-service-thread {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 14px;
}

.admin-thread-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(36, 67, 60, 0.1);
}

.admin-thread-head h3 {
  margin: 3px 0 0;
  overflow-wrap: anywhere;
  font-size: 20px;
}

.admin-thread-head p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.admin-thread-tools {
  display: grid;
  gap: 8px;
  min-width: 190px;
}

.admin-thread-tools label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.admin-thread-tools select {
  min-height: 36px;
  border-radius: var(--radius);
  border: 1px solid rgba(36, 67, 60, 0.16);
}

.admin-thread-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-thread-meta span {
  padding: 7px 9px;
  color: var(--forest);
  background: #edf4f3;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
}

.admin-thread-products {
  display: grid;
  gap: 8px;
}

.admin-thread-products span {
  padding: 9px 10px;
  overflow-wrap: anywhere;
  color: var(--muted);
  background: #f4f1e8;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 800;
}

.admin-thread-messages {
  display: grid;
  gap: 10px;
  max-height: 360px;
  overflow: auto;
  padding: 10px;
  background: #eef1ec;
  border-radius: var(--radius);
}

.admin-thread-message {
  max-width: 78%;
  padding: 10px 12px;
  background: #fffdf8;
  border: 1px solid rgba(36, 67, 60, 0.08);
  border-radius: 14px 14px 14px 4px;
}

.admin-thread-message.is-staff {
  justify-self: end;
  color: #fff;
  background: var(--forest);
  border-radius: 14px 14px 4px 14px;
}

.admin-thread-message p {
  margin: 4px 0;
}

.admin-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-quick-replies button {
  min-height: 32px;
  padding: 0 10px;
  color: var(--forest);
  background: #edf4f3;
  border: 1px solid rgba(36, 67, 60, 0.14);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.admin-reply-box {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 900;
}

.admin-reply-box textarea {
  width: 100%;
  min-height: 110px;
  padding: 12px;
  background: #fffdf8;
  border: 1px solid rgba(36, 67, 60, 0.16);
  border-radius: var(--radius);
  resize: vertical;
}

.admin-api-boundary {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) repeat(4, minmax(0, 1fr));
  gap: 10px;
  align-items: center;
  margin-top: 14px;
  padding: 12px;
}

.admin-api-boundary p {
  margin: 0;
  color: var(--muted);
}

.admin-api-boundary code {
  display: block;
  min-width: 0;
  padding: 10px;
  overflow-wrap: anywhere;
  color: var(--forest);
  background: #edf4f3;
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 900;
}

.operations-panel {
  grid-column: 1 / -1;
}

.admin-ops-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.admin-ops-grid div {
  padding: 16px;
  background: #f4f1e8;
  border: 1px solid rgba(36, 67, 60, 0.1);
  border-radius: var(--radius);
}

.admin-ops-grid span,
.admin-ops-grid strong {
  display: block;
}

.admin-ops-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-ops-grid strong {
  margin-top: 8px;
  font-size: 30px;
}

.admin-ops-lanes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.admin-ops-lanes section {
  padding: 16px;
  background: rgba(255, 253, 248, 0.82);
  border: 1px solid rgba(36, 67, 60, 0.1);
  border-radius: var(--radius);
}

.admin-ops-lanes h3,
.admin-ops-lanes p {
  margin: 0;
}

.admin-ops-lanes ul {
  display: grid;
  gap: 7px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.admin-ops-lanes li::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  background: var(--sage);
  border-radius: 50%;
}

.admin-local-warning {
  margin: 12px 0 0;
  color: var(--clay);
  font-size: 13px;
  font-weight: 850;
}

.form-feedback {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .category-loop-viewport {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .category-loop-track {
    animation: none !important;
  }

  .category-loop-group + .category-loop-group {
    display: none;
  }
}

@media (max-width: 1180px) {
  .editorial-mini-grid,
  .featured-grid.home-showcase-grid,
  .featured-grid,
  .category-story-grid,
  .collection-panel-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .sync-panel {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .privacy-grid {
    grid-template-columns: 1fr;
  }

  .site-nav,
  .header-cta,
  .whatsapp-cta {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header-tools {
    margin-left: auto;
  }

  .section-head.split,
  .intro-grid,
  .buyer-routes,
  .lookbook-band,
  .contact-band,
  .catalog-hero,
  .catalog-layout,
  .fabric-detail,
  .admin-hero,
  .admin-grid,
  .editorial-lead,
  .hero-slide {
    grid-template-columns: 1fr;
  }

  .hero-showroom {
    height: min(calc(100vh - var(--header-height)), 760px);
    height: min(calc(100dvh - var(--header-height)), 760px);
    min-height: 620px;
  }

  .hero-slide {
    padding-top: clamp(56px, 10vw, 90px);
    align-items: end;
  }

  .hero-material-panel {
    display: none;
  }

  .scroll-cue {
    display: none;
  }

  .filter-panel,
  .fabric-summary {
    position: static;
  }

  .fabric-media-main img,
  .fabric-media-main video {
    height: auto;
    min-height: 460px;
  }

  .catalog-command {
    grid-template-columns: 1fr;
  }

  .admin-nav {
    display: flex;
    gap: 12px;
    overflow: auto;
  }

  body[data-page="admin"] .site-nav {
    display: flex;
  }

  .admin-service-desk,
  .admin-api-boundary,
  .admin-ops-lanes {
    grid-template-columns: 1fr;
  }

  .admin-ops-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .editorial-lead-media {
    height: min(680px, 78vw);
  }
}

@media (max-width: 620px) {
  :root {
    --header-height: 72px;
  }

  .site-header,
  .admin-header {
    height: var(--header-height);
    padding-inline: 14px;
    gap: 10px;
  }

  .brand {
    gap: 8px;
    min-width: 0;
  }

  .brand-mark,
  .brand-logo-wrap {
    width: 36px;
    height: 36px;
    border-radius: 12px;
  }

  .brand-logo {
    transform: scale(1.72);
  }

  .brand strong {
    font-size: 16px;
  }

  .brand small {
    display: none;
  }

  .header-tools {
    gap: 8px;
  }

  .language-switch button {
    min-width: 34px;
    padding: 0 6px;
  }

  .nav-toggle {
    width: 40px;
    height: 40px;
  }

  .category-loop {
    min-height: 260px;
    padding: 36px 0 42px;
  }

  .hero-showroom {
    height: calc(100vh - var(--header-height));
    height: calc(100svh - var(--header-height));
    min-height: 560px;
  }

  .category-loop-heading {
    margin-bottom: 24px;
  }

  .category-loop-kicker {
    font-size: 12.5px;
  }

  .category-loop-copy {
    max-width: 320px;
    margin-inline: auto;
    font-size: 15.5px;
  }

  .category-loop-pill {
    font-size: 20px;
  }

  .category-loop-group {
    gap: 36px;
    padding-right: 36px;
  }

  .featured-grid,
  .featured-grid.home-showcase-grid,
  .category-story-grid,
  .collection-panel-grid,
  .editorial-mini-grid,
  .home-stats-grid,
  .product-grid,
  .featured-grid.compact,
  .proof-grid,
  .detail-specs,
  .technical-grid,
  .field-row,
  .admin-status-grid,
  .spec-mini {
    grid-template-columns: 1fr;
  }

  .hero-controls {
    pointer-events: none;
  }

  .hero-controls > button {
    width: 38px;
    height: 38px;
  }

  .hero-dots {
    bottom: 18px;
  }

  .fabric-gallery {
    grid-template-columns: 1fr;
  }

  .fabric-media-main img,
  .fabric-media-main video {
    min-height: 360px;
  }

  .detail-status-bar,
  .detail-sample-panel,
  .admin-ops-grid {
    grid-template-columns: 1fr;
  }

  body[data-page="fabric"] {
    padding-bottom: 88px;
  }

  .detail-mobile-cta {
    display: grid;
  }

  .fabric-media-rail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  h1 {
    font-size: 42px;
  }

  .hero-copy h1,
  .hero-copy h2 {
    max-width: calc(100vw - 60px);
    font-size: clamp(31px, 8.4vw, 38px);
    line-height: 1.02;
    overflow-wrap: normal;
    word-break: keep-all;
  }

  .editorial-lead-media {
    height: 420px;
  }

  .editorial-lead-copy h3 {
    font-size: 34px;
  }

  .hero-actions,
  .editorial-actions,
  .contact-actions,
  .admin-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .card-media,
  .category-media,
  .product-media {
    min-height: 220px;
  }

  .card-actions,
  .swatch-panel-actions {
    grid-template-columns: 1fr;
  }

  .swatch-dock {
    right: 12px;
    bottom: 12px;
    width: auto;
    max-width: calc(100vw - 24px);
  }

  .swatch-dock:has(.swatch-dock-panel:not([hidden])) {
    width: calc(100vw - 24px);
  }

  .swatch-list li {
    grid-template-columns: 1fr auto;
  }

  .swatch-list span,
  .swatch-list small {
    grid-column: 1;
  }

  .swatch-list button {
    grid-column: 2;
  }

}

@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
  .hero-showroom::before,
  .hero-showroom::after {
    opacity: 0 !important;
    transform: none !important;
  }

  .hero-material-panel {
    transform: none;
  }
}

/* Production catalog refinements: stable media sizing and non-overlapping mobile controls. */
html,
body {
  max-width: 100%;
  overflow-x: clip;
}

#catalog,
#featured,
#lookbook,
#contact {
  scroll-margin-top: calc(var(--header-height) + 16px);
}

.category-loop,
.category-loop-viewport,
.category-loop-row {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: clip;
  contain: inline-size paint;
}

.catalog-hero {
  grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 72px);
  padding: clamp(34px, 4.4vw, 58px) clamp(18px, 5vw, 72px);
}

.catalog-hero-media {
  height: clamp(300px, 31vw, 420px);
  overflow: hidden;
  border-radius: var(--radius);
}

.catalog-hero img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center 24%;
}

.catalog-hero h1 {
  max-width: 820px;
  font-size: clamp(38px, 4.6vw, 66px);
  line-height: 0.98;
}

.product-grid {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.active-filters button::after {
  content: "×";
}

@media (max-width: 900px) {
  .catalog-hero {
    grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
    gap: 26px;
    padding-block: 30px;
  }

  .catalog-hero-media {
    height: 330px;
  }

  .catalog-hero h1 {
    font-size: clamp(34px, 6vw, 52px);
  }
}

@media (max-width: 620px) {
  .catalog-entry-link {
    width: min(100%, 280px);
    padding: 10px 15px;
  }

  body[data-page="home"] .lookbook-band {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  body[data-page="home"] .lookbook-image {
    min-height: 0;
    height: 430px;
  }

  body[data-page="home"] .lookbook-copy {
    max-width: none;
    padding: 42px 20px 48px;
  }

  body[data-page="home"] .lookbook-copy h2 {
    font-size: 38px;
  }

  body[data-page="home"] .editorial-mini-grid,
  body[data-page="home"] .category-story-grid {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(238px, 78vw);
    gap: 14px;
    max-width: none;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding: 2px 2px 14px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }

  body[data-page="home"] .editorial-mini,
  body[data-page="home"] .home-collection-panel {
    scroll-snap-align: start;
  }

  body[data-page="home"] .editorial-lead-media {
    height: 440px;
  }

  body[data-page="home"] .home-editorial-grid,
  body[data-page="home"] .editorial-lead {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .filter-panel {
    display: none;
  }

  .filter-panel.is-open {
    display: grid;
  }

  #filterToggle {
    display: inline-flex;
  }

  .catalog-mobile-actions {
    justify-content: flex-start;
  }

  .category-tabs {
    flex-wrap: nowrap;
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding-bottom: 10px;
    scrollbar-width: thin;
  }

  .category-tabs button {
    flex: 0 0 auto;
  }

  .catalog-section,
  .catalog-layout,
  .catalog-results,
  .product-grid {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .catalog-section {
    overflow: clip;
  }

  .product-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .catalog-hero {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 20px 16px 28px;
  }

  .catalog-hero-media {
    height: 224px;
  }

  .catalog-hero img {
    object-position: center 22%;
  }

  .catalog-hero-note {
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 10px 12px;
  }

  .catalog-hero-note strong {
    font-size: 17px;
  }

  .catalog-hero h1 {
    margin-bottom: 12px;
    font-size: 34px;
    line-height: 1.02;
  }

  .catalog-section {
    padding-top: 28px;
  }

  .fabric-media-main img,
  .fabric-media-main video {
    height: min(64vh, 540px);
    min-height: 0;
    object-fit: contain;
    background: #efeee8;
  }

  .fabric-media-rail {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .fabric-thumb img {
    height: 72px;
    object-fit: contain;
  }

  .swatch-dock {
    right: 12px;
    bottom: 12px;
    width: 46px;
  }

  .swatch-dock-toggle {
    width: 46px;
    min-height: 46px;
    justify-content: center;
    padding: 0;
  }

  .swatch-dock-toggle span {
    display: none;
  }

  .swatch-dock-toggle strong {
    padding: 0;
    color: #fff;
    background: transparent;
    font-size: 14px;
  }

  .swatch-dock:has(.swatch-dock-panel:not([hidden])) {
    width: calc(100vw - 24px);
  }

  body[data-page="fabric"] .swatch-dock {
    bottom: 96px;
  }

  .detail-mobile-cta {
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 90;
  }
}
