/* ==========================================================================
   Bayzons — marketplace design system
   ========================================================================== */

:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f5f7f6;
  --surface-3: #eef2f0;
  --ink: #101418;
  --ink-2: #2c3a34;
  --muted: #5e6b66;
  --faint: #8a9793;
  --line: #e2e8e5;
  --line-strong: #cdd8d3;

  --brand: #1f7a4d;
  --brand-dark: #17603c;
  --brand-darker: #0f4629;
  --brand-tint: #e8f2ed;
  --brand-tint-2: #f2f8f5;
  --gold: #c8862a;
  --gold-tint: #fdf5e8;
  --danger: #b3261e;
  --danger-tint: #fdecea;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-xs: 0 1px 2px rgba(16, 20, 24, .05);
  --shadow-sm: 0 1px 3px rgba(16, 20, 24, .07), 0 1px 2px rgba(16, 20, 24, .04);
  --shadow: 0 4px 14px rgba(16, 20, 24, .08);
  --shadow-lg: 0 12px 34px rgba(16, 20, 24, .12);

  --container: 1280px;
  --header-h: 68px;

  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.4, 0, .2, 1);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv02", "cv03", "cv04", "tnum" 0;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -.022em;
  line-height: 1.2;
  color: var(--ink);
}
h1 { font-size: clamp(1.9rem, 4.2vw, 3.1rem); letter-spacing: -.032em; }
h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); letter-spacing: -.026em; }
h3 { font-size: 1.05rem; }
p  { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--brand); color: #fff; }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; }

/* ---------------------------------------------------------------- announce */

.announce {
  background: var(--brand-darker);
  color: #d9ece2;
  font-size: 12.5px;
  letter-spacing: .01em;
}
.announce .container {
  display: flex; align-items: center; justify-content: center;
  gap: 28px; min-height: 36px; flex-wrap: wrap;
}
.announce span { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.announce svg { width: 14px; height: 14px; opacity: .8; flex: none; }
@media (max-width: 720px) {
  .announce .container { gap: 16px; }
  .announce span:nth-child(n+3) { display: none; }
}

/* ----------------------------------------------------------------- header */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-main {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  min-height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 9px; flex: none;
  background: linear-gradient(145deg, var(--brand) 0%, var(--brand-darker) 100%);
  display: grid; place-items: center;
  box-shadow: var(--shadow-xs);
}
.brand-mark svg { width: 19px; height: 19px; color: #fff; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-size: 1.22rem; font-weight: 800; letter-spacing: -.035em; color: var(--ink);
}
.brand-sub {
  font-size: 10.5px; color: var(--muted); font-weight: 500;
  letter-spacing: .03em; text-transform: uppercase;
}

.search-form { position: relative; width: 100%; max-width: 560px; justify-self: center; }
/* Needs the attribute selector so it outranks the generic input[type="search"]
   rule further down the sheet, which would otherwise reset the padding and
   push the placeholder under the magnifier icon. */
.search-form input[type="search"] {
  width: 100%; height: 42px; min-height: 42px;
  padding: 0 96px 0 40px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface-2);
  font-size: 14px; color: var(--ink);
  transition: border-color .18s var(--ease), background .18s var(--ease), box-shadow .18s var(--ease);
}
.search-form input[type="search"]::placeholder { color: var(--faint); }
.search-form input[type="search"]:focus {
  outline: none; background: #fff;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(31, 122, 77, .13);
}
.search-form .search-icon {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px; color: var(--faint); pointer-events: none;
}
.search-form button {
  position: absolute; right: 4px; top: 4px; height: 34px;
  padding: 0 18px; border: 0; border-radius: 999px;
  background: var(--brand); color: #fff;
  font-size: 13px; font-weight: 600; cursor: pointer;
  transition: background .18s var(--ease);
}
.search-form button:hover { background: var(--brand-dark); }

.header-actions { display: flex; align-items: center; gap: 4px; flex: none; }
.icon-link {
  display: inline-flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 6px 11px; border-radius: var(--radius);
  color: var(--ink-2); font-size: 11px; font-weight: 600;
  transition: background .16s var(--ease), color .16s var(--ease);
  position: relative;
}
.icon-link:hover { background: var(--surface-2); color: var(--brand); }
.icon-link svg { width: 20px; height: 20px; }
.cart-count {
  position: absolute; top: 1px; right: 4px;
  min-width: 17px; height: 17px; padding: 0 4px;
  border-radius: 999px; background: var(--gold); color: #fff;
  font-size: 10.5px; font-weight: 700; line-height: 17px; text-align: center;
  border: 2px solid #fff;
}

.nav-toggle {
  display: none; width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: #fff; color: var(--ink); cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }

/* category bar */
.catbar { border-top: 1px solid var(--line); background: #fff; }
.catbar .container {
  display: flex; align-items: center; gap: 4px;
  overflow-x: auto; scrollbar-width: none; min-height: 44px;
}
.catbar .container::-webkit-scrollbar { display: none; }
.catbar a {
  padding: 7px 13px; border-radius: 999px; white-space: nowrap;
  font-size: 13.5px; font-weight: 550; color: var(--ink-2);
  transition: background .16s var(--ease), color .16s var(--ease);
}
.catbar a:hover { background: var(--brand-tint); color: var(--brand-dark); }
.catbar a.is-active { background: var(--brand); color: #fff; }
.catbar .catbar-spacer { flex: 1; }
.catbar .catbar-note {
  font-size: 12.5px; color: var(--muted); white-space: nowrap;
  display: inline-flex; align-items: center; gap: 6px;
}
.catbar .catbar-note svg { width: 14px; height: 14px; color: var(--brand); }

@media (max-width: 940px) {
  .header-main { grid-template-columns: auto 1fr auto; gap: 12px; }
  .search-form { display: none; }
  .search-form.is-mobile { display: block; grid-column: 1 / -1; max-width: none; padding-bottom: 12px; }
  .brand-sub { display: none; }
  .icon-link span { display: none; }
  .catbar .catbar-note { display: none; }
}

/* ----------------------------------------------------------------- buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 22px;
  border: 1px solid transparent; border-radius: var(--radius);
  font-size: 14px; font-weight: 650; letter-spacing: -.005em;
  cursor: pointer; white-space: nowrap;
  transition: background .18s var(--ease), border-color .18s var(--ease),
              color .18s var(--ease), transform .12s var(--ease), box-shadow .18s var(--ease);
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-xs); }
.btn-primary:hover { background: var(--brand-dark); box-shadow: var(--shadow-sm); }

.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }

.btn-outline { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-tint-2); }

.btn-ghost { background: var(--surface-2); color: var(--ink); }
.btn-ghost:hover { background: var(--surface-3); }

.btn-sm { height: 36px; padding: 0 14px; font-size: 13px; border-radius: var(--radius-sm); }
.btn-lg { height: 50px; padding: 0 28px; font-size: 15px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn.added { background: var(--gold); border-color: var(--gold); }

/* -------------------------------------------------------------- structural */

.section { padding: 52px 0; }
.section-tight { padding: 34px 0; }
.section-alt { background: var(--surface-2); }

.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: 26px; flex-wrap: wrap;
}
.section-head p { color: var(--muted); margin: 7px 0 0; max-width: 62ch; font-size: 14.5px; }
.section-head .link-more {
  font-size: 14px; font-weight: 650; color: var(--brand);
  display: inline-flex; align-items: center; gap: 5px;
}
.section-head .link-more:hover { gap: 9px; }
.section-head .link-more svg { width: 15px; height: 15px; transition: transform .18s var(--ease); }

.eyebrow {
  display: inline-block; font-size: 11.5px; font-weight: 700;
  letter-spacing: .11em; text-transform: uppercase; color: var(--brand);
  margin-bottom: 10px;
}

.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-xs);
}
.card-pad { padding: 26px; }
@media (max-width: 640px) { .card-pad { padding: 18px; } }

.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }

/* -------------------------------------------------------------------- hero */

.hero { padding: 34px 0 8px; }
.hero-grid {
  display: grid; grid-template-columns: 1.08fr .92fr; gap: 22px;
}
.hero-main {
  position: relative; overflow: hidden;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(1100px 460px at 12% -30%, rgba(255, 255, 255, .16), transparent 62%),
    linear-gradient(140deg, #175f3b 0%, #0f4629 58%, #0b3520 100%);
  color: #fff;
  padding: 56px 52px;
  display: flex; flex-direction: column; justify-content: center;
  min-height: 400px;
  isolation: isolate;
}
.hero-main::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .32;
  background-image:
    radial-gradient(circle at 84% 22%, rgba(200, 134, 42, .5), transparent 46%),
    radial-gradient(circle at 96% 84%, rgba(88, 190, 137, .34), transparent 44%);
}
.hero-main .eyebrow { color: #8fd8b2; }
.hero-main h1 { color: #fff; max-width: 15ch; }
.hero-main p {
  color: #cfe4d8; font-size: 15.5px; max-width: 52ch; margin: 16px 0 0; line-height: 1.62;
}
.hero-cta { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.hero-main .btn-outline {
  background: rgba(255, 255, 255, .08); color: #fff;
  border-color: rgba(255, 255, 255, .34); backdrop-filter: blur(4px);
}
.hero-main .btn-outline:hover { background: rgba(255, 255, 255, .18); border-color: #fff; color: #fff; }

.hero-stats {
  display: flex; gap: 34px; margin-top: 38px;
  padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .16);
  flex-wrap: wrap;
}
.hero-stats div strong {
  display: block; font-size: 1.55rem; font-weight: 800;
  letter-spacing: -.03em; color: #fff;
}
.hero-stats div span { font-size: 12.5px; color: #a8c9b8; }

.hero-side { display: grid; grid-template-rows: 1fr 1fr; gap: 22px; }
.hero-tile {
  position: relative; overflow: hidden;
  border-radius: var(--radius-xl); border: 1px solid var(--line);
  padding: 30px; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 189px; background: var(--surface-2);
}
.hero-tile img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.hero-tile::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(10, 22, 16, .1) 0%, rgba(10, 22, 16, .78) 100%);
}
.hero-tile > * { position: relative; z-index: 2; }
.hero-tile h3 { color: #fff; font-size: 1.15rem; }
.hero-tile p { color: #cfe0d7; font-size: 13px; margin: 5px 0 0; }
.hero-tile .tile-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 14px;
  font-size: 13px; font-weight: 650; color: #fff;
}
.hero-tile .tile-link svg { width: 14px; height: 14px; transition: transform .18s var(--ease); }
.hero-tile:hover .tile-link svg { transform: translateX(3px); }

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-side { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .hero-main { padding: 40px 26px; min-height: 0; }
  .hero-side { grid-template-columns: 1fr; }
  .hero-stats { gap: 22px; }
}

/* ------------------------------------------------------------- trust strip */

.trust-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; margin-top: 22px;
}
.trust-item {
  background: #fff; padding: 20px 22px;
  display: flex; gap: 13px; align-items: flex-start;
}
.trust-item .ico {
  width: 34px; height: 34px; border-radius: 9px; flex: none;
  background: var(--brand-tint); color: var(--brand-dark);
  display: grid; place-items: center;
}
.trust-item .ico svg { width: 17px; height: 17px; }
.trust-item strong { display: block; font-size: 13.5px; font-weight: 650; }
.trust-item span { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
@media (max-width: 900px) { .trust-strip { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .trust-strip { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------- category  */

.cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.cat-card {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg); border: 1px solid var(--line);
  background: var(--surface-2); min-height: 168px;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 18px; transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.cat-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  z-index: 0; transition: transform .5s var(--ease);
}
.cat-card::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(9, 20, 14, .06) 30%, rgba(9, 20, 14, .8) 100%);
}
.cat-card > * { position: relative; z-index: 2; }
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.cat-card:hover img { transform: scale(1.06); }
.cat-card h3 { color: #fff; font-size: 15px; line-height: 1.3; }
.cat-card span { font-size: 12px; color: #bcd4c7; }
@media (max-width: 1000px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px)  { .cat-grid { grid-template-columns: repeat(2, 1fr); } }

/* -------------------------------------------------------------- product(s) */

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  gap: 18px;
}
.product-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.product-card:hover {
  border-color: var(--line-strong); box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.product-media {
  position: relative; aspect-ratio: 1 / 1;
  background: var(--surface-2); overflow: hidden;
}
.product-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .45s var(--ease);
}
.product-card:hover .product-media img { transform: scale(1.05); }
.product-flag {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  padding: 3px 9px; border-radius: 999px;
  background: rgba(255, 255, 255, .95);
  font-size: 10.5px; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: var(--brand-dark);
  box-shadow: var(--shadow-xs);
}
.product-body { padding: 14px 15px 15px; display: flex; flex-direction: column; flex: 1; gap: 4px; }
.product-cat {
  font-size: 11px; font-weight: 600; color: var(--brand);
  letter-spacing: .04em; text-transform: uppercase;
}
.product-title {
  font-size: 14px; font-weight: 600; line-height: 1.38; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; min-height: 2.76em;
}
.product-variant { font-size: 12.5px; color: var(--muted); }
.product-foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; margin-top: auto; padding-top: 12px;
}
.product-price { font-size: 1.06rem; font-weight: 750; letter-spacing: -.02em; }
.product-price small { font-size: 11.5px; font-weight: 500; color: var(--muted); }

/* --------------------------------------------------------------- shop page */

.shop-layout { display: grid; grid-template-columns: 244px minmax(0, 1fr); gap: 30px; align-items: start; }
.filter-panel { position: sticky; top: calc(var(--header-h) + 16px); }
.filter-block { padding: 18px 0; border-bottom: 1px solid var(--line); }
.filter-block:first-child { padding-top: 0; }
.filter-block:last-child { border-bottom: 0; }
.filter-block h4 {
  font-size: 12px; letter-spacing: .07em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 12px;
}
.filter-list { display: flex; flex-direction: column; gap: 2px; }
.filter-list a {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 7px 10px; border-radius: var(--radius-sm);
  font-size: 13.5px; color: var(--ink-2);
  transition: background .15s var(--ease), color .15s var(--ease);
}
.filter-list a:hover { background: var(--surface-2); }
.filter-list a.is-active { background: var(--brand-tint); color: var(--brand-dark); font-weight: 650; }
.filter-list a em { font-style: normal; font-size: 12px; color: var(--faint); }
.filter-list a.is-active em { color: var(--brand); }

.shop-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; margin-bottom: 20px; flex-wrap: wrap;
}
.shop-toolbar .result-count { font-size: 13.5px; color: var(--muted); }
.shop-toolbar .result-count strong { color: var(--ink); font-weight: 650; }
.sort-select {
  height: 38px; padding: 0 34px 0 12px;
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%235e6b66'%3E%3Cpath d='M4.2 6.2 8 10l3.8-3.8H4.2Z'/%3E%3C/svg%3E") no-repeat right 10px center/14px;
  font-size: 13.5px; color: var(--ink); cursor: pointer;
  appearance: none; -webkit-appearance: none;
}
.sort-select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(31, 122, 77, .13); }

.chip-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 11px; border-radius: 999px;
  background: var(--brand-tint); color: var(--brand-dark);
  font-size: 12.5px; font-weight: 600;
}
.chip a { display: grid; place-items: center; width: 15px; height: 15px; border-radius: 50%; background: rgba(15, 70, 41, .13); }
.chip a:hover { background: rgba(15, 70, 41, .26); }
.chip svg { width: 9px; height: 9px; }

.filter-drawer-btn { display: none; }
@media (max-width: 900px) {
  .shop-layout { grid-template-columns: 1fr; }
  .filter-panel {
    position: static; display: none;
    border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px;
  }
  .filter-panel.is-open { display: block; }
  .filter-drawer-btn { display: inline-flex; }
}

/* pagination */
.pagination { display: flex; gap: 6px; justify-content: center; align-items: center; margin-top: 40px; flex-wrap: wrap; }
.pagination a, .pagination span {
  min-width: 38px; height: 38px; padding: 0 11px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-size: 13.5px; font-weight: 600; color: var(--ink-2); background: #fff;
  transition: border-color .15s var(--ease), background .15s var(--ease);
}
.pagination a:hover { border-color: var(--brand); color: var(--brand); }
.pagination .is-current { background: var(--brand); border-color: var(--brand); color: #fff; }
.pagination .gap { border: 0; background: none; color: var(--faint); min-width: 20px; }

/* ------------------------------------------------------------ product page */

.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: start; }
.pdp-media {
  border: 1px solid var(--line); border-radius: var(--radius-xl);
  overflow: hidden; background: var(--surface-2); aspect-ratio: 1 / 1;
  position: sticky; top: calc(var(--header-h) + 20px);
}
.pdp-media img { width: 100%; height: 100%; object-fit: cover; }
.pdp h1 { font-size: clamp(1.55rem, 3vw, 2.1rem); margin: 10px 0 8px; }
.pdp-price { display: flex; align-items: baseline; gap: 10px; margin: 18px 0; }
.pdp-price strong { font-size: 2rem; font-weight: 780; letter-spacing: -.03em; }
.pdp-price span { font-size: 13px; color: var(--muted); }

.spec-table { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 13.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(--muted); font-weight: 500; width: 40%; }
.spec-table td { font-weight: 550; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }

.qty-row { display: flex; gap: 12px; align-items: stretch; margin: 22px 0; flex-wrap: wrap; }
.qty-stepper {
  display: inline-flex; align-items: center;
  border: 1px solid var(--line-strong); border-radius: var(--radius); overflow: hidden; background: #fff;
}
.qty-stepper button {
  width: 40px; height: 44px; border: 0; background: #fff; color: var(--ink);
  font-size: 17px; cursor: pointer; transition: background .15s var(--ease);
}
.qty-stepper button:hover { background: var(--surface-2); }
.qty-stepper input {
  width: 46px; height: 44px; border: 0; text-align: center;
  font-size: 14px; font-weight: 650; color: var(--ink);
  -moz-appearance: textfield;
}
.qty-stepper input::-webkit-outer-spin-button,
.qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-stepper input:focus { outline: none; }

.assurance-list { display: flex; flex-direction: column; gap: 11px; margin-top: 6px; }
.assurance-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--ink-2); }
.assurance-list svg { width: 16px; height: 16px; color: var(--brand); flex: none; margin-top: 2px; }
ul.assurance-list { list-style: none; padding: 0; margin: 6px 0 0; }

@media (max-width: 880px) {
  .pdp { grid-template-columns: 1fr; gap: 26px; }
  .pdp-media { position: static; }
}

/* ------------------------------------------------------------- cart/layout */

.split { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, .95fr); gap: 26px; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.summary { position: sticky; top: calc(var(--header-h) + 20px); }
.summary h3 { margin-bottom: 16px; }
.sum-row { display: flex; justify-content: space-between; gap: 14px; font-size: 14px; padding: 7px 0; }
.sum-row.muted-row { color: var(--muted); }
.sum-total {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: 14px; padding-top: 16px; border-top: 1px solid var(--line);
}
.sum-total strong:first-child { font-size: 14.5px; }
.sum-total strong:last-child { font-size: 1.4rem; font-weight: 780; letter-spacing: -.025em; }

.cart-line {
  display: grid; grid-template-columns: 78px minmax(0, 1fr) auto;
  gap: 15px; padding: 17px 0; border-bottom: 1px solid var(--line); align-items: center;
}
.cart-line:last-child { border-bottom: 0; }
.cart-line .thumb {
  width: 78px; height: 78px; border-radius: var(--radius);
  overflow: hidden; background: var(--surface-2); border: 1px solid var(--line);
}
.cart-line .thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-line h4 { font-size: 14px; font-weight: 600; line-height: 1.4; }
.cart-line .line-meta { font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.cart-line .line-right { text-align: right; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.cart-line .line-total { font-weight: 700; font-size: 14.5px; }
.link-remove { font-size: 12.5px; color: var(--muted); text-decoration: underline; }
.link-remove:hover { color: var(--danger); }
@media (max-width: 560px) {
  .cart-line { grid-template-columns: 62px minmax(0, 1fr); }
  .cart-line .thumb { width: 62px; height: 62px; }
  .cart-line .line-right { grid-column: 2; align-items: flex-start; text-align: left; }
}

/* ------------------------------------------------------------------- forms */

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.field label .req { color: var(--danger); }
.field .hint { font-size: 12px; color: var(--muted); }

input[type="text"], input[type="email"], input[type="tel"], input[type="password"],
input[type="number"], input[type="search"], input[type="file"], select, textarea {
  width: 100%; padding: 10px 12px; min-height: 42px;
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  background: #fff; font-family: inherit; font-size: 14px; color: var(--ink);
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
}
textarea { min-height: 104px; resize: vertical; line-height: 1.55; }
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(31, 122, 77, .13);
}
input::placeholder, textarea::placeholder { color: var(--faint); }
select { appearance: none; -webkit-appearance: none; padding-right: 34px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%235e6b66'%3E%3Cpath d='M4.2 6.2 8 10l3.8-3.8H4.2Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 11px center; background-size: 14px;
}

.radio-card {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 15px; border: 1px solid var(--line-strong); border-radius: var(--radius);
  cursor: pointer; transition: border-color .16s var(--ease), background .16s var(--ease);
}
.radio-card:hover { border-color: var(--brand); }
.radio-card input { width: auto; min-height: 0; margin: 3px 0 0; accent-color: var(--brand); flex: none; }
.radio-card strong { display: block; font-size: 14px; font-weight: 650; }
.radio-card span { font-size: 12.5px; color: var(--muted); }
.radio-card.is-selected { border-color: var(--brand); background: var(--brand-tint-2); }

/* ------------------------------------------------------------------ notice */

.notice {
  padding: 13px 16px; border-radius: var(--radius);
  background: var(--brand-tint-2); border: 1px solid #cfe5d9;
  font-size: 13.5px; color: var(--ink-2);
  display: flex; gap: 10px; align-items: flex-start;
}
.notice svg { width: 16px; height: 16px; color: var(--brand); flex: none; margin-top: 2px; }
.notice-warn { background: var(--gold-tint); border-color: #f0dcb8; }
.notice-warn svg { color: var(--gold); }
.notice-error { background: var(--danger-tint); border-color: #f4cdc9; }
.notice-error svg { color: var(--danger); }

.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px; border-radius: 999px; white-space: nowrap;
  background: var(--surface-3); color: var(--ink-2);
  font-size: 11.5px; font-weight: 650; letter-spacing: .015em;
}
.badge-green { background: var(--brand-tint); color: var(--brand-dark); }
.badge-gold { background: var(--gold-tint); color: #8a5c17; }

.empty-state { text-align: center; padding: 56px 20px; }
.empty-state .ico {
  width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%;
  background: var(--surface-2); display: grid; place-items: center; color: var(--faint);
}
.empty-state .ico svg { width: 25px; height: 25px; }
.empty-state h3 { margin-bottom: 7px; }
.empty-state p { color: var(--muted); margin-bottom: 20px; }

/* ------------------------------------------------------------------- legal */

.legal-layout { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 46px; align-items: start; }
.legal-nav { position: sticky; top: calc(var(--header-h) + 20px); display: flex; flex-direction: column; gap: 2px; }
.legal-nav a {
  padding: 9px 13px; border-radius: var(--radius-sm);
  font-size: 13.5px; color: var(--ink-2);
  border-left: 2px solid transparent;
  transition: background .15s var(--ease), color .15s var(--ease);
}
.legal-nav a:hover { background: var(--surface-2); }
.legal-nav a.is-active {
  background: var(--brand-tint); color: var(--brand-dark);
  font-weight: 650; border-left-color: var(--brand);
}

.legal-body { max-width: 78ch; }
.legal-body h1 { font-size: clamp(1.7rem, 3.2vw, 2.35rem); }
.legal-meta { font-size: 13px; color: var(--muted); margin: 10px 0 26px; }
.legal-intro {
  font-size: 15.5px; color: var(--ink-2); line-height: 1.7;
  padding: 18px 20px; background: var(--surface-2);
  border-radius: var(--radius); border-left: 3px solid var(--brand);
  margin-bottom: 32px;
}
.legal-body h2 {
  font-size: 1.13rem; font-weight: 700; margin: 34px 0 12px;
  padding-top: 4px; letter-spacing: -.015em;
}
.legal-body h2:first-of-type { margin-top: 0; }
.legal-body p { color: var(--ink-2); line-height: 1.72; margin-bottom: 13px; font-size: 14.5px; }
.legal-body ul, .legal-body ol { margin: 0 0 14px; padding-left: 21px; }
.legal-body li { color: var(--ink-2); line-height: 1.68; margin-bottom: 8px; font-size: 14.5px; }
.legal-body li::marker { color: var(--brand); }

.kv-table { width: 100%; border-collapse: collapse; margin: 14px 0 6px; font-size: 14px; }
.kv-table th, .kv-table td { text-align: left; padding: 11px 14px; border: 1px solid var(--line); vertical-align: top; }
.kv-table th { background: var(--surface-2); font-weight: 600; color: var(--ink-2); width: 32%; }
@media (max-width: 560px) { .kv-table th, .kv-table td { display: block; width: 100%; border-bottom: 0; } .kv-table tr:last-child td { border-bottom: 1px solid var(--line); } }

@media (max-width: 880px) {
  .legal-layout { grid-template-columns: 1fr; gap: 26px; }
  .legal-nav { position: static; flex-direction: row; overflow-x: auto; padding-bottom: 6px; }
  .legal-nav a { white-space: nowrap; border-left: 0; border-bottom: 2px solid transparent; }
  .legal-nav a.is-active { border-left: 0; border-bottom-color: var(--brand); }
}

/* --------------------------------------------------------------------- faq */

.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  padding: 18px 40px 18px 0; cursor: pointer; list-style: none;
  font-size: 15px; font-weight: 600; position: relative; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; position: absolute; right: 6px; top: 50%;
  width: 9px; height: 9px; margin-top: -6px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg); transition: transform .2s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq-item .faq-answer { padding: 0 40px 20px 0; color: var(--muted); font-size: 14.5px; line-height: 1.7; }

/* ------------------------------------------------------------------ footer */

.site-footer { background: #0d1512; color: #9fb3aa; margin-top: 60px; }
.footer-trust {
  border-bottom: 1px solid rgba(255, 255, 255, .09);
  padding: 26px 0;
}
.footer-trust .container { display: flex; justify-content: space-between; gap: 26px; flex-wrap: wrap; }
.footer-trust div { display: flex; gap: 11px; align-items: center; font-size: 13px; color: #c4d5cd; }
.footer-trust svg { width: 19px; height: 19px; color: var(--brand); flex: none; }

.footer-main {
  display: grid; grid-template-columns: 1.9fr 1fr 1fr 1.15fr;
  gap: 42px; padding: 46px 0 38px;
}
.footer-main h4 {
  color: #fff; font-size: 12px; letter-spacing: .09em;
  text-transform: uppercase; margin-bottom: 15px;
}
.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-links a { font-size: 13.5px; color: #9fb3aa; transition: color .15s var(--ease); width: fit-content; }
.footer-links a:hover { color: #fff; }

.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-sub { color: #7d938a; }
.footer-about { font-size: 13.5px; line-height: 1.68; margin: 15px 0 0; max-width: 44ch; color: #9fb3aa; }
.footer-legalbox {
  margin-top: 18px; padding: 15px 17px;
  background: rgba(255, 255, 255, .04); border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, .07);
  font-size: 12.5px; line-height: 1.75; color: #93a99f;
}
.footer-legalbox strong { color: #d6e4dd; font-weight: 600; }
.footer-legalbox div { display: flex; gap: 7px; }
.footer-legalbox span:first-child { color: #7d938a; min-width: 74px; flex: none; }

.footer-contact { display: flex; flex-direction: column; gap: 12px; font-size: 13.5px; }
.footer-contact a, .footer-contact div { display: flex; gap: 10px; align-items: flex-start; color: #9fb3aa; }
.footer-contact a:hover { color: #fff; }
.footer-contact svg { width: 16px; height: 16px; color: var(--brand); flex: none; margin-top: 3px; }

.footer-pay { margin-top: 20px; }
.footer-pay span { font-size: 11px; letter-spacing: .07em; text-transform: uppercase; color: #7d938a; display: block; margin-bottom: 9px; }
.footer-pay .pay-row { display: flex; gap: 7px; flex-wrap: wrap; }
.footer-pay .pay-chip {
  padding: 4px 10px; border-radius: 5px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .09);
  font-size: 11.5px; font-weight: 600; color: #c4d5cd;
}

.footer-bar {
  border-top: 1px solid rgba(255, 255, 255, .09); padding: 18px 0;
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  font-size: 12.5px; color: #7d938a;
}
.footer-bar .bar-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-bar a:hover { color: #fff; }

@media (max-width: 940px) { .footer-main { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 560px) { .footer-main { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ motion */

[data-reveal] {
  opacity: 0; transform: translateY(14px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------------- print */

@media print {
  .site-header, .site-footer, .announce, .catbar, .hero, .btn { display: none !important; }
  body { font-size: 11pt; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-nav { display: none; }
}
