.altegio-tabs { max-width: 1200px; margin: 0 auto; }

/* Scroll wrapper */
.altegio-tabs-scroll-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
}

/* Category buttons */
.altegio-tab-buttons {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 10px;
    padding: 5px 0;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.altegio-tab-buttons::-webkit-scrollbar { display: none; }

.altegio-tab-btn {
    flex: 0 0 auto;
    padding: 10px 20px;
    border-radius: 5px !important;
    background: #06aed6 !important ;
    border: 1px solid #ccc;
    cursor: pointer;
    white-space: nowrap;
    font-size: 15px;
    color: white !important;
    transition: 0.2s;
}

.altegio-tab-btn:hover {
    background: #3d3d3d !important;
}

.altegio-tab-btn.active {
    background: #000 !important;
    color: #fff !important;
    border-color: #000;
}

/* Fade gradients */
.scroll-fade {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 60px;
    pointer-events: none;
    z-index: 5;
}



/* Services */
.altegio-service-item {
    padding: 18px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.altegio-service-item .title {
    flex: 1;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.35;
    align-items: center;
    margin: 0;
}

.altegio-service-item .price {
    white-space: nowrap;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    /* Цвет наследуем от темы, чтобы цены были видны и на светлом, и на тёмном фоне */
    color: inherit;
}

.book-btn {
    padding: 5px 10px;
    background: #06aed6;
    color: #fff !important;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    white-space: nowrap;
    transition: .25s;
}

.book-btn:hover { opacity: 0.85; }

/* Tooltip base */
.has-tooltip {
    position: relative;
    cursor: pointer;
    text-decoration: none;
    color: #1e355d;
    font-weight: 600;
}

.has-tooltip:hover {
    color: #0a274e;
}

/* Tooltip bubble */
.has-tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 120%;
    left: 0;
    background: #1e355d;
    color: #fff;
    padding: 6px 10px;
    font-size: 12px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translateY(5px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

/* Arrow */
.has-tooltip::before {
    content: "";
    position: absolute;
    bottom: 110%;
    left: 10px;
    border-width: 6px;
    border-style: solid;
    border-color: #1e355d transparent transparent transparent;
    opacity: 0;
    transition: opacity 0.2s ease;
}

/* Hover visibility */
.has-tooltip:hover::after,
.has-tooltip:hover::before {
    opacity: 1;
    transform: translateY(0);
}


