/* ============================================================
   Verdano Home — 全站样式
   风格：北欧家居 / 暖白 + 深墨绿 + 陶土强调
   字体：优先使用系统内开源字体（Noto Sans），不分发任何字体文件
   ============================================================ */

:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --surface-2: #f4f1eb;
  --surface-3: #ece7dd;
  --ink: #1b1f1c;
  --ink-2: #5c625b;
  --ink-3: #8c918a;
  --line: #e5e1d8;
  --line-2: #d6d1c6;
  --brand: #2e4a3a;
  --brand-2: #3f6350;
  --sage: #7c9a85;
  --sand: #e9e3d8;
  --accent: #b4552f;
  --danger: #a83a2c;

  --radius: 6px;
  --radius-lg: 14px;
  --radius-xl: 22px;
  --shadow-sm: 0 1px 2px rgba(28, 32, 28, 0.05);
  --shadow: 0 8px 28px rgba(28, 32, 28, 0.08);
  --shadow-lg: 0 24px 60px rgba(28, 32, 28, 0.14);

  --wrap: 1240px;
  --header-h: 68px;
  --font: "Noto Sans", "Inter", system-ui, -apple-system, "PingFang SC",
    "Microsoft YaHei", sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  background: none;
  border: 0;
}
h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 600;
}
p {
  margin: 0;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
:focus-visible {
  outline: 2px solid var(--brand-2);
  outline-offset: 2px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  padding: 84px 0;
}
.section--tight {
  padding: 56px 0;
}
.section--sand {
  background: var(--surface-2);
}
.section-head {
  max-width: 620px;
  margin-bottom: 40px;
}
.section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 12px;
}
.h1 {
  font-size: clamp(34px, 5vw, 56px);
}
.h2 {
  font-size: clamp(26px, 3.4vw, 38px);
}
.h3 {
  font-size: 20px;
}
.lede {
  color: var(--ink-2);
  font-size: 17px;
  margin-top: 16px;
}
.muted {
  color: var(--ink-2);
}
.small {
  font-size: 14px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: transform 0.18s var(--ease), background 0.18s var(--ease),
    color 0.18s var(--ease), border-color 0.18s var(--ease),
    box-shadow 0.18s var(--ease);
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn--primary {
  background: var(--brand);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover {
  background: var(--brand-2);
  box-shadow: var(--shadow);
}
.btn--ghost {
  border-color: var(--line-2);
  color: var(--ink);
  background: transparent;
}
.btn--ghost:hover {
  border-color: var(--ink);
  background: #fff;
}
.btn--light {
  background: #fff;
  color: var(--brand);
}
.btn--light:hover {
  background: var(--sand);
}
.btn--block {
  width: 100%;
}
.btn--sm {
  padding: 10px 18px;
  font-size: 14px;
}
.btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  font-size: 15px;
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 2px;
  transition: border-color 0.18s var(--ease), gap 0.18s var(--ease);
}
.link-arrow:hover {
  border-color: var(--brand);
  gap: 11px;
}

/* ---------- announcement ---------- */
.announce {
  background: var(--brand);
  color: #eef3ee;
  font-size: 13px;
  letter-spacing: 0.02em;
  text-align: center;
  padding: 9px 16px;
}
.announce b {
  font-weight: 600;
  color: #fff;
}

/* ---------- header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(251, 250, 247, 0.9);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.header.is-stuck {
  background: rgba(251, 250, 247, 0.97);
  border-bottom-color: transparent;
  box-shadow: 0 1px 0 rgba(23, 42, 32, 0.05), 0 10px 26px -20px rgba(23, 42, 32, 0.5);
}
.header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.03em;
  color: var(--brand);
}
.brand__mark {
  width: 30px;
  height: 30px;
  flex: none;
}
.brand__sub {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: -2px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 12px;
}
.nav a {
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  transition: color 0.16s var(--ease), background 0.16s var(--ease);
}
.nav a:hover {
  color: var(--ink);
  background: var(--surface-2);
}
.nav a.is-active {
  color: var(--ink);
  background: var(--surface-3);
}
.header__tools {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
}
.icon-btn {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--ink);
  transition: background 0.16s var(--ease);
}
.icon-btn:hover {
  background: var(--surface-2);
}
.icon-btn svg {
  width: 21px;
  height: 21px;
}
.cart-count {
  position: absolute;
  top: 4px;
  right: 3px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
  line-height: 1;
}
.cart-count[hidden] {
  display: none;
}
.burger {
  display: none;
}
.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--bg);
  padding: 12px 24px 20px;
}
.mobile-nav.is-open {
  display: block;
}
.mobile-nav a {
  display: block;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--surface-2);
}
.hero__media {
  position: absolute;
  inset: 0;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(20, 26, 21, 0.62) 0%,
    rgba(20, 26, 21, 0.34) 42%,
    rgba(20, 26, 21, 0.04) 72%
  );
}
.hero__inner {
  position: relative;
  min-height: clamp(460px, 66vh, 620px);
  display: flex;
  align-items: center;
  padding: 72px 0;
}
.hero__copy {
  max-width: 560px;
  color: #fff;
}
.hero__copy .eyebrow {
  color: #cfe0d3;
}
.hero__copy h1 {
  font-size: clamp(36px, 5.4vw, 62px);
  color: #fff;
}
.hero__copy p {
  margin-top: 20px;
  font-size: 17px;
  color: #e3e8e3;
  max-width: 460px;
}
.hero__actions {
  margin-top: 32px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero__points {
  margin-top: 34px;
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: #dbe3dc;
}
.hero__points li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero__points svg {
  width: 17px;
  height: 17px;
  flex: none;
  color: #a8c6b1;
}

/* ---------- trust bar ---------- */
.trust {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
}
.trust__item {
  background: var(--surface);
  padding: 26px 22px;
  display: flex;
  gap: 13px;
  align-items: flex-start;
}
.trust__item svg {
  width: 22px;
  height: 22px;
  flex: none;
  color: var(--brand-2);
  margin-top: 2px;
}
.trust__item b {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
}
.trust__item span {
  font-size: 13px;
  color: var(--ink-2);
}

/* ---------- category cards ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.cat-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-2);
  aspect-ratio: 4 / 5;
  display: block;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.cat-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.cat-card:hover img {
  transform: scale(1.045);
}
.cat-card__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 24px;
  background: linear-gradient(
    to top,
    rgba(18, 24, 19, 0.78),
    rgba(18, 24, 19, 0)
  );
  color: #fff;
}
.cat-card__body h3 {
  font-size: 22px;
}
.cat-card__body span {
  font-size: 13.5px;
  color: #d5ded6;
}

/* ---------- product grid ---------- */
.grid-products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px 22px;
}
.grid-products--3 {
  grid-template-columns: repeat(3, 1fr);
}
.card {
  display: flex;
  flex-direction: column;
}
.card__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-2);
  aspect-ratio: 1 / 1;
  display: block;
}
.card__media > a {
  display: block;
  width: 100%;
  height: 100%;
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}
.card:hover .card__media img {
  transform: scale(1.05);
}
.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--brand);
  color: #fff;
}
.badge--accent {
  background: var(--accent);
}
.badge--sand {
  background: var(--sand);
  color: var(--ink);
}
.card__quick {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.24s var(--ease), transform 0.24s var(--ease);
}
.card:hover .card__quick {
  opacity: 1;
  transform: none;
}
.card__body {
  padding: 16px 2px 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
}
.card__cat {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.card__title {
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.card__meta {
  font-size: 13.5px;
  color: var(--ink-2);
}
.card__foot {
  margin-top: auto;
  padding-top: 10px;
  display: flex;
  align-items: baseline;
  gap: 9px;
}
.price {
  font-weight: 700;
  font-size: 16.5px;
}
.price--was {
  font-weight: 500;
  font-size: 14px;
  color: var(--ink-3);
  text-decoration: line-through;
}
.stars {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--ink-2);
}
.stars svg {
  width: 14px;
  height: 14px;
  color: #d9a441;
}

/* ---------- feature split ---------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
}
.split__media {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--surface-2);
}
.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}
.feature-list {
  display: grid;
  gap: 22px;
  margin-top: 30px;
}
.feature-list li {
  display: flex;
  gap: 15px;
}
.feature-list .num {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--surface-3);
  color: var(--brand);
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 700;
}
.feature-list b {
  display: block;
  font-size: 15.5px;
}
.feature-list span {
  font-size: 14.5px;
  color: var(--ink-2);
}

/* ---------- reviews ---------- */
.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.review {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.review p {
  font-size: 15.5px;
  color: var(--ink);
}
.review__who {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--ink-2);
}
.review__who b {
  color: var(--ink);
  font-weight: 600;
}
.avatar {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--sand);
  color: var(--brand);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 13px;
  flex: none;
}

/* ---------- newsletter ---------- */
.newsletter {
  background: var(--brand);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}
.newsletter h2 {
  color: #fff;
}
.newsletter p {
  color: #c9d8cd;
  margin-top: 14px;
}
.field-row {
  display: flex;
  gap: 10px;
}
.input {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line-2);
  background: #fff;
  font-size: 15px;
  transition: border-color 0.16s var(--ease), box-shadow 0.16s var(--ease);
}
.input:focus {
  outline: none;
  border-color: var(--brand-2);
  box-shadow: 0 0 0 3px rgba(63, 99, 80, 0.14);
}
.input--onDark {
  border-color: transparent;
}
textarea.input {
  min-height: 130px;
  resize: vertical;
}
label.lbl {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 7px;
  color: var(--ink-2);
}

/* ---------- footer ---------- */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 66px 0 30px;
  margin-top: 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer h4 {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 16px;
}
.footer li a {
  display: block;
  padding: 6px 0;
  font-size: 14.5px;
  color: var(--ink-2);
  transition: color 0.16s var(--ease);
}
.footer li a:hover {
  color: var(--brand);
}
.footer__about p {
  font-size: 14.5px;
  color: var(--ink-2);
  max-width: 320px;
  margin-top: 14px;
}
.footer__bottom {
  margin-top: 50px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--ink-3);
}
.pay-icons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.pay-icons span {
  border: 1px solid var(--line-2);
  border-radius: 4px;
  padding: 4px 9px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  background: #fff;
}

/* ---------- breadcrumb / page head ---------- */
.page-head {
  /* longhands only: a `padding` shorthand here would wipe .wrap's 24px side padding */
  padding-top: 34px;
  padding-bottom: 8px;
}
.crumb {
  font-size: 13.5px;
  color: var(--ink-3);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.crumb a:hover {
  color: var(--brand);
}
.page-title {
  font-size: clamp(28px, 4vw, 42px);
  margin-top: 14px;
}

/* ---------- shop toolbar ---------- */
.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 34px;
}
.chips {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}
.chip {
  padding: 9px 17px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  background: #fff;
  transition: all 0.16s var(--ease);
}
.chip:hover {
  border-color: var(--ink);
  color: var(--ink);
}
.chip.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.select {
  padding: 10px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--line-2);
  background: #fff;
  font-size: 14px;
}

/* ---------- product detail ---------- */
.pdp {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: start;
  padding-bottom: 20px;
}
.pdp__gallery {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--surface-2);
  aspect-ratio: 1 / 1;
}
.pdp__gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pdp__title {
  font-size: clamp(26px, 3.2vw, 36px);
  margin-top: 10px;
}
.pdp__price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 18px;
}
.pdp__price .price {
  font-size: 26px;
}
.pdp__desc {
  margin-top: 20px;
  color: var(--ink-2);
  font-size: 15.5px;
}
.pdp__block {
  margin-top: 26px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.opt-label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
}
.opts {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}
.opt {
  padding: 10px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line-2);
  background: #fff;
  font-size: 14px;
  transition: all 0.16s var(--ease);
}
.opt:hover {
  border-color: var(--ink);
}
.opt.is-active {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}
.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
}
.qty button {
  width: 42px;
  height: 46px;
  font-size: 18px;
  color: var(--ink-2);
  display: grid;
  place-items: center;
}
.qty button:hover {
  background: var(--surface-2);
  color: var(--ink);
}
.qty span {
  min-width: 38px;
  text-align: center;
  font-weight: 600;
  font-size: 15px;
}
.buy-row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.buy-row .btn {
  flex: 1;
  min-width: 190px;
  padding: 16px 26px;
}
.stock {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-2);
  margin-top: 14px;
}
.stock i {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--sage);
  display: block;
}
.assurance {
  margin-top: 22px;
  display: grid;
  gap: 11px;
  font-size: 14px;
  color: var(--ink-2);
}
.assurance li {
  display: flex;
  gap: 10px;
  align-items: center;
}
.assurance svg {
  width: 17px;
  height: 17px;
  color: var(--brand-2);
  flex: none;
}

/* ---------- accordion ---------- */
.acc {
  border-top: 1px solid var(--line);
}
.acc__item {
  border-bottom: 1px solid var(--line);
}
.acc__btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  font-size: 15.5px;
  font-weight: 600;
  text-align: left;
}
.acc__btn svg {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--ink-3);
  transition: transform 0.24s var(--ease);
}
.acc__item.is-open .acc__btn svg {
  transform: rotate(180deg);
}
.acc__panel {
  display: none;
  padding: 0 0 22px;
  color: var(--ink-2);
  font-size: 15px;
}
.acc__item.is-open .acc__panel {
  display: block;
}
.acc__panel ul {
  display: grid;
  gap: 9px;
}
.acc__panel li {
  padding-left: 18px;
  position: relative;
}
.acc__panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--sage);
}
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}
.spec-table th,
.spec-table td {
  text-align: left;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.spec-table th {
  color: var(--ink-2);
  font-weight: 500;
  width: 42%;
}

/* ---------- cart ---------- */
.cart-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 44px;
  align-items: start;
  padding: 30px 0 20px;
}
.cart-list {
  border-top: 1px solid var(--line);
}
.cart-row {
  display: grid;
  grid-template-columns: 104px 1fr auto;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.cart-row__img {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-2);
  aspect-ratio: 1/1;
}
.cart-row__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cart-row__name {
  font-weight: 600;
  font-size: 16px;
}
.cart-row__meta {
  font-size: 13.5px;
  color: var(--ink-3);
  margin-top: 3px;
}
.cart-row__tools {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.link-danger {
  font-size: 13.5px;
  color: var(--ink-3);
  border-bottom: 1px solid transparent;
}
.link-danger:hover {
  color: var(--danger);
  border-color: var(--danger);
}
.cart-row__price {
  text-align: right;
  font-weight: 700;
  font-size: 16.5px;
  white-space: nowrap;
}
.summary {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: sticky;
  top: calc(var(--header-h) + 20px);
}
.summary h3 {
  font-size: 19px;
  margin-bottom: 20px;
}
.sum-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 0;
  font-size: 15px;
  color: var(--ink-2);
}
.sum-row--total {
  border-top: 1px solid var(--line);
  margin-top: 12px;
  padding-top: 18px;
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
}
.sum-row--total span:last-child {
  font-size: 21px;
}
.ship-note {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: var(--radius);
  background: var(--surface-2);
  font-size: 13.5px;
  color: var(--ink-2);
}
.ship-note b {
  color: var(--brand-2);
}
.empty {
  padding: 70px 0;
  text-align: center;
}
.empty h3 {
  font-size: 22px;
  margin-bottom: 10px;
}
.empty p {
  color: var(--ink-2);
  margin-bottom: 24px;
}

/* ---------- checkout ---------- */
.co-layout {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 56px;
  align-items: start;
  padding: 34px 0 40px;
}
.co-block {
  margin-bottom: 34px;
}
.co-block h3 {
  font-size: 19px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.co-block h3 .step {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 13px;
  display: grid;
  place-items: center;
  flex: none;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-grid .col-2 {
  grid-column: span 2;
}
.co-side {
  background: var(--surface-2);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: sticky;
  top: calc(var(--header-h) + 20px);
}
.co-line {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-2);
}
.co-line__img {
  border-radius: 5px;
  overflow: hidden;
  background: #fff;
  aspect-ratio: 1/1;
}
.co-line__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.co-line__name {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}
.co-line__qty {
  font-size: 12.5px;
  color: var(--ink-3);
}
.co-line__price {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.pay-methods {
  display: grid;
  gap: 10px;
  margin-top: 6px;
}
.pay-opt {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 14px 16px;
  background: #fff;
  font-size: 14.5px;
  cursor: pointer;
  transition: border-color 0.16s var(--ease);
}
.pay-opt:hover {
  border-color: var(--ink);
}
.pay-opt input {
  accent-color: var(--brand);
  width: 17px;
  height: 17px;
}
.pay-opt b {
  font-weight: 600;
}
.pay-opt span {
  margin-left: auto;
  font-size: 12px;
  color: var(--ink-3);
}

/* ---------- success ---------- */
.success {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
  padding: 80px 0;
}
.success__icon {
  width: 74px;
  height: 74px;
  border-radius: 999px;
  background: var(--surface-3);
  color: var(--brand);
  display: grid;
  place-items: center;
  margin: 0 auto 26px;
}
.success__icon svg {
  width: 34px;
  height: 34px;
}
.order-box {
  margin-top: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: 26px;
  text-align: left;
}
.order-box .sum-row {
  border-bottom: 1px dashed var(--line);
}
.order-box .sum-row:last-child {
  border-bottom: 0;
}

/* ---------- content page ---------- */
.prose {
  max-width: 780px;
}
.prose h2 {
  font-size: 24px;
  margin: 40px 0 14px;
}
.prose h3 {
  font-size: 18px;
  margin: 28px 0 10px;
}
.prose p {
  margin-bottom: 14px;
  color: var(--ink-2);
}
.prose ul {
  display: grid;
  gap: 9px;
  margin: 0 0 16px;
}
.prose li {
  padding-left: 18px;
  position: relative;
  color: var(--ink-2);
}
.prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--sage);
}
.tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  margin-bottom: 30px;
}
.tabs button {
  padding: 12px 4px;
  margin-right: 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-3);
  border-bottom: 2px solid transparent;
  transition: all 0.16s var(--ease);
}
.tabs button.is-active {
  color: var(--brand);
  border-color: var(--brand);
}
.tab-panel {
  display: none;
}
.tab-panel.is-active {
  display: block;
}
.info-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 34px 0;
}
.info-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  background: var(--surface);
}
.info-card svg {
  width: 22px;
  height: 22px;
  color: var(--brand-2);
  margin-bottom: 14px;
}
.info-card b {
  display: block;
  margin-bottom: 6px;
}
.info-card span {
  font-size: 14.5px;
  color: var(--ink-2);
}

/* ---------- toast ---------- */
.toast-wrap {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 200;
  display: grid;
  gap: 10px;
  max-width: calc(100% - 44px);
  pointer-events: none;
}
.toast {
  background: var(--brand);
  color: #fff;
  border-radius: var(--radius);
  padding: 14px 20px;
  max-width: 560px;
  font-size: 14.5px;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: toastIn 0.3s var(--ease);
}
.toast svg {
  width: 17px;
  height: 17px;
  flex: none;
}
@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
}
.toast.is-out {
  animation: toastOut 0.28s var(--ease) forwards;
}
@keyframes toastOut {
  to {
    opacity: 0;
    transform: translateY(10px);
  }
}

/* ---------- reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- responsive ---------- */
@media (max-width: 1240px) {
  .grid-products {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 1080px) {
  .footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
  .trust__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 900px) {
  .nav {
    display: none;
  }
  .burger {
    display: grid;
  }
  .section {
    padding: 60px 0;
  }
  .split,
  .newsletter,
  .cart-layout,
  .co-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .cat-grid,
  .reviews,
  .info-cards {
    grid-template-columns: 1fr 1fr;
  }
  .summary,
  .co-side {
    position: static;
  }
  .newsletter {
    padding: 40px 28px;
  }
}
@media (max-width: 860px) {
  .grid-products,
  .grid-products--3 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 780px) {
  .pdp {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  /* One column: a full-bleed square gallery dwarfs the copy, so cap and centre it. */
  .pdp__gallery {
    max-width: 560px;
    margin: 0 auto;
  }
}
@media (max-width: 640px) {
  .wrap {
    padding: 0 18px;
  }
  /* the .wrap shorthand above resets page-head's vertical rhythm; restore it */
  .page-head {
    padding-top: 24px;
    padding-bottom: 4px;
  }
  .grid-products,
  .grid-products--3,
  .cat-grid,
  .reviews,
  .info-cards,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-grid .col-2 {
    grid-column: span 1;
  }
  .trust__grid {
    grid-template-columns: 1fr;
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .cart-row {
    grid-template-columns: 84px 1fr;
    gap: 14px;
  }
  .cart-row__price {
    grid-column: span 2;
    text-align: left;
    padding-left: 98px;
  }
  .hero__inner {
    min-height: 520px;
    padding: 52px 0;
  }
  .field-row {
    flex-direction: column;
  }
  .buy-row .btn {
    min-width: 100%;
  }
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .section-head {
    margin-bottom: 28px;
  }
}

/* ---------- B2B 表单与页脚链接列（build v3 新增类） ---------- */
.quote-form {
  display: block;
}
.quote-form .form-grid {
  gap: 14px 18px;
}
.quote-form textarea.input {
  min-height: 104px;
}
.quote-form > .btn {
  margin-top: 18px;
}
.footer__links {
  margin: 0;
  padding: 0;
}
.footer__links li:first-child a {
  padding-top: 0;
}

/* ---------- footer trust badges (former pay-icons reused as text badge) ---------- */
.trust-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.trust-tags span {
  border: 1px solid var(--line-2);
  border-radius: 4px;
  padding: 5px 10px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  text-transform: uppercase;
}

/* ---- quote list (shortlist) ---- */
.qcount{display:inline-grid;place-items:center;min-width:18px;height:18px;margin-left:7px;
  padding:0 5px;border-radius:999px;background:var(--sand);color:var(--brand);
  font-size:11px;font-weight:600;line-height:1;letter-spacing:0}
.qcount[hidden]{display:none}
.co-side .empty{padding:20px 18px}
.qline{display:grid;grid-template-columns:1fr auto;gap:4px 14px;padding:14px 0;
  border-bottom:1px solid var(--line-2)}
.qline:first-child{padding-top:0}
.qline__name{font-size:15px;font-weight:600;color:var(--ink);line-height:1.35}
.qline__name a{color:inherit;text-decoration:none}
.qline__name a:hover{color:var(--brand-2)}
.qline__price{font-size:15px;font-weight:600;color:var(--ink);white-space:nowrap;text-align:right}
.qline__meta{grid-column:1/-1;font-size:13px;color:var(--ink-3);line-height:1.45}
.qline__tools{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;
  gap:12px;margin-top:6px}
.qline .qty span{min-width:34px}
.qline .link-danger{font-size:13px}
.qwarn{margin:10px 0 0;padding:8px 12px;border:1px solid var(--danger);border-radius:var(--radius);
  background:#fdf3ee;color:var(--danger);font-size:13.5px;line-height:1.5}
.qsum{margin-top:18px;padding-top:14px;border-top:1px solid var(--line-2)}
.qsum__row{display:flex;align-items:baseline;justify-content:space-between;gap:16px;
  padding:5px 0;font-size:14px;color:var(--ink-2)}
.qsum__row span:last-child{color:var(--ink);font-weight:600;white-space:nowrap}
.qsum__row--total{margin-top:6px;padding-top:10px;border-top:1px solid var(--line-2);
  font-size:15px;color:var(--ink)}
@media (max-width:640px){
  .qline{grid-template-columns:1fr auto}
  .qline__price{font-size:14px}
}

/* Quote page: on a phone the shortlist sits above the form once it has items,
   so the visitor can see what they are about to send. */
@media (max-width: 1080px) {
  .co-side.is-filled { order: -1; }
}

/* Header on small phones: "Request a quote" + burger used to push past the
   right edge (26px clipped at 390px). Tighten the CTA instead of hiding it. */
@media (max-width: 480px) {
  .header__inner {
    gap: 10px;
  }
  .header__tools {
    gap: 4px;
    min-width: 0;
  }
  .header__tools .btn--primary {
    padding: 0 11px;
    font-size: 12.5px;
    letter-spacing: 0;
  }
  .brand__sub {
    letter-spacing: 0.1em;
  }
  .newsletter {
    padding: 32px 18px;
  }
}
@media (max-width: 380px) {
  .brand {
    font-size: 17px;
  }
  .brand__sub {
    display: none;
  }
  /* "Request a quote" no longer fits next to the burger: shorten the label,
     keep the button (and its quote-count badge) on screen. */
  .header__tools .btn--primary {
    font-size: 0;
    padding: 0 10px;
  }
  .header__tools .btn--primary::before {
    content: "Quote";
    font-size: 12.5px;
    font-weight: 600;
  }
}

/* ---------- inline icon sizing (2026-11-26) ----------
   Generated HTML emits icon <svg> with viewBox but no width/height attributes.
   Without an explicit rule the browser falls back to the default 300x150 box,
   and a 1:1 viewBox then paints at ~150-260px — which blew the PDP price arrow
   and the PDP stock icon up to 218-221px. Any new inline icon needs a rule here. */
.btn svg,
.link-arrow svg {
  width: 17px;
  height: 17px;
  flex: none;
}
.pdp__price svg {
  width: 14px;
  height: 14px;
  flex: none;
  vertical-align: -1px;
}
.stock svg {
  width: 17px;
  height: 17px;
  flex: none;
}
