/*
 * 321skivacances.com - design (redesign 2026-09, Bootstrap 5.3). docs/migration/REDESIGN.md
 * Alpine comparator palette: navy for structure and headings, ski blue for every interaction
 * (links, buttons, selection), ice and snow surfaces. Red is semantic only: promotions, discounts,
 * bons plans; never the generic action colour.
 */
:root {
    /* Palette */
    --ski-navy: #062b59;          /* headings, nav, strong type, dark icons */
    --ski-navy-2: #0b3d78;
    --ski-blue: #0866d9;          /* primary CTAs, links, active / selected */
    --ski-blue-dark: #0654b4;     /* hover of blue actions */
    --ski-blue-2: #168bd2;        /* secondary accent, used sparingly */
    --ski-sky: #9fd4f5;
    --ski-ice: #eaf5fc;           /* icon backgrounds, selected chips, pale surfaces */
    --ski-snow: #f7fafd;          /* section backgrounds */
    --ski-field: #f1f6fb;         /* secondary fields (header search) */
    --ski-line: #e2eaf2;
    --ski-line-soft: #e6edf5;
    --ski-muted: #566a84;         /* secondary copy, blue grey */
    --ski-text: #10243f;
    --ski-promo: #ef3340;         /* deals only: large or decorative promo accents (dots, borders, icons) */
    --ski-promo-dark: #c81e2c;    /* red text on white and every promo badge with small white text (AA: 5.6:1) */
    --ski-promo-soft: #fdeaec;
    --ski-highlight: #9dd6ff;     /* light blue on the hero photo */
    --ski-gold: #f2b01e;
    /* Ski run difficulty (resort pages) */
    --ski-run-green: #2e9d52;
    --ski-run-blue: #1f6fd1;
    --ski-run-red: #d83a3a;
    --ski-run-black: #1b2331;

    /* Shapes and depth */
    --radius-chip: 9px;
    --radius-control: 10px;
    --card-radius: 14px;
    --radius-panel: 20px;
    --shadow-soft: 0 1px 2px rgba(6, 43, 89, .05), 0 2px 8px rgba(6, 43, 89, .05);
    --shadow-hover: 0 2px 4px rgba(6, 43, 89, .06), 0 10px 24px rgba(6, 43, 89, .11);
    --shadow-menu: 0 4px 10px rgba(6, 43, 89, .08), 0 14px 30px rgba(6, 43, 89, .12);
    --focus-ring: 0 0 0 3px rgba(8, 102, 217, .35);
    --header-h: 66px;
    --site-max: 1200px;

    --bs-primary: var(--ski-blue);
    --bs-primary-rgb: 8, 102, 217;
    --bs-link-color: var(--ski-blue);
    --bs-link-color-rgb: 8, 102, 217;
    --bs-link-hover-color: var(--ski-blue-dark);
    --bs-link-hover-color-rgb: 6, 84, 180;
    --bs-body-bg: var(--ski-snow);
    --bs-body-color: var(--ski-text);
    --bs-body-font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --bs-border-radius: var(--radius-control);
    --bs-border-color: var(--ski-line);
}

body { -webkit-font-smoothing: antialiased; }
a { text-decoration: none; }
a:hover { text-decoration: underline; }
.bi { vertical-align: -.125em; flex-shrink: 0; }
.skip-link { position: absolute; top: .5rem; left: .5rem; z-index: 2000; padding: .5rem 1rem; background: #fff; border-radius: var(--radius-control); }
h1, h2, h3, .h4, .h5 { letter-spacing: -.01em; }

/* One content grid for header, hero, strip and sections: 1200 px max, 16 px side padding. */
.container { --bs-gutter-x: 2rem; }
@media (min-width: 1200px) { .container { max-width: var(--site-max); } }

/* Keyboard focus: always visible (white on the hero photo). */
a:focus-visible, button:focus-visible, .btn:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--ski-blue); outline-offset: 2px; box-shadow: none; }
.hero a:focus-visible, .site-footer a:focus-visible { outline-color: #fff; }
.hero .hero-search a:focus-visible, .hero .hero-search button:focus-visible { outline-color: var(--ski-blue); }

/* Buttons: blue is the action colour. */
.btn-primary {
    --bs-btn-color: #fff; --bs-btn-bg: var(--ski-blue); --bs-btn-border-color: var(--ski-blue);
    --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--ski-blue-dark); --bs-btn-hover-border-color: var(--ski-blue-dark);
    --bs-btn-active-color: #fff; --bs-btn-active-bg: #05479a; --bs-btn-active-border-color: #05479a;
    --bs-btn-disabled-bg: var(--ski-blue); --bs-btn-disabled-border-color: var(--ski-blue);
    --bs-btn-focus-shadow-rgb: 8, 102, 217;
    font-weight: 700;
}

/* Secondary action: blue outline on white, ice hover (page files may still refine it). */
.btn-outline-primary {
    --bs-btn-color: var(--ski-blue); --bs-btn-bg: #fff; --bs-btn-border-color: #b9d3ee;
    --bs-btn-hover-color: var(--ski-blue-dark); --bs-btn-hover-bg: var(--ski-ice); --bs-btn-hover-border-color: var(--ski-blue);
    --bs-btn-active-color: var(--ski-blue-dark); --bs-btn-active-bg: var(--ski-ice); --bs-btn-active-border-color: var(--ski-blue);
    --bs-btn-focus-shadow-rgb: 8, 102, 217;
    font-weight: 600;
}
/* Small count next to a label (filters, chips, section titles). */
.count-badge { display: inline-block; min-width: 1.4rem; text-align: center; font-size: .74rem; font-weight: 700; line-height: 1.4; padding: 0 .35rem; border-radius: 6px; background: var(--ski-ice); color: var(--ski-blue-dark); }

/* Header: white, 66 px, hairline separation. */
/* No backdrop-filter here: it would become the containing block of the fixed offcanvas menu. */
.site-header { background: #fff; border-bottom: 1px solid var(--ski-line-soft); }
.site-header .navbar { --bs-navbar-padding-y: .375rem; min-height: var(--header-h); gap: .75rem; }
.site-header .container { gap: 1rem; flex-wrap: nowrap; }
.site-header .navbar-brand { padding: 0; margin: 0 .25rem 0 0; flex-shrink: 0; line-height: 0; }
.site-header .navbar-brand img { width: 172px; height: auto; display: block; }
.site-header .navbar-toggler { border: 0; font-size: 1.6rem; color: var(--ski-navy); padding: .35rem .5rem; margin-left: auto; border-radius: var(--radius-control); }
.site-header .navbar-toggler:focus { box-shadow: var(--focus-ring); }
.site-header .navbar-nav { gap: .25rem; }
.site-header .nav-link { color: var(--ski-navy); font-weight: 600; font-size: .95rem; border-radius: var(--radius-control); padding: .5rem .75rem !important; display: flex; align-items: center; white-space: nowrap; }
.site-header .nav-link > .bi:first-child { color: var(--ski-navy); font-size: 1.05rem; margin-right: .45rem !important; }
.site-header .nav-link.dropdown-toggle::after { border-top-width: .3em; border-left-width: .28em; border-right-width: .28em; margin-left: .4em; opacity: .7; }
.site-header .nav-item-account .nav-link > .bi:first-child { font-size: 1.35rem; margin-right: 0 !important; }
.site-header .nav-link:hover, .site-header .nav-link.show { background: var(--ski-field); color: var(--ski-navy); text-decoration: none; }
.site-header .nav-link.active { color: var(--ski-blue); }
.site-header .nav-link-deals, .site-header .nav-link-deals:hover, .site-header .nav-link-deals.active { color: var(--ski-promo-dark); }
.site-header .nav-link-deals > .bi:first-child { color: var(--ski-promo); }
.site-header .nav-link-deals:hover { background: var(--ski-promo-soft); }
.site-header .dropdown-menu { border: 1px solid var(--ski-line-soft); border-radius: var(--card-radius); box-shadow: var(--shadow-menu); padding: .5rem; }
.site-header .dropdown-item { border-radius: 8px; padding: .4rem .75rem; font-size: .93rem; color: var(--ski-text); }
.site-header .dropdown-item:hover, .site-header .dropdown-item:focus { background: var(--ski-ice); color: var(--ski-navy); }
.site-header .dropdown-header { font-weight: 700; text-transform: uppercase; font-size: .72rem; letter-spacing: .06em; color: var(--ski-muted); }
@media (min-width: 992px) {
    /* Desktop nav reads as words; only the bons plans tag and the account icon keep their icon. */
    .site-header .nav-item:not(.nav-item-account) .nav-link:not(.nav-link-deals) > .bi:first-child { display: none; }
    .dropdown-menu-wide { min-width: 30rem; }
    .site-header .offcanvas { flex-grow: 0; margin-left: auto; }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
    .site-header .navbar-brand img { width: 158px; }
    .site-header .navbar-nav { gap: 0; }
    .site-header .nav-link { padding: .5rem .55rem !important; }
}
@media (max-width: 991.98px) {
    .site-header .offcanvas { max-width: 22rem; }
    .site-header .offcanvas-body .nav-link { padding: .7rem .75rem !important; font-size: 1.05rem; }
    .site-header .dropdown-menu { box-shadow: none; border: 0; background: var(--ski-ice); margin: .25rem 0 .5rem; }
}
@media (max-width: 575.98px) {
    .site-header .navbar-brand img { width: 136px; }
}

/* Header search: secondary to the hero search. */
.header-search { flex: 1 1 auto; min-width: 0; max-width: 25rem; margin-left: 1rem; }
@media (max-width: 991.98px) { .header-search { margin-left: .5rem; } }
.header-search-mobile { max-width: none; }
.header-search-field { position: relative; }
.header-search-field .header-search-icon { position: absolute; left: .9rem; font-size: 1rem; top: 50%; transform: translateY(-50%); color: var(--ski-muted); pointer-events: none; }
.header-search-field .form-control { border-radius: var(--radius-control); background: var(--ski-field); border: 1px solid var(--ski-line); padding: .5rem .9rem .5rem 2.5rem; min-height: 2.6rem; font-size: .95rem; color: var(--ski-text); transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease; }
.header-search-field .form-control::placeholder { color: #62748c; }
.header-search-field .form-control:focus { background: #fff; border-color: var(--ski-blue); box-shadow: var(--focus-ring); }

/* Location suggestions */
.location-search { position: relative; }
.ls-results {
    position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 1060; margin: 0; padding: .35rem;
    background: #fff; border: 1px solid var(--ski-line-soft); border-radius: 12px; box-shadow: var(--shadow-menu); max-height: 22rem; overflow-y: auto; text-align: left;
}
.ls-option { display: flex; align-items: center; gap: .75rem; padding: .5rem .65rem; border-radius: 8px; cursor: pointer; }
.ls-option.is-active, .ls-option:hover { background: var(--ski-ice); }
.ls-text { display: flex; flex-direction: column; min-width: 0; }
.ls-name { font-weight: 600; color: var(--ski-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ls-parents { font-size: .78rem; color: var(--ski-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ls-type { margin-left: auto; flex-shrink: 0; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--ski-blue); background: var(--ski-ice); border-radius: 6px; padding: .15rem .5rem; }
.is-accommodation .ls-type { color: var(--ski-navy); background: #e8edf4; }
.ls-empty { padding: .6rem .75rem; font-size: .9rem; color: var(--ski-muted); }

/* Hero: the photo (skier on the left), a navy gradient behind the copy only, white search card on the right. */
/* No overflow: hidden, so the destination suggestions can extend below the hero (z-index keeps them above the next sections). */
.hero { position: relative; z-index: 2; color: #fff; background: #2f6fb6; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 0 38%; }
.hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background:
        /* Horizontal protection: strongest behind the copy (left), fading out before the centre, none on the
           mountains and sun on the right. The skier (far left) stays visible under the lighter first stop. */
        linear-gradient(90deg, rgba(6, 43, 89, .42) 0%, rgba(6, 43, 89, .58) 16%, rgba(6, 43, 89, .5) 30%, rgba(6, 43, 89, .26) 42%, rgba(6, 43, 89, .08) 52%, rgba(6, 43, 89, 0) 60%),
        linear-gradient(180deg, rgba(6, 43, 89, .14) 0%, rgba(6, 43, 89, 0) 35%, rgba(6, 43, 89, 0) 80%, rgba(6, 43, 89, .12) 100%);
}
.hero-inner { position: relative; z-index: 1; padding-top: 3rem; padding-bottom: 3.4rem; }
.hero-eyebrow { display: inline-flex; align-items: center; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: rgba(6, 43, 89, .45); border: 1px solid rgba(255, 255, 255, .28); border-radius: 8px; padding: .38rem .8rem; margin-bottom: 1rem; }
.hero-eyebrow .bi { font-size: 1.05rem; color: var(--ski-highlight); }
.hero-title { font-weight: 800; font-size: clamp(2.1rem, 3.3vw, 3.25rem); line-height: 1.08; letter-spacing: -.02em; margin-bottom: 1rem; text-shadow: 0 2px 16px rgba(3, 22, 50, .35); }
.hero-title-accent { color: var(--ski-highlight); }
.hero-lead { font-size: clamp(1rem, 1.15vw, 1.13rem); line-height: 1.5; color: #fff; max-width: 31rem; margin-bottom: 1.5rem; text-shadow: 0 1px 10px rgba(3, 22, 50, .45); }
.hero-trust { display: flex; flex-wrap: wrap; gap: .85rem 1.5rem; margin: 0; font-weight: 600; font-size: .92rem; line-height: 1.3; text-shadow: 0 1px 8px rgba(3, 22, 50, .5); }
.hero-trust li { display: flex; align-items: center; gap: .6rem; max-width: 12.5rem; }
.hero-trust-icon { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .5); color: #fff; font-size: 1.05rem; text-shadow: none; }

.hero-search { background: #fff; color: var(--ski-text); border-radius: var(--radius-panel); box-shadow: 0 2px 6px rgba(3, 22, 50, .08), 0 16px 40px rgba(3, 22, 50, .18); padding: 1.75rem 1.75rem 1.35rem; }
.hero-search-title { font-weight: 800; font-size: 1.4rem; letter-spacing: -.015em; margin-bottom: 1.1rem; color: var(--ski-navy); }
.hero-search .form-label { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--ski-navy); margin-bottom: .4rem; }
.hero-search .form-control, .hero-search .form-select { border-color: #d6e2ef; border-radius: var(--radius-control); background-color: var(--ski-snow); color: var(--ski-text); min-height: 2.75rem; }
.hero-search .form-control::placeholder { color: #5d6f87; }
.hero-search .form-control-lg, .hero-search .form-select-lg { font-size: 1rem; min-height: 3.15rem; }
.hero-search .form-control:hover, .hero-search .form-select:hover { border-color: #b9cde3; }
.hero-search .form-control:focus, .hero-search .form-select:focus { background-color: #fff; border-color: var(--ski-blue); box-shadow: var(--focus-ring); }
.input-icon { position: relative; }
.input-icon > .bi { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--ski-blue); font-size: 1.1rem; pointer-events: none; z-index: 2; }
.input-icon > .form-control, .input-icon > .form-select { padding-left: 2.85rem; }
.hero-submit { display: flex; align-items: center; justify-content: center; min-height: 3.15rem; border-radius: var(--radius-control); font-size: 1.08rem; box-shadow: 0 1px 2px rgba(6, 43, 89, .16); }
.hero-more-toggle { padding: .25rem 0; font-weight: 600; font-size: .92rem; color: var(--ski-blue); text-decoration: none; display: inline-flex; align-items: center; }
.hero-more-toggle:hover { color: var(--ski-blue-dark); text-decoration: underline; }
.hero-more-chevron { transition: transform .2s ease; }
.hero-more-toggle:not(.collapsed) .hero-more-chevron { transform: rotate(180deg); }

/* "Envies" chips: translucent over the photo; a small red dot marks the deal-related ones. */
.hero-chips { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: 1.75rem; }
.hero-chips-label { font-weight: 700; font-size: .92rem; color: #fff; margin-right: .25rem; text-shadow: 0 1px 8px rgba(3, 22, 50, .6); }
.hero-chips a { display: inline-flex; align-items: center; gap: .45rem; color: #fff; font-weight: 600; font-size: .9rem; padding: .42rem .85rem; border-radius: var(--radius-chip); background: rgba(6, 43, 89, .5); border: 1px solid rgba(255, 255, 255, .4); text-shadow: 0 1px 4px rgba(3, 22, 50, .35); transition: background-color .15s ease, border-color .15s ease; }
.hero-chips a:hover { background: rgba(8, 102, 217, .78); border-color: rgba(255, 255, 255, .7); text-decoration: none; }
.hero-chips a.hero-chip-promo::before { content: ""; width: .45rem; height: .45rem; border-radius: 50%; background: var(--ski-promo); box-shadow: 0 0 0 2px rgba(255, 255, 255, .85); flex-shrink: 0; }
/* Understated snow edge into the white strip. */
.hero-wave { position: absolute; left: 0; bottom: -1px; width: 100%; height: 1.6rem; fill: #fff; z-index: 0; pointer-events: none; }
@media (min-width: 1200px) {
    .hero-copy { padding-right: 2.5rem; }
    .hero-trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; max-width: 40rem; }
    .hero-trust li { max-width: none; }
}
@media (max-width: 991.98px) {
    .hero-inner { padding-top: 2.25rem; padding-bottom: 3rem; }
    .hero::before { background: linear-gradient(180deg, rgba(6, 43, 89, .3) 0%, rgba(6, 43, 89, .5) 45%, rgba(6, 43, 89, .7) 100%); }
    .hero-media img { object-position: 12% 38%; }
    .hero-lead { max-width: 36rem; }
}
@media (max-width: 767.98px) {
    .hero { background: #0b4585; }
    .hero-media { bottom: auto; height: 36rem; }
    .hero-media::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40%; background: linear-gradient(180deg, rgba(11, 69, 133, 0), #0b4585); }
    .hero-media img { object-position: 20% 30%; }
    .hero::before { background: linear-gradient(180deg, rgba(6, 43, 89, .2) 0%, rgba(6, 43, 89, .5) 18rem, rgba(6, 43, 89, .25) 36rem, rgba(6, 43, 89, 0) 100%); }
    .hero-inner { padding-top: 1.5rem; padding-bottom: 2.5rem; }
    .hero-eyebrow { font-size: .7rem; padding: .3rem .65rem; margin-bottom: .75rem; }
    .hero-title { font-size: 2rem; margin-bottom: .75rem; }
    .hero-lead { font-size: 1rem; margin-bottom: 1.1rem; }
    .hero-search { padding: 1.25rem 1.1rem 1rem; border-radius: 18px; }
    .hero-search-title { font-size: 1.2rem; margin-bottom: .85rem; }
    .hero-search .input-icon > .form-control, .hero-search .input-icon > .form-select { padding-left: 2.15rem; font-size: .94rem; }
    .hero-search .input-icon > .bi { left: .7rem; font-size: 1rem; }
    .hero-search .input-icon > input[type="date"] { padding-right: .55rem; }
    .hero-search .form-select-lg { padding-right: 1.75rem; background-position: right .55rem center; }
    .hero-chips { flex-wrap: nowrap; overflow-x: auto; margin-top: 1.4rem; margin-inline: calc(var(--bs-gutter-x) * -.5); padding-inline: calc(var(--bs-gutter-x) * .5); padding-block: .2rem; scrollbar-width: none; }
    .hero-chips::-webkit-scrollbar { display: none; }
    .hero-chips a { white-space: nowrap; flex-shrink: 0; min-height: 2.5rem; }
    .hero-chips-label { flex-shrink: 0; }
    .hero-wave { height: 1rem; }
}
@media (max-width: 575.98px) {
    /* Trust points as a compact list: readable text instead of three narrow columns. */
    .hero-trust { flex-direction: column; gap: .5rem; font-size: .9rem; }
    .hero-trust li { max-width: none; }
    .hero-trust-icon { width: 1.9rem; height: 1.9rem; font-size: .9rem; }
}

/* Benefit strip under the hero */
.features-bar { background: #fff; padding: 1.8rem 0 2.1rem; border-bottom: 1px solid var(--ski-line-soft); }
.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem 1.5rem; margin: 0; }
.features li { display: flex; align-items: center; gap: .9rem; }
.features li > span:last-child { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.features strong { font-weight: 700; font-size: 1rem; color: var(--ski-navy); }
.features li > span:last-child > span { color: var(--ski-muted); font-size: .88rem; margin-top: .1rem; }
.feature-icon { flex-shrink: 0; width: 3.1rem; height: 3.1rem; border-radius: 50%; background: var(--ski-ice); color: var(--ski-blue); display: inline-flex; align-items: center; justify-content: center; font-size: 1.4rem; }
@media (min-width: 992px) and (max-width: 1199.98px) {
    .features { gap: 1rem; }
    .features li { gap: .7rem; }
    .feature-icon { width: 2.7rem; height: 2.7rem; font-size: 1.2rem; }
    .features strong { font-size: .94rem; }
    .features li > span:last-child > span { font-size: .82rem; }
}
@media (max-width: 991.98px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) {
    .features-bar { padding: 1rem 0 1.15rem; }
    .features { gap: 1rem .75rem; }
    .features li { gap: .6rem; align-items: flex-start; }
    .feature-icon { width: 2.5rem; height: 2.5rem; font-size: 1.1rem; }
    .features strong { font-size: .9rem; line-height: 1.25; }
    .features li > span:last-child > span { font-size: .8rem; }
}

/* Sections */
.section { padding-top: 3.5rem; }
.section-band { margin-top: 3.5rem; padding-top: 3rem; padding-bottom: 3rem; background: var(--ski-ice); border-block: 1px solid #dcebf6; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 1.4rem; flex-wrap: wrap; }
/* Kickers in blue (editorial labels); red only for the deals section. */
.section-kicker { display: flex; align-items: center; font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ski-blue); margin-bottom: .4rem; }
.section-kicker-promo { color: var(--ski-promo-dark); }
.section-title { font-size: clamp(1.4rem, 2.4vw, 1.8rem); font-weight: 800; color: var(--ski-navy); margin: 0; }
.section-lead { color: var(--ski-muted); margin: .35rem 0 0; }
.section-actions { display: flex; align-items: center; gap: 1rem; }
.section-link { white-space: nowrap; font-weight: 600; display: inline-flex; align-items: center; gap: .35rem; }

/* Sliders (Swiper) */
.swiper { position: relative; overflow: hidden; padding: .35rem .35rem 1rem; margin: -.35rem -.35rem -1rem; }
.swiper:not(.swiper-initialized) .swiper-wrapper { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.swiper:not(.swiper-initialized) .swiper-slide { flex: 0 0 auto; scroll-snap-align: start; }
.swiper-slide { height: auto; display: flex; }
.offer-slider .swiper-slide { width: 18.5rem; }
.deal-slider .swiper-slide { width: 16.5rem; }
.swiper-nav-group { display: flex; gap: .5rem; }
.swiper-nav { width: 2.5rem; height: 2.5rem; border: 1px solid var(--ski-line); border-radius: 50%; background: #fff; color: var(--ski-blue); display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--shadow-soft); transition: background-color .15s ease, border-color .15s ease, opacity .15s ease; }
.swiper-nav:hover { background: var(--ski-ice); border-color: #b9d6f0; color: var(--ski-blue-dark); }
.swiper-nav.swiper-button-disabled { opacity: .35; pointer-events: none; }
.swiper-nav.swiper-button-lock { display: none; }
@media (max-width: 767.98px) {
    .swiper-nav-group { display: none; }
    .offer-slider .swiper-slide { width: 82%; max-width: 20rem; }
    .deal-slider .swiper-slide { width: 72%; max-width: 17rem; }
}

/* Accommodation card: photo, location, name, rating, facts, price, CTA. */
.offer-card { position: relative; display: flex; flex-direction: column; width: 100%; background: #fff; border: 1px solid var(--ski-line); border-radius: var(--card-radius); box-shadow: var(--shadow-soft); overflow: hidden; transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease; }
.offer-card:hover { box-shadow: var(--shadow-hover); border-color: #d3e1ef; transform: translateY(-2px); }
.offer-card:has(.offer-card-title a:focus-visible), .deal-card:has(.deal-card-title a:focus-visible) { outline: 3px solid var(--ski-blue); outline-offset: 2px; }
.offer-card-media { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--ski-ice); overflow: hidden; }
.offer-card-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.offer-card:hover .offer-card-media img { transform: scale(1.03); }
.offer-badge { position: absolute; top: .7rem; left: .7rem; background: var(--ski-promo-dark); color: #fff; font-weight: 800; font-size: .92rem; line-height: 1.2; padding: .25rem .55rem; border-radius: 7px; }
.offer-formula { position: absolute; left: .7rem; bottom: .7rem; max-width: calc(100% - 1.4rem); background: rgba(6, 43, 89, .85); color: #fff; font-size: .74rem; font-weight: 600; padding: .22rem .55rem; border-radius: 7px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.offer-card-body { display: flex; flex-direction: column; flex: 1; padding: .9rem 1rem 1rem; }
.offer-card-resort { display: flex; align-items: center; min-width: 0; font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--ski-muted); margin: 0 0 .15rem; white-space: nowrap; }
.offer-card-resort .bi { color: var(--ski-blue); }
.offer-card-location { overflow: hidden; text-overflow: ellipsis; }
/* Accommodation type (owner, 2026-09-28): a quiet label above the name. */
.offer-card-type { font-size: .8rem; font-weight: 600; color: var(--ski-blue-dark); margin: 0 0 .3rem; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.offer-card-title { font-size: 1rem; font-weight: 700; line-height: 1.3; margin: 0 0 .4rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.offer-card-title a { color: var(--ski-navy); }
.offer-card-title a:focus-visible { outline: 0; }
.offer-card-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.offer-card-rating { display: flex; align-items: center; gap: .6rem; font-size: .82rem; color: var(--ski-muted); margin-bottom: .45rem; }
.offer-stars { color: var(--ski-gold); display: inline-flex; gap: 1px; font-size: .8rem; }
.offer-score strong { color: var(--ski-navy); }
.offer-card-facts { display: flex; flex-wrap: wrap; gap: .25rem .9rem; font-size: .82rem; color: var(--ski-muted); margin: 0 0 .75rem; }
.offer-card-facts li { display: flex; align-items: center; gap: .35rem; }
.offer-card-footer { display: flex; align-items: flex-end; justify-content: space-between; gap: .75rem; margin-top: auto; padding-top: .75rem; border-top: 1px solid var(--ski-line-soft); }
.offer-price { display: flex; flex-direction: column; line-height: 1.15; }
.offer-price-label { font-size: .72rem; color: var(--ski-muted); }
.offer-price-value { font-size: 1.35rem; font-weight: 800; color: var(--ski-navy); white-space: nowrap; }
.offer-price-value small { font-size: .72rem; font-weight: 600; color: var(--ski-muted); white-space: normal; }
.offer-price-old { font-size: .74rem; color: var(--ski-muted); }
.offer-cta { position: relative; z-index: 2; border-radius: var(--radius-chip); white-space: nowrap; padding: .4rem .9rem; }

/* Destination cards ("Nos destinations phares" slider) */
.section-kicker-dash::before { content: ""; display: inline-block; width: 1.75rem; height: 3px; border-radius: 2px; background: currentColor; margin-right: .7rem; }
.section-title-lg { font-size: clamp(1.55rem, 2.6vw, 2.1rem); }
.section-destinations { padding-top: 2.5rem; }
.destination-slider-wrap { position: relative; }
.destination-slider .swiper-slide { width: 80%; max-width: 23rem; }
.destination-card { position: relative; display: block; width: 100%; aspect-ratio: 16 / 10; border-radius: var(--card-radius); overflow: hidden; background: var(--ski-navy); box-shadow: var(--shadow-soft); isolation: isolate; }
.destination-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; z-index: -1; }
.destination-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 43, 89, 0) 42%, rgba(6, 43, 89, .8) 100%); z-index: -1; }
.destination-card:hover { text-decoration: none; box-shadow: var(--shadow-hover); }
.destination-card:hover img { transform: scale(1.04); }
.destination-card-text { position: absolute; left: 1rem; right: 1rem; bottom: .9rem; display: flex; flex-direction: column; gap: .1rem; color: #fff; text-shadow: 0 1px 6px rgba(3, 22, 50, .5); }
.destination-card-name { font-weight: 700; font-size: 1.3rem; line-height: 1.15; letter-spacing: -.01em; }
.destination-card-meta { display: flex; flex-wrap: wrap; font-size: .86rem; color: rgba(255, 255, 255, .9); }
.destination-card-meta > span + span::before { content: "·"; margin: 0 .45rem; font-weight: 700; }
.destination-nav { position: absolute; top: 50%; z-index: 3; width: 2.75rem; height: 2.75rem; transform: translateY(-50%); font-size: 1.05rem; box-shadow: var(--shadow-hover); }
.destination-nav.swiper-nav-next { right: -.5rem; }
.destination-nav.swiper-nav-prev { left: -.5rem; }
.destination-nav.swiper-button-disabled { opacity: 0; }
@media (min-width: 1280px) { .destination-nav.swiper-nav-next { right: -1.375rem; } .destination-nav.swiper-nav-prev { left: -1.375rem; } }
@media (max-width: 767.98px) {
    .destination-nav { display: none; }
    .destination-card-name { font-size: 1.15rem; }
    .destination-card-meta { font-size: .82rem; }
}

/* Deal card: the value badge is the promotion, in red. */
.deal-card { position: relative; display: flex; flex-direction: column; width: 100%; background: #fff; border: 1px solid var(--ski-line); border-radius: var(--card-radius); box-shadow: var(--shadow-soft); overflow: hidden; transition: box-shadow .18s ease, transform .18s ease; }
.deal-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.deal-card-media { position: relative; display: block; aspect-ratio: 6 / 5; background: #fff; border-bottom: 1px solid var(--ski-line-soft); }
.deal-card-media img { display: block; width: 100%; height: 100%; object-fit: contain; }
.deal-value { position: absolute; top: .65rem; right: .65rem; background: var(--ski-promo-dark); color: #fff; font-weight: 800; font-size: .9rem; line-height: 1.2; padding: .25rem .55rem; border-radius: 7px; }
.deal-card-body { display: flex; flex-direction: column; flex: 1; padding: .85rem 1rem 1rem; }
.deal-card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .6rem; font-size: .78rem; margin: 0 0 .4rem; }
.deal-kind { display: inline-flex; align-items: center; gap: .3rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: .68rem; padding: .18rem .5rem; border-radius: 6px; background: var(--ski-ice); color: var(--ski-blue-dark); }
.deal-kind-code { background: var(--ski-promo-soft); color: var(--ski-promo-dark); }
.deal-company { font-weight: 700; color: var(--ski-navy); }
.deal-card-title { font-size: .95rem; font-weight: 600; line-height: 1.35; margin: 0 0 .6rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.deal-card-title a { color: var(--ski-text); }
.deal-card-title a:focus-visible { outline: 0; }
.deal-card-title a::after { content: ""; position: absolute; inset: 0; }
.deal-card-expiry { display: flex; align-items: center; gap: .35rem; font-size: .78rem; color: var(--ski-muted); margin: auto 0 0; }

/* Chips */
.chips-title { font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ski-muted); margin-bottom: .6rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { display: inline-flex; align-items: center; gap: .35rem; background: #fff; border: 1px solid var(--ski-line); border-radius: var(--radius-chip); padding: .45rem .9rem; color: var(--ski-navy); font-weight: 500; font-size: .93rem; transition: border-color .15s ease, color .15s ease, background-color .15s ease; }
.chip:hover { border-color: var(--ski-blue); background: var(--ski-ice); color: var(--ski-blue-dark); text-decoration: none; }
.chip-more { background: var(--ski-blue); border-color: var(--ski-blue); color: #fff; font-weight: 600; }
.chip-more:hover { background: var(--ski-blue-dark); border-color: var(--ski-blue-dark); color: #fff; }

/* Texts, visitor searches */
.seo-text { background: #fff; border: 1px solid var(--ski-line); border-radius: var(--card-radius); padding: 1.75rem; color: #33415c; font-size: .95rem; }
.seo-text h2 { color: var(--ski-navy); font-weight: 800; }
.seo-text h3, .seo-text .h4, .seo-text .h5 { color: var(--ski-navy); font-weight: 700; }
/* CMS-edited HTML (combination descriptions, short descriptions): images never wider than their box. */
.seo-text img, .page-lead img { max-width: min(100%, 42rem); height: auto; border-radius: var(--card-radius); display: block; margin: 1rem auto; }
.searches-card { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr)); background: #fff; border: 1px solid var(--ski-line); border-radius: var(--card-radius); padding: 1.25rem 1.5rem; }
.searches-card:empty { display: none; }
.searches-title { font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ski-muted); margin-bottom: .6rem; }
.searches { min-width: 0; }
.searches-list { display: flex; flex-wrap: wrap; gap: .35rem; margin: 0; }
.searches-list li { max-width: 100%; min-width: 0; }
.searches-list a { display: inline-block; max-width: 100%; font-size: .8rem; color: #33415c; background: var(--ski-snow); border: 1px solid var(--ski-line-soft); border-radius: 7px; padding: .2rem .6rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.searches-list a:hover { color: var(--ski-blue-dark); text-decoration: none; background: var(--ski-ice); border-color: #cfe3f3; }

/* Footer */
.site-footer { margin-top: 4rem; color: rgba(255, 255, 255, .78); }
.footer-peaks { color: var(--ski-navy); line-height: 0; }
.footer-peaks svg { display: block; }
.footer-main { background: var(--ski-navy); }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--ski-sky); }
/* Transparent logo with navy lettering: shown on a white plate on the navy footer. */
.footer-logo { display: inline-block; line-height: 0; background: #fff; border-radius: 12px; padding: .55rem .8rem; }
.footer-logo img { width: 150px; height: auto; }
.footer-title { color: #fff; font-weight: 700; text-transform: uppercase; font-size: .78rem; letter-spacing: .08em; margin-bottom: .75rem; }
.site-footer li { padding: .2rem 0; }
.social-link { display: inline-flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: rgba(255, 255, 255, .1); font-size: 1.05rem; transition: background-color .15s ease; }
.social-link:hover { background: var(--ski-blue); color: #fff !important; }
.footer-bottom { background: rgba(0, 0, 0, .22); color: rgba(255, 255, 255, .7); }

/* ---------------------------------------------------------------------------------------------
 * Inner pages (lists, main pages, combinations; reusable by every redesigned page)
 * ------------------------------------------------------------------------------------------- */

/* Page head: snow band under the header with breadcrumb, h1, lead and the compact search. */
.page-head { background: linear-gradient(180deg, #fff 0%, var(--ski-snow) 100%); border-bottom: 1px solid var(--ski-line-soft); padding: 1rem 0 1.5rem; }
.page-breadcrumb .breadcrumb { --bs-breadcrumb-divider-color: #8a9bb0; --bs-breadcrumb-item-active-color: var(--ski-muted); font-size: .84rem; margin-bottom: .9rem; flex-wrap: wrap; row-gap: .15rem; }
.page-breadcrumb .breadcrumb-item a { color: var(--ski-blue); }
.page-breadcrumb .breadcrumb-item .bi { vertical-align: -.1em; }
.page-title { font-size: clamp(1.55rem, 2.6vw, 2.15rem); font-weight: 800; line-height: 1.15; letter-spacing: -.015em; color: var(--ski-navy); margin-bottom: .6rem; }
.page-title-accent { color: var(--ski-blue); }
.page-lead, .page-intro { color: var(--ski-muted); font-size: 1rem; line-height: 1.55; max-width: 60rem; margin-bottom: 1.25rem; }
.page-intro p { margin-bottom: .6rem; }
.page-intro a, .page-lead a { font-weight: 600; }
.page-media { border-radius: var(--card-radius); overflow: hidden; box-shadow: var(--shadow-soft); background: var(--ski-ice); aspect-ratio: 3 / 2; }
.page-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.page-head-main .listing-search-wrap { margin-top: .5rem; }
.page-head + .section { padding-top: 2.25rem; }
.page-promo { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .75rem; font-weight: 600; color: var(--ski-navy); }
/* Promo tag with small white text: the AA red. */
.promo-tag { display: inline-flex; align-items: center; background: var(--ski-promo-dark); color: #fff; font-weight: 700; font-size: .9rem; border-radius: var(--radius-chip); padding: .25rem .65rem; }
.section-title-promo { display: block; color: var(--ski-promo-dark); font-size: .75em; margin-top: .2rem; }
@media (max-width: 767.98px) {
    .page-head { padding: .75rem 0 1.1rem; }
    .page-breadcrumb .breadcrumb { font-size: .8rem; margin-bottom: .6rem; }
    .page-lead, .page-intro { font-size: .95rem; margin-bottom: .9rem; }
    .page-lead { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
    .section-listing { padding-top: 1.25rem; }
}

/* Compact search (lists, main pages): white card, same field styles as the hero search. */
.listing-search { background: #fff; border: 1px solid var(--ski-line); border-radius: var(--card-radius); box-shadow: var(--shadow-soft); padding: 1rem 1.1rem 1.1rem; }
.listing-search .form-label { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--ski-navy); margin-bottom: .3rem; }
.listing-search .form-control, .listing-search .form-select { border-color: #d6e2ef; border-radius: var(--radius-control); background-color: var(--ski-snow); color: var(--ski-text); min-height: 2.75rem; }
.listing-search .form-control::placeholder { color: #5d6f87; }
.listing-search .form-control:hover, .listing-search .form-select:hover { border-color: #b9cde3; }
.listing-search .form-control:focus, .listing-search .form-select:focus { background-color: #fff; border-color: var(--ski-blue); box-shadow: var(--focus-ring); }
.listing-search-submit { display: flex; align-items: center; justify-content: center; min-height: 2.75rem; border-radius: var(--radius-control); }
.listing-search-toggle { display: flex; align-items: center; width: 100%; min-height: 3rem; background: #fff; border: 1px solid var(--ski-line); border-radius: var(--radius-control); color: var(--ski-navy); font-weight: 600; text-align: left; box-shadow: var(--shadow-soft); }
.listing-search-toggle:hover, .listing-search-toggle:focus-visible { background: #fff; border-color: var(--ski-blue); color: var(--ski-navy); }
.listing-search-toggle > .bi:first-child { color: var(--ski-blue); }
.listing-search-toggle:not(.collapsed) .hero-more-chevron { transform: rotate(180deg); }
@media (max-width: 767.98px) {
    #listingSearch.collapse.show, #listingSearch.collapsing { margin-top: .6rem; }
    .listing-search { padding: .85rem; }
    .listing-search input[type="date"] { padding-right: .5rem; }
}

/* List: filters sidebar (offcanvas below lg), toolbar, grid, pager. */
.section-listing { padding-top: 1.75rem; }
@media (min-width: 992px) {
    .listing-sidebar { position: sticky; top: calc(var(--header-h) + 1rem); align-self: flex-start; }
    .listing-filters { background: #fff; border: 1px solid var(--ski-line); border-radius: var(--card-radius); box-shadow: var(--shadow-soft); }
    .listing-filters .offcanvas-body { padding: 1rem 1.1rem 1.15rem; }
}
.listing-filters-head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .5rem; }
.listing-filters-title { align-items: center; margin: 0; font-weight: 800; color: var(--ski-navy); }
.listing-filters-title .bi, .listing-filters .offcanvas-title .bi { color: var(--ski-blue); }
.clear-filters { padding: .15rem .25rem; font-size: .82rem; font-weight: 600; color: var(--ski-blue); text-decoration: none; margin-left: auto; }
.clear-filters:hover { color: var(--ski-blue-dark); text-decoration: underline; }
.filter-group { border-top: 1px solid var(--ski-line-soft); padding: .8rem 0 .6rem; margin: 0; }
.filter-group-title { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ski-muted); margin-bottom: .35rem; padding: 0; float: left; width: 100%; line-height: 1.4; }
.filter-group-title + * { clear: left; }
.filter-group .chip-group { padding-top: .15rem; }
.filter-button { margin-top: .5rem; min-height: 2.6rem; }
@media (max-width: 991.98px) {
    .listing { --bs-gutter-y: 0; }
    .listing-filters.offcanvas-lg { max-width: 22rem; background: #fff; }
    .listing-filters .offcanvas-body { padding-top: 0; }
}

.listing-toolbar { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; margin-bottom: 1rem; }
.listing-count { margin: 0 auto 0 0; font-size: .95rem; color: var(--ski-muted); }
.listing-count strong { color: var(--ski-navy); font-size: 1.1rem; font-weight: 800; }
.listing-filters-toggle { display: inline-flex; align-items: center; min-height: 2.6rem; background: #fff; border: 1px solid var(--ski-line); border-radius: var(--radius-control); color: var(--ski-navy); font-weight: 600; }
.listing-filters-toggle:hover { border-color: var(--ski-blue); color: var(--ski-navy); background: #fff; }
.listing-filters-toggle .bi { color: var(--ski-blue); }
.listing-sort { display: flex; align-items: center; gap: .5rem; margin: 0; }
.listing-sort .form-select { min-height: 2.6rem; min-width: 13.5rem; border-color: var(--ski-line); background-color: #fff; font-size: .93rem; font-weight: 600; color: var(--ski-navy); }
.listing-sort .form-select:focus { border-color: var(--ski-blue); box-shadow: var(--focus-ring); }
.listing-sort .input-icon > .bi { left: .8rem; font-size: 1rem; }
.listing-sort .input-icon > .form-select { padding-left: 2.3rem; }
@media (max-width: 575.98px) {
    .listing-count { order: -1; width: 100%; margin: 0; }
    .listing-filters-toggle { flex: 1 1 0; justify-content: center; }
    .listing-sort { flex: 1 1 0; min-width: 0; }
    .listing-sort .input-icon { width: 100%; }
    .listing-sort .form-select { min-width: 0; width: 100%; }
}

.offer-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16.5rem), 1fr)); }
.offer-grid > .offer-card { height: 100%; }
/* An open "best prices" panel grows its card only. */
.offer-grid:has(details[open]) { align-items: start; }
.offer-grid-wide { grid-template-columns: repeat(auto-fill, minmax(min(100%, 16.5rem), 1fr)); }
@media (min-width: 1200px) { .offer-grid-wide { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .offer-grid { gap: 1rem; } }

/* Best prices per formula (list cards): a quiet disclosure under the price. */
.offer-card-units { position: relative; z-index: 2; margin: .75rem -1rem -1rem; border-top: 1px solid var(--ski-line-soft); background: var(--ski-snow); }
.offer-card-units summary { display: flex; align-items: center; gap: .4rem; padding: .55rem 1rem; font-size: .84rem; font-weight: 600; color: var(--ski-blue); cursor: pointer; list-style: none; }
.offer-card-units summary::-webkit-details-marker { display: none; }
.offer-card-units summary:hover { color: var(--ski-blue-dark); text-decoration: underline; }
.offer-card-units summary:focus-visible { outline: 3px solid var(--ski-blue); outline-offset: -3px; }
.offer-card-units-chevron { transition: transform .2s ease; }
.offer-card-units[open] .offer-card-units-chevron { transform: rotate(180deg); }
.offer-card-units-formula { margin: .15rem 1rem .3rem; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--ski-muted); }
.offer-card-units-body { max-height: 20rem; overflow-y: auto; overscroll-behavior: contain; padding-bottom: .4rem; }
.offer-card-units-list { margin: 0 .5rem .5rem; }
.offer-card-units-list a { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: .1rem .6rem; padding: .45rem .5rem; border-radius: 8px; color: var(--ski-text); font-size: .8rem; line-height: 1.3; }
.offer-card-units-list li + li a { border-top: 1px solid var(--ski-line-soft); border-radius: 0; }
.offer-card-units-list a:hover { background: #fff; text-decoration: none; }
.offer-card-units-list a:hover .offer-unit-name { color: var(--ski-blue-dark); text-decoration: underline; }
.offer-unit-name { grid-column: 1 / -1; font-weight: 600; color: var(--ski-navy); }
.offer-unit-ref { font-weight: 400; color: #6f8197; font-size: .72rem; white-space: nowrap; }
.offer-unit-date { color: var(--ski-muted); font-size: .74rem; white-space: nowrap; }
.offer-unit-price { text-align: right; white-space: nowrap; }
.offer-unit-price strong { color: var(--ski-navy); font-size: .92rem; font-weight: 800; }
.offer-unit-price s { color: var(--ski-muted); font-size: .72rem; }
.offer-unit-price small { color: var(--ski-muted); font-size: .7rem; }
.offer-unit-per { grid-column: 1 / -1; text-align: right; color: var(--ski-muted); font-size: .7rem; margin-top: -.15rem; }
.offer-unit-discount { display: inline-block; background: var(--ski-promo-dark); color: #fff; font-weight: 700; font-size: .7rem; border-radius: 5px; padding: 0 .3rem; }

.listing-empty { text-align: center; background: #fff; border: 1px dashed #c9d8e8; border-radius: var(--card-radius); padding: 2.25rem 1.25rem; color: var(--ski-muted); }
.listing-empty > .bi { font-size: 1.75rem; color: var(--ski-blue); margin-bottom: .6rem; }
.listing-empty strong { color: var(--ski-navy); }
.listing-pager { margin-top: 2rem; }

/* Pagination (Bootstrap 5 markup of App\Twig\PaginationExtension "bootstrap5") */
.pagination { --bs-pagination-color: var(--ski-navy); --bs-pagination-border-color: var(--ski-line); --bs-pagination-hover-bg: var(--ski-ice); --bs-pagination-hover-color: var(--ski-blue-dark); --bs-pagination-hover-border-color: #c9ddf0; --bs-pagination-active-bg: var(--ski-blue); --bs-pagination-active-border-color: var(--ski-blue); --bs-pagination-disabled-color: #8a9bb0; --bs-pagination-focus-box-shadow: var(--focus-ring); gap: .35rem; }
.pagination .page-link { border-radius: var(--radius-control) !important; min-width: 2.6rem; min-height: 2.6rem; display: inline-flex; align-items: center; justify-content: center; font-weight: 600; margin-left: 0 !important; }
.pagination .page-item.disabled .page-link { background: transparent; border-color: transparent; }

/* Share links (inner pages) */
.share-links { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; }
.share-links-label { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--ski-muted); margin-right: .25rem; }
.share-links .social-link { background: #fff; border: 1px solid var(--ski-line); color: var(--ski-navy); }
.share-links .social-link:hover { background: var(--ski-blue); border-color: var(--ski-blue); color: #fff; text-decoration: none; }

/* Combination links (/sejours/) */
.combo-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 21rem), 1fr)); }
.combo-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--ski-line); border-radius: var(--card-radius); box-shadow: var(--shadow-soft); overflow: hidden; transition: box-shadow .18s ease, transform .18s ease; }
.combo-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.combo-card:has(.combo-card-title a:focus-visible) { outline: 3px solid var(--ski-blue); outline-offset: 2px; }
.combo-card-media { display: block; aspect-ratio: 3 / 2; background: var(--ski-ice); overflow: hidden; }
.combo-card-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.combo-card-body { display: flex; flex-direction: column; flex: 1; padding: 1rem 1.1rem 1.1rem; }
.combo-card-title { font-size: 1.08rem; font-weight: 800; line-height: 1.3; margin: 0 0 .45rem; }
.combo-card-title a { color: var(--ski-navy); }
.combo-card-title a:focus-visible { outline: 0; }
.combo-card-title a::after { content: ""; position: absolute; inset: 0; }
.combo-card-text { color: var(--ski-muted); font-size: .9rem; margin-bottom: .75rem; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.combo-card-text p:last-child { margin-bottom: 0; }
.combo-card-link, .story-card-link { margin-top: auto; display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; font-size: .9rem; color: var(--ski-blue); }

/* Resort stories (/top-stations-de-ski-en-france) */
.story-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); margin-top: 1.25rem; }
.story-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--ski-line); border-radius: var(--card-radius); overflow: hidden; transition: box-shadow .18s ease; }
.story-card:hover { box-shadow: var(--shadow-hover); }
.story-card:has(a:focus-visible) { outline: 3px solid var(--ski-blue); outline-offset: 2px; }
.story-card img { display: block; width: 100%; aspect-ratio: 16 / 10; height: auto; object-fit: cover; background: var(--ski-ice); }
.story-card-body { display: flex; flex-direction: column; flex: 1; padding: .85rem 1rem 1rem; }
.story-card-body p { font-size: .86rem; color: var(--ski-muted); margin-bottom: .6rem; }
.story-card-title { font-size: 1.05rem; font-weight: 800; margin: 0 0 .35rem; }
.story-card-title a { color: var(--ski-navy); }
.story-card-title a:focus-visible { outline: 0; }
.story-card-title a::after { content: ""; position: absolute; inset: 0; }

@media (prefers-reduced-motion: reduce) {
    .offer-card, .deal-card, .combo-card, .story-card, .offer-card-media img, .destination-card img, .hero-more-chevron, .offer-card-units-chevron { transition: none; }
    .offer-card:hover, .deal-card:hover, .combo-card:hover { transform: none; }
    .offer-card:hover .offer-card-media img, .destination-card:hover img { transform: none; }
}

/*
 * Search controls (register R75): one "Date de départ" field over the two date inputs, travellers stepper,
 * btn-check chips, sort dropdown. The native fields stay the submitted ones (and the no-JavaScript form).
 */
.search-dates-max { margin-top: .5rem; }
.search-dates-max-label { display: block; font-size: .8rem; color: var(--ski-muted); margin-bottom: .25rem; }
/* With JavaScript the "au plus tard" field is replaced by the range calendar: hidden from the first paint. */
.js .search-dates-max, .search-dates.is-enhanced .search-dates-max { display: none; }
.search-dates-note { display: flex; align-items: center; gap: .4rem; margin: .45rem 0 0; font-size: .8rem; line-height: 1.3; color: var(--ski-muted); }
.search-dates-note .bi { color: var(--ski-blue); font-size: .9rem; }
/* "Durée" chips (register R78), only when the prices offer several stay lengths. */
.search-dates .search-duration { margin-top: .6rem; }
.search-dates .search-duration-label { font-size: .8rem; margin-bottom: .3rem; }
.search-dates .search-duration .btn-chip { --bs-btn-padding-y: .28rem; --bs-btn-padding-x: .7rem; --bs-btn-font-size: .82rem; min-height: 2.1rem; }

/* Chips: ice at rest, blue when checked (btn-check: the real checkbox / radio stays focusable). */
.chip-group { display: flex; flex-wrap: wrap; gap: .4rem; }
.btn-chip {
    --bs-btn-padding-y: .38rem; --bs-btn-padding-x: .8rem; --bs-btn-font-size: .88rem; --bs-btn-font-weight: 600; --bs-btn-line-height: 1.25;
    --bs-btn-color: var(--ski-navy); --bs-btn-bg: var(--ski-ice); --bs-btn-border-color: var(--ski-ice); --bs-btn-border-radius: var(--radius-chip);
    --bs-btn-hover-color: var(--ski-navy); --bs-btn-hover-bg: #d9ecfa; --bs-btn-hover-border-color: #c4def5;
    --bs-btn-active-color: #fff; --bs-btn-active-bg: var(--ski-blue); --bs-btn-active-border-color: var(--ski-blue);
    --bs-btn-focus-shadow-rgb: 8, 102, 217;
    display: inline-flex; align-items: center; gap: .35rem; min-height: 2.5rem; text-align: left;
}
.btn-check:checked + .btn-chip::before {
    content: ""; width: .85em; height: .85em; flex-shrink: 0; background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M13.854 3.646a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6.5 10.293l6.646-6.647a.5.5 0 0 1 .708 0' stroke='%23000' stroke-width='1.2'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M13.854 3.646a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6.5 10.293l6.646-6.647a.5.5 0 0 1 .708 0' stroke='%23000' stroke-width='1.2'/%3E%3C/svg%3E") center / contain no-repeat;
}
.btn-check:focus-visible + .btn-chip { outline: 3px solid var(--ski-blue); outline-offset: 2px; box-shadow: none; }
.hero-more { padding-top: .25rem; }
.hero-more .form-label { display: block; }
@media (max-width: 767.98px) {
    .btn-chip, .search-dates .search-duration .btn-chip { min-height: 2.75rem; }
}

/* Travellers: a field-like button opening a − / value / + stepper. */
.stepper { position: relative; }
.stepper-toggle {
    display: flex; align-items: center; width: 100%; text-align: left; cursor: pointer;
    padding-right: 2.25rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat; background-position: right .75rem center; background-size: 16px 12px;
}
.input-icon .stepper-toggle { padding-left: 2.85rem; }
.listing-search .input-icon .stepper-toggle { padding-left: 2.45rem; padding-right: 1.9rem; background-position: right .6rem center; }
.listing-search .input-icon:has(.stepper) > .bi { left: .8rem; }
.stepper-toggle.is-empty { color: #5d6f87; }
.hero-search .stepper-toggle, .listing-search .stepper-toggle { border-color: #d6e2ef; background-color: var(--ski-snow); color: var(--ski-text); }
.hero-search .stepper-toggle.is-empty, .listing-search .stepper-toggle.is-empty { color: #5d6f87; }
.stepper-toggle:hover { border-color: #b9cde3 !important; }
.stepper-toggle:focus-visible, .stepper-toggle[aria-expanded="true"] { outline: 0; background-color: #fff !important; border-color: var(--ski-blue) !important; box-shadow: var(--focus-ring); }
.stepper-toggle-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stepper-menu { --bs-dropdown-bg: #fff; width: max(100%, 18.5rem); padding: .95rem 1rem .8rem; border: 1px solid var(--ski-line); border-radius: 14px; box-shadow: var(--shadow-menu); }
.stepper-menu[data-bs-popper] { margin-top: .4rem; }
.stepper-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.stepper-row + .stepper-row { margin-top: .7rem; padding-top: .7rem; border-top: 1px solid var(--ski-line-soft); }
.stepper-title { margin: 0; font-weight: 700; color: var(--ski-navy); line-height: 1.25; }
.stepper-title small { display: block; font-size: .8rem; font-weight: 400; color: var(--ski-muted); }
.stepper-ctrl { display: flex; align-items: center; gap: .4rem; }
.stepper-btn {
    display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0;
    border-radius: 50%; border: 1px solid #b9cde3; background: #fff; color: var(--ski-blue);
    transition: background-color .12s, border-color .12s;
}
.stepper-btn:hover:not(:disabled) { background: var(--ski-ice); border-color: var(--ski-blue); }
.stepper-btn:focus-visible { outline: 3px solid var(--ski-blue); outline-offset: 2px; }
.stepper-btn:disabled { color: #b3c0d0; border-color: var(--ski-line); cursor: not-allowed; }
.stepper-value { min-width: 2.2ch; text-align: center; font-weight: 800; font-size: 1.2rem; color: var(--ski-navy); font-variant-numeric: tabular-nums; }
.stepper-foot { display: flex; align-items: center; justify-content: flex-end; gap: .5rem; margin-top: .8rem; padding-top: .7rem; border-top: 1px solid var(--ski-line-soft); }
.stepper-any { margin-right: auto; padding-inline: 0; min-height: 2.5rem; font-weight: 600; color: var(--ski-muted); text-decoration: none; }
.stepper-any:hover { color: var(--ski-navy); text-decoration: underline; }
.stepper-ok { min-height: 2.5rem; padding-inline: 1.2rem; border-radius: var(--radius-chip); font-weight: 600; }

/* Sort of the lists: a dropdown over the select. */
.dropdown-select-toggle {
    display: inline-flex; align-items: center; gap: .45rem; min-height: 2.6rem; padding: .4rem .85rem;
    background: #fff; border: 1px solid var(--ski-line); border-radius: var(--radius-control);
    color: var(--ski-navy); font-size: .93rem; font-weight: 700; white-space: nowrap;
}
.dropdown-select-toggle:hover, .dropdown-select-toggle[aria-expanded="true"] { background: #fff; border-color: var(--ski-blue); color: var(--ski-navy); }
.dropdown-select-toggle:focus-visible { box-shadow: var(--focus-ring); border-color: var(--ski-blue); }
.dropdown-select-toggle .bi { color: var(--ski-blue); font-size: 1rem; }
.dropdown-select-prefix { color: var(--ski-muted); font-weight: 500; }
.dropdown-select-caret {
    width: 12px; height: 12px; margin-left: .15rem; background: currentColor; transition: transform .15s ease;
    -webkit-mask: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") center / contain no-repeat;
}
.dropdown-select-toggle[aria-expanded="true"] .dropdown-select-caret { transform: rotate(180deg); }
.dropdown-select-menu { --bs-dropdown-bg: #fff; min-width: 100%; padding: .35rem; border: 1px solid var(--ski-line); border-radius: 12px; box-shadow: var(--shadow-menu); }
.dropdown-select-menu .dropdown-item { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 44px; padding: .5rem .8rem; border-radius: 8px; font-size: .93rem; font-weight: 500; color: var(--ski-text); }
.dropdown-select-menu .dropdown-item:hover, .dropdown-select-menu .dropdown-item:focus { background: var(--ski-snow); color: var(--ski-navy); }
.dropdown-select-menu .dropdown-item.active, .dropdown-select-menu .dropdown-item:active { background: var(--ski-ice); color: var(--ski-blue); font-weight: 700; }
.dropdown-select-menu .dropdown-item.active::after {
    content: ""; width: 1rem; height: 1rem; background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M13.854 3.646a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6.5 10.293l6.646-6.647a.5.5 0 0 1 .708 0'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M13.854 3.646a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6.5 10.293l6.646-6.647a.5.5 0 0 1 .708 0'/%3E%3C/svg%3E") center / contain no-repeat;
}
.listing-sort .dropdown-select { display: flex; }
@media (max-width: 575.98px) {
    .listing-sort .dropdown-select, .listing-sort .dropdown-select-toggle { width: 100%; }
    .listing-sort .dropdown-select-toggle { justify-content: center; }
    .listing-sort .dropdown-select-prefix { display: none; }
}
