.service-description {
    position: relative;
    background: var(--color-light);
    max-width: 1280px;
    margin: 0 auto;
}

.service-description .main-header {
    position: absolute;
    width: 100%;
    max-width: 100%;
    padding-inline: 15px;
    z-index: 100;
}

.service-description .main-header .main-header__menu-button {
    background: var(--color-light);
}

.service-description__header-figure {
    position: relative;
    overflow: hidden;
}
.service-description__header-figure.disabled img{
    filter: grayscale(1);
    
}
.service-detail__disabled {
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(220, 53, 69, 0.8);
    width: 100%;
    padding: 15px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 25px;
    font-weight: var(--font-weight-service-card-bold);
    z-index: 100;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;

}

/* Swiper Container */
.swiper-container-wrapper {
    position: relative;
}

/* Imagen principal */
.service-description__header-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 3px; 
}

/* Swiper thumbnails - Oculto por defecto en mobile */
.swiper-thumbs {
    display: none;
    margin-top: 15px;
    padding: 0 4px;
}

.swiper-slide-thumb {
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid transparent;
}

.swiper-slide-thumb:hover {
    opacity: 0.85;
}

.swiper-slide-thumb-active {
    opacity: 1 !important;
    border-color: #0099cc;
    box-shadow: 0 2px 8px rgba(0, 153, 204, 0.3);
}

.service-description__thumb-image {
    width: 100%;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
}

/* Botones de navegación - Ocultos en mobile */
.swiper-button-prev,
.swiper-button-next {
    display: none;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.swiper-button-prev:after,
.swiper-button-next:after {
    font-size: 18px;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background: rgba(0, 0, 0, 0.7);
}

/* Paginación visible en mobile */
.swiper-pagination {
    bottom: 10px !important;
}

.swiper-pagination-bullet {
    background: white;
    opacity: 0.7;
}

.swiper-pagination-bullet-active {
    background: #0099cc;
    opacity: 1;
}

.service-description__card {
    position: relative;
}
.mobile-title {
    margin-top: 50px;
}
.service-description__card:has(.service-description__header) .mobile-title {
    margin-top: 0;
}

.service-description__card .desktop-title {
    display: none;
}
.service-description__info-desktop {
    display: none;
    padding: 25px 20px;
    background: var(--color-light);
    border-radius: 16px;
    margin-bottom: 25px;
    width: calc(100% - 315px);
}
.service-description__card:has(.service-description__header) .service-description__info-desktop {
    margin-block: 25px;
}

.service-description__info {
    padding: 25px 20px;
    position: relative;
    background: var(--color-light);
}

.service-description__info::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 30px;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    top: -25px;
    left: 0;
    background: var(--color-light);
}

.service-description__info .step-title,
.service-description__info .step-subtitle {
    margin-bottom: 20px;
    width: auto;
}
.service-description__price {
    margin-top: 10px;
}

.service-description__info .desktop-price {
    display: none;
    margin-bottom: 15px;
}

.service-description__duration,
.service-description__people {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
}

.service-description__text {
    font-size: 16px;
    font-weight: var(--font-weight-normal);
    color: var(--color-dark);
    margin-block: 20px;
}

.service-description__text ol,
.service-description__text ul {
    margin-left: 20px;
    padding-left: 20px;
}
.service-description__text li {
    margin-bottom: 5px;
}
.service-description__text li:first-child {
    margin-top: 5px;
}
.service-description__text li:last-child {
    margin-bottom: 0;
}

.service-description__text p {
    white-space: normal;
}

.other-services {
    padding: 15px;
}
.other-services__header{
    display: flex;
    justify-content: space-between;
}
.other-services__title {
    font-size: 26px;
    font-weight: var(--font-weight-bold);
    color: var(--color-dark);
    text-align: left;
    margin-top: 0;
}
.other-services__navigator {
    display: flex;
    flex-wrap: wrap;
}
.other-services__navigator-button {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: var(--color-light);
    border: none;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.other-services__navigator-button.next {
    transform: rotate(180deg);
}

.other-services__cards {
    margin: 15px auto;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

a:-webkit-any-link {
    text-decoration: none!important;
}
.other-services__service-link * {
    text-decoration: none!important;
}

.language-selector {
    display: none;
}

/* Services Extra */

.extras-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.extra-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    margin-top: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.extra-info {
    flex: 1;
    padding-right: 10px;
}

.extra-title {
    font-size: 1rem;
    margin: 0;
}

.extra-price {
    font-size: 0.9rem;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 5px;
}

.qty-btn {
    background-color: var(--color-bg-button);
    color:white;
    border: none;
    padding: 6px 10px;
    font-size: 1rem;
    border-radius: 4px;
    cursor: pointer;
    user-select: none;
}

.qty-btn:active {
    background-color: #ccc;
}

.qty-input {
    width: 40px !important;
    padding: 5px !important;
    text-align: center;
    border: none !important;
    background: transparent;
    font-size: 1rem !important;
}

/* Menú de pestañas mobile */
.service-tabs {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
    border-bottom: 1px solid #e5e5e5;
}

.service-tab {
    background: none;
    border: none;
    padding: 10px 0;
    font-size: 16px;
    font-weight: var(--font-weight-normal);
    color: var(--color-dark);
    cursor: pointer;
    position: relative;
    transition: color 0.2s ease;
    opacity: 0.6;
}

.service-tab:hover {
    opacity: 0.8;
}

.service-tab--active {
    color: var(--color-bg-button);
    opacity: 1;
    font-weight: var(--font-weight-bold);
}

.service-tab--active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--color-bg-button);
}

/* Menú de pestañas desktop */
.service-tabs-desktop {
    display: none;
}

/* Contenido de las pestañas */
.service-tab-content {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Contenedor del mapa */
.service-map-container {
    margin-top: 15px;
    margin-bottom: 15px;
}

.service-map-container iframe {
    width: 100%;
    height: 350px;
    border: 0;
    border-radius: 8px;
}

.service-map-title {
    font-size: 1.1rem;
    font-weight: var(--font-weight-bold);
    color: var(--color-dark);
    margin-bottom: 15px;
    margin-top: 20px;
}

.service-map-container--desktop {
    display: none;
}

/* Ocultar elementos desktop en mobile */
.desktop-section {
    display: none;
}

@media screen and (min-width: 768px) {
    .other-services__navigator {
        display: none;
    }

    .service-description {
        max-width: 1320px;
        background-color: transparent;
        padding-inline: 20px;
    }

    .service-description .main-header {
        position: static;
    }

    .service-description .main-header .main-header__menu-button {
        background: transparent;
    }

    .service-description__card {
        display: flex;
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 15px;
    }

    .service-description__card .desktop-title {
        display: block;
        width: 100%;
        margin-block: 25px 15px;
    }
    .service-description__card .mobile-title {
        display: none;
    }
    .service-description__header {
        width: calc(100% - 315px);
    }

    .service-description__header-image,
    .service-description__info {
        border-radius: 16px;
        overflow: hidden;
    }

    /* Mostrar thumbnails en desktop */
    .swiper-thumbs {
        display: block;
    }

    .service-description__thumb-image {
        height: 80px;
    }

    /* Mostrar botones de navegación en desktop */
    .swiper-button-prev,
    .swiper-button-next {
        display: flex;
    }

    /* Ocultar paginación en desktop */
    .swiper-pagination {
        display: none;
    }

    .service-description__info {
        width: 300px;
    }

    .service-description__info::before {
        display: none;
    }

    .service-description__info .desktop-price {
        display: block;
    }

    .service-description__info-desktop {
        display: block;
    }

    /* Contenedor para descripción desktop (mantiene el layout original) */
    .service-description-wrapper {
        display: flex;
        align-items: flex-start;
        gap: 15px;
        max-width: 1320px;
        margin: 0 auto;
        padding: 0 20px;
    }

    .service-description-wrapper .service-description__info-desktop {
        width: calc(100% - 315px);
    }

    /* Menú mobile: ocultar en desktop */
    .service-tabs {
        display: none;
    }

    /* Contenido mobile: ocultar en desktop */
    .mobile-only {
        display: none !important;
    }

    /* Mostrar secciones desktop */
    .desktop-section {
        display: block;
        scroll-margin-top: 100px;
    }

    /* Menú desktop: mostrar fuera del card, no afecta el layout */
    .service-tabs-desktop {
        display: block;
        width: 100%;
        background: transparent;
        transition: all 0.3s ease;
        z-index: 90;
        margin-top: 15px;
        margin-bottom: 15px;
    }

    /* Cuando el menú se vuelve sticky */
    .service-tabs-desktop--sticky {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background: var(--color-light);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        padding: 15px 0;
        margin-top: 0;
        margin-bottom: 0;
    }

    .service-tabs-desktop__container {
        max-width: 1320px;
        margin: 0 auto;
        padding: 0 20px;
        display: flex;
        gap: 30px;
        border-bottom: 1px solid #e5e5e5;
    }

    /* Cuando está sticky, remover el borde */
    .service-tabs-desktop--sticky .service-tabs-desktop__container {
        border-bottom: none;
    }

    .service-tab-desktop {
        background: none;
        border: none;
        padding: 10px 0;
        font-size: 16px;
        font-weight: var(--font-weight-normal);
        color: var(--color-dark);
        cursor: pointer;
        position: relative;
        transition: color 0.2s ease;
        opacity: 0.6;
    }

    .service-tab-desktop:hover {
        opacity: 0.8;
        color: var(--color-bg-button-hover);
    }

    .service-tab-desktop--active {
        color: var(--color-bg-button);
        opacity: 1;
        font-weight: var(--font-weight-bold);
    }

    .service-tab-desktop--active::after {
        content: '';
        position: absolute;
        bottom: -1px;
        left: 0;
        right: 0;
        height: 2px;
        background-color: var(--color-bg-button);
    }

    /* Mapa en desktop: visible siempre */
    .service-map-container--desktop {
        display: block;
    }

    .service-map-container--desktop iframe {
        height: 400px;
    }

    /* Scroll */
    .service-description__info.fixed {
        position: absolute;
        top: 30px;
        right: 0;
        z-index: 10;
    }
    
    .service-description__info.sticky-bottom {
        position: absolute;
        bottom: 25px;
        right: 0;
        top: auto;
    }
}

@media screen and (min-width: 1024px) {
    .service-description__thumb-image {
        height: 90px;
    }

    .service-map-container--desktop iframe {
        height: 450px;
    }
}

@media screen and (max-width: 480px) {
    img.vly-logo {
        display:none;
    }
}

/* editor overrides */
.ql-size-large {
    font-size: 20px;
}
.ql-size-small {
    font-size: 12px;
}