/* ==========================================================================
   tp-premium TRAVEL STYLE REDESIGN (Product Selector, Offer Cards, Flight Results)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. tp-premium Travel Style Product Selector & Search Bar
   -------------------------------------------------------------------------- */
.tp-premium-search-wrapper {
    position: relative;
    z-index: 555;
    margin-top: 15px;
    margin-bottom: 45px;
    font-family: inherit;
}

/* Product Tabs Header */
.tp-premium-product-tabs {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    padding: 0;
    margin: 0 0 -1px 0;
    list-style: none;
    border-bottom: none;
    overflow-x: auto;
    scrollbar-width: none;
}
.tp-premium-product-tabs::-webkit-scrollbar {
    display: none;
}

.tp-premium-product-tabs li {
    margin: 0;
}

.tp-premium-product-tabs .tab-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    color: #1a2b49;
    font-size: 15px;
    font-weight: 700;
    padding: 11px 22px;
    border-radius: 8px 8px 0 0;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid #d5dce6;
    border-bottom: none;
    white-space: nowrap;
    box-shadow: 0 -2px 6px rgba(0,0,0,0.04);
}

.tp-premium-product-tabs .tab-link i {
    font-size: 16px;
    color: #4a5568;
}

.tp-premium-product-tabs .tab-link:hover {
    background: #fff8f5;
    color: #fc5119;
}
.tp-premium-product-tabs .tab-link:hover i {
    color: #fc5119;
}

.tp-premium-product-tabs .tab-link.active {
    background: #fc5119 !important;
    color: #ffffff !important;
    border-color: #fc5119 !important;
    box-shadow: 0 -3px 10px rgba(252, 81, 25, 0.35);
}
.tp-premium-product-tabs .tab-link.active i {
    color: #ffffff !important;
}

/* Main Search Box */
.tp-premium-searchbox {
    background: #ffffff;
    border-radius: 0 10px 10px 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
    padding: 16px 20px 14px;
    border: 1px solid #e2e8f0;
}

/* Primary Top Fields Row */
.tp-premium-fields-row {
    display: flex;
    align-items: stretch;
    gap: 8px;
    position: relative;
}

.tp-premium-input-group {
    flex: 1;
    min-width: 0;
    position: relative;
    background: #ffffff;
    border: 1.5px solid #d8e0ea;
    border-radius: 8px;
    padding: 8px 14px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.tp-premium-input-group:focus-within,
.tp-premium-input-group:hover {
    border-color: #fc5119;
}

.tp-premium-input-group label {
    font-size: 11px;
    font-weight: 700;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tp-premium-input-group label i {
    font-size: 13px;
    color: #fc5119;
}

.tp-premium-input-group .form-control {
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 15px;
    font-weight: 700;
    color: #1a2b49;
    background: transparent !important;
    box-shadow: none !important;
    height: auto !important;
    line-height: 1.25;
}

.tp-premium-input-group .form-control::placeholder {
    color: #a0aec0;
    font-weight: 500;
}

/* Swap Airport Button */
.tp-premium-swap-btn {
    align-self: center;
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 50%;
    background: #f7fafc;
    border: 1.5px solid #d8e0ea;
    color: #fc5119;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 2;
    padding: 0;
}

.tp-premium-swap-btn:hover {
    background: #fc5119;
    border-color: #fc5119;
    color: #ffffff;
    transform: rotate(180deg);
}

/* Search Action Column */
.tp-premium-search-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 145px;
    gap: 4px;
}

.tp-premium-submit-btn {
    width: 100%;
    height: 100%;
    min-height: 54px;
    background: #fc5119;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 14px rgba(252, 81, 25, 0.4);
    padding: 10px 16px;
}

.tp-premium-submit-btn:hover {
    background: #e2420d;
    box-shadow: 0 6px 18px rgba(252, 81, 25, 0.5);
    color: #ffffff;
}

.tp-premium-reset-link {
    font-size: 11px;
    color: #718096;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 2px 4px;
}
.tp-premium-reset-link:hover {
    color: #fc5119;
    text-decoration: underline;
}

/* Sub controls row (Radios, Airline, Class, Direct) */
.tp-premium-sub-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #edf2f7;
    font-size: 13px;
}

.tp-premium-sub-left {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.tp-premium-radio-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: #2d3748;
    cursor: pointer;
    margin: 0;
}

.tp-premium-radio-label input[type="radio"] {
    accent-color: #fc5119;
    width: 16px;
    height: 16px;
    margin: 0;
    cursor: pointer;
}

.tp-premium-sub-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.tp-premium-select-wrap {
    position: relative;
    min-width: 155px;
}

.tp-premium-select-wrap select {
    appearance: none;
    -webkit-appearance: none;
    background: #ffffff;
    border: 1px solid #cbd5e0;
    border-radius: 6px;
    padding: 6px 28px 6px 12px;
    font-size: 13px;
    font-weight: 600;
    color: #2d3748;
    cursor: pointer;
    width: 100%;
}

.tp-premium-select-wrap select:focus {
    border-color: #fc5119;
    outline: none;
}

.tp-premium-select-wrap::after {
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 10px;
    color: #718096;
    pointer-events: none;
}

.tp-premium-checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: #2d3748;
    cursor: pointer;
    margin: 0;
}

.tp-premium-checkbox-label input[type="checkbox"] {
    accent-color: #fc5119;
    width: 16px;
    height: 16px;
    margin: 0;
    cursor: pointer;
}

/* Passengers Dropdown Picker Box */
.tp-premium-pax-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    padding: 14px 16px;
    z-index: 1000;
    display: none;
}
.tp-premium-pax-dropdown.show {
    display: block;
}

.tp-premium-pax-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid #f1f5f9;
}
.tp-premium-pax-item:last-child {
    border-bottom: none;
}

.tp-premium-pax-label strong {
    display: block;
    font-size: 13px;
    color: #1a202c;
}
.tp-premium-pax-label span {
    font-size: 11px;
    color: #718096;
}

.tp-premium-pax-select select {
    padding: 4px 8px;
    font-size: 13px;
    border-radius: 4px;
    border: 1px solid #cbd5e0;
    font-weight: 600;
}

/* OpenJaw and Multi-City extra rows */
.tp-premium-extra-rows {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed #e2e8f0;
}

/* Responsive Searchbar */
@media (max-width: 991px) {
    .tp-premium-fields-row {
        flex-direction: column;
    }
    .tp-premium-swap-btn {
        align-self: flex-end;
        margin: -10px 10px -10px auto;
        transform: rotate(90deg);
    }
    .tp-premium-search-action {
        width: 100%;
    }
    .tp-premium-submit-btn {
        min-height: 48px;
    }
    .tp-premium-sub-row {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* --------------------------------------------------------------------------
   2. tp-premium Travel Style Compact Offer Cards (Grid / Slider)
   -------------------------------------------------------------------------- */
.tp-premium-deals-section {
    padding: 25px 0 35px;
}

.tp-premium-deals-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 20px;
}

@media (max-width: 1200px) {
    .tp-premium-deals-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 991px) {
    .tp-premium-deals-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 576px) {
    .tp-premium-deals-grid {
        grid-template-columns: 1fr;
    }
}

/* Card Design */
.tp-premium-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
    border: 1px solid #eaedf2;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    text-decoration: none;
    color: inherit;
    position: relative;
}

.tp-premium-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    color: inherit;
    border-color: #fc5119;
}

/* Card Thumbnail */
.tp-premium-card-thumb {
    position: relative;
    width: 100%;
    height: 190px;
    overflow: hidden;
    background-color: #edf2f7;
}

.tp-premium-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.tp-premium-card:hover .tp-premium-card-thumb img {
    transform: scale(1.05);
}

.tp-premium-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #fc5119;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    z-index: 2;
}

.tp-premium-card-rating {
    position: absolute;
    bottom: 10px;
    right: 12px;
    background: rgba(0, 0, 0, 0.65);
    color: #ffc107;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 14px;
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Card Body */
.tp-premium-card-body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.tp-premium-card-location {
    font-size: 12px;
    font-weight: 700;
    color: #fc5119;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.tp-premium-card-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a2b49;
    line-height: 1.35;
    margin: 0 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 42px;
}

/* Amenities / Badges pill row */
.tp-premium-card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}

.tp-premium-feature-pill {
    background: #f1f5f9;
    color: #475569;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.tp-premium-feature-pill i {
    font-size: 10px;
    color: #64748b;
}

/* Card Footer (Price & Button) */
.tp-premium-card-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
    margin-top: auto;
}

.tp-premium-price-block {
    display: flex;
    flex-direction: column;
}

.tp-premium-price-from {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    line-height: 1;
}

.tp-premium-price-val {
    font-size: 22px;
    font-weight: 800;
    color: #fc5119;
    line-height: 1.1;
}

.tp-premium-price-pp {
    font-size: 11px;
    color: #64748b;
    font-weight: 500;
}

.tp-premium-viewdeal-btn {
    background: #1a2b49;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background 0.2s ease;
    border: none;
}

.tp-premium-card:hover .tp-premium-viewdeal-btn {
    background: #fc5119;
    color: #ffffff;
}


/* --------------------------------------------------------------------------
   3. Flight Results: tp-premium Style Flight + Hotel Package Price Banner / Card
   -------------------------------------------------------------------------- */
.tp-premium-package-upsell-card {
    background: linear-gradient(135deg, #fff8f5 0%, #fff0eb 100%);
    border: 1.5px solid #ffcbba;
    border-radius: 8px;
    padding: 14px 18px;
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    box-shadow: 0 2px 8px rgba(252, 81, 25, 0.08);
}

.tp-premium-package-badge {
    background: #fc5119;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 8px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 4px;
}

.tp-premium-package-info strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #1a2b49;
}

.tp-premium-package-info span {
    font-size: 12px;
    color: #4a5568;
}

.tp-premium-package-pricing {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: auto;
}

.tp-premium-package-price-wrap {
    text-align: right;
}

.tp-premium-package-price-title {
    font-size: 11px;
    font-weight: 600;
    color: #718096;
    line-height: 1;
}

.tp-premium-package-price-num {
    font-size: 20px;
    font-weight: 800;
    color: #fc5119;
    line-height: 1.1;
}

.tp-premium-package-btn {
    background: #fc5119;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(252, 81, 25, 0.3);
    white-space: nowrap;
}

.tp-premium-package-btn:hover {
    background: #e2420d;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(252, 81, 25, 0.4);
}

/* --------------------------------------------------------------------------
   4. Side-By-Side Compact Promo Cards (Unsure + Deals Newsletter)
   -------------------------------------------------------------------------- */
#side-by-side-promos {
    background-color: #f8fafc;
}

.tp-promo-card-compact {
    border-radius: 12px;
    padding: 30px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tp-promo-card-compact:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.tp-unsure-compact {
    position: relative;
    overflow: hidden;
}

.tp-deals-compact {
    background: #ffffff;
}

.tp-promo-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 12px;
    width: fit-content;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.tp-promo-title {
    font-size: 24px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 10px;
}

.tp-promo-text {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 16px;
}

.tp-promo-phone {
    font-size: 17px;
    font-weight: 700;
}

/* --------------------------------------------------------------------------
   5. Half-Width Top Places & Right-Side Airline Deals Showcase
   -------------------------------------------------------------------------- */
#top-places {
    position: relative;
    overflow: hidden;
    padding: 60px 0;
    min-height: 520px;
}

.topplaces-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.topplaces-slider .slick-list,
.topplaces-slider .slick-track,
.topplaces-slider .tp-slide {
    height: 100% !important;
}

.topplaces-slider .tp-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.topplaces-main {
    position: relative;
    z-index: 5;
}

.topplacesbox {
    min-height: 420px;
    background-color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 32px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.topplaces-airline-deals {
    min-height: 420px;
    background: #ffffff;
    border-radius: 12px;
    padding: 24px 26px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    border: 1px solid #e2e8f0;
}

.tp-airline-deals-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto;
    margin-bottom: auto;
}

.tp-airline-deal-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

.tp-airline-deal-item:hover {
    background: #ffffff;
    border-color: #cbd5e0;
    transform: translateX(4px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    color: inherit;
}

.tp-airline-logo-wrap {
    width: 48px;
    height: 48px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 3px;
    overflow: hidden;
}

.tp-airline-img-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.tp-airline-code-badge {
    background: #1a2b49;
    color: #ffffff;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 0.5px;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
}

.tp-airline-info {
    flex: 1;
    min-width: 0;
}

.tp-airline-name {
    font-size: 15px;
    font-weight: 700;
    color: #1a2b49;
}

.tp-airline-tag {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    background: #fef3c7;
    color: #92400e;
    padding: 2px 6px;
    border-radius: 4px;
}

.tp-airline-route {
    display: block;
    font-size: 12px;
    color: #64748b;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tp-airline-price-block {
    text-align: right;
    flex-shrink: 0;
}

.tp-airline-price-label {
    display: block;
    font-size: 10px;
    font-weight: 600;
    color: #718096;
    line-height: 1;
}

.tp-airline-price-val {
    font-size: 18px;
    font-weight: 800;
    color: #fc5119;
    line-height: 1.2;
}

