:root {
  --ink: #171411;
  --muted: #6f665c;
  --line: #ded6ca;
  --paper: #fbfaf7;
  --stone: #eee9df;
  --gold: #b08a42;
  --gold-dark: #7d5f27;
  --wine: #6f2436;
  --emerald: #13634a;
  --shadow: 0 24px 70px rgba(24, 20, 17, .12);
  --radius: 8px;
}

* { box-sizing: border-box; }
html { color-scheme: light; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, select, input { font: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(150px, 220px) 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 78px;
  padding: 14px clamp(18px, 4vw, 58px);
  border-bottom: 1px solid rgba(222, 214, 202, .9);
  background: rgba(251, 250, 247, .92);
  backdrop-filter: blur(18px);
}
.site-header.compact { min-height: 68px; }
.shop-actions { display: inline-flex; align-items: center; gap: 10px; }
.menu-toggle,
.design-drawer-toggle,
.drawer-close {
  display: none;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.menu-toggle {
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.menu-toggle span,
.design-drawer-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}
.app-tabs {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(64px, auto));
  min-height: 36px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.app-tabs a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 6px;
  color: #27211b;
  font-size: .84rem;
  font-weight: 700;
}
.app-tabs a[aria-current="page"] {
  background: #171411;
  color: #fff;
}
.search-toggle {
  min-height: 38px;
  border: 0;
  background: transparent;
  color: #11183b;
  font-weight: 800;
  cursor: pointer;
}
.account-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 10px;
  color: #11183b;
  font-size: .86rem;
  font-weight: 800;
}
.currency-picker {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-weight: 700;
}
.currency-picker select {
  min-height: 38px;
  border: 0;
  border-left: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: #11183b;
  padding-inline: 12px;
}
.brand { display: inline-flex; flex-direction: column; line-height: 1; }
.logo-brand {
  flex-direction: row;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.brand-logo-mark {
  width: 42px;
  height: 42px;
  object-fit: contain;
}
.brand-text {
  display: inline-flex;
  flex-direction: column;
  min-width: 0;
}
.brand-logo-word {
  width: 130px;
  height: auto;
}
.brand-word {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  color: var(--ink);
}
.brand-line {
  margin-top: 5px;
  color: var(--gold-dark);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .14em;
}
.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2vw, 34px);
  color: #2d2721;
  font-size: .9rem;
}
.main-nav a { border-bottom: 1px solid transparent; padding-block: 7px; }
.main-nav a:hover { border-color: var(--gold); }
.mobile-menu-account,
.mobile-menu-tools,
.mobile-menu-services,
.nav-plus { display: none; }
.mega-shell {
  position: sticky;
  top: 68px;
  z-index: 19;
  padding: 0 clamp(18px, 4vw, 58px) 22px;
  background: rgba(251, 250, 247, .98);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 20px 40px rgba(24, 20, 17, .06);
}
.mega-shell[hidden] { display: none; }
.mega-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 1fr)) minmax(260px, .9fr) minmax(260px, .9fr);
  gap: clamp(22px, 3vw, 46px);
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 24px;
}
.mega-column {
  display: grid;
  align-content: start;
  gap: 9px;
}
.mega-column strong,
.mega-tile strong {
  color: #11183b;
  font-size: .84rem;
  text-transform: uppercase;
}
.mega-column a {
  color: #29304f;
  font-size: .92rem;
  line-height: 1.45;
}
.mega-column a:hover { color: var(--gold-dark); }
.shape-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(80px, 1fr));
  gap: 8px 14px;
}
.shape-grid a::before {
  content: "◇";
  margin-right: 8px;
  color: #11183b;
}
.mega-tile {
  display: grid;
  align-content: start;
  gap: 10px;
}
.mega-tile img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius);
}
.header-actions { display: flex; align-items: center; gap: 16px; }
.text-link { color: var(--muted); font-size: .88rem; }
.icon-button {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  min-width: 52px;
  min-height: 38px;
  border-radius: var(--radius);
  cursor: pointer;
}
.icon-button:hover { border-color: var(--gold); color: var(--gold-dark); }

.hero-storefront {
  display: grid;
  grid-template-columns: minmax(420px, .88fr) minmax(560px, 1.12fr);
  align-items: stretch;
  min-height: calc(100vh - 78px);
  max-height: 860px;
  max-width: 1920px;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}
.seasonal-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 46px;
  padding: 10px clamp(18px, 4vw, 58px);
  background: #12172d;
  color: #fff;
  text-align: center;
}
.seasonal-strip:empty { display: none; }
.seasonal-strip span {
  color: #d8bd7a;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.seasonal-strip strong { font-size: .98rem; }
.seasonal-strip a {
  border-bottom: 1px solid #d8bd7a;
  color: #fff;
  font-weight: 700;
}
.region-select {
  display: inline-flex;
  grid-template-columns: auto;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.78);
  font-size: .78rem;
  font-weight: 700;
}
.region-select select {
  min-height: 32px;
  max-width: 150px;
  border-color: rgba(255,255,255,.35);
  background: #fff;
  color: #11183b;
  padding: 0 8px;
}
.compact-strip {
  display: grid;
  grid-template-columns: minmax(160px, .8fr) minmax(260px, 1.5fr) minmax(160px, .8fr);
  justify-content: stretch;
  margin-bottom: 22px;
  border-radius: var(--radius);
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(38px, 6vw, 90px);
  background:
    linear-gradient(110deg, rgba(251,250,247,.99), rgba(238,233,223,.9)),
    radial-gradient(circle at 10% 20%, rgba(176,138,66,.08), transparent 28%);
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-dark);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
h1, h2, h3 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 500; }
h1 { font-size: 6.4rem; line-height: .92; }
h2 { font-size: 3.15rem; line-height: 1.06; }
h3 { font-size: 1.22rem; line-height: 1.2; }
.lead {
  max-width: 620px;
  margin: 24px 0 0;
  color: #423a32;
  font-size: 1.16rem;
  line-height: 1.7;
}
.lead.small { font-size: 1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  font-weight: 700;
  cursor: pointer;
}
.button.primary { background: var(--ink); color: #fff; }
.button.secondary { background: transparent; color: var(--ink); }
.button:hover { border-color: var(--gold); }
.hero-media { min-height: 520px; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

.category-band, .feature-products, .editorial-band, .service-row {
  padding: clamp(48px, 7vw, 88px) clamp(18px, 4vw, 58px);
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 28px;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}
.category-card, .product-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}
.category-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.category-card:nth-child(3) img, .category-card:nth-child(4) img { object-position: 70% center; }
.category-card span {
  display: flex;
  min-height: 52px;
  align-items: center;
  padding: 0 16px;
  font-weight: 700;
}
.editorial-band {
  display: grid;
  grid-template-columns: minmax(280px, .9fr) minmax(300px, 1.1fr);
  gap: 34px;
  background: #171411;
  color: #fff;
}
.editorial-band .eyebrow { color: #d8bd7a; }
.proof-grid {
  display: grid;
  gap: 12px;
}
.proof-grid article, .service-row article, .process-grid article {
  display: grid;
  gap: 8px;
  padding: 20px;
  border: 1px solid rgba(222, 214, 202, .24);
  border-radius: var(--radius);
}
.proof-grid span, .service-row span, .process-grid span { color: #d8d0c6; line-height: 1.55; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.product-grid.grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.product-grid.large {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.product-grid.list {
  grid-template-columns: 1fr;
  gap: 14px;
}
.product-grid.list .product-card {
  display: grid;
  grid-template-columns: minmax(160px, 240px) 1fr;
}
.product-grid.list .product-image img {
  height: 100%;
  min-height: 220px;
  aspect-ratio: auto;
}
.product-grid.grid .product-image img { aspect-ratio: 1 / 1; }
.product-grid.grid .product-card-body { gap: 6px; padding: 12px; }
.product-grid.grid .product-card-body h3 { font-size: 1rem; }
.product-grid.grid .product-card-body span:last-of-type { display: none; }
.product-grid.large .product-image img { aspect-ratio: 16 / 11; }
.product-grid.large .product-card {
  display: grid;
  grid-template-rows: auto 1fr;
  box-shadow: 0 20px 48px rgba(24, 20, 17, .08);
}
.product-grid.large .product-card-body {
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 10px 18px;
  padding: 18px 20px 20px;
}
.product-grid.large .product-card-body p,
.product-grid.large .product-card-body h3,
.product-grid.large .product-card-body span,
.product-grid.large .product-card-body .media-badge-row,
.product-grid.large .product-card-body .card-action-row {
  grid-column: 1 / -1;
}
.product-grid.large .product-card-body h3 { font-size: 1.45rem; }
.product-image {
  display: block;
  background: var(--stone);
}
.product-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.product-card-body {
  display: grid;
  gap: 8px;
  padding: 16px;
}
.product-card-body p, .product-card-body span {
  margin: 0;
  color: var(--muted);
  font-size: .84rem;
}
.product-card-body strong { color: var(--ink); }
.media-badge-row,
.card-action-row,
.media-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.card-action-row button {
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: .82rem;
  cursor: pointer;
}
.card-action-row button:hover { border-color: var(--gold); }
.media-badge-row span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 9px;
  background: #fbfaf7;
  color: #11183b;
  font-size: .72rem;
  font-weight: 800;
}
.card-action-row a,
.media-action-row a,
.media-action-row button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #11183b;
  padding: 0 12px;
  font-size: .78rem;
  font-weight: 800;
  cursor: pointer;
}
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 26px;
}
.badge-row span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 9px;
  color: var(--emerald);
  font-size: .72rem;
  font-weight: 700;
}

.shop-page { min-height: calc(100vh - 68px); }
.filter-panel {
  position: sticky;
  top: 68px;
  align-self: start;
  display: grid;
  gap: 18px;
  padding: 34px 28px;
  border-right: 1px solid var(--line);
  background: #f6f2eb;
}
.filter-panel h1 { font-size: 2.4rem; }
label { display: grid; gap: 8px; color: #3b342d; font-weight: 700; }
select {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 0 12px;
}
.check-row { grid-template-columns: 18px 1fr; align-items: center; font-size: .92rem; }
.listing-panel { padding: 34px clamp(18px, 4vw, 48px); }
.category-tabs {
  display: grid;
  grid-template-columns: repeat(6, minmax(120px, 1fr));
  gap: 18px;
  margin-bottom: 28px;
  overflow-x: auto;
  color: #11183b;
}
.category-tabs a {
  min-height: 28px;
  border-bottom: 2px solid transparent;
  font-weight: 700;
}
.category-tabs a.active { border-color: #11183b; }
.filter-bar {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}
.filter-pill {
  position: relative;
}
.filter-pill summary,
.toggle-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid #828282;
  border-radius: 999px;
  background: #fff;
  color: #11183b;
  font-size: .94rem;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}
.filter-pill summary::-webkit-details-marker { display: none; }
.filter-pill summary::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #11183b;
}
.filter-pill[open] summary::after {
  border-top: 0;
  border-bottom: 5px solid #11183b;
}
.toggle-pill input,
.filter-menu input {
  width: 20px;
  height: 20px;
  accent-color: #11183b;
}
.filter-menu {
  position: absolute;
  z-index: 15;
  top: calc(100% + 8px);
  left: 0;
  display: grid;
  min-width: 250px;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.filter-menu strong {
  color: var(--ink);
  font-size: 1rem;
}
.active-filter-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  min-height: 38px;
  margin-bottom: 36px;
}
.active-filter-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f4f2ee;
  color: #2f2a25;
  font-size: .84rem;
}
.active-filter-row button {
  border: 0;
  background: transparent;
  color: #11183b;
  font-weight: 800;
  cursor: pointer;
}
.category-landing {
  display: grid;
  grid-template-columns: minmax(280px, .9fr) minmax(320px, .72fr);
  gap: 28px;
  align-items: stretch;
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.category-landing:empty { display: none; }
.category-landing h1 {
  max-width: 820px;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: 1.04;
}
.category-copy {
  display: grid;
  align-content: center;
  gap: 18px;
}
.category-copy p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}
.category-landing img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  border-radius: var(--radius);
}
.subcat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.subcat-row a {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 12px;
  background: #fff;
  font-size: .9rem;
  font-weight: 700;
}
.listing-top {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 24px;
}
.listing-controls {
  display: grid;
  grid-template-columns: auto auto minmax(160px, 200px) minmax(160px, 220px);
  gap: 18px;
  align-items: end;
  color: #11183b;
}
.view-toggle {
  display: inline-grid;
  grid-template-columns: repeat(3, minmax(58px, auto));
  min-height: 42px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}
.view-toggle button {
  min-height: 42px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: #11183b;
  padding: 0 14px;
  font-weight: 800;
  cursor: pointer;
}
.view-toggle button:last-child { border-right: 0; }
.view-toggle button.active {
  background: #11183b;
  color: #fff;
}
.listing-controls label {
  color: #7a7484;
  font-size: .86rem;
  font-weight: 500;
}
.listing-controls select {
  border: 0;
  border-bottom: 1px solid #bbb8c4;
  border-radius: 0;
  background: transparent;
  color: #11183b;
  font-weight: 700;
  padding-inline: 0;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(360px, 1.1fr) minmax(340px, .9fr);
  gap: clamp(28px, 5vw, 70px);
  padding: clamp(28px, 5vw, 70px);
}
.viewer {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--stone);
  box-shadow: var(--shadow);
}
.viewer img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transform-origin: center;
  transition: transform .5s ease, filter .5s ease;
}
.viewer[data-mode="angle"] img { transform: rotateY(22deg) scale(1.03); filter: contrast(1.06); }
.viewer[data-mode="video"] img { transform: scale(1.05); filter: brightness(.92); }
.viewer-bar {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: flex;
  gap: 8px;
}
.viewer-bar button, .thumb-row button {
  min-height: 38px;
  border: 1px solid rgba(255,255,255,.75);
  border-radius: var(--radius);
  background: rgba(255,255,255,.84);
  cursor: pointer;
}
.thumb-row {
  display: grid;
  grid-template-columns: repeat(2, 92px);
  gap: 10px;
  margin-top: 12px;
}
.thumb-row img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.purchase-panel { display: grid; align-content: start; gap: 18px; }
.purchase-panel h1 { font-size: clamp(2.4rem, 5vw, 4.6rem); line-height: .98; }
.price { margin: 0; font-size: 1.4rem; color: var(--wine); font-weight: 700; }
.option-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.spec-table { display: grid; border-top: 1px solid var(--line); margin-top: 8px; }
.spec-table div {
  display: grid;
  grid-template-columns: minmax(130px, .7fr) 1fr;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.spec-table dt { color: var(--muted); }
.spec-table dd { margin: 0; }
.service-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  background: var(--stone);
}
.documentation-panel {
  display: grid;
  grid-template-columns: minmax(280px, .78fr) minmax(320px, 1.22fr);
  gap: 28px;
  padding: clamp(40px, 6vw, 74px) clamp(18px, 5vw, 70px);
  border-top: 1px solid var(--line);
  background: #fff;
}
.documentation-panel p {
  color: var(--muted);
  line-height: 1.65;
}
.document-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.document-grid article {
  display: grid;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: var(--paper);
}
.document-grid span { color: var(--muted); line-height: 1.5; }
.document-grid a {
  justify-self: start;
  border-bottom: 1px solid var(--gold);
  color: #11183b;
  font-weight: 800;
}
.service-row span { color: var(--muted); }
.service-row.refined {
  padding-top: 34px;
  padding-bottom: 34px;
  background: #fff;
  border-top: 1px solid var(--line);
}

.product-page-v2 {
  display: grid;
  grid-template-columns: minmax(420px, 1fr) minmax(360px, 440px);
  gap: clamp(28px, 4vw, 58px);
  align-items: start;
  padding: 28px clamp(18px, 4vw, 58px) 46px;
}
.product-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.gallery-tile {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  background: #f2f0eb;
}
.gallery-tile img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.gallery-tile:first-child { min-height: 520px; }
.spin-control {
  position: absolute;
  left: 50%;
  top: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  border: 1px solid rgba(17,24,59,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.84);
  color: #11183b;
  font-weight: 900;
  transform: translate(-50%, -50%);
  cursor: pointer;
}
.media-placeholder {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 10px;
  padding: 24px;
  text-align: center;
  color: #11183b;
}
.media-placeholder span {
  max-width: 260px;
  color: var(--muted);
  line-height: 1.5;
}
.media-placeholder button {
  min-height: 38px;
  border: 1px solid #11183b;
  background: transparent;
  padding: 0 14px;
  color: #11183b;
  cursor: pointer;
}
.product-buy-panel {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 16px;
  padding: 10px 0 24px;
}
.product-buy-panel h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 2.4vw, 2.5rem);
  line-height: 1.08;
}
.rating {
  margin: 0;
  color: #11183b;
  letter-spacing: .04em;
}
.rating span {
  color: var(--muted);
  font-size: .86rem;
  letter-spacing: 0;
}
.price span,
.payment-note,
.ship-note,
.expert-line {
  color: var(--muted);
  font-size: .88rem;
}
.setting-control {
  display: grid;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.setting-control.two-col { grid-template-columns: 1fr 1fr; }
.metal-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.metal-swatches button {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #11183b;
  font-size: .72rem;
  font-weight: 800;
  cursor: pointer;
}
.metal-swatches .active {
  border-color: #11183b;
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px #11183b;
}
.product-buy-panel .button {
  width: 100%;
  min-height: 52px;
  text-transform: uppercase;
}
.expert-line a {
  border-bottom: 1px solid #11183b;
  color: #11183b;
}
.product-accordions {
  display: grid;
  border-top: 1px solid var(--line);
}
.product-accordions details { border-bottom: 1px solid var(--line); }
.product-accordions summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  color: #11183b;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}
.product-accordions summary::-webkit-details-marker { display: none; }
.product-accordions summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
}
.product-accordions details[open] summary::after { content: "-"; }
.product-accordions p {
  margin: 0 0 18px;
  color: #29304f;
  line-height: 1.55;
}
.order-includes {
  display: grid;
  gap: 14px;
  margin: 4px 0 20px;
}
.order-includes article {
  display: grid;
  gap: 4px;
  padding-left: 24px;
  color: #11183b;
}
.order-includes span {
  color: #29304f;
  line-height: 1.45;
}
.product-spec-layout {
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(320px, 430px);
  gap: clamp(24px, 4vw, 54px);
  padding: 0 clamp(18px, 4vw, 58px) 68px;
}
.technical-specs,
.product-doc-card {
  background: #fff;
  border: 1px solid var(--line);
}
.technical-specs { padding: 22px; }
.technical-specs h2,
.technical-specs h3,
.product-doc-card h2 {
  margin: 0 0 14px;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: #11183b;
  font-size: .96rem;
  font-weight: 900;
}
.technical-specs h3 { margin-top: 24px; }
.technical-specs dl {
  display: grid;
  margin: 0;
}
.technical-specs dl div {
  display: grid;
  grid-template-columns: minmax(180px, .8fr) 1fr;
  gap: 14px;
  min-height: 36px;
  align-items: center;
  padding: 8px 10px;
  border-bottom: 1px solid #eee9df;
}
.technical-specs dl div:nth-child(odd) { background: #fbfaf7; }
.technical-specs dt {
  color: #29304f;
  font-size: .86rem;
  font-weight: 800;
}
.technical-specs dd {
  margin: 0;
  color: #11183b;
  text-align: right;
  font-size: .86rem;
}
.product-doc-card {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 22px;
}
.product-doc-card article {
  display: grid;
  gap: 7px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}
.product-doc-card span {
  color: var(--muted);
  line-height: 1.5;
}
.product-doc-card a {
  justify-self: start;
  border-bottom: 1px solid var(--gold);
  color: #11183b;
  font-weight: 900;
}

.supplier-page, .private-access-page { padding: clamp(34px, 6vw, 84px); }
.supplier-hero, .private-access-hero { max-width: 900px; margin-bottom: 36px; }
.account-page {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 68px);
  padding: 44px 18px;
  background:
    linear-gradient(110deg, rgba(251,250,247,.98), rgba(238,233,223,.85)),
    url("../img/monghi-event-july4-v2.png") center/cover no-repeat;
}
.account-panel {
  display: grid;
  grid-template-columns: minmax(260px, .9fr) minmax(320px, 480px);
  gap: 42px;
  align-items: center;
  width: min(1120px, 100%);
  padding: clamp(24px, 5vw, 58px);
  border: 1px solid rgba(222, 214, 202, .72);
  border-radius: var(--radius);
  background: rgba(251, 250, 247, .94);
  box-shadow: var(--shadow);
}
.account-panel h1 { font-size: 4rem; }
.account-form {
  display: grid;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.account-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.account-tabs button {
  min-height: 36px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #171411;
  font-weight: 800;
  cursor: pointer;
}
.account-tabs button.active {
  background: #171411;
  color: #fff;
}
.account-form label {
  display: grid;
  gap: 8px;
  color: #302b25;
  font-weight: 800;
}
.account-form [hidden] {
  display: none !important;
}
.account-form input,
.account-form select {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: #171411;
  padding: 0 12px;
}
.account-form .password-field {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
}
.account-form .password-field input {
  box-sizing: border-box;
  width: 100%;
  padding-right: 58px;
}
.password-visibility-toggle {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: 5px;
  display: grid;
  place-items: center;
  width: 42px;
  min-width: 42px;
  height: 42px;
  margin: 0;
  padding: 0;
  transform: translateY(-50%);
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: #8a8378;
  cursor: pointer;
  appearance: none;
}
.password-visibility-toggle:hover {
  background: rgba(196, 154, 74, .11);
  color: #171411;
}
.password-visibility-toggle:focus-visible {
  outline: 3px solid rgba(196, 154, 74, .38);
  outline-offset: 2px;
}
.password-visibility-toggle svg {
  display: block;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.password-visibility-toggle [hidden] {
  display: none !important;
}
.account-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  color: var(--muted);
  font-weight: 800;
}
.account-divider::before,
.account-divider::after {
  content: "";
  height: 1px;
  background: var(--line);
}
.google-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  border: 1px solid #11183b;
  border-radius: var(--radius);
  background: #fff;
  color: #11183b;
  font-weight: 800;
  cursor: pointer;
}
.google-button span {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: #4285f4;
  font-weight: 900;
}
.google-render-button {
  display: grid;
  place-items: center;
  min-height: 40px;
}
.google-render-button[hidden] {
  display: none !important;
}
.google-render-button iframe {
  margin-inline: auto !important;
}
.account-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}
.account-note[data-tone="success"] {
  color: #0f6848;
  font-weight: 800;
}
.account-note[data-tone="warning"] {
  color: #7a5b12;
  font-weight: 800;
}
.account-note[data-tone="error"] {
  color: #9f2626;
  font-weight: 800;
}
.process-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 38px; }
.process-grid article { background: #171411; color: #fff; }
.feed-table-wrap { overflow-x: auto; }
table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 22px;
  background: #fff;
  border: 1px solid var(--line);
}
th, td {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
th { background: #f1ece3; }

.cart-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 30;
  width: min(420px, 100vw);
  padding: 30px;
  background: #fff;
  box-shadow: -20px 0 60px rgba(24, 20, 17, .18);
  overflow-y: auto;
}
.cart-close {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 1.4rem;
  cursor: pointer;
}
.mini-commerce-list {
  display: grid;
  gap: 12px;
  margin: 22px 0;
}
.mini-commerce-item {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) 34px;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.mini-commerce-item img {
  width: 84px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: calc(var(--radius) - 2px);
}
.mini-commerce-item div {
  display: grid;
  gap: 4px;
}
.mini-commerce-item span,
.mini-commerce-item a {
  color: var(--muted);
  font-size: .86rem;
}
.mini-commerce-item button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
}
.chat-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 25;
  width: 66px;
  height: 66px;
  border: 1px solid #11183b;
  border-radius: 999px;
  background: #11183b;
  color: #fff;
  font-weight: 800;
  box-shadow: 0 14px 38px rgba(17, 24, 59, .25);
  cursor: pointer;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: start center;
  padding: 42px clamp(10px, 3vw, 34px);
  background: rgba(24, 20, 17, .36);
}
.modal-backdrop[hidden] { display: none; }
.search-modal {
  width: min(1160px, 100%);
  min-height: min(680px, calc(100vh - 84px));
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.modal-head {
  display: grid;
  grid-template-columns: 1fr auto 42px;
  align-items: center;
  gap: 12px;
  padding: 20px 28px;
  border-bottom: 1px solid var(--line);
}
.modal-head h2 { font-size: 1.4rem; }
.modal-close {
  min-width: 38px;
  min-height: 38px;
  border: 0;
  background: transparent;
  color: #11183b;
  font-size: 1.6rem;
  cursor: pointer;
}
.modal-tabs {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  background: #f4f2ee;
}
.modal-tabs button {
  min-height: 34px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: #11183b;
  cursor: pointer;
}
.modal-tabs button.active {
  border-color: #11183b;
  background: #fff;
  font-weight: 800;
}
.modal-body {
  padding: 24px 28px 28px;
}
.search-input-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-bottom: 28px;
}
.search-input-row input {
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 18px;
}
.search-layout {
  display: grid;
  grid-template-columns: minmax(180px, 240px) 1fr;
  gap: 28px;
}
.suggestion-list,
.suggestion-tags {
  display: grid;
  gap: 8px;
}
.suggestion-list button,
.suggestion-tags button {
  min-height: 36px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: #29304f;
  text-align: left;
  cursor: pointer;
}
.suggestion-tags {
  display: flex;
  flex-wrap: wrap;
  margin-top: 16px;
}
.suggestion-tags button {
  border: 0;
  border-radius: 999px;
  background: #f4f2ee;
  padding: 0 12px;
}
.search-product-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.compact-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--stone);
}
.compact-card h3 {
  margin-top: 10px;
  font-size: 1.06rem;
}
.compact-card p {
  margin: 5px 0 0;
  color: #11183b;
  font-weight: 700;
}
.ask-panel {
  display: grid;
  gap: 22px;
  min-height: 490px;
  align-content: start;
}
.ask-intro {
  max-width: 720px;
}
.ask-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.ask-chips button {
  min-height: 38px;
  border: 0;
  border-radius: 999px;
  background: #f4f2ee;
  color: #29304f;
  padding: 0 16px;
  cursor: pointer;
}
.ask-compose {
  display: grid;
  grid-template-columns: 1fr 48px;
  gap: 10px;
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.ask-compose input {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 18px;
}
.ask-compose button,
.chat-compose button,
.search-input-row button {
  border: 1px solid #11183b;
  border-radius: var(--radius);
  background: #11183b;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}
.cart-drawer p { color: var(--muted); line-height: 1.6; }
.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  padding: 32px clamp(18px, 4vw, 58px);
  border-top: 1px solid var(--line);
}
.site-footer p { margin: 6px 0 0; color: var(--muted); }
.site-footer div:last-child {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: end;
  gap: 16px;
  color: var(--muted);
}
.empty-state { color: var(--muted); }

.design-page.chat-style {
  display: grid;
  grid-template-columns: 260px minmax(420px, 1fr) minmax(340px, 430px);
  min-height: calc(100vh - 68px);
  background: #fff;
}
.pane-button {
  position: fixed;
  z-index: 26;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(251, 250, 247, .94);
  color: #171411;
  box-shadow: 0 10px 28px rgba(24, 20, 17, .1);
  cursor: pointer;
}
.left-pane-button { left: 270px; top: 88px; }
.right-pane-button { right: 18px; top: 88px; display: none; }
body.design-left-collapsed .design-page.chat-style {
  grid-template-columns: 0 minmax(420px, 1fr) minmax(340px, 430px);
}
body.design-left-collapsed .design-sidebar {
  overflow: hidden;
  padding-inline: 0;
  border-right: 0;
}
body.design-left-collapsed .left-pane-button { left: 14px; }
body.design-visual-collapsed .design-page.chat-style {
  grid-template-columns: 260px minmax(420px, 1fr) 0;
}
body.design-visual-collapsed .design-visual-panel {
  overflow: hidden;
  padding: 0;
  border-left: 0;
}
body.design-visual-collapsed .right-pane-button { right: 14px; display: inline-flex; }
body.design-visual-expanded .design-page.chat-style {
  grid-template-columns: 220px minmax(360px, .82fr) minmax(540px, 1.18fr);
}
.design-sidebar {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 18px 14px;
  border-right: 1px solid var(--line);
  background: #f7f7f5;
}
.rail-action {
  min-height: 40px;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: #191816;
  text-align: left;
  padding: 0 12px;
  cursor: pointer;
}
.rail-action:hover,
.rail-action.active { background: #eceae6; }
.rail-action.primary {
  background: #fff;
  border: 1px solid var(--line);
  font-weight: 800;
}
.rail-action.register {
  margin-top: 8px;
  border: 1px solid #11183b;
  background: #11183b;
  color: #fff;
  font-weight: 800;
}
.rail-section {
  display: grid;
  gap: 8px;
  margin-top: 22px;
}
.rail-section h2 {
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-size: .82rem;
  font-weight: 800;
  color: var(--muted);
  text-transform: uppercase;
}
.saved-chat-list {
  display: grid;
  gap: 6px;
}
.saved-chat-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 36px;
  align-items: center;
  gap: 4px;
  min-height: 40px;
  border-radius: var(--radius);
}
.saved-chat-row.active,
.saved-chat-row:hover {
  background: #eceae6;
}
.saved-chat-open,
.chat-kebab,
.chat-action-menu button {
  min-height: 38px;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: #302b25;
  padding: 0 10px;
  cursor: pointer;
}
.saved-chat-open {
  min-width: 0;
  text-align: left;
}
.saved-chat-open span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.chat-kebab {
  display: inline-grid;
  place-items: center;
  padding: 0;
  color: #5f5a53;
  letter-spacing: 1px;
}
.chat-action-menu {
  position: absolute;
  z-index: 8;
  top: calc(100% + 6px);
  right: 4px;
  display: grid;
  min-width: 210px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(24, 20, 17, .18);
}
.chat-action-menu[hidden] { display: none; }
.chat-action-menu button {
  display: flex;
  align-items: center;
  min-height: 42px;
  text-align: left;
  font-size: .96rem;
}
.chat-action-menu button:hover { background: #f2f0ec; }
.chat-action-menu .danger { color: #b42318; }
.design-chat-shell {
  position: relative;
  min-height: calc(100vh - 68px);
  background: #fff;
}
.design-chat-view {
  min-height: calc(100vh - 68px);
  display: grid;
  grid-template-rows: 1fr auto;
}
.chat-log.clean {
  display: grid;
  align-content: start;
  gap: 18px;
  width: min(820px, 100%);
  margin: 0 auto;
  padding: clamp(42px, 8vh, 110px) 18px 130px;
}
.chat-log.clean article {
  max-width: 760px;
  padding: 0;
  border-radius: 0;
  background: transparent;
}
.chat-log.clean article:not(.assistant-intro) {
  padding: 14px 16px;
  border-radius: 18px;
  background: #f4f2ee;
}
.chat-log.clean article.user {
  justify-self: end;
  max-width: min(720px, 76%);
  background: #11183b;
  color: #fff;
}
.chat-log.clean article img {
  max-width: min(360px, 100%);
  border-radius: var(--radius);
}
.save-design-button {
  margin-top: 12px;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #11183b;
  padding: 0 12px;
  font-weight: 800;
  cursor: pointer;
}
.save-design-button[disabled] {
  color: var(--muted);
  cursor: default;
}
.assistant-intro {
  justify-self: center;
  text-align: center;
}
.assistant-intro h1 {
  margin-top: 130px;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-size: 2.25rem;
  font-weight: 500;
}
.assistant-intro p {
  max-width: 680px;
  margin: 18px auto 0;
  color: var(--muted);
  line-height: 1.6;
}
.prompt-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}
.prompt-row button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #27211b;
  padding: 0 14px;
  cursor: pointer;
}
.chat-log p { margin: 6px 0 0; line-height: 1.55; }
.chat-compose.floating {
  position: sticky;
  bottom: 20px;
  display: grid;
  grid-template-columns: 44px 1fr 82px;
  gap: 10px;
  width: min(820px, calc(100% - 36px));
  margin: 0 auto 20px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 16px 50px rgba(24, 20, 17, .12);
}
.chat-compose.floating input[type="text"] {
  min-height: 42px;
  border: 0;
  outline: 0;
  padding: 0 6px;
}
.compose-upload {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}
.compose-upload input { display: none; }
.design-visual-panel {
  position: relative;
  display: grid;
  align-content: start;
  gap: 18px;
  min-height: calc(100vh - 68px);
  padding: 18px;
  border-left: 1px solid var(--line);
  background: #f7f5f0;
}
.visual-toolbar {
  display: flex;
  justify-content: end;
  gap: 8px;
}
.visual-toolbar button {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #171411;
  padding: 0 12px;
  font-weight: 800;
  cursor: pointer;
}
.visual-stage {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.visual-stage img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.visual-brief {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.visual-brief h2 {
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
}
.visual-brief p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}
.visual-brief dl {
  display: grid;
  gap: 8px;
  margin: 0;
}
.visual-brief dl div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.visual-brief dt {
  color: var(--muted);
  font-weight: 800;
}
.visual-brief dd { margin: 0; }
.library-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  max-width: 1120px;
  margin: 0 auto 26px;
  padding-top: clamp(34px, 6vh, 70px);
}
.library-head h1 {
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-size: 2.1rem;
  font-weight: 500;
}
.library-head p {
  max-width: 680px;
  color: var(--muted);
}
.design-library-view {
  padding: 0 clamp(20px, 4vw, 58px) 58px;
}
.library-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1120px;
  margin: 0 auto;
}
.library-card {
  display: grid;
  gap: 10px;
  min-height: 180px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 14px;
}
.library-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--stone);
}
.library-card label {
  display: inline-flex;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 8px;
  color: #11183b;
}
.library-card p { margin: 0; color: var(--muted); }
.library-empty {
  grid-column: 1 / -1;
  padding: 32px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  text-align: center;
}

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; }
  .main-nav { grid-column: 1 / -1; justify-content: start; overflow-x: auto; }
  .header-actions .text-link { display: none; }
  .hero-storefront, .editorial-band, .product-detail, .category-landing { grid-template-columns: 1fr; }
  .hero-storefront { min-height: auto; max-height: none; }
  h1 { font-size: 4.4rem; }
  h2 { font-size: 2.45rem; }
  .filter-panel { position: static; border-right: 0; border-bottom: 1px solid var(--line); }
  .category-tabs { grid-template-columns: repeat(6, minmax(140px, 1fr)); }
  .listing-controls { grid-template-columns: 1fr; }
  .mega-shell { position: static; padding-bottom: 16px; }
  .mega-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-grid, .product-grid, .product-grid.grid, .product-grid.large, .process-grid, .service-row, .search-layout, .documentation-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .design-page.chat-style { grid-template-columns: 220px minmax(0, 1fr); }
  .design-visual-panel { display: none; }
  .pane-button { display: none; }
  .chat-log.clean, .chat-compose.floating { width: min(820px, calc(100vw - 280px)); }
  .library-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .search-product-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-page-v2,
  .product-spec-layout {
    grid-template-columns: 1fr;
  }
  .account-panel { grid-template-columns: 1fr; }
  .account-panel h1 { font-size: 3.2rem; }
  .product-buy-panel {
    position: static;
  }
}

@media (max-width: 620px) {
  html, body { width: 100%; max-width: 100%; overflow-x: hidden; }
  .site-header {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 12px 16px 14px;
    min-height: 0;
    background: #fbfaf7;
    backdrop-filter: none;
  }
  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }
  body.mobile-menu-open .menu-toggle {
    position: fixed;
    top: 14px;
    right: 16px;
    z-index: 60;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 8px 26px rgba(24, 20, 17, .1);
  }
  body.mobile-menu-open .menu-toggle span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }
  body.mobile-menu-open .menu-toggle span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }
  .logo-brand { gap: 8px; }
  .brand-logo-mark {
    width: 38px;
    height: 38px;
  }
  .brand-logo-word { width: 116px; }
  .brand-word { font-size: 1.65rem; }
  .brand-line { font-size: .64rem; }
  .main-nav {
    position: fixed;
    top: 0;
    right: auto;
    bottom: auto;
    left: 0;
    z-index: 40;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    width: min(92vw, 380px);
    height: 100dvh;
    min-height: 100vh;
    max-width: 100%;
    gap: 4px;
    padding: 84px 22px 28px;
    overflow-y: auto;
    border-right: 1px solid var(--line);
    background: #fbfaf7;
    box-shadow: 24px 0 60px rgba(24, 20, 17, .16);
    transform: translateX(-105%);
    transition: transform .24s ease;
  }
  body.mobile-menu-open {
    overflow: hidden;
  }
  body.mobile-menu-open .main-nav { transform: translateX(0); }
  .mobile-menu-account {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
  }
  .mobile-menu-account a,
  .mobile-menu-account label {
    min-height: 44px;
    border: 0;
    font-weight: 800;
  }
  .mobile-menu-account select {
    min-height: 34px;
    margin-left: 8px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
    font-weight: 800;
  }
  .mobile-menu-tools {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 12px 0;
  }
  .mobile-menu-tools a,
  .mobile-menu-tools button {
    display: grid;
    place-items: center;
    min-height: 42px;
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    color: #11183b;
    font: inherit;
    font-size: .86rem;
    font-weight: 800;
    text-align: center;
  }
  .main-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 46px;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
    line-height: 1.2;
  }
  .nav-plus {
    display: inline-block;
    margin-left: 18px;
    color: #11183b;
    font-size: 1.35rem;
    font-weight: 400;
  }
  .mobile-menu-services {
    display: grid;
    gap: 2px;
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
  }
  .mobile-menu-services a,
  .mobile-menu-services button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 50px;
    border: 0;
    border-bottom: 1px solid var(--line);
    background: transparent;
    color: #11183b;
    font: inherit;
    font-size: 1rem;
    font-weight: 800;
    text-align: left;
  }
  .mobile-menu-services span {
    display: inline-grid;
    place-items: center;
    min-width: 24px;
    height: 24px;
    border-radius: 999px;
    background: #11183b;
    color: #fff;
    font-size: .75rem;
  }
  .shop-actions,
  .header-actions {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: start;
    width: 100%;
  }
  .hero-copy, .category-band, .feature-products, .editorial-band, .service-row, .supplier-page, .private-access-page, .product-detail, .listing-panel { padding: 28px 16px; }
  h1 { font-size: 3.2rem; }
  h2 { font-size: 2.1rem; }
  .seasonal-strip {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    justify-items: center;
    min-height: 0;
    padding: 10px 12px;
    border-radius: var(--radius);
  }
  .seasonal-strip strong {
    max-width: 100%;
    font-size: .86rem;
    line-height: 1.25;
  }
  .seasonal-strip a { display: none; }
  .region-select {
    width: 100%;
    justify-content: center;
  }
  .region-select select {
    max-width: 190px;
    min-height: 34px;
  }
  .compact-strip { margin-bottom: 18px; }
  .hero-media { min-height: 360px; }
  .shop-actions,
  .header-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
    align-items: center;
    gap: 10px;
    width: 100%;
  }
  .shop-actions .currency-picker { min-width: 82px; }
  .app-tabs {
    order: 4;
    width: min(190px, 100%);
  }
  .icon-button { min-width: 50px; }
  .mega-panel, .category-grid, .product-grid, .product-grid.grid, .product-grid.large, .process-grid, .service-row, .option-grid, .search-layout, .search-product-row, .library-grid, .documentation-panel, .document-grid { grid-template-columns: 1fr; }
  .product-grid.list .product-card { grid-template-columns: 1fr; }
  .product-grid.list .product-image img { min-height: 0; aspect-ratio: 1 / 1; }
  .view-toggle { width: 100%; grid-template-columns: repeat(3, 1fr); }
  body.design-mode-page .site-header {
    position: sticky;
    top: 0;
    grid-template-columns: 44px 1fr 44px;
    min-height: 58px;
    padding: 8px 12px;
    border-bottom: 0;
    background: #fff;
  }
  body.design-mode-page .site-header .brand {
    grid-column: 2;
    justify-self: center;
    gap: 6px;
  }
  body.design-mode-page .brand-logo-mark {
    width: 30px;
    height: 30px;
  }
  body.design-mode-page .brand-logo-word { width: 104px; }
  body.design-mode-page .brand-line { display: none; }
  body.design-mode-page .site-header .menu-toggle,
  body.design-mode-page .site-header .main-nav,
  body.design-mode-page .site-header .shop-actions,
  body.design-mode-page .mega-shell {
    display: none;
  }
  body.design-mode-page .chat-float {
    display: none;
  }
  .design-page.chat-style { grid-template-columns: 1fr; }
  body.design-left-collapsed .design-page.chat-style,
  body.design-visual-collapsed .design-page.chat-style,
  body.design-visual-expanded .design-page.chat-style {
    grid-template-columns: 1fr;
  }
  .pane-button { display: none; }
  .design-drawer-toggle {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 62;
    display: inline-flex;
    width: 44px;
    height: 44px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 999px;
    background: #fff;
  }
  body.design-drawer-open .design-drawer-toggle {
    left: min(calc(82vw - 58px), 272px);
    box-shadow: 0 8px 26px rgba(24, 20, 17, .1);
  }
  body.design-drawer-open .design-drawer-toggle span:first-child {
    transform: translateY(4px) rotate(45deg);
  }
  body.design-drawer-open .design-drawer-toggle span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }
  .design-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 60;
    display: grid;
    grid-template-columns: 1fr;
    align-content: start;
    width: min(82vw, 330px);
    max-width: calc(100vw - 52px);
    min-height: 100dvh;
    padding: 74px 16px 22px;
    overflow-y: auto;
    border-right: 1px solid var(--line);
    border-bottom: 0;
    background: #fff;
    box-shadow: 24px 0 60px rgba(24, 20, 17, .12);
    transform: translateX(-105%);
    transition: transform .22s ease;
  }
  body.design-drawer-open .design-sidebar { transform: translateX(0); }
  body.design-drawer-open { overflow: hidden; }
  body.design-drawer-open .design-chat-shell::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 55;
    background: rgba(255, 255, 255, .62);
    backdrop-filter: blur(2px);
  }
  .drawer-close {
    display: none;
  }
  .design-sidebar .rail-section {
    grid-column: 1 / -1;
    margin-top: 18px;
    min-width: 0;
  }
  .design-sidebar .rail-section h2 { margin-bottom: 2px; }
  .saved-chat-list {
    display: grid;
    gap: 8px;
    overflow: visible;
    padding: 0;
    scroll-snap-type: none;
  }
  .saved-chat-row {
    grid-template-columns: minmax(0, 1fr) 44px;
    width: 100%;
    min-height: 48px;
    border: 0;
    background: transparent;
  }
  .saved-chat-row.active,
  .saved-chat-row:hover { background: #f0efec; }
  .saved-chat-open,
  .chat-kebab {
    min-height: 48px;
    font-size: .96rem;
  }
  .chat-action-menu {
    right: 0;
    min-width: min(260px, calc(88vw - 42px));
    border-radius: 20px;
  }
  .chat-action-menu button {
    min-height: 48px;
    font-size: 1rem;
  }
  .rail-action {
    min-height: 46px;
    font-size: 1rem;
  }
  .rail-action.register { grid-column: 1 / -1; }
  .chat-log.clean, .chat-compose.floating { width: calc(100vw - 32px); }
  .chat-log.clean {
    padding: 34px 16px 126px;
  }
  .assistant-intro h1 { margin-top: 34px; }
  body.design-mode-page .assistant-intro h1 {
    margin-top: min(20vh, 130px);
    font-size: 2.25rem;
    line-height: 1.08;
  }
  .assistant-intro p { font-size: .94rem; }
  .prompt-row { display: grid; grid-template-columns: 1fr 1fr; }
  .prompt-row button {
    min-height: 40px;
    padding: 0 10px;
    font-size: .86rem;
  }
  .chat-compose.floating {
    grid-template-columns: 42px minmax(0, 1fr) 68px;
    bottom: 10px;
    margin-bottom: 10px;
    padding: 8px;
  }
  .chat-compose.floating button { min-width: 0; padding-inline: 8px; }
  .library-head { display: grid; }
  .modal-head { grid-template-columns: 1fr 38px; }
  .modal-tabs { grid-column: 1 / -1; grid-row: 2; }
  .search-input-row { grid-template-columns: 1fr; }
  .chat-float {
    right: 14px;
    bottom: 18px;
    width: 58px;
    height: 58px;
    font-size: .8rem;
  }
  .mini-commerce-item {
    grid-template-columns: 70px minmax(0, 1fr) 34px;
  }
  .mini-commerce-item img { width: 70px; }
  .section-heading, .listing-top, .site-footer { display: grid; grid-template-columns: 1fr; }
  .filter-pill summary, .toggle-pill { width: 100%; justify-content: space-between; }
  .filter-pill, .toggle-pill { width: 100%; }
  .filter-menu { position: static; margin-top: 8px; width: 100%; }
  .site-footer div:last-child { justify-content: start; }
  .product-page-v2 {
    padding: 18px 12px 34px;
  }
  .product-gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-tile,
  .gallery-tile:first-child {
    min-height: 320px;
  }
  .setting-control.two-col {
    grid-template-columns: 1fr;
  }
  .product-spec-layout {
    padding: 0 12px 46px;
  }
  .account-page { padding: 16px; align-items: start; }
  .account-panel {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    gap: 24px;
    padding: 22px 16px;
  }
  .account-panel h1 { font-size: 2.75rem; }
  .account-form {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    padding: 12px;
  }
  .technical-specs dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .technical-specs dd {
    text-align: left;
  }
  h1 { font-size: 3rem; }
  h2 { font-size: 2rem; }
}
