/* 各頁面樣式 Page styles */
.sr-only:focus { position: fixed; top: 8px; left: 8px; width: auto; height: auto; clip: auto; padding: 10px 16px; background: var(--ink); color: var(--white); border-radius: 999px; z-index: 200; }
main:focus { outline: none; }

/* ---------- home ---------- */
.hero { padding-top: 56px; padding-bottom: 40px; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.hero-copy { flex: 1 1 420px; display: flex; flex-direction: column; gap: 22px; }
.pill-label { align-self: flex-start; font-size: 13px; letter-spacing: 0.2em; color: var(--muted-2); background: var(--oat); padding: 6px 14px; border-radius: 999px; }
.hero-title { margin: 0; font-family: var(--serif); font-weight: 700; font-size: clamp(34px, 5vw, 56px); line-height: 1.25; text-wrap: balance; }
html[lang="en"] .hero-title { font-size: clamp(40px, 5.6vw, 64px); line-height: 1.1; }
.hero-lead { margin: 0; font-size: 18px; line-height: 1.8; color: var(--muted); max-width: 30em; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-collage { flex: 1 1 440px; background: var(--blush); border-radius: 32px; padding: 24px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.hero-collage img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 20px; }
.hero-collage img.tall { grid-row: span 2; height: 100%; aspect-ratio: auto; }
.feature { padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.feature h3 { margin: 0; font-family: var(--serif); font-size: 22px; }
html[lang="en"] .feature h3 { font-family: var(--display); font-size: 26px; font-weight: 600; }
.feature p { margin: 0; line-height: 1.7; font-size: 15px; }
.feature-icon { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; }
.tone-blush { background: var(--blush); color: var(--rose); }
.tone-oat { background: var(--oat); color: var(--muted-2); }
.tone-sage { background: var(--sage-bg); color: var(--sage-ink); }
.story { background: var(--oat); padding: 72px 0; }
.story-inner { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.story-media { flex: 1 1 340px; position: relative; }
.story-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 28px; }
.story-stamp { position: absolute; bottom: -20px; right: -12px; background: var(--white); border-radius: 20px; padding: 14px 20px; display: flex; flex-direction: column; box-shadow: 0 8px 24px rgba(67, 52, 46, 0.1); }
.story-stamp span { font-family: var(--display); font-size: 22px; font-weight: 600; color: var(--rose); letter-spacing: 0.06em; }
.story-stamp small { font-size: 13px; color: var(--muted); }
.story-copy { flex: 1.2 1 420px; display: flex; flex-direction: column; gap: 20px; }
.story-copy h2 { margin: 0; font-family: var(--serif); font-size: clamp(28px, 3.6vw, 38px); line-height: 1.4; }
html[lang="en"] .story-copy h2 { font-size: clamp(34px, 4vw, 46px); line-height: 1.15; }
.story-copy p { margin: 0; font-size: 17px; line-height: 2; color: #5C4A42; }
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.value { background: var(--white); border-radius: 18px; padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.value .muted { font-size: 14px; line-height: 1.6; }
.how { background: var(--blush); padding: 64px 0; }
.center-head { text-align: center; display: flex; flex-direction: column; gap: 8px; align-items: center; margin-bottom: 32px; }
.center-head h2 { margin: 0; font-family: var(--serif); font-size: clamp(26px, 3.4vw, 36px); }
.center-head p { margin: 0; }
.how-steps { list-style: none; margin: 0 0 32px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.how-steps li { background: var(--white); border-radius: 20px; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.how-steps .num { font-family: var(--display); font-size: 32px; color: var(--rose); line-height: 1; }
.how-steps .muted { font-size: 14px; line-height: 1.6; }
.mini-product { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 8px; }
.mini-product:hover { color: var(--ink); }
.mini-product .media { position: relative; }
.mini-product img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 20px; }
.mini-product .badge { position: absolute; top: 12px; left: 12px; }
.mini-product .muted { font-size: 15px; }
.fab-band { background: var(--oat); padding: 64px 0; }
.fab-band-inner { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.fab-band-copy { flex: 1 1 320px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.fab-band-copy h2 { margin: 0; font-family: var(--serif); font-size: clamp(26px, 3.4vw, 36px); line-height: 1.3; }
.fab-band-copy p { margin: 0; color: var(--muted-2); line-height: 1.8; }
.fab-band-grid { flex: 1.4 1 480px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.fab-band-grid a { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--muted-2); font-size: 13px; }
.fab-band-grid img { aspect-ratio: 1 / 1; object-fit: cover; border-radius: 16px; width: 100%; }
.news-card { padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.news-card h3 { margin: 0; font-size: 19px; line-height: 1.5; }
.mini-swatches { display: flex; gap: 8px; }
.mini-swatches img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.offer-card { background: var(--rose); color: var(--white); border-radius: var(--radius); }
.code-box { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--white); color: var(--ink); border-radius: 14px; padding: 6px 6px 6px 16px; }
.code-box strong { letter-spacing: 0.12em; }
.copy-btn { min-height: 44px; padding: 0 16px; border: none; border-radius: 999px; background: var(--blush); color: var(--rose-ink); font-weight: 500; }

/* ---------- stock ---------- */
.stock-head { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; }
.stock-head > div:first-child { flex: 1 1 320px; min-width: 0; }
.stock-head .chips { min-width: 0; max-width: 100%; }
.cta-band { border-radius: 28px; padding: 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.cta-band h2 { margin: 0 0 8px; font-family: var(--serif); font-size: 28px; }
.cta-band p { margin: 0; color: var(--muted-2); line-height: 1.8; }
.product-card .btn { min-height: 44px; padding: 0 18px; font-size: 14px; }
.product-card .btn[aria-disabled="true"] { background: var(--blush); color: var(--rose-ink); pointer-events: none; }
.product-card.is-sold img { filter: grayscale(0.3); opacity: 0.75; }

/* ---------- gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 24px; }
.gallery-card { display: flex; flex-direction: column; overflow: hidden; }
.g-media { background: var(--white); }
.g-thumbs { display: flex; gap: 8px; padding: 10px 12px; overflow-x: auto; background: var(--white); }
.g-thumbs button { flex: 0 0 56px; height: 56px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: none; }
.g-thumbs button[aria-pressed="true"] { border-color: var(--rose); }
.g-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.g-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.g-body h2 { margin: 0; font-family: var(--serif); font-size: 22px; line-height: 1.4; }
.g-body p { margin: 0; line-height: 1.8; font-size: 15px; white-space: pre-line; }
.g-body .btn { align-self: flex-start; margin-top: auto; }
.specs { margin: 4px 0 8px; display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line-soft); }
.specs > div { display: grid; grid-template-columns: 7.5em 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line-soft); font-size: 15px; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; }
.fab-chip { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; }
.fab-chip img { width: 28px; height: 28px; border-radius: 6px; object-fit: cover; }
.fab-chip:hover span { text-decoration: underline; }

/* ---------- news ---------- */
.news-layout { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; padding-bottom: 72px; }
.news-list { flex: 999 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.news-side { flex: 1 1 320px; display: flex; flex-direction: column; gap: 20px; }
.news-item { padding: 24px; display: flex; flex-wrap: wrap; gap: 20px; }
.news-item img { width: 140px; height: 140px; object-fit: cover; border-radius: 16px; flex: 0 0 140px; }
.news-item .nb { flex: 1 1 280px; display: flex; flex-direction: column; gap: 8px; }
.news-item h3 { margin: 0; font-size: 20px; line-height: 1.5; }
.news-item p { margin: 0; color: var(--muted); line-height: 1.8; font-size: 15px; white-space: pre-line; }
.news-meta { display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--muted); }
.side-card { padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.side-card h2 { margin: 0; font-family: var(--serif); font-size: 22px; }
.market { display: flex; gap: 14px; align-items: center; }
.market-date { width: 60px; height: 64px; border-radius: 14px; background: var(--oat); display: flex; flex-direction: column; align-items: center; justify-content: center; flex-shrink: 0; line-height: 1.1; }
.market-date.next { background: var(--blush); }
.market-date span { font-size: 12px; color: var(--muted-2); }
.market-date strong { font-size: 22px; }
.market-info { display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.promo-banner { background: var(--rose); color: var(--white); border-radius: 28px; padding: 32px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.promo-banner h2 { margin: 6px 0; font-family: var(--serif); font-size: clamp(24px, 3vw, 32px); }
.follow-card { background: var(--ink); color: var(--white); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.follow-card h2 { margin: 0; font-family: var(--serif); font-size: 22px; }
.follow-card p { margin: 0; color: #D8C9BC; font-size: 15px; line-height: 1.7; }
.follow-card .btn-ghost { background: transparent; color: var(--white); border-color: #8C7A70; }
.follow-card .btn-white { background: var(--white); color: var(--ink); }

/* ---------- builder ---------- */
.builder { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; padding-bottom: 40px; }
.builder-steps { flex: 999 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.bstep { padding: 26px; display: flex; flex-direction: column; gap: 16px; scroll-margin-top: calc(var(--header-h) + 16px); }
.bstep-head { display: flex; align-items: center; gap: 12px; }
.bstep-head .n { width: 34px; height: 34px; border-radius: 999px; background: var(--rose); color: var(--white); display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; }
.bstep-head h2 { margin: 0; font-family: var(--serif); font-size: 22px; }
.opt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.opt-card { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 16px; border-radius: 18px; text-align: left; background: var(--white); border: 2px solid var(--line-soft); color: var(--ink); min-height: 44px; }
.opt-card[aria-checked="true"], .opt-card[aria-pressed="true"] { background: var(--blush); border-color: var(--rose); }
.opt-card { position: relative; }
.card-check { position: absolute; top: 12px; right: 12px; width: 22px; height: 22px; border-radius: 6px; border: 1.5px solid #B8A392; background: var(--white); display: flex; align-items: center; justify-content: center; }
.opt-card[aria-pressed="true"] .card-check { background: var(--rose); border-color: var(--rose); }
.opt-card .price-note { font-size: 14px; color: var(--muted); }
.opt-card svg { color: var(--ink); }
.size-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.size-btn { min-width: 110px; min-height: 64px; padding: 8px 16px; border-radius: 16px; border: 1px solid var(--sand); background: var(--white); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 17px; }
.size-btn small { font-size: 13px; color: var(--muted); }
.size-btn[aria-checked="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.size-btn[aria-checked="true"] small { color: #E6D8CC; }
.dims { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; background: var(--cream); border-radius: 16px; padding: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--muted); }
.field input, .field textarea, .field select { min-height: 48px; border: 1px solid var(--sand); border-radius: 12px; padding: 0 14px; font-size: 16px; color: var(--ink); background: var(--white); width: 100%; }
.field textarea { padding: 12px 14px; min-height: 110px; resize: vertical; }
.pill-group { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--sand); background: var(--white); font-size: 15px; }
.pill[aria-checked="true"], .pill[aria-pressed="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.pill .add { opacity: 0.8; }
.check-box { width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid #B8A392; background: var(--white); display: inline-flex; align-items: center; justify-content: center; }
.pill[aria-pressed="true"] .check-box { background: var(--rose); border-color: var(--white); }
.fabric-pick { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; }
.fabric-preview { display: flex; align-items: center; gap: 12px; background: var(--cream); border-radius: 14px; padding: 8px 14px 8px 8px; min-height: 60px; }
.fabric-preview img, .fabric-preview .ph { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; background: repeating-linear-gradient(45deg, var(--line) 0 2px, transparent 2px 8px); }
.opt-section { display: flex; flex-direction: column; gap: 10px; }
.opt-sub { margin: 4px 0 0; font-size: 15px; font-weight: 700; color: var(--muted-2); }
.choice-box:empty { display: none; }
.choice-box { display: flex; flex-wrap: wrap; gap: 12px; }
.choice-field { flex: 1 1 220px; max-width: 360px; }
.choice-field select { padding: 0 12px; }
.lib-box { display: flex; flex-direction: column; gap: 14px; }
.combo-box { display: flex; flex-wrap: wrap; gap: 20px; align-items: stretch; background: var(--cream); border-radius: 18px; padding: 16px; }
.combo-controls { flex: 1 1 280px; display: flex; flex-direction: column; gap: 14px; }
.ratio-field input[type="range"] { min-height: 32px; padding: 0; border: none; background: none; accent-color: var(--rose); }
.ratio-field span[role="status"] { font-size: 14px; color: var(--muted-2); }
.combo-preview { flex: 0 0 180px; height: 200px; border-radius: 16px; overflow: hidden; display: flex; box-shadow: 0 0 0 1px var(--line); background: var(--white); }
.combo-preview.tb { flex-direction: column; }
.combo-preview.lr { flex-direction: row; }
.combo-preview .part { position: relative; background-size: cover; background-position: center; min-width: 0; min-height: 0; transition: flex-basis .2s; }
.combo-preview .part + .part { box-shadow: 0 0 0 1.5px var(--white); }
.combo-preview .part.empty { background: repeating-linear-gradient(45deg, var(--line) 0 2px, transparent 2px 8px); }
.combo-preview .part span { position: absolute; left: 8px; top: 8px; background: rgba(255, 255, 255, 0.92); border-radius: 999px; padding: 2px 8px; font-size: 12px; font-weight: 700; }
.slots { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.slot { border: 2px solid var(--line-soft); border-radius: 18px; padding: 14px; display: flex; flex-direction: column; gap: 12px; background: var(--white); cursor: pointer; }
.slot.active { border-color: var(--rose); }
.slot-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.pill-sm .pill { min-height: 40px; padding: 0 14px; font-size: 14px; }
.strip-filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.search-sm { flex: 1 1 200px; min-height: 44px; }
.strip-more { flex: 0 0 120px; align-self: center; font-size: 13px; text-decoration: none; }
.fabric-strip { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; }
.fabric-strip button { flex: 0 0 64px; border: 2px solid transparent; border-radius: 12px; padding: 0; background: none; display: flex; flex-direction: column; gap: 2px; font-size: 11px; color: var(--muted); }
.fabric-strip button img { width: 60px; height: 60px; border-radius: 10px; object-fit: cover; }
.fabric-strip button[aria-pressed="true"] { border-color: var(--rose); }
.byof { background: var(--oat); border-radius: 18px; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.byof-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; font-size: 15px; line-height: 1.7; }
.byof-grid > div { background: var(--white); border-radius: 14px; padding: 14px; }
.byof-grid small { color: var(--muted-2); font-size: 13px; display: block; }
.dropzone { border: 2px dashed var(--sand); border-radius: 18px; background: var(--cream); padding: 24px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; cursor: pointer; position: relative; }
.dropzone.drag { border-color: var(--rose); background: var(--blush); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.thumbs { display: flex; flex-wrap: wrap; gap: 10px; }
.thumb { position: relative; }
.thumb img { width: 84px; height: 84px; object-fit: cover; border-radius: 12px; }
.thumb button { position: absolute; top: -8px; right: -8px; width: 28px; height: 28px; border-radius: 999px; border: none; background: var(--ink); color: var(--white); font-size: 14px; line-height: 1; }
.summary { flex: 1 1 320px; padding: 24px; display: flex; flex-direction: column; gap: 16px; position: sticky; top: calc(var(--header-h) + 16px); }
.summary h2 { margin: 0; font-family: var(--serif); font-size: 22px; }
.sum-hero { display: flex; align-items: center; gap: 12px; background: var(--blush); border-radius: 16px; padding: 12px; }
.sum-hero img, .sum-hero .ph { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; flex-shrink: 0; background: repeating-linear-gradient(45deg, #E9C6C2 0 2px, transparent 2px 8px); }
.sum-hero small { color: var(--muted-2); font-size: 14px; display: block; }
.sum-lines { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.sum-lines .sum-row span:first-child { color: var(--muted); }
.sum-qty { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line-soft); padding-top: 14px; }
.sum-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.sum-actions .btn { font-size: 15px; padding: 0 12px; }
.mobile-bar, .stepper, .step-nav { display: none; }
.sheet-close { display: none; }

@media (max-width: 960px) {
  .builder { padding-bottom: 110px; }
  .stepper { display: flex; gap: 6px; position: sticky; top: var(--header-h); z-index: 30; background: var(--cream); padding: 10px 0 12px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; border-bottom: 1px solid var(--line-soft); }
  .stepper button { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; min-height: 52px; border: none; background: none; color: var(--muted); font-size: 12px; padding: 0; }
  .stepper .dot { width: 28px; height: 28px; border-radius: 999px; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; background: var(--white); border: 1px solid var(--sand); }
  .stepper button[aria-current="step"] { color: var(--ink); font-weight: 700; }
  .stepper button[aria-current="step"] .dot { background: var(--rose); color: var(--white); border-color: var(--rose); }
  .stepper button.done .dot { background: #E9C6C2; color: #6B2F28; border-color: #E9C6C2; }
  .bstep { display: none; border: none; background: none; padding: 8px 0 0; }
  .bstep.active { display: flex; }
  .bstep-head .n { display: none; }
  .step-nav { display: flex; gap: 10px; padding-top: 6px; }
  .step-nav .btn-dark { flex: 1; }
  .opt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .size-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .summary { position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 70; border-radius: 24px 24px 0 0; max-height: 85vh; overflow-y: auto; transform: translateY(105%); transition: transform .25s ease; box-shadow: 0 -8px 24px rgba(67, 52, 46, 0.18); border: none; padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
  .summary.open { transform: none; }
  .sheet-close { display: inline-flex; position: absolute; top: 12px; right: 12px; }
  .sheet-backdrop { position: fixed; inset: 0; background: rgba(67, 52, 46, 0.35); z-index: 65; }
  .sheet-backdrop[hidden] { display: none; }
  .mobile-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--ink); color: var(--white); padding: 10px 12px calc(10px + env(safe-area-inset-bottom)) 18px; align-items: center; justify-content: space-between; gap: 10px; }
  .mobile-bar .total-btn { flex: 1; min-height: 52px; border: none; background: none; color: var(--white); text-align: left; display: flex; flex-direction: column; justify-content: center; padding: 0; }
  .mobile-bar small { font-size: 12px; color: #D8C9BC; }
  .mobile-bar strong { font-family: var(--display); font-size: 30px; line-height: 1; }
  .mobile-bar .btn { background: var(--white); color: var(--ink); font-weight: 700; }
}
@media (max-width: 640px) {
  .hero { padding-top: 28px; gap: 28px; }
  .hero-lead { font-size: 15px; }
  .btn-row .btn { flex: 1 1 100%; }
  .hero-collage { padding: 14px; gap: 10px; border-radius: 24px; }
  .feature { padding: 18px; }
  .story { padding: 40px 0; }
  .story-copy p { font-size: 15px; line-height: 1.9; }
  .story-stamp { right: 8px; }
  .how { padding: 40px 0; }
  .how-steps { grid-template-columns: 1fr; }
  .how-steps li { flex-direction: row; align-items: center; flex-wrap: wrap; column-gap: 12px; padding: 16px; }
  .how-steps .muted { flex-basis: 100%; }
  .h-scroll-mobile { display: flex; overflow-x: auto; gap: 12px; margin: 0 -16px; padding: 0 16px 8px; }
  .h-scroll-mobile > * { flex: 0 0 62%; }
  .fab-band { padding: 40px 0; }
  .fab-band-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .fab-band-grid span { display: none; }
  .gallery-grid { grid-template-columns: 1fr; gap: 16px; }
  .specs > div { grid-template-columns: 6em 1fr; }
  .news-item { padding: 16px; gap: 14px; }
  .news-item img { width: 100%; height: 180px; flex-basis: 100%; }
  .promo-banner, .cta-band { padding: 22px; border-radius: 22px; }
  .stock-head .chips { flex: 1 1 100%; margin: 0 -16px; padding: 0 16px; }
  .combo-preview { flex: 1 1 100%; height: 160px; }
  .strip-filters .select-wrap { flex: 1 1 40%; }
  .strip-filters .search-sm { flex: 1 1 100%; }
  .dims { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 12px; }
}

/* 自訂尺寸圖例、布料備註、配件相片卡、來圖規格 */
.dims-box { display: flex; flex-direction: column; gap: 12px; background: var(--cream); border-radius: 16px; padding: 16px; }
.dims-box .dims { background: var(--white); }
.dims-diagram { width: 100%; max-width: 300px; height: auto; align-self: center; }
.fab-notes { display: flex; flex-direction: column; gap: 16px; border-top: 1px dashed var(--sand); padding-top: 18px; }
.fab-notes .opt-sub { margin: 0; }
#lining-code-box { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }
.btn-sm { min-height: 40px; padding: 0 14px; font-size: 14px; gap: 6px; }
.acc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.acc-card { position: relative; display: flex; flex-direction: column; text-align: left; padding: 0; border-radius: 16px; overflow: hidden; background: var(--white); border: 2px solid var(--line-soft); color: var(--ink); }
.acc-card[aria-checked="true"], .acc-card[aria-pressed="true"] { border-color: var(--rose); background: var(--blush); }
.acc-img { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; background: var(--oat); color: var(--muted); }
.acc-img img { width: 100%; height: 100%; object-fit: cover; }
.acc-txt { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px 12px; font-size: 14px; }
.acc-txt strong { font-weight: 500; font-size: 15px; }
.acc-card .price-note { color: var(--muted); font-size: 13px; }
.acc-card .card-check { position: absolute; top: 8px; right: 8px; }
.acc-card[aria-checked="true"]::after { content: ''; position: absolute; top: 8px; right: 8px; width: 22px; height: 22px; border-radius: 50%; background: var(--rose) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 14px no-repeat; }
.acc-card[aria-pressed="true"] .card-check { background: var(--rose); border-color: var(--rose); }
.spec-hint { background: var(--oat); border-radius: 16px; padding: 14px 18px; font-size: 14px; }
.spec-hint ul { margin: 6px 0 0; padding-left: 1.2em; line-height: 1.8; color: var(--muted-2); }
@media (max-width: 600px) { .acc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
