/* KYUYUU 前台樣式（由示範站移植）。 */
:root {
  color-scheme: light;
  --court: #1b4aa5;
  --court-deep: #0d2254;
  --court-night: #081638;
  --ball: #d9f03a;
  --ball-deep: #a8c312;
  --clay: #e2603a;
  --line: #f6f8f2;
  --ink: #0f1b3d;
  --muted: #55607a;
  --bg: #ffffff;
  --bg-soft: #f1f4f9;
  --rule: #d9dfea;
  --ok: #1d7a4d;
  --err: #b3261e;
  --f-display: "Barlow Condensed", "Noto Sans TC", "Noto Sans JP", "PingFang TC", "Hiragino Sans", "Microsoft JhengHei", sans-serif;
  --f-body: "Barlow", "Noto Sans TC", "Noto Sans JP", "PingFang TC", "Hiragino Sans", "Microsoft JhengHei", system-ui, sans-serif;
  --wrap: 1200px;
  --gut: 20px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f-body); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--ball-deep); outline-offset: 2px; border-radius: 2px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin-inline: auto; padding-inline: var(--gut); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ── top bar ── */
.topbar { background: var(--court-night); color: #c9d3ea; font-size: 13.5px; }
.topbar .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 20px; padding-block: 7px; }
.topbar-info { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.topbar-info span { white-space: nowrap; }
.langs { display: flex; flex-wrap: wrap; gap: 2px; }
.langs a { background: none; border: 0; color: #c9d3ea; padding: 3px 9px; border-radius: 3px; font-size: 13.5px; }
.langs a:hover { color: #fff; }
.langs a[aria-current="true"] { background: var(--ball); color: var(--court-night); font-weight: 600; }

/* ── header ── */
.header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: var(--bg); border-bottom: 1px solid var(--rule); }
.header .wrap { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; min-width: 0; }
.brand { gap: 14px; }
.brand-logo { height: 44px; width: auto; flex: none; }
.brand-rule { flex: none; width: 1px; height: 38px; background: var(--rule); }
.brand-text { display: flex; flex-direction: column; gap: 4px; line-height: 1.1; min-width: 0; }
.brand-name { font-family: var(--f-display); font-weight: 700; font-size: 19px; letter-spacing: .03em; text-transform: uppercase; color: var(--court-night); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-text.is-cjk .brand-name { font-family: var(--f-body); font-size: 18px; letter-spacing: .08em; text-transform: none; }
.brand-tag { display: flex; align-items: center; gap: 7px; font-family: var(--f-display); font-weight: 600; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--court); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-tag::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--ball); box-shadow: inset 0 0 0 1.5px var(--ball-deep); }
@media (max-width: 1180px) { .brand-name { font-size: 16px; } .brand-text.is-cjk .brand-name { font-size: 16px; } .brand-tag { font-size: 11px; letter-spacing: .12em; } }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { position: relative; display: block; padding: 10px 14px; text-decoration: none; font-weight: 500; font-size: 16px; color: var(--ink); white-space: nowrap; }
.nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 3px; background: var(--ball-deep); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--court); }
.tools { display: flex; align-items: center; gap: 6px; }
.icon-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; min-width: 42px; padding: 0 10px; background: none; border: 1px solid transparent; border-radius: 4px; color: var(--ink); text-decoration: none; }
.icon-btn:hover { background: var(--bg-soft); }
.icon-btn svg { width: 22px; height: 22px; flex: none; }
.cart-btn { border-color: var(--court-deep); padding: 0 14px; font-weight: 600; font-size: 15px; }
.cart-btn:hover { background: var(--court-deep); color: #fff; }
.cart-count { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--ball); color: var(--court-night); font-family: var(--f-display); font-weight: 700; font-size: 15px; font-variant-numeric: tabular-nums; }
.burger { display: none; }
.searchbar { border-top: 1px solid var(--rule); background: var(--bg-soft); }
.searchbar form { display: flex; gap: 8px; padding-block: 12px; }
.searchbar input { flex: 1; min-width: 0; }

/* ── buttons + fields ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 22px; border: 2px solid transparent; border-radius: 4px; font-weight: 600; font-size: 16px; line-height: 1.2; text-decoration: none; text-align: center; transition: background .15s, color .15s, border-color .15s; }
.btn-ball { background: var(--ball); color: var(--court-night); }
.btn-ball:hover { background: var(--ball-deep); }
.btn-court { background: var(--court); color: #fff; }
.btn-court:hover { background: var(--court-deep); }
.btn-ghost { background: transparent; border-color: var(--court-deep); color: var(--court-deep); }
.btn-ghost:hover { background: var(--court-deep); color: #fff; }
.btn-line { background: transparent; border-color: rgba(255,255,255,.7); color: #fff; }
.btn-line:hover { background: #fff; color: var(--court-deep); }
.btn-sm { min-height: 40px; padding: 7px 14px; font-size: 14.5px; }
.btn[disabled] { opacity: .55; cursor: default; }
.btn.is-in { background: var(--bg-soft); color: var(--ok); border-color: var(--rule); }
.arrow::after { content: "→"; font-family: var(--f-body); }
input[type="text"], input[type="email"], input[type="tel"], input[type="search"], input[type="number"], textarea, select { width: 100%; min-height: 46px; padding: 10px 12px; background: #fff; border: 1px solid #b9c2d3; border-radius: 4px; }
textarea { min-height: 120px; resize: vertical; }
input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid var(--ball-deep); outline-offset: 0; border-color: var(--court); }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-weight: 600; font-size: 14.5px; }
.field .req { color: var(--err); font-weight: 500; font-size: 13px; margin-left: 4px; }
.field .err { color: var(--err); font-size: 13.5px; }
.field.bad input, .field.bad textarea { border-color: var(--err); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
.form-grid .full { grid-column: 1 / -1; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; }
.check input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--court); }

/* ── hero carousel ── */
.hero { position: relative; background: var(--court-night); color: #fff; overflow: hidden; }
.hero-track { position: relative; height: clamp(400px, 39.6vw, 620px); }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility 0s .7s; }
.slide.on { opacity: 1; visibility: visible; transition: opacity .7s ease; }
.slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(8,22,56,.9) 0%, rgba(8,22,56,.72) 30%, rgba(8,22,56,.2) 56%, rgba(8,22,56,0) 72%); }
.slide .wrap { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 16px; padding-bottom: 36px; }
.kicker { font-family: var(--f-display); font-weight: 600; font-size: 17px; letter-spacing: .16em; text-transform: uppercase; color: var(--ball); }
.slide h2 { font-family: var(--f-display); font-weight: 700; font-size: clamp(34px, 4.6vw, 64px); line-height: 1.04; max-width: 13em; text-wrap: balance; }
:root:lang(en) .slide h2, :root:lang(es) .slide h2 { font-style: italic; text-transform: uppercase; letter-spacing: .005em; }
:root:lang(zh-Hant) .slide h2, :root:lang(ja) .slide h2 { font-size: clamp(30px, 3.9vw, 54px); line-height: 1.2; letter-spacing: .02em; }
.slide p { max-width: 30em; font-size: clamp(16px, 1.35vw, 19px); color: #e4e9f5; }
.hero-ui { position: absolute; z-index: 3; left: 0; right: 0; bottom: 18px; }
.hero-ui .wrap { display: flex; align-items: center; gap: 14px; }
.dots { display: flex; gap: 8px; }
.dots button { width: 34px; height: 6px; padding: 0; border: 0; border-radius: 0; background: rgba(255,255,255,.4); }
.dots button[aria-current="true"] { background: var(--ball); }
.hero-arrows { display: flex; gap: 6px; margin-left: auto; }
.hero-arrows button { width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.6); background: rgba(8,22,56,.35); color: #fff; border-radius: 4px; font-size: 18px; line-height: 1; }
.hero-arrows button:hover { background: #fff; color: var(--court-deep); }

/* ── sections ── */
.sec { padding-block: clamp(48px, 6vw, 84px); }
.sec-soft { background: var(--bg-soft); }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-bottom: 30px; }
.sec-head > div { min-width: 0; max-width: 46em; }
.eyebrow { display: flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 600; font-size: 15px; letter-spacing: .18em; text-transform: uppercase; color: var(--court); margin-bottom: 6px; }
.eyebrow::before { content: ""; width: 34px; height: 4px; background: var(--ball-deep); }
.sec-title { font-family: var(--f-display); font-weight: 700; font-size: clamp(28px, 3.2vw, 42px); line-height: 1.15; color: var(--court-deep); text-wrap: balance; }
:root:lang(en) .sec-title, :root:lang(es) .sec-title { text-transform: uppercase; font-style: italic; }
.sec-lead { color: var(--muted); margin-top: 8px; }

/* company strip */
.intro { background: var(--court-deep); color: #fff; }
.intro .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px 56px; align-items: center; padding-block: 40px; }
.intro h1 { font-family: var(--f-display); font-weight: 700; font-size: clamp(24px, 2.5vw, 34px); line-height: 1.2; text-wrap: balance; }
.intro .alt { color: #b9c6e6; font-size: 14.5px; margin-top: 4px; }
.intro p.lead { color: #dbe2f3; margin-top: 12px; max-width: 40em; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-left: 2px solid var(--line); }
.stat { padding: 4px 18px; border-right: 2px solid var(--line); }
.stat b { display: block; font-family: var(--f-display); font-style: italic; font-weight: 700; font-size: clamp(40px, 4.4vw, 60px); line-height: 1; color: var(--ball); font-variant-numeric: tabular-nums; }
.stat span { display: block; font-size: 14px; color: #dbe2f3; margin-top: 6px; line-height: 1.35; }

/* category tiles */
.cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.cat { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--rule); border-radius: 6px; overflow: hidden; text-decoration: none; transition: border-color .15s, transform .15s; }
.cat:hover { border-color: var(--court); transform: translateY(-3px); }
.cat-img { aspect-ratio: 4 / 3; background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.cat-img img { width: 100%; height: 100%; object-fit: contain; }
.cat-body { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px; padding: 12px 16px 14px; border-top: 3px solid var(--court); }
.cat-name { font-weight: 600; font-size: 17px; }
.cat-n { color: var(--muted); font-size: 13.5px; white-space: nowrap; }
.cat-wide { grid-column: span 2; flex-direction: row; background: var(--court); border-color: var(--court); color: #fff; }
.cat-wide .cat-img { flex: 0 0 46%; aspect-ratio: auto; min-height: 100%; }
.cat-wide .cat-body { flex: 1; flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px; border-top: 0; padding: 22px 24px; min-width: 0; }
.cat-wide .cat-name { font-family: var(--f-display); font-weight: 700; font-size: clamp(28px, 2.8vw, 38px); line-height: 1.1; }
:root:lang(en) .cat-wide .cat-name, :root:lang(es) .cat-wide .cat-name { text-transform: uppercase; font-style: italic; }
.cat-wide .cat-n { color: var(--ball); font-size: 14.5px; }
.cat-wide p { color: #dbe2f3; font-size: 15px; }

/* product cards */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 16px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--rule); border-radius: 6px; overflow: hidden; min-width: 0; }
.card-img { display: block; aspect-ratio: 1; background: #fff; border-bottom: 1px solid var(--rule); }
.card-img img { width: 100%; height: 100%; object-fit: contain; transition: transform .25s; }
.card:hover .card-img img { transform: scale(1.04); }
.badges { position: absolute; top: 10px; right: 10px; display: flex; gap: 4px; z-index: 1; }
.badge { padding: 2px 8px; border-radius: 2px; font-family: var(--f-display); font-weight: 600; font-size: 13.5px; letter-spacing: .08em; text-transform: uppercase; line-height: 1.5; }
.badge-hot { background: var(--clay); color: #fff; }
.badge-new { background: var(--court-deep); color: var(--ball); }
.badge-cert { background: var(--bg-soft); color: var(--court-deep); border: 1px solid var(--rule); }
.card-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 14px 16px; flex: 1; }
.card-cat { font-size: 12.5px; letter-spacing: .06em; color: var(--court); font-weight: 600; text-transform: uppercase; }
.card-name { font-weight: 600; font-size: 16.5px; line-height: 1.35; text-decoration: none; color: var(--ink); }
.card-name:hover { color: var(--court); text-decoration: underline; }
.card-spec { color: var(--muted); font-size: 13.5px; line-height: 1.45; }
.card-actions { margin-top: auto; padding-top: 10px; }
.card-actions .btn { width: 100%; }

/* why block */
.why { position: relative; background: var(--court); color: #fff; overflow: hidden; }
.why::before, .why::after { content: ""; position: absolute; background: var(--line); opacity: .22; }
.why::before { left: 0; right: 0; top: 50%; height: 6px; }
.why::after { top: 0; bottom: 0; left: 62%; width: 6px; }
.why .wrap { position: relative; z-index: 1; }
.why .eyebrow { color: var(--ball); }
.why .eyebrow::before { background: var(--ball); }
.why .sec-title { color: #fff; }
.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.why-item { background: var(--court-deep); border-top: 4px solid var(--ball); padding: 24px 22px 26px; }
.why-item h3 { font-size: 20px; line-height: 1.3; margin-bottom: 8px; }
.why-item p { color: #dbe2f3; font-size: 15.5px; }

/* news */
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ncard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--rule); border-radius: 6px; overflow: hidden; text-decoration: none; min-width: 0; transition: border-color .15s; }
.ncard:hover { border-color: var(--court); }
.ncard-img { aspect-ratio: 16 / 9; background: #fff; border-bottom: 1px solid var(--rule); overflow: hidden; }
.ncard-img img { width: 100%; height: 100%; object-fit: contain; }
.ncard-body { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 20px; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 13.5px; color: var(--muted); }
.meta time { font-variant-numeric: tabular-nums; }
.tag { padding: 1px 8px; border: 1px solid var(--court); color: var(--court); border-radius: 2px; font-size: 12.5px; font-weight: 600; }
.ncard h3 { font-size: 18px; line-height: 1.4; text-wrap: balance; }
.ncard p { color: var(--muted); font-size: 15px; }

/* CTA band */
.cta { background: var(--ball); color: var(--court-night); }
.cta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; padding-block: 40px; }
.cta h2 { font-family: var(--f-display); font-weight: 700; font-size: clamp(26px, 3vw, 38px); line-height: 1.15; text-wrap: balance; }
:root:lang(en) .cta h2, :root:lang(es) .cta h2 { text-transform: uppercase; font-style: italic; }
.cta p { margin-top: 4px; }
.cta > .wrap > div { min-width: 0; max-width: 44em; }

/* ── inner pages ── */
.page-banner { position: relative; background: var(--court-night); color: #fff; overflow: hidden; }
.page-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-banner::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(8,22,56,.92) 0%, rgba(8,22,56,.7) 45%, rgba(8,22,56,.15) 80%); }
.page-banner .wrap { position: relative; z-index: 2; padding-block: 44px 40px; }
.page-banner h1 { font-family: var(--f-display); font-weight: 700; font-size: clamp(32px, 4vw, 52px); line-height: 1.1; }
:root:lang(en) .page-banner h1, :root:lang(es) .page-banner h1 { text-transform: uppercase; font-style: italic; }
.crumbs { display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: 14px; color: #c9d3ea; margin-bottom: 10px; }
.crumbs a { color: #c9d3ea; text-decoration: none; }
.crumbs a:hover { color: var(--ball); text-decoration: underline; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .6; }
.crumbs [aria-current] { color: #fff; }
.split { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 40px; align-items: start; }
.side { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 92px); display: flex; flex-direction: column; gap: 16px; }
.side h2 { font-family: var(--f-display); font-weight: 700; font-size: 20px; letter-spacing: .08em; text-transform: uppercase; color: var(--court-deep); padding-bottom: 8px; border-bottom: 3px solid var(--court); }
.side-nav a { display: flex; justify-content: space-between; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--rule); text-decoration: none; font-size: 15.5px; }
.side-nav a:hover { background: var(--bg-soft); }
.side-nav a[aria-current="page"] { background: var(--court-deep); color: #fff; font-weight: 600; }
.side-nav a span { color: var(--muted); font-variant-numeric: tabular-nums; }
.side-nav a[aria-current="page"] span { color: var(--ball); }
.prose { max-width: 46em; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-family: var(--f-display); font-weight: 700; font-size: clamp(26px, 2.8vw, 36px); line-height: 1.2; color: var(--court-deep); }
.prose .lead { font-size: 19px; color: var(--court); font-weight: 500; }
.facts { width: 100%; border-collapse: collapse; margin-top: 28px; font-size: 15.5px; }
.facts caption { text-align: left; font-family: var(--f-display); font-weight: 700; font-size: 20px; letter-spacing: .06em; text-transform: uppercase; color: var(--court-deep); padding-bottom: 8px; border-bottom: 3px solid var(--court); }
.facts th, .facts td { text-align: left; vertical-align: top; padding: 11px 12px; border-bottom: 1px solid var(--rule); }
.facts th { width: 11.5em; font-weight: 600; color: var(--court-deep); background: var(--bg-soft); }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.tile { display: flex; flex-direction: column; gap: 6px; background: var(--bg-soft); border-left: 4px solid var(--court); padding: 18px 20px; text-decoration: none; min-width: 0; }
a.tile:hover { background: #e6ecf6; }
.tile h3 { font-size: 18px; color: var(--court-deep); }
.tile p { color: var(--muted); font-size: 15px; }
.tile .more { color: var(--court); font-weight: 600; font-size: 14.5px; margin-top: 4px; }

/* products page */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-bottom: 20px; }
.toolbar form { display: flex; gap: 8px; flex: 1 1 320px; max-width: 520px; min-width: 0; }
.toolbar form input { flex: 1; min-width: 0; }
.count { color: var(--muted); font-size: 14.5px; }
.empty { background: var(--bg-soft); border: 1px dashed #b9c2d3; border-radius: 6px; padding: 32px 24px; text-align: center; }
.empty p { max-width: 36em; margin-inline: auto; color: var(--muted); }
.empty .btn { margin-top: 16px; }

/* product detail */
.pd { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 44px; align-items: start; }
.pd-img { border: 1px solid var(--rule); border-radius: 6px; overflow: hidden; background: #fff; aspect-ratio: 1; }
.pd-img img { width: 100%; height: 100%; object-fit: contain; }
.pd-info { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.pd-info h2 { font-size: clamp(26px, 2.8vw, 36px); line-height: 1.2; color: var(--court-deep); text-wrap: balance; }
.pd-tag { font-size: 18px; color: var(--court); font-weight: 500; }
.pd-row { display: flex; flex-wrap: wrap; gap: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { background: var(--bg-soft); border: 1px solid var(--rule); border-radius: 3px; padding: 4px 10px; font-size: 14px; }
.chip b { color: var(--court-deep); font-weight: 600; margin-right: 6px; }
.buy { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; padding: 18px; background: var(--bg-soft); border-radius: 6px; margin-top: 4px; }
.buy .field { flex: 0 0 110px; }
.buy .btn { flex: 1 1 200px; }
.note { font-size: 13px; color: var(--muted); }
.tabs { margin-top: 44px; }
.tablist { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 3px solid var(--court-deep); }
.tablist button { background: var(--bg-soft); border: 0; padding: 12px 22px; font-weight: 600; font-size: 16px; color: var(--muted); border-radius: 4px 4px 0 0; }
.tablist button[aria-selected="true"] { background: var(--court-deep); color: #fff; }
.tabpanel { padding: 24px 2px 4px; max-width: 52em; }
.ticks li { position: relative; padding: 7px 0 7px 30px; border-bottom: 1px solid var(--rule); }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 15px; width: 12px; height: 12px; border-radius: 50%; background: var(--ball); border: 2px solid var(--court-deep); }
.spec { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.spec th, .spec td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.spec th { width: 13em; background: var(--bg-soft); color: var(--court-deep); font-weight: 600; }
.spec td { font-variant-numeric: tabular-nums; }

/* article */
.article { max-width: 46em; }
.article h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.25; color: var(--court-deep); text-wrap: balance; margin-top: 10px; }
.article-img { margin-top: 22px; border: 1px solid var(--rule); border-radius: 6px; overflow: hidden; aspect-ratio: 16 / 9; background: #fff; }
.article-img img { width: 100%; height: 100%; object-fit: contain; }
.article-body { margin-top: 22px; }
.article-body p + p { margin-top: 1em; }
.pager { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--rule); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filters a { background: #fff; border: 1px solid #b9c2d3; border-radius: 20px; padding: 7px 16px; font-size: 15px; }
.filters a[aria-current="page"] { background: var(--court-deep); border-color: var(--court-deep); color: #fff; font-weight: 600; }

/* inquiry cart */
.cart-wrap { position: relative; overflow-x: auto; border: 1px solid var(--rule); border-radius: 6px; }
.cart { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 15px; }
.cart th { text-align: left; padding: 11px 12px; background: var(--court-deep); color: #fff; font-weight: 600; font-size: 14px; white-space: nowrap; }
.cart td { padding: 12px; border-top: 1px solid var(--rule); vertical-align: middle; }
.cart .thumb { width: 72px; height: 72px; border: 1px solid var(--rule); border-radius: 4px; object-fit: contain; background: #fff; }
.cart .pname { font-weight: 600; text-decoration: none; }
.cart .pname:hover { color: var(--court); text-decoration: underline; }
.cart .pmodel { color: var(--muted); font-size: 13.5px; font-variant-numeric: tabular-nums; }
.stepper { display: inline-flex; align-items: stretch; border: 1px solid #b9c2d3; border-radius: 4px; overflow: hidden; }
.stepper button { width: 34px; border: 0; background: var(--bg-soft); font-size: 18px; line-height: 1; }
.stepper button:hover { background: #dfe6f2; }
.stepper input { width: 70px; min-height: 40px; border: 0; border-inline: 1px solid #b9c2d3; border-radius: 0; text-align: center; padding: 4px; font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cart .note-in { min-height: 40px; min-width: 180px; }
.link-btn { background: none; border: 0; padding: 6px 4px; color: var(--err); text-decoration: underline; font-size: 14.5px; }
.panel { margin-top: 32px; padding: 26px; background: var(--bg-soft); border-radius: 6px; }
.panel h3 { font-family: var(--f-display); font-weight: 700; font-size: 22px; letter-spacing: .05em; text-transform: uppercase; color: var(--court-deep); margin-bottom: 16px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 18px; }
.done { border: 2px solid var(--ok); border-radius: 6px; padding: 28px; background: #f2faf5; }
.done h2 { color: var(--ok); font-size: 26px; line-height: 1.25; }
.done > p { margin-top: 8px; max-width: 46em; }
.done table { margin-top: 18px; }
.done .btn { margin-top: 20px; }

/* contact */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 40px; align-items: start; }
.info-list { border-top: 3px solid var(--court); }
.info-list div { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 10px; padding: 13px 4px; border-bottom: 1px solid var(--rule); }
.info-list dt { font-weight: 600; color: var(--court-deep); }
.info-list dd { margin: 0; user-select: all; overflow-wrap: anywhere; }
.map { position: relative; margin-top: 20px; border: 1px solid var(--rule); border-radius: 6px; overflow: hidden; background: #e8eef7; }
.map svg, .map > img { display: block; width: 100%; height: auto; }
.map-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 10px 14px; background: #fff; border-top: 1px solid var(--rule); font-size: 14.5px; }
.map-foot a { color: var(--court); font-weight: 600; }

/* footer */
.footer { background: var(--court-night); color: #c9d3ea; font-size: 15px; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px; padding-block: 52px 40px; }
.footer h2 { font-family: var(--f-display); font-weight: 600; font-size: 17px; letter-spacing: .14em; text-transform: uppercase; color: var(--ball); margin-bottom: 12px; }
.footer .f-logo { height: 56px; width: auto; filter: brightness(0) invert(1); }
.footer .f-name { color: #fff; margin-top: 6px; }
.footer p { margin-top: 8px; }
.footer li { padding: 3px 0; overflow-wrap: anywhere; }
.footer a { color: #c9d3ea; text-decoration: none; }
.footer a:hover { color: var(--ball); text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(246,248,242,.2); }
.footer-bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding-block: 16px; font-size: 13.5px; }

/* cookie + toast */
.cookie { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; background: #fff; border-top: 3px solid var(--court); box-shadow: 0 -6px 24px rgba(8,22,56,.16); padding-bottom: env(safe-area-inset-bottom, 0px); }
.cookie .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding-block: 14px; }
.cookie p { flex: 1 1 320px; font-size: 14.5px; min-width: 0; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.toast { position: fixed; z-index: 70; left: 50%; bottom: calc(env(safe-area-inset-bottom, 0px) + 96px); transform: translateX(-50%); display: flex; align-items: center; gap: 14px; max-width: calc(100vw - 32px); background: var(--court-night); color: #fff; padding: 12px 16px 12px 18px; border-radius: 6px; border-left: 5px solid var(--ball); box-shadow: 0 8px 28px rgba(8,22,56,.3); font-size: 15px; }
.toast a { color: var(--ball); font-weight: 600; white-space: nowrap; }

/* ── responsive ── */
@media (max-width: 1080px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav a { padding: 10px 10px; font-size: 15.5px; }
  .nav a::after { left: 10px; right: 10px; }
  .cart-btn .cart-label { display: none; }
}
@media (max-width: 900px) {
  .burger { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 3px solid var(--court); padding: 6px var(--gut) 14px; box-shadow: 0 12px 24px rgba(8,22,56,.14); }
  .nav.open { display: flex; }
  .nav a { padding: 13px 4px; border-bottom: 1px solid var(--rule); font-size: 17px; }
  .nav a::after { display: none; }
  .intro .wrap, .pd, .contact { grid-template-columns: minmax(0, 1fr); }
  .split { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .side { position: static; }
  .side-nav { display: flex; flex-wrap: wrap; gap: 6px; }
  .side-nav a { border: 1px solid var(--rule); border-radius: 20px; padding: 7px 14px; }
  .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-grid, .news-grid { grid-template-columns: minmax(0, 1fr); }
  .grid, .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .slide img { height: 46%; }
  .slide::before { background: linear-gradient(0deg, rgba(8,22,56,1) 0%, rgba(8,22,56,1) 54%, rgba(8,22,56,0) 72%); }
  .slide .wrap { justify-content: flex-end; padding-bottom: 76px; gap: 12px; }
  .hero-track { height: 600px; }
  .why::after { left: 82%; }
}
@media (max-width: 560px) {
  :root { --gut: 16px; }
  .topbar-info span.hide-s { display: none; }
  .brand { gap: 10px; }
  .brand-logo { height: 34px; }
  .brand-rule, .brand-tag { display: none; }
  .brand-text.is-cjk .brand-name { font-size: 13px; letter-spacing: 0; }
  .brand-text:not(.is-cjk) { display: none; }
  .tools { gap: 2px; }
  .icon-btn { min-width: 38px; padding: 0 6px; }
  .header .wrap { gap: 8px; min-height: 62px; }
  .cart-btn { padding: 0 8px; }
  .tablist button { flex: 1 1 auto; }
  .form-grid, .tiles { grid-template-columns: minmax(0, 1fr); }
  .footer-top { grid-template-columns: minmax(0, 1fr); gap: 26px; padding-block: 40px 30px; }
  .cat-wide { flex-direction: column; }
  .cat-wide .cat-img { flex: none; aspect-ratio: 16 / 9; }
  .stat { padding: 4px 10px; }
  .facts th, .spec th { width: 7.5em; }
  .card-body { padding: 12px 10px 12px; }
  .card-name { font-size: 15.5px; }
  .grid { gap: 14px 10px; }
  .tablist button { padding: 10px 14px; font-size: 15px; }
  .panel { padding: 20px 16px; }
  .info-list div { grid-template-columns: 5.5em minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slide, .slide.on, .cat, .card-img img, .nav a::after { transition: none; }
}

/* ── Laravel 版新增 ── */
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ball); color: var(--court-night); padding: 8px 14px; border-radius: 4px; font-weight: 600; }
.skip:focus { top: 12px; }
.langs a { text-decoration: none; }
.topbar a { color: inherit; text-decoration: none; }
.filters a { text-decoration: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.add-form { display: contents; }
.card-actions .add-form .btn { width: 100%; }
.slide.txt-center .wrap { text-align: center; align-items: center; }
.slide.txt-right .wrap { text-align: right; align-items: flex-end; }
.intro-block { margin-bottom: 28px; max-width: none; }
.rich > * + * { margin-top: 14px; }
.rich ul { list-style: none; padding: 0; }
.rich ul li { position: relative; padding-left: 26px; margin: 8px 0; }
.rich ul li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 10px; height: 10px; border-radius: 50%; background: var(--ball); box-shadow: inset 0 0 0 2px var(--ball-deep); }
.rich ol { list-style: decimal; padding-left: 24px; }
.rich h2 { font-size: 24px; } .rich h3 { font-size: 20px; }
.rich img { height: auto; border-radius: 6px; }
.rich a { color: var(--court); }
.rich table { border-collapse: collapse; width: 100%; }
.rich table th, .rich table td { border-bottom: 1px solid var(--rule); padding: 10px 12px; text-align: left; vertical-align: top; }
.rich table th { background: var(--bg-soft); width: 34%; font-weight: 600; }
.prose-img { width: 100%; border-radius: 8px; }
.pd-summary { color: var(--muted); margin: 14px 0 4px; }
.pd-gallery .thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.pd-gallery .thumbs button { padding: 0; border: 2px solid var(--rule); border-radius: 6px; background: #fff; width: 72px; height: 72px; overflow: hidden; }
.pd-gallery .thumbs button[aria-pressed="true"] { border-color: var(--court); }
.pd-gallery .thumbs img { width: 100%; height: 100%; object-fit: cover; }
.files li { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.files a { color: var(--court); font-weight: 600; }
.side-nav a.sub { padding-left: 30px; font-size: 15px; }
.spec-filter { border: 1px solid var(--rule); border-radius: 8px; padding: 18px 20px; margin-bottom: 22px; background: var(--bg-soft); }
.spec-filter h2 { font-family: var(--f-display); font-size: 20px; margin-bottom: 12px; }
.spec-filter-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px 18px; }
.spec-filter fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.spec-filter legend { font-weight: 600; font-size: 14.5px; margin-bottom: 6px; padding: 0; }
.spec-filter select, .spec-filter input[type="text"] { width: 100%; }
.spec-filter .range { display: flex; align-items: center; gap: 6px; }
.spec-filter .range input { width: 100%; min-width: 0; }
.spec-filter .check { margin: 4px 0; }
.spec-filter-actions { display: flex; gap: 10px; margin-top: 14px; }
.ptable td { vertical-align: middle; }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 32px; }
.pagination .pg { min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--rule); border-radius: 6px; text-decoration: none; padding: 0 10px; }
.pagination a.pg:hover { border-color: var(--court); color: var(--court); }
.pagination .pg.on { background: var(--court-deep); border-color: var(--court-deep); color: #fff; font-weight: 600; }
.pagination .pg.off { color: #a6aec0; }
.map-embed iframe { display: block; width: 100%; min-height: 300px; border: 0; }
.field input[type="file"] { padding: 8px; border: 1px dashed #b9c2d3; border-radius: 4px; background: #fff; width: 100%; }
@media (max-width: 560px) { .spec-filter-grid { grid-template-columns: 1fr; } }

.cart-label { white-space: nowrap; }
