/* Order page redesign 2026-11 (FableNow-style, Happy Santa colours). Loaded after order-page.css and overrides it.
   Form logic (Vue) is unchanged; this file only restyles. Brand: cream page, white cards, yellow #FFC300 actions, red accents. */

:root {
    --o-cream: #F6EFE3;
    --o-cream-2: #EFE5D3;
    --o-card: #FFFFFF;
    --o-ink: #1d1d1f;
    --o-text: #3a3a3c;
    --o-muted: #6b6457;
    --o-line: #EAE1D0;
    --o-yellow: #FFC300;
    --o-yellow-soft: #FFF4C9;
    --o-red: #C31414;
    --o-green: #1f7a3d;
    --o-shadow: 0 18px 50px rgba(60, 40, 10, .10);
}

body {
    background: var(--o-cream) !important;
    background-attachment: scroll !important;
    color: var(--o-text);
}

/* slim delivery bar */
.fomo-banner { padding: 9px 16px; font-size: 13px; box-shadow: none; background: var(--o-red); }

.main-container { max-width: 1160px; padding: 18px 16px 40px; }

/* header: white pill like FableNow */
.header {
    background: #fff; border: 0; border-radius: 999px; padding: 8px 10px 8px 22px; margin: 6px 0 22px;
    box-shadow: 0 6px 24px rgba(60, 40, 10, .08); display: flex; align-items: center; justify-content: space-between;
}
.header::after, .header::before { display: none !important; }
.logo { width: auto; }
.logo img { display: block; height: 46px; width: auto; }
.lang-select {
    background: #fff !important; color: var(--o-ink) !important; border: 1px solid var(--o-line) !important;
    border-radius: 999px !important; padding: 10px 38px 10px 16px !important; font-family: "VisbyRoundCF 600", sans-serif;
}
.lang-select option { color: var(--o-ink); background: #fff; }

/* layout: form first and wide, summary on the right (sticky) */
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; }
.right-column { order: 1; }
.left-column { order: 2; position: sticky; top: 58px; display: flex; flex-direction: column; gap: 14px; }
@media (max-width: 968px) {
    .content-grid { grid-template-columns: 1fr; }
    .left-column { position: static; }
}

/* form card */
.right-column {
    background: var(--o-card) !important; border-radius: 30px !important; box-shadow: var(--o-shadow) !important;
    border: 0 !important; padding: 30px 32px 28px !important; color: var(--o-text);
}
.right-column::before { display: none !important; }
@media (max-width: 560px) { .right-column { padding: 22px 18px 22px !important; border-radius: 24px !important; } }

/* steps */
.progress-steps { margin-bottom: 10px; }
.step-number {
    width: 38px !important; height: 38px !important; font-size: 15px !important; background: var(--o-cream) !important;
    color: var(--o-muted) !important; border: 0 !important; box-shadow: none !important;
}
.progress-step.active .step-number { background: var(--o-yellow) !important; color: #000 !important; box-shadow: 0 6px 16px rgba(255, 195, 0, .35) !important; }
.progress-step.completed .step-number { background: var(--o-green) !important; color: #fff !important; }
.step-label { color: var(--o-muted) !important; font-family: "VisbyRoundCF 600", sans-serif; letter-spacing: .6px; }
.progress-line { background: var(--o-cream-2) !important; height: 3px !important; border-radius: 3px; }
.progress-line.filled { background: var(--o-green) !important; }

.order-total-pill {
    display: flex; justify-content: center; align-items: center; gap: 8px; margin: 4px auto 18px; width: fit-content;
    padding: 7px 16px; border-radius: 999px; background: var(--o-cream); color: var(--o-ink);
    font-family: "VisbyRoundCF 600", sans-serif; font-size: 14px;
}
.order-total-pill b { font-family: "VisbyRoundCF 700", sans-serif; font-weight: normal; font-size: 16px; }

.step-title {
    display: flex; align-items: center; justify-content: center; gap: 10px; text-align: center;
    font-family: "VisbyRoundCF ExtraBold", sans-serif !important; font-size: clamp(22px, 2.4vw, 28px) !important;
    color: var(--o-ink) !important; margin: 6px 0 22px !important; line-height: 1.2;
}
.step-ico { width: 48px; height: 48px; object-fit: contain; flex: 0 0 auto; transform: rotate(-6deg); }

.form-label { color: var(--o-ink) !important; font-family: "VisbyRoundCF 600", sans-serif !important; font-size: 15px !important; margin-bottom: 8px; }

.form-input, .form-select {
    background: #fff !important; border: 2px solid var(--o-line) !important; border-radius: 16px !important;
    min-height: 56px; font-size: 17px !important; color: var(--o-ink) !important; padding: 14px 18px !important;
    font-family: "VisbyRoundCF Regular", sans-serif !important; box-shadow: none !important;
}
.form-input:focus, .form-select:focus { border-color: var(--o-yellow) !important; box-shadow: 0 0 0 4px rgba(255, 195, 0, .22) !important; outline: none; }
.form-input::placeholder { color: #a39a88; }

.child-btn, .gender-btn {
    background: #fff !important; border: 2px solid var(--o-line) !important; border-radius: 18px !important;
    color: var(--o-ink) !important; font-family: "VisbyRoundCF 700", sans-serif !important; font-size: 18px !important;
    min-height: 56px; box-shadow: none !important; transition: border-color .15s ease, background .15s ease, transform .15s ease;
}
.child-btn:hover, .gender-btn:hover { border-color: #d9cdb5 !important; transform: translateY(-1px); }
.child-btn.active, .gender-btn.active { background: var(--o-yellow-soft) !important; border-color: var(--o-yellow) !important; color: #000 !important; }
.children-selector { gap: 10px !important; }

/* photos */
.photo-tip {
    background: var(--o-cream) !important; border: 0 !important; border-left: 4px solid var(--o-yellow) !important;
    border-radius: 14px !important; color: var(--o-text) !important; font-size: 15px !important; padding: 12px 16px !important;
}
.photo-upload-box {
    background: #fff !important; border: 2px dashed #dccfb6 !important; border-radius: 22px !important;
    transition: border-color .15s ease, background .15s ease;
}
.photo-upload-box:hover { border-color: var(--o-yellow) !important; background: #fffdf5 !important; }
.photo-upload-box.has-photo { border-style: solid !important; border-color: var(--o-green) !important; }
img.upload-icon { width: 72px; height: 72px; object-fit: contain; display: block; margin: 0 auto 6px; }
.upload-text { color: var(--o-ink) !important; font-family: "VisbyRoundCF 700", sans-serif !important; }
.upload-hint { color: var(--o-muted) !important; }

/* pay step */
.sms-consent, .terms-text { color: var(--o-muted) !important; }
.terms-text a { color: #8a3700 !important; }
.promo-btn { background: var(--o-ink) !important; color: #fff !important; border-radius: 16px !important; border: 0 !important; }
.fast-delivery { background: #fff !important; border: 2px solid var(--o-line) !important; border-radius: 20px !important; }
.fast-delivery.active { background: var(--o-yellow-soft) !important; border-color: var(--o-yellow) !important; }
img.fd-icon { width: 36px; height: 36px; object-fit: contain; vertical-align: middle; }
.fd-check { border-color: #cfc3a9 !important; }
.fd-check.checked { background: var(--o-green) !important; border-color: var(--o-green) !important; }
.payment-methods img { opacity: .9; }

/* buttons */
.btn-next, .btn-pay {
    background: var(--o-yellow) !important; color: #000 !important; border-radius: 999px !important; border: 0 !important;
    font-family: "VisbyRoundCF 700", sans-serif !important; font-size: 18px !important; letter-spacing: 0 !important;
    text-transform: none !important; min-height: 60px; box-shadow: 0 10px 26px rgba(255, 195, 0, .35) !important;
}
.btn-next:hover:not(:disabled), .btn-pay:hover:not(:disabled) { background: #FFD43B !important; transform: translateY(-1px); }
.btn-next:disabled, .btn-pay:disabled { background: var(--o-cream-2) !important; color: #8f8573 !important; box-shadow: none !important; cursor: not-allowed; }
.btn-back-separate { background: transparent !important; border: 0 !important; color: var(--o-muted) !important; text-decoration: underline; text-underline-offset: 3px; }
.next-hint { margin: 10px 0 0; text-align: center; font-size: 14px; color: var(--o-muted); }

.price-summary { background: var(--o-cream) !important; border: 0 !important; border-radius: 18px !important; color: var(--o-ink) !important; }
.price-summary .total-price { color: var(--o-ink) !important; }

/* summary column */
.video-preview { border-radius: 26px !important; overflow: hidden; border: 6px solid #fff; box-shadow: var(--o-shadow) !important; transform: rotate(-1.2deg); }
.video-overlay { background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.55) 100%) !important; }
.play-btn { background: var(--o-yellow) !important; box-shadow: 0 10px 26px rgba(0,0,0,.3) !important; }
.play-btn svg { fill: #000; }
.watch-demo { color: #fff !important; font-family: "VisbyRoundCF 700", sans-serif !important; }

.order-get { background: #fff; border-radius: 26px; box-shadow: var(--o-shadow); padding: 20px 20px 16px; }
.order-get__title { font-family: "VisbyRoundCF ExtraBold", sans-serif; font-size: 19px; color: var(--o-ink); margin: 0 0 12px; }
.order-get__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.order-get__list li { display: flex; align-items: center; gap: 12px; }
.order-get__list img { width: 42px; height: 42px; object-fit: contain; flex: 0 0 42px; background: var(--o-cream); border-radius: 12px; padding: 4px; }
.order-get__list b { display: block; font-family: "VisbyRoundCF 700", sans-serif; font-weight: normal; color: var(--o-ink); font-size: 15px; line-height: 1.2; }
.order-get__list span { display: block; font-size: 13px; color: var(--o-muted); line-height: 1.3; }
.order-get__pay { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--o-line); font-size: 13px; color: var(--o-muted); display: flex; align-items: center; gap: 8px; }

.stats-row {
    background: #fff !important; border: 0 !important; border-radius: 22px !important; box-shadow: var(--o-shadow);
    backdrop-filter: none !important; padding: 14px !important; margin: 0 !important; gap: 8px; color: var(--o-text);
}
.stat-number { color: var(--o-ink) !important; text-shadow: none !important; font-size: 20px !important; }
.stat-label { color: var(--o-muted) !important; opacity: 1 !important; font-size: 11px !important; }

.guarantee-badge { background: #fff !important; border: 0 !important; border-radius: 22px !important; box-shadow: var(--o-shadow); backdrop-filter: none !important; }
.guarantee-text strong { color: var(--o-green) !important; }
.guarantee-text span { color: var(--o-muted) !important; opacity: 1 !important; }

.footer { color: var(--o-muted) !important; }
.footer a { color: var(--o-ink) !important; }

@media (max-width: 968px) {
    .video-preview { transform: none; }
    .stats-row { flex-direction: row !important; }
}
@media (max-width: 420px) {
    .stats-row { flex-wrap: wrap; justify-content: center; }
    .logo img { height: 38px; }
}

/* polish */
.logo img { height: 56px; }
.lang-select {
    appearance: none; -webkit-appearance: none;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%231d1d1f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 16px center !important;
}
.video-preview { margin-bottom: 0 !important; }
.stats-row { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
.stat { min-width: 0; padding: 0 4px; }
.stat-number { white-space: nowrap; font-size: 18px !important; }
.stat-label { font-size: 10px !important; letter-spacing: .3px !important; line-height: 1.35; display: block; margin-top: 4px; }
.price-summary { display: block; padding: 14px 18px !important; margin-top: 14px; }
.price-summary .price-row { display: flex; justify-content: space-between; align-items: center; border: 0 !important; padding: 2px 0 !important; margin: 0 !important; }
.price-summary .price-row.total { font-family: "VisbyRoundCF 700", sans-serif; font-size: 18px; }
.price-summary::before, .price-summary::after { display: none !important; }
@media (max-width: 420px) { .logo img { height: 46px; } .stat-number { font-size: 16px !important; } }
/* crop dialog (Bootstrap modal) in the same style */
#modal-crop-image .modal-content { border-radius: 24px; overflow: hidden; border: 0; }
#modal-crop-image .modal-header, #modal-crop-image .modal-footer { background: var(--o-cream); }
#modal-crop-image .btn-primary { background: var(--o-yellow) !important; color: #000 !important; border: 0 !important; font-family: "VisbyRoundCF 700", sans-serif; }
#modal-crop-image .btn-outline-secondary { border-color: #cfc3a9 !important; color: var(--o-ink) !important; }

/* promo code accepted: which code is on, what it takes off, a way to remove it (2026-11-16) */
/* compact coupon line: small, dashed like a voucher, with air above and below (2026-11-16) */
.promo-applied { display: flex; align-items: center; gap: 8px; margin: 6px 0 14px; padding: 9px 12px 9px 10px; border-radius: 12px; background: #f3faf4; border: 1px dashed #8fca9a; color: #1d5a2b; font-size: 14px; line-height: 1.3; font-weight: 500; }
.promo-applied__tick { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 18px; height: 18px; border-radius: 50%; background: #2e8b47; color: #fff; font-size: 11px; line-height: 1; }
.promo-applied__text { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.promo-applied__sum { flex: none; white-space: nowrap; padding: 2px 8px; border-radius: 999px; background: #2e8b47; color: #fff; font-size: 13px; font-weight: 700; }
.promo-applied__remove { flex: none; background: none; border: 0; padding: 4px 0 4px 2px; color: #6b7f70; font-size: 13px; font-weight: 500; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.promo-error { margin-top: 8px; color: #b3261e; font-size: 14px; }

/* fifth child: a paid extra, the price is shown on the button (2026-11-16) */
.child-btn--paid { position: relative; }
.child-btn__plus { display: block; margin-top: 2px; font-size: 11px; font-weight: 600; line-height: 1; color: #2e8b47; white-space: nowrap; }

/* boy / girl: an icon and its own colour once chosen (2026-11-16) */
.gender-btn { display: inline-flex !important; align-items: center; justify-content: center; gap: 8px; }
.gender-ico { flex: none; display: block; }
.gender-btn--boy.active { background: #e3f1ff !important; border-color: #5aa9f0 !important; color: #0b4f8f !important; }
.gender-btn--girl.active { background: #ffe6ef !important; border-color: #f47aa5 !important; color: #a3134b !important; }
.gender-btn--boy:hover { border-color: #a9d2f7 !important; }
.gender-btn--girl:hover { border-color: #f9b4cb !important; }

/* a tap on Next / Pay with something missing: the button looks muted but works, the missing fields turn red */
.btn-next.is-off, .btn-pay.is-off, .btn-next.is-off:hover:not(:disabled), .btn-pay.is-off:hover:not(:disabled) { background: var(--o-cream-2) !important; color: #8f8573 !important; box-shadow: none !important; transform: none; }
.form-input.is-missing { border-color: #e2483d !important; background: #fff6f5 !important; }
.gender-selector.is-missing .gender-btn { border-color: #e2483d !important; background: #fff6f5 !important; }
.photo-upload-box.is-missing { border-color: #e2483d !important; background: #fff6f5 !important; }
.next-hint.is-alert { color: #c5281c; font-weight: 600; }
.is-shake { animation: o-shake .36s ease; }
@keyframes o-shake { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-6px); } 40% { transform: translateX(6px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(4px); } }
@media (prefers-reduced-motion: reduce) { .is-shake { animation: none; } }

/* hint under a child's name: several children in one field, a full name, brackets (2026-11-16) */
.name-hint { margin: 8px 0 0; padding: 10px 12px; border-radius: 12px; background: #fff7dd; border: 1px solid #f3dd96; color: #5c4a12; font-size: 13.5px; line-height: 1.4; }
.name-hint span { display: block; }
.name-hint__btn { margin-top: 8px; padding: 7px 12px; border: 0; border-radius: 999px; background: #1f1a12; color: #fff; font-size: 13px; font-weight: 600; cursor: pointer; }

/* the gift: with several children the buyer first chooses the kind, nothing is preselected (2026-11-16) */
.v2-gift__ask { margin: 0 0 8px !important; font-weight: 600; color: #3b3324 !important; }
.v2-seg.is-missing button { border-color: #e2483d !important; background: #fff6f5 !important; }

/* payment step: the names shown back before paying (2026-11-16) */
.say-names { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; padding: 12px 14px; border-radius: 16px; background: #fff7dd; border: 1px solid #f3dd96; }
.say-names__text { flex: 1 1 auto; min-width: 0; }
.say-names__label { display: block; font-size: 13px; color: #6b5a22; }
.say-names__list { display: block; margin: 2px 0; font-size: 20px; line-height: 1.25; color: #1f1a12; overflow-wrap: anywhere; }
.say-names__list b { font-family: "VisbyRoundCF 700", sans-serif; font-weight: normal; margin-right: 6px; }
.say-names small { display: block; font-size: 12px; color: #8a7a45; }
.say-names__btn { flex: none; padding: 8px 14px; border: 1.5px solid #1f1a12; border-radius: 999px; background: transparent; color: #1f1a12; font-size: 13px; font-weight: 600; cursor: pointer; }

/* the page heading above the steps (2026-11-16: the form is open for indexing) */
.order-h1 { margin: 0 0 14px; font-family: "VisbyRoundCF 700", sans-serif; font-weight: normal; font-size: clamp(18px, 2.2vw, 22px); line-height: 1.25; color: #1f1a12; text-align: center; }
