/* ===================================
   HOME PAGE CSS
   Styles specific to index.php
   =================================== */

/* ===== HERO SECTION ===== */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 360px;
    background: url('../image/hero-bg.jpg') center center / cover no-repeat;
    z-index: 0;
}
.btn-outline-orange {
    color: #FF7F14;
    border: 2px solid #FF7F14;
    background-color: transparent;
    font-size: 18px;
    font-weight: 700;
}

.btn-outline-orange:hover {
    color: #fff;
    background-color:#FF7F14;
    border-color: #FF7F14;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(10, 21, 86, 0.558) 0%, rgba(10, 21, 86, 0.468) 45%, rgba(10, 21, 86, 0.582) 100%);
    z-index: 1;
}

.hero-section .container { 
    position: relative; 
    z-index: 2; 
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 240px;
    padding-top: 30px;
}

.hero-tagline {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--trippal-primary);
    font-weight: 600;
    margin-bottom: 10px;
}

.hero-title {
    line-height: 1.2;
    letter-spacing: 0px;
    margin-bottom: 15px;
    color: var(--trippal-white);
}

.hero-title span { 
    color: var(--trippal-primary); 
}

/* ===== SEARCH BOX ===== */
.search-box {
    background: white;
    border-radius: 25px;
    padding: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    max-width: 1100px;
    position: relative;
    z-index: 3;
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    pointer-events: none;
}

.search-form .form-control {
    border: 2px solid var(--trippal-border);
    border-radius: 16px;
    padding: 20px 14px 20px 40px;
    font-size: 16px;
    color: var(--trippal-dark);
    transition: border-color 0.2s;
    height: 42px;
}

.search-form .form-control:focus {
    border-color: var(--trippal-primary);
    box-shadow: 0 0 0 3px rgba(255,102,0,0.1);
}

/* Placeholder colour requested for the home page search form: #0A1556.
   ::placeholder is the standard selector; the -webkit- variant covers older
   Safari. Do NOT add the legacy IE/Edge "-ms-input-placeholder" selectors here:
   Blink rejects them as invalid, and a single invalid selector in a comma
   separated list makes the browser discard the whole rule. */
.search-form .form-control::placeholder,
.search-form .form-control::-webkit-input-placeholder {
    color: #0A1556;
    opacity: 1;
}

.swap-col {
    padding: 0 5px;
}

.swap-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.swap-btn:hover {
    background: var(--trippal-primary);
    border-color: var(--trippal-primary);
}

.swap-btn img {
    width: 16px;
    height: 16px;
}

.btn-pill {
    border: 2px solid #0A155617;
    border-radius: 16px;
    padding: 8px 22px;
    font-size: 16px;
    font-weight: 400;
    background: #FF7F1424;
    color: #0A1556;
    transition: all 0.2s;
    height: 42px;
}

.btn-pill:hover {
    background: var(--trippal-primary);
    color: white;
}
.btn-pill.active{
  background: var(--trippal-primary) !important;
    color: white !important;  
}

.seat-control {
    border: 2px solid var(--trippal-border);
    border-radius: 16px;
    padding: 8px 16px;
    font-size: 16px;
    font-weight: 400;
    color: var(--trippal-text);
    display: flex;
    align-items: center;
    gap: 10px;
    height: 42px;
    background: white;
}

.seat-btn {
    width: 28px;
    height: 28px;
    background: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.2s;
}

.seat-btn:hover {
    transform: scale(1.08);
    color: #616B7D;
}

.btn-search {
    background: var(--trippal-primary);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 30px;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s;
    height: 52px;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 3px;
    box-shadow: 0px 2px 8px 0px #0913570D;
}

.btn-search:hover {
    background: #E55A00;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255,102,0,0.3);
}

.btn-search img {
    width: 18px;
    height: 18px;
}

.accessibility-label {
    font-size: 12px;
    color: var(--trippal-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
}

.accessibility-label input[type="checkbox"] {
    accent-color: var(--trippal-primary);
}

.search-row-2 {
    border-top: 1px solid var(--trippal-border);
    padding-top: 18px;
}

/* ===== PRICE CALENDAR ===== */
.price-calendar {
    padding: 20px;
    margin-top: 30px;
}

.calendar-item {
    text-align: start;
    padding: 10px 10px;
    border-radius: 14px;
    cursor: pointer;
    min-width: 105px;
    transition: all 0.2s;
    border: 1px solid #060E371A;
    background: white;
}

.calendar-item:hover,
.calendar-item.active {
    background: var(--trippal-primary);
    color: white;
}

.calendar-item.active .day,
.calendar-item.active .price {
    color: white;
}

.calendar-item.cheapest {
    background: #fff5ed;
    border-color: #f97316;
}

.calendar-item.cheapest .day {
    color: #0a1556cc;
}

.calendar-item.cheapest .price {
    color: var(--trippal-dark);
}

.calendar-item.cheapest .cheapest-arrow,
.calendar-item.cheapest .cheapest-label {
    color: #f97316;
}

.calendar-item .day { 
    font-size: 12px; 
    font-weight: 700; 
    opacity: 0.7; 
    color:#0A1556CC; 
}

.calendar-item .price { 
    font-size: 16px; 
    font-weight: 700; 
    color: var(--trippal-dark);
}

.cheapest-arrow {
    font-size: 14px;
    line-height: 1;
    margin-top: 4px;
}

.cheapest-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: lowercase;
}

/* ===== STATS ===== */
.stat-item { 
    text-align: center; 
}

.stat-number {
    font-size: 30px;
    font-weight: 600;
    color: var(--trippal-primary);
    line-height: 1;
}

.stat-label {
    font-size: 12px;
    color: #0A1556CC;
    margin-top: 6px;
    font-weight: 400;
    line-height: 18px;
    letter-spacing: 0.08px;
}

/* ===== DEAL CARD ===== */
.deal-card {
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
}

/* Add vertical divider between cards */
.deal-card::before {
    content: '';
    position: absolute;
    right: -6px;
    top: 15%;
    height: 70%;
    width: 1px;
    background-color: #616B7D;
    z-index: 1;
}

/* Remove divider from last card */
.col-lg:last-child .deal-card::before {
    display: none;
}



.deal-city {
    font-size: 18px;
    font-weight: 700;
    line-height: 28px;
    color: var(--trippal-dark);
    margin-bottom: 4px;
}

.deal-subtitle {
    font-size: 16px;
    font-weight: 400;
    color: #616B7D;
    margin-bottom: 10px;
    line-height: 26px;
letter-spacing: 2%;
}




.deal-price {
    font-size: 30px;
    font-weight: 600;
    color: var(--trippal-dark);
    line-height: 42px;
letter-spacing: 0%;
}


.deal-operators {
    font-weight: 400;
    font-size: 15px;
    color:  #616B7D;
    margin-top: 4px;
    line-height: 26px;
letter-spacing: 2%;
}



/* ===== DESTINATION CARD ===== */
.destinations-section{
    background: #F5ECDB33;
}
.destination-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 220px;
    cursor: pointer;
    transition: transform 0.3s;border: 1px solid #E2DDD354;
}

.destination-card:hover { 
    transform: scale(1.03); 
}

.destination-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    backdrop-filter: blur(11.899999618530273px)

}

.destination-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
     overflow: hidden;
    background: linear-gradient(
        to top,
        rgba(255, 255, 255, 0.8) 0%,
        rgba(255, 255, 255, 0.7) 20%,
        rgba(255, 255, 255, 0.6) 40%,
        rgba(255, 255, 255, 0) 65%
    );

    padding: 20px;
    color: white;
}
.destination-blur {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 62%;
    overflow: hidden;
    z-index: 1;

     
}

.destination-blur img {
    position: absolute;
    width: 100%;
    height: 220px;
    max-width: none;
    left: 0;
    bottom: 0;
    object-fit: cover;

    filter: blur(14px);
    transform: scale(1.08);
    transform-origin: bottom center;
}
.destination-overlay h5 {
    border-top: 4px solid #FF7F14B2;
    display: inline-flex;
    padding-top: 5px;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.destination-overlay .price {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--trippal-primary);
}

.destination-overlay .operators {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* ===== STEP CARD ===== */
.step-card { 
     
    padding: 20px; 
}

.step-icon {
    width: 70px;
    height: 70px;
}
.step-num{
    color:#060E37;
    font-size: 12px;
}
.step-title { 
    font-size: 1rem; 
    font-weight: 700; 
    color: var(--trippal-dark); 
    margin-bottom: 8px; 
}

.step-desc { 
    font-size: 0.85rem; 
    color: var(--trippal-text-light); 
    line-height: 1.5; 
}

/* ===== TESTIMONIAL CARD ===== */
.testimonial-card {
    background: #FFFBF8;
    border-radius: 16px;
    border: 1px solid #E2DDD31F;
    padding: 30px;
    height: 100%;
}

.testimonial-text {
    font-size: 16px;
    color: var(--trippal-dark);
    line-height: 1.6;
    margin-bottom: 20px;
}

.testimonial-author { 
    font-weight: 700; 
    color: var(--trippal-dark);
    font-size: 18px;
    
    padding-top: 10px; 
}

.testimonial-route { 
    font-size: 12px; 
    color: var(--trippal-text-grey); 
}

/* ===== TESTIMONIAL CAROUSEL (DB-driven) ===== */
.testimonial-item {
    display: block;
}

/* Fade each card in as the carousel pages through. */
.testimonial-item {
    transition: opacity .25s ease, transform .25s ease;
}

/* The brand star (#FFB800) is only 1.69:1 on the cream card, which is too
   faint to read as a rating. This deeper gold clears WCAG 3:1 for non-text
   content while still reading as gold. */
.tst-star {
    color: #B07C00;
    flex-shrink: 0;
}

.tst-avatar {
    position: relative;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.tst-avatar-img,
.tst-avatar-fallback {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.tst-avatar-img {
    object-fit: cover;
    display: block;
}

.tst-avatar-fallback {
    background: var(--trippal-light-orange);
    border: 1px solid #FF7F1433;
    color: var(--trippal-primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Sora', sans-serif;
    font-weight: 600;
    font-size: 16px;
}

/* Chevron buttons, centred under the cards (same placement as the
   reference page's carousel-bottom-controls). */
.tst-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 26px;
}

/* Navy chevron rather than orange: #FF7F14 on white is 2.53:1 and reads
   faintly at this size. Navy is 16.7:1. The brand orange stays as the
   border and takes over as the fill on hover, where navy-on-orange is 6.6:1. */
.tst-btn {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    border: 2px solid #E2DDD3;
    background: #fff;
    color: var(--trippal-dark);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    transition: all .2s ease;
}

.tst-btn:hover {
    background: var(--trippal-primary);
    border-color: var(--trippal-primary);
    color: var(--trippal-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 127, 20, .3);
}

.tst-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 127, 20, .25);
}

/* Long names / company names must not push the layout wide. */
.testimonial-item .min-w-0 {
    min-width: 0;
}

/* ===== APP FEATURE ===== */
.app-section{
 background: #0A1556;
}
.app-feature { 
    margin-bottom: 20px; 
}

.app-feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 22px;
    background: #20316599;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--trippal-primary);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.app-feature h6 { 
    font-weight: 600; 
    margin-bottom: 4px;
    color: #FFFBF8; 
}

.app-feature p { 
    font-size: 0.85rem; 
    opacity: 0.8; 
    margin: 0; 
    color: #FFFBF8B2;
}

/* ===== OFFERS SECTION ===== */
.offers-section {
    background: linear-gradient(90deg, rgba(255, 127, 20, 0.104) 0%, rgba(255, 255, 255, 0.4) 100%);
    border-radius: 20px;
    padding: 40px;
    margin: 60px 0;
}

/* ===== OFFER CARD ===== */
.offers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}

.offer-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
    align-items: stretch;
}

.offer-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

.offer-image {
    width: 100%;
    height: 160px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.offer-body {
    width: 100%;
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.offer-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
    gap: 12px;
}

.offer-texts {
    flex-grow: 1;
}

.offer-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--trippal-dark);
    margin: 0;
    line-height: 1.2;
}

.offer-subtitle {
    font-size: 12px;
    color: var(--trippal-dark);
    margin: 1px 0 0 0;
    font-weight: 500;
    line-height: 1.1;
}

.offer-badge {
    width: 28px;
    height: 28px;
    background: var(--trippal-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.offer-icon {
    width: 16px;
    height: 16px;
    color: white;
}

.offer-price-block {
    margin-bottom: 8px;
    margin-top: auto;
}

.offer-price {
    font-size: 20px;
    color: var(--trippal-primary);
    display: block;
    line-height: 1;
    font-weight: 800;
}

.offer-price-label {
    font-size: 10px;
    color: var(--trippal-text-light);
    font-weight: 600;
    display: block;
    margin-top: 2px;
}

.offer-info {
    font-size: 11px;
    color: #616B7D;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.offer-code {
    font-size: 10px;
    color: #0A1556;
    margin: 6px 0;
    font-weight: 500;
}

.offer-availability {
    font-size: 10px;
    color: #616B7D;
    margin: 0;
}

/* ===== OFFER CARD HORIZONTAL (DESKTOP ONLY) ===== */
@media (min-width: 1025px) {
    .offers-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .offer-card {
        display: flex;
        flex-direction: row;
        max-height: 240px;
    }

    .offer-card .offer-image {
        width: 40%;
        height: auto;
        min-height: 240px;
        flex-shrink: 0;
    }

    .offer-card .offer-body {
        width: 60%;
        padding: 24px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

/* ===== PRICE ALERTS ===== */
.price-alerts {
     background: 
linear-gradient(90deg, rgba(255, 127, 20, 0.104) 0%, rgba(255, 255, 255, 0.4) 100%);
    border-radius: 20px;
    margin: 60px 0;
}

.price-alerts h2 {
    line-height: 42px;
    font-weight: 600;
    color: var(--trippal-dark);
}

.price-alerts p {
    color: var(--trippal-text-light);
    margin-bottom: 20px;
    font-weight: 400;
    line-height: 26px;
    letter-spacing: 2%;
}
.globe-image img { border-radius: 0 20px 20px 0; display: block; width: 100%; height: auto; } /* Mobile: rounded bottom-left and bottom-right */ @media (max-width: 992px) { .globe-image img { border-radius: 0 0 20px 20px; } }

.btn-alert {
    background: var(--trippal-primary);
    color: white;
    font-size: 18px;
    border: none;
    border-radius: 8px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0px 2px 8px 0px #0913570D;

}

.btn-alert:hover {
    background: #E55A00;
    color: white;
    transform: translateY(-2px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-title { 
        font-size: 1.8rem; 
    }
    
    .hero-content { 
        height: auto; 
        padding-top: 80px; 
    }
    
    .search-box { 
        padding: 15px; 
        margin-top: 0; 
    }
    
    .swap-col { 
        display: none; 
    }
    
    .stat-number { 
        font-size: 1.5rem; 
    }
    
    /* Horizontal scrollable deal cards on mobile */
    .deals-section .row {
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        padding-bottom: 10px;
    }
    
    .deals-section .row::-webkit-scrollbar {
        height: 6px;
    }
    
    .deals-section .row::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 10px;
    }
    
    .deals-section .row::-webkit-scrollbar-thumb {
        background: #616B7D;
        border-radius: 10px;
    }
    
    .deals-section .col-6,
    .deals-section .col-md-4,
    .deals-section .col-lg {
        flex: 0 0 auto;
        width: 75%;
        scroll-snap-align: start;
    }
    
    .deal-card::before {
        right: -6px;
    }
    
    /* Keep divider on all cards in mobile scroll */
    .col-lg:last-child .deal-card::before {
        display: block;
    }
    
    .deal-price { 
        font-size: 1.4rem; 
    }
    
    .destination-card { 
        height: 180px; 
    }
    
    .price-alerts { 
        margin: 30px 0; 
    }
    
    .price-alerts h3 { 
        font-size: 1.3rem; 
    }
    
    .search-row-2 { 
        flex-wrap: wrap; 
        gap: 10px; 
    }
    
    .search-row-2 .col-md-auto { 
        width: 100%; 
    }
    
    .search-row-2 .col-md-auto .btn-search { 
        width: 100%; 
    }
    
    .search-row-2 .col-md { 
        text-align: left !important; 
        margin-top: 10px; 
    }
    
    /* Mobile layout for search form */
    .date-input-col {
        width: 100%;
    }
    
    .date-pills {
        width: 100%;
    }
    
    .seat-group {
        width: 100%;
    }
    
    .seat-control {
        width: 100%;
        justify-content: center;
    }
    
    .accessibility-label {
        width: 100%;
        padding: 8px 16px;
        border: 2px solid var(--trippal-border);
        border-radius: 16px;
        height: 42px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: white;
        font-size: 12px;
    }
}

@media (max-width: 576px) {
    .hero-title { 
        font-size: 1.5rem; 
    }
    
    .hero-content { 
        padding-top: 40px; 
    }
    
    .search-box { 
        border-radius: 12px; 
        padding: 12px; 
        margin-top: 0; 
    }
    
    .btn-search { 
        padding: 12px 20px; 
        font-size: 0.9rem; 
        height: auto; 
    }
    
    .search-form .form-control { 
        height: 42px; 
        font-size: 0.85rem; 
    }
    
    /* Deal cards wider on smaller screens */
    .deals-section .col-6,
    .deals-section .col-md-4,
    .deals-section .col-lg {
        width: 85%;
    }
    
    .btn-pill { 
        height: 42px; 
        padding: 8px 16px; 
        font-size: 0.8rem; 
    }
    
    .seat-control { 
        height: 42px; 
        padding: 8px 12px; 
        font-size: 0.8rem; 
    }
    
    .calendar-item { 
        min-width: 95px; 
        padding: 8px 6px; 
    }
    
    .calendar-item .price { 
        font-size: 0.85rem; 
    }
    
    .calendar-scroll {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 0 -20px;
        padding: 0 20px 8px;
    }
    
    .calendar-scroll::-webkit-scrollbar { 
        display: none; 
    }
    
    .calendar-scroll { 
        -ms-overflow-style: none; 
        scrollbar-width: none; 
    }
    
    .calendar-scroll .d-flex {
        flex-wrap: nowrap;
        justify-content: flex-start;
        width: max-content;
    }
}

/* ===== OFFERS SECTION - MOBILE RESPONSIVE ===== */
@media (max-width: 1200px) {
    .offers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
}

@media (max-width: 1024px) {
    .offers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .offer-body {
        padding: 14px;
    }

    .offer-price {
        font-size: 18px;
    }

    .offer-info {
        font-size: 10px;
    }
}

@media (max-width: 768px) {
    .offers-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        gap: 12px;
        padding-bottom: 8px;
        margin-bottom: 24px;
    }

    .offers-grid::-webkit-scrollbar {
        height: 4px;
        margin-top: 8px;
    }

    .offers-grid::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 10px;
    }

    .offers-grid::-webkit-scrollbar-thumb {
        background: #616B7D;
        border-radius: 10px;
    }

    .offer-card {
        flex: 0 0 auto;
        width: 80%;
        min-width: 240px;
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }

    .offer-image {
        height: 180px;
    }

    .offer-body {
        padding: 12px;
    }

    .offer-title {
        font-size: 13px;
    }

    .offer-subtitle {
        font-size: 11px;
    }

    .offer-price {
        font-size: 16px;
    }

    .offer-info {
        font-size: 9px;
    }

    .offer-code {
        font-size: 9px;
    }
}

@media (max-width: 576px) {
    .offers-grid {
        width: 100%;
        margin: 0 -20px;
        padding: 0 20px 8px 20px;
    }

    .offer-card {
        width: 85%;
        min-width: 220px;
    }

    .offer-image {
        height: 180px;
    }

    .offer-body {
        padding: 10px;
    }

    .offer-title {
        font-size: 12px;
    }

    .offer-subtitle {
        font-size: 10px;
    }

    .offer-price {
        font-size: 15px;
    }

    .offer-info {
        font-size: 8px;
    }

    .offer-code {
        font-size: 8px;
    }
}

/* Partner / carrier logo strip */
.partners-section .partner-logo {
    max-height: 40px;
    width: auto;
    max-width: 170px;
    object-fit: contain;
    opacity: .85;
    transition: opacity .2s ease, transform .2s ease;
}

.partners-section a:hover .partner-logo,
.partners-section a:focus-visible .partner-logo {
    opacity: 1;
    transform: translateY(-2px);
}