/* Страница товара — тот же визуальный язык, что в popup #modal-order на главной. */

#single-product-page {
    padding-top: 60px;
    padding-bottom: 60px;
}

#single-product-page .top-holder {
    display: flex;
    flex-direction: row;
    gap: 40px;
    background: #212121;
    border-radius: 16px;
    overflow: hidden;
}

#single-product-page .left-side {
    width: 50%;
    padding: 40px;
    display: flex;
    flex-direction: column;
}

#single-product-page .right-side {
    width: 50%;
    min-height: 480px;
}

#single-product-page .title {
    font-weight: 500;
    font-size: 32px;
    line-height: 41px;
    color: #ffffff;
}

#single-product-page .hard_holder {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 20px;
    width: fit-content;
}

#single-product-page .bed_hard {
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: #ffffff;
    white-space: nowrap;
}

#single-product-page .bed_hard::before {
    content: "Жесткость ";
    font-family: "Manrope";
    font-weight: 400;
    font-size: 12px;
    color: var(--color_text);
}

#single-product-page .bed_hard::after {
    content: " из 10";
    font-family: "Manrope";
    font-weight: 400;
    font-size: 12px;
    color: #ffffff;
}

#single-product-page .hard_visual {
    width: 160px;
    margin-top: 6px;
    background: var(--color_b2);
}

#single-product-page .hard_background {
    height: 4px;
    border: 1px solid #ffffff;
}

#single-product-page .bed_hard_text {
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: var(--color_text);
}

#single-product-page .info {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#single-product-page .row {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
}

#single-product-page .row_text {
    font-family: "Manrope";
    font-weight: 400;
    font-size: 14px;
    line-height: 135%;
    color: #9c9c9c;
    white-space: nowrap;
}

#single-product-page .dash-line {
    width: 100%;
    margin: 0 15px;
    position: relative;
}

#single-product-page .dash-line::before {
    content: "";
    display: block;
    width: 100%;
    position: absolute;
    height: 2px;
    background-image: url(../images/line.png);
}

#single-product-page .mid_holder {
    display: flex;
    flex-direction: column;
    margin-top: 30px;
}

#single-product-page .price_holder {
    display: flex;
    gap: 15px;
    align-items: center;
}

#single-product-page .new_price {
    font-weight: 500;
    font-size: 32px;
    line-height: 41px;
    color: #ffffff;
    width: fit-content;
}

#single-product-page .old_price {
    font-weight: 500;
    font-size: 24px;
    line-height: 31px;
    color: #9c9c9c;
    width: fit-content;
    text-decoration-line: line-through;
}

#single-product-page .dims-holder {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

#single-product-page .dim-label {
    font-family: "Manrope";
    font-weight: 400;
    font-size: 12px;
    line-height: 135%;
    color: var(--color_text);
    margin-bottom: 8px;
}

#single-product-page .dim-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

#single-product-page .btn-dim {
    font-weight: 400;
    font-size: 14px;
    color: #ffffff;
    width: fit-content;
    border-radius: 50px;
    padding: 8px 16px;
    border: solid #fff 2px;
    background: transparent;
    cursor: pointer;
    transition: 0.3s;
}

#single-product-page .btn-dim:hover:not(.disabled),
#single-product-page .btn-dim.active {
    color: #222222;
    background: #fff;
}

#single-product-page .btn-dim.disabled {
    opacity: 0.25;
    cursor: default;
    pointer-events: none;
}

#single-product-page .add-to-cart__holder {
    margin-top: 30px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

#single-product-page .js-add-to-cart {
    width: fit-content;
}

#single-product-page .btn_quick_order {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    font-family: "Manrope";
    font-size: 16px;
    line-height: 135%;
    color: #ffffff;
    border: 1px solid var(--color_border);
    border-radius: 50px;
    cursor: pointer;
    width: fit-content;
}

#single-product-page .btn_quick_order:hover {
    background: #ffffff;
    color: var(--color_b1_1);
}

#single-product-page .product-swiper,
#single-product-page .product-swiper .swiper-wrapper,
#single-product-page .product-swiper .swiper-slide {
    width: 100%;
    height: 100%;
}

#single-product-page .product-swiper .slide_img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#single-product-page .product-swiper .swiper-button-next,
#single-product-page .product-swiper .swiper-button-prev {
    background: #fff;
    border-radius: 50%;
    height: 33px;
    width: 33px;
}

#single-product-page .product-description {
    margin-top: 40px;
    font-family: "Manrope";
    font-size: 16px;
    line-height: 160%;
    color: #ffffff;
}

#beds-block.related-products .beds_title {
    text-align: left;
    padding-top: 60px;
}

@media (max-width: 900px) {
    #single-product-page .top-holder {
        flex-direction: column;
    }

    #single-product-page .left-side,
    #single-product-page .right-side {
        width: 100%;
    }

    #single-product-page .right-side {
        min-height: 320px;
    }
}
