/* Storefront look. Colours are tokens so each shop can override them later (theme = tokens only). */
@font-face { font-family: "Archivo"; src: url("../fonts/Archivo-variable-latin.de2f1fe81758.woff2") format("woff2"); font-weight: 400 900; font-stretch: 62% 125%; font-display: swap; }
:root {
  --ink: #0c0e2b; --ink-2: #161a40; --ink-line: #2a2f5e; --accent: #4045d6; --accent-soft: #f3f3ff;
  --action: #c94f0a; --action-hi: #b3450a; --paper: #fff; --fog: #f2f3f9; --text: #0c0e2b;
  --muted: #4d5274; --mist: #b9bddc; --dim: #9a9fc8; --line: #dfe1ee;
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif; --shell: 76rem; --gutter: clamp(1rem, 4vw, 2.5rem);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; }
p { margin: 0; } h1, h2, h3 { margin: 0; text-wrap: balance; } a { color: inherit; }
:focus-visible { outline: 3px solid var(--action); outline-offset: 3px; }
.shell { max-width: var(--shell); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; padding: .75rem 1rem; background: var(--action); color: #fff; font-weight: 700; z-index: 10; }
.skip:focus { top: 1rem; }
.demo-note { margin: 0; background: #fff4ea; color: #7a3d0c; font-size: .875rem; padding: .45rem var(--gutter); text-align: center; }
.display { font-stretch: 125%; font-weight: 800; letter-spacing: -0.02em; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: 0 1.4rem; border-radius: 10px; font: inherit; font-weight: 700; text-decoration: none; border: 0; cursor: pointer; }
.btn-action { background: var(--action); color: #fff; } .btn-action:hover { background: var(--action-hi); }
.btn[aria-disabled="true"] { background: var(--fog); color: var(--muted); cursor: not-allowed; }
.top { background: var(--ink); color: #fff; }
.top-inner { display: flex; align-items: center; gap: 2rem; min-height: 4.5rem; }
.brand { font-stretch: 125%; font-weight: 800; font-size: 1.3rem; text-decoration: none; }
.brand img { height: 2.3rem; width: auto; }
.foot { background: var(--ink); color: var(--dim); }
.foot-inner { padding-block: 2rem; font-size: .9375rem; display: grid; gap: .25rem; }
.foot strong { color: #fff; }
.page { padding-block: clamp(2.5rem, 5vw, 4rem); }
.page-title { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.05; }
.lede { margin-top: .75rem; color: var(--muted); max-width: 42rem; font-size: 1.125rem; }
.group { margin-top: 2.5rem; } .group h2 { font-size: 1.4rem; font-weight: 800; font-stretch: 125%; }
.cards { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); }
.card { border: 1px solid var(--line); border-radius: 14px; padding: 1.5rem; display: grid; gap: .6rem; align-content: start; }
.card h3 { font-size: 1.25rem; font-weight: 800; font-stretch: 125%; }
.card h3 a { text-decoration: none; } .card h3 a:hover { text-decoration: underline; }
.card p { color: var(--muted); }
.from { font-weight: 700; color: var(--text) !important; }
.empty { margin-top: 2rem; border: 1px dashed var(--line); border-radius: 14px; padding: 2.5rem; text-align: center; color: var(--muted); }
.crumbs { color: var(--muted); font-size: .9375rem; margin-bottom: 1rem; } .crumbs a { color: var(--accent); }
.pp-grid { display: grid; gap: 2.5rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 60rem) { .pp-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 4rem; align-items: start; } }
.desc { margin-top: 1.5rem; max-width: 42rem; white-space: pre-line; }
.ticks { margin: 1.5rem 0 0; padding: 0; list-style: none; display: grid; gap: .6rem; }
.ticks li { padding-left: 1.6rem; position: relative; }
.ticks li::before { content: ""; position: absolute; left: .15rem; top: .45em; width: .45rem; height: .8rem; border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.buybox { border: 2px solid var(--ink); border-radius: 16px; padding: 1.75rem; display: grid; gap: 1.1rem; }
.buybox h2 { font-size: 1.25rem; font-weight: 800; }
.plans { display: grid; gap: .6rem; border: 0; padding: 0; margin: 0; }
.plan { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 1rem; align-items: center; border: 1.5px solid var(--line); border-radius: 12px; padding: .9rem 1rem; cursor: pointer; }
.plan:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.plan-main { display: flex; gap: .65rem; align-items: flex-start; flex: 1 1 9rem; min-width: 0; }
.plan input { margin: .35rem 0 0; accent-color: var(--accent); flex: none; }
.plan-name { font-weight: 600; }
.plan .p { font-stretch: 125%; font-weight: 800; white-space: nowrap; }
.plan small { color: var(--muted); display: block; }
.save { display: block; font-size: .8125rem; font-weight: 700; color: #14703a; }
.buybox .btn { width: 100%; }
.fine { font-size: .875rem; color: var(--muted); }

/* checkout and order pages */
.steps-line { display: flex; gap: 1.25rem; color: var(--muted); font-size: .9375rem; margin-top: .75rem; }
.steps-line b { color: var(--text); }
.co-grid { display: grid; gap: 2.5rem; grid-template-columns: minmax(0, 1fr); margin-top: 1rem; }
@media (min-width: 60rem) { .co-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 4rem; align-items: start; } }
fieldset.box { border: 1px solid var(--line); border-radius: 14px; padding: 1.4rem; margin: 1.5rem 0 0; display: grid; gap: 1rem; min-width: 0; }
fieldset.box legend { font-weight: 800; padding: 0 .4rem; }
.f2 { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 36rem) { .f2 { grid-template-columns: minmax(0, 1fr); } }
.fld label { display: block; font-size: .9375rem; font-weight: 600; margin-bottom: .35rem; }
.opt { font-weight: 400; color: var(--muted); }
.fld input { width: 100%; min-height: 3rem; padding: .6rem .85rem; font: inherit; border: 1px solid #8a8fb0; border-radius: 10px; background: var(--paper); color: var(--text); }
.fld input:focus { outline: 3px solid var(--accent); outline-offset: 1px; }
.fld [aria-invalid="true"] { border-color: #b3261e; }
.hint { font-size: .875rem; color: var(--muted); margin-top: .3rem; }
.field-error { font-size: .875rem; color: #b3261e; margin-top: .3rem; font-weight: 600; }
.form-error { padding: .75rem 1rem; border-radius: 10px; background: #fdecea; color: #8c1d18; margin-top: 1rem; }
.pay-opt { border: 1.5px solid var(--accent); background: var(--accent-soft); border-radius: 12px; padding: .9rem 1rem; }
.muted { color: var(--muted); }
.summary { border: 1px solid var(--line); border-radius: 16px; padding: 1.5rem; background: var(--fog); display: grid; gap: .9rem; }
@media (min-width: 60rem) { .summary { position: sticky; top: 1.5rem; } }
.summary h2 { font-size: 1.15rem; font-weight: 800; }
.line { display: flex; justify-content: space-between; gap: 1rem; }
.line.total { border-top: 1px solid var(--line); padding-top: .9rem; font-weight: 800; font-size: 1.1rem; }
.summary .btn { width: 100%; }
.done { padding-block: clamp(3rem, 6vw, 5rem); max-width: 44rem; }
.done-title { margin-top: 1.25rem; font-size: clamp(1.8rem, 3.6vw, 2.5rem); line-height: 1.1; }
.tick { width: 3.5rem; height: 3.5rem; border-radius: 50%; background: #e6f6ec; display: grid; place-items: center; }
.tick::after { content: ""; width: .7rem; height: 1.25rem; border: solid #14703a; border-width: 0 3px 3px 0; transform: rotate(45deg) translateY(-2px); }
.next-title { margin-top: 2rem; font-size: 1.15rem; font-weight: 800; }
.next { margin: 1rem 0 0; padding: 0; list-style: none; counter-reset: n; display: grid; gap: .9rem; }
.next li { counter-increment: n; display: grid; grid-template-columns: 2rem 1fr; gap: .75rem; }
.next li::before { content: counter(n); width: 2rem; height: 2rem; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .9375rem; }
.receipt { margin-top: 2rem; border: 1px solid var(--line); border-radius: 14px; padding: 1.4rem; display: grid; gap: .6rem; }
.actions-line { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: .75rem; }
.btn-line { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); background: var(--paper); }
.fake-note { background: #fff4ea; color: #7a3d0c; border-radius: 10px; padding: .75rem 1rem; font-weight: 600; }
.ship-opt { display: grid; gap: .6rem; }
.ship-opt label { display: flex; justify-content: space-between; gap: 1rem; border: 1.5px solid var(--line); border-radius: 12px; padding: .85rem 1rem; cursor: pointer; }
.ship-opt label:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.ship-opt input { margin-right: .6rem; accent-color: var(--accent); }
.bank { margin: 1.25rem 0 0; display: grid; gap: .6rem; border: 1px solid var(--line); border-radius: 14px; padding: 1.25rem; }
.bank div { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.bank dt { color: var(--muted); } .bank dd { margin: 0; font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.mono { font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.notice { padding: .75rem 1rem; border-radius: 10px; background: var(--accent-soft); color: var(--text); margin: 0; }
/* my account */
.top-link { margin-left: auto; font-weight: 600; text-decoration: none; white-space: nowrap; }
.top-link:hover { text-decoration: underline; }
.narrow { max-width: 36rem; }
.box { border: 1px solid var(--line); border-radius: 14px; padding: 1.4rem; margin-top: 1.5rem; display: grid; gap: 1rem; min-width: 0; }
.narrow .notice { margin-top: 1.25rem; }
.narrow .muted, .narrow form { margin-top: 1.25rem; }
.account-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem; }
.orders { list-style: none; margin: 0; padding: 0; }
.order-row { grid-template-columns: minmax(0, 1fr) auto; gap: .5rem 1.5rem; margin-top: 1rem; }
.order-main { display: flex; flex-wrap: wrap; gap: .25rem .75rem; align-items: baseline; min-width: 0; }
.order-items { flex-basis: 100%; overflow-wrap: anywhere; }
.order-side { display: grid; justify-items: end; gap: .25rem; font-weight: 700; }
.order-status { font-weight: 600; font-size: .9375rem; color: var(--muted); }
.order-links { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: flex-start; gap: .5rem 1.25rem; margin: 0; font-size: .9375rem; }
.order-links a { color: var(--accent); }
.msg { margin-top: 1.25rem; }
.order-links .btn { min-height: 2.75rem; }
.confirm summary { list-style: none; cursor: pointer; }
.confirm summary::-webkit-details-marker { display: none; }
.confirm[open] form { margin-top: .75rem; display: grid; gap: .75rem; justify-items: start; }
.order-links a.btn-action { color: #fff; }
