/* ==========================================================================
   SourcingCraft — sticker & label catalog. Design tokens + public site.
   ========================================================================== */
:root {
  --ink: #101828;
  --ink-2: #344054;
  --muted: #667085;
  --line: #e4e7ec;
  --line-2: #eef1f5;
  --bg: #ffffff;
  --soft: #f7f8fa;
  --soft-2: #fbf8f5;
  --brand: #ff5a1f;
  --brand-d: #e64a10;
  --brand-soft: #fff2ec;
  --navy: #0b1220;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 8px 24px -8px rgba(16, 24, 40, .16);
  --shadow-lg: 0 24px 48px -20px rgba(16, 24, 40, .25);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial,
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --wrap: 1240px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg);
  font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.22; letter-spacing: -.01em; }
h1 { font-size: clamp(28px, 3.4vw, 46px); font-weight: 800; }
h2 { font-size: clamp(22px, 2.2vw, 30px); font-weight: 700; }
h3 { font-size: 17px; font-weight: 700; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.hp { position: absolute !important; left: -9999px; opacity: 0; height: 0; width: 0; }

/* buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent;
  font-size: 14.5px; font-weight: 600; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 16px -8px rgba(255, 90, 31, .9); }
.btn-primary:hover { background: var(--brand-d); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #1d2a42; }
.btn-line { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-line:hover { border-color: var(--ink); }
.btn-lg { height: 50px; padding: 0 26px; font-size: 15.5px; }
.btn-block { width: 100%; }

/* top strip -------------------------------------------------------------- */
.announce { background: var(--ink); color: #cbd5e1; font-size: 12.5px; }
.announce .wrap { display: flex; align-items: center; justify-content: space-between; height: 34px; gap: 16px; }
.announce-txt { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.announce-right { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }
.lang-switch { color: #fff; border: 1px solid rgba(255,255,255,.25); padding: 2px 10px; border-radius: 999px; font-weight: 600; }
.lang-switch:hover { border-color: #fff; }

/* header ----------------------------------------------------------------- */
.masthead { position: sticky; top: 0; z-index: 60; background: #fff; border-bottom: 1px solid var(--line); }
.masthead-in { display: flex; align-items: center; gap: 24px; height: 76px; }
.burger { display: none; background: none; border: 0; padding: 6px; color: var(--ink); }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); border: 1px solid #ffd9c8;
}
.brand-txt { display: flex; flex-direction: column; line-height: 1.15; }
.brand-txt strong { font-size: 17.5px; font-weight: 800; letter-spacing: -.02em; }
.brand-txt small { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.search {
  flex: 1 1 auto; display: flex; align-items: center; max-width: 560px;
  border: 1.5px solid var(--ink); border-radius: 999px; height: 44px; overflow: hidden; background: #fff;
}
.search input { flex: 1; border: 0; outline: 0; padding: 0 18px; font-size: 14.5px; height: 100%; background: transparent; color: var(--ink); }
.search button { width: 54px; height: 100%; border: 0; background: var(--ink); color: #fff; cursor: pointer; display: grid; place-items: center; }
.search button:hover { background: var(--brand); }

.masthead-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.ghost-btn {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px;
  border-radius: 999px; border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; color: var(--ink-2);
}
.ghost-btn:hover { border-color: #cbd5e1; background: var(--soft); }
.ghost-btn.wa svg { color: #25d366; }

/* category bar + mega ---------------------------------------------------- */
.catbar { border-top: 1px solid var(--line-2); background: #fff; }
.catbar-in { display: flex; align-items: center; gap: 26px; height: 48px; }
.allcats { position: relative; height: 100%; display: flex; align-items: center; }
.allcats-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 4px; white-space: nowrap;
  background: none; border: 0; font-size: 14px; font-weight: 700; color: var(--ink); cursor: pointer;
}
.allcats-btn .chev { transition: transform .18s ease; }
.allcats.open .allcats-btn .chev { transform: rotate(180deg); }
.allcats.open .allcats-btn { color: var(--brand); }
.mega {
  display: none; position: absolute; top: 100%; left: -14px; width: min(920px, 92vw);
  background: #fff; border: 1px solid var(--line); border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-lg); padding: 26px 26px 18px; z-index: 70;
}
.allcats.open .mega { display: block; }
.mega-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px 26px; }
.mega-head { display: block; font-weight: 700; font-size: 14.5px; margin-bottom: 8px; }
.mega-head:hover { color: var(--brand); }
.mega-link { display: flex; justify-content: space-between; gap: 8px; font-size: 13.3px; color: var(--muted); padding: 3px 0; }
.mega-link:hover { color: var(--ink); }
.mega-link .cnt { color: #b9c0cc; font-variant-numeric: tabular-nums; }
.mega-all { display: block; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line-2); font-weight: 700; font-size: 13.5px; color: var(--brand); }
.catbar-links { display: flex; align-items: center; gap: 20px; overflow: hidden; min-width: 0; }
.catbar-links a { flex: 0 0 auto; font-size: 13.6px; color: var(--ink-2); white-space: nowrap; padding: 4px 0; position: relative; }
.catbar-links a:hover, .catbar-links a.on { color: var(--brand); }
.catbar-links a.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -14px; height: 2px; background: var(--brand); }

/* mobile nav ------------------------------------------------------------- */
.mobile-nav { display: none; }
.mobile-nav-in { display: flex; flex-direction: column; padding: 6px 20px 20px; }
.mobile-nav-in a { padding: 11px 4px; border-bottom: 1px solid var(--line-2); font-weight: 600; font-size: 15px; }
.mobile-nav.open { display: block; position: fixed; inset: 76px 0 0; background: #fff; z-index: 55; overflow: auto; }

/* hero ------------------------------------------------------------------- */
.hero { background: linear-gradient(180deg, #fff 0%, var(--soft-2) 100%); border-bottom: 1px solid var(--line); }
.hero-in { display: grid; grid-template-columns: 1.12fr .88fr; gap: 40px; align-items: center; padding-top: 56px; padding-bottom: 44px; }
.kicker {
  display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--brand); background: var(--brand-soft);
  border: 1px solid #ffdfd2; padding: 5px 12px; border-radius: 999px; margin-bottom: 18px;
}
.hero h1 { max-width: 15.5em; }
.hero-sub { margin-top: 16px; font-size: 16.5px; color: var(--ink-2); max-width: 34em; }
.hero-search { display: flex; gap: 10px; margin-top: 26px; max-width: 560px; }
.hero-search input {
  flex: 1; height: 50px; border-radius: var(--radius-sm); border: 1.5px solid var(--line);
  padding: 0 16px; font-size: 15px; outline: none; background: #fff;
}
.hero-search input:focus { border-color: var(--ink); }
.hero-search .btn { height: 50px; border-radius: var(--radius-sm); padding: 0 26px; }
.hero-cta { display: flex; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.hero-note { margin-top: 14px; font-size: 12.5px; color: var(--muted); }

.hero-art { position: relative; min-height: 340px; display: grid; place-items: center; }
.art-stack { position: relative; width: 100%; max-width: 400px; height: 330px; }
.art-card {
  position: absolute; border-radius: 18px; border: 2px dashed #cfd6e2; display: grid; place-items: end start;
  padding: 16px; background: repeating-linear-gradient(135deg, rgba(16,24,40,.035) 0 10px, transparent 10px 20px), #fff;
  box-shadow: var(--shadow);
}
.art-card span { display: none; }
.art-card.a1 { width: 220px; height: 220px; left: 8%; top: 6%; transform: rotate(-7deg); }
.art-card.a2 {
  width: 190px; height: 190px; right: 4%; top: 20%; transform: rotate(6deg); border-color: #fff;
  background-image: linear-gradient(140deg, #ffd7e6 0%, #d6f0ff 30%, #e8ffe0 55%, #fff1c9 80%, #ffd7e6 100%);
}
.art-card.a3 { width: 150px; height: 150px; left: 26%; bottom: 2%; transform: rotate(-3deg); background-color: #e9dcc9; border-color: #d8c8b0; }
.art-badge {
  position: absolute; right: 2%; bottom: 12%; width: 92px; height: 92px; border-radius: 50%;
  background: var(--brand); color: #fff; display: grid; place-items: center; text-align: center;
  font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; line-height: 1.25; font-weight: 700;
  box-shadow: 0 14px 28px -12px rgba(255, 90, 31, .85);
}
.art-badge b { font-size: 20px; letter-spacing: 0; display: block; }

.trustbar { border-top: 1px solid var(--line); background: #fff; }
.trustbar-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 16px 20px; }
.trustbar-in span { display: flex; align-items: center; gap: 9px; font-size: 13.2px; font-weight: 600; color: var(--ink-2); }
.trustbar-in svg { color: var(--brand); flex: 0 0 auto; }

/* sections --------------------------------------------------------------- */
.sec { padding: 62px 0; }
.sec-alt { background: var(--soft); }
.sec-dark { background: var(--ink); color: #fff; }
.sec-dark h2, .sec-dark h3 { color: #fff; }
.sec-dark p { color: #a9b4c6; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.sec-head p { margin-top: 8px; color: var(--muted); font-size: 14.5px; }
.sec-dark .sec-head p { color: #93a0b5; }
.link-more { font-weight: 600; font-size: 14px; color: var(--brand); white-space: nowrap; }
.link-more:hover { text-decoration: underline; }

/* category grid ---------------------------------------------------------- */
.catgrid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.catcard {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff;
  display: flex; flex-direction: column;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.catcard:hover { border-color: #ffc3ab; box-shadow: var(--shadow); transform: translateY(-2px); }
.catcard-img { aspect-ratio: 4 / 3; background: var(--soft-2); }
.catcard-img img { width: 100%; height: 100%; object-fit: cover; }
.catcard-body { padding: 12px 13px 14px; display: flex; flex-direction: column; gap: 3px; }
.catcard-body strong { font-size: 13.6px; font-weight: 700; line-height: 1.35; }
.catcard-body small { font-size: 11.6px; color: var(--muted); line-height: 1.4; min-height: 2.6em; }
.catcount { font-size: 11px; color: var(--brand); font-weight: 600; }

/* placeholder art -------------------------------------------------------- */
.ph {
  width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  color: #98a2b3; background: repeating-linear-gradient(135deg, #f4f5f7 0 12px, #fafbfc 12px 24px);
  border: 1px dashed #dfe3ea; border-radius: inherit;
}
.ph span { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; }
.ph small { font-size: 11px; max-width: 24em; text-align: center; padding: 0 18px; color: #98a2b3; }
.ph-cat span { font-size: 18px; letter-spacing: .06em; color: #b7bfcc; font-weight: 800; }
.ph-lg { aspect-ratio: 1; border-radius: var(--radius); }

/* product cards ---------------------------------------------------------- */
.prods { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.card:hover { border-color: #ffc3ab; box-shadow: var(--shadow); transform: translateY(-2px); }
.card-img { display: block; aspect-ratio: 1; background: var(--soft); position: relative; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 13px 14px 15px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.card-title {
  font-size: 14px; font-weight: 600; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden; min-height: 2.8em;
}
.card-title:hover { color: var(--brand); }
.card-price { font-size: 17px; font-weight: 800; color: var(--brand); letter-spacing: -.01em; }
.card-price small { font-size: 11.5px; color: var(--muted); font-weight: 400; }
.card-meta { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 11.8px; color: var(--muted); }
.card-cta { margin-top: auto; font-size: 12.6px; font-weight: 600; color: var(--ink-2); border-top: 1px solid var(--line-2); padding-top: 9px; }
.card:hover .card-cta { color: var(--brand); }

/* chips ------------------------------------------------------------------ */
.chiplist { display: flex; flex-wrap: wrap; gap: 9px; }
.chiplist-sm { margin-top: 14px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; font-size: 13px; font-weight: 600; color: var(--ink-2);
  transition: all .15s ease;
}
.chip:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }
.chip-sm { font-size: 12px; padding: 5px 11px; }

/* craft grid ------------------------------------------------------------- */
.craftgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 28px; }
.craftcard {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; background: #fff;
  display: flex; flex-direction: column; gap: 4px; transition: border-color .15s ease, transform .15s ease;
}
.craftcard:hover { border-color: #ffc3ab; transform: translateY(-2px); }
.craftcard-ic { font-size: 11px; font-weight: 800; letter-spacing: .1em; color: var(--brand); }
.craftcard strong { font-size: 14.5px; }
.craftcard small { font-size: 12px; color: var(--muted); }

/* steps / why ------------------------------------------------------------ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { border-top: 2px solid rgba(255,255,255,.14); padding-top: 18px; }
.step-n { font-size: 12px; font-weight: 800; letter-spacing: .16em; color: var(--brand); }
.step h3 { margin: 8px 0; font-size: 16.5px; }
.step p { font-size: 13.6px; }
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.why-item { border-left: 2px solid var(--brand); padding-left: 16px; }
.why-item h3 { margin-bottom: 7px; font-size: 15.5px; }
.why-item p { font-size: 13.6px; color: var(--muted); }

/* cta band --------------------------------------------------------------- */
.ctaband { background: linear-gradient(120deg, #101828 0%, #1c2a45 62%, #2a1a12 100%); color: #fff; padding: 58px 0; }
.ctaband-in { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.ctaband-copy h2 { font-size: clamp(23px, 2.4vw, 32px); max-width: 20em; }
.ctaband-copy p { margin-top: 12px; color: #b6c0d0; font-size: 14.5px; }
.ctaband-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 7px; }
.ctaband-list li { font-size: 13.5px; color: #d5dbe6; padding-left: 20px; position: relative; }
.ctaband-list li::before { content: "→"; position: absolute; left: 0; color: var(--brand); font-weight: 700; }
.ctaform { background: #fff; color: var(--ink); border-radius: 16px; padding: 22px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; gap: 12px; }
.ctaform label, .quote-form label { display: flex; flex-direction: column; gap: 5px; }
.ctaform label span, .quote-form label span { font-size: 12px; font-weight: 600; color: var(--ink-2); }
input[type=text], input[type=email], input[type=search], input[type=number], select, textarea {
  font-family: inherit; font-size: 14px; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 10px 12px;
  background: #fff; outline: none; width: 100%; transition: border-color .15s ease;
}
input:focus, select:focus, textarea:focus { border-color: var(--ink); }
textarea { resize: vertical; line-height: 1.55; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* faq -------------------------------------------------------------------- */
.faq-wrap { max-width: 900px; }
.faq { margin-top: 20px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 17px 30px 17px 0; font-weight: 600; font-size: 15px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 20px; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 40px 18px 0; color: var(--muted); font-size: 14px; }

/* breadcrumbs / page head ------------------------------------------------ */
.crumbs { display: flex; gap: 7px; align-items: center; font-size: 12.5px; color: var(--muted); padding-top: 16px; padding-bottom: 14px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--ink); }
.crumb-cur { color: var(--ink-2); font-weight: 600; }
.page-head { padding-bottom: 22px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.page-head h1 { font-size: clamp(24px, 2.4vw, 32px); }
.page-head p { margin-top: 8px; color: var(--muted); max-width: 60em; font-size: 14.2px; }

/* catalog ---------------------------------------------------------------- */
.catalog { display: grid; grid-template-columns: 236px 1fr; gap: 30px; padding-bottom: 64px; align-items: start; }
.filters { position: sticky; top: 140px; border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 16px 16px; }
.filter-block { border-bottom: 1px solid var(--line-2); padding: 14px 0 12px; }
.filter-block:last-of-type { border-bottom: 0; }
.filter-block h3 { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.opts { display: flex; flex-direction: column; gap: 8px; max-height: 190px; overflow: auto; padding-right: 4px; }
.opt { display: flex; align-items: center; gap: 8px; font-size: 13.4px; cursor: pointer; color: var(--ink-2); }
.opt input { accent-color: var(--brand); width: 15px; height: 15px; margin: 0; }
.opt:hover { color: var(--ink); }
.filter-actions { display: flex; flex-direction: column; gap: 8px; padding-top: 12px; }
.filter-clear { text-align: center; font-size: 12.5px; color: var(--muted); }
.filter-clear:hover { color: var(--brand); }
.toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; gap: 14px; }
.toolbar .count { font-size: 13.5px; color: var(--muted); }
.toolbar .count b { color: var(--ink); }
.sortform label { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.sortform select { width: auto; padding: 7px 10px; font-size: 13px; }
.prods-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pager { display: flex; gap: 6px; justify-content: center; margin-top: 34px; align-items: center; flex-wrap: wrap; }
.pager a, .pager span {
  min-width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line);
  border-radius: var(--radius-sm); font-size: 13.5px; padding: 0 12px; color: var(--ink-2);
}
.pager a:hover { border-color: var(--brand); color: var(--brand); }
.pager a.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.pager .gap { border: 0; }
.empty { border: 1px dashed var(--line); border-radius: var(--radius); padding: 56px 24px; text-align: center; }
.empty h3 { margin-bottom: 8px; }
.empty p { color: var(--muted); margin-bottom: 18px; }

/* product detail --------------------------------------------------------- */
.pdp { display: grid; grid-template-columns: 1.02fr 1fr; gap: 48px; align-items: start; padding-top: 6px; }
.pdp-gallery { position: sticky; top: 140px; }
.pdp-main { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--soft); aspect-ratio: 1; }
.pdp-main img { width: 100%; height: 100%; object-fit: cover; }
.pdp-thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.thumb { width: 68px; height: 68px; padding: 0; border: 1.5px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; cursor: pointer; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.on { border-color: var(--brand); }
.pdp-info h1 { font-size: clamp(24px, 2.2vw, 32px); }
.pdp-sum { margin-top: 10px; color: var(--ink-2); font-size: 15px; }
.pdp-price { margin: 20px 0 4px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.pdp-price strong { font-size: 30px; font-weight: 800; color: var(--brand); letter-spacing: -.02em; }
.pdp-price small { color: var(--muted); font-size: 13px; }
.pdp-price-note { display: block; width: 100%; font-size: 11.8px; color: var(--muted); }
.pdp-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; margin: 18px 0; }
.pdp-facts div { background: #fff; padding: 11px 13px; display: flex; flex-direction: column; gap: 2px; }
.pdp-facts span { font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pdp-facts b { font-size: 14px; }
.pdp-attrs { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 16px; }
.tiers { width: 100%; border-collapse: collapse; margin-bottom: 20px; font-size: 13.8px; }
.tiers th, .tiers td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line-2); }
.tiers th { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.tiers tr:first-child td { padding-top: 4px; }
.pdp-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.pdp-note { margin-top: 10px; font-size: 12.3px; color: var(--muted); }
.pdp-body { display: grid; grid-template-columns: 1fr 300px; gap: 44px; padding: 44px 20px 64px; align-items: start; }
.tabs-nav { display: flex; gap: 26px; border-bottom: 1px solid var(--line); }
.tabs-nav button {
  background: none; border: 0; padding: 12px 0; font-size: 14px; font-weight: 600; color: var(--muted);
  cursor: pointer; position: relative;
}
.tabs-nav button.on { color: var(--ink); }
.tabs-nav button.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--ink); }
.tab-pane { display: none; padding-top: 22px; }
.tab-pane.on { display: block; }
.tab-pane p { margin-bottom: 12px; color: var(--ink-2); font-size: 14.4px; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec-table th, .spec-table td { text-align: left; padding: 12px 14px; border: 1px solid var(--line); vertical-align: top; }
.spec-table th { background: var(--soft); font-weight: 600; width: 34%; color: var(--ink-2); font-size: 13.4px; }
.bullets { margin: 0; padding-left: 18px; display: grid; gap: 8px; font-size: 14.2px; color: var(--ink-2); }
.quote-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: var(--soft-2); position: sticky; top: 140px; }
.quote-card h3 { margin-bottom: 8px; }
.quote-card p { font-size: 13.2px; color: var(--muted); margin-bottom: 14px; }
.quote-mail { display: block; text-align: center; margin-top: 10px; font-size: 13px; color: var(--ink-2); text-decoration: underline; }

/* quote page ------------------------------------------------------------- */
.quote-page { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; padding: 10px 20px 72px; align-items: start; }
.quote-side h1 { font-size: clamp(26px, 2.6vw, 38px); }
.quote-lead { margin-top: 14px; color: var(--ink-2); font-size: 15.5px; }
.quote-points { margin: 28px 0; display: grid; gap: 14px; }
.quote-points div { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.quote-points b { font-size: 11px; letter-spacing: .1em; color: var(--brand); padding-top: 3px; }
.quote-contact { display: flex; flex-direction: column; gap: 6px; font-size: 13.6px; border-top: 1px solid var(--line); padding-top: 18px; }
.quote-contact a { font-weight: 600; border-bottom: 1px solid var(--line); width: fit-content; }
.quote-form { border: 1px solid var(--line); border-radius: 16px; padding: 26px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow); }
.form-foot { font-size: 11.8px; color: var(--muted); text-align: center; }
.alert { background: #fef3f2; border: 1px solid #fecdca; color: #b42318; padding: 11px 14px; border-radius: var(--radius-sm); font-size: 13.5px; margin-bottom: 14px; }

/* thanks / 404 ----------------------------------------------------------- */
.thanks { padding: 72px 20px 96px; display: grid; place-items: center; }
.thanks-card { max-width: 560px; text-align: center; border: 1px solid var(--line); border-radius: 18px; padding: 44px 34px; box-shadow: var(--shadow); }
.thanks-ic { width: 58px; height: 58px; border-radius: 50%; background: #e7f8ef; color: var(--ok); display: grid; place-items: center; margin: 0 auto 18px; }
.thanks-card h1 { font-size: 26px; margin-bottom: 12px; }
.thanks-card p { color: var(--muted); font-size: 14.5px; }
.thanks-actions { display: flex; gap: 10px; justify-content: center; margin-top: 24px; flex-wrap: wrap; }

/* about ------------------------------------------------------------------ */
.about-hero { padding: 34px 20px 8px; max-width: 900px; }
.about-hero h1 { font-size: clamp(26px, 3vw, 38px); }
.about-hero p { margin-top: 14px; color: var(--ink-2); font-size: 15.5px; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; padding: 34px 20px 80px; }
.about-block { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.about-block h2 { font-size: 19px; margin-bottom: 10px; }
.about-block p { font-size: 14.2px; color: var(--ink-2); }
.about-contact { display: flex; flex-direction: column; gap: 8px; font-size: 13.8px; }
.about-contact .btn { align-self: flex-start; margin-top: 6px; }

/* footer ----------------------------------------------------------------- */
.footer { background: #fff; border-top: 1px solid var(--line); padding-top: 48px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 40px; }
.footer-brand .brand { margin-bottom: 14px; }
.footer-note { font-size: 13px; color: var(--muted); max-width: 34em; line-height: 1.65; }
.footer-col { display: flex; flex-direction: column; gap: 9px; font-size: 13.4px; }
.footer-col h4 { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); margin-bottom: 4px; }
.footer-col a { color: var(--muted); }
.footer-col a:hover { color: var(--brand); }
.footer-dim { color: #98a2b3; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  border-top: 1px solid var(--line); padding-top: 18px; padding-bottom: 26px; font-size: 12.3px; color: var(--muted);
}

/* responsive ------------------------------------------------------------- */
@media (max-width: 1080px) {
  .catgrid { grid-template-columns: repeat(4, 1fr); }
  .prods { grid-template-columns: repeat(3, 1fr); }
  .craftgrid { grid-template-columns: repeat(3, 1fr); }
  .catbar-links a:nth-child(n+6) { display: none; }
  .pdp { gap: 30px; }
  .pdp-body { grid-template-columns: 1fr; }
  .quote-card { position: static; }
}
@media (max-width: 900px) {
  .burger { display: block; }
  .masthead-in { height: 64px; gap: 12px; }
  .brand-txt small { display: none; }
  .search { display: none; }
  .masthead-actions .ghost-btn { display: none; }
  .catbar { display: none; }
  .mobile-nav.open { top: 0; }
  .hero-in { grid-template-columns: 1fr; gap: 10px; padding-top: 34px; padding-bottom: 28px; }
  .hero-art { display: none; }
  .trustbar-in { grid-template-columns: repeat(2, 1fr); padding: 14px 20px; }
  .sec { padding: 44px 0; }
  .catgrid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .prods, .prods-grid { grid-template-columns: repeat(2, 1fr); }
  .craftgrid, .steps, .why { grid-template-columns: repeat(2, 1fr); }
  .ctaband-in { grid-template-columns: 1fr; gap: 28px; }
  .catalog { grid-template-columns: 1fr; gap: 20px; }
  .filters { position: static; }
  .opts { max-height: none; }
  .pdp { grid-template-columns: 1fr; gap: 24px; }
  .pdp-gallery { position: static; }
  .quote-page { grid-template-columns: 1fr; gap: 26px; padding-bottom: 48px; }
  .about-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 26px; }
}
@media (max-width: 560px) {
  body { font-size: 14.5px; }
  .wrap { padding: 0 16px; }
  .hero h1 { font-size: 27px; }
  .hero-sub { font-size: 14.5px; }
  .hero-search { flex-direction: column; }
  .hero-search .btn { width: 100%; }
  .catgrid { grid-template-columns: repeat(2, 1fr); }
  .prods, .prods-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .card-body { padding: 10px 11px 12px; }
  .card-price { font-size: 15px; }
  .card-cta { display: none; }
  .catcard-body small { display: none; }
  .row2 { grid-template-columns: 1fr; }
  .pdp-facts { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* insights index cards ---------------------------------------------------- */
.ix-card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 16px; background: #fff;
  display: block; transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.ix-card h3 { font-size: 15px; font-weight: 650; margin-bottom: 6px; line-height: 1.35; }
.ix-card p { font-size: 12.8px; color: var(--muted); line-height: 1.5; }
.ix-card:hover { border-color: #ffc3ab; transform: translateY(-2px); box-shadow: var(--shadow); }

/* anchor offset for sticky header ---------------------------------------- */
section[id] { scroll-margin-top: 132px; }

/* ==========================================================================
   Wholesale layer: header actions, order box, account, chain, cart, checkout
   ========================================================================== */

/* header actions ---------------------------------------------------------- */
.cart-btn { position: relative; }
.cart-btn .lbl { display: inline; }
.cart-n {
  min-width: 18px; height: 18px; border-radius: 999px; background: var(--brand); color: #fff;
  font-size: 11px; display: inline-grid; place-items: center; padding: 0 5px; line-height: 1;
}
.btn-upload { background: var(--brand-soft); color: var(--brand-d); border: 1px solid #ffd0bd; font-weight: 650; }
.btn-upload:hover { background: #ffe6db; }
.acct-btn { max-width: 160px; overflow: hidden; text-overflow: ellipsis; }
.acct-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); display: inline-block; }
.mnav-cta { color: var(--brand) !important; font-weight: 700; }

/* wholesale order box on product page ------------------------------------ */
.order-box {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin: 18px 0 14px;
  background: #fff; box-shadow: var(--shadow);
}
.ob-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.ob-title { font-weight: 700; font-size: 14.5px; }
.ob-moq { font-size: 12.4px; color: var(--muted); }
.ob-moq b { color: var(--ink); }
.ob-tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 8px; margin-bottom: 14px; }
.ob-tier {
  border: 1.5px solid var(--line); background: #fff; border-radius: var(--radius-sm); padding: 8px 6px;
  display: flex; flex-direction: column; gap: 2px; cursor: pointer; font-family: inherit; text-align: center;
}
.ob-tier b { font-size: 13px; }
.ob-tier span { font-size: 12px; color: var(--muted); }
.ob-tier:hover { border-color: #ffc3ab; }
.ob-tier.on { border-color: var(--brand); background: var(--brand-soft); }
.ob-tier.on span { color: var(--brand-d); }
.ob-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.ob-row label, .ob-note { display: flex; flex-direction: column; gap: 5px; }
.ob-row label > span, .ob-note > span { font-size: 12px; font-weight: 600; color: var(--ink-2); }
.ob-dims { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.ob-note { margin-bottom: 12px; }
.ob-total {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  background: var(--soft); border-radius: var(--radius-sm); padding: 10px 12px; margin-bottom: 12px;
}
.ob-total span { font-size: 12.4px; color: var(--muted); }
.ob-total b { font-size: 20px; font-weight: 800; color: var(--brand); letter-spacing: -.01em; }
.ob-hint { font-size: 11.5px; color: var(--muted); margin-top: 9px; line-height: 1.5; }

/* pills ------------------------------------------------------------------ */
.pill { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 600; vertical-align: middle; }
.pill-warn { background: #fffaeb; color: #b54708; }
.pill-info { background: #eff8ff; color: #175cd3; }
.pill-ok { background: #ecfdf3; color: #067647; }
.pill-bad { background: #fef3f2; color: #b42318; }
.pill-muted { background: var(--soft); color: var(--muted); }

/* auth ------------------------------------------------------------------- */
.auth-wrap { display: grid; place-items: center; padding: 48px 20px 72px; }
.auth-card { width: min(480px, 100%); border: 1px solid var(--line); border-radius: 18px; padding: 30px 28px 24px; box-shadow: var(--shadow); }
.auth-card h1 { font-size: 26px; margin: 6px 0 8px; }
.auth-hint { color: var(--muted); font-size: 13.8px; margin-bottom: 18px; }
.auth-form { display: flex; flex-direction: column; gap: 12px; }
.auth-form label { display: flex; flex-direction: column; gap: 5px; }
.auth-form label span { font-size: 12px; font-weight: 600; color: var(--ink-2); }
.auth-foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 16px; font-size: 13px; }
.auth-foot a { color: var(--brand); font-weight: 600; }

/* account shell ---------------------------------------------------------- */
.acc-wrap { display: grid; grid-template-columns: 236px 1fr; gap: 30px; padding: 26px 20px 72px; align-items: start; }
.acc-side { position: sticky; top: 140px; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 14px; background: #fff; }
.acc-who { display: flex; gap: 10px; align-items: center; margin-bottom: 14px; }
.acc-av { width: 40px; height: 40px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-d); display: grid; place-items: center; font-weight: 800; font-size: 16px; }
.acc-who-txt strong { display: block; font-size: 14px; }
.acc-who-txt small { font-size: 11.6px; color: var(--muted); word-break: break-all; }
.acc-tabs { display: flex; flex-direction: column; gap: 2px; border-top: 1px solid var(--line-2); padding-top: 10px; }
.acc-tabs a { padding: 9px 10px; border-radius: 8px; font-size: 13.6px; color: var(--ink-2); }
.acc-tabs a:hover { background: var(--soft); }
.acc-tabs a.on { background: var(--brand-soft); color: var(--brand-d); font-weight: 650; }
.acc-upload-cta {
  display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 12px;
  background: var(--brand); color: #fff; border-radius: 999px; padding: 10px; font-size: 13.4px; font-weight: 650;
}
.acc-upload-cta:hover { background: var(--brand-d); }
.acc-cart-link { display: block; text-align: center; margin-top: 10px; font-size: 12.8px; color: var(--muted); }
.acc-cart-link:hover { color: var(--ink); }
.acc-logout { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line-2); }
.acc-logout button { background: none; border: 0; color: var(--muted); font-size: 12.8px; cursor: pointer; padding: 0; font-family: inherit; }
.acc-logout button:hover { color: var(--danger, #b42318); }

.acc-main { min-width: 0; }
.acc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.acc-head h1 { font-size: 26px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.acc-head p { margin-top: 6px; font-size: 13.6px; }
.back-link { font-size: 12.5px; color: var(--muted); display: inline-block; margin-bottom: 8px; }
.back-link:hover { color: var(--ink); }

.acc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.acc-stat { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; background: #fff; }
.acc-stat span { font-size: 12.2px; color: var(--muted); display: block; }
.acc-stat b { font-size: 24px; font-weight: 800; }
.acc-stat:hover { border-color: #ffc3ab; }

.acc-upload-card {
  display: grid; grid-template-columns: 1fr 170px; gap: 18px; align-items: center;
  border: 1.5px dashed #ffc3ab; background: linear-gradient(100deg, #fff7f3, #fff); border-radius: 16px;
  padding: 22px; margin-bottom: 20px;
}
.auc-copy h2 { font-size: 19px; margin-bottom: 6px; }
.auc-copy p { font-size: 13.4px; color: var(--muted); margin-bottom: 12px; max-width: 40em; }
.auc-art { display: grid; place-items: center; }

.acc-block { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin-bottom: 16px; overflow: hidden; }
.acc-block.pad { padding: 18px 20px; }
.acc-block-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line-2); }
.acc-block.pad .acc-block-head { padding: 0 0 12px; border-bottom: 0; }
.acc-block-head h2 { font-size: 16px; }
.acc-block .pad { padding: 16px 18px; }
.pad { padding: 16px 18px; }
.hr { border: 0; border-top: 1px solid var(--line); margin: 18px 0; }
.fld { display: flex; flex-direction: column; gap: 5px; margin-bottom: 12px; }
.fld > span { font-size: 12px; font-weight: 600; color: var(--ink-2); }
.fld input, .fld textarea, .fld select { width: 100%; }

.acc-order-list { display: flex; flex-direction: column; }
.acc-order-row { padding: 14px 18px; border-bottom: 1px solid var(--line-2); display: block; }
.acc-order-row:last-child { border-bottom: 0; }
.acc-order-row:hover { background: #fcfcfd; }
.aor-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.aor-head strong { font-size: 14px; }
.aor-meta { display: flex; gap: 16px; font-size: 12.4px; color: var(--muted); margin: 5px 0 8px; flex-wrap: wrap; }
.mini-bar { height: 5px; border-radius: 999px; background: var(--line-2); overflow: hidden; }
.mini-bar i { display: block; height: 100%; background: var(--brand); border-radius: 999px; }
.mini-bar.w120 { width: 120px; display: inline-block; vertical-align: middle; }

.file-list { list-style: none; margin: 0; padding: 8px 0; }
.file-list li { display: flex; justify-content: space-between; gap: 14px; padding: 8px 18px; font-size: 13.2px; border-bottom: 1px solid var(--line-2); }
.file-list li:last-child { border-bottom: 0; }
.file-list a { font-weight: 600; }
.file-list a:hover { color: var(--brand); }
.file-list .muted { font-size: 11.8px; }

/* order detail ----------------------------------------------------------- */
.order-head { align-items: flex-end; }
.oh-total { text-align: right; }
.oh-total small { display: block; font-size: 11.5px; color: var(--muted); }
.oh-total b { font-size: 22px; font-weight: 800; }

.notice { border-radius: var(--radius-sm); padding: 11px 14px; font-size: 13.2px; margin-bottom: 14px; }
.notice.ok { background: #ecfdf3; border: 1px solid #abefc6; color: #067647; }
.notice.bad { background: #fef3f2; border: 1px solid #fecdca; color: #b42318; }
.notice.inline { display: inline-block; margin: 0; }
.notice-box {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  border: 1px solid #ffd0bd; background: var(--brand-soft); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 16px;
}
.notice-box h3 { font-size: 15.5px; margin-bottom: 4px; }

.chain-card { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin-bottom: 16px; }
.chain-progress { height: 6px; background: var(--line-2); margin: 0 18px 6px; border-radius: 999px; overflow: hidden; }
.chain-progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), #ff9166); border-radius: 999px; }
.chain { list-style: none; margin: 0; padding: 14px 18px 18px; }
.chain-item { display: grid; grid-template-columns: 30px 1fr; gap: 12px; padding: 10px 0; position: relative; }
.chain-item + .chain-item::before {
  content: ""; position: absolute; left: 14px; top: -8px; height: 14px; width: 2px; background: var(--line);
}
.chain-item.is-done + .chain-item::before { background: #abefc6; }
.chain-dot {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700;
  background: var(--soft); color: var(--muted); border: 1.5px solid var(--line); z-index: 1;
}
.chain-item.is-done .chain-dot { background: #ecfdf3; border-color: #abefc6; color: #067647; }
.chain-item.is-active .chain-dot { background: var(--brand-soft); border-color: var(--brand); color: var(--brand-d); }
.chain-item.is-failed .chain-dot { background: #fef3f2; border-color: #fda29b; color: #b42318; }
.chain-item.is-pending .chain-body strong { color: var(--muted); font-weight: 500; }
.chain-line { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.chain-line strong { font-size: 14px; }
.chain-date { font-size: 11.8px; color: var(--muted); }
.chain-note { font-size: 12.8px; color: var(--ink-2); margin-top: 4px; background: var(--soft); display: inline-block; padding: 3px 9px; border-radius: 6px; }
.chain-files { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.chain-file {
  display: inline-flex; align-items: center; gap: 6px; font-size: 11.8px; border: 1px solid var(--line);
  border-radius: 8px; padding: 5px 9px; color: var(--ink-2); max-width: 240px; overflow: hidden;
}
.chain-file.img { flex-direction: column; padding: 4px; gap: 4px; }
.chain-file.img img { width: 74px; height: 74px; object-fit: cover; border-radius: 6px; }
.chain-file.img span { font-size: 10.5px; color: var(--muted); max-width: 74px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chain-file:hover { border-color: var(--brand); color: var(--brand-d); }

.acc-grid2 { display: grid; grid-template-columns: 1fr 300px; gap: 18px; align-items: start; }
.ord-table { width: 100%; border-collapse: collapse; font-size: 13.4px; }
.ord-table th { text-align: left; font-size: 11.2px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: 10px 18px; border-bottom: 1px solid var(--line-2); }
.ord-table td { padding: 11px 18px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.ord-table tr:last-child td { border-bottom: 0; }
.ord-table .num, .ord-table th.num { text-align: right; }
.ord-table small { display: block; font-size: 11.8px; margin-top: 2px; }

.acc-aside { display: flex; flex-direction: column; gap: 14px; }
.sum-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; background: #fff; }
.sum-card h3 { font-size: 14px; margin-bottom: 10px; }
.sum-card dl { margin: 0; display: flex; flex-direction: column; gap: 7px; }
.sum-card dl div { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; }
.sum-card dt { color: var(--muted); }
.sum-card dd { margin: 0; font-weight: 600; }
.sum-card .sum-total { border-top: 1px solid var(--line-2); padding-top: 8px; }
.sum-card .sum-total dd { font-size: 16px; color: var(--brand); }
.sum-card .sum-due dd { color: var(--brand-d); }
.sum-note { font-size: 11.6px; color: var(--muted); margin-top: 10px; line-height: 1.5; }
.csat { font-size: 15px; margin-bottom: 6px; }
.fb-form { display: flex; flex-direction: column; gap: 8px; }
.fb-form label { display: flex; flex-direction: column; gap: 4px; font-size: 12.4px; }
.fb-radio { flex-direction: row !important; align-items: center; gap: 8px !important; font-size: 12.6px; }
.fb-radio input { accent-color: var(--brand); }

.timeline { list-style: none; margin: 0; padding: 14px 18px; }
.timeline li { display: grid; grid-template-columns: 16px 1fr; gap: 10px; padding: 8px 0; position: relative; }
.tl-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line); margin-top: 6px; }
.timeline li:first-child .tl-dot { background: var(--brand); }
.timeline strong { font-size: 13.2px; }
.timeline p { font-size: 12.6px; color: var(--ink-2); margin-top: 2px; }
.timeline small { font-size: 11.4px; }

/* upload ----------------------------------------------------------------- */
.upload-box { display: flex; flex-direction: column; gap: 10px; padding: 16px 18px; border-top: 1px solid var(--line-2); }
.upload-box.big { border: 1.5px dashed #ffc3ab; border-radius: var(--radius); background: #fffaf7; padding: 18px; margin-bottom: 18px; }
.ub-head { display: flex; align-items: center; gap: 10px; justify-content: space-between; font-size: 13px; }
.ub-head select { max-width: 320px; }
.ub-drop {
  display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center;
  border: 1.5px dashed #dfe3ea; border-radius: var(--radius); padding: 18px; cursor: pointer; position: relative;
  background: #fff;
}
.ub-drop.tall { padding: 26px 18px; }
.ub-drop:hover { border-color: var(--brand); background: var(--brand-soft); }
.ub-drop input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.ub-ic { width: 42px; height: 42px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; }
.ub-drop b { font-size: 13.6px; }
.ub-drop small { font-size: 11.5px; color: var(--muted); max-width: 34em; }

/* cart ------------------------------------------------------------------- */
.cart-wrap { padding: 26px 20px 72px; }
.cart-head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; flex-wrap: wrap; }
.cart-head h1 { font-size: 26px; }
.cart-grid { display: grid; grid-template-columns: 1fr 320px; gap: 24px; align-items: start; }
.cart-items { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.cart-table { width: 100%; border-collapse: collapse; font-size: 13.4px; }
.cart-table th { text-align: left; font-size: 11.2px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: 11px 14px; background: var(--soft); }
.cart-table td { padding: 13px 14px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.cart-table .num { text-align: right; }
.ci-prod { display: flex; gap: 12px; align-items: center; }
.ci-img { width: 56px; height: 56px; border-radius: 8px; overflow: hidden; background: var(--soft); flex: 0 0 auto; display: grid; place-items: center; }
.ci-img img { width: 100%; height: 100%; object-fit: cover; }
.ph-mini { width: 100%; height: 100%; background: repeating-linear-gradient(135deg, #f4f5f7 0 8px, #fafbfc 8px 16px); }
.ci-name { font-weight: 600; font-size: 13.6px; }
.ci-name:hover { color: var(--brand); }
.ci-prod small { display: block; font-size: 11.6px; margin-top: 2px; }
.qty-form { display: flex; gap: 6px; align-items: center; }
.qty-form input { width: 84px; padding: 6px 8px; font-size: 13px; }
.mini-link { background: none; border: 0; padding: 0; font-size: 12.2px; color: var(--ink-2); text-decoration: underline; cursor: pointer; font-family: inherit; }
.mini-link:hover { color: var(--brand); }
.mini-link.danger { color: #b42318; }
.cart-continue { display: inline-block; padding: 14px; font-size: 13px; color: var(--muted); }
.cart-sum { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; background: #fff; position: sticky; top: 140px; }
.cart-sum h3 { font-size: 15px; margin-bottom: 12px; }
.cart-sum dl { margin: 0 0 12px; display: flex; flex-direction: column; gap: 8px; }
.cart-sum dl div { display: flex; justify-content: space-between; font-size: 13.4px; }
.cart-sum dt { color: var(--muted); }
.cart-sum dd { margin: 0; font-weight: 600; }
.cart-sum .sum-total dd { font-size: 18px; color: var(--brand); }
.small { font-size: 11.8px; line-height: 1.55; }

/* checkout --------------------------------------------------------------- */
.co-grid { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: start; }
.co-main { min-width: 0; }
.co-aside { position: sticky; top: 140px; }
.ship-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ship-opt { display: flex; gap: 9px; align-items: flex-start; border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 11px 12px; cursor: pointer; }
.ship-opt:hover { border-color: #ffc3ab; }
.ship-opt input { accent-color: var(--brand); margin-top: 3px; }
.ship-opt b { font-size: 13.4px; display: block; }
.ship-opt small { font-size: 11.6px; color: var(--muted); }
.ship-opt input:checked + span b { color: var(--brand-d); }
.co-lines { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.co-lines li { display: flex; justify-content: space-between; gap: 10px; font-size: 12.8px; border-bottom: 1px solid var(--line-2); padding-bottom: 8px; }
.co-lines small { display: block; color: var(--muted); font-size: 11.4px; }

.ord-list-table { width: 100%; border-collapse: collapse; font-size: 13.4px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.ord-list-table th { background: var(--soft); font-size: 11.2px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: 11px 14px; text-align: left; }
.ord-list-table td { padding: 13px 14px; border-bottom: 1px solid var(--line-2); }
.ord-list-table .num { text-align: right; }
.ord-no { font-weight: 650; }
.ord-no:hover { color: var(--brand); }

/* responsive ------------------------------------------------------------- */
@media (max-width: 1080px) {
  .acc-wrap { grid-template-columns: 1fr; gap: 18px; }
  .acc-side { position: static; }
  .acc-tabs { flex-direction: row; flex-wrap: wrap; }
  .acc-grid2 { grid-template-columns: 1fr; }
  .cart-grid, .co-grid { grid-template-columns: 1fr; }
  .cart-sum, .co-aside { position: static; }
  .acc-upload-card { grid-template-columns: 1fr; }
  .auc-art { display: none; }
}
@media (max-width: 900px) {
  .cart-btn .lbl { display: none; }
  .btn-upload { padding: 0 12px; font-size: 12.5px; }
  .acct-btn { max-width: 110px; }
}
@media (max-width: 560px) {
  .ob-row { grid-template-columns: 1fr; }
  .acc-stats { grid-template-columns: 1fr 1fr; }
  .ship-opts { grid-template-columns: 1fr; }
  .ord-table th:nth-child(3), .ord-table td:nth-child(3) { display: none; }
  .cart-table th:nth-child(3), .cart-table td:nth-child(3) { display: none; }
  .cart-wrap, .acc-wrap { padding-left: 16px; padding-right: 16px; }
  .chain-file.img img { width: 60px; height: 60px; }
}

/* keep the gallery from eating the fold */
.pdp-main { max-height: 520px; }

/* ==========================================================================
   Presets (选型) + RFQ pipeline cards
   ========================================================================== */
.preset-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-bottom: 10px; }
.preset-card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 16px 14px; background: #fff;
  display: flex; flex-direction: column; gap: 8px; transition: border-color .16s ease, transform .16s ease, box-shadow .16s ease;
}
.preset-card:hover { border-color: #ffc3ab; transform: translateY(-2px); box-shadow: var(--shadow); }
.preset-top { display: flex; align-items: center; justify-content: space-between; }
.preset-code, .preset-code-lg {
  font-size: 11px; font-weight: 800; letter-spacing: .1em; color: var(--brand-d);
  background: var(--brand-soft); border-radius: 6px; padding: 2px 7px;
}
.preset-code-lg { font-size: 12px; padding: 3px 9px; }
.preset-moq { font-size: 11.5px; color: var(--muted); }
.preset-card h3 { font-size: 16px; line-height: 1.3; }
.preset-desc { font-size: 12.8px; color: var(--muted); min-height: 3.9em; }
.preset-specs { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 4px; }
.preset-specs li { display: flex; gap: 8px; font-size: 12.2px; }
.preset-specs span { color: var(--muted); min-width: 3.4em; }
.preset-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line-2); }
.preset-foot b { font-size: 17px; color: var(--brand); }
.preset-foot small { color: var(--muted); font-size: 11.5px; }
.preset-cta { font-size: 12.5px; font-weight: 650; color: var(--ink-2); }
.preset-card:hover .preset-cta { color: var(--brand); }
.preset-note { border: 1px dashed var(--line); border-radius: var(--radius); padding: 18px 20px; margin: 22px 0 60px; background: var(--soft-2); }
.preset-note b { display: block; margin-bottom: 6px; font-size: 14px; }
.preset-note p { font-size: 13.2px; color: var(--muted); line-height: 1.65; }

.preset-detail { display: grid; grid-template-columns: 1fr 400px; gap: 40px; padding-top: 6px; padding-bottom: 64px; align-items: start; }
.preset-info h1 { font-size: clamp(24px, 2.6vw, 34px); margin: 10px 0; }
.preset-lead { color: var(--ink-2); font-size: 15px; }
.preset-table { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; margin: 20px 0; }
.preset-table > div { background: #fff; padding: 11px 14px; }
.preset-table dt { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.preset-table dd { margin: 0; font-size: 13.6px; font-weight: 600; }
.preset-notes, .preset-flow { margin: 18px 0; }
.preset-notes h3, .preset-flow h3 { font-size: 15px; margin-bottom: 8px; }
.preset-notes p { font-size: 13.6px; color: var(--ink-2); }
.preset-flow ol { margin: 0; padding-left: 20px; display: grid; gap: 7px; font-size: 13.4px; color: var(--ink-2); }

.preset-order { position: sticky; top: 140px; }
.rfq-form { border: 1px solid var(--line); border-radius: 16px; padding: 20px; background: #fff; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; }
.rfq-head { display: flex; align-items: baseline; justify-content: space-between; }
.rfq-head h2 { font-size: 17px; }
.rfq-row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; }
.rfq-row label, .rfq-field { display: flex; flex-direction: column; gap: 5px; }
.rfq-row label span, .rfq-field span { font-size: 12px; font-weight: 600; color: var(--ink-2); }
.rfq-file {
  display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center;
  border: 1.5px dashed #dfe3ea; border-radius: var(--radius); padding: 16px; cursor: pointer; position: relative; background: #fffaf7;
}
.rfq-file:hover { border-color: var(--brand); }
.rfq-file input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.rfq-file b { font-size: 13px; }
.rfq-file small { font-size: 11px; color: var(--muted); max-width: 26em; }
.rfq-note { font-size: 11.5px; color: var(--muted); line-height: 1.55; }

/* pipeline action cards on the order page -------------------------------- */
.action-card { border: 1px solid var(--line); border-left: 3px solid var(--brand); border-radius: var(--radius); padding: 18px 20px; background: #fff; margin-bottom: 16px; }
.action-card.warn { border-left-color: #f79009; background: #fffcf5; }
.action-card.bad { border-left-color: #d92d20; background: #fffbfa; }
.action-card h2 { font-size: 17px; margin-bottom: 8px; }
.action-card p { font-size: 13.4px; color: var(--ink-2); margin-bottom: 10px; }
.ac-reason { font-weight: 600; color: #b42318 !important; }
.ac-need { background: #fff; border: 1px dashed #fda29b; border-radius: 8px; padding: 10px 12px; margin-bottom: 12px; }
.ac-need b { font-size: 12.5px; }
.ac-need p { margin: 4px 0 0; font-size: 13px; white-space: pre-wrap; }
.ac-form { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.ac-form .row2 { gap: 10px; }
.ac-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.pi-mini { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; margin: 12px 0; }
.pi-mini > div { background: #fff; padding: 10px 12px; }
.pi-mini span { display: block; font-size: 11px; color: var(--muted); }
.pi-mini b { font-size: 14px; }
.pay-info { display: grid; grid-template-columns: 1fr 1.4fr; gap: 14px; margin: 12px 0; }
.pay-info > div { border: 1px solid var(--line); border-radius: 8px; padding: 12px; }
.pay-info span { display: block; font-size: 11.5px; color: var(--muted); margin-bottom: 4px; }
.pay-info b { font-size: 20px; color: var(--brand); }
.pay-bank p { margin: 0; font-size: 12.4px; color: var(--ink-2); white-space: pre-wrap; line-height: 1.6; }

.prod-bar { position: relative; height: 22px; border-radius: 999px; background: var(--line-2); overflow: hidden; margin-bottom: 12px; }
.prod-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), #ff9166); }
.prod-bar span { position: absolute; inset: 0; display: grid; place-items: center; font-size: 11.5px; font-weight: 700; color: var(--ink-2); }
.prod-log { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.prod-log li { border-bottom: 1px solid var(--line-2); padding-bottom: 8px; font-size: 13px; }
.prod-log li:last-child { border-bottom: 0; }
.pl-head { display: flex; align-items: center; gap: 10px; }
.pl-head b { font-size: 13.4px; }
.pl-pct { margin-left: auto; color: var(--brand); }
.prod-log p { font-size: 12.6px; color: var(--muted); margin: 3px 0 0; }
.prod-files { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.prod-files img { width: 92px; height: 92px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.ship-line { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 10px 0 14px; }
.ship-line span { display: block; font-size: 11px; color: var(--muted); }
.ship-line b { font-size: 13.4px; }

@media (max-width: 1080px) {
  .preset-grid { grid-template-columns: repeat(2, 1fr); }
  .preset-detail { grid-template-columns: 1fr; gap: 24px; }
  .preset-order { position: static; }
  .pi-mini, .ship-line { grid-template-columns: repeat(2, 1fr); }
  .pay-info { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .preset-grid { grid-template-columns: 1fr; }
  .preset-table { grid-template-columns: 1fr; }
}

/* ==========================================================================
   RFQ ID lifecycle chips (customer side)
   ========================================================================== */
.idbar {
  display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center;
  margin-top: 10px; font-size: 12px; color: var(--muted);
}
.idbar-tag {
  border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; background: #fff;
}
.idbar-tag b { color: var(--ink); letter-spacing: .02em; }
.idbar-keep { color: #067647; background: #ecfdf3; border-radius: 999px; padding: 3px 10px; }
.idbar-exp { color: var(--muted); background: var(--soft); border-radius: 999px; padding: 3px 10px; }
.idbar-soon { color: #b54708; background: #fffaeb; border-radius: 999px; padding: 3px 10px; }

/* file rows: 询价ID · F01 编号 */
.file-row { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.file-tag {
  font-size: 11px; font-weight: 700; letter-spacing: .02em; color: var(--brand-d);
  background: var(--brand-soft); border-radius: 6px; padding: 2px 7px; white-space: nowrap;
}
.file-name { flex: 1 1 auto; min-width: 140px; }

/* ==========================================================================
   Metro map — 跟单线路图 + 站台面板（客户与后台共用同一套类名）
   ========================================================================== */
.metro-wrap {
  border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(180deg, #fff, #fcfcfd);
  padding: 16px 16px 6px; margin-bottom: 18px;
}
.metro-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.metro-legend { display: flex; gap: 14px; font-size: 11.5px; color: var(--muted); flex-wrap: wrap; }
.lg { width: 9px; height: 9px; border-radius: 50%; display: inline-block; margin-right: 5px; vertical-align: -1px; }
.lg-done { background: #12b76a; }
.lg-cur { background: var(--brand); }
.lg-pending { background: #d0d5dd; }
.lg-fail { background: #d92d20; }
.metro-progress { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.metro-progress b { font-size: 17px; color: var(--ink); }
.metro-open { background: #fffaeb; color: #b54708; border-radius: 999px; padding: 2px 9px; margin-left: 8px; font-size: 11.5px; }

.metro { display: grid; grid-template-columns: repeat(6, 1fr); gap: 32px 0; padding: 2px 0 12px; }
.stop { position: relative; display: flex; flex-direction: column; align-items: center; gap: 5px; text-align: center; padding: 0 4px; color: inherit; }
.stop-line { display: none; position: absolute; top: 15px; left: calc(50% + 17px); right: calc(-50% + 17px); height: 3px; background: #d5d9e0; border-radius: 2px; }
.stop.has-next .stop-line { display: block; }
.stop.is-done .stop-line { background: #a6f4c5; }
.stop.is-turn::after {
  content: ''; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  width: 3px; height: 38px; background: #c8ccd4; border-radius: 2px; z-index: 0;
}
.stop-dot {
  position: relative; z-index: 1; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; font-size: 12.5px; font-weight: 700;
  background: #fff; border: 2.5px solid #d0d5dd; color: #98a2b3;
  transition: transform .15s ease, box-shadow .15s ease;
}
.stop:hover .stop-dot { transform: scale(1.07); }
.is-done .stop-dot { background: #12b76a; border-color: #12b76a; color: #fff; }
.is-current .stop-dot { background: var(--brand); border-color: var(--brand); color: #fff; animation: stopPulse 1.9s ease-out infinite; }
.is-failed .stop-dot { background: #d92d20; border-color: #d92d20; color: #fff; }
@keyframes stopPulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 90, 31, .35); }
  70% { box-shadow: 0 0 0 10px rgba(255, 90, 31, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 90, 31, 0); }
}
.stop-name { font-size: 11.8px; font-weight: 600; color: var(--ink-2); line-height: 1.25; }
.is-current .stop-name { color: var(--brand-d); }
.is-pending .stop-name { color: var(--muted); font-weight: 500; }
.stop-meta { font-size: 10.5px; color: var(--muted); }
.stop.is-open .stop-name { text-decoration: underline; text-underline-offset: 2px; }
.stop-badge {
  position: absolute; top: -2px; left: calc(50% + 8px); min-width: 17px; height: 17px; border-radius: 999px;
  background: #d92d20; color: #fff; font-size: 10.5px; font-weight: 700; display: grid; place-items: center;
  padding: 0 4px; z-index: 2;
}

/* board ------------------------------------------------------------------ */
.board {
  border: 1px solid var(--line); border-radius: 16px; background: #fff; margin-bottom: 18px;
  scroll-margin-top: 140px; overflow: hidden;
}
.board-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; padding: 16px 20px 12px; border-bottom: 1px solid var(--line-2); flex-wrap: wrap; }
.board-kicker { font-size: 10.8px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.board-head h2 { font-size: 20px; margin-top: 3px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.board-head p { margin-top: 4px; }
.board-ready { background: #ecfdf3; color: #067647; border: 1px solid #abefc6; border-radius: 999px; padding: 5px 12px; font-size: 12px; white-space: nowrap; }
.board-grid { display: grid; grid-template-columns: 1fr 264px; }
.board-main { padding: 12px 20px 20px; min-width: 0; }
.board-h3 { font-size: 12.5px; margin: 14px 0 8px; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.board-empty { padding: 6px 0 4px; }
.cklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.ck { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; }
.ck:hover { background: #fcfcfd; }
.ck-box { width: 18px; height: 18px; border-radius: 6px; border: 1.5px solid #d0d5dd; background: #fff; display: grid; place-items: center; font-size: 11px; color: #fff; flex: 0 0 auto; }
.ck.is-done .ck-box { background: #12b76a; border-color: #12b76a; }
.ck-body { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; flex: 1; min-width: 0; }
.ck-txt { font-size: 13.2px; }
.ck.is-done .ck-txt { color: var(--muted); text-decoration: line-through; text-decoration-color: #d0d5dd; }
.ck-owner { font-size: 10.4px; border-radius: 5px; padding: 1px 6px; font-weight: 600; }
.ck-owner.is-client { background: #eff8ff; color: #175cd3; }
.ck-owner.is-us { background: #fff2ec; color: var(--brand-d); }
.ck-src { font-size: 10.4px; color: #067647; }
.ck-note { font-size: 11px; color: var(--muted); }
.mini-btn { background: #fff; border: 1px solid var(--line); border-radius: 7px; padding: 4px 9px; font-size: 11.5px; color: var(--ink-2); cursor: pointer; font-family: inherit; white-space: nowrap; }
.mini-btn:hover { border-color: var(--brand); color: var(--brand-d); }
.mini-btn.ghost { border-color: transparent; color: var(--muted); opacity: 0; transition: opacity .15s ease; }
.ck:hover .mini-btn.ghost { opacity: 1; }

.thread { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.th { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: #fff; }
.th.is-us { background: #fff7f3; border-color: #ffd0bd; }
.th-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12px; }
.th-body { font-size: 13.2px; margin: 6px 0 0; white-space: pre-wrap; line-height: 1.6; color: var(--ink-2); }
.th-file { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 11.8px; border: 1px solid var(--line); border-radius: 8px; padding: 4px 9px; }
.th-file:hover { border-color: var(--brand); color: var(--brand-d); }

.board-form { margin-top: 14px; display: flex; flex-direction: column; gap: 9px; border-top: 1px solid var(--line-2); padding-top: 14px; }
.board-form textarea { width: 100%; font-family: inherit; font-size: 13px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 9px; resize: vertical; }
.board-form-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.board-file { position: relative; font-size: 12px; color: var(--muted); border: 1px dashed var(--line); border-radius: 8px; padding: 7px 11px; cursor: pointer; }
.board-file:hover { border-color: var(--brand); color: var(--brand-d); }
.board-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

.board-side { border-left: 1px solid var(--line-2); padding: 16px 18px; background: #fcfcfd; display: flex; flex-direction: column; gap: 10px; }
.side-card h4 { font-size: 11.4px; color: var(--muted); margin-bottom: 8px; letter-spacing: .06em; text-transform: uppercase; }
.side-card dl { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.side-card dl > div { display: flex; justify-content: space-between; gap: 8px; font-size: 12.4px; }
.side-card dt { color: var(--muted); }
.side-card dd { margin: 0; font-weight: 600; }
.side-card dd.hot { color: var(--brand); }
.side-cta { display: block; text-align: center; border: 1px solid var(--line); border-radius: 9px; padding: 8px; font-size: 12.5px; color: var(--ink-2); background: #fff; }
.side-cta:hover { border-color: var(--brand); color: var(--brand-d); }
.side-hint { font-size: 11px; color: var(--muted); line-height: 1.55; }

@media (max-width: 980px) {
  .metro { grid-template-columns: repeat(3, 1fr); gap: 26px 0; }
  .stop.has-next .stop-line { display: none; }
  .stop.is-turn::after { display: none; }
  .stop:nth-child(3n) { grid-column: auto; }
  .board-grid { grid-template-columns: 1fr; }
  .board-side { border-left: 0; border-top: 1px solid var(--line-2); }
}
@media (max-width: 560px) {
  .metro { grid-template-columns: 1fr; gap: 0; padding: 0 0 6px; }
  .stop { flex-direction: row; align-items: center; gap: 10px; text-align: left; padding: 8px 2px; }
  .stop.has-next .stop-line, .stop.is-turn::after { display: none; }
  .stop::before { content: ''; position: absolute; left: 14px; top: 0; bottom: 0; width: 3px; background: #d5d9e0; }
  .stop.is-done::before { background: #a6f4c5; }
  .stop:first-child::before { top: 50%; }
  .stop:last-child::before { bottom: 50%; }
  .stop-dot { flex: 0 0 auto; width: 26px; height: 26px; font-size: 11px; }
  .stop::before { left: 14px; }
  .stop-name { font-size: 13px; }
  .stop-meta { margin-left: auto; white-space: nowrap; }
  .stop-badge { left: auto; right: 2px; top: 4px; }
  .board-main { padding: 12px 14px 16px; }
  .board-head { padding: 14px 14px 10px; }
}
