/* ═══════════════════════════════════════════════════════════════════════
   checkout.html - product page, cart drawer, guest checkout
   Loads after css/style.css (nav, footer, fonts). Nothing here reaches
   outside .ck-* and the html.hp-drawer-open scroll lock.
   ═══════════════════════════════════════════════════════════════════════ */
:root {
    --ck-ink: #1e293b;
    --ck-text: #334155;
    --ck-muted: #64748b;
    --ck-line: #e2e8f0;
    --ck-line-strong: #cbd5e1;
    --ck-soft: #f8fafc;
    --ck-warm: #fff7ed;
    --ck-warm-line: #fed7aa;
    --ck-accent: #ff6b35;
    --ck-accent-dark: #e8530e;
    --ck-accent-grad: linear-gradient(135deg, #ff6b35 0%, #ff8e53 55%, #ffa726 100%);
    /* Trust (guarantee, secure, included): deep blue, not the stock green. Good news
       (free, savings, done): teal. Sale badge: the brand orange. */
    --ck-trust: #2f4b9e;
    --ck-trust-dark: #1f3470;
    --ck-trust-soft: #eef2fb;
    --ck-trust-line: #c9d5f2;
    --ck-good: #0e7c6b;
    --ck-good-soft: #e6f6f3;
    --ck-green: var(--ck-good);
    --ck-green-soft: var(--ck-good-soft);
    --ck-red: #b91c1c;
    --ck-red-soft: #fef2f2;
    --ck-paypal: #1773b0;
    --ck-radius: 12px;
    --ck-shadow: 0 10px 40px rgba(15, 23, 42, .08);
}

html.hp-drawer-open, html.hp-drawer-open body { overflow: hidden; }

.ck-page { min-height: 100vh; padding-top: 84px; background: #fff; color: var(--ck-text); }
/* v-cloak sits on the root itself: nothing renders until Vue has mounted, so the raw template (and the sale sheet in it) never flashes. */
.ck-page[v-cloak], .ck-page [v-cloak] { display: none; }
.ck-wrap { max-width: 1180px; margin: 0 auto; padding: 20px 20px 140px; }
.ck-page h1, .ck-page h2, .ck-page h3 { color: var(--ck-ink); margin: 0; }
.ck-page h1 { font-family: 'DM Serif Display', Georgia, serif; font-weight: 400; font-size: 2rem; line-height: 1.15; letter-spacing: -.01em; }
.ck-page h2 { font-family: 'DM Serif Display', Georgia, serif; font-weight: 400; font-size: 1.5rem; }
.ck-page h3 { font-size: 1rem; font-weight: 600; }
.ck-page p { margin: 0; }
.ck-page button { font-family: inherit; }
.ck-page img { display: block; max-width: 100%; }
.ck-muted { color: var(--ck-muted); }
.ck-small { font-size: .85rem; }
.ck-link { color: #0e5c8a; text-decoration: underline; cursor: pointer; background: none; border: 0; padding: 0; font-size: inherit; }
.ck-link:hover { color: #0a4668; }
.ck-strike { text-decoration: line-through; color: var(--ck-muted); font-weight: 500; }
.ck-badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; }
.ck-badge--popular { background: var(--ck-ink); color: #fff; }
.ck-badge--sale { background: var(--ck-warm); color: var(--ck-accent-dark); }
.ck-badge--free { background: var(--ck-good-soft); color: var(--ck-good); }

/* ── Top bar: crumb + cart ───────────────────────────────────────────── */
.ck-topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.ck-crumb { font-size: .85rem; color: var(--ck-muted); }
.ck-crumb a { color: var(--ck-muted); text-decoration: none; }
.ck-crumb a:hover { color: var(--ck-ink); }
.ck-cartbtn { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--ck-line); background: #fff; color: var(--ck-ink); font-weight: 600; font-size: .9rem; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.ck-cartbtn:hover { border-color: var(--ck-line-strong); box-shadow: 0 2px 10px rgba(15, 23, 42, .06); }
.ck-cartbtn .ck-count { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--ck-accent); color: #fff; font-size: .75rem; display: inline-flex; align-items: center; justify-content: center; }
.ck-cartbtn.is-flash { border-color: var(--ck-accent); box-shadow: 0 0 0 4px rgba(255, 107, 53, .18); }

/* ── Product layout ──────────────────────────────────────────────────── */
.ck-product { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: start; }
.ck-media { position: sticky; top: 96px; }
.ck-media-main { position: relative; border-radius: var(--ck-radius); overflow: hidden; background: var(--ck-soft); border: 1px solid var(--ck-line); aspect-ratio: 3 / 2; cursor: default; }
.ck-media-main.is-look { cursor: zoom-in; background: #fbf7f0; }
.ck-media-main.is-look > img { object-fit: contain; }
.ck-media-main > img { width: 100%; height: 100%; object-fit: cover; }
.ck-media-main.is-frame { aspect-ratio: 3 / 2; cursor: default; }
.ck-media-main.is-frame > img { object-fit: contain; background: #fff; padding: 6%; }
.ck-pair { display: grid; grid-template-columns: 1fr 1fr; height: 100%; }
.ck-pair img { width: 100%; height: 100%; object-fit: cover; }
.ck-pair-tag { position: absolute; bottom: 12px; padding: 5px 10px; border-radius: 999px; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; background: rgba(255, 255, 255, .92); color: var(--ck-ink); }
.ck-pair-tag.before { left: 12px; }
.ck-pair-tag.after { right: 12px; background: var(--ck-ink); color: #fff; }
.ck-media-caption { position: absolute; left: 12px; top: 12px; padding: 6px 10px; border-radius: 8px; background: rgba(255, 255, 255, .92); font-size: .78rem; font-weight: 600; color: var(--ck-ink); }
.ck-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 10px; }
.ck-thumb { border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: var(--ck-soft); aspect-ratio: 3 / 2; cursor: pointer; padding: 0; position: relative; }
.ck-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ck-thumb img.is-contain { object-fit: contain; background: #fbf7f0; }
.ck-thumb.is-on { border-color: var(--ck-ink); }
.ck-thumb .ck-pair { grid-template-columns: 1fr 1fr; }

.ck-promise { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--ck-line); }
.ck-promise > div { display: flex; align-items: center; gap: 9px; min-width: 0; }
.ck-promise > div > i { flex: 0 0 32px; width: 32px; height: 32px; border-radius: 50%; background: var(--ck-trust-soft); color: var(--ck-trust); display: flex; align-items: center; justify-content: center; font-size: .85rem; }
.ck-promise strong { display: block; font-size: .84rem; color: var(--ck-ink); line-height: 1.2; white-space: nowrap; }
.ck-promise span { display: block; font-size: .76rem; color: var(--ck-muted); margin-top: 2px; line-height: 1.25; white-space: nowrap; }

/* ── Configurator ────────────────────────────────────────────────────── */
/* One rhythm for the option groups: 28px between them, 12px from a heading to its control. */
.ck-config > * + * { margin-top: 28px; }
.ck-title-block .ck-kicker { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ck-accent-dark); margin-bottom: 8px; }
.ck-rating { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: .88rem; color: var(--ck-muted); }
.ck-rating .ck-stars { color: #f59e0b; letter-spacing: 1px; }
.ck-price-row { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
.ck-price { font-size: 1.85rem; font-weight: 700; color: var(--ck-ink); letter-spacing: -.02em; }
.ck-price-row .ck-strike { font-size: 1.05rem; }
.ck-price-note { font-size: .85rem; color: var(--ck-muted); width: 100%; }

.ck-opt-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.ck-opt-head h3 span { font-weight: 500; color: var(--ck-muted); }

.ck-looks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.ck-look { position: relative; border: 2px solid var(--ck-line); border-radius: 10px; padding: 6px; background: #fff; cursor: pointer; text-align: left; transition: border-color .15s, transform .15s; }
.ck-look:hover { border-color: var(--ck-line-strong); }
.ck-look.is-on { border-color: var(--ck-ink); }
.ck-look img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 6px; background: #fbf7f0; }
.ck-look-label { display: block; margin-top: 8px; font-weight: 600; font-size: .85rem; color: var(--ck-ink); line-height: 1.2; }
.ck-look-blurb { display: block; font-size: .74rem; color: var(--ck-muted); margin-top: 2px; }
.ck-look .ck-badge { position: absolute; top: 12px; left: 12px; }
.ck-look-custom { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 2px solid var(--ck-ink); border-radius: 10px; }
.ck-look-custom img { width: 54px; height: 66px; object-fit: cover; border-radius: 6px; }

.ck-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ck-seg button, .ck-tile { border: 2px solid var(--ck-line); border-radius: 10px; background: #fff; padding: 12px 14px; text-align: left; cursor: pointer; transition: border-color .15s; color: var(--ck-ink); position: relative; }
.ck-seg button:hover, .ck-tile:hover { border-color: var(--ck-line-strong); }
.ck-seg button.is-on, .ck-tile.is-on { border-color: var(--ck-ink); box-shadow: inset 0 0 0 1px var(--ck-ink); }
.ck-seg strong, .ck-tile strong { display: block; font-size: .95rem; }
.ck-seg--account button { padding: 11px 13px; }
.ck-seg small, .ck-tile small { display: block; color: var(--ck-muted); font-size: .8rem; margin-top: 2px; }

.ck-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ck-tile .ck-tile-price { display: flex; align-items: baseline; gap: 6px; margin-top: 6px; font-weight: 700; }
.ck-tile .ck-tile-price .ck-strike { font-size: .82rem; }
.ck-tile .ck-badge { position: absolute; top: -10px; right: 10px; }
.ck-tile-shape { display: inline-block; height: 14px; border: 1.5px solid var(--ck-line-strong); border-radius: 2px; vertical-align: middle; margin-right: 6px; background: var(--ck-soft); }

.ck-frame-groups { display: grid; gap: 12px; }
.ck-frame-group-head { display: flex; justify-content: space-between; font-size: .82rem; color: var(--ck-muted); margin-bottom: 6px; }
.ck-frames { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.ck-frame { border: 2px solid var(--ck-line); border-radius: 10px; padding: 6px; background: #fff; cursor: pointer; text-align: center; transition: border-color .15s; }
.ck-frame:hover { border-color: var(--ck-line-strong); }
.ck-frame.is-on { border-color: var(--ck-ink); }
.ck-frame img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; }
.ck-frame span { display: block; font-size: .78rem; font-weight: 600; margin-top: 6px; color: var(--ck-ink); }
.ck-frame small { display: block; font-size: .72rem; color: var(--ck-muted); }

/* Upload */
/* The photo step gets room on both sides so it reads as its own moment, not one more option
   in the stack: a wide gap above and below, and a taller drop zone. */
.ck-config > #photo-block { margin-top: 44px; margin-bottom: 44px; }
.ck-upload { border: 2px dashed var(--ck-line-strong); border-radius: var(--ck-radius); padding: 34px 20px; text-align: center; background: var(--ck-soft); cursor: pointer; transition: border-color .15s, background .15s; }
.ck-upload:hover, .ck-upload.is-drag { border-color: var(--ck-accent); background: var(--ck-warm); }
.ck-upload i { font-size: 1.6rem; color: var(--ck-accent); }
.ck-upload strong { display: block; margin-top: 8px; color: var(--ck-ink); }
.ck-upload small { display: block; color: var(--ck-muted); margin-top: 4px; font-size: .8rem; }
.ck-photos { display: flex; gap: 10px; flex-wrap: wrap; align-items: stretch; }
.ck-photo { position: relative; width: 96px; height: 96px; border-radius: 10px; overflow: hidden; border: 1px solid var(--ck-line); background: var(--ck-soft); }
.ck-photo img { width: 100%; height: 100%; object-fit: cover; }
.ck-photo .ck-photo-x { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: rgba(15, 23, 42, .75); color: #fff; cursor: pointer; font-size: .75rem; display: flex; align-items: center; justify-content: center; }
.ck-photo-tag { position: absolute; left: 0; right: 0; bottom: 0; padding: 3px 0; font-size: .66rem; text-align: center; background: rgba(255, 255, 255, .9); color: var(--ck-ink); font-weight: 600; }
.ck-photo-add { width: 96px; height: 96px; border-radius: 10px; border: 2px dashed var(--ck-line-strong); background: #fff; color: var(--ck-muted); cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: .75rem; }
.ck-photo-add:hover { border-color: var(--ck-accent); color: var(--ck-accent-dark); }
.ck-photo-add small { font-size: .66rem; opacity: .75; line-height: 1; }
/* A photo the browser cannot decode (HEIC) still counts: show it as a file, not a hole. */
.ck-photo-file { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 8px; background: var(--ck-soft); color: var(--ck-muted); text-align: center; }
.ck-photo-file i { font-size: 1.4rem; color: var(--ck-trust); }
.ck-photo-file small { font-size: .62rem; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ck-photo-file span { font-size: .68rem; font-weight: 700; color: var(--ck-good); }
/* Checkout step: the marketing nav steps aside; logo only, plus a quiet reassurance. */
html.ck-slim-nav .navbar .nav-menu, html.ck-slim-nav .navbar .hamburger, html.ck-slim-nav .navbar .nav-cart, html.ck-slim-nav .navbar .mobile-menu-overlay { display: none !important; }
html.ck-slim-nav .navbar .nav-container::after { content: ''; font-size: .85rem; font-weight: 600; color: var(--ck-muted); }
/* Sale sheet (the pet wizard's promo sheet, in this page's tokens). */
.ck-sale { position: fixed; inset: 0; z-index: 3000; display: flex; align-items: flex-end; justify-content: center; }
.ck-sale-scrim { position: absolute; inset: 0; background: rgba(15, 23, 42, .5); animation: ck-fade-in .25s ease-out; }
.ck-sale-sheet { position: relative; width: 100%; max-width: 460px; padding: .7rem 1.4rem calc(1.5rem + env(safe-area-inset-bottom, 0px)); background: #fff; border-radius: 22px 22px 0 0; box-shadow: 0 -8px 40px rgba(15, 23, 42, .28); text-align: center; animation: ck-sheet-up .32s cubic-bezier(.22, 1, .36, 1); }
.ck-sale-grip { display: block; width: 38px; height: 4px; margin: 0 auto 1rem; border-radius: 999px; background: var(--ck-line); }
.ck-sale-kicker { margin: 0; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ck-accent-dark); }
.ck-sale-amount { margin: .2rem 0 .5rem; font-family: 'DM Serif Display', serif; font-size: 3.2rem; line-height: 1; color: var(--ck-ink); }
.ck-sale-amount span { font-family: 'Inter', sans-serif; font-size: 1.1rem; font-weight: 700; margin-left: 6px; vertical-align: .9rem; color: var(--ck-accent-dark); }
.ck-sale-sub { margin: 0 auto 1.1rem; max-width: 340px; font-size: .92rem; line-height: 1.45; color: var(--ck-muted); }
.ck-sale-apply { display: block; width: 100%; padding: 15px 20px; border: 0; border-radius: 14px; background: var(--ck-accent-grad); color: #fff; font: inherit; font-size: 1.05rem; font-weight: 800; cursor: pointer; box-shadow: 0 6px 18px rgba(234, 88, 12, .32); }
.ck-sale-apply:hover { filter: brightness(1.04); }
.ck-sale-skip { display: block; width: 100%; margin-top: .7rem; padding: 10px; border: 0; background: none; color: var(--ck-muted); font: inherit; font-size: .88rem; font-weight: 600; text-decoration: underline; cursor: pointer; }
@keyframes ck-sheet-up { from { transform: translateY(100%); } to { transform: translateY(0); } }
@keyframes ck-fade-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .ck-sale-sheet, .ck-sale-scrim { animation: none; } }
.ck-later { padding: 12px 14px; border-radius: 10px; background: var(--ck-warm); border: 1px solid var(--ck-warm-line); color: #7c2d12; font-size: .9rem; }
.ck-later strong { color: #9a3412; display: block; margin-bottom: 2px; }
.ck-field-error { color: var(--ck-red); font-size: .85rem; margin-top: 6px; }

/* Text */
.ck-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ck-chip { border: 1.5px solid var(--ck-line); border-radius: 999px; padding: 7px 12px; background: #fff; font-size: .85rem; color: var(--ck-ink); cursor: pointer; }
.ck-chip:hover { border-color: var(--ck-line-strong); }
.ck-chip.is-on { border-color: var(--ck-ink); background: var(--ck-ink); color: #fff; }
/* 16px in the fields: below that iOS zooms the page in when a field is focused. */
.ck-input, .ck-select, .ck-textarea { width: 100%; border: 1.5px solid var(--ck-line-strong); border-radius: 8px; padding: 11px 12px; font: inherit; font-size: 16px; color: var(--ck-ink); background: #fff; transition: border-color .15s, box-shadow .15s; }
.ck-input:focus, .ck-select:focus, .ck-textarea:focus { outline: 0; border-color: var(--ck-ink); box-shadow: 0 0 0 3px rgba(30, 41, 59, .08); }
.ck-input.is-error, .ck-select.is-error { border-color: var(--ck-red); }
.ck-textarea { min-height: 72px; resize: vertical; }
.ck-label { display: block; font-size: .85rem; font-weight: 600; color: var(--ck-ink); margin-bottom: 6px; }
.ck-label span { color: var(--ck-muted); font-weight: 500; }
.ck-stack > * + * { margin-top: 10px; }
.ck-counter { text-align: right; font-size: .72rem; color: var(--ck-muted); margin-top: 3px; }

/* Add to cart */
.ck-buy { border-top: 1px solid var(--ck-line); padding-top: 18px; }
.ck-buy-note { text-align: center; margin: 10px 0 0; }
.ck-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 16px 22px; border: 0; border-radius: 10px; font-size: 1.02rem; font-weight: 700; cursor: pointer; transition: transform .1s, box-shadow .15s, opacity .15s; }
.ck-btn:disabled { opacity: .55; cursor: not-allowed; }
.ck-btn--primary { background: var(--ck-accent-grad); color: #fff; box-shadow: 0 8px 24px rgba(255, 107, 53, .28); }
.ck-btn--primary:not(:disabled):hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(255, 107, 53, .34); }
/* Upload: green, a step to complete - orange is kept for add-to-cart and checkout. */
.ck-btn--upload { background: linear-gradient(135deg, #16a34a 0%, #22b85a 100%); color: #fff; box-shadow: 0 8px 24px rgba(22, 163, 74, .28); }
.ck-btn--upload:not(:disabled):hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(22, 163, 74, .34); }
.ck-btn--ghost { background: #fff; color: var(--ck-ink); border: 2px solid var(--ck-ink); margin-top: 10px; }
.ck-btn--ghost:hover { background: var(--ck-soft); }
/* Recreate (repaint the preview): solid trust-blue so it stands out from the outline buttons around it. */
.ck-btn--recreate { background: linear-gradient(135deg, #3b5bb8 0%, var(--ck-trust) 100%); color: #fff; box-shadow: 0 6px 18px rgba(47, 75, 158, .28); }
.ck-btn--recreate:not(:disabled):hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(47, 75, 158, .34); }
/* Under the one payment button: what PayPal will ask for, so the missing form is not a surprise. */
.ck-pay-note { margin: 10px 0 0; font-size: .86rem; color: var(--ck-muted); line-height: 1.5; text-align: center; }
/* Thank-you page: the email box for the preview. */
.ck-thanks-email { display: flex; gap: 10px; align-items: stretch; }
.ck-thanks-email .ck-input { flex: 1 1 auto; min-width: 0; }
.ck-thanks-email .ck-btn { width: auto; white-space: nowrap; }
@media (max-width: 600px) { .ck-thanks-email { flex-direction: column; } .ck-thanks-email .ck-btn { width: 100%; } }
.ck-btn--pay { background: var(--ck-paypal); color: #fff; }
.ck-btn--pay:not(:disabled):hover { background: #135f92; }
.ck-btn .ck-btn-price { margin-left: auto; opacity: .95; font-weight: 600; }
.ck-btn--pay .ck-btn-price { margin-left: 0; }
.ck-assure { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; margin-top: 20px; font-size: .84rem; color: var(--ck-text); }
.ck-assure span { display: flex; align-items: flex-start; gap: 6px; }
.ck-assure i { color: var(--ck-trust); flex: 0 0 16px; text-align: center; margin-top: 3px; }
.ck-included { margin-top: 14px; padding: 12px 14px; border-radius: 10px; background: var(--ck-soft); border: 1px solid var(--ck-line); font-size: .86rem; }
.ck-included div { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; }
.ck-included .ck-free { color: var(--ck-green); font-weight: 700; }

/* Below the fold */
.ck-below { margin-top: 56px; display: grid; gap: 48px; }
.ck-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 18px; }
.ck-step { padding: 16px; border-radius: var(--ck-radius); border: 1px solid var(--ck-line); background: #fff; }
.ck-step strong { display: flex; align-items: center; gap: 10px; color: var(--ck-ink); margin-bottom: 6px; }
.ck-step .ck-step-n { flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%; background: var(--ck-ink); color: #fff; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; font-size: .8rem; }
.ck-step p { font-size: .88rem; color: var(--ck-muted); line-height: 1.45; }
.ck-reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
.ck-review { padding: 16px; border-radius: var(--ck-radius); border: 1px solid var(--ck-line); background: #fff; font-size: .9rem; display: flex; flex-direction: column; gap: 8px; }
.ck-review .ck-stars { color: #f59e0b; font-size: .8rem; }
.ck-review .ck-stars .is-off { color: var(--ck-line-strong); }
.ck-review blockquote { margin: 0; color: var(--ck-text); line-height: 1.5; }
.ck-review figcaption { font-size: .8rem; color: var(--ck-muted); }
.ck-review-ba { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 6px; }
.ck-review-ba img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }
.ck-review-ba i { color: var(--ck-muted); font-size: .8rem; }
.ck-faq { margin-top: 12px; border-top: 1px solid var(--ck-line); }
.ck-faq-item { border-bottom: 1px solid var(--ck-line); }
.ck-faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 0; background: none; border: 0; text-align: left; font-weight: 600; font-size: .98rem; color: var(--ck-ink); cursor: pointer; }
.ck-faq-q i { color: var(--ck-muted); transition: transform .15s; }
.ck-faq-item.is-open .ck-faq-q i { transform: rotate(180deg); }
.ck-faq-a { padding: 0 0 16px; color: var(--ck-text); line-height: 1.55; font-size: .93rem; }

/* ── Sticky mobile buy bar ───────────────────────────────────────────── */
.ck-stickybar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-top: 1px solid var(--ck-line); box-shadow: 0 -8px 30px rgba(15, 23, 42, .08); }
.ck-stickybar-inner { display: flex; align-items: center; gap: 12px; max-width: 640px; margin: 0 auto; }
.ck-stickybar .ck-sticky-price { display: flex; flex-direction: column; line-height: 1.1; }
.ck-stickybar .ck-sticky-price strong { font-size: 1.25rem; color: var(--ck-ink); }
.ck-stickybar .ck-sticky-price small { font-size: .74rem; color: var(--ck-muted); }
.ck-stickybar .ck-btn { width: auto; flex: 0 0 auto; padding: 14px 18px; white-space: nowrap; }
.ck-stickybar .ck-sticky-price { flex: 1; min-width: 0; }
.ck-stickybar .ck-sticky-price small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ── Drawers (cart, gallery) ─────────────────────────────────────────── */
.ck-overlay { position: fixed; inset: 0; background: rgba(15, 23, 42, .5); z-index: 1100; }
.ck-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100vw); background: #fff; z-index: 1110; display: flex; flex-direction: column; box-shadow: -20px 0 60px rgba(15, 23, 42, .18); }
.ck-drawer--wide { width: min(880px, 100vw); }
.ck-drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--ck-line); }
.ck-drawer-head h2 { font-family: 'Inter', sans-serif; font-size: 1.1rem; font-weight: 700; }
.ck-x { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--ck-line); background: #fff; color: var(--ck-ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.ck-x:hover { background: var(--ck-soft); }
.ck-drawer-body { flex: 1; overflow-y: auto; padding: 16px 20px; }
.ck-drawer-foot { border-top: 1px solid var(--ck-line); padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); background: #fff; }
.ck-empty { text-align: center; padding: 40px 10px; color: var(--ck-muted); }
.ck-empty i { font-size: 2rem; color: var(--ck-line-strong); margin-bottom: 10px; }

.ck-line { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--ck-line); align-items: start; }
.ck-line:last-child { border-bottom: 0; }
.ck-line-img { width: 72px; height: 72px; border-radius: 8px; object-fit: cover; border: 1px solid var(--ck-line); background: var(--ck-soft); }
.ck-line-title { font-weight: 600; color: var(--ck-ink); font-size: .95rem; }
.ck-line-meta { font-size: .82rem; color: var(--ck-muted); margin-top: 2px; line-height: 1.4; }
.ck-line-meta .ck-pending { color: #b45309; font-weight: 600; }
.ck-line-actions { display: flex; gap: 12px; margin-top: 8px; font-size: .82rem; }
.ck-line-price { text-align: right; font-weight: 700; color: var(--ck-ink); }
.ck-line-price .ck-strike { display: block; font-size: .78rem; }

.ck-promo { display: flex; gap: 8px; }
.ck-promo .ck-input { flex: 1; text-transform: uppercase; }
.ck-promo button { padding: 0 16px; border-radius: 8px; border: 1.5px solid var(--ck-ink); background: #fff; font-weight: 600; cursor: pointer; color: var(--ck-ink); }
.ck-promo-msg { font-size: .83rem; margin-top: 6px; }
.ck-promo-msg.ok { color: var(--ck-green); }
.ck-promo-msg.bad { color: var(--ck-red); }

.ck-totals { display: grid; gap: 6px; font-size: .93rem; }
.ck-totals div { display: flex; justify-content: space-between; gap: 12px; }
.ck-totals .ck-total { font-size: 1.15rem; font-weight: 700; color: var(--ck-ink); padding-top: 8px; border-top: 1px solid var(--ck-line); margin-top: 4px; }
.ck-totals .ck-save { color: var(--ck-green); }

/* Gallery drawer */
.ck-gallery-cat { margin-bottom: 22px; }
.ck-gallery-cat h3 { margin-bottom: 8px; display: flex; align-items: baseline; gap: 8px; }
.ck-gallery-cat h3 small { color: var(--ck-muted); font-weight: 400; }
.ck-gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.ck-design { border: 2px solid var(--ck-line); border-radius: 10px; padding: 5px; background: #fff; cursor: pointer; text-align: left; }
.ck-design:hover { border-color: var(--ck-line-strong); }
.ck-design.is-on { border-color: var(--ck-ink); }
.ck-design img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; }
.ck-design span { display: block; font-size: .78rem; font-weight: 600; margin-top: 6px; color: var(--ck-ink); }

/* ── Checkout ────────────────────────────────────────────────────────── */
.ck-checkout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: start; }
.ck-checkout-main > * + * { margin-top: 36px; }
.ck-sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.ck-sec-head h2 { font-family: 'Inter', sans-serif; font-size: 1.15rem; font-weight: 700; }
.ck-sec-head small { color: var(--ck-muted); font-size: .85rem; }
.ck-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ck-grid-3 { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 10px; }
.ck-radios { display: grid; gap: 8px; }
.ck-radio { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border: 1.5px solid var(--ck-line); border-radius: 10px; cursor: pointer; background: #fff; transition: border-color .15s; }
.ck-radio:hover { border-color: var(--ck-line-strong); }
.ck-radio.is-on { border-color: var(--ck-ink); box-shadow: inset 0 0 0 1px var(--ck-ink); }
.ck-radio.is-dead { opacity: .8; }
.ck-radio input { accent-color: var(--ck-ink); width: 18px; height: 18px; margin: 0; }
.ck-radio .ck-radio-body { flex: 1; }
.ck-radio strong { display: block; font-size: .95rem; color: var(--ck-ink); }
.ck-radio small { display: block; color: var(--ck-muted); font-size: .8rem; }
.ck-radio .ck-radio-price { font-weight: 700; color: var(--ck-ink); }
.ck-radio .ck-radio-icon { width: 34px; height: 24px; border-radius: 5px; border: 1px solid var(--ck-line); display: inline-flex; align-items: center; justify-content: center; color: var(--ck-ink); font-size: 1rem; background: var(--ck-soft); }
.ck-radio .ck-radio-icon.paypal { color: var(--ck-paypal); }
.ck-soon { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--ck-muted); border: 1px solid var(--ck-line-strong); border-radius: 999px; padding: 2px 7px; }
.ck-payment-note { margin-top: 10px; padding: 11px 13px; border-radius: 8px; background: var(--ck-warm); border: 1px solid var(--ck-warm-line); color: #7c2d12; font-size: .88rem; }
.ck-check { display: flex; align-items: center; gap: 10px; font-size: .93rem; color: var(--ck-ink); cursor: pointer; }
.ck-check input { width: 18px; height: 18px; accent-color: var(--ck-ink); margin: 0; }
.ck-secure { display: flex; align-items: center; gap: 8px; justify-content: center; font-size: .82rem; color: var(--ck-muted); margin-top: 12px; }
.ck-secure i { color: var(--ck-green); }
.ck-banner { padding: 12px 14px; border-radius: 10px; font-size: .9rem; }
.ck-banner--warn { background: var(--ck-warm); border: 1px solid var(--ck-warm-line); color: #7c2d12; }
.ck-banner--error { background: var(--ck-red-soft); border: 1px solid #fecaca; color: var(--ck-red); }

.ck-summary { position: sticky; top: 96px; border: 1px solid var(--ck-line); border-radius: var(--ck-radius); background: var(--ck-soft); padding: 20px; }
.ck-summary h2 { font-family: 'Inter', sans-serif; font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.ck-summary-toggle, .ck-summary-hide { display: none; }
.ck-summary .ck-line { padding: 12px 0; }
.ck-summary .ck-line-img { width: 60px; height: 60px; }
/* A previewed line shows the painting in its frame (3:2, like the frame renders) instead of the photo. */
.ck-line-framed { position: relative; display: block; width: 104px; height: auto; aspect-ratio: 3 / 2; padding: 0; overflow: hidden; cursor: zoom-in; border-radius: 6px; }
.ck-line-framed .ck-line-wood { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ck-line-art { position: absolute; inset: 0; overflow: hidden; background: var(--ck-soft); }
.ck-line-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ck-summary .ck-line-framed { width: 96px; height: auto; }
.ck-summary .ck-line { grid-template-columns: auto 1fr auto; }
.ck-summary details summary { cursor: pointer; font-weight: 600; color: var(--ck-ink); font-size: .9rem; padding: 6px 0; list-style: none; }
.ck-summary details summary::-webkit-details-marker { display: none; }
.ck-summary details summary i { margin-right: 6px; color: var(--ck-muted); }
.ck-paint-note { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; padding: 11px 13px; border-radius: 8px; background: #fff; border: 1px solid var(--ck-line); font-size: .84rem; color: var(--ck-text); }
.ck-paint-note i { color: var(--ck-accent-dark); margin-top: 3px; }

/* ── Thank you ───────────────────────────────────────────────────────── */
.ck-thanks { max-width: 720px; margin: 0 auto; }
.ck-thanks-head { text-align: center; padding: 20px 0 26px; }
.ck-thanks-head .ck-check-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--ck-green-soft); color: var(--ck-green); font-size: 1.8rem; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.ck-thanks-head p { color: var(--ck-text); margin-top: 10px; line-height: 1.55; }
.ck-card { border: 1px solid var(--ck-line); border-radius: var(--ck-radius); background: #fff; padding: 20px; }
.ck-card + .ck-card { margin-top: 14px; }
.ck-card--warn { border: 2px solid #f59e0b; background: #fffbeb; }
.ck-card--warn h3 { color: #92400e; }
.ck-card--warn p { color: #78350f; }
.ck-orders { display: grid; gap: 10px; margin-top: 12px; }
.ck-order { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--ck-line); border-radius: 10px; background: var(--ck-soft); }
.ck-order img { width: 48px; height: 48px; object-fit: cover; border-radius: 6px; }
.ck-order code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .95rem; color: var(--ck-ink); font-weight: 700; letter-spacing: .3px; }
.ck-order .ck-order-meta { font-size: .8rem; color: var(--ck-muted); }
.ck-timeline { display: grid; gap: 12px; margin-top: 12px; }
.ck-timeline div { display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: start; font-size: .93rem; color: var(--ck-text); line-height: 1.5; }
.ck-timeline i { width: 30px; height: 30px; border-radius: 50%; background: var(--ck-warm); color: var(--ck-accent-dark); display: inline-flex; align-items: center; justify-content: center; font-size: .85rem; }
.ck-thanks .ck-btn { width: auto; padding: 13px 22px; }

/* ── Lightbox ────────────────────────────────────────────────────────── */
.ck-lightbox { position: fixed; inset: 0; z-index: 1200; background: rgba(15, 23, 42, .92); display: flex; align-items: center; justify-content: center; padding: 20px; cursor: zoom-out; }
.ck-lightbox img { max-width: 100%; max-height: 100%; border-radius: 8px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }

/* ── Legal bar ───────────────────────────────────────────────────────── */
.ck-legal { border-top: 1px solid var(--ck-line); padding: 18px 20px 24px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .8rem; color: var(--ck-muted); }
.ck-legal a { color: var(--ck-muted); margin-left: 14px; text-decoration: none; }
.ck-legal a:hover { color: var(--ck-ink); }

/* ── Transitions ─────────────────────────────────────────────────────── */
.ck-fade-enter-active, .ck-fade-leave-active { transition: opacity .18s; }
.ck-fade-enter-from, .ck-fade-leave-to { opacity: 0; }
.ck-slide-enter-active, .ck-slide-leave-active { transition: transform .24s cubic-bezier(.2, .8, .2, 1); }
.ck-slide-enter-from, .ck-slide-leave-to { transform: translateX(100%); }

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .ck-product, .ck-checkout { gap: 32px; }
    .ck-tiles { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
    .ck-product, .ck-checkout { grid-template-columns: 1fr; }
    .ck-media, .ck-summary { position: static; }
    .ck-stickybar { display: block; }
    .ck-wrap { padding-bottom: 120px; }
    /* On a phone the three promise cards would sit between the artwork and the
       price. The same promises repeat under Add to cart, so one copy is enough. */
    .ck-promise { display: none; }
    .ck-steps, .ck-reviews { grid-template-columns: 1fr 1fr; }
    .ck-summary { order: -1; padding: 14px 16px; }
    /* Phones: the photo step comes before the title and price, so the first thing under the
       artwork is something to do, not something to read. Flex so `order` works; the
       stacked margins are set explicitly because flex items do not collapse them. */
    .ck-config { display: flex; flex-direction: column; }
    .ck-config > #photo-block { order: -1; margin-top: 0; margin-bottom: 30px; }
    .ck-config > .ck-note { margin-bottom: 18px; }
    /* The fixed Upload / Add to cart bar covers the bottom of the page; the copyright and
       policy links need to end above it. */
    .ck-legal.has-stickybar { padding-bottom: calc(104px + env(safe-area-inset-bottom)); }
    /* The summary is folded on phones: one row with the count and total, tap to open. */
    .ck-summary-toggle { display: flex; order: -2; align-items: center; justify-content: space-between; gap: 10px; width: 100%; padding: 12px 14px; border: 1px solid var(--ck-line); border-radius: 10px; background: var(--ck-soft); font: inherit; font-size: .92rem; font-weight: 600; color: var(--ck-ink); cursor: pointer; text-align: left; }
    .ck-summary-toggle > span { display: inline-flex; align-items: center; gap: 8px; }
    .ck-summary-toggle .fa-chevron-down { color: var(--ck-muted); transition: transform .15s; }
    .ck-summary-toggle.is-open { display: none; }
    .ck-summary:not(.is-open) { display: none; }
    /* Open: the summary carries its own Hide, so there is one control, not two. */
    .ck-summary-hide { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; border: 0; background: none; font: inherit; font-size: .82rem; font-weight: 600; color: var(--ck-muted); cursor: pointer; }
    .ck-config > .ck-note { order: -2; }
    /* A heading and its note side by side need more width than a phone has. */
    .ck-sec-head { flex-direction: column; align-items: flex-start; gap: 2px; }
    /* Footer: one centred line for the copyright, the links in a wrapped row under it. */
    .ck-legal { flex-direction: column; align-items: center; text-align: center; gap: 10px; padding-top: 22px; }
    .ck-legal span:last-child { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; }
    .ck-legal a { margin-left: 0; }
}
@media (max-width: 600px) {
    .ck-page h1 { font-size: 1.6rem; }
    .ck-wrap { padding: 14px 14px 120px; }
    .ck-looks { grid-template-columns: repeat(2, 1fr); }
    .ck-tiles { grid-template-columns: repeat(2, 1fr); }
    .ck-frames { grid-template-columns: repeat(4, 1fr); }
    .ck-frame span { font-size: .7rem; }
    .ck-promise { grid-template-columns: 1fr; }
    .ck-steps, .ck-reviews { grid-template-columns: 1fr; }
    .ck-grid-3 { grid-template-columns: 1fr 1fr; }
    .ck-grid-3 > :first-child { grid-column: 1 / -1; }
    .ck-thumbs { grid-template-columns: repeat(5, 1fr); }
    .ck-assure { grid-template-columns: 1fr; }
}

/* ── Additions: slider, callout, guarantee, nav cart, pay-blocked ──────── */
.ck-subtitle { margin-top: 8px; color: var(--ck-text); font-size: 1.02rem; line-height: 1.45; }
.ck-meta-row { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 12px; font-size: .86rem; color: var(--ck-text); align-items: center; }
.ck-guarantee-pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: var(--ck-trust-soft); color: var(--ck-trust); font-weight: 700; font-size: .8rem; }
/* Delivery estimate as a pill, the same shape as the guarantee beside it. */
.ck-arrives { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: var(--ck-soft); border: 1px solid var(--ck-line); color: var(--ck-text); font-weight: 600; font-size: .8rem; }
.ck-arrives i { color: var(--ck-trust); }
.ck-arrives strong { white-space: nowrap; color: var(--ck-ink); }
.ck-media-hint { margin-top: 8px; text-align: center; }
.ck-media-hint i { margin-right: 4px; }

/* Before / after slider: the portrait is clipped from the left edge to the handle. */
.ck-slider { touch-action: pan-y; user-select: none; cursor: ew-resize; }
.ck-slider.is-dragging { cursor: grabbing; }
.ck-slider-layer { position: absolute; inset: 0; pointer-events: none; }
.ck-slider img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ck-slider-handle { position: absolute; top: 0; bottom: 0; width: 0; border-left: 2px solid #fff; box-shadow: 0 0 0 1px rgba(15, 23, 42, .25); transform: translateX(-1px); pointer-events: none; }
.ck-slider-handle span { position: absolute; top: 50%; left: 0; transform: translate(-50%, -50%); width: 42px; height: 42px; border-radius: 50%; background: #fff; color: var(--ck-ink); display: flex; align-items: center; justify-content: center; gap: 3px; font-size: .75rem; box-shadow: 0 6px 18px rgba(15, 23, 42, .25); }
.ck-slider:focus-visible { outline: 3px solid var(--ck-accent); outline-offset: 2px; }
/* Until first touched (.is-idle, set by checkout-v3.js) the handle sweeps across and the knob
   pulses an accent glow so the slider reads as something to drag. */
.ck-slider.is-idle .ck-slider-handle { box-shadow: 0 0 0 1px rgba(15, 23, 42, .25), 0 0 14px rgba(255, 255, 255, .85); }
.ck-slider.is-idle .ck-slider-handle span { animation: ck-knob-pulse 1.8s ease-in-out infinite; }
@keyframes ck-knob-pulse {
    0%, 100% { box-shadow: 0 6px 18px rgba(15, 23, 42, .25), 0 0 0 0 rgba(255, 107, 53, .6), 0 0 0 0 rgba(255, 107, 53, .3); }
    50% { box-shadow: 0 6px 18px rgba(15, 23, 42, .25), 0 0 0 8px rgba(255, 107, 53, .18), 0 0 26px 10px rgba(255, 107, 53, .28); }
}
@media (prefers-reduced-motion: reduce) {
    .ck-slider.is-idle .ck-slider-handle span { animation: none; }
}

/* ── Your photo, painted: bare photo before, framed portrait after ──────────
   The "before" layer is the photo as uploaded, filling the stage. The "after"
   layer is the chosen frame render (3:2 like the stage, so it maps one to one)
   with the painting in its opening - a percentage box from FRAME_OPENINGS
   (checkout-v3.js). The handle sweeps the framed portrait over the photo.
   Digital orders (no .is-framed) put the painting itself over the photo. */
.ck-mine { background: #fff; cursor: default; }
.ck-mine-slider { position: absolute; inset: 0; }
.ck-mine-after { background: #fff; }
.ck-mine .ck-mine-wood { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ck-mine-art { position: absolute; inset: 0; overflow: hidden; background: var(--ck-soft); }
/* The panel under the upload that holds the stage, its note and the repaint button. */
.ck-preview { margin-top: 18px; }
.ck-preview .ck-opt-head { margin-bottom: 10px; }
.ck-preview .ck-opt-head .ck-link { white-space: nowrap; }
.ck-preview-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px 14px; flex-wrap: wrap; margin-top: 10px; }
.ck-preview-actions .ck-btn { margin: 0; }
/* ── Review for a wallpaper, under the painting ─────────────────────────── */
.ck-wall { margin-top: 14px; padding: 16px 16px 18px; border-radius: 12px; background: var(--ck-soft); border: 1px solid var(--ck-line); text-align: center; }
.ck-wall-head { margin: 0 0 4px; font-weight: 700; color: var(--ck-ink); font-size: .98rem; }
.ck-wall-head i { color: var(--ck-trust); margin-right: 4px; }
.ck-wall-head.is-done { color: var(--ck-good); }
.ck-wall-head.is-done i { color: var(--ck-good); }
.ck-wall-sub { margin: 0 0 12px; font-size: .87rem; color: var(--ck-muted); line-height: 1.45; }
.ck-wall-sub strong { color: var(--ck-text); }
.ck-wall-note { margin: 10px 0 0; font-size: .82rem; color: #b45309; }
.ck-wall-quiet { margin: 10px 0 0; font-size: .82rem; color: var(--ck-muted); line-height: 1.45; }
.ck-wall-full { margin: 8px 0 0; font-size: .78rem; color: #94a3b8; }
/* The lock-screen mock-up: one image filling the screen, cropped to the middle, a live clock. */
.ck-phone { display: flex; justify-content: center; margin: 2px 0 14px; }
.ck-phone-screen { position: relative; width: 132px; height: 268px; border-radius: 22px; background: #1e293b; border: 5px solid #1e293b; overflow: hidden; box-shadow: 0 10px 26px rgba(15, 23, 42, .22); }
.ck-phone-screen::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 42%; background: linear-gradient(to bottom, rgba(15, 23, 42, .5), rgba(15, 23, 42, 0)); z-index: 1; pointer-events: none; }
.ck-phone-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.ck-phone-island { position: absolute; z-index: 3; top: 7px; left: 50%; transform: translateX(-50%); width: 44px; height: 12px; border-radius: 999px; background: #1e293b; }
.ck-phone-clock { z-index: 2; position: absolute; top: 26px; left: 0; right: 0; display: flex; flex-direction: column; align-items: center; color: #fff; text-shadow: 0 1px 8px rgba(15, 23, 42, .55); pointer-events: none; }
.ck-phone-day { font-size: .44rem; font-weight: 600; letter-spacing: .01em; }
.ck-phone-time { font-size: 1.25rem; font-weight: 300; line-height: 1.1; letter-spacing: -.02em; }
/* The review itself: stars first, the form once a star is tapped. */
.ck-review-q { margin: 0 0 4px; font-weight: 700; color: var(--ck-text); font-size: .95rem; }
.ck-review-stars { display: flex; justify-content: center; gap: 6px; margin-bottom: 6px; }
.ck-review-star { border: 0; background: none; padding: 4px 3px; font-size: 1.85rem; line-height: 1; color: var(--ck-line); cursor: pointer; transition: color .12s ease, transform .12s ease; }
.ck-review-star:hover { transform: scale(1.12); }
.ck-review-star.is-on { color: #f59e0b; }
.ck-review { display: grid; gap: 8px; text-align: center; margin-top: 6px; }
.ck-review .ck-input, .ck-review .ck-textarea { text-align: left; }
.ck-review .ck-field-error { text-align: left; }
/* The box that is missing something: red border, a soft red halo, and a nudge. */
.ck-review .ck-input.is-error, .ck-review .ck-textarea.is-error { border-color: var(--ck-red); background: var(--ck-red-soft); box-shadow: 0 0 0 3px rgba(185, 28, 28, .14); animation: ck-nudge .3s ease-out; }
@keyframes ck-nudge { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
@media (prefers-reduced-motion: reduce) { .ck-review .ck-input.is-error, .ck-review .ck-textarea.is-error { animation: none; } }
.ck-review-fineprint { margin: 0; font-size: .75rem; color: #94a3b8; }
.ck-btn--review { background: linear-gradient(135deg, #f59e0b, #d97706); color: #fff; box-shadow: 0 4px 12px rgba(217, 119, 6, .22); }
.ck-btn--wall { background: linear-gradient(135deg, #10b981, var(--ck-good)); color: #fff; box-shadow: 0 4px 12px rgba(14, 124, 107, .25); }
/* While the paint dries: the photo itself, breathing, with a status card over it. */
.ck-mine-wait { position: absolute; inset: 0; background: var(--ck-soft); }
.ck-mine-wait > img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.6) brightness(.9); }
.ck-mine.is-working .ck-mine-wait > img { animation: ck-mine-breathe 2.4s ease-in-out infinite; }
@keyframes ck-mine-breathe { 0%, 100% { filter: saturate(.55) brightness(.85); } 50% { filter: saturate(.9) brightness(1); } }
.ck-mine-status { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 18px; border-radius: 12px; background: rgba(255, 255, 255, .94); color: var(--ck-ink); text-align: center; box-shadow: 0 10px 30px rgba(15, 23, 42, .18); max-width: 86%; }
.ck-mine-status > i { font-size: 1.3rem; color: var(--ck-accent); }
.ck-mine.is-working .ck-mine-status > i { animation: ck-mine-brush 1.1s ease-in-out infinite; }
@keyframes ck-mine-brush { 0%, 100% { transform: rotate(-14deg); } 50% { transform: rotate(14deg); } }
.ck-mine-status strong { font-size: .92rem; line-height: 1.3; }
.ck-mine-status small { font-size: .76rem; color: var(--ck-muted); }
.ck-mine-status.is-error > i { color: var(--ck-red); }
.ck-mine-status .ck-btn { margin-top: 6px; }
.ck-mine-zoom { position: absolute; right: 10px; top: 10px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--ck-ink); cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(15, 23, 42, .18); }
.ck-mine-zoom:hover { background: #fff; }
.ck-preview-note { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: var(--ck-warm); border: 1px solid var(--ck-warm-line); font-size: .84rem; color: #9a3412; display: flex; gap: 8px; align-items: center; justify-content: center; flex-wrap: wrap; }
.ck-preview-note .ck-link { color: var(--ck-accent-dark); font-weight: 600; }
.ck-line-preview { color: var(--ck-good); font-weight: 600; }
@media (prefers-reduced-motion: reduce) {
    .ck-mine.is-working .ck-mine-wait > img, .ck-mine.is-working .ck-mine-status > i { animation: none; }
}

/* The photo callout: a card with the two ways forward, not a red line. */
.ck-callout { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 16px; margin-bottom: 12px; border-radius: 12px; background: var(--ck-warm); border: 2px solid var(--ck-accent); box-shadow: 0 8px 24px rgba(255, 107, 53, .16); animation: ck-pop .28s ease-out; }
.ck-callout-icon { width: 44px; height: 44px; border-radius: 50%; background: var(--ck-accent-grad); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.ck-callout-body strong { display: block; color: #7c2d12; font-size: 1rem; }
.ck-callout-body p { color: #9a3412; font-size: .9rem; margin: 4px 0 12px; }
.ck-callout-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.ck-callout-actions .ck-btn { width: auto; margin: 0; }
.ck-btn--sm { padding: 10px 14px; font-size: .9rem; border-radius: 8px; }
.ck-upload.is-wanted { border-color: var(--ck-accent); animation: ck-pulse 1.6s ease-in-out 2; }
@keyframes ck-pop { from { transform: translateY(-6px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes ck-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 107, 53, 0); } 50% { box-shadow: 0 0 0 6px rgba(255, 107, 53, .25); } }

/* Guarantee */
.ck-guarantee { display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: center; margin-top: 14px; padding: 14px 16px; border-radius: 12px; background: var(--ck-trust-soft); border: 1px solid var(--ck-trust-line); }
.ck-guarantee strong { display: block; color: var(--ck-trust-dark); font-size: .98rem; }
.ck-guarantee p { color: #3a4a7a; font-size: .86rem; line-height: 1.45; margin-top: 3px; }
.ck-guarantee-seal { width: 56px; height: 56px; border-radius: 50%; background: var(--ck-trust); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; box-shadow: 0 6px 16px rgba(47, 75, 158, .3); }
.ck-guarantee-seal i { font-size: 1.1rem; }
.ck-guarantee-seal span { font-size: .62rem; font-weight: 800; letter-spacing: .04em; margin-top: 3px; }
.ck-guarantee-seal--lg { width: 84px; height: 84px; }
.ck-guarantee-seal--lg i { font-size: 1.7rem; }
.ck-guarantee-seal--lg span { font-size: .8rem; }
.ck-guarantee-band { display: grid; grid-template-columns: 84px 1fr; gap: 22px; align-items: center; padding: 26px 28px; border-radius: var(--ck-radius); background: var(--ck-trust-soft); border: 1px solid var(--ck-trust-line); }
.ck-guarantee-band h2 { color: var(--ck-trust-dark); }
.ck-guarantee-band p { color: #3a4a7a; margin-top: 6px; line-height: 1.55; }
.ck-guarantee-band a { color: var(--ck-trust-dark); font-weight: 600; }
.ck-guarantee-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.ck-guarantee-cols > div { padding: 14px 16px; border-radius: 10px; background: rgba(255, 255, 255, .7); border: 1px solid var(--ck-trust-line); text-align: left; }
.ck-guarantee-cols strong { display: flex; align-items: center; gap: 8px; color: var(--ck-trust-dark); font-size: .95rem; }
.ck-guarantee-cols strong i { color: var(--ck-trust); }
.ck-guarantee-cols p { font-size: .9rem; margin-top: 4px; }
.ck-guarantee-ask { font-size: .9rem; margin-top: 12px; }

/* Checkout: trust row and the painted-door message */
/* Three reasons to feel fine pressing Pay, as tiles under the button. */
.ck-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.ck-trust > div { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 7px; padding: 12px 8px; border-radius: 10px; background: var(--ck-soft); border: 1px solid var(--ck-line); font-size: .8rem; font-weight: 600; color: var(--ck-ink); line-height: 1.25; }
.ck-trust i { width: 34px; height: 34px; border-radius: 50%; background: var(--ck-trust-soft); color: var(--ck-trust); display: flex; align-items: center; justify-content: center; font-size: .95rem; }
/* Product page strips: "you're editing" / "your cart is waiting" */
.ck-note { display: flex; align-items: flex-start; gap: 10px; padding: 10px 14px; border-radius: 10px; background: var(--ck-soft); border: 1px solid var(--ck-line); font-size: .88rem; color: var(--ck-text); line-height: 1.45; }
.ck-note i { color: var(--ck-accent); margin-top: 3px; flex: 0 0 auto; }
.ck-note-body { flex: 1; }
.ck-note--edit { background: var(--ck-warm); border-color: var(--ck-warm-line); color: #7c2d12; }
.ck-note .ck-link { font-size: inherit; }
/* Checkout page: the way back */
.ck-back { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 600; color: var(--ck-ink); text-decoration: none; }
.ck-back:hover { color: var(--ck-accent-dark); }
.ck-back .ck-muted { font-weight: 500; }
.ck-pay-blocked { display: grid; grid-template-columns: 24px 1fr; gap: 12px; margin-top: 12px; padding: 14px 16px; border-radius: 10px; background: var(--ck-warm); border: 1.5px solid var(--ck-accent); animation: ck-pop .25s ease-out; }
.ck-pay-blocked > i { color: var(--ck-accent-dark); font-size: 1.2rem; margin-top: 2px; }
.ck-pay-blocked strong { display: block; color: #7c2d12; }
.ck-pay-blocked p { color: #9a3412; font-size: .9rem; margin: 4px 0 10px; line-height: 1.45; }
.ck-pay-blocked .ck-btn { width: auto; }

/* Reviews header */
.ck-reviews-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px; }
.ck-reviews-head .ck-rating { margin-top: 0; }

/* Cart in the site nav (phones - the desktop page has its own cart button) */
.nav-cart { display: none; position: relative; align-items: center; justify-content: center; width: 42px; height: 42px; margin-left: auto; margin-right: 6px; border-radius: 50%; color: #1e293b; text-decoration: none; font-size: 1.15rem; }
.nav-cart-count { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: #ff6b35; color: #fff; font-size: .7rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.nav-cart-count[hidden] { display: none; }
@media (max-width: 768px) {
    .nav-cart { display: inline-flex; }
    .ck-topbar-cart { display: none; }
    .ck-thumbs { grid-template-columns: repeat(5, 1fr); }
    .ck-guarantee-band { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 22px 18px; }
    .ck-guarantee-cols { grid-template-columns: 1fr; width: 100%; }
    .ck-callout { grid-template-columns: 1fr; }
    .ck-callout-icon { display: none; }
}
