/* AumCrate —— 虚构的户外家具出口厂。整站样式一份，没有构建步骤。
   配色和头部跟同系列其余原型一致。 */
:root {
  --blue: #003e7e;
  --orange: #ed6500;
  --ink: #1a1a1a;
  --muted: #777;
  --line: #e1e1e1;
  --paper: #faf8f6;
  --good: #3f9c5d;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: #fff; color: var(--ink); font: 14px/1.45 Manrope, Arial, sans-serif; }
h1, h2, h3 { margin: 0; }

.site-header {
  height: 76px; display: flex; align-items: center; gap: 54px;
  padding: 0 max(34px, calc((100vw - 1320px) / 2 + 34px));
  border-bottom: 1px solid #e5e5e5; background: #fff;
}
.wordmark { display: flex; align-items: center; gap: 9px; color: #111; text-decoration: none; letter-spacing: 1.1px; font-size: 12px; }
.wordmark-mark { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--orange); color: #fff; font: italic 15px Georgia, serif; }
.wordmark strong span { font-weight: 500; color: #777; }
.main-nav { display: flex; align-self: stretch; align-items: center; gap: 29px; flex: 1; }
.main-nav a { height: 100%; display: flex; align-items: center; position: relative; color: #676467; text-decoration: none; font-size: 11px; }
.main-nav a.active { color: #151515; font-weight: 700; }
.main-nav a.active:after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: var(--orange); }
.header-actions { display: flex; align-items: center; gap: 15px; }
.header-actions > button[aria-label='Search'] { display: grid; place-items: center; width: 25px; height: 25px; padding: 0; border: 0; background: none; color: #252525; }
.header-actions > button[aria-label='Search'] svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.contact-button { padding: 10px 13px; border: 0; border-radius: 4px; background: #171717; color: #fff; font-size: 10px; font-weight: 700; cursor: pointer; }

/* ── 下单页 ───────────────────────────────────────────── */
.order-shell { max-width: 1320px; margin: 0 auto; padding: 34px 34px 96px; }
.crumb-row { display: flex; justify-content: space-between; align-items: center; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.breadcrumbs { display: flex; gap: 8px; align-items: center; font-size: 13px; }
.breadcrumbs a { color: var(--blue); text-decoration: none; }
.breadcrumbs span { color: #999; }
.crumb-row > p { margin: 0; color: #888; font-size: 10px; }
.order-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; padding: 36px 0 40px; }

.visual-frame { display: grid; place-items: center; height: 360px; overflow: hidden; border-radius: 14px; background: linear-gradient(165deg, #f6f3ee, #e9e3da); }
.chair { width: 82%; max-width: 400px; max-height: 84%; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .12)); }

.eyebrow { font: 600 10px/1 monospace; letter-spacing: 1.1px; color: var(--muted); text-transform: uppercase; }
.order-side h1 { margin: 12px 0 0; font-size: 42px; letter-spacing: -1.1px; }
.subtitle { margin: 8px 0 0; color: #5f5b58; font-size: 14px; }
.spec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 22px 0 0; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.spec-grid dt { font: 500 9px/1 monospace; letter-spacing: .4px; color: var(--muted); text-transform: uppercase; }
.spec-grid dd { margin: 7px 0 0; font-size: 15px; font-weight: 700; }
.spec-grid dd em { font-style: normal; font-weight: 400; font-size: 11px; color: var(--muted); }

.qty-row { margin-top: 18px; }
.qty-label { display: block; margin-bottom: 8px; font: 500 9px/1 monospace; letter-spacing: .5px; color: var(--muted); text-transform: uppercase; }
.chip-row { display: flex; flex-wrap: wrap; gap: 7px; }
.chip { padding: 8px 14px; border: 1px solid var(--line); border-radius: 20px; background: #fff; font-size: 12px; font-weight: 600; color: #45413e; cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.chip:hover { border-color: #b9b2ab; }
.chip.on { border-color: var(--orange); background: #fff4ea; color: #a55a10; }

/* 运费与总价 —— 拼柜层改写的就是这一块 */
.cost-block { margin-top: 20px; padding: 18px 20px; border-radius: 10px; background: var(--paper); border: 1px solid #efebe7; transition: background .5s, border-color .5s; }
.cost-block.pooled { background: #f5fbf7; border-color: #cbe6d4; }
.cost-lines { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.cost-lines li { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; }
.cost-lines span { color: #5f5b58; }
.cost-lines em { font-style: normal; font-size: 11px; color: var(--muted); transition: color .4s; }
.cost-block.pooled .freight em { color: var(--good); font-weight: 700; }
.cost-lines b { font-weight: 700; }
.cost-block.pooled .freight b { color: var(--good); }
.cost-total { display: flex; gap: 36px; margin-top: 14px; padding-top: 14px; border-top: 1px dashed #ddd7d1; }
.cost-total span { display: block; font: 500 9px/1 monospace; letter-spacing: .4px; color: var(--muted); text-transform: uppercase; }
.cost-total b { display: block; margin-top: 7px; font-size: 15px; }
.cost-total b i { font-style: normal; font-size: 25px; letter-spacing: -.5px; }
.cost-total div:first-child b i { color: var(--orange); }
.cost-save { display: inline-block; margin: 12px 0 0; padding: 5px 10px; border-radius: 5px; background: #e7f3ea; color: #256b3c; font-size: 12px; font-weight: 700; animation: pop .45s ease both; }
@keyframes pop { from { opacity: 0; transform: translateY(-5px); } }
.cost-note { margin: 11px 0 0; font-size: 11px; line-height: 1.55; color: #6d6864; }

.actions { display: flex; gap: 12px; margin-top: 22px; }
.btn-primary { padding: 13px 22px; border: 0; border-radius: 5px; background: var(--orange); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .3px; cursor: pointer; }
.btn-ghost { padding: 13px 22px; border: 1px solid #cfc9c3; border-radius: 5px; background: none; font-size: 12px; font-weight: 700; cursor: pointer; }

/* ── 浮动入口 + 拼柜面板 ──────────────────────────────── */
.pool-trigger {
  position: fixed; z-index: 6; right: 26px; bottom: 26px;
  display: flex; align-items: center; gap: 9px;
  padding: 14px 20px; border: 0; border-radius: 30px;
  background: #171717; color: #fff; font-size: 12px; font-weight: 700; cursor: pointer;
  box-shadow: 0 12px 30px #0000002e;
}
.pool-trigger svg { width: 17px; height: 17px; fill: none; stroke: #ff984d; stroke-width: 1.6; }

.pool-panel {
  position: fixed; z-index: 7; right: 26px; bottom: 26px;
  display: flex; flex-direction: column;
  width: 460px; max-height: calc(100dvh - 52px);
  border-radius: 14px; background: #fff; box-shadow: 0 26px 70px #00000029;
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity .28s, transform .28s, visibility .28s;
}
.pool-panel.open { opacity: 1; visibility: visible; transform: none; }
.pool-panel header { display: flex; justify-content: space-between; gap: 14px; padding: 18px 22px 15px; border-bottom: 1px solid #f0ece8; }
.pool-panel header span { font: 600 9px/1 monospace; letter-spacing: 1px; color: var(--orange); text-transform: uppercase; }
.pool-panel header h2 { margin-top: 8px; font-size: 17px; letter-spacing: -.3px; }
.pool-panel header > button { align-self: start; width: 26px; height: 26px; padding: 0; border: 0; background: none; color: #8b8580; cursor: pointer; }
.pool-panel header > button svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.pool-content { flex: 1; min-height: 0; overflow-y: auto; padding: 16px 22px 22px; }
.pool-intro { margin: 0 0 15px; font-size: 12px; line-height: 1.68; color: #5f5b58; }

/* 装载进度 */
.fill-card { padding: 15px 16px; border: 1px solid var(--line); border-radius: 10px; }
.fill-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.fill-head b { font-size: 16px; letter-spacing: -.3px; }
.fill-head b i { font-style: normal; }
.fill-head span { font-size: 11px; color: var(--muted); }
.fill-bar { display: flex; height: 12px; margin-top: 12px; border-radius: 6px; background: #ece8e3; overflow: hidden; }
.fill-bar i { display: block; height: 100%; width: 0; transition: width .8s cubic-bezier(.4, 0, .2, 1); }
.fill-booked { background: #b9b3ac; }
.fill-you { background: var(--orange); }
.fill-key { display: flex; gap: 16px; margin: 10px 0 0; padding: 0; list-style: none; }
.fill-key li { display: flex; align-items: center; gap: 6px; font-size: 10px; color: var(--muted); }
.fill-key .k { width: 9px; height: 9px; border-radius: 3px; }
.fill-key .k.booked { background: #b9b3ac; }
.fill-key .k.you { background: var(--orange); }

.join-card, .invite-card, .full-card { margin-top: 13px; padding: 15px 16px; border: 1px solid var(--line); border-radius: 10px; }
.join-label, .full-flash { font: 600 9px/1 monospace; letter-spacing: .8px; color: var(--muted); text-transform: uppercase; }
.join-card > b { display: block; margin-top: 8px; font-size: 18px; letter-spacing: -.3px; }
.join-card > b i { font-style: normal; }
.join-card > b em { font-style: normal; font-size: 12px; font-weight: 400; color: var(--muted); }
.join-card > p, .invite-card > p { margin: 9px 0 0; font-size: 12px; line-height: 1.6; color: #5f5b58; }
.join-card.booked { border-color: #cbe6d4; background: #f5fbf7; }

.invite-link { display: flex; align-items: center; gap: 8px; margin-top: 11px; padding: 9px 11px; border-radius: 7px; background: var(--paper); }
.invite-link code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; font: 600 11px/1.4 DM Mono, monospace; }
.invite-link button { padding: 6px 11px; border: 1px solid #cfc9c3; border-radius: 5px; background: #fff; font-size: 11px; font-weight: 700; cursor: pointer; transition: border-color .3s, color .3s; }
.invite-link button.done { border-color: #9ccbaa; color: #256b3c; }
.invite-count { display: flex; justify-content: space-between; align-items: center; margin-top: 11px; padding-top: 11px; border-top: 1px dashed #e3ded8; }
.invite-count span { font: 500 9px/1 monospace; letter-spacing: .4px; color: var(--muted); text-transform: uppercase; }
.invite-count b { font-size: 18px; }
.btn-demo { width: 100%; margin-top: 11px; padding: 10px; border: 1px dashed #cfc9c3; border-radius: 6px; background: #fff; font-size: 11px; font-weight: 700; color: var(--muted); cursor: pointer; }

.full-card { border-color: #cbe6d4; background: #f5fbf7; animation: pop .5s ease both; }
.full-flash { display: inline-block; padding: 4px 10px; border-radius: 20px; background: var(--good); color: #fff; }
.full-card > b { display: block; margin-top: 10px; font-size: 15px; }
.full-card > p { margin: 9px 0 0; font-size: 12px; line-height: 1.6; color: #4a6b52; }
.manifest { margin: 13px 0 0; padding-top: 12px; border-top: 1px dashed #cbe6d4; display: grid; gap: 7px; }
.manifest div { display: flex; justify-content: space-between; font-size: 11px; }
.manifest dt { color: #4a6b52; }
.manifest dd { margin: 0; font-weight: 700; }
.manifest div.you dt, .manifest div.you dd { color: #a55a10; }

.toast {
  position: fixed; z-index: 20; left: 50%; bottom: 34px;
  padding: 12px 20px; border-radius: 8px; background: #1c1a18; color: #fff;
  font-size: 12px; white-space: nowrap;
  opacity: 0; transform: translate(-50%, 10px); pointer-events: none;
  transition: opacity .3s, transform .3s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 980px) {
  .site-header { gap: 20px; padding: 0 18px; }
  .main-nav { display: none; }
  .order-shell { padding: 22px 18px 80px; }
  .order-hero { grid-template-columns: 1fr; gap: 26px; padding: 22px 0 30px; }
  .visual-frame { height: 230px; }
  .order-side h1 { font-size: 30px; }
  .spec-grid { grid-template-columns: 1fr 1fr; gap: 14px 0; }
  .cost-total { gap: 22px; }
  .pool-panel { right: 12px; left: 12px; bottom: 12px; width: auto; max-height: calc(100dvh - 24px); }
  .pool-trigger { right: 12px; bottom: 12px; }
}
