/* ==========================================================
   داروچین — inner pages (shop, product, checkout, account, content)
   Built on the Apothecary tokens (daroochin-apothecary.css):
   paper, slate ink, dispensary teal, mint, kraft. Same label language:
   perforated stubs, notched corners, dotted leaders.
   ========================================================== */

.page-inner main { min-height: 50vh; }

/* ---------------- page head + breadcrumbs ---------------- */
.p-head { padding-block: clamp(28px, 4vw, 48px) clamp(28px, 4vw, 56px); }
.p-head h1 { font-size: var(--step-head); font-weight: 900; margin-top: 14px; }
.p-head p { font-size: 1.075rem; max-width: 60ch; margin-top: 12px; color: var(--ink); }
.p-crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: .875rem; color: var(--muted); }
.p-crumbs li + li::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-inline: 4px 10px; border-radius: 50%; background: var(--surface-2); vertical-align: middle; }
.p-crumbs a:hover { color: var(--accent); }
.p-crumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* ---------------- forms ---------------- */
.p-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.p-field { display: grid; gap: 6px; align-content: start; min-width: 0; margin: 0; padding: 0; border: 0; }
.p-field--full { grid-column: 1 / -1; }
.p-field > span, .p-field > legend { font-size: .9rem; font-weight: 600; padding: 0; }
.p-field input, .p-field textarea, .p-field select {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 0; border-radius: var(--btn-radius);
  background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--surface-2); outline: none; resize: vertical;
  transition: box-shadow .2s;
}
.p-field input:focus, .p-field textarea:focus, .p-field select:focus { box-shadow: inset 0 0 0 2px var(--accent); }
.p-field input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--danger); }
.p-field small { font-size: .82rem; color: var(--muted); }
.p-field small.is-err { color: var(--danger); font-weight: 600; }
.p-form__actions { grid-column: 1 / -1; display: flex; gap: 10px; flex-wrap: wrap; }
.p-radios { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.p-radios legend { margin-bottom: 8px; width: 100%; }
.p-ok { display: flex; align-items: center; gap: 8px; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--mint); font-weight: 600; }
.p-ok svg { color: var(--accent); }
@media (max-width: 640px) { .p-form { grid-template-columns: minmax(0, 1fr); } }

.s-check { display: flex; align-items: center; gap: 10px; cursor: pointer; padding: 6px 0; }
.s-check input { width: 19px; height: 19px; accent-color: var(--accent); flex-shrink: 0; }
.s-check small { margin-inline-start: auto; color: var(--muted); }
.s-switch { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; cursor: pointer; font-weight: 500; }
.s-switch input { appearance: none; width: 42px; height: 24px; border-radius: 24px; background: var(--surface-2); position: relative; cursor: pointer; transition: background-color .25s; flex-shrink: 0; order: 2; }
.s-switch input::after { content: ""; position: absolute; top: 3px; right: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .3s var(--ease-out); box-shadow: 0 1px 3px rgba(0, 0, 0, .2); }
.s-switch input:checked { background: var(--accent); }
.s-switch input:checked::after { transform: translateX(-18px); }

.d-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.page-inner .d-chips button { height: 40px; padding: 0 16px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--surface-2); font-weight: 600; font-size: .925rem; transition: background-color .2s, color .2s, box-shadow .2s; }
.page-inner .d-chips button:hover { box-shadow: inset 0 0 0 1.5px var(--accent); }
.page-inner .d-chips button[aria-selected="true"], .page-inner .d-chips button[aria-checked="true"] { background: var(--accent); color: #fff; box-shadow: none; }

.p-pages { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 48px; }
.p-pages a, .p-pages span { min-width: 44px; height: 44px; padding: 0 8px; display: grid; place-items: center; border-radius: 10px; font-weight: 600; }
.p-pages a { background: var(--paper); transition: background-color .2s, color .2s; }
.p-pages a:hover { background: var(--mint); }
.p-pages a[aria-current] { background: var(--ink); color: var(--paper); }
.p-seo { padding-block: 56px 96px; max-width: 920px; }
.p-seo h2 { font-size: 1.3rem; margin-bottom: 10px; }
.p-seo p { color: var(--muted); }
.p-seo a { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.badge-inline { display: inline-grid; place-items: center; min-width: 20px; height: 20px; border-radius: 10px; background: var(--accent); color: #fff; font-size: .75rem; }
.is-disabled { opacity: .45; pointer-events: none; }

/* ==========================================================
   SHOP
   ========================================================== */
.p-head--shop { background: var(--surface); }
.s-quick { display: flex; gap: 8px; margin-top: 22px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.s-quick::-webkit-scrollbar { display: none; }
.s-quick button { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 10px; background: var(--paper); font-weight: 600; white-space: nowrap; transition: background-color .2s, color .2s; }
.s-quick button[aria-pressed="true"] { background: var(--accent); color: #fff; }

.s-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 32px; padding-block: 36px 24px; align-items: start; }
.s-filters { position: sticky; top: 156px; max-height: calc(100vh - 176px); overflow-y: auto; background: var(--paper); border-radius: var(--radius); padding: 18px 20px; }
.s-filters__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-bottom: 8px; }
.s-filters__head h2 { font-size: 1.15rem; font-family: var(--font-text); font-weight: 800; }
.s-filters__head .link-arrow { color: var(--danger); font-size: .875rem; }
.s-group { padding-block: 12px; border-top: 2px dotted var(--surface-2); }
.s-group summary { display: flex; justify-content: space-between; align-items: center; font-weight: 700; cursor: pointer; list-style: none; padding-block: 4px; }
.s-group summary::-webkit-details-marker { display: none; }
.s-group[open] summary svg { rotate: 180deg; }
.s-group ul { margin-top: 6px; }
.s-range { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.s-range label { display: grid; gap: 4px; font-size: .82rem; color: var(--muted); }
.s-range input { height: 44px; padding: 0 10px; border: 0; border-radius: 8px; background: var(--bg); outline: none; font-variant-numeric: tabular-nums; }
.s-range input:focus { box-shadow: inset 0 0 0 2px var(--accent); }
.s-note { color: var(--muted); font-size: .8rem; }
.s-only-mobile { display: none !important; }

.s-toolbar { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.s-count { color: var(--muted); }
.s-count b { color: var(--ink); }
.s-sort { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; flex-wrap: wrap; font-size: .925rem; }
.s-sort > span { color: var(--muted); margin-inline-end: 6px; }
.s-sort button { padding: 7px 12px; border-radius: 8px; color: var(--muted); font-weight: 600; transition: background-color .2s, color .2s; }
.s-sort button:hover { color: var(--ink); }
.s-sort button[aria-checked="true"] { background: var(--paper); color: var(--accent); }
.s-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.s-chips button { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 999px; background: var(--mint); font-size: .875rem; font-weight: 600; }
.s-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.s-item { display: flex; }
.s-item .tag-card { width: 100%; }
.s-none { text-align: center; padding: 48px 0; display: grid; gap: 14px; justify-items: center; color: var(--muted); }

@media (max-width: 1100px) { .s-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 899px) {
  .s-layout { grid-template-columns: minmax(0, 1fr); padding-top: 20px; }
  .s-only-mobile { display: inline-flex !important; }
  .s-filters { position: fixed; inset: auto 0 0 0; top: auto; z-index: 951; max-height: 86vh; border-radius: 22px 22px 0 0; transform: translateY(105%); transition: transform .45s var(--ease-out); padding-bottom: 24px; box-shadow: var(--shadow-float); }
  .s-filters.is-open { transform: none; }
  .s-sort { margin: 0; width: 100%; overflow-x: auto; flex-wrap: nowrap; }
  .s-sort button { white-space: nowrap; }
}
@media (max-width: 560px) { .s-grid { gap: 10px; } }

/* ==========================================================
   PRODUCT
   ========================================================== */
.pr-top { padding-top: 24px; }
.pr-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 4vw, 64px); margin-top: 20px; align-items: start; }
.pr-gallery { position: sticky; top: 150px; display: grid; grid-template-columns: 84px 1fr; gap: 12px; }
.pr-gallery__main { position: relative; grid-column: 2; grid-row: 1; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.pr-gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.pr-gallery__main .tag-card__stamp { top: 16px; right: 16px; }
.pr-thumbs { grid-column: 1; grid-row: 1; display: grid; gap: 10px; align-content: start; }
.pr-thumbs button { aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--paper); opacity: .6; box-shadow: inset 0 0 0 2px transparent; transition: opacity .2s, box-shadow .2s; }
.pr-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.pr-thumbs button[aria-selected="true"] { opacity: 1; box-shadow: 0 0 0 2.5px var(--accent); }
.pr-info { display: grid; gap: 18px; align-content: start; }
.pr-brand { color: var(--accent); font-weight: 700; width: fit-content; }
.pr-info h1 { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.6rem); font-weight: 900; line-height: 1.3; }
.pr-sub { color: var(--muted); margin-top: -8px; direction: rtl; }
.pr-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.pr-badges li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 8px; background: var(--mint); font-size: .875rem; font-weight: 600; color: var(--field); }
.pr-size { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pr-size > span { font-weight: 700; margin-inline-end: 4px; }
.pr-size button { display: grid; text-align: start; padding: 10px 16px; border-radius: 10px; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--surface-2); transition: box-shadow .2s; }
.pr-size button small { color: var(--muted); font-size: .8rem; }
.pr-size button[aria-checked="true"] { box-shadow: inset 0 0 0 2.5px var(--accent); }
.pr-buy { display: grid; gap: 12px; padding: 20px; background: var(--paper); border-radius: var(--radius); }
.pr-price { font-size: 2rem !important; }
.pr-buy__row { display: flex; gap: 10px; align-items: center; }
.pr-buy .qty { background: var(--bg); padding: 5px; }
.pr-buy .qty button { width: 38px; height: 38px; }
.pr-add { flex: 1; min-height: 52px; }
.pr-wish { width: 52px; height: 52px; background: var(--bg); }
.pr-wish[aria-pressed="true"] { color: var(--danger); }
.pr-limit { color: var(--muted); font-size: .82rem; }
.pr-ship { display: grid; gap: 0; margin: 0; }
.pr-ship div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 12px 0; }
.pr-ship div + div { border-top: 2px dotted var(--surface-2); }
.pr-ship dt { display: flex; align-items: center; gap: 6px; font-weight: 700; }
.pr-ship dd { margin: 0; color: var(--ink); }
.pr-note { display: grid; grid-template-columns: auto 1fr; gap: 14px; padding: 18px 20px; border-radius: var(--radius); background: var(--kraft); }
.pr-note__seal { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); color: var(--accent); }
.pr-note b { display: block; margin-bottom: 4px; }
.pr-note p { line-height: 1.85; }
.pr-note .link-arrow { margin-top: 8px; color: var(--accent); }

.pr-sticky { position: fixed; inset-inline: 0; bottom: 0; z-index: 400; background: var(--paper); box-shadow: 0 -12px 30px -18px rgba(23, 58, 64, .5); }
.pr-sticky__row { display: flex; align-items: center; gap: 14px; padding-block: 10px; }
.pr-sticky img { width: 52px; height: 52px; border-radius: 8px; object-fit: cover; background: var(--surface); }
.pr-sticky__row > div { flex: 1; display: grid; min-width: 0; }
.pr-sticky__row b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.pr-tabs { padding-block: clamp(56px, 7vw, 96px) 0; }
.pr-tabs__list { width: fit-content; margin-bottom: 28px; overflow-x: auto; max-width: 100%; }
.pr-tabs__list button { white-space: nowrap; }
.pr-panel { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.pr-panel.pr-prose { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
.pr-prose p { line-height: 1.95; margin-bottom: 14px; }
.pr-prose h3 { font-size: 1.2rem; margin: 18px 0 10px; }
.pr-spec { margin: 0; background: var(--paper); border-radius: var(--radius); padding: 6px 20px; }
.pr-spec div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; }
.pr-spec div + div { border-top: 2px dotted var(--surface-2); }
.pr-spec dt { color: var(--muted); }
.pr-spec dd { margin: 0; font-weight: 600; text-align: left; }
.pr-steps-list { list-style: decimal; padding-inline-start: 22px; display: grid; gap: 10px; }
.pr-inci { font-size: .95rem; line-height: 1.9; color: var(--muted); text-align: left; }
.pr-warn { display: grid; gap: 10px; list-style: disc; padding-inline-start: 22px; }
.pr-reviews { grid-template-columns: 1fr 1.3fr; }
.pr-reviews__empty h3 { font-size: 1.3rem; margin-bottom: 8px; }
.pr-reviews__empty p { color: var(--muted); }
.pr-review-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 22px; background: var(--paper); border-radius: var(--radius); }
.pr-review-form .btn { grid-column: 1 / -1; justify-self: start; }
.pr-stars { grid-column: 1 / -1; display: flex; gap: 4px; border: 0; padding: 0; margin: 0; align-items: center; flex-wrap: wrap; }
.pr-stars legend { font-weight: 600; font-size: .9rem; margin-bottom: 6px; width: 100%; }
.pr-stars button { color: var(--surface-2); transition: color .15s, transform .15s; }
.pr-stars button:hover { transform: scale(1.12); }
.pr-stars button[aria-pressed="true"] { color: #e0a526; }
.pr-related { margin-top: clamp(56px, 7vw, 96px); }

@media (max-width: 899px) {
  .pr-grid { grid-template-columns: minmax(0, 1fr); }
  .pr-gallery { position: static; grid-template-columns: minmax(0, 1fr); }
  .pr-gallery__main { grid-column: 1; }
  .pr-thumbs { grid-column: 1; grid-row: 2; grid-template-columns: repeat(4, 1fr); }
  .pr-panel, .pr-reviews { grid-template-columns: minmax(0, 1fr); }
  .pr-review-form { grid-template-columns: minmax(0, 1fr); }
  .pr-ship div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}

/* ==========================================================
   CHECKOUT
   ========================================================== */
.ck { padding-block: 24px clamp(56px, 7vw, 96px); }
.p-steps { display: flex; gap: 0; margin: 22px 0 28px; counter-reset: st; }
.p-steps li { flex: 1; position: relative; display: flex; align-items: center; gap: 10px; padding: 14px 18px; background: var(--paper); font-weight: 700; color: var(--muted); }
.p-steps li:first-child { border-radius: 0 var(--radius) var(--radius) 0; }
.p-steps li:last-child { border-radius: var(--radius) 0 0 var(--radius); }
.p-steps li + li { border-inline-start: 3px dotted var(--surface-2); }
.p-steps li a { display: flex; align-items: center; gap: 8px; color: var(--accent); }
.p-steps li.is-current { background: var(--accent); color: #fff; }
.p-steps li.is-done { color: var(--accent); }

.ck-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; }
.ck-main { display: grid; gap: 18px; }
.ck-card { background: var(--paper); border-radius: var(--radius); padding: clamp(18px, 2.5vw, 28px); }
.ck-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.ck-card__head h1, .ck-card__head h2 { font-size: 1.35rem; font-family: var(--font-display); font-weight: 900; }
.ck-card__head h1 span { font-family: var(--font-text); font-size: 1rem; color: var(--muted); font-weight: 500; }
.ck-card__head .link-arrow { color: var(--accent); }
.ck-clear { display: inline-flex; align-items: center; gap: 6px; color: var(--danger); font-weight: 600; font-size: .9rem; }
.ck-line { display: grid; grid-template-columns: 96px 1fr auto auto; gap: 18px; align-items: center; padding: 16px 0; }
.ck-line + .ck-line { border-top: 2px dotted var(--surface-2); }
.ck-line__img img { width: 96px; height: 96px; border-radius: 10px; object-fit: cover; background: var(--surface); }
.ck-line__info { display: grid; gap: 4px; min-width: 0; }
.ck-line__info > a { font-weight: 700; line-height: 1.55; }
.ck-line__info > a:hover { color: var(--accent); }
.ck-line__meta { display: flex; align-items: center; gap: 6px; font-size: .82rem; color: var(--accent); }
.ck-line__unit { font-size: .85rem; color: var(--muted); }
.ck-line__total { min-width: 130px; text-align: left; font-size: 1.05rem; }
.ck-empty { text-align: center; padding: 32px 0; display: grid; gap: 12px; justify-items: center; color: var(--muted); }
.ck-rx { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; background: var(--mint); }
.ck-rx > svg { color: var(--accent); }
.ck-rx p { color: var(--muted); font-size: .925rem; }
.ck-side { position: sticky; top: 156px; display: grid; gap: 14px; }
.ck-sum { display: grid; gap: 16px; }
.ck-sum h2 { font-size: 1.25rem; font-family: var(--font-display); font-weight: 900; }
.ck-sum dl { margin: 0; display: grid; gap: 10px; }
.ck-sum dl div { display: flex; justify-content: space-between; gap: 10px; }
.ck-sum dt { color: var(--muted); }
.ck-sum dt small { font-size: .8rem; }
.ck-sum dd { margin: 0; font-weight: 600; }
.ck-minus { color: var(--danger); }
.ck-sum__total { padding-top: 12px; border-top: 2px dashed var(--surface-2); }
.ck-sum__total dt { color: var(--ink); font-weight: 700; }
.ck-sum__total dd { font-size: 1.3rem; font-weight: 800; color: var(--accent); }
.ck-code { display: flex; gap: 8px; }
.ck-code input { flex: 1; min-width: 0; height: 46px; padding: 0 12px; border: 0; border-radius: var(--btn-radius); background: var(--bg); outline: none; letter-spacing: .05em; }
.ck-code input:focus { box-shadow: inset 0 0 0 2px var(--accent); }
.ck-code--wide { max-width: 460px; }
.ck-code__msg { display: block; margin-top: -8px; font-size: .82rem; color: var(--muted); }
.ck-code__msg.is-err { color: var(--danger); font-weight: 600; }
.ck-card > .ck-code__msg { margin-top: 8px; }
.ck-trust { display: grid; gap: 8px; padding: 0 6px; font-size: .875rem; color: var(--muted); }
.ck-trust li { display: flex; align-items: center; gap: 8px; }
.ck-trust svg { color: var(--accent); }
.ck-mini { display: grid; gap: 10px; max-height: 210px; overflow-y: auto; padding-bottom: 6px; border-bottom: 2px dotted var(--surface-2); }
.ck-mini li { display: grid; grid-template-columns: 48px 1fr auto; gap: 10px; align-items: center; font-size: .9rem; }
.ck-mini img { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; background: var(--surface); }
.ck-hint { color: var(--muted); font-size: .82rem; text-align: center; }
.ck-terms { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; cursor: pointer; }
.ck-terms input { width: 19px; height: 19px; margin-top: 3px; accent-color: var(--accent); flex-shrink: 0; }
.ck-terms a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

.ck-addresses, .ck-methods { display: grid; gap: 10px; }
.ck-opt { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--bg); cursor: pointer; box-shadow: inset 0 0 0 1.5px transparent; transition: box-shadow .2s, background-color .2s; }
.ck-opt:hover { background: var(--surface); }
.ck-opt:has(input:checked) { background: var(--paper); box-shadow: inset 0 0 0 2.5px var(--accent); }
.ck-opt:has(input:focus-visible) { outline: 2.5px solid var(--accent); outline-offset: 2px; }
.ck-opt__dot { width: 22px; height: 22px; flex-shrink: 0; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--surface-2); background: var(--paper); transition: box-shadow .2s; }
.ck-opt:has(input:checked) .ck-opt__dot, .pl-plan:has(input:checked) .ck-opt__dot { box-shadow: inset 0 0 0 6px var(--accent); }
.ck-opt__body { display: grid; gap: 2px; flex: 1; min-width: 0; }
.ck-opt__body > span { color: var(--ink); line-height: 1.7; }
.ck-opt__body small { color: var(--muted); }
.ck-opt > svg { color: var(--accent); }
.ck-opt > strong { white-space: nowrap; }
.ck-tag { display: inline-block; padding: 1px 8px; border-radius: 6px; background: var(--mint); color: var(--field); font-size: .75rem; font-weight: 700; vertical-align: middle; }
.ck-newaddr { margin-top: 16px; padding: 18px; border-radius: var(--radius-sm); background: var(--bg); }
.ck-days { display: flex; gap: 8px; margin-bottom: 14px; }
.ck-days button { flex: 1; height: 46px; border-radius: 10px; background: var(--bg); font-weight: 700; transition: background-color .2s, color .2s; }
.ck-days button[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.ck-slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.ck-slots button { display: grid; gap: 2px; justify-items: center; padding: 12px 6px; border-radius: 10px; background: var(--bg); font-weight: 600; box-shadow: inset 0 0 0 1.5px transparent; transition: box-shadow .2s, background-color .2s; }
.ck-slots button:hover { box-shadow: inset 0 0 0 1.5px var(--accent); }
.ck-slots button[aria-checked="true"] { background: var(--mint); box-shadow: inset 0 0 0 2.5px var(--accent); }
.ck-slots button:disabled { opacity: .45; cursor: not-allowed; text-decoration: line-through; }
.ck-slots small { font-size: .75rem; color: var(--danger); text-decoration: none; }
.ck-review dl { margin: 0; display: grid; gap: 10px; }
.ck-review dl div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; }
.ck-review dt { color: var(--muted); }
.ck-review dd { margin: 0; }

@media (max-width: 1000px) {
  .ck-grid { grid-template-columns: minmax(0, 1fr); }
  .ck-side { position: static; }
}
@media (max-width: 640px) {
  .p-steps li { padding: 12px 10px; font-size: .875rem; justify-content: center; }
  .ck-line { grid-template-columns: 72px 1fr; gap: 10px 14px; }
  .ck-line__img img { width: 72px; height: 72px; }
  .ck-line .qty { grid-column: 2; justify-self: start; }
  .ck-line__total { grid-column: 2; text-align: start; min-width: 0; }
  .ck-rx { grid-template-columns: auto 1fr; }
  .ck-rx .btn { grid-column: 1 / -1; }
  .ck-slots { grid-template-columns: repeat(2, 1fr); }
  .ck-opt { flex-wrap: wrap; }
  .ck-review dl div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}

/* order complete */
.oc { padding-block: clamp(40px, 6vw, 88px) clamp(64px, 8vw, 120px); }
.oc-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.oc-msg { display: grid; gap: 18px; justify-items: start; }
.oc-seal { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; animation: oc-pop .7s var(--ease-out) both; }
.oc-seal svg { width: 36px; height: 36px; }
@keyframes oc-pop { from { transform: scale(.4); opacity: 0; } }
.oc-msg h1 { font-size: var(--step-head); font-weight: 900; }
.oc-msg > p { font-size: 1.1rem; max-width: 44ch; }
.oc-time { display: grid; gap: 0; width: 100%; max-width: 460px; margin-top: 8px; }
.oc-time li { position: relative; display: flex; justify-content: space-between; gap: 12px; padding: 12px 0 12px 0; padding-inline-start: 34px; }
.oc-time li::before { content: ""; position: absolute; right: 6px; top: 18px; width: 12px; height: 12px; border-radius: 50%; background: var(--surface-2); }
.oc-time li + li::after { content: ""; position: absolute; right: 11px; top: -6px; height: 24px; border-right: 2px dotted var(--surface-2); }
.oc-time li.is-done::before { background: var(--accent); }
.oc-time li.is-now::before { background: #fff; box-shadow: 0 0 0 3px var(--accent); }
.oc-time small { color: var(--muted); }
.oc-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.oc-receipt { box-shadow: none; }
@media (max-width: 899px) { .oc-grid { grid-template-columns: minmax(0, 1fr); } }

/* ==========================================================
   LOGIN
   ========================================================== */
.page-login { background: var(--bg); }
.lg-bar { background: var(--bg); }
.lg-bar__row { display: flex; align-items: center; justify-content: space-between; min-height: 84px; }
.lg-bar .link-arrow { color: var(--accent); }
.lg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 0 12px 12px; min-height: calc(100svh - 84px); }
.lg-photo { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--field); }
.lg-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lg-photo figcaption { position: absolute; inset-inline: 0; bottom: 0; padding: 60px 28px 24px; color: #fff; font-size: 1.1rem; font-weight: 600; background: linear-gradient(to top, rgba(10, 25, 28, .75), transparent); }
.lg-side { display: grid; place-items: center; padding: 24px; background: var(--field); border-radius: var(--radius); }
.lg-card { width: min(440px, 100%); background: var(--paper); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); display: grid; gap: 22px; }
.lg-tabs { width: 100%; }
.lg-tabs button { flex: 1; }
.lg-form { display: grid; gap: 18px; }
.lg-form h1 { font-size: 1.7rem; font-weight: 900; }
.lg-form > p { color: var(--muted); line-height: 1.8; }
.lg-link { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; justify-self: start; }
.lg-otp { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.lg-otp input { height: 60px; text-align: center; font-size: 1.6rem; font-weight: 800; border: 0; border-radius: 12px; background: var(--bg); outline: none; box-shadow: inset 0 0 0 1.5px var(--surface-2); transition: box-shadow .2s; }
.lg-otp input:focus { box-shadow: inset 0 0 0 2.5px var(--accent); }
.lg-timer { color: var(--muted); font-size: .9rem; }
.lg-pass { position: relative; }
.lg-pass .icon-btn { position: absolute; left: 4px; bottom: 2px; }
.lg-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.lg-done { display: grid; gap: 12px; justify-items: center; text-align: center; padding: 24px 0; }
.lg-legal { font-size: .82rem; color: var(--muted); text-align: center; }
.lg-legal a { color: var(--accent); }
@media (max-width: 899px) { .lg { grid-template-columns: minmax(0, 1fr); min-height: 0; } .lg-photo { display: none; } .lg-side { background: transparent; padding: 0 0 24px; } }

/* ==========================================================
   ACCOUNT
   ========================================================== */
.pf { padding-block: 24px clamp(64px, 8vw, 110px); }
.pf-grid { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 28px; margin-top: 20px; align-items: start; }
.pf-side { position: sticky; top: 156px; display: grid; gap: 12px; }
.pf-user { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 18px; background: var(--paper); border-radius: var(--radius); }
.pf-user > div { display: grid; }
.pf-user span { font-size: .875rem; color: var(--muted); }
.pf-avatar { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; font-family: var(--font-display); font-weight: 900; font-size: 1.5rem; }
.pf-wallet { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; border-radius: var(--radius); background: var(--field); color: var(--field-ink); transition: transform .3s var(--ease-out); }
.pf-wallet:hover { transform: translateY(-2px); }
.pf-wallet b { font-size: 1.15rem; }
.pf-wallet small { font-weight: 400; font-size: .8rem; }
.pf-toggle { display: none; }
.pf-nav { background: var(--paper); border-radius: var(--radius); padding: 8px; }
.pf-nav a { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 10px; font-weight: 500; transition: background-color .2s, color .2s; }
.pf-nav a:hover { background: var(--bg); }
.pf-nav a[aria-current="page"] { background: var(--mint); color: var(--field); font-weight: 700; }
.pf-nav a svg { color: var(--accent); }
.pf-out { color: var(--danger); }
.pf-nav .pf-out svg { color: var(--danger); }
.pf-main { display: grid; gap: 18px; min-width: 0; }
.pf-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.pf-head h1 { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.3rem); font-weight: 900; }
.pf-head .link-arrow { color: var(--accent); }
.pf-block { background: var(--paper); border-radius: var(--radius); padding: clamp(18px, 2.5vw, 26px); display: grid; gap: 14px; align-content: start; }
.pf-block__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.pf-block__head h2 { font-size: 1.2rem; font-family: var(--font-display); font-weight: 900; }
.pf-block__head .link-arrow { color: var(--accent); font-size: .925rem; }
.pf-dash { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.pf-block--wide { grid-column: 1 / -1; }
.pf-dash .od-card { background: var(--bg); }
.pf-remind ul { display: grid; gap: 10px; }
.pf-remind li { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 10px; border-radius: 12px; background: var(--bg); }
.pf-remind img { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; background: var(--surface); }
.pf-remind li div { display: grid; font-size: .925rem; }
.pf-remind li span { color: var(--muted); font-size: .85rem; }
.pf-rxmini__status { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pf-rxmini .btn { justify-self: start; }
.pf-plus-cta { background: var(--field); color: var(--field-ink); }
.pf-plus-cta h2 { font-size: 1.4rem; font-family: var(--font-display); font-weight: 900; }
.pf-plus-cta .btn { justify-self: start; background: #9fdcd2; color: var(--field); }
.pf-pill { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; background: var(--surface); font-size: .8rem; font-weight: 700; white-space: nowrap; }
.pf-pill--ok { background: var(--mint); color: var(--field); }
.pf-pill--warn { background: #f6e3b4; color: #6b4a07; }
.pf-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pf-cards .tag-card__hole { background: var(--bg); }
.pf-tabs { width: fit-content; max-width: 100%; overflow-x: auto; margin-bottom: 4px; }
.pf-tabs button { white-space: nowrap; }
.pf-tabs .tnum { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; margin-inline-start: 4px; border-radius: 11px; background: var(--surface); font-size: .78rem; }
.pf-list { display: grid; gap: 14px; margin-top: 14px; }
.pf-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.pf-muted { color: var(--muted); }
.pf-dl { margin: 0; display: grid; gap: 8px; }
.pf-dl div { display: flex; justify-content: space-between; gap: 12px; }
.pf-dl dt { color: var(--muted); }
.pf-dl dd { margin: 0; font-weight: 600; }
.pf-dl__total { padding-top: 10px; border-top: 2px dashed var(--surface-2); }
.pf-dl__total dd { color: var(--accent); font-size: 1.15rem; }
.pf-danger { color: var(--danger) !important; }
.pf-chips { margin-bottom: 4px; }

/* order cards */
.od-card { background: var(--paper); border-radius: var(--radius); overflow: hidden; }
.od-card__head { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; padding: 14px 20px; background: var(--surface); font-size: .9rem; color: var(--muted); }
.od-card__head b { color: var(--ink); }
.od-status { padding: 3px 10px; border-radius: 999px; font-weight: 700; font-size: .8rem; background: var(--paper); color: var(--ink); }
.od-card--current .od-status { background: var(--accent); color: #fff; }
.od-card--done .od-status { background: var(--mint); color: var(--field); }
.od-card--returned .od-status { background: #f6e3b4; color: #6b4a07; }
.od-card--cancelled .od-status { background: #f4d6d3; color: var(--danger); }
.od-track { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; padding: 18px 20px 0; font-size: .8rem; text-align: center; color: var(--muted); }
.od-track li { position: relative; padding-top: 18px; }
.od-track li::before { content: ""; position: absolute; top: 0; inset-inline: 0; height: 6px; border-radius: 6px; background: var(--surface-2); }
.od-track li.is-done::before { background: var(--accent); }
.od-track li.is-now { color: var(--ink); font-weight: 700; }
.od-track li.is-now::before { background: linear-gradient(to left, var(--accent) 50%, var(--surface-2) 50%); }
.od-card__body { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 20px; flex-wrap: wrap; }
.od-thumbs { display: flex; gap: 8px; }
.od-thumbs img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; background: var(--surface); }
.od-card__actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.od-card__actions .link-arrow { color: var(--accent); }
.od-timeline { display: grid; }
.od-timeline li { position: relative; display: grid; gap: 2px; padding: 10px 0; padding-inline-start: 34px; }
.od-timeline li::before { content: ""; position: absolute; right: 6px; top: 16px; width: 12px; height: 12px; border-radius: 50%; background: var(--surface-2); }
.od-timeline li + li::after { content: ""; position: absolute; right: 11px; top: -8px; height: 26px; border-right: 2px dotted var(--surface-2); }
.od-timeline li.is-done::before { background: var(--accent); }
.od-timeline li.is-now::before { background: #fff; box-shadow: 0 0 0 3px var(--accent); }
.od-timeline span { color: var(--muted); font-size: .875rem; }
.od-lines li { display: grid; grid-template-columns: 72px 1fr auto auto; gap: 14px; align-items: center; padding: 12px 0; }
.od-lines li + li { border-top: 2px dotted var(--surface-2); }
.od-lines img { width: 72px; height: 72px; border-radius: 10px; object-fit: cover; background: var(--surface); }
.od-lines div { display: grid; }
.od-lines a { font-weight: 700; }
.od-lines small { color: var(--muted); }

/* prescriptions */
.rx-card { display: grid; grid-template-columns: auto 1fr auto; gap: 8px 16px; align-items: center; padding: 18px 20px; background: var(--paper); border-radius: var(--radius); }
.rx-card__icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--mint); color: var(--accent); grid-row: span 2; }
.rx-card__body { display: grid; gap: 2px; }
.rx-card__body span { color: var(--muted); font-size: .9rem; }
.rx-card__body p { font-size: .925rem; margin-top: 4px; }
.rx-card__actions { grid-column: 2 / -1; display: flex; gap: 8px; flex-wrap: wrap; }

/* addresses */
.pf-addr { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.pf-addr__card { display: grid; gap: 8px; align-content: start; padding: 20px; background: var(--paper); border-radius: var(--radius); box-shadow: inset 0 0 0 2px transparent; }
.pf-addr__card.is-default { box-shadow: inset 0 0 0 2px var(--accent); }
.pf-addr__top { display: flex; justify-content: space-between; align-items: center; }
.pf-addr__top b { font-size: 1.1rem; }
.pf-addr__card p { line-height: 1.8; }
.pf-addr__card small { color: var(--muted); }
.pf-addr__actions { display: flex; gap: 16px; margin-top: 6px; padding-top: 10px; border-top: 2px dotted var(--surface-2); }
.pf-addr__actions .link-arrow { color: var(--accent); font-size: .9rem; }
.pf-addr__new { display: grid; place-items: center; gap: 8px; align-content: center; min-height: 190px; border-radius: var(--radius); background: transparent; color: var(--accent); font-weight: 700; outline: 2.5px dashed color-mix(in srgb, var(--accent) 45%, transparent); outline-offset: -2px; transition: background-color .2s; }
.pf-addr__new:hover { background: var(--paper); }
.pf-modal { position: fixed; z-index: 960; top: 50%; left: 50%; translate: -50% -50%; width: min(620px, calc(100vw - 24px)); max-height: 90vh; overflow-y: auto; background: var(--paper); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-float); }
.pf-modal__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.pf-modal__head h2 { font-size: 1.3rem; }

/* comments */
.cm-card { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center; padding: 16px 18px; background: var(--paper); border-radius: var(--radius); }
.cm-card > img { width: 72px; height: 72px; border-radius: 10px; object-fit: cover; background: var(--surface); }
.cm-card__body { display: grid; gap: 4px; }
.cm-card__body small { color: var(--muted); }
.cm-card--mine { align-items: start; }
.cm-card--mine p { line-height: 1.8; }
.cm-stars { display: flex; gap: 2px; color: var(--surface-2); }
.cm-stars .is-on { color: #e0a526; }
.cm-form { grid-column: 1 / -1; display: grid; gap: 12px; padding-top: 14px; border-top: 2px dotted var(--surface-2); }
.cm-form .btn { justify-self: start; }

/* gift cards */
.gc-wallet { background: var(--field); color: var(--field-ink); }
.gc-wallet > span { color: #c3d3d0; }
.gc-wallet b { font-family: var(--font-display); font-size: 2.2rem; font-weight: 900; }
.gc-wallet small { font-family: var(--font-text); font-size: .9rem; font-weight: 400; }
.gc-wallet p { color: #c3d3d0; font-size: .9rem; }
.gc-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gc-card { display: grid; gap: 18px; padding: 20px; border-radius: var(--radius); aspect-ratio: 1.6; align-content: space-between;
  -webkit-mask: radial-gradient(circle 12px at 0 50%, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 12px at 100% 50%, #0000 98%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle 12px at 0 50%, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 12px at 100% 50%, #0000 98%, #000) right / 51% 100% no-repeat; }
.gc-card--mint { background: var(--mint); }
.gc-card--kraft { background: var(--kraft); }
.gc-card--used { background: var(--surface); color: var(--muted); }
.gc-card__top, .gc-card__foot { display: flex; justify-content: space-between; gap: 8px; font-size: .85rem; }
.gc-card__mid { display: grid; }
.gc-card__mid span { font-size: .85rem; color: var(--muted); }
.gc-card__mid strong { font-family: var(--font-display); font-size: 1.9rem; font-weight: 900; }
.pf-table { width: 100%; border-collapse: collapse; font-size: .925rem; }
.pf-table th { text-align: start; font-weight: 700; color: var(--muted); padding: 10px 8px; border-bottom: 2px solid var(--surface-2); }
.pf-table td { padding: 12px 8px; border-bottom: 1px solid var(--surface); }
.pf-table td:last-child, .pf-table th:last-child { text-align: left; }
.pf-plus { color: var(--accent); font-weight: 700; }
.pf-minus { color: var(--danger); font-weight: 700; }

.pf-switches { display: grid; max-width: 460px; margin-top: 8px; padding-top: 14px; border-top: 2px dotted var(--surface-2); }
.pf-listbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; margin: 14px 0; border-radius: var(--radius-sm); background: var(--mint); flex-wrap: wrap; }

/* messages */
.ms-list { display: grid; gap: 8px; margin-top: 10px; }
.ms-item { background: var(--paper); border-radius: var(--radius-sm); }
.ms-item__head { width: 100%; display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 16px 18px; text-align: start; }
.ms-item time { font-size: .82rem; color: var(--muted); white-space: nowrap; }
.ms-item.is-unread .ms-item__head b::after { content: ""; display: inline-block; width: 8px; height: 8px; margin-inline-start: 8px; border-radius: 50%; background: var(--danger); vertical-align: middle; }
.ms-item p { padding: 0 18px 18px; padding-inline-start: 68px; line-height: 1.85; color: var(--ink); }
.ms-icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--mint); color: var(--accent); }
.ms-icon--remind { background: #f6e3b4; color: #6b4a07; }
.ms-icon--offer { background: var(--kraft); color: var(--ink); }

/* plus */
.pl-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: center; padding: clamp(20px, 3vw, 36px); background: var(--field); color: var(--field-ink); border-radius: var(--radius); }
.pl-hero h2 { font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.5rem); font-weight: 900; margin-bottom: 12px; }
.pl-hero p { color: #c3d3d0; line-height: 1.9; }
.pl-hero img { width: 100%; aspect-ratio: 7/6; object-fit: cover; border-radius: var(--radius-sm); background: #24494f; }
.pl-perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pl-perks li { display: grid; gap: 6px; align-content: start; padding: 20px; background: var(--paper); border-radius: var(--radius); }
.pl-perks svg { color: var(--accent); margin-bottom: 6px; }
.pl-perks span { color: var(--muted); font-size: .9rem; }
.pl-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pl-plan { position: relative; display: grid; gap: 6px; padding: 22px 22px 22px 22px; padding-inline-start: 56px; background: var(--paper); border-radius: var(--radius); cursor: pointer; box-shadow: inset 0 0 0 2px transparent; transition: box-shadow .2s; }
.pl-plan:has(input:checked) { box-shadow: inset 0 0 0 2.5px var(--accent); }
.pl-plan .ck-opt__dot { position: absolute; right: 20px; top: 24px; }
.pl-plan strong { font-size: 1.6rem; font-weight: 800; }
.pl-plan strong small { font-size: .85rem; font-weight: 400; color: var(--muted); }
.pl-plan > span:last-child { color: var(--muted); font-size: .9rem; }
.pl-cta { grid-column: 1 / -1; min-height: 54px; }
.pf-day h2 { font-size: 1.1rem; margin: 6px 0 12px; color: var(--muted); font-family: var(--font-text); font-weight: 700; }
.pf-day + .pf-day { margin-top: 14px; }

@media (max-width: 1100px) { .pf-cards { grid-template-columns: repeat(3, 1fr); } .pl-perks { grid-template-columns: repeat(2, 1fr); } .gc-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 899px) {
  .pf-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .pf-side { position: static; }
  .pf-toggle { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; background: var(--paper); border-radius: var(--radius); font-weight: 700; }
  .pf-toggle svg { transition: rotate .3s var(--ease-out); }
  .pf-nav { display: none; }
  .pf-nav.is-open { display: block; }
  .pf-dash, .pf-two, .pf-addr, .pl-hero, .pl-plans { grid-template-columns: minmax(0, 1fr); }
  .pf-cards { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .od-track { font-size: .7rem; padding-inline: 12px; }
  .od-lines li { grid-template-columns: 56px 1fr; }
  .od-lines img { width: 56px; height: 56px; }
  .od-lines li > span, .od-lines li > b { grid-column: 2; }
  .rx-card { grid-template-columns: auto 1fr; }
  .rx-card .pf-pill { grid-column: 2; justify-self: start; }
  .rx-card__actions { grid-column: 1 / -1; }
  .cm-card { grid-template-columns: 56px 1fr; }
  .cm-card > img { width: 56px; height: 56px; }
  .cm-card > .btn, .cm-card > .pf-pill { grid-column: 2; justify-self: start; }
  .ms-item p { padding-inline-start: 18px; }
  .gc-list { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================
   CONTENT PAGES
   ========================================================== */
/* about */
.ab-hero { background: var(--field); color: var(--field-ink); padding-block: clamp(32px, 5vw, 72px); overflow: hidden; }
.ab-hero .p-crumbs ol, .ab-hero .p-crumbs [aria-current] { color: #c3d3d0; }
.ab-hero__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 5vw, 80px); align-items: center; }
.ab-hero h1 { font-size: var(--step-display); font-weight: 900; line-height: 1.15; margin-top: 18px; }
.ab-hero p { font-size: var(--step-lead); margin-top: 20px; max-width: 40ch; color: #dbe6e3; line-height: 1.85; }
.ab-hero figure { margin: 0; aspect-ratio: 9/10; border-radius: var(--radius); overflow: hidden; background: #24494f; }
.ab-hero figure img { width: 100%; height: 100%; object-fit: cover; }
.ab-values h2 { font-size: var(--step-head); font-weight: 900; margin-bottom: 36px; max-width: 18ch; }
.ab-values__list { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 16px; }
.ab-values__list article { padding: 26px; background: var(--paper); border-radius: var(--radius); display: grid; gap: 12px; align-content: start; }
.ab-values__list article:first-child { background: var(--mint); }
.ab-values__list h3 { font-size: 1.35rem; font-weight: 900; }
.ab-values__list p { line-height: 1.9; }
.ab-band { background: var(--kraft); padding-block: clamp(56px, 7vw, 110px); }
.ab-band__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 5vw, 80px); align-items: center; }
.ab-band img { width: 100%; aspect-ratio: 9/7; object-fit: cover; border-radius: var(--radius); background: var(--surface-2); }
.ab-band h2 { font-size: var(--step-head); font-weight: 900; margin-bottom: 24px; }
.ab-facts { margin: 0; }
.ab-facts div { display: grid; grid-template-columns: 1fr 1.3fr; gap: 16px; padding: 14px 0; }
.ab-facts div + div { border-top: 2px dotted var(--surface-2); }
.ab-facts dt { color: var(--muted); }
.ab-facts dd { margin: 0; font-weight: 700; }
.ab-licenses h2 { font-size: var(--step-head); font-weight: 900; margin-bottom: 28px; }
.ab-licenses ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ab-licenses li { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center; padding: 18px; background: var(--paper); border-radius: var(--radius); }
.ab-lic { display: grid; place-items: center; width: 96px; height: 96px; padding: 8px; text-align: center; font-size: .8rem; font-weight: 700; line-height: 1.5; border-radius: 12px; background: var(--bg); color: var(--muted); }
@media (max-width: 899px) { .ab-hero__grid, .ab-band__grid, .ab-values__list, .ab-licenses ul { grid-template-columns: minmax(0, 1fr); } .ab-hero figure { aspect-ratio: 4/3; } .ab-facts div { grid-template-columns: minmax(0, 1fr); gap: 2px; } }

/* contact */
.ct { padding-bottom: clamp(56px, 7vw, 100px); }
.ct-ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ct-way { display: grid; gap: 4px; padding: 22px; background: var(--paper); border-radius: var(--radius); transition: transform .3s var(--ease-out), background-color .3s; }
.ct-way:first-child { background: var(--accent); color: #fff; }
.ct-way:first-child span { color: #d2ecea; }
.ct-way:hover { transform: translateY(-4px); }
.ct-way svg { margin-bottom: 8px; }
.ct-way b { font-size: 1.2rem; }
.ct-way span { color: var(--muted); font-size: .9rem; }
.ct-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; margin-top: 24px; align-items: start; }
.ct-form { padding: clamp(20px, 3vw, 32px); background: var(--paper); border-radius: var(--radius); grid-template-columns: minmax(0, 1fr); }
.ct-form h2 { font-size: 1.5rem; font-weight: 900; }
.ct-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ct-shop { display: grid; gap: 14px; padding: 20px; background: var(--paper); border-radius: var(--radius); }
.ct-shop h2 { font-size: 1.3rem; font-weight: 900; }
.ct-shop > p { display: flex; gap: 8px; align-items: start; }
.ct-map { position: relative; aspect-ratio: 4/3; border-radius: var(--radius-sm); overflow: hidden; }
.ct-map svg { width: 100%; height: 100%; }
.ct-map__label { position: absolute; top: 46%; right: 8%; padding: 2px 8px; border-radius: 6px; background: var(--paper); font-size: .78rem; font-weight: 700; }
.ct-faq { margin-top: 24px; text-align: center; color: var(--muted); }
.ct-faq a { color: var(--accent); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 899px) { .ct-ways, .ct-grid, .ct-fields { grid-template-columns: minmax(0, 1fr); } }

/* faq */
.fq-head { background: var(--field); color: var(--field-ink); padding-bottom: clamp(36px, 5vw, 64px); }
.fq-head .p-crumbs ol, .fq-head .p-crumbs [aria-current] { color: #c3d3d0; }
.fq-search { display: flex; align-items: center; gap: 12px; max-width: 640px; height: 60px; margin-top: 24px; padding: 0 18px; background: var(--paper); color: var(--ink); border-radius: var(--radius); }
.fq-search svg { color: var(--accent); }
.fq-search input { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; font-size: 1.05rem; }
.fq-search:focus-within { box-shadow: 0 0 0 3px #9fdcd2; }
.fq { display: grid; grid-template-columns: 220px minmax(0, 1fr) 280px; gap: 28px; padding-block: 40px clamp(64px, 8vw, 110px); align-items: start; }
.fq-cats { position: sticky; top: 156px; display: grid; gap: 4px; }
.fq-cats button { text-align: start; padding: 11px 14px; border-radius: 10px; font-weight: 600; color: var(--muted); transition: background-color .2s, color .2s; }
.fq-cats button:hover { color: var(--ink); }
.fq-cats button[aria-pressed="true"] { background: var(--paper); color: var(--accent); }
.fq-list { display: grid; gap: 8px; }
.fq-item { background: var(--paper); border-radius: var(--radius-sm); }
.fq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 20px; font-weight: 700; cursor: pointer; list-style: none; }
.fq-item summary::-webkit-details-marker { display: none; }
.fq-item summary svg { flex-shrink: 0; color: var(--accent); transition: rotate .3s var(--ease-out); }
.fq-item[open] summary svg { rotate: 45deg; }
.fq-item p { padding: 0 20px 20px; line-height: 1.9; }
.fq-help { position: sticky; top: 156px; display: grid; gap: 12px; padding: 22px; background: var(--mint); border-radius: var(--radius); justify-items: start; }
.fq-help h2 { font-size: 1.25rem; font-weight: 900; }
.fq-help .link-arrow { color: var(--accent); }
@media (max-width: 1100px) { .fq { grid-template-columns: minmax(0, 1fr); } .fq-cats { position: static; display: flex; overflow-x: auto; } .fq-cats button { white-space: nowrap; } .fq-help { position: static; } }

/* blog */
.bl { padding-bottom: clamp(56px, 7vw, 100px); }
.bl-lead { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(20px, 4vw, 56px); align-items: center; padding: 14px; background: var(--paper); border-radius: var(--radius); }
.bl-lead img { width: 100%; aspect-ratio: 7/4; object-fit: cover; border-radius: var(--radius-sm); background: var(--surface); }
.bl-lead > div { display: grid; gap: 14px; padding-inline-end: 20px; }
.bl-lead h2 { font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.5rem); font-weight: 900; line-height: 1.3; }
.bl-lead p { line-height: 1.9; }
.bl-lead .link-arrow { color: var(--accent); }
.bl-cats { margin: 40px 0 24px; }
.bl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 20px; }
.bl-card { display: grid; gap: 10px; align-content: start; }
.bl-card img { width: 100%; aspect-ratio: 35/24; object-fit: cover; border-radius: var(--radius); background: var(--surface); transition: transform .6s var(--ease-out); }
.bl-card:hover img { transform: translateY(-4px); }
.bl-card h3 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; line-height: 1.45; transition: color .2s; }
.bl-card:hover h3 { color: var(--accent); }
.bl-card p { color: var(--muted); line-height: 1.8; }
@media (max-width: 899px) { .bl-lead { grid-template-columns: minmax(0, 1fr); } .bl-lead > div { padding: 0 6px 10px; } .bl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .bl-grid { grid-template-columns: minmax(0, 1fr); } }

/* blog post */
.bp-head { padding-block: 24px 32px; max-width: 900px; }
.bp-head h1 { font-size: clamp(2rem, 1.2rem + 3vw, 3.6rem); font-weight: 900; line-height: 1.25; margin-top: 16px; }
.bp-lead { font-size: var(--step-lead); line-height: 1.85; margin-top: 18px; color: var(--muted); }
.bp-by { display: flex; align-items: center; gap: 12px; margin-top: 24px; }
.bp-by > div { display: grid; }
.bp-by span { font-size: .875rem; color: var(--muted); }
.bp-cover { margin: 0 auto; max-width: 1400px; padding-inline: var(--gutter); }
.bp-cover img { width: 100%; aspect-ratio: 2/1; object-fit: cover; border-radius: var(--radius); background: var(--surface); }
.bp-grid { display: grid; grid-template-columns: 240px minmax(0, 720px); gap: clamp(28px, 5vw, 80px); padding-block: clamp(40px, 5vw, 72px); justify-content: center; }
.bp-toc { position: sticky; top: 156px; align-self: start; display: grid; gap: 12px; }
.bp-toc ol { display: grid; gap: 4px; list-style: decimal; padding-inline-start: 20px; color: var(--muted); }
.bp-toc a { display: block; padding: 4px 0; transition: color .2s; }
.bp-toc a:hover { color: var(--accent); }
.bp-share { display: flex; align-items: center; gap: 4px; margin-top: 10px; padding-top: 14px; border-top: 2px dotted var(--surface-2); color: var(--muted); font-size: .875rem; }
.bp-share span { margin-inline-end: 6px; }
.bp-body { font-size: 1.1rem; line-height: 2; }
.bp-body h2 { font-size: 1.6rem; font-weight: 900; margin: 40px 0 14px; scroll-margin-top: 150px; }
.bp-body h2:first-child { margin-top: 0; }
.bp-body p { margin-bottom: 18px; }
.bp-body ol { list-style: decimal; padding-inline-start: 24px; margin-bottom: 18px; display: grid; gap: 6px; }
.bp-note { display: grid; grid-template-columns: auto 1fr; gap: 14px; padding: 20px; margin: 28px 0; border-radius: var(--radius); background: var(--kraft); font-size: 1rem; }
.bp-note b { display: block; }
.bp-note p { margin: 0; }
.bp-products { margin-top: 40px; padding-top: 28px; border-top: 3px dotted var(--surface-2); }
.bp-products .pf-cards { grid-template-columns: repeat(3, 1fr); font-size: 1rem; line-height: 1.7; }
.bp-disclaimer { margin-top: 28px; padding: 14px 18px; border-radius: var(--radius-sm); background: var(--paper); font-size: .9rem; color: var(--muted); line-height: 1.8; }
.bp-more { background: var(--surface); }
@media (max-width: 899px) { .bp-grid { grid-template-columns: minmax(0, 1fr); } .bp-toc { position: static; } .bp-products .pf-cards { grid-template-columns: repeat(2, 1fr); } }

/* 404 */
.nf { background: var(--field); padding-block: clamp(40px, 7vw, 100px); }
.nf-grid { display: grid; justify-items: center; }
.nf-label { width: min(760px, 100%); margin: 0; }
.nf-search { margin-top: 24px; height: 54px; max-width: 520px; }
.nf .a-label__actions .btn--soft { background: var(--bg); }

/* coming soon */
.page-soon { background: var(--field); }
.cs { display: grid; grid-template-columns: 1.1fr 1fr; gap: 12px; min-height: 100svh; padding: 12px; align-items: stretch; }
.cs-card { margin: 0; display: flex; flex-direction: column; justify-content: center; }
.cs-clock { display: flex; gap: 8px; margin-top: 28px; }
.cs-clock span { display: grid; justify-items: center; flex: 1; max-width: 110px; padding: 14px 6px 10px; border-radius: var(--radius-sm); background: var(--bg); }
.cs-clock b { font-family: var(--font-display); font-size: 2.4rem; font-weight: 900; line-height: 1.1; }
.cs-clock small { color: var(--muted); font-size: .82rem; }
.cs-form { margin-top: 24px; }
.cs-form > div, .cs-form template + div { display: flex; gap: 8px; max-width: 480px; }
.cs-form input { flex: 1; min-width: 0; height: 50px; padding: 0 14px; border: 0; border-radius: var(--btn-radius); background: var(--bg); outline: none; }
.cs-form input:focus { box-shadow: inset 0 0 0 2px var(--accent); }
.cs-photo { margin: 0; border-radius: var(--radius); overflow: hidden; background: #24494f; }
.cs-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 899px) { .cs { grid-template-columns: minmax(0, 1fr); } .cs-photo { order: -1; aspect-ratio: 4/3; } .cs-clock b { font-size: 1.8rem; } }

/* grid children may shrink below their content width */
.pf-main > *, .pf-two > *, .pf-dash > *, .pr-grid > *, .ck-grid > *, .cs > *, .s-main, .ct-grid > *, .bl-lead > *, .ab-hero__grid > * { min-width: 0; }
.pf-block, .pr-info, .ck-card, .lg-card, .lg-form { grid-template-columns: minmax(0, 1fr); }
.s-range input { width: 100%; min-width: 0; }
.ck-card.ck-rx { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; }
@media (max-width: 640px) { .ck-card.ck-rx { grid-template-columns: auto minmax(0, 1fr); } }
.pf-user .pf-avatar, .bp-by .pf-avatar { color: #fff; font-size: 1.5rem; }
.pf-plus-cta { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.pf-plus-cta h2, .pf-plus-cta p { grid-column: 1; }
.pf-plus-cta .btn { grid-column: 2; grid-row: 1 / 3; }
@media (max-width: 640px) { .pf-plus-cta { grid-template-columns: minmax(0, 1fr); } .pf-plus-cta .btn { grid-column: 1; grid-row: auto; } }
.s-scrim { z-index: 950; }
@media (min-width: 900px) { .s-scrim { display: none !important; } }
