.detail-container {
    padding-top: 16px;
    padding-bottom: 40px;
}

/* Kruimelpad */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 16px;
}

.breadcrumb a {
    color: var(--color-primary);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb .sep {
    color: #94a3b8;
}

.breadcrumb .current {
    color: var(--color-dark);
    font-weight: 600;
}

/* Hotel Header */
.hotel-header {
    margin-bottom: 20px;
}

.activity-type-badge {
    display: inline-block;
    margin-bottom: 0.5rem;
    padding: 0.25rem 0.65rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
    background: var(--color-cta);
    border-radius: 4px;
}

.tag-badge--activity {
    background: #fff7ed;
    color: #c2410c;
}

.detail-page--activity .hotel-title {
    max-width: 40rem;
}

@media (max-width: 768px) {
    .detail-page--activity .hotel-title {
        font-size: 1.55rem;
    }

    .activity-type-badge {
        font-size: 0.68rem;
    }
}

.hotel-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-dark);
    line-height: 1.2;
    margin-bottom: 8px;
}

.hotel-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.stars {
    color: #f59e0b;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.location-badge {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

.tag-badge {
    background: #e0f2fe;
    color: #0369a1;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
}

.tag-badge--price {
    background: #ecfdf5;
    color: #047857;
}

.btn-secondary-booking {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin-top: 10px;
    padding: 12px 16px;
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-primary, #0369a1);
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    text-decoration: none;
    white-space: normal;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.btn-secondary-booking .btn-text--short,
.btn-primary-booking .btn-text--short {
    display: none !important;
}

.btn-secondary-booking .btn-text--long,
.btn-primary-booking .btn-text--long {
    display: inline;
}

.btn-secondary-booking:hover {
    border-color: var(--color-primary, #0369a1);
    background: #f8fafc;
}

/* 2-Koloms Layout — stretch zodat sticky sidebar de volle kolomhoogte heeft (tot Over-blok) */
.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 28px;
    align-items: stretch;
    margin-bottom: 32px;
    width: 100%;
    max-width: 100%;
}

.detail-main,
.detail-sidebar,
.hotel-gallery-wrapper {
    min-width: 0;
    max-width: 100%;
}

/* Hero Foto */
.hotel-hero-image {
    width: 100%;
    height: 420px;
    border-radius: 12px;
    overflow: hidden;
    background: #e2e8f0;
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.hotel-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    font-weight: 500;
}

/* Kaarten */
.detail-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-top: -8px;
    margin-bottom: 20px;
}

/* Kenmerken Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #f1f5f9;
}

.feature-icon {
    font-size: 1.3rem;
}

.feature-label {
    display: block;
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    font-weight: 600;
}

.feature-value {
    display: block;
    font-size: 0.95rem;
    color: var(--color-dark);
}

.hotel-description {
    line-height: 1.7;
    color: var(--color-text-main);
    font-size: 0.95rem;
}

/* Sticky Boekingskaart (desktop): blijft in beeld terwijl je door gallery/kenmerken/Over scrollt */
.detail-sidebar {
    position: relative;
    height: auto;
    align-self: stretch;
}

.sticky-booking-card {
    position: -webkit-sticky;
    position: sticky;
    /* topbar (~28px) + main header (82px) + border + ademruimte voor 2px blauwe rand */
    top: 120px;
    z-index: 20;

    background: var(--color-bg-card);
    border: 2px solid var(--color-primary);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 10px 25px -5px rgba(2, 132, 199, 0.12);
}

.sticky-booking-card--activity {
    border-color: var(--color-cta);
    box-shadow: 0 10px 25px -5px rgba(249, 115, 22, 0.16);
}

.card-badge-top {
    display: inline-block;
    background: #f0fdf4;
    color: #16a34a;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 4px;
    margin-bottom: 12px;
}

.card-badge-top--activity {
    background: #fff7ed;
    color: #c2410c;
}

.price-header {
    margin-bottom: 16px;
}

.price-label {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    display: block;
}

.price-value {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-price);
    line-height: 1;
}

.price-sub {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-muted);
}

.booking-usps {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
}

.booking-usp-row {
    font-size: 0.85rem;
    color: var(--color-text-main);
    display: flex;
    align-items: center;
    gap: 8px;
}

.booking-usp-row span {
    color: #16a34a;
    font-weight: bold;
}

.btn-primary-booking {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    text-align: center;
    background: var(--color-cta);
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 700;
    padding: 14px 18px;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.28);
    transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    white-space: normal;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.btn-primary-booking:hover {
    background: var(--color-cta-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(249, 115, 22, 0.38);
}

.booking-guarantee-note {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-align: center;
    margin-top: 14px;
    line-height: 1.4;
}

/* Vergelijkingstabel */
.section-comparison {
    margin-top: 20px;
}

.table-responsive {
    overflow-x: auto;
}

.offers-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.offers-table th {
    background: #f8fafc;
    padding: 12px 14px;
    text-align: left;
    font-weight: 600;
    color: var(--color-text-muted);
    border-bottom: 2px solid var(--color-border);
}

.offers-table td {
    padding: 14px;
    border-bottom: 1px solid #f1f5f9;
    color: var(--color-text-main);
    vertical-align: middle;
}

.offers-table tr:hover td {
    background-color: #f8fafc;
}

.badge-provider {
    display: inline-block;
    background: #e2e8f0;
    color: var(--color-dark);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
}

.col-price {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-price);
}

.col-action {
    text-align: right;
}

.btn-table-action {
    display: inline-block;
    background: var(--color-primary);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.15s ease;
}

.btn-table-action:hover {
    background: var(--color-primary-hover);
}

/* Vergelijkbare vakanties grid */
.similar-holidays-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--color-border);
}

/* ==========================================================================
   Gedeelde hotelkaart: overzicht (.holiday-*) + alternatieven (.similar-*)
   Gegroepeerde selectors i.p.v. preprocessor-@extend (geldige CSS3).
   ========================================================================== */
.holiday-grid,
.similar-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 16px;
}

.holiday-card,
.similar-hotel-card {
    position: relative; /* 1. ankerpunt voor de stretched link */
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.holiday-card:hover,
.similar-hotel-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.holiday-card__media,
.similar-card-media {
    width: 100%;
    height: 150px;
    background: #f1f5f9;
}

.holiday-card__media img,
.similar-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.holiday-card__media-empty,
.similar-img-empty {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    font-size: 0.85rem;
}

.holiday-card__body,
.similar-card-info {
    padding: 14px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.holiday-card__title,
.similar-card-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Titellink reset */
.holiday-card__title a,
.similar-card-title a {
    color: inherit;
    text-decoration: none;
}

/* 2. Stretched link: titellink bedekt de hele kaart */
.holiday-card__title a::after,
.similar-card-title a::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}

.holiday-card__meta,
.similar-card-loc {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-bottom: 12px;
}

.holiday-card__footer,
.similar-card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px dashed #f1f5f9;
}

.holiday-card__price,
.similar-card-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-price);
}

.holiday-card__price small,
.similar-card-price small {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--color-text-muted);
}

/* 3. CTA blijft klikbaar bovenop de stretched link */
.btn-book,
.similar-card-btn {
    position: relative;
    z-index: 2;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
}

@media (max-width: 992px) {
    /* minmax(0,1fr): voorkomt dat gallery/thumbnails de kolom breder maken dan de viewport */
    .detail-layout { grid-template-columns: minmax(0, 1fr); }
    .detail-sidebar { position: static; order: -1; margin-bottom: 24px; }
    .sticky-booking-card {
        position: static;
        top: auto;
    }
    .holiday-grid,
    .similar-cards-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .detail-container {
        overflow-x: clip;
        max-width: 100%;
        width: 100%;
    }

    .hotel-title {
        font-size: 1.45rem;
        overflow-wrap: anywhere;
    }

    .hotel-gallery-wrapper,
    .hotel-hero-image {
        width: 100%;
        max-width: 100%;
    }

    .hotel-hero-image img {
        width: 100%;
        max-width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .hotel-thumbnails-strip {
        max-width: 100%;
        min-width: 0;
    }

    .sticky-booking-card {
        padding: 16px;
        width: 100%;
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    .price-value {
        font-size: 1.75rem;
    }

    .booking-usp-row {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .provider-inline-link {
        flex-wrap: wrap;
        max-width: 100%;
    }

    .booking-guarantee-note {
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .btn-primary-booking,
    .btn-secondary-booking {
        font-size: 0.95rem;
        padding: 12px 14px;
    }

    .btn-primary-booking .btn-text--long,
    .btn-secondary-booking .btn-text--long {
        display: none !important;
    }

    .btn-primary-booking .btn-text--short,
    .btn-secondary-booking .btn-text--short {
        display: inline !important;
    }

    .table-responsive {
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 600px) {
    .hotel-hero-image { height: 250px; }
    .features-grid { grid-template-columns: 1fr; }
    .holiday-grid,
    .similar-cards-grid { grid-template-columns: 1fr; }
    .hotel-title { font-size: 1.5rem; }
}
/* Aanbieder overzichtspagina styling */
.provider-hero {
    background: #ffffff;
    border-bottom: 1px solid var(--color-border);
    padding: 28px 0;
    margin-bottom: 30px;
}

.provider-header-box {
    display: flex;
    align-items: center;
    gap: 20px;
}

.provider-big-logo {
    width: 72px;
    height: 72px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid var(--color-border);
    padding: 8px;
    object-fit: contain;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.provider-title {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--color-dark);
    margin-bottom: 4px;
}

.provider-count {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}
/* Paginering Styling */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 40px 0 60px;
    flex-wrap: wrap;
}

.pagination-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid var(--color-border);
    color: var(--color-dark);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.pagination-item:hover:not(.disabled):not(.active) {
    border-color: var(--color-primary, #ff6b00);
    color: var(--color-primary, #ff6b00);
    background: #fff8f3;
}

.pagination-item.active {
    background: var(--color-primary, #ff6b00);
    border-color: var(--color-primary, #ff6b00);
    color: #ffffff;
    cursor: default;
}

.pagination-item.disabled {
    color: #cbd5e1;
    border-color: #f1f5f9;
    background: #f8fafc;
    cursor: not-allowed;
    pointer-events: none;
}

.pagination-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 42px;
    color: var(--color-text-muted);
    font-weight: 700;
}

/* Aanbieder Bestemmingsfilters (Chips) */
.provider-filters-bar {
    margin-bottom: 24px;
    padding-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.provider-filters-bar::-webkit-scrollbar {
    height: 4px;
}

.provider-filters-bar::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.provider-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 50px;
    color: var(--color-dark);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.provider-filter-chip:hover {
    border-color: var(--color-primary, #ff6b00);
    color: var(--color-primary, #ff6b00);
    background: #fffaf5;
}

.provider-filter-chip.active {
    background: var(--color-primary, #ff6b00);
    border-color: var(--color-primary, #ff6b00);
    color: #ffffff;
    font-weight: 600;
}

.provider-filter-chip .chip-count {
    font-size: 0.8rem;
    opacity: 0.75;
}

.provider-filter-chip.active .chip-count {
    opacity: 0.9;
}

/* Specifieke layout helpers voor aanbiederspagina */
.provider-cards-grid {
    margin-top: 0;
    margin-bottom: 20px;
}

.provider-empty-state {
    text-align: center;
    padding: 48px;
    margin-top: 20px;
}

.provider-empty-desc {
    color: var(--color-text-muted);
    margin-top: 8px;
}

.provider-empty-action {
    margin-top: 20px;
}

.is-hidden {
    display: none !important;
}

/* Toolbar: Filters links, sorteren rechts */
.provider-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.provider-toolbar .provider-filters-bar {
    margin-bottom: 0;
    flex: 1;
    min-width: 0;
}

.provider-sort-box {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.provider-sort-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text-muted);
}

.provider-sort-select {
    padding: 8px 32px 8px 12px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-dark);
    background-color: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
    transition: border-color 0.2s ease;
}

.provider-sort-select:hover,
.provider-sort-select:focus {
    border-color: var(--color-primary, #ff6b00);
    outline: none;
}

/* Centrale Aanbieders Index Grid */
.providers-index-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    margin: 32px 0 64px;
}

.provider-hub-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px 20px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.provider-hub-card:hover {
    transform: translateY(-2px);
    border-color: #ff6b00;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}

.provider-hub-logo-box {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #edf2f7;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.provider-hub-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.provider-hub-meta {
    min-width: 0;
    flex: 1;
}

.provider-hub-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.provider-hub-count {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
}

.provider-hub-arrow {
    color: #cbd5e1;
    font-size: 1.2rem;
    font-weight: 700;
    transition: transform 0.2s ease, color 0.2s ease;
}

.provider-hub-card:hover .provider-hub-arrow {
    color: #ff6b00;
    transform: translateX(4px);
}

/* Aanbieder Badge op Detailpagina */
.provider-detail-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    background: #f8fafc;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    text-decoration: none;
    color: var(--color-dark);
    margin: 12px 0 18px;
    transition: all 0.2s ease;
}

.provider-detail-badge:hover {
    border-color: var(--color-primary, #ff6b00);
    background: #fffaf5;
}

.provider-detail-logo {
    width: 22px;
    height: 22px;
    object-fit: contain;
    border-radius: 4px;
}

.provider-detail-label {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.provider-detail-name {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--color-dark);
}

.provider-detail-arrow {
    color: var(--color-primary, #ff6b00);
    font-weight: 700;
    margin-left: 4px;
}

/* Cross-linking Aanbieder op Detailpagina */
.provider-inline-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-dark);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.provider-inline-link:hover {
    color: var(--color-primary, #ff6b00);
}

.provider-inline-logo {
    width: 16px;
    height: 16px;
    object-fit: contain;
    border-radius: 3px;
    vertical-align: middle;
}

.provider-inline-arrow {
    color: var(--color-primary, #ff6b00);
    font-weight: 700;
    font-size: 0.95rem;
}

.guarantee-provider-link {
    color: inherit;
    text-decoration: underline;
    font-weight: 600;
}

.guarantee-provider-link:hover {
    color: var(--color-primary, #ff6b00);
}

/* ==========================================================================
   Hotel Galerij & wsrv.nl Thumbnails
   ========================================================================== */
.hotel-gallery-wrapper {
    margin-bottom: 24px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.hotel-hero-image {
    width: 100%;
    max-width: 100%;
    background-color: #f1f5f9;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.hotel-hero-image img {
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: 520px;
    object-fit: cover;
    display: block;
    transition: opacity 0.2s ease-in-out;
}

.hotel-hero-image img.is-fading {
    opacity: 0.35;
}

.hotel-hero-image img.is-provider-logo {
    object-fit: contain;
    object-position: center;
    background: #f1f5f9;
    padding: 2.5rem;
    max-height: 520px;
}

.similar-card-media img.is-provider-logo {
    object-fit: contain;
    object-position: center;
    background: #f1f5f9;
    padding: 1.25rem;
}

.hotel-hero-image .image-placeholder--fallback {
    position: absolute;
    inset: 0;
}

.hotel-hero-image .image-placeholder--fallback.is-hidden {
    display: none !important;
}

.th-price,
.col-price,
.th-action,
.col-button {
    text-align: right;
}

.detail-page__breadcrumb {
    margin-bottom: 16px;
}

.detail-page__hotel {
    margin-bottom: 20px;
}

.detail-page__specs {
    margin-top: 0;
}

.hotel-thumbnails-strip {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    overflow-x: auto;
    max-width: 100%;
    min-width: 0;
    padding-bottom: 6px;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

.hotel-thumbnails-strip::-webkit-scrollbar {
    height: 6px;
}

.hotel-thumbnails-strip::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.thumb-item {
    flex: 0 0 115px;
    height: 76px;
    padding: 0;
    margin: 0;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    background: #e2e8f0;
    transition: border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.thumb-item:hover {
    transform: translateY(-2px);
}

.thumb-item.active {
    border-color: #0284c7;
    box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.35);
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Verbeterde Vergelijkingstabel Styling */
.section-comparison {
    margin-top: 2rem;
}

.comparison-header-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.comparison-badge-summary {
    background: #e0f2fe;
    color: #0369a1;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
}

.modern-comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.92rem;
}

.modern-comparison-table th {
    background: #f8fafc;
    color: #475569;
    font-weight: 700;
    padding: 0.85rem 1rem;
    border-bottom: 2px solid #e2e8f0;
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 0.5px;
    text-align: left;
}

.modern-comparison-table td {
    padding: 0.9rem 1rem;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
    color: #334155;
}

.modern-comparison-table tbody tr:hover td {
    background-color: #f8fafc;
}

/* Highlight voor de laagste prijs (Beste Deal) */
.modern-comparison-table tr.row-best-deal td {
    background-color: #f0fdf4 !important;
}

.deal-tag-inline {
    display: inline-block;
    background: #16a34a;
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 6px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.airport-text {
    font-weight: 500;
    white-space: nowrap;
}

/* Nette Pill voor touroperator */
.table-provider-pill {
    display: inline-block;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #0f172a;
    font-weight: 600;
    font-size: 0.82rem;
    padding: 4px 10px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.15s ease;
}

.table-provider-pill:hover {
    background: #e2e8f0;
    color: #0284c7;
}

/* Prijscel */
.table-price-val {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
}

.modern-comparison-table tr.row-best-deal .table-price-val {
    color: #15803d;
}

/* Actieknoppen */
.th-action,
.col-action {
    text-align: right;
    width: 140px;
}

.btn-table-cta {
    background: #ffffff;
    border: 1.5px solid #0284c7;
    color: #0284c7 !important;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    white-space: nowrap;
    transition: all 0.15s ease;
}

.btn-table-cta:hover {
    background: #0284c7;
    color: #ffffff !important;
}

.btn-table-cta.btn-deal-highlight {
    background: #0284c7;
    border-color: #0284c7;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(2, 132, 199, 0.28);
}

.btn-table-cta.btn-deal-highlight:hover {
    background: #0369a1;
    border-color: #0369a1;
}

/* Vliegtuig icoon & luchthaven tekst */
.table-plane-icon {
    color: #0284c7;
    flex-shrink: 0;
    vertical-align: -2px;
    margin-right: 4px;
}

.airport-text {
    display: inline-flex;
    align-items: center;
    font-weight: 500;
}

/* ==========================================================================
   Moderne Vlucht- & Prijsvergelijker (Clean UX)
   ========================================================================== */
.table-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f1f5f9;
}

.deal-count-pill {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
}

/* ==========================================================================
   Moderne Vlucht- & Prijsvergelijker (Clean UX)
   ========================================================================== */
.flight-deal-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: auto;
}

.flight-deal-table thead th {
    background: #f8fafc;
    color: #475569;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 14px;
    border-bottom: 2px solid #e2e8f0;
    white-space: nowrap;
}

.flight-deal-table td {
    padding: 12px 14px;
    vertical-align: middle;
    border-bottom: 1px solid #f1f5f9;
}

.deal-row:hover td {
    background: #f8fafc;
}

.deal-row.is-best-deal td {
    background: #f0fdf4;
}

.date-main {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
}

.badge-best-price {
    display: inline-block;
    background: #16a34a;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 2px 7px;
    border-radius: 4px;
    margin-top: 4px;
    white-space: nowrap;
}

.airport-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #1e293b;
    font-weight: 500;
    white-space: nowrap;
}

.flight-icon {
    color: #0284c7;
    flex-shrink: 0;
}

.duration-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: #0f172a;
    white-space: nowrap;
}

.board-text {
    font-size: 0.8rem;
    color: #64748b;
    white-space: nowrap;
}

.partner-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 5px 10px;
    border-radius: 6px;
    white-space: nowrap;
}

.partner-favicon {
    width: 16px;
    height: 16px;
    object-fit: contain;
    flex-shrink: 0;
}

.partner-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1e293b;
    white-space: nowrap;
}

.price-amount {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
    white-space: nowrap;
}

.deal-row.is-best-deal .price-amount {
    color: #16a34a;
}

.price-unit {
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 2px;
    white-space: nowrap;
}

.btn-deal-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #0369a1;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 6px;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.15s ease;
}

.btn-deal-action:hover {
    background: #0284c7;
    border-color: #0284c7;
    color: #ffffff;
}

.btn-deal-action.btn-deal-primary {
    background: #0284c7;
    border-color: #0284c7;
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.25);
}

.btn-deal-action.btn-deal-primary:hover {
    background: #0369a1;
    border-color: #0369a1;
}

.btn-deal-action.btn-deal-current {
    cursor: default;
    color: #64748b;
    background: #f1f5f9;
    border-color: #e2e8f0;
    box-shadow: none;
    pointer-events: none;
}

/* Aanbieder pill strakker zonder overbodige border */
.partner-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 4px 10px;
    border-radius: 6px;
}

.partner-favicon {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.partner-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1e293b;
}

.airport-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #1e293b;
    font-weight: 500;
}

.flight-icon {
    color: #0284c7;
    flex-shrink: 0;
}

/* Definitieve verfijning tabel */
.flight-deal-table {
    table-layout: fixed;
}

.flight-deal-table th, 
.flight-deal-table td {
    overflow: hidden;
    text-overflow: ellipsis;
}

.badge-best-price {
    display: inline-block !important;
    background: #16a34a;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 7px;
    border-radius: 4px;
    margin-top: 3px;
    line-height: 1.2;
}

.airport-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.flight-icon {
    color: #0284c7;
    flex-shrink: 0;
}

/* Chronologische tabel styling verfijning */
.flight-deal-table {
    width: 100%;
    border-collapse: collapse;
}

.flight-deal-table thead th {
    padding: 12px 14px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #f8fafc;
    border-bottom: 2px solid #e2e8f0;
}

.flight-deal-table td {
    padding: 12px 14px;
    vertical-align: middle;
    border-bottom: 1px solid #f1f5f9;
}

.flight-icon {
    color: #0284c7;
    flex-shrink: 0;
    transform: rotate(45deg);
}

.badge-best-price {
    display: inline-block;
    background: #16a34a;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 2px 6px;
    border-radius: 4px;
    margin-top: 3px;
}


/* ==========================================================================
   Definitieve Tabel Styling (Zonder afkappingen)
   ========================================================================== */
.section-comparison {
    margin-top: 2rem;
}

.flight-deal-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: auto !important; /* Laat kolommen natuurlijk ademen */
}

.flight-deal-table thead th {
    background: #f8fafc;
    color: #475569;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 14px;
    border-bottom: 2px solid #e2e8f0;
    white-space: nowrap;
}

.flight-deal-table td {
    padding: 12px 14px;
    vertical-align: middle;
    border-bottom: 1px solid #f1f5f9;
    overflow: visible !important;
    text-overflow: clip !important;
}

.deal-row:hover td {
    background: #f8fafc;
}

.deal-row.is-best-deal td {
    background: #f0fdf4 !important;
}

/* Kolom specifieke styles */
.date-main {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
}

.badge-best-price {
    display: inline-block !important;
    background: #16a34a;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 2px 7px;
    border-radius: 4px;
    margin-top: 4px;
    white-space: nowrap;
}

.airport-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #1e293b;
    font-weight: 500;
    white-space: nowrap;
}

.flight-icon {
    color: #0284c7;
    flex-shrink: 0;
    transform: none !important; /* Geen rare kanteling */
}

.duration-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: #0f172a;
    white-space: nowrap;
}

.board-text {
    font-size: 0.8rem;
    color: #64748b;
    white-space: nowrap;
}

.partner-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 5px 10px;
    border-radius: 6px;
    white-space: nowrap;
}

.partner-favicon {
    width: 16px;
    height: 16px;
    object-fit: contain;
    flex-shrink: 0;
}

.partner-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1e293b;
    white-space: nowrap;
}

.price-amount {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
    white-space: nowrap;
}

.deal-row.is-best-deal .price-amount {
    color: #16a34a;
}

.price-unit {
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 2px;
    white-space: nowrap;
}

.btn-deal-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #0369a1;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 6px;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.15s ease;
}

.btn-deal-action:hover {
    background: #0284c7;
    border-color: #0284c7;
    color: #ffffff;
}

.btn-deal-action.btn-deal-primary {
    background: #0284c7;
    border-color: #0284c7;
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.25);
}

.btn-deal-action.btn-deal-primary:hover {
    background: #0369a1;
    border-color: #0369a1;
}

.btn-deal-action.btn-deal-current {
    cursor: default;
    color: #64748b;
    background: #f1f5f9;
    border-color: #e2e8f0;
    box-shadow: none;
    pointer-events: none;
}

/* Fallback deal melding bovenaan detailpagina */
.alert-fallback-deal {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: #fffbeb;
    border: 1px solid #fde68a;
    border-left: 4px solid #f59e0b;
    color: #92400e;
    padding: 12px 18px;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.alert-fallback-deal .alert-icon {
    flex-shrink: 0;
    color: #d97706;
}

.alert-fallback-deal .alert-text {
    font-size: 0.92rem;
    line-height: 1.45;
}

/* ==========================================================================
   Fallback Deal Alert Banner
   ========================================================================== */
.alert-fallback-deal {
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 1200px;
    margin: 1.25rem auto 1.5rem auto;
    padding: 14px 20px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-left: 5px solid #f59e0b;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(245, 158, 11, 0.08);
}

.alert-fallback-deal .alert-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #d97706;
}

.alert-fallback-deal .alert-icon svg {
    display: block;
    width: 22px;
    height: 22px;
}

.alert-fallback-deal .alert-text {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #92400e;
}

.alert-fallback-deal .alert-text strong {
    color: #78350f;
    font-weight: 600;
}

/* Deal-kaarten (mobiel): styles altijd geladen; zichtbaarheid via breakpoints */
.deal-cards-mobile {
    display: none !important;
    flex-direction: column;
    gap: 0.65rem;
}

.deal-card-mobile {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding: 0.85rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff;
    box-sizing: border-box;
}

.deal-card-mobile--best {
    border-color: #86efac;
    background: #f0fdf4;
}

.deal-card-mobile__badge {
    align-self: flex-start;
    display: inline-block;
    background: #16a34a;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 2px 7px;
    border-radius: 4px;
    margin-bottom: 0.1rem;
}

.deal-card-mobile__top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
}

.deal-card-mobile__date {
    font-size: 1.1rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    min-width: 0;
}

.deal-card-mobile__price {
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    gap: 0.3rem;
    flex-shrink: 0;
    text-align: right;
}

.deal-card-mobile__price-val {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.1;
}

.deal-card-mobile--best .deal-card-mobile__price-val {
    color: #16a34a;
}

.deal-card-mobile__price-unit {
    font-size: 0.75rem;
    font-weight: 500;
    color: #64748b;
}

.deal-card-mobile__meta {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.35;
    color: #475569;
    overflow-wrap: anywhere;
}

.deal-card-mobile__provider {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    min-width: 0;
}

.deal-card-mobile__logo {
    width: 18px;
    height: 18px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 3px;
}

.deal-card-mobile__provider-name {
    font-size: 0.88rem;
    font-weight: 600;
    color: #1e293b;
    overflow-wrap: anywhere;
    min-width: 0;
}

.deal-card-mobile__cta {
    display: flex;
    width: 100%;
    box-sizing: border-box;
    justify-content: center;
    margin-top: 0.4rem;
}

.deal-card-mobile__cta.btn-deal-primary {
    background: #0284c7;
    border-color: #0284c7;
    color: #ffffff;
}

@media (min-width: 769px) {
    .deal-table-desktop {
        display: block;
    }

    .deal-cards-mobile {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .alert-fallback-deal {
        margin: 1rem 1rem 1.25rem 1rem;
        padding: 12px 16px;
        font-size: 0.9rem;
    }

    .section-comparison {
        overflow: visible;
    }

    .section-comparison .table-header-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.65rem;
    }

    .section-comparison .card-title {
        font-size: 1.15rem;
        line-height: 1.3;
        overflow-wrap: anywhere;
    }

    .deal-table-desktop {
        display: none !important;
    }

    .deal-cards-mobile {
        display: flex !important;
    }
}
