.return-problem {
height: 350px !important;
}

table.price-table{width:100%;text-align:left;}
table.price-table td{line-height:1;padding:16px;}
table.price-table .price-table-right{width:25%;}
tr.price-table-first td{line-height:1;padding-left:1rem;font-size:1.4em;color:#D22063;background-color:transparent!important;}
table.price-table td, table.price-table tr{border-bottom:#D22063 solid;border-bottom-width:1px;border-spacing:0;}
table.price-table td{line-height:1.1;font-size:14px;}
table.price-table td .cb-hover{font-size: 14px;}

.tooltip {
    z-index: 10000000;
}

@media only screen and (max-width: 520px) {
    .repair .apple-service .item .image img {
        height: 100px;
    }
    .repair .return-problem {
        height: 400px !important;
    }
    .review-carousel .slick-dots {
        bottom: -50px;
    }
}

/*----Модификатор---*/
.btn.btn-red.btn.btn-sm {
    font-size: 14px; !important;
    padding: 4px 18px; !important;
}
#header {
    height: auto !important;
}
#header .header-bottom {
    padding: 0px !important;
    align-items: center;
}
#header .menu-btn {
    display: flex;
    gap: 8px;
    margin-right: auto;
}
#header .nav-bottom {
    height: 45px;
    background-color: #1a1a1a;
    display: flex;
    align-items: center;
}
#header .menu-btn-buter {
    width: 25px;
    color: #d9d9d9;
    font-size: 20px;
}
.slider a:focus {
    border: none;
    outline: none;
}
.wrapper {
    min-width: 375px !important;
}
#header .logo-h {
    margin-left: 0px !important;
}
/*---navigation---*/
.navigation {

}
.navigation .slide_menu {
    position: relative;
    display: none;
    font-size: 25px;
    color: #bdbdbd;
}
.navigation .body-nav {
    display: inline-flex;
    align-items: center;
    gap: 28px;
    position: relative;
    font-size: 16px;
    font-weight: 500;
}

.navigation .item.parent a {
    color: #bdbdbd;
    text-decoration: none;
}

.navigation .item.parent a:hover,
.navigation .item.parent.active a {
    color: #fff;
}
.navigation .item.parent {
    padding-top: 5px;
    padding-bottom: 5px;
}

.navigation .nav-children {
    left: 0;
    position: absolute;
    top: 100%;
    display: none;
    z-index: 10;
    width: max-content;
    min-width: 100%;
}
.navigation .list-mode.parent .nav-children {
    right: auto;
}
/*.navigation .nav-children .nav-row {*/
/*    background-color: #fff;*/
/*    border: 1px solid #ccc;*/
/*    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);*/
/*    display: grid;*/
/*    grid-template-columns: repeat(4, 1fr);*/
/*    gap: 8px 50px;*/
/*    padding: 8px;*/
/*    margin-top: 3px;*/
/*}*/
/*Верх вниз заполняется меню*/
.navigation .nav-children .nav-row {
    display: grid;
    grid-template-rows: repeat(10, auto);
    grid-auto-flow: column;
    gap: 8px 50px;
    padding: 8px;
    margin-top: 3px;
    background-color: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Стили для списка, если меньше или равно 10 элементов */
.navigation .list-mode.parent .nav-children .nav-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 5px;
}
.navigation .list-mode.parent {
    position: relative;
}
.navigation .nav-children .nav-row .item {
    padding: 6px;
}

.navigation .nav-children .nav-row .item a {
    color: #545454;
    text-decoration: none;
    display: block;
    white-space: nowrap;
    letter-spacing: 0.2px;
}
.navigation .item.parent a.active {
    color: #fff !important;
}
.navigation .nav-children .nav-row .item:hover {
    background-color: #eaeaea;
}


@media only screen and (max-width: 992px) {
    #header .nav-bottom {
        display: none;
    }
    #header .logo-h img {
        width: 100px !important;
    }
    #header .menu-btn .dropdown .caret,
    #header .menu-btn .dropdown .dropdown-menu {
        display: none !important;
    }
    .navigation .slide_menu {
        display: block;
    }
    .navigation .body-nav {
        display: none;
        position: absolute;
        background-color: #222;
        top: 100%;
        left: 0;
        padding: 10px 10px 10px 10px;
        width: 100%;
        white-space: nowrap;
    }
    .navigation .body-nav.active {
        display: block;
    }
    .navigation .body-nav .fa {
        display: none;
    }
    .navigation .body-nav .nav-children {
        display: none !important;
    }
}
@media only screen and (max-width: 670px) {
    #window-modal .modal-dialog.modal-lg, #window-modal .modal-dialog.modal-xs {
        width: auto !important;
    }
    .devices .devices__com {
        display: none;
    }
    #footer .custom_footerInfo .footerContact .phone {
        white-space: nowrap;
    }
}
@media only screen and (max-width: 540px) {
    #header .logo-h {
        margin-top: 0px !important;
    }
    #header .logo-h img {
        width: 90px !important;
        margin: 0px !important;
    }

    #header .menu-btn .btn.btn-red.btn.btn-sm {
        font-size: 10px;
        padding: 4px 10px;
        border-radius: 15px;
    }
    #header .menu-btn {
        gap: 5px;
    }
}

#cookie-consent {
    margin: 20px 15px 5px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    color: #fff;
    background: #00000082;
    border: none;
}
#cookie-consent .close {
    color: #fff;
    opacity: 0.8;
}
#cookie-consent .btn {
    margin-top: 10px;
}
.btn:focus {
    border-color: transparent;
    outline: none;
}
.devices__menu .items .item {

}
a:focus {
    outline: none;
    border: none
}

.devicesProblemsMenu .item .icon-menu.icon-imac,
.menu__devices .item .icon-menu.icon-imac {
    background-image: url("/images/icons-imac.png");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    width: 80px;
    height: 82px;
    background-position: center;
}

.devicesProblemsMenu .item.active .icon-menu.icon-imac,
.menu__devices .item.active .icon-menu.icon-imac{
    background-image: url("/images/icons-imac-active.png");
}

.devicesProblemsMenu .item .icon-menu.icon-airpods,
.menu__devices .item .icon-menu.icon-airpods {
    background-image: url("/images/icon-airpods.svg");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    height: 82px;
    width: 80px;
    background-position: center;
}

.devicesProblemsMenu .item.active .icon-menu.icon-airpods,
.menu__devices .item.active .icon-menu.icon-airpods {
    background-image: url("/images/icon-airpods-active.svg");
}
@media only screen and (max-width: 670px) {
    .devicesProblemsMenu .item .icon-menu.icon-imac,
    .menu__devices .item .icon-menu.icon-imac,
    .menu__devices .item .icon-menu.icon-airpods,
    .devicesProblemsMenu .item .icon-menu.icon-airpods {
        height: 60px;
    }
}

.devices-problems-list .nav-tabs li {
    width: 50%;
}

.devices-problems-list .nav-tabs li.active > a {
    background-color: #e91797 !important;
    color: #fff !important;
}
.devices-problems-list .nav-tabs li > a:hover,
.devices-problems-list .nav-tabs li > a:focus {
    background-color: #fff;
    border-color: #e91797;
}

.devices-problems-list .nav-tabs li > a {
    border: 1px solid #ddd;
    transition: transform 0.5s ease-in-out;
}

.devices-problems-list .list-items {
    border: 1px solid #ddd;
    margin-top: 5px;
}
.devices-problems-list .list-items .tab {
    display: none;
    width: 100%;
}

.devices-problems-list .list-items .tab.active {
    display: block;
}
@media only screen and (max-width: 400px) {
    .repair .main-b .slick-list {
         height: 640px !important;
    }
    .repair .slider .items .caption .description ul {
        padding: 5px 0 0 35px;
    }
}
.nav-tabs > li > a {
    border-radius: 0px;
    margin-right: 0px;
}
.nav-tabs {
    border-bottom: none;
}
.menu__devices.page-menu .items .item .icon-menu {
    margin: 0 auto;
}
@media only screen and (max-width: 410px) {
    #header .menu-btn .no-mobile {
      display: none;
    }
    #header .menu-btn-buter {
        width: 35px;
    }
    #menu-mobile .dropdown-menu{
        display: none !important;
    }
    #menu-mobile .caret{
        display: none !important;
    }

}

.tab .value s {

}
.tab .discount {
    border: 1px solid #e91797;
}
.discount_s, s {
    color: #b4b3b3;
}
.discount_s.right {
    margin-right: 20px;
}
.discount_s.left {
    margin-left: 20px;
}
.text-discount {
    color: #e91797;
    font-size: 16px;
}
.discount_flex {
    display: flex;
    flex-direction: column;
}
.discount_flex.reverse {
    flex-direction: column-reverse;
}
.discount_flex .old-price {
    font-size: 16px;
    text-align: end;
}
/*-------------------Pages-------------------------*/
.tags__com .items {
    gap: 8px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
}
.tags__com .tile {
    background-color: #f03e81;
    border: 1px solid #f03e81;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
    color: #fff;
    text-decoration: unset;
}
.tags__com .tile:hover {
    background-color: #f36296;
}
.tags__com .show-more {
    background-color: #e71761;
}
@media only screen and (max-width: 900px) {
    .tags__com .items {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media only screen and (max-width: 500px) {
    .tags__com .items {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media only screen and (max-width: 400px) {
    .tags__com .items {
        grid-template-columns: repeat(2, 1fr);
    }
}
.list__com .items {
    border: 1px solid #ddd;
    display: flex;
    flex-direction: column;
}
.list__com .list {
    padding: 8px 15px;
    border-bottom: 1px solid #f6f6f6;
}
.list__com .list:last-child {
    border-bottom: none;
}
.list__com .list .value {
    text-align: right;
}

.list__table {
    border: 1px solid #ddd;
    width: 100%;
}
.list__table td {
    vertical-align: middle !important;
}
.list__table td .name {
    cursor: pointer;
}
.list__table td .name:hover {
    color: #e71761;
}
.list__table .value {
    text-align: right;
}
.btn.btn-xs.btn-red {
    font-size: 12px;
    padding: 4px 14px;
}
.btn.circle {
    border-radius: 60px;
}
.telegram__com {
    border: 1px solid #ddd;
    padding: 20px 30px;
    border-radius: 50px;
    margin-top: 40px;
    margin-bottom: 40px;
    height: 100%;
}
.telegram__com .row {
    height: 100%;
    display: flex;
}
.telegram__com .col {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.telegram__com .flex_block p{
    font-size: 16px;
    margin: 0px;
    font-weight: 500;
}
.custom_page {
    padding-bottom: 60px;
}
.custom_page .tags__com {
    padding-top: 15px;
}
.btn-telegram {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
/*-------------------./Pages-------------------------*/
.prices__com {
    margin-bottom: 15px;
}
.prices__com .list-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}
.prices__com .list-items .content {
    display: flex;
    align-items: center;
    gap: 8px;
}
.prices__com .list-items .content .name {
    font-weight: 600;
}
.prices__com .list-items .content .img {

}
.prices__com .list-items .content .img img {
    width: 60px;
    height: 60px;
    object-fit: cover;
}
.prices__com .cursor {
    cursor: pointer;
}
.prices__com .cursor:hover .name {
    color: #e71761;
}
@media only screen and (max-width: 600px) {
    .prices__com .list-items {
        margin-top: 20px;
    }
    .prices__com .list-items {
        grid-template-columns: repeat(2, 1fr);
    }
    .telegram__com .row {
        flex-direction: column;
        gap: 20px;
    }
    .telegram__com .row h3 {
        margin-top: 0px;
    }
}

.section-1 {
    margin-top: 50px;
}

#agree_checkbox {
    margin-left: 0px;

}
.link {
    color: #e71761;
    text-decoration: underline;
}
#footer .contacts .address-carousel .items .item .content {
    height: 215px;
}
#footer .contacts .address-carousel .item .content .value.time {
    display: flex;
    gap: 5px;
    margin-bottom: -10px;
}

.link-white {
   color: #fff;
   cursor: pointer;
   border-bottom: 1px dotted;
}
.link-white:hover {

    border-bottom: 1px dotted transparent;
}
#header .header-bottom .top_phone .time {
    color: #d3d3d3;
    margin-bottom: 3px;
}
#header .header-bottom .top_phone .desktop {
    display: flex;
    flex-direction: column;
}
#header .header-bottom .top_phone .desktop .link-white {
    font-size: 14px;
    line-height: 16px;
    margin-top: 3px;
}
#header .header-bottom .top_phone .desktop a {
    line-height: 24px;
}
.copyright .copy {
    margin-top: 8px;
    margin-bottom: 8px;
}

.wrap_icon_dm {
    display: flex;
    margin-top: 70px;
    margin-bottom: 30px;
    gap: 60px;
    justify-content: space-evenly;
}

.text_dm {
    font-size: 19px;
    font-weight: 400;
    line-height: 19px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;

}

.item_icon_dm {
    display: flex;
    align-items: center;
    gap: 13px;
}
@media only screen and (max-width: 600px) {
    .wrap_icon_dm {
        flex-direction: column;
        gap: 25px;
        margin-top: 35px;
        margin-bottom: 0px;
        display: none;
    }
    #footer .contacts .address-carousel .item .content .title {
        padding: 0px;
    }
    #footer .contacts .address-carousel .items .item .content {
        height: 185px;
    }
}
.call-section {
    background: #3a3a3a;
    border-radius: 20px;
}
.call-section .call-widget-container-custom {
    box-shadow: unset;
}
.form__mod .form-group .checkbox {
    display: flex;
    align-items: baseline;
}
.form__mod .form-group .checkbox input[type="checkbox"] {
    position: relative;
    top: 2px;
}


.reviews-tab {
    display: flex;
    flex-wrap: wrap; /* Позволяет карточкам переноситься на новую строку на маленьких экранах */
    gap: 24px;
    padding: 24px;
}

.reviews-tab .review-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    cursor: pointer;
    border: 1px solid transparent;
    text-decoration: unset;
}
.reviews-tab .review-card.active {
    border-color: #e71761;
}

.reviews-tab .review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.reviews-tab .icon-wrapper {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0; /* Предотвращает сжатие иконки */
}

.reviews-tab .icon-wrapper.yandex {

}

.reviews-tab .icon-wrapper.gis {
    border-radius: 12px;
}

.reviews-tab .icon-wrapper.google {
    background-color: #FFFFFF;
    border: 1px solid #EAEAEA;
}

.reviews-tab .rating-value {
    margin: 0;
    font-size: 32px;
    font-weight: bold;
    color: #1a1a1a;
    line-height: 1;
}

.reviews-tab .rating-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.reviews-tab .stars {
    font-size: 18px;
    color: #FFC940;
    letter-spacing: 1px;
}

.reviews-tab .review-count {
    margin: 0;
    font-size: 14px;
    color: #8A8A8A;
    white-space: nowrap; /* Запрещает перенос текста на новую строку */
}
.js-custom-tab .custom-tab.active {
    display: block;
}
.js-custom-tab .custom-tab {
   display: none;
}
@media only screen and (max-width: 890px) {
    .reviews-tab {
        flex-direction: column;
    }
}
.radio label, .checkbox label {
    padding-left: 8px !important;
}