/* Order form v2 (product/page_9): boy/girl per child, a photo per child, photos of loved ones, gifts.
   Builds on order-page.css + order-2026.css and uses their colour variables. */

.v2-gender { margin-top: 10px; }
.v2-gender .gender-btn { padding-top: 10px !important; padding-bottom: 10px !important; }

.photo-upload-box { position: relative; }
.v2-box-name {
    position: absolute; left: 8px; bottom: 8px; max-width: calc(100% - 56px);
    padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .92);
    font-family: "VisbyRoundCF 700", sans-serif; font-size: 13px; color: #1a1a1a;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* "add" button and the gift header share one look with the fast-delivery card */
.v2-add, .v2-gift {
    width: 100%; margin-top: 16px; background: #fff; border: 2px solid var(--o-line, #ebe4d6); border-radius: 20px;
    text-align: left; color: inherit; font: inherit;
}
.v2-add { display: flex; align-items: center; gap: 12px; padding: 14px 16px; cursor: pointer; transition: border-color .2s, background .2s; }
.v2-add:hover { border-color: var(--o-yellow, #ffcf3f); background: #fffdf5; }
.v2-add__plus {
    flex: 0 0 34px; height: 34px; border-radius: 50%; background: var(--o-yellow-soft, #fff4cf);
    display: flex; align-items: center; justify-content: center; font-size: 22px; line-height: 1; color: #1a1a1a;
}
.v2-add__text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.v2-add__text b { font-family: "VisbyRoundCF 700", sans-serif; font-weight: normal; font-size: 15px; line-height: 1.25; color: #1a1a1a; }
.v2-add__text span { font-size: 12.5px; line-height: 1.4; color: #6b6457; }
.v2-add__price { flex: 0 0 auto; font-family: "VisbyRoundCF 700", sans-serif; font-size: 15px; color: #1a1a1a; white-space: nowrap; }

.v2-gift.active { border-color: var(--o-yellow, #ffcf3f); background: var(--o-yellow-soft, #fff4cf); }
.v2-gift__head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; cursor: pointer; }
.v2-gift__head .fd-check { flex: 0 0 auto; }
.v2-gift__body { padding: 0 16px 16px; }

/* the live call with Santa next to fast delivery */
.call-card { position: relative; margin-top: 16px; }
/* the icon and the title stay on one line (the title wraps beside the icon); the price goes under them, to the right */
.call-card .fd-header { flex-wrap: wrap; align-items: center; }
.call-card .fd-header strong { flex: 1 1 0; min-width: 0; line-height: 1.25; }
.call-card .fd-price { flex: 0 0 100%; margin-left: 0; text-align: right; }
/* "New" is a sticker on the card's edge, so it never pushes the title to a second line */
.call-new { position: absolute; top: -11px; right: 18px; padding: 3px 10px; border-radius: 999px; background: #e2483d; color: #fff; font-size: 11px; line-height: 1.4; letter-spacing: .3px; font-weight: normal; }
/* the switch for several children takes the whole width of the card, under the checkbox too */
.call-seg { margin: 12px 0 0 -44px; }
.call-seg button { justify-content: space-between; }
.v2-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.v2-seg button {
    display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 8px;
    background: #fff; border: 2px solid var(--o-line, #ebe4d6); border-radius: 14px;
    font: inherit; font-size: 13px; line-height: 1.25; color: #1a1a1a; cursor: pointer; text-align: center;
}
.v2-seg button b { font-family: "VisbyRoundCF 700", sans-serif; font-weight: normal; }
.v2-seg button.active { border-color: #1a1a1a; }

/* a card for one photo of loved ones */
.v2-card {
    position: relative; margin-top: 16px; padding: 14px; background: #fff;
    border: 2px solid var(--o-line, #ebe4d6); border-radius: 20px;
}
.v2-card--warn { border-style: dashed; }
.v2-card__row { display: flex; gap: 12px; align-items: flex-start; }
.v2-card__body { flex: 1 1 auto; min-width: 0; }
.v2-card__body .form-label, .v2-note-label { font-size: 13px; margin-bottom: 6px; }
.v2-note-label { display: block; margin-top: 12px; }
/* "Remove" on an added photo card: a visible button with a word, not a faint cross (buyers could not find how to undo) */
.v2-x {
    position: static; display: flex; align-items: center; gap: 6px; width: max-content; margin: 0 0 10px auto;      /* its own row above the photo: never over the upload box */
    padding: 6px 12px; border: 1px solid #e2483d; border-radius: 999px; background: #fff; color: #c0392b;
    font: inherit; font-size: 13px; line-height: 1.2; cursor: pointer;
}
.v2-x span { font-size: 16px; line-height: 1; }
.v2-x:hover { background: #fdecea; }

.v2-thumb { flex: 0 0 96px; width: 96px; aspect-ratio: 1 / 1.2 !important; border-radius: 14px !important; }
.v2-thumb--wide { flex-basis: 112px; width: 112px; aspect-ratio: 4 / 3 !important; }
.v2-thumb .upload-icon { margin: 0 auto 4px; width: 40px; height: 40px; }
.v2-thumb .upload-hint { font-size: 11px; line-height: 1.2; padding: 0 4px; margin: 0; }

.v2-chips { display: flex; flex-wrap: wrap; gap: 6px; padding-right: 26px; }
.v2-chip {
    padding: 6px 11px; background: #fff; border: 1.5px solid var(--o-line, #ebe4d6); border-radius: 999px;
    font: inherit; font-size: 13px; line-height: 1.2; color: #1a1a1a; cursor: pointer;
}
.v2-chip.active { background: var(--o-yellow-soft, #fff4cf); border-color: var(--o-yellow, #ffcf3f); }

.v2-giftrow + .v2-giftrow { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(0, 0, 0, .08); }
.v2-kid { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-family: "VisbyRoundCF 700", sans-serif; font-size: 14px; color: #1a1a1a; }
.v2-kid img { width: 30px; height: 36px; object-fit: cover; border-radius: 8px; }
.v2-clear { margin-top: 6px; padding: 0; border: 0; background: none; font: inherit; font-size: 12.5px; color: #8a8273; text-decoration: underline; cursor: pointer; }
.v2-small { margin: 10px 0 0; font-size: 12.5px; color: #6b6457; }

.v2-email-fix { margin: 8px 0 0; font-size: 13px; color: #6b6457; }
.v2-email-fix a { color: #6b6457; text-decoration: underline; }
.v2-email-fix b { color: #1a1a1a; font-family: "VisbyRoundCF 700", sans-serif; font-weight: normal; overflow-wrap: anywhere; }

.price-summary .price-row span:first-child { min-width: 0; padding-right: 12px; }

@media (max-width: 380px) {
    .v2-thumb { flex-basis: 84px; width: 84px; }
    .v2-thumb--wide { flex-basis: 96px; width: 96px; }
    .v2-add__text span { display: none; }
}

/* 2026-11-13: a relatives' card without a photo shows one big upload box, so the photo cannot be overlooked */
.v2-card--warn .v2-card__row { flex-direction: column; }
.v2-card--warn .v2-thumb { flex: 0 0 auto; width: 100%; aspect-ratio: auto !important; min-height: 150px; border-width: 2px !important; }
.v2-card--warn .v2-thumb .upload-icon { width: 64px; height: 64px; margin-bottom: 8px; }
.v2-card--warn .v2-thumb .upload-hint { font-size: 15px; font-weight: 600; }
.v2-card--warn .v2-card__body { width: 100%; }

/* 2026-11-13: what Santa says at a child's photo (ready phrases + own phrase) */
.v2-phrase { margin-top: 12px; padding: 12px; border-radius: 16px; background: #fff; border: 1.5px solid #ece4d2; }
.v2-phrase__head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-family: "VisbyRoundCF 700", sans-serif; font-size: 14px; color: #1a1a1a; }
.v2-phrase__head img { width: 34px; height: 41px; object-fit: cover; border-radius: 8px; flex: 0 0 auto; }
.v2-phrase__head small { display: block; font-family: "VisbyRoundCF 500", sans-serif; font-size: 12px; color: #6b6457; }
.v2-phrase__select { width: 100%; text-overflow: ellipsis; padding-right: 34px; }
.v2-phrase__own { margin-top: 8px; }
.v2-phrase__quote { margin: 8px 2px 0; font-size: 14px; line-height: 1.4; color: #3d372c; font-style: italic; }

/* 2026-11-20: the photo step: what happens to the photo, and a video without photos */
.v2-privacy { margin: 12px 0 0; font-size: 12.5px; line-height: 1.4; color: #6b6457; text-align: center; }
.v2-privacy img { display: inline; width: 16px; height: 16px; margin-right: 5px; vertical-align: -3px; }
.v2-nophoto-link { display: block; margin: 10px auto 0; padding: 6px 10px; border: 0; background: none; font: inherit; font-size: 13.5px; color: #6b6457; text-decoration: underline; cursor: pointer; }
.v2-nophoto-link:hover { color: #1a1a1a; }
.v2-nophoto { margin-top: 4px; padding: 16px; border: 1.5px solid rgba(0, 0, 0, .1); border-radius: 16px; background: #fffdf5; }
.v2-nophoto__title { font-family: "VisbyRoundCF 700", sans-serif; font-size: 16px; color: #1a1a1a; }
.v2-nophoto p { margin: 8px 0 0; font-size: 14px; line-height: 1.45; color: #3d372c; }
.v2-nophoto p.v2-nophoto__better { color: #6b6457; }
.v2-nophoto__back { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 14px; padding: 11px 14px; border: 1.5px dashed rgba(0, 0, 0, .22); border-radius: 12px; background: #fff; font: inherit; font-family: "VisbyRoundCF 700", sans-serif; font-size: 14px; color: #1a1a1a; cursor: pointer; }
.v2-nophoto__back:hover { border-color: var(--o-yellow, #ffcf3f); background: #fffdf5; }

/* "incl. VAT" under the total for UK and EU buyers: their price already contains VAT (App\Support\Prices, 2026-11-23) */
.price-summary .vat-note { display: block; margin-top: 2px; font-size: 12px; font-weight: 500; color: #7a7266; text-align: right; }
