/* NELVARA checkout, copied from the HER ROUTINE v11 checkout (2026-11-13). Accent colour = Nelvara copper #B87333 (theme button colour). */
/* Font (2026-11-14, Nikos): the system font for everything, like the Shopify checkout Bentior uses. Headings 600, body 14px/18.9px. */
:root {
  --accent: #B87333;
  --accent-dark: #A3642C;
  --accent-ring: rgba(184, 115, 51, 0.3);
  --text: #000;
  --muted: rgba(0, 0, 0, 0.56);
  --label: #707070;
  --border: #dedede;
  --line: #dfdfdf;
  --grey: #f6f6f6;
  --selected: #f5f0e8;
  --error: #d91c1c;
  --radius: 12px;
  --heading: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--page-bg, #fff);
  color: var(--text);
  font: var(--base-size, 14px)/18.9px var(--body-font, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif), "Apple Color Emoji", "Segoe UI Emoji";
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }
button { font: inherit; color: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

/* ---------- header ---------- */
.hdr { height: 80px; border-bottom: 1px solid var(--line); background: #fff; }
.hdr-in { position: relative; height: 100%; width: min(980px, calc(100% - 28px)); margin: 0 auto; display: flex; align-items: center; justify-content: center; }
.hdr .logo img { display: block; width: 120px; height: auto; }
.hdr .bag { position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; color: var(--accent); display: block; }

/* ---------- layout ---------- */
.wrap { width: min(980px, calc(100% - 64px)); margin: 0 auto; display: grid; grid-template-columns: 55.1% 44.9%; }
.col-main { padding: 40px 40px 64px 0; min-width: 0; }
.col-side { border-left: 1px solid var(--line); padding: 40px 0 40px 40px; min-height: calc(100vh - 81px); min-width: 0; background: var(--side-bg, transparent); }
.side-in { position: sticky; top: 40px; }

/* ---------- headings ---------- */
.h2 { font: 600 var(--h-size, 20px)/24px var(--heading); margin: 0 0 14px; color: var(--text); }
.h3 { font: 600 16px/19.2px var(--heading); margin: 0 0 14px; color: var(--text); }
.sec { margin-top: 32px; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; }
.sec-head a { font-size: 14px; text-decoration: underline; }
.sub-muted { margin: -10px 0 14px; color: var(--muted); }

/* ---------- express ---------- */
.express-t { text-align: center; color: var(--muted); font-size: 14px; font-weight: 400; margin: 0 0 14px; }
.express-btns { display: flex; gap: 10px; justify-content: center; }
.express-btns .xbtn { flex: 1 1 0; max-width: 100%; height: 48px; border: 0; border-radius: 6px; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; overflow: hidden; }
/* Whop serves each wallet button as a full 380x44 artwork (black background, logo centred): fill the button, crop only the empty sides. */
.express-btns .xbtn img.xart { width: 100%; height: 100%; object-fit: cover; display: block; }
.express-btns.one .xbtn { flex: 0 0 262px; }
/* Loading placeholder (Shopify shows the same grey bars while the wallets load). */
.express-btns .xskel { cursor: default; background: linear-gradient(90deg, #ececec 0%, #f6f6f6 50%, #ececec 100%) 0 0 / 200% 100%; animation: xskel 1.2s linear infinite; }
@keyframes xskel { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .express-btns .xskel { animation: none; } }
.xbtn.paypal { background: #ffc439; }
.xbtn.paypal img { height: 20px; }
.xbtn.paypal_express { background: #ffc439; }
.xbtn.google_pay, .xbtn.apple_pay { background: #000; color: #fff; }
.express-legal { margin: 12px 0 0; font-size: 12px; color: var(--muted); line-height: 1.5; }
.express-legal a { color: var(--muted); }
.or { display: flex; align-items: center; gap: 16px; color: var(--muted); margin: 20px 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---------- fields (floating label) ---------- */
.stack > * + * { margin-top: 10px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.row3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.fld { position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); transition: border-color .12s, box-shadow .12s; }
.fld input, .fld select {
  display: block; width: 100%; height: 47px; margin: 0; border: 0; border-radius: var(--radius);
  background: transparent; color: var(--text); font: inherit; font-size: 14px; line-height: 18.9px;
  padding: 13.55px 10px; outline: none; -webkit-appearance: none; appearance: none;
}
.fld input::placeholder { color: var(--label); opacity: 1; }
.fld > label {
  position: absolute; left: 11px; top: 6px; font-size: 12px; line-height: 16.2px; color: var(--label);
  pointer-events: none; opacity: 0; transform: translateY(3px); transition: opacity .12s, transform .12s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: calc(100% - 22px);
}
.fld.filled > label { opacity: 1; transform: none; }
.fld.filled input { padding: 21.05px 10px 6.05px; }
.fld.has-icon input { padding-right: 40px; }
.fld:focus-within { border-color: var(--accent); box-shadow: 0 0 0 0.5px var(--accent); outline: 3px solid var(--accent-ring); outline-offset: 0; }
.fld.err { border-color: var(--error); box-shadow: 0 0 0 0.5px var(--error); }
.fld.err:focus-within { outline-color: rgba(217, 28, 28, 0.3); }
.err-msg { color: var(--error); font-size: 14px; margin-top: 6px; display: flex; gap: 6px; align-items: flex-start; }

/* selects: label always on top once a value exists; empty -> label acts as placeholder */
.fld.sel select { height: 49px; padding: 21.05px 30px 6.05px 10px; cursor: pointer; }
.fld.sel > label { opacity: 1; transform: none; }
.fld.sel.empty > label { top: 15px; font-size: 14px; line-height: 18.9px; }
.fld.sel.empty select { color: transparent; }
.fld.sel .chev { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 14px; height: 14px; color: var(--label); pointer-events: none; }

/* icons inside fields */
.fld .ico { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--label); display: flex; align-items: center; justify-content: center; background: none; border: 0; padding: 0; cursor: default; }
button.ico { cursor: pointer; }
.tip { position: absolute; bottom: calc(100% + 8px); right: -6px; width: max-content; max-width: 200px; background: #000; color: #fff; font-size: 12px; line-height: 1.35; text-align: center; padding: 8px 10px; border-radius: 8px; opacity: 0; pointer-events: none; transition: opacity .12s; z-index: 5; }
.tip::after { content: ""; position: absolute; top: 100%; right: 12px; border: 6px solid transparent; border-top-color: #000; }
.ico:hover .tip, .ico:focus-visible .tip, .ico.open .tip { opacity: 1; }
@media (hover: none) { .ico:hover .tip { opacity: 0; } .ico.open .tip { opacity: 1; } }

/* checkbox */
.chk { display: flex; align-items: center; gap: 10px; cursor: pointer; user-select: none; font-size: 14px; }
.chk input { position: absolute; opacity: 0; width: 0; height: 0; }
.chk .box { flex: 0 0 18px; width: 18px; height: 18px; border: 1px solid var(--border); border-radius: 5px; background: #fff; display: flex; align-items: center; justify-content: center; transition: background .12s, border-color .12s; }
.chk .box svg { width: 12px; height: 12px; color: #fff; opacity: 0; }
.chk input:checked + .box { background: var(--accent); border-color: var(--accent); }
.chk input:checked + .box svg { opacity: 1; }
.chk input:focus-visible + .box { outline: 3px solid var(--accent-ring); }
.mt10 { margin-top: 10px; }

/* address suggestions */
.suggest { position: absolute; left: -1px; right: -1px; top: calc(100% + 4px); background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 8px 24px rgba(0, 0, 0, .12); z-index: 10; overflow: hidden; padding: 6px 0; }
.suggest button { display: flex; width: 100%; gap: 10px; align-items: center; text-align: left; border: 0; background: #fff; padding: 10px 12px; cursor: pointer; font-size: 14px; }
.suggest button:hover, .suggest button.active { background: var(--grey); }
.suggest .pin { width: 16px; height: 16px; color: var(--label); flex: 0 0 16px; }
.suggest .main { font-weight: 600; }
.suggest .sec2 { color: var(--muted); }
.suggest .powered { font-size: 11px; color: var(--muted); text-align: right; padding: 6px 12px 2px; }

/* ---------- shipping method ---------- */
.ship-empty { background: var(--grey); border-radius: var(--radius); padding: 16px; text-align: center; color: var(--muted); }
.ship-warn { display: flex; gap: 10px; align-items: flex-start; background: #fff8ed; border: 1px solid #f3d9b1; border-radius: var(--radius); padding: 14px; margin-bottom: 14px; }
.ship-warn svg { flex: 0 0 18px; width: 18px; height: 18px; color: #8a5300; margin-top: 1px; }
.ship-label { font-weight: 600; font-size: 14px; margin: 14px 0 10px; }
.ship-label:first-child { margin-top: 0; }
.opts { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.opt { display: flex; align-items: center; gap: 12px; padding: 14px; cursor: pointer; position: relative; }
.opt + .opt { border-top: 1px solid var(--border); }
.opt.sel { background: var(--selected); }
.opts.single { border-color: var(--accent); box-shadow: 0 0 0 0.5px var(--accent); }
.opts:not(.single) .opt.sel { box-shadow: inset 0 0 0 1px var(--accent); }
.opts:not(.single) .opt.sel:first-child { border-radius: 11px 11px 0 0; }
.opts:not(.single) .opt.sel:last-child { border-radius: 0 0 11px 11px; }
.opts:not(.single) .opt.sel:only-child { border-radius: 11px; }
.opt .txt { flex: 1; min-width: 0; }
.opt .nm { font-weight: 600; }
.opt .price { font-weight: 600; white-space: nowrap; }
.recurring-box { background: var(--grey); border-radius: var(--radius); padding: 14px; }

/* radio */
.rad { flex: 0 0 18px; width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--border); background: #fff; display: flex; align-items: center; justify-content: center; }
.sel > .rad, .rad.on, .acc-item.sel .acc-head .rad { background: var(--accent); border-color: var(--accent); }
.sel > .rad::after, .rad.on::after, .acc-item.sel .acc-head .rad::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; }

/* ---------- payment accordion ---------- */
.acc { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.acc-item + .acc-item { border-top: 1px solid var(--border); }
.acc-head { display: flex; align-items: center; gap: 12px; padding: 14px; cursor: pointer; min-height: 50px; position: relative; }
.acc-item.sel .acc-head { background: var(--selected); box-shadow: inset 0 0 0 1px var(--accent); }
.acc-item.sel:first-child .acc-head { border-radius: 11px 11px 0 0; }
.acc-item.sel:last-child:not(.open) .acc-head { border-radius: 0 0 11px 11px; }
.acc-head .nm { flex: 1; }
.acc-head .nm small { display: block; color: var(--muted); font-size: 14px; }
.logos { display: flex; gap: 4px; align-items: center; }
.logos img { display: block; width: 38px; height: 24px; }
.logos .more { min-width: 24px; height: 24px; padding: 0 4px; border: 1px solid var(--border); border-radius: 4px; font-size: 11px; display: flex; align-items: center; justify-content: center; background: #fff; }
.acc-body { background: var(--grey); padding: 16px; border-top: 1px solid var(--border); }
.acc-body .row2 { gap: 11px; }
.pp-note { text-align: center; color: var(--muted); padding: 6px 12px; }

/* Whop hosted card fields sit inside .fld.card; our label + icons are overlays */
.fld.card { height: 49px; } /* v10: original height, no lift (typed values sit under the label); Whop placeholders hidden in whopAppearance() */
.fld.card .frame { position: absolute; left: 0; right: 0; bottom: 0; top: 0; overflow: hidden; border-radius: var(--radius); }
/* Whop draws its own faint border at the edge of its box, which showed as a second line inside ours (most visible by the
   lock / ? icons). The hosted box is 4px bigger on every side and clipped by .frame, so only our border shows.
   Its input padding in whopAppearance() is +4px to keep the text exactly where it was. */
.fld.card .frame > div { position: absolute !important; top: -4px; left: -4px; right: -4px; bottom: -4px; }
.fld.card .frame iframe { height: 100% !important; }
/* Empty + unfocused: the label is a white mask over the hosted input, so the buyer sees "Card number" exactly like Shopify
   (Whop's own placeholder text cannot be changed). Focused or filled: it floats to the top as a 12px label. */
.fld.card > label { top: 0; left: 0; right: 0; bottom: 0; max-width: none; display: flex; align-items: center; padding: 0 11px; background: #fff; border-radius: 11px; z-index: 2; font-size: 14px; line-height: 18.9px; opacity: 1; transform: none; transition: none; }
/* The white cover spans the whole field (the lock / ? icon sits above it), so Whop's loading box never peeks through by the icon. */
.fld.card.has-icon > label { right: 0; }
.fld.card .ico { z-index: 3; }
.fld.card.filled > label, .fld.card.focused > label { top: 6px; left: 11px; right: auto; bottom: auto; display: block; padding: 0; background: transparent; font-size: 12px; line-height: 16.2px; }
.fld.card.focused { border-color: var(--accent); box-shadow: 0 0 0 0.5px var(--accent); outline: 3px solid var(--accent-ring); }

/* ---------- legal + pay ---------- */
.legal { margin: 32px 0 0; font-size: 14px; line-height: 1.35; }
.legal a { color: inherit; text-decoration: underline; }
.pay-btn { display: block; width: 100%; height: var(--btn-height, 50px); margin-top: 24px; border: 0; border-radius: var(--radius); background: #111; color: var(--btn-text, #fff); font-size: 14px; font-weight: 600; cursor: pointer; padding: 14px; }
.pay-btn:hover { background: #000; }
.pay-btn[disabled] { cursor: progress; opacity: .85; }
.pay-btn .spin { display: inline-block; width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; vertical-align: middle; }
@keyframes spin { to { transform: rotate(360deg); } }
.pay-err { margin-top: 12px; }
.branding { margin-top: 6px; }
.branding.end { margin: 14px auto 0; padding-top: 12px; max-width: 300px; border-top: 1px solid var(--line, #dfdfdf); }
#pay { font-weight: 600; font-size: 16px; }
.foot { margin-top: 28px; display: flex; flex-wrap: nowrap; justify-content: center; align-items: center; gap: 6px; white-space: nowrap; font-size: 12px; color: var(--muted, #707070); }
.foot a { font-size: 12px; color: inherit; text-decoration: underline; }

/* ---------- summary ---------- */
.items > * + * { margin-top: 16px; }
.item { display: flex; align-items: center; gap: 14px; }
.thumb { position: relative; flex: 0 0 64px; width: 64px; height: 64px; border-radius: 16px; background: var(--grey); }
.thumb img { display: block; width: 64px; height: 64px; object-fit: cover; border-radius: 16px; border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.thumb .q { position: absolute; top: -8px; right: -8px; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: #000; color: #fff; font: 600 12px/20px -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; text-align: center; }
.item .ttl { flex: 1; min-width: 0; }
.item .ttl small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.item .pr { white-space: nowrap; }
.item .pr s { color: var(--muted); display: block; font-size: 12px; text-align: right; }
.disc { display: flex; gap: 10px; margin-top: 20px; align-items: flex-start; }
.disc .fld { flex: 1; }
.disc .apply { height: 49px; padding: 14px; border: 0; border-radius: var(--radius); background: var(--grey); color: var(--muted); font-weight: 600; cursor: default; }
.disc .apply.ready { background: var(--accent); color: #fff; cursor: pointer; }
.disc .apply.ready:hover { background: var(--accent-dark); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chip { display: inline-flex; align-items: center; gap: 6px; background: #e8e8e8; border-radius: 6px; padding: 4px 6px 4px 8px; font-size: 12px; font-weight: 600; }
.chip svg { width: 12px; height: 12px; }
.chip button { border: 0; background: none; padding: 0; display: flex; cursor: pointer; color: var(--muted); }
.lines { margin-top: 20px; }
.ln { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ln + .ln { margin-top: 8px; }
.ln .q-ico { display: inline-flex; vertical-align: middle; margin-left: 4px; position: relative; color: var(--label); background: none; border: 0; padding: 0; cursor: pointer; transform: none; top: auto; right: auto; width: auto; height: auto; }
.ln .q-ico svg { width: 14px; height: 14px; }
.ln .q-ico .tip { right: auto; left: 50%; transform: translateX(-50%); bottom: calc(100% + 8px); font-weight: 400; width: 220px; white-space: normal; }
.ln .q-ico .tip::after { right: auto; left: 50%; margin-left: -6px; }
.ln .muted { color: var(--muted); }
.ln.total { margin-top: 16px; font-size: 18px; font-weight: 600; }
.ln.total .cur { font-size: 12px; font-weight: 400; color: var(--muted); margin-right: 8px; }
.ln.recurring { border-top: 1px solid var(--line); margin-top: 12px; padding-top: 12px; font-weight: 600; }

/* ---------- policy pop-up ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 24px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.6); }
.modal-box { position: relative; background: #fff; border-radius: 16px; width: min(480px, 100%); max-height: min(80vh, 640px); display: flex; flex-direction: column; box-shadow: 0 20px 60px rgba(0, 0, 0, .25); }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.modal-title { margin: 0; font: 600 20px/24px var(--heading); }
.modal-x { width: 32px; height: 32px; border: 0; background: none; border-radius: 8px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.modal-x:hover { background: var(--grey); }
.modal-body { padding: 20px 24px 28px; overflow-y: auto; line-height: 1.5; }
.modal-body h1, .modal-body h2, .modal-body h3 { font-family: var(--heading); }
.modal-body a { color: var(--accent); }
.modal-body .loading { color: var(--muted); }
body.modal-open { overflow: hidden; }

/* ---------- mobile ---------- */
.m-bar, .m-sum, .m-bottom { display: none; }
@media (max-width: 749px) {
  .hdr-in { width: calc(100% - 28px); }
  .wrap { display: block; width: auto; }
  .col-side { display: none; }
  .col-main { padding: 0 14px 40px; }
  .m-bar { display: flex; align-items: center; justify-content: space-between; height: 64px; padding: 0 14px; background: var(--grey); border-bottom: 1px solid var(--line); width: 100%; border-top: 0; border-left: 0; border-right: 0; cursor: pointer; }
  .m-bar .lbl { color: #000; display: flex; align-items: center; gap: 4px; }
  .m-bar .lbl svg { width: 14px; height: 14px; transition: transform .15s; }
  .m-bar[aria-expanded="true"] .lbl svg { transform: rotate(180deg); }
  .m-bar .amt { font-size: 18px; font-weight: 600; }
  .m-sum { display: block; padding: 20px 14px; border-bottom: 1px solid var(--line); }
  .m-sum[hidden] { display: none !important; }
  .express { padding-top: 28px; }
  .row2.names, .row3, .acc-body .row2 { grid-template-columns: 1fr; }
  .row2.names > * + *, .row3 > * + *, .acc-body .row2 > * + * { margin-top: 0; }
  .row2:not(.names):not(.cardrow).addr2 { grid-template-columns: 1fr; }
  /* Shopify mobile: two buttons side by side; a third one takes its own full-width row below. */
  .express-btns { flex-wrap: wrap; }
  .express-btns .xbtn { flex: 1 1 calc(50% - 5px); }
  .express-btns.one .xbtn { flex: 1 1 100%; }
  .m-bottom { display: block; margin-top: 32px; }
  .m-bottom .add-disc { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; font-weight: 600; cursor: pointer; }
  .m-bottom .add-disc svg { width: 16px; height: 16px; }
  .m-tot { display: flex; align-items: center; gap: 14px; margin-top: 14px; }
  .m-tot .thumb { flex-basis: 48px; width: 48px; height: 48px; border-radius: 12px; }
  .m-tot .thumb img { width: 48px; height: 48px; border-radius: 12px; }
  .m-tot .t { flex: 1; }
  .m-tot .t b { display: block; font-size: 18px; }
  .m-tot .t span { color: var(--muted); }
  .m-tot .cur { background: var(--grey); border-radius: 12px; padding: 2px 8px; font-size: 12px; color: var(--muted); margin-right: 8px; }
  .m-tot .amt { font-size: 18px; font-weight: 600; }
  .legal { margin-top: 24px; }
  .pay-btn { margin-top: 16px; }
}

/* ---------- theme-editor sections ---------- */
#co-src { display: none !important; }
.co-pay .pay-btn { margin-top: 16px; }
.co-x-h { font: 600 16px/1.25 var(--heading); margin: 0 0 6px; color: var(--text); }
.co-x-body p { margin: 0 0 8px; } .co-x-body p:last-child { margin-bottom: 0; }
.co-x-icon { display: block; margin: 0 0 8px; }
.co-text[style*="text-align: center"] .co-x-icon { margin-left: auto; margin-right: auto; }
.co-x-placeholder { border: 1px dashed var(--border); border-radius: var(--radius); padding: 28px; color: var(--muted); text-align: center; }
.co-badge-list { display: grid; grid-template-columns: repeat(var(--cols, 1), minmax(0, 1fr)); gap: 12px; }
.co-badge { display: flex; gap: 10px; align-items: center; }
.co-badge-list[style*="text-align: center"] .co-badge { flex-direction: column; text-align: center; }
.co-badge img { object-fit: contain; flex: 0 0 auto; }
.co-badge b { display: block; font-size: 14px; } .co-badge span { display: block; color: var(--muted); font-size: 13px; }
.co-testimonial { border-radius: var(--radius); padding: 16px; }
.co-stars { letter-spacing: 2px; font-size: 16px; margin-bottom: 6px; }
.co-quote p { margin: 0 0 10px; }
.co-author { display: flex; gap: 10px; align-items: center; }
.co-author img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.co-author b { display: block; font-size: 13px; } .co-author span { display: block; font-size: 12px; color: var(--muted); }
.legal p { margin: 0; }

/* ---------- thank-you page (Shopify layout) ---------- */
.ty { padding-top: 0; }
.ty-head { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.ty-check { flex: 0 0 46px; width: 46px; height: 46px; border: 2px solid var(--accent); border-radius: 50%; color: var(--accent); display: flex; align-items: center; justify-content: center; }
.ty-check svg { width: 26px; height: 26px; }
.ty-conf { margin: 0 0 2px; font-size: 14px; color: var(--muted); }
.ty-title { margin: 0; font: 600 24px/1.2 var(--heading); color: var(--text); }
.ty-box { border: 1px solid var(--border); border-radius: var(--radius); padding: 17px; margin-top: 14px; }
.ty-box .h3 { margin-bottom: 8px; }
.ty-p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.5; }
.ty-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; margin-top: 14px; }
.ty-grid h4 { margin: 0 0 6px; font-size: 14px; font-weight: 600; }
.ty-grid p, .ty-grid address { margin: 0; font-size: 14px; line-height: 1.5; font-style: normal; color: var(--muted); word-break: break-word; }
.ty-pay { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.ty-card { width: 38px; height: 24px; display: inline-block; vertical-align: middle; }
.ty-chip { margin-left: 6px; vertical-align: middle; }
.ty-chip svg { width: 12px; height: 12px; }
.ty-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 28px 0 8px; font-size: 14px; }
.ty-foot p { margin: 0; }
.ty-foot a { color: var(--accent); }
.ty-foot .ty-cont { display: inline-flex; align-items: center; justify-content: center; width: auto; margin: 0; padding: 0 24px; color: var(--btn-text, #fff); text-decoration: none; }
#done .foot { margin-top: 40px; }
@media (max-width: 749px) {
  .ty { padding-top: 28px; }
  .ty-grid { grid-template-columns: 1fr; }
  .ty-foot { flex-direction: column-reverse; align-items: stretch; text-align: center; }
  .ty-foot .ty-cont { width: 100%; }
}

.ty-acc { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.ty-acc-btn { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 18px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; color: var(--accent); font-size: 14px; font-weight: 600; text-decoration: none; }
.ty-acc-btn:hover { border-color: var(--accent); }
@media (max-width: 749px) { .ty-acc { flex-direction: column; align-items: stretch; } .ty-acc-btn { width: 100%; } }

/* single-column pages (Update payment method) */
.single .wrap { grid-template-columns: 1fr; width: min(560px, calc(100% - 28px)); }
.single .col-side { display: none; }
.single .col-main { padding-right: 0; }
.single .ty-box .pay-btn { margin-top: 20px; }


/* =================== v3 (Smooche-style elements) =================== */
.hdr-stack { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.hdr-stack .logo img { width: 104px; }
.hdr-pill { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 4px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 600; line-height: 1.5; letter-spacing: .01em; }
.hdr-pill-stars { color: #ffd76a; font-size: 10px; letter-spacing: 1px; }
.reserved { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; padding: 16px; background: #dcffd3; border: 1px solid #94e374; border-radius: 12px; font-size: 14px; font-weight: 600; color: #094b00; }
.reserved svg { width: 20px; height: 20px; flex: 0 0 20px; color: #1f7a3d; }
.reserved .r-time { font-variant-numeric: tabular-nums; }
.guar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; padding: 9px 12px; background: #f4f4f4; border-radius: 8px; font-size: 14px; }
.guar b { font-weight: 600; margin-right: 8px; }
.guar .q-ico { position: relative; display: inline-flex; color: var(--label); background: none; border: 0; padding: 0; cursor: pointer; }
.guar .q-ico .tip { right: -6px; bottom: calc(100% + 8px); width: 240px; white-space: normal; font-weight: 400; }
.agree { margin: 10px 0 0; font-size: 12px; line-height: 1.4; color: var(--muted, #707070); text-align: center; }
.agree a { color: inherit; text-decoration: underline; }
.why-wrap:empty { display: none; }
.why-wrap { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line, #dfdfdf); }
.why-t { margin: 0 0 14px; text-align: center; color: var(--muted); font-size: 14px; }
.why-list { display: flex; flex-direction: column; gap: 14px; }
.why-row { display: flex; align-items: center; gap: 14px; }
.why-ico { flex: 0 0 32px; width: 32px; height: 32px; color: var(--accent); }
.why-ico svg { width: 32px; height: 32px; }
.why-row b { display: block; font-size: 14px; font-weight: 400; }
.why-row small { display: block; font-size: 12px; color: var(--muted); }
.rate { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 22px 0 14px; }
.rate b { font: 600 18px/1 var(--heading); }
.stars { display: inline-flex; gap: 1px; color: var(--accent); }
.rate .stars svg { width: 22px; height: 22px; }
.rv-card { padding: 14px; border: 1px solid #d7d7d7; border-radius: 12px; background: #fff; min-height: 150px; }
.rv-card p { margin: 8px 0; font-size: 14px; line-height: 1.45; }
.rv-card i { font-size: 14px; color: var(--muted); }
.rv-nav { display: flex; justify-content: center; gap: 28px; margin-top: 14px; }
.rv-nav button { border: 0; background: none; font-size: 20px; cursor: pointer; color: var(--text); padding: 4px 8px; }
.rv-note { margin: 10px 0 0; text-align: center; font-size: 14px; }
.side-in { position: static; }
.m-only { display: none; }
@media (max-width: 749px) {
  .hdr-stack .logo img { width: 92px; }
  .hdr-pill { font-size: 10px; }
  .reserved { margin-top: 20px; }
  .m-only { display: block; }
  .d-only { display: none; }
}

/* mobile bottom (standard Shopify): discount field in place + expandable total */
.m-bottom .m-disc { margin: 0 0 14px; }
.m-bottom .m-tot { width: 100%; border: 0; background: none; padding: 0; text-align: left; cursor: pointer; font: inherit; color: inherit; }
.m-bottom .m-tot-r { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.m-bottom .m-tot-amt { display: inline-flex; align-items: center; gap: 4px; }
.m-bottom .m-tot-amt .chev { width: 14px; height: 14px; transition: transform .15s; }
.m-bottom .m-tot[aria-expanded="true"] .chev { transform: rotate(180deg); }
.m-bottom .m-head { display: flex; align-items: center; justify-content: space-between; width: 100%; margin: 14px 0 0; padding: 8px 0; border: 0; background: none; font: 600 21px/28px var(--heading); color: var(--text); text-align: left; cursor: pointer; }
.m-bottom .m-head .chev { width: 16px; height: 16px; transform: rotate(180deg); }
.m-bottom .m-exp { padding: 4px 0 14px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.m-bottom .m-exp .lines { margin-top: 14px; }

/* Header logo: any image (logo or a wide logo banner). Sized by height, never wider than the header leaves room for. */
:root { --logo-w: 300px; --logo-w-m: 50vw; --logo-h: calc(var(--logo-w) * 117 / 360); --logo-h-m: calc(var(--logo-w-m) * 117 / 360); }
.hdr .logo { display: flex; align-items: center; max-width: calc(100% - 64px); }
.hdr .logo img { width: auto; height: var(--logo-h); max-width: 100%; object-fit: contain; }
@media (max-width: 749px) { .hdr .logo img { height: var(--logo-h-m); } }

/* 3 USPs under the logo (Smooche-style): one small black line */
.hdr:has(.hdr-usp) { height: auto; padding: 14px 0 12px; }
.hdr-usp-wrap { display: flex; flex-direction: column; align-items: center; gap: 6px; max-width: calc(100% - 64px); }
.hdr-usp-wrap .logo { max-width: 100%; }
.hdr-usp { margin: 0; display: flex; align-items: center; gap: 7px; white-space: nowrap; font-size: 12px; line-height: 1.2; color: var(--text, #111); }
.hdr-usp i { font-style: normal; color: #b5b5b5; }
@media (max-width: 749px) { .hdr-usp { font-size: 11px; gap: 5px; } }
.hdr-proof { margin: 2px 0 0; display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; padding: 6px 16px; border-radius: 8px; background: var(--accent, #B87333); color: #fff; font-size: 14px; line-height: 1.2; }
.hdr-proof b { font-weight: 600; }
.hdr-stars { display: inline-flex; gap: 0; color: #fff; }
.hdr-stars svg { width: 13px; height: 13px; fill: currentColor; }
.hdr-stars svg + svg { margin-left: 1px; }
@media (max-width: 749px) { .hdr-proof { font-size: 13px; padding: 6px 14px; } .hdr-stars svg { width: 12px; height: 12px; } }

/* guarantee under the mobile Total (same row as in the order summary) */
.m-guar .guar { margin-top: 10px; }

/* shipping method like Smooche: radio always shown, bold name, price top-right */
#ship-methods .opt { align-items: flex-start; }
#ship-methods .opt .rad { margin-top: 2px; }
#ship-methods .opt .nm { font-weight: 600; }
#ship-methods .opt .price { font-weight: 600; }
/* Small screens: the cart bag is centred on the logo row, so it never touches the proof pill or the USP line. */
@media (max-width: 749px) {
  .hdr:has(.hdr-usp) .bag { top: calc(var(--logo-h-m) / 2); transform: translateY(-50%); }
}
/* very small phones (≤359px, e.g. iPhone SE 1st gen): slightly smaller pill and USP line so both fit */
@media (max-width: 359px) {
  .hdr-proof { font-size: 12px; padding: 5px 12px; gap: 4px; }
  .hdr-stars svg { width: 11px; height: 11px; }
  .hdr-usp { font-size: 10px; gap: 4px; }
  .foot { flex-wrap: wrap; }
}

/* Logo: same header height as the image it replaces. */
.hdr .logo, .hdr .logo:hover { text-decoration: none; }
.hdr .logo .wordmark { display: flex; align-items: center; min-height: var(--logo-h); color: #000; font-family: Manrope, Arial, Helvetica, sans-serif; font-size: 22px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; }
@media (max-width: 749px) { .hdr .logo .wordmark { min-height: var(--logo-h-m); font-size: 22px; } }


/* ================= v4: Smooche 1:1 (NELVARA branding) ================= */
:root { --logo-w: 200px; --logo-w-m: 150px; }
.reserved { background: #eef6ec; border-color: #c9dfc6; color: #1f3d1f; border-radius: 8px; font-weight: 500; }
.reserved svg { color: #3a7d3a; }
.reserved .r-time { font-weight: 600; }
.pm-row { display: flex; justify-content: center; align-items: center; gap: 6px; margin: -6px 0 6px; }
.pm-row img { height: 22px; width: auto; display: block; }
.pm-row img.pp { height: 18px; margin-left: 2px; }
/* summary lines */
.item .ttl small.dtag { display: flex; align-items: center; gap: 5px; margin-top: 4px; font-size: 11px; letter-spacing: .02em; text-transform: uppercase; }
.item .ttl small.dtag svg { width: 12px; height: 12px; flex: 0 0 12px; }
.item { align-items: flex-start; }
.item + .item, .items .item + .item { margin-top: 14px; }
.item .pr { text-align: right; }
.item .pr s { font-size: 12px; }
.savings { display: flex; align-items: center; gap: 7px; margin-top: 12px; font-size: 14px; }
.savings svg { width: 16px; height: 16px; color: var(--accent); flex: 0 0 16px; }
.savings span { font-weight: 600; letter-spacing: .01em; }
.savings b { font-weight: 600; }
.guar { margin-top: 16px; }
.guar > span:first-child { display: inline-flex; align-items: center; }
.guar b { margin-right: 6px; }
.guar-r { font-weight: 600; text-align: right; }
.g-badge { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 12px; padding: 12px 14px; background: var(--selected); border-radius: 10px; font-size: 13px; line-height: 1.35; color: var(--accent-dark); }
.g-badge svg { flex: 0 0 44px; color: var(--accent); }
.g-badge b { display: block; font-weight: 600; }
.rv-t { display: block; margin: 8px 0 0; font-size: 15px; }
.rv-card .stars svg { width: 18px; height: 18px; }
.rate b { font-weight: 600; }
/* payment tiles */
.pm-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.pm-tile { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 22px; min-height: 76px; padding: 12px 14px; background: #fff; border: 1px solid var(--border); border-radius: 12px; cursor: pointer; text-align: left; font-weight: 600; }
.pm-tile img { height: 20px; width: auto; }
.pm-tile.sel { background: var(--selected); box-shadow: inset 0 0 0 1.5px var(--accent); border-color: var(--accent); color: var(--accent-dark); }
#acc.has-tiles .acc-head { display: none; }
#acc.has-tiles .acc-item { border: 0; background: none; }
#acc.has-tiles .acc-item.sel .acc-body { border-top: 0; border-radius: 12px; }
#acc.has-tiles .acc-item[data-pm="paypal"] .acc-body { background: var(--grey); border-radius: 12px; }
/* add-ons */
.addon:empty { display: none; }
.addon { margin-top: 22px; }
.ad-h { margin: 0 0 8px; font-size: 14px; font-weight: 600; }
.ad-box { display: flex; align-items: center; gap: 14px; padding: 14px; border: 1px solid var(--border); border-radius: 12px; background: #fff; cursor: pointer; }
.ad-box.on { border-color: var(--accent); background: var(--selected); }
.ad-ico { flex: 0 0 32px; color: var(--accent); }
.ad-t { flex: 1; min-width: 0; }
.ad-t b { display: block; font-weight: 600; font-size: 14px; }
.ad-t small { display: block; font-size: 12px; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.ad-tick { flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--border); background: #fff; position: relative; }
.ad-box.on .ad-tick { background: var(--accent); border-color: var(--accent); }
.ad-box.on .ad-tick::after { content: ""; position: absolute; left: 6px; top: 3px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.up-card { display: flex; align-items: center; gap: 14px; padding: 14px; border: 1px solid var(--border); border-radius: 12px; background: #fff; }
.up-img { flex: 0 0 84px; width: 84px; height: 112px; border-radius: 10px; background: var(--grey) center/cover; overflow: hidden; }
.up-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.up-t { flex: 1; min-width: 0; font-size: 13px; }
.up-t b { display: block; font-size: 14px; font-weight: 600; }
.up-t small { display: block; color: var(--muted); margin-top: 1px; }
.up-t ul { list-style: none; margin: 6px 0; padding: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.up-t li::before { content: "✓ "; }
.up-pr { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.up-pr s { color: var(--muted); font-weight: 400; }
.up-pr i { font-style: normal; font-size: 12px; background: var(--selected); color: var(--accent-dark); border-radius: 4px; padding: 1px 6px; }
.up-btn { flex: 0 0 auto; padding: 10px 18px; border: 1px solid var(--text); border-radius: 8px; background: #fff; font-weight: 600; cursor: pointer; }
.up-btn.on { background: var(--accent); border-color: var(--accent); color: #fff; }
@media (max-width: 749px) { .up-img { flex-basis: 72px; width: 72px; height: 96px; } .pm-tile { min-height: 68px; } }
.pm-row { margin: 8px 0 26px; }
.pm-row img.pp { height: 15px; }

/* ---- v4b ---- */
.hdr-proof { background: var(--accent); gap: 8px; border-radius: 8px; }
.hdr-stars5 { color: #ffd76a; letter-spacing: 1px; font-size: 13px; }
.pm-row { gap: 4px; flex-wrap: wrap; }
.pm-row img { height: 22px; width: auto; }
.guar { background: #fff; border-radius: 0; padding: 12px 0; margin-top: 16px; border-top: 1px solid var(--line); border-bottom: 0; }
.g-badge { background: #f5f0e8; border: 1px solid #e4dccf; border-radius: 10px; color: var(--accent-dark); font-size: 14px; text-align: left; }
.g-badge b { display: inline; font-weight: 600; }
.branding.end { border-top: 0 !important; }
.acc-head .wmark { margin-left: auto; }
.pm-row { gap: 4px; } .pm-row img { width: 38px; height: 24px; }

/* ---- v4c: Penrose-style CTA (pill, brand border, soft brand shadow) + banner placement ---- */
.guar { border-top: 0; padding-top: 4px; }
.why-wrap { border-top: 0; }
.cta-badge { margin-top: 16px; }
.cta-badge:empty { display: none; }
.cta-badge .g-badge, .why-wrap .g-badge { margin: 0 0 18px; }
.cta-badge .g-badge { margin-bottom: 0; }
.why-list + .g-badge { margin-top: 20px; }

/* header pill: the same Trustpilot-style stars as the store (green square, white star) */
.hdr-stars5 { display: inline-flex; gap: 2px; letter-spacing: 0; }
.hdr-stars5 i { display: block; width: 14px; height: 14px; border-radius: 2px; background: #00b67a; position: relative; }
.hdr-stars5 i::after { content: ""; position: absolute; inset: 2px; background: #fff; clip-path: polygon(50% 0, 62% 35%, 98% 35%, 69% 57%, 80% 91%, 50% 70%, 20% 91%, 31% 57%, 2% 35%, 38% 35%); }
/* Whop's card input sits ~11px too low once our label floats up (placeholder clipped at the bottom): lift it back into the field. */
/* v10: the -11px lift removed: it pushed typed values (expiry, security code) up onto the label. */
/* v4d: line above the guarantee bar back; tighter space under the guarantee banners */
.guar { border-top: 1px solid var(--line); padding-top: 12px; }
.cta-badge + .foot { margin-top: 14px; }
.why-wrap .g-badge, .why-list + .g-badge { margin-bottom: 8px; }
.cta-badge .g-badge { margin-bottom: 0; }
/* v4f: breathing room around the CTA: more above the button, space above the 1% banner = space below it */
.cta-badge { margin-top: 28px; }
.foot { margin-top: 28px; }
@media (max-width: 749px) { .cta-badge { margin-top: 22px; } .foot { margin-top: 22px; } }

/* v5: guarantee banner sits right under the 30 Day Guarantee / 50,000+ row (desktop right column + mobile), above "Why shop"; the one under Pay Now stays */
.why-wrap > .g-badge:first-child { margin: 0 0 22px; }
.m-guar + .g-badge { margin: 14px 0 0; }

/* v5c: the guarantee banner shows ONCE per device. Desktop: right column, under the 30 Day Guarantee / 50,000+ row and above "Why shop". Mobile: under the Pay Now button. */
@media (min-width: 750px) { .cta-badge { display: none; } }

/* v5d: mobile: same space below Pay Now as above it (28px) */
@media (max-width: 749px) { .cta-badge { margin-top: 28px; } }

/* v6: locked NELVARA logo (assets/logo.png) */
.hdr .logo img.rt-logo { width: 200px; height: auto; max-width: 100%; }
@media (max-width: 749px) { .hdr .logo img.rt-logo { width: 170px; } }

/* ===================================================================================================
   v10 (8 Nov 2026): PAYMENT section, 1:1 with the current Shopify checkout (measured live on smooche.com).
   Fonts: heading system font 600 20px/24px, everything else the system font 14px/18.9px (what Shopify uses).
   Desktop/mouse = method tiles; touch phones = radio list (.pm-list). Colors follow --accent.
   =================================================================================================== */
#payment { --sys: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; font-family: var(--sys); font-size: 14px; line-height: 18.9px; }
#payment > .h2 { font-family: var(--sys); font-size: 20px; font-weight: 600; line-height: 24px; margin: 0 0 4px !important; }
#payment > .sub-muted { font-size: 14px; line-height: 18.9px; color: rgba(0, 0, 0, 0.56); margin: 0 0 14px !important; }
.pmx .fld input { height: 46px; font-family: var(--sys); } /* 48px boxes like Shopify (46 + border) */
.pmx .fld > label { top: 4.9px; left: 9px; transition: opacity .2s ease-in-out, transform .2s ease-in-out; }
.pmx .fld .ico { right: 14px; }

/* --- tiles (desktop) --- */
.acc.pm-tiles-mode { border: 0; border-radius: 0; overflow: visible; }
.pm-tiles { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tile { display: grid; align-content: start; gap: 10px; min-height: 77px; padding: 14px 14px 8px; border: 1px solid var(--border); border-radius: 12px; background: #fff; cursor: pointer; outline: 0 solid var(--accent-ring); outline-offset: 0;
  transition: background-color .1333s ease-in-out, border-color .1333s ease-in-out, box-shadow .1333s ease-in-out, outline-width .1333s cubic-bezier(.3, .5, .5, 1); -webkit-tap-highlight-color: transparent; user-select: none; }
.tile[hidden] { display: none; }
.tile img { display: block; width: 38px; height: 24px; }
.tile strong { font-weight: 600; line-height: 18.9px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile.sel { background: var(--selected); border-color: transparent; box-shadow: inset 0 0 0 1px var(--accent); }
.tile:focus-visible { outline-width: 3px; }
.pm-detail { padding-top: 16px; }
.pm-detail[hidden] { display: none; }
.pm-detail .pp-note { margin: 0; padding: 0; text-align: left; color: var(--text); }

/* --- card fields (both layouts) --- */
.pm-fields { display: flex; flex-direction: column; gap: 10px; }
.pm-fields > * + * { margin-top: 0; }
.pm-row2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.pm-billchk { margin-top: 14px; }
.pm-bill { margin-top: 24px; }
.pm-bill-h { margin: 0 0 14px; font-family: var(--sys); font-size: 14px; font-weight: 600; line-height: 16.8px; }
.pmx .fld.card { height: 48px; }
/* hosted text area stops before the brand icons / lock / ? (Shopify pads its frame the same way) */
.pmx .fld.card.has-icon .frame { right: 40px; }
.pmx .fld.card.brands-in .frame { right: 150px; }
/* empty + not focused: our label is the placeholder (white mask over Whop's frame) */
.pmx .fld.card > label { top: 0; left: 0; padding: 0 10px; border-radius: 11px; transition: none; }
/* focused + empty: Shopify keeps the placeholder and shows the caret in front of it -> mask turns see-through */
.pmx .fld.card.focused:not(.filled) > label { background: transparent; }
/* has a value: 12px label at the top, like every other Shopify field */
.pmx .fld.card.filled > label { top: 4.9px; left: 9px; right: auto; bottom: auto; display: block; padding: 0; background: transparent; font-size: 12px; line-height: 16.2px; }
.pmx .fld.card.focused > label { z-index: 2; }

/* brand icons inside the card number field (desktop) */
.fld.card .ico.brands { width: auto; height: 24px; cursor: default; }
.ico.brands:hover .tip { opacity: 0; }
.logos { display: flex; gap: 4px; align-items: center; }
.logos img { display: block; width: 38px; height: 24px; }
.brands-in .logos img { width: 33px; height: 21px; }
.logos .more { position: relative; display: flex; align-items: center; height: 24px; min-width: 0; padding: 0 4px; border: 1px solid rgba(0, 0, 0, 0.07); border-radius: 3px; background: #fff; color: var(--accent); font: 400 10px/13.5px var(--sys, sans-serif); cursor: default; }
.more-tip { display: flex; flex-direction: column; gap: 4px; width: auto; max-width: none; padding: 8px; right: -9px; }
.more-tip img { display: block; width: 33px !important; height: 21px !important; }
.more:hover .more-tip, .more:focus-visible .more-tip, .more.open .more-tip { opacity: 1; }
@media (hover: none) { .more:hover .more-tip { opacity: 0; } .more.open .more-tip { opacity: 1; } }

/* --- list (touch phones) --- */
.acc.pm-list { border: 1px solid var(--border); border-radius: 12px; overflow: visible; }
.pm-list .acc-item + .acc-item { border-top: 1px solid var(--border); }
.pm-list .acc-item[hidden] { display: none; }
.pm-list .acc-head { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; gap: 10px; align-items: center; min-height: 0; padding: 14px; -webkit-tap-highlight-color: transparent; }
.pm-list .acc-item:first-child .acc-head { border-radius: 11px 11px 0 0; }
.pm-list .acc-item:last-child:not(.open) .acc-head { border-radius: 0 0 11px 11px; }
.pm-list .acc-head .nm { font-weight: 600; line-height: 18.9px; }
.pm-list .acc-head .pm-logo { display: block; }
.pm-list .acc-body { background: rgba(0, 0, 0, 0.043); padding: 14px; border-top: 1px solid var(--border); }
.pm-list .acc-item:last-child .acc-body { border-radius: 0 0 11px 11px; }
.pm-list .pm-row2 { grid-template-columns: minmax(0, 1fr); }
/* value typed: the hosted input drops 7.5px, exactly like Shopify's text moving under the raised label */
.pmx .fld.card.filled .frame > div { top: 3.5px; bottom: -11.5px; }
/* focused but still empty: Shopify keeps "Card number" as the placeholder (centred, 14px) with the caret in front of it */
.pmx .fld.card.focused:not(.filled) > label { top: 0; left: 0; right: 0; bottom: 0; display: flex; align-items: center; padding: 0 10px; font-size: 14px; line-height: 18.9px; background: transparent; }
/* error stays red even while the field is focused (Shopify) */
.pmx .fld.card.err, .pmx .fld.card.err.focused { border-color: var(--error); box-shadow: 0 0 0 0.5px var(--error); }
.pmx .fld.card.err.focused { outline: 3px solid rgba(217, 28, 28, 0.3); }
.pmx .err-msg { font-size: 14px; line-height: 18.9px; margin-top: 4px; }

/* Whop notice, small and quiet (8 Nov). Whop's own legal text uses the same colour variable that hides the "1234..." placeholder
   in the card fields, so it went invisible; we show the same sentence + links ourselves and keep Whop's element (its logo) visible,
   cropped to its bottom "Powered by Whop" line. */
.whop-note { margin: 18px auto 0; max-width: 320px; text-align: center; font-size: 11px; line-height: 15px; color: rgba(0, 0, 0, 0.45); }
.whop-note a { color: inherit; text-decoration: underline; }
.branding, .branding.end { height: 18px; margin: 4px auto 0 !important; padding: 0 !important; border: 0 !important; max-width: 320px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; }
.branding > div { flex: 0 0 auto; }
.whop-note { max-width: 380px; }
/* Whop's own "Powered by" (left of its logo) is invisible for the same colour reason: same words, drawn by us in the same spot */
.branding { position: relative; }
.branding::before { content: "Powered by"; position: absolute; right: calc(50% - 8.5px); bottom: 1px; font-size: 11px; line-height: 16px; color: rgba(0, 0, 0, 0.45); pointer-events: none; }

/* 9 Nov: narrow phones (Facebook/Instagram in-app browser, 320-360px): "Pay by card" broke onto two lines and "+5" got squeezed.
   Label never wraps, the brand row never shrinks; under 400px the brand icons drop to Shopify's small size (33x21). */
.pm-list .acc-head .nm { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pm-list .acc-head .logos { flex-shrink: 0; }
.logos .more { flex-shrink: 0; white-space: nowrap; }
@media (max-width: 400px) {
  .pm-list .acc-head .logos img { width: 33px; height: 21px; }
  .pm-list .acc-head { gap: 8px; }
}

/* 9 Nov: tiles on phones too. Narrow screens: tighter tiles so "Pay by card" fits; once a number is typed the brand icons step
   aside (under 420px) so the full card number has room inside the field. */
@media (max-width: 420px) {
  .tile { padding: 12px 10px 8px; gap: 8px; }
  .pmx .fld.card.brands-in.filled .ico.brands { display: none; }
  .pmx .fld.card.brands-in.filled .frame { right: 12px; }
}
@media (max-width: 359px) {
  .tile strong { font-size: 13px; }
}
/* labels that don't fit (expiry on narrow phones) end with "…" instead of being cut mid-letter */
.pmx .fld.card > label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; line-height: 46px; }
.pmx .fld.card.has-icon > label { padding-right: 40px; }
.pmx .fld.card.brands-in > label { padding-right: 150px; }
.pmx .fld.card.filled > label { line-height: 16.2px; padding-right: 0; max-width: calc(100% - 20px); }
.pmx .fld.card.focused:not(.filled) > label { display: block; line-height: 46px; }

/* ======== v11 (12 Nov 2026): brand polish (from HER ROUTINE v11) — additive only, easy to roll back (delete this block) ======== */
/* Pay Now: brand burgundy, taller tap target. No shadow and no lock icon (removed by Nikos 2026-11-13) */
.pay-btn { background: var(--accent); height: 54px; box-shadow: none; transition: background .15s, transform .05s; }
.pay-btn:hover { background: var(--accent-dark); box-shadow: none; }
.pay-btn:active { transform: translateY(1px); }
/* Reservation timer: brand blush instead of generic green, so the page stays one palette */
.reserved { background: var(--selected); border-color: #e6d3dd; color: var(--accent-dark); }
.reserved svg { color: var(--accent); }
/* Keyboard / tap focus: one brand ring on every field and button */
.pay-btn:focus-visible { outline: 3px solid var(--accent-ring); outline-offset: 2px; }
/* Mobile: comfortable 16px-feel type for labels, bigger tap target on tiles and the pay button */
@media (max-width: 749px) {
  .pay-btn { height: 56px; font-size: 17px; border-radius: 14px; }
  .m-bar { background: var(--grey); }
  .m-bar .lbl { color: #000; }
  .m-bar .amt { color: #000; }
}

/* personalisation lines under an order item (name, initials, stones...) */
.item .ttl small.pers { display: block; color: #A3642C; font-weight: 500; }
.item .ttl small.pers b { font-weight: 600; }

/* tighter spacing around the express checkout block (Nikos 2026-11-13) */
.reserved { margin-bottom: 12px; }
.express, .express { padding-top: 4px; }
@media (max-width: 749px) { .express { padding-top: 4px; } }
.express-t { margin-bottom: 10px; }
.or { margin: 14px 0; }
.pm-row { margin: 6px 0 16px; }

/* 2026-12-04 Nelvara: timer in Vera's alert colours, policy tabs, upsell picks */
.reserved { background: #fef6f6; border: 1px solid #fdd8d8; color: #640707; border-radius: 12px; }
.reserved svg { color: #d91c1c; }
.reserved .r-time { color: #3f0303; font-weight: 700; }
.modal-tabs { display: flex; gap: 6px; padding: 12px 24px 0; flex-wrap: wrap; }
.modal-tabs[hidden] { display: none; }
.modal-tabs button { border: 1px solid var(--border); background: #fff; border-radius: 999px; padding: 6px 14px; font-size: 13px; cursor: pointer; color: inherit; }
.modal-tabs button.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.pk-list { display: flex; flex-direction: column; gap: 10px; }
.pk { display: flex; align-items: center; gap: 12px; padding: 10px; border: 1px solid var(--border); border-radius: 12px; background: #fff; }
.pk-img { flex: 0 0 64px; width: 64px; height: 64px; border-radius: 8px; overflow: hidden; background: var(--grey); }
.pk-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pk-t { flex: 1; min-width: 0; font-size: 13px; }
.pk-t b { display: block; font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pk-pr { display: flex; gap: 8px; align-items: center; margin-top: 2px; font-weight: 600; }
.pk-pr s { color: var(--muted); font-weight: 400; }
.pk-btn { flex: 0 0 auto; padding: 9px 14px; border: 0; border-radius: 8px; background: var(--accent); color: #fff; font-weight: 600; cursor: pointer; }
.pk-btn:hover { background: var(--accent-dark); }
.pk-btn:disabled { opacity: .6; cursor: default; }

/* 2026-12-04: header proof with customer faces (like the hero), sold-out notice instead of the timer */
.hdr-proof { background: linear-gradient(90deg, #B87333 0%, #6b3f17 100%); border-radius: 999px; padding: 4px 14px 4px 5px; gap: 8px; text-transform: uppercase; font-size: 12px; letter-spacing: .02em; }
.hdr-proof b { font-weight: 700; }
.hdr-avs { display: inline-flex; }
.hdr-avs img { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid #fff; object-fit: cover; display: block; }
.hdr-avs img + img { margin-left: -7px; }
.reserved.so-note { align-items: flex-start; gap: 10px; padding: 11px 13px; font-size: 13px; font-weight: 400; line-height: 1.4; color: #640707; background: #fef6f6; border: 1px solid #fdd8d8; border-radius: 12px; }
.reserved.so-note b { color: #3f0303; font-weight: 600; }
.reserved.so-note svg { width: 18px; height: 18px; flex: 0 0 18px; margin-top: 1px; color: #d91c1c; }

/* 2026-12-04: black Pay Now, black upsell buttons, black check marks; insurance box like Vera's */
.pay-btn, .pay-btn:hover { background: #000; }
.pay-btn:hover { background: #222; }
.pk-btn { background: #000; }
.pk-btn:hover { background: #222; }
.chk input:checked + .box { background: #000; border-color: #000; }
.ad-box.on .ad-tick { background: #000; border-color: #000; }
.ad-box.ins { gap: 12px; padding: 14px; border: 1px solid #dedede; border-radius: 12px; background: #fff; }
.ad-box.ins.on { border-color: #dedede; background: #fff; }
.ins-img { flex: 0 0 60px; width: 60px; height: 60px; display: block; }
.ins-img svg { display: block; }
.ad-box.ins .ad-t b { font-size: 16px; font-weight: 600; color: #000; }
.ad-box.ins .ins-pr { font-weight: 600; }
.ad-box.ins .ad-t small { font-size: 14px; color: #000; line-height: 1.35; margin-top: 2px; }
.ad-box.ins .ad-tick { flex: 0 0 20px; width: 20px; height: 20px; border-radius: 6px; border: 1px solid #c4c4c4; align-self: flex-start; margin-top: 2px; }
.ad-box.ins.on .ad-tick::after { left: 6px; top: 2px; width: 5px; height: 10px; }

.ad-box.ins.busy { pointer-events: none; }
.ad-box.ins .ad-tick { transition: none; }

/* single detected card brand in the number field */
#c-num .ico.one-brand { pointer-events: none; }
#c-num .ico.one-brand .logos img { width: 38px; height: 24px; }

/* 2026-12-04 mobile sizing: card logo row always one line, readable header line on the smallest phones */
.pm-row { flex-wrap: nowrap; }
.pm-row img { flex: 0 1 38px; min-width: 0; max-width: 38px; width: auto; height: auto; aspect-ratio: 38 / 24; }
@media (max-width: 359px) {
  .hdr-usp { font-size: 11px; gap: 4px; }
  .hdr-proof { font-size: 11px; padding: 4px 11px 4px 4px; }
  .hdr-avs img { width: 20px; height: 20px; }
}
@media (min-width: 400px) and (max-width: 749px) {
  .hdr-usp { font-size: 12px; }
}

/* 2026-12-04: a detected card brand keeps only its own logo; the number gets the rest of the field */
.pmx .fld.card.brands-in:has(.ico.one-brand) .frame { right: 56px; }
@media (max-width: 420px) {
  .pmx .fld.card.brands-in.filled .ico.brands.one-brand { display: flex; }
  .pmx .fld.card.brands-in.filled:has(.ico.one-brand) .frame { right: 56px; }
}
/* small phones: method tiles never cut their names, insurance box stays compact */
@media (max-width: 389px) {
  .tile { padding: 11px 8px 8px; gap: 7px; min-height: 70px; }
  .tile strong { font-size: 13px; line-height: 1.2; white-space: normal; overflow: visible; text-overflow: clip; }
  .ad-box.ins { gap: 10px; padding: 12px; }
  .ins-img, .ins-img svg { width: 48px; height: 48px; flex-basis: 48px; }
  .ad-box.ins .ad-t b { font-size: 15px; }
  .ad-box.ins .ad-t small { font-size: 13px; }
  .pk { gap: 10px; padding: 8px; }
  .pk-img { flex-basis: 56px; width: 56px; height: 56px; }
  .pk-btn { padding: 8px 11px; font-size: 13px; }
}
@media (max-width: 389px) { .tile strong { white-space: nowrap; } }
@media (max-width: 359px) { .tile strong { font-size: 12px; } .tile { padding: 11px 7px 8px; } }
.pk-t b { white-space: normal; text-overflow: clip; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.25; }
