/* Smartzic9 — product-led retail system. No external font or script dependency. */
:root {
  --ink: #17231e;
  --text: #45534b;
  --muted: #58645d;
  --green: #146445;
  --green-hover: #0f4d35;
  --paper: #ffffff;
  --soft: #f4f6f4;
  --line: #dfe5df;
  --gutter: 32px;
  --radius: 10px;
  --font: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 108px; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.65 var(--font); -webkit-font-smoothing: antialiased; }
body.modal-open { overflow: hidden; }
[hidden] { display: none !important; }
h1, h2, h3, p, ul, ol, dl { margin: 0; }
h1, h2, h3 { word-break: keep-all; }
button, input, select { color: inherit; font: inherit; }
button { background: none; border: 0; cursor: pointer; }
button:disabled { cursor: not-allowed; }
a { color: inherit; text-decoration: none; }
svg, img { display: block; max-width: 100%; }
a, button, input, select { -webkit-tap-highlight-color: transparent; }
button svg, .search-field svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 3px solid #247c55; outline-offset: 4px; }
::selection { background: #d8eadf; }
.container { width: calc(100% - var(--gutter) * 2); max-width: 1160px; margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 16px; transform: translateY(-200%); padding: 12px 20px; background: var(--ink); color: #fff; }
.skip-link:focus { transform: none; }

/* Navigation: stable logo / four destinations / one cart. */
.preview-notice { min-height: 36px; padding: 7px 16px; color: #4b5c51; background: #eff4ef; text-align: center; font-size: 13px; }
.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line); background: var(--paper); }
.header-inner { min-height: 84px; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; min-height: 52px; }
.brand-symbol { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 8px 8px 8px 2px; background: var(--green); color: #fff; font-size: 28px; font-weight: 800; line-height: 1; letter-spacing: -2px; padding-right: 2px; }
.brand-wordmark { font-size: 23px; font-weight: 750; letter-spacing: -1px; line-height: 1.25; }
.brand-wordmark small { display: block; margin-top: 3px; color: var(--muted); font: 600 10px/1.2 Arial,sans-serif; letter-spacing: 1.6px; }
.site-nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.site-nav a { display: flex; align-items: center; min-height: 48px; white-space: nowrap; font-size: 14px; font-weight: 600; }
.site-nav a:hover { color: var(--green); }
.header-actions { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
.order-link { min-height: 44px; font-size: 13px; color: var(--text); }
.cart-trigger { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0; font-size: 13px; white-space: nowrap; }
.cart-trigger svg { width: 22px; height: 22px; }
.cart-count { min-width: 22px; height: 22px; padding: 0 5px; display: grid; place-items: center; color: #fff; background: var(--green); border-radius: 50%; font-size: 13px; line-height: 1; }
.icon-button { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; padding: 10px; border-radius: 6px; }
.icon-button:hover { background: var(--soft); }
.icon-button svg { width: 24px; height: 24px; }
.menu-toggle { display: none; }

/* Intro: no generic illustration; the merchandise is the visual focus. */
.hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; padding-block: 36px 32px; }
.breadcrumb { margin-bottom: 12px; color: var(--muted); font-size: 13px; }
.breadcrumb span { padding-inline: 10px; color: #8a968d; }
h1 { font-size: 42px; font-weight: 750; line-height: 1.25; letter-spacing: -1.8px; }
.hero-description { margin-top: 12px; color: var(--text); font-size: 16px; line-height: 1.75; word-break: keep-all; }
.hero-actions { display: flex; align-items: center; gap: 20px; flex-shrink: 0; padding-bottom: 2px; }
.mobile-break { display: none; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 48px; padding: 12px 20px; border: 1px solid transparent; border-radius: 7px; font-size: 15px; font-weight: 650; line-height: 1.5; transition: background .15s, border-color .15s, color .15s; }
.button-primary { color: #fff; background: var(--green); }
.button-primary:hover:not(:disabled) { background: var(--green-hover); }
.button-outline { background: #fff; color: var(--ink); border-color: #b8c5bb; }
.button-outline:hover:not(:disabled) { background: var(--soft); border-color: #708a79; }
.button-text { color: var(--text); font-weight: 500; }
.button-text:hover:not(:disabled) { background: #eaf0eb; }
.button:disabled { background: #e8ece8; color: #57655c; border-color: #dce3dc; }
.button-full { width: 100%; }
.text-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 14px; font-weight: 550; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Catalog controls and shared product geometry. */
.products-section { padding-block: 8px 32px; }
.catalog-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 8px; }
.catalog-heading h2 { font-size: 20px; font-weight: 700; letter-spacing: -.5px; }
.data-caption { color: var(--muted); font-size: 13px; line-height: 1.7; }
.catalog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.filter-group { display: flex; gap: 28px; }
.filter-button { min-height: 56px; min-width: 44px; padding: 8px 0; border-bottom: 2px solid transparent; color: var(--muted); font-size: 14px; white-space: nowrap; }
.filter-button.is-active { font-weight: 750; color: var(--green); border-color: var(--green); }
.filter-button:hover { color: var(--ink); }
.search-field { display: flex; align-items: center; gap: 10px; width: 236px; height: 44px; padding-left: 14px; flex-shrink: 0; border: 1px solid #ccd6ce; border-radius: 6px; background: #fff; }
.search-field > svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--muted); }
.search-field input { min-width: 0; width: 100%; height: 44px; padding: 8px 0; border: 0; background: none; font-size: 16px; outline-offset: 0; }
.search-field input::placeholder { color: #627065; }
.search-field input::-webkit-search-cancel-button { display: none; }
.search-clear { min-width: 44px; height: 44px; font-size: 24px; }
.result-count { display: flex; align-items: center; min-height: 40px; color: var(--muted); font-size: 13px; }
.product-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.product-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.product-art { display: grid; place-items: center; width: 100%; aspect-ratio: 2.5; padding: 24px; overflow: hidden; border-radius: 9px 9px 0 0; background: #f0f3f0; }
.product-art img { width: auto; height: 100%; max-height: 180px; object-fit: contain; border-radius: 6px; }
.product-body { display: flex; flex: 1; flex-direction: column; }
.product-intro { padding: 24px 28px 0; }
.product-intro .eyebrow { margin-bottom: 6px; color: var(--green); font-size: 13px; font-weight: 600; }
.product-body h3 { font-size: 26px; font-weight: 700; line-height: 1.35; letter-spacing: -.8px; }
.product-description { margin-top: 8px; color: var(--text); font-size: 15px; line-height: 1.7; word-break: keep-all; }
.product-body > .feature-list { display: none; }
.product-bottom { margin-top: auto; padding: 20px 28px 28px; }
.product-period { margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid #e5ebe5; color: var(--text); font-size: 14px; line-height: 1.75; word-break: keep-all; }
.product-price-line { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.price-label, .price-from { color: var(--text); font-size: 14px; font-weight: 550; }
.product-price { font-size: 32px; font-weight: 750; line-height: 1.25; letter-spacing: -.9px; font-variant-numeric: tabular-nums; }
.original-price { font-size: 14px; color: var(--muted); }
.price-unit { width: 100%; color: var(--text); font-size: 14px; line-height: 1.7; }
.product-option-note { margin-top: 6px; color: var(--text); font-size: 14px; line-height: 1.8; word-break: keep-all; }
.product-bottom .button { justify-content: space-between; width: 100%; margin-top: 20px; border-color: var(--green); background: var(--green); color: #fff; }
.product-bottom .button:hover { background: var(--green-hover); border-color: var(--green-hover); }
.product-card--school { grid-column: 1/-1; display: grid; grid-template-columns: 112px minmax(0,1fr) minmax(250px,300px); align-items: center; gap: 28px; padding: 28px; background: #fafbf9; }
.product-card--school .product-body { display: contents; }
.product-card--school .product-art { aspect-ratio: 1; padding: 16px; border-radius: 12px; background: #eaf0e9; }
.product-card--school .product-art img { width: 100%; height: 100%; border-radius: 0; }
.product-card--school .product-intro, .product-card--school .product-bottom { padding: 0; }
.product-card--school .product-intro .eyebrow { color: var(--muted); }
.product-card--school h3 { font-size: 23px; }
.product-card--school .product-period { border: 0; padding-bottom: 0; margin-bottom: 8px; }
.product-card--school .product-price { font-size: 26px; }
.product-card--school .product-bottom .button { background: #fff; color: var(--green); margin-top: 12px; border-color: #b9cbbb; }
.product-card--school .product-bottom .button:hover { background: #eaf0e9; }
.catalog-footnote { margin-top: 20px; color: var(--muted); font-size: 13px; line-height: 1.85; word-break: keep-all; }
.empty-state { grid-column: 1/-1; border: 1px solid var(--line); border-radius: var(--radius); padding: 48px 24px; background: var(--soft); text-align: center; color: var(--text); font-size: 16px; }
.empty-state > span { display: block; margin-top: 8px; font-size: 14px; }
.empty-state .button { margin-top: 24px; }
.inline-notice { padding: 16px; background: var(--soft); font-size: 14px; }
@supports (grid-template-rows: subgrid) {
  @media (min-width: 701px) {
    .product-card:not(.product-card--school) { display: grid; grid-template-rows: subgrid; grid-row: span 3; row-gap: 0; }
    .product-card:not(.product-card--school) .product-body { display: contents; }
  }
}

/* Evidence, comparison, help. No invented social proof. */
.sales-section { display: grid; grid-template-columns: 1fr auto 1.25fr auto; align-items: center; gap: 28px; padding: 28px; margin-top: 8px; border-block: 1px solid var(--line); background: #f6f8f5; }
.sales-intro h2 { font-size: 16px; font-weight: 650; letter-spacing: -.3px; }
.sales-intro p, .sales-meta p { margin-top: 4px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.sales-metric { display: flex; flex-direction: column; gap: 4px; }
.sales-metric strong { font-size: 32px; font-weight: 700; line-height: 1.25; letter-spacing: -.8px; font-variant-numeric: tabular-nums; }
.sales-metric span { color: var(--text); font-size: 13px; }
.sales-section > .text-link { font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
.section { padding-block: 56px; border-bottom: 1px solid var(--line); }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.section-heading h2 { font-size: 26px; line-height: 1.4; font-weight: 700; letter-spacing: -.7px; }
.section-heading p { font-size: 14px; color: var(--muted); }
.comparison-content { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.table-scroll { overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-color: #95a698 #f0f4f0; }
.comparison-table { width: 100%; min-width: 760px; border-collapse: collapse; table-layout: fixed; font-size: 14px; }
.comparison-table th, .comparison-table td { padding: 24px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); word-break: keep-all; overflow-wrap: anywhere; }
.comparison-table th:first-child { position: sticky; left: 0; z-index: 1; width: 144px; background: #f4f7f3; font-size: 14px; font-weight: 600; color: var(--text); }
.comparison-table thead th { background: #f4f7f3; font-size: 18px; font-weight: 650; }
.comparison-table thead .eyebrow { display: none; }
.comparison-table tr:last-child th, .comparison-table tr:last-child td { border-bottom: 0; }
.feature-list { list-style: none; padding: 0; display: grid; gap: 10px; }
.feature-list li { position: relative; padding-left: 14px; color: var(--text); font-size: 14px; line-height: 1.8; word-break: keep-all; }
.feature-list li::before { content: ""; position: absolute; left: 0; top: .75em; width: 4px; height: 4px; border-radius: 50%; background: #61816b; }
.comparison-price { font-size: 23px; font-weight: 700; letter-spacing: -.5px; }
.comparison-price-note { display: block; margin-top: 8px; color: var(--muted); font-size: 13px; line-height: 1.75; }
.table-scroll-hint { display: none; margin-bottom: 16px; font-size: 13px; color: var(--text); }
.steps { padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 32px; }
.steps li { display: flex; align-items: flex-start; gap: 16px; }
.step-number { display: grid; place-items: center; flex: 0 0 32px; height: 32px; border: 1px solid #c1d1c4; border-radius: 50%; color: var(--green); font-size: 13px; font-weight: 650; }
.steps h3 { margin: 3px 0 10px; font-size: 17px; line-height: 1.5; letter-spacing: -.4px; }
.steps p { color: var(--text); font-size: 14px; line-height: 1.85; word-break: keep-all; }
.future-chip { display: inline-block; margin-left: 4px; padding: 2px 6px; border: 1px solid #ccd7cd; border-radius: 3px; color: var(--muted); font-size: 13px; font-weight: 500; white-space: nowrap; vertical-align: middle; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { min-height: 68px; padding: 20px 4px; display: flex; align-items: center; justify-content: space-between; gap: 20px; list-style: none; cursor: pointer; font-size: 16px; font-weight: 550; word-break: keep-all; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex: 0 0 28px; text-align: center; color: var(--muted); font-size: 24px; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-answer { padding: 0 44px 24px 4px; color: var(--text); font-size: 15px; line-height: 1.9; word-break: keep-all; }
/* Product-scoped help retains the catalog's quiet retail styling. */
.faq-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; }
.faq-toolbar label { font-size: 14px; font-weight: 600; }
.faq-toolbar select { min-height: 46px; max-width: 100%; padding: 10px 36px 10px 12px; border: 1px solid #bfcfc1; border-radius: 6px; background: #fff; font-size: 16px; }
.faq-toolbar p { color: var(--muted); font-size: 14px; }
.faq-summary-copy { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 12px; min-width: 0; }
.faq-question { flex: 1 1 240px; overflow-wrap: anywhere; }
.faq-scope { display: inline-block; border: 1px solid #c8d6cd; border-radius: 4px; padding: 2px 8px; background: #edf4ef; color: #28563c; font-size: 13px; line-height: 1.7; font-weight: 600; white-space: nowrap; }
.faq-scope[data-scope=max] { color: #3d4a6b; border-color: #ced5e4; background: #f0f2f8; }
.faq-scope[data-scope=school] { color: #555237; border-color: #d5d4c4; background: #f6f5eb; }
.faq-scope[data-scope=all] { color: #45534b; border-color: #d2dad4; background: #f4f6f4; }
.faq-answer { white-space: pre-line; overflow-wrap: anywhere; }
.product-faq { padding: 28px; border-top: 1px solid var(--line); }
.product-faq h3 { font-size: 19px; line-height: 1.6; }
.product-faq .faq-list { margin-top: 16px; }
.product-faq summary { font-size: 15px; }
.product-faq .empty-state { padding: 24px 16px; font-size: 14px; }
@media (max-width: 700px) {
  .faq-toolbar { gap: 10px 16px; }
  .faq-toolbar label { flex-basis: 100%; }
  .faq-toolbar .button { font-size: 14px; padding-inline: 12px; }
  .faq-toolbar select { flex: 1; min-width: 0; }
  .faq-toolbar p { flex-basis: 100%; }
  .product-faq { padding: 24px 20px; }
}
.review-note { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 36px; }
.review-note h2 { font-size: 19px; font-weight: 650; letter-spacing: -.5px; }
.review-note p { margin-top: 6px; color: var(--text); font-size: 14px; }
.review-note .button { flex-shrink: 0; }
.site-footer { border-top: 1px solid var(--line); background: #f4f6f3; color: var(--text); }
.footer-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding-block: 36px 24px; }
.footer-wordmark { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); font-size: 23px; font-weight: 750; letter-spacing: -.7px; }
.footer-top p { margin-top: 4px; font-size: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.footer-links > * { display: flex; align-items: center; min-width: 44px; min-height: 44px; padding: 0; font-size: 14px; white-space: nowrap; }
.footer-links > *:hover { text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; border-top: 1px solid #d7e1d8; padding-block: 24px 32px; font-size: 13px; line-height: 1.9; }
.footer-bottom > span { flex-shrink: 0; font-size: 13px; }

/* Product modal. One visual language for all four dialogs. */
.modal { width: min(936px,calc(100% - 40px)); max-width: calc(100% - 40px); max-height: calc(100dvh - 48px); padding: 0; border: 1px solid #ced8cf; border-radius: 12px; color: var(--ink); background: #fff; box-shadow: 0 24px 80px #10231730; overscroll-behavior: contain; }
.modal::backdrop { background: #10231999; }
.modal-header { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 24px; background: #fff; border-bottom: 1px solid var(--line); }
.modal-label { color: var(--text); font-size: 14px; font-weight: 600; }
.close-button { font-size: 28px; font-weight: 300; line-height: 1; }
.modal-header h2 { font-size: 24px; line-height: 1.4; letter-spacing: -.6px; }
.product-dialog-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
.product-dialog-info { min-width: 0; padding: 28px; }
.detail-art { display: grid; place-items: center; height: 200px; padding: 16px; margin-bottom: 24px; overflow: hidden; border-radius: 8px; background: #f0f3f0; }
.detail-art img { width: auto; max-width: 100%; height: 100%; object-fit: contain; border-radius: 5px; }
.detail-art[data-plan=school] img { width: 120px; }
.product-dialog-info > .eyebrow { color: var(--green); font-size: 13px; font-weight: 600; }
.product-dialog-info h2 { margin-top: 8px; font-size: 28px; line-height: 1.35; letter-spacing: -.8px; }
#product-dialog-description { margin-top: 12px; color: var(--text); font-size: 15px; line-height: 1.85; word-break: keep-all; }
.detail-facts { margin-block: 24px; padding-block: 16px; border-block: 1px solid var(--line); }
.detail-facts > div { display: grid; grid-template-columns: 64px minmax(0,1fr); gap: 12px; font-size: 14px; }
.detail-facts dt { color: var(--muted); }
.detail-facts dd { margin: 0; word-break: keep-all; }
.detail-notes { padding: 18px; margin-top: 24px; border-radius: 6px; background: #f3f6f2; }
.detail-notes:empty { display: none; }
.detail-notes h3 { margin-bottom: 10px; font-size: 14px; }
.detail-notes ul { padding-left: 16px; }
.detail-notes li { margin-top: 8px; color: var(--text); font-size: 13px; line-height: 1.85; word-break: keep-all; }
#product-source-link { margin-top: 16px; font-size: 13px; }
.product-selection { min-width: 0; padding: 28px; background: #fafbf9; border-left: 1px solid var(--line); }
.selection-eyebrow { margin-bottom: 28px; font-size: 21px; font-weight: 650; letter-spacing: -.4px; }
.product-selection label { display: block; margin-bottom: 10px; font-size: 14px; font-weight: 600; }
#product-option { width: 100%; min-width: 0; min-height: 52px; padding: 12px; border: 1px solid #b9c9bc; border-radius: 6px; background: #fff; font-size: 16px; }
.field-help { margin-top: 10px; color: var(--muted); font-size: 13px; line-height: 1.8; word-break: keep-all; }
.selected-option-label { color: var(--ink); overflow-wrap: anywhere; }
.managed-sale-state { font-size: 13px; font-weight: 600; color: #8b4936; margin-top: 8px; }
.managed-catalog-status { margin: 18px 0; padding: 14px 18px; border: 1px solid var(--line); background: var(--surface-soft, #f5f7f4); border-radius: 8px; }
.managed-catalog-status p { margin: 0; font-size: 13px; line-height: 1.7; color: var(--muted); }
.managed-catalog-status p:first-child { color: var(--ink); font-weight: 600; }
#catalog-update-notice:not([hidden]) { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding-top: 12px; font-size: 14px; }
#catalog-reload { min-height: 44px; font-size: 14px; }
.quantity-label { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 28px; }
.quantity-label span { color: var(--muted); font-size: 13px; }
.quantity-control { display: inline-flex; align-items: center; height: 46px; border: 1px solid #bdcbbf; border-radius: 6px; background: #fff; overflow: hidden; }
.quantity-control button { min-width: 44px; min-height: 44px; padding: 0; display: grid; place-items: center; font-size: 22px; }
.quantity-control button:hover:not(:disabled) { background: #edf3ed; }
.quantity-control button:disabled { color: #89958b; }
/* Keep the complete keyboard ring inside the clipped stepper/scroll region. */
.quantity-control button:focus-visible, .quantity-control input:focus-visible, .table-scroll:focus-visible { outline-offset: -3px; }
.quantity-control input { width: 54px; min-width: 0; height: 44px; padding: 0; border: 0; border-inline: 1px solid #e0e7e0; background: #fff; text-align: center; font-size: 16px; appearance: textfield; -moz-appearance: textfield; }
.quantity-control input::-webkit-inner-spin-button, .quantity-control input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.quantity-control output, .quantity-control .quantity-value, .quantity-control > span { min-width: 44px; font-size: 16px; text-align: center; }
.detail-total { margin-top: 28px; padding-top: 20px; border-top: 1px solid #d7e1d6; }
.detail-total > div, .cart-summary dl > div, .checkout-total > div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-top: 10px; }
.detail-total dt, .cart-summary dt, .checkout-total dt { font-size: 14px; color: var(--text); }
.detail-total dd, .cart-summary dd, .checkout-total dd { margin: 0; text-align: right; font-size: 17px; font-variant-numeric: tabular-nums; }
.total-line { padding-top: 10px; }
.total-line dt { color: var(--ink); font-weight: 650; }
.total-line dd { color: var(--ink); font-size: 28px; font-weight: 750; letter-spacing: -.8px; }
#add-to-cart { margin-top: 24px; }
.selection-status { min-height: 0; margin-top: 12px; color: var(--green); font-size: 14px; line-height: 1.8; }
.selection-status:empty { margin: 0; }
.product-selection > [data-cart-open] { margin-top: 12px; }

/* Cart: scrollable items, persistent summary; short screens can scroll all. */
.cart-dialog { width: min(500px,100%); max-width: 100%; height: 100dvh; max-height: 100dvh; margin: 0 0 0 auto; border-radius: 0; border-block: 0; border-right: 0; }
.cart-dialog[open] { display: flex; flex-direction: column; }
.cart-dialog .modal-header { flex-shrink: 0; padding-block: 18px; }
.cart-intro { flex-shrink: 0; padding: 16px 24px; color: var(--text); font-size: 14px; border-bottom: 1px solid var(--line); }
.cart-items { flex: 1; min-height: 0; padding: 0 24px; overflow-y: auto; overscroll-behavior: contain; }
.cart-items > .empty-state { margin-top: 24px; border: 0; background: none; padding-inline: 8px; }
.cart-empty-mark { display: none; }
.cart-row { padding-block: 24px; border-bottom: 1px solid var(--line); }
.cart-row-heading { display: flex; align-items: flex-start; gap: 12px; }
.cart-plan-mark { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 48px; border-radius: 6px; background: #e5f0e6; color: var(--green); font-size: 20px; font-weight: 700; }
.cart-plan-mark[data-plan=max] { background: #e8ebf4; color: #3e4864; }
.cart-plan-mark[data-plan=school] { background: #edf0e9; color: #56654a; }
.cart-row-copy { min-width: 0; flex: 1; }
.cart-row h3 { font-size: 17px; line-height: 1.5; letter-spacing: -.4px; }
.cart-option { margin-top: 5px; color: var(--text); font-size: 13px; line-height: 1.85; overflow-wrap: anywhere; }
.remove-item { min-width: 44px; min-height: 44px; padding: 0; color: var(--muted); font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
.cart-row-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; }
.cart-row-price { text-align: right; }
.cart-row-price strong { font-size: 21px; letter-spacing: -.5px; }
.cart-row-price small { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; }
.cart-summary { flex-shrink: 0; padding: 20px 24px 24px; border-top: 1px solid #d2ded3; background: #f3f7f1; }
.cart-feedback { margin-bottom: 12px; color: var(--green); font-size: 13px; line-height: 1.8; }
.cart-feedback:empty { display: none; }
.cart-summary > .button-primary { margin-top: 20px; }
.cart-summary > .button-text { margin-top: 4px; font-size: 14px; }
.storage-status { margin-top: 6px; color: var(--text); font-size: 13px; line-height: 1.8; }

.checkout-dialog { width: min(580px,calc(100% - 40px)); }
.checkout-content, .info-content { padding: 28px; }
.checkout-content h2, .info-content h2 { font-size: 26px; line-height: 1.4; letter-spacing: -.7px; }
.checkout-notice { margin-top: 16px; padding: 16px; border: 1px solid #d7e2d5; border-radius: 6px; color: var(--text); background: #f3f7f1; font-size: 14px; line-height: 1.9; }
.checkout-steps { display: flex; justify-content: space-between; gap: 8px; padding: 18px 0; margin-top: 24px; list-style: none; border-block: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.checkout-steps li { flex: 1; text-align: center; }
.checkout-steps .current { font-weight: 700; color: var(--green); }
.checkout-items { margin-top: 8px; }
.checkout-item { padding-block: 18px; border-bottom: 1px solid var(--line); }
.checkout-item-title { font-size: 16px; font-weight: 650; }
.checkout-item-option { margin-top: 6px; color: var(--text); font-size: 13px; line-height: 1.8; }
.checkout-item-price { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; font-size: 14px; }
.checkout-total { margin-top: 24px; }
.checkout-total dd { font-size: 28px; font-weight: 700; letter-spacing: -.7px; }
#payment-disabled { margin-top: 24px; font-size: 14px; }
#back-to-cart { margin-top: 4px; font-size: 14px; }
.info-dialog { width: min(620px,calc(100% - 40px)); }
.info-content h2 { margin-bottom: 20px; }
.info-content p { margin-top: 14px; color: var(--text); font-size: 15px; line-height: 1.9; word-break: keep-all; }
.info-content dl { margin-top: 20px; font-size: 14px; }
.info-content dl > div { display: grid; grid-template-columns: 100px minmax(0,1fr); gap: 16px; padding-block: 14px; border-bottom: 1px solid var(--line); }
.info-content dt { color: var(--muted); }
.info-content dd { margin: 0; word-break: keep-all; overflow-wrap: anywhere; }

@media (max-width: 1100px) {
  .header-inner { gap: 24px; }
  .site-nav { gap: 20px; }
  .order-link { display: none; }
  .cart-trigger-label { display: none; }
  .sales-section { gap: 20px; }
  .product-intro { padding-inline: 24px; }
  .product-bottom { padding-inline: 24px; }
}
@media (max-width: 900px) {
  :root { --gutter: 24px; }
  .header-inner { min-height: 80px; gap: 20px; }
  .brand-wordmark { font-size: 22px; }
  .site-nav { gap: 16px; }
  .site-nav a { font-size: 13px; }
  .header-actions { gap: 12px; }
  .hero { padding-block: 28px; }
  h1 { font-size: 36px; }
  .hero-actions { gap: 12px; }
  .hero-actions .button { padding-inline: 16px; }
  .product-grid { gap: 20px; }
  .product-art { aspect-ratio: 1.9; padding: 20px; }
  .product-body h3 { font-size: 23px; }
  .product-card--school { grid-template-columns: 80px minmax(0,1fr) minmax(224px,260px); gap: 20px; padding: 24px; }
  .sales-section { grid-template-columns: 1fr auto; padding: 24px; }
  .sales-metric { align-items: flex-end; }
  .sales-meta { grid-column: 1; }
  .sales-section > .text-link { justify-self: end; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps p { max-width: 580px; }
  .table-scroll-hint { display: block; }
  .section { padding-block: 44px; }
  .footer-top { display: block; }
  .footer-links { margin-top: 16px; }
  .product-dialog-info, .product-selection { padding: 24px; }
}
@media (max-width: 700px) {
  :root { --gutter: 20px; }
  html { scroll-padding-top: 92px; }
  .preview-notice { padding-inline: 12px; }
  .header-inner { justify-content: space-between; min-height: 72px; gap: 12px; }
  .brand { gap: 9px; }
  .brand-symbol { width: 32px; height: 34px; font-size: 25px; border-radius: 6px 6px 6px 2px; }
  .brand-wordmark { font-size: 22px; }
  .brand-wordmark small { font-size: 9px; letter-spacing: 1.2px; }
  .header-actions { gap: 8px; }
  .cart-trigger { min-width: 48px; gap: 6px; }
  .menu-toggle { display: grid; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; padding: 12px var(--gutter); border-bottom: 1px solid var(--line); background: #fff; }
  .site-nav.is-open { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; }
  .site-nav a { min-height: 48px; padding: 4px; font-size: 14px; }
  .hero { display: block; padding-block: 20px 16px; }
  .breadcrumb { margin-bottom: 10px; }
  h1 { font-size: 32px; letter-spacing: -1.1px; }
  .hero-description { margin-top: 10px; font-size: 15px; }
  .hero-actions { margin-top: 4px; gap: 20px; }
  .hero-actions .button { min-height: 44px; padding: 10px 16px; font-size: 14px; }
  .hero-actions .text-link { font-size: 14px; }
  .products-section { padding-top: 4px; }
  .catalog-heading { display: block; margin-bottom: 8px; }
  .catalog-heading h2 { font-size: 19px; }
  .data-caption { margin-top: 6px; }
  .catalog-toolbar { display: block; }
  .filter-group { justify-content: flex-start; gap: 24px; }
  .filter-button { min-height: 48px; font-size: 14px; }
  .search-field { width: 100%; margin-block: 12px; }
  .result-count { min-height: 36px; }
  .product-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: 16px; }
  .product-card, .product-card--school { display: grid; grid-template-columns: 88px minmax(0,1fr); grid-template-rows: auto auto; align-items: start; gap: 0 16px; padding: 20px 16px; }
  .product-body, .product-card--school .product-body { display: contents; }
  .product-art, .product-card--school .product-art { grid-row: 1; width: 88px; height: 88px; aspect-ratio: 1; padding: 6px; border-radius: 6px; background: #edf2ec; }
  .product-art img { width: 100%; height: 100%; object-fit: contain; border-radius: 3px; }
  .product-card--school .product-art { padding: 16px; }
  .product-intro, .product-card--school .product-intro { grid-column: 2; padding: 0; }
  .product-intro .eyebrow { display: none; }
  .product-body h3, .product-card--school h3 { font-size: 20px; line-height: 1.4; letter-spacing: -.6px; }
  .product-description { margin-top: 6px; font-size: 14px; line-height: 1.75; }
  .product-bottom, .product-card--school .product-bottom { grid-column: 1/-1; padding: 16px 0 0; }
  .product-period, .product-card--school .product-period { margin-bottom: 12px; padding-bottom: 0; border: 0; font-size: 13px; line-height: 1.8; }
  .product-price, .product-card--school .product-price { font-size: 27px; letter-spacing: -.8px; }
  .price-label, .price-from { font-size: 13px; }
  .price-unit { font-size: 14px; }
  .product-option-note { margin-top: 6px; font-size: 14px; line-height: 1.8; }
  .product-bottom .button, .product-card--school .product-bottom .button { min-height: 46px; margin-top: 16px; padding: 10px 12px; gap: 8px; font-size: 14px; }
  .catalog-footnote { margin-top: 16px; }
  .sales-section { gap: 16px; padding: 20px; }
  .sales-intro h2 { font-size: 15px; }
  .sales-metric strong { font-size: 26px; }
  .sales-meta { grid-column: 1/-1; }
  .sales-section > .text-link { grid-column: 1/-1; justify-self: start; }
  .section { padding-block: 36px; }
  .section-heading { display: block; margin-bottom: 20px; }
  .section-heading h2 { font-size: 24px; }
  .section-heading p { margin-top: 8px; }
  .comparison-table th, .comparison-table td { padding: 20px 16px; }
  .comparison-table th:first-child { width: 112px; }
  .faq-list summary { font-size: 15px; }
  .faq-answer { padding-right: 24px; font-size: 14px; }
  .review-note { display: block; padding-block: 28px; }
  .review-note .button { margin-top: 16px; }
  .footer-top { padding-block: 28px 20px; }
  .footer-links { gap: 4px 20px; }
  .footer-bottom { display: block; padding-block: 20px 28px; }
  .footer-bottom > span { display: block; margin-top: 16px; }
  .modal { width: calc(100% - 24px); max-width: calc(100% - 24px); max-height: calc(100dvh - 24px); border-radius: 10px; }
  .modal-header { padding: 12px 16px; }
  .product-dialog-grid { grid-template-columns: minmax(0,1fr); }
  .product-dialog-info, .product-selection { padding: 24px 20px; }
  .detail-art { height: 168px; padding: 12px; margin-bottom: 20px; }
  .product-dialog-info h2 { font-size: 25px; }
  .product-selection { border-left: 0; border-top: 1px solid var(--line); }
  .selection-eyebrow { margin-bottom: 24px; }
  .cart-dialog { width: 100%; max-width: 100%; height: 100dvh; max-height: 100dvh; border: 0; border-radius: 0; }
  .cart-dialog .modal-header { padding: 14px 20px; }
  .cart-items { padding-inline: 20px; }
  .cart-intro { padding-inline: 20px; }
  .cart-summary { padding: 16px 20px 20px; }
  .cart-row h3 { font-size: 16px; }
  .cart-row-price strong { font-size: 20px; }
  .cart-row-bottom { gap: 12px; }
  .checkout-content, .info-content { padding: 24px 20px; }
  .checkout-content h2, .info-content h2 { font-size: 24px; }
  .checkout-item-price { flex-wrap: wrap; }
  .info-content dl > div { grid-template-columns: 80px minmax(0,1fr); gap: 12px; }
}
@media (max-width: 375px) {
  :root { --gutter: 16px; }
  .brand-wordmark { font-size: 20px; }
  .header-actions { gap: 4px; }
  .filter-group { gap: 20px; }
  .filter-button { font-size: 13px; }
  .product-card, .product-card--school { grid-template-columns: 72px minmax(0,1fr); gap: 0 12px; padding-inline: 12px; }
  .product-art, .product-card--school .product-art { width: 72px; height: 80px; }
  .product-body h3, .product-card--school h3 { font-size: 18px; }
  .product-price, .product-card--school .product-price { font-size: 25px; }
  .product-price-line { gap: 6px; }
  .sales-section { padding-inline: 16px; }
}
@media (max-height: 600px) {
  .cart-dialog[open] { display: block; overflow-y: auto; }
  .cart-items { min-height: 0; max-height: none; overflow: visible; }
  .cart-summary { position: static; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

.institution-contact {margin-top:24px;padding:20px 0;border-block:1px solid var(--line,#d5d5d5);display:flex;align-items:center;justify-content:space-between;gap:16px}
.institution-contact h3 {margin:0 0 4px;font-size:1.1rem}.institution-contact p {margin:0;line-height:1.6;color:var(--muted,#515151)}
.institution-contact a {flex-shrink:0;min-height:44px}
@media (max-width:650px){.institution-contact{align-items:flex-start;flex-direction:column;gap:10px}}

#order-choices{margin:20px 0}#order-choices h3{margin:0 0 5px}#order-choices>p,#order-choices fieldset p{font-size:.95rem;line-height:1.6}#order-choices fieldset{border:0;padding:0;display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}#order-choices label{cursor:pointer;display:inline-flex;min-height:44px;align-items:center;gap:6px;border:1px solid #c2d1c6;padding:6px 12px;border-radius:8px}#order-choices label:has(:checked){color:#194c31;background:#eef5ed;border-color:#427352}#order-choices fieldset p{width:100%;margin:4px 0;display:none}#order-choices fieldset:has([value=guest]:checked) .guest-guide,#order-choices fieldset:has([value=member]:checked) .member-guide{display:block}
