/* commerce pages: styles that only these pages need. Shared pieces live in ../tweetcell.css. */

/* Glyphs of the app font that the shared sheet does not name yet. */
.i-minus::before{content:"\e02a"} .i-delete::before{content:"\e027"} .i-back::before{content:"\e013"} .i-edit::before{content:"\e023"}
.i-copy::before{content:"\e024"} .i-bank::before{content:"\e040"} .i-id::before{content:"\e039"} .i-pending::before{content:"\e04a"}

.top { margin-block-start: 96px; }
.kdv { font-size: 11.5px; line-height: 1.5; color: var(--faint); white-space: nowrap; }
.count { font-size: 12.5px; font-weight: 600; color: var(--faint); font-variant-numeric: tabular-nums; direction: ltr; }
.sub-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-block: clamp(28px, 4vw, 44px) 18px; }
.sub-head h2, .sub-head h3 { font-size: clamp(20px, 2vw, 26px); font-weight: 700; line-height: 1.35; display: flex; align-items: center; gap: 10px; }
.sub-head > div { display: grid; gap: 6px; }

/* ---------- Numbers: black and gold in both themes ---------- */
.gold.nhero { min-height: 600px; }
.gold.nhero .gold-art img { object-position: center 72%; }
.gold .chip { background: rgb(255 255 255 / .07); box-shadow: inset 0 1px 0 rgb(255 255 255 / .18), inset 0 0 0 1px rgb(255 255 255 / .08); color: #FBF6E9; }
.gold .chip .tci { color: #F2C14E; }
.gsearch { display: flex; align-items: center; gap: 12px; width: min(100%, 600px); height: 68px; border-radius: 999px; padding-inline: 22px 8px;
  background: rgb(255 255 255 / .07); box-shadow: inset 0 1px 0 rgb(255 236 170 / .35), inset 0 0 0 1px rgb(242 193 78 / .28), 0 24px 50px -24px rgb(242 193 78 / .35); }
.gsearch > .tci { color: #F2C14E; }
.gsearch input { flex: 1 1 0; width: 0; min-width: 0; border: 0; outline: 0; background: none; color: #FBF6E9; font-size: 16px; font-weight: 450; }
.gsearch input::placeholder { color: rgb(251 246 233 / .5); font-weight: 350; }
.gsearch .kbd { color: rgb(251 246 233 / .6); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .16); }
.goldpanel .eyebrow { color: #F2C14E; } .goldpanel .lead { color: rgb(251 246 233 / .72); }
.goldpanel .sub-head h3 small { font-size: 12.5px; font-weight: 600; color: #F2C14E; direction: ltr; }
.goldpanel .pager a, .goldpanel .pager span { color: rgb(251 246 233 / .7); } .goldpanel .pager [aria-current] { background: linear-gradient(180deg, #FFE9A6, #F2C14E); color: #1B1203; }
.goldpanel .pager a:hover { background: rgb(255 255 255 / .08); }
.journey { counter-reset: step; }
.journey .card { display: grid; gap: 12px; align-content: start; counter-increment: step; }
.journey .card::before { content: "0" counter(step); font-size: 14px; font-weight: 600; color: var(--accent); direction: ltr; font-variant-numeric: tabular-nums; }
.journey h3 { font-size: 20px; font-weight: 700; }
.demo { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.demo > :first-child { position: sticky; top: 120px; display: grid; gap: 18px; justify-items: start; }
.demo .sheet { width: 100%; max-width: 600px; }
@media (max-width: 960px) { .demo { grid-template-columns: 1fr; } .demo > :first-child { position: static; } }
.pick { color-scheme: dark; color: #FBF6E9; border-radius: 24px; padding: 18px 20px; display: grid; gap: 12px; background: radial-gradient(120% 140% at 100% 0, rgb(242 193 78 / .22), transparent 55%), #0B0604;
  box-shadow: inset 0 1px 0 rgb(255 236 170 / .5), inset 0 0 0 1px rgb(242 193 78 / .38); }
.pick > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; } .pick span { font-size: 12.5px; color: rgb(251 246 233 / .62); }
.pick .digits { font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; letter-spacing: .05em; direction: ltr; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mini-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.mini-steps li { display: grid; gap: 4px; padding: 14px; border-radius: 18px; background: color-mix(in oklab, var(--ink) 4.5%, transparent); font-size: 12.5px; line-height: 1.6; color: var(--muted); }
.mini-steps strong { font-size: 14px; color: var(--ink); } .mini-steps b { font-size: 12px; color: var(--accent); direction: ltr; font-variant-numeric: tabular-nums; }
@media (max-width: 560px) { .mini-steps { grid-template-columns: 1fr; } }

/* ---------- Catalogue ---------- */
.item .shot > a:not(.fav) { display: grid; place-items: center; width: 100%; height: 100%; }
.item-body h3 a:hover { color: var(--accent); }
.promo { --h: 0px; min-height: 100%; border-radius: 28px; }
.pdp { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.pdp > :first-child { position: sticky; top: 108px; }
.pdp-info { display: grid; gap: 22px; align-content: start; }
.pdp-price { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 20px 22px; border-radius: 24px; background: color-mix(in oklab, var(--accent) 7%, var(--surface)); box-shadow: inset 0 0 0 1px var(--line); }
.pdp-price .price { font-size: clamp(32px, 3.6vw, 46px); line-height: 1.1; color: var(--accent); }
.buy { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; } .buy .btn--primary { flex: 1 1 220px; }
.stars { display: inline-flex; gap: 2px; color: #F2B600; direction: ltr; } .stars .tci { font-size: 17px; } .stars .off { color: color-mix(in oklab, var(--ink) 18%, transparent); }
.review { display: flex; gap: 14px; align-items: flex-start; padding-block: 18px; border-block-start: 1px solid var(--line); }
.review .who { width: 44px; height: 44px; border-radius: 50%; flex: none; display: grid; place-items: center; color: #fff; font-weight: 700; background: linear-gradient(140deg, #8A4BFF, #5200C7); }
.rate { display: inline-flex; flex-direction: row-reverse; gap: 6px; direction: ltr; } .rate input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rate label { cursor: pointer; color: color-mix(in oklab, var(--ink) 20%, transparent); transition: color .2s, transform .2s var(--ease); } .rate label .tci { font-size: 30px; }
.rate label:hover, .rate label:hover ~ label, .rate input:checked ~ label { color: #F2B600; } .rate label:hover { transform: scale(1.12); }
@media (max-width: 900px) { .pdp { grid-template-columns: 1fr; } .pdp > :first-child { position: static; } }
.cat-top { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.cat-top > img { width: 96px; height: 96px; border-radius: 28px; object-fit: cover; box-shadow: 0 24px 40px -20px rgb(0 0 0 / .55), inset 0 0 0 1px rgb(255 255 255 / .14); }
.search--flat { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), 0 20px 40px -30px var(--shadow); }
.mini-voucher { width: 92px; flex: none; border-radius: 14px; aspect-ratio: 1.42; }
.mini-voucher strong { font-size: 18px; } .mini-voucher small { font-size: 7.5px; }

/* ---------- Top-up ---------- */
.pack-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pack .more { justify-self: start; font-size: 13px; font-weight: 600; color: var(--accent); background: none; border: 0; padding: 0; display: inline-flex; align-items: center; gap: 6px; }
.pack .more .tci { font-size: 14px; }
.pack .btn { justify-content: space-between; padding-inline: 20px; } .pack .btn .price { font-size: 17px; }
.left9 { font-size: 13px; font-weight: 500; color: rgb(255 255 255 / .78); display: inline-flex; align-items: center; gap: 8px; }

/* ---------- Cart ---------- */
.line { display: flex; align-items: center; gap: 14px; padding-block: 16px; } .line + .line { border-block-start: 1px solid var(--line); }
.line h3 { font-size: 15px; font-weight: 650; line-height: 1.5; direction: ltr; unicode-bidi: plaintext; } [dir="rtl"] .line h3 { text-align: right; }
.line .price { font-size: 17px; min-width: 96px; justify-content: flex-end; }
.line .ibtn { box-shadow: inset 0 0 0 1px var(--line); }
@media (max-width: 700px) { .line { flex-wrap: wrap; } .line .grow { flex-basis: calc(100% - 82px); } .line .price { margin-inline-start: auto; min-width: 0; } }
.pay-panel { display: grid; gap: 16px; padding: 20px; border-radius: 24px; background: color-mix(in oklab, var(--ink) 3.5%, var(--surface)); box-shadow: inset 0 0 0 1px var(--line); }
.seller { display: flex; gap: 14px; align-items: flex-start; } .seller p { direction: ltr; unicode-bidi: plaintext; font-size: 12.5px; line-height: 1.6; color: var(--muted); } [dir="rtl"] .seller p { text-align: right; }
.duty { font-size: 12.5px; line-height: 1.7; text-align: center; color: var(--muted); } .duty b { color: var(--ink); }
.bank { direction: ltr; text-align: left; font-size: 13px; line-height: 1.9; font-variant-numeric: tabular-nums; }

/* The shared reset names button and input only; long fields need the family too. */
textarea, select { font: inherit; color: inherit; }
.item { grid-template-columns: minmax(0, 1fr); } .item-foot > div { min-width: 0; }
@media (max-width: 560px) { .item { padding: 8px 8px 12px; border-radius: 24px; } .item-body { padding-inline: 4px; } .item-foot .price { font-size: 17px; } .kdv { white-space: normal; font-size: 10.5px; } .item .fav { width: 36px; height: 36px; } }
/* The shared .cols collapses to `1fr`; a wide child then sets the track. Keep the track shrinkable. */
.cols > * { min-width: 0; } @media (max-width: 1020px) { .cols { grid-template-columns: minmax(0, 1fr); } }
.card-head { flex-wrap: wrap; }
.cols > aside { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 560px) { .btn--block.btn--lg { height: auto; min-height: 60px; padding: 12px 18px; white-space: normal; font-size: 15.5px; line-height: 1.4; } }
.crumbs { flex-wrap: wrap; row-gap: 4px; } .crumbs > * { white-space: nowrap; }
.cmd-field span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 560px) { .phero .cmd-field input { font-size: 16px; letter-spacing: .02em; } .phero .cmd { padding-inline: 10px 8px; gap: 10px; } .phero .cmd .btn { padding-inline: 16px; } }
.journey .card { display: flex; align-items: center; gap: 16px; padding: 22px 24px; } .journey .card::before { order: 3; margin-inline-start: auto; }
@media (max-width: 560px) { .sum .total .price { font-size: 22px; } .gold.nhero { min-height: 0; } }

/* ---------- Basket and favourite buttons (js/parts/shop.js) ---------- */
.add[aria-pressed="true"] { background: var(--ok); box-shadow: none; } .add[aria-pressed="true"]:hover { transform: scale(1.1); }
.item .fav[aria-pressed="true"], .item .fav.is-on, .pdp-fav[aria-pressed="true"] { color: #fff; background: linear-gradient(180deg, #7C24FF, #5A00D4); box-shadow: 0 6px 14px -6px rgb(101 0 239 / .7); }
.item .fav { transition: transform .3s var(--ease), background .25s, color .25s; cursor: pointer; } .item .fav:hover { transform: scale(1.1); }
[data-shop-cart][aria-busy="true"], [data-shop-fav][aria-busy="true"] { pointer-events: none; opacity: .55; }
.toast { position: fixed; z-index: 90; inset-inline: 0; bottom: calc(env(safe-area-inset-bottom, 0px) + 28px); margin-inline: auto; width: max-content; max-width: min(92vw, 520px); display: flex; align-items: center; gap: 12px;
  padding: 14px 20px; border-radius: 999px; font-size: 14.5px; font-weight: 600; line-height: 1.5; color: var(--bg); background: var(--ink); box-shadow: 0 24px 50px -18px rgb(0 0 0 / .55);
  opacity: 0; translate: 0 18px; pointer-events: none; transition: opacity .3s, translate .45s var(--ease); }
.toast.is-open { opacity: 1; translate: 0 0; pointer-events: auto; }
.toast .tci { font-size: 20px; color: var(--yellow); flex: none; } .toast[data-tone="err"] .tci { color: #FF8A7A; }
.toast a { margin-inline-start: 6px; color: var(--yellow); font-weight: 700; white-space: nowrap; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 960px) { .toast { bottom: calc(env(safe-area-inset-bottom, 0px) + 104px); border-radius: 22px; } }
@media (prefers-reduced-motion: reduce) { .toast { transition: opacity .2s; translate: 0 0; } }

/* ---------- Store pages ported to the site templates ---------- */
.pager button { min-width: 44px; height: 44px; padding-inline: 8px; border: 0; border-radius: 999px; display: grid; place-items: center; font-size: 14px; font-weight: 600; color: var(--muted); background: none; cursor: pointer; }
.pager button:hover { background: color-mix(in oklab, var(--ink) 7%, transparent); }
.item-body h3 mark { background: color-mix(in oklab, var(--yellow) 55%, transparent); color: inherit; border-radius: 4px; padding-inline: 2px; }
.tabs .sub-cat { gap: 8px; } .tabs .sub-cat img { width: 26px; height: 26px; border-radius: 9px; object-fit: cover; }
.gallery button.main { border: 0; padding: 0; width: 100%; cursor: zoom-in; } .gallery .thumbs { flex-wrap: wrap; } .gallery .thumbs button { cursor: pointer; }
.pdp-name { font-size: clamp(28px, 3.2vw, 46px); direction: ltr; unicode-bidi: plaintext; } [dir="rtl"] .pdp-name { text-align: right; }
.pdp-desc { font-size: 16px; line-height: 1.9; overflow-wrap: anywhere; } .pdp-desc > * + * { margin-block-start: .7em; } .pdp-desc img, .pdp-desc table, .pdp-desc iframe { max-width: 100%; height: auto; }
.pdp-desc ul, .pdp-desc ol { padding-inline-start: 1.3em; list-style: revert; } .pdp-desc a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.review .stack { min-width: 0; } .review p { overflow-wrap: anywhere; }
.lightbox { border: 0; padding: 0; margin: auto; max-width: min(94vw, 1100px); max-height: 92vh; border-radius: 28px; background: #F6F3FB; overflow: hidden; box-shadow: 0 40px 90px -30px rgb(0 0 0 / .7); }
.lightbox::backdrop { background: rgb(10 5 22 / .72); backdrop-filter: blur(6px); }
.lightbox img { display: block; max-width: min(94vw, 1100px); max-height: 92vh; object-fit: contain; }
.lightbox form { position: absolute; top: 12px; inset-inline-end: 12px; } .lightbox .ibtn { color: #120B22; background: rgb(255 255 255 / .86); box-shadow: 0 6px 14px -6px rgb(0 0 0 / .35); }
.sidenav form { display: contents; }
.sidenav button { display: flex; align-items: center; gap: 12px; width: 100%; height: 50px; padding-inline: 16px; border: 0; border-radius: 18px; background: none; font-size: 14.5px; font-weight: 500; color: var(--muted); cursor: pointer; white-space: nowrap; }
.sidenav button:hover { background: color-mix(in oklab, var(--ink) 5%, transparent); }
@media (max-width: 960px) { .sidenav button { height: 44px; border-radius: 999px; width: auto; } }
@media (max-width: 560px) { .promo .tile-copy p { display: none; } }
