/* ============================================================
   KUBO — flat-pack furniture store
   Apple-style system: SF Pro / Inter, white + #f5f5f7 surfaces,
   #1d1d1f text, #0071e3 actions, pill buttons, 18–28px radii,
   centered headlines, photography first, generous whitespace.
   ============================================================ */

:root {
  --paper: #ffffff;
  --paper-2: #f5f5f7;
  --paper-3: #e8e8ed;
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --ink-3: #86868b;
  --line: #d2d2d7;
  --blue: #0071e3;
  --blue-deep: #0077ed;
  --link: #0066cc;
  --blue-soft: #eaf3ff;
  --ok: #1a7f37;
  --warn: #bf4800;
  --dark: #000000;
  --dark-2: #1d1d1f;
  /* kept for legacy references */
  --kraft: #c9a57a; --kraft-2: #e8d9bf; --kraft-3: #f6efe2;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-display: var(--font);
  --font-body: var(--font);
  --font-mono: var(--font);

  --max: 1180px;
  --narrow: 980px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --pill: 980px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.12);
  --nav-h: 48px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.022em;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
[id] { scroll-margin-top: calc(var(--nav-h) + 24px); }
[hidden] { display: none !important; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.1; letter-spacing: -0.02em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
b, strong { font-weight: 600; }

.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.sr-only { position: absolute; left: 0; top: 0; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type scale ---------- */
.display { font-size: clamp(2.6rem, 6.4vw, 5rem); line-height: 1.02; letter-spacing: -0.03em; font-weight: 600; }
.h2 { font-size: clamp(1.9rem, 4.2vw, 3.2rem); line-height: 1.06; letter-spacing: -0.025em; font-weight: 600; }
.h3 { font-size: 1.45rem; font-weight: 600; letter-spacing: -0.02em; }
.lead { font-size: clamp(1.15rem, 1.7vw, 1.5rem); line-height: 1.35; letter-spacing: -0.015em; color: var(--ink-2); max-width: 44ch; font-weight: 400; }
.mono { font-size: 0.8rem; font-weight: 600; letter-spacing: -0.01em; color: var(--ink-2); }
.eyebrow { font-size: 0.9rem; font-weight: 600; letter-spacing: -0.01em; color: var(--ink-2); }
.link { color: var(--link); font-size: 1.05rem; }
.link::after, .section-head a::after, .tile .links a::after { content: " ›"; }
.link:hover, .section-head a:hover, .tile .links a:hover { text-decoration: underline; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 24px;
  border: 1px solid var(--blue); border-radius: var(--pill);
  background: var(--blue); color: #fff;
  font-weight: 400; font-size: 1.02rem; letter-spacing: -0.01em;
  transition: background .18s, color .18s, border-color .18s, transform .18s;
}
.btn:hover { background: var(--blue-deep); border-color: var(--blue-deep); }
.btn:active { transform: scale(.985); }
.btn.ghost { background: transparent; color: var(--blue); }
.btn.ghost:hover { background: var(--blue); color: #fff; }
.btn.blue { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn.blue:hover { background: var(--blue-deep); border-color: var(--blue-deep); }
.btn.sm { min-height: 36px; padding: 0 16px; font-size: 0.9rem; }
.btn.wide { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }

/* ---------- Top ribbon ---------- */
.topbar { background: var(--paper-2); color: var(--ink-2); font-size: 0.8rem; text-align: center; border-bottom: 1px solid rgba(0,0,0,.04); }
.topbar .track { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 22px; padding: 9px var(--gutter); }
.topbar .track span::before { content: "·"; margin-right: 22px; color: var(--ink-3); }
.topbar .track span:first-child::before { content: none; margin: 0; }
@media (max-width: 760px) { .topbar .track span:nth-child(n+2) { display: none; } }

/* ---------- Header (dark translucent nav) ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(29, 29, 31, 0.78); color: #f5f5f7; -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); }
.header .wrap { display: flex; align-items: center; gap: 28px; min-height: var(--nav-h); width: min(var(--narrow), 100% - 2 * var(--gutter)); }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 1.05rem; letter-spacing: -0.02em; color: #f5f5f7; }
.logo .mark { width: 22px; height: 22px; }
.header .menu { display: contents; }
.header .spacer { flex: 1; order: 1; }
.header .menu .search { order: 2; }
.header .cart-btn { order: 3; }
.header .menu-btn { order: 4; }
.nav { display: flex; gap: 32px; margin-left: 8px; font-size: 0.78rem; letter-spacing: -0.01em; }
.nav a { padding: 4px 0; opacity: .82; transition: opacity .15s; }
.nav a:hover, .nav a[aria-current="page"] { opacity: 1; }
.search { display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 10px; width: 190px; border-radius: 8px; background: rgba(255,255,255,.1); transition: background .15s, width .2s; }
.search:focus-within { background: rgba(255,255,255,.16); width: 230px; }
.search input { border: 0; background: transparent; width: 100%; outline: 0; font-size: 0.85rem; color: #f5f5f7; }
.search input::placeholder { color: #a1a1a6; }
.search svg { width: 15px; color: #a1a1a6; flex: none; }
.cart-btn { position: relative; display: grid; place-items: center; width: 34px; height: 34px; color: #f5f5f7; opacity: .9; }
.cart-btn:hover { opacity: 1; }
.cart-btn svg { width: 19px; }
.cart-btn .count { position: absolute; top: 1px; right: -2px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--blue); color: #fff; font-size: 0.66rem; font-weight: 600; display: grid; place-items: center; }
.menu-btn { display: none; width: 34px; height: 34px; border: 0; border-radius: 8px; background: transparent; color: #f5f5f7; place-items: center; }
.menu-btn svg { width: 20px; }
@media (max-width: 900px) {
  .header .menu { display: none; }
  .menu-btn { display: grid; }
  .header.open .menu { display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 100%; height: calc(100vh - var(--nav-h)); background: rgba(29, 29, 31, 0.97); padding: 20px var(--gutter) 32px; overflow: auto; }
  .header.open .nav { display: flex; flex-direction: column; gap: 0; margin: 0; order: 2; }
  .header.open .nav a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em; opacity: 1; }
  .header.open .search { order: 1; display: flex; width: 100%; height: 40px; margin-bottom: 18px; background: rgba(255,255,255,.12); }
}

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 8vw, 112px) 0; }
.section.tight { padding: clamp(48px, 6vw, 80px) 0; }
.section.alt { background: var(--paper-2); }
.section-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head .h2 { max-width: 20ch; }
.section-head a { color: var(--link); font-size: 1.05rem; margin-top: 4px; }

/* ---------- Hero ---------- */
.hero { padding: clamp(56px, 8vw, 104px) 0 0; text-align: center; overflow: hidden; }
.hero .wrap { display: flex; flex-direction: column; align-items: center; }
.hero .eyebrow { margin-bottom: 14px; }
.hero .display { max-width: 14ch; }
.hero .display em { font-style: normal; background: linear-gradient(92deg, #0a84ff 0%, #5e5ce6 55%, #bf5af2 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { margin-top: 22px; color: var(--ink); max-width: 52ch; text-align: center; }
.hero .actions { display: flex; gap: 22px; margin-top: 28px; flex-wrap: wrap; justify-content: center; align-items: center; }
.hero-media { margin-top: clamp(36px, 5vw, 64px); width: min(1180px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.hero-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 42%; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); }
.hero .facts { display: flex; justify-content: center; gap: 0; margin: clamp(32px, 4vw, 48px) auto 0; padding: 0; flex-wrap: wrap; }
.hero .facts div { padding: 8px 36px; text-align: center; border-left: 1px solid var(--line); }
.hero .facts div:first-child { border-left: 0; }
.hero .facts div strong { display: block; font-size: 1.7rem; font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
.hero .facts div span { font-size: 0.85rem; color: var(--ink-2); }
@media (max-width: 640px) { .hero .facts div { padding: 8px 18px; } .hero .facts div strong { font-size: 1.3rem; } }

/* ---------- Promo tiles ---------- */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tile { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; min-height: 600px; border-radius: var(--radius-xl); overflow: hidden; background: var(--paper-2); color: var(--ink); isolation: isolate; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; z-index: -2; transition: transform .8s ease; }
.tile:hover img { transform: scale(1.025); }
.tile .copy { position: relative; padding: 52px 28px 0; max-width: 34ch; }
.tile .copy::before { content: ""; position: absolute; inset: -60px -600px -150px; background: linear-gradient(180deg, rgba(245,245,247,1) 0%, rgba(245,245,247,1) 45%, rgba(245,245,247,.85) 62%, rgba(245,245,247,0) 100%); z-index: -1; pointer-events: none; }
.tile .h3 { font-size: clamp(1.7rem, 2.6vw, 2.5rem); }
.tile p { margin-top: 10px; font-size: 1.15rem; color: var(--ink-2); }
.tile .links { display: flex; justify-content: center; gap: 24px; margin-top: 14px; font-size: 1.05rem; }
.tile .links a, .tile .links .l { color: var(--link); }
.tile .links .l::after { content: " ›"; }
.tile:hover .links .l { text-decoration: underline; }
.tile.dark { background: var(--dark); color: #f5f5f7; }
.tile.dark p { color: #a1a1a6; }
.tile.dark .links a, .tile.dark .links .l { color: #2997ff; }
.tile.dark .copy::before { background: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 45%, rgba(0,0,0,.85) 62%, rgba(0,0,0,0) 100%); }
.tile.dark img { filter: brightness(.92); }
.tile.wide { grid-column: 1 / -1; min-height: 640px; }
@media (max-width: 900px) { .tiles { grid-template-columns: 1fr; } .tile, .tile.wide { min-height: 520px; } }

/* ---------- Category row ---------- */
.cats { display: flex; gap: 22px; overflow-x: auto; padding: 8px 4px 16px; scroll-snap-type: x proximity; scrollbar-width: none; }
@media (min-width: 1160px) { .cats { justify-content: center; } }
.cats::-webkit-scrollbar { display: none; }
.cat { flex: 0 0 auto; width: 122px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; scroll-snap-align: start; font-size: 0.9rem; font-weight: 500; letter-spacing: -0.01em; }
.cat .pic { width: 122px; height: 96px; border-radius: 18px; overflow: hidden; background: var(--paper-2); display: grid; place-items: center; transition: transform .25s, box-shadow .25s; }
.cat .pic img { width: 100%; height: 100%; object-fit: cover; }
.cat .pic svg { width: 64%; color: var(--ink); }
.cat svg { width: 64%; color: var(--ink); }
.cat:hover .pic { transform: translateY(-3px); box-shadow: var(--shadow); }
.cat:hover { color: var(--link); }
.cat:hover svg { color: var(--link); }

/* ---------- Product cards ---------- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1000px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px)  { .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
.card { position: relative; display: flex; flex-direction: column; background: var(--paper-2); border-radius: var(--radius-lg); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.section.alt .card { background: var(--paper); }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card .media { position: relative; aspect-ratio: 4 / 3; background: var(--paper-3); display: grid; place-items: center; overflow: hidden; }
.card .media svg { width: 58%; color: var(--ink); }
.card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .media img { transform: scale(1.03); }
.card .tag { position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: var(--pill); background: rgba(255,255,255,.92); color: var(--warn); font-size: 0.72rem; font-weight: 600; letter-spacing: 0; }
.card .tag.kraft { color: var(--ink); }
.card .body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 22px; }
.card .name { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.02em; }
.card .name a::after { content: ""; position: absolute; inset: 0; }
.card .price { display: flex; align-items: baseline; gap: 8px; }
.card .price .now { font-size: 1rem; font-weight: 500; }
.card .price .was { color: var(--ink-3); text-decoration: line-through; font-size: 0.9rem; }
.card .inst { font-size: 0.8rem; color: var(--ink-2); }
.card .swatches { display: flex; gap: 6px; margin-top: 6px; }
.swatch { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0,0,0,.12); display: inline-block; }
.label-strip { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 8px; font-size: 0.75rem; color: var(--ink-3); letter-spacing: 0; }
.label-strip b { color: var(--ink-2); font-weight: 600; }

/* ---------- "What arrives at your door" (tech-specs card) ---------- */
.label { position: relative; background: var(--paper-2); border-radius: var(--radius-lg); padding: 22px 24px 20px; }
.label::before { content: none; }
.label .head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 0.8rem; font-weight: 600; color: var(--ink); padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.label .head span:last-child { color: var(--ink-3); font-weight: 500; }
.label .rows { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 22px; padding: 16px 0 14px; }
.label .row { display: flex; flex-direction: column; gap: 2px; }
.label .row span { font-size: 0.76rem; color: var(--ink-2); }
.label .row strong { font-size: 1.35rem; font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
.label .row small { font-size: 0.76rem; color: var(--ink-3); }
.label .foot { font-size: 0.76rem; color: var(--ink-3); padding-top: 12px; border-top: 1px solid var(--line); }
.barcode { display: none; }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { background: var(--paper-2); border-radius: var(--radius-lg); padding: 40px 32px 36px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.section.alt .step { background: var(--paper); }
.step .n { font-size: 0.8rem; font-weight: 600; color: var(--ink-3); }
.step svg { width: 64px; color: var(--ink); }
.step .h3 { font-size: 1.3rem; }
.step p { color: var(--ink-2); font-size: 0.98rem; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Benefits ---------- */
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.benefit { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; font-size: 0.95rem; font-weight: 600; letter-spacing: -0.01em; }
.benefit svg { width: 34px; color: var(--blue); }
@media (max-width: 860px) { .benefits { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Shipping ---------- */
.ship { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.ship table { width: 100%; border-collapse: collapse; background: var(--paper); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.ship th { text-align: left; font-size: 0.78rem; font-weight: 600; color: var(--ink-2); padding: 14px 20px; border-bottom: 1px solid var(--line); background: var(--paper-2); }
.ship td { padding: 14px 20px; border-bottom: 1px solid var(--line); font-size: 0.98rem; }
.ship tr:last-child td { border-bottom: 0; }
.ship td.cost { font-weight: 600; }
.ship tr:hover td { background: #fafafa; }
.ship .note { font-size: 0.85rem; color: var(--ink-2); margin-top: 14px; }
@media (max-width: 860px) { .ship { grid-template-columns: 1fr; } }

/* ---------- Reviews ---------- */
.quotes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.quote { background: var(--paper); border-radius: var(--radius-lg); padding: 28px 26px; display: flex; flex-direction: column; gap: 12px; }
.section:not(.alt) .quote { background: var(--paper-2); }
.quote .stars { color: var(--ink); font-size: 0.85rem; letter-spacing: 2px; }
.quote p { font-size: 1rem; line-height: 1.45; }
.quote footer { display: flex; justify-content: space-between; font-size: 0.8rem; color: var(--ink-2); margin-top: auto; padding-top: 8px; }
@media (max-width: 1000px) { .quotes { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .quotes { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font-size: 1.2rem; font-weight: 600; letter-spacing: -0.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.6rem; font-weight: 300; color: var(--ink-2); transition: transform .25s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px; color: var(--ink-2); max-width: 64ch; font-size: 1rem; }

/* ---------- Newsletter ---------- */
.contact { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: center; background: var(--paper-2); border-radius: var(--radius-xl); padding: clamp(28px, 4vw, 48px); }
.contact form { display: flex; gap: 10px; }
.contact input { flex: 1; min-width: 0; height: 46px; padding: 0 18px; border: 1px solid var(--line); border-radius: var(--pill); background: var(--paper); font-size: 1rem; }
.contact input:focus { border-color: var(--blue); outline: 0; box-shadow: 0 0 0 4px rgba(0,113,227,.15); }
@media (max-width: 760px) { .contact { grid-template-columns: 1fr; } .contact form { flex-direction: column; } }

/* ---------- Footer ---------- */
.footer { background: var(--paper-2); color: var(--ink-2); font-size: 0.78rem; padding: 40px 0 28px; margin-top: 24px; }
.footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.footer .logo { color: var(--ink); font-size: 1rem; }
.footer .logo .mark { width: 20px; height: 20px; }
.footer h4 { font-size: 0.78rem; font-weight: 600; color: var(--ink); margin-bottom: 10px; letter-spacing: -0.01em; }
.footer li { margin: 6px 0; }
.footer a:hover { text-decoration: underline; color: var(--ink); }
.footer .legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 16px; color: var(--ink-3); }
.footer .legal a:hover { color: var(--ink); }
@media (max-width: 760px) { .footer .cols { grid-template-columns: 1fr 1fr; } }

/* ---------- WhatsApp float ---------- */
.wa { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 52px; height: 52px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.18); transition: transform .2s; }
.wa:hover { transform: scale(1.06); }
.wa svg { width: 28px; fill: #fff; }
@media (max-width: 600px) { .wa { width: 46px; height: 46px; right: 14px; bottom: 14px; } .wa svg { width: 24px; } }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); opacity: 0; z-index: 60; background: rgba(29,29,31,.94); color: #f5f5f7; padding: 12px 20px; border-radius: var(--pill); font-size: 0.92rem; display: flex; gap: 14px; align-items: center; transition: transform .2s, opacity .2s; pointer-events: none; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); max-width: min(92vw, 560px); }
.toast.show { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.toast a { color: #2997ff; font-weight: 600; }

/* ============================================================
   SHOP PAGE
   ============================================================ */
.page-head { padding: clamp(40px, 6vw, 72px) 0 clamp(20px, 3vw, 36px); }
.page-head .display { font-size: clamp(2rem, 4.6vw, 3.4rem); margin-top: 6px; }
.shop { display: grid; grid-template-columns: 220px 1fr; gap: 44px; align-items: start; padding-bottom: 64px; }
.filters { position: sticky; top: calc(var(--nav-h) + 24px); display: flex; flex-direction: column; gap: 26px; }
.filters h4 { font-size: 0.8rem; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.filters label { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: 0.95rem; color: var(--ink-2); cursor: pointer; }
.filters label:hover { color: var(--ink); }
.filters input[type="checkbox"], .filters input[type="radio"] { width: 16px; height: 16px; accent-color: var(--blue); }
.filters .colorpick { display: flex; flex-wrap: wrap; gap: 8px; }
.filters .colorpick label { padding: 5px 12px 5px 6px; border: 1px solid var(--line); border-radius: var(--pill); font-size: 0.82rem; background: var(--paper); }
.filters .colorpick label:has(input:checked) { border-color: var(--ink); color: var(--ink); }
.filters .colorpick input { position: absolute; opacity: 0; }
.filters .colorpick input:checked + .swatch { outline: 2px solid var(--blue); outline-offset: 1px; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; font-size: 0.92rem; }
.toolbar select { height: 36px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); font-size: 0.9rem; margin-left: 6px; }
.toolbar .count { color: var(--ink-2); }
.empty { padding: 56px 24px; background: var(--paper-2); border-radius: var(--radius-lg); text-align: center; color: var(--ink-2); }
.empty strong { display: block; color: var(--ink); margin-bottom: 6px; font-size: 1.15rem; }
.shop .grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) {
  .shop { grid-template-columns: 1fr; gap: 20px; }
  .filters { position: static; flex-direction: row; flex-wrap: wrap; gap: 20px 32px; }
  .shop .grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   PRODUCT PAGE
   ============================================================ */
.crumbs { font-size: 0.78rem; color: var(--ink-2); display: flex; gap: 8px; padding: 18px 0 0; }
.crumbs a:hover { color: var(--link); }
.product { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(24px, 5vw, 72px); padding: 24px 0 72px; }
.gallery .main { aspect-ratio: 4 / 3; background: var(--paper-2); border-radius: var(--radius-xl); display: grid; place-items: center; overflow: hidden; }
.gallery .main svg { width: 60%; color: var(--ink); }
.gallery .main img { width: 100%; height: 100%; object-fit: cover; }
.gallery .thumbs { display: flex; gap: 10px; margin-top: 14px; }
.gallery .thumb { width: 84px; aspect-ratio: 4 / 3; padding: 0; border: 2px solid transparent; border-radius: 14px; overflow: hidden; background: var(--paper-2); cursor: pointer; transition: border-color .15s; }
.gallery .thumb img, .gallery .thumb svg { width: 100%; height: 100%; object-fit: cover; }
.gallery .thumb.is-active { border-color: var(--blue); }
.gallery .dims { margin-top: 16px; display: flex; gap: 22px; font-size: 0.85rem; color: var(--ink-2); }
.gallery .dims b { color: var(--ink); font-weight: 600; }
.buy { display: flex; flex-direction: column; gap: 24px; position: sticky; top: calc(var(--nav-h) + 24px); }
.buy .title { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; }
.buy .pricing { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.buy .pricing .now { font-size: 1.7rem; font-weight: 600; letter-spacing: -0.03em; }
.buy .pricing .was { color: var(--ink-3); text-decoration: line-through; }
.buy .pricing .off { font-size: 0.78rem; font-weight: 600; color: var(--warn); }
.buy .pricing .inst { flex-basis: 100%; color: var(--ink-2); font-size: 0.95rem; }
.opt h4 { font-size: 0.85rem; font-weight: 600; color: var(--ink-2); margin-bottom: 12px; }
.opt h4 span { color: var(--ink); }
.colors { display: flex; gap: 14px; }
.colors button { width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(0,0,0,.14); padding: 0; position: relative; box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); }
.colors button[aria-pressed="true"]::after { content: ""; position: absolute; inset: -5px; border: 2px solid var(--blue); border-radius: 50%; }
.qty { display: inline-flex; border: 1px solid var(--line); border-radius: var(--pill); overflow: hidden; }
.qty button { width: 42px; height: 44px; border: 0; background: transparent; font-size: 1.15rem; color: var(--ink-2); }
.qty button:hover { background: var(--paper-2); color: var(--ink); }
.qty input { width: 48px; text-align: center; border: 0; font-weight: 500; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.buy .row { display: flex; gap: 12px; }
.buy .row .btn { flex: 1; }
.buy .desc { color: var(--ink-2); font-size: 1.02rem; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; font-size: 0.95rem; padding-top: 22px; border-top: 1px solid var(--line); }
.specs div span { display: block; font-size: 0.78rem; color: var(--ink-2); margin-bottom: 2px; }
.ship-check { padding: 20px 22px; background: var(--paper-2); border-radius: var(--radius-lg); display: flex; flex-direction: column; gap: 12px; }
.ship-check select { height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.ship-check .result { font-size: 0.95rem; color: var(--ink-2); }
.ship-check .result b { color: var(--ink); }
.rooms { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 14px; }
.room { position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--paper-2); }
.room:first-child { grid-row: span 2; aspect-ratio: auto; }
.room img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.room:hover img { transform: scale(1.03); }
.room span { position: absolute; left: 14px; bottom: 14px; padding: 6px 12px; background: rgba(29,29,31,.72); color: #f5f5f7; font-size: 0.8rem; font-weight: 500; border-radius: var(--pill); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
@media (max-width: 860px) { .product { grid-template-columns: 1fr; } .buy { position: static; } }
@media (max-width: 760px) { .rooms { grid-template-columns: 1fr 1fr; } .room:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 4 / 3; } }

/* ============================================================
   CART PAGE
   ============================================================ */
.cart { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: clamp(24px, 5vw, 64px); align-items: start; padding: 16px 0 72px; }
.line { display: grid; grid-template-columns: 104px 1fr auto; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: center; }
.line .thumb { width: 104px; aspect-ratio: 1; background: var(--paper-2); border-radius: 16px; display: grid; place-items: center; overflow: hidden; }
.line .thumb svg { width: 64%; color: var(--ink); }
.line .thumb img { width: 100%; height: 100%; object-fit: cover; }
.line .info { display: flex; flex-direction: column; gap: 4px; }
.line .info .name { font-weight: 600; font-size: 1.1rem; letter-spacing: -0.02em; }
.line .info .meta { font-size: 0.82rem; color: var(--ink-2); }
.line .info .remove { background: none; border: 0; padding: 0; font-size: 0.85rem; color: var(--link); width: max-content; margin-top: 6px; }
.line .info .remove:hover { text-decoration: underline; }
.line .right { display: flex; flex-direction: column; align-items: end; gap: 10px; }
.line .right .sub { font-weight: 600; }
.line .qty button { height: 34px; width: 34px; }
.line .qty input { width: 40px; }
.summary { position: sticky; top: calc(var(--nav-h) + 24px); display: flex; flex-direction: column; gap: 18px; padding: 26px; background: var(--paper-2); border-radius: var(--radius-lg); }
.summary .h3 { font-size: 1.25rem; }
.summary .rows div { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.summary .rows div.total { border: 0; font-weight: 600; font-size: 1.25rem; padding-top: 14px; letter-spacing: -0.02em; }
.summary .free { font-size: 0.85rem; color: var(--ok); }
.summary .sent { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 14px; background: var(--paper); box-shadow: var(--shadow); }
.summary .sent h3 { font-size: 1rem; }
.summary .sent p { font-size: 0.85rem; color: var(--ink-2); }
.summary .sent .btn { width: 100%; }
.summary .progress { height: 6px; background: var(--paper-3); border-radius: 3px; overflow: hidden; }
.summary .progress i { display: block; height: 100%; background: var(--blue); border-radius: 3px; transition: width .3s; }
.form { display: flex; flex-direction: column; gap: 14px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 0.8rem; color: var(--ink-2); }
.form input, .form select, .form textarea { height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); font-size: 1rem; letter-spacing: -0.01em; color: var(--ink); }
.form textarea { height: auto; min-height: 84px; padding: 12px 14px; resize: vertical; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--blue); outline: 0; box-shadow: 0 0 0 4px rgba(0,113,227,.15); }
.form .err { color: #c0392b; font-size: 0.85rem; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.cart-empty { padding: 72px 24px; text-align: center; background: var(--paper-2); border-radius: var(--radius-xl); margin-bottom: 64px; }
.cart-empty svg { width: 88px; margin: 0 auto 18px; color: var(--ink-3); }
.cart-empty .h3 { margin-bottom: 8px; }
.cart-empty p { color: var(--ink-2); margin-bottom: 22px; }
@media (max-width: 860px) { .cart { grid-template-columns: 1fr; } .summary { position: static; } }
@media (max-width: 560px) {
  .line { grid-template-columns: 84px 1fr; }
  .line .thumb { width: 84px; }
  .line .right { grid-column: 2; flex-direction: row; justify-content: space-between; align-items: center; }
  .form .two { grid-template-columns: 1fr; }
  .form input, .form select { min-width: 0; }
}

/* ---------- Prose (about) ---------- */
.prose { max-width: 66ch; color: var(--ink-2); display: flex; flex-direction: column; gap: 18px; font-size: 1.15rem; line-height: 1.5; }
.prose h3 { color: var(--ink); margin-top: 16px; font-size: 1.6rem; }
.prose a { color: var(--link); }
.prose a.btn { color: #fff; }
.prose a.btn.ghost { color: var(--blue); }
.prose a.btn.ghost:hover { color: #fff; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}
