/* ===== KIVAN design system — Louis-Poulsen-style minimal ===== */
:root {
  --bg: #FFFFFF;
  --bg-soft: #F4F4F4;
  --ink: #121212;
  --ink-soft: #6B6B6B;
  --brass: #A87C4F;
  --brass-deep: #8C6239;
  --line: #E6E6E6;
  --white: #FFFFFF;
  --serif: "Inter", "Helvetica Neue", Arial, sans-serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --radius: 0px;
  --shadow: 0 6px 24px rgba(18, 18, 18, .06);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--sans); font-weight: 500; line-height: 1.12; letter-spacing: -.015em; }

/* ---- header ---- */
.announce {
  background: var(--ink);
  color: var(--bg);
  text-align: center;
  font-size: 12px;
  letter-spacing: .08em;
  padding: 8px 16px;
  text-transform: uppercase;
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo { font-family: var(--sans); font-size: 24px; letter-spacing: .34em; font-weight: 600; text-transform: uppercase; }
.logo-dot { color: var(--brass); }
.main-nav { display: flex; gap: 30px; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; }
.main-nav a { color: var(--ink-soft); padding: 6px 2px; border-bottom: 1px solid transparent; }
.main-nav a.active, .main-nav a:hover { color: var(--ink); border-bottom-color: var(--brass); }
.cart-link { position: relative; color: var(--ink); }
.header-right { display: flex; align-items: center; gap: 14px; }
.lang-select {
  background: transparent; border: 1px solid var(--line);
  border-radius: 999px; padding: 6px 10px; font-size: 12.5px;
  font-family: inherit; color: var(--ink-soft); cursor: pointer; outline: none;
}
.lang-select:hover { border-color: var(--brass); color: var(--ink); }
.cart-badge {
  position: absolute; top: -7px; right: -10px;
  background: var(--brass); color: #fff;
  font-size: 11px; min-width: 18px; height: 18px;
  border-radius: 9px; display: flex; align-items: center; justify-content: center;
  padding: 0 4px;
}
.nav-toggle { display: none; background: none; border: none; font-size: 22px; }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 32px; border-radius: 0;
  font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  border: 1px solid var(--ink); background: var(--ink); color: var(--bg);
  transition: all .25s ease;
}
.btn:hover { background: var(--brass); border-color: var(--brass); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--bg); }
.btn-brass { background: var(--brass); border-color: var(--brass); color: #fff; }
.btn-brass:hover { background: var(--brass-deep); border-color: var(--brass-deep); }
.btn-wide { width: 100%; }

/* ---- hero ---- */
.hero {
  position: relative; min-height: 86vh;
  display: flex; align-items: flex-end;
  background: url("../images/scene-banner.png") center/cover no-repeat;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(33,28,21,.05) 40%, rgba(33,28,21,.55) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 1200px; width: 100%;
  margin: 0 auto; padding: 60px 24px;
  color: #fff;
}
.hero-tag { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; opacity: .85; margin-bottom: 14px; }
.hero h1 { font-size: clamp(38px, 6vw, 64px); max-width: 640px; margin-bottom: 16px; }
.hero p { max-width: 480px; opacity: .9; margin-bottom: 28px; font-size: 16px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .btn { border-color: #fff; background: #fff; color: var(--ink); }
.hero .btn-outline { background: rgba(255,255,255,.08); color: #fff; backdrop-filter: blur(4px); }
.hero .btn:hover { background: var(--brass); border-color: var(--brass); color: #fff; }

/* ---- sections ---- */
.section { max-width: 1200px; margin: 0 auto; padding: 72px 24px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 36px; }
.section-head h2 { font-size: 34px; }
.section-head a { font-size: 13px; letter-spacing: .1em; color: var(--brass); text-transform: uppercase; }
.eyebrow { font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--brass); margin-bottom: 10px; }

/* ---- product grid ---- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
  background: var(--white); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  transition: transform .3s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); }
.card-img { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--bg-soft); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-img img { transform: scale(1.04); }
.badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--ink); color: var(--bg);
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
}
.badge.sale { background: var(--brass); }
.card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card-cat { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 6px; }
.card-name { font-family: var(--serif); font-size: 19px; margin-bottom: 8px; }
.card-short { font-size: 13.5px; color: var(--ink-soft); flex: 1; margin-bottom: 14px; }
.card-row { display: flex; align-items: center; justify-content: space-between; }
.price { font-size: 17px; font-weight: 600; }
.price s { color: var(--ink-soft); font-weight: 400; font-size: 13.5px; margin-left: 8px; }
.card-add {
  background: none; border: 1px solid var(--ink);
  padding: 9px 18px; border-radius: 999px;
  font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  transition: all .2s ease;
}
.card-add:hover { background: var(--ink); color: var(--bg); }

/* ---- value props ---- */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 22px;
}
.value .v-icon { font-size: 22px; margin-bottom: 10px; }
.value h3 { font-size: 16px; font-family: var(--sans); font-weight: 600; margin-bottom: 6px; }
.value p { font-size: 13.5px; color: var(--ink-soft); }

/* ---- story band ---- */
.story {
  background: var(--bg-soft);
}
.story-inner {
  max-width: 1200px; margin: 0 auto; padding: 80px 24px;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center;
}
.story h2 { font-size: 36px; margin-bottom: 18px; }
.story p { color: var(--ink-soft); margin-bottom: 14px; max-width: 520px; }
.story-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }

/* ---- shop page ---- */
.shop-head { padding: 56px 0 8px; }
.shop-head h1 { font-size: 42px; }
.shop-head p { color: var(--ink-soft); margin-top: 8px; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin: 26px 0 34px; }
.chip {
  border: 1px solid var(--line); background: var(--white);
  padding: 9px 20px; border-radius: 999px; font-size: 13px;
  letter-spacing: .04em; transition: all .2s ease;
}
.chip.active, .chip:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.sort-note { margin-left: auto; font-size: 13px; color: var(--ink-soft); align-self: center; }

/* ---- product detail ---- */
.pdp { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: start; }
.pdp-gallery { position: sticky; top: 24px; }
.pdp-main { overflow: hidden; background: var(--bg-soft); }
.pdp-main img { width: 100%; aspect-ratio: 1; object-fit: cover; animation: fadeIn .25s ease; }
@keyframes fadeIn { from { opacity: .4; } to { opacity: 1; } }
.pdp-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; }
.pdp-thumbs img {
  width: 84px; height: 84px; object-fit: cover; cursor: pointer;
  border: 2px solid transparent; opacity: .65; transition: all .2s ease;
}
.pdp-thumbs img:hover { opacity: 1; }
.pdp-thumbs img.active { border-color: var(--ink); opacity: 1; }
.pdp-details { max-width: 860px; margin: 48px auto 0; display: flex; flex-direction: column; gap: 24px; }
.pdp-details img { width: 100%; }
.pdp-details p { font-size: 16px; line-height: 1.8; color: var(--ink); max-width: 720px; }
.pdp-img { border-radius: var(--radius); overflow: hidden; background: var(--white); box-shadow: var(--shadow); position: sticky; top: 24px; }
.pdp-info { padding-top: 12px; }
.pdp-info .card-cat { font-size: 12px; }
.pdp-info h1 { font-size: 38px; margin: 8px 0 14px; }
.pdp-price { font-size: 26px; font-weight: 600; margin-bottom: 4px; }
.pdp-price s { font-size: 17px; color: var(--ink-soft); font-weight: 400; margin-left: 10px; }
.pdp-stock { font-size: 13px; color: #3E7C4F; margin-bottom: 18px; }
.pdp-desc { color: var(--ink-soft); margin-bottom: 24px; }
.pdp h3.feat-title { font-family: var(--sans); font-size: 14px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; }
.feat-list { list-style: none; margin-bottom: 26px; }
.feat-list li { padding: 9px 0 9px 26px; border-bottom: 1px solid var(--line); font-size: 14.5px; position: relative; }
.feat-list li::before { content: "—"; position: absolute; left: 0; color: var(--brass); }
.qty-row { display: flex; gap: 14px; margin-bottom: 12px; }
.qty {
  display: flex; align-items: center; border: 1px solid var(--line);
  border-radius: 999px; overflow: hidden; background: var(--white);
}
.qty button { width: 42px; height: 46px; background: none; border: none; font-size: 18px; }
.qty span { min-width: 34px; text-align: center; font-weight: 600; }
.qty-row .btn { flex: 1; }
.pdp-dims { font-size: 13px; color: var(--ink-soft); margin-top: 16px; }
.trust { display: flex; gap: 22px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-soft); flex-wrap: wrap; }
.trust span { display: flex; align-items: center; gap: 7px; }

/* ---- cart ---- */
.cart-wrap { display: grid; grid-template-columns: 1.4fr .8fr; gap: 44px; align-items: start; }
.cart-list { display: flex; flex-direction: column; gap: 18px; }
.cart-item {
  display: grid; grid-template-columns: 110px 1fr auto; gap: 18px;
  background: var(--white); border-radius: var(--radius);
  padding: 16px; box-shadow: var(--shadow); align-items: center;
}
.cart-item img { width: 110px; height: 110px; object-fit: cover; border-radius: 10px; background: var(--bg-soft); }
.ci-name { font-family: var(--serif); font-size: 17px; }
.ci-cat { font-size: 12px; color: var(--ink-soft); margin: 2px 0 10px; }
.ci-remove { background: none; border: none; color: var(--ink-soft); font-size: 12.5px; text-decoration: underline; padding: 0; }
.ci-remove:hover { color: #A33; }
.ci-right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.ci-price { font-weight: 600; }
.cart-empty {
  background: var(--white); border-radius: var(--radius);
  padding: 60px 30px; text-align: center; box-shadow: var(--shadow);
}
.cart-empty h2 { margin-bottom: 10px; }
.cart-empty p { color: var(--ink-soft); margin-bottom: 24px; }
.summary {
  background: var(--white); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
  position: sticky; top: 24px;
}
.summary h3 { font-size: 20px; margin-bottom: 18px; }
.sum-row { display: flex; justify-content: space-between; font-size: 14.5px; padding: 8px 0; }
.sum-row.total { font-size: 18px; font-weight: 700; border-top: 1px solid var(--line); margin-top: 10px; padding-top: 16px; }
.ship-bar { margin: 14px 0 6px; }
.ship-bar .bar { height: 6px; background: var(--bg-soft); border-radius: 3px; overflow: hidden; margin-top: 8px; }
.ship-bar .fill { height: 100%; background: var(--brass); transition: width .4s ease; }
.ship-bar small { color: var(--ink-soft); }

/* ---- checkout ---- */
.checkout-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: start; }
.panel { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); margin-bottom: 22px; }
.panel h3 { font-size: 20px; margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }
.step-num {
  width: 26px; height: 26px; border-radius: 50%; flex: none;
  background: var(--ink); color: var(--bg);
  display: flex; align-items: center; justify-content: center; font-size: 13px;
  font-family: var(--sans); font-weight: 600;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 12.5px; letter-spacing: .05em; color: var(--ink-soft); }
.field input, .field select {
  border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 14px; font-size: 14.5px; font-family: inherit;
  background: var(--bg); color: var(--ink); outline: none; width: 100%;
}
.field input:focus { border-color: var(--brass); }
.pay-methods { display: flex; flex-direction: column; gap: 12px; }
.pay-option {
  display: flex; align-items: center; gap: 14px;
  border: 1.5px solid var(--line); border-radius: 12px;
  padding: 16px 18px; cursor: pointer; background: var(--bg);
  transition: border-color .2s ease;
}
.pay-option.selected { border-color: var(--brass); background: #FBF4EA; }
.pay-option .pm-logo { font-weight: 700; font-size: 15px; }
.pay-option small { color: var(--ink-soft); font-size: 12.5px; }
.demo-note {
  margin-top: 14px; font-size: 12.5px; color: var(--ink-soft);
  background: var(--bg-soft); border-radius: 10px; padding: 10px 14px;
}
.order-ok { text-align: center; padding: 90px 24px; }
.order-ok .ok-icon { width: 64px; height: 64px; margin: 0 auto 22px; border-radius: 50%; background: var(--brass); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 30px; }
.order-ok h1 { margin-bottom: 12px; }
.order-ok p { color: var(--ink-soft); margin-bottom: 28px; }

/* ---- about ---- */
.about-hero { text-align: center; padding: 90px 24px 30px; }
.about-hero h1 { font-size: 46px; margin-bottom: 16px; }
.about-hero p { max-width: 620px; margin: 0 auto; color: var(--ink-soft); font-size: 17px; }
.about-img { max-width: 900px; margin: 40px auto 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.about-col h3 { font-size: 20px; margin-bottom: 10px; }
.about-col p { font-size: 14.5px; color: var(--ink-soft); }

/* ---- LP-style homepage components ---- */
.hero-lp .hero-content { max-width: 1200px; margin: 0 auto; padding: 0 24px 64px; }
.hero-lp h1 { font-size: clamp(40px, 5.5vw, 72px); font-weight: 500; max-width: 720px; }
.hero-lp p { font-size: 17px; max-width: 520px; margin-bottom: 28px; }

.prod-rail {
  display: flex; gap: 24px; overflow-x: auto;
  scroll-snap-type: x mandatory; padding-bottom: 14px;
}
.prod-rail::-webkit-scrollbar { height: 5px; }
.prod-rail::-webkit-scrollbar-thumb { background: var(--line); }
.rail-card { flex: 0 0 300px; scroll-snap-align: start; }
.rail-img { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--bg-soft); }
.rail-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.rail-card:hover .rail-img img { transform: scale(1.04); }
.rail-img .badge { position: absolute; top: 14px; left: 14px; }
.rail-body { padding: 14px 2px 4px; }
.rail-name { font-size: 15.5px; font-weight: 500; margin-bottom: 6px; }

.split-modules { display: grid; grid-template-columns: 1fr 1fr; }
.editorial-card { position: relative; overflow: hidden; display: block; }
.editorial-card img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; transition: transform .6s ease; }
.editorial-card:hover img { transform: scale(1.03); }
.ed-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 36px 40px; color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,.62), rgba(0,0,0,0));
}
.ed-caption h3 { font-size: 26px; margin-bottom: 8px; }
.ed-caption p { font-size: 14px; max-width: 420px; opacity: .92; }
.ed-link { display: inline-block; margin-top: 12px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; border-bottom: 1px solid rgba(255,255,255,.7); padding-bottom: 3px; }

.banner {
  position: relative; min-height: 62vh;
  background: url("../images/scene-banner.png") center/cover no-repeat;
  display: flex; align-items: center;
}
.banner::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.28); }
.banner-content { position: relative; max-width: 1200px; margin: 0 auto; padding: 0 24px; color: #fff; }
.banner-content h2 { font-size: clamp(30px, 4vw, 48px); margin-bottom: 12px; max-width: 560px; }
.banner-content p { font-size: 16px; max-width: 460px; margin-bottom: 26px; opacity: .95; }
.banner-content .btn-outline { color: #fff; border-color: #fff; background: rgba(255,255,255,.06); backdrop-filter: blur(3px); }
.banner-content .btn-outline:hover { background: #fff; color: var(--ink); }

.community-head { text-align: center; max-width: 620px; margin: 0 auto 34px; }
.community-head h2 { font-size: 32px; margin-bottom: 10px; }
.community-head p { color: var(--ink-soft); font-size: 15px; }
.community-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.community-grid a { overflow: hidden; }
.community-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .5s ease; }
.community-grid a:hover img { transform: scale(1.05); }

.cats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.cat-tile { position: relative; overflow: hidden; display: block; }
.cat-tile img { width: 100%; aspect-ratio: 1 / 1.15; object-fit: cover; transition: transform .5s ease; }
.cat-tile:hover img { transform: scale(1.04); }
.cat-overlay {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 20px 22px; color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,0));
  display: flex; flex-direction: column; gap: 2px;
}
.cat-label { font-size: 15px; font-weight: 500; letter-spacing: .02em; }
.cat-count { font-size: 12px; opacity: .85; }

.nl-band { background: var(--bg-soft); margin-top: 40px; }
.nl-inner { max-width: 640px; margin: 0 auto; padding: 64px 24px; text-align: center; }
.nl-inner h2 { font-size: 28px; margin-bottom: 10px; }
.nl-inner p { color: var(--ink-soft); font-size: 14.5px; margin-bottom: 26px; }
.nl-form { display: flex; gap: 10px; max-width: 460px; margin: 0 auto; }
.nl-form input {
  flex: 1; border: 1px solid var(--line); background: #fff;
  padding: 13px 16px; font-size: 14px; font-family: inherit; outline: none;
}
.nl-form input:focus { border-color: var(--ink); }
.nl-form button {
  background: var(--ink); color: #fff; border: 1px solid var(--ink);
  padding: 13px 26px; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase;
}
.nl-form button:hover { background: var(--brass); border-color: var(--brass); }
.nl-msg { margin-top: 12px; font-size: 13px; color: var(--brass); min-height: 18px; }

/* ---- toast ---- */
.toast {
  position: fixed; bottom: 28px; left: 50%; transform: translate(-50%, 20px);
  background: var(--ink); color: var(--bg);
  padding: 13px 26px; border-radius: 999px; font-size: 14px;
  opacity: 0; pointer-events: none; transition: all .3s ease; z-index: 99;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---- footer ---- */
.site-footer { background: #0E0E0E; color: #CFC7BA; margin-top: 60px; }
.footer-top {
  max-width: 1200px; margin: 0 auto; padding: 56px 24px 10px;
}
.footer-top p { font-size: 14px; margin-top: 14px; max-width: 380px; color: #A79D8D; }
.footer-inner {
  max-width: 1200px; margin: 0 auto; padding: 34px 24px 40px;
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px;
}
.logo-light { color: #fff; font-size: 22px; }
.footer-col h4 { color: #fff; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; font-family: var(--sans); font-weight: 600; }
.footer-col a { display: block; font-size: 13.5px; padding: 4px 0; color: #A79D8D; }
.footer-col a:hover { color: #fff; }
.newsletter { display: flex; flex-direction: column; gap: 8px; max-width: 300px; }
.newsletter input {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2);
  border-radius: 0; padding: 11px 16px; color: #fff; font-size: 13.5px; outline: none;
}
.newsletter input::placeholder { color: #A79D8D; }
.newsletter button {
  background: #fff; color: #121212; border: 1px solid #fff;
  border-radius: 0; padding: 11px 16px; font-size: 13px; letter-spacing: .08em;
}
.nl-msg { font-size: 12.5px; color: var(--brass); min-height: 16px; }
.pay-icons { display: flex; flex-wrap: wrap; gap: 8px; }
.pay-icons span {
  border: 1px solid rgba(255,255,255,.25); border-radius: 4px;
  font-size: 11px; padding: 5px 9px; color: #E8E1D6;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  max-width: 1200px; margin: 0 auto; padding: 18px 24px; color: #A79D8D;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 12.5px;
}

/* ---- responsive ---- */
@media (max-width: 960px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .values { grid-template-columns: repeat(2, 1fr); }
  .pdp, .cart-wrap, .checkout-grid, .story-inner { grid-template-columns: 1fr; }
  .pdp-img { position: static; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .split-modules { grid-template-columns: 1fr; }
  .community-grid { grid-template-columns: repeat(2, 1fr); }
  .cats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .about-cols { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg); flex-direction: column; padding: 18px 24px;
    border-bottom: 1px solid var(--line); z-index: 50;
  }
  .main-nav.open { display: flex; }
  .header-inner { position: relative; }
  .community-grid { grid-template-columns: 1fr 1fr; }
  .cats-grid { grid-template-columns: 1fr 1fr; }
  .rail-card { flex: 0 0 240px; }
  .nl-form { flex-direction: column; }
}

/* ===== floating contact widget ===== */
.cw-root { position: fixed; right: 26px; bottom: 26px; z-index: 1200; font-family: var(--sans); }
.cw-fab {
  display: flex; align-items: center; gap: 9px;
  background: var(--ink); color: #fff; border: 0;
  padding: 13px 18px 13px 14px; cursor: pointer;
  box-shadow: 0 10px 28px rgba(18,18,18,.22);
  transition: transform .18s ease, background .18s ease;
}
.cw-fab:hover { transform: translateY(-2px); background: #000; }
.cw-fab-ico { display: flex; }
.cw-fab-ico svg { width: 21px; height: 21px; }
.cw-fab-txt { font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.cw-root.is-open .cw-fab { background: #000; }

.cw-panel {
  position: absolute; right: 0; bottom: 62px;
  width: 322px; max-width: calc(100vw - 40px);
  background: #fff; border: 1px solid var(--line);
  box-shadow: 0 18px 48px rgba(18,18,18,.16);
  animation: cw-in .18s ease both;
}
@keyframes cw-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.cw-head { padding: 20px 22px 14px; border-bottom: 1px solid var(--line); }
.cw-head h4 { font-size: 15px; font-weight: 600; letter-spacing: .01em; }
.cw-head p { font-size: 12.5px; color: var(--ink-soft); margin-top: 4px; line-height: 1.5; }
.cw-list { padding: 6px 0 8px; }
.cw-item {
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 12px 22px; background: none; border: 0; text-align: left;
  color: var(--ink); cursor: pointer; transition: background .15s ease;
}
.cw-item:hover { background: #F7F6F4; }
.cw-item.is-disabled { opacity: .45; cursor: default; }
.cw-ico { flex: 0 0 26px; display: flex; align-items: center; justify-content: center; color: var(--brass-deep); }
.cw-ico svg { width: 22px; height: 22px; }
.cw-txt { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.cw-txt b { font-size: 13.5px; font-weight: 500; letter-spacing: .01em; }
.cw-txt small { font-size: 11.5px; color: var(--ink-soft); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cw-arrow { color: #C3BAB0; font-size: 13px; }
.cw-x {
  position: absolute; top: 10px; right: 12px; z-index: 2;
  background: none; border: 0; font-size: 22px; line-height: 1;
  color: #B3A898; cursor: pointer; padding: 2px 6px;
}
.cw-x:hover { color: var(--ink); }

.cw-modal { position: fixed; inset: 0; z-index: 1300; display: flex; align-items: center; justify-content: center; padding: 20px; }
.cw-modal[hidden], .cw-panel[hidden] { display: none; }
.cw-modal-mask { position: absolute; inset: 0; background: rgba(18,18,18,.5); }
.cw-modal-card {
  position: relative; background: #fff; padding: 30px 28px 24px;
  width: 320px; max-width: 100%; text-align: center;
  box-shadow: 0 24px 60px rgba(0,0,0,.28); animation: cw-in .2s ease both;
}
.cw-modal-card h4 { font-size: 16px; font-weight: 600; }
.cw-modal-card p { font-size: 12.5px; color: var(--ink-soft); margin: 6px 0 16px; line-height: 1.55; }
.cw-qr { width: 200px; height: 200px; object-fit: contain; margin: 0 auto 14px; border: 1px solid var(--line); padding: 8px; background: #fff; }
.cw-id-row { display: flex; align-items: center; justify-content: center; gap: 10px; }
.cw-id { font-size: 13px; letter-spacing: .02em; color: var(--ink); background: #F4F4F4; padding: 7px 12px; word-break: break-all; }
.cw-copy {
  border: 1px solid var(--ink); background: #fff; color: var(--ink);
  font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase;
  padding: 8px 12px; cursor: pointer;
}
.cw-copy:hover { background: var(--ink); color: #fff; }

@media (max-width: 720px) {
  .cw-root { right: 14px; bottom: 14px; }
  .cw-fab { padding: 12px; box-shadow: 0 8px 22px rgba(18,18,18,.24); }
  .cw-fab-txt { display: none; }
  .cw-panel { width: calc(100vw - 28px); bottom: 58px; }
}

/* ---- header account link ---- */
.account-link { display: flex; align-items: center; gap: 7px; color: var(--ink); font-size: 12.5px; letter-spacing: .02em; }
.account-link .account-label { max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-link:hover { color: var(--brass-deep); }
.account-link.signed-in .account-label { border-bottom: 1px solid var(--brass); padding-bottom: 1px; }

/* ---- account page ---- */
.ac-wrap { max-width: 480px; margin: 0 auto; }
.ac-tabs { display: flex; border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.ac-tab { flex: 1; background: none; border: 0; padding: 12px; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); cursor: pointer; border-bottom: 2px solid transparent; }
.ac-tab.active { color: var(--ink); border-bottom-color: var(--ink); }
.ac-err { color: #B4483C; font-size: 12.5px; margin-top: 10px; min-height: 18px; }
.ac-stats { display: flex; gap: 26px; margin: 18px 0 6px; }
.ac-stats div b { font-size: 20px; font-weight: 600; display: block; }
.ac-stats div span { font-size: 12px; color: var(--ink-soft); letter-spacing: .04em; text-transform: uppercase; }
.ac-order { border: 1px solid var(--line); padding: 16px 18px; margin-bottom: 12px; display: flex; justify-content: space-between; gap: 14px; align-items: center; flex-wrap: wrap; }
.ac-order .oid { font-weight: 600; letter-spacing: .03em; }
.ac-order .odate { color: var(--ink-soft); font-size: 12.5px; }
.ac-status { font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase; padding: 4px 10px; background: var(--bg-soft); color: var(--ink-soft); }
.ac-status.s-new { background: #FDF3E4; color: #9A6B2F; }
.ac-status.s-shipped, .ac-status.s-completed { background: #EAF3EC; color: #3C7A4E; }
.ac-status.s-cancelled { background: #F9E9E7; color: #B4483C; }
.ac-items { width: 100%; font-size: 12.5px; color: var(--ink-soft); margin-top: 8px; }
.ac-actions { display: flex; gap: 12px; margin-top: 20px; }

.hint { font-size: 12px; color: var(--ink-soft); line-height: 1.6; margin-top: 10px; }
