
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #f8f9fa;
}

.s-offer-container {

    background: white;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-top: 30px;
}

.s-offer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.s-offer-header-left {
    display: flex;
    align-items: center;
    gap: 32px;
}

.s-offer-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
}

.s-offer-tabs {
    display: flex;
    gap: 24px;
}

.s-offer-tab {
    padding: 8px 0;
    font-size: 16px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}

.s-offer-tab.s-offer-active {
    color: #0ea5e9;
    border-bottom-color: #0ea5e9;
}

.s-offer-nav-arrows {
    display: flex;
    gap: 8px;
}

.s-offer-nav-arrow {
    width: 32px;
    height: 32px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: white;
    transition: all 0.2s;
}

.s-offer-nav-arrow:hover {
    background: #f3f4f6;
}

.s-offer-nav-arrow.s-offer-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.s-offer-tab-content {
    display: none;
}

.s-offer-tab-content.s-offer-active {
    display: block;
}

/* Flight Slider Container */
.s-offer-flight-container {
    position: relative;
    overflow: hidden;
}

.s-offer-flight-slider {
    display: flex;
    transition: transform 0.3s ease;
}

.s-offer-flight-page {
    min-width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
}

.s-offer-flight-card {
    display: flex;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s;
    height: 180px;
}

.s-offer-flight-card:hover {
    transform: translateY(-2px);
}

.s-offer-flight-image {
    width: 120px;
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
    flex-shrink: 0;
}

.s-offer-deal-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #f59e0b;
    color: white;
    padding: 6px 8px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 11px;
    line-height: 1.2;
    transform: rotate(-5deg);
    text-align: center;
}

.s-offer-flight-content {
    flex: 1;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.s-offer-airline-logo {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    color: white;
}

.s-offer-trip-type {
    font-size: 12px;
    color: #666;
    margin-bottom: 4px;
}

.s-offer-route {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
    margin-right: 40px;
}

.s-offer-pricing {
    margin-top: auto;
}

.s-offer-pay-now-label {
    font-size: 12px;
    color: #666;
    margin-bottom: 2px;
}

.s-offer-current-price {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.s-offer-price-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.s-offer-original-price {
    background: #0ea5e9;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.s-offer-book-btn {
    background: #f97316;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    font-size: 12px;
}


.s-offer-book-btn:hover {
    background: #ea580c;
}

/* Hotel Grid - Different layout for hotels */
.s-offer-hotel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.s-offer-hotel-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s;
    background: white;
}

.s-offer-hotel-card:hover {
    transform: translateY(-2px);
}

.s-offer-hotel-image {
    height: 160px;
    width:100%;
    background-size: cover;
    background-position: center;
}

.s-offer-hotel-content {
    padding: 16px;
}

.s-offer-hotel-name {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.s-offer-hotel-name a {
    text-decoration: none;
    color: #1a1a1a;

}

.s-offer-hotel-version {
    font-size: 12px;
    color: #666;
    margin-bottom: 12px;
    background: #f3f4f6;
    padding: 2px 8px;
    border-radius: 12px;
    display: inline-block;
}

.s-offer-features {
    margin-bottom: 12px;
}

.s-offer-features-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.s-offer-feature-tag {
    background: #e0f2fe;
    color: #0369a1;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
}

.s-offer-availability-btn {
    background: #10b981;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.s-offer-availability-btn:hover {
    background: #059669;
}

/* Background images for flight cards */
.s-offer-card-1 {
    background-image: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}
.s-offer-card-2 {
    background-image: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
}
.s-offer-card-3 {
    background-image: linear-gradient(135deg, #10b981 0%, #059669 100%);
}
.s-offer-card-4 {
    background-image: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
}
.s-offer-card-5 {
    background-image: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}
.s-offer-card-6 {
    background-image: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
}
.s-offer-card-7 {
    background-image: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
}
.s-offer-card-8 {
    background-image: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
}
.s-offer-card-9 {
    background-image: linear-gradient(135deg, #059669 0%, #047857 100%);
}
.s-offer-card-10 {
    background-image: linear-gradient(135deg, #be185d 0%, #9d174d 100%);
}
.s-offer-card-11 {
    background-image: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
}
.s-offer-card-12 {
    background-image: linear-gradient(135deg, #0891b2 0%, #0e7490 100%);
}

/* Hotel background images */
.s-offer-hotel-luxury { background-image: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%); }
.s-offer-hotel-business { background-image: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); }
.s-offer-hotel-resort { background-image: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%); }
.s-offer-hotel-boutique { background-image: linear-gradient(135deg, #ec4899 0%, #db2777 100%); }
.s-offer-hotel-budget { background-image: linear-gradient(135deg, #10b981 0%, #059669 100%); }
.s-offer-hotel-spa { background-image: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%); }

@media (max-width: 1024px) {
    .s-offer-flight-page {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .s-offer-header {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    .s-offer-header-left {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    .s-offer-flight-page {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .s-offer-flight-card {
        flex-direction: column;
        height: auto;
    }

    .s-offer-flight-image {
        width: 100%;
        height: 160px;
    }

    .s-offer-airline-logo {
        position: static;
        margin-left: auto;
        margin-top: 8px;
    }

    .s-offer-route {
        margin-right: 0;
    }
}