/* ───────────────────────── Holiday Packages ─────────────────────────
 * Visual language inherited from the approved purchase flows:
 *   - tokens and card/button shapes from cart-page.css,
 *   - product card from JetEngine listing 2801 (.cv-card-product),
 *   - section titles from thankyou.css + Soul Pantry count pill,
 *   - step pills copied from public.css `.cv-step` (see .cv-hb-step below).
 *
 * The Elementor Kit styles bare elements with (0,1,1) selectors (`.elementor-kit-6 button`,
 * `.elementor-kit-6 a`, `h2`, `h3`…). Every button, link and heading here is scoped as
 * `.cv-holiday <element>.class` so the Kit can no longer repaint it.
 */

.cv-holiday,
.cv-hol-slot,
.cv-hol-checkout-slot,
.cv-hol-order-box {
    --cv-green-dark: #497D59;
    --cv-green-mid: #9CC069;
    --cv-green-light: #DBEAC6;
    --cv-green-wash: #F5F9F0;
    --cv-gold: #F6C531;
    --cv-text: #272727;
    --cv-text-muted: #6b6b6b;
    --cv-border: #e3e3e3;
    --cv-chip-border: #d8e5d0;
    --cv-radius: 12px;
    --cv-shadow-lg: 0 4px 18px rgba(0, 0, 0, .08);
    --cv-card-shadow: 0 0 10px rgba(0, 0, 0, .11);
    --cv-font-display: "VVDS Praliner Regular", "VVDS Praliner", "Open Sans", sans-serif;
    --cv-font-body: "Open Sans", sans-serif;
    --cv-font-cta: Roboto, "Open Sans", sans-serif;
}

.cv-shop-flow.cv-holiday {
    width: 100%;
    max-width: 1072px;
    margin: 0 auto;
    padding: 0 16px 24px;
    box-sizing: border-box;
    font-family: var(--cv-font-body);
    color: var(--cv-text);
}
.cv-holiday *,
.cv-holiday *::before,
.cv-holiday *::after { box-sizing: border-box; }
.cv-ico { width: 1em; height: 1em; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cv-holiday button:focus-visible,
.cv-holiday a:focus-visible { outline: 3px solid rgba(156, 192, 105, .6); outline-offset: 2px; }
.cv-screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* The page's Elementor column centers its children (align-items:center), which shrinks the
 * shortcode widget to its content width; let the holiday flow take the whole row. */
.elementor-widget-shortcode:has(.cv-holiday) { align-self: stretch; width: 100%; }

/* Kava's `.site` and the `sin-desborde` container use overflow:hidden, which makes them scroll
 * containers and disables position:sticky (same trap as cart-page.css). `clip` keeps the
 * clipping without creating a scroll container, so the builder footer can stick. */
body:has(.cv-holiday) .site,
.e-con:has(.cv-holiday) { overflow: clip; }

/* ───── Event header ───── */
.cv-hol-event { margin: 8px 0 64px; }
.cv-hol-event__header { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.cv-holiday h2.cv-hol-event__title {
    margin: 0 0 10px; font-family: var(--cv-font-display); font-weight: 500; font-size: 34px; line-height: 1.1;
    letter-spacing: 1px; text-transform: none; color: var(--cv-green-dark);
}
.cv-holiday p.cv-hol-event__note { margin: 0 0 20px; font-size: 16px; font-weight: 300; line-height: 1.6; color: var(--cv-text); }
.cv-hol-event__facts,
.cv-hol-order-box__facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 0 22px; padding: 0; list-style: none; }
.cv-hol-fact {
    display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 8px 18px 8px 8px; border: 2px solid var(--cv-green-light);
    border-radius: 30px; background: #fff; font-size: 14px; line-height: 1.25; color: var(--cv-text); text-align: left;
}
.cv-hol-fact::before { content: none; }
.cv-hol-fact__icon {
    display: inline-flex; flex: none; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%;
    background: var(--cv-green-light); color: var(--cv-green-dark); font-size: 15px;
}
.cv-hol-fact small { display: block; font-size: 11px; font-weight: 600; letter-spacing: .4px; text-transform: uppercase; color: var(--cv-text-muted); }
.cv-hol-fact strong { font-weight: 600; }
.cv-hol-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.cv-holiday .cv-hol-nav a {
    display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border: 1px solid var(--cv-chip-border); border-radius: 999px;
    background: #fff; color: var(--cv-green-dark); font-size: 13px; font-weight: 600; text-decoration: none; transition: background .15s, border-color .15s;
}
.cv-holiday .cv-hol-nav a:hover { background: var(--cv-green-wash); border-color: var(--cv-green-mid); color: var(--cv-green-dark); }
.cv-holiday .cv-hol-nav a span { color: var(--cv-text-muted); font-weight: 400; }
.cv-hol-event__preview {
    display: inline-block; margin: 18px 0 0; padding: 6px 14px; border: 1px dashed #D9B12A; border-radius: 999px; background: #FFF8DF;
    font-size: 13px; color: #6B4E00;
}

/* ───── Sections: thank-you section title + Soul Pantry count pill ───── */
.cv-hol-section { margin: 0 0 48px; scroll-margin-top: 110px; }
.cv-holiday h3.cv-hol-section__title {
    display: flex; align-items: center; gap: 10px; margin: 0 0 20px; padding-bottom: 10px; border-bottom: 2px solid var(--cv-green-light);
    font-family: var(--cv-font-display); font-weight: 500; font-size: 24px; line-height: 1.2; letter-spacing: .6px; text-transform: none; color: var(--cv-green-dark);
}
.cv-hol-section__count {
    display: inline-block; min-width: 22px; padding: 2px 8px; border-radius: 999px; background: var(--cv-green-light); color: var(--cv-green-dark);
    font-family: var(--cv-font-body); font-size: 12px; font-weight: 600; letter-spacing: 0; text-align: center;
}
.cv-hol-packages { display: flex; flex-direction: column; gap: 24px; }

/* ───── Package card: the same shape as the product card (listing 2801) ───── */
.cv-pcard {
    display: flex; align-items: stretch; min-height: 250px; background: rgba(255, 255, 255, .66); border-radius: 0 48px 48px 0;
    box-shadow: var(--cv-card-shadow); overflow: hidden;
}
.cv-hpkg__card { min-height: 320px; }
.cv-pcard__media { position: relative; flex: 0 0 33.3%; max-width: 320px; aspect-ratio: 1 / 1; border-radius: 0 1600px 1600px 0; overflow: hidden; background: var(--cv-green-light); }
.cv-pcard__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cv-pcard__body { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 24px 40px 24px 30px; }
.cv-holiday h3.cv-pcard__title {
    margin: 0; font-family: var(--cv-font-body); font-size: 26px; font-weight: 600; line-height: 1.15; letter-spacing: 1.3px; text-transform: none; color: var(--cv-text);
}
.cv-pcard__desc { margin: 2px 0 0; font-size: 14px; font-weight: 300; color: var(--cv-text); }
.cv-pcard__desc p { margin: 0; }
.cv-pcard__price { margin: 0 0 8px; font-size: 20px; font-weight: 400; color: var(--cv-text); }
.cv-hpkg__price small { margin-right: 4px; font-size: 14px; color: var(--cv-text-muted); }
.cv-pcard__buy { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.cv-hpkg__badge {
    position: absolute; left: 14px; bottom: 16px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px;
    background: var(--cv-green-dark); color: var(--cv-gold); font: 700 12px/1.2 var(--cv-font-body); letter-spacing: .72px; text-transform: uppercase;
    box-shadow: 0 2px 7px rgba(0, 0, 0, .28);
}
.cv-hpkg__badge .cv-ico { fill: currentColor; stroke: none; font-size: 14px; }
.cv-hpkg__includes { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 4px; padding: 0; list-style: none; }
.cv-hpkg__includes li {
    display: inline-flex; align-items: center; margin: 0; padding: 4px 12px; border: 1px solid var(--cv-chip-border); border-radius: 999px;
    background: #fff; color: var(--cv-green-dark); font-size: 13px; font-weight: 600;
}
.cv-hpkg__includes li::before { content: none; }
/* CTAs use the Kit's primary green (#497D59, like "Proceed to checkout"): white on the card's
   #9CC069 measures 2.07:1 and fails WCAG AA; white on #497D59 measures 5.3:1. */
.cv-holiday button.cv-hpkg__build,
.cv-holiday button.cv-hpkg__build:focus {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; margin: 0; padding: 14px 40px; border: 0; border-radius: 30px;
    background: var(--cv-green-dark); color: #fff; font: 900 11px/1 var(--cv-font-cta); letter-spacing: 1px; text-transform: uppercase;
    box-shadow: none; cursor: pointer; transition: background .2s;
}
.cv-holiday button.cv-hpkg__build:hover { background: #3d6a4b; color: #fff; }
.cv-hpkg.is-open .cv-hpkg__card { border-radius: 0 48px 0 0; }
.cv-hpkg__done {
    display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 14px; padding: 12px 16px; border: 1px solid var(--cv-green-light);
    border-radius: var(--cv-radius); background: var(--cv-green-wash); font-size: 14px; color: var(--cv-text);
}
.cv-hpkg__done[hidden] { display: none; }
.cv-hpkg__done > .cv-ico { color: var(--cv-green-dark); font-size: 18px; stroke-width: 3; }
.cv-holiday .cv-hpkg__done a { color: var(--cv-green-dark); font-size: 14px; font-weight: 600; text-decoration: underline; }

/* No photo yet: a plate on the brand tint, never an empty box. */
.cv-noimg {
    display: flex; align-items: center; justify-content: center; width: 100%; height: 100%;
    background: radial-gradient(circle at 50% 45%, #fff 0 26%, transparent 27%), linear-gradient(135deg, var(--cv-green-light), #EEF5E4);
    color: var(--cv-green-mid);
}
.cv-noimg .cv-ico { width: 34%; height: 34%; max-width: 90px; max-height: 90px; stroke-width: 1.4; }

/* ───── Builder panel (step assistant) ───── */
.cv-hb-panel {
    position: relative; padding: 4px 32px 0; background: #fff; border-radius: 0 0 32px 32px;
    box-shadow: var(--cv-card-shadow); clip-path: inset(0 -20px -20px -20px);
}
.cv-hb-panel[hidden] { display: none; }
.cv-hb-panel > .cv-hb-skel { padding: 28px 0; }
.cv-hb-error { margin: 0; padding: 24px 0; color: #B3261E; font-size: 14px; }

/* Step pills — same look as public.css `.cv-step` (weekly wizard). Own class because
   shop-flow.js reacts to clicks on `.cv-step` inside `.cv-shop-flow`. */
.cv-hb-steps { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin: 0 0 8px; padding: 22px 0 10px; }
.cv-holiday button.cv-hb-step,
.cv-holiday button.cv-hb-step:focus {
    display: flex; align-items: center; gap: 8px; min-height: 0; margin: 0; padding: 10px 18px; border: 2px solid #ddd; border-radius: 30px;
    background: #fafafa; color: #666; font: 500 14px/1.3 var(--cv-font-body); letter-spacing: normal; text-transform: none; white-space: nowrap;
    box-shadow: none; cursor: pointer; transition: all .25s ease;
}
.cv-holiday button.cv-hb-step:hover { border-color: #4caf50; background: #fafafa; color: #333; }
.cv-holiday button.cv-hb-step.is-active { border-color: #4caf50; background: #e8f5e9; color: #2e7d32; font-weight: 600; }
/* Complete = brand dark green: white on the weekly wizard's #4caf50 measures 2.8:1 and fails AA. */
.cv-holiday button.cv-hb-step.is-complete { border-color: var(--cv-green-dark); background: var(--cv-green-dark); color: #fff; }
.cv-hb-step__num {
    display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%;
    background: #ddd; color: #666; font-size: 12px; font-weight: 700;
}
.cv-hb-step.is-active .cv-hb-step__num { background: #4caf50; color: #fff; }
.cv-hb-step.is-complete .cv-hb-step__num { background: rgba(255, 255, 255, .3); color: #fff; }
.cv-hb-step__num .cv-ico { width: 13px; height: 13px; stroke-width: 3.5; }
.cv-hb-step-arrow { color: #ccc; font-size: 18px; font-weight: 300; }

.cv-hb-stage { min-height: 220px; padding: 12px 0 8px; animation: cvHbIn .25s ease; }
@keyframes cvHbIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.cv-hb-group { margin: 0 0 28px; }
.cv-hb-group__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin: 0 0 14px; }
.cv-holiday h4.cv-hb-group__title {
    margin: 0; font-family: var(--cv-font-display); font-weight: 500; font-size: 22px; line-height: 1.2; letter-spacing: .5px; text-transform: none; color: var(--cv-green-dark);
}
.cv-hb-group__hint { margin: 2px 0 0; font-size: 14px; font-weight: 300; color: var(--cv-text-muted); }
.cv-hb-counter {
    display: inline-flex; flex: none; align-items: center; gap: 6px; padding: 4px 12px; border: 1px solid var(--cv-chip-border); border-radius: 999px;
    background: #fff; color: var(--cv-text-muted); font-size: 12px; font-weight: 600; white-space: nowrap; transition: background .2s, color .2s;
}
/* Full = brand dark green: white on #9CC069 (the weekly .cv-day-chip look) measures 2.07:1 and fails AA. */
.cv-hb-counter.is-full { border-color: var(--cv-green-dark); background: var(--cv-green-dark); color: #fff; }
.cv-hb-counter .cv-ico { stroke-width: 3; }

/* Dish tiles */
.cv-hb-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.cv-holiday button.cv-hb-tile,
.cv-holiday button.cv-hb-tile:hover,
.cv-holiday button.cv-hb-tile:focus {
    position: relative; display: flex; flex-direction: column; gap: 4px; width: 100%; min-height: 0; margin: 0; padding: 8px 8px 12px;
    border: 2px solid var(--cv-border); border-radius: 14px; background: #fff; color: var(--cv-text); box-shadow: none;
    font: 400 14px/1.3 var(--cv-font-body); letter-spacing: normal; text-transform: none; text-align: left; white-space: normal; overflow-wrap: anywhere;
    cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .15s;
}
.cv-holiday button.cv-hb-tile:hover { border-color: var(--cv-green-mid); box-shadow: var(--cv-shadow-lg); transform: translateY(-2px); }
.cv-holiday button.cv-hb-tile.is-selected { border-color: var(--cv-green-dark); background: var(--cv-green-wash); box-shadow: 0 0 0 3px rgba(156, 192, 105, .25); }
.cv-holiday button.cv-hb-tile.is-locked { border-color: var(--cv-border); box-shadow: none; transform: none; cursor: default; }
.cv-hb-tile.is-locked .cv-hb-tile__img { filter: grayscale(.7); opacity: .55; }
.cv-hb-tile.is-locked .cv-hb-tile__name { color: var(--cv-text-muted); }
.cv-hb-tile__img { display: block; margin-bottom: 6px; aspect-ratio: 4 / 3; border-radius: 9px; overflow: hidden; background: var(--cv-green-light); }
.cv-hb-tile__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cv-hb-tile__name { padding: 0 4px; font-size: 14px; font-weight: 600; line-height: 1.3; color: var(--cv-text); }
.cv-hb-tile__desc { padding: 0 4px; font-size: 12px; color: var(--cv-text-muted); }
.cv-hb-check {
    position: absolute; top: 14px; right: 14px; display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%;
    background: var(--cv-green-dark); color: #fff; font-size: 15px; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); opacity: 0; transform: scale(.6);
    transition: opacity .15s, transform .15s;
}
.cv-hb-check .cv-ico { stroke-width: 3; }
.is-selected > .cv-hb-check { opacity: 1; transform: none; }

/* Package versions, served as plates */
.cv-hb-versions { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.cv-holiday button.cv-hb-version,
.cv-holiday button.cv-hb-version:hover,
.cv-holiday button.cv-hb-version:focus {
    position: relative; display: flex; align-items: center; gap: 14px; width: 100%; min-height: 0; margin: 0; padding: 12px 16px 12px 12px;
    border: 2px solid var(--cv-border); border-radius: 60px 16px 16px 60px; background: #fff; color: var(--cv-text); box-shadow: none;
    font: 400 14px/1.3 var(--cv-font-body); letter-spacing: normal; text-transform: none; text-align: left; white-space: normal;
    cursor: pointer; transition: border-color .15s, box-shadow .15s;
}
.cv-holiday button.cv-hb-version:hover { border-color: var(--cv-green-mid); box-shadow: var(--cv-shadow-lg); }
.cv-holiday button.cv-hb-version.is-selected { border-color: var(--cv-green-dark); background: var(--cv-green-wash); }
.cv-hb-version__plate { flex: none; width: 72px; height: 72px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--cv-green-light); }
.cv-hb-version__plate img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cv-hb-version__text { flex: 1; min-width: 0; }
.cv-hb-version__name { display: block; font-size: 17px; font-weight: 600; color: var(--cv-text); }
.cv-hb-version__desc { display: block; font-size: 13px; color: var(--cv-text-muted); }
.cv-hb-version__price { flex: none; font-size: 17px; font-weight: 700; color: var(--cv-green-dark); }
.cv-hb-version .cv-hb-check { top: 50%; right: auto; left: 58px; width: 24px; height: 24px; margin-top: -30px; font-size: 13px; }

/* The table: one plate per choice, filling as the customer picks */
.cv-hb-table { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.cv-hb-table__sep { width: 1px; height: 26px; margin: 0 6px; background: var(--cv-chip-border); }
.cv-hb-plate {
    position: relative; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; overflow: hidden;
    border: 2px dashed #c9d8bb; border-radius: 50%; background: var(--cv-green-wash); color: #93ab80; font-size: 18px; line-height: 1;
}
.cv-hb-plate.is-main { width: 48px; height: 48px; }
.cv-hb-plate.is-filled { border: 2px solid #fff; background: var(--cv-green-light); box-shadow: 0 0 0 1px var(--cv-green-light), 0 2px 6px rgba(0, 0, 0, .12); animation: cvPlateIn .25s ease; }
.cv-hb-plate img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cv-hb-plate .cv-noimg .cv-ico { width: 60%; height: 60%; }
@keyframes cvPlateIn { from { transform: scale(.7); } to { transform: none; } }
.cv-hb-status { font-size: 14px; line-height: 1.35; color: var(--cv-text); }
.cv-hb-status strong { font-weight: 700; }
.cv-hb-status small { display: block; font-size: 12px; color: var(--cv-text-muted); }
.cv-hb-status.is-ready { color: var(--cv-green-dark); }
.cv-hb-status .cv-ico { font-size: 16px; vertical-align: -3px; stroke-width: 3; }

/* Review */
.cv-hb-review .cv-hb-group__title { margin-bottom: 14px; }
.cv-hb-review__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 10px 18px; margin: 0; padding: 0; list-style: none; }
.cv-hb-review__list li { display: flex; align-items: center; gap: 12px; margin: 0; padding: 8px 10px; border-radius: var(--cv-radius); background: var(--cv-green-wash); }
.cv-hb-review__list li::before { content: none; }
.cv-hb-review__list li > span:nth-child(2) { flex: 1; min-width: 0; font-size: 14px; font-weight: 600; }
.cv-hb-review__list small { display: block; font-size: 11px; font-weight: 600; letter-spacing: .4px; text-transform: uppercase; color: var(--cv-text-muted); }
.cv-hb-review__img { flex: none; width: 44px; height: 44px; overflow: hidden; border-radius: 50%; background: var(--cv-green-light); }
.cv-hb-review__img img, .cv-hb-review__img .cv-noimg { width: 100%; height: 100%; object-fit: cover; }
.cv-hb-review__note { display: flex; align-items: center; gap: 8px; margin: 16px 0 0; font-size: 14px; color: var(--cv-text-muted); }
.cv-hb-review__note .cv-ico { color: var(--cv-green-dark); font-size: 16px; }

/* Footer: back · table · status · next/add — sticky while the assistant is taller than the screen */
.cv-hb-foot {
    position: sticky; bottom: 0; z-index: 3; display: grid; grid-template-columns: 90px auto 1fr auto; grid-template-areas: "back table status cta";
    align-items: center; gap: 16px; margin: 0 -32px; padding: 14px 32px 18px; background: #fff; border-top: 1px solid var(--cv-green-light);
    border-radius: 0 0 32px 32px; box-shadow: 0 -8px 16px -12px rgba(0, 0, 0, .12);
}
.cv-hb-foot__back { grid-area: back; }
.cv-hb-foot__table { grid-area: table; justify-self: end; }
.cv-hb-foot__status { grid-area: status; min-width: 0; }
.cv-hb-foot__cta { grid-area: cta; }
.cv-hb-foot__buy { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.cv-hb-msg { margin: 0; padding: 0 0 12px; font-size: 13px; text-align: right; }
.cv-hb-msg:empty { display: none; }
.cv-hb-msg.is-error { color: #B3261E; }

.cv-hb-qty { display: inline-flex; flex: none; align-items: center; height: 44px; overflow: hidden; border: 1px solid var(--cv-text); border-radius: 30px; background: #fff; }
.cv-holiday button.cv-hb-qty__btn,
.cv-holiday button.cv-hb-qty__btn:focus {
    width: 34px; height: 42px; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--cv-text);
    font: 400 18px/1 var(--cv-font-body); letter-spacing: normal; text-transform: none; box-shadow: none; cursor: pointer;
}
.cv-holiday button.cv-hb-qty__btn:hover { background: var(--cv-green-wash); color: var(--cv-green-dark); }
.cv-hb-qty__val { width: 30px; font-size: 15px; font-weight: 600; text-align: center; }

.cv-holiday button.cv-hb-add,
.cv-holiday button.cv-hb-add:focus {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; margin: 0; padding: 14px 30px; border: 0; border-radius: 30px;
    background: var(--cv-green-dark); color: #fff; font: 900 11px/1 var(--cv-font-cta); letter-spacing: 1px; text-transform: uppercase; white-space: nowrap;
    box-shadow: none; cursor: pointer; transition: background .2s;
}
.cv-holiday button.cv-hb-add:hover { background: #3d6a4b; color: #fff; }
.cv-holiday button.cv-hb-add[disabled],
.cv-holiday button.cv-hb-add[disabled]:hover { background: #E4E9DF; color: #5f6b56; cursor: not-allowed; }
.cv-hb-add .cv-ico { font-size: 14px; stroke-width: 3; }

.cv-holiday button.cv-hb-link,
.cv-holiday button.cv-hb-link:hover,
.cv-holiday button.cv-hb-link:focus {
    display: inline-flex; align-items: center; gap: 6px; min-height: 0; margin: 0; padding: 10px 4px; border: 0; border-radius: 0; background: none;
    color: var(--cv-green-dark); font: 600 14px/1 var(--cv-font-body); letter-spacing: normal; text-transform: none; box-shadow: none; cursor: pointer;
}
.cv-holiday button.cv-hb-link:hover { text-decoration: underline; }

.cv-hb-skel { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.cv-hb-skel span { display: block; height: 170px; border-radius: 14px; background: linear-gradient(90deg, #f0f4ec 0%, #f8faf5 50%, #f0f4ec 100%); background-size: 200% 100%; animation: cvSkel 1.1s linear infinite; }
@keyframes cvSkel { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* Listing 2801 lays a simple product's form out in one row (points text · qty · button); on a
   phone the text squeezes the qty field to ~59×77px (same on Soul Pantry). Give the text its own line. */
@media (max-width: 767px) {
    /* Elementor Pro forces nowrap on this form with a longer selector; !important is scoped to the holiday grid. */
    .cv-hol-grid .elementor-add-to-cart form.cart:not(.grouped_form):not(.variations_form) { flex-wrap: wrap !important; row-gap: 10px; }
    .cv-hol-grid form.cart:not(.variations_form) .wc-points-rewards-product-message { flex: 0 0 100%; }
    .cv-hol-grid form.cart:not(.variations_form) > br { display: none; }
}

/* ───── Cart: delivery date card (a .cv-cart-bundle-card with the à la carte date tabs) ───── */
.cv-hol-slot { margin: 0 0 20px; }
.cv-hol-slot .cv-cart-bundle-card__badge .cv-ico { font-size: 15px; }
.cv-hol-slot__body { padding: 16px 22px 18px; }
.cv-hol-slot__help { margin: 0 0 12px; font-size: 14px; color: var(--cv-text-muted); }
.cv-hol-slot__options { display: flex; flex-wrap: wrap; gap: 10px; }
.cv-hol-slot__option { position: relative; margin: 0; }
.cv-hol-slot__option .cv-step-icon .cv-ico { width: 14px; height: 14px; stroke-width: 2.5; }
.cv-hol-slot__option:focus-within { outline: 3px solid rgba(156, 192, 105, .6); outline-offset: 2px; }
.cv-hol-slot__radio { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.cv-hol-slot__status { margin: 10px 0 0; font-size: 13px; color: var(--cv-green-dark); }
.cv-hol-slot.is-incomplete .cv-hol-slot__status { color: #6b4f0a; }
.cv-hol-slot__status.is-error, .cv-hol-slot__closed { color: #B3261E; }
.cv-hol-slot__closed { margin: 0; font-weight: 600; }
/* The slot label is long: stack it under its label instead of squeezing two columns. */
.cv-cart-summary__row.cv-hol-summary-slot { flex-direction: column; align-items: flex-start; gap: 2px; }
.cv-cart-summary__row.cv-hol-summary-slot dd { margin: 0; text-align: left; font-weight: 600; color: #2c2c2c; }

/* Cart line: the package choices, one group per line */
.cv-cart-item:not(:has(.cv-cart-item__image)) { grid-template-columns: minmax(0, 1fr) auto auto; }
.cv-cart-item__package { margin: 4px 0 0; padding: 0; list-style: none; font-size: 12.5px; line-height: 1.45; color: var(--cv-text-muted, #6b6b6b); }
.cv-cart-item__package li { display: grid; grid-template-columns: 62px minmax(0, 1fr); align-items: start; margin: 0 0 2px; }
.cv-cart-item__package-label { font-weight: 600; color: #2c2c2c; }
/* cart-page.css (≤600px) gives the line body one narrow column (the third, auto, column is sized
   by the price below). The remove button is absolutely positioned, so a package line can let its
   body take that column too, and stack each group label above its dishes. */
@media (max-width: 600px) {
    .cv-cart-item:has(.cv-cart-item__package) .cv-cart-item__body { grid-column: 2 / -1; }
    .cv-cart-item:has(.cv-cart-item__package) .cv-cart-item__image { align-self: start; }
    .cv-cart-item__package li { display: block; margin: 0 0 6px; }
    .cv-cart-item__package-label { display: block; }
}

/* ───── Checkout (Blocks) ───── */
.cv-hol-checkout-slot {
    display: flex; align-items: center; gap: 12px; max-width: 1170px; margin: 0 auto 24px; padding: 12px 18px; border: 2px solid var(--cv-green-light);
    border-radius: var(--cv-radius); background: var(--cv-green-wash); font-family: var(--cv-font-body); color: var(--cv-text);
}
.cv-hol-checkout-slot p { flex: 1; margin: 0; font-size: 15px; line-height: 1.3; }
.cv-hol-checkout-slot small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; color: var(--cv-text-muted); }
.cv-hol-checkout-slot strong { font-weight: 600; }
div.cv-hol-checkout-slot a,
div.cv-hol-checkout-slot a:hover { color: var(--cv-green-dark); font-size: 14px; font-weight: 600; text-decoration: underline; }
/* Blocks prints each item-data row as an inline span ending in an aria-hidden " / " separator;
   for a package that reads as one run-on paragraph. One group per line instead. */
body.cv-holiday-cart .wc-block-components-order-summary-item .wc-block-components-product-details > span { display: block; margin: 0 0 3px; }
body.cv-holiday-cart .wc-block-components-order-summary-item .wc-block-components-product-details > span > span[aria-hidden="true"] { display: none; }
body.cv-holiday-cart .wc-block-components-order-summary-item .wc-block-components-product-details__name { font-weight: 600; }

/* ───── Thank-you / My Account → view order ───── */
.cv-thankyou .cv-hol-order-box {
    margin: 0 0 28px; padding: 22px 24px; border: 1px solid var(--cv-border); border-radius: var(--cv-radius); background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .04);
}
.cv-thankyou .cv-hol-order-box__facts { justify-content: flex-start; margin: 0; }
/* A package row carries its choices under the name: let the row wrap instead of squeezing the name. */
.cv-thankyou-card__items li:has(> .cv-thankyou-card__item-meta) { flex-wrap: wrap; }
/* thankyou.css styles every `.cv-thankyou-card__items li` (flex, bullet, tinted background),
   which also hits these nested rows — hence the extra class in each selector. */
.cv-thankyou-card__items .cv-thankyou-card__item-meta { flex-basis: 100%; margin: 4px 0 2px; padding: 0 0 0 16px; list-style: none; font-size: 13px; line-height: 1.45; color: #555; }
.cv-thankyou-card__items .cv-thankyou-card__item-meta li { display: grid; grid-template-columns: 70px minmax(0, 1fr); align-items: start; padding: 0; margin: 0 0 3px; background: none; font-size: 13px; }
.cv-thankyou-card__items .cv-thankyou-card__item-meta li::before { content: none; }
.cv-thankyou-card__item-meta-label { font-weight: 600; color: #2c2c2c; }

/* ───── Responsive ───── */
@media (max-width: 900px) {
    .cv-pcard__body { padding: 20px 24px; }
}
@media (max-width: 767px) {
    .cv-holiday h2.cv-hol-event__title { font-size: 28px; }
    .cv-holiday p.cv-hol-event__note { font-size: 15px; }
    .cv-holiday h3.cv-hol-section__title { font-size: 21px; }
    .cv-holiday .cv-hol-nav { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin: 0 -16px; padding: 0 16px 4px; scrollbar-width: none; }
    .cv-holiday .cv-hol-nav a { flex: none; }
    .cv-pcard { flex-direction: column; min-height: 0; border-radius: 48px; }
    .cv-pcard__media { flex: none; width: 100%; max-width: none; aspect-ratio: 16 / 9; border-radius: 48px 48px 0 0; }
    .cv-pcard__body { padding: 18px 16px 22px; }
    .cv-holiday h3.cv-pcard__title { font-size: 22px; letter-spacing: .8px; }
    .cv-hpkg.is-open .cv-hpkg__card { border-radius: 48px 48px 0 0; }

    .cv-hb-panel { padding: 0 16px; border-radius: 0 0 28px 28px; }
    .cv-hb-steps { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin: 0 -16px 4px; padding: 16px 16px 10px; scrollbar-width: none; }
    .cv-holiday button.cv-hb-step { flex: none; padding: 8px 12px; font-size: 13px; }
    .cv-hb-tiles, .cv-hb-skel { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .cv-hb-versions, .cv-hb-review__list { grid-template-columns: 1fr; }
    .cv-hb-foot { grid-template-columns: auto 1fr auto; grid-template-areas: "table table table" "back status cta"; gap: 10px 12px; margin: 0 -16px; padding: 10px 16px 12px; border-radius: 0; }
    .cv-hb-foot__table { justify-self: start; }
    .cv-hb-foot .cv-hb-plate { width: 34px; height: 34px; }
    .cv-hb-foot .cv-hb-plate.is-main { width: 40px; height: 40px; }
    .cv-hb-foot__back-label { display: none; }
    .cv-holiday button.cv-hb-foot__back { justify-content: center; width: 36px; height: 36px; padding: 0; border-radius: 50%; background: var(--cv-green-wash); font-size: 20px; }
    .cv-hb-foot__status .cv-hb-status { font-size: 13px; }
    .cv-hb-foot__status small { display: none; }
    .cv-holiday button.cv-hb-foot__cta { padding: 14px 20px; }
    .cv-hb-foot__buy.cv-hb-foot__cta { grid-column: 1 / -1; grid-row: 3; flex-wrap: nowrap; justify-content: space-between; }
    .cv-hb-foot__buy.cv-hb-foot__cta button.cv-hb-add { flex: 1; min-width: 0; padding: 14px 16px; }

    .cv-hol-slot__body { padding: 14px 16px 16px; }
    .cv-hol-slot__option { width: 100%; }
    .cv-hol-checkout-slot { margin: 0 16px 20px; }
}
@media (prefers-reduced-motion: reduce) {
    .cv-holiday *, .cv-holiday *::before, .cv-holiday *::after { transition: none !important; animation: none !important; }
}
