:root {
  --ink: #161616;
  --muted: #6f6f6f;
  --paper: #f5f5f4;
  --card: #ffffff;
  --line: #e7e7e5;
  --pine: #161616;
  --clay: #9f2d20;
  --star: #9a6432;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Segoe UI", "PingFang SC", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}
a { color: inherit; }
img { max-width: 100%; }
h1, h2, h3 { font-family: "Segoe UI", "PingFang SC", sans-serif; font-weight: 600; letter-spacing: -0.03em; }
.wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
header.bar { position: sticky; top: 0; z-index: 5; background: rgba(255,255,255,.94); border-bottom: 1px solid var(--line); }
.bar-inner, .foot-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; }
.finder { position: relative; flex: 1; max-width: 320px; }
.finder input { width: 100%; }
.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 4px); background: var(--card); border: 1px solid var(--line); border-radius: 12px; z-index: 8; padding: 6px; }
.suggest a { display: flex; justify-content: space-between; gap: 12px; padding: 8px; text-decoration: none; }
.suggest a:hover { background: var(--paper); }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 8px; }
.toolbar input, .toolbar select { width: auto; min-width: 160px; flex: 1; }
.check { display: flex; align-items: center; gap: 6px; margin: 0; }
.check input { width: auto; }
.stock-out { color: var(--clay); }
.flow, .steps { display: flex; flex-wrap: wrap; gap: 0; list-style: none; padding: 0; margin: 0 0 22px; }
.flow li, .steps li { padding: 8px 14px; border-bottom: 2px solid var(--line); color: var(--muted); font-size: 14px; }
.flow li.on, .steps li.on { border-color: var(--pine); color: var(--ink); }
.flow li.done { color: var(--pine); }
.flow a { text-decoration: none; }
.step-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.added { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 19; display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--ink); color: white; padding: 12px 14px; border-radius: 16px; }
.added p { margin: 0; }
.added .btn { background: white; color: var(--ink); }
.brand { font-family: "Segoe UI", "PingFang SC", sans-serif; font-size: 18px; font-weight: 700; letter-spacing: .04em; text-decoration: none; }
.nav { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.nav a { text-decoration: none; font-size: 14px; }
.btn { border: 0; background: var(--pine); color: white; padding: 10px 16px; border-radius: 8px; cursor: pointer; text-decoration: none; display: inline-block; }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
#nav-toggle { display: none; }
.btn.warn { background: #8a3d2f; }
main { padding: 36px 0 80px; }
.eyebrow { letter-spacing: .22em; text-transform: uppercase; font-size: 12px; color: var(--muted); margin: 0 0 10px; }
.hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 36px; align-items: center; }
.hero h1 { font-size: clamp(40px, 5vw, 68px); line-height: 1.02; margin: 0 0 14px; }
.lead { color: var(--muted); font-size: 18px; max-width: 38em; }
.facts { display: flex; gap: 18px; padding: 0; margin: 22px 0 0; list-style: none; color: var(--muted); font-size: 14px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px; text-decoration: none; display: block; }
.card strong { display: block; margin-top: 10px; font-size: 18px; }
.price { font-variant-numeric: tabular-nums; margin-top: 6px; }
.stage { border-radius: 22px; aspect-ratio: 4 / 3; min-height: 0; display: grid; place-items: center; background: hsl(var(--hue), 22%, 88%); position: relative; overflow: hidden; }
.stage::after { content: ""; position: absolute; inset: auto 12% 18px 12%; height: 14px; border-radius: 50%; background: rgba(28,25,21,.08); }
.kind-table .top { width: 168px; height: 12px; background: #c6a36a; border-radius: 2px; position: relative; }
.kind-table .top::before, .kind-table .top::after { content: ""; position: absolute; top: 12px; width: 8px; height: 92px; background: #a68452; }
.kind-table .top::before { left: 16px; }
.kind-table .top::after { right: 16px; }
.kind-cushion .pad { width: 150px; height: 118px; background: hsl(var(--hue), 28%, 78%); border-radius: 28px 34px 30px 26px; transform: rotate(-6deg); }
.kind-lamp .base { width: 54px; height: 78px; background: hsl(var(--hue), 16%, 72%); border-radius: 28px 28px 16px 16px; position: relative; }
.kind-lamp .base::before { content: ""; position: absolute; left: -28px; right: -28px; bottom: 72px; height: 62px; background: #f4efe4; border-radius: 40px 40px 8px 8px; }
.kind-throw .cloth { width: 170px; height: 120px; background: linear-gradient(160deg, hsl(var(--hue), 24%, 62%), hsl(var(--hue), 18%, 48%)); border-radius: 8px 40px 12px 36px; transform: rotate(4deg); }
.kind-tray .dish { width: 168px; height: 96px; border: 10px solid #6d4c32; border-radius: 16px; background: #c9a27a; }
.kind-mugs { display: flex; gap: 18px; align-items: flex-end; justify-content: center; }
.kind-mugs i { width: 46px; height: 58px; border: 7px solid hsl(var(--hue), 8%, 62%); border-radius: 0 0 18px 18px; display: block; position: relative; }
.kind-mugs i::after { content: ""; position: absolute; right: -16px; top: 10px; width: 12px; height: 18px; border: 4px solid hsl(var(--hue), 8%, 62%); border-left: 0; border-radius: 0 10px 10px 0; }
.stars { color: var(--star); letter-spacing: 1px; font-size: 14px; }
.stars .dim { color: #d9cbb8; }
.pdp { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: start; }
.pdp .stage { aspect-ratio: 1; }
.pdp-buy { position: sticky; top: 84px; }
.pdp-more { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; margin-top: 36px; }
.buy-actions .btn { min-height: 44px; }
.table-scroll { overflow-x: auto; }
.spec { width: 100%; border-collapse: collapse; margin-top: 8px; }
.spec th { width: 28%; color: var(--muted); font-weight: 500; }
.review { padding: 14px 0; border-top: 1px solid var(--line); }
label { display: block; font-size: 13px; margin: 10px 0 4px; }
input, select, textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: white; font: inherit; }
.form { max-width: 560px; }
.row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0 18px; }
.tabs button.active { background: var(--ink); color: white; }
.note { color: var(--muted); font-size: 14px; }
.section-title { display: flex; justify-content: space-between; align-items: baseline; margin-top: 48px; }
.tile { display: flex; flex-direction: column; }
.tile .card { flex: 1; }
.wish { align-self: flex-start; margin-top: 8px; border: 1px solid var(--line); background: transparent; border-radius: 999px; padding: 6px 12px; cursor: pointer; font: inherit; }
.wish.on { background: var(--pine); color: white; border-color: var(--pine); }
.collections, .review-wall, .deal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 8px 0 8px; }
.deal-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; }
.shop-head { padding: 4px 0 12px; max-width: 640px; }
.shop-head h1 { font-size: clamp(32px, 4vw, 44px); line-height: 1.1; margin: 0 0 8px; }
.shop-head .lead { font-size: 15px; }
.shop-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin: 8px 0 4px; }
.shop-tools { display: flex; gap: 8px; margin: 0; }
.shop-tools select { width: 148px; flex: 0 0 148px; background: white; border-radius: 8px; }
.tabs button { border-radius: 999px; padding: 8px 12px; font-size: 13px; }
a.deal { display: flex; flex-direction: column; height: 100%; padding: 0; overflow: hidden; background: white; border-radius: 14px; }
a.deal:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(22, 22, 22, .06); }
.deal-stage { min-height: 132px; margin: 0; padding: 16px; border-radius: 0; background: #f3f2ef; color: var(--ink); display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 4px; }
.deal-mark { font-size: 12px; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
.deal-stage-price { font-size: 28px; font-weight: 700; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.deal-body { padding: 12px 14px 14px; }
.deal h2 { font-size: 14px; line-height: 1.4; margin: 0 0 8px; font-weight: 600; letter-spacing: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.chip { display: inline-block; background: var(--ink); color: white; border-radius: 999px; padding: 3px 9px; font-size: 12px; letter-spacing: .04em; }
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 28px 0; }
.faq-item { border-bottom: 1px solid var(--line); padding: 8px 0; }
.faq-item summary { cursor: pointer; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; padding: 28px 0; }
.foot-grid a { display: block; margin: 4px 0; text-decoration: none; }
.buy-sticky { display: none; }
footer { border-top: 1px solid var(--line); }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.account { display: grid; grid-template-columns: 200px 1fr; gap: 28px; align-items: start; }
.account-nav { display: flex; flex-direction: column; gap: 4px; }
.account-nav button { text-align: left; background: transparent; border: 0; padding: 8px 0; cursor: pointer; font: inherit; color: var(--ink); }
.account-nav button.active { color: var(--pine); }
.hub { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.hub a { text-decoration: none; }
.announce { background: var(--ink); color: white; text-align: center; padding: 8px 16px; font-size: 14px; }
.crumb { font-size: 14px; }
.crumb a { text-decoration: none; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 14px; font-size: 13px; }
.wa { position: fixed; right: 16px; bottom: 16px; background: #128c7e; color: white; text-decoration: none; padding: 12px 14px; border-radius: 999px; z-index: 20; }
.chat-launch { position: fixed; right: 16px; bottom: 16px; z-index: 21; border: 0; background: var(--ink); color: white; padding: 12px 16px; border-radius: 999px; cursor: pointer; }
.chat-unread { box-shadow: 0 0 0 3px #8a3b24; }
.chat-panel { position: fixed; right: 16px; bottom: 16px; z-index: 22; width: min(360px, calc(100vw - 32px)); background: var(--paper); border: 1px solid var(--line); box-shadow: 0 12px 40px rgba(28, 25, 21, 0.12); }
.chat-head, .chat-form { display: flex; gap: 8px; align-items: center; padding: 12px; }
.chat-head { justify-content: space-between; border-bottom: 1px solid var(--line); }
.chat-head button { border: 0; background: transparent; cursor: pointer; font: inherit; }
.chat-log { max-height: 280px; overflow: auto; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.bubble { margin: 0; padding: 8px 10px; max-width: 85%; }
.bubble.visitor { align-self: flex-end; background: #efe7da; }
.bubble.merchant { align-self: flex-start; background: white; border: 1px solid var(--line); }
.chat-form { flex-direction: column; align-items: stretch; }
.chat-form textarea, .chat-form input { width: 100%; }
.desk { display: grid; grid-template-columns: 180px 1fr; gap: 18px; align-items: start; }
.desk .tabs { display: grid; gap: 6px; }
.desk .tabs .btn { text-align: left; }
.desk-main { min-width: 0; }
@media (max-width: 1100px) {
  .grid, .principles, .hub, .collections, .review-wall { grid-template-columns: repeat(2, 1fr); }
  .deal-grid { grid-template-columns: repeat(3, 1fr); }
  .pdp, .pdp-more { grid-template-columns: 1fr 1fr; gap: 24px; }
  .hero h1 { font-size: clamp(34px, 6vw, 52px); }
}
@media (max-width: 800px) {
  .hero, .pdp, .pdp-more, .account, .desk { grid-template-columns: 1fr; }
  .deal-grid { grid-template-columns: repeat(2, 1fr); }
  .shop-bar { align-items: stretch; }
  .pdp-buy { position: static; }
  .facts { flex-direction: column; gap: 6px; }
  header.bar { position: sticky; }
  .bar-inner { position: relative; }
  #nav-toggle { display: inline-block; }
  .nav { display: none; }
  .nav.open { display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); padding: 8px 16px 16px; border-bottom: 1px solid var(--line); z-index: 6; }
  .nav.open a { padding: 10px 0; }
  .finder { flex: 1 1 100%; max-width: none; order: 3; }
  .bar-inner { flex-wrap: wrap; }
  .buy-actions { display: grid; grid-template-columns: 1fr; }
  .buy-actions .btn { text-align: center; }
  .paths, .foot-grid { grid-template-columns: 1fr; }
  .buy-sticky { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 18; gap: 8px; align-items: center; background: var(--card); border-top: 1px solid var(--line); padding: 10px 12px; }
  .buy-sticky .btn { margin: 0; flex: 1; text-align: center; }
  .pdp { padding-bottom: 64px; }
  .chat-panel { left: 8px; right: 8px; width: auto; bottom: 72px; }
  .chat-log { max-height: 40vh; }
  table { font-size: 13px; }
}
@media (max-width: 640px) {
  .grid, .principles, .hub, .collections, .review-wall { grid-template-columns: 1fr; }
  .deal-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .deal-stage { min-height: 104px; padding: 12px; }
  .deal-stage-price { font-size: 22px; }
  .deal h2 { font-size: 13px; }
  main { padding: 20px 0 96px; }
  .wrap { width: min(1120px, calc(100% - 24px)); }
  .card { border-radius: 16px; }
  .stage { border-radius: 16px; }
}
