/* Cian Kids Wear storefront, "Spotlight" look (Dribbble RUBAI Fashion reference).
   Tokens match theme-spotlight/snippets/css-variables.liquid + config/settings_schema.json defaults. */
:root {
  --font: 'Urbanist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --bg: #FFFFFF; --card: #F1F1EF; --ink: #10201F; --muted: #5F6968; --line: #E6E6E2;
  --oat: #F1ECE4; --sage: #DDE9E7; --lime: #E3F47A; --teal: #0E4B4D; --teal-2: #155E61; --teal-3: #0A3A3C;
  --danger: #B3261E;
  --radius-btn: 10px; --radius-card: 16px; --radius-hero: 22px;
  --page: 1240px; --margin: clamp(1rem, 4vw, 2.5rem);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 500 1rem/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.2em; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--font); font-weight: 800; line-height: 1.08; margin: 0; letter-spacing: -0.02em; color: var(--teal); text-wrap: balance; }
p { margin: 0 0 1em; }
strong, b { font-weight: 700; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(100% - 2 * var(--margin), var(--page)); margin-inline: auto; }
.muted { color: var(--muted); }
.lime { color: var(--lime); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--teal); color: #fff; padding: 0.75rem 1rem; border-radius: var(--radius-btn); }
.skip:focus { left: 0.75rem; top: 0.75rem; }
.eyebrow { display: block; font: 700 0.6875rem/1.4 var(--font); letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal-2); margin: 0 0 0.75rem; }
.eyebrow--lime { color: var(--lime); }
.section-title { font-size: clamp(1.75rem, 3.2vw, 2.4rem); }
.section-sub { color: var(--muted); margin: 0.35rem 0 0; font-size: 0.9375rem; }

/* buttons */
.btn { --btn-bg: var(--teal); --btn-fg: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 3rem; padding: 0.75rem 1.4rem; border: 1.5px solid var(--btn-bg); border-radius: var(--radius-btn);
  background: var(--btn-bg); color: var(--btn-fg); font: 700 0.9375rem/1 var(--font); text-decoration: none; cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.1s; }
.btn:hover { --btn-bg: var(--teal-3); }
.btn:active { transform: scale(0.98); }
.btn[disabled], .btn[aria-busy="true"] { opacity: 0.6; cursor: progress; }
.btn--lime { --btn-bg: var(--lime); --btn-fg: var(--teal); }
.btn--lime:hover { --btn-bg: #D6EA5E; }
.btn--ghost { --btn-fg: var(--teal); background: transparent; border-color: currentColor; }
.btn--ghost:hover { background: var(--teal); --btn-fg: #fff; border-color: var(--teal); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--teal); }
.btn--full { width: 100%; }
.btn--sm { min-height: 2.5rem; padding: 0.55rem 1rem; font-size: 0.875rem; }
.linklike { background: none; border: 0; padding: 0; text-align: left; cursor: pointer; text-decoration: underline; text-underline-offset: 0.2em; }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 0; border-radius: 50%; background: none; cursor: pointer; text-decoration: none; color: var(--teal); }
.icon-btn:hover { background: var(--card); }
.icon-btn svg { width: 1.35rem; height: 1.35rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn svg .fill { fill: currentColor; stroke: none; }

/* announcement + header */
.announce { background: var(--teal); color: #fff; text-align: center; font: 600 0.8125rem/1.4 var(--font); padding: 0.55rem var(--margin); }
.header { position: sticky; top: 0; z-index: 20; background: rgb(255 255 255 / 0.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header__inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; min-height: 4.5rem; gap: 1.5rem; }
.header__logo img { width: clamp(140px, 15vw, 172px); height: auto; }
.header__nav { display: flex; justify-content: center; gap: 2rem; font: 600 0.9375rem/1 var(--font); }
.header__nav a { text-decoration: none; padding: 0.5rem 0; color: var(--ink); border-bottom: 2px solid transparent; }
.header__nav a:hover { color: var(--teal); border-color: var(--teal); }
.header__actions { display: flex; justify-content: flex-end; gap: 0.15rem; }
.bag-count { position: absolute; top: 0.15rem; right: 0.05rem; min-width: 1.15rem; height: 1.15rem; padding: 0 0.3rem; border-radius: 1rem;
  background: var(--teal); color: #fff; font: 800 0.6875rem/1.15rem var(--font); text-align: center; box-shadow: 0 0 0 2px #fff; }
@media (max-width: 760px) {
  .header__inner { grid-template-columns: auto 1fr auto; gap: 0.5rem; min-height: 4rem; }
  .header__nav { gap: 1rem; font-size: 0.8125rem; }
  .header__nav a:nth-child(2) { display: none; }
  .header__logo img { width: 128px; }
  .header__ig { display: none; }
}

/* hero */
.hero { padding-top: clamp(0.75rem, 2vw, 1.5rem); }
.hero__card { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 1rem;
  background: var(--card); border-radius: var(--radius-hero); overflow: hidden; padding: clamp(1.75rem, 5vw, 4.5rem); min-height: clamp(26rem, 42vw, 33rem); }
.hero__title { font-size: clamp(2.5rem, 5.4vw, 4.25rem); margin-bottom: 1.1rem; }
.hero__sub { font-size: 1.0625rem; color: var(--muted); max-width: 36ch; margin-bottom: 1.75rem; }
.hero__sub strong { color: var(--ink); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero__media { position: relative; display: grid; place-items: center; }
.hero__media img { width: min(100%, 26rem); aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius-hero); }
@media (max-width: 860px) {
  .hero__card { grid-template-columns: 1fr; padding: 1.5rem 1.25rem 1.75rem; min-height: 0; }
  .hero__media { order: -1; }
  .hero__media img { width: min(70%, 17rem); }
  .hero__title { font-size: clamp(2.1rem, 9vw, 2.6rem); }
}

/* trust strip */
.trust { border-bottom: 1px solid var(--line); }
.trust__list { list-style: none; margin: 0 auto; padding: 1.1rem 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 1.5rem; font-weight: 600; font-size: 0.9375rem; }
.trust__list li { display: flex; align-items: center; gap: 0.6rem; }
.trust__icon { display: grid; place-items: center; width: 1.75rem; height: 1.75rem; border-radius: 7px; background: var(--teal); color: #fff; flex: none; }
.trust__icon svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 760px) { .trust__list { display: grid; grid-template-columns: 1fr 1fr; font-size: 0.8125rem; } }

/* shop */
.shop { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.shop__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem 2rem; margin-bottom: 2rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip { min-height: 2.5rem; padding: 0.5rem 1.1rem; border: 1.5px solid var(--line); border-radius: 2rem; background: #fff; cursor: pointer; font: 700 0.875rem/1 var(--font); color: var(--ink); }
.chip:hover { border-color: var(--teal); color: var(--teal); }
.chip[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); color: #fff; }
.collection + .collection { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.collection__title { font-size: clamp(1.25rem, 2.2vw, 1.5rem); margin-bottom: 1.1rem; display: flex; align-items: baseline; gap: 0.75rem; }
.collection__title .eyebrow { margin: 0; }
.collection[hidden] { display: none; }
.shop__empty { text-align: center; color: var(--muted); padding: 2rem 0; }

.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.25rem, 2.4vw, 2rem) clamp(0.75rem, 1.6vw, 1.25rem); }
@media (max-width: 980px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); } }
.card[hidden] { display: none; }
.card__link { display: flex; flex-direction: column; text-decoration: none; }
.card__media { position: relative; display: block; overflow: hidden; border-radius: var(--radius-card); background: var(--card); margin-bottom: 0.75rem; }
.card__media img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform 0.6s var(--ease), opacity 0.35s var(--ease); }
.card__link:hover .card__media .card__image-main { transform: scale(1.04); }
.card__media--has-alt .card__image-alt { position: absolute; inset: 0; opacity: 0; transform: none; }
@media (hover: hover) {
  .card__link:hover .card__media--has-alt .card__image-main { opacity: 0; transform: none; }
  .card__link:hover .card__media--has-alt .card__image-alt { opacity: 1; }
}
.card__cta { position: absolute; left: 0.6rem; right: 0.6rem; bottom: 0.6rem; display: grid; place-items: center; min-height: 2.6rem; border-radius: var(--radius-btn);
  background: var(--lime); color: var(--teal); font-weight: 700; font-size: 0.875rem; opacity: 0; transform: translateY(8px); transition: opacity 0.25s, transform 0.25s var(--ease); }
.card__link:hover .card__cta, .card__link:focus-visible .card__cta { opacity: 1; transform: none; }
@media (hover: none) { .card__cta { display: none; } }
.card__chips { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-bottom: 0.55rem; }
.chip-s { padding: 0.15rem 0.5rem; border: 1px solid var(--line); border-radius: 6px; font-size: 0.75rem; font-weight: 600; color: var(--muted); }
.chip-s--more { background: var(--card); border-color: var(--card); }
.card__title { font-weight: 700; font-size: 1rem; line-height: 1.3; color: var(--ink); }
.card__link:hover .card__title { color: var(--teal); }
.card__sub { font-size: 0.8125rem; color: var(--muted); margin-top: 0.1rem; }
.card__price { font-weight: 800; font-size: 1rem; margin-top: 0.4rem; color: var(--ink); }

/* promos */
.promos { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; padding-bottom: clamp(3rem, 7vw, 5rem); }
.promo { position: relative; overflow: hidden; border-radius: var(--radius-hero); padding: clamp(1.75rem, 4vw, 3rem); min-height: 17rem; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.promo h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); margin-bottom: 0.9rem; }
.promo p { max-width: 38ch; }
.promo--teal { background: var(--teal); color: #fff; }
.promo--teal h2 { color: #fff; }
.promo--teal p { color: rgb(255 255 255 / 0.85); }
.promo--teal::after { content: ''; position: absolute; right: -4rem; bottom: -5rem; width: 15rem; height: 15rem; border-radius: 50%; border: 2.5rem solid rgb(255 255 255 / 0.07); }
.promo--light { background: var(--card); }
.promo--light p { color: var(--muted); }
@media (max-width: 760px) { .promos { grid-template-columns: 1fr; } }

/* product page */
.crumbs { display: flex; flex-wrap: wrap; gap: 0.5rem; padding-top: 1.25rem; font-size: 0.875rem; color: var(--muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--teal); text-decoration: underline; }
.pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(1.5rem, 5vw, 4rem); padding-block: 1.25rem clamp(2.5rem, 6vw, 4rem); align-items: start; }
.pdp__gallery { min-width: 0; }
.pdp__media { display: flex; border-radius: var(--radius-hero); background: var(--card); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.pdp__media::-webkit-scrollbar { display: none; }
.pdp__slide { flex: 0 0 100%; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; scroll-snap-align: start; }
.pdp__thumbs { display: flex; gap: 0.6rem; margin-top: 0.75rem; }
.pdp__thumb { width: 4.5rem; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: var(--card); cursor: pointer; }
.pdp__thumb img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.pdp__thumb.is-active { border-color: var(--teal); }
.pdp__thumb:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.pdp__info { position: sticky; top: 6.5rem; }
.pdp__title { font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: 0.6rem; }
.pdp__price { font-size: 1.5rem; font-weight: 800; margin-bottom: 1.5rem; }
.pdp__price .muted { font-size: 0.9375rem; font-weight: 500; }
.pdp__form { display: grid; gap: 1.25rem; margin-bottom: 1rem; }
.sizes { border: 0; margin: 0; padding: 0; }
.sizes legend { display: flex; justify-content: space-between; width: 100%; padding: 0; margin-bottom: 0.6rem; font-weight: 700; font-size: 0.9375rem; }
.sizes__help { font-weight: 600; font-size: 0.875rem; color: var(--teal); }
.sizes__list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.size { position: relative; }
.size input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.size span { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0.5rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius-btn); font-size: 0.9375rem; font-weight: 600; }
.size input:hover + span { border-color: var(--teal); }
.size input:checked + span { background: var(--teal); color: #fff; border-color: var(--teal); }
.size input:focus-visible + span { outline: 2px solid var(--teal); outline-offset: 3px; }
.field-error { color: var(--danger); font-size: 0.875rem; font-weight: 600; margin: 0.5rem 0 0; }
.qty-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.label { font-weight: 700; font-size: 0.9375rem; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: var(--radius-btn); }
.qty__btn { width: 2.75rem; height: 2.75rem; border: 0; background: none; cursor: pointer; font-size: 1.15rem; border-radius: var(--radius-btn); color: var(--teal); }
.qty__btn:hover { background: var(--card); }
.qty input { width: 2.5rem; border: 0; text-align: center; background: none; -moz-appearance: textfield; appearance: textfield; font-weight: 700; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.qty--sm .qty__btn { width: 2.25rem; height: 2.25rem; }
.pdp .btn--full { min-height: 3.4rem; font-size: 1rem; }
.pdp__note { font-size: 0.9375rem; color: var(--muted); }
.pdp__note a { color: var(--teal); font-weight: 600; }
.details { border-top: 1px solid var(--line); margin-top: 1.5rem; }
.details details { border-bottom: 1px solid var(--line); }
.details summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 1rem 0; font-weight: 700; }
.details summary::-webkit-details-marker { display: none; }
.details summary::after { content: '+'; font-size: 1.35rem; font-weight: 500; color: var(--teal); }
.details details[open] summary::after { content: '−'; }
.details ul { padding-left: 1.1rem; margin: 0 0 1rem; }
.details li { margin-bottom: 0.35rem; }
.more { padding-bottom: clamp(3rem, 6vw, 4.5rem); }
.more__title { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 1.25rem; }
@media (max-width: 860px) { .pdp { grid-template-columns: 1fr; } .pdp__info { position: static; } }

/* bag drawer */
.drawer { position: fixed; inset: 0; z-index: 50; }
.drawer[hidden] { display: none; }
.drawer__scrim { position: absolute; inset: 0; background: rgb(10 30 30 / 0.45); animation: fade 0.25s var(--ease); }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(100%, 26rem); display: flex; flex-direction: column; background: #fff;
  box-shadow: -10px 0 40px rgb(0 0 0 / 0.12); animation: slide 0.32s var(--ease); outline: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-size: 1.4rem; }
.drawer__body { flex: 1; overflow-y: auto; padding: 0.5rem 1.25rem; }
.drawer__foot { display: grid; gap: 0.6rem; padding: 1rem 1.25rem 1.25rem; border-top: 1px solid var(--line); }
.drawer__foot[hidden] { display: none; }
@keyframes slide { from { transform: translateX(100%); } }
@keyframes fade { from { opacity: 0; } }
.sum-row { display: flex; justify-content: space-between; gap: 1rem; }
.line { display: grid; grid-template-columns: 4.5rem 1fr auto; gap: 0.9rem; padding: 1rem 0; border-bottom: 1px solid var(--line); align-items: start; }
.line img { width: 4.5rem; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 10px; background: var(--card); }
.line__title { font-weight: 700; font-size: 0.9375rem; line-height: 1.3; text-decoration: none; display: block; }
.line__size { display: block; font-size: 0.8125rem; color: var(--muted); margin: 0.2rem 0 0.5rem; }
.line__price { font-weight: 800; font-size: 0.9375rem; text-align: right; }
.line__remove { display: block; margin-top: 0.5rem; font-size: 0.8125rem; color: var(--muted); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; }
.bag-empty { text-align: center; padding: 3rem 0.5rem; color: var(--muted); }
.bag-empty .btn { margin-top: 1rem; }

/* toast */
.toast { position: fixed; left: 50%; bottom: 1.25rem; z-index: 60; transform: translate(-50%, 150%); padding: 0.85rem 1.25rem; border-radius: 12px;
  background: var(--teal); color: #fff; font-weight: 600; font-size: 0.9375rem; box-shadow: 0 10px 30px rgb(0 0 0 / 0.2); transition: transform 0.3s var(--ease), visibility 0.3s;
  pointer-events: none; max-width: calc(100% - 2rem); visibility: hidden; }
.toast.is-on { transform: translate(-50%, 0); visibility: visible; }

/* cookie notice */
.cookie { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 40; max-width: 30rem; padding: 1rem 1.1rem; border-radius: var(--radius-card); background: #fff;
  border: 1px solid var(--line); box-shadow: 0 10px 40px rgb(0 0 0 / 0.12); font-size: 0.875rem; }
.cookie[hidden] { display: none; }
.cookie p { margin-bottom: 0.75rem; }
.cookie__actions { display: flex; gap: 0.5rem; justify-content: flex-end; }

/* footer */
.footer { background: var(--teal); color: rgb(255 255 255 / 0.85); padding-top: clamp(2.5rem, 6vw, 3.5rem); font-size: 0.9375rem; }
.footer__inner { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 2rem; }
.footer__inner nav, .footer__inner > div { display: flex; flex-direction: column; gap: 0.55rem; align-items: flex-start; }
.footer__inner a { text-decoration: none; }
.footer__inner a:hover, .footer .linklike:hover { color: #fff; text-decoration: underline; }
.footer .linklike { text-decoration: none; font-size: 0.9375rem; color: inherit; }
.footer__brand img { width: 170px; height: auto; }
.footer__brand p { margin-top: 0.75rem; max-width: 28ch; }
.footer__h { font: 700 0.9375rem/1.4 var(--font); color: var(--lime); letter-spacing: 0; margin-bottom: 0.25rem; }
.footer__legal { padding-block: 1.5rem; margin-top: 2.5rem; border-top: 1px solid rgb(255 255 255 / 0.15); font-size: 0.8125rem; color: rgb(255 255 255 / 0.7); }
@media (max-width: 860px) { .footer__inner { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }

/* content pages */
.content { width: min(100% - 2 * var(--margin), 46rem); margin-inline: auto; padding-block: clamp(2rem, 6vw, 4rem); }
.content h1 { font-size: clamp(2.1rem, 4.5vw, 3rem); margin-bottom: 1rem; }
.content h2 { font-size: 1.5rem; margin: 2.25rem 0 0.75rem; }
.content h3 { font-size: 1.15rem; margin: 1.5rem 0 0.5rem; }
.content .lead { font-size: 1.125rem; color: var(--muted); }
.content ul { padding-left: 1.2rem; }
.content li { margin-bottom: 0.4rem; }
.content a { color: var(--teal); font-weight: 600; }
.content table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: 0.9375rem; }
.content th, .content td { text-align: left; padding: 0.75rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.content th { background: var(--card); font-weight: 700; }
.content .updated { color: var(--muted); font-size: 0.875rem; }
.callout { background: var(--sage); border-radius: var(--radius-card); padding: 1.1rem 1.25rem; margin: 1.5rem 0; }
.callout p:last-child { margin: 0; }
.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin: 1.5rem 0 2rem; }
.contact-card { display: block; padding: 1.35rem; border-radius: var(--radius-card); background: var(--card); text-decoration: none; }
.content .contact-card { color: var(--ink); font-weight: 500; }
.contact-card strong { display: block; font-weight: 800; font-size: 1.25rem; color: var(--teal); margin-bottom: 0.25rem; }
.contact-card span { color: var(--muted); font-size: 0.9375rem; word-break: break-word; }
.contact-card:hover { background: var(--sage); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 1rem 0; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-weight: 500; font-size: 1.35rem; line-height: 1; color: var(--teal); }
.faq details[open] summary::after { content: '−'; }
.faq details p { color: var(--muted); }
@media (max-width: 560px) { .cards-2 { grid-template-columns: 1fr; } }

/* checkout */
.checkout { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(1.5rem, 5vw, 3.5rem); padding-block: clamp(1.5rem, 5vw, 3rem) clamp(3rem, 6vw, 4.5rem); align-items: start; }
.checkout h1 { font-size: clamp(2rem, 4vw, 2.6rem); margin-bottom: 0.4rem; }
.checkout h2 { font-size: 1.25rem; margin: 1.75rem 0 0.9rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem 1rem; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: grid; gap: 0.35rem; }
.field label { font-size: 0.875rem; font-weight: 700; }
.field .hint { font-size: 0.8125rem; color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; min-height: 3rem; padding: 0.7rem 0.9rem; border: 1.5px solid #D5D7D2; border-radius: var(--radius-btn); background: #fff; font-weight: 500; }
.field textarea { min-height: 5rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--teal); outline-offset: 1px; border-color: var(--teal); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field .field-error { margin: 0; }
.prefix { display: flex; }
.prefix span { display: grid; place-items: center; padding: 0 0.8rem; border: 1.5px solid #D5D7D2; border-right: 0; border-radius: var(--radius-btn) 0 0 var(--radius-btn); background: var(--card); font-weight: 700; }
.prefix input { border-radius: 0 var(--radius-btn) var(--radius-btn) 0; }
.check { display: flex; gap: 0.65rem; align-items: flex-start; font-size: 0.9375rem; margin-top: 1.25rem; }
.check input { width: 1.2rem; height: 1.2rem; margin-top: 0.2rem; accent-color: var(--teal); flex: none; }
.check a { color: var(--teal); font-weight: 600; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.summary { position: sticky; top: 6.5rem; background: var(--card); border-radius: var(--radius-hero); padding: 1.25rem 1.25rem 1.5rem; }
.summary h2 { margin-top: 0; }
.summary .line { border-color: #E0E0DB; }
.summary .line img { background: #fff; }
.summary .sum-row { padding: 0.35rem 0; }
.summary .total { border-top: 1px solid #D9D9D3; margin-top: 0.5rem; padding-top: 0.85rem; font-size: 1.125rem; font-weight: 800; }
.pay-note { font-size: 0.875rem; color: var(--muted); margin-top: 1rem; }
.form-alert { padding: 0.9rem 1rem; border-radius: var(--radius-btn); background: #FCEDEC; color: var(--danger); font-weight: 600; margin-top: 1rem; }
.form-alert[hidden] { display: none; }
.pay-btn { margin-top: 1.5rem; min-height: 3.5rem; font-size: 1.0625rem; }
.methods { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.75rem; justify-content: center; }
.methods span { font-size: 0.75rem; font-weight: 600; padding: 0.25rem 0.6rem; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); background: #fff; }
@media (max-width: 900px) { .checkout { grid-template-columns: 1fr; } .summary { position: static; order: -1; } }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* thanks */
.thanks { text-align: center; }
.thanks__icon { width: 4rem; height: 4rem; margin: 0 auto 1.25rem; display: grid; place-items: center; border-radius: 50%; background: var(--lime); color: var(--teal); font-size: 1.75rem; }
.thanks__code { display: inline-block; font: 700 1.125rem/1 ui-monospace, 'Cascadia Mono', Consolas, monospace; letter-spacing: 0.06em; padding: 0.65rem 1rem; border-radius: var(--radius-btn); background: var(--card); margin: 0.5rem 0 1.25rem; }
.thanks .btn + .btn { margin-left: 0.5rem; }
.thanks .btn { color: var(--btn-fg); }
.thanks__next { text-align: left; margin-top: 2.5rem; }

/* ---------- catalogue: order by DM ---------- */
.header__dm { min-height: 2.5rem; padding: 0.55rem 1rem; }
.order { display: grid; gap: 0.65rem; }
.order__label { margin: 0; font-weight: 700; font-size: 0.9375rem; }
.order .btn { min-height: 3.4rem; font-size: 1rem; }
.order .btn svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.order .btn svg .fill { fill: currentColor; stroke: none; }
.order .btn[hidden] { display: none; }
.order__how { margin: 0.1rem 0 0; font-size: 0.875rem; color: var(--muted); }
.order__msg { padding: 0.85rem 1rem; border-radius: var(--radius-btn); background: var(--sage); font-size: 0.9375rem; }
.order__msg[hidden] { display: none; }
.order__msg-text { margin: 0 0 0.4rem; font-weight: 600; word-break: break-word; user-select: all; }
.order__msg .linklike { color: var(--teal); font-weight: 700; font-size: 0.875rem; }
.howto { margin: 0 0 1.25rem; padding-left: 1.2rem; color: var(--muted); }
.howto li { margin-bottom: 0.4rem; }
.howto strong { color: var(--ink); }
@media (max-width: 760px) { .header__dm { padding: 0.5rem 0.8rem; font-size: 0.8125rem; } }
