:root {
  color-scheme: light dark;
  --bg: #f5f6f7;
  --surface: #ffffff;
  --surface-soft: #eef1f3;
  --text: #17191c;
  --muted: #626973;
  --line: #e1e4e8;
  --accent: #2f9e75;
  --accent-contrast: #f7fffb;
  --danger: #b92f3a;
  --warning-bg: #fff4d8;
  --warning-text: #664b0f;
  --shadow-soft: 0 8px 28px rgb(32 39 45 / 0.08);
  --radius-card: 14px;
  --radius-control: 10px;
  --shell: min(100% - 24px, 1180px);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Microsoft YaHei", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111416;
    --surface: #191d20;
    --surface-soft: #22272b;
    --text: #f0f2f3;
    --muted: #aab0b6;
    --line: #30363b;
    --accent-contrast: #07130e;
    --warning-bg: #332914;
    --warning-text: #f0d58c;
    --shadow-soft: 0 10px 32px rgb(0 0 0 / 0.26);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; min-height: 100dvh; background: var(--bg); color: var(--text); font-size: 15px; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.shell { width: var(--shell); margin-inline: auto; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 10px 14px; background: var(--text); color: var(--bg); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 20; height: 58px; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 95%, transparent); backdrop-filter: blur(14px); }
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.site-title { font-size: 17px; font-weight: 760; letter-spacing: -0.02em; }
.site-nav { display: flex; align-items: center; gap: 18px; color: var(--muted); font-size: 14px; }
.site-nav a { min-height: 40px; display: inline-flex; align-items: center; }
.site-nav a:hover { color: var(--text); }

.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 12px 18px; border: 1px solid transparent; border-radius: var(--radius-control); font-weight: 700; line-height: 1; white-space: nowrap; cursor: pointer; transition: transform 150ms ease, background-color 150ms ease, border-color 150ms ease; }
.button:active { transform: scale(0.98); }
.button:focus-visible, .share-button:focus-visible, .thumb:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 38%, transparent); outline-offset: 2px; }
.button--primary { background: var(--accent); color: var(--accent-contrast); }
.button--primary:hover { background: color-mix(in srgb, var(--accent) 86%, var(--text)); }
.button--secondary { border-color: var(--line); background: var(--surface); color: var(--text); }
.button--secondary:hover { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); }
.button--block { width: 100%; }
.button:disabled { cursor: not-allowed; opacity: 0.45; transform: none; }

.catalog { padding-block: 22px 72px; }
.catalog__heading { margin-bottom: 18px; }
.catalog__heading h2 { margin: 0; font-size: 28px; line-height: 1.15; letter-spacing: -0.035em; }
.catalog__heading p { max-width: 58ch; margin: 8px 0 0; color: var(--muted); line-height: 1.55; }
.search { display: grid; gap: 7px; margin-bottom: 22px; }
.search > label, .field > label { font-size: 14px; font-weight: 680; }
.search__row { display: grid; grid-template-columns: minmax(0, 1fr) 72px; gap: 8px; }
input, textarea, select { width: 100%; min-height: 48px; border: 1px solid var(--line); border-radius: var(--radius-control); background: var(--surface); color: var(--text); padding: 11px 13px; font-size: 16px; }
input::placeholder, textarea::placeholder { color: color-mix(in srgb, var(--muted) 80%, var(--bg)); }
input:focus, textarea:focus, select:focus { border-color: var(--accent); outline: 3px solid color-mix(in srgb, var(--accent) 17%, transparent); }
input[type="file"] { padding: 9px; }

.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.product-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--surface); }
.product-card__link { display: flex; height: 100%; flex-direction: column; color: inherit; }
.product-card__link:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 55%, transparent); outline-offset: 2px; }
.product-card__media { display: block; overflow: hidden; aspect-ratio: 1 / 1; background: var(--surface-soft); }
.product-card__media img { width: 100%; height: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform 220ms ease; }
.product-card__media > .media-placeholder { width: 100%; height: 100%; min-height: 0; }
.product-card:active .product-card__media img { transform: scale(0.985); }
.product-card__body { min-height: 148px; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; padding: 12px; }
.product-card h3 { margin: 0; overflow: hidden; font-size: 16px; line-height: 1.38; letter-spacing: -0.015em; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.product-card p { margin: 6px 0 0; overflow: hidden; color: var(--muted); font-size: 12px; line-height: 1.5; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.product-card__footer { display: flex; align-items: end; justify-content: space-between; gap: 6px; }
.product-card__metrics { display: grid; gap: 3px; color: var(--muted); font-size: 11px; line-height: 1.25; text-align: right; white-space: nowrap; }
.price { font-size: 22px; line-height: 1; letter-spacing: -0.035em; }
.price small { margin-right: 2px; font-size: 0.58em; font-weight: 700; }
.text-link { color: var(--accent); font-size: 12px; font-weight: 700; white-space: nowrap; }

.media-placeholder { min-height: 140px; display: grid; place-content: center; padding: 18px; background: var(--surface-soft); color: var(--muted); text-align: center; }
.media-placeholder strong { font-size: 13px; font-weight: 600; }
.media-placeholder--hero { min-height: 210px; aspect-ratio: 4 / 3; }
.empty-state { padding: 64px 20px; border-radius: var(--radius-card); background: var(--surface); text-align: center; }
.empty-state h3 { margin: 0; font-size: 21px; }
.empty-state p { margin: 10px 0 22px; color: var(--muted); }
.empty-state--compact { padding: 34px 18px; }
.empty-state--compact p { margin-bottom: 0; }

.notice { margin-top: 14px; padding: 12px 14px; border-radius: var(--radius-control); font-size: 14px; line-height: 1.55; }
.notice--warning { background: var(--warning-bg); color: var(--warning-text); }
.product-hero { display: grid; gap: 22px; padding-block: 14px 36px; }
.product-gallery__stage { overflow: hidden; border-radius: var(--radius-card); background: var(--surface-soft); }
.product-gallery__stage img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.product-gallery__thumbs { display: flex; gap: 9px; margin-top: 10px; padding-bottom: 4px; overflow-x: auto; scroll-snap-type: x mandatory; }
.thumb { flex: 0 0 74px; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: 8px; background: none; cursor: pointer; scroll-snap-align: start; }
.thumb img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.thumb.is-active { border-color: var(--accent); }
.product-summary h1 { margin: 0; font-size: 30px; line-height: 1.16; letter-spacing: -0.035em; }
.product-summary__lead { margin: 12px 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.price--large { display: block; margin: 18px 0 22px; font-size: 36px; }
.product-summary__actions { display: none; }
.product-summary__sold { margin: 10px 0 0; color: var(--muted); font-size: 14px; }
.service-qr { display: grid; grid-template-columns: 78px 1fr; align-items: center; gap: 13px; margin-top: 16px; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--surface); }
.service-qr img { width: 78px; aspect-ratio: 1; border-radius: 8px; object-fit: contain; }
.service-qr span { display: grid; gap: 4px; }
.service-qr small { color: var(--muted); line-height: 1.5; }
.share-button { width: 100%; min-height: 44px; margin-top: 10px; padding: 8px 0; border: 0; background: transparent; color: var(--muted); text-align: left; cursor: pointer; }
.share-button:hover { color: var(--accent); }
.product-content { padding: 28px 0 120px; border-top: 1px solid var(--line); }
.product-content > h2 { margin: 0; font-size: 24px; letter-spacing: -0.025em; }
.reviews { padding-block: 0 56px; }
.reviews__disclosure { padding: 0 20px 20px; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--surface); }
.reviews__summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; cursor: pointer; list-style: none; }
.reviews__summary::-webkit-details-marker { display: none; }
.reviews__title { display: block; margin-bottom: 6px; font-size: 24px; }
.reviews__toggle { color: var(--accent); font-weight: 700; white-space: nowrap; }
.reviews__toggle::after { content: "点击展开＋"; }
.reviews__disclosure[open] .reviews__toggle::after { content: "收起－"; }
.reviews__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.review-card { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--surface); }
.review-card__author { display: flex; align-items: center; gap: 9px; }
.review-card__author span { color: #d69b27; }
.review-card > p { margin: 14px 0 0; line-height: 1.75; overflow-wrap: anywhere; }
.review-card__image-link { display: block; width: 15cm; height: 15cm; max-width: 100%; max-height: min(15cm, 80vh); margin-top: 16px; padding: 0; overflow: hidden; border: 0; border-radius: 8px; background: #f1f3f4; cursor: zoom-in; }
.review-card__image { display: block; width: 100%; height: 100%; object-fit: contain; }
.review-card__image-link.is-expanded { width: auto; height: auto; max-width: 100%; max-height: none; overflow: visible; cursor: zoom-out; }
.review-card__image-link.is-expanded .review-card__image { width: auto; height: auto; max-width: min(100%, 100vw); max-height: 90vh; object-fit: contain; }
.rich-content { margin-top: 18px; font-size: 16px; line-height: 1.75; }
.rich-content h2, .rich-content h3 { margin: 32px 0 10px; letter-spacing: -0.02em; }
.rich-content a { color: var(--accent); text-decoration: underline; }
.rich-content blockquote { margin: 24px 0; padding: 15px 17px; border-left: 3px solid var(--accent); background: var(--surface); }
.detail-image { margin: 24px 0 0; }
.detail-image img { width: 100%; border-radius: var(--radius-card); }
.detail-image figcaption { margin-top: 8px; color: var(--muted); font-size: 13px; }
.mobile-purchase-bar { position: fixed; right: 0; bottom: 0; left: 0; z-index: 19; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 10px; padding: 10px max(12px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left)); border-top: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 96%, transparent); backdrop-filter: blur(16px); }
.mobile-purchase-bar > .price { min-width: 68px; font-size: 24px; }
.mobile-purchase-bar__actions { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; }
.mobile-purchase-bar .button { min-width: 0; min-height: 48px; padding-inline: 12px; font-size: 14px; }

.checkout { padding-block: 16px 64px; }
.back-link { min-height: 40px; display: inline-flex; align-items: center; margin-bottom: 8px; color: var(--muted); font-size: 14px; }
.back-link:hover { color: var(--accent); }
.checkout__header { display: grid; gap: 16px; margin-bottom: 18px; }
.checkout__header h1 { margin: 0; font-size: 30px; letter-spacing: -0.035em; }
.checkout__header p { margin: 6px 0 0; color: var(--muted); line-height: 1.55; }
.checkout-product { display: grid; grid-template-columns: 88px 1fr; align-items: center; gap: 12px; padding: 10px; border-radius: var(--radius-card); background: var(--surface); }
.checkout-product img { width: 88px; aspect-ratio: 4 / 3; border-radius: 8px; object-fit: cover; }
.checkout-product div { display: grid; gap: 6px; }
.checkout-product span { color: var(--accent); font-weight: 800; }
.checkout-flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 0 16px; padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--surface); list-style: none; }
.checkout-flow li { position: relative; min-width: 0; padding: 13px 7px; text-align: center; }
.checkout-flow li:not(:last-child)::after { content: ""; position: absolute; top: 12px; right: 0; bottom: 12px; width: 1px; background: var(--line); }
.checkout-flow strong { display: block; font-size: 12px; line-height: 1.4; }
.checkout-flow span { display: none; }
.checkout__grid { display: grid; gap: 14px; }
.payment-panel, .order-panel { padding: 20px 16px; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--surface); }
.payment-panel { text-align: center; }
.payment-panel h2, .order-panel h2 { margin: 0 0 18px; font-size: 21px; letter-spacing: -0.025em; }
.payment-methods { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin: 0 0 18px; }
.payment-method { text-decoration: none; }
.payment-method--active { border-color: var(--accent); background: var(--accent); color: #fff; }
.payment-panel__method { margin: 0 0 14px; font-size: 17px; }
.qr-frame { width: min(100%, 286px); margin: 0 auto 17px; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius-card); background: #f8faf9; }
.qr-frame img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.qr-rotation-note { color: var(--muted); font-size: 13px; }
.payment-panel > p { margin: 8px 0 0; }
.payment-panel > p strong { color: var(--accent); font-size: 24px; }
.order-panel > .muted { margin: -6px 0 20px; font-size: 14px; line-height: 1.55; }
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field small { color: var(--muted); line-height: 1.5; }
.field-error, .form-alert p { margin: 0; color: var(--danger); font-size: 14px; }
.field--error input { border-color: var(--danger); }
.form-alert { margin-bottom: 18px; padding: 12px 14px; border: 1px solid color-mix(in srgb, var(--danger) 46%, var(--line)); border-radius: var(--radius-control); background: color-mix(in srgb, var(--danger) 9%, var(--surface)); }
.checkout-contact { display: grid; gap: 18px; padding: 20px 16px; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--surface); }
.checkout-contact h2 { margin: 0; font-size: 21px; letter-spacing: -0.025em; }
.checkout-contact__intro p { margin: 9px 0 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.checkout-contact__entry { display: grid; grid-template-columns: 78px 1fr; align-items: center; gap: 13px; }
.checkout-contact__entry--text-only { grid-template-columns: 1fr; }
.checkout-contact__entry > img { width: 78px; aspect-ratio: 1; padding: 5px; border: 1px solid var(--line); border-radius: 8px; background: #f8faf9; object-fit: contain; }
.checkout-contact__entry > div { display: grid; gap: 10px; }
.checkout-contact__entry p { margin: 0; font-size: 14px; line-height: 1.55; }
.checkout-contact__entry .button { width: 100%; }
.muted { color: var(--muted); }

.result-page { min-height: calc(100dvh - 58px); padding-block: 28px 64px; }
.result-card { width: 100%; text-align: center; }
.result-mark { width: 52px; height: 52px; display: grid; place-items: center; margin: 0 auto 18px; border-radius: 50%; background: var(--accent); color: var(--accent-contrast); font-size: 25px; font-weight: 800; }
.result-card h1 { margin: 0; font-size: 32px; letter-spacing: -0.035em; }
.result-card > p:not(.error-code) { max-width: 45ch; margin: 14px auto 22px; color: var(--muted); line-height: 1.65; }
.order-number { display: grid; gap: 8px; margin: 20px 0; padding: 18px 12px; border-radius: var(--radius-card); background: var(--surface); }
.order-number span { color: var(--muted); font-size: 13px; }
.order-number strong { overflow-wrap: anywhere; font-family: "SFMono-Regular", Consolas, monospace; font-size: clamp(20px, 6.5vw, 27px); letter-spacing: 0.03em; }
.order-number button { justify-self: center; border: 0; background: transparent; color: var(--accent); cursor: pointer; }
.result-summary { margin: 20px 0; padding: 4px 16px; border-radius: var(--radius-card); background: var(--surface); text-align: left; }
.result-summary div { display: grid; grid-template-columns: 78px 1fr; padding: 12px 0; }
.result-summary div + div { border-top: 1px solid var(--line); }
.result-summary dt { color: var(--muted); }
.result-summary dd { margin: 0; font-weight: 700; }
.result-service-qr { display: grid; grid-template-columns: 90px 1fr; align-items: center; gap: 15px; margin: 20px 0; padding: 14px; border-radius: var(--radius-card); background: var(--surface); text-align: left; }
.result-service-qr img { width: 90px; aspect-ratio: 1; border-radius: 8px; object-fit: contain; }
.result-service-qr p { margin: 0; color: var(--muted); line-height: 1.6; }
.result-contact-warning { margin: 20px 0; text-align: left; }
.result-actions { display: grid; gap: 9px; }
.error-code { margin: 0 0 10px; color: var(--accent); font-size: 56px; font-weight: 800; letter-spacing: -0.05em; }
.toast-stack { position: fixed; top: 70px; left: 50%; z-index: 30; transform: translateX(-50%); }
.toast { width: max-content; max-width: calc(100vw - 24px); padding: 11px 14px; border: 1px solid var(--line); border-radius: var(--radius-control); background: var(--surface); box-shadow: var(--shadow-soft); }
.site-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.site-footer__inner { display: grid; gap: 4px; padding-block: 22px; }
.site-footer p { margin: 0; }

@media (min-width: 768px) {
  :root { --shell: min(100% - 48px, 1180px); }
  body { font-size: 16px; }
  .site-header { height: 66px; }
  .site-title { font-size: 18px; }
  .catalog { padding-block: 48px 108px; }
  .catalog__heading h2 { font-size: 38px; }
  .catalog__heading p { font-size: 16px; }
  .search { max-width: 620px; margin: 26px 0 32px; }
  .search__row { grid-template-columns: 1fr 92px; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .product-card:hover .product-card__media img { transform: scale(1.02); }
  .product-card__body { min-height: 182px; padding: 18px; }
  .product-card h3 { font-size: 19px; }
  .product-card p { font-size: 14px; }
  .product-card .price { font-size: 26px; }
  .text-link { font-size: 14px; }
  .media-placeholder { min-height: 210px; }
  .product-hero { min-height: calc(100dvh - 66px); grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr); align-items: center; gap: clamp(36px, 6vw, 80px); padding-block: 46px 64px; }
  .product-gallery__stage { box-shadow: var(--shadow-soft); }
  .product-gallery__stage img, .media-placeholder--hero { aspect-ratio: 16 / 10; }
  .product-summary h1 { font-size: clamp(40px, 4.5vw, 58px); line-height: 1.08; }
  .product-summary__lead { margin: 18px 0; font-size: 17px; }
  .price--large { margin: 24px 0 28px; font-size: 42px; }
  .product-summary__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.service-qr { grid-template-columns: 82px 1fr; margin-top: 18px; }
  .service-qr img { width: 82px; }
  .share-button { width: auto; }
  .product-content { max-width: 820px; padding-block: 46px 110px; }
  .product-content > h2 { font-size: 32px; }
  .mobile-purchase-bar { display: none; }
  .checkout { padding-block: 36px 96px; }
  .back-link { margin-bottom: 20px; }
  .checkout__header { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 30px; }
  .checkout__header h1 { font-size: 46px; }
  .checkout-product { width: 350px; grid-template-columns: 108px 1fr; background: transparent; padding: 0; }
  .checkout-product img { width: 108px; aspect-ratio: 16 / 10; }
  .checkout-flow { margin-bottom: 24px; }
  .checkout-flow li { padding: 16px 20px; text-align: left; }
  .checkout-flow strong { font-size: 14px; }
  .checkout-flow span { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; line-height: 1.45; }
  .checkout__grid { grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr); gap: 20px; align-items: start; }
  .payment-panel, .order-panel { padding: 30px; }
  .checkout-contact { grid-column: 1 / -1; grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr); align-items: center; gap: 40px; padding: 30px; }
  .checkout-contact__entry .button { width: auto; }
  .result-page { min-height: calc(100dvh - 66px); display: grid; place-items: center; padding-block: 54px 90px; }
  .result-card { width: min(100%, 660px); padding: 48px; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--surface); box-shadow: var(--shadow-soft); }
  .result-card h1 { font-size: 46px; }
  .order-number, .result-summary, .result-service-qr { background: var(--surface-soft); }
  .result-actions { display: flex; justify-content: center; }
  .site-footer__inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; padding-block: 0; }
}

@media (min-width: 1100px) {
  .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header, .mobile-purchase-bar { background: var(--surface); backdrop-filter: none; }
}

.customer-orders { display: grid; gap: 20px; max-width: 860px; }
.customer-order { padding: 24px; background: var(--surface, #fff); border: 1px solid var(--border, #e2e5e9); border-radius: 18px; }
.customer-order h2 { margin: 0 0 16px; font-size: 22px; }
.customer-order dd { overflow-wrap: anywhere; }
.customer-order > p { margin-bottom: 20px; }

.payment-methods .payment-method { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 68px; padding: 12px 10px; background: #fff; color: #202624; border: 2px solid #e5e9e7; border-radius: 14px; }
.payment-method__icon { width: 28px; height: 28px; object-fit: contain; flex-shrink: 0; }
.payment-method--wechat { --payment-brand: #07a84f; --payment-tint: #effbf3; }
.payment-method--alipay { --payment-brand: #1677ff; --payment-tint: #eff6ff; }
.payment-methods .payment-method:hover, .payment-methods .payment-method--active { border-color: var(--payment-brand); background: var(--payment-tint); color: #202624; }
.payment-method__check { color: var(--payment-brand); font-size: 18px; font-weight: 700; }
.payment-methods .payment-method:focus-visible { outline: 3px solid var(--payment-brand); outline-offset: 3px; }
@media (max-width: 380px) { .payment-methods .payment-method { gap: 6px; font-size: 14px; } }

/* Unified storefront actions. */
:root { --action: #237d5c; --action-soft: #edf7f2; --action-border: #c4e2d3; --action-blue: #225caa; --action-blue-soft: #edf4ff; }
.button { border-radius: 12px; gap: 8px; transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease; }
.button--primary { background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 78%, #12513a)); color: #fff; border-color: color-mix(in srgb, var(--accent) 80%, #12513a); box-shadow: 0 4px 10px color-mix(in srgb, var(--accent) 18%, transparent); }
.button--primary:hover:not(:disabled) { background: color-mix(in srgb, var(--accent) 80%, #12513a); box-shadow: 0 6px 16px color-mix(in srgb, var(--accent) 25%, transparent); }
.button--secondary { background: var(--action-soft); border-color: var(--action-border); color: var(--action); }
.button--secondary:hover:not(:disabled) { background: color-mix(in srgb, var(--action-soft) 90%, var(--action)); border-color: var(--action); }
.button:disabled { box-shadow: none; }
.site-nav { gap: 8px; }
.site-nav a { justify-content: center; min-height: 40px; padding: 8px 13px; border: 1px solid transparent; border-radius: 11px; font-weight: 650; white-space: nowrap; transition: background-color 160ms ease, border-color 160ms ease; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--action); background: var(--action-soft); border-color: var(--action-border); }
.site-nav a.site-nav__orders { background: var(--action-blue-soft); color: var(--action-blue); border-color: color-mix(in srgb, var(--action-blue) 20%, var(--surface)); }
.site-nav a.site-nav__orders:hover, .site-nav a.site-nav__orders[aria-current="page"] { border-color: var(--action-blue); }
.back-link { gap: 7px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 10px; color: var(--action); background: var(--surface); font-weight: 600; }
.back-link::before { content: "←"; font-size: 18px; }
.back-link:hover { background: var(--action-soft); border-color: var(--action-border); }
.order-number button { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 10px 20px; border: 1px solid color-mix(in srgb, var(--action-blue) 25%, var(--surface)); border-radius: 10px; background: var(--action-blue-soft); color: var(--action-blue); font-weight: 700; }
.order-number button:hover { border-color: var(--action-blue); }
.reviews__toggle { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 9px 13px; border: 1px solid var(--action-border); border-radius: 10px; background: var(--action-soft); color: var(--action); font-size: 14px; }
.reviews__summary:hover .reviews__toggle { border-color: var(--action); }
input[type="file"]::file-selector-button { min-height: 36px; margin-right: 12px; padding: 7px 14px; border: 1px solid var(--action-border); border-radius: 8px; background: var(--action-soft); color: var(--action); font: inherit; font-weight: 600; cursor: pointer; }
input[type="file"]::file-selector-button:hover { border-color: var(--action); }
.site-nav a:focus-visible, .back-link:focus-visible, .order-number button:focus-visible, .reviews__summary:focus-visible, .review-card__image-link:focus-visible { outline: 3px solid var(--action-blue); outline-offset: 3px; }
.result-actions { flex-wrap: wrap; }
@media (max-width: 380px) {
  .site-header__inner { gap: 8px; }
  .site-nav { gap: 4px; font-size: 13px; }
  .site-nav a { padding-inline: 9px; }
  .site-title { font-size: 16px; }
}
@media (prefers-color-scheme: dark) {
  :root { --action: #86dcba; --action-soft: #203b30; --action-border: #355c49; --action-blue: #a2c7ff; --action-blue-soft: #20334e; }
}
