/* Storefront design, following unslop by Damir Sokolovsky (@heydamir), CC BY 4.0.
   https://heydamir.design/unslop — digital goods, clear steps and original product artwork. */
:root {
  --bg: #f5f7fb;
  --paper: #ffffff;
  --ink: #17233b;
  --secondary: #4e5d73;
  --muted: #606d83;
  --line: #dde3ed;
  --accent: #2558d9;
  --accent-hover: #1c46b2;
  --soft: #edf2ff;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  color-scheme: light;
  font-family: var(--sans);
  font-synthesis: none;
  color: var(--ink);
  background: var(--bg);
  font-size: 15px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; line-height: 1.6; }
button, input, select, textarea { font: inherit; color: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .5; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
button, a, summary { transition: color 160ms var(--ease), background-color 160ms var(--ease), border-color 160ms var(--ease); }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
input:focus, select:focus, textarea:focus { outline: 2px solid #2558d933; outline-offset: 2px; border-color: var(--accent); }
svg { display: block; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-weight: 500; }
h1, h2, h3, p, dd { overflow-wrap: anywhere; }
::selection { background: #dbe6ff; }
.wrap { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.hidden { display: none!important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 8px; left: 16px; z-index: 110; padding: 12px 20px; border-radius: 8px; background: var(--ink); color: white; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); color: white; }
.eyebrow { color: var(--muted); font-size: 13px; font-weight: 400; line-height: 20px; margin-bottom: 12px; }
.small { font-size: 13px; line-height: 1.8; }
.muted { color: var(--muted); }
.centered { text-align: center; }
.pre-line { white-space: pre-line; overflow-wrap: anywhere; }
.full { width: 100%; justify-content: space-between; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 48px; padding: 12px 20px; border: 1px solid transparent; border-radius: 8px; font-size: 14px; font-weight: 500; line-height: 22px; text-align: center; }
.button.full { justify-content: space-between; }
.button.primary { background: var(--accent); color: white; }
.button.primary:hover:not(:disabled) { background: var(--accent-hover); }
.button.outline { background: var(--paper); border-color: #c8d2e2; }
.button.outline:hover { background: var(--soft); border-color: #9db4e9; }
.button.subtle { background: #f2f4f8; color: var(--secondary); }
.button.subtle:hover { background: #e9edf5; color: var(--ink); }
.button.small { min-height: 40px; padding: 8px 12px; font-size: 13px; }
.text-link { display: inline-flex; align-items: center; gap: 12px; min-height: 40px; border: 0; background: none; padding: 0; font-size: 14px; color: var(--accent); }
.text-link svg { width: 18px; height: 18px; }
.tiny-button { border: 0; background: none; padding: 8px; min-height: 36px; font-size: 13px; color: var(--accent); white-space: nowrap; }
.tiny-button:hover { color: var(--accent-hover); background: var(--soft); border-radius: 4px; }
.announcement { background: #eef2f8; color: var(--secondary); font-size: 12px; }
.announcement > .wrap { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 36px; padding-block: 8px; line-height: 20px; }
.announcement-title { color: var(--accent); flex-shrink: 0; }
#announcement { overflow-wrap: anywhere; }
.header-shell { position: sticky; top: 0; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); }
.site-header { display: flex; align-items: center; justify-content: space-between; height: 80px; gap: 32px; }
.wordmark { display: inline-flex; align-items: center; gap: 12px; font-size: 22px; font-weight: 600; line-height: 1.4; white-space: nowrap; }
.wordmark svg { width: 28px; height: 28px; color: var(--accent); }
.site-header nav { display: flex; align-items: center; gap: 36px; font-size: 14px; }
.nav-link { display: inline-flex; align-items: center; min-height: 48px; color: var(--secondary); position: relative; }
.nav-link.active { color: var(--accent); }
.nav-link.active::after { position: absolute; content: ''; height: 2px; left: 0; right: 0; bottom: 4px; background: var(--accent); }
.header-order { display: flex; align-items: center; justify-content: center; min-height: 40px; gap: 8px; padding: 8px 16px; background: var(--soft); border: 1px solid #dce5fb; border-radius: 8px; color: var(--accent); font-size: 13px; }
.header-order svg { width: 18px; height: 18px; }
.header-order:hover { background: #e2eaff; }
.menu-toggle { display: none; }
.hero-band { background: var(--paper); border-bottom: 1px solid var(--line); }
.shop-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); align-items: center; gap: 64px; padding-block: 48px; }
.hero-copy .eyebrow { color: var(--accent); margin-bottom: 20px; }
.hero-copy h1 { font-size: clamp(40px, 4.2vw, 56px); font-weight: 500; line-height: 1.2; letter-spacing: -.02em; margin-bottom: 24px; }
.hero-copy h1 span { color: var(--accent); }
.hero-description { color: var(--secondary); font-size: 15px; line-height: 1.9; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-showcase { padding: 20px; border: 1px solid #e0e7f2; border-radius: 16px; background: #f1f4fa; }
.showcase-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; color: var(--secondary); font-size: 12px; }
.showcase-brand { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.showcase-brand svg { width: 16px; height: 16px; }
.feature-loading { display: grid; place-items: center; min-height: 248px; color: var(--muted); font-size: 14px; }
.featured-product { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: stretch; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); text-align: left; }
.featured-product:hover { border-color: #9db4e9; }
.featured-product .product-cover { height: 224px; padding: 16px; }
.featured-product .product-illustration { height: 116px; }
.featured-product .product-mark { font-size: 18px; }
.featured-info { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 12px 8px 12px 0; }
.featured-info > span:first-child { color: var(--accent); font-size: 12px; margin-bottom: 12px; }
.featured-info h2 { font-size: 20px; line-height: 1.5; margin-bottom: 8px; }
.featured-info > p { color: var(--muted); font-size: 13px; line-height: 1.8; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin-bottom: 16px; }
.featured-info > strong { font-size: 23px; font-weight: 500; font-variant-numeric: tabular-nums; margin-top: auto; }
.featured-info .feature-action { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; color: var(--accent); margin-top: 12px; }
.feature-action svg { width: 16px; height: 16px; }
.collection { padding-block: 56px 64px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.section-heading .eyebrow { margin-bottom: 8px; }
.section-heading h2 { font-size: 30px; line-height: 1.3; margin: 0; }
.search-box { display: flex; align-items: center; gap: 12px; width: 300px; min-height: 48px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
.search-box:focus-within { border-color: var(--accent); outline: 2px solid #2558d926; outline-offset: 2px; }
.search-box svg { width: 18px; height: 18px; color: var(--muted); }
.search-box input { flex: 1; width: 100%; min-width: 0; }
.search-box kbd { color: var(--muted); border: 1px solid var(--line); border-radius: 4px; padding-inline: 4px; font-family: inherit; font-size: 12px; min-width: 20px; text-align: center; }
.catalog-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 24px; border-bottom: 1px solid var(--line); padding-bottom: 16px; }
.category-tabs { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; min-width: 0; }
.category { min-height: 40px; padding: 8px 16px; border: 1px solid transparent; background: transparent; color: var(--secondary); border-radius: 8px; font-size: 14px; white-space: nowrap; }
.category.active { background: var(--accent); color: white; }
.category:hover:not(.active) { background: #e8edf6; }
.sort-control { display: inline-flex; gap: 8px; align-items: center; font-size: 12px; color: var(--muted); flex-shrink: 0; }
.sort-control select { min-height: 40px; max-width: 136px; padding: 4px 0 4px 8px; border: 0; background: transparent; color: var(--secondary); font-size: 13px; border-radius: 4px; }
.catalog-meta { display: flex; justify-content: space-between; gap: 16px; font-size: 12px; color: var(--muted); margin: 20px 0; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.product { min-width: 0; display: flex; flex-direction: column; position: relative; padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); color: var(--ink); text-align: left; overflow: hidden; transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease); }
.product:hover { border-color: #a8b9d8; box-shadow: 0 6px 20px #17233b08; }
.product:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.product-cover { --visual-deep: #4d6252; --visual-soft: #bdcbbd; --visual-paper: #fbfcf8; display: flex; flex-direction: column; justify-content: space-between; width: 100%; height: 208px; padding: 16px 20px; gap: 8px; border-radius: 8px; color: var(--cover-ink); background: var(--cover-bg); overflow: hidden; }
.theme-ink { --cover-bg: #edf0f5; --cover-ink: #43546b; }
.theme-sage { --cover-bg: #e3eadf; --cover-ink: #435b46; }
.theme-silver { --cover-bg: #eeede8; --cover-ink: #545c55; }
.theme-clay { --cover-bg: #eee3dc; --cover-ink: #75584b; }
.theme-olive { --cover-bg: #e7eadb; --cover-ink: #596540; }
.theme-sand { --cover-bg: #f0e9dd; --cover-ink: #6c604a; }
.theme-ink.visual-cinema { --cover-bg: #f5eee3; --cover-ink: #74512e; --visual-deep: #8a6038; --visual-soft: #d8bd96; --visual-paper: #fff9ee; }
.theme-ink.visual-adventure { --cover-bg: #e9eff5; --cover-ink: #435b70; --visual-deep: #49657c; --visual-soft: #b0c1cf; --visual-paper: #f3f7fa; }
.theme-ink.visual-maple { --cover-bg: #edf2e8; --cover-ink: #4f6344; --visual-deep: #597449; --visual-soft: #becdae; --visual-paper: #fbfcf4; }
.cover-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cover-small { font-size: 12px; line-height: 20px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.cover-star { display: flex; opacity: .7; flex-shrink: 0; }
.cover-star svg { width: 16px; height: 16px; }
.product-illustration { display: flex; justify-content: center; align-items: center; height: 120px; min-height: 0; }
.product-illustration svg { display: block; width: 208px; max-width: 100%; height: 100%; fill: none; stroke: none; }
.art-deep { fill: var(--visual-deep); }
.art-soft { fill: var(--visual-soft); }
.art-paper, .art-perforation { fill: var(--visual-paper); }
.art-shadow { fill: #17233b; opacity: .07; }
.art-stroke { fill: none; stroke: var(--visual-deep); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.art-stroke.art-on-dark { stroke: var(--visual-soft); }
.art-stroke.art-fine { stroke: var(--visual-soft); stroke-width: 1.5; }
.product-mark { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: 20px; font-weight: 500; line-height: 1.4; overflow-wrap: anywhere; }
.product-info { flex: 1; display: flex; flex-direction: column; width: 100%; padding: 20px 8px 8px; }
.product-meta { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 12px; line-height: 20px; margin-bottom: 12px; color: var(--muted); }
.product-label { color: var(--muted); font-size: 12px; }
.stock-status { display: inline-flex; align-items: center; gap: 8px; }
.stock-status.is-available { color: #326747; }
.stock-status.is-available::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.product h3 { font-size: 18px; line-height: 1.5; margin-bottom: 8px; }
.product-info > p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: 13px; line-height: 1.8; min-height: 48px; color: var(--muted); margin-bottom: 20px; }
.product-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 16px; margin-top: auto; border-top: 1px solid var(--line); }
.product-price { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 4px; font-weight: 500; font-variant-numeric: tabular-nums; }
.product-price .price-currency { font-size: 12px; color: var(--secondary); }
.product-price .price-value { font-size: 28px; line-height: 1.2; }
.product-bottom small { font-size: 12px; font-weight: 400; color: var(--muted); }
.product-action { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 8px 12px; border: 1px solid #dbe4f8; border-radius: 8px; background: var(--soft); color: var(--accent); font-size: 13px; white-space: nowrap; transition: background-color 160ms var(--ease), color 160ms var(--ease), border-color 160ms var(--ease); }
.product-action svg { width: 16px; height: 16px; }
.product:is(:hover, :focus-visible) .product-action { background: var(--accent); border-color: var(--accent); color: white; }
.skeleton { height: 448px; border-radius: 16px; background: #e9edf4; }
.grid-empty { grid-column: 1 / -1; }
.empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; min-height: 280px; padding: 48px 24px; color: var(--muted); }
.empty-state h2, .empty-state h3 { color: var(--ink); font-size: 20px; margin-bottom: 12px; }
.empty-state p { font-size: 14px; line-height: 1.8; }
.empty-symbol { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 16px; color: var(--accent); background: var(--soft); margin-bottom: 24px; }
.empty-symbol svg { width: 28px; height: 28px; }
.how-it-works { padding-block: 48px 56px; border-top: 1px solid var(--line); }
.how-it-works ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; padding: 0; margin: 0; gap: 32px; }
.how-it-works li { display: flex; align-items: flex-start; gap: 16px; padding: 8px 24px 8px 0; border-right: 1px solid var(--line); }
.how-it-works li:last-child { border: 0; padding-right: 0; }
.step-number { font-size: 20px; line-height: 28px; color: var(--accent); font-variant-numeric: tabular-nums; }
.how-it-works h3 { font-size: 17px; line-height: 28px; margin-bottom: 8px; }
.how-it-works li p { font-size: 14px; line-height: 1.9; color: var(--secondary); margin: 0; }
.help-banner { display: flex; align-items: center; gap: 24px; padding: 32px; margin-bottom: 64px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.help-icon, .section-icon { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 48px; height: 48px; border-radius: 12px; background: var(--soft); color: var(--accent); }
.help-icon svg { width: 24px; height: 24px; }
.help-banner h2 { font-size: 23px; line-height: 1.5; margin-bottom: 8px; }
.help-banner p { font-size: 14px; color: var(--secondary); margin: 0; }
.help-banner .button { margin-left: auto; white-space: nowrap; flex-shrink: 0; }
.site-footer { padding: 48px 0 24px; background: #15233b; color: #eaf0fa; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1fr) 180px 240px; gap: 64px; padding-bottom: 40px; }
.site-footer .wordmark { font-size: 22px; }
.site-footer .wordmark svg { color: #b7c9f5; }
.footer-brand > p { color: #bdc8db; font-size: 14px; line-height: 1.9; margin: 16px 0 0; }
.footer-nav { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; font-size: 14px; }
.footer-nav > span, .footer-payment > span { display: block; color: #a9b8cf; font-size: 12px; margin-bottom: 12px; }
.footer-nav > a { display: inline-flex; align-items: center; min-height: 36px; }
.site-footer a:hover { color: white; }
.footer-payment p { font-size: 13px; color: #bdc8db; line-height: 1.9; margin-bottom: 8px; }
.footer-payment b { font-size: 22px; color: #eaf0fa; font-weight: 500; margin-right: 8px; }
.footer-bottom { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding-top: 24px; border-top: 1px solid #ffffff1a; color: #a9b8cf; font-size: 12px; }
.footer-bottom > span { flex-shrink: 0; }
.footer-bottom > p { margin: 0; }
.inner-page { padding-block: 48px 64px; min-height: 65vh; }
.page-title { margin-bottom: 32px; }
.page-title .eyebrow { color: var(--accent); }
.page-title h1 { font-size: 36px; line-height: 1.4; margin: 8px 0 12px; }
.page-title > p:last-child { font-size: 15px; color: var(--secondary); line-height: 1.8; margin-bottom: 0; }
.order-layout { display: grid; grid-template-columns: 384px minmax(0, 1fr); align-items: start; gap: 28px; }
.panel { padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); min-width: 0; }
.form-heading { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.form-heading h2 { font-size: 20px; line-height: 1.4; margin: 0 0 4px; }
.form-heading p { font-size: 13px; color: var(--muted); margin: 0; }
.form-panel label, .detail-body form > label { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; font-size: 14px; color: var(--secondary); }
input:not([type=checkbox]):not([type=hidden]), textarea, select.form-control { width: 100%; min-height: 48px; padding: 12px; border: 1px solid #cdd6e4; border-radius: 8px; background: var(--paper); font-size: 16px; color: var(--ink); line-height: 1.5; }
input::placeholder, textarea::placeholder { color: var(--muted); font-size: 14px; }
textarea { resize: vertical; min-height: 100px; }
.search-box input[type=search] { min-height: 28px; padding: 0; border: 0; border-radius: 0; font-size: 14px; outline: 0; background: transparent; }
.form-note { margin: 20px 0 0; }
.form-error { white-space: pre-line; color: #a23d38; font-size: 14px; line-height: 1.8; }
.form-error:empty { display: none; }
.order-placeholder { display: flex; flex-direction: column; align-items: flex-start; padding: 40px; }
.order-placeholder h2 { font-size: 24px; margin-bottom: 12px; }
.order-placeholder > p { font-size: 14px; color: var(--secondary); }
.lookup-benefits { list-style: none; margin: 16px 0 24px; padding: 0; width: 100%; }
.lookup-benefits li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--secondary); }
.check-mark { color: var(--accent); }
.order-result, .order-card { min-width: 0; }
.order-card-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; }
.order-card-heading .eyebrow { margin: 0; }
.order-card h2 { font-size: 24px; margin-bottom: 24px; }
.badge { display: inline-block; padding: 4px 8px; margin: 2px; border-radius: 4px; font-size: 12px; color: var(--secondary); background: #eef1f6; white-space: nowrap; }
.status-pending { background: #f7f0df; color: #795920; }
.status-delivered { background: #eaf3ec; color: #326747; }
.status-paid_waiting { background: #faece3; color: #8a4d2b; }
.order-fields { margin: 0; }
.order-fields > div { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 16px; border-bottom: 1px solid var(--line); font-size: 14px; }
.order-fields dt { color: var(--muted); flex-shrink: 0; }
.order-fields dd { min-width: 0; margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.notice-box { margin: 20px 0; padding: 16px; background: #f1f4fa; color: var(--secondary); font-size: 13px; line-height: 1.9; border-radius: 8px; overflow-wrap: anywhere; }
.poll-status { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding-top: 20px; margin-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.poll-status button { margin-left: auto; }
.status-dot { display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.delivered-cards { margin-top: 24px; }
.section-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.section-row h3 { font-size: 16px; margin: 0; }
.code-row { display: flex; align-items: center; gap: 12px; background: #f0f4fb; border: 1px solid #e1e7f2; border-radius: 8px; padding: 12px 16px; margin-bottom: 8px; min-width: 0; }
.code-row > span { color: var(--muted); font-size: 12px; }
.code-row code { flex: 1; font-family: 'SFMono-Regular', Consolas, monospace; font-size: 14px; min-width: 0; overflow-wrap: anywhere; user-select: all; }
.faq-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 32px; align-items: start; }
.help-sidebar { position: sticky; top: 112px; padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.help-sidebar .section-icon { margin-bottom: 20px; }
.help-sidebar h2 { font-size: 20px; margin-bottom: 12px; }
.help-sidebar > p { font-size: 14px; line-height: 1.8; color: var(--secondary); }
.support-block { padding-top: 20px; margin-top: 24px; border-top: 1px solid var(--line); }
.support-block .eyebrow { margin-bottom: 8px; }
.support-block p { font-size: 14px; color: var(--accent); line-height: 1.8; margin: 8px 0 16px; }
.faq-list details { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; padding: 20px 24px; }
summary { list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: 16px; line-height: 1.7; }
.faq-list summary svg { color: var(--muted); width: 18px; height: 18px; transition: transform 160ms var(--ease); }
.faq-list details[open] summary { color: var(--accent); }
.faq-list details[open] summary svg { transform: rotate(180deg); }
.faq-list details p { font-size: 14px; color: var(--secondary); line-height: 1.9; margin: 16px 24px 0 0; }
.product-dialog { width: min(920px, calc(100% - 48px)); padding: 0; max-height: calc(100dvh - 48px); overflow: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); color: var(--ink); }
dialog::backdrop { background: #13203885; }
.dialog-bar { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; min-height: 60px; padding: 8px 20px; border-bottom: 1px solid var(--line); background: var(--paper); }
.dialog-bar > span { color: var(--muted); font-size: 13px; }
.close-dialog { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 8px; background: #f0f3f8; color: var(--secondary); }
.close-dialog:hover { background: #e5eaf3; }
#product-detail { display: grid; grid-template-columns: 320px minmax(0, 1fr); }
.detail-art { padding: 28px 24px; background: #f3f5f9; }
.detail-art .product-cover { height: 240px; padding: 20px; border-radius: 12px; }
.detail-art .product-illustration { height: 144px; }
.detail-art .small { font-size: 12px; line-height: 1.8; margin: 16px 0 0; text-align: center; }
.detail-body { padding: 28px 32px; }
.detail-body > .eyebrow { color: var(--accent); }
.detail-body h2 { font-size: 25px; line-height: 1.5; margin: 8px 0; }
.detail-subtitle { color: var(--muted); font-size: 13px; line-height: 1.8; margin-bottom: 16px; }
.detail-price { font-size: 30px; font-weight: 500; font-variant-numeric: tabular-nums; margin: 20px 0 16px; }
.detail-price small { color: var(--muted); font-weight: 400; font-size: 13px; }
.description { font-size: 14px; line-height: 1.9; color: var(--secondary); }
.quantity-line { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 14px; margin: 24px 0; }
.stepper { display: flex; align-items: center; height: 44px; border: 1px solid #cdd6e4; border-radius: 8px; overflow: hidden; }
.stepper button { background: #f7f9fc; border: 0; width: 44px; height: 44px; font-size: 18px; }
.stepper button:hover { background: var(--soft); }
.stepper input[type=number] { width: 44px; min-height: 40px; height: 40px; padding: 0; border: 0; border-radius: 0; background: var(--paper); text-align: center; font-size: 16px; appearance: textfield; -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button { appearance: none; }
.checkbox-label { display: flex!important; flex-direction: row!important; align-items: flex-start; gap: 12px!important; font-size: 13px!important; line-height: 1.8; }
.checkbox-label input { width: 16px; height: 16px; accent-color: var(--accent); margin: 4px 0 0; flex-shrink: 0; }
.checkbox-label a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.detail-body .centered { font-size: 12px; margin: 16px 0 0; }
html:has(dialog[open]) { overflow: hidden; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 100; padding: 12px 24px; max-width: calc(100% - 32px); border-radius: 8px; background: var(--ink); color: white; font-size: 14px; line-height: 1.8; text-align: center; box-shadow: 0 4px 16px #17233b22; }
.checkout-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 24px; border-bottom: 1px solid var(--line); }
.checkout-header .text-link { color: var(--secondary); }
.payment-page { padding: 40px 24px 64px; min-height: 80vh; }
.checkout-progress { display: flex; align-items: center; justify-content: center; gap: 32px; margin: 0 0 32px; padding: 0; list-style: none; counter-reset: step; font-size: 13px; color: var(--muted); }
.checkout-progress li { display: flex; align-items: center; gap: 8px; }
.checkout-progress li::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid #cbd4e2; border-radius: 50%; font-size: 12px; background: var(--paper); }
.checkout-progress .current { color: var(--accent); }
.checkout-progress .current::before { border-color: var(--accent); background: var(--accent); color: white; }
.payment-box { width: min(520px, 100%); margin: 0 auto; padding: 36px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.payment-box h1 { font-size: 28px; line-height: 1.4; margin: 12px 0; }
.payment-box > p { font-size: 14px; line-height: 1.8; color: var(--secondary); }
.payment-box > .eyebrow { font-size: 13px; color: var(--accent); }
.checkout-summary { border: 1px solid var(--line); border-radius: 12px; padding: 20px; margin: 28px 0; background: #f8faff; }
.checkout-summary > span { color: var(--muted); font-size: 12px; }
.checkout-summary h2 { font-size: 18px; line-height: 1.6; margin: 8px 0 20px; }
.checkout-summary > div { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 14px; color: var(--secondary); }
.checkout-summary .checkout-total { padding-top: 20px; margin-top: 20px; border-top: 1px solid var(--line); }
.pay-amount { color: var(--ink); font-size: 30px; font-weight: 500; font-variant-numeric: tabular-nums; text-align: right; }
.pay-amount small { font-size: 13px; font-weight: 400; }
.payment-box form { margin-bottom: 16px; }
.payment-box .checkout-order-no { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 12px; color: var(--muted); margin: 20px 0 0; }
.checkout-order-no span { font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.checkout-caption { text-align: center; font-size: 12px; color: var(--muted); margin-top: 24px; }
.payment-information { border: 1px solid var(--line); background: #f5f8fd; border-radius: 12px; padding: 20px; margin: 24px 0; min-width: 0; }
.payment-information h3 { font-size: 17px; margin-bottom: 16px; }
.payment-information .order-fields dd { overflow-wrap: anywhere; min-width: 0; }
.payment-information .order-fields code { word-break: break-all; white-space: normal; }
.payment-information .small { line-height: 1.9; }
.payment-barcode { background: white; margin: 12px 0; padding: 12px; overflow: hidden; }
.payment-barcode > span { font-size: 12px; color: var(--muted); }
.payment-barcode svg { display: block; width: 100%; max-width: 540px; height: auto; stroke: none; fill: #000; background: white; }
.payment-barcode svg text { stroke: none; fill: #000; }
.payment-barcode-value { display: block; text-align: center; font-size: 12px; color: #000; overflow-wrap: anywhere; }
.payment-atm { padding: 0; overflow: hidden; border-color: #c8d7f0; background: #f2f6fd; }
.atm-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 20px 20px 0; }
.payment-atm h3 { margin: 0; font-size: 17px; font-weight: 500; }
.atm-status { padding: 4px 8px; border: 1px solid #d3dff7; border-radius: 4px; background: #e6edfc; color: #345ba8; font-size: 12px; white-space: nowrap; }
.atm-status.is-expired { color: #8b4838; background: #f6e9e3; border-color: #e5c8bc; }
.atm-summary { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin: 0; padding: 20px; }
.atm-summary > div { min-width: 0; }
.atm-summary dt, .atm-label { margin: 0 0 8px; color: var(--secondary); font-size: 13px; line-height: 1.6; }
.atm-summary dd { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0; }
.atm-summary strong { font-size: 22px; line-height: 1.4; font-weight: 500; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.atm-bank-copy { padding: 4px 8px; min-height: 32px; border: 1px solid #c8d7f0; border-radius: 4px; background: white; color: var(--accent); font-size: 12px; white-space: nowrap; }
.atm-bank-copy:hover { background: var(--soft); }
.atm-account { padding: 20px; background: white; border-block: 1px solid var(--line); container-type: inline-size; }
.atm-account-number { display: block; max-width: 100%; font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace; font-size: clamp(17px, 2.5vw, 32px); font-size: clamp(17px, 8.5cqw, 32px); font-weight: 600; line-height: 1.5; letter-spacing: .02em; font-variant-numeric: tabular-nums; color: var(--ink); white-space: normal; overflow-wrap: anywhere; word-break: break-all; user-select: all; }
.atm-copy { width: 100%; margin-top: 16px; }
.atm-footer { padding: 16px 20px 20px; }
.atm-deadline { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 0 0 8px; color: var(--secondary); font-size: 13px; line-height: 1.7; }
.atm-deadline strong { font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }
.atm-note { margin: 0; color: var(--secondary); font-size: 13px; line-height: 1.9; }
.atm-note.is-expired { color: #8b4838; }

@media (max-width: 1100px) {
  .shop-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 32px; }
  .hero-showcase { padding: 16px; }
  .featured-product { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
  .featured-info h2 { font-size: 18px; }
  .featured-product .product-cover { padding: 12px; }
  .product-grid { gap: 20px; }
  .product-cover { padding: 16px; }
  .product-info { padding: 16px 4px 4px; }
  .product h3 { font-size: 17px; }
  .product-bottom { gap: 8px; }
  .product-action { padding: 8px; gap: 4px; font-size: 12px; }
  .product-price .price-value { font-size: 24px; }
  .how-it-works ol { gap: 24px; }
  .how-it-works li { padding-right: 20px; gap: 12px; }
  .order-layout { grid-template-columns: 340px minmax(0, 1fr); gap: 24px; }
  .faq-layout { grid-template-columns: 264px minmax(0, 1fr); gap: 24px; }
  .help-sidebar { padding: 24px; }
  .footer-top { gap: 32px; grid-template-columns: minmax(0, 1fr) 140px 200px; }
}
@media (max-width: 860px) {
  .wrap { width: calc(100% - 48px); }
  .site-header { height: 72px; }
  .header-order { display: none; }
  .shop-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: 28px; padding-block: 40px; }
  .hero-copy h1 { font-size: 40px; }
  .hero-description { font-size: 14px; }
  .hero-description br { display: none; }
  .hero-actions { gap: 8px; }
  .hero-actions .button { padding: 12px 16px; }
  .featured-product { display: flex; flex-direction: column; gap: 0; }
  .featured-product .product-cover { height: 160px; }
  .featured-product .product-illustration { height: 80px; }
  .featured-product .cover-heading { display: none; }
  .featured-info { padding: 12px 8px 4px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; }
  .featured-info > span:first-child, .featured-info > p, .featured-info .feature-action { display: none; }
  .featured-info h2 { font-size: 16px; margin: 0; }
  .featured-info > strong { font-size: 18px; margin: 0; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-action { padding: 8px 12px; font-size: 13px; }
  .how-it-works ol { grid-template-columns: 1fr; gap: 0; }
  .how-it-works li { border: 0; border-bottom: 1px solid var(--line); padding: 20px 0; gap: 20px; }
  .how-it-works li:last-child { padding-bottom: 0; }
  .help-banner { padding: 24px; gap: 20px; flex-wrap: wrap; }
  .help-banner h2 { font-size: 21px; }
  .help-icon { display: none; }
  .help-banner .button { margin-left: 0; }
  .order-layout { grid-template-columns: minmax(0, 1fr); }
  .order-placeholder { padding: 28px; }
  .faq-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 20px; }
  .help-sidebar { padding: 20px; }
  .faq-list details { padding: 20px; }
  #product-detail { grid-template-columns: 240px minmax(0, 1fr); }
  .detail-art { padding: 24px 16px; }
  .detail-art .product-cover { height: 208px; padding: 16px; }
  .detail-art .product-illustration { height: 112px; }
  .detail-art .product-mark { font-size: 18px; }
  .detail-body { padding: 24px; }
  .detail-body h2 { font-size: 23px; }
  .footer-top { grid-template-columns: minmax(0, 1fr) 120px 180px; gap: 24px; }
}
@media (max-width: 600px) {
  html { scroll-padding-top: 88px; }
  .wrap { width: calc(100% - 40px); }
  .announcement > .wrap { gap: 8px; justify-content: flex-start; }
  .announcement-title { font-size: 11px; }
  .site-header { min-height: 72px; height: auto; flex-wrap: wrap; gap: 0; padding-block: 14px; }
  .wordmark { font-size: 20px; gap: 8px; }
  .wordmark svg { width: 28px; height: 28px; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 76px; min-height: 44px; margin-left: auto; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; background: white; font-size: 14px; }
  .menu-toggle svg { width: 18px; height: 18px; }
  .site-header nav { display: none; width: 100%; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); gap: 8px; font-size: 14px; }
  .site-header nav.is-open { display: flex; }
  .site-header .nav-link { flex: 1; min-height: 44px; padding: 8px 4px; justify-content: center; border-radius: 8px; }
  .nav-link.active { background: var(--soft); }
  .nav-link.active::after { display: none; }
  .shop-hero { display: block; padding-block: 32px; }
  .hero-copy .eyebrow { margin-bottom: 16px; font-size: 12px; }
  .hero-copy h1 { font-size: 40px; line-height: 1.2; margin-bottom: 20px; }
  .hero-description { font-size: 14px; line-height: 1.8; margin-bottom: 24px; }
  .hero-actions .button { min-height: 48px; padding: 12px 16px; gap: 12px; }
  .hero-showcase { display: none; }
  .collection { padding-block: 32px 40px; }
  .section-heading { display: block; margin-bottom: 20px; }
  .section-heading h2 { font-size: 26px; }
  .section-heading .eyebrow { font-size: 12px; }
  .section-heading > .text-link { margin-top: 12px; }
  .search-box { width: 100%; margin-top: 20px; }
  .search-box input[type=search] { font-size: 16px; }
  .search-box kbd { display: none; }
  .catalog-toolbar { flex-wrap: wrap; gap: 12px; padding-bottom: 12px; }
  .category-tabs { flex-wrap: nowrap; gap: 4px; overflow-x: auto; max-width: 100%; padding: 4px; margin: -4px; }
  .category { padding: 8px 12px; min-height: 44px; font-size: 13px; }
  .sort-control { gap: 4px; margin-left: auto; }
  .sort-control > span { display: none; }
  .sort-control select { max-width: 128px; font-size: 12px; min-height: 44px; padding-left: 0; }
  .catalog-meta { margin: 16px 0; font-size: 12px; gap: 12px; }
  .product-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .product { padding: 12px; }
  .product-cover { height: 184px; padding: 16px; }
  .product-illustration { height: 96px; }
  .product-mark { font-size: 20px; }
  .product-info { padding: 16px 4px 4px; }
  .product-meta { margin-bottom: 8px; }
  .product h3 { font-size: 17px; }
  .product-info > p { min-height: 24px; margin-bottom: 16px; }
  .product-bottom { padding-top: 12px; gap: 12px; }
  .product-price .price-value { font-size: 26px; }
  .product-action { min-height: 44px; font-size: 13px; padding: 8px 12px; }
  .how-it-works { padding-block: 32px; }
  .how-it-works .section-heading { margin-bottom: 12px; }
  .how-it-works li { gap: 20px; }
  .how-it-works h3 { font-size: 16px; }
  .help-banner { padding: 24px; margin-bottom: 40px; display: block; }
  .help-banner h2 { font-size: 22px; }
  .help-banner p { font-size: 14px; line-height: 1.8; }
  .help-banner .button { margin-top: 20px; }
  .site-footer { padding-top: 32px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px 20px; padding-bottom: 28px; }
  .footer-brand { grid-column: 1 / -1; }
  .site-footer .wordmark { font-size: 20px; }
  .footer-brand > p { font-size: 13px; }
  .footer-nav { font-size: 13px; }
  .footer-payment p { font-size: 12px; }
  .footer-payment b { display: block; font-size: 22px; margin: 0; }
  .footer-bottom { display: block; padding-top: 24px; }
  .footer-bottom > p { margin-top: 12px; line-height: 1.8; }
  .inner-page { padding-block: 32px 40px; }
  .page-title { margin-bottom: 24px; }
  .page-title h1 { font-size: 30px; }
  .page-title > p:last-child { font-size: 14px; }
  .panel { padding: 20px; border-radius: 12px; }
  .form-heading { gap: 12px; margin-bottom: 24px; }
  .form-heading .section-icon { width: 44px; height: 44px; }
  .form-heading h2 { font-size: 19px; }
  .order-layout { gap: 20px; }
  .order-placeholder h2 { font-size: 22px; }
  .order-card h2 { font-size: 22px; }
  .order-fields > div { font-size: 13px; align-items: flex-start; gap: 12px; }
  .order-card-heading { flex-wrap: wrap; }
  .code-row { padding: 12px; gap: 8px; }
  .code-row code { font-size: 14px; }
  .section-row { gap: 8px; align-items: flex-start; }
  .section-row .tiny-button { min-height: 28px; padding-block: 0; }
  .faq-layout { display: block; }
  .help-sidebar { position: static; padding: 20px; margin-bottom: 24px; }
  .help-sidebar .section-icon { display: none; }
  .help-sidebar h2 { font-size: 20px; }
  .support-block { padding-top: 16px; margin-top: 16px; }
  .faq-list details { padding: 20px; }
  .faq-list summary { font-size: 15px; gap: 16px; }
  .faq-list details p { margin-right: 0; font-size: 14px; }
  .product-dialog { width: calc(100% - 24px); max-height: calc(100dvh - 24px); border-radius: 12px; }
  .dialog-bar { min-height: 56px; padding: 8px 16px; }
  #product-detail { grid-template-columns: minmax(0, 1fr); }
  .detail-art { padding: 16px; }
  .detail-art .product-cover { display: grid; grid-template-columns: minmax(0, 1fr) 92px; grid-template-rows: 24px minmax(0, 1fr); width: 100%; height: 112px; padding: 16px; gap: 8px; }
  .detail-art .cover-heading { grid-column: 1; grid-row: 1; }
  .detail-art .cover-star { display: none; }
  .detail-art .product-illustration { grid-column: 2; grid-row: 1 / 3; width: 92px; height: 72px; align-self: center; }
  .detail-art .product-mark { grid-column: 1; grid-row: 2; align-self: center; font-size: 18px; }
  .detail-art .small { margin-top: 8px; }
  .detail-body { padding: 20px; }
  .detail-body h2 { font-size: 22px; }
  .detail-price { font-size: 28px; margin-top: 16px; }
  .quantity-line { margin-block: 20px; }
  .checkout-header { padding-block: 20px; gap: 16px; flex-wrap: wrap; }
  .checkout-header .text-link { font-size: 13px; }
  .payment-page { padding: 28px 20px 40px; }
  .checkout-progress { gap: 16px; font-size: 12px; margin-bottom: 24px; }
  .checkout-progress li { gap: 6px; }
  .checkout-progress li::before { width: 20px; height: 20px; }
  .payment-box { padding: 24px; border-radius: 12px; }
  .payment-box h1 { font-size: 25px; }
  .checkout-summary { padding: 16px; }
  .checkout-summary h2 { font-size: 17px; }
  .pay-amount { font-size: 28px; }
  .payment-information { padding: 16px; }
  .payment-atm { padding: 0; }
  .atm-heading { padding: 16px 16px 0; }
  .atm-summary, .atm-account { padding: 16px; }
  .atm-summary { gap: 12px; }
  .atm-summary strong { font-size: 20px; }
  .atm-footer { padding: 16px; }
  .payment-atm h3 { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none!important; transition: none!important; }
}
@media print {
  body:has(.payment-information) { background: white; }
  body:has(.payment-information) > :not(main), body:has(.payment-information) #page-shop, body:has(.payment-information) #page-help, body:has(.payment-information) #lookup-form, body:has(.payment-information) .page-title, body:has(.payment-information) .order-card > :not(.payment-information), .payment-information button { display: none!important; }
  body:has(.payment-information) .order-layout { display: block; }
  body:has(.payment-information) #page-orders { width: 100%; padding: 0; }
  body:has(.payment-information) .order-card { padding: 0; border: 0; }
  .payment-information { padding: 0; background: white; border: 0; break-inside: avoid; }
  .payment-barcode { width: 140mm; max-width: 100%; break-inside: avoid; }
}
