:root {
  --ink: #191814;
  --muted: #65645e;
  --paper: #f5f1e8;
  --surface: #fffaf0;
  --clay: #c24f38;
  --moss: #355b50;
  --cobalt: #234d7d;
  --ochre: #b57532;
  --line: rgba(25, 24, 20, 0.14);
  --shadow: 0 24px 80px rgba(25, 24, 20, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Aptos", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr repeat(5, auto);
  gap: 16px;
  align-items: center;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  width: fit-content;
}

.brand-mark,
.icon-link {
  display: grid;
  place-items: center;
  width: 44px;
  aspect-ratio: 1;
  color: var(--surface);
  background: var(--ink);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.admin-entry {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.admin-entry:hover,
.admin-entry:focus-visible {
  background: var(--ink);
  color: var(--surface);
}

.brand small,
.site-footer span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.nav {
  display: flex;
  gap: clamp(12px, 2vw, 28px);
  color: var(--muted);
  font-size: 14px;
}

.nav a:hover {
  color: var(--ink);
}

.hero {
  min-height: calc(88vh - 73px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  padding: clamp(34px, 5vw, 72px) clamp(18px, 4vw, 56px) 28px;
}

.hero-media {
  min-height: 460px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: var(--surface);
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: contain;
  padding: 14px;
  background: linear-gradient(180deg, #f2ecdf 0%, #e8dfd0 100%);
}

.hero-copy {
  max-width: 640px;
}

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

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

h1,
h2 {
  letter-spacing: 0;
  line-height: 1.04;
  font-family: inherit;
  font-weight: 750;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(44px, 6.4vw, 88px);
  max-width: 720px;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 3.5vw, 52px);
}

h3 {
  line-height: 1.12;
}

.lead {
  max-width: 620px;
  color: #3e3c36;
  font-size: clamp(17px, 2vw, 21px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button,
.filter-button,
.buyer-tab,
.quote-link,
.intent-link {
  min-height: 44px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  font-weight: 800;
}

.button:hover,
.filter-button:hover,
.buyer-tab:hover,
.quote-link:hover {
  transform: translateY(-2px);
}

.primary {
  color: var(--surface);
  background: var(--ink);
}

.secondary {
  background: transparent;
}

.signal-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 0 clamp(18px, 4vw, 56px);
  border: 0;
  background: transparent;
}

.signal-band div {
  min-height: 112px;
  padding: 20px 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 250, 240, 0.52);
}

.signal-band strong,
.signal-band span {
  display: block;
}

.signal-band span {
  margin-top: 8px;
  color: var(--muted);
}

.section,
.split-section,
.service-band,
.quote-section {
  padding: clamp(54px, 8vw, 110px) clamp(18px, 4vw, 56px);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(250px, 0.78fr) minmax(260px, 0.45fr);
  gap: clamp(24px, 6vw, 80px);
  align-items: start;
  margin-bottom: 32px;
}

.section-head h2 {
  grid-column: 1;
}

.section-head p:last-child {
  grid-column: 2;
  color: var(--muted);
  font-size: 17px;
}

.section-head .eyebrow {
  grid-column: 1 / -1;
}

.compact {
  display: block;
  margin-bottom: 20px;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.filter-button,
.buyer-tab,
.quote-link {
  padding: 10px 15px;
  color: var(--ink);
  background: transparent;
  font-weight: 800;
}

.filter-button.active,
.buyer-tab.active {
  color: var(--surface);
  background: var(--moss);
  border-color: var(--moss);
}


.products-more-toggle {
  display: inline-flex;
  align-self: flex-start;
  margin: 16px 0 0;
}

.category-filter-panel {
  display: grid;
  gap: 12px;
  margin: 12px 0 24px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(20, 33, 43, 0.06);
}

.category-filter-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  min-height: 42px;
}

.category-filter-row + .category-filter-row {
  padding-top: 12px;
  border-top: 1px solid rgba(30, 40, 45, 0.08);
}

.category-filter-row-compact {
  padding-top: 10px;
}

.category-filter-label {
  min-width: 74px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.category-filter-panel .filter-button {
  border-radius: 8px;
  background: #f7f8f6;
}

.category-filter-panel .filter-button.active {
  color: #fff;
  background: var(--moss);
}

@media (max-width: 680px) {
  .category-filter-panel {
    padding: 12px;
  }

  .category-filter-label {
    width: 100%;
    min-width: 0;
  }
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

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

@media (max-width: 1100px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.catalog-state-message {
  grid-column: 1 / -1;
  margin: 0;
  padding: 18px 0;
  color: var(--muted);
}

.catalog-state-message.catalog-empty,
.catalog-state-message:has([data-catalog-retry]) {
  min-height: 260px;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 16px;
}

.catalog-loading-card .site-skeleton-products-card-body {
  min-height: 132px;
}

[data-product-pagination] {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: max-content;
  max-width: 100%;
  margin: 16px auto 0;
  padding: 0;
}

[data-product-pagination][hidden] { display: none; }

.pagination-button {
  flex: 0 0 auto;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
  color: inherit;
  font-size: 12px;
  font-weight: 600;
  line-height: 26px;
  cursor: pointer;
}

.pagination-button:hover:not(:disabled):not(.active) {
  border-color: rgba(25, 24, 20, 0.35);
  background: #fff;
}

.pagination-button.active { background: var(--ink); color: white; border-color: var(--ink); }
.pagination-button:disabled { opacity: 0.45; cursor: default; }
.pagination-status {
  padding: 0 4px;
  font-size: 12px;
  line-height: 1;
  color: var(--muted);
  white-space: nowrap;
}

@media (max-width: 760px) {
  [data-product-pagination] {
    gap: 2px;
    margin: 14px auto 8px 10px;
    max-width: calc(100% - 20px);
  }

  .pagination-button {
    min-width: 26px;
    height: 26px;
    padding: 0 6px;
    font-size: 11px;
    line-height: 24px;
  }

  .pagination-status {
    padding: 0 2px;
    font-size: 11px;
  }
}

.product-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 10px 24px rgba(25, 24, 20, 0.06);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.product-card:hover,
.product-card:focus-within {
  transform: translateY(-6px);
  border-color: rgba(53, 91, 80, 0.52);
  box-shadow: 0 20px 42px rgba(25, 24, 20, 0.16);
}

.product-card:focus-visible {
  outline: 3px solid var(--moss);
  outline-offset: 3px;
}

.product-card[hidden] {
  display: none;
}

.product-card img {
  width: 100%;
  aspect-ratio: 1.22;
  object-fit: cover;
  object-position: center;
  padding: 0;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #f6f0e4 0%, #ede4d7 100%);
  transition: opacity 180ms ease, transform 180ms ease;
}

.product-image-link {
  display: block;
  color: inherit;
  cursor: pointer;
}

.product-image-link:hover img {
  opacity: 0.9;
}

.product-card:hover img,
.product-card:focus-within img {
  transform: scale(1.025);
}

.product-image-link:focus-visible {
  outline: 3px solid var(--moss);
  outline-offset: -3px;
}

@media (prefers-reduced-motion: reduce) {
  .product-card,
  .product-card img {
    transition: none;
  }

  .product-card:hover,
  .product-card:focus-within,
  .product-card:hover img,
  .product-card:focus-within img {
    transform: none;
  }
}

.mini-grid,
.product-grid,
.related-grid,
.proof-grid,
.operations-grid,
.service-grid {
  content-visibility: auto;
  contain-intrinsic-size: 1px 720px;
}

.hero-copy,
.page-hero,
.section-head,
.product-body,
.detail-copy,
.service-grid section,
.operations-grid section {
  min-width: 0;
}

.hero h1,
.page-hero h1,
.section-head h2,
.product-body h3,
.service-grid h3,
.operations-grid h3,
.faq-list summary,
.detail-copy h1 {
  overflow-wrap: anywhere;
}

.product-body {
  padding: 18px;
  display: grid;
  gap: 8px;
}

.product-type {
  color: var(--clay);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.product-body h3 {
  margin: 8px 0 8px;
  font-size: 22px;
}

.catalog-minimal-card .product-body {
  padding: 14px 16px 18px;
  display: block;
}

.catalog-minimal-card .product-body h3 {
  margin: 0;
  font-size: 20px;
}

.product-body p {
  min-height: 56px;
  color: var(--muted);
}

dl {
  display: grid;
  gap: 8px;
  margin: 16px 0;
}

dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

dt {
  color: var(--muted);
}

dd {
  margin: 0;
  font-weight: 800;
  text-align: right;
}

.quote-link {
  width: 100%;
  color: var(--surface);
  background: var(--cobalt);
  border-color: var(--cobalt);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(280px, 1fr);
  gap: clamp(24px, 5vw, 72px);
  background: var(--ink);
  color: var(--surface);
}

.buyer-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  grid-column: 1;
}

.buyer-tab {
  color: var(--surface);
  border-color: rgba(255, 250, 240, 0.42);
}

.buyer-panel {
  grid-row: 1 / span 2;
  grid-column: 2;
  align-self: stretch;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid rgba(255, 250, 240, 0.22);
  border-radius: 8px;
  background: #293f3a;
}

.buyer-panel p,
.buyer-panel li {
  color: rgba(255, 250, 240, 0.76);
}

.buyer-panel ul {
  margin: 22px 0 0;
  padding-left: 20px;
}

.buyer-choice-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(280px, 1fr);
  gap: clamp(20px, 4vw, 56px);
  padding: clamp(40px, 6vw, 82px) clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: #fffaf0;
}

.buyer-choice-section .buyer-switch {
  align-content: start;
}

.buyer-choice-section .buyer-tab {
  color: var(--ink);
  border-color: var(--line);
  background: #fff;
}

.buyer-choice-section .buyer-tab.active {
  color: var(--surface);
  background: var(--moss);
  border-color: var(--moss);
}

.buyer-choice-section .buyer-panel {
  grid-row: auto;
  grid-column: 2;
  color: var(--surface);
}

.service-band {
  display: grid;
  grid-template-columns: minmax(260px, 0.58fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 70px);
  background: #e4e8dd;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-grid section {
  min-height: 210px;
  padding: 24px;
  background: #f7f4ea;
}

.service-grid span {
  color: var(--ochre);
  font-weight: 900;
}

.quote-section {
  display: grid;
  grid-template-columns: minmax(320px, 860px);
  justify-content: center;
  gap: clamp(28px, 5vw, 70px);
}


.quote-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

/* Keep conditional quote fields out of the grid even though labels have a display rule. */
.quote-form [hidden] {
  display: none !important;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 11px;
  color: var(--ink);
  background: #fffdf8;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(194, 79, 56, 0.22);
  border-color: var(--clay);
}

.wide {
  grid-column: 1 / -1;
}

.message-output {
  display: none;
  padding: 14px;
  border: 1px solid rgba(53, 91, 80, 0.3);
  border-radius: 8px;
  color: var(--moss);
  background: rgba(53, 91, 80, 0.08);
}

.message-output:not(:empty) {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}

.message-output a {
  font-weight: 900;
  text-decoration: underline;
}

.customer-login-panel {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(53, 91, 80, 0.24);
  border-radius: 8px;
  background: rgba(53, 91, 80, 0.06);
}

.customer-login-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.customer-login-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.customer-login-head strong {
  color: var(--ink);
  font-size: 13px;
}

.customer-login-actions {
  display: grid;
  grid-template-columns: auto minmax(160px, 1fr) auto minmax(160px, 1fr) auto;
  align-items: end;
  gap: 10px;
}

.customer-login-actions button {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--ink);
  background: #fffdf8;
  font-weight: 900;
  cursor: pointer;
}

.customer-login-actions button.is-active {
  border-color: var(--ink);
  color: var(--surface);
  background: var(--ink);
}

.customer-login-actions label {
  min-width: 0;
}

@media (max-width: 760px) {
  .customer-login-head,
  .customer-login-actions {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .customer-login-head {
    display: grid;
  }
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 4vw, 56px);
  color: var(--surface);
  background: var(--ink);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

@media (max-width: 980px) {
  .hero,
  .section-head,
  .split-section,
  .buyer-choice-section,
  .service-band,
  .quote-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .section-head h2,
  .section-head p:last-child,
  .buyer-panel {
    grid-column: auto;
    grid-row: auto;
  }

  .company-profile .profile-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand-meta {
    margin-top: 10px;
  }

  .site-footer {
    grid-column: auto;
    grid-row: auto;
  }

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

  .signal-band {
    grid-template-columns: 1fr;
  }

  .signal-band div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

.detail-page {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
  padding: clamp(44px, 7vw, 96px) clamp(18px, 4vw, 56px);
}

.detail-media {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.dimension-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  color: #111827;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.dimension-line {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.85));
}

.dimension-line::before,
.dimension-line::after {
  content: "";
  position: absolute;
  background: currentColor;
}

.dimension-line b {
  position: relative;
  z-index: 1;
  padding: 5px 9px;
  border: 1px solid rgba(17, 24, 39, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
  white-space: nowrap;
}

.dimension-line-length {
  left: 14%;
  right: 18%;
  bottom: 30px;
  height: 1px;
  border-top: 2px solid currentColor;
}

.dimension-line-length::before,
.dimension-line-length::after {
  top: -7px;
  width: 2px;
  height: 14px;
}

.dimension-line-length::before { left: 0; }
.dimension-line-length::after { right: 0; }

.dimension-line-height {
  top: 16%;
  right: 28px;
  bottom: 17%;
  width: 1px;
  border-left: 2px solid currentColor;
}

.dimension-line-height b {
  transform: rotate(90deg);
}

.dimension-line-height::before,
.dimension-line-height::after {
  left: -7px;
  width: 14px;
  height: 2px;
}

.dimension-line-height::before { top: 0; }
.dimension-line-height::after { bottom: 0; }

.dimension-line-depth {
  left: 16%;
  bottom: 83px;
  width: 27%;
  height: 1px;
  border-top: 2px solid currentColor;
  transform: rotate(-15deg);
  transform-origin: left center;
}

.dimension-line-depth::before,
.dimension-line-depth::after {
  top: -6px;
  width: 2px;
  height: 12px;
}

.dimension-line-depth::before { left: 0; }
.dimension-line-depth::after { right: 0; }

.dimension-line-raw {
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
}


.detail-media img {
  display: block;
  width: 100%;
  min-height: 440px;
  object-fit: cover;
  object-position: center;
  padding: 0;
  background: linear-gradient(180deg, #f6f0e4 0%, #ede4d7 100%);
}

.detail-copy dl {
  margin: 28px 0;
  max-width: 680px;
}

.mini-grid .product-card:nth-child(n+4) {
  display: none;
}

.nav a[aria-current="page"] {
  color: var(--ink);
  font-weight: 900;
}

@media (max-width: 980px) {
  .detail-page {
    grid-template-columns: 1fr;
  }

  .detail-media img {
    min-height: 320px;
  }
}

[data-detail-showcase] {
  background: #f7f3ea;
}

[data-detail-showcase] .showcase-grid {
  max-width: 1180px;
  margin: 0 auto;
}

[data-detail-showcase] .showcase-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  padding: 0;
  background: #fffdf8;
  box-shadow: var(--shadow);
}

[data-detail-showcase] .showcase-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  padding: 0;
  border-bottom: 1px solid var(--line);
}

@media (max-width: 980px) {
  [data-detail-showcase] .showcase-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  [data-detail-showcase] .showcase-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .dimension-overlay {
    font-size: 11px;
  }

  .dimension-line-length {
    left: 10%;
    right: 16%;
    bottom: 22px;
  }

  .dimension-line-height {
    right: 18px;
  }

  .dimension-line-depth {
    left: 12%;
    bottom: 68px;
    width: 30%;
  }
}



/* Restored homepage controls */

.admin-login-link {
  display: grid;
  place-items: center;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  color: var(--ink);
  background: transparent;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.admin-login-link:hover {
  background: var(--ink);
  color: var(--surface);
}

.language-toggle {
  display: grid;
  place-items: center;
  min-width: 52px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 250, 240, 0.72);
  cursor: pointer;
  font-weight: 900;
}

.language-toggle:hover {
  border-color: var(--ink);
}

.language-selector {
  min-inline-size: 168px;
  max-inline-size: 240px;
  width: 200px;
  padding-inline: 10px 28px;
  text-align: start;
}

.language-selector:focus-visible {
  outline: 3px solid var(--moss);
  outline-offset: 2px;
}

.country-switcher {
  display: grid;
  grid-template-columns: auto minmax(118px, 1fr);
  gap: 3px 8px;
  align-items: center;
  min-height: 48px;
  min-width: 176px;
  padding: 6px 8px 6px 12px;
  border: 1px solid rgba(25, 24, 20, 0.18);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 250, 240, 0.82);
  box-shadow: 0 10px 26px rgba(25, 24, 20, 0.08);
}

.country-switcher-label,
.country-switcher-status {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.country-switcher-label {
  grid-column: 1;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.country-switcher-status {
  grid-column: 1 / -1;
  color: var(--moss);
  font-size: 11px;
  font-weight: 900;
}

.region-toggle {
  min-width: 118px;
  min-height: 34px;
  padding: 0 28px 0 10px;
  border: 1px solid rgba(53, 91, 80, 0.28);
  border-radius: 6px;
  color: var(--ink);
  background: #fffdf8;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
}

.country-switcher:hover,
.country-switcher:focus-within {
  border-color: rgba(53, 91, 80, 0.52);
  box-shadow: 0 14px 32px rgba(25, 24, 20, 0.12);
}

.region-toggle:hover,
.region-toggle:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 1px var(--moss);
}

/* Restored homepage carousel and gateway header */

.home-carousel { min-height: calc(100svh - 73px); display: flex; align-items: flex-end; position: relative; overflow: hidden; isolation: isolate; background: #202522; }
.home-carousel-slides, .home-carousel-slide, .home-carousel-slide::after { position: absolute; inset: 0; }
.home-carousel-slide { margin: 0; opacity: 0; transition: opacity 700ms ease; pointer-events: none; }
.home-carousel-slide.is-active { opacity: 1; pointer-events: auto; }
.home-carousel-slide::after { content: ""; background: linear-gradient(90deg, rgba(15, 24, 19, 0.76) 0%, rgba(15, 24, 19, 0.35) 52%, rgba(15, 24, 19, 0.16) 100%); }
.home-carousel-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.home-carousel .hero-copy { position: relative; z-index: 1; max-width: 720px; margin: 0 0 clamp(64px, 10vh, 120px) clamp(24px, 7vw, 112px); color: #fff; }
.home-carousel .hero-copy .eyebrow, .home-carousel .hero-copy .lead { color: rgba(255, 255, 255, 0.86); }
.home-carousel .hero-copy h1 { color: #fff; }
.home-carousel .hero-actions .secondary { border-color: rgba(255, 255, 255, 0.72); color: #fff; background: rgba(18, 28, 23, 0.18); }
.home-carousel-controls { position: absolute; z-index: 2; inset: 0; pointer-events: none; }
.home-carousel-control, .home-carousel-dots button { border: 1px solid rgba(255, 255, 255, 0.7); background: rgba(15, 24, 19, 0.36); color: #fff; cursor: pointer; }
.home-carousel-control { position: absolute; top: 50%; width: 44px; height: 44px; padding: 0; border-radius: 50%; font-size: 22px; line-height: 1; pointer-events: auto; transform: translateY(-50%); }
.home-carousel-control[data-carousel-prev] { left: clamp(16px, 3vw, 48px); }
.home-carousel-control[data-carousel-next] { right: clamp(16px, 3vw, 48px); }
.home-carousel-dots { position: absolute; z-index: 2; left: 50%; bottom: clamp(30px, 5vh, 58px); display: flex; gap: 8px; transform: translateX(-50%); }
.home-carousel-dots button { width: 28px; height: 4px; padding: 0; border-radius: 0; opacity: 0.55; }
.home-carousel-dots button.is-active { opacity: 1; background: #fff; }
.home-carousel-control:hover, .home-carousel-control:focus-visible, .home-carousel-dots button:hover, .home-carousel-dots button:focus-visible { outline: none; background: rgba(255, 255, 255, 0.25); opacity: 1; }
@media (max-width: 680px) { .home-carousel { min-height: 620px; } .home-carousel-slide::after { background: linear-gradient(0deg, rgba(15, 24, 19, 0.82) 0%, rgba(15, 24, 19, 0.38) 68%, rgba(15, 24, 19, 0.18) 100%); } .home-carousel .hero-copy { margin: 0 20px 102px; } .home-carousel .hero-actions { gap: 8px; } .home-carousel .hero-actions .button { padding-inline: 12px; } .home-carousel-control { width: 38px; height: 38px; font-size: 18px; } .home-carousel-control[data-carousel-prev] { left: 12px; } .home-carousel-control[data-carousel-next] { right: 12px; } .home-carousel-dots { bottom: 28px; } }
@media (prefers-reduced-motion: reduce) { .home-carousel-slide { transition: none; } }
.gateway-header .nav { display: none; }
.gateway-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  justify-content: space-between;
  background: transparent;
  border-bottom: 0;
  backdrop-filter: none;
  color: #fff;
}
.gateway-header + main .home-carousel { min-height: 100svh; }
.gateway-header .brand,
.gateway-header .brand strong,
.gateway-header .brand small { color: #fff; }
.gateway-header .brand-mark { background: rgba(12, 20, 16, 0.72); color: #fff; }
.gateway-header .admin-login-link,
.gateway-header .language-toggle,
.gateway-header .country-switcher {
  border-color: rgba(255, 255, 255, 0.64);
  background: rgba(12, 20, 16, 0.35);
  color: #fff;
}
.gateway-header .icon-link { background: rgba(12, 20, 16, 0.72); color: #fff; }
.gateway-header .admin-login-link:hover,
.gateway-header .language-toggle:hover,
.gateway-header .country-switcher:hover { background: rgba(255, 255, 255, 0.18); }
.gateway-header .country-switcher-label,
.gateway-header .country-switcher-status { color: rgba(255, 255, 255, 0.78); }
.gateway-header .region-toggle { background: rgba(255, 250, 240, 0.94); color: var(--ink); }
@media (max-width: 680px) {
  .gateway-header { padding-inline: 14px; }
  .gateway-header .admin-login-link { display: none; }
}

/* Restored gateway button polish */

.gateway-actions .button {
  min-width: 146px;
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22);
}

.gateway-actions .primary {
  color: #171916;
  background: #fffaf0;
  border-color: #fffaf0;
}

.gateway-actions .secondary {
  color: #fffaf0;
  background: rgba(12, 20, 16, 0.34);
  backdrop-filter: blur(12px);
}

.gateway-actions .secondary:hover {
  background: rgba(255, 250, 240, 0.18);
}

/* Restored market selector polish */

/* Target market selector: make Latin, Southeast Asia, and EU/US visible as a business control. */
.country-switcher {
  min-width: 184px;
  border-color: rgba(191, 159, 104, 0.45);
  background: linear-gradient(180deg, rgba(255, 250, 240, 0.94), rgba(244, 234, 216, 0.88));
  box-shadow: 0 10px 24px rgba(48, 40, 28, 0.08);
}

.country-switcher-label {
  color: #9a6a2c;
}

.country-switcher-status {
  color: #355b50;
}

.country-switcher .region-toggle {
  min-width: 126px;
  font-weight: 900;
}

.gateway-header .country-switcher {
  border-color: rgba(255, 255, 255, 0.68);
  background: rgba(18, 28, 23, 0.52);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

.gateway-header .country-switcher-label,
.gateway-header .country-switcher-status {
  color: rgba(255, 250, 240, 0.82);
}

@media (max-width: 680px) {
  .country-switcher {
    min-width: 0;
    width: 100%;
    grid-column: 1 / -1;
    order: 2;
  }
}


/* Mobile override: keep product discovery controls in one scan-friendly column. */
@media (max-width: 680px) {
  .product-filter-panel .filter-control,
  .product-filter-panel .product-search-control,
  .product-ai-link,
  .product-reset-button {
    flex: 1 1 100%;
    min-width: 100%;
  }
}

/* Restored landing-home full-screen gateway */

/* Landing home gateway override */
body.landing-home {
  background: #111 !important;
  color: #fffaf0 !important;
}

body.landing-home .site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 20;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 18px;
  padding: 18px 24px;
  border-bottom: 0;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.42), rgba(10, 10, 10, 0));
  backdrop-filter: none;
}

body.landing-home .header-actions {
  justify-self: end;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

body.landing-home .brand small,
body.landing-home .gateway-header .brand small {
  color: rgba(255, 255, 255, 0.8) !important;
}

body.landing-home .admin-login-link,
body.landing-home .language-toggle,
body.landing-home .country-switcher {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
  background: rgba(255, 255, 255, 0.16) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

body.landing-home .icon-link {
  width: 42px;
  background: #111 !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

body.landing-home .country-switcher {
  min-width: 168px;
  padding: 7px 8px 7px 10px;
  grid-template-columns: auto minmax(92px, 1fr);
}

body.landing-home .country-switcher-label {
  color: rgba(255, 255, 255, 0.72) !important;
}

body.landing-home .country-switcher-status {
  color: rgba(255, 255, 255, 0.76) !important;
}

body.landing-home .region-toggle {
  min-width: 92px;
  min-height: 34px;
  padding: 0 28px 0 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86) !important;
  color: #191814 !important;
}

body.landing-home main[data-landing-gateway] {
  min-height: 100svh;
}

body.landing-home .home-carousel {
  min-height: 100svh;
  display: grid;
  align-items: end;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #101010 !important;
}

body.landing-home .home-carousel-slides,
body.landing-home .home-carousel-slide,
body.landing-home .home-carousel-slide::after {
  position: absolute;
  inset: 0;
}

body.landing-home .home-carousel-slides {
  z-index: 0;
}

body.landing-home .home-carousel-slide {
  margin: 0;
  opacity: 0;
  transition: opacity 700ms ease;
  pointer-events: none;
}

body.landing-home .home-carousel-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

body.landing-home .home-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

body.landing-home .home-carousel-slide::after {
  content: "";
  background: linear-gradient(90deg, rgba(15, 24, 19, 0.76) 0%, rgba(15, 24, 19, 0.34) 50%, rgba(15, 24, 19, 0.12) 100%) !important;
}

body.landing-home .hero-copy {
  position: relative;
  z-index: 1;
  max-width: 660px;
  margin: 0 0 clamp(64px, 10vh, 120px) clamp(24px, 7vw, 112px);
  color: #fff !important;
}

body.landing-home .hero-copy .eyebrow,
body.landing-home .hero-copy .lead,
body.landing-home .hero-copy h1 {
  color: #fff !important;
}

body.landing-home .hero-copy .eyebrow {
  letter-spacing: 0.14em;
  font-size: 11px;
}

body.landing-home .hero-copy h1 {
  margin-bottom: 18px;
  max-width: 640px;
  font-size: clamp(58px, 6.6vw, 108px);
  line-height: 0.95;
}

body.landing-home .hero-copy .lead {
  max-width: 460px;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82) !important;
}

body.landing-home .hero-actions {
  margin-top: 26px;
  gap: 12px;
}

body.landing-home .hero-actions .button.primary {
  background: #111 !important;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}

body.landing-home .hero-actions .button.secondary {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.6) !important;
}

body.landing-home .home-carousel-controls {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

body.landing-home .home-carousel-control,
body.landing-home .home-carousel-dots button {
  border: 1px solid rgba(255, 255, 255, 0.7) !important;
  background: rgba(15, 24, 19, 0.36) !important;
  color: #fff !important;
}

body.landing-home .home-carousel-control {
  position: absolute;
  top: 50%;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  pointer-events: auto;
  transform: translateY(-50%);
}

body.landing-home .home-carousel-control[data-carousel-prev] {
  left: clamp(16px, 3vw, 48px);
}

body.landing-home .home-carousel-control[data-carousel-next] {
  right: clamp(16px, 3vw, 48px);
}

body.landing-home .home-carousel-dots {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: clamp(30px, 5vh, 58px);
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

body.landing-home .home-carousel-dots button {
  width: 28px;
  height: 4px;
  padding: 0;
  border-radius: 0;
  opacity: 0.55;
}

body.landing-home .home-carousel-dots button.is-active {
  opacity: 1;
  background: #fff !important;
}

body.landing-home .home-carousel-control:hover,
body.landing-home .home-carousel-control:focus-visible,
body.landing-home .home-carousel-dots button:hover,
body.landing-home .home-carousel-dots button:focus-visible {
  outline: none;
  background: rgba(255, 255, 255, 0.22) !important;
  opacity: 1;
}

@media (max-width: 980px) {
  body.landing-home .site-header {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  body.landing-home .header-actions {
    justify-self: start;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
    flex-wrap: nowrap;
  }

  body.landing-home .hero-copy {
    margin: 0 20px 96px;
  }

  body.landing-home .hero-copy h1 {
    font-size: clamp(42px, 10vw, 70px);
  }

  body.landing-home .hero-actions {
    gap: 8px;
  }
}

@media (max-width: 680px) {
  body.landing-home .hero-copy {
    margin: 0 18px 86px;
  }

  body.landing-home .hero-copy .lead {
    max-width: 320px;
  }

  body.landing-home .home-carousel-control {
    width: 38px;
    height: 38px;
    font-size: 18px;
  }

  body.landing-home .home-carousel-control[data-carousel-prev] {
    left: 12px;
  }

  body.landing-home .home-carousel-control[data-carousel-next] {
    right: 12px;
  }
}

/* Restored image-led landing override */

/* Restore the image-led gateway pages after white-mode overrides. */
body.landing-home main[data-landing-gateway],
body.about-page .about-gateway {
  background: #111 !important;
}

body.landing-home .home-carousel,
body.landing-home .home-carousel-slides,
body.landing-home .home-carousel-slide,
body.landing-home .home-carousel-slide img,
body.landing-home .home-carousel-slide::after,
body.about-page .about-hero,
body.about-page .about-hero-image,
body.about-page .about-hero-overlay {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
}

body.landing-home .home-carousel-slide img,
body.about-page .about-hero-image {
  opacity: 1 !important;
  visibility: visible !important;
  filter: none !important;
}

body.landing-home .home-carousel-slide::after {
  background: linear-gradient(90deg, rgba(15, 24, 19, 0.76) 0%, rgba(15, 24, 19, 0.34) 50%, rgba(15, 24, 19, 0.12) 100%) !important;
}

/* Keep homepage free of floating product widgets */

/* Final homepage restore */
body.landing-home .home-product-search {
  display: none !important;
}

body.landing-home .gateway-actions {
  display: flex;
}

body.landing-home .smart-search-side-entry,
body.landing-home .service-floating-entry,
body.landing-home .ai-floating-entry {
  display: none !important;
}

body.landing-home .gateway-actions {
  margin-top: 30px;
}


body.landing-home .gateway-actions {
  display: flex;
}

body.landing-home .smart-search-side-entry,
body.landing-home .service-floating-entry,
body.landing-home .ai-floating-entry {
  display: none !important;
}

body.landing-home .gateway-actions {
  margin-top: 30px;
}


/* Product page restore: search hero, cards, and floating entries */
.product-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  gap: 8px;
}

.detail-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fffdf8;
  cursor: pointer;
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease;
}

.detail-link:hover,
.detail-link:focus-visible {
  transform: translateY(-2px);
  border-color: var(--ink);
  outline: none;
}

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

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

.product-card .product-actions {
  container-type: inline-size;
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.product-card .product-actions > .detail-link,
.product-card .product-actions > .quote-link,
.product-card .product-actions > .intent-link {
  display: block;
  flex: 1 1 0;
  min-width: 0;
  min-height: 46px;
  padding: 0 12px;
  padding: 0 clamp(4px, 2cqw, 12px);
  border-radius: 8px;
  font-size: 14px;
  font-size: clamp(11px, 6cqw, 14px);
  font-weight: 800;
  line-height: 46px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

:lang(en) .product-card .product-actions > .detail-link,
:lang(en) .product-card .product-actions > .quote-link,
:lang(en) .product-card .product-actions > .intent-link {
  font-size: 13px;
  font-size: clamp(10px, 4.2cqw, 13px);
}

.product-card .product-actions > .detail-link,
.product-card .product-actions > .intent-link {
  color: var(--ink);
  background: #fffdf8;
  border-color: var(--line);
}

.product-card .product-actions > .quote-link {
  width: auto;
  color: var(--surface);
  background: var(--cobalt);
  border-color: var(--cobalt);
}

.product-card .product-actions > .detail-link:hover,
.product-card .product-actions > .intent-link:hover {
  transform: translateY(-2px);
  border-color: var(--ink);
}

.product-card .product-actions > .quote-link:hover {
  transform: translateY(-2px);
  background: #193f6c;
  border-color: #193f6c;
}

.product-card .product-actions > .detail-link:focus-visible,
.product-card .product-actions > .quote-link:focus-visible,
.product-card .product-actions > .intent-link:focus-visible {
  outline: 3px solid var(--moss);
  outline-offset: 2px;
}

@media (max-width: 540px) {
  .product-card .product-actions {
    flex-direction: column;
  }

  .product-card .product-actions > .detail-link,
  .product-card .product-actions > .quote-link,
  .product-card .product-actions > .intent-link {
    flex: 0 0 auto;
    width: 100%;
    font-size: 14px;
    padding: 0 12px;
  }
}

.product-filter-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: end;
  margin-bottom: 18px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.72);
}

.product-filter-panel .filter-control {
  flex: 1 1 150px;
  min-width: 148px;
  max-width: none;
}

.product-filter-panel .product-search-control {
  flex-basis: 280px;
}

.product-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  min-height: 30px;
}

.product-card-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 8px;
  border: 1px solid rgba(25, 24, 20, 0.08);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 250, 240, 0.68);
  font-size: 12px;
  font-weight: 850;
}

.product-card-meta .region-hot-badge {
  color: #7a371d;
  border-color: rgba(194, 79, 56, 0.18);
  background: rgba(194, 79, 56, 0.1);
}

.sales-demo-badge {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 10px;
  align-items: center;
  margin: 10px 0 12px;
  color: var(--muted);
  font-size: 12px;
}

.sales-demo-label,
.sales-demo-disclaimer {
  font-weight: 800;
}

.sales-demo-badge strong {
  color: #1f3f36;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
}

.product-card .card-specs {
  display: none !important;
}

body:not(.landing-home) .product-search-hero {
  display: block !important;
  visibility: visible !important;
  padding: clamp(82px, 9vw, 136px) clamp(18px, 4vw, 56px) clamp(48px, 6vw, 78px) !important;
  background: #f6f6f4 !important;
}

body:not(.landing-home) .product-search-hero-inner,
main[data-buyer-home] .buyer-product-search .product-search-hero-inner {
  position: relative !important;
  display: block !important;
  width: min(780px, calc(100% - 32px)) !important;
  max-width: 780px !important;
  margin-inline: auto !important;
}

body:not(.landing-home) .product-hero-search-control,
body:not(.landing-home) .product-hero-search-control:hover,
body:not(.landing-home) .product-hero-search-control:focus-within,
main[data-buyer-home] .buyer-product-search .product-hero-search-control,
main[data-buyer-home] .buyer-product-search .product-hero-search-control:hover,
main[data-buyer-home] .buyer-product-search .product-hero-search-control:focus-within {
  position: relative !important;
  display: grid !important;
  align-content: center !important;
  min-height: 58px !important;
  padding: 0 150px 0 56px !important;
  border: 1px solid rgba(25, 24, 20, 0.1) !important;
  border-radius: 999px !important;
  background: linear-gradient(#191814, #191814) 28px center / 14px 1.5px no-repeat, linear-gradient(#191814, #191814) 34.25px center / 1.5px 14px no-repeat, #fff !important;
  background-color: #fff !important;
  box-shadow: 0 10px 28px rgba(25, 24, 20, 0.14) !important;
  backdrop-filter: none !important;
}

body:not(.landing-home) .product-hero-search-control span,
main[data-buyer-home] .buyer-product-search .product-hero-search-control span {
  display: none !important;
}

body:not(.landing-home) .product-hero-search-control textarea,
main[data-buyer-home] .buyer-product-search .product-hero-search-control textarea {
  min-height: 26px !important;
  max-height: 38px !important;
  padding: 0 !important;
  border: 0 !important;
  color: #6f716d !important;
  background: transparent !important;
  background-color: transparent !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  line-height: 1.6 !important;
  resize: none !important;
  text-shadow: none !important;
  overflow: hidden !important;
}

body:not(.landing-home) .product-hero-search-control textarea::placeholder,
main[data-buyer-home] .buyer-product-search .product-hero-search-control textarea::placeholder {
  color: rgba(25, 24, 20, 0.42) !important;
}

body:not(.landing-home) .product-hero-search-button,
main[data-buyer-home] .buyer-product-search .product-hero-search-button {
  position: absolute !important;
  right: 10px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 40px !important;
  margin: 0 !important;
  padding: 0 18px !important;
  border-radius: 999px !important;
  color: #fff !important;
  background: #191814 !important;
  border-color: #191814 !important;
  box-shadow: none !important;
}

main[data-buyer-home] .buyer-product-search {
  position: relative;
  min-height: clamp(340px, 46vh, 500px);
  display: grid !important;
  align-items: center;
  margin-top: 0;
  border-top: 1px solid rgba(25, 24, 20, 0.08);
  background-image: linear-gradient(90deg, rgba(15, 24, 19, 0.58), rgba(15, 24, 19, 0.12)), var(--buyer-search-bg) !important;
  background-size: cover !important;
  background-position: center !important;
}

main[data-buyer-home] .buyer-product-search .eyebrow {
  justify-self: center !important;
  margin-bottom: 8px;
  text-align: center;
  color: rgba(255, 255, 255, 0.86) !important;
}

main[data-page="products"] .product-search-hero {
  position: relative;
  min-height: clamp(300px, 40vh, 460px);
  display: grid !important;
  align-items: center;
  --product-search-hero-bg: url("/assets/hero/living-room-3.jpg");
  background-image: linear-gradient(90deg, rgba(15, 24, 19, 0.58), rgba(15, 24, 19, 0.12)), var(--product-search-hero-bg) !important;
  background-size: cover !important;
  background-position: center !important;
}

main[data-page="products"] .product-hero-filter-anchor {
  position: relative;
  left: 0;
  z-index: 40;
  display: block;
  width: max-content;
  min-height: 0;
  margin: -48px 0 18px;
  padding: 0;
  pointer-events: none;
}

main[data-page="products"] .products-filter-dropdown {
  position: relative;
  z-index: 10;
  pointer-events: auto;
}

main[data-page="products"] .products-filter-toggle {
  min-height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 10px 10px 0 0;
  color: var(--ink);
  background: var(--surface);
  box-shadow: 0 -6px 18px rgba(25, 24, 20, 0.12);
}

main[data-page="products"] .products-filter-dropdown::before {
  content: '';
  position: absolute;
  left: 10px;
  right: 10px;
  top: 0;
  height: 3px;
  background: rgba(53, 91, 80, 0.88);
}

main[data-page="products"] .product-advanced-filter-panel {
  position: absolute;
  left: 0;
  top: 100%;
  z-index: 50;
  width: min(620px, calc(100vw - 40px));
  max-height: min(70vh, 640px);
  overflow: auto;
  padding: 20px;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 10px 10px 10px;
  background: var(--surface);
  box-shadow: 0 18px 42px rgba(25, 24, 20, 0.18);
}

main[data-page="products"] .product-advanced-filter-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

main[data-page="products"] .product-advanced-filter-grid select,
main[data-page="products"] .product-advanced-filter-grid input {
  min-height: 46px;
}

main[data-page="products"] .product-advanced-category-section {
  display: grid;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

main[data-page="products"] .product-advanced-category-section .category-filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

main[data-page="products"] .product-advanced-category-section .category-filter-row + .category-filter-row {
  padding-top: 0;
  border-top: 0;
}

main[data-page="products"] .product-advanced-filter-panel .category-filter-label {
  font-size: 12px;
  font-weight: 700;
}

main[data-page="products"] .product-advanced-category-section .filter-button {
  min-height: 28px;
  padding: 3px 11px;
  border-radius: 999px;
  color: var(--ink);
  background: #fffdf8;
  font-size: 12px;
  font-weight: 700;
}

main[data-page="products"] .product-advanced-category-section .filter-button:hover {
  transform: none;
}

main[data-page="products"] .product-advanced-category-section .filter-button.active {
  color: #fff;
  background: var(--moss);
  border-color: var(--moss);
}

main[data-page="products"] .products-filter-dropdown.is-expanded::before,
main[data-page="products"] .products-filter-toggle.has-active-filters {
  background: #355b50;
}

@media (max-width: 760px) {
  main[data-page="products"] .product-advanced-filter-grid { grid-template-columns: 1fr; }
  main[data-page="products"] .product-advanced-category-section .category-filter-label { flex-basis: 100%; }
}

main[data-page="products"] > [data-products-catalog] {
    position: relative;
    z-index: 12;
    padding-top: 0;
    overflow: visible;
}

@media (max-width: 760px) {
  body.products-page .site-header { grid-template-columns: 1fr auto; }
  body.products-page .site-header .icon-link { display: none; }
  main[data-page="products"] .product-hero-filter-anchor { left: 0; margin-top: -48px; }
  main[data-page="products"] .product-advanced-filter-panel { width: min(620px, calc(100vw - 20px)); }
}

main[data-page="products"] .product-search-hero .eyebrow {
  justify-self: center !important;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.86) !important;
}

.smart-search-side-entry {
  position: fixed !important;
  left: auto !important;
  right: 0 !important;
  top: 58% !important;
  bottom: auto !important;
  z-index: 999 !important;
  display: grid !important;
  justify-items: center !important;
  gap: 6px !important;
  width: 38px !important;
  padding: 8px 5px !important;
  border: 1px solid rgba(25, 24, 20, 0.12) !important;
  border-right: 0 !important;
  border-radius: 12px 0 0 12px !important;
  color: #1b1a16 !important;
  background: rgba(255, 250, 240, 0.94) !important;
  box-shadow: 0 12px 28px rgba(25, 24, 20, 0.18) !important;
  text-decoration: none !important;
  transform: translateY(-50%) !important;
}

.smart-search-side-entry span {
  display: grid !important;
  place-items: center;
  width: 22px !important;
  height: 22px !important;
  border-radius: 999px !important;
  color: #fff !important;
  background: #191814 !important;
  font-size: 8px !important;
  font-weight: 900 !important;
}

.smart-search-side-entry strong {
  display: block !important;
  writing-mode: vertical-rl !important;
  color: #1b1a16 !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  line-height: 1.05 !important;
  letter-spacing: 0 !important;
  white-space: nowrap !important;
}

.service-floating-entry {
  position: fixed !important;
  left: 0 !important;
  bottom: 132px !important;
  z-index: 141 !important;
  display: flex !important;
  gap: 12px;
  align-items: center;
  width: 180px;
  min-height: 82px;
  padding: 12px 14px 12px 10px;
  border-radius: 0 10px 10px 0;
  color: #fffaf0;
  background: linear-gradient(135deg, rgba(25, 24, 20, 0.98) 0%, rgba(53, 91, 80, 0.98) 100%);
  box-shadow: 0 12px 30px rgba(25, 24, 20, 0.18);
  text-decoration: none;
}

.service-floating-entry span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  color: #191814;
  background: #f3d9ad;
  font-size: 12px;
  font-weight: 900;
}

.service-floating-entry strong {
  display: block;
  color: inherit;
  font-size: 16px;
  line-height: 1.1;
}

.service-floating-entry small {
  display: block;
  margin-top: 3px;
  color: rgba(255, 250, 240, 0.72);
  font-size: 11px;
  letter-spacing: 0.02em;
}

@media (max-width: 760px) {
  body:not(.landing-home) .product-search-hero .product-search-hero-inner,
  main[data-buyer-home] .buyer-product-search .product-search-hero-inner {
    width: min(100%, calc(100% - 20px)) !important;
  }

  body:not(.landing-home) .product-hero-search-control,
  main[data-buyer-home] .buyer-product-search .product-hero-search-control {
    min-height: 54px !important;
    padding: 0 118px 0 46px !important;
    background-position: 22px center, 28.25px center, center !important;
  }

  body:not(.landing-home) .product-hero-search-button,
  main[data-buyer-home] .buyer-product-search .product-hero-search-button {
    right: 8px !important;
    min-height: 36px !important;
    padding: 0 14px !important;
  }
}


/* Final buyer product page visual restore */
body:not(.landing-home) main[data-buyer-home] > .buyer-product-search.product-search-hero {
  position: relative !important;
  min-height: clamp(340px, 46vh, 500px) !important;
  display: grid !important;
  align-items: center !important;
  padding: clamp(76px, 9vw, 130px) clamp(18px, 4vw, 56px) clamp(48px, 6vw, 78px) !important;
  border-top: 1px solid rgba(25, 24, 20, 0.08) !important;
  background-color: #202522 !important;
  background-image: linear-gradient(90deg, rgba(15, 24, 19, 0.58), rgba(15, 24, 19, 0.12)), var(--buyer-search-bg) !important;
  background-size: cover !important;
  background-position: center !important;
  overflow: hidden !important;
}

body:not(.landing-home) main[data-buyer-home] > .buyer-product-search.product-search-hero .product-search-hero-inner {
  position: relative !important;
  display: block !important;
  width: min(780px, calc(100% - 32px)) !important;
  max-width: 780px !important;
  margin: 0 auto !important;
}

body:not(.landing-home) main[data-buyer-home] > .buyer-product-search.product-search-hero .eyebrow {
  display: block !important;
  margin: 0 0 8px !important;
  text-align: center !important;
  color: rgba(255, 255, 255, 0.88) !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
}

body:not(.landing-home) main[data-buyer-home] > .buyer-product-search.product-search-hero .product-hero-search-control,
body:not(.landing-home) main[data-buyer-home] > .buyer-product-search.product-search-hero .product-hero-search-control:hover,
body:not(.landing-home) main[data-buyer-home] > .buyer-product-search.product-search-hero .product-hero-search-control:focus-within {
  position: relative !important;
  display: grid !important;
  align-content: center !important;
  min-height: 58px !important;
  padding: 0 150px 0 56px !important;
  border: 1px solid rgba(25, 24, 20, 0.1) !important;
  border-radius: 999px !important;
  background: linear-gradient(#191814, #191814) 28px center / 14px 1.5px no-repeat, linear-gradient(#191814, #191814) 34.25px center / 1.5px 14px no-repeat, #fff !important;
  box-shadow: 0 10px 28px rgba(25, 24, 20, 0.16) !important;
  backdrop-filter: none !important;
}

body:not(.landing-home) main[data-buyer-home] > .buyer-product-search.product-search-hero .product-hero-search-control span {
  display: none !important;
}

body:not(.landing-home) main[data-buyer-home] > .buyer-product-search.product-search-hero .product-hero-search-control textarea {
  display: block !important;
  width: 100% !important;
  min-height: 26px !important;
  max-height: 38px !important;
  padding: 0 !important;
  border: 0 !important;
  color: #6f716d !important;
  background: transparent !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  line-height: 1.6 !important;
  resize: none !important;
  overflow: hidden !important;
}

body:not(.landing-home) main[data-buyer-home] > .buyer-product-search.product-search-hero .product-hero-search-button {
  position: absolute !important;
  right: 10px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 40px !important;
  margin: 0 !important;
  padding: 0 18px !important;
  border-radius: 999px !important;
  color: #fff !important;
  background: #191814 !important;
  border-color: #191814 !important;
  box-shadow: none !important;
}

@media (max-width: 760px) {
  body:not(.landing-home) main[data-buyer-home] > .buyer-product-search.product-search-hero .product-search-hero-inner {
    width: min(100%, calc(100% - 20px)) !important;
  }

  body:not(.landing-home) main[data-buyer-home] > .buyer-product-search.product-search-hero .product-hero-search-control {
    min-height: 54px !important;
    padding: 0 118px 0 46px !important;
    background-position: 22px center, 28.25px center, center !important;
  }

  body:not(.landing-home) main[data-buyer-home] > .buyer-product-search.product-search-hero .product-hero-search-button {
    right: 8px !important;
    min-height: 36px !important;
    padding: 0 14px !important;
  }
}


/* Product detail lower visual restore */
.product-detail-showcase-grid {
  grid-template-columns: 1fr !important;
  max-width: min(1180px, calc(100% - 36px)) !important;
}

.product-detail-visual-card {
  position: relative;
  overflow: hidden;
  min-height: clamp(420px, 58vw, 760px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.product-detail-visual-card img {
  width: 100% !important;
  min-height: clamp(420px, 58vw, 760px) !important;
  aspect-ratio: 16 / 9 !important;
  object-fit: cover !important;
  object-position: center !important;
  border-bottom: 0 !important;
}

.product-detail-visual-card .product-detail-dimensions {
  display: block;
}

.product-detail-copy-card {
  min-height: 0;
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.product-detail-copy-card p {
  max-width: 860px;
  margin: 0 auto;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.85;
  white-space: pre-line;
}


.buyer-showcase-section {
  background: #fffaf1;
  border-top: 1px solid var(--line);
}

.buyer-showcase-panel {
  max-width: 1180px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
  box-shadow: 0 18px 42px rgba(37, 31, 21, 0.08);
  overflow: hidden;
}

.buyer-review-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.buyer-review-head h2 {
  margin: 4px 0 0;
  font-size: clamp(22px, 3vw, 34px);
}

.review-more-button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  white-space: nowrap;
}

.review-more-button::after {
  content: '›';
  margin-left: 6px;
}

[data-buyer-showcase][data-expanded="true"] .review-more-button::after {
  content: '⌃';
}

.buyer-showcase-list {
  display: grid;
}

.buyer-review-card {
  position: relative;
  display: grid;
  gap: 12px;
  min-height: 132px;
  padding: 18px 20px 22px;
  border-bottom: 1px solid var(--line);
}

.buyer-review-card:last-child {
  border-bottom: 0;
}

[data-buyer-showcase][data-expanded="false"] .buyer-review-card:nth-child(n+3) {
  display: none;
}

.buyer-review-main {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-right: 170px;
}

.buyer-review-tag {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: #f26422;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.buyer-review-photo {
  width: min(220px, 40vw);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f3ea;
}

.buyer-review-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.buyer-review-origin {
  position: absolute;
  right: 20px;
  bottom: 18px;
  max-width: 160px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-align: right;
}

@media (max-width: 680px) {
  .buyer-review-head,
  .buyer-review-card {
    padding-left: 16px;
    padding-right: 16px;
  }

  .buyer-review-main {
    padding-right: 0;
  }

  .buyer-review-origin {
    position: static;
    max-width: none;
    text-align: right;
  }
}

[data-submit-kind="order"][hidden] {
  display: none !important;
}

.product-commerce-panel .section-head p:last-child {
  max-width: 640px;
}


/* Product inquiry modal */
body.commerce-modal-open {
  overflow: hidden;
}

body.commerce-modal-open .service-floating-entry,
body.commerce-modal-open .smart-search-side-entry,
body.commerce-modal-open .ai-floating-entry {
  display: none !important;
}

.product-commerce-panel[hidden] {
  display: none !important;
}

.product-commerce-panel:not(.is-modal) {
  display: none !important;
}

.product-commerce-panel.is-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  align-content: center;
  gap: 14px;
  width: auto;
  max-height: 100svh;
  padding: clamp(18px, 3vw, 42px);
  overflow: auto;
  background: rgba(17, 18, 16, 0.58);
  backdrop-filter: blur(10px);
}

.product-commerce-panel.is-modal > .product-commerce-grid {
  width: min(980px, 100%);
  margin-inline: auto;
}

.product-commerce-panel.is-modal > .product-commerce-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  padding: clamp(54px, 5vw, 62px) clamp(22px, 3vw, 34px) clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf0;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
}

.product-commerce-panel.is-modal[data-mode="inquiry"] > .product-commerce-grid {
  width: min(780px, 100%);
}

.product-commerce-panel.is-modal .quote-form {
  box-shadow: none;
}

.product-commerce-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: #fff;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.product-commerce-close:hover,
.product-commerce-close:focus-visible {
  outline: none;
  color: #fff;
  background: var(--ink);
}

@media (max-width: 760px) {
  .product-commerce-panel.is-modal {
    align-content: start;
    padding: 12px;
  }

  .product-commerce-panel.is-modal .quote-form {
    grid-template-columns: 1fr;
  }
}


/* Product review stats and comments */
.buyer-showcase-section {
  background: #fff;
}

.buyer-review-head {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto auto;
  align-items: center;
}

.buyer-review-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(86px, 1fr));
  gap: 10px;
  min-width: min(420px, 48vw);
}

.buyer-review-summary div {
  padding: 10px 12px;
  border: 1px solid rgba(25, 24, 20, 0.1);
  border-radius: 8px;
  background: #fff;
  text-align: center;
}

.buyer-review-summary strong,
.buyer-review-summary span {
  display: block;
}

.buyer-review-summary strong {
  color: #191814;
  font-size: 24px;
  line-height: 1;
}

.buyer-review-summary span {
  margin-top: 5px;
  color: #65645e;
  font-size: 12px;
  font-weight: 800;
}

.buyer-review-card {
  min-height: 0;
  background: #fffdf8;
}

.buyer-review-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(120px, 180px);
  align-items: start;
  padding-right: 0;
}

.buyer-review-card:not(:has(.buyer-review-photo)) .buyer-review-main {
  grid-template-columns: 1fr;
}

.buyer-review-copy p {
  max-width: 760px;
  margin: 10px 0 0;
  color: #302f2a;
  font-size: 16px;
  line-height: 1.75;
}

.buyer-review-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  color: #65645e;
  font-size: 13px;
  font-weight: 850;
}

.buyer-review-stars {
  color: #f26422;
  font-size: 15px;
  letter-spacing: 0;
}

.buyer-review-card[data-review-tone="negative"] .buyer-review-stars {
  color: #8b8a84;
}

.buyer-review-photo {
  width: 100%;
}

@media (max-width: 760px) {
  .buyer-review-head {
    grid-template-columns: 1fr;
  }

  .buyer-review-summary {
    width: 100%;
    min-width: 0;
    grid-template-columns: repeat(3, 1fr);
  }

  .buyer-review-main {
    grid-template-columns: 1fr;
  }
}


.quote-section {
  align-items: start;
}

.quote-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.quote-contact-card {
  display: grid;
  gap: 4px;
  min-height: 108px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
  color: var(--ink);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.quote-contact-card:hover,
.quote-contact-card:focus-visible {
  outline: none;
  transform: translateY(-2px);
  border-color: rgba(194, 79, 56, 0.3);
  box-shadow: 0 12px 24px rgba(25, 24, 20, 0.08);
}

.quote-contact-card span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.quote-contact-card strong {
  font-size: 18px;
  line-height: 1.1;
}

.quote-contact-card small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.quote-contact-card-primary {
  background: var(--ink);
  color: var(--surface);
  border-color: var(--ink);
}

.quote-contact-card-primary span,
.quote-contact-card-primary small {
  color: rgba(255, 250, 240, 0.72);
}

.quote-contact-card-primary strong {
  color: var(--surface);
}

.quote-form {
  align-self: start;
}

.quote-form[hidden] {
  display: none;
}

.quote-contact-dialog {
  width: min(520px, calc(100vw - 32px));
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  color: var(--ink);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.quote-contact-dialog::backdrop { background: rgba(25, 24, 20, 0.45); }
.quote-contact-dialog h2 { margin: 0 0 10px; }
.quote-contact-dialog p { color: var(--muted); }
.quote-contact-dialog .dialog-close { float: right; }
.quote-contact-dialog-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 20px; }
.quote-inline-direct-contact { padding: 34px; background: var(--surface, #fffaf1); border: 1px solid var(--line, #ddd); }
.quote-inline-contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: center; margin-top: 20px; }
.quote-contact-grid,
.quote-inline-contact-grid { grid-template-columns: 1fr; }
.quote-contact-grid { gap: 12px; }
.quote-inline-contact-grid { gap: 12px; margin-top: 0; }
.quote-inline-wechat { display: grid; justify-items: center; gap: 8px; padding: 12px; border: 1px solid var(--line, #ddd); }
.quote-inline-wechat img { width: 150px; height: 150px; object-fit: contain; }
.quote-wechat-modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; gap: 14px; padding: 24px; background: rgba(25,24,20,.62); }
.quote-wechat-modal[hidden] { display: none; }
.quote-wechat-modal img { width: min(78vw, 320px); height: min(78vw, 320px); padding: 14px; object-fit: contain; background: #fff; border-radius: 8px; }
.quote-wechat-modal strong { color: #fff; }
.quote-wechat-modal-close { position: absolute; top: 22px; right: 28px; border: 0; color: #fff; background: transparent; font-size: 36px; cursor: pointer; }

main[data-page="quote"] {
  position: relative;
  min-height: calc(100vh - 90px);
  background:
    linear-gradient(90deg, rgba(255, 250, 240, 0.92) 0%, rgba(255, 250, 240, 0.78) 42%, rgba(255, 250, 240, 0.36) 100%),
    url("assets/quote-bg.jpg") center / cover no-repeat;
}

main[data-page="quote"] .quote-section {
  position: relative;
  z-index: 1;
}

main[data-page="quote"] .quote-form {
  padding: 4px 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

/* Quote / instant contact switcher */
.consultation-board {
  width: min(100%, 640px);
  margin: 0 auto;
  padding: 18px 18px 22px;
  border: 1px solid rgba(25, 24, 20, .12);
  border-radius: 18px;
  background: rgba(255, 250, 240, .94);
  box-shadow: 0 24px 60px rgba(25, 24, 20, .12);
  backdrop-filter: blur(16px);
}
.consultation-tabs {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 60px;
  gap: 6px;
  margin: 0 0 18px;
  padding: 6px;
  border: 1px solid rgba(25, 24, 20, .1);
  border-radius: 999px;
  background: rgba(245, 241, 232, .92);
}
.consultation-tab {
  flex: 1 1 0;
  min-width: 0;
  min-height: 52px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  color: var(--ink, #191814);
  background: transparent;
  font: inherit;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: .02em;
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}
.consultation-tab:hover { color: var(--ink, #191814); }
.consultation-tab[aria-selected="false"] {
  color: var(--ink, #191814);
  background: rgba(255, 250, 240, .72);
}
.consultation-tab.is-active,
.consultation-tab[aria-selected="true"] {
  color: #fffaf0;
  background: #1f3f36;
  box-shadow: 0 8px 18px rgba(31, 63, 54, .22);
}
.consultation-tab:focus-visible,
.instant-contact-card:focus-visible { outline: 3px solid rgba(214, 91, 63, .45); outline-offset: 3px; }
main[data-page="quote"] .quote-simple-section {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
main[data-page="quote"] .quote-simple-section .consultation-tabs {
  position: relative;
  z-index: 5;
  width: 100%;
  flex: 0 0 auto;
  pointer-events: auto;
}
main[data-page="quote"] .consultation-stage {
  width: 100%;
}
[data-consultation-panel="form"],
[data-consultation-panel="instant"] { display: block; width: 100%; }
[data-consultation-panel="form"][hidden],
[data-consultation-panel="instant"][hidden] { display: none !important; }
.instant-contact-panel {
  padding: 8px 2px 4px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.instant-contact-intro { max-width: 640px; margin-bottom: 22px; }
.instant-contact-intro .eyebrow { margin: 0 0 8px; color: var(--moss, #355b50); font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.instant-contact-intro h2 { margin: 0 0 8px; font-size: clamp(24px, 3.4vw, 34px); line-height: 1.2; }
.instant-contact-intro p:last-child { margin: 0; color: var(--muted, #666); line-height: 1.7; }
.instant-contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.instant-contact-card {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 10px;
  min-height: 196px;
  padding: 22px 20px 18px;
  border: 1px solid rgba(25, 24, 20, .1);
  border-radius: 14px;
  color: var(--ink, #191814);
  background: #fffdf8;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}
.instant-contact-card:hover,
.instant-contact-card:focus-visible {
  transform: translateY(-3px);
  border-color: #1f3f36;
  background: #fff;
  box-shadow: 0 16px 28px rgba(25, 24, 20, .1);
}
.instant-contact-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  color: #fffaf0;
  background: #1f3f36;
}
.instant-contact-icon svg { width: 22px; height: 22px; display: block; }
.instant-contact-card strong { font-size: 20px; line-height: 1.2; }
.instant-contact-card small { color: var(--muted, #666); line-height: 1.55; }
.instant-contact-action {
  margin-top: auto;
  color: #1f3f36;
  font-size: 13px;
  font-weight: 800;
}
.instant-contact-status { display: block; min-height: 1.4em; margin-top: 16px; color: var(--muted, #666); }
@media (max-width: 980px) {
  main[data-page="quote"] .quote-simple-section {
    justify-content: center;
  }
  .instant-contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .consultation-board { padding: 14px 12px 16px; border-radius: 14px; }
  .consultation-tabs { width: 100%; }
  .consultation-tab { padding-inline: 10px; font-size: 15px; }
  .instant-contact-grid { grid-template-columns: 1fr; }
  .instant-contact-card { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .consultation-tab,
  .instant-contact-card { transition: none; }
}

/* Service page customer-facing layout */
.service-page-v2 {
  background: #fff;
}

.service-hero-v2 {
  position: relative;
  min-height: clamp(560px, 78svh, 760px);
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(240px, 0.38fr);
  align-items: end;
  gap: clamp(24px, 4vw, 64px);
  padding: clamp(96px, 10vw, 150px) clamp(22px, 5vw, 76px) clamp(48px, 6vw, 82px);
  color: #fff;
  background-image: linear-gradient(90deg, rgba(12, 18, 16, 0.74), rgba(12, 18, 16, 0.35) 52%, rgba(12, 18, 16, 0.14)), var(--service-hero-bg);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.service-hero-v2-copy {
  max-width: 880px;
}

.service-hero-v2 .eyebrow,
.service-hero-v2 .lead {
  color: rgba(255, 255, 255, 0.82);
}

.service-hero-v2 h1 {
  max-width: 860px;
  margin: 10px 0 18px;
  color: #fff;
  font-size: clamp(44px, 6vw, 86px);
  line-height: 0.98;
}

.service-hero-v2 .lead {
  max-width: 660px;
  font-size: clamp(17px, 1.45vw, 22px);
}

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

.service-hero-v2-panel {
  align-self: end;
  max-width: 360px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.service-hero-v2-panel span,
.service-card-grid-v2 span,
.service-steps-v2 span,
.service-price-list-v2 span {
  display: block;
  color: #c24f38;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.service-hero-v2-panel strong {
  display: block;
  margin-top: 10px;
  color: #fff;
  font-size: 20px;
  line-height: 1.25;
}

.service-intro-v2 .section-head {
  max-width: 980px;
}

.service-image-strip {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 16px;
  margin-top: 28px;
}

.service-image-strip figure,
.service-card-grid-v2 article {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf0;
  box-shadow: 0 14px 34px rgba(25, 24, 20, 0.08);
}

.service-image-strip img {
  width: 100%;
  height: clamp(220px, 24vw, 360px);
  object-fit: cover;
}

.service-image-strip figcaption {
  padding: 14px 16px;
  color: #191814;
  font-weight: 900;
}

.service-offer-v2 {
  align-items: start;
  background: #eef2ec;
}

.service-offer-v2 .service-offer-intro {
  position: sticky;
  top: 96px;
  max-width: 520px;
}

.service-offer-v2 h2,
.service-process-v2 h2,
.service-price-v2 h2 {
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.02;
}

.service-card-grid-v2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.service-card-grid-v2 article {
  display: grid;
  grid-template-rows: auto auto auto 1fr;
}

.service-card-grid-v2 img {
  width: 100%;
  aspect-ratio: 1.45;
  object-fit: cover;
  background: #f7f3ea;
  border-bottom: 1px solid var(--line);
}

.service-card-grid-v2 span,
.service-card-grid-v2 h3,
.service-card-grid-v2 p {
  margin-left: 18px;
  margin-right: 18px;
}

.service-card-grid-v2 span {
  margin-top: 18px;
}

.service-card-grid-v2 h3 {
  margin-top: 10px;
  margin-bottom: 8px;
  font-size: 24px;
}

.service-card-grid-v2 p,
.service-steps-v2 p,
.service-price-copy p {
  color: var(--muted);
}

.service-card-grid-v2 p {
  margin-bottom: 22px;
}

.service-steps-v2 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
}

.service-steps-v2 article {
  min-height: 220px;
  padding: 24px;
  background: #fffaf0;
}

.service-steps-v2 h3 {
  margin: 12px 0 8px;
  font-size: 22px;
}

.service-price-v2 {
  display: grid;
  grid-template-columns: minmax(280px, 0.65fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  background: #191814;
  color: #fff;
}

.service-price-v2 h2,
.service-price-v2 p {
  color: #fff;
}

.service-price-copy p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.72);
}

.service-price-list-v2 {
  display: grid;
  gap: 12px;
}

.service-price-list-v2 article {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  align-items: center;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.service-price-list-v2 strong {
  color: #fff;
  font-size: clamp(18px, 2vw, 26px);
}

@media (max-width: 980px) {
  .service-hero-v2,
  .service-band,
  .service-price-v2,
  .service-image-strip,
  .service-card-grid-v2,
  .service-steps-v2 {
    grid-template-columns: 1fr;
  }

  .service-offer-v2 .service-offer-intro {
    position: static;
  }
}

@media (max-width: 680px) {
  .service-hero-v2 {
    min-height: 620px;
    padding-inline: 18px;
  }

  .service-hero-v2 h1 {
    font-size: clamp(38px, 12vw, 58px);
  }

  .service-price-list-v2 article {
    grid-template-columns: 1fr;
  }
}

/* Final override: centered AI chat-style entry on product pages. */
.smart-search-side-entry {
  left: 50% !important;
  right: auto !important;
  top: auto !important;
  bottom: 22px !important;
  transform: translateX(-50%) !important;
  width: min(760px, calc(100vw - 120px)) !important;
  min-height: 88px !important;
  padding: 14px 20px !important;
  display: grid !important;
  grid-template-columns: 44px 1fr !important;
  align-items: center !important;
  gap: 14px !important;
  border-radius: 22px !important;
  border: 1px solid rgba(25, 24, 20, 0.14) !important;
  background: linear-gradient(135deg, rgba(25, 24, 20, 0.98) 0%, rgba(53, 91, 80, 0.98) 100%) !important;
  box-shadow: 0 24px 60px rgba(25, 24, 20, 0.28) !important;
  text-decoration: none !important;
  z-index: 999 !important;
}

.smart-search-side-entry::before {
  content: "";
  position: absolute;
  inset: 12px auto 12px 14px;
  width: 3px;
  border-radius: 999px;
  background: #f3b061;
}

.smart-search-side-entry span {
  width: 44px !important;
  height: 44px !important;
  background: #f3d9ad !important;
  color: #191814 !important;
  font-size: 12px !important;
}

.smart-search-side-entry strong {
  writing-mode: horizontal-tb !important;
  text-align: left !important;
  font-size: 18px !important;
  line-height: 1.15 !important;
}

.smart-search-side-entry:hover,
.smart-search-side-entry:focus-visible {
  width: min(800px, calc(100vw - 100px)) !important;
  transform: translateX(-50%) translateY(-2px) !important;
}

@media (max-width: 680px) {
  .smart-search-side-entry {
    bottom: 12px !important;
    width: calc(100vw - 24px) !important;
    min-height: 76px !important;
    padding: 12px 14px !important;
    grid-template-columns: 36px 1fr !important;
    gap: 12px !important;
    border-radius: 18px !important;
  }

  .smart-search-side-entry span {
    width: 36px !important;
    height: 36px !important;
    font-size: 11px !important;
  }

  .smart-search-side-entry strong {
    font-size: 16px !important;
  }
}

/* Move the generated, non-transactional product heat signal to the card header area. */
.product-body { position: relative; }
.product-card .sales-demo-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  max-width: 138px;
  margin: 0;
  padding: 4px 0;
  color: #2f5148;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
  white-space: nowrap;
}
.product-card .sales-demo-badge .sales-demo-label,
.product-card .sales-demo-badge .sales-demo-disclaimer {
  display: none !important;
}
.product-card .sales-demo-badge span {
  font-size: 13px;
  font-weight: 900;
}
.product-card .sales-demo-badge strong {
  color: #1f3f36;
  font-size: 22px;
  font-weight: 950;
  line-height: 1;
}
.product-card .product-type,
.product-card .product-card-meta {
  padding-right: 150px;
}
@media (max-width: 680px) {
  .product-card .sales-demo-badge {
    position: static;
    justify-self: start;
    margin: 2px 0 4px;
  }
  .product-card .product-type,
  .product-card .product-card-meta {
    padding-right: 0;
  }
}


/* Final visible floating entries: AI centered, service on the side. */
.smart-search-side-entry {
  left: 50% !important;
  right: auto !important;
  top: 52% !important;
  bottom: auto !important;
  transform: translate(-50%, -50%) !important;
  width: min(760px, calc(100vw - 160px)) !important;
  min-height: 112px !important;
  padding: 18px 22px !important;
  display: grid !important;
  grid-template-columns: 48px 1fr !important;
  align-items: center !important;
  gap: 16px !important;
  border-radius: 24px !important;
  border: 1px solid rgba(25, 24, 20, 0.14) !important;
  background: linear-gradient(135deg, rgba(25, 24, 20, 0.98) 0%, rgba(53, 91, 80, 0.98) 100%) !important;
  box-shadow: 0 28px 72px rgba(25, 24, 20, 0.3) !important;
  text-decoration: none !important;
  z-index: 999 !important;
}

.smart-search-side-entry span {
  width: 48px !important;
  height: 48px !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 999px !important;
  background: #f3d9ad !important;
  color: #191814 !important;
  font-size: 13px !important;
  font-weight: 950 !important;
}

.smart-search-side-entry strong {
  writing-mode: horizontal-tb !important;
  color: #fffaf0 !important;
  text-align: left !important;
  font-size: 20px !important;
  line-height: 1.15 !important;
  letter-spacing: 0 !important;
}

.smart-search-side-entry:hover,
.smart-search-side-entry:focus-visible {
  transform: translate(-50%, -50%) translateY(-2px) !important;
  width: min(800px, calc(100vw - 140px)) !important;
}

.service-floating-entry {
  left: 0 !important;
  right: auto !important;
  top: 64% !important;
  bottom: auto !important;
  transform: translateY(-50%) !important;
  z-index: 998 !important;
  display: flex !important;
}

@media (max-width: 680px) {
  .smart-search-side-entry {
    top: auto !important;
    bottom: 18px !important;
    width: calc(100vw - 24px) !important;
    min-height: 84px !important;
    padding: 13px 14px !important;
    grid-template-columns: 38px 1fr !important;
    gap: 12px !important;
    border-radius: 18px !important;
    transform: translateX(-50%) !important;
  }

  .smart-search-side-entry:hover,
  .smart-search-side-entry:focus-visible {
    width: calc(100vw - 24px) !important;
    transform: translateX(-50%) translateY(-2px) !important;
  }

  .smart-search-side-entry span {
    width: 38px !important;
    height: 38px !important;
    font-size: 11px !important;
  }

  .smart-search-side-entry strong {
    font-size: 16px !important;
  }

  .service-floating-entry {
    top: auto !important;
    bottom: 112px !important;
    transform: none !important;
  }
}

/* Hide the floating entries when the products page is showing case studies. */
body.products-showcase-view .smart-search-side-entry {
  display: none !important;
}

/* Final right-rail floating entries for product pages. */
.smart-search-side-entry {
  position: fixed !important;
  left: auto !important;
  right: 0 !important;
  top: 50% !important;
  bottom: auto !important;
  transform: translateY(-50%) !important;
  width: 96px !important;
  min-height: 132px !important;
  padding: 12px 10px !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  place-items: center !important;
  gap: 8px !important;
  border-radius: 18px 0 0 18px !important;
  border: 1px solid rgba(25, 24, 20, 0.14) !important;
  border-right: 0 !important;
  background: linear-gradient(180deg, #191814 0%, #355b50 100%) !important;
  box-shadow: 0 18px 42px rgba(25, 24, 20, 0.24) !important;
  text-decoration: none !important;
  z-index: 999 !important;
}

.smart-search-side-entry::before {
  content: none !important;
}

.smart-search-side-entry span {
  width: 42px !important;
  height: 42px !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 999px !important;
  background: #f3d9ad !important;
  color: #191814 !important;
  font-size: 12px !important;
  font-weight: 950 !important;
}

.smart-search-side-entry strong {
  writing-mode: horizontal-tb !important;
  color: #fffaf0 !important;
  text-align: center !important;
  font-size: 14px !important;
  line-height: 1.15 !important;
  letter-spacing: 0 !important;
}

.smart-search-side-entry:hover,
.smart-search-side-entry:focus-visible {
  width: 108px !important;
  transform: translateY(-50%) translateX(-4px) !important;
}

.service-floating-entry {
  position: fixed !important;
  left: auto !important;
  right: 0 !important;
  top: calc(50% + 150px) !important;
  bottom: auto !important;
  transform: translateY(-50%) !important;
  width: 96px !important;
  min-height: 102px !important;
  border-radius: 18px 0 0 18px !important;
  border-right: 0 !important;
  z-index: 998 !important;
  display: grid !important;
  place-items: center !important;
  gap: 5px !important;
}

.service-floating-entry:hover,
.service-floating-entry:focus-visible {
  transform: translateY(-50%) translateX(-4px) !important;
}

@media (max-width: 680px) {
  .smart-search-side-entry {
    top: auto !important;
    right: 12px !important;
    bottom: 88px !important;
    width: 78px !important;
    min-height: 78px !important;
    padding: 9px !important;
    border-radius: 18px !important;
    border-right: 1px solid rgba(25, 24, 20, 0.14) !important;
    transform: none !important;
  }

  .smart-search-side-entry:hover,
  .smart-search-side-entry:focus-visible {
    width: 78px !important;
    transform: translateY(-2px) !important;
  }

  .smart-search-side-entry span {
    width: 34px !important;
    height: 34px !important;
    font-size: 11px !important;
  }

  .smart-search-side-entry strong {
    font-size: 12px !important;
  }

  .service-floating-entry {
    top: auto !important;
    right: 12px !important;
    bottom: 12px !important;
    width: 78px !important;
    min-height: 68px !important;
    border-radius: 18px !important;
    border-right: 1px solid rgba(25, 24, 20, 0.14) !important;
    transform: none !important;
  }

  .service-floating-entry:hover,
  .service-floating-entry:focus-visible {
    transform: translateY(-2px) !important;
  }
}
.product-card-meta .product-model-chip {
  color: #1f3f36;
  border-color: rgba(53, 91, 80, 0.24);
  background: rgba(53, 91, 80, 0.08);
  font-weight: 950;
}

/* Final customer case showcase layout */
body.products-showcase-view main[data-page="products"] .product-search-hero,
body.products-showcase-view main[data-page="products"] [data-products-catalog] {
  display: none !important;
}

body.products-showcase-view main[data-page="products"] [data-case-showcase] {
  display: block !important;
}

.case-showcase-section {
  background: #f7fafc;
  padding-top: clamp(42px, 5vw, 72px);
}

.case-showcase-head,
.case-showcase-grid,
.case-photo-panel {
  max-width: 1160px;
  margin-inline: auto;
}

.case-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(240px, 1fr));
  gap: 24px;
  margin-bottom: 34px;
}

.case-card {
  overflow: hidden;
  border: 1px solid rgba(26, 61, 143, 0.16);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(23, 38, 64, 0.10);
}

.case-card img {
  display: block;
  width: 100%;
  height: clamp(180px, 16vw, 230px);
  object-fit: cover;
}

.case-card-body {
  display: grid;
  gap: 12px;
  padding: 20px 22px 24px;
}

.case-card-body h3 {
  margin: 0;
  color: #141c2f;
  font-size: clamp(20px, 1.7vw, 25px);
  line-height: 1.2;
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.case-tags span {
  padding: 6px 9px;
  border-radius: 8px;
  background: #eef5ff;
  color: #1c3f91;
  font-size: 12px;
  font-weight: 850;
}

.case-card-body p {
  margin: 0;
  color: #4f5b70;
  font-size: 15px;
  line-height: 1.55;
}

.case-photo-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
  box-shadow: 0 14px 34px rgba(37, 31, 21, 0.07);
  overflow: hidden;
}

.product-photo-showcase .buyer-showcase-panel,
.case-photo-panel {
  max-width: 1160px;
}

.buyer-photo-card .buyer-review-main {
  display: block;
  padding-right: 170px;
}

.buyer-photo-card .buyer-review-photo {
  width: min(260px, 42vw);
}

.buyer-photo-card .buyer-review-photo img {
  aspect-ratio: 4 / 3;
}

[data-buyer-showcase][data-expanded="false"] .buyer-photo-card:nth-child(n+3),
[data-case-showcase][data-expanded="false"] .buyer-photo-card:nth-child(n+3) {
  display: none;
}

[data-case-showcase][data-expanded="true"] .review-more-button::after {
  content: '⌃';
}

@media (max-width: 980px) {
  .case-showcase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  body.products-showcase-view .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 12px;
    padding: 10px 14px;
  }

  body.products-showcase-view .nav {
    grid-column: 1 / -1;
    grid-row: 2;
    max-width: 100%;
    overflow-x: auto;
    padding-block: 4px;
    white-space: nowrap;
  }

  body.products-showcase-view .admin-login-link,
  body.products-showcase-view .icon-link {
    display: none;
  }

  body.products-showcase-view .language-selector {
    min-inline-size: 0;
    width: 168px;
  }

  .case-showcase-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .case-card img {
    height: 210px;
  }

  .case-card-body {
    padding: 18px;
  }

  .buyer-photo-card .buyer-review-main {
    padding-right: 0;
  }

  .buyer-photo-card .buyer-review-photo {
    width: min(260px, 100%);
  }
}

/* Final product filter visibility guard */
.product-grid .product-card[hidden],
.product-grid .product-card.is-filtered-out {
  display: none !important;
}



/* Product detail ecommerce inquiry refinements */
main[data-product-detail-page] .detail-page {
  align-items: start;
  gap: clamp(24px, 4vw, 56px);
  padding-top: clamp(28px, 5vw, 68px);
  padding-bottom: clamp(34px, 6vw, 78px);
}

main[data-product-detail-page] .detail-copy h1 {
  max-width: 760px;
  margin: 8px 0 14px;
  font-size: clamp(32px, 4.2vw, 62px);
  line-height: 1.04;
}

main[data-product-detail-page] .detail-copy .lead {
  max-width: 720px;
  font-size: clamp(16px, 1.55vw, 21px);
  line-height: 1.55;
}

main[data-product-detail-page] .detail-copy dl {
  margin: 20px 0;
}

main[data-product-detail-page] .hero-actions {
  margin-top: 18px;
}

.product-contact-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.product-commerce-panel[data-mode="order"] .product-contact-options {
  display: none;
}

.product-contact-card {
  position: relative;
  min-width: 0;
  min-height: 88px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 18px;
  grid-template-rows: auto auto;
  align-content: center;
  align-items: center;
  column-gap: 12px;
  padding: 14px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  font: inherit;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.product-contact-card[hidden] {
  display: none !important;
}

.product-contact-card::before {
  content: "@";
  grid-column: 1;
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  color: #fff;
  background: #495c44;
  font-size: 14px;
  font-weight: 900;
}

.product-contact-card::after {
  content: "→";
  grid-column: 3;
  grid-row: 1 / 3;
  color: #75766f;
  font-size: 18px;
  line-height: 1;
}

.product-contact-card[data-channel="wecom"]::before { content: "企"; background: #2f6f4e; }
.product-contact-card[data-channel="wechat"]::before { content: "微"; background: #4e7d42; }
.product-contact-card[data-channel="whatsapp"]::before { content: "WA"; background: #28724f; font-size: 12px; }
.product-contact-card[data-channel="facebook"]::before { content: "f"; background: #315b8c; font-size: 22px; }
.product-contact-card[data-channel="email"]::before { content: "@"; background: #655f54; }

.product-contact-card span,
.product-contact-card strong,
.product-contact-card small {
  grid-column: 2;
  min-width: 0;
  overflow-wrap: anywhere;
}

.product-contact-card span {
  grid-row: 1;
  align-self: end;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.product-contact-card strong {
  display: none;
}

.product-contact-card small {
  grid-row: 2;
  align-self: start;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.product-contact-card:hover,
.product-contact-card:focus-visible {
  outline: none;
  transform: translateY(-1px);
  border-color: #899481;
  box-shadow: 0 10px 24px rgba(44, 39, 31, 0.11);
}

.product-contact-card:focus-visible {
  box-shadow: 0 0 0 3px rgba(73, 92, 68, 0.2), 0 10px 24px rgba(44, 39, 31, 0.11);
}

.product-contact-card.is-unavailable {
  cursor: not-allowed;
  opacity: 0.45;
  transform: none;
  box-shadow: none;
}

@media (max-width: 760px) {
  main[data-product-detail-page] .detail-copy h1 {
    font-size: clamp(28px, 9vw, 42px);
  }

  .product-contact-options {
    grid-template-columns: 1fr;
  }

  .product-commerce-panel.is-modal > .product-commerce-grid {
    padding: 54px 16px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-contact-card { transition: none; }
}

/* Final Taobao-inspired product detail layout */
main[data-product-detail-page] {
  background: #fff;
}

main[data-product-detail-page] .product-shop-detail {
  max-width: 1640px;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 62px) clamp(18px, 5vw, 76px) clamp(42px, 5vw, 72px);
  display: grid;
  grid-template-columns: minmax(520px, 0.58fr) minmax(420px, 0.42fr);
  gap: clamp(36px, 5vw, 86px);
  align-items: start;
}

main[data-product-detail-page] .product-gallery {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 14px 18px;
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  box-shadow: none;
}

.product-gallery-thumbs {
  display: grid;
  gap: 12px;
  align-content: start;
}

.product-thumb {
  width: 76px;
  height: 76px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  background: #f7f3ea;
  cursor: pointer;
}

.product-thumb.is-active {
  border-color: #ff5a1f;
}

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

.product-gallery-main {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: #f7f3ea;
  box-shadow: 0 16px 38px rgba(25, 24, 20, 0.08);
}

main[data-product-detail-page] .product-gallery-main > img {
  display: block;
  width: 100%;
  height: clamp(460px, 39vw, 650px);
  min-height: 0 !important;
  object-fit: cover;
  object-position: center;
  padding: 0;
  background: #f7f3ea;
}

main[data-product-detail-page] .product-gallery-main .dimension-overlay {
  display: none !important;
}

.product-gallery-tabs,
.gallery-spec-panel {
  display: none !important;
}

.product-gallery-tabs {
  grid-column: 2;
  justify-self: center;
  display: none;
  gap: 0;
  padding: 4px;
  border: 1px solid rgba(25, 24, 20, 0.08);
  border-radius: 999px;
  background: rgba(245, 242, 236, 0.92);
  box-shadow: 0 10px 26px rgba(25, 24, 20, 0.08);
}

.product-gallery-tabs button {
  min-width: 58px;
  min-height: 34px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #3c3831;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  cursor: pointer;
}

.product-gallery-tabs button.is-active,
.product-gallery-tabs button:hover,
.product-gallery-tabs button:focus-visible {
  background: #191814;
  color: #fff;
  box-shadow: 0 6px 16px rgba(25, 24, 20, 0.16);
}

.product-gallery-tabs button:focus-visible {
  outline: 2px solid #ff7a1a;
  outline-offset: 2px;
}

main[data-product-detail-page] .product-buy-box {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 6px 0 96px;
}

.product-store-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  color: #191814;
}

.product-store-row .store-avatar {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #191814;
  color: #fffaf0;
  font-size: 12px;
  font-weight: 950;
}

.product-store-row strong,
.product-store-row small {
  display: block;
}

.product-store-row small {
  color: #77736b;
  font-size: 12px;
}

.product-store-row a {
  margin-left: auto;
  padding: 9px 14px;
  border: 1px solid #e7e1d7;
  border-radius: 999px;
  color: #191814;
  font-size: 13px;
  font-weight: 850;
}

main[data-product-detail-page] .product-buy-box .eyebrow {
  margin: 4px 0 -6px;
  color: #ff4d1c;
}

main[data-product-detail-page] .product-buy-box h1 {
  max-width: 760px;
  margin: 0;
  color: #191814;
  font-size: clamp(28px, 2.9vw, 44px);
  line-height: 1.16;
  font-weight: 850;
}

main[data-product-detail-page] .product-buy-box .lead {
  max-width: 680px;
  margin: 0;
  color: #4f4b45;
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.65;
}

.product-price-campaign {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  margin-top: 2px;
  padding: 13px 20px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(90deg, #f43f5e 0%, #ff4d1c 100%);
}

.product-price-campaign span,
.product-price-campaign em {
  display: block;
  font-style: normal;
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
  font-weight: 850;
}

.product-price-campaign strong {
  display: block;
  margin-top: 2px;
  color: #fff;
  font-size: clamp(28px, 2.8vw, 40px);
  line-height: 1;
  font-weight: 950;
}

.product-service-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding: 8px 0 2px;
  color: #2f5148;
  border-bottom: 1px solid #eee8dc;
}

.product-service-row span {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  font-weight: 760;
}

.product-service-row span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #16a36a;
}

main[data-product-detail-page] [data-detail-sales-demo] {
  color: #ff4d1c;
  font-weight: 900;
}

.product-option-block {
  display: grid;
  gap: 18px;
  padding-top: 4px;
}

.product-option-group {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 12px;
  align-items: start;
}

.product-option-group > strong {
  padding-top: 11px;
  color: #77736b;
  font-size: 14px;
  font-weight: 760;
}

.product-option-group > div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.parameter-control-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.parameter-control-row select {
  min-width: 180px;
  min-height: 42px;
  padding: 8px 32px 8px 12px;
  border: 1px solid #ded8cf;
  border-radius: 8px;
  background: #fff;
  color: #191814;
  font: inherit;
  font-weight: 700;
}

.parameter-preview {
  display: inline-flex;
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  max-width: 64px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid #e4ddd2;
  border-radius: 6px;
  background: #faf8f4;
  color: #77736b;
  font-size: 10px;
  line-height: 1.1;
  text-align: center;
}

.parameter-preview-color {
  background: var(--parameter-color, #d7d2c8);
  border-color: rgba(25, 24, 20, .18);
}

.parameter-preview-size::before {
  content: '';
  width: 34px;
  height: 22px;
  border: 2px solid #9c968d;
  border-radius: 2px;
}

.parameter-preview-image { object-fit: cover; }

.cart-item-parameter-preview { display: inline-flex; align-items: center; }
.cart-item-parameter-preview .parameter-preview { flex-basis: 48px; width: 48px; height: 48px; }

.parameter-choice {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid #ded8cf;
  border-radius: 8px;
  background: #fff;
  color: #191814;
  cursor: pointer;
  font: inherit;
  font-weight: 760;
  text-align: left;
}

.parameter-choice.is-selected {
  color: #ff4d1c;
  border-color: #ff4d1c;
  background: #fff7f2;
}

.parameter-choice .parameter-preview {
  flex-basis: 30px;
  width: 30px;
  height: 30px;
  border-radius: 4px;
}

.parameter-choice .parameter-preview-size::before {
  width: 20px;
  height: 14px;
}

.parameter-choice small {
  color: #77736b;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.product-option-group button {
  min-height: 42px;
  padding: 8px 14px;
  border: 1px solid #ded8cf;
  border-radius: 8px;
  background: #fff;
  color: #191814;
  cursor: default;
  font-weight: 760;
}

.product-option-group button.is-selected {
  color: #ff4d1c;
  border-color: #ff4d1c;
  background: #fff7f2;
}

main[data-product-detail-page] .product-buy-box dl {
  display: grid;
  gap: 0;
  margin: 2px 0 0;
  border-top: 1px solid #eee8dc;
  border-bottom: 1px solid #eee8dc;
}

main[data-product-detail-page] .product-buy-box dl div {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid #f0ebe3;
}

main[data-product-detail-page] .product-buy-box dl div:last-child {
  border-bottom: 0;
}

main[data-product-detail-page] .product-buy-box dt {
  color: #77736b;
  font-size: 14px;
}

main[data-product-detail-page] .product-buy-box dd {
  color: #191814;
  text-align: left;
  font-weight: 850;
}

main[data-product-detail-page] .product-sticky-actions {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: 0.9fr 1.25fr 88px;
  gap: 0;
  margin: 0;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 -6px 30px rgba(25, 24, 20, 0.10);
  backdrop-filter: blur(14px);
}

main[data-product-detail-page] .product-sticky-actions .button {
  min-height: 54px;
  border-radius: 0;
  border: 0;
  color: #fff;
  font-size: 16px;
  font-weight: 950;
}

main[data-product-detail-page] .product-sticky-actions .button:first-child {
  border-radius: 12px 0 0 12px;
  background: #ffc107;
  color: #191814;
}

main[data-product-detail-page] .product-sticky-actions .button:nth-child(2) {
  background: linear-gradient(90deg, #ff7a00 0%, #ff4d1c 100%);
}

main[data-product-detail-page] .product-sticky-actions .button:last-child {
  border-left: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 0 12px 12px 0;
  background: #fff;
  color: #191814;
  font-size: 13px;
}

main[data-product-detail-page] .product-buy-box .payment-note {
  margin: -4px 0 0;
  color: #77736b;
  font-size: 13px;
}

main[data-product-detail-page] > .showcase-section {
  border-top: 1px solid #eee8dc;
}

@media (max-width: 1100px) {
  main[data-product-detail-page] .product-shop-detail {
    grid-template-columns: 1fr;
  }

  main[data-product-detail-page] .product-buy-box {
    padding-bottom: 112px;
  }
}

@media (max-width: 680px) {
  main[data-product-detail-page] .product-shop-detail {
    padding: 18px 14px 36px;
    gap: 24px;
  }

  main[data-product-detail-page] .product-gallery {
    grid-template-columns: 1fr;
  }

  .product-gallery-thumbs {
    order: 2;
    display: flex;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .product-gallery-tabs {
    grid-column: 1;
    order: 3;
  }

  main[data-product-detail-page] .product-gallery-main > img {
    height: min(92vw, 420px);
  }

  .product-price-campaign,
  .product-option-group,
  main[data-product-detail-page] .product-buy-box dl div {
    grid-template-columns: 1fr;
  }

  main[data-product-detail-page] .product-sticky-actions {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 30;
    grid-template-columns: 1fr 1fr 72px;
    padding: 10px;
  }

  main[data-product-detail-page] .product-sticky-actions .button {
    min-height: 48px;
    padding-inline: 8px;
    font-size: 14px;
  }
}

/* Full-service online contact cards */
.service-online-contact {
  background: #fffaf0;
}

.service-online-contact .section-head {
  max-width: 820px;
}

.service-contact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  max-width: 1160px;
  margin: 28px auto 0;
}

.service-contact-card {
  min-height: 132px;
  display: grid;
  align-content: center;
  gap: 7px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(25, 24, 20, 0.08);
}

.service-contact-card-primary {
  color: #fffaf0;
  border-color: #191814;
  background: #191814;
}

.service-contact-card span {
  color: #c24f38;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.service-contact-card-primary span,
.service-contact-card-primary small {
  color: rgba(255, 250, 240, 0.72);
}

.service-contact-card strong {
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.12;
}

.service-contact-card small {
  color: var(--muted);
  line-height: 1.35;
  word-break: break-word;
}

.service-contact-card:hover,
.service-contact-card:focus-visible {
  outline: none;
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(25, 24, 20, 0.13);
}

@media (max-width: 980px) {
  .service-contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .service-contact-grid {
    grid-template-columns: 1fr;
  }
}


/* Product detail Taobao-style right column layout */
@media (min-width: 1101px) {
  main[data-product-detail-page] .product-shop-detail {
    grid-template-columns: minmax(540px, 0.58fr) minmax(460px, 0.42fr);
    gap: clamp(34px, 4.6vw, 76px);
    align-items: start;
  }

  main[data-product-detail-page] .product-buy-box {
    position: relative;
    top: auto;
    align-self: start;
    height: auto;
    max-height: none;
    overflow: visible;
    z-index: 30;
    padding: 20px 20px 24px;
    border: 1px solid #e7e1d7;
    border-radius: 12px;
    background: #fff;
    box-shadow: none;
  }

  .product-store-row { min-height: 40px; }
  .product-store-row .store-avatar { width: 38px; height: 38px; border-radius: 10px; }
  .product-store-row a { padding: 7px 12px; font-size: 12px; }
  main[data-product-detail-page] .product-buy-box .eyebrow { margin: 2px 0 -4px; }
  main[data-product-detail-page] .product-buy-box h1 { font-size: clamp(28px, 2.35vw, 38px); line-height: 1.1; }
  main[data-product-detail-page] .product-buy-box .lead { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: clamp(14px, 1vw, 16px); line-height: 1.45; }
  .product-price-campaign { margin-top: 0; padding: 12px 18px; border-radius: 10px; }
  .product-price-campaign strong { font-size: clamp(30px, 2.7vw, 42px); }
  .product-price-campaign span, .product-price-campaign em { font-size: 12px; }
  .product-service-row { gap: 8px; }
  .product-service-row a, .product-service-row span { min-height: 34px; padding: 0 10px; font-size: 12px; }
  .product-option-group { grid-template-columns: 82px 1fr; gap: 10px; }
  .product-option-group > strong { padding-top: 8px; font-size: 13px; }
  .product-option-group > div { gap: 8px; }
  .product-option-group button { min-height: 36px; padding: 6px 12px; font-size: 13px; }
  .parameter-control-row select { min-width: 0; flex: 1 1 auto; min-height: 38px; }
  .parameter-preview { flex-basis: 48px; width: 48px; height: 48px; }
  main[data-product-detail-page] .product-buy-box dl { margin-top: 0; }
  main[data-product-detail-page] .product-buy-box dl div { grid-template-columns: 82px 1fr; padding: 7px 0; }
  main[data-product-detail-page] .product-buy-box dt, main[data-product-detail-page] .product-buy-box dd { font-size: 13px; }
  main[data-product-detail-page] .product-buy-box .payment-note { margin-top: 0; font-size: 12px; line-height: 1.35; }
  main[data-product-detail-page] .product-sticky-actions {
    position: static;
    inset: auto;
    margin-top: 2px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  main[data-product-detail-page] .product-sticky-actions .button { min-height: 48px; font-size: 15px; }
}
@media (max-width: 1100px) {
  main[data-product-detail-page] .product-buy-box {
    position: relative;
    max-height: none;
    overflow: visible;
  }
}
/* Product detail purchase panel stays in the page flow */
@media (min-width: 1101px) {
  main[data-product-detail-page] {
    min-height: 0;
    padding-right: 0;
  }

  main[data-product-detail-page] .product-shop-detail,
  main[data-product-detail-page] > .showcase-section,
  main[data-product-detail-page] > .buyer-showcase-section {
    width: min(100%, 1640px);
    max-width: 1640px;
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(18px, 5vw, 76px);
    padding-right: clamp(18px, 5vw, 76px);
  }

  main[data-product-detail-page] > .related-section {
    display: none;
  }

  main[data-product-detail-page] .product-shop-detail {
    display: grid;
  }

  main[data-product-detail-page] .product-gallery {
    max-width: none;
    margin: 0;
  }

  main[data-product-detail-page] .product-gallery-main > img,
  main[data-product-detail-page] .gallery-spec-panel {
    min-height: clamp(360px, 28vw, 520px);
  }

  main[data-product-detail-page] .product-buy-box {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    width: auto;
    height: auto;
    max-height: none;
    overflow: visible;
    z-index: auto;
    align-content: start;
    padding: 20px;
    border: 1px solid #e7e1d7;
    border-radius: 12px;
    background: #fff;
    box-shadow: none;
  }

  main[data-product-detail-page] .product-sticky-actions {
    position: static;
    left: auto;
    right: auto;
    bottom: auto;
    z-index: auto;
    margin: 14px 0 0;
    padding: 0;
    border-top: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }
}

/* Quote form validation feedback */
/* Quote form validation feedback */
.quote-form input.is-invalid, .quote-form select.is-invalid, .quote-form textarea.is-invalid { border-color: #ff4d1c; background: #fff7f2; }
.message-output.is-error { color: #9b1c12; border-color: rgba(255, 77, 28, 0.42); background: rgba(255, 77, 28, 0.10); font-weight: 850; }



/* Taobao-like parameter and graphic detail order */
main[data-product-detail-page] .product-params-section {
  background: #fff;
  border-top: 1px solid #efefef;
  border-bottom: 1px solid #efefef;
  padding-top: 28px;
  padding-bottom: 28px;
}

main[data-product-detail-page] .product-params-section h2,
main[data-product-detail-page] .showcase-head h2 {
  margin: 0 0 18px;
  color: #111;
  font-size: 22px;
  font-weight: 850;
  line-height: 1.25;
}

main[data-product-detail-page] .product-params-table {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 72px;
  row-gap: 0;
}

main[data-product-detail-page] .product-param-row {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  min-height: 38px;
  padding: 7px 0;
}

main[data-product-detail-page] .product-param-row span {
  color: #8a8a8a;
  font-size: 14px;
  line-height: 1.55;
}

main[data-product-detail-page] .product-param-row strong {
  color: #111;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.55;
  word-break: break-word;
}

main[data-product-detail-page] .product-param-status-legend {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding: 0 0 12px;
  color: #555;
  font-size: 12px;
}

main[data-product-detail-page] .product-param-status-legend span::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 6px;
  border-radius: 50%;
  background: currentColor;
}

main[data-product-detail-page] .product-param-status {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  padding: 2px 6px;
  border: 1px solid currentColor;
  border-radius: 3px;
  font-size: 11px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.2;
  vertical-align: middle;
}

main[data-product-detail-page] .product-param-status-received { color: #16825d; }
main[data-product-detail-page] .product-param-status-erp-empty { color: #7b8188; }
main[data-product-detail-page] .product-param-status-transport-missing { color: #c73737; }
main[data-product-detail-page] .product-param-status-transport-mismatch { color: #9a5b13; }

main[data-product-detail-page] > .showcase-section {
  padding-top: 28px;
  background: #fff;
}

main[data-product-detail-page] .product-detail-showcase-grid {
  display: block;
}

main[data-product-detail-page] .product-detail-visual-card {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

main[data-product-detail-page] .product-detail-visual-card img {
  display: block;
  width: 100%;
  max-width: 100%;
  border-radius: 0;
}

@media (max-width: 980px) {
  main[data-product-detail-page] .product-params-table {
    grid-template-columns: 1fr 1fr;
    column-gap: 24px;
  }
}

@media (max-width: 680px) {
  main[data-product-detail-page] .product-params-table {
    grid-template-columns: 1fr;
  }

  main[data-product-detail-page] .product-param-row {
    grid-template-columns: 84px minmax(0, 1fr);
  }
}


/* Gallery parameter panel shown by the main image tabs */
main[data-product-detail-page] .gallery-spec-panel {
  width: 100%;
  min-height: clamp(340px, 25vw, 480px);
  display: grid;
  align-content: start;
  gap: 18px;
  padding: clamp(26px, 3vw, 42px);
  border-radius: 12px;
  background: #f6f6f6;
  box-shadow: 0 22px 52px rgba(25, 24, 20, 0.06);
}

main[data-product-detail-page] .gallery-spec-panel[hidden] {
  display: none;
}

main[data-product-detail-page] .gallery-spec-highlight {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding: 22px 24px;
  border-radius: 14px;
  background: #fff;
}

main[data-product-detail-page] .gallery-spec-highlight div {
  display: grid;
  gap: 7px;
  min-height: 58px;
  align-content: center;
  text-align: center;
}

main[data-product-detail-page] .gallery-spec-highlight strong {
  color: #111;
  font-size: 16px;
  font-weight: 850;
  line-height: 1.25;
}

main[data-product-detail-page] .gallery-spec-highlight span {
  color: #8a8a8a;
  font-size: 13px;
}

main[data-product-detail-page] .gallery-spec-table {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 48px;
  row-gap: 0;
}

main[data-product-detail-page] .gallery-spec-table div {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  min-height: 34px;
  padding: 6px 0;
}

main[data-product-detail-page] .gallery-spec-table span {
  color: #8a8a8a;
  font-size: 13px;
  line-height: 1.5;
}

main[data-product-detail-page] .gallery-spec-table strong {
  color: #111;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.5;
  word-break: break-word;
}

@media (max-width: 680px) {
  main[data-product-detail-page] .gallery-spec-highlight,
  main[data-product-detail-page] .gallery-spec-table {
    grid-template-columns: 1fr;
  }
}

/* Services and quote page polish */
main[data-page="services"] .page-hero {
  padding-top: clamp(90px, 10vh, 130px);
  padding-bottom: clamp(44px, 6vh, 76px);
}

main[data-page="services"] .page-hero h1 {
  max-width: 760px;
  margin-top: 8px;
  font-size: clamp(38px, 4.4vw, 64px);
  line-height: 1.06;
  letter-spacing: 0;
}

main[data-page="services"] .page-hero .lead {
  max-width: 640px;
  margin-top: 14px;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.75;
}

main[data-page="services"] .service-band {
  align-items: start;
  gap: clamp(24px, 4vw, 54px);
}

main[data-page="services"] .service-band > div:first-child h2,
main[data-page="services"] .section-head h2 {
  max-width: 620px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.14;
  letter-spacing: 0;
}

main[data-page="services"] .service-band > div:first-child p:not(.eyebrow),
main[data-page="services"] .section-head p:not(.eyebrow) {
  max-width: 640px;
  font-size: 15px;
  line-height: 1.75;
}

main[data-page="services"] .center-action {
  display: flex;
  justify-content: flex-end;
  margin-top: 28px;
}

main[data-page="services"] .center-action .button {
  min-width: 152px;
  justify-content: center;
}

main[data-page="services"] .button-arrow::after {
  content: "→";
  margin-left: 10px;
  font-size: 1.05em;
  line-height: 1;
}

@media (max-width: 760px) {
  main[data-page="services"] .center-action {
    justify-content: flex-start;
  }
}

main[data-page="services"] .service-grid section {
  min-height: 168px;
  padding: 22px;
}

main[data-page="services"] .service-grid h3 {
  margin: 8px 0 8px;
  font-size: 20px;
  line-height: 1.22;
}

main[data-page="services"] .service-grid p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
}

main[data-page="quote"] {
  min-height: calc(100vh - 64px);
}

main[data-page="quote"] .quote-section {
  min-height: calc(100vh - 64px);
  padding-top: clamp(48px, 8vh, 96px);
  padding-bottom: clamp(48px, 8vh, 96px);
  align-items: center;
}


@media (max-width: 760px) {
  main[data-page="quote"] .quote-section {
    padding-top: 92px;
  }

  main[data-page="services"] .page-hero h1 {
    font-size: clamp(32px, 9vw, 46px);
  }
}

/* Final AI smart search page polish */
body.ai-page {
  min-height: 100vh;
  background: #f7f4ee;
  color: #191814;
}

body.ai-page .site-header {
  position: sticky;
  top: 0;
  z-index: 30;
}

.smart-search-main {
  min-height: calc(100vh - 73px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: clamp(18px, 3vw, 34px);
  padding: clamp(34px, 5vw, 70px) clamp(18px, 5vw, 88px) clamp(28px, 5vw, 70px);
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.8), rgba(247, 244, 238, 0.96)),
    url("assets/hero/living-room-3.jpg") center / cover no-repeat;
}

.smart-search-head {
  width: min(980px, 100%);
  margin-inline: auto;
  display: grid;
  gap: 18px;
  justify-items: center;
  text-align: center;
}

.smart-search-title {
  margin: 0;
  font-size: clamp(42px, 7vw, 92px);
  line-height: 0.98;
  letter-spacing: 0;
  font-weight: 850;
}

.smart-search-modes {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(25, 24, 20, 0.12);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.88);
  box-shadow: 0 14px 36px rgba(25, 24, 20, 0.08);
}

.smart-search-mode {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  color: #65645e;
  cursor: pointer;
  font-size: 14px;
  font-weight: 900;
}

.smart-search-mode input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.smart-search-mode.is-active,
.smart-search-mode:has(input:checked) {
  color: #fffaf0;
  background: #191814;
}

.smart-search-card {
  width: min(980px, 100%);
  min-height: min(620px, calc(100vh - 260px));
  margin-inline: auto;
  display: grid;
  grid-template-rows: minmax(220px, 1fr) auto;
  overflow: hidden;
  border: 1px solid rgba(25, 24, 20, 0.14);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.94);
  box-shadow: 0 28px 80px rgba(25, 24, 20, 0.16);
  backdrop-filter: blur(14px);
}

.ai-thread {
  min-height: 0;
  display: grid;
  align-content: start;
  gap: 16px;
  padding: clamp(18px, 3vw, 28px);
  overflow: auto;
}

.ai-thread:empty::before {
  content: "";
  display: block;
  min-height: 180px;
}

.ai-message {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.ai-message.user {
  justify-content: flex-end;
}

.ai-avatar {
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: #191814;
  color: #fffaf0;
  font-size: 12px;
  font-weight: 950;
}

.ai-bubble {
  max-width: min(760px, 100%);
  padding: 14px 16px;
  border: 1px solid rgba(25, 24, 20, 0.1);
  border-radius: 8px;
  background: #fffdf8;
  box-shadow: 0 10px 26px rgba(25, 24, 20, 0.06);
}

.ai-message.user .ai-bubble {
  color: #fffaf0;
  background: #355b50;
}

.ai-composer {
  padding: 14px;
  border-top: 1px solid rgba(25, 24, 20, 0.12);
  background: rgba(255, 253, 248, 0.82);
}

.minimal-composer-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
  padding: 14px;
  border: 1px solid rgba(25, 24, 20, 0.16);
  border-radius: 8px;
  background: #fffdf8;
}

.minimal-composer-shell textarea {
  min-height: 74px;
  max-height: 180px;
  resize: vertical;
  border: 0;
  padding: 6px 0;
  background: transparent;
  color: #191814;
  font-size: 17px;
  line-height: 1.55;
  outline: none;
}

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

.minimal-upload-button,
.minimal-submit-button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(25, 24, 20, 0.16);
  border-radius: 999px;
  background: #fffaf0;
  color: #191814;
  cursor: pointer;
  font-weight: 950;
}

.minimal-upload-button::before {
  content: "+";
  font-size: 24px;
  line-height: 1;
}

.minimal-upload-button input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.minimal-submit-button {
  border-color: #191814;
  background: #191814;
  color: #fffaf0;
  font-size: 20px;
}

.minimal-submit-button:disabled {
  opacity: 0.38;
  cursor: not-allowed;
}

.image-search-preview:not([hidden]) {
  grid-column: 1 / -1;
  width: 132px;
  overflow: hidden;
  border: 1px solid rgba(25, 24, 20, 0.14);
  border-radius: 8px;
  background: #f7f4ee;
}

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

.ai-result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.ai-result-card {
  overflow: hidden;
  border: 1px solid rgba(25, 24, 20, 0.12);
  border-radius: 8px;
  background: #fffaf0;
}

.ai-result-card img {
  width: 100%;
  aspect-ratio: 1.35;
  object-fit: cover;
}

.ai-result-body {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.ai-result-top,
.ai-result-meta,
.ai-result-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ai-result-top {
  justify-content: space-between;
  font-weight: 950;
}

.ai-result-meta {
  flex-wrap: wrap;
}

.ai-result-meta span,
.ai-summary-kpis span,
.ai-source-list small {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  min-height: 26px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(53, 91, 80, 0.08);
  color: #355b50;
  font-size: 12px;
  font-weight: 850;
}

.ai-delivered-box {
  padding: 10px;
  border-radius: 8px;
  background: rgba(53, 91, 80, 0.08);
}

.ai-delivered-box small,
.ai-delivered-box strong,
.ai-delivered-box em {
  display: block;
}

.ai-delivered-box em {
  color: #65645e;
  font-size: 12px;
  font-style: normal;
}

.ai-result-actions .detail-link,
.ai-result-actions .quote-link,
.ai-result-actions .intent-link {
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
}

@media (max-width: 760px) {
  .smart-search-main {
    padding: 24px 12px 20px;
  }

  .smart-search-card {
    min-height: calc(100vh - 220px);
  }

  .minimal-composer-shell,
  .ai-result-grid {
    grid-template-columns: 1fr;
  }

  .minimal-composer-actions {
    justify-content: flex-end;
  }
}
/* Final service page visual hero replacement */
main[data-page="services"] {
  background: #eef2e9;
}

main[data-page="services"] .service-visual-hero {
  width: min(1440px, calc(100% - 48px));
  margin: clamp(22px, 4vw, 48px) auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(240px, 0.72fr);
  gap: 14px;
  min-height: clamp(260px, 38vw, 520px);
}

main[data-page="services"] .service-visual-hero img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(25, 24, 20, 0.12);
  box-shadow: 0 18px 44px rgba(25, 24, 20, 0.12);
}

main[data-page="services"] .service-visual-hero-main {
  aspect-ratio: 16 / 7;
}

main[data-page="services"] .service-visual-hero-side {
  aspect-ratio: 5 / 7;
}

main[data-page="services"] .service-band {
  padding-top: clamp(54px, 6vw, 86px);
}

@media (max-width: 820px) {
  main[data-page="services"] .service-visual-hero {
    width: min(100% - 28px, 720px);
    grid-template-columns: 1fr;
    min-height: auto;
  }

  main[data-page="services"] .service-visual-hero-main,
  main[data-page="services"] .service-visual-hero-side {
    aspect-ratio: 16 / 10;
  }
}

/* Final service page section title alignment */
main[data-page="services"] .service-section-row {
  width: min(1440px, calc(100% - 96px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(220px, 0.32fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 76px);
  padding: clamp(48px, 6vw, 80px) 0 12px;
}

main[data-page="services"] .service-process-row {
  padding-top: 32px;
}

main[data-page="services"] .service-section-label {
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

main[data-page="services"] .service-section-label .eyebrow {
  margin: 0;
  min-width: min(260px, 100%);
  padding: 12px 28px;
  border: 1px solid rgba(194, 79, 56, 0.34);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.72);
  text-align: center;
  color: #c24f38;
}

main[data-page="services"] .service-section-row .service-grid {
  width: 100%;
}

main[data-page="services"] .service-process-row .center-action {
  grid-column: 2;
  margin-top: 28px;
}

@media (max-width: 900px) {
  main[data-page="services"] .service-section-row {
    width: min(100% - 32px, 720px);
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: stretch;
  }

  main[data-page="services"] .service-section-label {
    justify-content: flex-start;
  }

  main[data-page="services"] .service-section-label .eyebrow {
    min-width: 168px;
  }

  main[data-page="services"] .service-process-row .center-action {
    grid-column: 1;
  }
}

/* Final service page label simplification */
main[data-page="services"] .service-section-label .eyebrow {
  min-width: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #c24f38;
  font-size: clamp(20px, 1.65vw, 28px);
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
}

/* Final product search label and button alignment */
main[data-page="products"] .product-search-hero .eyebrow {
  margin-bottom: 12px !important;
  font-size: clamp(15px, 1.1vw, 18px) !important;
  font-weight: 950 !important;
  line-height: 1.15 !important;
}

main[data-page="products"] .product-search-hero-inner {
  width: min(820px, calc(100% - 32px)) !important;
  max-width: 820px !important;
}

main[data-page="products"] .product-hero-search-control,
main[data-page="products"] .product-hero-search-control:hover,
main[data-page="products"] .product-hero-search-control:focus-within {
  min-height: 62px !important;
  padding-right: 154px !important;
}

main[data-page="products"] .product-hero-search-control textarea {
  font-size: 16px !important;
  line-height: 1.45 !important;
}

main[data-page="products"] .product-hero-search-button {
  top: 50% !important;
  right: 10px !important;
  bottom: auto !important;
  transform: translateY(-50%) !important;
  min-height: 42px !important;
  padding: 0 22px !important;
  font-size: 15px !important;
  font-weight: 900 !important;
}

@media (max-width: 760px) {
  main[data-page="products"] .product-hero-search-control,
  main[data-page="products"] .product-hero-search-control:hover,
  main[data-page="products"] .product-hero-search-control:focus-within {
    min-height: 58px !important;
    padding-right: 126px !important;
  }

  main[data-page="products"] .product-hero-search-button {
    right: 8px !important;
    top: 50% !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
    min-height: 40px !important;
    padding: 0 16px !important;
    font-size: 14px !important;
  }
}

/* Final service page quote button harmony */
main[data-page="services"] .center-action .button.primary {
  min-width: 164px;
  min-height: 54px;
  padding: 0 26px;
  border: 1px solid rgba(31, 63, 54, 0.28);
  border-radius: 8px;
  color: #1f3f36;
  background: rgba(255, 250, 240, 0.9);
  box-shadow: 0 16px 34px rgba(31, 63, 54, 0.12);
  font-weight: 900;
}

main[data-page="services"] .center-action .button.primary:hover,
main[data-page="services"] .center-action .button.primary:focus-visible {
  color: #fffaf0;
  background: #1f3f36;
  border-color: #1f3f36;
  transform: translateY(-1px);
  box-shadow: 0 20px 42px rgba(31, 63, 54, 0.18);
}

main[data-page="services"] .center-action .button.primary::after {
  color: #c24f38;
}

main[data-page="services"] .center-action .button.primary:hover::after,
main[data-page="services"] .center-action .button.primary:focus-visible::after {
  color: #f3d49b;
}

/* Final About page brand rebuild */
body.about-page .about-gateway,
body.about-page .about-brand-page {
  background: #f3f6f0 !important;
  color: #191814 !important;
}

body.about-page .gateway-header {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(25, 24, 20, 0.08);
}

body.about-page .about-brand-hero {
  position: relative;
  min-height: clamp(560px, 72svh, 780px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #202522;
}

body.about-page .about-brand-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
  filter: saturate(1.02) contrast(1.04);
}

body.about-page .about-brand-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 24, 19, 0.58) 0%, rgba(15, 24, 19, 0.28) 46%, rgba(15, 24, 19, 0.08) 100%);
}

body.about-page .about-brand-hero-copy {
  position: relative;
  z-index: 1;
  width: min(900px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(86px, 11vw, 150px) 0 clamp(56px, 8vw, 96px);
  color: #fffaf0;
}

body.about-page .about-brand-hero-copy .eyebrow,
body.about-page .about-brand-hero-copy .lead {
  color: rgba(255, 250, 240, 0.82);
}

body.about-page .about-brand-hero-copy h1 {
  max-width: 760px;
  margin: 14px 0 20px;
  color: #fffaf0;
  font-size: clamp(44px, 6vw, 84px);
  line-height: 0.98;
  letter-spacing: 0;
}

body.about-page .about-brand-hero-copy .lead {
  max-width: 620px;
  font-size: clamp(16px, 1.4vw, 21px);
  line-height: 1.75;
}

body.about-page .about-brand-hero-copy .hero-actions {
  margin-top: 30px;
}

body.about-page .about-brand-hero-copy .button.secondary {
  border-color: rgba(255, 250, 240, 0.52);
  color: #fffaf0;
  background: rgba(255, 250, 240, 0.08);
}

body.about-page .about-brand-intro,
body.about-page .about-proof-band,
body.about-page .about-brand-strip,
body.about-page .about-contact-band {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

body.about-page .about-brand-intro {
  display: grid;
  grid-template-columns: minmax(190px, 0.64fr) minmax(320px, 1.36fr);
  gap: clamp(28px, 5vw, 76px);
  padding: clamp(52px, 6vw, 82px) 0 clamp(30px, 4vw, 52px);
  align-items: start;
}

body.about-page .about-brand-intro h2,
body.about-page .about-proof-head h2 {
  margin: 10px 0 0;
  color: #191814;
  font-size: clamp(30px, 3.5vw, 52px);
  line-height: 1.08;
  letter-spacing: 0;
}

body.about-page .about-brand-intro > p {
  margin: 6px 0 0;
  max-width: 680px;
  padding-left: clamp(20px, 2.8vw, 40px);
  border-left: 2px solid #d65b3f;
  color: #4e554f;
  font-size: clamp(16px, 1.28vw, 20px);
  line-height: 1.78;
}

body.about-page .about-proof-band {
  padding: clamp(30px, 4vw, 56px) 0 clamp(48px, 6vw, 78px);
}

body.about-page .about-proof-head {
  display: grid;
  grid-template-columns: minmax(190px, 0.64fr) minmax(320px, 1.36fr);
  align-items: end;
  gap: 28px;
  margin-bottom: 26px;
}

body.about-page .about-proof-head .eyebrow {
  margin: 0;
}

body.about-page .about-proof-head h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(28px, 3.2vw, 46px);
}

body.about-page .about-brand-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  counter-reset: proof-card;
}

body.about-page .about-brand-proof-grid article {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(25, 24, 20, 0.12);
  border-radius: 4px;
  background: #fffaf0;
  box-shadow: 0 12px 30px rgba(25, 24, 20, 0.07);
  counter-increment: proof-card;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

body.about-page .about-brand-proof-grid article::before {
  content: "0" counter(proof-card);
  position: absolute;
  z-index: 1;
  top: 14px;
  left: 14px;
  padding: 5px 8px;
  color: #fffaf0;
  background: #1f3f36;
  font: 700 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .08em;
}

body.about-page .about-brand-proof-grid article:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(25, 24, 20, 0.12);
}

body.about-page .about-brand-proof-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 0;
  background: #e8ece3;
}

body.about-page .about-brand-proof-grid div {
  padding: 20px 22px 24px;
}

body.about-page .about-brand-proof-grid h3 {
  margin: 0 0 8px;
  color: #191814;
  font-size: 22px;
  line-height: 1.2;
}

body.about-page .about-brand-proof-grid p {
  margin: 0;
  color: #5c635c;
  line-height: 1.72;
}

@media (prefers-reduced-motion: reduce) {
  body.about-page .about-brand-proof-grid article {
    transition: none;
  }
}

body.about-page .about-brand-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 10px;
  border: 1px solid rgba(31, 63, 54, 0.18);
  background: #1f3f36;
}

body.about-page .about-brand-strip div {
  padding: 24px;
  border-right: 1px solid rgba(255, 250, 240, 0.16);
}

body.about-page .about-brand-strip div:last-child {
  border-right: 0;
}

body.about-page .about-brand-strip strong,
body.about-page .about-brand-strip span {
  display: block;
}

body.about-page .about-brand-strip strong {
  color: #fffaf0;
  font-size: 20px;
}

body.about-page .about-brand-strip span {
  margin-top: 8px;
  color: rgba(255, 250, 240, 0.68);
}

body.about-page .about-contact-band {
  padding: 28px 0 48px;
}

body.about-page .about-contact-panel {
  display: grid;
  grid-template-columns: minmax(140px, 0.5fr) minmax(0, 1.7fr) minmax(230px, 0.9fr);
  gap: 16px;
  align-items: center;
  overflow: hidden;
  padding: 22px 24px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 12% 20%, rgba(88, 140, 255, 0.16), transparent 42%),
    linear-gradient(135deg, #0c1c33 0%, #123056 58%, #0e2748 100%);
  color: #f4f7fb;
  box-shadow: 0 16px 36px rgba(12, 28, 51, 0.22);
}

body.about-page .about-contact-copy h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.08;
  letter-spacing: 0;
}

body.about-page .about-contact-copy p {
  margin: 8px 0 0;
  max-width: 12em;
  color: rgba(244, 247, 251, 0.72);
  font-size: 13px;
  line-height: 1.55;
}

body.about-page .about-contact-qr-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
}

body.about-page .about-contact-qr-card {
  display: grid;
  justify-items: center;
  gap: 4px;
  min-width: 0;
  padding: 8px 6px 7px;
  background: #fff;
  border: 0;
  border-radius: 14px;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(8, 20, 38, 0.16);
}

body.about-page a.about-contact-qr-card:hover {
  transform: translateY(-1px);
}

body.about-page .about-contact-qr-label {
  color: #1b2430;
  font-size: 11px;
  font-weight: 800;
}

body.about-page .about-contact-qr-card small {
  color: #6b7380;
  font-size: 10px;
  font-weight: 600;
}

body.about-page .about-contact-qr-id {
  color: #1b2430;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

body.about-page .about-contact-qr {
  display: block;
  width: 72px;
  max-width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: #fff;
  border: 0;
}

body.about-page .about-contact-aside {
  display: grid;
  gap: 8px;
  min-width: 0;
}

body.about-page .about-contact-details {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 0;
}

body.about-page .about-contact-details a,
body.about-page .about-contact-details .about-contact-chip,
body.about-page .about-contact-address {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  padding: 8px 12px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  color: #1b2430;
  text-decoration: none;
  box-shadow: 0 6px 14px rgba(8, 20, 38, 0.1);
}

body.about-page .about-contact-chip-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #3d5d8f;
  background: #e8eef8;
}

body.about-page .about-contact-chip-icon svg {
  width: 15px;
  height: 15px;
}

body.about-page .about-contact-details strong,
body.about-page .about-contact-address strong {
  display: block;
  font-size: 11px;
  line-height: 1.2;
}

body.about-page .about-contact-details a > span span,
body.about-page .about-contact-details .about-contact-chip > span span,
body.about-page .about-contact-address > span span {
  color: #667084;
  font-size: 11px;
  overflow-wrap: anywhere;
}

body.about-page .about-contact-address {
  margin-top: 0;
}

body.about-page .about-contact-actions {
  justify-content: center;
  margin-top: 24px;
}

@media (max-width: 980px) {
  body.about-page .about-contact-panel {
    grid-template-columns: 1fr 1fr;
  }

  body.about-page .about-contact-copy {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  body.about-page .about-contact-panel,
  body.about-page .about-contact-qr-grid {
    grid-template-columns: 1fr 1fr;
  }

  body.about-page .about-contact-copy,
  body.about-page .about-contact-qr-grid,
  body.about-page .about-contact-aside,
  body.about-page .about-contact-details a,
  body.about-page .about-contact-details .about-contact-chip,
  body.about-page .about-contact-address {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  body.about-page .about-brand-intro,
  body.about-page .about-brand-proof-grid,
  body.about-page .about-brand-strip,
  body.about-page .about-contact-details {
    grid-template-columns: 1fr;
  }

  body.about-page .about-proof-head {
    display: block;
  }

  body.about-page .about-brand-strip div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 250, 240, 0.16);
  }

  body.about-page .about-brand-strip div:last-child {
    border-bottom: 0;
  }
}

/* Final About page: remove top gateway bar */
body.about-page > .gateway-header {
  display: none !important;
}

body.about-page .about-brand-hero {
  min-height: clamp(500px, 68svh, 700px);
}

/* About page rhythm: keep the header and content on one compact visual rail. */
body.about-page > .gateway-header {
  display: grid !important;
  position: relative;
  inset: auto;
  grid-template-columns: 1fr auto;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(25, 24, 20, 0.1);
  color: var(--ink);
}

body.about-page .gateway-header .brand,
body.about-page .gateway-header .brand strong,
body.about-page .gateway-header .brand small {
  color: var(--ink);
}

body.about-page .gateway-header .brand-mark {
  color: var(--surface);
  background: var(--ink);
}

body.about-page .gateway-header .header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

body.about-page .gateway-header .admin-login-link,
body.about-page .gateway-header .language-toggle,
body.about-page .gateway-header .country-switcher {
  color: var(--ink);
  border-color: rgba(25, 24, 20, 0.16);
  background: #fffdf8;
}

body.about-page .gateway-header .icon-link {
  color: var(--surface);
  background: var(--ink);
}

body.about-page .about-brand-hero-copy {
  width: min(1120px, calc(100% - 48px));
  padding: clamp(64px, 9vw, 112px) 0 clamp(48px, 7vw, 76px);
}

body.about-page .about-brand-intro,
body.about-page .about-proof-band {
  padding-top: clamp(48px, 6vw, 76px);
  padding-bottom: clamp(40px, 5vw, 64px);
}

body.about-page .about-brand-intro {
  gap: clamp(24px, 4vw, 64px);
}

body.about-page .about-proof-head {
  align-items: start;
  margin-bottom: 18px;
}

body.about-page .about-proof-head h2 {
  margin-top: 0;
  font-size: clamp(28px, 3.2vw, 44px);
}

body.about-page .about-brand-strip {
  margin-top: 0;
}

body.about-page .about-contact-band {
  padding-top: 22px;
  padding-bottom: 40px;
}

@media (max-width: 900px) {
  body.about-page > .gateway-header {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  body.about-page .gateway-header .header-actions {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }
}

@media (max-width: 680px) {
  body.about-page .about-brand-hero {
    min-height: 560px;
  }

  body.about-page .about-brand-hero-copy,
  body.about-page .about-brand-intro,
  body.about-page .about-proof-band,
  body.about-page .about-brand-strip,
  body.about-page .about-contact-band {
    width: min(100% - 36px, 560px);
  }

  body.about-page .about-brand-intro,
  body.about-page .about-proof-head {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  body.about-page .about-brand-intro > p {
    margin-top: 0;
    padding: 16px 0 0;
    border-top: 2px solid #d65b3f;
    border-left: 0;
  }

  body.about-page .about-brand-hero-copy {
    padding-top: 72px;
  }

  body.about-page .about-brand-hero-copy h1 {
    font-size: clamp(38px, 11vw, 58px);
  }
}


/* Smart search image-pick upload mode */
body.ai-page.ai-image-mode .smart-search-card {
  border-color: rgba(53, 91, 80, 0.24);
  background: rgba(255, 253, 248, 0.90);
  box-shadow: 0 30px 90px rgba(53, 91, 80, 0.18);
}

body.ai-page.ai-image-mode .ai-thread:empty::before {
  min-height: 92px;
}

.ai-image-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.image-search-upload-panel[hidden] {
  display: none;
}

.image-search-upload-panel {
  grid-column: 1 / -1;
  display: grid;
  gap: 14px;
}

.image-search-drop-zone {
  min-height: clamp(220px, 34vh, 340px);
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  padding: clamp(26px, 4vw, 46px);
  border: 1.5px dashed rgba(53, 91, 80, 0.38);
  border-radius: 8px;
  color: #243f38;
  background: linear-gradient(180deg, rgba(255, 250, 240, 0.88), rgba(244, 239, 228, 0.74));
  cursor: pointer;
  text-align: center;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.image-search-drop-zone:hover,
.image-search-drop-zone:focus-within,
.image-search-drop-zone.is-dragging {
  border-color: #355b50;
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.96), rgba(231, 238, 231, 0.86));
  transform: translateY(-1px);
}

.image-search-drop-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(53, 91, 80, 0.28);
  border-radius: 999px;
  color: #191814;
  background: #fffaf0;
  font-size: 30px;
  font-weight: 850;
  line-height: 1;
  box-shadow: 0 14px 34px rgba(25, 24, 20, 0.10);
}

.image-search-drop-zone strong {
  color: #191814;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.2;
}

.image-search-drop-zone small {
  max-width: 460px;
  color: #6b675f;
  font-size: 14px;
  line-height: 1.65;
}

body.ai-page.ai-image-mode .minimal-composer-shell {
  grid-template-columns: minmax(0, 1fr) auto;
  background: rgba(255, 253, 248, 0.92);
}

body.ai-page.ai-image-mode .minimal-composer-shell textarea {
  min-height: 54px;
  padding: 10px 0;
  border-top: 1px solid rgba(25, 24, 20, 0.08);
  font-size: 15px;
}

body.ai-page.ai-image-mode .minimal-composer-shell textarea::placeholder {
  color: #8a867d;
}

body.ai-page.ai-image-mode .minimal-upload-button {
  display: none;
}

body.ai-page.ai-image-mode .image-search-preview:not([hidden]) {
  width: 100%;
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-color: rgba(53, 91, 80, 0.22);
  background: rgba(255, 250, 240, 0.84);
}

body.ai-page.ai-image-mode .image-search-preview img {
  width: 128px;
  height: 92px;
  aspect-ratio: auto;
  border-radius: 6px;
  object-fit: cover;
}

body.ai-page.ai-image-mode .image-search-preview span {
  color: #243f38;
  font-size: 13px;
  font-weight: 850;
  word-break: break-word;
}

@media (max-width: 760px) {
  .image-search-drop-zone {
    min-height: 210px;
    padding: 24px 18px;
  }

  body.ai-page.ai-image-mode .image-search-preview:not([hidden]) {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  body.ai-page.ai-image-mode .image-search-preview img {
    width: 92px;
    height: 74px;
  }
}

/* Product page right-rail cart entry. */
.cart-floating-entry {
  position: fixed !important;
  left: auto !important;
  right: 0 !important;
  top: calc(50% + 138px) !important;
  bottom: auto !important;
  transform: translateY(-50%) !important;
  width: 96px !important;
  min-height: 102px !important;
  padding: 12px 10px !important;
  display: grid !important;
  place-items: center !important;
  gap: 5px !important;
  border: 1px solid rgba(25, 24, 20, 0.14) !important;
  border-right: 0 !important;
  border-radius: 18px 0 0 18px !important;
  color: #fffaf0 !important;
  background: linear-gradient(180deg, #2f5148 0%, #1b1a16 100%) !important;
  box-shadow: 0 18px 42px rgba(25, 24, 20, 0.22) !important;
  text-decoration: none !important;
  z-index: 998 !important;
}

.cart-floating-entry span {
  display: grid !important;
  place-items: center !important;
  width: 42px !important;
  height: 42px !important;
  border-radius: 999px !important;
  color: #191814 !important;
  background: #f3d9ad !important;
  font-size: 10px !important;
  font-weight: 950 !important;
}

.cart-floating-entry strong {
  display: block !important;
  color: #fffaf0 !important;
  text-align: center !important;
  font-size: 14px !important;
  line-height: 1.15 !important;
  letter-spacing: 0 !important;
}

.cart-floating-entry small {
  display: block !important;
  margin-top: 0 !important;
  color: rgba(255, 250, 240, 0.72) !important;
  text-align: center !important;
  font-size: 11px !important;
  line-height: 1.1 !important;
  letter-spacing: 0 !important;
}

.cart-floating-entry:hover,
.cart-floating-entry:focus-visible {
  transform: translateY(-50%) translateX(-4px) !important;
}

body.has-cart-floating-entry .service-floating-entry {
  top: calc(50% + 276px) !important;
}

body.products-showcase-view .cart-floating-entry {
  display: none !important;
}

body.commerce-modal-open .cart-floating-entry {
  display: none !important;
}

@media (max-width: 680px) {
  .cart-floating-entry {
    top: auto !important;
    right: 12px !important;
    bottom: 100px !important;
    width: 78px !important;
    min-height: 68px !important;
    padding: 9px !important;
    border-radius: 18px !important;
    border-right: 1px solid rgba(25, 24, 20, 0.14) !important;
    transform: none !important;
  }

  .cart-floating-entry:hover,
  .cart-floating-entry:focus-visible {
    transform: translateY(-2px) !important;
  }

  .cart-floating-entry span {
    width: 34px !important;
    height: 34px !important;
    font-size: 9px !important;
  }

  .cart-floating-entry strong {
    font-size: 12px !important;
  }

  .cart-floating-entry small {
    display: none !important;
  }

  body.has-cart-floating-entry .service-floating-entry {
    bottom: 12px !important;
  }
}

/* Right rail: keep AI search, cart, and support in three distinct slots. */
.smart-search-side-entry.right-rail-entry {
  top: calc(50% - 160px) !important;
}
.cart-floating-entry {
  top: 50% !important;
}
body.has-cart-floating-entry .service-floating-entry {
  top: calc(50% + 140px) !important;
}
@media (max-width: 680px) {
  .smart-search-side-entry.right-rail-entry { bottom: 168px !important; }
  .cart-floating-entry { bottom: 92px !important; }
  body.has-cart-floating-entry .service-floating-entry { bottom: 12px !important; }
}

/* Final right rail order: cart, AI search, then customer support. */
.cart-floating-entry { top: calc(50% - 160px) !important; z-index: 1001 !important; }
.smart-search-side-entry.right-rail-entry { top: 50% !important; z-index: 1000 !important; }
body.has-cart-floating-entry .service-floating-entry { top: calc(50% + 150px) !important; z-index: 999 !important; }


/* Final stable right rail for product browsing pages. */
body:not(.landing-home) .smart-search-side-entry.right-rail-entry,
body:not(.landing-home) .cart-floating-entry,
body:not(.landing-home) .service-floating-entry {
  position: fixed !important;
  left: auto !important;
  right: 0 !important;
  bottom: auto !important;
  width: 96px !important;
  min-height: 102px !important;
  padding: 12px 10px !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  place-items: center !important;
  gap: 5px !important;
  border: 1px solid rgba(25, 24, 20, 0.14) !important;
  border-right: 0 !important;
  border-radius: 18px 0 0 18px !important;
  color: #fffaf0 !important;
  background: linear-gradient(180deg, #191814 0%, #355b50 100%) !important;
  box-shadow: 0 18px 42px rgba(25, 24, 20, 0.24) !important;
  text-decoration: none !important;
  transform: translateY(-50%) !important;
  visibility: visible !important;
  opacity: 1 !important;
}

body:not(.landing-home) .cart-floating-entry { top: calc(50% - 160px) !important; z-index: 1001 !important; }
body:not(.landing-home) .smart-search-side-entry.right-rail-entry { top: 50% !important; z-index: 1000 !important; }
body:not(.landing-home) .service-floating-entry { top: calc(50% + 150px) !important; z-index: 999 !important; }

body:not(.landing-home) .smart-search-side-entry.right-rail-entry span,
body:not(.landing-home) .cart-floating-entry span,
body:not(.landing-home) .service-floating-entry span {
  display: grid !important;
  place-items: center !important;
  width: 42px !important;
  height: 42px !important;
  border-radius: 999px !important;
  background: #f3d9ad !important;
  color: #191814 !important;
  font-size: 11px !important;
  font-weight: 950 !important;
}

body:not(.landing-home) .smart-search-side-entry.right-rail-entry strong,
body:not(.landing-home) .cart-floating-entry strong,
body:not(.landing-home) .service-floating-entry strong {
  display: block !important;
  color: #fffaf0 !important;
  text-align: center !important;
  font-size: 14px !important;
  line-height: 1.15 !important;
  letter-spacing: 0 !important;
  writing-mode: horizontal-tb !important;
}

body:not(.landing-home) .cart-floating-entry small,
body:not(.landing-home) .service-floating-entry small {
  display: block !important;
  margin-top: 0 !important;
  color: rgba(255, 250, 240, 0.72) !important;
  text-align: center !important;
  font-size: 11px !important;
  line-height: 1.1 !important;
}

body.products-showcase-view .smart-search-side-entry.right-rail-entry,
body.products-showcase-view .cart-floating-entry,
body.products-showcase-view .service-floating-entry {
  display: none !important;
}

@media (max-width: 680px) {
  body:not(.landing-home) .smart-search-side-entry.right-rail-entry,
  body:not(.landing-home) .cart-floating-entry,
  body:not(.landing-home) .service-floating-entry {
    right: 12px !important;
    width: 78px !important;
    min-height: 68px !important;
    padding: 9px !important;
    border-radius: 18px !important;
    border-right: 1px solid rgba(25, 24, 20, 0.14) !important;
    transform: none !important;
  }
  body:not(.landing-home) .cart-floating-entry { top: auto !important; bottom: 144px !important; }
  body:not(.landing-home) .smart-search-side-entry.right-rail-entry { top: auto !important; bottom: 92px !important; }
  body:not(.landing-home) .service-floating-entry { top: auto !important; bottom: 12px !important; }
}

/* Compact mobile entries: shrink badge and label, drop the sub-caption. */
@media (max-width: 680px) {
  body:not(.landing-home) .smart-search-side-entry.right-rail-entry span,
  body:not(.landing-home) .cart-floating-entry span,
  body:not(.landing-home) .service-floating-entry span {
    width: 34px !important;
    height: 34px !important;
    font-size: 9px !important;
  }

  body:not(.landing-home) .cart-floating-entry strong,
  body:not(.landing-home) .service-floating-entry strong {
    font-size: 12px !important;
  }

  body:not(.landing-home) .cart-floating-entry small,
  body:not(.landing-home) .service-floating-entry small {
    display: none !important;
  }
}

/* Collapsible right rail: entries slide off-screen, toggle pill stays. */
body:not(.landing-home) .smart-search-side-entry.right-rail-entry,
body:not(.landing-home) .cart-floating-entry,
body:not(.landing-home) .service-floating-entry {
  transition: transform 0.28s ease, opacity 0.28s ease;
}

body.floating-rail-collapsed:not(.landing-home) .smart-search-side-entry.right-rail-entry,
body.floating-rail-collapsed:not(.landing-home) .cart-floating-entry,
body.floating-rail-collapsed:not(.landing-home) .service-floating-entry {
  transform: translateY(-50%) translateX(130%) !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

@media (max-width: 680px) {
  body.floating-rail-collapsed:not(.landing-home) .smart-search-side-entry.right-rail-entry,
  body.floating-rail-collapsed:not(.landing-home) .cart-floating-entry,
  body.floating-rail-collapsed:not(.landing-home) .service-floating-entry {
    transform: translateX(130%) !important;
  }
}

.rail-toggle {
  position: fixed !important;
  right: 0 !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 1002 !important;
  display: grid !important;
  place-items: center !important;
  width: 96px !important;
  height: 44px !important;
  padding: 0 !important;
  border: 1px solid rgba(25, 24, 20, 0.14) !important;
  border-right: 0 !important;
  border-radius: 18px 0 0 18px !important;
  color: #fffaf0 !important;
  background: linear-gradient(180deg, #191814 0%, #355b50 100%) !important;
  box-shadow: 0 18px 42px rgba(25, 24, 20, 0.24) !important;
  cursor: pointer !important;
  font: inherit !important;
}

.rail-toggle span {
  display: grid !important;
  place-items: center !important;
  width: 30px !important;
  height: 30px !important;
  border-radius: 999px !important;
  background: #f3d9ad !important;
  color: #191814 !important;
  font-size: 15px !important;
  font-weight: 950 !important;
  line-height: 1 !important;
}

.rail-toggle:hover,
.rail-toggle:focus-visible {
  outline: 3px solid var(--moss) !important;
  outline-offset: 2px !important;
}

@media (max-width: 680px) {
  .rail-toggle {
    right: 12px !important;
    top: auto !important;
    bottom: 92px !important;
    transform: none !important;
    width: 78px !important;
    height: 40px !important;
    border-radius: 18px !important;
    border-right: 1px solid rgba(25, 24, 20, 0.14) !important;
  }

  .rail-toggle span {
    width: 26px !important;
    height: 26px !important;
    font-size: 13px !important;
  }
}

body.products-showcase-view .rail-toggle,
body.commerce-modal-open .rail-toggle,
body.landing-home .rail-toggle {
  display: none !important;
}
/* Final product homepage search button placement - visible cache-busted adjustment */
main[data-page="products"] .product-hero-search-control,
main[data-page="products"] .product-hero-search-control:hover,
main[data-page="products"] .product-hero-search-control:focus-within {
  min-height: 60px !important;
  padding-right: 148px !important;
}

main[data-page="products"] .product-hero-search-button {
  top: 50% !important;
  right: 18px !important;
  bottom: auto !important;
  transform: translateY(-50%) !important;
  min-height: 36px !important;
  padding: 0 18px !important;
  border-radius: 999px !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  box-shadow: 0 8px 18px rgba(25, 24, 20, 0.16) !important;
}

@media (max-width: 760px) {
  main[data-page="products"] .product-hero-search-control,
  main[data-page="products"] .product-hero-search-control:hover,
  main[data-page="products"] .product-hero-search-control:focus-within {
    min-height: 56px !important;
    padding-right: 118px !important;
  }

  main[data-page="products"] .product-hero-search-button {
    right: 14px !important;
    min-height: 34px !important;
    padding: 0 14px !important;
    font-size: 13px !important;
  }
}
/* Final buyer homepage search button placement - actual b2b/b2c homepage */
main[data-buyer-home] .buyer-product-search .product-hero-search-control,
main[data-buyer-home] .buyer-product-search .product-hero-search-control:hover,
main[data-buyer-home] .buyer-product-search .product-hero-search-control:focus-within {
  min-height: 58px !important;
  padding: 0 148px 0 56px !important;
}

main[data-buyer-home] .buyer-product-search .product-hero-search-button {
  top: 50% !important;
  right: 18px !important;
  bottom: auto !important;
  transform: translateY(-50%) !important;
  min-height: 36px !important;
  padding: 0 18px !important;
  border-radius: 999px !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  box-shadow: 0 8px 18px rgba(25, 24, 20, 0.16) !important;
}

@media (max-width: 760px) {
  main[data-buyer-home] .buyer-product-search .product-hero-search-control,
  main[data-buyer-home] .buyer-product-search .product-hero-search-control:hover,
  main[data-buyer-home] .buyer-product-search .product-hero-search-control:focus-within {
    min-height: 56px !important;
    padding: 0 118px 0 46px !important;
  }

  main[data-buyer-home] .buyer-product-search .product-hero-search-button {
    right: 14px !important;
    min-height: 34px !important;
    padding: 0 14px !important;
    font-size: 13px !important;
  }
}
/* Final buyer homepage search button placement - move below input visibly */
main[data-buyer-home] .buyer-product-search .product-search-hero-inner {
  display: grid !important;
  justify-items: center !important;
  gap: 10px !important;
  width: min(780px, calc(100% - 32px)) !important;
}

main[data-buyer-home] .buyer-product-search .product-hero-search-control,
main[data-buyer-home] .buyer-product-search .product-hero-search-control:hover,
main[data-buyer-home] .buyer-product-search .product-hero-search-control:focus-within {
  width: 100% !important;
  min-height: 58px !important;
  padding: 0 56px !important;
}

main[data-buyer-home] .buyer-product-search .product-hero-search-button {
  position: static !important;
  right: auto !important;
  top: auto !important;
  bottom: auto !important;
  transform: none !important;
  justify-self: center !important;
  min-width: 128px !important;
  min-height: 40px !important;
  margin: 0 !important;
  padding: 0 22px !important;
  border-radius: 999px !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  box-shadow: 0 12px 26px rgba(25, 24, 20, 0.20) !important;
}

@media (max-width: 760px) {
  main[data-buyer-home] .buyer-product-search .product-search-hero-inner {
    width: min(100%, calc(100% - 24px)) !important;
  }

  main[data-buyer-home] .buyer-product-search .product-hero-search-control,
  main[data-buyer-home] .buyer-product-search .product-hero-search-control:hover,
  main[data-buyer-home] .buyer-product-search .product-hero-search-control:focus-within {
    min-height: 54px !important;
    padding: 0 46px !important;
  }

  main[data-buyer-home] .buyer-product-search .product-hero-search-button {
    min-height: 38px !important;
    min-width: 116px !important;
    padding: 0 18px !important;
    font-size: 13px !important;
  }
}
/* Absolute final override: b2b/b2c buyer homepage search button position */
body:not(.landing-home) main[data-buyer-home] > .buyer-product-search.product-search-hero .product-search-hero-inner {
  display: grid !important;
  justify-items: center !important;
  gap: 10px !important;
}

body:not(.landing-home) main[data-buyer-home] > .buyer-product-search.product-search-hero .product-hero-search-control,
body:not(.landing-home) main[data-buyer-home] > .buyer-product-search.product-search-hero .product-hero-search-control:hover,
body:not(.landing-home) main[data-buyer-home] > .buyer-product-search.product-search-hero .product-hero-search-control:focus-within {
  width: 100% !important;
  padding: 0 56px !important;
}

body:not(.landing-home) main[data-buyer-home] > .buyer-product-search.product-search-hero .product-search-hero-inner > .product-hero-search-button {
  position: static !important;
  inset: auto !important;
  right: auto !important;
  top: auto !important;
  bottom: auto !important;
  left: auto !important;
  transform: none !important;
  justify-self: center !important;
  min-width: 128px !important;
  min-height: 40px !important;
  margin: 0 !important;
  padding: 0 22px !important;
  border-radius: 999px !important;
  box-shadow: 0 12px 26px rgba(25, 24, 20, 0.20) !important;
}
/* Absolute final override: keep buyer homepage search button inside input */
body:not(.landing-home) main[data-buyer-home] > .buyer-product-search.product-search-hero .product-search-hero-inner {
  position: relative !important;
  display: block !important;
  width: min(780px, calc(100% - 32px)) !important;
  max-width: 780px !important;
  margin-inline: auto !important;
}

body:not(.landing-home) main[data-buyer-home] > .buyer-product-search.product-search-hero .product-hero-search-control,
body:not(.landing-home) main[data-buyer-home] > .buyer-product-search.product-search-hero .product-hero-search-control:hover,
body:not(.landing-home) main[data-buyer-home] > .buyer-product-search.product-search-hero .product-hero-search-control:focus-within {
  width: 100% !important;
  min-height: 58px !important;
  padding: 0 148px 0 56px !important;
}

body:not(.landing-home) main[data-buyer-home] > .buyer-product-search.product-search-hero .product-search-hero-inner > .product-hero-search-button {
  position: absolute !important;
  inset: auto !important;
  right: 12px !important;
  top: 50% !important;
  bottom: auto !important;
  left: auto !important;
  transform: translateY(-50%) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 112px !important;
  min-height: 40px !important;
  margin: 0 !important;
  padding: 0 18px !important;
  border-radius: 999px !important;
  box-shadow: none !important;
}

@media (max-width: 760px) {
  body:not(.landing-home) main[data-buyer-home] > .buyer-product-search.product-search-hero .product-search-hero-inner {
    width: min(100%, calc(100% - 20px)) !important;
  }

  body:not(.landing-home) main[data-buyer-home] > .buyer-product-search.product-search-hero .product-hero-search-control,
  body:not(.landing-home) main[data-buyer-home] > .buyer-product-search.product-search-hero .product-hero-search-control:hover,
  body:not(.landing-home) main[data-buyer-home] > .buyer-product-search.product-search-hero .product-hero-search-control:focus-within {
    min-height: 54px !important;
    padding: 0 118px 0 46px !important;
  }

  body:not(.landing-home) main[data-buyer-home] > .buyer-product-search.product-search-hero .product-search-hero-inner > .product-hero-search-button {
    right: 8px !important;
    min-width: 98px !important;
    min-height: 36px !important;
    padding: 0 14px !important;
    font-size: 13px !important;
  }
}
/* Absolute final override: keep buyer homepage search button inside input but pull left */
body:not(.landing-home) main[data-buyer-home] > .buyer-product-search.product-search-hero .product-hero-search-control,
body:not(.landing-home) main[data-buyer-home] > .buyer-product-search.product-search-hero .product-hero-search-control:hover,
body:not(.landing-home) main[data-buyer-home] > .buyer-product-search.product-search-hero .product-hero-search-control:focus-within {
  padding: 0 230px 0 56px !important;
}

body:not(.landing-home) main[data-buyer-home] > .buyer-product-search.product-search-hero .product-search-hero-inner > .product-hero-search-button {
  position: absolute !important;
  inset: auto !important;
  right: 76px !important;
  top: 50% !important;
  bottom: auto !important;
  left: auto !important;
  transform: translateY(-50%) !important;
  min-width: 112px !important;
  min-height: 40px !important;
  padding: 0 18px !important;
}

@media (max-width: 760px) {
  body:not(.landing-home) main[data-buyer-home] > .buyer-product-search.product-search-hero .product-hero-search-control,
  body:not(.landing-home) main[data-buyer-home] > .buyer-product-search.product-search-hero .product-hero-search-control:hover,
  body:not(.landing-home) main[data-buyer-home] > .buyer-product-search.product-search-hero .product-hero-search-control:focus-within {
    padding: 0 166px 0 46px !important;
  }

  body:not(.landing-home) main[data-buyer-home] > .buyer-product-search.product-search-hero .product-search-hero-inner > .product-hero-search-button {
    right: 42px !important;
    min-width: 98px !important;
    min-height: 36px !important;
    padding: 0 14px !important;
  }
}
/* Absolute final buyer search layout: compact centered pill with button at the end */
body:not(.landing-home) main[data-buyer-home] > .buyer-product-search.product-search-hero .product-search-hero-inner {
  position: relative !important;
  display: block !important;
  width: min(680px, calc(100% - 96px)) !important;
  max-width: 680px !important;
  margin-inline: auto !important;
}

body:not(.landing-home) main[data-buyer-home] > .buyer-product-search.product-search-hero .product-hero-search-control,
body:not(.landing-home) main[data-buyer-home] > .buyer-product-search.product-search-hero .product-hero-search-control:hover,
body:not(.landing-home) main[data-buyer-home] > .buyer-product-search.product-search-hero .product-hero-search-control:focus-within {
  width: 100% !important;
  min-height: 58px !important;
  padding: 0 138px 0 56px !important;
}

body:not(.landing-home) main[data-buyer-home] > .buyer-product-search.product-search-hero .product-search-hero-inner > .product-hero-search-button {
  position: absolute !important;
  inset: auto !important;
  right: 10px !important;
  top: 50% !important;
  bottom: auto !important;
  left: auto !important;
  transform: translateY(-50%) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 112px !important;
  min-height: 40px !important;
  margin: 0 !important;
  padding: 0 18px !important;
  border-radius: 999px !important;
  box-shadow: none !important;
}

@media (max-width: 760px) {
  body:not(.landing-home) main[data-buyer-home] > .buyer-product-search.product-search-hero .product-search-hero-inner {
    width: min(100%, calc(100% - 28px)) !important;
  }

  body:not(.landing-home) main[data-buyer-home] > .buyer-product-search.product-search-hero .product-hero-search-control,
  body:not(.landing-home) main[data-buyer-home] > .buyer-product-search.product-search-hero .product-hero-search-control:hover,
  body:not(.landing-home) main[data-buyer-home] > .buyer-product-search.product-search-hero .product-hero-search-control:focus-within {
    min-height: 54px !important;
    padding: 0 116px 0 46px !important;
  }

  body:not(.landing-home) main[data-buyer-home] > .buyer-product-search.product-search-hero .product-search-hero-inner > .product-hero-search-button {
    right: 8px !important;
    min-width: 96px !important;
    min-height: 36px !important;
    padding: 0 14px !important;
    font-size: 13px !important;
  }
}




/* Product inquiry snapshot */
.product-inquiry-summary {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.product-inquiry-summary[hidden] { display: none; }
.product-inquiry-summary img {
  width: 112px;
  height: 112px;
  border-radius: 6px;
  background: #f2eee6;
  object-fit: cover;
}
.product-inquiry-summary-copy { min-width: 0; }
.product-inquiry-summary-copy > strong {
  display: block;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.4;
}
.product-inquiry-summary dl { display: grid; gap: 7px; margin: 10px 0 0; }
.product-inquiry-summary dl div { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 8px; }
.product-inquiry-summary dt { color: var(--muted); font-size: 12px; font-weight: 800; }
.product-inquiry-summary dd { min-width: 0; margin: 0; color: var(--ink); font-size: 13px; line-height: 1.55; overflow-wrap: anywhere; }
.quote-form input[readonly] { color: var(--ink); background: #f5f2eb; cursor: default; }
@media (max-width: 760px) {
  .product-inquiry-summary { grid-template-columns: 1fr; }
  .product-inquiry-summary img { width: 100%; height: auto; aspect-ratio: 16 / 9; }
}
/* Product page: separate smart search from submitted regular search. */
main[data-page="products"] .product-search-hero-inner {
  width: min(920px, calc(100% - 32px)) !important;
  max-width: 920px !important;
}

main[data-page="products"] .product-smart-search {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 64px;
  padding: 8px 10px;
  border: 2px solid transparent;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(25, 24, 20, 0.16);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

main[data-page="products"] .product-smart-search:focus-within {
  border-color: rgba(53, 91, 80, 0.55);
  box-shadow: 0 12px 32px rgba(25, 24, 20, 0.14), 0 0 0 3px rgba(53, 91, 80, 0.12);
}

main[data-page="products"] .product-smart-search.is-dragging {
  border-color: var(--moss);
  border-style: dashed;
  background: #f4f8f5;
}

main[data-page="products"] .product-smart-search.is-loading {
  opacity: 0.72;
}

main[data-page="products"] .product-smart-search-add,
main[data-page="products"] .product-smart-search-remove {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

main[data-page="products"] .product-smart-search-add:hover,
main[data-page="products"] .product-smart-search-add:focus-visible {
  background: #f2f0ea;
}

main[data-page="products"] .product-smart-search textarea {
  width: 100%;
  min-width: 0;
  min-height: 28px;
  max-height: 64px;
  margin: 0;
  padding: 3px 4px;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font: inherit;
  line-height: 1.5;
  resize: none;
}

main[data-page="products"] .product-smart-search-submit {
  position: static !important;
  transform: none !important;
  min-width: 112px;
  min-height: 44px;
  margin: 0;
  padding: 0 18px;
  border-radius: 999px;
  white-space: nowrap;
}

main[data-page="products"] .product-smart-search-attachment {
  grid-column: 2;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 32px;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 4px 6px;
  border: 1px solid rgba(25, 24, 20, 0.12);
  border-radius: 6px;
  background: #f7f6f2;
}

main[data-page="products"] .product-smart-search-attachment[hidden] {
  display: none;
}

main[data-page="products"] .product-smart-search-attachment img {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  object-fit: cover;
}

main[data-page="products"] .product-smart-search-attachment span {
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  font-size: 12px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

main[data-page="products"] .product-smart-search-remove {
  width: 32px;
  height: 32px;
  font-size: 21px;
}

main[data-page="products"] .product-smart-search-status {
  min-height: 22px;
  margin: 7px 14px 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 750;
  text-align: left;
}

main[data-page="products"] .product-smart-search-status[data-status="error"] {
  color: #c81e1e;
  background: #fff5f5;
  border: 1px solid #f3b4b4;
  border-radius: 8px;
  padding: 8px 10px;
  font-weight: 800;
}
main[data-page="products"] .product-smart-search-quota {
  color: #c81e1e;
  opacity: 1;
  font-weight: 800;
}

main[data-page="products"] .product-catalog-actions {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  width: min(920px, 100%);
  margin: 0 0 24px;
}

main[data-page="products"] .product-filter-summary {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

main[data-page="products"] .product-filter-toast {
  position: fixed;
  top: 92px;
  left: 18px;
  z-index: 35;
  width: min(420px, calc(100vw - 36px));
  margin: 0;
  padding: 12px 16px 12px 14px;
  border: 1px solid rgba(25, 24, 20, 0.14);
  border-left: 4px solid var(--moss);
  border-radius: 6px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 14px 34px rgba(25, 24, 20, 0.16);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.5;
  overflow-wrap: anywhere;
  pointer-events: none;
  opacity: 0;
  transform: translateX(calc(-100% - 24px));
  transition: transform 260ms ease, opacity 180ms ease;
}

main[data-page="products"] .product-filter-toast.is-visible {
  opacity: 1;
  transform: translateX(0);
}

main[data-page="products"] .product-regular-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: end;
  gap: 10px;
  flex: 1 1 560px;
  width: 100%;
  max-width: 680px;
  margin: 0;
}

main[data-page="products"] .product-regular-search label {
  display: grid;
  gap: 7px;
  min-width: 0;
}

main[data-page="products"] .product-regular-search label span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

main[data-page="products"] .product-regular-search input[type="search"] {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

main[data-page="products"] .product-regular-search input[type="search"]:focus {
  border-color: var(--moss);
  outline: 3px solid rgba(53, 91, 80, 0.12);
}

main[data-page="products"] .product-regular-search .button,
main[data-page="products"] .product-regular-search .filter-button {
  min-height: 48px;
  margin: 0;
  white-space: nowrap;
}

@media (max-width: 760px) {
  main[data-page="products"] .product-filter-toast {
    top: 82px;
    left: 12px;
    width: calc(100vw - 24px);
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  main[data-page="products"] .product-filter-toast {
    transition: opacity 1ms linear;
  }
}

main[data-page="products"] .product-ai-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 16px 0 0;
  padding: 12px 14px;
  border-left: 3px solid var(--moss);
  background: #f2f6f3;
  color: var(--ink);
  font-size: 14px;
  font-weight: 750;
}

main[data-page="products"] .product-ai-summary[hidden] {
  display: none;
}

main[data-page="products"] .products-filter-dropdown {
  position: relative;
  z-index: 60;
  display: inline-flex;
  align-items: flex-start;
  flex: 0 0 auto;
  margin: 0;
}

main[data-page="products"] .products-more-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  margin: 0;
  white-space: nowrap;
}

main[data-page="products"] .products-category-chevron {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-top: -3px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 160ms ease;
}

main[data-page="products"] .products-filter-dropdown.is-expanded .products-category-chevron {
  margin-top: 3px;
  transform: rotate(225deg);
}

main[data-page="products"] .category-filter-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 20;
  width: min(560px, calc(100vw - 40px));
  margin: 0;
  padding: 14px;
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(20, 33, 43, 0.14);
}

main[data-page="products"] .category-filter-panel[hidden] {
  display: none;
}

main[data-page="products"] .category-filter-row {
  gap: 8px;
  min-height: 40px;
}

main[data-page="products"] .category-filter-label {
  flex: 0 0 48px;
  min-width: 48px;
}

@media (max-width: 760px) {
  main[data-page="products"] .product-search-hero-inner {
    width: min(100%, calc(100% - 20px)) !important;
  }

  main[data-page="products"] .product-smart-search {
    grid-template-columns: 44px minmax(0, 1fr) auto;
    min-height: 60px;
    padding: 7px;
    border-radius: 8px;
  }

  main[data-page="products"] .product-smart-search-attachment {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  main[data-page="products"] .product-smart-search textarea {
    font-size: 14px;
  }

  main[data-page="products"] .product-smart-search-submit {
    min-width: 92px;
    min-height: 44px;
    padding-inline: 12px;
    font-size: 13px;
  }

  main[data-page="products"] .product-regular-search {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  main[data-page="products"] .product-regular-search label {
    grid-column: 1 / -1;
  }

  main[data-page="products"] .product-ai-summary {
    align-items: flex-start;
    flex-direction: column;
  }

  main[data-page="products"] .product-catalog-actions {
    align-items: stretch;
    flex-direction: column;
  }

  main[data-page="products"] .product-regular-search {
    max-width: none;
  }

  main[data-page="products"] .products-filter-dropdown {
    align-self: flex-start;
    max-width: 100%;
  }

  main[data-page="products"] .category-filter-panel {
    left: 0;
    right: auto;
    width: min(560px, calc(100vw - 20px));
  }

  main[data-page="products"] .category-filter-label {
    flex-basis: 100%;
  }
}

@media (max-width: 420px) {
  main[data-page="products"] .product-smart-search {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  main[data-page="products"] .product-smart-search-submit {
    grid-column: 1 / -1;
    width: 100%;
  }

  main[data-page="products"] .product-regular-search {
    grid-template-columns: 1fr;
  }

  main[data-page="products"] .product-regular-search .button,
  main[data-page="products"] .product-regular-search .filter-button {
    width: 100%;
  }
}

/* Product filter panel: stable controls and action row. */
main[data-page="products"] .product-advanced-filter-panel {
  width: min(620px, calc(100vw - 32px));
  padding: 20px;
  background: #fffaf0;
}

main[data-page="products"] .product-advanced-filter-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

main[data-page="products"] .product-advanced-filter-heading strong {
  font-size: 15px;
}

main[data-page="products"] .product-advanced-filter-heading span {
  color: var(--muted);
  font-size: 12px;
}

main[data-page="products"] .product-advanced-filter-grid {
  display: none;
}

main[data-page="products"] .product-price-filter-row {
  align-items: center;
}

main[data-page="products"] .product-price-range {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1 1 240px;
}

main[data-page="products"] .product-price-range input {
  width: 112px;
  min-width: 0;
  min-height: 28px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: #eef0ec;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
}

main[data-page="products"] .product-price-range input::placeholder {
  color: #8b938c;
  font-weight: 700;
}

main[data-page="products"] .product-price-range input::-webkit-outer-spin-button,
main[data-page="products"] .product-price-range input::-webkit-inner-spin-button {
  margin: 0;
  appearance: none;
}

main[data-page="products"] .product-price-range input[type="number"] {
  appearance: textfield;
}

main[data-page="products"] .product-price-range span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

main[data-page="products"] .product-advanced-filter-grid .filter-control {
  display: grid;
  gap: 7px;
  min-width: 0;
}

main[data-page="products"] .product-advanced-filter-grid .filter-control > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

main[data-page="products"] .product-advanced-filter-grid select,
main[data-page="products"] .product-advanced-filter-grid input[type="number"] {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
}

main[data-page="products"] .product-advanced-filter-grid .product-hot-toggle {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(53, 91, 80, 0.04);
}

main[data-page="products"] .product-advanced-filter-grid .product-hot-toggle input {
  width: 18px;
  height: 18px;
  margin: 0;
}

main[data-page="products"] .product-advanced-filter-grid .product-hot-toggle span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

main[data-page="products"] .product-advanced-filter-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

main[data-page="products"] .product-advanced-filter-footer .filter-button,
main[data-page="products"] .product-advanced-filter-footer .button {
  min-height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 12px;
}

main[data-page="products"] .product-advanced-filter-footer .filter-button {
  color: var(--ink);
  background: #fffdf8;
}

@media (max-width: 760px) {
  main[data-page="products"] .product-advanced-filter-panel { width: min(620px, calc(100vw - 20px)); }
  main[data-page="products"] .product-advanced-filter-heading { align-items: flex-start; flex-direction: column; }
  main[data-page="products"] .product-advanced-filter-grid { grid-template-columns: 1fr; }
}


/* Buyer homepages: shared smart-search control. */
main[data-buyer-home] .product-search-hero-inner {
  width: min(920px, calc(100% - 32px)) !important;
  max-width: 920px !important;
}

main[data-buyer-home] .product-smart-search {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 64px;
  padding: 8px 10px;
  border: 2px solid transparent;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(25, 24, 20, 0.18);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

main[data-buyer-home] .product-smart-search:focus-within {
  border-color: rgba(53, 91, 80, 0.55);
  box-shadow: 0 12px 32px rgba(25, 24, 20, 0.16), 0 0 0 3px rgba(255, 255, 255, 0.28);
}

main[data-buyer-home] .product-smart-search.is-dragging {
  border-color: var(--moss);
  border-style: dashed;
  background: #f4f8f5;
}

main[data-buyer-home] .product-smart-search.is-loading {
  opacity: 0.72;
}

main[data-buyer-home] .product-smart-search-add,
main[data-buyer-home] .product-smart-search-remove {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

main[data-buyer-home] .product-smart-search-add:hover,
main[data-buyer-home] .product-smart-search-add:focus-visible {
  background: #f2f0ea;
}

main[data-buyer-home] .product-smart-search textarea {
  width: 100%;
  min-width: 0;
  min-height: 28px;
  max-height: 64px;
  margin: 0;
  padding: 3px 4px;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font: inherit;
  line-height: 1.5;
  resize: none;
}

main[data-buyer-home] .product-smart-search-submit {
  position: static !important;
  transform: none !important;
  min-width: 112px;
  min-height: 44px;
  margin: 0;
  padding: 0 18px;
  border-radius: 999px;
  white-space: nowrap;
}

main[data-buyer-home] .product-smart-search-attachment {
  grid-column: 2;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 32px;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 4px 6px;
  border: 1px solid rgba(25, 24, 20, 0.12);
  border-radius: 6px;
  background: #f7f6f2;
}

main[data-buyer-home] .product-smart-search-attachment[hidden] {
  display: none;
}

main[data-buyer-home] .product-smart-search-attachment img {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  object-fit: cover;
}

main[data-buyer-home] .product-smart-search-attachment span {
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  font-size: 12px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

main[data-buyer-home] .product-smart-search-remove {
  width: 32px;
  height: 32px;
  font-size: 21px;
}

main[data-buyer-home] .product-smart-search-status {
  min-height: 22px;
  margin: 7px 14px 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 750;
  text-align: left;
}

main[data-buyer-home] .product-smart-search-status[data-status="error"] {
  color: #ffe0db;
}

@media (max-width: 760px) {
  main[data-buyer-home] .product-search-hero-inner {
    width: min(100%, calc(100% - 20px)) !important;
  }

  main[data-buyer-home] .product-smart-search {
    grid-template-columns: 44px minmax(0, 1fr) auto;
    min-height: 60px;
    padding: 7px;
    border-radius: 8px;
  }

  main[data-buyer-home] .product-smart-search-attachment {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  main[data-buyer-home] .product-smart-search textarea {
    font-size: 14px;
  }

  main[data-buyer-home] .product-smart-search-submit {
    min-width: 92px;
    min-height: 44px;
    padding-inline: 12px;
    font-size: 13px;
  }
}

@media (max-width: 420px) {
  main[data-buyer-home] .product-smart-search {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  main[data-buyer-home] .product-smart-search-submit {
    grid-column: 1 / -1;
    width: 100%;
  }
}


.contact-methods {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.contact-methods legend {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}
.contact-method-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.contact-method-option {
  min-width: 0;
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fffdf8;
  color: var(--ink);
  cursor: pointer;
}
.contact-method-option:has(input:checked) {
  border-color: var(--ink);
  background: #f2eee5;
}
.contact-method-option input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--ink);
}
.contact-method-whatsapp {
  justify-content: space-between;
  color: var(--ink);
  text-decoration: none;
}
.contact-method-whatsapp strong {
  margin-left: auto;
  font-size: 13px;
}
.contact-method-whatsapp:hover,
.contact-method-whatsapp:focus-visible {
  border-color: var(--ink);
  background: #f2eee5;
}
.contact-method-whatsapp.is-unavailable {
  cursor: not-allowed;
  opacity: 0.55;
  pointer-events: none;
}
.contact-methods.is-invalid .contact-method-options {
  outline: 2px solid #ff4d1c;
  outline-offset: 2px;
}
@media (max-width: 560px) {
  .contact-method-options { grid-template-columns: 1fr; }
}


.enterprise-wechat-qr-dialog {
  width: min(360px, calc(100vw - 32px));
  margin: auto;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fffdf8;
  box-shadow: 0 20px 56px rgba(25, 24, 20, 0.28);
}

.enterprise-wechat-qr-dialog::backdrop {
  background: rgba(25, 24, 20, 0.5);
}

.enterprise-wechat-qr-dialog__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.enterprise-wechat-qr-dialog__header h2 {
  min-width: 0;
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.enterprise-wechat-qr-dialog__close {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  line-height: 1;
  cursor: pointer;
}

.enterprise-wechat-qr-dialog__close:hover,
.enterprise-wechat-qr-dialog__close:focus-visible {
  border-color: var(--ink);
  background: #f2eee5;
}

.enterprise-wechat-qr-dialog__copy {
  margin: 10px 0 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.enterprise-wechat-qr-dialog__image-wrap {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.enterprise-wechat-qr-dialog__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.enterprise-wechat-qr-dialog__image-wrap img[hidden],
.enterprise-wechat-qr-dialog.has-image-error .enterprise-wechat-qr-dialog__image-wrap {
  display: none;
}

.enterprise-wechat-qr-dialog__fallback {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  margin-top: 14px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.enterprise-wechat-qr-dialog__fallback[hidden] {
  display: none;
}

@media (max-width: 420px) {
  .enterprise-wechat-qr-dialog {
    padding: 14px;
  }

  .enterprise-wechat-qr-dialog__copy {
    margin-bottom: 12px;
  }
}

:dir(rtl) .site-header {
  direction: rtl;
}

:dir(rtl) .header-actions {
  justify-self: start;
  direction: rtl;
}

:dir(rtl) .hero-actions {
  justify-content: flex-start;
}

:dir(rtl) .product-price-campaign,
:dir(rtl) [data-price] {
  direction: ltr;
  unicode-bidi: isolate;
  text-align: left;
}

.product-commerce-panel .form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 2px;
}

.product-commerce-panel .form-actions > [data-submit-kind] {
  flex: 1 1 170px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
}

.product-commerce-panel .form-actions > [data-submit-kind="inquiry"] {
  color: var(--moss);
  background: #fffdf8;
  border-color: rgba(53, 91, 80, 0.38);
}

.product-commerce-panel .form-actions > [data-submit-kind="inquiry"]:hover {
  background: #f3f5f0;
  border-color: var(--moss);
}

.product-commerce-panel .form-actions > [data-submit-kind="order"] {
  color: var(--surface);
  background: var(--moss);
  border-color: var(--moss);
}

.product-commerce-panel .form-actions > [data-submit-kind="order"]:hover {
  background: #294a40;
  border-color: #294a40;
}

.product-commerce-panel .form-actions > [data-submit-kind="inquiry"]:focus-visible,
.product-commerce-panel .form-actions > [data-submit-kind="order"]:focus-visible {
  outline: 3px solid var(--moss);
  outline-offset: 2px;
}

.product-commerce-panel .form-actions > [data-submit-kind][hidden] {
  display: none !important;
}

@media (max-width: 560px) {
  .product-commerce-panel .form-actions > [data-submit-kind] {
    flex-basis: 100%;
  }
}

/* Buyer-home browse action hierarchy */
main[data-buyer-home] .center-action {
  display: flex;
  justify-content: flex-start;
  margin-top: 16px;
}

main[data-buyer-home] .center-action .button.primary {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(36, 86, 135, 0.36);
  border-radius: 8px;
  color: var(--cobalt);
  background: #fffdf8;
  box-shadow: none;
  font-size: 14px;
  font-weight: 800;
}

main[data-buyer-home] .center-action .button.primary::after {
  content: "\2192";
  margin-left: 8px;
  font-size: 16px;
  line-height: 1;
}

main[data-buyer-home] .center-action .button.primary:hover {
  color: #fff;
  border-color: var(--cobalt);
  background: var(--cobalt);
  transform: translateY(-1px);
}

main[data-buyer-home] .center-action .button.primary:focus-visible {
  color: #fff;
  border-color: var(--cobalt);
  background: var(--cobalt);
  outline: 3px solid rgba(36, 86, 135, 0.35);
  outline-offset: 2px;
  transform: translateY(-1px);
}

@media (max-width: 520px) {
  main[data-buyer-home] .center-action .button.primary {
    padding: 0 14px;
  }
}

/* Route skeleton */
body.site-skeleton-route > :not(.site-loading-skeleton) {
  transition: opacity 180ms ease-out;
}

body.site-skeleton-pending > :not(.site-loading-skeleton) {
  visibility: hidden;
  opacity: 0;
  animation: site-skeleton-failsafe-reveal 180ms ease-out calc(1200ms - 180ms) forwards;
}

body.site-skeleton-route:not(.site-skeleton-pending) > :not(.site-loading-skeleton) {
  visibility: visible;
  opacity: 1;
}

.site-loading-skeleton {
  position: fixed;
  z-index: 10000;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  background: var(--paper);
  color: transparent;
  transition: opacity 180ms ease-out, visibility 0s linear 180ms;
}

body.site-skeleton-pending .site-loading-skeleton {
  visibility: visible;
  opacity: 1;
  transition-delay: 0s;
  animation: site-skeleton-failsafe-hide 180ms ease-out calc(1200ms - 180ms) forwards;
}

.site-skeleton-shell {
  width: min(1180px, calc(100% - 40px));
  min-height: 100%;
  margin: 0 auto;
}

.site-skeleton-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 73px;
  border-bottom: 1px solid var(--line);
}

.site-skeleton-block {
  display: block;
  flex: 0 0 auto;
  border-radius: 5px;
  background: #ede4d7;
}

.site-skeleton-brand {
  width: 156px;
  height: 30px;
  margin-right: auto;
}

.site-skeleton-nav-link {
  width: 58px;
  height: 12px;
}

.site-skeleton-nav-action {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.site-skeleton-catalog-hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  min-height: clamp(290px, 42vh, 430px);
  padding: clamp(32px, 5vw, 72px) 0;
}

.site-skeleton-kicker {
  width: 84px;
  height: 12px;
}

.site-skeleton-title {
  width: min(580px, 76%);
  height: clamp(28px, 4vw, 48px);
  border-radius: 7px;
}

.site-skeleton-title-short {
  width: min(410px, 58%);
}

.site-skeleton-search {
  width: min(720px, 100%);
  height: 58px;
  margin-top: 12px;
  border: 1px solid rgba(25, 24, 20, 0.1);
  border-radius: 8px;
  background: var(--surface);
}

.site-skeleton-catalog-content {
  padding: 18px 0 48px;
}

.site-skeleton-filter-row {
  display: none;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.site-skeleton-catalog-products .site-skeleton-filter-row {
  display: grid;
}

.site-skeleton-filter-row .site-skeleton-block {
  height: 42px;
  border: 1px solid rgba(25, 24, 20, 0.1);
  background: var(--surface);
}

.site-skeleton-section-title {
  width: 188px;
  height: 24px;
  margin-bottom: 20px;
}

.site-skeleton-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.site-skeleton-catalog-products .site-skeleton-card-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.site-skeleton-card {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.site-skeleton-card-media {
  width: 100%;
  aspect-ratio: 1.22;
  border-radius: 6px;
}

.site-skeleton-card-line {
  width: 82%;
  height: 14px;
}

.site-skeleton-card-line-short {
  width: 58%;
  height: 11px;
}

.site-skeleton-shimmer {
  background: linear-gradient(90deg, #ede4d7 0%, #f6f0e4 50%, #ede4d7 100%);
  background-size: 220% 100%;
  animation: site-skeleton-shimmer 1.4s linear infinite;
}

.site-skeleton-products {
  background: #fff;
}

.site-skeleton-products-header {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto auto auto auto;
  gap: clamp(12px, 2vw, 28px);
  align-items: center;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
}

.site-skeleton-products-header-brand {
  display: flex;
  gap: 12px;
  align-items: center;
}

.site-skeleton-products-header-mark,
.site-skeleton-products-header-contact {
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

.site-skeleton-products-header-contact {
  background: #191814;
}

.site-skeleton-products-header-wordmark {
  display: grid;
  gap: 4px;
}

.site-skeleton-products-header-title {
  width: 76px;
  height: 12px;
}

.site-skeleton-products-header-subtitle {
  width: 94px;
  height: 8px;
}

.site-skeleton-products-header-nav {
  display: flex;
  gap: clamp(12px, 2vw, 28px);
}

.site-skeleton-products-header-nav .site-skeleton-block {
  width: 34px;
  height: 11px;
}

.site-skeleton-products-header-admin,
.site-skeleton-products-header-language {
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.site-skeleton-products-header-admin {
  width: 88px;
}

.site-skeleton-products-header-language {
  width: 52px;
}

.site-skeleton-products-hero {
  display: grid;
  align-items: center;
  min-height: clamp(300px, 40vh, 460px);
  padding: clamp(82px, 9vw, 136px) clamp(18px, 4vw, 56px) clamp(48px, 6vw, 78px);
  background: #dcded9;
}

.site-skeleton-products-hero-inner {
  width: min(920px, calc(100% - 32px));
  max-width: 920px;
  margin: 0 auto;
}

.site-skeleton-products-hero-kicker {
  width: 84px;
  height: 14px;
  margin: 0 auto 12px;
  background: rgba(255, 255, 255, 0.66);
}

.site-skeleton-products-hero-search {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 112px;
  gap: 8px;
  align-items: center;
  width: 100%;
  min-height: 64px;
  padding: 8px 10px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(25, 24, 20, 0.16);
}

.site-skeleton-products-hero-search-add {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f2f0ea;
}

.site-skeleton-products-hero-search-text {
  width: 64%;
  height: 12px;
  background: #e6e2da;
}

.site-skeleton-products-hero-search-submit {
  width: 112px;
  height: 44px;
  border-radius: 999px;
  background: #191814;
}

.site-skeleton-products-catalog {
  min-height: 100%;
  padding: clamp(54px, 8vw, 110px) clamp(18px, 4vw, 56px);
}

.site-skeleton-products-filter-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr)) max-content max-content;
  gap: 10px;
  align-items: end;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.72);
}

.site-skeleton-products-filter-field,
.site-skeleton-products-search-field {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.site-skeleton-products-label {
  width: 48px;
  height: 11px;
}

.site-skeleton-products-control,
.site-skeleton-products-search-control,
.site-skeleton-products-reset,
.site-skeleton-products-search-button,
.site-skeleton-products-category-button {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
}

.site-skeleton-products-control {
  width: 100%;
  height: 42px;
}

.site-skeleton-products-hot-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 2px;
}

.site-skeleton-products-checkbox {
  width: 13px;
  height: 13px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #fff;
}

.site-skeleton-products-toggle-label {
  width: 92px;
  height: 11px;
}

.site-skeleton-products-reset {
  width: 58px;
  height: 42px;
}

.site-skeleton-products-catalog-actions {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  width: min(840px, 100%);
  margin: 18px 0 24px;
}

.site-skeleton-products-filter-button {
  display: block;
  width: 176px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
}

.site-skeleton-products-search-field {
  flex: 1 1 560px;
  width: min(680px, 100%);
  max-width: 680px;
}

.site-skeleton-products-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 64px;
  gap: 10px;
}

.site-skeleton-products-search-control,
.site-skeleton-products-search-button,
.site-skeleton-products-category-button {
  height: 44px;
}

.site-skeleton-products-category-button {
  flex: 0 0 auto;
  width: 102px;
}

.site-skeleton-products-card-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.site-skeleton-products-card {
  display: grid;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.site-skeleton-products-card-media {
  width: 100%;
  aspect-ratio: 1.22;
  border-radius: 0;
  border-bottom: 1px solid var(--line);
}

.site-skeleton-products-card-body {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 232px;
  padding: 14px 16px 16px;
}

.site-skeleton-products-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.site-skeleton-products-card-type {
  width: 36px;
  height: 11px;
}

.site-skeleton-products-card-heat {
  width: 48px;
  height: 16px;
}

.site-skeleton-products-card-chips {
  display: flex;
  gap: 7px;
}

.site-skeleton-products-card-chips .site-skeleton-block {
  width: 96px;
  height: 24px;
  border: 1px solid rgba(25, 24, 20, 0.08);
  border-radius: 999px;
  background: #f4f0e8;
}

.site-skeleton-products-card-chips .site-skeleton-block:nth-child(2) {
  width: 64px;
}

.site-skeleton-products-card-chips .site-skeleton-block:nth-child(3) {
  width: 38px;
}

.site-skeleton-products-card-title {
  width: 58%;
  height: 22px;
  margin-top: 3px;
  border-radius: 5px;
}

.site-skeleton-products-card-copy {
  width: 100%;
  height: 12px;
}

.site-skeleton-products-card-copy-short {
  width: 74%;
}

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

.site-skeleton-products-card-actions .site-skeleton-block {
  width: 100%;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.site-skeleton-products-card-actions .site-skeleton-block:nth-child(2) {
  background: #d7e0d9;
}

.site-skeleton-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(360px, 33vw, 520px);
  gap: clamp(28px, 5vw, 72px);
  padding-top: clamp(32px, 5vw, 72px);
}

.site-skeleton-gallery {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 14px;
  min-width: 0;
}

.site-skeleton-thumb-column {
  display: grid;
  align-content: start;
  gap: 12px;
}

.site-skeleton-thumb-column .site-skeleton-block {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 6px;
}

.site-skeleton-detail-media {
  width: 100%;
  min-height: min(58vh, 620px);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.site-skeleton-detail-copy {
  display: grid;
  align-content: start;
  gap: 15px;
  padding: 12px 0;
}

.site-skeleton-detail-title {
  width: 94%;
  height: 34px;
  border-radius: 6px;
}

.site-skeleton-detail-title-short {
  width: 64%;
}

.site-skeleton-copy-line {
  width: 92%;
  height: 13px;
}

.site-skeleton-copy-line-short {
  width: 68%;
}

.site-skeleton-price {
  width: 48%;
  height: 56px;
  margin: 10px 0 4px;
  border-radius: 8px;
}

.site-skeleton-option-row {
  display: flex;
  gap: 10px;
}

.site-skeleton-option-row .site-skeleton-block {
  width: 74px;
  height: 34px;
  border: 1px solid rgba(25, 24, 20, 0.1);
  background: var(--surface);
}

.site-skeleton-action {
  width: 100%;
  height: 48px;
  margin-top: 12px;
  border-radius: 8px;
  background: #d6dcd4;
}

@keyframes site-skeleton-shimmer {
  to {
    background-position: -220% 0;
  }
}

@keyframes site-skeleton-failsafe-reveal {
  0% {
    visibility: visible;
    opacity: 0;
  }

  100% {
    visibility: visible;
    opacity: 1;
  }
}

@keyframes site-skeleton-failsafe-hide {
  0% {
    visibility: visible;
    opacity: 1;
  }

  99% {
    visibility: visible;
  }

  100% {
    visibility: hidden;
    opacity: 0;
  }
}

@media (max-width: 1100px) {
  .site-skeleton-detail-layout {
    grid-template-columns: 1fr;
  }

  .site-skeleton-detail-copy {
    max-width: 680px;
    padding-top: 0;
  }

  .site-skeleton-products-filter-panel {
    grid-template-columns: repeat(3, minmax(0, 1fr)) max-content;
  }

  .site-skeleton-products-hot-toggle {
    grid-column: 1 / 3;
  }
}

@media (max-width: 1100px) {
  .site-skeleton-catalog-products .site-skeleton-card-grid,
  .site-skeleton-products-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .site-skeleton-catalog-products .site-skeleton-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-skeleton-products-filter-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-skeleton-products-filter-field:nth-child(3) {
    grid-column: 1 / -1;
  }

  .site-skeleton-products-hot-toggle {
    grid-column: auto;
  }

  .site-skeleton-products-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .site-skeleton-shell {
    width: min(100% - 32px, 1180px);
  }

  .site-skeleton-nav {
    gap: 12px;
    min-height: 64px;
  }

  .site-skeleton-brand {
    width: 106px;
    height: 24px;
  }

  .site-skeleton-nav-link:nth-of-type(n + 3) {
    display: none;
  }

  .site-skeleton-catalog-hero {
    min-height: 276px;
  }

  .site-skeleton-filter-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-skeleton-card-grid,
  .site-skeleton-catalog-products .site-skeleton-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .site-skeleton-card {
    padding: 9px;
  }

  .site-skeleton-gallery {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 10px;
  }

  .site-skeleton-detail-media {
    min-height: 360px;
  }

  .site-skeleton-products-catalog {
    padding: 24px 16px 32px;
  }

  .site-skeleton-products-header {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 12px;
    padding-inline: 16px;
  }

  .site-skeleton-products-header-nav,
  .site-skeleton-products-header-admin {
    display: none;
  }

  .site-skeleton-products-header-language {
    width: 44px;
  }

  .site-skeleton-products-hero {
    padding: 54px 16px 42px;
  }

  .site-skeleton-products-filter-panel {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .site-skeleton-products-filter-field:nth-child(3) {
    grid-column: auto;
  }

  .site-skeleton-products-hot-toggle {
    min-height: 34px;
  }

  .site-skeleton-products-reset {
    justify-self: start;
  }

  .site-skeleton-products-card-body {
    min-height: 210px;
    padding: 11px;
  }

  .site-skeleton-products-card-chips .site-skeleton-block:nth-child(3) {
    display: none;
  }

  .site-skeleton-products-card-actions .site-skeleton-block {
    height: 36px;
  }
}

@media (max-width: 760px) {
  .site-skeleton-products-catalog-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .site-skeleton-products-search-field {
    flex-basis: auto;
    width: 100%;
  }

  .site-skeleton-products-search-row {
    grid-template-columns: 1fr;
  }

  .site-skeleton-products-search-button {
    width: 64px;
  }

  .site-skeleton-products-category-button {
    align-self: flex-start;
  }
}

@media (max-width: 420px) {
  .site-skeleton-products-search-row {
    grid-template-columns: 1fr;
  }

  .site-skeleton-products-search-button {
    width: 100%;
  }

  .site-skeleton-products-category-button {
    width: 104px;
  }

  .site-skeleton-products-hero-search {
    grid-template-columns: 44px minmax(0, 1fr);
    border-radius: 8px;
  }

  .site-skeleton-products-hero-search-submit {
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.site-skeleton-route > :not(.site-loading-skeleton),
  .site-loading-skeleton {
    transition-duration: 0ms;
  }

  body.site-skeleton-pending > :not(.site-loading-skeleton),
  body.site-skeleton-pending .site-loading-skeleton {
    animation-delay: 0ms;
    animation-duration: 0ms;
  }

  .site-skeleton-shimmer {
    animation: none;
    background: #ede4d7;
  }
}

/* End route skeleton */

.email-compose-page { min-height: 100vh; background: var(--paper); }
.email-compose-header { display:flex; align-items:center; justify-content:space-between; padding:20px clamp(20px, 6vw, 96px); border-bottom:1px solid var(--line); background:var(--surface); }
.email-compose-back { color:var(--cobalt); font-weight:700; }
.email-compose-main { width:min(100% - 40px, 760px); margin:70px auto; }
.email-compose-panel { padding:clamp(24px, 5vw, 56px); background:var(--surface); border:1px solid var(--line); border-radius:8px; box-shadow:var(--shadow); }
.email-compose-panel h1 { margin:8px 0 16px; font-size:clamp(36px, 6vw, 68px); line-height:1.05; }
.email-compose-lead { color:var(--muted); }
.email-compose-recipient { display:flex; gap:12px; margin:28px 0; padding:14px 16px; background:#fff; border:1px solid var(--line); border-radius:6px; }
.email-provider-list { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:12px; }
.email-provider { display:flex; flex-direction:column; gap:4px; min-height:74px; padding:16px; border:1px solid var(--line); border-radius:6px; background:#fff; cursor:pointer; }
.email-provider:hover, .email-provider:focus-visible { border-color:var(--cobalt); box-shadow:0 8px 20px rgba(35,77,125,.12); }
.email-provider small { color:var(--muted); }
.email-compose-status { display:block; min-height:24px; margin-top:16px; color:var(--moss); }
@media (max-width: 600px) { .email-compose-header { padding:16px 20px; } .email-provider-list { grid-template-columns:1fr; } .email-compose-main { margin:32px auto; } }

/* Keep the filter in the catalog column so the dropdown aligns with product cards
   and is not clipped by the hero photo. */
main[data-page="products"] .product-hero-filter-anchor {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: 0 !important;
  z-index: 40 !important;
  display: block !important;
  width: max-content !important;
  min-height: 0 !important;
  margin: -48px 0 18px !important;
  padding: 0 !important;
}
main[data-page="products"] .product-advanced-filter-panel { z-index: 50 !important; }

main[data-page="products"] .product-hero-filter-anchor::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: 0;
  right: -10px;
  bottom: 0;
  left: -10px;
  background: #fff;
  border-radius: 14px 14px 0 0;
}

main[data-page="products"] .product-hero-filter-anchor .products-filter-toggle {
  position: relative;
  z-index: 1;
}

@media (max-width: 760px) {
  main[data-page="products"] .product-hero-filter-anchor {
    left: 0 !important;
  }
}

/* Account center */
.account-page { display:flex; flex-direction:column; min-height:100vh; background:var(--paper); }
.account-page-auth {
  background:
    linear-gradient(105deg, rgba(25,24,20,.82) 0%, rgba(25,24,20,.46) 48%, rgba(245,241,232,.92) 74%, #f5f1e8 100%),
    url("assets/service-showroom.jpg") center/cover no-repeat;
}
.account-topbar { display:flex; flex-wrap:wrap; justify-content:center; gap:10px 28px; padding:10px 20px; background:#1d2f2a; color:#f3e4c8; font-size:12px; font-weight:700; letter-spacing:.04em; }
.account-topbar a, .account-topbar span { color:inherit; text-decoration:none; }
.account-topbar em { font-style:normal; color:#fffaf0; }
.account-page:not(.account-page-auth) .account-topbar,
.account-page:not(.account-page-auth) .account-contact-band { display:none; }
.account-page .gateway-header {
  position:relative;
  display:grid;
  grid-template-columns:auto 1fr auto auto;
  gap:12px;
  background:rgba(255,250,240,.94);
  border-bottom:1px solid var(--line);
  backdrop-filter:blur(16px);
}
.account-page .gateway-header .nav { display:flex !important; gap:18px; align-items:center; justify-content:flex-end; }
.account-page .gateway-header .brand,
.account-page .gateway-header .brand strong,
.account-page .gateway-header .brand small,
.account-page .gateway-header .nav a { color:var(--ink); }
.account-page .gateway-header .brand-mark { background:var(--ink); color:#fff; }
.account-page .gateway-header .admin-login-link { background:var(--ink); color:#fff; }
.account-page .gateway-header .admin-login-link:hover { background:var(--moss); }
.account-page .language-selector {
  min-height:40px;
  min-width:132px;
  padding:0 28px 0 12px;
  border:1px solid var(--line);
  border-radius:999px;
  background:#fff;
  color:var(--ink);
  font:inherit;
  font-size:13px;
  font-weight:700;
}
.account-page [hidden] { display:none !important; }
.account-shell { width:min(100% - 32px, 1240px); margin:0 auto; padding:clamp(24px, 4vw, 42px) 0 48px; flex:1; }
.account-intro { max-width:760px; margin-bottom:36px; }
.account-intro h1 { max-width:720px; margin:8px 0 18px; font-size:clamp(36px, 6vw, 72px); line-height:1.02; letter-spacing:-.03em; }
.account-intro > p:last-child { max-width:620px; color:var(--muted); font-size:18px; }
.account-section { background:var(--surface); border:1px solid var(--line); border-radius:22px; box-shadow:0 24px 70px rgba(25,24,20,.12); }
.account-auth-workspace {
  display:grid;
  grid-template-columns:minmax(0, 1.15fr) minmax(340px, 420px);
  gap:clamp(20px, 3vw, 36px);
  align-items:start;
  max-width:none;
  padding:0;
  background:transparent;
  border:0;
  box-shadow:none;
}
.account-auth-stage { display:flex; flex-direction:column; gap:18px; min-width:0; color:#fffaf0; }
.account-auth-collage { position:relative; }
.account-auth-collage-main { display:block; width:100%; height:min(420px, 52vh); object-fit:cover; border-radius:24px; box-shadow:0 24px 50px rgba(0,0,0,.28); }
.account-auth-ticket { position:absolute; width:min(38%, 180px); margin:0; padding:6px 6px 24px; background:#fffaf0; border-radius:6px; box-shadow:0 14px 32px rgba(0,0,0,.28); }
.account-auth-ticket img { display:block; width:100%; height:92px; object-fit:cover; }
.account-auth-ticket figcaption { position:absolute; left:6px; right:6px; bottom:6px; color:var(--ink); font-size:11px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.account-auth-ticket.is-showroom { top:16px; right:12px; transform:rotate(6deg); }
.account-auth-ticket.is-living { right:8%; bottom:-14px; transform:rotate(-7deg); }
.account-auth-stage-copy { padding:2px 4px 0; }
.account-auth-kicker { margin:0 0 10px; font-size:12px; font-weight:800; letter-spacing:.18em; text-transform:uppercase; color:#f3e4c8; }
.account-auth-kicker::after { content:""; display:block; width:52px; height:2px; margin-top:10px; background:var(--ochre); }
.account-auth-stage-copy h1 { margin:0 0 12px; max-width:16ch; font-family:Palatino, "Palatino Linotype", "Times New Roman", serif; font-size:clamp(32px, 4vw, 48px); line-height:1.08; letter-spacing:-.03em; color:#fffaf0; }
.account-auth-stage-copy > p { margin:0 0 16px; max-width:42ch; color:rgba(255,250,240,.86); font-size:16px; }
.account-auth-benefits { display:grid; gap:8px; margin:0 0 16px; padding:0; list-style:none; }
.account-auth-benefits li { position:relative; padding-left:18px; color:#fffaf0; font-size:14px; font-weight:600; }
.account-auth-benefits li::before { content:""; position:absolute; left:0; top:.55em; width:8px; height:8px; border-radius:50%; background:var(--ochre); }
.account-auth-stats { display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:10px; }
.account-auth-stats div { padding:12px 12px 10px; border:1px solid rgba(255,250,240,.18); border-radius:14px; background:rgba(25,24,20,.28); backdrop-filter:blur(10px); }
.account-auth-stats strong { display:block; font-size:14px; }
.account-auth-stats span { display:block; margin-top:4px; color:rgba(255,250,240,.72); font-size:12px; }
.account-auth-panel {
  position:sticky;
  top:18px;
  display:flex;
  flex-direction:column;
  min-width:0;
  background:var(--surface);
  border:1px solid rgba(255,250,240,.55);
  border-radius:24px;
  box-shadow:0 30px 80px rgba(25,24,20,.28);
  overflow:hidden;
}
.account-auth-panel::before { content:""; display:block; height:8px; background:linear-gradient(90deg, var(--ochre), var(--moss)); }
.account-auth-tabs { display:grid; grid-template-columns:1fr 1fr; gap:6px; margin:22px clamp(18px, 3vw, 28px) 0; padding:6px; border:0; border-radius:999px; background:#efe6d4; }
.account-auth-tabs button { min-height:44px; border:0; border-radius:999px; background:transparent; color:var(--muted); font:inherit; font-weight:700; cursor:pointer; }
.account-auth-tabs button:hover, .account-auth-tabs button.is-active { background:var(--ink); color:#fff; }
.account-form { display:grid; gap:16px; padding:clamp(16px, 3vw, 24px) clamp(18px, 3vw, 28px) 8px; }
.account-profile-form { padding:0; }
.account-form h2, .account-section h2 { margin:0; font-size:clamp(24px, 3vw, 34px); line-height:1.15; color:var(--ink); }
.account-form-lead { margin:-4px 0 2px; color:var(--muted); font-size:15px; }
.account-form label { display:grid; gap:7px; color:var(--muted); font-size:13px; font-weight:700; letter-spacing:.02em; }
.account-form input { width:100%; min-height:50px; padding:12px 14px; border:1px solid var(--line); border-radius:12px; background:#fff; color:var(--ink); font:inherit; }
.account-form input:focus { outline:3px solid rgba(53,91,80,.18); border-color:var(--moss); }
.account-auth-panel .button.primary { width:100%; min-height:52px; border-radius:12px; background:var(--moss); border-color:var(--moss); }
.account-auth-panel .button.primary:hover { background:#2c4d44; }
.account-form-grid { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:16px; }
.account-field-wide { grid-column:1 / -1; }
.account-password-note, .account-form output { min-height:22px; margin:0; color:var(--muted); }
.account-form output:not(:empty) { color:var(--clay); font-weight:700; }
.account-auth-extra { padding:8px clamp(18px, 3vw, 28px) 24px; }
.account-auth-extra-label { margin:8px 0 12px; color:var(--muted); font-size:12px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; }
.account-auth-collections { display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:10px; }
.account-auth-collections a { display:grid; justify-items:center; gap:8px; padding:10px 8px 12px; border:1px solid var(--line); border-radius:16px; background:#fff; color:var(--ink); font-size:12px; font-weight:800; }
.account-auth-collections img { width:100%; height:112px; object-fit:contain; object-position:center; border-radius:12px; background:#f6f3ee; }
.account-auth-collections a:hover { border-color:var(--moss); transform:translateY(-2px); }
.account-auth-links { display:flex; justify-content:space-between; gap:12px; margin-top:14px; }
.account-auth-links a { color:var(--moss); font-size:14px; font-weight:800; }
.account-contact-band { display:grid; grid-template-columns:minmax(0, 1.15fr) minmax(0, .85fr); gap:28px; align-items:center; margin-top:28px; padding:28px; border:1px solid rgba(255,250,240,.18); border-radius:28px; background:rgba(25,24,20,.42); backdrop-filter:blur(16px); color:#fffaf0; }
.account-contact-copy h2 { margin:0 0 10px; font-family:Palatino, "Palatino Linotype", "Times New Roman", serif; font-size:clamp(26px, 3vw, 36px); }
.account-contact-copy > p { margin:0 0 18px; color:rgba(255,250,240,.82); }
.account-contact-chips { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:10px; }
.account-contact-chips a, .account-contact-chips div { display:grid; gap:4px; padding:12px 14px; border:1px solid rgba(255,250,240,.16); border-radius:16px; background:rgba(255,250,240,.08); color:#fffaf0; text-decoration:none; }
.account-contact-chips strong { font-size:12px; letter-spacing:.08em; text-transform:uppercase; color:#f3e4c8; }
.account-contact-qrs { display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); gap:10px; }
.account-contact-qrs a, .account-contact-qrs figure { display:grid; justify-items:center; gap:8px; margin:0; padding:10px; border-radius:18px; background:#fffaf0; color:var(--ink); text-decoration:none; font-size:12px; font-weight:800; }
.account-contact-qrs img { width:72px; height:72px; object-fit:cover; border-radius:8px; }
.account-footer { background:#191814; color:#fffaf0; margin-top:auto; }
.account-footer-grid { width:min(100% - 32px, 1240px); margin:0 auto; padding:42px 0 28px; display:grid; grid-template-columns:minmax(180px, 1.3fr) repeat(3, minmax(0, .7fr)); gap:28px; }
.account-footer .brand, .account-footer .brand strong { color:#fffaf0; }
.account-footer .brand small { color:rgba(255,250,240,.66); }
.account-footer .brand-mark { background:var(--ochre); color:#191814; }
.account-footer-grid p, .account-footer-grid span { margin:14px 0 0; color:rgba(255,250,240,.72); font-size:14px; line-height:1.55; }
.account-footer-grid h3 { margin:0 0 12px; font-size:13px; letter-spacing:.12em; text-transform:uppercase; color:#f3e4c8; }
.account-footer-grid a { display:block; margin:0 0 8px; color:#fffaf0; text-decoration:none; font-size:14px; }
.account-footer-grid a:hover { color:var(--ochre); }
.account-footer-bar { display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; width:min(100% - 32px, 1240px); margin:0 auto; padding:16px 0 22px; border-top:1px solid rgba(255,250,240,.12); color:rgba(255,250,240,.62); font-size:13px; }
.account-footer-bar div { display:flex; flex-wrap:wrap; gap:16px; }
.account-footer-bar a { color:inherit; text-decoration:none; }
.account-footer-bar a:hover { color:#fffaf0; }
.account-workspace { display:grid; gap:24px; }
.account-workspace-head { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:28px 4px 4px; }
.account-section { padding:clamp(22px, 4vw, 36px); }
.account-section-head { display:flex; align-items:end; justify-content:space-between; gap:24px; margin-bottom:22px; }
.account-section-head p { margin:0; color:var(--muted); }
.account-table-wrap { overflow-x:auto; border:1px solid var(--line); border-radius:5px; background:#fff; }
.account-table-wrap table { width:100%; min-width:620px; border-collapse:collapse; }
.account-table-wrap th, .account-table-wrap td { padding:13px 15px; border-bottom:1px solid var(--line); text-align:left; }
.account-table-wrap th { background:#f2ece1; color:var(--muted); font-size:13px; }
.account-table-wrap tr:last-child td { border-bottom:0; }
@media (max-width:980px) {
  .account-auth-workspace, .account-contact-band, .account-footer-grid { grid-template-columns:1fr; }
  .account-auth-panel { position:static; order:-1; }
  .account-auth-stage-copy h1 { max-width:none; }
  .account-contact-qrs { grid-template-columns:repeat(2, minmax(0, 1fr)); }
  .account-page .gateway-header { grid-template-columns:auto 1fr auto; }
  .account-page .gateway-header .nav { display:none !important; }
}
@media (max-width:680px) {
  .account-shell { width:min(100% - 20px, 1240px); padding-top:18px; }
  .account-intro h1 { font-size:42px; }
  .account-auth-workspace, .account-section, .account-contact-band { border-radius:16px; }
  .account-auth-collage-main { height:220px; }
  .account-auth-ticket { width:42%; }
  .account-auth-ticket img { height:72px; }
  .account-auth-stats, .account-auth-collections, .account-contact-chips { grid-template-columns:1fr; }
  .account-form-grid { grid-template-columns:1fr; }
  .account-field-wide { grid-column:auto; }
  .account-workspace-head, .account-section-head { align-items:flex-start; flex-direction:column; }
  .account-workspace-head { padding-top:12px; }
  .account-topbar { justify-content:flex-start; }
}

/* Consent notice: keep the privacy gate above the page instead of in its flow. */
html.consent-pending,
html.consent-pending body,
body.consent-pending { overflow:hidden; }
.consent-overlay {
  position:fixed;
  inset:0;
  z-index:100;
  display:grid;
  place-items:center;
  padding:24px;
  overflow:auto;
  background:rgba(25,24,20,.52);
}
.consent-dialog {
  width:min(100%, 720px);
  max-height:min(720px, calc(100vh - 48px));
  overflow:auto;
  padding:clamp(24px, 5vw, 56px);
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:8px;
  box-shadow:var(--shadow);
}
.consent-eyebrow { margin:0 0 10px; color:var(--moss); font-size:13px; font-weight:800; text-transform:uppercase; letter-spacing:.08em; }
.consent-dialog h1 { margin:0 0 16px; max-width:620px; font-size:clamp(34px, 6vw, 64px); line-height:1.02; }
.consent-lead { margin:0; color:var(--muted); font-size:17px; }
.consent-collected { margin-top:28px; padding-top:20px; border-top:1px solid var(--line); }
.consent-collected strong { display:block; margin-bottom:10px; }
.consent-collected ul { margin:0; padding-left:20px; color:var(--muted); }
.consent-data-route { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:12px; margin-top:20px; }
.consent-data-route > div { padding:16px; border:1px solid var(--line); border-radius:6px; background:#fff; }
.consent-data-route span { display:block; margin-bottom:8px; color:var(--ochre); font-size:12px; font-weight:800; }
.consent-data-route strong { display:block; }
.consent-data-route p { margin:6px 0 0; color:var(--muted); font-size:14px; }
.consent-actions { display:flex; align-items:center; justify-content:flex-end; gap:12px; margin-top:28px; }
.consent-policy-link { margin-right:auto; color:var(--cobalt); font-weight:700; }
@media (max-width:600px) {
  .consent-overlay { padding:12px; }
  .consent-dialog { max-height:calc(100vh - 24px); padding:24px; }
  .consent-data-route { grid-template-columns:1fr; }
  .consent-actions { align-items:stretch; flex-direction:column; }
  .consent-policy-link { margin-right:0; }
}

.country-switcher-label,
.country-switcher-status {
  display: none !important;
}

.header-locale {
  display: inline-flex;
  align-items: stretch;
  height: 44px;
  max-width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.72);
}

.header-locale .country-switcher {
  display: contents !important;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.header-locale .language-selector,
.header-locale .region-toggle {
  min-height: 44px;
  height: 44px;
  margin: 0;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  color: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.header-locale .language-selector {
  min-inline-size: 0;
  width: 168px;
  max-width: 188px;
  padding: 0 28px 0 12px;
}

.header-locale .region-toggle {
  min-width: 84px;
  width: 92px;
  padding: 0 26px 0 10px;
  border-left: 1px solid var(--line) !important;
}

.gateway-header .header-locale,
body.landing-home .header-locale {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22) !important;
  background: rgba(255, 255, 255, 0.16) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

body.landing-home .header-locale .country-switcher,
.gateway-header .header-locale .country-switcher {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  min-width: 0 !important;
  color: inherit !important;
}

body.landing-home .header-locale .language-toggle,
body.landing-home .header-locale .language-selector,
body.landing-home .header-locale .region-toggle,
.gateway-header .header-locale .language-toggle,
.gateway-header .header-locale .language-selector,
.gateway-header .header-locale .region-toggle {
  color: #fff !important;
  border-color: transparent !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.landing-home .header-locale .region-toggle,
.gateway-header .header-locale .region-toggle {
  min-width: 84px !important;
  min-height: 44px !important;
  height: 44px !important;
  border-left: 1px solid rgba(255, 255, 255, 0.22) !important;
}

body.about-page .gateway-header .header-locale {
  color: var(--ink);
  border-color: rgba(25, 24, 20, 0.16) !important;
  background: #fffdf8 !important;
  box-shadow: none;
}

body.about-page .gateway-header .header-locale .language-toggle,
body.about-page .gateway-header .header-locale .language-selector,
body.about-page .gateway-header .header-locale .region-toggle {
  color: var(--ink) !important;
}

body.about-page .gateway-header .header-locale .region-toggle {
  border-left-color: rgba(25, 24, 20, 0.12) !important;
}

@media (max-width: 680px) {
  .header-locale .language-selector {
    width: 148px;
  }

  .header-locale .region-toggle,
  body.landing-home .header-locale .region-toggle {
    min-width: 76px !important;
    width: 80px;
  }

  .country-switcher {
    width: auto !important;
    grid-column: auto !important;
    order: 0 !important;
  }
}

/* header-compact-20260919: public header keeps language only */
.header-actions .country-switcher,
.header-locale .country-switcher,
.header-locale .region-toggle {
  display: none !important;
}

.header-locale {
  display: inline-flex;
  align-items: stretch;
  height: auto;
  overflow: visible;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.header-locale .language-selector,
.header-locale .language-toggle {
  min-height: 44px;
  height: 44px;
  width: 176px;
  min-width: 0;
  max-width: 176px;
  padding: 0 28px 0 12px;
  border: 1px solid var(--line) !important;
  border-radius: 8px !important;
  background: rgba(255, 250, 240, 0.72) !important;
  box-shadow: none !important;
  font-size: 13px;
  font-weight: 800;
}

body.landing-home .header-locale,
.gateway-header .header-locale,
body.about-page .gateway-header .header-locale {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.landing-home .header-locale .language-selector,
body.landing-home .header-locale .language-toggle,
.gateway-header .header-locale .language-selector,
.gateway-header .header-locale .language-toggle {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
  background: rgba(255, 255, 255, 0.16) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

body.about-page .gateway-header .header-locale .language-selector,
body.about-page .gateway-header .header-locale .language-toggle {
  color: var(--ink) !important;
  border-color: rgba(25, 24, 20, 0.16) !important;
  background: #fffdf8 !important;
  box-shadow: none !important;
}

@media (max-width: 980px) {
  body.landing-home .site-header,
  body.about-page > .gateway-header {
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 8px 12px !important;
  }

  body.landing-home .header-actions,
  body.about-page .gateway-header .header-actions {
    justify-self: end !important;
    width: auto !important;
    max-width: none !important;
    flex-wrap: nowrap !important;
    overflow: visible !important;
    padding-bottom: 0 !important;
  }

  .header-locale .language-selector,
  body.landing-home .header-locale .language-selector,
  body.landing-home .header-locale .language-toggle {
    min-width: 0;
    width: min(168px, 48vw);
    font-size: 12px;
  }
}


/* header-auth-20260922 */
.admin-login-link.is-surname {
  width: 44px;
  min-width: 44px;
  max-width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0;
}

.admin-login-link.is-admin {
  min-width: 0;
  padding: 0 10px;
  font-size: 12px;
  letter-spacing: 0;
}

@media (max-width: 720px) {
  .admin-login-link.is-admin {
    padding: 0 8px;
    font-size: 11px;
  }
}


/* lang-menu-20260922 */
body.landing-home .header-locale .language-selector,
body.landing-home .language-toggle,
.gateway-header .header-locale .language-selector {
  color-scheme: light;
}

.language-selector option,
.language-selector optgroup,
.language-toggle option,
.language-toggle optgroup {
  color: #1c1b17 !important;
  background-color: #ffffff !important;
}


/* home-slim-20260922: cside homepage title and three shorter cards only */
main[data-buyer-home][data-buyer-segment] > .section > .section-head.compact {
  display: block;
  margin: 0 0 14px;
}

main[data-buyer-home][data-buyer-segment] > .section > .section-head.compact .eyebrow {
  display: none;
}

main[data-buyer-home][data-buyer-segment] > .section > .section-head.compact h2 {
  margin: 0;
  font-size: 32px;
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: 0;
}

main[data-buyer-home][data-buyer-segment] > .section > .section-head.compact + .lead {
  display: none;
}

main[data-buyer-home][data-buyer-segment] .mini-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

main[data-buyer-home][data-buyer-segment] .mini-grid .product-card img {
  aspect-ratio: 1.22;
  height: auto;
}

main[data-buyer-home][data-buyer-segment] .mini-grid .product-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 8px;
  row-gap: 8px;
  align-items: baseline;
  padding: 12px 14px 14px;
}

main[data-buyer-home][data-buyer-segment] .mini-grid .product-type {
  grid-column: 1;
  grid-row: 1;
}

main[data-buyer-home][data-buyer-segment] .mini-grid .sales-demo-badge {
  grid-column: 2;
  grid-row: 1;
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  margin: 0;
  justify-self: end;
  white-space: nowrap;
}

main[data-buyer-home][data-buyer-segment] .mini-grid .sales-demo-badge strong {
  font-size: 16px;
}

main[data-buyer-home][data-buyer-segment] .mini-grid .home-card-title {
  grid-column: 1 / -1;
  grid-row: 2;
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}

main[data-buyer-home][data-buyer-segment] .mini-grid .product-actions {
  grid-column: 1 / -1;
  grid-row: 3;
  grid-template-columns: 1fr 1fr;
}

main[data-buyer-home][data-buyer-segment] .mini-grid .product-card-meta,
main[data-buyer-home][data-buyer-segment] .mini-grid .intent-link,
main[data-buyer-home][data-buyer-segment] .mini-grid .card-specs {
  display: none !important;
}

@media (max-width: 1100px) {
  main[data-buyer-home][data-buyer-segment] .mini-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  main[data-buyer-home][data-buyer-segment] .mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  main[data-buyer-home][data-buyer-segment] > .section > .section-head.compact h2 {
    font-size: 24px;
  }
}

/* home-card-size-20260922: same tracks as .product-grid (5 / 3 / 2) */

/* home-five-20260922: tighter title gap and five cside cards */
main[data-buyer-home][data-buyer-segment] > .section {
  padding-top: 24px;
}

@media (min-width: 1100px) {
  main[data-buyer-home][data-buyer-segment] > .section {
    padding-right: 112px;
  }
}

main[data-buyer-home][data-buyer-segment] .mini-grid .product-card:nth-child(n+4) {
  display: block;
}

.product-text-filter { display: grid; gap: 6px; margin: 0 0 12px; }
.product-text-filter span { font-size: 13px; font-weight: 700; }
.product-text-filter input { width: 100%; min-height: 40px; padding: 8px 10px; border: 1px solid rgba(25,24,20,.16); border-radius: 8px; background: #fff; }
.product-smart-search-hint { margin: 8px 0 0; color: #66645e; font-size: 13px; line-height: 1.45; }
