/* Quantity */

.quantitySelector{
    max-width: 114px;
    background-color: #fff;
    border-radius: var(--border-radius-little);
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.quantitySelector__btn{
    flex: none;
    align-self: stretch;
    width: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
}
.quantitySelector__btn:hover{
    cursor: pointer;
    color: var(--accent-hover);
}
.quantitySelector__btn svg{
    display: block;
    fill: currentColor;
}

.quantitySelector__input{
    display: block;
    width: 42px;
    flex: none;
    border: none;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: textfield;
    text-align: center;
    font-size: 18px;
    font-weight: 500;
}



.detail-head {
    padding-top: 30px;
    margin-bottom: 60px;
}

.detail-head__content {
    display: flex;
    gap: 25px;
}

.detail-head__images {
    flex: 0 0 590px;
    display: flex;
    gap: 30px;

}
.detail-head__images:has(.label) {
    padding-top: 50px;
    position: relative;
}
.detail-head__labels{
    position: absolute;
    top: 0;
    left: 0;
}

.detail-head__images-thumbs {
    align-self: flex-start;
    flex: 0 0 68px;
    padding: 33px 0;
    position: relative;
}
.detail-image-thumb{
    padding: 3px;
}
.detail-image-thumb img{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: scale-down;
    object-position: center;
}

.detail-head__images-thumbs .slider-nav-prev,
.detail-head__images-thumbs .slider-nav-next {
    width: 100%;
    height: 33px;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    border-radius: 0;
    box-shadow: none;
}

.detail-head__images-thumbs .slider-nav-next {
    bottom: 0;
    top: auto;
}

.detail-head__images-main {
    flex-grow: 1;
    max-height: 520px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.detail-head__images-main-slider {
    max-height: 100%;
}

.detail-head__info {
    flex-grow: 1;
}

.detail-head__reviews {
    color: #999;
    padding-left: 20px;
    position: relative;
}

.detail-head__reviews::before {
    display: block;
    content: "";
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #999;
    position: absolute;
    top: 50%;
    left: 7px;
    transform: translateY(-50%);
}

.detail-head__meta {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

.detail-head__characteristics {
    margin-bottom: 40px;
}

.detail-head__characteristics-text {
    margin: 20px 0;
    color: #999;
    font-weight: 500;
}

.detail-head__characteristics-text p {
    margin-bottom: 10px;
}

.detail-head__characteristics-text strong {
    color: var(--text-main);
}

.detail-head__right {
    flex: 0 0 385px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.item_wrapper {
    margin-top: 25px;
    font-size: 14px;
}

.list_values_wrapper {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.list_values_wrapper li {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 54px;
    height: 54px;
    padding: 4px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-little);
    background: #fff;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
}

.list_values_wrapper li.active {
    border-color: var(--accent);
}

.detail-sku {
    font-size: 14px;
    color: #999;
    margin-left: 30px;
}

.detail-sku strong {
    color: var(--text-main);
}

.detail-images-thumbs-slider {
    max-height: 453px;
}

.detail-image-thumb {
    display: flex;
    width: 68px;
    height: 68px;
    justify-content: center;
    align-items: center;
    background: #fff;
    border-radius: var(--border-radius-little);
    border: 1px solid transparent;
    position: relative;
}

.detail-image-thumb.active {
    border-color: var(--accent);
}

.detail-image-thumb img {
    border-radius: var(--border-radius-little);
}

.detail-image-thumb__more {
    display: flex;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.52);
    color: #fff;
    justify-content: center;
    align-items: center;
    font-size: 36px;
    font-weight: 600;
    z-index: 2;
}

.detail-title {
    line-height: 35px;
    margin-bottom: 20px;
}

.detail-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.detail-stock {
    display: inline-block;
    background: var(--bg-success);
    color: var(--btn-text);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    padding: 0 10px;
    border-radius: var(--border-radius-little);
    position: absolute;
    left: 0;
    top: -41px;
}

.detail-cart {
    background: var(--bg-gray);
    border-radius: var(--border-radius);
    padding: 20px;
    margin-bottom: 5px;
}

.detail-cart__toolbar {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.detail-cart__old-price {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #999;
    margin-bottom: 10px;
}

.detail-cart__old-price-value {
    text-decoration: line-through;
}

.detail-cart__price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 20px;
    line-height: 1;
}

.detail-cart__price-value {
    font-size: 36px;
    font-weight: 700;
}

.detail-cart__buttons .btn {
    width: 100%;
    margin-top: 10px;
}

.detail-cart__buttons .btn:first-child {
    margin-top: 0;
}

.detail-head-alt .detail-head__images {
    max-width: calc(100% - 505px);
    flex: 0 0 calc(100% - 505px);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.detail-head-alt .detail-head__images-main {
    display: flex;
    gap: 10px;
    flex-grow: 0;
    max-height: unset;
}

.detail-head-alt .detail-head__images-main img {
    max-height: 752px;
}

.detail-head-alt .detail-head__images-thumbs {
    padding: 0;
    flex: 0 0 auto;
    max-height: 275px;
    align-self: unset;
}

.detail-head-alt .detail-image-thumb {
    width: auto;
    height: auto;
    max-height: 275px;
    border-radius: 0;
    border: none;
}

.detail-head-alt .detail-image-thumb img {
    border-radius: 0;
}

.detail-head-alt .detail-head__right {
    flex: 0 0 480px;
}

.detail-head-alt .detail-title {
    margin-bottom: 10px;
}

.detail-head-alt .detail-head__reviews {
    font-size: 14px;
}

.detail-head-alt .detail-head__meta {
    margin-bottom: 15px;
}

.detail-head-alt .detail-head__characteristics {
    font-size: 14px;
    margin: 25px 0;
}

.detail-head-alt .detail-head__characteristics-text {
    margin: 15px 0;
}

.detail-head-alt .detail-head__description {
    font-size: 14px;
}

.detail-head-alt .detail-head__description p {
    margin-bottom: 12px;
}

.detail-head-alt .detail-cart__toolbar {
    margin: 0 0 0 auto;
}

.detail-head-alt .detail-cart__price {
    justify-content: flex-start;
}

.detail-head-alt .detail-cart__buttons {
    margin-top: 25px;
}

.detail-head-alt .detail-benefits {
    margin-top: 15px;
    font-size: 14px;
    flex-grow: 0;
}

.detail-head-alt .detail-benefit {
    background: none;
    padding: 4px 0;
    min-height: unset;
}

.detail-head-alt .detail-benefit:last-child {
    min-height: unset;
}

.detail-head-alt .detail-benefit svg {
    max-height: 18px;
}

.detail-table-sizes {
    margin-top: 10px;
    font-size: 14px;
}

@media (max-width: 1529px) {
    .detail-head__right {
        flex: 0 0 300px;
    }

    .detail-cart {
        padding: 10px;
    }

    .detail-cart__toolbar {
        font-size: 14px;
    }

    .detail-cart__price-value {
        font-size: 30px;
    }

    .detail-cart__qty {
        font-size: 14px;
    }

    .detail-benefit {
        padding: 10px;
    }

    .detail-head-alt .detail-head__right {
        flex: 0 0 400px;
    }

    .detail-head-alt .detail-head__images {
        max-width: calc(100% - 425px);
    }
}
@media (max-width: 1399px) {
    .detail-head__images {
        flex: 0 0 500px;
    }

    .detail-head__info {
        display: flex;
        flex-direction: column;
    }

    .detail-head__meta {
        margin-bottom: 20px;
    }

    .detail-head__characteristics {
        margin-bottom: 20px;
    }

    .detail-head__characteristics-text {
        font-size: 14px;
    }

    .all-brand-items {
        margin-top: auto;
    }

    .detail-head-alt .detail-head__images-main img {
        max-height: 600px;
    }

    .detail-head-alt .detail-head__characteristics {
        display: none;
    }

    .detail-head-alt .detail-head__description {
        margin-top: 30px;
    }
}
@media (max-width: 1299px) {
    .detail-head__images {
        flex: 0 0 450px;
    }
}

@media (max-width: 1199px) {
    .detail-head {
        padding-top: 40px;
    }

    .detail-head__content {
        flex-wrap: wrap;
        gap: 30px;
        position: relative;
    }

    .detail-head__images {
        flex: 0 0 calc(50% - 15px);
        max-width: calc(50% - 15px);
    }

    .detail-head__info {
        flex: 0 0 calc(50% - 15px);
    }

    .detail-head__right {
        flex: 0 0 100%;
        flex-direction: row;
        gap: 30px;
        position: static;
    }

    .detail-cart {
        flex: 0 0 385px;
        order: 2;
    }

    .detail-benefit {
        flex-grow: 1;
    }

    .detail-stock {
        left: 50%;
        margin-left: 15px;
        top: -40px;
    }

    .detail-head-alt .detail-head__images {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .detail-head-alt .detail-head__right {
        flex: 0 0 100%;
        position: relative;
        margin-top: 20px;
    }

    .detail-head-alt .detail-head__characteristics {
        display: block;
    }

    .detail-head-alt .detail-stock {
        left: 0;
        margin: 0;
        top: -30px;
    }

    .detail-cart-wrapper {
        flex: 0 0 450px;
    }
}

@media (max-width: 992px) {
    .detail-head__content {
        gap: 20px;
    }

    .detail-head__images {
        flex: 0 0 calc(50% - 10px);
        max-width: calc(50% - 10px);
        flex-wrap: wrap;
        gap: 20px;
    }

    .detail-head__images-main {
        max-height: 400px;
        flex: 0 0 100%;
    }

    .detail-head__images-main img {
        max-height: 100%;
    }

    .detail-head__images-thumbs {
        flex: 0 0 100%;
        max-width: 100%;
        order: 2;
        padding: 0 33px;
    }

    .detail-head__images-thumbs .slider-nav-prev {
        height: 100%;
        width: 33px;
        left: 0;
        transform: none;
    }

    .detail-head__images-thumbs .slider-nav-prev svg {
        transform: rotate(-90deg);
    }

    .detail-head__images-thumbs .slider-nav-next {
        height: 100%;
        width: 33px;
        left: auto;
        right: 0;
        transform: none;
    }

    .detail-head__images-thumbs .slider-nav-next svg {
        transform: rotate(-90deg);
    }

    .detail-head__info {
        flex: 0 0 calc(50% - 10px);
    }

    .detail-head__right {
        gap: 20px;
    }

    .detail-head__meta {
        margin-bottom: 10px;
    }

    .detail-head__characteristics-text {
        margin: 10px 0;
    }

    .detail-cart {
        flex: 0 0 calc(50% - 10px);
    }

    .detail-title {
        line-height: 1.2;
        margin-bottom: 10px;
    }

    .detail-title h1 {
        font-size: 24px;
    }

    .detail-image-thumb {
        margin: 0 auto;
        width: 60px;
        height: 60px;
    }

    .detail-description {
        padding-bottom: 30px;
    }

    .detail-characteristics {
        padding-bottom: 30px;
    }

    .detail-characteristics h2, .detail-characteristics .h2 {
        margin-bottom: 10px;
    }

    .detail-reviews {
        padding-bottom: 30px;
    }

    .detail-payment {
        padding-bottom: 30px;
    }

    .detail-delivery {
        padding-bottom: 30px;
    }

    .detail-questions {
        padding: 30px 0;
    }

    .detail-same {
        padding-top: 30px;
    }

    .detail-head-alt .detail-head__images-main {
        flex: 0 0 auto;
    }

    .detail-head-alt .detail-cart-wrapper {
        flex: 0 0 350px;
    }

    .detail-head-alt .detail-head__meta {
        flex-wrap: wrap;
    }

    .detail-head-alt .detail-rating {
        flex: 0 0 60px;
    }

    .detail-head-alt .detail-head__reviews {
        flex: 0 0 calc(100% - 80px);
    }

    .detail-head-alt .detail-sku {
        margin-left: 0;
    }
}

@media (max-width: 767px) {
    .detail-head__images {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 20px;
    }

    .detail-head__info {
        flex: 0 0 100%;
    }

    .detail-head__characteristics {
        display: none;
    }

    .detail-stock {
        left: 15px;
        margin-left: 0;
        top: -30px;
    }

    .page-sections-anchors__list {
        flex-wrap: wrap;
        column-gap: 10px;
        row-gap: 5px;
        border: none;
        justify-content: flex-start;
    }

    .page-sections-anchors__list li {
        flex: 0 0 calc((100% - 20px) / 3);
        text-align: center;
        padding: 5px 10px;
        background: var(--bg-gray);
        border-radius: var(--border-radius-little);
    }

    .page-sections-anchors__list li.active {
        background: var(--accent);
        color: #fff;
    }

    .page-sections-anchors__list li.active::after {
        display: none;
    }

    .accordion-item__title {
        padding: 15px 35px 15px 15px;
    }

    .accordion-item__title::before, .accordion-item__title::after {
        right: 15px;
    }

    .accordion-item__answer {
        padding: 0 15px 15px;
    }

    .detail-head-alt .detail-head__right {
        flex-wrap: wrap;
    }

    .detail-head-alt .detail-cart-wrapper {
        flex: 0 0 100%;
    }

    .detail-head-alt .detail-info {
        flex: 0 0 100%;
    }

    .detail-head-alt .detail-head__images-main img {
        max-height: 400px;
    }

    .detail-head-alt .detail-head__images-thumbs {
        display: none;
    }

    .detail-head-alt .detail-head__right {
        margin-top: 0;
    }

    .detail-head-alt .detail-cart__buttons {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .detail-head-alt .detail-cart__buttons .btn {
        margin: 0;
    }
}

@media (max-width: 599px) {
    .detail-head {
        margin-bottom: 30px;
    }

    .detail-head__images-main {
        max-height: 300px;
    }

    .detail-head__right {
        flex-wrap: wrap;
    }

    .detail-cart {
        flex: 0 0 100%;
    }

    .detail-benefits {
        flex: 0 0 100%;
        order: 2;
    }

    .detail-reviews__head {
        flex-wrap: wrap;
        gap: 20px;
    }

    .detail-reviews__head .section-title {
        flex: 0 0 100%;
    }

    .detail-reviews__head .btn {
        margin: 0;
    }

    .page-sections-anchors__list {
        font-size: 13px;
    }

    .detail-head-alt .detail-cart__buttons .btn {
        font-size: 14px;
        padding: 10px 15px;
    }
}

@media (max-width: 479px) {
    .detail-head__images-main {
        max-height: 200px;
    }

    .detail-reviews__head {
        flex-wrap: wrap;
    }

    .detail-reviews__head .section-title {
        flex: 0 0 100%;
        margin-bottom: 10px;
    }

    .detail-reviews__head .btn {
        margin: 0;
    }

    .detail-characteristics table {
        font-size: 12px;
    }

    .detail-characteristics table td, .detail-characteristics table th {
        padding-top: 10px;
    }

    .detail-head-alt .detail-head__images-main img {
        max-height: 300px;
    }

    .detail-head-alt .detail-cart__buttons {
        flex-wrap: wrap;
    }

    .detail-head-alt .detail-cart__buttons .btn {
        flex: 0 0 100%;
    }
}