/* Product detail hero — Figma 91:822 / 91:1728 / 91:1299 */
section.product {
    padding-top: 0;
    padding-bottom: 0;
    background: #fff;
}

section.product > .container {
    padding-top: 0;
}

section.product .product__title {
    margin: 0 0 24px;
    color: #313131;
    font-size: 36px;
    font-weight: 500;
    line-height: 1.2;
}

section.product .product__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

section.product .product__meta-left {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

section.product .product__sku {
    color: #313131;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
}

section.product .product__rating {
    display: flex;
    align-items: center;
    gap: 12px;
}

section.product .product__rating .stars {
    margin: 0;
    width: 85px;
    height: 17px;
}

section.product .product__rating .stars svg {
    display: block;
    width: 85px;
    height: 17px;
}

section.product .product__rating .open-reviews {
    color: #313131;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
    text-decoration: none;
}

section.product .product__rating .open-reviews:hover {
    color: #eb0000;
}

section.product .product__stock {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #313131;
    font-size: 14px;
    line-height: 1.2;
    white-space: nowrap;
}

section.product .product__stock::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #31bf29;
    flex-shrink: 0;
}

section.product .product__stock.is-oos::before {
    background: #bdbdbd;
}

section.product .product__wrap {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

section.product .product__slider {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    margin: 0;
    flex: 0 0 auto;
}

section.product .product__nav {
    position: relative;
    width: 97px;
    margin: 0;
    padding-right: 16px;
}

section.product .product__nav.hide {
    display: none;
}

section.product .product__nav::before,
section.product .product__nav::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    width: 4px;
    border-radius: 4px;
}

section.product .product__nav::after {
    height: 396px;
    background: #eee;
}

section.product .product__nav::before {
    height: 125px;
    background: #eb0000;
    z-index: 1;
}

section.product .product__nav .swiper {
    width: 77px;
    height: 396px;
}

section.product .product__nav .swiper-slide {
    width: 77px !important;
    height: 69px;
    border: 1px solid #eee;
    border-radius: 8px;
    background-color: #f9f9f9;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

section.product .product__nav .swiper-slide.swiper-slide-thumb-active {
    border-color: #eb0000 !important;
}

section.product .product__controls {
    display: none;
}

section.product .product__main {
    width: 536px;
    height: 462px;
    background: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
}

section.product .product__main .swiper-slide {
    width: 100% !important;
    height: 100%;
    border: 0;
    border-radius: 8px;
    background-color: #f9f9f9;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

section.product .product__main .swiper-slide::after {
    display: none;
}

section.product .product__info {
    width: 463px;
    flex-shrink: 0;
}

section.product .product__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 24px;
    margin-bottom: 24px;
}

section.product .product__action {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #bdbdbd;
    font-size: 14px;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
}

section.product .product__action .icon {
    width: 22px;
    height: 21px;
    fill: #bdbdbd;
}

section.product .product__action:hover,
section.product .product__action.active {
    color: #eb0000;
}

section.product .product__action:hover .icon,
section.product .product__action.active .icon {
    fill: #eb0000;
}

section.product .product__panel {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 18px;
}

section.product .product__features {
    margin: 0 0 24px;
}

section.product .product__features-title {
    margin: 0 0 24px;
    color: #313131;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.2;
}

section.product .product__features-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    margin: 0;
    padding: 0 0 6px;
}

section.product .product__features-item::before {
    display: none;
}

section.product .product__features-item + .product__features-item {
    border-top: 1px solid #eee;
    padding-top: 6px;
}

section.product .product__features-item span {
    background: transparent;
    position: static;
    color: #313131;
    font-size: 14px;
    line-height: 1.2;
    padding: 0;
}

section.product .product__features-item span:first-child {
    flex: 1 1 auto;
    min-width: 0;
    font-weight: 500;
    padding-right: 0;
}

section.product .product__features-item span:last-child {
    flex: 0 0 auto;
    font-weight: 400;
    padding-left: 0;
    text-align: left;
}

section.product .product__toggle {
    display: block;
    margin-top: 16px;
    color: #eb0000;
    font-size: 14px;
    line-height: 1.2;
    text-align: right;
    text-decoration: underline;
    cursor: pointer;
}

section.product .product__toggle:hover {
    color: #c80000;
}

section.product .product__buy {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

section.product .product__price-row {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 18px;
}

section.product .product__price {
    color: #eb0000;
    font-size: 28px;
    font-weight: 600;
    line-height: 1.2;
}

section.product .product__price-old {
    color: #bdbdbd;
    font-size: 16px;
    text-decoration: line-through;
}

section.product .product__vat {
    color: #313131;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
}

section.product .product__panel .btn,
section.product .product__panel .add-cart {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 43px;
    margin: 0;
    padding: 12px 16px;
    border: 0;
    border-radius: 6px;
    background: #eb0000;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    box-sizing: border-box;
}

section.product .product__panel .btn .icon,
section.product .product__panel .add-cart .icon {
    display: none;
}

section.product .product__panel .btn:hover,
section.product .product__panel .add-cart:hover {
    background: #c80000;
    color: #fff;
}

section.product .product__panel .item__add {
    width: 100%;
    display: none;
    flex-direction: column;
    gap: 12px;
}

section.product .product__panel .item__add.active {
    display: flex;
}

section.product .product__panel .item__add .btn-green {
    width: 100%;
    margin: 0;
    height: 43px;
}

section.product .product__panel .item__add .tq_one_click {
    display: none;
}

section.product .product__panel .product__bottom {
    display: flex;
    margin: 0;
}

section.product .product__panel .product__bottom .tq_one_click,
section.product .product__panel .product__bottom .tq_analog {
    display: none;
}

@media only screen and (max-width: 1023px) {
    section.product > .container,
    .product-delivery > .container,
    .info > .container {
        padding-left: 36px;
        padding-right: 36px;
        box-sizing: border-box;
    }

    section.product .product__title {
        font-size: 30px;
        margin-bottom: 32px;
    }

    section.product .product__wrap {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    section.product .product__slider {
        width: 100%;
        justify-content: space-between;
        margin: 0;
    }

    section.product .product__main {
        width: calc(100% - 121px);
        max-width: 526px;
        height: 426px;
        flex: 1 1 auto;
        background: transparent;
    }

    section.product .product__info {
        width: 100%;
    }

    section.product .product__actions {
        width: 100%;
    }

    section.product .product__panel {
        width: 100%;
    }
}

@media only screen and (max-width: 767px) {
    section.product > .container,
    .product-delivery > .container,
    .info > .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    section.product .product__title {
        font-size: 24px;
        margin-bottom: 32px;
    }

    section.product .product__meta {
        align-items: flex-start;
        margin-bottom: 24px;
    }

    section.product .product__meta-left {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    section.product .product__slider {
        flex-direction: column;
        gap: 24px;
        width: 100%;
    }

    section.product .product__nav {
        width: 100%;
        padding: 0;
        order: 2;
    }

    section.product .product__nav::before,
    section.product .product__nav::after {
        top: auto;
        bottom: 0;
        left: 0;
        right: auto;
        height: 4px;
    }

    section.product .product__nav::after {
        width: 100%;
        height: 4px;
    }

    section.product .product__nav::before {
        width: 37%;
        height: 4px;
    }

    section.product .product__nav .swiper {
        width: 100%;
        height: 67px;
        margin-bottom: 18px;
    }

    section.product .product__nav .swiper-slide {
        width: 75px !important;
        height: 67px;
    }

    section.product .product__main {
        order: 1;
        width: 100%;
        max-width: none;
        height: 272px;
        background: transparent;
    }

    section.product .product__info {
        width: 100%;
    }

    section.product .product__actions {
        justify-content: flex-end;
        margin-bottom: 18px;
    }

    section.product .product__panel {
        padding: 12px;
    }

    section.product .product__price {
        font-size: 24px;
    }
}

.product-delivery {
    padding: 72px 0;
    background: #fff;
}

.product-delivery__title {
    margin: 0 0 24px;
    color: #313131;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.2;
}

.product-delivery__list {
    display: flex;
    gap: 20px;
}

.product-delivery__card {
    display: flex;
    align-items: center;
    gap: 24px;
    flex: 1 1 0;
    min-width: 0;
    padding: 18px;
    background: #fff;
    border: 2px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    color: #313131;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
    box-sizing: border-box;
}

.product-delivery__card > img {
    display: block;
    flex-shrink: 0;
}

.product-delivery__icon--transport {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 35px;
    height: 36px;
    background: #eb0000;
    border-radius: 4px;
}

.product-delivery__icon--transport img {
    display: block;
}

@media only screen and (max-width: 1023px) {
    .product-delivery__card {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 12px;
        padding: 20px;
        min-height: 107px;
        font-size: 16px;
    }
}

@media only screen and (max-width: 767px) {
    .product-delivery__list {
        flex-direction: column;
    }

    .product-delivery__card {
        width: 100%;
        padding: 12px;
        min-height: 95px;
    }
}

.info {
    background: #fff;
    padding-bottom: 48px;
}

.info .tabs {
    justify-content: flex-start;
    gap: 36px;
    border: 0;
    box-shadow: inset 0 -2px 0 #eee;
    margin-bottom: 32px;
    background: transparent;
}

.info .tabs::before,
.info .tabs a.active::before {
    content: none;
    display: none;
}

.info .tabs .bar {
    display: block;
    bottom: 0;
    height: 2px;
    z-index: 1;
    background: #eb0000;
}

.info .tabs a {
    padding: 0 0 12px;
    color: #313131;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.2;
    margin: 0;
}

.info .tab .h3,
.product-about__heading {
    margin: 0 0 12px;
    color: #313131;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
}

.product-about {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 40px;
    align-items: start;
}

.product-about__block + .product-about__block {
    margin-top: 28px;
}

.product-about__text {
    color: #313131;
    font-size: 16px;
    line-height: 1.45;
}

.product-about__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.product-about__list li {
    position: relative;
    padding-left: 14px;
    color: #313131;
    font-size: 16px;
    line-height: 1.45;
}

.product-about__list li + li {
    margin-top: 6px;
}

.product-about__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #313131;
}

.product-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    max-width: 360px;
    padding: 20px;
    border: 2px solid #eee;
    border-radius: 8px;
}

.product-brand__logo {
    display: block;
    max-width: 124px;
    max-height: 24px;
    object-fit: contain;
}

.product-brand__name {
    color: #eb0000;
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
}

.product-brand__all {
    color: #eb0000;
    font-size: 14px;
    line-height: 1.2;
    text-decoration: none;
}

.product-brand__line,
.product-brand__warranty {
    color: #313131;
    font-size: 14px;
    line-height: 1.3;
}

.product-brand__warranty {
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-docs {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.product-docs a {
    color: #eb0000;
    font-size: 16px;
    line-height: 1.2;
    text-decoration: none;
}

.product-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.product-specs__row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    color: #313131;
    font-size: 14px;
    line-height: 1.3;
}

.product-specs__name {
    flex: 1 1 auto;
}

.product-specs__value {
    flex: 0 1 46%;
    text-align: right;
}

.product-feedback {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 20px;
    align-items: start;
}

.product-feedback--empty {
    grid-template-columns: minmax(0, 1fr) 360px;
}

.product-empty__meta,
.product-review__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #313131;
    font-size: 14px;
}

.product-empty__title,
.product-review__name,
.product-question__name,
.product-panel__count {
    color: #313131;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
}

.product-empty__title {
    margin-top: 16px;
}

.product-empty__text,
.product-review__text,
.product-question__text,
.product-panel__hint,
.product-question__date {
    color: #313131;
    font-size: 14px;
    line-height: 1.45;
}

.product-empty__text {
    margin: 8px 0 20px;
}

.product-empty .btn {
    width: 320px;
    max-width: 100%;
    height: 43px;
    margin: 0;
}

.product-panel .btn {
    width: 100%;
    height: 43px;
    margin: 0;
}

.product-review,
.product-question {
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.product-review__user,
.product-question__top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.product-review__photo,
.product-question__photo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f3f3f3 center / cover no-repeat;
    flex-shrink: 0;
}

.product-question__photo--staff {
    background: #eb0000;
}

.product-review__answer,
.product-answer {
    margin-top: 12px;
}

.product-answer--staff .product-question__name,
.product-answer--staff .product-question__text,
.product-review__answer,
.product-review__answer-name {
    color: #eb0000;
}

.product-question__controls {
    display: flex;
    gap: 16px;
    margin-top: 8px;
}

.product-question__controls a,
.product-answer .faq__toggle {
    color: #eb0000;
    font-size: 14px;
    text-decoration: none;
}

.product-panel {
    padding: 20px;
    border: 2px solid #eee;
    border-radius: 8px;
}

.product-panel__summary {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.product-panel__score {
    color: #313131;
    font-size: 16px;
    font-weight: 600;
}

.product-panel__hint {
    margin-bottom: 16px;
}

.product-form {
    display: none;
    margin-top: 28px;
}

.product-form.is-open {
    display: block;
}

.info .faq__form.product-form.is-open {
    display: block;
}

.product-question .faq__form,
.product-question .faq__dropdown {
    display: none;
}

@media only screen and (max-width: 1023px) {
    .info .tabs a {
        font-size: 22px;
    }
}

@media only screen and (max-width: 1023px) {
    .info .tabs {
        overflow-x: auto;
        overflow-y: hidden;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .info .tabs::-webkit-scrollbar {
        display: none;
        height: 0;
        width: 0;
    }
}

@media only screen and (max-width: 767px) {
    .info .tabs {
        gap: 18px;
    }

    .info .tabs a {
        flex-shrink: 0;
        font-size: 18px;
        white-space: nowrap;
    }

    .product-about,
    .product-specs,
    .product-feedback,
    .product-feedback--empty {
        grid-template-columns: 1fr;
    }
}
