/*
 * Web FTUE — marketplace-first sign-up (Figma "FTUE-Web").
 * Values come from the LUFA design system as used in the Figma file; the color
 * tints ("Main 10% / 15% / 20% / 50%") are the design's overlays flattened to hex.
 */
@import url('https://fonts.googleapis.com/css2?family=Schibsted+Grotesk:wght@400;600&display=swap');

:root {
    --ftue-main: #719500;
    --ftue-main-10: #f1f4e5;
    --ftue-main-15: #e3edd9;
    --ftue-main-20: #e3eacc;
    --ftue-main-50: #b8ca80;
    --ftue-black: #292929;
    --ftue-grey: #6b6b6b;
    --ftue-muted: #a2a2a2;
    --ftue-subtitle: #909090;
    --ftue-light-grey: #dadada;
    --ftue-very-light-grey: #f5f5f5;
    --ftue-emphasis: #414042;
    --ftue-input-border: #e2e8f0;
    --ftue-input-border-2: #d4dade;
    --ftue-page: #f3f1ed;
    --ftue-warn-bg: #fff4e6;
    --ftue-error: #c62828;
    --ftue-schibsted: 'Schibsted Grotesk', 'gibsonregular', sans-serif;
}

/* ---------- Shared ---------------------------------------------------- */
.ftue-hidden { display: none !important; }
.ftue-overlay {
    position: fixed;
    inset: 0;
    z-index: 100000;
    background: rgba(41, 41, 41, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    overflow-y: auto;
}
/* Alerts opened from inside a sign-up window (the card form's "card refused" SweetAlert)
   must sit above it, not behind it. */
body.ftue-modal-open .swal-overlay {
    z-index: 100001;
}
.ftue-modal {
    position: relative;
    box-sizing: border-box;
    background: #fff;
    border-radius: 24px;
    padding: 40px;
    width: 775px;
    max-width: 100%;
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
    color: var(--ftue-black);
    text-align: left;
}
.ftue-close {
    position: absolute;
    top: 22px;
    right: 23px;
    width: 36px;
    height: 36px;
    border-radius: 24px;
    background: var(--ftue-very-light-grey);
    border: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.ftue-close img { width: 18.17px; height: 18.17px; }

.ftue-h1 { font-family: 'gibsonregular', sans-serif; font-size: 42px; line-height: 50px; margin: 0; font-weight: 400; }
.ftue-h4 { font-family: 'gibsonregular', sans-serif; font-size: 22px; line-height: 30px; margin: 0; font-weight: 400; color: #2c2c2c; }
.ftue-text { font-family: 'gibsonlight', sans-serif; font-size: 17px; line-height: 24px; margin: 0; }
.ftue-small { font-family: 'gibsonlight', sans-serif; font-size: 15px; line-height: 21px; margin: 0; }
.ftue-tiny { font-family: 'gibsonlight', sans-serif; font-size: 13px; line-height: 18px; margin: 0; color: var(--ftue-emphasis); }
.ftue-large16 { font-family: var(--ftue-schibsted); font-size: 16px; line-height: 24px; letter-spacing: 0.5px; margin: 0; }
.ftue-normal14 { font-family: var(--ftue-schibsted); font-size: 14px; line-height: 1.6; letter-spacing: 0.5px; margin: 0; }
.ftue-title { font-family: 'gibsonmedium', 'gibsonregular', sans-serif; font-size: 17px; line-height: 24px; margin: 0; }
.ftue-link {
    font-family: 'gibsonmedium', 'gibsonregular', sans-serif;
    color: var(--ftue-main) !important;
    text-decoration: underline;
    cursor: pointer;
}
.ftue-error { color: var(--ftue-error); font-family: 'gibsonlight', sans-serif; font-size: 15px; line-height: 21px; margin: 0; }

.ftue-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 55px;
    min-width: 80px;
    padding: 0 30px;
    border-radius: 4px;
    border: 2px solid var(--ftue-main);
    background: var(--ftue-main);
    color: #fff;
    font-family: 'gibsonmedium', 'gibsonregular', sans-serif;
    font-size: 17px;
    line-height: 24px;
    cursor: pointer;
    text-decoration: none;
    box-sizing: border-box;
    white-space: nowrap;
}
.ftue-btn img { width: 20px; height: 20px; }
.ftue-btn--outline { background: #fff; color: var(--ftue-main); }
.ftue-btn[disabled], .ftue-btn.is-loading { opacity: 0.6; cursor: default; }

/* ---------- Header: basket + price for guests ------------------------- */
.ftue-header-basket { white-space: nowrap; vertical-align: middle; }
.ftue-header-basket > a { display: inline-block; vertical-align: middle; }
.ftue-header-basket > a + a { margin-left: 34px; }
#header-mobile .ftue-header-basket > a + a { margin-left: 26px; }
.ftue-header-basket > a.ftue-header-price { display: inline-flex; }
.ftue-header-basket .header-icon { position: relative; cursor: pointer; display: inline-block; }
/* The header menu styles every `li a` as a 50px-tall text link with a hover underline
   (border + padding). The basket and price are not text links: neutralize that so the
   hover doesn't add an underline or push the price button. */
.v2-header-menu ul li.ftue-header-basket,
#menu-top-bar ul li.ftue-header-basket {
    display: flex !important;
    align-items: center;
    height: 50px;
}
.v2-header-menu ul li.ftue-header-basket a,
.v2-header-menu ul li.ftue-header-basket a:hover,
.v2-header-menu ul li.ftue-header-basket a.active,
#menu-top-bar ul li.ftue-header-basket a,
#menu-top-bar ul li.ftue-header-basket a:hover {
    line-height: normal;
    border-bottom: 0 !important;
    padding-bottom: 0 !important;
}
.v2-header-menu ul li.ftue-header-basket a:not(.ftue-header-price):hover { opacity: 0.8; color: inherit; }
.v2-header-menu ul li.ftue-header-basket a.ftue-header-price:hover { opacity: 0.9; color: #fff !important; }
.ftue-header-basket .header-icon .img-container img { display: block; }
.ftue-header-basket .ftue-basket-count {
    position: absolute;
    top: -8px;
    right: -14px;
    min-width: 23px;
    height: 23px;
    border-radius: 100px;
    background: var(--ftue-main);
    color: #fff;
    font-family: 'gibsonregular', sans-serif;
    font-size: 13px;
    line-height: 23px;
    text-align: center;
    padding: 0 4px;
    box-sizing: border-box;
}
.ftue-header-price {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    min-width: 94px;
    padding: 0 20px;
    border-radius: 4px;
    background: var(--ftue-main);
    color: #fff !important;
    font-family: 'gibsonmedium', 'gibsonregular', sans-serif;
    font-size: 17px;
    line-height: 24px;
    text-decoration: none !important;
    box-sizing: border-box;
    cursor: pointer;
}
#header-mobile .ftue-header-price { height: 34px; min-width: 76px; padding: 0 12px; font-size: 15px; }

/* ---------- Location modal ------------------------------------------- */
.ftue-map-art { width: 400px; max-width: 100%; height: 138px; overflow: hidden; position: relative; align-self: center; }
.ftue-map-art img { position: absolute; left: -2px; top: -50px; width: 407.29px; height: 421.18px; }
.ftue-map-art::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, #fff 0%, rgba(255, 255, 255, 0) 48.19%, #fff 96.38%);
}
.ftue-heading { display: flex; flex-direction: column; gap: 12px; max-width: 681px; }
.ftue-location-row { display: flex; gap: 13px; align-items: center; flex-wrap: wrap; }
.ftue-location-field { display: flex; flex-direction: column; gap: 8px; width: 505px; max-width: 100%; position: relative; }
.ftue-input-pill {
    display: flex;
    align-items: center;
    gap: 13px;
    border: 1px solid var(--ftue-main);
    border-radius: 12px;
    padding: 16px 24px;
    background: #fff;
    box-sizing: border-box;
    width: 100%;
}
.ftue-input-pill img { width: 11.67px; height: 15.42px; flex: none; }
.ftue-input-pill input {
    border: 0 !important;
    outline: none;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    height: 24px !important;
    width: 100%;
    background: transparent;
    font-family: 'gibsonlight', sans-serif;
    font-size: 17px;
    line-height: 24px;
    color: var(--ftue-black);
}
.ftue-input-pill input::placeholder { color: #929292; font-family: 'gibsonlight_italic', 'gibsonlight', sans-serif; }
.ftue-input-pill.has-error { border-color: var(--ftue-error); }
.ftue-locate {
    display: flex;
    align-items: center;
    gap: 13px;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    color: var(--ftue-main);
    font-family: var(--ftue-schibsted);
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0.5px;
}
.ftue-locate img { width: 24px; height: 24px; }
.ftue-continue {
    width: 176px;
    height: 56px;
    border-radius: 12px;
    border: 0;
    padding: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'gibsonsemibold', sans-serif;
    font-size: 16px;
    line-height: 1.3;
    letter-spacing: 0.5px;
    background: var(--ftue-main);
    color: #fff;
    cursor: pointer;
}
.ftue-continue img { width: 11.66px; height: 10px; filter: brightness(0) invert(1); }
.ftue-continue[disabled] { background: var(--ftue-light-grey); color: var(--ftue-grey); cursor: default; }
.ftue-continue[disabled] img { filter: none; }
.ftue-suggestions {
    position: absolute;
    top: 92px;
    left: 0;
    right: 0;
    z-index: 5;
    background: #fff;
    border: 1px solid var(--ftue-light-grey);
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    list-style: none;
    margin: 0;
    padding: 6px 0;
}
.ftue-suggestions li {
    padding: 10px 24px;
    font-family: 'gibsonlight', sans-serif;
    font-size: 16px;
    line-height: 22px;
    cursor: pointer;
}
.ftue-suggestions li:hover, .ftue-suggestions li.is-active { background: var(--ftue-very-light-grey); }
.ftue-already { display: flex; gap: 6px; align-items: center; font-size: 17px; line-height: 24px; }
.ftue-already span:first-child { font-family: 'gibsonlight', sans-serif; }

/* ---------- Auto-fill modal ------------------------------------------ */
.ftue-autofill-head { display: flex; gap: 24px; align-items: center; max-width: 639px; }
.ftue-autofill-icon { width: 62px; height: 62px; flex: none; position: relative; }
.ftue-autofill-icon img { position: absolute; inset: -3.23%; width: 106.46%; height: 106.46%; }
.ftue-autofill-icon .ftue-autofill-check { inset: auto; left: 50%; top: 50%; width: 28.6px; height: 18.3px; transform: translate(-50%, -45%); }
.ftue-progress { display: flex; flex-direction: column; gap: 8px; align-items: center; }
.ftue-progress-bar { width: 100%; height: 6px; border-radius: 6px; background: var(--ftue-light-grey); overflow: hidden; }
.ftue-progress-bar span { display: block; height: 100%; background: var(--ftue-main); border-radius: 6px; transition: width 0.3s ease; }
.ftue-progress p { color: var(--ftue-grey); text-align: center; }
.ftue-autofill-list { display: flex; flex-direction: column; min-height: 185px; max-height: 372px; overflow-y: auto; margin-bottom: 0; }
.ftue-autofill-modal.is-review { padding-bottom: 125px; }
.ftue-item {
    display: grid;
    grid-template-columns: 60px 1fr auto auto;
    gap: 12px 20px;
    align-items: center;
    padding: 12px 10px;
    border-bottom: 1px solid #ececec;
}
.ftue-item:last-child { border-bottom: 0; }
.ftue-item-img { width: 60px; height: 60px; border-radius: 6px; object-fit: cover; background: var(--ftue-very-light-grey); }
.ftue-item-supplier { font-family: 'gibsonlight', sans-serif; font-size: 11px; line-height: 14px; color: var(--ftue-emphasis); margin: 0 0 2px; }
.ftue-item-name { font-family: 'gibsonregular', sans-serif; font-size: 15px; line-height: 19px; color: var(--ftue-emphasis); margin: 0; }
.ftue-item-price { text-align: right; font-family: 'gibsonregular', sans-serif; font-size: 15px; line-height: 21px; color: var(--ftue-emphasis); white-space: nowrap; }
.ftue-item-price .is-special { color: #e8392b; }
.ftue-item-price s { display: block; color: var(--ftue-emphasis); font-size: 13px; }
.ftue-qty { display: flex; align-items: center; gap: 4px; }
.ftue-qty button {
    width: 33px;
    height: 32px;
    border: 0;
    border-radius: 4px;
    background: #7b952a;
    color: #fff;
    font-size: 18px;
    line-height: 32px;
    cursor: pointer;
    padding: 0;
}
.ftue-qty input {
    width: 35px;
    height: 32px;
    border: 1px solid #e6e6e6 !important;
    border-radius: 4px;
    text-align: center;
    font-family: 'gibsonregular', sans-serif;
    font-size: 15px;
    margin: 0 !important;
    padding: 0 !important;
}
.ftue-modal-footer {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 85px;
    background: #fff;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 -4px 5px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 14px;
    padding: 12px 17px 8px;
    box-sizing: border-box;
}
/* Long labels (French "Ajouter à la commande (4)") wrap inside the button instead of
   spilling past its edges on narrow screens. */
.ftue-modal-footer .ftue-btn {
    min-width: 0;
    flex: 0 1 auto;
    height: auto;
    min-height: 55px;
    padding: 8px 20px;
    white-space: normal;
    text-align: center;
}
.ftue-skeleton-row { height: 84px; border-bottom: 1px solid #ececec; background: linear-gradient(90deg, #f7f7f7 25%, #efefef 37%, #f7f7f7 63%); background-size: 400% 100%; animation: ftue-shimmer 1.4s ease infinite; }
@keyframes ftue-shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

/* ---------- Create-account modal ------------------------------------- */
.ftue-account-modal { width: 541px; padding: 43px 111px 40px; align-items: center; gap: 0; text-align: center; }
/* On a short screen the popup scrolls; its parts keep their size instead of being squeezed
   into each other (the button over the newsletter line once the "already an account" box shows). */
.ftue-account-modal > * { flex-shrink: 0; }
.ftue-account-logo { width: 132px; height: 132px; margin-bottom: 18px; }
.ftue-account-modal .ftue-h4 { color: #000; width: 278px; margin-bottom: 24px; }
.ftue-account-field { position: relative; width: 321px; max-width: 100%; margin-bottom: 11px; }
.ftue-account-field input {
    width: 100% !important;
    height: 40px !important;
    border: 1px solid var(--ftue-input-border) !important;
    border-radius: 4px !important;
    background: #f9fafb !important;
    padding: 0 44px 0 11px !important;
    margin: 0 !important;
    box-sizing: border-box;
    font-family: 'gibsonregular', sans-serif;
    font-size: 17px;
    color: var(--ftue-black);
}
.ftue-account-field input::placeholder { color: #a3a8ae; }
.ftue-account-field.has-error input { border-color: var(--ftue-error) !important; }
.ftue-eye { position: absolute; right: 8px; top: 8px; width: 28px; height: 24px; border: 0; background: none; cursor: pointer; padding: 0; }
.ftue-account-modal .ftue-btn { width: 321px; max-width: 100%; margin-top: 2px; }
.ftue-account-terms { width: 350px; max-width: 100%; color: var(--ftue-grey); margin: 34px 0 40px; }
.ftue-account-terms a { color: var(--ftue-grey) !important; text-decoration: underline; }
.ftue-account-already { font-family: 'gibsonregular', sans-serif; font-size: 15px; line-height: 1.3; letter-spacing: 0.5px; }
.ftue-account-already a { font-family: 'gibsonsemibold', sans-serif; color: var(--ftue-main) !important; text-decoration: underline; margin-left: 6px; }
/* Account modal: the email already has an account (grey box, Log In on the right). */
.ftue-account-exists { width: 321px; max-width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 2px 0 12px; padding: 12px 14px; background: #f3f3f3; border-radius: 4px; text-align: left; font-family: 'gibsonregular', sans-serif; font-size: 15px; line-height: 1.3; color: #000; }
.ftue-account-exists a { flex-shrink: 0; font-family: 'gibsonsemibold', sans-serif; color: var(--ftue-main) !important; text-decoration: underline; }
.ftue-account-modal .ftue-btn[disabled]:not(.is-loading) { background: #8c8c8c !important; border-color: #8c8c8c !important; opacity: 1; }
.ftue-field-error { color: var(--ftue-error); font-family: 'gibsonlight', sans-serif; font-size: 14px; line-height: 18px; margin: 4px 0 0; text-align: left; }

/* ---------- Basket page (guest) -------------------------------------- */
.ftue-basket-top { display: flex; flex-direction: column; gap: 16px; margin: 0 auto 20px; max-width: 1017px; width: 100%; }
.ftue-basket-title { font-family: 'gibsonregular', sans-serif; font-size: 42px; line-height: 50px; color: #000; text-align: center; margin: 4px 0 0; font-weight: 400; }
.ftue-note { border-radius: 16px; padding: 12px 16px; display: flex; flex-direction: column; gap: 4px; color: var(--ftue-black); }
.ftue-note--warn { background: var(--ftue-warn-bg); }
.ftue-note--warn .ftue-title { font-family: 'gibsonmedium', 'gibsonregular', sans-serif; }
.ftue-note--info { background: var(--ftue-main-15); border-radius: 12px; padding: 8px 12px; }
.ftue-total-card { background: #fff; border-radius: 16px; padding: 12px; display: flex; flex-direction: column; gap: 12px; align-items: center; }
/* The basket buttons never overflow the card: long labels (French) wrap onto two lines. */
.ftue-total-card .ftue-btn,
.ftue-total-card .ftue-autofill-btn { max-width: 100%; box-sizing: border-box; }
.ftue-total-card .ftue-btn {
    height: auto;
    min-height: 55px;
    padding: 8px 20px;
    white-space: normal;
    text-align: center;
}
.ftue-total-line { display: flex; gap: 8px; font-family: 'gibsonregular', sans-serif; font-size: 22px; line-height: 30px; color: var(--ftue-emphasis); }
.ftue-autofill-btn {
    background: #fff;
    border: 2px solid var(--ftue-main);
    border-radius: 4px;
    padding: 8px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    min-width: 80px;
}
.ftue-autofill-btn .ftue-title { color: var(--ftue-main); }
.ftue-autofill-btn .ftue-small { color: #636363; }
.ftue-empty-basket { background: #fff; border-radius: 16px; padding: 48px 12px; display: flex; flex-direction: column; gap: 20px; align-items: center; }
.ftue-empty-basket img { width: 60.75px; height: 52px; }
/* Guest "Log in or create an account" banner: one look wherever it shows (the marketplace's
   own box or the notebox component), its line centred across and down. Same margins as
   .profile-message (suppliers.css): clear the category sidebar, which goes at 1000px. */
.notebox-container.profile-message.ftue-guest-notebox {
    margin: 0 40px 10px 275px;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center !important;
}
.notebox-container.profile-message.ftue-guest-notebox .notebox-inactive {
    width: auto;
    max-width: 100%;
    margin: 0;
    padding: 0;
    text-align: center;
    font-family: 'gibsonlight', sans-serif;
    font-size: 17px !important;
    line-height: 24px !important;
    color: var(--ftue-black);
}
.notebox-container.profile-message.ftue-guest-notebox .notebox-inactive a { margin-top: 0; font-size: inherit !important; line-height: inherit !important; }
@media (max-width: 1000px) {
    .notebox-container.profile-message.ftue-guest-notebox { margin: 0 10px 10px; padding: 16px 18px; }
}
@media (max-width: 800px) {
    .notebox-container.profile-message.ftue-guest-notebox .notebox-inactive { font-size: 15px !important; line-height: 20px !important; }
}

/* ---------- Checkout (full-screen) ----------------------------------- */
.ftue-checkout {
    position: fixed;
    inset: 0;
    z-index: 100000;
    background: var(--ftue-page);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    color: var(--ftue-black);
}
.ftue-checkout-header {
    position: relative;
    height: 97px;
    flex: none;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 2;
}
/* Stays white during the steps, also on local / test setups, whose "test environment"
   marker paints every <header> orange (RootMessageController / ERestController). */
.ftue-checkout .ftue-checkout-header { background-color: #fff !important; }
.ftue-checkout-logo { position: absolute; left: 64px; top: 6px; width: 122px; height: 123px; }
.ftue-checkout-logo img { width: 122px; height: 122px; border-radius: 61px; }
/* Site header's top links (FR / HELP / LOGIN), same look as .v2-header-top. */
.ftue-checkout-links { position: absolute; right: 45px; top: 12px; display: flex; gap: 40px; }
.ftue-checkout-links a { font-family: 'gibsonregular', sans-serif; font-size: 12px; font-weight: 600; line-height: 2; letter-spacing: 0.7px; color: #827676; text-transform: uppercase; text-decoration: none; }
.ftue-checkout-links a:hover { color: var(--ftue-main); }
/* Checkout progress: numbered circles joined by a line, step title under each circle. */
.ftue-steps { position: absolute; left: 50%; top: 12px; transform: translateX(-50%); display: flex; margin: 0; padding: 0; list-style: none; }
.ftue-step { position: relative; width: 132px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.ftue-step + .ftue-step::before { content: ''; position: absolute; top: 16px; left: calc(-50% + 24px); right: calc(50% + 24px); height: 1px; background: var(--ftue-light-grey); }
.ftue-step.is-done::before, .ftue-step.is-current::before { background: var(--ftue-main); }
.ftue-step-dot { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--ftue-very-light-grey); color: var(--ftue-grey); font-family: 'gibsonregular', sans-serif; font-size: 15px; line-height: 1; }
.ftue-step.is-current .ftue-step-dot { background: var(--ftue-main); color: #fff; }
.ftue-step.is-done .ftue-step-dot { background: #fff; color: var(--ftue-main); box-shadow: inset 0 0 0 1.5px var(--ftue-main); }
.ftue-step-label { font-family: 'gibsonregular', sans-serif; font-size: 12px; line-height: 15px; color: var(--ftue-grey); text-align: center; text-wrap: balance; }
.ftue-step.is-current .ftue-step-label { font-family: 'gibsonmedium', 'gibsonregular', sans-serif; color: var(--ftue-black); }
.ftue-checkout-body { flex: 1; overflow-y: auto; position: relative; }
.ftue-checkout-art {
    position: fixed;
    left: 0;
    top: 90px;
    /* Bleeds off the left edge of the screen and stops 48px before the form column (which
       starts at 50% + 165px); from under the header down to the footer. The photo
       (object-fit: cover) and its slanted mask fill that space whatever the screen size. */
    width: calc(50% + 117px);
    height: calc(100vh - 165px);
    -webkit-mask: url('/images/v2/ftue/basket_mask.svg') no-repeat 0 0 / 100% 100%;
    pointer-events: none;
}
.ftue-checkout-art img { width: 100%; height: 100%; object-fit: cover; }
.ftue-checkout-art::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(99.89deg, rgba(243, 241, 237, 0) 52.658%, #f3f1ed 81.162%);
}
.ftue-checkout-col { width: 368px; max-width: calc(100vw - 32px); margin: 40px 0 120px calc(50% + 165px); display: flex; flex-direction: column; gap: 12px; }
/* The basket photo is 768px wide and the form starts at 50% + 165px: below 1206px they
   overlap (and below 1066px the form runs off the right). Hide the photo, centre the form. */
@media (min-width: 901px) and (max-width: 1205px) {
    .ftue-checkout-art { display: none; }
    .ftue-checkout-col { margin: 40px auto 120px; }
}
.ftue-checkout-col .ftue-h4 { margin-top: 8px; }
.ftue-field {
    height: 45px;
    width: 100%;
    border: 1px solid var(--ftue-input-border) !important;
    border-radius: 10px !important;
    background: #fff !important;
    padding: 0 16px !important;
    margin: 0 !important;
    box-sizing: border-box;
    font-family: 'gibsonlight', sans-serif;
    font-size: 17px;
    color: var(--ftue-black);
    box-shadow: none !important;
}
.ftue-field::placeholder { color: #999; font-family: 'gibsonlight_italic', 'gibsonlight', sans-serif; }
.ftue-field.has-error,
.ftue-textarea.has-error { border-color: var(--ftue-error) !important; }
select.ftue-field.is-placeholder { color: #999; font-family: 'gibsonlight_italic', 'gibsonlight', sans-serif; }
select.ftue-field { appearance: none; -webkit-appearance: none; background: #fff url('/images/v2/ftue/chevron_dark.svg') no-repeat right 16px center / 12.33px 6.83px !important; }
.ftue-toggle { display: flex; gap: 16px; }
.ftue-toggle button {
    width: 152px;
    height: 45px;
    border-radius: 10px;
    border: 1px solid var(--ftue-input-border-2);
    background: #fff;
    font-family: 'gibsonlight', sans-serif;
    font-size: 14px;
    line-height: 1.4;
    letter-spacing: 0.5px;
    color: var(--ftue-black);
    cursor: pointer;
}
.ftue-toggle button.is-active { background: var(--ftue-main-10); border-color: var(--ftue-main); }
.ftue-address-row { display: flex; gap: 8px; position: relative; }
.ftue-address-input { position: relative; flex: 1; }
.ftue-address-input .ftue-field { padding-left: 44px !important; }
.ftue-address-input .ftue-pin { position: absolute; left: 18px; top: 12px; width: 15px; height: 20px; }
.ftue-apt { width: 97px !important; flex: none; }
.ftue-address-row .ftue-suggestions { top: 50px; }
.ftue-dates { display: flex; flex-wrap: wrap; gap: 8px; }
.ftue-date {
    width: 85px;
    height: 63px;
    border-radius: 6px;
    border: 1px solid var(--ftue-input-border-2);
    background: #fff;
    opacity: 0.8;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    color: var(--ftue-emphasis);
    padding: 8px;
    box-sizing: border-box;
}
.ftue-date strong { font-family: 'gibsonmedium', 'gibsonregular', sans-serif; font-weight: 400; font-size: 17px; line-height: 24px; }
.ftue-date span { font-family: 'gibsonlight', sans-serif; font-size: 15px; line-height: 21px; }
.ftue-date.is-active { background: var(--ftue-main-20); border-color: #95b040; }
.ftue-window { position: relative; }
.ftue-window-toggle {
    width: 100%;
    height: 54px;
    border-radius: 100px;
    border: 1px solid var(--ftue-muted);
    background: #fff;
    padding: 4px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-family: var(--ftue-schibsted);
    font-size: 14px;
    line-height: 1.4;
    letter-spacing: 0.5px;
    color: var(--ftue-black);
}
.ftue-window-toggle strong { font-weight: 600; }
.ftue-window-toggle.is-empty { background: #f3f3f3; font-weight: 600; }
.ftue-window-toggle.has-error { border-color: var(--ftue-error); }
.ftue-window-toggle img { width: 12.33px; height: 6.83px; transition: transform 0.2s; }
.ftue-window-toggle.is-open img { transform: rotate(180deg); }
.ftue-window-list { background: #fff; border-radius: 20px; border: 1px solid var(--ftue-muted); margin-top: 8px; padding: 12px 0; }
.ftue-window-list-head, .ftue-window-option {
    display: flex;
    justify-content: space-between;
    padding: 8px 24px;
    font-family: var(--ftue-schibsted);
    font-size: 14px;
    line-height: 1.4;
    letter-spacing: 0.5px;
}
.ftue-window-list-head { color: var(--ftue-grey); font-weight: 600; }
.ftue-window-option { cursor: pointer; }
.ftue-window-option:hover, .ftue-window-option.is-active { background: var(--ftue-main-10); }
.ftue-window-option strong { font-weight: 600; }
.ftue-textarea {
    width: 100%;
    height: 100px;
    border: 1px solid var(--ftue-input-border-2) !important;
    border-radius: 12px !important;
    padding: 12px 16px !important;
    margin: 0 !important;
    box-sizing: border-box;
    resize: none;
    /* Wrap long notes (and the two-line placeholder) instead of scrolling sideways. */
    white-space: pre-wrap;
    overflow-wrap: break-word;
    overflow-x: hidden;
    font-family: 'gibsonlight', sans-serif;
    font-size: 17px;
    line-height: 24px;
    background: #fff;
}
.ftue-textarea::placeholder { color: var(--ftue-subtitle); font-family: 'gibsonlight_italic', 'gibsonlight', sans-serif; }
.ftue-check { display: flex; align-items: center; gap: 2px; min-height: 48px; cursor: pointer; font-family: 'gibsonlight', sans-serif; font-size: 17px; line-height: 24px; }
.ftue-check input { position: absolute; opacity: 0; pointer-events: none; }
.ftue-check .ftue-box { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; flex: none; }
/* Step 2: the delivery / home address under "Same as …", in a white box at the content's left edge. */
.ftue-billing-address { display: flex; align-items: baseline; justify-content: space-between; gap: 4px 16px; margin: -6px 0 16px; padding: 16px; background: #fff; border-radius: 16px; }
.ftue-billing-address p { margin: 0; color: var(--ftue-grey); }
.ftue-check .ftue-box::before { content: ''; width: 18px; height: 18px; border: 2px solid var(--ftue-grey); border-radius: 2px; box-sizing: border-box; }
.ftue-check input:checked + .ftue-box::before { background: var(--ftue-main) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 24' fill='none'%3E%3Cpath d='M1.5 15l5.25 6.75c.18.23.4.42.66.55.26.13.55.2.84.2.29 0 .57-.06.83-.18.26-.12.49-.3.67-.51L26.5 1.5' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / 12px; border-color: var(--ftue-main); filter: none; }
.ftue-label { font-family: 'gibsonregular', sans-serif; font-size: 17px; line-height: 24px; margin: 4px 0 0; }
.ftue-label-strong { font-family: var(--ftue-schibsted); font-weight: 600; font-size: 16px; line-height: 24px; letter-spacing: 0.5px; margin: 4px 0 0; }
.ftue-phone-row { display: flex; gap: 9px; }
.ftue-phone-row .ftue-country { width: 85px !important; flex: none; font-family: var(--ftue-schibsted); color: var(--ftue-grey); padding: 0 12px !important; }
.ftue-phone-row .ftue-field:not(.ftue-country) { flex: 1; }
.ftue-inline-btn { height: 45px; padding: 0 16px; font-size: 15px; }
.ftue-verified { color: var(--ftue-main); font-family: 'gibsonmedium', 'gibsonregular', sans-serif; font-size: 15px; }
.ftue-pup-note { position: relative; border-radius: 12px; background: var(--ftue-main-15); padding: 9px 14px 5px 13px; color: var(--ftue-main); }
.ftue-pup-map { width: 100%; height: 163px; border-radius: 12px; overflow: hidden; background: #e9eee0; }
.ftue-pup-list { background: #fff; border: 1px solid var(--ftue-light-grey); border-radius: 12px; overflow: hidden; }
/* Headings as a row that grows instead of overflowing its grey band when "Pick-Up Window"
   (or the longer French "Plage de cueillette") wraps on a phone. */
.ftue-pup-head { display: flex; align-items: flex-start; min-height: 34px; padding: 5px 8px 5px 0; box-sizing: border-box; background: var(--ftue-very-light-grey); font-family: 'gibsonmedium', 'gibsonregular', sans-serif; font-size: 17px; line-height: 24px; color: var(--ftue-grey); }
/* "Location" column narrows with the cards on small phones, so "Pick-Up Window" stays
   over the times (it sits at 222px wherever the list is at least ~340px wide). */
.ftue-pup-head span:first-child { margin-left: 54px; flex: 0 1 168px; min-width: 0; }
.ftue-pup-head span + span { flex: 1 0 104px; }
.ftue-pup-card { display: flex; align-items: center; gap: 20px; padding: 8px 12px 8px 0; border-bottom: 1px solid var(--ftue-light-grey); cursor: pointer; }
.ftue-pup-card .ftue-radio { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; flex: none; margin-right: -17px; }
.ftue-pup-card .ftue-radio::before { content: ''; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--ftue-grey); box-sizing: border-box; }
.ftue-pup-card.is-active .ftue-radio::before { border-color: var(--ftue-main); background: radial-gradient(var(--ftue-main) 0 4.5px, #fff 5px); }
.ftue-pup-info { width: 174px; display: flex; flex-direction: column; gap: 7px; }
.ftue-pup-info .ftue-title { color: #2f3a26; }
.ftue-pup-info .ftue-small { color: var(--ftue-emphasis); }
.ftue-pup-when { width: 54px; font-family: 'gibsonlight', sans-serif; font-size: 15px; line-height: 21px; }
.ftue-pup-when span { display: block; color: var(--ftue-grey); }
.ftue-pup-maps { width: 36px; height: 36px; flex: none; }
.ftue-show-more { display: flex; justify-content: center; align-items: center; gap: 8px; padding: 8px; }
.ftue-checkout-footer {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 20; /* above in-page lists (suggestions z-index 5) */
}
.ftue-checkout-footer .ftue-footer-buttons { display: flex; gap: 6px; }
/* At least 321px, wider when the label needs it (French), always with side padding;
   wraps onto two lines rather than overflow on narrow screens. */
.ftue-checkout-footer .ftue-btn-wide {
    width: auto;
    min-width: min(321px, calc(100vw - 32px));
    max-width: calc(100vw - 32px);
    height: auto;
    min-height: 55px;
    padding: 8px 30px;
    white-space: normal;
    text-align: center;
}

/* Step 3 — payment */
.ftue-payment { width: 556px; max-width: calc(100vw - 32px); margin: 32px auto 120px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.ftue-payment .billing-form-container { width: 100%; }
.ftue-payment .iframeContainer { background: #fff; border-radius: 8px; overflow: hidden; }

/* Step 4 — finalize */
.ftue-finalize { display: flex; justify-content: center; gap: 24px; margin: 40px auto 140px; padding: 0 16px; }
.ftue-finalize-left { width: 420px; display: flex; flex-direction: column; gap: 10px; } /* room for the Change button */
.ftue-finalize-divider { width: 1px; background: var(--ftue-light-grey); align-self: stretch; min-height: 436px; }
.ftue-finalize-right { width: 273px; display: flex; flex-direction: column; gap: 20px; }
.ftue-box-white { background: #fff; border-radius: 16px; }
.ftue-delivery-box { padding: 8px 16px; display: flex; flex-direction: column; gap: 4px; min-height: 68px; justify-content: center; }
.ftue-delivery-box + .ftue-delivery-box { border-top: 1px solid var(--ftue-light-grey); }
.ftue-delivery-box p.ftue-small { color: var(--ftue-grey); display: flex; gap: 8px; align-items: flex-start; }
.ftue-delivery-box img { width: 16px; height: 16px; margin-top: 2px; flex: none; }
.ftue-home-icon { position: relative; width: 16px; height: 16px; flex: none; margin-top: 2px; }
.ftue-delivery-box .ftue-home-icon img { position: absolute; margin: 0; }
.ftue-home-icon .a { left: 0.83px; top: 1.86px; width: 14.33px; height: 7.67px; }
.ftue-home-icon .b { left: 2.88px; top: 6.47px; width: 10.23px; height: 7.67px; }
.ftue-promo { padding: 12px; display: flex; gap: 8px; align-items: center; }
.ftue-promo input {
    flex: 1;
    height: 40px !important;
    border: 1px solid var(--ftue-grey) !important;
    border-radius: 4px !important; /* squarish like the Apply button, focused or not */
    padding: 0 16px !important;
    margin: 0 !important;
    font-family: 'gibsonlight', sans-serif;
    font-size: 17px;
    box-sizing: border-box;
}
.ftue-promo input:focus { border-radius: 4px !important; }
.ftue-promo input::placeholder { color: var(--ftue-muted); font-family: 'gibsonlight_italic', 'gibsonlight', sans-serif; }
.ftue-promo .ftue-btn { height: 40px; padding: 8px 30px; }
.ftue-promo .ftue-edit-btn { height: 32px; padding: 0 16px; } /* Remove: same size as Change */
.ftue-payment-method { background: #fff; border-radius: 30px; height: 60px; padding: 0 12px; display: flex; align-items: center; gap: 12px; }
.ftue-payment-method .ftue-pm-icon { width: 40px; height: 40px; border-radius: 20px; display: flex; align-items: center; justify-content: center; }
.ftue-payment-method .ftue-pm-icon img { width: 24px; height: 24px; }
.ftue-payment-method .ftue-text { color: var(--ftue-grey); }
.ftue-totals { padding: 12px; display: flex; flex-direction: column; gap: 12px; }
.ftue-sum-line { display: flex; justify-content: space-between; font-size: 17px; line-height: 24px; }
.ftue-sum-line span:first-child { font-family: 'gibsonlight', sans-serif; color: var(--ftue-grey); }
.ftue-sum-line span:last-child { font-family: 'gibsonmedium', 'gibsonregular', sans-serif; }
.ftue-sum-line.is-total span { font-family: 'gibsonmedium', 'gibsonregular', sans-serif; color: var(--ftue-black); }
.ftue-sum-divider { height: 1px; background: var(--ftue-light-grey); }
.ftue-totals .ftue-note { background: var(--ftue-main-15); padding: 12px 16px; }

/* ---------- Success modal --------------------------------------------- */
/* Scrolls inside itself when taller than the window (the page behind is locked);
   overflow-x hidden keeps the rounded corners clean. */
.ftue-success { width: 817px; max-width: 100%; display: flex; border-radius: 12px; overflow-x: hidden; overflow-y: auto; -webkit-overflow-scrolling: touch; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); background: #fff; padding: 0; gap: 0; flex-direction: row; }
.ftue-success-left { width: 402px; flex: none; background: var(--ftue-main-15); display: flex; flex-direction: column; align-items: center; text-align: center; padding: 34px 63px 30px; box-sizing: border-box; }
.ftue-success-left .ftue-party { width: 64px; height: 64px; margin: 14px 0 12px; }
.ftue-success-left .ftue-h4 { color: var(--ftue-black); }
.ftue-success-left .ftue-btn { width: 276px; height: 48px; border-radius: 30px; border-width: 1px; margin: 20px 0 10px; }
.ftue-success-left .ftue-text.is-muted { color: var(--ftue-grey); }
.ftue-success-right { flex: 1; padding: 40px 23px 30px 23px; display: flex; flex-direction: column; gap: 26px; }
.ftue-next-box { background: var(--ftue-very-light-grey); border-radius: 16px; padding: 8px 16px; min-height: 73px; display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.ftue-next-box p.ftue-small { color: var(--ftue-emphasis); font-family: 'gibsonregular', sans-serif; font-size: 16px; line-height: 22px; display: flex; gap: 8px; align-items: center; }
.ftue-next-box img { width: 16px; height: 16px; }
.ftue-timeline { padding: 0 15px; display: flex; flex-direction: column; gap: 0; }
.ftue-timeline-item { display: grid; grid-template-columns: 30px 1fr; column-gap: 12px; position: relative; }
.ftue-timeline-item + .ftue-timeline-item { margin-top: 24px; }
.ftue-timeline-item .ftue-tl-icon { width: 30px; height: 30px; margin-top: 10px; position: relative; }
.ftue-timeline-item .ftue-tl-icon img { width: 30px; height: 30px; }
.ftue-tl-sliders img { position: absolute; }
.ftue-tl-sliders img:first-child { position: static; }
.ftue-tl-sliders .l1, .ftue-tl-sliders .l2 { left: 7.1px; width: 15.8px !important; height: 1.8px !important; }
.ftue-tl-sliders .l1 { top: 10.1px; }
.ftue-tl-sliders .l2 { top: 18.1px; }
.ftue-tl-sliders .d1, .ftue-tl-sliders .d2 { width: 6.6px !important; height: 6.6px !important; }
.ftue-tl-sliders .d1 { left: 9.7px; top: 7.7px; }
.ftue-tl-sliders .d2 { left: 13.7px; top: 15.7px; }
.ftue-timeline-item:first-child::after { content: ''; position: absolute; left: 15px; top: 44px; bottom: -22px; width: 1px; background: #c5c5c5; }
.ftue-timeline-item .ftue-title { color: #2c2c2a; }
.ftue-timeline-item .ftue-text { color: #5f5e5a; }

/* ---------- Small screens --------------------------------------------- */
@media (max-width: 900px) {
    .ftue-modal { padding: 32px 20px 24px; }
    .ftue-h1 { font-size: 32px; line-height: 40px; }
    .ftue-location-row { flex-direction: column; }
    .ftue-continue { width: 100%; }
    .ftue-account-modal { padding: 40px 20px; }
    .ftue-checkout-art { display: none; }
    .ftue-checkout-logo { left: 12px; top: 12px; width: 72px; height: 72px; }
    .ftue-checkout-logo img { width: 72px; height: 72px; }
    /* Phones: smaller circles on the right, only the current step's title (under the row). */
    .ftue-steps { left: auto; right: 16px; transform: none; top: 36px; }
    .ftue-step { position: static; width: 44px; }
    .ftue-step + .ftue-step::before { display: none; }
    .ftue-step + .ftue-step .ftue-step-dot::before { content: ''; position: absolute; right: 100%; top: 50%; width: 20px; height: 1px; background: var(--ftue-light-grey); }
    .ftue-step.is-done .ftue-step-dot::before, .ftue-step.is-current .ftue-step-dot::before { background: var(--ftue-main) !important; }
    .ftue-step-dot { position: relative; width: 24px; height: 24px; font-size: 12px; }
    .ftue-step-label { display: none; }
    .ftue-step.is-current .ftue-step-label { display: block; position: absolute; right: 0; top: 32px; white-space: nowrap; text-align: right; }
    .ftue-checkout-links { right: 16px; top: 6px; gap: 20px; }
    .ftue-checkout-col { margin: 24px auto 120px; }
    .ftue-finalize { flex-direction: column; align-items: center; }
    .ftue-finalize-divider { display: none; }
    .ftue-finalize-right, .ftue-finalize-left { width: 100%; max-width: 420px; }
    .ftue-success { flex-direction: column; }
    .ftue-success-left { width: 100%; padding: 30px 20px; }
    .ftue-success-right { flex: none; }
    .ftue-item { grid-template-columns: 48px 1fr; }
    .ftue-item-img { width: 48px; height: 48px; }
    .ftue-item-price { text-align: left; }
    .ftue-basket-title { font-size: 32px; line-height: 40px; }
}

/* Focus: main green (#719500) border instead of the browser's default outline. */
.ftue-field:focus,
.ftue-textarea:focus,
.ftue-promo input:focus,
.ftue-account-field input:focus {
    outline: none !important;
    border-color: var(--ftue-main) !important;
    box-shadow: none !important;
}
.ftue-input-pill:focus-within { outline: none; border-color: var(--ftue-main); }
.ftue-input-pill input:focus { outline: none !important; }

/* The site's global input:focus style draws its own green box; inside the pill the pill
   itself is the field, so the inner input must stay invisible in every state. */
.ftue-input-pill input,
.ftue-input-pill input:focus,
.ftue-input-pill input:hover,
.ftue-input-pill input:active,
.ftue-input-pill input:focus-visible {
    border: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    border-radius: 0 !important;
    -webkit-appearance: none;
    appearance: none;
}

/* billing-form's "same as home address" checkbox: centre the box with its label
   (billing_form.php top-aligns it and pulls the text up 5px). */
.ftue-payment .billing-form-container #same-address-checkbox { align-items: center; }
.ftue-payment .billing-form-container #same-address-checkbox .v-checkbox-text { margin-top: 0; }

/* billing-form two-column rows (Country | State, City | Postal code): top-align so the
   labels and fields line up even though the select column is a few px taller. */
.ftue-payment .billing-form-container .d-flex { align-items: flex-start; }
.ftue-payment .billing-form-container .d-flex .v-select { margin: 0; }

/* billing-form placeholders: shared input.css uses #d4dade (barely visible); match the
   checkout step 1–2 fields (.ftue-field). */
.ftue-payment .billing-form-container div.v-input-class input::placeholder,
.ftue-payment .billing-form-container .vs__search::placeholder { color: #999; font-family: 'gibsonlight_italic', 'gibsonlight', sans-serif; }

/* billing-form field spacing: input.css's 30px bottom margin was winning over
   billing_form's 10px, leaving a ~24px gap above each error. Error sits 4px under
   its field, like the step 1–2 fields (.ftue-field-error). */
.ftue-payment .billing-form-container div.v-input-class { margin: 0 0 12px 0 !important; }
.ftue-payment .billing-form-container div.v-input-class.red-border { margin-bottom: 4px !important; }
.ftue-payment .billing-form-container .field-error { margin: 0 0 12px; font-size: 14px; line-height: 18px; }

/* Step 3 is card only: billing is collected on step 2, so hide billing-form's own
   "Billing Address" preview + Edit (Edit reopened an empty second billing form). */
.ftue-payment .billing-form-container .title,
.ftue-payment .billing-form-container .address-preview { display: none !important; }

/* DEV ONLY (TEST_ENV) skip-card button on the payment step. */
.ftue-dev-skip { border-style: dashed !important; }
.ftue-dev-step1 { position: absolute; right: 96px; top: 30px; height: 40px; width: auto; padding: 0 14px; font-size: 14px; z-index: 3; }

/* Location popup: pin Continue to the input row (label 24px + 8px gap above the 58px
   field), so messages under the field don't push it down. */
.ftue-location-row { align-items: flex-start; }
.ftue-location-row > .ftue-continue { margin-top: 33px; }
@media (max-width: 900px) {
    .ftue-location-row > .ftue-continue { margin-top: 0; }
}

/* Location popup: address suggestions float over the popup (and past its edge) instead
   of making the popup scroll. Small screens keep the scrolling popup. */
@media (min-width: 901px) and (min-height: 760px) {
    .ftue-modal--location { overflow: visible; max-height: none; }
    .ftue-modal--location .ftue-suggestions { z-index: 30; max-height: 300px; overflow-y: auto; }
}

/* Map art is inlined as <svg> (see ftue_web.php); same placement as the former <img>. */
.ftue-map-art svg { position: absolute; left: -2px; top: -50px; width: 407.29px; height: 421.18px; }

/* Button loader (auto-fill "Add to order" while items are being added). */
.ftue-btn.is-loading:has(.ftue-spinner) { opacity: 1; }
.ftue-spinner {
    width: 18px; height: 18px; flex: none; border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.4); border-top-color: #fff;
    animation: ftue-spin 0.7s linear infinite;
}
@keyframes ftue-spin { to { transform: rotate(360deg); } }

/* Checkout step 1 address: X to clear, and suggestions in the flow below the field
   (they push the next fields down instead of covering them). */
.ftue-address-input .ftue-field.has-clear { padding-right: 44px !important; }
.ftue-field-clear {
    position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
    width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}
.ftue-field-clear img { width: 12px; height: 12px; }
.ftue-suggestions--inline { position: static; top: auto; margin-top: -4px; box-shadow: none; z-index: auto; }

/* Inline errors everywhere: 14/18, 4px under the field they belong to. Flex columns
   add their own gap (checkout 12px, location popup 8px, payment 14px), so take it back. */
.ftue-error { font-size: 14px; line-height: 18px; margin-top: 4px; }
.ftue-checkout-col .ftue-error { margin-top: -8px; }
.ftue-location-field .ftue-error { margin-top: -4px; }
.ftue-payment > .ftue-error { margin-top: -10px; }
.ftue-finalize-left .ftue-error { margin: -6px 12px 0; }
.ftue-checkout-footer .ftue-error { margin-top: 0; }

/* ---------- Pick-up flow (Mobile-App-UI › NEW PUP EXP, node 15107:90904) ---------- */
/* "The pick-up points on … are closest to you": PUP Notes/Recommendation — #FF8D28 @ 15%, r11, text #AB6A0D 14/1.6 */
.ftue-pup-reco { background: rgba(255, 141, 40, 0.15); border-radius: 11px; padding: 9px 14px 5px 13px; color: #ab6a0d; font-family: var(--ftue-schibsted); font-size: 14px; line-height: 1.6; letter-spacing: 0.5px; }
/* "No pick up points" box — Main 15% (#438600 @ 15%), r12, 16px vertical padding, centred */
.ftue-no-pup { background: rgba(67, 134, 0, 0.15); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.ftue-no-pup--none { background: var(--ftue-very-light-grey); }
.ftue-no-pup img { width: 27px; height: 32px; }
.ftue-no-pup-title { margin: 0; font-family: var(--ftue-schibsted); font-weight: 600; font-size: 16px; line-height: 24px; letter-spacing: 0.5px; color: var(--ftue-black); max-width: 330px; }
.ftue-no-pup-text { margin: -8px 0 0; font-family: var(--ftue-schibsted); font-size: 14px; line-height: 1.6; letter-spacing: 0.5px; color: var(--ftue-black); }
/* Button/Primary (mobile design system): #719500, r30, h48, 14 semibold white */
.ftue-pill-btn { height: 48px; min-width: 100px; padding: 10px 16px; border: 0; border-radius: 30px; background: var(--ftue-main); color: #fff; font-family: var(--ftue-schibsted); font-weight: 600; font-size: 14px; line-height: 20px; letter-spacing: 0.5px; cursor: pointer; }
.ftue-pup-loading { background: #fff; border-radius: 16px; overflow: hidden; }
.ftue-pup-loading .ftue-skeleton-row { height: 72px; }
.ftue-pup-loading .ftue-skeleton-row:last-child { border-bottom: 0; }

/* Location popup: eligibility shown inline under the field as soon as the postal code is complete. */
.ftue-eligibility { margin: 0; font-family: 'gibsonregular', sans-serif; font-size: 15px; line-height: 21px; }
.ftue-eligibility.is-ok { color: var(--ftue-main); }
.ftue-eligibility.is-no { color: #ab6a0d; }

/* Help bubbles (customer help chat, guest help widget) hidden while a web FTUE popup or the checkout is open. */
body.ftue-modal-open .help-chat-container,
body.ftue-modal-open #guest-help-app { display: none !important; }

/* Delivery window list: the fee never wraps ("6,00 $"); the window name wraps instead. */
.ftue-window-option > span:first-child { flex: 1 1 auto; min-width: 0; padding-right: 12px; }
.ftue-window-option > span:last-child { flex: none; white-space: nowrap; }

/* Close (×) above the map art in the location popup (the map and its white fade were
   painted over it, so it looked faint on mobile). */
.ftue-close { z-index: 5; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15); }

/* Loading spinners: white on green buttons (.ftue-spinner), green on white / outline areas. */
.ftue-spinner--green { border-color: rgba(113, 149, 0, 0.25); border-top-color: var(--ftue-main); }
.ftue-btn--outline .ftue-spinner { border-color: rgba(113, 149, 0, 0.25); border-top-color: var(--ftue-main); }
.ftue-spinner--lg { width: 32px; height: 32px; border-width: 3px; }
.ftue-btn .ftue-spinner, .ftue-continue .ftue-spinner { margin-right: 8px; }
.ftue-continue .ftue-spinner { margin: 0 0 0 8px; }
.ftue-btn.is-loading:has(.ftue-spinner), .ftue-continue[aria-busy="true"] { opacity: 1; }
.ftue-loading-block { display: flex; align-items: center; justify-content: center; padding: 32px 0; min-height: 80px; }
.ftue-checkout-body.ftue-loading-block { padding: 0; }
.ftue-window-list.ftue-loading-block { padding: 24px 0; min-height: 0; }
.ftue-eligibility--checking { display: flex; align-items: center; min-height: 22px; }
.ftue-locate .ftue-spinner { width: 16px; height: 16px; }
/* Card step: spinner over the payment frame until the payment page has loaded in it. */
.ftue-payment { position: relative; }
.ftue-payment-loading { position: absolute; left: 0; right: 0; top: 140px; display: flex; justify-content: center; z-index: 5; pointer-events: none; }

/* House number box (street-only address pick). */
.ftue-house-number { display: flex; gap: 8px; margin-top: 8px; }
.ftue-house-number .ftue-field { flex: 1; min-width: 0; }

/* Newsletter consent in the create-account modal. */
.ftue-account-newsletter { width: 321px; max-width: 100%; margin: 4px 0 10px; text-align: left; align-items: flex-start; gap: 10px; min-height: 0; }
/* Box flush with the fields' left edge, level with the first line of text. */
.ftue-account-newsletter .ftue-box { width: 18px; height: 24px; justify-content: flex-start; }

/* Finalize: "Change" goes back to step 1. */
.ftue-delivery-box { position: relative; }
.ftue-edit-btn { height: 32px; min-height: 0; padding: 0 16px; font-size: 14px; border-radius: 4px; }
/* "Remove" (promo code): same size as "Change", in red. */
.ftue-edit-btn--danger { border-color: var(--ftue-error); color: var(--ftue-error); }
.ftue-edit-btn--danger .ftue-spinner { border-color: rgba(198, 40, 40, 0.25); border-top-color: var(--ftue-error); }
.ftue-delivery-box > .ftue-title { min-height: 32px; display: flex; align-items: center; }
/* Delivery address on Finalize: title on top, the address below with Change beside it,
   centred on the address (one or two lines). */
.ftue-delivery-box--edit { display: grid; grid-template-columns: 1fr auto; column-gap: 16px; row-gap: 4px; }
.ftue-delivery-box--edit > .ftue-title { grid-column: 1 / -1; grid-row: 1; }
.ftue-delivery-box--edit > p.ftue-small { grid-column: 1; grid-row: 2; }
.ftue-delivery-box--edit > .ftue-edit-btn { grid-column: 2; grid-row: 2; align-self: center; }

/* Pending promo code under the totals (applied after sign-up). */
.ftue-sum-discount span { color: var(--ftue-main); }
.ftue-sum-promo { color: var(--ftue-main); align-items: flex-start; gap: 12px; }
.ftue-sum-promo span:first-child { white-space: nowrap; }
.ftue-sum-promo span:last-child { flex: 1; text-align: right; }
.ftue-sum-promo-note { margin: 0 0 8px; color: var(--ftue-grey); }

/* Phone: keep the auto-fill title clear of the close (X) button. */
@media (max-width: 768px) {
    .ftue-autofill-head { padding-right: 44px; }
}

/* Stacked checkboxes (leave at the door / billing same as delivery): no column gap between
   them; each keeps its 48px tap area. */
.ftue-checkout-col .ftue-check + .ftue-check { margin-top: -12px; }
/* Checkout checkboxes: the square sits on the column's left edge, in line with the fields above. */
.ftue-checkout-col .ftue-check .ftue-box { width: 32px; justify-content: flex-start; }
