.ready-packages-page {
    min-height: calc(100vh - 100px);
    padding: 1.5rem 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

/* Filter Section */
.filter-section {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.results-count {
    font-size: 1.1rem;
    color: #2c3e50;
    display: flex;
    align-items: center;
}

.results-count strong {
    color: #14664c;
    font-size: 1.5rem;
    margin: 0 0.5rem;
}

.date-filter-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.filter-label {
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
    white-space: nowrap;
    font-size: 0.95rem;
}

.date-filter-select {
    flex: 1;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: white;
}

.date-filter-select:focus {
    border-color: #14664c;
    box-shadow: 0 0 0 0.2rem rgba(20, 102, 76, 0.25);
    outline: none;
}

.date-filter-select option {
    padding: 0.5rem;
}

/* Page Header */
.page-header-section {
    padding: 1rem 0 0.5rem;
}

.header-icon {
    font-size: 2.5rem;
    color: #14664c;
}

.page-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.75rem;
}

.page-subtitle {
    font-size: 1.1rem;
    color: #5f6b6d;
    margin-bottom: 2rem;
}

.info-badges {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.info-badge {
    background: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #14664c;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.info-badge i {
    margin-right: 0.5rem;
}

/* Packages Grid */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

/* Package Card Modern */
.package-card-modern {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.package-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

/* Fully Booked Card Styles */
.package-card-modern.fully-booked {
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    opacity: 0.7;
    position: relative;
}

.package-card-modern.fully-booked::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 15px;
    pointer-events: none;
}

.package-card-modern.fully-booked:hover {
    transform: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.package-card-modern.fully-booked .package-title-modern,
.package-card-modern.fully-booked .info-value-modern,
.package-card-modern.fully-booked .new-price-modern {
    color: #65737a;
}

.package-card-modern.fully-booked .btn-book-modern:disabled {
    background: #bdc3c7;
    color: #5f6b6d;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Discount Badge Modern */
.discount-badge-modern {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(255, 107, 107, 0.3);
    z-index: 2;
}

.discount-badge-modern i {
    margin-left: 5px;
}

/* Package Header Modern */
.package-header-modern {
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f2f5;
}

.package-title-modern {
    font-size: 1.3rem;
    font-weight: 700;
    color: #14664c;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.package-title-modern i {
    font-size: 1.5rem;
}

.package-desc-modern {
    color: #5f6b6d;
    font-size: 0.9rem;
    margin: 0;
}

/* Trip Info Modern */
.trip-info-modern {
    margin-bottom: 1.25rem;
}

.info-row-modern {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.info-row-modern:last-child {
    margin-bottom: 0;
}

.info-item-modern {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #f8f9fa;
    padding: 12px;
    border-radius: 10px;
}

.info-icon-modern {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    flex-shrink: 0;
}

.info-icon-modern.departure {
    background: linear-gradient(135deg, #14664c 0%, #0d5940 100%);
}

.info-icon-modern.return {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.info-icon-modern.location {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
}

.info-icon-modern.seats {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}

.info-content-modern {
    flex: 1;
}

.info-label-modern {
    font-size: 0.75rem;
    color: #5f6b6d;
    margin-bottom: 4px;
    font-weight: 500;
}

.info-value-modern {
    font-size: 1.05rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 2px;
}

.info-time-modern {
    font-size: 0.85rem;
    color: #65737a;
    font-weight: 500;
}

.city-times-modern {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.city-time-modern {
    display: block;
    color: #6c757d;
}

/* Package Includes Modern */
.package-includes-modern {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 1.25rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.include-item-modern {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.include-item-modern i {
    font-size: 1.5rem;
    color: #14664c;
}

.include-item-modern span {
    font-size: 0.75rem;
    font-weight: 600;
    color: #2c3e50;
}

/* Price & CTA Modern */
.price-cta-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 2px solid #f0f2f5;
    margin-top: auto;
}

.price-modern {
    flex: 1;
}

.old-price-modern {
    font-size: 0.9rem;
    color: #65737a;
    text-decoration: line-through;
    margin-bottom: 4px;
}

.new-price-modern {
    font-size: 1.8rem;
    font-weight: 800;
    color: #14664c;
    line-height: 1;
}

.new-price-modern span {
    font-size: 1rem;
    font-weight: 600;
}

.price-per-modern {
    font-size: 0.75rem;
    color: #5f6b6d;
    margin-top: 4px;
}

.alternative-price-modern {
    font-size: 0.85rem;
    color: #667eea;
    margin-top: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.alternative-price-modern i {
    font-size: 0.75rem;
}

.btn-book-modern {
    padding: 12px 24px;
    background: linear-gradient(135deg, #14664c 0%, #0d5940 100%);
    color: white;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-book-modern:hover {
    background: linear-gradient(135deg, #0d5940 0%, #14664c 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(20, 102, 76, 0.4);
    color: white;
}

.btn-book-modern i {
    transition: transform 0.3s ease;
}

.btn-book-modern:hover i {
    transform: translateX(-3px);
}

/* Old Package Card (Hidden) */
.package-card {
    display: none;
}

/* Discount Badge */
.discount-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

[dir="rtl"] .discount-badge {
    right: auto;
    left: 20px;
}

/* Package Header */
.package-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.package-icon {
    font-size: 3rem;
    color: #14664c;
    margin-bottom: 1rem;
}

.package-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.package-subtitle {
    color: #5f6b6d;
    font-size: 0.95rem;
}

/* Trip Details */
.trip-details-section {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.trip-route {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.route-point {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.point-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.point-icon.departure {
    background: linear-gradient(135deg, #14664c 0%, #0d5940 100%);
}

.point-icon.arrival {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.point-label {
    font-size: 0.75rem;
    color: #5f6b6d;
    margin-bottom: 0.25rem;
}

.point-city {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.25rem;
}

.point-datetime {
    font-size: 0.85rem;
    color: #65737a;
}

.point-datetime .date {
    margin-right: 0.5rem;
}

.route-arrow {
    text-align: center;
    color: #14664c;
}

.route-arrow i {
    font-size: 2rem;
}

.route-duration {
    font-size: 0.75rem;
    color: #5f6b6d;
    margin-top: 0.25rem;
}

.return-info {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #dee2e6;
    font-size: 0.9rem;
    color: #6c757d;
    text-align: center;
}

/* Package Includes */
.package-includes {
    margin-bottom: 1.5rem;
}

.includes-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.includes-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.includes-list li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    color: #34495e;
    font-size: 0.95rem;
}

.includes-list i {
    color: #14664c;
    margin-right: 0.75rem;
    width: 20px;
}

[dir="rtl"] .includes-list i {
    margin-right: 0;
    margin-left: 0.75rem;
}

/* Available Seats */
.available-seats {
    background: #e8f5e9;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 1.5rem;
    color: #2e7d32;
    font-weight: 600;
}

.seats-count {
    font-size: 1.5rem;
    color: #1b5e20;
}

/* Price Section */
.price-section {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    text-align: center;
}

.original-price {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #5f6b6d;
}

.strikethrough {
    text-decoration: line-through;
}

.final-price {
    margin-bottom: 0.5rem;
}

.final-price .price-value {
    font-size: 2rem;
    font-weight: 700;
    color: #14664c;
}

.price-note {
    font-size: 0.85rem;
    color: #5f6b6d;
}

/* Book Button */
.btn-book-package {
    display: block;
    background: linear-gradient(135deg, #14664c 0%, #0d5940 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: auto;
}

.btn-book-package:hover {
    background: linear-gradient(135deg, #0d5940 0%, #14664c 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(20, 102, 76, 0.4);
    color: white;
}

/* No Packages */
.no-packages {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 20px;
}

.no-packages-icon {
    font-size: 5rem;
    color: #bdc3c7;
    margin-bottom: 1rem;
}

.no-packages h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.no-packages p {
    color: #5f6b6d;
    margin-bottom: 2rem;
}

/* Pagination */
.pagination-custom {
    gap: 0.5rem;
}

.pagination-custom .page-link {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    color: #14664c;
    font-weight: 600;

    transition: all 0.3s ease;
    min-width: 50px;
    text-align: center;
}

.pagination-custom .page-link:hover {
    background: #f8f9fa;
    border-color: #14664c;
    color: #14664c;
    transform: translateY(-2px);
}

.pagination-custom .page-item.active .page-link {
    background: linear-gradient(135deg, #14664c 0%, #0d5940 100%);
    border-color: #14664c;
    color: white;
    box-shadow: 0 4px 15px rgba(20, 102, 76, 0.3);
}

.pagination-custom .page-item.disabled .page-link {
    border-color: #e9ecef;
    background: transparent;
    color: #adb5bd;
}

/* Create Your Trip visual system */
.ready-packages-page {
    --rp-green: #07845f;
    --rp-green-dark: #066b4e;
    --rp-green-soft: #eef8f4;
    --rp-navy: #172b46;
    --rp-muted: #5d6a7f;
    --rp-border: #dbe3ea;
    background: #f4f7f8;
    padding: 2.75rem 0 4rem;
}

.ready-packages-page .container { max-width: 1380px; }
.page-header-section { padding: .25rem 0 1.75rem; margin-bottom: 0 !important; }
.header-icon { color: var(--rp-green); font-size: 2.65rem; line-height: 1; margin-bottom: 1rem !important; }
.page-title { color: var(--rp-navy); font-size: clamp(1.8rem, 2.5vw, 2.35rem); margin-bottom: .6rem; }
.page-subtitle { color: var(--rp-muted); font-size: 1rem; margin: 0 0 1.25rem; }
.info-badges { gap: 2rem; }
.info-badge {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    color: #526175;
    font-size: .9rem;
    font-weight: 500;
}
.info-badge i { color: var(--rp-green); margin: 0; }

.filter-section {
    padding: 1.25rem 1.5rem;
    border: 1px solid var(--rp-border);
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(23, 43, 70, .05);
}
.filter-section .row { flex-direction: row-reverse; }
.results-count { justify-content: flex-end; color: var(--rp-navy); font-size: 1rem; }
.results-count > i, .filter-label i { color: var(--rp-green); }
.results-count strong { color: var(--rp-green); font-size: 1.3rem; }
.date-filter-container { max-width: 580px; }
.date-filter-select {
    min-height: 48px;
    border: 1px solid var(--rp-border);
    border-radius: 9px;
    color: var(--rp-navy);
    font-size: .95rem;
}
.date-filter-select:focus { border-color: var(--rp-green); box-shadow: 0 0 0 3px rgba(7, 132, 95, .12); }

.packages-grid { grid-template-columns: 1fr; gap: 1.25rem; margin-top: 1.25rem; }
.package-card-modern {
    display: grid;
    grid-template-columns: minmax(230px, 1.05fr) minmax(500px, 2.5fr) minmax(220px, .9fr);
    grid-template-areas:
        "header info price"
        "header includes price"
        "payment payment payment"
        "actions actions actions";
    align-items: stretch;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--rp-border);
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(23, 43, 70, .055);
    transition: border-color .2s ease, box-shadow .2s ease;
}
.package-card-modern:hover {
    transform: none;
    border-color: #b8d8cc;
    box-shadow: 0 12px 30px rgba(23, 43, 70, .08);
}
.package-header-modern {
    grid-area: header;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.75rem;
    margin: 0;
    border: 0;
    border-left: 1px solid var(--rp-border);
}
.package-title-modern { color: var(--rp-navy); font-size: 1.55rem; gap: .65rem; }
.package-title-modern i { color: var(--rp-green); font-size: 1.35rem; }
.package-desc-modern { color: var(--rp-muted); margin: .15rem 0 1rem; }
.package-route-modern { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; color: #526175; font-size: .88rem; }
.package-route-modern i { color: var(--rp-green); font-size: .78rem; }
.package-header-modern::after { content: '\2022  متاح'; color: var(--rp-green); font-size: .85rem; margin-top: .6rem; }
.fully-booked .package-header-modern::after { content: '\2022  ممتلئ'; color: #b42318; }

.trip-info-modern { grid-area: info; padding: 1.5rem 1.75rem 1rem; margin: 0; }
.info-row-modern { display: grid; grid-template-columns: repeat(4, minmax(115px, 1fr)); gap: 0; margin: 0; }
.info-item-modern {
    justify-content: center;
    align-items: center;
    min-height: 92px;
    padding: .5rem 1rem;
    background: transparent;
    border-left: 1px solid var(--rp-border);
    border-radius: 0;
}
.info-item-modern:last-child { border-left: 0; }
.info-icon-modern,
.info-icon-modern.departure,
.info-icon-modern.return,
.info-icon-modern.location,
.info-icon-modern.seats,
.info-icon-modern.duration {
    width: 34px;
    height: 34px;
    color: var(--rp-green);
    background: transparent;
    font-size: 1.25rem;
}
.info-label-modern { color: var(--rp-muted); font-size: .78rem; }
.info-value-modern { color: var(--rp-navy); font-size: .95rem; }

.package-includes-modern {
    grid-area: includes;
    grid-template-columns: repeat(4, 1fr);
    margin: 0 1.75rem 1.4rem;
    padding: 1rem 0 0;
    background: transparent;
    border-top: 1px solid var(--rp-border);
    border-radius: 0;
}
.include-item-modern { flex-direction: row; justify-content: center; gap: .55rem; }
.include-item-modern i { color: var(--rp-green); font-size: 1.1rem; }
.include-item-modern span { color: #526175; font-size: .82rem; }

.price-cta-modern {
    grid-area: price;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: .75rem;
    margin: 0;
    padding: 1.75rem;
    border-top: 0;
    border-right: 1px solid var(--rp-border);
}
.price-modern { flex: initial; text-align: center; }
.new-price-modern { color: var(--rp-green); font-size: 2rem; }
.payment-options-modern {
    grid-area: payment;
    display: grid;
    grid-template-columns: minmax(170px, .55fr) repeat(2, minmax(280px, 1fr));
    align-items: center;
    gap: 1.25rem;
    min-height: 92px;
    padding: .9rem 1.75rem;
    background: #f7faf9;
    border-top: 1px solid var(--rp-border);
    border-bottom: 1px solid var(--rp-border);
}
.payment-options-modern[hidden],
.payment-provider-slot[hidden] {
    display: none !important;
}
.payment-options-modern[data-provider-count="1"] {
    grid-template-columns: minmax(170px, .55fr) minmax(320px, 1.45fr);
}
.payment-options-label {
    display: flex;
    align-items: center;
    gap: .75rem;
    min-width: 0;
    color: var(--rp-navy);
}
.payment-options-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    color: var(--rp-green);
    background: #e7f5ef;
    border-radius: 10px;
}
.payment-options-label strong,
.payment-options-label small {
    display: block;
}
.payment-options-label strong {
    font-size: .9rem;
    line-height: 1.4;
}
.payment-options-label small {
    margin-top: .15rem;
    color: var(--rp-muted);
    font-size: .72rem;
    line-height: 1.45;
}
.payment-provider-slot {
    display: flex;
    align-items: center;
    min-width: 0;
    min-height: 58px;
}
.payment-provider-slot > [data-tabby-promo],
.payment-provider-slot > [data-tamara-widget] {
    width: 100%;
    min-width: 0;
}
.package-actions-modern {
    grid-area: actions;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 74px;
    padding: .75rem 1.75rem 1rem;
}
.package-actions-modern .alternative-price-modern {
    margin-top: 0;
}
.package-actions-modern .btn-book-modern {
    min-width: 215px;
    margin-inline-start: auto;
}
.alternative-price-modern { color: var(--rp-green); }
.btn-book-modern {
    justify-content: center;
    min-height: 50px;
    padding: .75rem 1.2rem;
    background: var(--rp-green);
    border: 0;
    border-radius: 9px;
    box-shadow: none;
}
.btn-book-modern:hover { background: var(--rp-green-dark); box-shadow: 0 8px 18px rgba(7, 132, 95, .2); }
.discount-badge-modern {
    top: 12px;
    left: 12px;
    padding: .35rem .7rem;
    background: var(--rp-green-soft);
    color: var(--rp-green-dark);
    border: 1px solid #c5e6da;
    border-radius: 7px;
    box-shadow: none;
}

/* Responsive */
@media (max-width: 991px) {
    .packages-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .package-card-modern {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "header price"
            "info info"
            "includes includes"
            "payment payment"
            "actions actions";
    }
    .package-header-modern { border-left: 0; }
    .price-cta-modern { border-right: 1px solid var(--rp-border); }

    .info-row-modern {
        grid-template-columns: repeat(2, 1fr);
    }

    .package-includes-modern {
        grid-template-columns: repeat(2, 1fr);
    }

    .payment-options-modern {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .9rem 1.25rem;
    }

    .payment-options-label {
        grid-column: 1 / -1;
    }

    .payment-options-modern[data-provider-count="1"] {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 767px) {
    .packages-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .page-title {
        font-size: 1.8rem;
    }

    .date-filter-container {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-section .row { flex-direction: column; }
    .results-count { justify-content: flex-start; }
    .package-card-modern { display: flex; flex-direction: column; }
    .package-header-modern, .price-cta-modern { border: 0; }
    .trip-info-modern { padding: .75rem 1.25rem; }
    .info-row-modern { grid-template-columns: repeat(2, 1fr); }
    .info-item-modern:nth-child(2n) { border-left: 0; }

    .filter-label {
        margin-bottom: 0.5rem;
    }

    .package-card-modern {
        padding: 0;
    }

    .package-title-modern {
        font-size: 1.15rem;
    }

    .info-item-modern {
        padding: 10px;
    }

    .info-icon-modern {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .info-value-modern {
        font-size: 0.95rem;
    }

    .package-includes-modern {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        padding: 0.75rem;
    }

    .include-item-modern i {
        font-size: 1.2rem;
    }

    .include-item-modern span {
        font-size: 0.7rem;
    }

    .price-cta-modern {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 1.25rem;
    }

    .new-price-modern {
        font-size: 1.5rem;
    }

    .btn-book-modern {
        width: 100%;
        justify-content: center;
        padding: 14px;
    }

    .payment-options-modern,
    .payment-options-modern[data-provider-count="1"] {
        grid-template-columns: 1fr;
        gap: .75rem;
        padding: 1rem 1.25rem;
    }

    .payment-options-label {
        grid-column: auto;
    }

    .payment-provider-slot {
        min-height: 54px;
    }

    .package-actions-modern {
        flex-direction: column;
        align-items: stretch;
        padding: .9rem 1.25rem 1.25rem;
    }

    .package-actions-modern .btn-book-modern {
        min-width: 0;
        margin-inline-start: 0;
    }

    .pagination-custom {
        flex-wrap: wrap;
        gap: 0.25rem;
    }

    .pagination-custom .page-link {
        padding: 0.5rem 0.75rem;
        min-width: 40px;
        font-size: 0.9rem;
    }
}

/* ============================================================
   Boarding city + departure date filters

   Two dropdowns on the shared menu shell (assets/css/components/custom-select.css): the city is an
   ordinary select, the date opens a calendar in the same panel. Only the calendar inside that panel
   is styled here; the control, the panel and the open/closed states come from the component.
   ============================================================ */

.packages-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding: 1.15rem 1.25rem;
    border: 1px solid var(--rp-border, #dbe3ea);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(23, 43, 70, .05);
}

.filter-field {
    flex: 1 1 240px;
    min-width: 0;
    max-width: 320px;
}

.filter-field__label {
    display: flex;
    align-items: center;
    gap: .45rem;
    margin-bottom: .45rem;
    color: var(--rp-navy, #172b46);
    font-size: .88rem;
    font-weight: 700;
}

.filter-field__label i { color: var(--rp-green, #07845f); }

.packages-filters .results-count {
    display: flex;
    align-items: center;
    gap: .45rem;
    margin: 0 0 .7rem;
    color: var(--rp-navy, #172b46);
    font-size: .95rem;
    white-space: nowrap;
}

.packages-filters .results-count i { color: var(--rp-green, #07845f); }

.packages-filters .results-count strong {
    margin: 0;
    color: var(--rp-green, #07845f);
    font-size: 1.25rem;
}

/* --- the calendar living inside the date dropdown's panel --- */
.c-select--calendar .c-select__panel {
    min-width: 310px;
    max-height: min(78vh, 430px);
    padding: .75rem;
    overflow-y: auto;
}

.c-select--calendar .calendar-header {
    display: grid;
    grid-template-columns: 40px 1fr 40px;
    align-items: center;
    min-height: 42px;
    border: 1px solid var(--rp-border, #dbe3ea);
    border-radius: 8px;
}

.c-select--calendar .calendar-header h3 {
    margin: 0;
    color: var(--rp-navy, #172b46);
    font-size: .95rem;
    font-weight: 750;
    text-align: center;
}

.c-select--calendar .month-button {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--rp-navy, #172b46);
    cursor: pointer;
}

.c-select--calendar .month-button:hover {
    color: var(--rp-green, #07845f);
    background: var(--rp-green-soft, #eef8f4);
}

.c-select--calendar .month-button:focus-visible {
    outline: 3px solid rgba(7, 132, 95, .2);
    outline-offset: -3px;
}

.c-select--calendar .calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    margin-top: .5rem;
}

.c-select--calendar .calendar-day {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 42px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--rp-navy, #172b46);
    font: inherit;
    font-size: .88rem;
}

.c-select--calendar .calendar-day.weekday {
    min-height: 28px;
    color: var(--rp-muted, #5d6a7f);
    font-size: .7rem;
    font-weight: 650;
}

.c-select--calendar .day-number {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.c-select--calendar .calendar-day.selectable { cursor: pointer; }

.c-select--calendar .calendar-day.selectable:hover .day-number {
    background: var(--rp-green-soft, #eef8f4);
    color: var(--rp-green, #07845f);
}

.c-select--calendar .calendar-day:focus-visible {
    z-index: 3;
    outline: 3px solid rgba(7, 132, 95, .22);
    outline-offset: -3px;
}

.c-select--calendar .calendar-day.disabled { color: #b8c0c8; }

.c-select--calendar .calendar-day.is-selected .day-number {
    background: var(--rp-green, #07845f);
    color: #fff;
    box-shadow: 0 5px 12px rgba(7, 132, 95, .22);
}

.c-select--calendar .availability-dot {
    position: absolute;
    z-index: 2;
    bottom: 4px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--rp-green, #07845f);
}

.c-select--calendar .calendar-day.is-selected .availability-dot { background: #fff; }

.calendar-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin-top: .7rem;
    padding-top: .65rem;
    border-top: 1px solid var(--rp-border, #dbe3ea);
}

.calendar-legend {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: var(--rp-muted, #5d6a7f);
    font-size: .8rem;
}

.legend-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--rp-green, #07845f);
}

.calendar-reset {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: var(--rp-green, #07845f);
    font-size: .83rem;
    font-weight: 650;
    text-decoration: none;
}

.calendar-reset:hover { text-decoration: underline; }

@media (max-width: 575.98px) {
    .packages-filters { padding: 1rem; }
    .filter-field { flex-basis: 100%; max-width: none; }
    .packages-filters .results-count { margin-bottom: 0; }
    .c-select--calendar .c-select__panel { min-width: 0; }
}
