.af-tour-tabs {
    display: flex;
    flex-direction: row;
    width: 100%;
    gap: 0;
}

.af-tour-tabs-content {
    flex: 1;
    min-width: 0;
    order: 2;
    border: 1px solid #e0e0e0;
    background: #fff;
}

.af-tour-tabs-nav {
    flex: 0 0 auto;
    order: 1;
    display: flex;
    flex-direction: column;
    min-width: 180px;
    max-width: 280px;
}

.af-tour-tab-button {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    cursor: pointer;
    border: 1px solid #e0e0e0;
    border-left: none;
    background: #f7f7f7;
    color: #333;
    padding: 14px 20px;
    font-size: 16px;
    line-height: 1.4;
    text-align: right;
    transition: none;
    margin: 0;
    border-radius: 0;
    outline: none;
    width: 100%;
}

.af-tour-tab-button:not(:last-child) {
    border-bottom: none;
}

.af-tour-tab-button:hover {
    background: #efefef;
}

.af-tour-tab-button.active {
    background: #fff;
    color: #000;
    border-right-color: #fff;
    position: relative;
    z-index: 1;
}

.af-tour-tab-title {
    display: block;
    font-weight: 600;
}

.af-tour-tab-subtitle {
    display: block;
    font-size: 13px;
    font-weight: 400;
    opacity: 0.75;
    margin-top: 2px;
}

.af-tour-tab-panel {
    display: none;
    padding: 24px;
}

.af-tour-tab-panel.active {
    display: block;
}

.af-tour-section {
    margin-bottom: 24px;
}

.af-tour-section:last-child {
    margin-bottom: 0;
}

.af-tour-section h3 {
    margin: 0 0 12px;
    padding: 0;
}

.af-flight-meta {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.af-flight-logo {
    flex: 0 0 auto;
}

.af-flight-logo img {
    display: block;
    max-width: 80px;
    max-height: 60px;
    height: auto;
}

.af-flight-details {
    flex: 1;
    min-width: 0;
}

.af-flight-name {
    margin-bottom: 4px;
}

.af-flight-duration,
.af-flight-departure,
.af-flight-return {
    margin-bottom: 2px;
}

.af-flight-label {
    opacity: 0.8;
    margin-inline-end: 4px;
}

.af-flight-desc {
    margin-top: 8px;
}

.af-hotel-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.af-hotel-item {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 16px;
}

.af-tour-price-table table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 8px;
}

.af-tour-price-table table th,
.af-tour-price-table table td {
    border: 1px solid #e0e0e0;
    padding: 10px 14px;
    text-align: left;
}

.af-tour-price-table table th {
    background: #f7f7f7;
}

.af-tour-price-table table caption {
    caption-side: top;
    text-align: left;
    font-weight: 600;
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    .af-tour-tabs {
        flex-direction: column;
    }

    .af-tour-tabs-nav {
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        min-width: unset;
        max-width: unset;
        order: 1;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .af-tour-tabs-nav::-webkit-scrollbar {
        display: none;
    }

    .af-tour-tab-button {
        border: 1px solid #e0e0e0;
        border-bottom: none;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .af-tour-tab-button:not(:last-child) {
        border-bottom: none;
    }

    .af-tour-tab-button.active {
        border-bottom-color: #fff;
        border-right-color: #e0e0e0;
    }

    .af-tour-tabs-content {
        order: 2;
    }
}

@media (max-width: 480px) {
    .af-tour-tab-button {
        padding: 10px 16px;
        font-size: 14px;
    }

    .af-tour-tab-panel {
        padding: 16px;
    }

    .af-flight-meta {
        flex-direction: column;
    }
}
