/* order.php: pricing and ordering.
   A light page (white cards on a pale powderblue background, black buttons) so ordering stands out,
   under the same dark site header and footer as every other page.
   The previous dark version is kept in unused/order-dark-2026-11-03/. */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

body.site.ord-page {
    background: #F2FAFB;
}

/* The page's own colours. Redefining the site tokens here makes the shared pieces (cards, muted text) light too. */
body.site.ord-page .ord-hero,
body.site.ord-page .site-main {
    --pb: #B0E0E6;          /* powderblue */
    --pb-soft: #E8F7F9;
    --pb-deep: #0B4B55;
    --ink: #0B0B0B;
    --text: #0B0B0B;
    --soft: #24343a;
    --muted: #5C6B73;
    --line: #D5E7EB;
    --card: #FFFFFF;
    --card-2: #FFFFFF;
    --shadow: 0 10px 30px rgba(0, 0, 0, .08);
    color: var(--ink);
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}
body.site.ord-page .site-footer { background: #07090b; }

/* banner */
body.site.ord-page .ord-hero {
    padding: 56px 20px 44px;
    text-align: center;
    background: linear-gradient(135deg, var(--pb) 0%, #fff 75%);
}
body.site.ord-page .ord-hero h1 { margin: 0 0 10px; font-size: clamp(28px, 4vw, 42px); font-weight: 800; color: var(--ink); }
body.site.ord-page .ord-hero p { max-width: 640px; margin: 0 auto; font-size: 17px; color: var(--muted); }

body.site.ord-page .site-main { padding-top: 32px; }
body.site.ord-page .muted { color: var(--muted); }
/* Only the page body: the header and footer keep the site's own link colours */
body.site.ord-page .site-main a:not(.btn),
body.site.ord-page .ord-hero a { color: var(--pb-deep); }
body.site.ord-page .ord-narrow { max-width: 820px; }

/* shared cards become white panels */
body.site.ord-page .site-main .card {
    background: var(--card);
    border: 1px solid transparent;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

/* buttons: black, powderblue on hover */
body.site.ord-page .site-main .btn {
    background: #000;
    color: #fff;
    border: 2px solid #000;
    border-radius: 12px;
    padding: 12px 22px;
    font-size: 16px;
    font-weight: 600;
    box-shadow: none;
    transition: .2s;
}
body.site.ord-page .site-main .btn:hover { background: var(--pb); color: #000; transform: none; box-shadow: none; }
body.site.ord-page .site-main .btn--ghost { background: #fff; color: #000; }
body.site.ord-page .site-main .btn[disabled],
body.site.ord-page .site-main .btn[disabled]:hover { opacity: .45; cursor: not-allowed; background: #000; color: #fff; }

body.site.ord-page .alert.is-error { background: #fde8e8; color: #8a1c1c; border: 1px solid #f5b5b5; font-size: 15px; }
body.site.ord-page .alert ul { margin: 6px 0 0; padding-left: 18px; }

/* layout */
body.site.ord-page .ord-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
body.site.ord-page .ord-panel { padding: 24px; margin-bottom: 22px; }
body.site.ord-page .ord-panel h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; font-size: 20px; color: var(--ink); }
body.site.ord-page .ord-step {
    display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
    width: 30px; height: 30px; border-radius: 50%; background: #000; color: var(--pb); font-size: 15px; font-weight: 700;
}

/* price cards */
body.site.ord-page .ord-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
body.site.ord-page .ord-item {
    display: flex; flex-direction: column; overflow: hidden; background: #fff; border-radius: 16px;
    border: 1px solid transparent; box-shadow: var(--shadow); transition: transform .2s, border-color .2s;
}
body.site.ord-page .ord-item:hover { transform: translateY(-3px); border-color: var(--pb); }
body.site.ord-page .ord-thumb { width: 100%; height: 160px; object-fit: contain; padding: 10px; background: var(--pb-soft); }
body.site.ord-page .ord-item-body { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 16px 18px 18px; }
body.site.ord-page .ord-item h3 { margin: 0; font-size: 18px; color: var(--ink); }
body.site.ord-page .ord-desc { margin: 0; flex: 1; color: var(--muted); font-size: 14px; }
body.site.ord-page .ord-badge {
    align-self: flex-start; padding: 3px 10px; border-radius: 999px;
    background: var(--pb-soft); color: var(--pb-deep); font-size: 12px; font-weight: 600;
}
body.site.ord-page .ord-price { font-size: 26px; font-weight: 800; color: var(--ink); }
body.site.ord-page .ord-price small { font-size: 13px; font-weight: 500; color: var(--muted); }
body.site.ord-page .ord-line { margin-top: 4px; font-size: 14px; color: var(--muted); }

/* items priced by recording time (VHS): one stepper per tape length */
body.site.ord-page .ord-len-help { flex: 0 0 auto; font-size: 13px; }
@media (min-width: 600px) {
    body.site.ord-page .ord-item--lengths { grid-column: span 2; }
}
body.site.ord-page .ord-len {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding-top: 8px; border-top: 1px solid var(--line);
}
body.site.ord-page .ord-len .ord-stepper { margin-top: 0; flex: 0 0 auto; }
body.site.ord-page .ord-len .ord-stepper button { width: 36px; height: 38px; font-size: 18px; }
body.site.ord-page .ord-len .ord-stepper input { width: 48px; height: 38px; }
body.site.ord-page .ord-len-name { font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.3; }
body.site.ord-page .ord-len-name small { display: block; font-weight: 500; color: var(--muted); }
body.site.ord-page .ord-line strong { color: var(--ink); }

/* quantity stepper */
body.site.ord-page .ord-stepper {
    display: flex; align-items: center; width: max-content; margin-top: 8px; overflow: hidden;
    border: 1px solid var(--line); border-radius: 12px; background: #fff;
}
body.site.ord-page .ord-stepper button {
    width: 44px; height: 44px; border: 0; background: #fff; color: #000;
    font: inherit; font-size: 20px; font-weight: 600; cursor: pointer; transition: background .15s;
}
body.site.ord-page .ord-stepper button:hover { background: var(--pb); }
body.site.ord-page .ord-stepper input {
    width: 70px; height: 44px; border: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line);
    background: #fff; color: var(--ink); text-align: center; font: inherit; font-size: 17px; font-weight: 700;
    -moz-appearance: textfield; appearance: textfield;
}
body.site.ord-page .ord-stepper input:focus { outline: 2px solid var(--pb); outline-offset: -2px; }
body.site.ord-page .ord-stepper input::-webkit-outer-spin-button,
body.site.ord-page .ord-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* details form */
body.site.ord-page .ord-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
body.site.ord-page .ord-field.full { grid-column: 1 / -1; }
body.site.ord-page .ord-field > label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
body.site.ord-page .ord-field input:not([type=checkbox]):not([type=radio]),
body.site.ord-page .ord-field select,
body.site.ord-page .ord-field textarea {
    width: 100%; padding: 12px 14px; border: 1px solid #C9DCE1; border-radius: 10px;
    background: #fff; color: var(--ink); font: inherit; font-size: 16px;
}
body.site.ord-page .ord-field input:focus,
body.site.ord-page .ord-field select:focus,
body.site.ord-page .ord-field textarea:focus { outline: none; border-color: #000; box-shadow: 0 0 0 3px var(--pb); }
body.site.ord-page .ord-field textarea { min-height: 100px; resize: vertical; }
body.site.ord-page .ord-check { display: flex; gap: 10px; align-items: center; margin-top: 10px; font-size: 15px; font-weight: 500; color: var(--ink); }
body.site.ord-page .ord-check input { width: 18px; height: 18px; accent-color: #000; flex: none; }
body.site.ord-page .ord-check:has(span) { align-items: flex-start; font-size: 13px; font-weight: 400; line-height: 1.45; }
body.site.ord-page .ord-check:has(span) input { margin-top: 1px; }
body.site.ord-page .ord-fine { margin: 14px 0 0; font-size: 13px; color: var(--muted); }

/* estimate: the black card */
body.site.ord-page .ord-summary { position: sticky; top: 90px; }
body.site.ord-page .site-main .ord-sum { padding: 24px; background: #000; color: #fff; border: 0; }
body.site.ord-page .ord-sum h3 { margin: 0 0 14px; font-size: 20px; color: var(--pb); }
body.site.ord-page .ord-lines { list-style: none; margin: 0 0 16px; padding: 0; max-height: 260px; overflow: auto; }
body.site.ord-page .ord-lines li { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid #222; font-size: 15px; color: #fff; }
body.site.ord-page .ord-lines li.muted { color: #9aa9ad; border: 0; }
body.site.ord-page .ord-row { display: flex; justify-content: space-between; padding: 4px 0; font-size: 15px; color: #cfe9ed; }
body.site.ord-page .ord-row:first-of-type { border-top: 1px solid #333; padding-top: 14px; }
body.site.ord-page .ord-row strong { color: #fff; font-size: 17px; }
body.site.ord-page .site-main .ord-submit { width: 100%; margin-top: 18px; background: #000; color: #fff; border-color: #fff; }
body.site.ord-page .site-main .ord-submit:hover { background: var(--pb); color: #000; border-color: var(--pb); }
body.site.ord-page .site-main .ord-submit[disabled] { border-color: #555; }
body.site.ord-page .ord-link {
    display: block; width: 100%; margin-top: 12px; border: 0; background: none;
    color: var(--pb); font: inherit; font-size: 14px; text-decoration: underline; cursor: pointer;
}
body.site.ord-page .ord-sum .ord-fine { color: #8b9a9e; font-size: 12px; }
body.site.ord-page .site-main .ord-sum a { color: var(--pb); }

/* confirmation */
body.site.ord-page .ord-confirm { padding: 32px 28px; text-align: center; }
body.site.ord-page .ord-confirm h1 { margin: 0 0 8px; font-size: 26px; color: var(--ink); }
body.site.ord-page .ord-done-mark {
    display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%;
    background: var(--pb); color: #000; font-size: 32px; font-weight: 700;
}
body.site.ord-page .ord-scroll { overflow-x: auto; }
body.site.ord-page .ord-table { width: 100%; margin: 20px 0; border-collapse: collapse; text-align: left; font-size: 15px; }
body.site.ord-page .ord-table th,
body.site.ord-page .ord-table td { padding: 10px 8px; border-bottom: 1px solid var(--line); color: var(--ink); }
body.site.ord-page .ord-table th { font-size: 13px; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); }
body.site.ord-page .ord-table .num { text-align: right; }
body.site.ord-page .ord-totals { text-align: right; font-size: 16px; color: var(--ink); }

body.site.ord-page .ord-hint { display: block; margin-top: 6px; font-size: 13px; color: var(--pb-deep); font-weight: 600; }
body.site.ord-page .alert { background: var(--pb-soft); color: var(--pb-deep); border: 1px solid var(--pb); border-radius: 12px; padding: 12px 16px; }

/* below the form: samples, reviews, handling, questions */
body.site.ord-page .ord-section { margin: 34px 0; }
body.site.ord-page .ord-section h2 { margin: 0 0 6px; font-size: 26px; font-weight: 800; color: var(--ink); }
body.site.ord-page .ord-section > .muted { margin: 0 0 18px; }
body.site.ord-page .ord-samples { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
body.site.ord-page .ord-sample { margin: 0; background: #fff; border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; }
body.site.ord-page .ord-sample figcaption { padding: 12px 16px; color: var(--muted); font-size: 14px; }
body.site.ord-page .ord-sample figcaption strong { color: var(--ink); }
body.site.ord-page .ord-compare { --cut: 50%; position: relative; aspect-ratio: 4 / 3; background: #000; }
body.site.ord-page .ord-compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
body.site.ord-page .ord-compare .ord-before { clip-path: inset(0 calc(100% - var(--cut)) 0 0); }
body.site.ord-page .ord-compare::after {
    content: ""; position: absolute; top: 0; bottom: 0; left: var(--cut); width: 3px; margin-left: -1px;
    background: #fff; box-shadow: 0 0 6px rgba(0, 0, 0, .5); pointer-events: none;
}
body.site.ord-page .ord-compare input[type=range] {
    position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize;
}
body.site.ord-page .ord-tag {
    position: absolute; top: 10px; padding: 3px 9px; border-radius: 999px; background: rgba(0, 0, 0, .65);
    color: #fff; font-size: 12px; font-weight: 600; pointer-events: none; z-index: 1;
}
body.site.ord-page .ord-tag--b { left: 10px; }
body.site.ord-page .ord-tag--a { right: 10px; }
body.site.ord-page .ord-stars { color: #E0A100; letter-spacing: 2px; }
body.site.ord-page .ord-reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
body.site.ord-page .ord-review { margin: 0; padding: 20px; background: #fff; border-radius: 16px; box-shadow: var(--shadow); }
body.site.ord-page .ord-review p { margin: 10px 0; color: var(--soft); }
body.site.ord-page .ord-review footer { color: var(--muted); font-size: 14px; }
body.site.ord-page .ord-steps { counter-reset: s; list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
body.site.ord-page .ord-steps li { counter-increment: s; display: grid; gap: 6px; padding: 18px; background: #fff; border-radius: 16px; box-shadow: var(--shadow); }
body.site.ord-page .ord-steps li::before {
    content: counter(s); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
    background: #000; color: var(--pb); font-weight: 700;
}
body.site.ord-page .ord-steps strong { color: var(--ink); }
body.site.ord-page .ord-steps span { color: var(--muted); font-size: 14px; }
body.site.ord-page .ord-faq { display: grid; gap: 10px; margin: 18px 0; }
body.site.ord-page .ord-faq details { background: #fff; border-radius: 12px; box-shadow: var(--shadow); padding: 0 18px; }
body.site.ord-page .ord-faq summary { padding: 16px 0; font-weight: 600; color: var(--ink); cursor: pointer; }
body.site.ord-page .ord-faq p { margin: 0 0 16px; color: var(--soft); }

/* tracking page (track.php) and gift cards (giftcards.php) share these */
body.site.ord-page .trk-steps { list-style: none; margin: 18px 0; padding: 0; }
body.site.ord-page .trk-steps li { position: relative; padding: 0 0 22px 44px; }
body.site.ord-page .trk-steps li::before {
    content: ""; position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%;
    border: 2px solid var(--line); background: #fff; box-sizing: border-box;
}
body.site.ord-page .trk-steps li::after { content: ""; position: absolute; left: 12px; top: 28px; bottom: 2px; width: 2px; background: var(--line); }
body.site.ord-page .trk-steps li:last-child::after { display: none; }
body.site.ord-page .trk-steps li.is-done::before { content: "✓"; display: grid; place-items: center; background: #000; border-color: #000; color: var(--pb); font-size: 14px; font-weight: 700; }
body.site.ord-page .trk-steps li.is-now::before { border-color: #000; box-shadow: 0 0 0 4px var(--pb); }
body.site.ord-page .trk-steps strong { display: block; color: var(--ink); }
body.site.ord-page .trk-steps span, body.site.ord-page .trk-steps time { font-size: 14px; color: var(--muted); }
body.site.ord-page .trk-rating { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
body.site.ord-page .trk-rating input { position: absolute; opacity: 0; width: 1px; height: 1px; }
body.site.ord-page .trk-rating label { font-size: 32px; color: #C9DCE1; cursor: pointer; line-height: 1; }
body.site.ord-page .trk-rating input:checked ~ label,
body.site.ord-page .trk-rating label:hover,
body.site.ord-page .trk-rating label:hover ~ label { color: #E0A100; }
body.site.ord-page .trk-rating input:focus-visible + label { outline: 2px solid #000; outline-offset: 2px; }
body.site.ord-page .gift-amounts { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 10px; }
body.site.ord-page .gift-amounts label { display: inline-flex; }
body.site.ord-page .gift-amounts input { position: absolute; opacity: 0; width: 1px; height: 1px; }
body.site.ord-page .gift-amounts span { padding: 10px 18px; border: 2px solid var(--line); border-radius: 12px; font-weight: 700; cursor: pointer; background: #fff; }
body.site.ord-page .gift-amounts input:checked + span { border-color: #000; background: var(--pb-soft); }
body.site.ord-page .gift-amounts input:focus-visible + span { outline: 2px solid #000; outline-offset: 2px; }

@media (max-width: 920px) {
    body.site.ord-page .ord-layout { grid-template-columns: 1fr; }
    body.site.ord-page .ord-summary { position: static; }
}
@media (max-width: 600px) {
    body.site.ord-page .ord-hero { padding: 40px 16px 32px; }
    body.site.ord-page .ord-fields { grid-template-columns: 1fr; }
    body.site.ord-page .ord-panel { padding: 18px; }
}

/* Tracking page: each checked-in item, pickup times, previews (track.php) */
body.site.ord-page .trk-sub { margin: 22px 0 10px; font-size: 16px; color: var(--ink); }
body.site.ord-page .trk-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
body.site.ord-page .trk-item-head { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
body.site.ord-page .trk-item-stage { color: var(--pb-deep); font-weight: 700; white-space: nowrap; }
body.site.ord-page .trk-bar { height: 8px; margin: 6px 0 4px; border-radius: 999px; background: var(--pb-soft); overflow: hidden; }
body.site.ord-page .trk-bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--pb), var(--pb-deep)); }
body.site.ord-page .trk-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; max-height: 420px; overflow: auto; padding: 2px; }
body.site.ord-page .trk-slot-day { grid-column: 1 / -1; margin-top: 8px; font-weight: 700; color: var(--ink); }
body.site.ord-page .trk-slot { position: relative; cursor: pointer; }
body.site.ord-page .trk-slot input { position: absolute; opacity: 0; }
body.site.ord-page .trk-slot span { display: block; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-weight: 600; }
body.site.ord-page .trk-slot small { display: block; font-weight: 400; color: var(--muted); }
body.site.ord-page .trk-slot input:checked + span { border-color: #000; box-shadow: 0 0 0 2px var(--pb); }
body.site.ord-page .trk-slot input:focus-visible + span { outline: 2px solid #000; outline-offset: 2px; }
body.site.ord-page .trk-previews { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
body.site.ord-page .trk-previews figure { margin: 0; }
body.site.ord-page .trk-previews img, body.site.ord-page .trk-previews video { width: 100%; border-radius: 12px; background: #000; display: block; }
body.site.ord-page .trk-previews figcaption { font-size: 13px; color: var(--muted); margin-top: 4px; }
body.site.ord-page .gp-note { margin: 10px 0 0; padding: 10px 14px; border-radius: 12px; background: #fff7e6; color: #6b4a00; font-weight: 600; }
/* "Your originals" choice on the order form */
body.site.ord-page .ord-return { display: grid; gap: 10px; }
body.site.ord-page .ord-return label { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
body.site.ord-page .ord-return input { width: 18px; height: 18px; flex: none; margin: 2px 0 0; accent-color: #000; }
body.site.ord-page .ord-return label > span { flex: 1; font-weight: 400; }
body.site.ord-page .ord-return small { display: block; color: var(--muted); }
