/* Checkout, demo payment and tracking (commerce.js). Brand: navy #0c2d62, turquoise #0bd3b5 (navy text on it). */
.demo-tag{display:inline-flex;align-items:center;gap:6px;margin:6px 0 14px;padding:6px 12px;border-radius:999px;background:#fff4d6;color:#7a4b00;font-size:13px;font-weight:700;box-shadow:inset 0 0 0 1px #f2d38a}
.demo-tag.small{margin:0;font-size:12px;padding:4px 10px}
.ck-page{padding-block:28px 60px}
.ck-head{display:flex;align-items:center;gap:16px;margin-bottom:6px}
.ck-head img{width:76px;height:76px;object-fit:contain;border-radius:18px;background:var(--tile,#f3f5f8)}
.ck-head h1{margin:2px 0 0;font-size:clamp(22px,2.6vw,30px);color:var(--navy,#0c2d62)}
.ck-steps{display:flex;gap:10px;list-style:none;margin:6px 0 22px;padding:0;flex-wrap:wrap}
.ck-steps li{display:flex;align-items:center;gap:8px;padding:8px 14px 8px 16px;border-radius:999px;background:var(--tile,#f3f5f8);color:var(--muted,#5b6577);font-weight:600;font-size:14px}
.ck-steps li b{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#fff;font-size:13px}
.ck-steps li.on{background:#0c2d62;color:#fff}.ck-steps li.on b{background:#0bd3b5;color:#0c2d62}
.ck-steps li.done{background:#dcf6f1;color:#0c2d62}.ck-steps li.done b{background:#0bd3b5;color:#0c2d62}
.ck-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,360px);gap:24px;align-items:start}
@media(max-width:860px){.ck-grid{grid-template-columns:minmax(0,1fr)}.ck-sum{order:-1}}
.ck-form h2{margin:22px 0 12px;font-size:19px;color:var(--navy,#0c2d62)}.ck-form h2:first-child{margin-top:0}
.ck-opts{display:grid;grid-template-columns:1fr 1fr;gap:12px}
@media(max-width:560px){.ck-opts{grid-template-columns:1fr}}
.ck-opt{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;padding:14px 16px;border-radius:18px;background:#fff;box-shadow:inset 0 0 0 1.5px var(--line,#e3e6ea);cursor:pointer;transition:box-shadow .2s ease,background-color .2s ease}
.ck-opt input{position:absolute;opacity:0;pointer-events:none}
.ck-opt.on{background:#f1fbf9;box-shadow:inset 0 0 0 2px #0bd3b5}
.ck-opt:has(input:focus-visible){outline:3px solid #0c2d62;outline-offset:2px}
.ck-opt-ic{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#dcf6f1;color:#0c2d62}
.ck-opt-t{display:grid;gap:2px}.ck-opt-t small{color:var(--muted,#5b6577)}
.ck-opt-p{color:#0c2d62;font-size:17px}
.ck-points{border:0;margin:14px 0 0;padding:0;display:grid;gap:8px}
.ck-points legend{font-weight:600;margin-bottom:8px}
.ck-point{display:flex;align-items:center;gap:10px;padding:12px 14px;border-radius:14px;background:var(--tile,#f3f5f8);cursor:pointer}
.ck-point:has(input:checked){background:#f1fbf9;box-shadow:inset 0 0 0 1.5px #0bd3b5}
.ck-point input{accent-color:#0c2d62;width:18px;height:18px}
.ck-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.ck-row .ck-short{max-width:none}
@media(max-width:560px){.ck-row{grid-template-columns:1fr}}
.ck-error{margin:12px 0 0;padding:10px 14px;border-radius:12px;background:#fdecec;color:#9a1c1c;font-weight:600}
.ck-next,.ck-pay{width:100%;margin-top:16px;min-height:54px;font-size:17px;display:inline-flex;align-items:center;justify-content:center;gap:8px}
.ck-pay.busy{opacity:.75;cursor:progress}
.ck-pay.busy::after{content:"";width:18px;height:18px;border-radius:50%;border:2.5px solid currentColor;border-inline-start-color:transparent;animation:ck-spin .8s linear infinite}
@keyframes ck-spin{to{rotate:360deg}}
.ck-ship-sum{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 14px;border-radius:14px;background:var(--tile,#f3f5f8);margin-bottom:6px}
.ck-ship-sum span{display:flex;align-items:center;gap:8px}
.demo-pay-note{display:flex;gap:10px;align-items:flex-start;padding:12px 14px;border-radius:14px;background:#fff8e6;color:#5c3d00;line-height:1.55;margin-bottom:12px}
.demo-pay-note svg{flex:none;margin-top:2px}
.ck-cards{display:grid;gap:10px}
.ck-card{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:14px;padding:12px 14px;border-radius:16px;background:#fff;box-shadow:inset 0 0 0 1.5px var(--line,#e3e6ea);cursor:pointer}
.ck-card:has(input:checked){background:#f1fbf9;box-shadow:inset 0 0 0 2px #0bd3b5}
.ck-card:has(input:focus-visible){outline:3px solid #0c2d62;outline-offset:2px}
.ck-card input{position:absolute;opacity:0;pointer-events:none}
.ck-card>span:last-child{display:grid;gap:2px}.ck-card small{color:var(--muted,#5b6577)}
.cc{display:grid;align-content:space-between;width:74px;height:48px;padding:6px 8px;border-radius:9px;color:#fff;font-weight:800;font-size:12px;direction:ltr;text-align:left;box-shadow:0 6px 14px -8px rgba(12,45,98,.6)}
.cc i{font-style:normal;font-weight:600;font-size:11px;letter-spacing:.04em}
.cc-visa{background:linear-gradient(135deg,#0c2d62,#17407f)}.cc-mc{background:linear-gradient(135deg,#3a3f4b,#6b7280)}
.ck-done{text-align:center;max-width:620px}
.ck-done-mark{display:grid;place-items:center;width:96px;height:96px;margin:10px auto 14px;border-radius:50%;background:#0bd3b5;color:#0c2d62;box-shadow:0 0 0 10px #dcf6f1;animation:ck-pop .6s cubic-bezier(.2,1.6,.4,1) both}
@keyframes ck-pop{from{transform:scale(.3);opacity:0}}
.ck-done h1{color:#0c2d62;font-size:clamp(28px,4vw,40px);margin:0}
.ck-done-no{font-size:18px}.ck-done-no b{font-size:22px;color:#0c2d62}
.ck-done-actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin-top:18px}
.order-no{display:inline-block;margin-inline-start:8px;font-size:13px;color:var(--muted,#5b6577);font-weight:600}

/* Tracking */
.trk{margin-bottom:22px}
.trk-head{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
.trk-head h2{display:flex;align-items:center;gap:8px;margin:0;color:#0c2d62}
.trk-steps{list-style:none;margin:20px 0 6px;padding:0;display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:4px}
.trk-steps li{position:relative;display:grid;justify-items:center;gap:8px;text-align:center;font-size:12px;color:var(--muted,#5b6577);font-weight:600}
.trk-steps li i{position:relative;z-index:1;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:inset 0 0 0 2px #cfd6e0}
.trk-steps li::before{content:"";position:absolute;top:7px;inset-inline-start:50%;width:100%;height:3px;background:#e3e8ef}
.trk-steps li:last-child::before{display:none}
.trk-steps li.done::before{background:#0bd3b5}
.trk-steps li.done i{background:#0bd3b5;box-shadow:none}
.trk-steps li.on i{background:#0c2d62;box-shadow:0 0 0 5px rgba(11,211,181,.35);animation:trk-pulse 1.8s ease-in-out infinite}
.trk-steps li.on{color:#0c2d62}
.trk-steps li.warn i{background:#e8a317;box-shadow:0 0 0 5px rgba(232,163,23,.25)}
@keyframes trk-pulse{50%{box-shadow:0 0 0 9px rgba(11,211,181,.12)}}
@media(max-width:720px){
 .trk-steps{grid-template-columns:1fr;gap:0}
 .trk-steps li{grid-template-columns:auto 1fr;justify-items:start;text-align:start;gap:12px;padding:6px 0;font-size:14px}
 .trk-steps li::before{top:20px;inset-inline-start:7px;width:3px;height:100%}
}
.trk-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0}
.trk-facts div{padding:12px 14px;border-radius:14px;background:var(--tile,#f3f5f8)}
.trk-facts dt{font-size:12px;color:var(--muted,#5b6577);margin-bottom:4px}.trk-facts dd{margin:0;font-weight:700;color:#0c2d62;overflow-wrap:anywhere}
.trk-exc{color:#9a5b00}
@media(max-width:720px){.trk-facts{grid-template-columns:1fr 1fr}}
.trk-map{height:300px;border-radius:18px;overflow:hidden;background:#e8eef6;box-shadow:inset 0 0 0 1px var(--line,#e3e6ea)}
.trk-pin span{display:block;width:28px;height:28px;border-radius:50%;background:#0bd3b5;box-shadow:0 0 0 4px #fff,0 0 0 10px rgba(11,211,181,.3),0 6px 14px rgba(12,45,98,.35)}
.trk-noloc{display:flex;align-items:center;gap:8px;padding:12px 14px;border-radius:14px;background:var(--tile,#f3f5f8)}
.trk h3{margin:20px 0 10px;font-size:16px;color:#0c2d62}
.trk-events{list-style:none;margin:0;padding:0;display:grid;gap:0}
.trk-events li{display:grid;grid-template-columns:110px 1fr;column-gap:14px;padding:10px 0;border-bottom:1px solid var(--line,#e3e6ea)}
.trk-events li:first-child b{color:#0c2d62}
.trk-events time{grid-row:span 2;color:var(--muted,#5b6577);font-size:13px}
.trk-events .muted{font-size:13px}
.trk-events li.warn b{color:#9a5b00}
.seller-steps{margin:8px 0 12px;padding-inline-start:20px;line-height:1.8}
.seller-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}
.seller-actions .buy,.seller-actions .cta{display:inline-flex;align-items:center;gap:8px}
.report-form{margin-top:14px}
.payout{display:flex;align-items:center;gap:8px;margin:14px 0 0;padding:10px 14px;border-radius:12px;background:var(--tile,#f3f5f8);font-weight:600;color:#0c2d62}
.payout-released{background:#dcf6f1}.payout-frozen{background:#fff4d6;color:#7a4b00}
@media(prefers-reduced-motion:reduce){.trk-steps li.on i,.ck-done-mark,.ck-pay.busy::after{animation:none}}

/* Trial-run marks: the service note by the offer buttons, demo listings on the product page and on cards. */
.service-note{display:flex;gap:8px;align-items:flex-start;margin:0 0 12px;padding:10px 12px;border-radius:12px;background:#fff8e6;color:#5c3d00;font-size:14px;line-height:1.55}
.service-note svg{flex:none;margin-top:3px}.service-note a{color:#0c2d62;font-weight:700}
.demo-listing{display:flex;gap:8px;align-items:flex-start;margin:10px 0 0;padding:10px 12px;border-radius:12px;background:#fff8e6;color:#5c3d00;font-size:14px;line-height:1.55}
.demo-listing svg{flex:none;margin-top:3px}
.card .pic .card-demo{position:absolute;z-index:2;inset-block-end:10px;inset-inline-end:10px;padding:3px 9px;border-radius:999px;background:#fff4d6;color:#7a4b00;font-size:12px;font-weight:700;box-shadow:inset 0 0 0 1px #f2d38a}
.auction-box .ab-cond{display:block;margin-top:4px;font-size:14px;font-weight:600;color:var(--navy,#0c2d62)}
.auction-box .ab-sub{display:block;font-size:13px;margin-top:2px}

/* Touch: every control on a card and the gallery arrows are at least 44px on touch screens (audit 9.11). */
@media(pointer:coarse){
 html body .card .like,html body .card .compare-toggle{width:44px!important;height:44px!important}
 html body .pg-arrow{width:44px!important;height:44px!important;margin-top:-22px!important}
}

/* Before the sell form: what to have ready. */
.sell-prep{max-width:760px;margin:0 auto 18px}
.sell-prep h1{margin:0 0 6px;color:var(--navy,#0c2d62);font-size:clamp(24px,3vw,32px)}
.prep-list{list-style:none;margin:14px 0;padding:0;display:grid;gap:10px}
.prep-list li{display:grid;grid-template-columns:auto 1fr;gap:12px;align-items:start;padding:12px 14px;border-radius:14px;background:var(--tile,#f3f5f8)}
.prep-list li>span:last-child{display:grid;gap:2px}.prep-list small{color:var(--muted,#5b6577);font-size:14px;line-height:1.5}
.prep-ic{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#dcf6f1;color:#0c2d62}
.prep-actions{display:flex;gap:10px;flex-wrap:wrap}
.sell-prep-inline{padding:12px 16px;border-radius:16px;background:var(--tile,#f3f5f8)}
.sell-prep-inline summary{cursor:pointer;font-weight:700;color:var(--navy,#0c2d62);min-height:32px;display:flex;align-items:center}
.sell-prep-inline .prep-list li{background:#fff}
