/* Стили для галереи услуг */
.service-tab__content {
    width: 100%;
}

.service-tab__content-head-title {
    margin-bottom: 20px;
}

.service-tab__content-head-title ._block-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.service-tab__body {
    margin-bottom: 25px;
}

.service-tab__content-gal {
    margin-bottom: 20px;
}

.service-tab__content-gal .swiper-wrapper {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.service-tab__content-gal__img {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 150px;
    margin-bottom: 0;
    padding-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-tab__content-gal__img .swiper-wrapper {
    height: auto;
    align-items: center;
    margin-bottom: 0;
    padding-bottom: 0;
}

.service-tab__content-gal__img .swiper-slide {
    width: 340px !important;
    height: 160px;
    display: block;
    overflow: hidden;
    padding: 0;
    box-sizing: border-box;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.service-tab__content-gal__img .swiper-slide img,
.service-tab__content-gal__img .swiper-slide video {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    margin: 0 auto;
    display: block;
    background: transparent;
    padding: 0;
    box-sizing: border-box;
}

.service-tab__content-gal__img .swiper-slide picture {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
}

.service-tab__content-gal__img .swiper-slide picture img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
}

.service-tab__content-gal__img .swiper-slide a.service-slide-link {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    cursor: pointer;
    text-indent: -9999px;
}

.service-tab__content-gal__img .swiper-slide a:not(.service-slide-link) {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: visible;
    padding: 0;
    box-sizing: border-box;
    border-radius: 12px;
}

.service-tab__content-gal__img .video {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    padding: 0;
    box-sizing: border-box;
    border-radius: 12px;
}

.service-tab__content-gal__img .video video {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    background: transparent;
    border-radius: 12px;
}

.service-tab__content-gal__img .video-play,
.service-tab__content-gal__img .video-over {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.service-tab__content-gal__img .video-play {
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.service-tab__content-gal__img .video-play:hover {
    background: rgba(0, 0, 0, 0.8);
}

.service-tab__content-gal__img .video-play::before {
    content: '';
    width: 0;
    height: 0;
    border-left: 22px solid #fff;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    margin-left: 4px;
}

.service-tab__content-gal__img .video-over {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    pointer-events: none;
}



.service-tab__content-info {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.service-tab__content-price {
    font-size: 24px;
    font-weight: 700;
    color: #f0cf4c;
}

.service-tab__content-order {
    display: flex;
    gap: 10px;
    align-items: center;
}

.service-tab__content-order .btn-order {
    padding: 10px 24px;
    font-size: 15px;
    font-weight: 700;
}

.service-tab__content-order .btn-40x40 {
    width: 40px;
    height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-tab__content-order .icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.service-tab__content-txt-wrap {
    margin-top: 25px;
}

.service-tab__content-txt-wrap .text-block {
    line-height: 1.6;
    color: #333;
    font-size: 15px;
}

.service-tab__content-txt-wrap .text-block h2 {
    font-size: 20px;
    font-weight: 700;
    margin-top: 20px;
    margin-bottom: 12px;
    color: #333;
}

.service-tab__content-txt-wrap .text-block h2:first-child {
    margin-top: 0;
}

.service-tab__content-txt-wrap .text-block p {
    margin-bottom: 12px;
}

.service-tab__content-txt-wrap .text-block ul {
    margin-bottom: 12px;
    padding-left: 18px;
}

.service-tab__content-txt-wrap .text-block li {
    margin-bottom: 8px;
}

/* SEO CTA + related product categories (internal links) */
.service-seo-cta {
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 10px;
    background: #fff7d1;
    border: 1px solid rgba(240, 207, 76, 0.6);
    color: #1f1f1f;
}

.service-seo-cta p {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
}

.service-seo-cta a[data-my-modal="#call_back"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 6px;
    padding: 8px 14px;
    border-radius: 8px;
    background: #f0cf4c;
    color: #000;
    text-decoration: none;
    font-weight: 700;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.service-seo-cta a[data-my-modal="#call_back"]:hover {
    background: #e0bf3c;
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

.service-related-cats {
    margin-top: 18px;
    padding-top: 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.service-related-cats h2 {
    font-size: 18px;
    margin: 0 0 10px;
    color: #333;
}

.service-related-cats ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.service-related-cats li {
    margin: 0;
}

.service-related-cats a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.10);
    background: #fff;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.2;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.service-related-cats a:hover {
    background: #f0cf4c;
    border-color: rgba(240, 207, 76, 0.9);
    color: #000;
    transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 768px) {
    .service-tab__content-head-title {
        margin-bottom: 15px;
    }
    
    .service-tab__content-gal__img {
        min-height: 120px;
        margin-bottom: 12px;
    }
    
    .service-tab__content-gal__img .swiper-slide {
        width: 260px !important;
        height: 120px;
        border-radius: 12px;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        overflow: hidden;
        position: relative;
    }
    
    .service-tab__content-gal__img .swiper-slide a.service-slide-link {
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 1;
    }
    
    .service-tab__content-gal__img .swiper-slide a:not(.service-slide-link) {
        width: 100%;
        height: 100%;
        overflow: visible;
    }
    
    .service-tab__content-gal__img .video {
        width: 100%;
        height: 100%;
        overflow: visible;
    }
    
    .service-tab__content-gal__img .swiper-slide img,
    .service-tab__content-gal__img .swiper-slide video {
        max-width: 100%;
        max-height: 100%;
        width: auto;
        height: auto;
        object-fit: contain;
        border-radius: 12px;
    }
    
    .service-tab__content-gal__img .swiper-slide picture {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 100%;
    }
    
    .service-tab__content-gal__img .swiper-slide picture img {
        max-width: 100%;
        max-height: 100%;
        width: auto;
        height: auto;
        object-fit: contain;
        border-radius: 12px;
    }
    
    .service-tab__content-head-title ._block-title {
        font-size: 22px;
    }
    
    .service-tab__content-price {
        font-size: 20px;
    }
    
    .service-tab__content-order {
        width: 100%;
        justify-content: space-between;
    }
    
    .service-tab__content-order .btn-order {
        flex: 1;
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .service-tab__content-txt-wrap {
        margin-top: 20px;
    }
    
    .service-tab__content-txt-wrap .text-block {
        font-size: 14px;
    }
    
    .service-tab__content-txt-wrap .text-block h2 {
        font-size: 18px;
        margin-top: 18px;
        margin-bottom: 10px;
    }
    
    .service-tab__content-txt-wrap .text-block p,
    .service-tab__content-txt-wrap .text-block ul {
        margin-bottom: 10px;
    }
    
    .service-tab__content-txt-wrap .text-block li {
        margin-bottom: 6px;
    }

    .service-seo-cta {
        padding: 12px 12px;
        border-radius: 10px;
    }

    .service-seo-cta p {
        font-size: 14px;
    }

    .service-seo-cta a[data-my-modal="#call_back"] {
        margin: 8px 0 0;
        width: 100%;
    }

    .service-related-cats h2 {
        font-size: 16px;
    }

    .service-related-cats a {
        font-size: 13px;
        padding: 7px 10px;
    }
}

