/* Repair Pages Custom Styles */

/* Section Problem - Other Services Block */
.sec-problem__wrap {
    padding-bottom: 100px;
}

@media screen and (max-width: 991px) {
    .sec-problem__wrap {
        padding-bottom: 90px;
    }
}

@media screen and (max-width: 600px) {
    .sec-problem__wrap {
        padding-bottom: 30px;
    }
}

/* Block Info Scroll */
.block-info-scroll {
    border-radius: 24px;
    background: #000;
    overflow: hidden;
}

.block-info-scroll__bottom {
    padding: 43px 65px;
}

@media screen and (max-width: 1568px) {
    .block-info-scroll__bottom {
        padding: 30px;
    }
}

.block-info-scroll__btnScroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.block-info-scroll__btnScroll svg {
    flex: none;
    margin-left: 13px;
}

.block-info-scroll__content {
    min-height: 840px;
    display: flex;
}

@media screen and (max-width: 1200px) {
    .block-info-scroll__content {
        display: block;
        min-height: 0;
    }
}

.block-info-scroll__left {
    flex: none;
    width: 631px;
    padding: 44px 32px;
    padding-bottom: 34px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

@media screen and (max-width: 1568px) {
    .block-info-scroll__left {
        width: 500px;
    }
}

@media screen and (max-width: 1200px) {
    .block-info-scroll__left {
        width: 100%;
        margin: 0;
        padding: 40px;
    }
}

@media screen and (max-width: 991px) {
    .block-info-scroll__left {
        padding: 43px 26px;
        padding-bottom: 0;
        margin-bottom: 12px;
    }
    
    .block-info-scroll__left .block-info-scroll__title {
        max-width: 600px;
    }
}

@media screen and (max-width: 600px) {
    .block-info-scroll__left {
        padding: 32px 26px;
        padding-bottom: 0;
    }
}

.block-info-scroll__left-top {
    margin-bottom: 46px;
}

@media screen and (max-width: 600px) {
    .block-info-scroll__left-top {
        margin-bottom: 30px;
    }
}

.block-info-scroll__left-text {
    margin-top: auto;
    font-family: "Inter", sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #a9a9a9;
}

@media screen and (max-width: 1200px) {
    .block-info-scroll__left-text {
        margin-top: 46px;
    }
}

@media screen and (max-width: 600px) {
    .block-info-scroll__left-text {
        margin-top: 32px;
    }
}

.block-info-scroll__left-text a {
    background: linear-gradient(135deg, #e4478a 0%, #9e31eb 44.66%, #d9b75b 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.block-info-scroll__btn {
    margin-top: 24px;
}

.block-info-scroll__body {
    flex: 1;
    width: 100px;
    border-left: 1px solid #464646;
    position: relative;
}

@media screen and (max-width: 1200px) {
    .block-info-scroll__body {
        width: 100%;
        height: 646px;
    }
}

@media screen and (max-width: 600px) {
    .block-info-scroll__body {
        height: 835px;
        min-height: 300px;
        height: 70vh;
    }
}

.block-info-scroll__bodyContent {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.block-info-scroll__bodyContent .swiper-slide {
    height: auto;
}

.block-info-scroll__bodyContent::-webkit-scrollbar {
    width: 28px;
    border-radius: 10px;
    padding: 5px;
}

.block-info-scroll__bodyContent::-webkit-scrollbar-track {
    border: 12px solid #000;
    border-top-width: 30px;
    border-bottom-width: 30px;
    background: #383838;
    border-radius: 10px;
}

.block-info-scroll__bodyContent::-webkit-scrollbar-thumb {
    border: 12px solid #000;
    border-top-width: 30px;
    border-bottom-width: 30px;
    border-radius: 0;
    background: #fff;
}

@media screen and (max-width: 991px) {
    .block-info-scroll__block {
        margin-top: 39px;
    }
    
    .block-info-scroll__block:first-child {
        margin-top: 0 !important;
    }
}

@media screen and (max-width: 600px) {
    .block-info-scroll__block {
        margin-top: 31px;
    }
}

.block-info-scroll__blockTop {
    padding: 23px 31px;
    padding-top: 65px;
    border-bottom: 1px solid #464646;
}

@media screen and (max-width: 1200px) {
    .block-info-scroll__blockTop {
        padding-top: 23px;
    }
}

@media screen and (max-width: 991px) {
    .block-info-scroll__blockTop {
        padding: 23px 25px;
    }
}

@media screen and (max-width: 600px) {
    .block-info-scroll__blockTop {
        padding: 16px 25px;
    }
}

.block-info-scroll__blockTitle {
    color: #fff;
}

.block-info-scroll__els {
    /* Container for service items */
}

.block-info-scroll__el {
    padding-right: 31px;
}

@media screen and (max-width: 991px) {
    .block-info-scroll__el {
        padding-right: 23px;
    }
}

.block-info-scroll__el:nth-child(even) {
    background: rgba(255, 255, 255, 0.1);
}

.block-info-scroll__el:nth-child(even) .btn-small::after {
    background: #1a1a1a;
}

/* Info Element Cost */
.info-el-cost {
    display: flex;
    align-items: center;
    padding: 20px 31px;
    min-height: 84px;
}

@media screen and (max-width: 991px) {
    .info-el-cost {
        padding: 18px 25px;
    }
}

@media screen and (max-width: 768px) {
    .info-el-cost {
        flex-wrap: wrap;
    }
}

@media screen and (max-width: 600px) {
    .info-el-cost {
        padding: 9px 25px;
        padding-bottom: 18px;
    }
}

.info-el-cost__title {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #fff;
    line-height: 1.63;
}

.info-el-cost__text {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #a9a9a9;
    width: 100px;
    flex: 1;
}

@media screen and (max-width: 600px) {
    .info-el-cost__text {
        width: 100%;
        flex: none;
    }
}

.info-el-cost__btn {
    margin-left: 20px;
}

@media screen and (max-width: 600px) {
    .info-el-cost__btn {
        margin-left: 0;
        margin-top: 14px;
    }
}

.info-el-cost__left {
    width: 496px;
    padding-right: 20px;
}

@media screen and (max-width: 1568px) {
    .info-el-cost__left {
        width: 316px;
    }
}

@media screen and (max-width: 1200px) {
    .info-el-cost__left {
        width: 500px;
    }
}

@media screen and (max-width: 991px) {
    .info-el-cost__left {
        width: 400px;
    }
}

@media screen and (max-width: 768px) {
    .info-el-cost__left {
        width: 100%;
        padding-right: 0;
        margin-bottom: 20px;
    }
}

@media screen and (max-width: 600px) {
    .info-el-cost__left {
        margin-bottom: 0;
    }
}

.info-el-cost__info {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #a9a9a9;
    margin-top: 1px;
}

/* Text Info */
.text-info {
    font-family: "Inter", sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #fff;
    line-height: 1.4;
}

.text-info a {
    background: linear-gradient(135deg, #e4478a 0%, #9e31eb 44.66%, #d9b75b 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Section Info - Service Details */
.sec-info {
    background: #fff;
    border-radius: 64px 64px 0 0;
    position: relative;
    z-index: 15;
}

@media screen and (max-width: 1200px) {
    .sec-info {
        border-radius: 34px 34px 0 0;
    }
}

@media screen and (max-width: 991px) {
    .sec-info {
        border-radius: 32px 32px 0 0;
    }
}

.sec-info__wrap {
    padding: 144px 0;
    padding-bottom: 63px;
}

@media screen and (max-width: 1568px) {
    .sec-info__wrap {
        padding-top: 100px;
    }
}

@media screen and (max-width: 1200px) {
    .sec-info__wrap {
        padding-top: 60px;
    }
}

@media screen and (max-width: 991px) {
    .sec-info__wrap {
        padding-bottom: 32px;
    }
}

@media screen and (max-width: 600px) {
    .sec-info__wrap {
        padding-top: 32px;
        padding-bottom: 24px;
    }
}

.sec-info__content {
    border-radius: 24px;
    border: 1px solid #E5488B;
    padding: 43px 31px;
}

@media screen and (max-width: 991px) {
    .sec-info__content {
        padding: 33px 24px;
    }
}

@media screen and (max-width: 600px) {
    .sec-info__content {
        padding: 25px 24px;
    }
}

.sec-info__title {
    max-width: 656px;
    margin-bottom: 32px;
}

@media screen and (max-width: 991px) {
    .sec-info__title {
        margin-bottom: 22px;
    }
}

@media screen and (max-width: 600px) {
    .sec-info__title {
        margin-bottom: 25px;
    }
}

.sec-info__sides {
    display: flex;
}

@media screen and (max-width: 991px) {
    .sec-info__sides {
        display: block;
    }
}

.sec-info__sides-right {
    flex: none;
    margin-left: 43px;
    width: 575px;
}

@media screen and (max-width: 1568px) {
    .sec-info__sides-right {
        width: 400px;
    }
}

@media screen and (max-width: 991px) {
    .sec-info__sides-right {
        width: 100%;
        margin: 0;
        margin-top: 23px;
    }
}

.sec-info__sides-left {
    flex: 1;
    width: 100px;
}

@media screen and (max-width: 991px) {
    .sec-info__sides-left {
        width: 100%;
    }
}

.sec-info__text {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

/* Info Cost Block */
.info-cost {
    border: 1px solid #dadada;
    border-radius: 14px;
    background: #000;
    padding: 23px 25px;
    position: relative;
    overflow: hidden;
}

.info-cost::before {
    content: "";
    position: absolute;
    z-index: 1;
    bottom: -42px;
    right: -36px;
    width: 200px;
    height: 100px;
    border-radius: 100%;
    background: #b85fff;
    filter: blur(67px);
}

.info-cost__body {
    position: relative;
    z-index: 10;
}

.info-cost__cost {
    font-family: "Inter", sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: #fff;
    margin-bottom: 5px;
}

.info-cost__text {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #a9a9a9;
}

.info-cost__btn {
    margin-top: 20px;
}

/* Breadcrumbs */
.breadcrumbs {
    padding: 20px 0;
    background-color: #f8f9fa;
}

.breadcrumbs__list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    align-items: center;
}

.breadcrumbs__item {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #666;
}

.breadcrumbs__item:not(:last-child)::after {
    content: '/';
    margin: 0 8px;
    color: #999;
}

.breadcrumbs__link {
    color: #6244f5;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumbs__link:hover {
    color: #7c5cff;
    text-decoration: underline;
}

.breadcrumbs__item_active {
    color: #333;
    font-weight: 500;
}

@media (max-width: 768px) {
    .breadcrumbs {
        padding: 15px 0;
    }
    
    .breadcrumbs__item {
        font-size: 12px;
    }
    
    .breadcrumbs__item:not(:last-child)::after {
        margin: 0 6px;
    }
}

/* Brands Section Title */
.brands-section__title {
    margin-bottom: 31px;
}

/* Brands Grid */
.brands-grid {
    display: flex;
    flex-wrap: wrap;
    margin-left: -10px;
    margin-right: -10px;
}

.brands-grid__item {
    width: 16.666667%; /* 6 в ряд на desktop */
    padding: 0 10px;
    margin-bottom: 20px;
}

@media screen and (max-width: 1200px) {
    .brands-grid__item {
        width: 25%; /* 4 в ряд на планшетах */
    }
}

@media screen and (max-width: 768px) {
    .brands-grid__item {
        width: 33.333333%; /* 3 в ряд на маленьких планшетах */
    }
}

@media screen and (max-width: 576px) {
    .brands-grid__item {
        width: 50%; /* 2 в ряд на мобильных */
    }
}

/* Brand Card */
.brand-card {
    display: block;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.brand-card:hover {
    transform: translateY(-5px);
}

.brand-card__inner {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: #000;
    border: 1px solid #333;
    padding: 24px 16px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.brand-card:hover .brand-card__inner {
    background: #1a1a1a;
    border-color: #6244f5;
    box-shadow: 0 8px 24px rgba(98, 68, 245, 0.4);
}

.brand-card__inner::before {
    content: "";
    position: absolute;
    bottom: 16px;
    left: -12px;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background-color: rgba(98, 68, 245, 0.2);
    transform: rotate(45deg);
}

.brand-card__inner::after {
    content: "";
    position: absolute;
    top: -12px;
    right: 16px;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background-color: rgba(98, 68, 245, 0.2);
    transform: rotate(45deg);
}

.brand-card__img {
    max-width: 80px;
    max-height: 60px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    position: relative;
    z-index: 1;
}

.brand-card__name {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    position: relative;
    z-index: 1;
}

/* Models Section Title */
.models-section__title {
    margin-bottom: 31px;
}

/* Models Grid */
.models-grid {
    display: flex;
    flex-wrap: wrap;
    margin-left: -10px;
    margin-right: -10px;
}

.models-grid__item {
    width: 25%; /* 4 в ряд на desktop */
    padding: 0 10px;
    margin-bottom: 20px;
}

@media screen and (max-width: 992px) {
    .models-grid__item {
        width: 33.333333%; /* 3 в ряд на планшетах */
    }
}

@media screen and (max-width: 768px) {
    .models-grid__item {
        width: 50%; /* 2 в ряд на маленьких планшетах и мобильных */
    }
}

/* Model Card */
.model-card {
    display: block;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.model-card:hover {
    transform: translateY(-5px);
}

.model-card__inner {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: #fff;
    border: 1px solid #e5e5e5;
    padding: 24px 20px;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.model-card:hover .model-card__inner {
    background: #f8f9fa;
    border-color: #6244f5;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.model-card__inner::before {
    content: "";
    position: absolute;
    bottom: 20px;
    left: -16px;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background-color: rgba(98, 68, 245, 0.05);
    transform: rotate(45deg);
}

.model-card__inner::after {
    content: "";
    position: absolute;
    top: -16px;
    right: 20px;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background-color: rgba(98, 68, 245, 0.05);
    transform: rotate(45deg);
}

.model-card__img {
    max-width: 120px;
    max-height: 140px;
    margin-bottom: 16px;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

.model-card__name {
    font-size: 16px;
    font-weight: 600;
    color: #000;
    position: relative;
    z-index: 1;
}

/* Service Group */
.service-group {
    margin-bottom: 40px;
}

.service-group__title {
    padding-bottom: 12px;
    border-bottom: 2px solid #6244F5;
    margin-bottom: 20px;
}

/* Services Table */
.services-table {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.service-row {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 20px;
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
    align-items: center;
    transition: background 0.3s ease;
}

.service-row:last-child {
    border-bottom: none;
}

.service-row:hover {
    background: #f9f9f9;
}

.service-row__info {
    flex: 1;
}

.service-row__title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.service-row__title:hover {
    color: #6244F5;
}

.service-row__desc {
    margin-top: 8px;
    font-size: 14px;
    color: #666;
    margin-bottom: 0;
    font-style: italic;
}

.service-row__price {
    font-size: 18px;
    font-weight: 700;
    color: #6244F5;
    white-space: nowrap;
}

.service-row__action {
    white-space: nowrap;
}

/* Service Info */
.service-info {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.service-info__row {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
}

.service-info__row:last-child {
    border-bottom: none;
}

.service-info__label {
    font-weight: 700;
    color: #333;
}

.service-info__value {
    color: #666;
}

/* Responsive */
@media (max-width: 992px) {
    .service-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .service-row__action {
        text-align: left;
    }
    
    .service-info__row {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

@media (max-width: 768px) {
    .brand-card__inner {
        min-height: 100px;
        padding: 16px 12px;
        border-radius: 16px;
    }
    
    .model-card__inner {
        min-height: 160px;
        padding: 20px 16px;
        border-radius: 16px;
    }
    
    .brand-card__inner::before,
    .brand-card__inner::after {
        width: 18px;
        height: 18px;
    }
    
    .brand-card__inner::before {
        bottom: 12px;
        left: -9px;
    }
    
    .brand-card__inner::after {
        top: -9px;
        right: 12px;
    }
    
    .model-card__inner::before,
    .model-card__inner::after {
        width: 24px;
        height: 24px;
    }
    
    .brand-card__img {
        max-width: 50px;
        max-height: 40px;
        margin-bottom: 8px;
    }
    
    .model-card__img {
        max-width: 80px;
        max-height: 100px;
        margin-bottom: 12px;
    }
    
    .brand-card__name,
    .model-card__name {
        font-size: 12px;
    }
    
    .service-row {
        padding: 15px;
    }
    
    .service-info {
        padding: 20px;
    }
}

/* Button Small */
.btn-small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    background: #000;
    color: #fff;
    text-decoration: none;
    border: 1px solid #414141;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.btn-small::before {
    content: "";
    background: linear-gradient(135deg, #e4478a 0%, #9e31eb 44.66%, #d9b75b 100%);
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 1;
    border-radius: 12px;
    opacity: 0;
    transition: 0.3s;
}

.btn-small::after {
    content: "";
    border-radius: 12px;
    position: absolute;
    top: 1px;
    bottom: 1px;
    right: 1px;
    left: 1px;
    background: #000;
    z-index: 2;
    transition: 0.3s;
}

.btn-small span {
    position: relative;
    z-index: 10;
}

.btn-small:hover {
    border-color: transparent;
}

.btn-small:hover::before {
    opacity: 1;
}

.btn-small:active::after {
    opacity: 0;
}

.btn-small:active::before {
    opacity: 1;
}

/* Custom Select Fix */
.select-def.active .select-def__dropdown {
    display: block;
}

.select-def.active .select-def__arr {
    transform: rotate(180deg);
}

.select-def__arr {
    transition: transform 0.3s ease;
}

/* Modal Select Z-index Fix */
.modal-def .select-def.active {
    z-index: 1000;
}

.modal-def .select-def__dropdown {
    z-index: 1001;
}

