/* ============================================================================
   Product page — ported visually from stanoq.ru (unishop2 `product-page__*`),
   rebuilt as clean BEM in wuben's design language. No framework, no jQuery.
   Behaviour lives in components/product.js.
   ========================================================================== */

.product-page {
    /* Full-bleed section: clip the horizontal axis so 100vw landings inside the
       description can break out edge-to-edge without a horizontal page scroll
       (overflow-y stays visible — clip is per-axis, not coerced). */
    overflow-x: clip;
    /* Local design tokens mapped from the stanoq palette onto wuben's brand. */
    --pp-green: var(--wb-brand-dark);
    --pp-green-2: var(--wb-brand);
    --pp-pastel: var(--wb-accent);
    --pp-pastel-soft: #eef4ef;
    --pp-tint: #e7f0ec;
    --pp-red: #c7252d;
    --pp-border: #dee1e2;
    --pp-gray: #5b6770;
    --pp-white: #fff;
    --pp-ink: #171b1f;
    --pp-font-head: var(--wb-font-display);
    --pp-font-body: var(--wb-font-base);
    /* Sticky offsets: the floating live header bottom sits at ~74px, +12px gap. */
    --pp-sticky-top: 86px;
    --pp-tabbar-h: 64px;

    padding-bottom: 0;
}

/* ── Title ───────────────────────────────────────────────────────────────── */
.product-page__title {
    --product-title-shift-negative: 0px;
    --product-title-duration: 10s;
    margin: 12px 0 12px;
    font-family: var(--pp-font-head);
    letter-spacing: 1px;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.05;
    text-transform: uppercase;
    color: var(--pp-green);
    white-space: nowrap;
    overflow: hidden;
}

.product-page__title-text {
    display: inline-block;
    min-width: 100%;
    width: max-content;
    white-space: nowrap;
    will-change: transform;
}

.product-page__title--scroll .product-page__title-text {
    animation: product-title-marquee var(--product-title-duration) ease-in-out infinite alternate;
}

.product-page__title--scroll:hover .product-page__title-text {
    animation-play-state: paused;
}

@keyframes product-title-marquee {
    0%,
    18% {
        transform: translateX(0);
    }
    82%,
    100% {
        transform: translateX(var(--product-title-shift-negative));
    }
}

@media (prefers-reduced-motion: reduce) {
    .product-page__title--scroll .product-page__title-text {
        animation: none;
        transform: translateX(0);
    }
}

@media (max-width: 1240px) {
    .product-page__title {
        margin: 12px 0;
        font-size: 20px;
    }

    /* flush under the fixed mobile header (~56px), no gap */
    .product-page {
        --pp-sticky-top: 56px;
    }
}

/* ── Tab buttons ─────────────────────────────────────────────────────────── */
/* Floating tab bar across all breakpoints: pins just under the header (offset
   per breakpoint via --pp-sticky-top) and gets a backdrop once stuck. */
.product-page__tab-list-wrapper {
    position: sticky;
    top: var(--pp-sticky-top);
    z-index: 60;
    max-width: 100%;
    transition: background-color .3s ease, box-shadow .3s ease;
}

/* Right-edge fade that hints the tab strip is horizontally scrollable: shown only
   while there is more to the right (toggled by JS), gently "breathing" to catch
   the eye, and cleared on hover/focus or once scrolled to the end. */
.product-page__tab-list-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    /* cover only the button row, never the horizontal scrollbar below it */
    height: 36px;
    width: 48px;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), var(--pp-white));
    opacity: 0;
    pointer-events: none;
    z-index: 2;
    transform-origin: right center;
    transition: opacity .3s ease;
}

.product-page__tab-list-wrapper--scrollable::after {
    opacity: 1;
    animation: pp-tab-scroll-hint 1.8s ease-in-out infinite;
}

.product-page__tab-list-wrapper--scrollable:hover::after,
.product-page__tab-list-wrapper--scrollable:focus-within::after {
    opacity: 0;
    animation: none;
}

@keyframes pp-tab-scroll-hint {
    0%, 100% { transform: scaleX(.75); opacity: .8; }
    50%      { transform: scaleX(1.15); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .product-page__tab-list-wrapper--scrollable::after { animation: none; }
}

.product-page__tab-sentinel {
    height: 0;
}

/* Phone/tablet: full page-width tab bar with equal side padding (declared after
   the base rule so it wins the cascade over max-width: 100%). */
@media (max-width: 1240px) {
    .product-page__tab-list-wrapper {
        width: 100vw;
        max-width: none;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        padding-left: 20px;
        padding-right: 20px;
    }

    /* Once it pins beneath the header the "stuck" state gives it a solid backdrop
       (so content scrolling underneath doesn't show through) and slides/fades in. */
    .product-page__tab-list-wrapper--stuck {
        background: var(--pp-white);
        box-shadow: 0 6px 16px rgba(0, 72, 74, .08);
        animation: pp-tabbar-in .32s ease both;
    }
}

@keyframes pp-tabbar-in {
    from {
        opacity: .35;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Honour reduced-motion: keep the pinned look, drop the entrance animation. */
@media (prefers-reduced-motion: reduce) {
    .product-page__tab-list-wrapper--stuck {
        animation: none;
    }
}

.product-page__tab-list {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 6px;
    padding-top: 6px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    /* Allow the browser to handle BOTH axes natively on touch: horizontal pans
       scroll the strip (iOS momentum), vertical pans scroll the page. JS drag is
       used only for mouse (see initTabListDrag). pan-y alone broke finger-swipe
       on iOS by disabling native horizontal scrolling. */
    touch-action: pan-x pan-y;
    cursor: grab;
    user-select: none;
    scrollbar-width: thin;
    scrollbar-color: var(--pp-green-2) transparent;
}

.product-page__tab-list.is-grabbing {
    cursor: grabbing;
    scroll-behavior: auto;
}

/* custom 5px horizontal scrollbar */
.product-page__tab-list::-webkit-scrollbar {
    height: 5px;
}

.product-page__tab-list::-webkit-scrollbar-track {
    background: transparent;
}

.product-page__tab-list::-webkit-scrollbar-thumb {
    background: var(--pp-green-2);
    border-radius: 2px;
}

.product-page__tab-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 180px;
    background: #fff;
    height: 36px;
    padding: 0 24px;
    border: 1px solid var(--pp-border);
    border-radius: 4px;
    white-space: nowrap;
    font-family: var(--pp-font-head);
    letter-spacing: 1px;
    font-size: 13px;
    font-weight: 500;
    color: var(--pp-green);
    cursor: pointer;
    transition: background .25s ease, border-color .25s ease;
}

.product-page__tab-btn:hover,
.product-page__tab-btn--active {
    background: var(--pp-tint);
    border-color: var(--pp-tint);
}

.product-page__tab-btn b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 10px;
    background: var(--pp-tint);
    font-family: var(--pp-font-body);
    font-size: 10px;
    font-weight: 600;
    color: var(--pp-green);
}

.product-page__tab-btn--active b {
    background: var(--pp-white);
}

/* ── Info tabs grid: галерея | колонка покупки ────────────────────────────
   Характеристики больше не отдельная третья колонка — они живут на своей
   вкладке и занимают место галереи. */
.product-page__info-tabs {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 52px;
    margin: 20px 0;
}

@media (max-width: 1240px) {
    .product-page__info-tabs {
        grid-template-columns: 100%;
        gap: 33px;
    }
}

.product-page__info-tabs .product-page__tab {
    display: none;
}

.product-page__info-tabs .product-page__tab--visible {
    display: block;
}

/* ── Gallery ─────────────────────────────────────────────────────────────── */
.product-page__gallery {
    position: relative;
    grid-column: 1;
    max-width: 530px;
}

@media (max-width: 1534px) {
    .product-page__gallery {
        margin: 0 auto;
    }
}

@media (max-width: 1240px) {
    .product-page__gallery {
        max-width: 100%;
    }
}

.product-page__stage {
    position: relative;
    margin-bottom: 12px;
    width: 100%;
    height: 397px;
    padding: 16px;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    place-items: center;
    border-radius: 8px;
    background: var(--pp-white);
    overflow: hidden;
    cursor: grab;
    touch-action: pan-y;
}

.product-page__stage.is-grabbing {
    cursor: grabbing;
}

.product-page__slide {
    grid-area: 1 / 1;
    min-width: 0;
    min-height: 0;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 0;
    visibility: hidden;
    transition: opacity .28s ease;
    cursor: zoom-in;
    -webkit-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
}

.product-page__slide--active {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 1240px) {
    .product-page__stage {
        height: 380px;
    }
}

@media (max-width: 650px) {
    .product-page__stage {
        height: 280px;
        padding: 12px;
    }
}

/* thumbnails */
.product-page__thumbs {
    position: relative;
}

.product-page__thumbs-track {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    /* auto so JS-driven scrolling (custom hover easing, wheel, drag) is instant;
       the prev/next arrows still animate via scrollBy({behavior:'smooth'}). */
    scroll-behavior: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
    /* default touch-action: horizontal swipe scrolls the rail natively (with
       momentum), vertical swipe still scrolls the page. Mouse drag is JS-driven. */
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
}

.product-page__thumbs-track::-webkit-scrollbar {
    display: none;
}

.product-page__thumbs-track.is-grabbing {
    cursor: grabbing;
    scroll-behavior: auto;
    scroll-snap-type: none;
}

.product-page__thumb {
    /* size relative to the track: 5 visible per row with the 10px gaps */
    flex: 0 0 calc((100% - 40px) / 5);
    box-sizing: border-box;
    aspect-ratio: 1 / 1;
    padding: 8px;
    border: 1px solid var(--pp-border);
    border-radius: 8px;
    background: var(--pp-white);
    cursor: pointer;
    transition: border-color .15s ease, box-shadow .15s ease;
    scroll-snap-align: start;
}

.product-page__thumb:hover {
    border-color: var(--pp-green);
}

.product-page__thumb--active {
    border-color: var(--pp-green);
    box-shadow: inset 0 0 0 1px var(--pp-green);
}

.product-page__thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
    -webkit-user-drag: none;
}

/* Tablet/phone: fixed thumbnails (no scaling) in a free-scrolling rail.
   Tablet caps at 74×74, phone at 60×60; the rail swipes horizontally. */
@media (max-width: 1240px) {
    .product-page__thumb {
        flex: 0 0 74px;
        width: 74px;
        height: 74px;
    }
}

@media (max-width: 650px) {
    .product-page__thumbs-track {
        gap: 8px;
    }
    .product-page__thumb {
        flex: 0 0 60px;
        width: 60px;
        height: 60px;
        padding: 6px;
    }
}

.product-page__thumbs-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid var(--pp-border);
    border-radius: 4px;
    background: var(--pp-white);
    color: var(--pp-green);
    cursor: pointer;
    z-index: 2;
    transition: opacity .15s ease, border-color .15s ease;
}

.product-page__thumbs-arrow:hover {
    border-color: var(--pp-green);
}

.product-page__thumbs-arrow--prev {
    left: -8px;
}

.product-page__thumbs-arrow--next {
    right: -8px;
}

.product-page__thumbs-arrow[hidden] {
    display: none;
}

.product-page__thumbs-arrow:disabled {
    opacity: .35;
    cursor: default;
}

@media (max-width: 1240px) {
    .product-page__thumbs-arrow {
        display: none;
    }
}

/* gallery action buttons under the slider */
.product-page__gallery-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
}

.product-page__gallery-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1 1 0;
    min-height: 48px;
    padding: 12px 18px;
    border: 1px solid var(--pp-border);
    border-radius: 8px;
    background: var(--pp-white);
    color: var(--pp-green);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .02em;
    cursor: pointer;
    transition: border-color .15s ease, color .15s ease, background-color .15s ease;
}

.product-page__gallery-btn:hover {
    border-color: var(--pp-green);
    background: var(--pp-green);
    color: var(--pp-white);
}

.product-page__gallery-btn--presentation {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: var(--pp-green);
    border: 1px solid var(--pp-green);
    color: var(--pp-white);
    /* мягкая пульсация тени — привлекает внимание к кнопке */
    animation: pp-presentation-pulse 2.6s ease-in-out infinite;
}

/* периодический «блик», пробегающий по кнопке */
.product-page__gallery-btn--presentation::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -60%;
    width: 40%;
    background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: skewX(-20deg);
    pointer-events: none;
    animation: pp-presentation-shine 2.6s ease-in-out infinite;
}

.product-page__gallery-btn--presentation:hover {
    opacity: .9;
    animation: none;
    box-shadow: none;
}

.product-page__gallery-btn--presentation:hover::after {
    animation: none;
    opacity: 0;
}

@keyframes pp-presentation-pulse {
    0% { box-shadow: 0 0 0 0 rgba(28, 32, 35, 0.45); }
    45% { box-shadow: 0 0 0 9px rgba(28, 32, 35, 0); }
    100% { box-shadow: 0 0 0 0 rgba(28, 32, 35, 0); }
}

@keyframes pp-presentation-shine {
    0% { left: -60%; }
    28% { left: 120%; }
    100% { left: 120%; }
}

@media (prefers-reduced-motion: reduce) {
    .product-page__gallery-btn--presentation,
    .product-page__gallery-btn--presentation::after {
        animation: none;
    }
}

.product-page__gallery-btn-icon {
    flex: 0 0 auto;
}

/* promo badges (reused card stickers, stacked top-left over the stage) */
.product-page__promo {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ── Techdata (short attributes list) ────────────────────────────────────── */
.product-page__techdata {
    position: relative;
    grid-column: 1;
}

/* In the 2-column mid range (1241–1534px) drop the specs preview on the
   Description tab and its row, leaving gallery (left) + purchase panel (right).
   The specs stay reachable via the Характеристики tab. */
@media (min-width: 1241px) and (max-width: 1534px) {
    .product-page[data-product-active-tab="1"] .product-page__techdata {
        display: none;
    }
}

.product-page__techdata-title {
    font-family: var(--pp-font-body);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--pp-green);
}

.product-page__techdata-scroll {
    position: relative;
    margin-top: 24px;
}

/* white fade hint at the bottom — only while there is more to scroll to,
   so the last row is never visually clipped once you reach the end. */
.product-page__techdata-scroll::after {
    content: "";
    position: absolute;
    left: 0;
    /* stop before the 12px scrollbar gutter so the green scrollbar stays visible */
    right: 12px;
    bottom: 0;
    height: 44px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, var(--pp-white) 100%);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
}

.product-page__techdata-scroll--faded::after {
    opacity: 1;
}

/* Desktop (≥1241): scrollable block with a slim green scrollbar (as before). */
.product-page__techdata-list {
    position: relative;
    max-height: 520px;
    overflow: auto;
    padding-right: 12px;
    scrollbar-width: thin;
    scrollbar-color: var(--pp-green-2) transparent;
}

.product-page__techdata-list::-webkit-scrollbar {
    width: 4px;
}

.product-page__techdata-list::-webkit-scrollbar-track {
    background: transparent;
}

.product-page__techdata-list::-webkit-scrollbar-thumb {
    min-height: 140px;
    border-radius: 2px;
    background: var(--pp-green-2);
}

.product-page__techdata-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 8px;
    min-height: 29px;
}

.product-page__techdata-name,
.product-page__techdata-value {
    font-family: var(--pp-font-body);
    font-size: 14px;
    color: var(--pp-green);
}

.product-page__techdata-value {
    font-weight: 600;
}

.product-page__techdata-dots {
    height: 1px;
    border-bottom: 1px dotted var(--pp-border);
}

.product-page__techdata-more {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 40px;
    margin-top: 16px;
    border: 1px solid var(--pp-border);
    border-radius: 4px;
    background: transparent;
    font-family: var(--pp-font-head);
    letter-spacing: 1px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--pp-ink);
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease;
}

.product-page__techdata-more:hover {
    background: var(--pp-pastel-soft);
    border-color: var(--pp-green);
}

/* Tablet/phone (≤1240): collapse to the first 3 rows; the "Показать ещё" button
   animates max-height to the full list. Desktop keeps the scrollable block above. */
@media (max-width: 1240px) {
    .product-page__techdata-list {
        max-height: var(--techdata-collapsed-h, 96px);
        overflow: hidden;
    }

    /* transition enabled by JS after the first clamp — avoids an animated
       collapse flashing on page load */
    .product-page__techdata-list--ready {
        transition: max-height .45s cubic-bezier(.16, 1, .3, 1);
    }

    .product-page__techdata-list--expanded {
        max-height: var(--techdata-full-h, 4000px);
    }

    /* shown by JS only when the list actually has more than 3 rows */
    .product-page__techdata-more--show {
        display: flex;
    }
}

/* ── Actions panel (price / cart / meta) ─────────────────────────────────── */
.product-page__actions {
    grid-column: 2;
    padding: 30px;
    border-radius: 6px;
    box-shadow: 0 0 5px rgba(0, 72, 74, .15);
    background: var(--pp-white);
}

@media (max-width: 1240px) {
    .product-page__actions {
        grid-column: 1;
    }
}

@media (max-width: 650px) {
    .product-page__actions {
        padding: 20px;
    }
}

.product-page__meta-top {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
}

.product-page__meta-top p {
    margin: 0;
    font-family: var(--pp-font-body);
    font-size: 14px;
    color: var(--pp-green);
}

.product-page__meta-top b {
    font-weight: 600;
}

.product-page__price-row {
    display: grid;
    grid-template-columns: 1fr 140px;
    align-items: flex-end;
    gap: 10px;
    margin: 27px 0;
}

@media (max-width: 440px) {
    .product-page__price-row {
        grid-template-columns: 100%;
        gap: 20px;
    }
}

.product-page__price {
    display: grid;
    gap: 10px;
    justify-content: start;
}

.product-page__price-old {
    position: relative;
    width: fit-content;
    font-family: var(--pp-font-body);
    font-size: 20px;
    font-weight: 500;
    color: var(--pp-gray);
}

.product-page__price-old::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--pp-border);
}

.product-page__price-old cur {
    font-size: 16px;
    font-weight: 500;
    color: var(--pp-gray);
    opacity: .4;
}

.product-page__price-new {
    font-family: var(--pp-font-body);
    font-size: 40px;
    font-weight: 600;
    line-height: 1;
    color: var(--pp-green);
}

.product-page__price-new cur {
    font-size: 21.709px;
    font-weight: 500;
    color: var(--pp-green);
}

/* quantity stepper */
.product-page__qty {
    display: flex;
    gap: 4px;
}

.product-page__qty-btn {
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 4px;
    background: rgba(231, 243, 245, .6);
    color: var(--pp-green);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

.product-page__qty-input {
    width: 44px;
    height: 44px;
    border: 1px solid var(--pp-border);
    border-radius: 4px;
    text-align: center;
    font-family: var(--pp-font-body);
    font-size: 15px;
    color: var(--pp-green);
    -moz-appearance: textfield;
}

.product-page__qty-input::-webkit-outer-spin-button,
.product-page__qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

@media (max-width: 440px) {
    .product-page__qty {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .product-page__qty-btn,
    .product-page__qty-input {
        width: 100%;
    }
}

.product-page__minimum {
    margin-top: 8px;
    font-family: var(--pp-font-body);
    font-size: 12px;
    color: var(--pp-gray);
}

/* action buttons */
.product-page__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    height: 44px;
    margin-bottom: 16px;
    border: 1px solid transparent;
    border-radius: 4px;
    font-family: var(--pp-font-head);
    letter-spacing: 1px;
    font-size: 14px;
    text-transform: uppercase;
    cursor: pointer;
    transition: opacity .2s ease, background .2s ease, border-color .2s ease;
}

.product-page__btn:hover {
    opacity: .9;
}

@media (max-width: 650px) {
    .product-page__btn {
        font-size: 12px;
    }
}

.product-page__btn--cart {
    font-weight: 700;
    color: var(--pp-white);
    background: var(--pp-green);
}

.product-page__btn--quick {
    font-weight: 700;
    color: var(--pp-green);
    background: var(--pp-pastel);
}

.product-page__btn--credit {
    gap: 7px;
    color: var(--pp-green);
    border-color: var(--pp-border);
    background: transparent;
}

.product-page__btn--credit b {
    font-family: var(--pp-font-body);
    font-size: 16px;
    font-weight: 700;
}

.product-page__btn img,
.product-page__btn svg {
    width: 18px;
    height: 18px;
}

/* ── Desktop floating buy bar (slides up like the scroll header) ─────────── */
.product-page__buybar {
    position: fixed;
    left: 0;
    bottom: 24px;
    z-index: 999996;
    width: 100%;
    opacity: 0;
    transform: translateY(20px) scale(0.98);
    pointer-events: none;
    transition: opacity .35s ease,
                transform .35s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.product-page__buybar.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.product-page__buybar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: fit-content;
    max-width: calc(100vw - 48px);
    margin: 0 auto;
    padding: 8px;
    border: 1px solid rgba(206, 206, 206, .82);
    border-radius: 12px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 14px 42px rgba(9, 9, 9, .16), 0 3px 10px rgba(9, 9, 9, .08);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

.product-page__buybar-name {
    --buybar-name-shift: 0px;
    --buybar-name-shift-negative: 0px;
    --buybar-name-duration: 10s;
    box-sizing: border-box;
    width: 300px;
    height: 52px;
    padding: 0 20px;
    border-radius: 8px;
    background: #f3f3f3;
    font-family: var(--pp-font-body);
    letter-spacing: 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 52px;
    color: var(--wb-h-ink, #181818);
    white-space: nowrap;
    overflow: hidden;
}

.product-page__buybar-name-text {
    display: inline-block;
    min-width: 100%;
    width: max-content;
    white-space: nowrap;
    will-change: transform;
}

.product-page__buybar-name--scroll .product-page__buybar-name-text {
    animation: product-buybar-name-marquee var(--buybar-name-duration) ease-in-out infinite alternate;
}

.product-page__buybar-name--scroll:hover .product-page__buybar-name-text {
    animation-play-state: paused;
}

@keyframes product-buybar-name-marquee {
    0%,
    18% {
        transform: translateX(0);
    }
    82%,
    100% {
        transform: translateX(var(--buybar-name-shift-negative));
    }
}

@media (prefers-reduced-motion: reduce) {
    .product-page__buybar-name--scroll .product-page__buybar-name-text {
        animation: none;
        transform: translateX(0);
    }
}

.product-page__buybar-btn {
    flex: 0 0 auto;
    width: auto;
    min-width: 200px;
    height: 52px;
    margin: 0;
    padding: 0 24px;
    border-radius: 8px;
    white-space: nowrap;
}

/* Mobile purchase action lives in the current .wb-hdbar navigation. It stays
   hidden inside the desktop buy bar before JS relocates it. */
.product-page__mobile-buy {
    display: none;
}

@media (max-width: 1239px) {
    .product-page__buybar {
        display: none;
    }

    .product-page__mobile-buy {
        position: relative;
        display: flex;
        flex: 1 1 0;
        min-width: 0;
    }

    .product-page__mobile-buy-toggle {
        width: 100%;
        color: var(--wb-h-accent, #2D4CFF);
    }

    .product-page__mobile-buy-toggle svg {
        width: 24px;
        height: 24px;
    }

    .product-page__mobile-buy-popup {
        position: fixed;
        right: 12px;
        bottom: calc(var(--wb-h-bottom-bar, 74px) + 10px);
        z-index: 999997;
        display: grid;
        width: min(360px, calc(100vw - 24px));
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        padding: 8px;
        border: 1px solid var(--wb-h-border, #CECECE);
        border-radius: 12px;
        background: rgba(255, 255, 255, .97);
        box-shadow: 0 14px 38px rgba(9, 9, 9, .2);
        opacity: 0;
        transform: translateY(10px) scale(.98);
        transform-origin: right bottom;
        pointer-events: none;
        transition: opacity .2s ease, transform .2s ease;
        -webkit-backdrop-filter: blur(14px);
        backdrop-filter: blur(14px);
    }

    .product-page__mobile-buy-popup.is-open {
        opacity: 1;
        transform: translateY(0) scale(1);
        pointer-events: auto;
    }

    .product-page__mobile-buy-action {
        display: flex;
        min-width: 0;
        min-height: 52px;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 10px 12px;
        border: 1px solid var(--wb-h-border, #CECECE);
        border-radius: 8px;
        background: #F9F9F9;
        color: var(--wb-h-ink, #181818);
        font-size: 14px;
        line-height: 1.15;
        text-align: center;
        transition: border-color .2s ease, background-color .2s ease, color .2s ease;
    }

    .product-page__mobile-buy-action--cart,
    .product-page__mobile-buy-action:hover,
    .product-page__mobile-buy-action:focus-visible {
        border-color: var(--wb-h-accent, #2D4CFF);
        background: var(--wb-h-accent, #2D4CFF);
        color: #fff;
    }

    .product-page__mobile-buy-action-icon {
        display: inline-flex;
        width: 20px;
        height: 20px;
        flex: 0 0 20px;
        align-items: center;
        justify-content: center;
    }

    .product-page__mobile-buy-action-icon img,
    .product-page__mobile-buy-action-icon svg {
        display: block;
        width: 20px;
        height: 20px;
    }

    .product-page__mobile-buy-action--cart img {
        filter: brightness(0) invert(1);
    }
}

@media (max-width: 380px) {
    .product-page__mobile-buy-toggle {
        font-size: 10px;
    }

    .product-page__mobile-buy-popup {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* meta middle: rating / reviews / availability / fav+compare */
.product-page__meta-middle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    font-family: var(--pp-font-body);
    font-size: 12px;
    color: var(--pp-green);
}

/* Drop the card's built-in auto margin so all three blocks (rating, stock,
   fav/compare) sit with the same gap between them. */
.product-page__meta-middle .wb-category-card__stock {
    margin: 0;
    padding: 0;
}

.product-page__meta-middle .wb-category-card__rating[data-product-tab-go] {
    cursor: pointer;
}

.product-page__meta-middle .wb-category-card__rating[data-product-tab-go]:focus-visible {
    outline: 2px solid var(--pp-green-2);
    outline-offset: 4px;
    border-radius: 4px;
}

@media (max-width: 650px) {
    .product-page__meta-middle {
        grid-template-columns: 1fr 1fr;
        row-gap: 16px;
    }
}

.product-page__meta-rating,
.product-page__meta-reviews {
    display: flex;
    align-items: center;
    gap: 6px;
}

.product-page__meta-rating img,
.product-page__meta-reviews img {
    width: 16px;
    height: 16px;
}

.product-page__meta-availability {
    display: flex;
    align-items: center;
    gap: 9px;
}

.product-page__availability-bar {
    display: flex;
    gap: 1px;
    width: 49px;
    height: 9px;
    border: 1px solid rgba(91, 103, 112, .7);
}

.product-page__availability-cell {
    flex: 1;
}

.product-page__availability-cell--on {
    background: var(--pp-green);
}

.product-page__meta-icons {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

@media (max-width: 567px) {
    .product-page__meta-middle {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "rating icons"
            "stock icons";
        align-items: center;
        justify-content: stretch;
        column-gap: 12px;
        row-gap: 8px;
    }

    .product-page__meta-middle .wb-category-card__rating {
        grid-area: rating;
        justify-self: start;
        min-width: 0;
    }

    .product-page__meta-middle .wb-category-card__stock {
        grid-area: stock;
        justify-self: start;
    }

    .product-page__meta-icons {
        grid-area: icons;
        align-self: center;
        justify-self: end;
        flex-wrap: nowrap;
    }
    .wb-breadcrumb {
        margin: 14px 0 12px;
    }
}

.product-page__icon-btn {
    width: 22px;
    height: 22px;
    padding: 0;
    border: none;
    background: transparent;
    color: var(--pp-green);
    cursor: pointer;
}

.product-page__icon-btn svg {
    width: 100%;
    height: 100%;
}

.product-page__icon-btn--active {
    color: var(--pp-red);
}

/* meta bottom: review / question / order links */
.product-page__meta-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 11px;
    margin-top: 16px;
}

.product-page__meta-bottom-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    border: 1px solid var(--pp-border);
    border-radius: 4px;
    background: transparent;
    font-family: var(--pp-font-head);
    letter-spacing: 1px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--pp-green);
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease;
}

.product-page__meta-bottom-btn:hover {
    background: var(--pp-pastel-soft);
    border-color: var(--pp-green);
    color: var(--pp-green);
}

.product-page__meta-bottom-btn--order {
    grid-column: 1 / span 2;
}

/* ── Social share row ────────────────────────────────────────────────────── */
.product-page__socials {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.product-page__social {
    display: inline-flex;
    width: 32px;
    height: 32px;
}

.product-page__social img {
    width: 100%;
    height: 100%;
}

/* ── Wide content tabs (reviews / video / etc.) ──────────────────────────── */
.product-page__panel {
    grid-column: 1;
}

.product-page__panel h2 {
    margin: 0 0 20px;
    font-family: var(--pp-font-head);
    letter-spacing: 1px;
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--pp-green);
}

.product-page__panel[data-product-panel="4"] .product-page__description,
.product-page__panel[data-product-panel="5"] .product-page__description {
    display: grid;
    gap: 14px;
    margin-top: 0;
    color: var(--pp-green);
    font-family: var(--pp-font-body);
    font-size: 15px;
    line-height: 1.65;
}

.product-page__panel[data-product-panel="4"] .product-page__description h2,
.product-page__panel[data-product-panel="5"] .product-page__description h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 18px 0 2px !important;
    padding: 16px 18px;
    border-radius: 6px;
    background: var(--pp-tint);
    color: var(--pp-green) !important;
    font-family: var(--pp-font-head) !important;
    letter-spacing: 1px;
    font-size: 20px !important;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
}

.product-page__panel[data-product-panel="4"] .product-page__description h2:first-child,
.product-page__panel[data-product-panel="5"] .product-page__description h2:first-child {
    margin-top: 0 !important;
}

.product-page__panel[data-product-panel="4"] .product-page__description h2::before,
.product-page__panel[data-product-panel="5"] .product-page__description h2::before {
    content: "";
    display: block;
    width: 6px;
    height: 24px;
    border-radius: 3px;
    background: var(--pp-green-2);
    flex: 0 0 auto;
}

.product-page__panel[data-product-panel="4"] .product-page__description p,
.product-page__panel[data-product-panel="5"] .product-page__description p {
    margin: 0;
}

.product-page__panel[data-product-panel="4"] .product-page__description p:not(:empty),
.product-page__panel[data-product-panel="5"] .product-page__description p:not(:empty) {
    padding: 14px 18px;
    border: 1px solid var(--pp-border);
    border-radius: 6px;
    background: var(--pp-white);
}

.product-page__panel[data-product-panel="4"] .product-page__description p:has(br:only-child),
.product-page__panel[data-product-panel="5"] .product-page__description p:has(br:only-child),
.product-page__panel[data-product-panel="4"] .product-page__description p:has(b:empty),
.product-page__panel[data-product-panel="5"] .product-page__description p:has(b:empty) {
    display: none;
}

.product-page__panel[data-product-panel="4"] .product-page__description a,
.product-page__panel[data-product-panel="5"] .product-page__description a {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 3px 10px;
    border-radius: 4px;
    background: var(--pp-pastel);
    color: var(--pp-green);
    font-weight: 700;
    text-decoration: none;
    transition: background .18s ease, color .18s ease;
}

.product-page__panel[data-product-panel="4"] .product-page__description a:hover,
.product-page__panel[data-product-panel="5"] .product-page__description a:hover {
    background: var(--pp-green);
    color: var(--pp-white);
}

.product-page__panel[data-product-panel="4"] .product-page__description ul,
.product-page__panel[data-product-panel="5"] .product-page__description ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.product-page__panel[data-product-panel="4"] .product-page__description li,
.product-page__panel[data-product-panel="5"] .product-page__description li {
    position: relative;
    min-height: 44px;
    margin: 0;
    padding: 12px 14px 12px 36px;
    border: 1px solid var(--pp-border);
    border-radius: 6px;
    background: var(--pp-white);
}

.product-page__panel[data-product-panel="4"] .product-page__description li::before,
.product-page__panel[data-product-panel="5"] .product-page__description li::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 18px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--pp-green-2);
}

.product-page__panel[data-product-panel="4"] .product-page__description iframe,
.product-page__panel[data-product-panel="5"] .product-page__description iframe {
    display: block;
    width: 100% !important;
    max-width: 100%;
    height: auto !important;
    aspect-ratio: 16 / 9;
    border: 0;
    border-radius: 8px;
    background: var(--pp-tint);
}

.product-page__panel[data-product-panel="4"] .product-page__description p:has(iframe),
.product-page__panel[data-product-panel="5"] .product-page__description p:has(iframe) {
    padding: 0;
    border: 0;
    background: transparent;
}

@media (max-width: 650px) {
    .product-page__panel[data-product-panel="4"] .product-page__description,
    .product-page__panel[data-product-panel="5"] .product-page__description {
        gap: 12px;
        font-size: 14px;
        line-height: 1.55;
    }

    .product-page__panel[data-product-panel="4"] .product-page__description h2,
    .product-page__panel[data-product-panel="5"] .product-page__description h2 {
        padding: 14px;
        font-size: 16px !important;
    }

    .product-page__panel[data-product-panel="4"] .product-page__description p:not(:empty),
    .product-page__panel[data-product-panel="5"] .product-page__description p:not(:empty) {
        padding: 12px 14px;
    }

    .product-page__panel[data-product-panel="4"] .product-page__description ul,
    .product-page__panel[data-product-panel="5"] .product-page__description ul {
        grid-template-columns: 1fr;
    }
}

/* ── Description block (full width, below grid) ──────────────────────────── */
.product-page__description {
    margin: 8px 0 40px;
    --product-desc-current-collapsed-height: var(--product-desc-collapsed-height, 500px);
}

.product-page__description-inner {
    position: relative;
    transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-page__description-inner--landing,
.product-page__description-inner:has(.alandings) {
    overflow-wrap: normal;
    word-break: normal;
}

/* Clamp is applied by JS only when the text overflows, so no-JS visitors and
   crawlers always get the full text. Per-axis overflow: clip vertically (the
   read-more clamp) while keeping the horizontal axis visible so 100vw landings
   can still break out full-width. */
.product-page__description--collapsible .product-page__description-inner {
    max-height: var(--product-desc-current-collapsed-height, var(--product-desc-collapsed-height, 500px));
    overflow-x: visible;
    overflow-y: clip;
}

/* Soft white fade-out hint at the bottom while collapsed; full viewport width
   so it also covers edge-to-edge 100vw landings (absorbed by .product-page). */
.product-page__description--collapsible .product-page__description-inner::after {
    content: "";
    position: absolute;
    left: 50%;
    right: auto;
    bottom: 0;
    width: 100vw;
    margin-left: -50vw;
    height: 96px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #fff 92%);
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.35s ease;
}

.product-page__description--collapsible .product-page__description-inner.is-expanded {
    max-height: none;
}

.product-page__description--collapsible .product-page__description-inner.is-expanded::after {
    opacity: 0;
}

.product-page__description-btn {
    display: flex;
    width: 178px;
    height: 44px;
    margin: 16px auto 0;
    padding: 14px 20px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid rgba(91, 103, 112, 0.3);
    border-radius: 4px;
    background: var(--pp-green, var(--wb-brand-dark));
    color: var(--pp-pastel-soft, #f9f6f2);
    font-family: var(--pp-font-head, var(--wb-font-display));
    letter-spacing: 1px;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
}

.product-page__description-btn:hover {
    background: var(--pp-pastel-soft, #f9f6f2);
    border-color: var(--pp-green, var(--wb-brand-dark));
    color: var(--pp-green, var(--wb-brand-dark));
}

.product-page__description-btn-icon {
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.product-page__description-btn.is-expanded .product-page__description-btn-icon {
    transform: rotate(180deg);
}

@media (max-width: 991px) {
    .product-page__description {
        --product-desc-current-collapsed-height: var(--product-desc-collapsed-height-tablet, var(--product-desc-collapsed-height, 500px));
    }
}

@media (max-width: 650px) {
    .product-page__description {
        margin-bottom: 28px;
        --product-desc-current-collapsed-height: var(--product-desc-collapsed-height-mobile, var(--product-desc-collapsed-height-tablet, var(--product-desc-collapsed-height, 500px)));
    }
}

/* ── Lightbox ────────────────────────────────────────────────────────────── */
.product-page__lightbox {
    position: fixed;
    inset: 0;
    /* full-screen modal above the site header (like the «заказать звонок» popup),
       so the close button and title are always visible at every breakpoint */
    z-index: 1000010;
    display: none;
    flex-direction: column;
    box-sizing: border-box;
    background: #fff;
    /* the lightbox is appended to <body> (outside .product-page), so re-declare
       the design tokens it relies on here */
    --pp-green: var(--wb-brand-dark);
    --pp-green-2: var(--wb-brand);
    --pp-tint: #e7f0ec;
    --pp-border: #dee1e2;
    --pp-gray: #5b6770;
    --pp-white: #fff;
    --pp-font-body: var(--wb-font-base);
}

.product-page__lightbox--open {
    display: flex;
}

.product-page__lightbox-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    border-bottom: 1px solid var(--pp-border);
}

.product-page__lightbox-title {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: var(--pp-font-body);
    font-size: 20px;
    font-weight: 700;
    color: var(--pp-green);
}

/* close button styled like the «заказать звонок» popup (.wb-auth-panel__close) */
.product-page__lightbox-close {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-left: 16px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--pp-gray);
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
}

.product-page__lightbox-close:hover {
    background: var(--pp-tint);
    color: var(--pp-green);
}

.product-page__lightbox-close svg {
    display: block;
}

.product-page__lightbox-stage {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 20px;
    min-height: 0;
    cursor: grab;
    touch-action: pan-y;
}

.product-page__lightbox-stage.is-grabbing {
    cursor: grabbing;
}

.product-page__lightbox-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    pointer-events: none;
    -webkit-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
}

/* arrows styled like the thumbnail rail arrows */
.product-page__lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--pp-border);
    border-radius: 4px;
    background: var(--pp-white);
    color: var(--pp-green);
    cursor: pointer;
    z-index: 2;
    transition: border-color .15s ease, background-color .15s ease;
}

.product-page__lightbox-arrow:hover {
    border-color: var(--pp-green);
}

.product-page__lightbox-arrow--prev {
    left: 20px;
}

.product-page__lightbox-arrow--next {
    right: 20px;
}

.product-page__lightbox-actions {
    flex: 0 0 auto;
    width: min(720px, calc(100% - 32px));
    margin: 0 auto;
}

.product-page__lightbox-actions .product-page__gallery-actions {
    margin-top: 0;
    justify-content: center;
}

.product-page__lightbox-actions .product-page__gallery-btn {
    flex: 0 1 260px;
}

.product-page__lightbox-thumbs {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 16px;
    overflow-x: auto;
}

.product-page__lightbox-thumb {
    width: 64px;
    height: 64px;
    padding: 3px;
    border: 1px solid transparent;
    border-radius: 4px;
    background: transparent;
    cursor: pointer;
}

.product-page__lightbox-thumb--active {
    border-color: var(--pp-green);
}

.product-page__lightbox-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

body.product-page-lightbox-open {
    overflow: hidden;
}

/* ── Reused product stickers (mirrors components/category-card.css so the promo
   block renders identically without loading the whole card stylesheet) ──────── */
/* Стикеры — один в один как в карточке каталога: синяя плашка, Inter 15/400,
   у «−N%» иконка справа, у mpn — светлая плашка с тёмным текстом. */
.product-page__promo { gap: 8px; }

.product-page__promo .wb-category-card__sticker {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    height: auto;
    min-height: 36px;
    padding: 8px 14px;
    border: 0;
    border-radius: 6px;
    background: var(--wb-h-accent, #2D4CFF);
    color: #FCFCFC;
    font-family: var(--wb-font-base);
    font-size: 15px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0;
    text-transform: none;
    white-space: nowrap;
}

.product-page__promo .wb-category-card__sticker--sale {
    flex-direction: row-reverse;
    font-weight: 500;
}

.product-page__promo .wb-category-card__sticker--mpn {
    height: auto;
    padding: 8px 14px;
    gap: 8px;
    background: #FCFCFC;
    color: var(--wb-h-ink, #181818);
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
}

.product-page__promo .wb-category-card__sticker-icon { width: 18px; height: 18px; color: currentColor; }
.product-page__promo .wb-category-card__sticker-text { color: inherit; font: inherit; }

.product-page__promo .wb-category-card__sticker--leader {
    position: relative;
    width: 156px;
    height: 32px;
    padding: 0 16px 0 10px;
    justify-content: flex-start;
    gap: 6px;
    overflow: hidden;
    background: transparent;
    color: var(--wb-brand-dark);
    font-size: 11px;
    letter-spacing: .22px;
}

.product-page__promo .wb-category-card__sticker-leader-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 156px;
    height: 32px;
    pointer-events: none;
}

.product-page__promo .wb-category-card__sticker-leader-icon {
    position: relative;
    z-index: 1;
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

.product-page__promo .wb-category-card__sticker-leader-text {
    position: relative;
    z-index: 1;
    font-family: var(--wb-font-base);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .22px;
    text-transform: uppercase;
}

.product-page__promo .wb-category-card__sticker-flag {
    display: block;
    width: 30px;
    height: 19px;
    flex: 0 0 auto;
}

.product-page__promo .wb-category-card__sticker-text {
    font-family: var(--wb-font-base);
    font-size: 14.471px;
    font-weight: 500;
}

.product-page__promo .wb-category-card__sticker-icon {
    display: block;
    width: 10px;
    height: 14px;
    flex: 0 0 auto;
}

/* ── Related products: reuse the category card grid (desktop 4 / tablet 2 / mobile 1) ── */
/* Promoted to its own last tab ("Похожие товары" / panel 6): hidden until active. */
.product-page__related {
    display: none;
    margin-top: 48px;
    padding-top: 8px;
}

.product-page__related.product-page__tab--visible {
    display: block;
}

/* On the related tab the info grid (gallery/specs/actions) has no panels — drop it. */
.product-page[data-product-active-tab="6"] .product-page__info-tabs {
    display: none;
}

.product-page__related-title {
    margin: 0 0 20px;
    font-family: var(--pp-font-head);
    letter-spacing: 1px;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;
    color: var(--pp-green);
}

.product-page__related-grid {
    margin-bottom: 0;
}

@media (max-width: 1240px) {
    .product-page__related-title {
        font-size: 20px;
    }
}

@media (max-width: 650px) {
    .product-page__related {
        margin-top: 36px;
    }

    .product-page__related-title {
        margin-bottom: 14px;
    }
}

/* ── Actions panel: quick-order, credit, side-by-side buttons, animated qty ── */
.product-page__btn--quick {
    font-weight: 700;
    color: var(--pp-green);
    background: var(--wb-accent);
}

.product-page__btn--quick:hover {
    background: #ecd9bd;
}

.product-page__btn--credit {
    font-weight: 700;
    color: var(--pp-green);
    background: transparent;
    border-color: var(--pp-border);
    text-transform: none;
}

.product-page__btn--credit:hover {
    background: var(--pp-pastel-soft);
    border-color: var(--pp-green);
    opacity: 1;
}

.product-page__meta-bottom {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.product-page__meta-bottom-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.product-page__meta-bottom-btn--order {
    width: 100%;
}

@media (max-width: 480px) {
    .product-page__meta-bottom-row {
        grid-template-columns: 1fr;
    }
}

/* Animated quantity stepper + price bump on change */
.product-page__qty-btn {
    transition: background .15s ease, transform .12s ease;
}

.product-page__qty-btn:hover {
    background: rgba(231, 243, 245, 1);
}

.product-page__qty-btn:active {
    transform: scale(.86);
}

.product-page__price-new {
    display: inline-block;
    transition: transform .2s cubic-bezier(.2, .8, .2, 1), color .2s ease;
    transform-origin: left center;
}

.product-page__price-new.is-bump {
    transform: scale(1.07);
    color: var(--wb-brand);
}

/* Social buttons: lift + scale on hover (card-style interaction) */
.product-page__social {
    display: inline-flex;
    transition: transform .2s ease, filter .2s ease;
}

.product-page__social:hover {
    transform: translateY(-2px) scale(1.08);
    filter: drop-shadow(0 4px 8px rgba(28, 32, 35, .18));
}

.product-page__btn svg {
    flex: 0 0 auto;
}

/* Reused card wishlist/compare buttons sit inline in the actions panel here. */
.product-page__meta-icons .wb-category-card__side-action:hover {
    transform: translateY(-2px);
}

/* Card link pills reused on the product page in place of the socials block */
.product-page__links {
    margin-top: 0;
    margin-bottom: 16px;
}

/* ── Secondary tab content placement ─────────────────────────────────────────
   On Характеристики / Полезная информация / Комплектация / Отзывы the panel
   takes the gallery+characteristics area at full height; the actions panel stays
   on the right; the bottom landing (full description + related) is hidden. */
.product-page__info-tabs .product-page__panel.product-page__tab--visible {
    grid-column: 1;
    grid-row: 1;
    max-height: none;
}

.product-page[data-product-active-tab="2"] .product-page__techdata {
    grid-column: 1;
}

@media (min-width: 1241px) {
    .product-page[data-product-active-tab]:not([data-product-active-tab="1"]) .product-page__actions {
        grid-column: 2;
        grid-row: 1;
    }
}

.product-page[data-product-active-tab="2"] .product-page__techdata-list {
    max-height: none;
}

.product-page[data-product-active-tab="2"] .product-page__techdata-more {
    display: none;
}

/* On the full Характеристики tab there is no collapse, so drop the fade hint. */
.product-page[data-product-active-tab]:not([data-product-active-tab="1"]) .product-page__techdata-scroll::after {
    opacity: 0;
}

.product-page[data-product-active-tab="6"] [data-product-desc],
.product-page[data-product-active-tab="6"] .product-page__tags {
    display: none;
}

/* ── Product tags: each comma-separated tag as its own block ──────────────── */
.product-page__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 24px;
}

.product-page__tag {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border: 1px solid var(--pp-border);
    border-radius: 4px;
    background: var(--pp-white);
    font-family: var(--pp-font-body);
    font-size: 14px;
    color: var(--pp-green);
    text-decoration: none;
    transition: border-color .15s ease, background-color .15s ease;
}

.product-page__tag:hover {
    border-color: var(--pp-green);
    background: var(--pp-pastel-soft);
}

/* On the secondary tabs the left content (specs / info) can be much taller than
   the purchase panel — keep the panel its own height and let it stick while the
   tall column scrolls past (offset clears the floating header at 74px). */
.product-page[data-product-active-tab]:not([data-product-active-tab="1"]) .product-page__actions {
    align-self: start;
    position: sticky;
    /* sit below the sticky tab bar so the two pinned blocks never overlap */
    top: calc(var(--pp-sticky-top) + var(--pp-tabbar-h));
}

@media (max-width: 1240px) {
    .product-page__info-tabs .product-page__panel.product-page__tab--visible {
        grid-column: 1;
        grid-row: auto;
    }

    .product-page[data-product-active-tab]:not([data-product-active-tab="1"]) .product-page__info-tabs .product-page__panel.product-page__tab--visible,
    .product-page[data-product-active-tab="2"] .product-page__techdata {
        order: 1;
    }

    .product-page[data-product-active-tab="2"] .product-page__techdata {
        grid-column: 1;
    }

    .product-page[data-product-active-tab]:not([data-product-active-tab="1"]) .product-page__actions {
        order: 2;
        position: static;
    }
}


@media (max-width: 991px) {
    .product-page__gallery-btn {
        font-size: 12px;
        min-height: 44px;
        padding: 12px 14px;
    }
}

@media (max-width: 567px) {
    .product-page__gallery-actions {
        flex-direction: column;
    }

    .product-page__gallery-btn {
        width: 100%;
        flex: 0 0 auto;
        min-height: 46px;
        height: 46px;
        padding: 8px 14px;
    }

    .product-page__lightbox-actions .product-page__gallery-btn {
        flex: 0 0 auto;
        width: 100%;
        min-height: 46px;
        height: 46px;
    }
}
/* ── Credit / installment popup (uses the .wb-request-modal shell) ───────── */
.product-page__credit-modal {
    /* tokens (the modal lives outside .product-page) */
    --pp-green: var(--wb-brand-dark);
    --pp-green-2: var(--wb-brand);
    --pp-pastel-soft: #eef4ef;
    --pp-border: #dee1e2;
    --pp-gray: #5b6770;
    --pp-white: #fff;
    --pp-font-head: var(--wb-font-display);
    --pp-font-body: var(--wb-font-base);
}

.product-page__credit-dialog {
    max-width: 720px;
    width: 100%;
}

.credit-modal__summary {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    margin-top: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--pp-border);
}

.credit-modal__summary-label {
    font-family: var(--pp-font-body);
    font-size: 14px;
    color: var(--pp-gray);
}

.credit-modal__summary-value {
    font-family: var(--pp-font-head);
    letter-spacing: 1px;
    font-size: 22px;
    font-weight: 700;
    color: var(--pp-green);
}

/* horizontal payment timeline (dots connected by a line, scrolls if long) */
.credit-modal__timeline {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 26px 2px 6px;
    scrollbar-width: thin;
    scrollbar-color: var(--pp-green-2) transparent;
}

.credit-modal__timeline::-webkit-scrollbar { height: 5px; }
.credit-modal__timeline::-webkit-scrollbar-thumb { background: var(--pp-green-2); border-radius: 2px; }

.credit-modal__item {
    position: relative;
    flex: 0 0 auto;
    min-width: 76px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 22px;
}

.credit-modal__item::after { /* connector to the next dot */
    content: "";
    position: absolute;
    top: 5px;
    left: 50%;
    width: calc(100% + 8px);
    height: 2px;
    background: var(--pp-border);
}

.credit-modal__item:last-child::after { display: none; }

.credit-modal__item::before { /* dot */
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--pp-white);
    border: 2px solid var(--pp-border);
    z-index: 1;
}

.credit-modal__item--now::before {
    background: #67a668;
    border-color: #67a668;
}

.credit-modal__item-percent {
    font-family: var(--pp-font-head);
    letter-spacing: 1px;
    font-size: 14px;
    font-weight: 700;
    color: var(--pp-green);
}

.credit-modal__item--now .credit-modal__item-percent { color: #67a668; }

.credit-modal__item-date {
    margin-top: 4px;
    font-family: var(--pp-font-body);
    font-size: 11px;
    color: var(--pp-gray);
    white-space: nowrap;
}

.credit-modal__item-amount {
    margin-top: 2px;
    font-family: var(--pp-font-body);
    font-size: 12px;
    font-weight: 600;
    color: var(--pp-green);
    white-space: nowrap;
}

.credit-modal__subtitle {
    margin: 22px 0 6px;
    font-family: var(--pp-font-head);
    letter-spacing: 1px;
    font-size: 16px;
    font-weight: 700;
    color: var(--pp-green);
}

.credit-modal__note {
    margin: 0 0 4px;
    font-family: var(--pp-font-body);
    font-size: 13px;
    color: var(--pp-gray);
}

.credit-modal__desc {
    font-family: var(--pp-font-body);
    font-size: 12px;
    line-height: 1.5;
    color: var(--pp-gray);
}

.credit-modal__benefits-list {
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.credit-modal__benefits-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--pp-font-body);
    font-size: 13px;
    color: var(--pp-green);
}

.credit-modal__benefits-item svg { flex: 0 0 auto; }
.credit-modal__benefits-item--info { color: #b07b1f; }

/* Mobile/tablet: the «оплата частями» popup must sit above the fixed mobile bar
   (z 1000003), which is shown up to 1240px (the request-modal only lifts itself
   above it at ≤568px). */
@media (max-width: 1240px) {
    .product-page__credit-modal.wb-request-modal,
    .product-page__review-modal.wb-request-modal,
    .product-page__question-modal.wb-request-modal,
    .product-page__view360-modal.wb-request-modal {
        z-index: 1000010;
    }
}

/* «Оставить отзыв» — selectable star rating */
.product-page__review-rating-label {
    display: block;
    margin-bottom: 8px;
    font-family: var(--pp-font-body);
    font-size: 13px;
    color: var(--pp-gray);
}

.product-page__review-stars {
    display: flex;
    gap: 6px;
}

.product-page__review-star {
    display: inline-flex;
    padding: 2px;
    border: 0;
    background: transparent;
    line-height: 0;
    cursor: pointer;
}

.product-page__review-star svg {
    display: block;
}

.product-page__review-star svg path {
    transition: fill .12s ease, stroke .12s ease;
}

.product-page__review-star--on svg path {
    fill: var(--wb-brand);
    stroke: var(--wb-brand);
}

/* ── Questions & answers tab ─────────────────────────────────────────────── */
.product-page__questions-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.product-page__questions-head h2 {
    margin: 0;
}

.product-page__questions-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.product-page__question {
    padding: 18px 20px;
    border: 1px solid #e6e8e6;
    border-radius: 12px;
    background: #fff;
}

.product-page__question-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.product-page__question-author {
    font-family: var(--pp-font-body);
    font-weight: 600;
    color: var(--pp-dark, var(--wb-brand-dark));
}

.product-page__question-date {
    font-family: var(--pp-font-body);
    font-size: 13px;
    color: var(--pp-gray, #7a857d);
}

.product-page__question-text {
    margin: 0;
    font-family: var(--pp-font-body);
    color: var(--pp-dark, var(--wb-brand-dark));
}

.product-page__question-answer {
    margin-top: 14px;
    padding: 14px 16px;
    border-left: 3px solid var(--wb-brand);
    border-radius: 0 8px 8px 0;
    background: #f3f7f3;
}

.product-page__question-answer-label {
    display: block;
    margin-bottom: 6px;
    font-family: var(--pp-font-body);
    font-size: 13px;
    font-weight: 600;
    color: var(--wb-brand);
}

.product-page__question-answer-text {
    margin: 0;
    font-family: var(--pp-font-body);
    color: var(--pp-dark, var(--wb-brand-dark));
}

.product-page__questions-empty {
    margin: 0;
    font-family: var(--pp-font-body);
    color: var(--pp-gray, #7a857d);
}

/* ── Reviews tab — same card design as the Q&A tab ────────────────────────── */
.product-page__reviews-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.product-page__review-item {
    padding: 18px 20px;
    border: 1px solid #e6e8e6;
    border-radius: 12px;
    background: #fff;
}

.product-page__review-item-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.product-page__review-item-author {
    font-family: var(--pp-font-body);
    font-weight: 600;
    color: var(--pp-dark, var(--wb-brand-dark));
}

.product-page__review-item-date {
    font-family: var(--pp-font-body);
    font-size: 13px;
    color: var(--pp-gray, #7a857d);
}

.product-page__review-item-rating {
    display: flex;
    gap: 4px;
    margin-bottom: 10px;
}

.product-page__review-item-star {
    color: #d6dbd6;
}

.product-page__review-item-star--on {
    color: var(--wb-brand);
}

.product-page__review-item-text {
    margin: 0;
    font-family: var(--pp-font-body);
    color: var(--pp-dark, var(--wb-brand-dark));
}

.product-page__reviews-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 20px;
}

.product-page__reviews-results {
    font-family: var(--pp-font-body);
    font-size: 13px;
    color: var(--pp-gray, #7a857d);
}

/* ── 3D (360°) viewer ─────────────────────────────────────────────────────── */
/* Stage launcher icon (top-right over the main image) */
.product-page__view360-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    padding: 0;
    border: 1px solid var(--pp-border, #dee1e2);
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 72, 74, .12);
    transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.product-page__view360-btn:hover {
    background: #fff;
    transform: scale(1.06);
    box-shadow: 0 6px 16px rgba(0, 72, 74, .18);
}

.product-page__view360-btn-icon {
    display: block;
    width: 40px;
    height: auto;
}

/* Tab panel poster (click to open) */
.product-page__view360-poster {
    position: relative;
    display: block;
    width: 100%;
    max-width: 520px;
    padding: 0;
    border: 1px solid #e6e8e6;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    overflow: hidden;
}

.product-page__view360-poster img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.product-page__view360-poster-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .92);
    font-family: var(--pp-font-head, sans-serif);
    letter-spacing: 1px;
    font-size: 13px;
    font-weight: 700;
    color: var(--pp-green-2, var(--wb-brand));
    box-shadow: 0 4px 12px rgba(0, 72, 74, .12);
}

/* Viewer inside the popup */
.product-page__view360-dialog {
    width: min(720px, 96vw);
    max-width: 720px;
}

.product-page__view360 {
    margin-top: 8px;
}

.product-page__view360-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    max-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #e6e8e6;
    border-radius: 12px;
    overflow: hidden;
    cursor: grab;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
}

.product-page__view360-stage.is-dragging {
    cursor: grabbing;
}

.product-page__view360-canvas {
    display: block;
    max-width: 100%;
    max-height: 100%;
    touch-action: none;
    user-select: none;
}

/* Play / pause auto-rotation control */
.product-page__view360-controls {
    display: flex;
    justify-content: center;
    margin-top: 12px;
}

.product-page__view360-ctrl {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border: 1px solid var(--pp-border, #dee1e2);
    border-radius: 24px;
    background: #fff;
    color: var(--pp-green, var(--wb-brand-dark));
    font-family: var(--pp-font-body);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease;
}

.product-page__view360-ctrl:hover {
    background: var(--pp-tint, #e7f0ec);
    border-color: var(--pp-tint, #e7f0ec);
}

.product-page__view360-ctrl-icon {
    display: none;
    color: var(--pp-green-2, var(--wb-brand));
}

.product-page__view360-ctrl-icon--play {
    display: block;
}

.product-page__view360-ctrl.is-playing .product-page__view360-ctrl-icon--play {
    display: none;
}

.product-page__view360-ctrl.is-playing .product-page__view360-ctrl-icon--pause {
    display: block;
}

.product-page__view360-loader {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-page__view360-loader-bar {
    display: block;
    width: 160px;
    height: 4px;
    border-radius: 2px;
    background: #e6e8e6;
    overflow: hidden;
}

.product-page__view360-loader-fill {
    display: block;
    width: 0;
    height: 100%;
    background: var(--pp-green-2, var(--wb-brand));
    transition: width .15s ease;
}

.product-page__view360-loader-text {
    font-family: var(--pp-font-body);
    font-size: 12px;
    color: var(--pp-gray, #7a857d);
}

.product-page__view360-hint {
    position: absolute;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    padding: 6px 14px;
    border-radius: 18px;
    background: rgba(28, 32, 35, .8);
    font-family: var(--pp-font-body);
    font-size: 12px;
    color: #fff;
    pointer-events: none;
    transition: opacity .25s ease;
}

.product-page__view360-hint.is-hidden {
    opacity: 0;
}

/* ── Таб «Видео»: карточки-превью, воспроизведение в попапе ────────────────── */
.product-page__videos-title {
    margin: 0 0 20px;
    font-family: var(--pp-font-head);
    letter-spacing: 1px;
    font-size: 23px;
    color: var(--pp-green, var(--wb-brand-dark));
}

.product-page__videos-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.product-page__video {
    margin: 0;
}

.product-page__video-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
    text-align: left;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.product-page__video-poster {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    background: #0d1512;
}

.product-page__video-thumb {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-page__video-play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    opacity: .95;
    transition: opacity .2s ease, transform .2s ease;
}

.product-page__video-play svg {
    display: block;
    width: 100%;
    height: 100%;
}

.product-page__video-card:hover .product-page__video-play {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.06);
}

/* Значок провайдера в углу превью */
.product-page__video-provider {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 3px 9px;
    border-radius: 4px;
    font-family: var(--pp-font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .3px;
    color: #fff;
    text-transform: none;
}

.product-page__video-provider--youtube { background: #ff0000; }
.product-page__video-provider--rutube { background: #14171f; }
.product-page__video-provider--vk { background: #0077ff; }
.product-page__video-provider--ok { background: #ee8208; }

.product-page__video-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 3px 9px;
    border-radius: 4px;
    background: rgba(28, 32, 35, .82);
    color: #fff;
    font-family: var(--pp-font-body);
    font-size: 11px;
    font-weight: 600;
}

.product-page__video-name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-family: var(--pp-font-body);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--pp-green, var(--wb-brand-dark));
}

.product-page__video-card:hover .product-page__video-name {
    color: var(--pp-green-2, var(--wb-brand));
}

/* Попап плеера (оформление как «заказать звонок») */
.product-page__video-dialog {
    width: min(900px, 96vw);
    max-width: 900px;
}

.product-page__video-player {
    position: relative;
    margin-top: 8px;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
}

.product-page__video-player iframe {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
}

@media (max-width: 768px) {
    .product-page__videos-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ══════════════════════════════════════════════════════════════════════════
   Карточка товара — вид «в стиле сайта» (макет product.png).
   Слой поверх исторических правил: типографика Inter без капса, светлые
   плашки #F9F9F9 с рамкой #CECECE, радиус 8, синий акцент на ховере.
   ══════════════════════════════════════════════════════════════════════════ */

/* ── Полоса вкладок под шапкой ──────────────────────────────────────────
   Внешняя обёртка тянется во всю ширину окна светлой плашкой, внутренний
   ряд кнопок остаётся в контейнере страницы. */
.product-page__tab-list-wrapper {
  width: 100vw;
  max-width: 100vw;
  margin: 0 0 24px;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 0;
  border-bottom: 0;
  background: #F9F9F9;
}

.product-page__tab-list {
  /* та же мера, что у .container — ряд кнопок держится сетки страницы */
  width: min(100% - var(--container-gutter), var(--container-width));
  margin: 0 auto;
  gap: 8px;
  padding: 10px 0;
}

.product-page__tab-btn {
  /* ширина по содержимому: min-width 180px из старой темы делал все вкладки
     одинаковыми и растягивал короткие («Отзывы») на всю колодку */
  min-width: 0;
  width: auto;
  flex: 0 0 auto;
  height: 36px;
  padding: 0 24px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--wb-h-ink, #181818);
  font-family: var(--wb-font-base);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: normal;
  text-transform: none;
  white-space: nowrap;
}

.product-page__tab-btn:hover { background: #F9F9F9; }

.product-page__tab-btn--active,
.product-page__tab-btn--active:hover {
  background: var(--wb-h-accent, #2D4CFF);
  color: var(--wb-h-ink-invert, #FCFCFC);
}

.product-page__tab-btn b {
  display: inline-flex;
  min-width: 18px;
  height: 18px;
  margin-left: 6px;
  padding: 0 5px;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: rgba(119, 119, 119, 0.12);
  color: inherit;
  font-size: 12px;
  font-weight: 400;
}

.product-page__tab-btn--active b { background: rgba(255, 255, 255, 0.22); }

/* ── Галерея: вертикальная лента миниатюр слева ── */
@media (min-width: 992px) {
  /* Только на активном табе: без .product-page__tab--visible правило перебивало
     бы «.product-page__info-tabs .product-page__tab { display: none }» и галерея
     висела бы на всех вкладках. */
  .product-page__info-tabs .product-page__gallery.product-page__tab--visible {
    display: grid;
    /* колонка превью + всё остальное место под кадр */
    grid-template-columns: 112px minmax(0, 1fr);
    /* кадр тянется, кнопки снизу по своей высоте — вместе ровно в высоту
       колонки превью (стрелка 48 + 16 + лента 472 + 16 + стрелка 48) */
    grid-template-rows: minmax(0, 1fr) auto;
    grid-template-areas:
      "thumbs stage"
      "thumbs actions";
    align-items: stretch;
    width: 100%;
    max-width: none;
    margin: 0;
    column-gap: 16px;
    row-gap: 16px;
  }

  .product-page__stage { grid-area: stage; }
  .product-page__thumbs { grid-area: thumbs; }
  .product-page__gallery-actions { grid-area: actions; }

  /* Кадр занимает всю оставшуюся ширину; вместе с кнопками под ним по высоте
     совпадает с колонкой превью (4 плитки 112 + зазоры + стрелки). */
  .product-page__info-tabs .product-page__gallery.product-page__tab--visible .product-page__stage {
    width: 100%;
    max-width: none;
    height: 100%;
    min-height: 0;
    aspect-ratio: auto;
    align-self: stretch;
    /* без вертикальных полей — фото занимает кадр во всю высоту, поэтому
       кадр + кнопка ровно совпадают с колонкой превью слева */
    padding: 0 24px;
  }

  .product-page__gallery-actions {
    width: 100%;
    margin: 0;
  }

  /* Стикеры лежат внутри кадра — отсчитываем их от его углов, а не от
     галереи, иначе колонка превью оказывается под ними. */
  .product-page__stage .product-page__promo {
    top: 16px;
    left: 16px;
    right: auto;
  }

  /* Колонка: [стрелка] 16px [лента превью 8px] 16px [стрелка] */
  .product-page__thumbs {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin: 0;
  }

  .product-page__thumbs-track {
    flex-direction: column;
    gap: 8px;
    max-height: 472px;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: none;
  }

  .product-page__thumbs-track::-webkit-scrollbar { width: 0; height: 0; }

  /* Стрелки: готовые SVG 48×48 с собственной подложкой */
  .product-page__thumbs-arrow {
    position: static;
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    color: #535353;
    transform: none;
    transition: color .2s ease, opacity .2s ease;
  }

  .product-page__thumbs-arrow:hover { color: var(--wb-h-accent, #2D4CFF); }

  .product-page__thumbs-arrow svg {
    display: block;
    width: 48px;
    height: 48px;
    transform: none;
  }

  /* Превью: картинка на всю плитку, без внутренних полей */
  .product-page__thumbs-track .product-page__thumb {
    flex: 0 0 112px;
    width: 112px;
    height: 112px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: #F9F9F9;
    box-shadow: none;
    overflow: hidden;
  }

  .product-page__thumbs-track .product-page__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
    border-radius: 8px;
  }

  .product-page__thumbs-track .product-page__thumb--active {
    box-shadow: inset 0 0 0 1px var(--wb-h-accent, #2D4CFF);
  }
}

/* Ниже 992px лента горизонтальная — те же SVG разворачиваем поперёк и
   вписываем в прежний кружок 32×32. */
@media (max-width: 991px) {
  .product-page__thumbs-arrow svg {
    width: 100%;
    height: 100%;
  }

  .product-page__thumbs-arrow--prev svg { transform: rotate(-90deg); }
  .product-page__thumbs-arrow--next svg { transform: rotate(-90deg); }
}

.product-page__stage {
  position: relative;
  border-radius: 8px;
  background: #F9F9F9;
}

/* Фото товара приходят с белым фоном (не прозрачным), из-за чего в светлом
   кадре видно белый прямоугольник. multiply «умножает» пиксели на подложку:
   белое становится фоном #F9F9F9, сам предмет не меняется. */
.product-page__slide,
.product-page__thumb img {
  mix-blend-mode: multiply;
}

/* Иконки в кадре галереи — та же механика, что в карточке каталога:
   покой — тёмный контур 18px в квадрате 24×24, при наведении и в активном
   состоянии синяя плитка с белой иконкой. */
.product-page__stage-icons {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
}

.product-page__stage-icons .wb-category-card__side-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: transparent;
  color: #181818;
  box-shadow: none;
  transform: none;
  transition: background-color .2s ease, color .2s ease;
}

.product-page__stage-icons .wb-category-card__side-action:hover,
.product-page__stage-icons .wb-category-card__side-action:focus-visible,
.product-page__stage-icons .wb-category-card__side-action--active,
.product-page__stage-icons .wb-category-card__side-action:active {
  background: var(--wb-h-accent, #2D4CFF);
  color: #FCFCFC;
  transform: none;
}

.product-page__stage-icons .wb-category-card__side-icon {
  width: 18px;
  height: 18px;
  max-width: none;
  max-height: none;
  color: inherit;
  opacity: 1;
  visibility: visible;
  transition: width .15s ease, height .15s ease, color .2s ease;
}

/* активная (залитая) иконка не нужна — состояние показывает плитка */
.product-page__stage-icons .wb-category-card__side-icon--active { display: none; }

/* В разметке товара у сердечка жёстко задан fill — перекрываем, иначе на
   синей плитке иконка остаётся тёмной. */
.product-page__stage-icons .wb-category-card__side-icon path {
  fill: currentColor;
}

.product-page__stage-icons .wb-category-card__side-action:hover .wb-category-card__side-icon,
.product-page__stage-icons .wb-category-card__side-action:focus-visible .wb-category-card__side-icon {
  width: 18px;
  height: 18px;
}

.product-page__stage-icons .wb-category-card__side-action--active .wb-category-card__side-icon,
.product-page__stage-icons .wb-category-card__side-action:active .wb-category-card__side-icon {
  width: 14px;
  height: 14px;
}

.product-page__thumb {
  border: 1px solid transparent;
  border-radius: 8px;
  background: #F9F9F9;
}

.product-page__thumb--active { border-color: var(--wb-h-accent, #2D4CFF); }

.product-page__gallery-btn {
  height: 44px;
  border: 1px solid var(--wb-h-border, #CECECE);
  border-radius: 8px;
  background: #F9F9F9;
  color: var(--wb-h-ink, #181818);
  font-family: var(--wb-font-base);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.product-page__gallery-btn:hover {
  border-color: var(--wb-h-accent, #2D4CFF);
  background: var(--wb-h-accent, #2D4CFF);
  color: var(--wb-h-ink-invert, #FCFCFC);
}

/* ── Правая колонка ── */
/* Колонка покупки: единственный источник вертикальных отступов — gap (кратно 4),
   поэтому собственные маргины детей обнуляем. */
.product-page__info-tabs .product-page__actions.product-page__tab--visible {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

.product-page__actions > * {
  margin: 0;
}

.product-page__actions > .product-page__meta-bottom {
  margin-top: 8px;
}

.product-page__title {
  margin: 0;
  color: var(--wb-h-ink, #181818);
  font-family: var(--wb-font-base);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
}

.product-page__meta-middle {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  margin: 0;
  padding: 0;
  border: 0;
}

/* Рейтинг: синяя звезда, серая подпись «N отзывов» */
.product-page__meta-middle .wb-category-card__rating-star path,
.product-page__meta-middle .wb-category-card__rating-empty-star path {
  fill: var(--wb-h-accent, #2D4CFF);
}

.product-page__meta-middle .wb-category-card__rating-empty-star path {
  fill: none;
  stroke: var(--wb-h-accent, #2D4CFF);
}

.product-page__meta-middle .wb-category-card__rating-value {
  color: var(--wb-h-ink, #181818);
  font-family: var(--wb-font-base);
  font-size: 16px;
  font-weight: 500;
}

.product-page__meta-middle .wb-category-card__rating-reviews {
  color: #777;
  font-family: var(--wb-font-base);
  font-size: 16px;
  font-weight: 400;
}

.product-page__meta-middle .wb-category-card__stock-text {
  color: var(--wb-h-ink, #181818);
  font-family: var(--wb-font-base);
  font-size: 16px;
  font-weight: 500;
}

.product-page__price-row {
  align-items: center;
  margin: 0;
}

.product-page__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.product-page__price-new {
  color: var(--wb-h-ink, #181818);
  font-family: var(--wb-font-base);
  font-size: 34px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0;
}

/* ₽ у новой цены — тем же кеглем, как в макете */
.product-page__price-new cur {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}

.product-page__price-old cur {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  opacity: 1;
}

.product-page__price-old {
  color: #777;
  font-family: var(--wb-font-base);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.1;
  text-decoration: line-through;
}

.product-page__qty {
  gap: 8px;
  border: 0;
  background: none;
}

.product-page__qty-btn,
.product-page__qty-input {
  width: 48px;
  height: 48px;
  border: 1px solid var(--wb-h-border, #CECECE);
  border-radius: 8px;
  background: #fff;
  color: var(--wb-h-ink, #181818);
  font-family: var(--wb-font-base);
  font-size: 16px;
}

.product-page__qty-btn:hover {
  border-color: var(--wb-h-accent, #2D4CFF);
  background: var(--wb-h-accent, #2D4CFF);
  color: var(--wb-h-ink-invert, #FCFCFC);
}

/* Кнопки покупки: «В корзину» тёмная, остальные светлые.
   Геометрия зафиксирована для всех состояний — ховер меняет только цвета,
   высота/паддинги/рамка остаются прежними и кнопка не «прыгает». */
.product-page__btn,
.product-page__meta-bottom-btn,
.product-page__btn:hover,
.product-page__btn:focus-visible,
.product-page__btn:active,
.product-page__meta-bottom-btn:hover,
.product-page__meta-bottom-btn:focus-visible,
.product-page__meta-bottom-btn:active {
  box-sizing: border-box;
  height: 48px;
  min-height: 48px;
  max-height: 48px;
  padding: 0 20px;
  border-width: 1px;
  border-style: solid;
  border-radius: 8px;
  font-family: var(--wb-font-base);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: normal;
  text-transform: none;
  transform: none;
  box-shadow: none;
}

.product-page__btn--cart {
  border: 1px solid var(--wb-h-ink, #181818);
  background: var(--wb-h-ink, #181818);
  color: var(--wb-h-ink-invert, #FCFCFC);
}

.product-page__btn--cart:hover {
  border-color: var(--wb-h-accent, #2D4CFF);
  background: var(--wb-h-accent, #2D4CFF);
}

.product-page__btn--quick,
.product-page__btn--credit,
.product-page__meta-bottom-btn {
  border: 1px solid var(--wb-h-border, #CECECE);
  background: #F9F9F9;
  color: var(--wb-h-ink, #181818);
}

.product-page__btn--quick:hover,
.product-page__btn--credit:hover,
.product-page__meta-bottom-btn:hover {
  border-color: var(--wb-h-accent, #2D4CFF);
  background: var(--wb-h-accent, #2D4CFF);
  color: var(--wb-h-ink-invert, #FCFCFC);
}

/* У иконки «Быстрого заказа» stroke зашит в разметке — на синем фоне
   перекрашиваем её в цвет текста кнопки. */
.product-page__btn--quick svg [stroke],
.product-page__btn--quick svg path {
  transition: stroke .2s ease;
}

.product-page__btn--quick:hover svg [stroke],
.product-page__btn--quick:hover svg path,
.product-page__btn--quick:focus-visible svg [stroke],
.product-page__btn--quick:focus-visible svg path {
  stroke: currentColor;
}

/* «В корзину» и «Быстрый заказ» — в один ряд, как в макете */
.product-page__buy-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.product-page__buy-row .product-page__btn { margin: 0; }

@media (max-width: 575px) {
  .product-page__buy-row { grid-template-columns: minmax(0, 1fr); }
}

/* Мессенджеры: три равные кнопки в ряд. Класс .wb-category-card__links из
   карточки задаёт flex позже по каскаду, поэтому раскладку описываем флексом,
   а не гридом — иначе ссылки растягивались бы на всю ширину. */
.product-page__links,
.product-page__links.wb-category-card__links {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  margin: 0;
}

/* Геометрия одинаковая во всех состояниях: в карточке каталога ссылка на
   ховере разъезжается (flex-grow + раскрытие подписи), здесь ряд фиксирован
   сеткой, поэтому рост только ломал бы высоту строки. */
.product-page__links .wb-category-card__link,
.product-page__links .wb-category-card__link:hover,
.product-page__links .wb-category-card__link:focus-visible,
.product-page__links .wb-category-card__link:focus-within {
  box-sizing: border-box;
  min-width: 0;
  height: 48px;
  min-height: 48px;
  max-height: 48px;
  flex: 1 1 0;
  flex-grow: 1;
  padding: 0 12px;
  border-width: 1px;
  border-style: solid;
  border-color: var(--wb-h-border, #CECECE);
  border-radius: 8px;
  background: #F9F9F9;
  transform: none;
}

.product-page__links .wb-category-card__link:hover,
.product-page__links .wb-category-card__link:focus-visible {
  border-color: var(--wb-h-accent, #2D4CFF);
  background: var(--wb-h-accent, #2D4CFF);
}

/* Подпись раскрывается внутри той же кнопки (как в карточке каталога) —
   ширина ряда при этом не меняется, потому что каждая ссылка flex: 1 1 0. */
.product-page__links .wb-category-card__link-icon,
.product-page__links .wb-category-card__link:hover .wb-category-card__link-icon {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  transform: none;
}

/* Блок отзывов/вопросов отделён линией */
.product-page__meta-bottom {
  gap: 12px;
  padding: 24px 0 0;
  border-top: 1px solid #EFEFEF;
}

.product-page__meta-bottom-row { gap: 12px; }

@media (max-width: 767px) {
  .product-page__title { font-size: 22px; }
  .product-page__price-new { font-size: 26px; }
  .product-page__links { gap: 8px; }
}

/* ══════════════════════════════════════════════════════════════════════════
   Попап «Оплата частями» — верхняя часть по макету: заголовок Arturito Slab,
   стоимость крупной строкой без линии, полоса-трек с квадратными маркерами
   и карточками платежей (первая — синяя).
   ══════════════════════════════════════════════════════════════════════════ */
.product-page__credit-dialog .wb-auth-panel__title {
  margin: 0 0 24px;
  color: #090909;
  font-family: var(--wb-font-display);
  font-size: 32px;
  font-weight: 700;
  line-height: 120%;
  letter-spacing: 0;
  text-transform: uppercase;
}

.credit-modal__summary {
  margin: 0;
  padding: 0;
  border-bottom: 0;
  align-items: center;
}

.credit-modal__summary-label {
  color: #777;
  font-family: var(--wb-font-base);
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
}

.credit-modal__summary-value {
  color: #090909;
  font-family: var(--wb-font-base);
  font-size: 32px;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 0;
}

/* ── Полоса платежей ── */
.credit-modal__timeline {
  gap: 0;
  padding: 24px 0 8px;
  scrollbar-color: var(--wb-h-accent, #2D4CFF) #F1F1F1;
}

.credit-modal__timeline::-webkit-scrollbar { height: 6px; }
.credit-modal__timeline::-webkit-scrollbar-track { background: #F1F1F1; border-radius: 3px; }
.credit-modal__timeline::-webkit-scrollbar-thumb {
  background: var(--wb-h-accent, #2D4CFF);
  border-radius: 3px;
}

.credit-modal__item {
  flex: 1 0 114px;
  min-width: 114px;
  padding-top: 24px;
}

/* трек — сплошная серая линия под маркерами */
.credit-modal__item::after {
  top: 4px;
  left: 50%;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: #ECECEC;
}

/* маркер — квадрат, у текущего платежа синий */
.credit-modal__item::before {
  top: 0;
  width: 14px;
  height: 14px;
  border: 1px solid #ECECEC;
  border-radius: 2px;
  background: #fff;
}

.credit-modal__item--now::before {
  border-color: var(--wb-h-accent, #2D4CFF);
  background: var(--wb-h-accent, #2D4CFF);
}

/* карточка платежа: у первого — синяя плашка с белым текстом */
.credit-modal__item-card {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 8px;
  border-radius: 8px;
}

.credit-modal__item--now .credit-modal__item-card {
  background: var(--wb-h-accent, #2D4CFF);
  color: var(--wb-h-ink-invert, #FCFCFC);
}

.credit-modal__item-percent {
  color: #090909;
  font-family: var(--wb-font-base);
  font-size: 16px;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 0;
}

.credit-modal__item-date {
  margin: 0;
  color: #090909;
  font-family: var(--wb-font-base);
  font-size: 14px;
  font-weight: 400;
  line-height: normal;
}

.credit-modal__item-amount {
  margin: 0;
  color: #090909;
  font-family: var(--wb-font-base);
  font-size: 14px;
  font-weight: 700;
  line-height: normal;
}

.credit-modal__item--now .credit-modal__item-percent,
.credit-modal__item--now .credit-modal__item-date,
.credit-modal__item--now .credit-modal__item-amount {
  color: inherit;
}

.credit-modal__subtitle {
  margin: 24px 0 12px;
  color: #090909;
  font-family: var(--wb-font-base);
  font-size: 18px;
  font-weight: 600;
  line-height: normal;
  letter-spacing: 0;
  text-transform: none;
}

.credit-modal__note,
.credit-modal__desc {
  color: #090909;
  font-family: var(--wb-font-base);
  font-size: 15px;
  line-height: 1.5;
}

@media (max-width: 767px) {
  .product-page__credit-dialog .wb-auth-panel__title { font-size: 24px; }
  .credit-modal__summary-value { font-size: 24px; }
  .credit-modal__item { flex: 0 0 104px; min-width: 104px; }
}

/* ══════════════════════════════════════════════════════════════════════════
   Вкладка «Характеристики» — таблица по макету: заголовок Arturito Slab,
   подзаголовок группы, строки в рамке с разделителем между колонками.
   ══════════════════════════════════════════════════════════════════════════ */
.product-page__techdata-title {
  display: block;
  margin: 0 0 24px;
  color: var(--wb-h-ink, #181818);
  font-family: var(--wb-font-display);
  font-size: 32px;
  font-weight: 700;
  line-height: 120%;
  letter-spacing: 0;
  text-transform: uppercase;
}

.product-page__techdata-scroll { margin-top: 0; }

/* прокрутка и «шторка» из старой схемы тут не нужны — таблица идёт целиком */
.product-page__techdata-list {
  max-height: none;
  overflow: visible;
  padding-right: 0;
}

.product-page__techdata-scroll::after { content: none; }

.product-page__techdata-group + .product-page__techdata-group { margin-top: 32px; }

.product-page__techdata-group-title {
  margin: 0 0 12px;
  color: var(--wb-h-ink, #181818);
  font-family: var(--wb-font-base);
  font-size: 20px;
  font-weight: 400;
  line-height: normal;
}

.product-page__techdata-table {
  border: 1px solid #ECECEC;
  border-radius: 8px;
  background: transparent;
  overflow: hidden;
}

.product-page__techdata-row {
  display: grid;
  grid-template-columns: minmax(0, 45%) minmax(0, 55%);
  align-items: stretch;
  gap: 0;
  min-height: 48px;
  border-bottom: 1px solid #ECECEC;
}

.product-page__techdata-row:last-child { border-bottom: 0; }

.product-page__techdata-name,
.product-page__techdata-value {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 12px 16px;
  color: var(--wb-h-ink, #181818);
  font-family: var(--wb-font-base);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.35;
}

.product-page__techdata-name {
  border-right: 1px solid #ECECEC;
}

/* Белая только колонка значений; названия слева остаются на плашке вкладки */
.product-page__techdata-value {
  font-weight: 400;
  background: #fff;
}

.product-page__techdata-dots { display: none; }

@media (max-width: 575px) {
  .product-page__techdata-title { font-size: 24px; }
  .product-page__techdata-group-title { font-size: 18px; }
  .product-page__techdata-row { grid-template-columns: minmax(0, 50%) minmax(0, 50%); }
  .product-page__techdata-name,
  .product-page__techdata-value { padding: 10px 12px; font-size: 15px; }
}

/* ── Левая колонка на вкладках, кроме «Описания» ────────────────────────
   Характеристики, полезная информация, комплектация, отзывы, вопросы и видео
   лежат на светлой плашке; галерея («Описание») остаётся без подложки. */
.product-page__info-tabs .product-page__techdata.product-page__tab--visible,
.product-page__info-tabs .product-page__panel.product-page__tab--visible {
  padding: 48px;
  border-radius: 8px;
  background: #F9F9F9;
}

@media (max-width: 991px) {
  .product-page__info-tabs .product-page__techdata.product-page__tab--visible,
  .product-page__info-tabs .product-page__panel.product-page__tab--visible {
    padding: 32px 24px;
  }
}

@media (max-width: 575px) {
  .product-page__info-tabs .product-page__techdata.product-page__tab--visible,
  .product-page__info-tabs .product-page__panel.product-page__tab--visible {
    padding: 24px 16px;
  }
}
