/* OBLAKATRAVEL — SPO slider */

.spo-slider {
    width: 100%;
    overflow: hidden;
    min-width: 0;
}

.spo-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding: 4px 0 12px;
}

.spo-track::-webkit-scrollbar {
    display: none;
}

.spo-item {
    flex: 0 0 calc((100% - 60px) / 4);
    min-width: 0;
    scroll-snap-align: start;
}

.spo-item[hidden] {
    display: none !important;
}

.spo-item .ot-tour-card {
    height: 100%;
}

.spo-controls {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 14px;
}

.spo-controls[hidden] {
    display: none !important;
}

.spo-controls button {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid #d7e5eb;
    border-radius: 50%;
    background: #fff;
    color: #174b65;
    cursor: pointer;
    font-size: 20px;
    transition: background .2s, border-color .2s;
}

.spo-controls button:hover:not(:disabled) {
    background: #eaf7fc;
    border-color: #169fc3;
}

.spo-controls button:disabled {
    opacity: .35;
    cursor: default;
}

.spo-controls button:focus-visible,
#spoTabs button:focus-visible {
    outline: 3px solid #169fc3;
    outline-offset: 3px;
}

#spoTabs {
    margin-bottom: 22px;
}

@media (max-width: 1000px) {
    .spo-item {
        flex-basis: calc((100% - 20px) / 2);
    }
}

@media (max-width: 600px) {
    .spo-track {
        gap: 14px;
    }

    .spo-item {
        flex-basis: 86%;
    }

    #spoTabs {
        display: flex;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 8px;
    }

    #spoTabs .chip {
        flex: 0 0 auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .spo-track {
        scroll-behavior: auto;
    }
}
