/* E-Pay storefront: additions on top of base.css for the API-driven views
   (forms, product drawer, compare table, order/payment pages, configurator issues). Same tokens as base.css. */

.offline { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 16px; padding: 14px 16px; border-radius: 14px; background: var(--warn-bg); color: var(--warn); font-weight: 500; }
.offline .ic { width: 20px; height: 20px; flex: none; }
.offline span { flex: 1; min-width: 0; }

/* ---------- loading skeleton ---------- */
.skel { border-radius: 18px; background: linear-gradient(90deg, var(--panel) 0%, var(--panel-2) 50%, var(--panel) 100%); background-size: 200% 100%; animation: skel 1.2s linear infinite; min-height: 320px; }
@keyframes skel { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .skel { animation: none; } }

/* ---------- form fields ---------- */
.inp { width: 100%; height: 48px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); padding: 0 14px; font: inherit; font-size: 16px; color: var(--ink); outline: none; }
textarea.inp { height: auto; min-height: 84px; padding: 12px 14px; resize: vertical; }
.inp:focus { border-color: var(--firuza); background: var(--surface); }
.inp[aria-invalid="true"], .phone[data-invalid="true"] { border-color: #C0392B; }
.hint { font-size: 12.5px; font-weight: 400; color: var(--ink-3); }
.form-err { margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: var(--warn-bg); color: var(--warn); font-size: 14px; }
.pays.one { grid-template-columns: 1fr; }
.pay[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.pay small { display: block; font-weight: 400; font-size: 11.5px; color: var(--ink-3); }

/* ---------- pager ---------- */
.pager { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
.pager:empty { display: none; }
.pager button { min-width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); font-weight: 600; font-variant-numeric: tabular-nums; }
.pager button[aria-current="true"] { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.pager-step { display: inline-flex; align-items: center; gap: 6px; padding: 0 14px; }
.pager-step .ic { width: 18px; height: 18px; }
.pager-step.prev .ic { transform: scaleX(-1); }
.pager-step.next .ic { order: 1; }
.pager-step:disabled { opacity: .45; cursor: default; }
.pager-gap { min-width: 24px; align-self: center; text-align: center; color: var(--ink-3); }
@media (max-width: 560px) {
  .pager { gap: 4px; }
  .pager button { min-width: 36px; height: 36px; }
  .pager-step { padding: 0; justify-content: center; }
  .pager-step span { display: none; }
}

/* ---------- product card extras ---------- */
.card .name a { color: inherit; }
@media (hover: hover) { .card .name a:hover { color: var(--firuza); } }
.card .name a:focus-visible { outline: 2px solid var(--firuza); outline-offset: 2px; border-radius: 4px; }
.old-price { font-size: 13px; color: var(--ink-3); text-decoration: line-through; margin-left: 6px; font-variant-numeric: tabular-nums; }
.tag-new { font: 600 11px/1 var(--f-sans); padding: 5px 8px; border-radius: 999px; background: var(--firuza); color: var(--on-firuza); }
.badges .disc { font-size: 11px; line-height: 1; padding: 5px 8px; }
.btn-ghost-s { border: 1px solid var(--line); background: var(--surface); color: var(--ink); }

/* ---------- product drawer ---------- */
.pd-gallery { display: grid; gap: 8px; }
.pd-main { aspect-ratio: 4 / 3; border-radius: 16px; background: #fff; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); }
.pd-main img { width: 100%; height: 100%; object-fit: contain; padding: 6%; }
.pd-main svg.ill { width: 46%; }
.pd-thumbs { display: flex; gap: 6px; overflow-x: auto; }
.pd-thumbs button { width: 60px; height: 60px; flex: none; border-radius: 10px; background: #fff; border: 1.5px solid var(--line); padding: 3px; }
.pd-thumbs button[aria-pressed="true"] { border-color: var(--firuza); }
.pd-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pd-brand { margin-top: 16px; font: 500 12px/1 var(--f-sans); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.pd-name { font-size: 21px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; margin-top: 6px; }
.pd-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.pd-price .price { font-size: 24px; }
.pd-desc { margin-top: 14px; color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.specs-t { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 14px; }
.specs-t th { text-align: left; font-weight: 400; color: var(--ink-2); padding: 9px 12px 9px 0; vertical-align: top; width: 48%; }
.specs-t td { padding: 9px 0; font-weight: 500; }
.specs-t tr + tr { border-top: 1px solid var(--line); }
.sku { font: 400 12px/1.4 var(--f-mono); color: var(--ink-3); margin-top: 6px; }

/* ---------- server options ---------- */
.srv-group { margin-top: 16px; }
.srv-group p { font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.srv-opt { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); margin-top: 6px; cursor: pointer; font-size: 14px; }
.srv-opt:has(input:checked) { border-color: var(--firuza); background: var(--firuza-soft); }
.srv-opt input { accent-color: var(--firuza); margin: 0 8px 0 0; }
.srv-opt span:last-child { font-variant-numeric: tabular-nums; color: var(--ink-2); white-space: nowrap; }

/* ---------- configurator: issues from the API ---------- */
.issues { display: grid; gap: 6px; margin-top: auto; padding-top: 10px; }
.issue { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; line-height: 1.4; padding: 8px 10px; border-radius: 8px; border: 1px solid var(--deep-line); color: var(--on-deep); }
.issue .ic { width: 16px; height: 16px; flex: none; margin-top: 1px; }
.issue.err { border-color: #E06C5B; color: #FFD5CE; }
.issue.err .ic { color: #FF8B78; }
.issue.warn { border-color: #C9A24B; color: #FBE7B5; }
.issue.ok { border-color: color-mix(in srgb, var(--deep-acc) 50%, transparent); color: var(--deep-acc); }
.opt-why { display: block; margin-top: 4px; font-size: 12px; color: #FFB4A6; }
.opt.bad { border-style: dashed; }
.pick-tools { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; font-size: 13px; color: var(--on-deep-2); }
.pick-tools label { display: inline-flex; gap: 6px; align-items: center; cursor: pointer; }
.pick-tools input { accent-color: var(--deep-acc); }
.pick-list { display: grid; gap: 8px; overflow-y: auto; max-height: min(52vh, 520px); padding-right: 2px; }
.bld-psu { font: 500 11.5px/1.4 var(--f-mono); color: var(--on-deep-2); }

/* ---------- pages (order, test payment, login) ---------- */
.page { padding-block: 32px 64px; }
.page-card { max-width: 640px; margin: 0 auto; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); padding: 28px; box-shadow: var(--shadow-s); }
.page-card h1 { font-size: 26px; font-weight: 600; letter-spacing: -0.02em; }
.page-card .lead { color: var(--ink-2); margin-top: 8px; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin-top: 18px; font-size: 14.5px; }
.kv dt { color: var(--ink-2); }
.kv dd { margin: 0; font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; }
.lines { margin-top: 18px; border-top: 1px solid var(--line); }
.lines div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.lines span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 500; }
.status-pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; font: 600 12.5px/1 var(--f-sans); background: var(--panel); color: var(--ink-2); }
.status-pill.s-Paid, .status-pill.s-Confirmed, .status-pill.s-Processing, .status-pill.s-ReadyForPickup, .status-pill.s-Shipped, .status-pill.s-Completed { background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); }
.status-pill.s-PendingPayment { background: var(--warn-bg); color: var(--warn); }
.status-pill.s-Cancelled, .status-pill.s-Expired, .status-pill.s-Refunded { background: #FBE3E0; color: #A33224; }
.timeline { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.timeline li { display: grid; grid-template-columns: 14px 1fr auto; gap: 10px; align-items: center; font-size: 14px; }
.timeline li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--firuza); }
.timeline time { color: var(--ink-3); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.page-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }

/* ---------- account ---------- */
.acc-head { display: flex; gap: 12px; align-items: center; }
.acc-ava { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--firuza-soft); color: var(--firuza); font-weight: 700; font-size: 18px; flex: none; }
.acc-head b { display: block; font-size: 16px; }
.acc-head span { color: var(--ink-2); font-size: 13.5px; word-break: break-all; }
.olist { display: grid; gap: 8px; margin-top: 18px; }
.orow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); text-decoration: none; color: inherit; }
.orow:hover { border-color: var(--firuza); }
.orow b { font-variant-numeric: tabular-nums; }
.orow small { color: var(--ink-3); font-size: 12.5px; }
.rate-note { font-variant-numeric: tabular-nums; }
.btn-board-ghost { border: 1px solid var(--deep-line); color: var(--on-deep); background: transparent; }
.act-acc.on::after { content: ""; position: absolute; right: 7px; bottom: 7px; width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px var(--nav-from); }
.order-no { font: 500 13px/1 var(--f-mono); color: var(--ink-2); }
.card .price { white-space: normal; }
.card .old-price { display: block; margin-left: 0; }
.price-row { min-width: 0; }

/* ---------- about us (/about): renderAbout() in app.js ----------
   Big title, four alternating photo + text rows, contact cards and the map. Type and spacing follow the store look
   (store.css tokens). Each block animates every time it scrolls into view (.abt-reveal gets .in); the hidden start
   state exists only with motion allowed, so without JS observers or with reduced motion everything is simply shown. */
.about { display: grid; gap: clamp(72px, 9vw, 128px); padding-top: clamp(40px, 6vw, 80px); }
/* title left, description beside it on the right (stacked on phones) */
.abt-hero { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: end; gap: clamp(24px, 5vw, 80px); }
.abt-hero h1 { font-size: clamp(56px, 9vw, 128px); font-weight: 700; line-height: 0.95; letter-spacing: -0.02em; white-space: nowrap; }
.abt-lede { max-width: 40ch; justify-self: end; padding-bottom: 0.4em; font-size: clamp(19px, 2vw, 28px); font-weight: 500; line-height: 1.25; letter-spacing: -0.01em; color: var(--ink-2); text-wrap: pretty; }
@media (max-width: 759px) {
  .abt-hero { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .abt-hero h1 { white-space: normal; }
  .abt-lede { justify-self: start; padding-bottom: 0; }
}

.abt-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(28px, 5vw, 88px); }
.abt-row:nth-of-type(even) .abt-media { order: 2; }   /* sections: mission, services, brands, projects → image left, right, left, right */
.abt-media { margin: 0; overflow: hidden; aspect-ratio: 4 / 3; border-radius: 28px; background: var(--panel); }
.abt-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.abt-num { font-size: 14px; font-weight: 600; letter-spacing: 0.04em; color: var(--new); }
.abt-copy h2 { margin-top: 8px; font-size: clamp(32px, 4vw, 56px); font-weight: 700; line-height: 1.07; letter-spacing: -0.01em; text-wrap: balance; }
.abt-text { margin-top: 16px; max-width: 52ch; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.43; color: var(--ink-2); }
.abt-mission .abt-text { font-size: clamp(19px, 1.9vw, 26px); line-height: 1.35; color: var(--ink); font-weight: 500; letter-spacing: -0.01em; }

.abt-ic { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--panel); color: var(--link); }
.abt-ic .ic { width: 22px; height: 22px; }
.abt-list { display: grid; gap: 20px; margin-top: 28px; }
.abt-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: start; gap: 16px; }
.abt-list b { display: block; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.abt-list small { display: block; margin-top: 2px; font-size: 15px; line-height: 1.4; color: var(--ink-2); }

/* brand tiles stay white in both themes so every logo keeps its own colours */
.abt-logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 12px; margin-top: 28px; }
.abt-logos li { display: grid; place-items: center; height: 84px; padding: 16px 18px; border-radius: 18px; background: #FFFFFF; box-shadow: var(--shadow-s); }
.abt-logos img { display: block; max-width: 100%; max-height: 32px; object-fit: contain; }

.abt-clients { margin-top: 28px; }
.abt-clients li { padding: 16px 0; border-top: 1px solid var(--line); font-size: clamp(19px, 1.8vw, 24px); font-weight: 600; letter-spacing: -0.01em; }
.abt-clients li:last-child { font-weight: 400; color: var(--ink-2); }
.abt-kinds { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.abt-kinds li { padding: 8px 16px; border-radius: 980px; background: var(--panel); font-size: 14px; }

.abt-contact-head h2 { font-size: clamp(32px, 4vw, 56px); font-weight: 700; line-height: 1.07; letter-spacing: -0.01em; }
.abt-contact-head p { margin-top: 12px; font-size: clamp(17px, 1.5vw, 21px); color: var(--ink-2); }
.abt-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-top: 32px; }
.abt-cards li { display: flex; flex-direction: column; gap: 6px; padding: 28px; border-radius: 28px; background: var(--surface); box-shadow: var(--shadow-s); }
.abt-cards .abt-ic { margin-bottom: 12px; }
.abt-cards small { font-size: 14px; color: var(--ink-2); }
.abt-big { font-size: 21px; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; color: var(--ink); }
.abt-sub { font-size: 14px; color: var(--ink-2); }
.abt-link { margin-top: auto; padding-top: 14px; font-size: 17px; color: var(--link); }
.abt-link::after { content: "\00a0›"; }
@media (hover: hover) { .abt-link:hover, a.abt-big:hover { text-decoration: underline; } }

.abt-map iframe { display: block; width: 100%; height: clamp(360px, 40vw, 520px); border: 0; border-radius: 28px; background: var(--panel); }

@media (max-width: 900px) {
  .abt-row { grid-template-columns: minmax(0, 1fr); }
  .abt-row:nth-of-type(even) .abt-media { order: 0; }   /* image first on narrow screens */
  .abt-media { border-radius: 22px; }
  .abt-cards li, .abt-map iframe { border-radius: 22px; }
}

/* ---- motion: each block, every time it scrolls in (durations 600–1200 ms, Apple-like easing) ---- */
@media (prefers-reduced-motion: no-preference) {
  .abt-hero > *, .abt-copy > *, .abt-list li, .abt-logos li, .abt-clients li, .abt-kinds li, .abt-cards li, .abt-contact-head > *, .abt-map iframe {
    transition: opacity 700ms ease, transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
  }
  .abt-reveal:not(.in) .abt-copy > *, .abt-hero:not(.in) > *, .abt-contact:not(.in) .abt-contact-head > * { opacity: 0; transform: translateY(28px); }
  .abt-hero > :nth-child(2), .abt-contact-head > :nth-child(2) { transition-delay: 120ms; }
  .abt-copy > :nth-child(1) { transition-delay: 150ms; }
  .abt-copy > :nth-child(2) { transition-delay: 230ms; }
  .abt-copy > :nth-child(3) { transition-delay: 310ms; }
  .abt-copy > :nth-child(4), .abt-copy > :nth-child(5) { transition-delay: 390ms; }

  /* photos: unveiled by a clip that opens out while the image settles from a slight zoom */
  .abt-media { transition: clip-path 1200ms cubic-bezier(0.65, 0, 0.35, 1); clip-path: inset(0 round 28px); }
  .abt-media img { transition: transform 1800ms cubic-bezier(0, 0, 0.2, 1); }
  .abt-reveal:not(.in) .abt-media { clip-path: inset(10% 10% 10% 10% round 28px); }
  .abt-reveal:not(.in) .abt-media img { transform: scale(1.18); }
  /* 01 mission: the photo wipes in from the side instead */
  .abt-mission:not(.in) .abt-media { clip-path: inset(0 100% 0 0 round 28px); }

  /* 02 services: items slide in one after another */
  .abt-services:not(.in) .abt-list li { opacity: 0; transform: translateX(-24px); }
  .abt-list li { transition-delay: calc(420ms + var(--i) * 90ms); }
  /* 03 brands: logo tiles pop in */
  .abt-brands:not(.in) .abt-logos li { opacity: 0; transform: scale(0.82); }
  .abt-logos li { transition: opacity 500ms ease, transform 650ms cubic-bezier(0.34, 1.56, 0.64, 1); transition-delay: calc(380ms + var(--i) * 60ms); }
  /* 04 projects: clients rise line by line, the darker photo eases out of a deeper zoom */
  .abt-projects:not(.in) .abt-media img { transform: scale(1.32); }
  .abt-projects:not(.in) .abt-clients li, .abt-projects:not(.in) .abt-kinds li { opacity: 0; transform: translateY(18px); }
  .abt-clients li, .abt-kinds li { transition-delay: calc(420ms + var(--i) * 90ms); }
  /* contact cards and the map */
  .abt-contact:not(.in) .abt-cards li { opacity: 0; transform: translateY(36px); }
  .abt-cards li { transition-delay: calc(200ms + var(--i) * 110ms); }
  .abt-map:not(.in) iframe { opacity: 0; transform: scale(0.97); }
}

/* ---------- Official vendor partners (only with Store:ShowPartners): a static row of logos above the footer ---------- */
.partners { padding-block: 40px; border-top: 1px solid var(--line); background: var(--surface); }
.pt-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px 32px; flex-wrap: wrap; margin-bottom: 24px; }
.pt-head h2 { margin-top: 8px; font-size: clamp(20px, 2.2vw, 26px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.pt-points { display: grid; grid-template-columns: repeat(2, auto); gap: 8px 28px; }
.pt-points li { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; color: var(--ink-2); }
.pt-points .ic { width: 17px; height: 17px; stroke-width: 2.2; color: var(--firuza); }
.pt-track { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pt { display: flex; align-items: center; gap: 10px; height: 64px; padding-inline: 24px; border-radius: 12px; border: 1px solid var(--line); font: 600 17px/1 var(--f-sans); color: var(--ink-2); white-space: nowrap; }
/* logos come in mixed colours: drawn as one dark tone so the row reads as a set */
.pt img { display: block; width: auto; filter: brightness(0); opacity: .6; }
:root[data-theme="dark"] .pt img { filter: brightness(0) invert(1); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pt img { filter: brightness(0) invert(1); } }
.pt .pt-mark { height: 26px; max-width: 40px; }
.pt .pt-mark.wide { height: 14px; max-width: 54px; }
.pt .pt-word { height: 20px; max-width: 130px; }
.pt .pt-word.tall { height: 30px; }
@media (max-width: 640px) {
  .pt-points { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .pt { height: 52px; padding-inline: 16px; font-size: 15px; }
}

/* ---------- product page (/product/{slug}) ---------- */
.pdp { padding-block: 18px 48px; }
.pdp .crumbs { flex-wrap: wrap; margin-bottom: 16px; }
.pdp .crumbs span:last-child { color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 46ch; }
.pd-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, 1fr); gap: 28px; align-items: start; }
.pd-skel { min-height: 420px; border-radius: 16px; }
.pdp .pd-main { aspect-ratio: 1 / 1; width: 100%; cursor: zoom-in; position: relative; }
.pdp .pd-main img { transition: transform 200ms var(--ease-out); transform-origin: center; }
.pdp .pd-main.zoomed { cursor: zoom-out; }
.pdp .pd-main.zoomed img { transform: scale(1.8); }
.buybox { position: sticky; top: calc(var(--hdr-h) + 12px); display: grid; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.buybox .pd-brand { margin-top: 0; }
.buybox .pd-name { font-size: 24px; margin-top: 0; }
.buybox .sku { font-size: 13px; color: var(--ink-3); }
.buybox .pd-price { margin-top: 4px; }
.buybox .pd-price .price { font-size: 28px; font-weight: 600; }
.disc { display: inline-block; padding: 2px 8px; border-radius: 999px; background: var(--sale-bg); color: var(--sale); font-size: 13px; font-weight: 600; vertical-align: middle; }
.pd-buy { display: flex; gap: 10px; align-items: center; }
.pdp .qty-step { border-color: var(--line); height: 44px; }
.pdp .qty-step button { color: var(--ink); height: 44px; width: 40px; }
@media (hover: hover) { .pdp .qty-step button:not([disabled]):hover { background: var(--panel); } }
.pd-perks { display: grid; gap: 8px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.pd-perks li { display: flex; gap: 10px; align-items: center; }
.pd-perks .ic { width: 18px; height: 18px; color: var(--ink-3); }
.pd-sec { margin-top: 36px; max-width: 920px; }
.pd-sec h2 { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 12px; }
#pd-similar { max-width: none; }
.pd-key { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.pd-key li { display: grid; gap: 4px; padding: 12px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }
.pd-key b { font-size: 14px; font-weight: 500; color: var(--ink); }
.specs-t caption { text-align: left; font-weight: 600; font-size: 15px; padding: 14px 0 4px; }
.specs-t td.mono { font-size: 13px; }
@media (max-width: 900px) {
  .pd-layout { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .buybox { position: static; }
}

.pdp .pd-gallery { max-width: 620px; width: 100%; }
.pdp .pd-thumbs { overflow-x: auto; overflow-y: hidden; padding-bottom: 2px; }
.ci-warn { margin-top: 6px; font-size: 13px; color: var(--warn); }
.ci-notice { margin-bottom: 14px; padding: 12px 14px; border-radius: 12px; background: var(--warn-bg); color: var(--warn); font-size: 14px; }
.ci-notice ul { margin-top: 6px; display: grid; gap: 4px; list-style: disc; padding-left: 18px; }

/* ---------- checkout page (/checkout) ---------- */
.checkout { padding-block: 22px 56px; scroll-margin-top: calc(var(--hdr-h) + 12px); }
.co-title { font-size: clamp(24px, 3vw, 32px); font-weight: 600; letter-spacing: -0.02em; }
.co-steps { display: flex; gap: 8px; margin: 16px 0 22px; padding: 0; list-style: none; flex-wrap: wrap; }
.co-steps li > span, .co-steps li > button { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px 0 6px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 14px; color: var(--ink-3); }
.co-steps b { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--panel); font-size: 12px; }
.co-steps li[aria-current="step"] > span { border-color: var(--firuza); color: var(--ink); font-weight: 600; }
.co-steps li[aria-current="step"] b { background: var(--firuza); color: var(--on-firuza); }
.co-steps li.is-done > button { color: var(--ink-2); cursor: pointer; }
.co-steps li.is-done b { background: var(--firuza-soft); color: var(--firuza); }
.co-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); gap: 24px; align-items: start; }
.co-form { padding: 22px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.co-form .field:first-child { margin-top: 0; }
.co-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 22px; }
.co-review { margin-top: 18px; }
.co-consent { margin-top: 18px; white-space: normal; align-items: flex-start; }
.co-consent input { margin-top: 3px; }
.co-sum { position: sticky; top: calc(var(--hdr-h) + 12px); padding: 20px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); display: grid; gap: 8px; }
.co-sum h2 { font-size: 17px; font-weight: 600; }
.co-lines { display: grid; gap: 6px; padding-bottom: 8px; border-bottom: 1px solid var(--line); font-size: 14px; }
.co-lines li { display: flex; justify-content: space-between; gap: 12px; }
.co-lines small { color: var(--ink-3); }
.sum-total { padding-top: 8px; border-top: 1px solid var(--line); font-size: 17px; }
@media (max-width: 900px) { .co-layout { grid-template-columns: minmax(0, 1fr); } .co-sum { position: static; order: -1; } }
/* payment result banners on the order / check-order pages */
.banner { margin: 14px 0 18px; padding: 14px 16px; border-radius: 12px; font-size: 14px; }
.banner b { display: block; font-size: 15px; margin-bottom: 2px; }
.banner.ok { background: color-mix(in srgb, var(--ok) 12%, transparent); color: var(--ok); }
.banner.warn { background: var(--warn-bg); color: var(--warn); }
.banner.err { background: #FDECEC; color: #B42318; }
.banner.muted { background: var(--panel); color: var(--ink-2); }
.lk-h { margin-top: 26px; font-size: 18px; font-weight: 600; }
.co-form .pay { height: auto; min-height: 64px; padding: 10px 12px; text-align: center; }
/* narrow screens: grid children may shrink below their inputs' intrinsic width; long button labels wrap */
main > section, .page-card, .co-form, .co-sum { min-width: 0; }
.inp { width: 100%; min-width: 0; }
.co-nav .btn { white-space: normal; text-align: center; height: auto; min-height: 44px; padding-block: 10px; }
@media (max-width: 560px) {
  .page-card { padding: 20px; border-radius: 16px; }
  .co-form, .co-sum { padding: 16px; }
}

/* ---------- home: "what we offer" slider (initSolutions in app.js) ----------
   Edge to edge (the section has no .wrap), fixed height. Slides cross-fade every 7 s, hover included;
   the photo eases out of a slight zoom and the copy rises in. */
.sol { --sol-ease: cubic-bezier(0.4, 0, 0.2, 1); }
.sol-stage {
  position: relative; overflow: hidden; isolation: isolate; touch-action: pan-y;
  height: clamp(490px, calc(38vw + 50px), 730px); background: #000;
}
.sol-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 900ms var(--sol-ease), visibility 0s linear 900ms; }
.sol-slide.is-on { z-index: 1; opacity: 1; visibility: visible; transition: opacity 900ms var(--sol-ease); }
.sol-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.sol-slide.is-on img { transform: scale(1); transition: transform 7s cubic-bezier(0, 0, 0.2, 1); }
.sol-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, 0.74) 0%, rgba(0, 0, 0, 0.38) 40%, rgba(0, 0, 0, 0) 68%), linear-gradient(to right, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0) 58%); }
.sol-copy { position: absolute; z-index: 1; left: clamp(24px, 6vw, 120px); right: clamp(24px, 6vw, 120px); bottom: clamp(28px, 4vw, 56px); max-width: 680px; color: #FFFFFF; }
.sol-kicker { font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: rgba(255, 255, 255, 0.86); }
.sol-copy h3 { margin-top: 8px; font-size: clamp(28px, 4vw, 56px); font-weight: 600; line-height: 1.07; letter-spacing: -0.015em; text-wrap: balance; }
.sol-text { margin-top: 12px; max-width: 46ch; font-size: clamp(16px, 1.5vw, 21px); line-height: 1.38; color: rgba(255, 255, 255, 0.88); }
.sol-cta { margin-top: 22px; }
.sol-copy > * { opacity: 0; transform: translateY(18px); transition: opacity 600ms ease, transform 800ms cubic-bezier(0, 0, 0.2, 1); }
.sol-slide.is-on .sol-copy > * { opacity: 1; transform: none; }
.sol-slide.is-on .sol-copy > :nth-child(1) { transition-delay: 250ms; }
.sol-slide.is-on .sol-copy > :nth-child(2) { transition-delay: 340ms; }
.sol-slide.is-on .sol-copy > :nth-child(3) { transition-delay: 430ms; }
.sol-slide.is-on .sol-copy > :nth-child(4) { transition-delay: 520ms; }
/* side arrows: shown on hover / keyboard focus, hidden on touch screens (swipe instead) */
.sol-arrow {
  position: absolute; z-index: 2; top: 50%; display: grid; place-items: center; width: 44px; height: 44px; margin-top: -22px;
  border-radius: 50%; background: rgba(210, 210, 215, 0.64); color: rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; transition: opacity 240ms ease, background-color 240ms ease;
}
.sol-prev { left: 18px; }
.sol-next { right: 18px; }
.sol-prev .ic { transform: rotate(90deg); }
.sol-next .ic { transform: rotate(-90deg); }
.sol-stage:hover .sol-arrow, .sol-arrow:focus-visible { opacity: 1; }
@media (hover: hover) { .sol-arrow:hover { background: rgba(223, 223, 227, 0.86); } }
@media (hover: none) { .sol-arrow { display: none; } }
@media (max-width: 759px) {
  .sol-stage { height: 550px; }
  .sol-copy h3 { font-size: 28px; }
}
/* reduced motion: no autoplay, no zoom, the copy simply appears */
@media (prefers-reduced-motion: reduce) {
  .sol-slide img, .sol-slide.is-on img, .sol-copy > * { transform: none; transition: none; }
}
/* a section title centred over its content (the "what we offer" slider) */
.sec-head-center { justify-content: center; text-align: center; }
