:root {
    --primary-color: #009688;
    --accent-color: #ff9800;
    --bg-light: #f4f7f6;
    --text-dark: #2d3436;
}



.details-clean .package-header { 
    margin-bottom: 18px;
}

.details-clean .details-page-row-title {
    margin-bottom: 12px;
}

.details-clean .details-page-row-title .package-title {
    margin: 0;
}

.details-clean .details-page-row-title .package-title span {
    font-size: 28px;
    line-height: 1.1;
    font-weight: 700;
    text-transform: none;
}

.details-clean .package-title {
    font-size: 1.95rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: #1f2937;
}

.details-clean .city-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.details-clean .city-tags span {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 0.86rem;
    font-weight: 600;
}

.clean-gallery__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 200px 200px;
    gap: 12px;
    margin-bottom: 26px;
}

.clean-gallery__item {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
}

.clean-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.clean-gallery__item:hover img {
    transform: scale(1.05);
}

.clean-gallery__item--main {
    grid-row: span 2;
}

.clean-gallery__grid--single {
    grid-template-columns: 1fr;
    grid-template-rows: min(420px, 50vw);
}

.clean-gallery__grid--single .clean-gallery__item--main {
    grid-row: auto;
    grid-column: auto;
}

.clean-gallery__all,
.clean-gallery__more {
    position: absolute;
    border: 0;
    color: #fff;
    background: rgba(0, 0, 0, 0.6);
}

.clean-gallery__all {
    left: 16px;
    bottom: 16px;
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 0.88rem;
}

.clean-gallery__more {
    inset: 0;
    font-size: 1.15rem;
    font-weight: 700;
}

.details-clean .section-title {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 14px;
    color: #1f2937;
}

.details-clean .download-banner {
    background: #e3f2fd;
    border-radius: 15px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.details-clean .highlights-box {
    border-radius: 15px;
}

.details-clean .highlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    font-size: 0.95rem;
    font-weight: 500;
}

.details-clean .highlight-item i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.details-clean .program-card {
    background: #ffffff;
    border: 1px solid #e8eeee;
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
}

.details-clean .program-card .accordion-button {
    background: #f0f7f7;
    font-weight: 600;
    color: #34495e;
    border: none;
    box-shadow: none;
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 16px 18px;
}

.details-clean .day-label {
    color: var(--primary-color);
    font-size: text-base !important;
    display: block;
    width: 100%;
    font-weight: 600 !important;
}

.details-clean .clean-accordion-panel {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.28s ease, opacity 0.2s ease;
}

.details-clean .clean-accordion-panel.show {
    opacity: 1;
}

.details-clean .clean-accordion-toggle::after {
    flex-shrink: 0;
    width: auto;
    height: auto;
    margin-left: auto;
    content: "\F282" !important;
    font-family: "bootstrap-icons" !important;
    font-size: 1rem;
    line-height: 1;
    color: #5b6770;
    background-image: none !important;
    display: inline-block !important;
    transition: transform 0.25s ease;
}

.details-clean .clean-accordion-toggle:not(.collapsed)::after {
    transform: rotate(-180deg);
}

.details-clean .clean-accordion .accordion-body {
    background: #ffffff;
    padding: 14px 18px 16px;
    line-height: 1.65;
    color: #2f3c45;
}

.details-clean .program-media-wrap {
    margin-top: 14px;
}

.details-clean .program-media {
    width: 100%;
    max-height: 360px;
    border-radius: 14px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.1);
}

/* legacy – kept for any remaining references */
.details-clean .inclusion-box {
    border-radius: 15px;
}

/* ===================================================
   INCLUS / NON-INCLUS — Premium redesign
   =================================================== */
.details-clean .inclusion-premium {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05), 0 4px 14px rgba(0,0,0,0.04);
}

.details-clean .inclusion-premium .incl-col {
    padding: 28px 28px 24px;
}

.details-clean .inclusion-premium .incl-col--border {
    border-right: 1px solid #f3f4f6;
}

@media (max-width: 767.98px) {
    .details-clean .inclusion-premium .incl-col--border {
        border-right: none;
        border-bottom: 1px solid #f3f4f6;
    }
    .details-clean .inclusion-premium .incl-col {
        padding: 22px 20px;
    }
}

.details-clean .incl-col-title {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.details-clean .incl-col-title.incl {
    color: #059669;
}

.details-clean .incl-col-title.excl {
    color: #e11d48;
}

.details-clean .incl-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.details-clean .incl-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 5px 0;
    font-size: 13.5px;
    color: #374151;
    line-height: 1.55;
}

.details-clean .incl-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
    font-size: 12px;
    font-weight: 700;
}

.details-clean .incl-icon.check {
    background: #d1fae5;
    color: #059669;
}

.details-clean .incl-icon.cross {
    background: #fff1f2;
    color: #e11d48;
    font-size: 14px;
}

/* ===================================================
   DATES DE DÉPART — Accordion block
   =================================================== */
.details-clean .departures-block {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05), 0 4px 14px rgba(0,0,0,0.04);
}

.details-clean .departures-block__header {
    display: flex;
    align-items: center;
    padding: 18px 22px;
    cursor: pointer;
    user-select: none;
    gap: 14px;
    transition: background 0.15s;
    outline: none;
}

.details-clean .departures-block__header:hover {
    background: #fafafa;
}

.details-clean .departures-block__icon-wrap {
    width: 44px;
    height: 44px;
    background: #fff7ed;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 19px;
    color: #f97316;
}

.details-clean .departures-block__meta {
    flex: 1;
    min-width: 0;
}

.details-clean .departures-block__meta strong {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 15px;
    font-weight: 700;
    color: #111827;
}

.details-clean .departures-block__meta p {
    margin: 3px 0 0;
    font-size: 12.5px;
    color: #9ca3af;
}

.details-clean .departures-block__badge {
    background: #fff7ed;
    color: #f97316;
    font-size: 11.5px;
    font-weight: 600;
    border-radius: 20px;
    padding: 2px 10px;
    white-space: nowrap;
}

.details-clean .departures-block__chevron {
    color: #9ca3af;
    font-size: 14px;
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.details-clean .departures-block.is-open .departures-block__chevron {
    transform: rotate(180deg);
}

.details-clean .departures-block__body {
    display: none;
    border-top: 1px solid #f3f4f6;
    padding: 12px 14px 16px;
}

.details-clean .departures-block.is-open .departures-block__body {
    display: block;
}

.details-clean .departure-row {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    padding: 11px 15px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    transition: box-shadow 0.15s;
}

.details-clean .departure-row:last-child {
    margin-bottom: 0;
}

.details-clean .departure-row:hover {
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
}

.details-clean .departure-row__left {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.details-clean .departure-row__seats {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #f0fdf4;
    color: #16a34a;
    font-size: 11px;
    font-weight: 600;
    border-radius: 20px;
    padding: 2px 9px;
    width: fit-content;
}

.details-clean .departure-row__date {
    font-size: 14.5px;
    font-weight: 600;
    color: #111827;
    text-transform: capitalize;
}

.details-clean .departure-row__price {
    font-size: 15.5px;
    font-weight: 700;
    color: #111827;
    white-space: nowrap;
}

.details-clean .booking-sidebar {
    position: sticky;
    top: 95px;
}

.details-clean .contact-widget {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 20px;
    border: 1px solid #eef2f3;
}

.details-clean .contact-item {
    display: flex;
    align-items: center;
    padding: 18px 20px;
    text-decoration: none;
    transition: background 0.2s;
    border-bottom: 1px solid #f8f9fa;
}

.details-clean .contact-item:last-child {
    border-bottom: none;
}

.details-clean .contact-item:hover {
    background: #fcfdfe;
}

.details-clean .contact-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex: 0 0 48px;
}

.details-clean .icon-phone {
    background: #fff4e5;
    color: #ff9800;
    font-size: 1.4rem;
}

.details-clean .icon-whatsapp {
    background: #e8f9ef;
    position: relative;
}

.details-clean .icon-whatsapp img {
    width: 28px !important;
    height: 28px !important;
    max-width: 28px;
    max-height: 28px;
    object-fit: contain;
}

.details-clean .contact-info .label {
    display: block;
    font-size: 0.75rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    line-height: 1.2;
}

.details-clean .contact-info .value {
    display: block;
    font-size: 1.1rem;
    color: #2d3436;
    font-weight: 700;
    line-height: 1.25;
}

.details-clean .map-block {
    background: #fff;
    border-radius: 15px;
    padding: 10px;
    cursor: pointer;
    transition: 0.3s;
    margin-bottom: 20px;
    border: 1px solid #eef2f3;
}

.details-clean .map-block:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.details-clean .map-preview {
    height: 100px;
    background: url("https://api.maptiler.com/maps/basic-v2/static/116.4,39.9,8/400x200.png") center / cover;
    border-radius: 10px;
    position: relative;
}

.details-clean .map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

.details-clean .booking-card {
    border: none;
    border-radius: 14px;
    overflow: visible;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    background: #fff;
}

.details-clean .booking-card__head {
    background: var(--main-color);  
    padding: 22px;
    color: white;
    text-align: center;
    font-size: text-lg !important;
    border-bottom: 1px solid #eee;
}

.details-clean .booking-card__price {
    font-size: 2rem;
    font-weight: 800;
    color: #1a1c4b;
}

.details-clean .btn-go-calendar,
.details-clean .btn-send {
    background-color: var(--main-color);
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 10px;
    width: 100%;
    font-weight: 700;
    text-decoration: none;
    display: block;
    text-align: center;
}

.details-clean .calendar-section {
    background: #fff;
    border-radius: 20px;
    padding: 24px;
    margin-top: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.details-clean .calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
    margin-top: 20px;
}

.details-clean #calendar-title {
    min-width: 110px;
    text-align: center;
    text-transform: lowercase;
}

.details-clean .calendar-cell-current-month {
    background: #f8fafc;
    border: 1px solid #edf2f7;
    border-radius: 12px;
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: default;
    transition: border-color 0.2s, background 0.2s, transform 0.2s, box-shadow 0.2s;
    padding: 6px 4px;
    min-width: 0;
}

.details-clean .calendar-cell-current-month:hover {
    border-color: #1a1c4b;
    background: #f1f5f9;
}

.details-clean .calendar-cell-current-month > div:first-child {
    font-weight: 700;
    font-size: 1.1rem;
    color: #1f2937;
}

.details-clean .calendar-cell .price {
    font-size: 0.7rem;
    font-weight: 600;
    margin-top: 2px;
    line-height: 1.2;
    text-align: center;
    color: var(--main-color, #e91e8c);
}

.details-clean .calendar-cell.has-event.selected .price {
    color: #f9a8d4 !important;
}

.details-clean .calendar-cell .price .city-abbr {
    display: block;
    font-size: 0.6rem;
    font-weight: 500;
    color: #94a3b8;
    margin-top: 1px;
}

.details-clean .calendar-cell.has-event.selected .price .city-abbr {
    color: rgba(255,255,255,0.65) !important;
}

.details-clean .calendar-cell.has-event:hover:not(.selected) {
    border-color: var(--main-color, #e91e8c);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(233,30,140,0.12);
}

.details-clean .calendar-cell.has-event {
    background: #fff;
    border: 1.5px solid #cbd5e1;
    cursor: pointer;
}

.details-clean .calendar-cell.has-event.selected {
    background: #1a1c4b !important;
    border-color: #1a1c4b;
}

.details-clean .calendar-cell.has-event.selected > div,
.details-clean .calendar-cell.has-event.selected .price {
    color: #fff !important;
}

.details-clean .calendar-nav-btn {
    width: 30px;
    height: 30px;
    padding: 0;
    border-radius: 6px;
    border-color: #d1d5db;
    color: #4b5563;
}

.details-clean .clean-city-select {
    font-weight: 600;
    color: #1a1c4b !important;
    background-color: #f8fafc !important;
    border: 1px solid #dbe7f7 !important;
    border-radius: 8px !important;
    min-height: 42px;
    box-shadow: none !important;
}

.details-clean .clean-city-select:focus {
    border-color: #9ec0f1 !important;
    box-shadow: 0 0 0 0.2rem rgba(66, 133, 244, 0.18) !important;
}

.details-clean .clean-city-select-wrap {
    position: relative;
    z-index: 30;
    margin-bottom: 22px !important;
}

.details-clean .clean-city-select option {
    color: #1f2f4f;
    font-weight: 500;
}

.details-clean #formula-container .formula-item {
    background: #fff !important;
    border: 1px solid #e5e7eb !important;
    border-left: 5px solid #ff9800 !important;
    border-radius: 10px !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.details-clean #formula-container .formula-item .btn-booking {
    border-radius: 8px;
}

.details-clean #formula-dropdown-container .month-section h4 {
    background: #f8fafc;
    color: #1f2937 !important;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
}

.details-clean #formula-dropdown-container .departure-list li {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #fff;
}

.details-clean .quote-input {
    border-radius: 8px;
    padding: 11px;
    border: 1px solid #ddd;
}

.clean-similar-packages {
    margin-top: 10px;
    background: transparent;

}

.clean-similar-packages__title {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 4px;
    color: #1f2937;
}

.clean-similar-packages__subtitle {
    color: #6b7280;
    margin-bottom: 16px;
}

.clean-package-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
}

.clean-package-card__image-wrap {
    position: relative;
    display: block;
    height: 250px;
}

.clean-package-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.clean-package-card__tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: #0ea5c0;
    color: #fff;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 0.9rem;
    font-weight: 700;
}

.clean-package-card__body {
    padding: 14px 16px 16px;
}

.clean-package-card__title {
    font-size: 1.15rem;
    line-height: 1.35;
    font-weight: 700;
    margin-bottom: 10px;
}

.clean-package-card__title a {
    color: #334e68;
    text-decoration: none;
}

.clean-package-card__desc {
    color: #6b7280;
    margin-bottom: 14px;
    line-height: 1.45;
}

.clean-package-card__bottom {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-end;
}

.clean-package-card__meta {
    color: #6b7280;
    font-size: 0.95rem;
}

.clean-package-card__price {
    color: #111827;
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1;
}

.clean-package-card__btn {
    background: #3f6ea8;
    color: #fff;
    border-radius: 999px;
    padding: 10px 26px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .details-clean .package-title {
        font-size: 1.6rem;
    }

    .clean-gallery__grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 250px 120px;
    }

    .clean-gallery__item--main {
        grid-column: span 2;
        grid-row: 1;
    }

    .clean-gallery__grid--single {
        grid-template-columns: 1fr;
        grid-template-rows: 280px;
    }

    .clean-gallery__grid--single .clean-gallery__item--main {
        grid-column: auto;
        grid-row: auto;
    }

    .details-clean .calendar-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .details-clean .booking-sidebar {
        position: static;
        top: auto;
        margin-top: 20px;
    }

    .details-clean .program-card {
        border-radius: 10px;
        margin-bottom: 10px;
    }

    .details-clean .program-card .accordion-button {
        padding: 14px 14px;
    }

    .details-clean .day-label {
        font-size: text-base;
    }

    .details-clean .clean-accordion .accordion-body {
        padding: 10px 14px 14px;
        font-size: 0.94rem;
        line-height: 1.6;
    }

    .details-clean .program-media {
        max-height: 240px;
        border-radius: 12px;
    }

    .clean-package-card__image-wrap {
        height: 200px;
    }

    .clean-package-card__price {
        font-size: 1.7rem;
    }
}

/* ============================================================
   ACTIVITY DETAIL – Sidebar sticky
   ============================================================ */
.activity-sidebar-sticky {
    position: sticky;
    top: 20px;
}

/* ============================================================
   ACTIVITY DETAIL – Formula Cards (Pricing)
   ============================================================ */
.activity-formulas-headline {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-dark, #2d3436);
    margin-bottom: 20px;
}

.activity-formula-card {
    background: #fff;
    border-radius: 16px;
    padding: 22px 24px;
    margin-bottom: 14px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.2s;
}

.activity-formula-card.is-primary {
    border: 2px solid var(--main-color, #009688);
}

.activity-formula-card.is-secondary {
    border: 1px solid #e9ecef;
}

.activity-formula-card:hover {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}

.afc-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.afc-title {
    font-weight: 700;
    font-size: 1.15rem;
    color: #0f294d;
}

.activity-formula-card.is-secondary .afc-title {
    color: var(--text-dark, #2d3436);
}

.afc-subtitle {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 3px;
}

.afc-toggle-btn {
    background: transparent;
    border: none;
    padding: 0 4px;
    cursor: pointer;
    color: var(--main-color, #009688);
    font-size: 1.1rem;
    line-height: 1;
    flex-shrink: 0;
}

.activity-formula-card.is-secondary .afc-toggle-btn {
    color: #adb5bd;
}

.afc-body {
    border-bottom: 1px solid #f0f2f5;
    padding-bottom: 14px;
    margin-bottom: 16px;
}

.afc-description {
    color: #6b7280;
    font-size: 0.9rem;
    line-height: 1.65;
    margin-bottom: 0;
}

.afc-meta {
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 4px;
}

.afc-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
}

.afc-price-block {
    flex: 1;
}

.afc-price-main {
    font-weight: 800;
    font-size: 1.9rem;
    color: #d9383a;
    line-height: 1.1;
}

.activity-formula-card.is-secondary .afc-price-main {
    color: var(--text-dark, #2d3436);
}

.afc-currency {
    font-size: 1.1rem;
    font-weight: 700;
}

.afc-price-details {
    font-size: 0.83rem;
    color: #6b7280;
    margin-top: 3px;
}

.afc-price-taxes {
    font-size: 0.77rem;
    color: #adb5bd;
    margin-top: 2px;
}

.afc-price-on-request {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--main-color, #009688);
}

/* Badge prochaine date disponible */
.afc-next-date-badge {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--main-color, #009688);
    background: rgba(0,150,136,0.08);
    border-radius: 20px;
    padding: 4px 10px;
    white-space: nowrap;
    flex-shrink: 0;
    margin-top: 2px;
}

/* État initial : "À partir de X MAD" */
.afc-initial-price {
    flex: 1;
}
.afc-from-label {
    font-size: 0.78rem;
    color: #6b7280;
    display: block;
    margin-bottom: 2px;
}
.afc-price-amount-init {
    font-weight: 800;
    font-size: 1.7rem;
    color: #d9383a;
    line-height: 1.1;
}
.activity-formula-card.is-secondary .afc-price-amount-init {
    color: var(--text-dark, #2d3436);
}
.afc-per-label {
    font-size: 0.85rem;
    color: #6b7280;
    margin-left: 4px;
}
.afc-hint-verify {
    font-size: 0.78rem;
    color: #adb5bd;
    margin-top: 6px;
    font-style: italic;
}

/* État vérifié : prix exact */
.afc-verified-price {
    flex: 1;
}
.afc-price-main-verified {
    font-weight: 800;
    font-size: 1.9rem;
    color: #d9383a;
    line-height: 1.1;
}
.activity-formula-card.is-secondary .afc-price-main-verified {
    color: var(--text-dark, #2d3436);
}
.afc-price-total {
    font-weight: 800;
}
.afc-price-breakdown-line {
    font-size: 0.83rem;
    color: #6b7280;
    margin-top: 3px;
}
.afc-time-label {
    display: block;
    margin-top: 8px;
    margin-bottom: 4px;
}

/* Card état indisponible */
.afc-card-unavail {
    opacity: 0.45;
    pointer-events: none;
}
.afc-card-verified {
    border-color: var(--main-color, #009688) !important;
}

/* Bannières d'état (loading / no-availability) */
.afc-state-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 10px;
    padding: 12px 18px;
    margin-bottom: 16px;
    font-size: 0.92rem;
}
#afc-state-loading {
    background: #f0f9ff;
    color: #0369a1;
    border: 1px solid #bae6fd;
}
#afc-state-no-avail {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}

/* Bouton réserver */
.afc-reserve-btn {
    display: inline-block;
    border: 2px solid var(--main-color, #009688);
    background: transparent;
    color: var(--main-color, #009688);
    font-weight: 700;
    padding: 9px 22px;
    border-radius: 30px;
    font-size: 0.9rem;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
}

.afc-reserve-btn:hover,
.afc-reserve-btn.is-primary {
    background: var(--main-color, #009688);
    color: #fff;
    text-decoration: none;
}

/* Select nationalité sidebar */
.asc-nationality-select {
    border: 1.5px solid #d1d5db;
    border-radius: 10px;
    padding: 9px 12px;
    font-size: 0.9rem;
    background: #fff;
    color: #374151;
    width: 100%;
}
.asc-nationality-select:focus {
    border-color: var(--main-color, #009688);
    outline: none;
    box-shadow: none;
}

/* ── Heure de début : chips ────────────────────────────── */
.afc-time-chips-wrap {
    margin-top: 10px;
}
.afc-time-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
}
.afc-time-chip {
    border: 1.5px solid #d1d5db;
    background: #fff;
    color: #374151;
    border-radius: 8px;
    padding: 5px 14px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.afc-time-chip:hover {
    border-color: var(--main-color, #009688);
    color: var(--main-color, #009688);
}
.afc-time-chip.is-active {
    background: var(--main-color, #009688);
    border-color: var(--main-color, #009688);
    color: #fff;
}

/* ── Footer card : prix à gauche, bouton à droite ──────── */
.afc-footer {
    display: block !important; /* override l'ancien flex qui collait tout */
}
.afc-verified-price {
    width: 100%;
}
.afc-book-form {
    margin-top: 14px;
    display: flex;
    justify-content: flex-end;
}
.afc-initial-price {
    width: 100%;
}

/* ============================================================
   ACTIVITY DETAIL – Search Engine Sidebar (style hero homogène)
   ============================================================ */

/* Carte principale */
.asc-engine-card {
    border: 1px solid #e7edf5;
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
    overflow: visible;
    margin-bottom: 20px;
}

.asc-engine-head {
    display: flex;
    align-items: center;
    background: var(--main-color, #009688);
    color: #fff;
    padding: 15px 20px;
    border-radius: 20px 20px 0 0;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.2px;
}

.asc-engine-body {
    padding: 16px;
}

/* Champ hero-style (icône intégrée, pill arrondi) */
.asc-he-field {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 54px;
    border: 1px solid #d6deea;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(15,23,42,0.04);
    padding: 0 14px 0 42px;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.asc-he-field:focus-within {
    border-color: var(--main-color, #009688);
    box-shadow: 0 0 0 3px rgba(0,150,136,0.12);
}

/* Icône SVG intégrée */
.asc-he-icon {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--main-color, #009688);
    pointer-events: none;
    flex-shrink: 0;
}
.asc-he-icon svg {
    width: 100%;
    height: 100%;
}

/* Input / select dans le champ */
.asc-he-input {
    width: 100%;
    border: 0;
    background: transparent;
    color: #0f172a;
    font-size: 0.9rem;
    font-weight: 600;
    outline: none;
    cursor: pointer;
}
.asc-he-input::placeholder {
    color: #94a3b8;
    font-weight: 500;
}
.asc-he-select {
    appearance: none;
    -webkit-appearance: none;
}

/* Panel voyageurs (dropdown) */
.asc-pax-panel {
    width: 100%;
    border: 1px solid #e9ecef;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    z-index: 9999;
    margin-top: 6px;
    left: 0;
    top: 100%;
    padding: 8px 14px;
}

/* Ligne voyageur */
.asc-pax-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f0f2f5;
}
.asc-pax-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* Bouton principal "Voir les disponibilités" */
.asc-engine-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    border: 0;
    border-radius: 14px;
    background: var(--main-color, #009688);
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.2px;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.15s;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}
.asc-engine-submit:hover:not(:disabled) {
    opacity: 0.9;
    transform: translateY(-1px);
}
.asc-engine-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

/* ============================================================
   RESPONSIVE – Formulas & Sidebar
   ============================================================ */
@media (max-width: 991.98px) {
    .activity-sidebar-sticky {
        position: static;
        top: auto;
    }

    .afc-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .afc-reserve-btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 575.98px) {
    .activity-formula-card {
        padding: 16px;
    }

    .afc-price-main {
        font-size: 1.6rem;
    }
}

/* ============================================================
   TOURS – Pricing cards (trc-*)
   Uses same .activity-formula-card base — only overrides below
   ============================================================ */
#tour-results-zone {
    margin-top: 16px;
}

/* Tour cards: restore flex layout on footer (overrides the block !important below) */
.trc-card .afc-footer {
    display: flex !important;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    padding: 0;
}

/* Policy badge – base */
.trc-policy-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: .72rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    white-space: nowrap;
    letter-spacing: .01em;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Remboursable → vert clair */
.trc-policy-badge--refundable {
    background: #dcfce7;
    color: #15803d;
    border: 1px solid #bbf7d0;
}
.trc-policy-badge--refundable::before {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #16a34a;
    flex-shrink: 0;
}

/* Non remboursable → rouge clair */
.trc-policy-badge--non-refundable {
    background: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}
.trc-policy-badge--non-refundable::before {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #dc2626;
    flex-shrink: 0;
}

/* Calendar availability dots */
td.ta-avail {
    position: relative;
}
td.ta-avail .ts-dot {
    display: block !important;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    margin: 1px auto 0;
}

/* State banners (shared with activity) */
.afc-state-banner--warn {
    background: #fef3c7;
    color: #92400e;
    border-color: #fcd34d;
}

/* ===================================================
   SIDEBAR BOOKING ENGINE — Modern counter design
   =================================================== */
.pkg-booking-engine {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.06), 0 4px 10px -2px rgba(0,0,0,0.03);
    position: sticky;
    top: 20px;
}

/* Price banner */
.booking-card__head {
    background: linear-gradient(135deg, var(--main-color, #e91e8c), #ff4500);
    color: #fff;
    text-align: center;
    padding: 18px 16px 16px;
}

.pkg-banner-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
    margin-bottom: 4px;
}

.booking-card__price {
    font-size: 30px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 6px;
}

.pkg-banner-city {
    display: inline-block;
    background: rgba(255,255,255,0.18);
    border-radius: 20px;
    padding: 3px 12px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
}

.pkg-engine-body {
    padding: 20px 20px 24px;
}

/* Field label */
.pkg-field-label {
    display: block;
    font-size: 10.5px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 5px;
}

/* Single city badge */
.pkg-city-single {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff0f6;
    color: var(--main-color, #e91e8c);
    font-size: 13px;
    font-weight: 600;
    border-radius: 20px;
    padding: 5px 12px;
    margin-bottom: 14px;
}

/* Date display box */
.pkg-date-box {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    background: #f8fafc;
    border: 1.5px dashed #cbd5e1;
    border-radius: 12px;
    padding: 11px 13px;
    transition: border-color 0.2s, background 0.2s;
}

.pkg-date-box.has-date {
    background: #f0fdf4;
    border-color: #6ee7b7;
    border-style: solid;
}

.pkg-date-icon {
    color: #94a3b8;
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 1px;
}

.pkg-date-box.has-date .pkg-date-icon {
    color: #059669;
}

.pkg-date-text {
    display: block;
    font-size: 12.5px;
    color: #94a3b8;
    font-style: italic;
    text-transform: capitalize;
    line-height: 1.4;
}

.pkg-date-box.has-date .pkg-date-text {
    color: #065f46;
    font-style: normal;
    font-weight: 700;
    font-size: 13px;
}

.pkg-date-guarantee {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: #059669;
    margin-top: 2px;
}

/* ---- Counter rows ---- */
.counter-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc;
    border-radius: 12px;
    padding: 10px 12px;
    margin-bottom: 8px;
}

.counter-label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #475569;
    font-size: 13px;
}

.counter-label > i {
    font-size: 16px;
    color: #64748b;
    width: 20px;
    text-align: center;
}

.counter-label div {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.counter-label span {
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.2;
}

.counter-label small {
    font-size: 10.5px;
    color: #94a3b8;
    line-height: 1;
}

.counter-ctrl {
    display: flex;
    align-items: center;
    gap: 8px;
}

.counter-val {
    min-width: 22px;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
}

.counter-btn {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    border: 1.5px solid #cbd5e1;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    color: #334155;
    cursor: pointer;
    transition: background 0.18s, color 0.18s, border-color 0.18s, transform 0.1s;
    padding: 0;
    line-height: 1;
}

.counter-btn:hover {
    background: var(--main-color, #e91e8c);
    color: #fff;
    border-color: var(--main-color, #e91e8c);
    transform: scale(1.08);
}

/* Select (city dropdown) */
.pkg-select {
    width: 100%;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 13px;
    color: #374151;
    background: #fff;
    appearance: auto;
    cursor: pointer;
    transition: border-color 0.2s;
    outline: none;
}

.pkg-select:focus {
    border-color: var(--main-color, #e91e8c);
    box-shadow: 0 0 0 3px rgba(233,30,140,0.10);
}

/* Infant error */
.pkg-infant-err {
    display: flex;
    align-items: center;
    gap: 7px;
    background: #fff7ed;
    color: #c2410c;
    border: 1px solid #fed7aa;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 8px;
}

/* Search button */
.pkg-search-btn {
    width: 100%;
    background: var(--main-color, #e91e8c);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 13px 16px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: opacity 0.2s, transform 0.1s, box-shadow 0.2s;
    box-shadow: 0 4px 12px rgba(233,30,140,0.3);
}

.pkg-search-btn:hover:not(:disabled) {
    opacity: 0.92;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(233,30,140,0.35);
}

.pkg-search-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Hint text */
.pkg-hint {
    text-align: center;
    font-size: 11px;
    color: #94a3b8;
    margin: 8px 0 0;
    font-style: italic;
}

/* ====================================================
   Per-room configurator
   ==================================================== */
.pkg-rooms-config-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.pkg-rooms-config-title {
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #475569;
}

.pkg-pax-badge {
    font-size: 12px;
    font-weight: 700;
    background: #f1f5f9;
    color: #334155;
    border-radius: 20px;
    padding: 3px 12px;
    border: 1.5px solid #e2e8f0;
}

/* Room card */
.pkg-room-card {
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    padding: 12px 14px;
    margin-bottom: 10px;
    box-shadow: 0 1px 4px rgba(0,0,0,.04);
}

.pkg-room-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.pkg-room-card-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #1e293b;
}

.pkg-room-remove {
    background: none;
    border: none;
    font-size: 12px;
    font-weight: 600;
    color: #ef4444;
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 6px;
    transition: background .15s;
}
.pkg-room-remove:hover { background: #fef2f2; }

/* Per-row inside room card */
.pkg-room-pax-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-top: 1px solid #f1f5f9;
}
.pkg-room-pax-row:first-of-type { border-top: none; }

.pkg-room-pax-label {
    font-size: 12.5px;
    color: #475569;
    font-weight: 500;
}

/* Room counter (+/-) */
.pkg-room-counter {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pkg-room-counter span {
    min-width: 20px;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
}

.pkg-room-counter-btn {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    border: 1.5px solid #cbd5e1;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
    color: #334155;
    cursor: pointer;
    transition: background .18s, color .18s, border-color .18s;
    padding: 0;
    line-height: 1;
}
.pkg-room-counter-btn:hover {
    background: var(--main-color, #e91e8c);
    color: #fff;
    border-color: var(--main-color, #e91e8c);
}

/* Add room button */
.pkg-add-room-btn {
    width: 100%;
    background: #f8fafc;
    border: 1.5px dashed #cbd5e1;
    border-radius: 12px;
    padding: 9px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    text-align: center;
    margin-bottom: 12px;
    transition: background .18s, border-color .18s, color .18s;
}
.pkg-add-room-btn:hover {
    background: #f1f5f9;
    border-color: var(--main-color, #e91e8c);
    color: var(--main-color, #e91e8c);
}

/* Multi-room offer display */
.offer-rooms-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.offer-room-line {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    font-size: 13px;
    color: #334155;
    line-height: 1.5;
}

/* Spin animation for loading state */
@keyframes spin { to { transform: rotate(360deg); } }
.spin { display: inline-block; animation: spin 0.8s linear infinite; }

/* ---- FORMULA SECTION HEADER ---- */
.formula-section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 800;
    color: #1e293b;
    margin: 36px 0 18px;
    padding-bottom: 14px;
    border-bottom: 2px solid #f1f5f9;
    letter-spacing: -0.01em;
}

.formula-section-header i {
    color: var(--main-color, #e91e8c);
    font-size: 22px;
    flex-shrink: 0;
}

/* ---- PREMIUM FORMULA CARDS ---- */
.formula-card {
    background: #fff;
    border-radius: 16px;
    border: 1.5px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    transition: border-color 0.25s, box-shadow 0.25s;
    overflow: hidden;
    margin-bottom: 20px;
}

.formula-card:hover {
    border-color: #f9a8d4;
    box-shadow: 0 12px 28px -4px rgba(233,30,140,0.10);
}

.formula-card-body {
    display: flex;
    gap: 0;
    padding: 0;
}

.formula-card-left {
    flex: 1;
    padding: 22px 20px 22px 22px;
    border-right: 1.5px solid #f1f5f9;
}

.formula-card-right {
    width: 200px;
    flex-shrink: 0;
    padding: 22px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.formula-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.badge-incl {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #dcfce7;
    color: #15803d;
    font-size: 11px;
    font-weight: 700;
    border-radius: 20px;
    padding: 4px 10px;
}

.badge-flight {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #f1f5f9;
    color: #475569;
    font-size: 11px;
    font-weight: 600;
    border-radius: 20px;
    padding: 4px 10px;
    border: 1px solid #e2e8f0;
}

.formula-name {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 14px;
}

.formula-hotels {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Hotel item inside formula card */
.hotel-item-card {
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #edf2f7;
    padding: 10px 12px;
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
}

.hotel-img {
    width: 72px;
    height: 72px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}

.hotel-item-info {
    flex: 1;
    min-width: 0;
    margin-right: auto;
}

.hotel-item-city {
    display: block;
    font-size: 9.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #94a3b8;
    margin-bottom: 2px;
}

.hotel-item-name {
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hotel-item-stars {
    margin-bottom: 2px;
    line-height: 1;
}

.hotel-item-room {
    font-size: 11px;
    color: #64748b;
}

/* Formula pricing column */
.formula-price-label {
    display: block;
    font-size: 11px;
    color: #64748b;
    margin-bottom: 4px;
}

.formula-price {
    font-size: 28px;
    font-weight: 800;
    color: #1e293b;
    line-height: 1.1;
    margin-bottom: 2px;
}

.formula-price-cur {
    font-size: 14px;
    font-weight: 700;
}

.formula-price-note {
    font-size: 10.5px;
    color: #94a3b8;
    margin-bottom: 14px;
}

/* Configurer button */
.btn-configurer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    background: var(--main-color, #e91e8c);
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    border-radius: 10px;
    padding: 11px 14px;
    border: none;
    text-decoration: none !important;
    transition: opacity 0.18s, transform 0.12s, box-shadow 0.18s;
    box-shadow: 0 4px 10px rgba(233,30,140,0.25);
    cursor: pointer;
}

.btn-configurer:hover {
    opacity: 0.88;
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(233,30,140,0.3);
}

.collapse-reserve-wrap {
    padding: 0 18px 0;
}

/* Responsive formula cards */
@media (max-width: 767.98px) {
    .formula-card-body {
        flex-direction: column;
    }
    .formula-card-left {
        border-right: none;
        border-bottom: 1.5px solid #f1f5f9;
        padding: 18px;
    }
    .formula-card-right {
        width: 100%;
        padding: 16px 18px 18px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }
    .formula-price { font-size: 22px; }
    .btn-configurer { width: auto; min-width: 130px; }
    .formula-price-note { display: none; }
}

/* Responsive sidebar */
@media (max-width: 991.98px) {
    #tour-results-zone { margin-top: 24px; }
    .pkg-booking-engine { position: static; }
}

/* ============================================================
   NEW FORMULA CARD LAYOUT
   ============================================================ */
.formula-card-header {
    padding: 18px 22px 14px;
    border-bottom: 1.5px solid #f1f5f9;
}

.formula-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

/* "Formule Sélectionnée" green badge */
.badge-formula-selected {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    font-weight: 700;
    color: #166534;
    background: #dcfce7;
    border: 1px solid #bbf7d0;
    border-radius: 20px;
    padding: 4px 12px;
}

/* Toggle button for hotel list */
.btn-hotels-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    font-weight: 600;
    color: #334155;
    background: #f1f5f9;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 7px 14px;
    cursor: pointer;
    transition: background 0.18s, border-color 0.18s, color 0.18s;
}

.btn-hotels-toggle:hover,
.btn-hotels-toggle.is-open {
    background: #1a1c4b;
    border-color: #1a1c4b;
    color: #fff;
}

.toggle-chevron {
    transition: transform 0.25s ease;
    font-size: 11px;
}

.formula-hotels-row {
    flex-direction: column;
    gap: 8px;
    padding: 16px 22px;
    border-bottom: 1.5px solid #f1f5f9;
}

/* Pension badge inside hotel card */
.hotel-pension-badge {
    flex-shrink: 0;
    align-self: center;
    font-size: 11px;
    font-weight: 600;
    color: #92400e;
    background: #fef9c3;
    border: 1px solid #fde68a;
    border-radius: 8px;
    padding: 4px 9px;
    white-space: nowrap;
}

/* ============================================================
   OFFER OPTIONS (pre-configured room offers per formula)
   ============================================================ */
.formula-options-wrap {
    padding: 14px 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.offer-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    padding: 14px 18px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.offer-option:hover {
    border-color: #f9a8d4;
    box-shadow: 0 4px 16px rgba(233, 30, 140, 0.08);
}

.offer-option--open {
    background: #fff8f0;
    border-color: #fcd59c;
}

.offer-option--open:hover {
    border-color: #f59e0b;
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.10);
}

.offer-option--fallback {
    background: #fafafa;
    border-color: #e2e8f0;
}

.offer-option__left {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
    min-width: 0;
}

.offer-room-name {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
}

.offer-open-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 600;
    color: #92400e;
    background: #fef3c7;
    border-radius: 20px;
    padding: 2px 9px;
    width: fit-content;
}

.offer-pax-detail {
    font-size: 11px;
    color: #94a3b8;
    font-weight: 500;
}

.offer-no-match {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
    font-style: italic;
}

/* Capacity label "(Triple)" next to room name */
.offer-cap-label {
    font-size: 12.5px;
    font-weight: 500;
    color: #64748b;
}

.offer-option__right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.offer-price-wrap {
    text-align: right;
}

.offer-price-label {
    display: block;
    font-size: 10.5px;
    color: #94a3b8;
    margin-bottom: 2px;
}

.offer-price {
    font-size: 22px;
    font-weight: 800;
    color: #1e293b;
    line-height: 1.1;
}

.offer-price-cur {
    font-size: 13px;
    font-weight: 700;
}

.offer-price-total {
    font-size: 11px;
    color: #64748b;
    margin-top: 3px;
    line-height: 1.4;
}

.offer-taxes-note {
    font-size: 10px;
    color: #94a3b8;
    margin-left: 4px;
}

/* Reserve button */
.btn-reserver {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--main-color, #e91e8c);
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    border-radius: 10px;
    padding: 11px 20px;
    border: none;
    text-decoration: none !important;
    cursor: pointer;
    transition: opacity 0.18s, transform 0.12s, box-shadow 0.18s;
    box-shadow: 0 4px 14px rgba(233, 30, 140, 0.28);
    white-space: nowrap;
}

.btn-reserver:hover {
    opacity: 0.88;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(233, 30, 140, 0.32);
}

.pkg-reserve-form {
    margin: 0;
    padding: 0;
    display: inline-block;
}

/* Responsive offer options */
@media (max-width: 767.98px) {
    .offer-option {
        flex-direction: column;
        align-items: flex-start;
    }
    .offer-option__right {
        width: 100%;
        justify-content: space-between;
        align-items: center;
    }
    .offer-price-wrap { text-align: left; }
    .offer-price { font-size: 20px; }
    .formula-hotels-row { padding: 12px 16px; }
    .formula-card-header { padding: 16px 16px 10px; }
    .formula-options-wrap { padding: 10px 12px 14px; }
}
