:root {
  color-scheme: light;
  --ink: #193541;
  --muted: #586a72;
  --paper: #f7f8f7;
  --line: #dbe3e3;
  --accent: #1f5763;
  --radius: 16px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; font-size: 16px; line-height: 1.65; }
body.dialog-open { overflow: hidden; }
html { scroll-padding-top: 24px; scrollbar-gutter: stable; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-underline-offset: 4px; }
button:disabled { cursor: not-allowed; opacity: .45; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid #b77224; outline-offset: 4px; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.25; text-wrap: balance; }
h2 [lang="zh-CN"], h3 [lang="zh-CN"] { letter-spacing: .015em; }
[hidden] { display: none !important; }
.shell { width: min(1280px, calc(100% - 64px)); margin-inline: auto; }
/* Both translations share a grid cell. The longer text reserves space without clipping either language. */
.copy { display: grid; }
.copy > [data-language] { grid-area: 1 / 1; visibility: hidden; pointer-events: none; white-space: pre-line; }
.copy > .is-active { visibility: visible; pointer-events: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; top: 8px; left: 16px; z-index: 20; padding: 10px 16px; background: white; transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.site-header { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand-mark { display: grid; place-items: center; background: var(--ink); color: white; width: 42px; height: 46px; border-radius: 10px; font: 600 21px Georgia, serif; }
.brand strong { display: grid; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; }
.brand-sub { color: var(--muted); font-size: 12px; margin-top: 1px; }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 24px; }
.nav-link { text-decoration: none; font-size: 14px; font-weight: 600; }
.orders-toggle { background: transparent; color: var(--ink); padding: 8px 4px; min-height: 44px; border: 0; font-size: 14px; font-weight: 600; }
.language-switch { min-height: 44px; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 8px; background: transparent; border: 0; border-radius: 8px; white-space: nowrap; color: var(--muted); font-size: 13px; }
.language-switch [data-language-option] { padding: 2px 0; }
.language-switch .selected { font-weight: 700; color: var(--ink); border-bottom: 2px solid var(--accent); }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 12px 22px; border: 1px solid transparent; border-radius: 8px; font-size: 14px; line-height: 1.5; font-weight: 650; text-decoration: none; }
.button-primary { color: white; background: var(--ink); }
.button-primary:hover { background: #295563; }
.button-secondary { border-color: var(--line); background: white; color: var(--ink); }
.button-secondary:hover { background: #edf3f3; border-color: #a0b6bb; }
.cart-toggle { padding: 9px 15px; min-height: 44px; }
.cart-count { min-width: 22px; line-height: 22px; padding-inline: 4px; text-align: center; border-radius: 50%; background: #eaf0f0; font-size: 12px; font-variant-numeric: tabular-nums; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 506px; background: #102e3b; color: #f6f8f8; border-radius: var(--radius); overflow: hidden; }
.hero-content { padding: 48px; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.eyebrow { font-size: 11px; line-height: 1.6; letter-spacing: .12em; font-weight: 650; }
.hero .eyebrow { color: #a4c4ce; }
.hero h1 { font-size: clamp(36px, 3.8vw, 52px); font-weight: 550; letter-spacing: -.03em; line-height: 1.17; }
.hero h1 [lang="zh-CN"] { letter-spacing: .015em; }
.hero-description { color: #cfdee4; max-width: 39ch; font-size: 16px; line-height: 1.75; }
.hero-cta { background: #cce5e7; color: #143741; margin-top: 2px; }
.hero-cta:hover { background: white; }
.hero-cta-arrow { display: inline-block; flex: 0 0 1em; text-align: center; }
.hero-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; border-top: 1px solid #43616d; margin-top: auto; padding-top: 22px; width: 100%; color: #bad0d7; font-size: 11px; }
.hero-foot > :last-child { white-space: nowrap; }
.hero-visual { position: relative; min-width: 0; min-height: 100%; background: #28414a; }
.hero-visual > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 100% center; }
.hero-visual figcaption { position: absolute; bottom: 18px; left: 20px; right: 20px; color: white; font-size: 10px; background: #132e3bd9; border-radius: 5px; padding: 6px 10px; width: fit-content; max-width: calc(100% - 40px); }
.preview-note { display: flex; align-items: flex-start; gap: 10px; padding: 18px 0; font-size: 12px; color: var(--muted); border-bottom: 1px solid var(--line); }
.status-dot { width: 6px; height: 6px; flex: 0 0 6px; margin-top: 7px; background: #79979b; border-radius: 50%; }
.collection-section { padding-block: 56px; }
#collection:focus-visible, #collection-title:focus-visible { outline: 2px solid var(--accent); outline-offset: 8px; border-radius: 4px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 28px; }
.section-heading .eyebrow, .about-section .eyebrow { color: var(--accent); margin-bottom: 12px; }
h2 { font-size: clamp(26px, 2.5vw, 34px); font-weight: 600; letter-spacing: -.025em; }
.section-intro { max-width: 360px; color: var(--muted); font-size: 14px; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.product-card { min-width: 0; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 12px; background: white; overflow: hidden; }
.product-media { display: grid; place-items: center; position: relative; background: #e9e9e6; aspect-ratio: 1 / 1; overflow: hidden; }
.product-media img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.product-media.is-landscape img { object-fit: cover; object-position: 90% center; }
.product-number { position: absolute; top: 14px; left: 14px; border-radius: 4px; background: #ffffffeb; padding: 3px 8px; color: #36515b; font-size: 11px; letter-spacing: .05em; }
.card-content { padding: 24px; flex: 1; display: flex; flex-direction: column; gap: 12px; }
.category { color: var(--accent); font-size: 11px; line-height: 1.6; letter-spacing: .09em; text-transform: uppercase; }
.product-card h3 { font-size: 24px; font-weight: 600; }
.card-description { color: var(--muted); font-size: 14px; line-height: 1.75; }
.card-bottom { margin-top: auto; padding-top: 12px; display: grid; gap: 18px; }
.price-label { font-size: 11px; color: var(--muted); margin-bottom: 4px; }
.price { font-size: 22px; font-weight: 650; line-height: 1.5; font-variant-numeric: tabular-nums; }
.product-card .button { width: 100%; }
.catalog-status { padding: 24px; background: white; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 20px; color: var(--muted); }
.catalog-status .button { margin-top: 14px; }
.about-section { padding: 40px 0 56px; border-top: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 30px; }
.about-grid article { position: relative; padding-left: 36px; }
.step-number { position: absolute; left: 0; top: 3px; color: #78929a; font-size: 12px; }
.about-grid h3 { font-size: 16px; margin-bottom: 12px; }
.about-grid p { font-size: 14px; color: var(--muted); }
.site-footer { padding-block: 28px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 24px; font-size: 11px; color: var(--muted); }
.footer-brand { font-size: 12px; letter-spacing: .1em; font-weight: 700; color: var(--ink); white-space: nowrap; }
.shop-dialog { width: min(960px, calc(100% - 40px)); max-width: none; max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px); padding: 0; border: 1px solid var(--line); border-radius: 16px; background: #fff; color: var(--ink); overflow: hidden; }
.shop-dialog[open] { display: flex; flex-direction: column; }
.shop-dialog.is-cart, .shop-dialog.is-payment, .shop-dialog.is-quote { width: min(650px, calc(100% - 40px)); }
.shop-dialog::backdrop { background: #081f2bb3; }
.dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 20px; border-bottom: 1px solid var(--line); flex-shrink: 0; }
.dialog-context { color: var(--muted); font-size: 12px; }
.dialog-tools { display: flex; align-items: center; gap: 16px; }
.icon-button { display: grid; place-items: center; background: #f1f4f4; color: var(--ink); width: 44px; height: 44px; border: 0; border-radius: 8px; font-size: 24px; flex-shrink: 0; }
.dialog-body { overflow-y: auto; overscroll-behavior: contain; min-height: 0; }
.detail-layout { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1fr); }
.detail-visual { padding: 24px; background: #eff1ef; align-self: stretch; }
.detail-visual img { width: 100%; height: min(52vh, 470px); height: min(52dvh, 470px); object-fit: contain; }
.detail-visual figcaption { font-size: 11px; color: var(--muted); margin-top: 12px; }
.detail-content { padding: 28px; display: grid; gap: 18px; align-content: start; }
.detail-content h2 { font-size: 30px; }
.detail-description { color: var(--muted); font-size: 14px; line-height: 1.75; }
.spec-list { margin: 0; font-size: 13px; }
.spec-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.spec-row dt { color: var(--muted); }
.spec-row dd { margin: 0; }
.detail-purchase { border-top: 1px solid var(--line); padding-top: 18px; }
.detail-purchase .button { width: 100%; margin-top: 16px; }
.small-note { font-size: 12px; color: var(--muted); line-height: 1.65; margin-top: 12px; }
.cart-content, .payment-content { padding: 28px; }
.cart-content h2, .payment-content h2 { font-size: 26px; margin-bottom: 18px; }
.cart-list { display: grid; gap: 20px; margin-block: 24px; }
.cart-line { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.cart-line img { width: 64px; height: 80px; object-fit: contain; background: #eef0ed; border-radius: 6px; }
.cart-line h3 { font-size: 16px; margin-bottom: 6px; }
.cart-line-price { font-size: 14px; font-weight: 600; }
.quantity-actions { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-top: 12px; }
.quantity-control { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 6px; }
.quantity-control button { width: 40px; min-height: 40px; border: 0; background: transparent; color: var(--ink); font-size: 20px; }
.quantity-control output { min-width: 32px; text-align: center; font-size: 14px; font-variant-numeric: tabular-nums; }
.text-button { padding: 8px 0; min-height: 40px; border: 0; background: none; color: var(--muted); text-decoration: underline; text-underline-offset: 4px; font-size: 12px; }
.cart-total { display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: 15px; }
.cart-total strong { font-size: 24px; font-variant-numeric: tabular-nums; }
.cart-actions, .payment-actions { display: grid; gap: 12px; margin-top: 24px; }
.empty-state { color: var(--muted); padding: 12px 0 24px; }
.payment-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #e9f0ef; color: var(--accent); font-size: 24px; margin-bottom: 18px; }
.payment-content > p { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.payment-note { padding: 18px; background: #f0f5f4; border-radius: 8px; font-size: 13px; }
.operator-guide { font-size: 12px; color: var(--muted); margin-top: 24px; border-top: 1px solid var(--line); padding-top: 16px; }
.operator-guide summary { cursor: pointer; min-height: 36px; }
.operator-guide summary .copy { display: inline-grid; }
.operator-guide p { padding-top: 10px; }
.selection-preview { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.selection-preview h3 { font-size: 18px; }
.selection-preview textarea { display: block; width: 100%; min-height: 170px; resize: vertical; padding: 14px; margin-block: 16px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: #f6f8f7; font-family: inherit; font-size: 13px; line-height: 1.7; }
.selection-preview textarea:focus-visible { outline: 3px solid #b77224; outline-offset: 2px; }
.selection-preview .button { width: 100%; }
.shop-dialog[class*="is-order"] { width: min(650px, calc(100% - 40px)); }
.order-content { padding: 28px; }
.order-content > h2 { font-size: 26px; margin-bottom: 20px; }
.order-content .cart-total { flex-wrap: wrap; gap: 8px 16px; }
.order-content > h3, .order-subtitle { font-size: 16px; margin-top: 24px; }
.order-notice { padding: 16px; background: #eef4f3; border-radius: 8px; font-size: 13px; color: var(--muted); }
.order-items { margin-block: 24px; display: grid; gap: 16px; }
.order-item { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); font-size: 14px; }
.order-item h3 { font-size: 16px; }
.order-item strong { white-space: nowrap; font-variant-numeric: tabular-nums; }
.order-form { margin-top: 28px; }
.order-form fieldset { padding: 0; margin: 0; border: 0; min-width: 0; }
.order-form legend, .order-manual h3 { font-size: 16px; font-weight: 600; margin-bottom: 16px; }
.order-field { display: grid; gap: 8px; margin-bottom: 16px; font-size: 13px; }
.order-field input, .order-field select, .order-field textarea, .order-access textarea { width: 100%; min-width: 0; border: 1px solid #b9c7ca; border-radius: 7px; padding: 12px; color: var(--ink); background: white; font: inherit; font-size: 16px; }
.order-field input:focus-visible, .order-field select:focus-visible, .order-field textarea:focus-visible, .order-access textarea:focus-visible { outline: 3px solid #b77224; outline-offset: 2px; }
.address-intro { margin-bottom: 22px; }
.address-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; align-items: start; }
.address-fields .order-field { min-width: 0; margin-bottom: 8px; }
.address-wide { grid-column: 1 / -1; }
.address-field-label { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.field-requirement { flex-shrink: 0; font-size: 10px; color: var(--muted); padding-top: 2px; }
.address-hint { font-size: 11px; color: var(--muted); overflow-wrap: anywhere; }
.address-hint:empty { display: none; }
.order-field textarea { resize: vertical; min-height: 110px; }
.order-field [aria-invalid="true"] { border-color: #a34c31; }
.field-error { color: #943d24; font-size: 12px; }
.shipping-summary { margin-block: 24px; padding: 20px; border: 1px solid var(--line); border-radius: 10px; background: #f7f9f8; }
.shipping-summary h3 { font-size: 16px; }
.shipping-summary .small-note { margin-top: 12px; }
.shipping-meta { margin: 16px 0 0; font-size: 13px; }
.shipping-meta > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 14px; margin-top: 12px; }
.shipping-meta dt { color: var(--muted); }
.shipping-meta dd { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.address-review > .text-button { margin-bottom: 20px; }
.order-consent { display: flex; align-items: flex-start; gap: 12px; font-size: 13px; margin-block: 24px; }
.order-consent input { width: 20px; height: 20px; flex-shrink: 0; margin: 2px 0 0; accent-color: var(--ink); }
.order-form .button { width: 100%; }
.order-feedback { margin-top: 16px; padding: 14px; border: 1px solid #c9a984; border-radius: 8px; font-size: 13px; background: #fff8ef; color: #70441d; }
.order-number { overflow-wrap: anywhere; font-size: 15px; font-weight: 600; margin-block: 14px; font-variant-numeric: tabular-nums; }
.order-status { width: fit-content; padding: 5px 12px; border-radius: 5px; background: #f3e9d6; color: #725321; font-size: 13px; }
.order-meta { margin-block: 24px; font-size: 13px; }
.order-meta > div { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.3fr); gap: 16px; margin-top: 12px; }
.order-meta dt { color: var(--muted); }
.order-meta dd { margin: 0; overflow-wrap: anywhere; }
.order-events { padding-left: 18px; font-size: 13px; }
.order-events li { padding-bottom: 12px; }
.order-events time { display: block; color: var(--muted); font-size: 12px; }
.order-access { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; }
.order-access summary { min-height: 44px; cursor: pointer; }
.order-access summary .copy { display: inline-grid; }
.order-access textarea { font-size: 13px; margin-block: 16px; min-height: 130px; resize: vertical; }
.order-history { display: grid; gap: 18px; margin-top: 24px; }
.order-history-row { padding: 18px; border: 1px solid var(--line); border-radius: 8px; }
.order-history-row .order-number { margin-top: 0; }
.order-history-row time { display: block; margin-bottom: 16px; }
.order-manual { padding-top: 24px; border-top: 1px solid var(--line); }
.cancel-confirmation { margin-top: 20px; }
.cancel-confirmation .button { width: 100%; margin-top: 16px; }
@media (max-width: 1100px) {
  .shell { width: calc(100% - 48px); }
  .hero-content { padding: 36px; }
  .hero h1 { font-size: 40px; }
  .hero { min-height: 480px; }
  .product-grid { gap: 18px; }
  .card-content { padding: 20px; }
  .product-card h3 { font-size: 22px; }
}
@media (max-width: 900px) {
  .header-actions { gap: 16px; }
  .hero { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
  .hero-content { padding: 28px; gap: 22px; }
  .hero h1 { font-size: 34px; }
  .hero-description { font-size: 15px; }
  .hero-foot { font-size: 10px; gap: 8px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-heading { align-items: flex-start; gap: 24px; }
  .section-intro { max-width: 310px; }
  .site-footer { flex-wrap: wrap; }
}
@media (max-width: 640px) {
  .shell { width: calc(100% - 32px); }
  .site-header { padding-block: 16px; min-height: 120px; gap: 12px; flex-wrap: wrap; }
  .brand-mark { width: 36px; height: 40px; font-size: 18px; }
  .brand strong { font-size: 12px; }
  .brand-sub { font-size: 11px; }
  .header-actions { width: 100%; justify-content: space-between; gap: 12px; }
  .nav-link { font-size: 13px; }
  .header-actions .nav-link { display: none; }
  .orders-toggle { font-size: 13px; }
  .order-content { padding: 22px; }
  .address-fields { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .shipping-summary { padding: 16px; }
  .shipping-meta > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .shop-dialog[class*="is-order"] { width: calc(100% - 20px); }
  .order-item { align-items: flex-start; }
  .order-item h3 { font-size: 14px; }
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero-content { padding: 28px 24px; gap: 20px; }
  .hero h1 { font-size: clamp(30px, 8.6vw, 42px); }
  .hero-description { font-size: 15px; line-height: 1.75; }
  .hero-cta { width: 100%; }
  .hero-foot { display: none; }
  .hero-visual { min-height: 0; aspect-ratio: 16 / 9; }
  .hero-visual > img { object-position: 100% 32%; }
  .hero-visual figcaption { bottom: 12px; left: 12px; right: 12px; font-size: 9px; padding: 4px 8px; max-width: calc(100% - 24px); }
  .preview-note { font-size: 11px; padding-block: 16px; }
  .collection-section { padding-block: 36px; }
  .section-heading { display: grid; gap: 16px; margin-bottom: 24px; }
  .section-intro { max-width: none; font-size: 13px; }
  .product-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .product-media { aspect-ratio: 6 / 5; }
  .card-content { padding: 22px; }
  .about-section { padding: 32px 0; }
  .about-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .site-footer { display: grid; gap: 12px; padding-block: 24px; }
  .shop-dialog, .shop-dialog.is-cart, .shop-dialog.is-payment, .shop-dialog.is-quote { width: calc(100% - 20px); max-height: calc(100dvh - 20px); border-radius: 12px; }
  .dialog-header { padding: 8px 12px; }
  .dialog-tools { gap: 8px; }
  .detail-layout { grid-template-columns: minmax(0, 1fr); }
  .detail-visual { padding: 20px; }
  .detail-visual img { height: clamp(160px, 32dvh, 280px); }
  .detail-content, .cart-content, .payment-content { padding: 22px; }
  .detail-content h2 { font-size: 26px; }
  .spec-row { gap: 12px; }
}
@media (max-height: 500px) and (min-width: 641px) {
  .shop-dialog { max-height: calc(100dvh - 16px); }
  .detail-visual img { height: 240px; }
}
@media (prefers-reduced-motion: no-preference) {
  .button, .icon-button { transition: background-color .15s ease, border-color .15s ease; }
  .hero-cta { transition: background-color .18s ease, transform .18s ease; }
  .hero-cta-arrow { transition: transform .18s ease; }
  .hero-cta:focus-visible .hero-cta-arrow { transform: translateY(3px); }
  .hero-cta:active { transform: translateY(1px); }
  /* Only the heading fades; products stay fully visible and layout dimensions never animate. */
  .collection-arrived .section-heading { animation: collection-arrival .42s ease-out; }
  @keyframes collection-arrival {
    from { opacity: .65; }
    to { opacity: 1; }
  }
}
@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
  .hero-cta:hover .hero-cta-arrow { transform: translateY(3px); }
}
