.specs-items {
    padding: 0;
}

.specs-items__spec a:focus {
    outline: none;
}

.specs-items .owl-carousel .owl-wrapper-outer {
    margin-left: 20px;
}

.specs-items .specs-items__header {
    font-size: 20px;
    margin-bottom: 15px;
}

.specs-items .specs-items__thumb {
    text-align: center;
    width: 292px;
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 20px; /* нижний марджин для тени */
}

.specs-items .specs-items__desc {
    -webkit-line-clamp: 4;
    line-clamp: 4;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #86868b;
    font-family: 'SF Pro Display', sans-serif;
    margin-top: 18px;
    line-height: 120%;
}

.specs-items .specs-items__preview {
    display: block;
    overflow: hidden;
    position: relative;
    border-radius: 5px 5px 0 0;
}

.specs-items__text {
    padding-top: 16px;
    line-height: 120%;
    text-align: left;
}

.specs-items .specs-items__preview-image {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
}

.specs-items .specs-items__preview-image_bg {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: none;
    z-index: 2;
}

.specs-items .specs-items__preview:hover .specs-items__preview-image_bg {
    display: block;
}

.specs-items .specs-items__preview-tags {
    position: absolute;
    left: 15px;
    bottom: 10px;
    text-align: left;
}

.specs-items__description-viewport {
    display: block;
    border-right: 1px solid #e6e6e6;
    border-bottom: 1px solid #e6e6e6;
    border-left: 1px solid #e6e6e6;
    border-radius: 0 0 5px 5px;
    height: 230px;
    position: relative;
}

.specs-items .specs-items__preview-tags br {
    display: none;
}

.specs-items .specs-items__preview-tags {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 5px;
    left: 15px;
    bottom: 15px;
}

.specs-items .specs-items__preview-tag {
    display: inline-block;
    padding: 4px 8px 4px;
    margin-right: auto;
    background-color: #ff8a00;
    color: #fff;
    font-size: 12px;
    font-family: SF Pro Display, sans-serif;
    border-radius: 5px;
}

.specs-items .specs-items__title {
    font-family: Gilroy, 'sans-serif';
    display: block;
    overflow: hidden;
    font-size: 18px;
    font-weight: 600;
    line-height: 18px;
    color: #333336;
    text-decoration: none;
    text-align: left;
    margin-top: 11px;
    z-index: 1;
    position: relative;
}

.specs-items .spec-items__developer {
    font-family: SF Pro Display, sans-serif;
    color: #86868b;
    font-size: 12px;
    margin: 0;
    line-height: 120%;
}

.specs-items .specs-items__address {
    color: #333336;
    margin-top: 1px;
    font-family: SF Pro Display, sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 120%;
    display: block;
    overflow: hidden;
}

.specs-items__spec {
    height: 510px;
    width: 292px;
    margin-left: 10px;
    margin-right: 10px;
}

.specs-items__address-icon {
    height: 15px;
    min-width: 15px;
    position: relative;
    top: 3px;
}

.specs-items .specs-items__description {
    border-radius: 0 5px;
    border: 1px #e6e6e6;
    margin-left: 14px;
    margin-right: 14px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
}

.specs-items .specs-items__description-top {
    overflow: hidden;
    margin-bottom: auto;
}

.specs-items .specs-items__description-viewport-full {
    display: block;
    border-right: 1px solid #e6e6e6;
    border-bottom: 1px solid #e6e6e6;
    border-left: 1px solid #e6e6e6;
    border-radius: 0 0 5px 5px;
    height: 300px;
    position: relative;
}

.specs-items .specs-items__description.specs-items__description_short {
    height: 34px;
}

.specs-items .specs-items__shadow {
    background: url(images/shadow.png);
    height: 20px;
    left: 0;
    right: 0;
    bottom: -7px;
    position: absolute;
}

.specs-items .specs-items__show-all {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
}

.specs-items__show-button {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f2f2f2;
    height: 40px;
    width: 100%;
    font-size: 16px;
    font-family: SF Pro Display, sans-serif;
    font-weight: 500;
    border-radius: 5px;
    color: #333336;
    text-decoration: none;
}

.specs-items__footer .specs-items__show-button {
    font-size: 14px;
}

.specs-items__show-button:hover {
    color: #333336;
    text-decoration: none;
}

.specs-items__show-button:focus {
    color: #333336;
    text-decoration: none;
}

.specs-items .owl-pagination {
    text-align: center;
    margin-bottom: 30px;
}

.specs-items .owl-page {
    display: inline-block;
    margin: 0 5px;
}

.specs-items .owl-pagination span {
    width: 20px;
    height: 20px;
    border: 2px solid #d1d1d1;
    border-radius: 10px;
    display: inline-block;
}

.specs-items .owl-pagination .active span {
    width: 20px;
    height: 20px;
    border: 0;
    background: #d1d1d1;
}

.specs-items .owl-carousel .owl-prev,
.specs-items .owl-carousel .owl-next {
    top: 100px;
}

/** .specs-items_short **/
.specs-items_short .specs-items__thumb {
    width: 292px;
    text-align: left;
    height: 100%;
}

.specs-items__bottom-badge {
    visibility: hidden;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: #fff;
    z-index: 10;
    padding: 15px 16px;
    display: none;
}

.spec-items__address-viewport {
    display: flex;
    gap: 5px;
    margin-top: 20px;
}

.specs-items__label-19,
.specs-items__label-20 {
    padding: 5px !important;
    background-color: #2A435B !important;
    color: white;
    font-size: 10px !important;
    margin-top: 1px;
    width: 160px;
    margin-bottom: 0 !important;
}

.specs-items__label-19-win,
.specs-items__label-20-win {
    color: #FB9A15 !important;
}

.specs-items__label-19 img,
.specs-items__label-20 img {
    margin-top: 3px;
    margin-right: 8px;
    margin-bottom: 3px;
    margin-left: 4px;
    float: left;
}

.specs-items__label-mra-19,
.specs-items__label-mra-20 {
    font-size: 13px;
    line-height: 15px;
    text-align: left;
    margin-bottom: 10px;
    color: #333;
}

.specs-items__label-mra-19-win,
.specs-items__label-mra-20-win {
    color: #333;
}

.specs-items__label-mra-19 img,
.specs-items__label-mra-20 img {
    margin-right: 14px;
    float: left;
}

.specs-items__label {
    position: absolute;
    top: 5px;
    right: 8px;
    width: 75px;
    z-index: 9;
}

.specs-items__spec:hover .specs-items__label {
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s linear 0.4s, opacity 0.4s linear;
}

.specs-items__contacts {
    display: flex;
    text-align: center;
    position: relative;
    margin-bottom: 15px;
    gap: 10px;
}

.specs-items__contacts .whatsapp-button {
    width: 56px;
    height: 40px;
    background: #f2f2f2;
    border-radius: 5px;
    padding: 8px 8px;
    margin: 0;
    z-index: 1;
}

.specs-items__contacts .spec-contact__show-phone {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #4299f7;
    height: 40px;
    width: 100%;
    font-size: 14px;
    font-family: SF Pro Display, sans-serif;
    border-radius: 5px;
}

.specs-items__description-top {
    overflow: hidden;
}

.specs-items__contacts .spec-contact__site {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #4299f7;
    height: 40px;
    width: 100%;
    font-size: 14px;
    font-family: SF Pro Display, sans-serif;
    border-radius: 5px;
    padding: 0;
    color: #fff;
}

.specs-items__disclaimer_expanded .specs-disclaimer__text-viewport {
    margin-top: -15px;
}

/* Десктоп */
@media (hover: hover) and (pointer: fine) {

    .specs-items__thumb:hover {
        box-shadow: 0 0 1px 0 rgba(30, 32, 36, 0.03), 0 1px 1px 0 rgba(30, 32, 36, 0.0283), 0 1px 3px 0 rgba(30, 32, 36, 0.035), 0 2px 5px 0 rgba(30, 32, 36, 0.0417), 0 4px 9px 0 rgba(30, 32, 36, 0.05), 0 9px 22px 0 rgba(30, 32, 36, 0.06);
        border-radius: 5px;
    }

    .specs-items__thumb:hover .specs-items__description-viewport {
        border-color: transparent;
    }

    .specs-items__thumb:hover .specs-items__title {
        color: #4299f7;
    }

    .specs-items__contacts > .whatsapp-button:hover {
        background: #e6e6e7;
    }

    .specs-items__contacts .spec-contact__site:hover {
        background: #2d82e0;
    }

    .specs-items__show-button:hover {
        background: #e6e6e7;
    }

    .specs-items__contacts .spec-contact__phone:hover {
        background: #e6e6e7;
    }

    .specs-items__contacts .spec-contact__show-phone:hover {
        background: #2d82e0;
    }
}

/* Устройства с тачскрином */
@media (hover: none) and (pointer: coarse){
    .specs-items .specs-items__title {
        color: #4299f7;
    }
}

.specs-items__contacts > .whatsapp-button:active {
    background: #ddddde;
}

.specs-items__contacts .spec-contact__phone:active {
    background: #ddddde;
}

.specs-items__show-button:active {
    background: #ddddde;
}

.specs-items__contacts .spec-contact__show-phone:active {
    background: #2974c3;
}

.specs-items__contacts .spec-contact__site:active {
    background: #2974c3;
}

.specs-items__footer {
    width: 100%;
    display: flex;
    justify-content: center;
}

.specs-items__footer .specs-items__show-all {
    height: 40px;
    width: 240px;
    margin-top: 10px;
}

.specs-items__contacts .spec-contact__phone {
    background: none;
    border-radius: 5px;
    border: none;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f2f2f2;
    color: #333336;
    font-family: SF Pro Display, sans-serif;
    font-size: 14px;
    font-weight: 500;
}

.specs-items__contacts .spec-contact__phone-block {
    flex-grow: 1;
}

.specs-items__contacts .spec-contact__phone:hover {
    color: #333336;
    text-decoration: none;
}

.specs-items__contacts .spec-contact__phone-block:hover .spec-contact__show-phone {
    display: flex;
}

.specs-items__contacts .whatsapp-button__text {
    display: none;
}

.specs-items__contacts .whatsapp-button__content {
    height: 100%;
}

.spec-items__carousel .slick-arrow {
    top: 281px;
}

.specs-items__description-link {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.specs-items__disclaimer {
    position: relative;
    padding: 15px 0;
    z-index: 1;
}

.specs-items__disclaimer_expanded {
    flex-grow: 1;
    height: 1px;
}

.specs-items__disclaimer:not(.specs-items__disclaimer_expanded) {
    cursor: pointer;
}

.specs-items__show-all-icon {
    display: inline-block;
    height: 1.42857143em;
    margin-left: 10px;
}

@media (max-width: 991px) {
    .specs-items {
        padding: 0 13px;
        margin: 0;
    }

    .specs-items .owl-buttons {
        display: block;
    }

    .specs-items .owl-carousel .owl-prev {
        left: -13px;
    }

    .specs-items .owl-carousel .owl-next {
        right: -13px;
    }

    .specs-items .owl-carousel .owl-prev,
    .specs-items .owl-carousel .owl-next {
        top: 88px;
    }
}

@media (max-width: 767px) {
    .specs-items .owl-buttons {
        display: none;
    }

    .specs-items .specs-items__preview-tag {
        font-size: 12px;
    }

    .specs-items .slick-prev, .specs-items .slick-next {
        z-index: 1;
    }
}

@media (max-width: 576px), (min-width: 991px) and (max-width: 1280px) {
}

@media (max-width: 576px) {
    .specs-items__contacts .spec-contact__site {
        height: 50px;
        font-size: 16px;
    }

    .specs-items__footer .specs-items__show-button {
        height: 50px;
        font-size: 16px;
    }

    .specs-items__bottom-badge .specs-items__show-button {
        height: 50px;
    }

    .main-page__block-wrapper .specs-items__footer .specs-items__show-all {
        display: none;
    }

    .specs-items__contacts .spec-contact__phone-block {
        height: 50px;
    }

    .specs[data-adv-event-value="glavnaya_niz_pod_opisaniem"] .specs-items__footer .specs-items__show-all {
        display: none;
    }

    .specs-items__bottom-badge {
        display: flex;
    }

    .specs-items__contacts > .whatsapp-button:first-child {
        display: none;
    }

    .specs-items {
        padding: 0 6px;
        margin: 0;
    }

    .specs-items .specs-items__title {
        font-size: 16px;
    }

    .specs-items__contacts .spec-contact__show-phone {
        height: 50px;
        font-size: 16px;
    }

    .specs-items__contacts > .whatsapp-button {
        height: 50px;
        width: 64px;
    }

    .specs-items__contacts .spec-contact__phone {
        height: 50px;
        font-size: 16px;
    }

    .specs-items__contacts .whatsapp-button__icon {
        width: 32px;
    }

    .specs-items__spec {
        width: 283px;
    }

    .specs-items .specs-items__desc {
        margin-top: 10px;
    }

    .specs-items__description-viewport {
        height: 235px;
    }

    .specs-items_short .specs-items__thumb {
        width: 283px;
    }

    .specs-items .specs-items__thumb {
        width: 283px;
    }

    .specs-items__contacts > .whatsapp-button:last-child {
        display: block;
    }
}
