/* ============================================================
   МОДУЛЬНАЯ ШКАЛА: px → rem (база 15px).
   Масштабируется от html font-size: clamp(15px, 0.7vw + 4.5px, 30px)
   в bundle.css. Скругления, блюр и @media-брейкпоинты не тронуты.
   ============================================================ */
/* ============================================================
   product-page.css — Карточка товара, каталог, viewer-360, галерея, видео
   Mobile-first. Десктоп — через @media (min-width).
   Токены — алиасы --pp-* на токены bundle.css (с запасными значениями).
   ============================================================ */
/* ============================================================
   0. ТОКЕНЫ  (алиасы на токены bundle.css, с запасными значениями)
   ============================================================ */

:root {
    --pp-red:      var(--strong-red, #cd0000);
    --pp-red-dark: #b00000;
    --pp-black:    var(--black, #111111);
    --pp-white:    var(--white, #ffffff);
    --pp-gray:     var(--gray, #6e6e73);
    --pp-bg:       var(--light-gray, #f5f5f7);
    --pp-border:   var(--border, #e5e5ea);
    --pp-ease:     cubic-bezier(0.2, 0.7, 0.2, 1);
    --pp-header-h: var(--header-height, 0px);   /* высота липкой шапки сайта, если есть */
    --pp-sub-h:    3.47rem;
    --pp-pad-x:    1.33rem;

    /* BrandCards (движок читает эти переменные) */
    --bc-plate-pad:   0.93rem;
    --bc-plate-inset: 0.53rem;
}

.product-hero, .product-row, .product-lead, .product-clinic { box-sizing: border-box; }
.product-hero > *, .product-row > *, .product-lead > *, .product-clinic > * { min-width: 0; }
.slideshow__slide, .product-doc, .bc-card, .advantage-card { box-sizing: border-box; }

html { scroll-padding-top: calc(var(--pp-header-h) + var(--pp-sub-h) + 0.67rem); }


/* ============================================================
   1. PRODUCT HERO
   ============================================================ */

.product-hero {
    margin: 0;
    padding: 2.67rem 1.33rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    background: var(--pp-bg);
}

.product-hero-image img {
    width: 100%;
    max-width: 26.67rem;
    margin: 0 auto;
    border-radius: 18px;
    box-shadow: 0 1.33rem 2.67rem rgba(0, 0, 0, 0.08);
    display: block;
}

.product-hero-info h1 {
    font-size: 1.87rem;
    font-weight: 700;
    margin: 0 0 0.67rem;
    line-height: 1.2;
}

.product-hero-info h1 sup {
    font-size: 1.33rem;
    color: var(--pp-red);
}

.product-tagline {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 1rem;
    line-height: 1.4;
}

.product-short-desc {
    font-size: 1rem;
    color: var(--pp-gray);
    margin: 0 0 1.33rem;
    line-height: 1.6;
}

.product-uses {
    display: flex;
    flex-wrap: wrap;
    gap: 0.53rem;
    margin: 0 0 1.67rem;
    padding: 0;
    list-style: none;
}

.product-uses li {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.2;
    background: var(--pp-white);
    border: 1px solid var(--pp-border);
    border-radius: 999px;
}

.product-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.product-note {
    margin: 1.2rem 0 0;
    font-size: 0.8rem;
    line-height: 1.5;
    color: var(--pp-gray);
}

/* Плейсхолдер вместо 360°, пока нет кадров */
.product-visual-ph {
    position: relative;
    width: 100%;
    max-width: 26.67rem;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    border-radius: 18px;
    background: var(--pp-white);
    box-shadow: 0 1.33rem 2.67rem rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.product-visual-ph-label {
    position: absolute;
    top: 1.07rem;
    left: 1.2rem;
    font-size: 0.73rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.product-visual-ph-hint {
    position: absolute;
    left: 1.2rem;
    right: 1.2rem;
    bottom: 0.93rem;
    font-size: 0.73rem;
    text-align: center;
    color: var(--pp-gray);
}

.product-granules i {
    position: absolute;
    width: 11%;
    aspect-ratio: 1;
    border-radius: 46% 54% 52% 48%;
    background: radial-gradient(circle at 30% 28%, #fff, #dcdce0 75%);
    box-shadow: inset -3px -5px 0.53rem rgba(0, 0, 0, 0.08), 0 0.4rem 0.8rem rgba(0, 0, 0, 0.1);
    animation: productGranuleFloat 6s ease-in-out infinite;
    animation-delay: calc(var(--i) * -0.35s);
}

.product-granules { position: absolute; inset: 14% 12% 18%; }

@keyframes productGranuleFloat {
    0%, 100% { transform: translateY(0) rotate(0); }
    50%      { transform: translateY(-8px) rotate(8deg); }
}

/* Три факта под hero */
.product-facts {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.67rem;
    margin: 0;
    padding: 0 1.33rem 2.67rem;
    list-style: none;
    background: var(--pp-bg);
}

.product-facts li {
    display: grid;
    gap: 2px;
    padding: 1.07rem 1.2rem;
    background: var(--pp-white);
    border: 1px solid var(--pp-border);
    border-radius: 12px;
}

.product-facts strong { font-size: 1.2rem; font-weight: 700; line-height: 1.2; }
.product-facts span   { font-size: 0.87rem; color: var(--pp-gray); line-height: 1.4; }


/* ============================================================
   2. ПОДМЕНЮ РАЗДЕЛОВ
   ============================================================ */

.product-subnav {
    position: sticky;
    top: var(--pp-header-h);
    z-index: 20;
    height: var(--pp-sub-h);
    background: rgba(255, 255, 255, 0.92);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--pp-border);
}

.product-subnav-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    padding: 0 1.33rem;
}

.product-subnav-links {
    display: flex;
    gap: 2px;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.product-subnav-links::-webkit-scrollbar { display: none; }

.product-subnav-links a {
    flex: none;
    padding: 0.53rem 0.8rem;
    font-size: 0.87rem;
    font-weight: 600;
    color: var(--pp-gray);
    text-decoration: none;
    white-space: nowrap;
    border-radius: 999px;
    transition: background 0.2s ease, color 0.2s ease;
}

.product-subnav-links a.is-active {
    color: var(--pp-black);
    background: var(--pp-bg);
}

.product-subnav .pp-btn { display: none; }


/* ============================================================
   3. КНОПКИ И ОБЩИЕ ЭЛЕМЕНТЫ
   ============================================================ */

.pp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.53rem;
    padding: 0.93rem 1.73rem;
    font: inherit;
    font-size: 0.93rem;
    font-weight: 600;
    line-height: 1.2;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
    background: var(--pp-red);
    border: 1px solid var(--pp-red);
    border-radius: 999px;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.pp-btn--ghost {
    color: var(--pp-black);
    background: transparent;
    border-color: var(--pp-black);
}

.pp-btn--sm { padding: 0.6rem 1.07rem; font-size: 0.8rem; }

.product-section {
    margin: 0;
    padding: 2.67rem 1.33rem;
}

.product-section--gray { background: var(--pp-bg); }
.product-section--dark { background: var(--pp-black); color: var(--pp-white); }

.product-section h2 {
    font-size: 1.47rem;
    font-weight: 700;
    margin: 0 0 1.33rem;
    line-height: 1.3;
}

.product-section-sub {
    max-width: 42.67rem;
    margin: -10px 0 1.67rem;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--pp-gray);
}

.product-link {
    font-size: 0.93rem;
    font-weight: 600;
    color: var(--pp-black);
    text-decoration: none;
    border-bottom: 2px solid var(--pp-red);
}

.product-callout {
    margin: 1.33rem 0 0;
    padding: 0.93rem 1.07rem;
    font-size: 0.93rem;
    line-height: 1.5;
    background: var(--pp-bg);
    border-left: 0.2rem solid var(--pp-red);
    border-radius: 0 10px 10px 0;
}


/* ============================================================
   4. ПОКАЗАНИЯ (SlideShow)
   ============================================================ */

.product-slideshow { outline: none; }

.slideshow__view {
    overflow: hidden;
    border-radius: 18px;
}

.slideshow__track {
    display: flex;
    transition: transform 0.55s var(--pp-ease);
}

.slideshow__slide {
    position: relative;
    flex: 0 0 100%;
    min-width: 100%;
    min-height: 14.67rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 0.53rem;
    padding: 1.6rem 1.47rem;
    background: var(--pp-bg);
    border: 1px solid var(--pp-border);
    border-radius: 18px;
    transition: opacity 0.4s ease;
}

.slideshow__slide[aria-hidden="true"] { opacity: 0.35; }

.product-slide-num {
    position: absolute;
    top: 0.93rem;
    right: 1.33rem;
    font-size: 4.27rem;
    font-weight: 700;
    line-height: 1;
    color: rgba(0, 0, 0, 0.06);
}

.slideshow__slide h3 {
    max-width: 37.33rem;
    margin: 0;
    font-size: 1.47rem;
    font-weight: 700;
    line-height: 1.25;
}

.slideshow__slide p {
    max-width: 34.67rem;
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--pp-gray);
}

.slideshow__bar {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-top: 1.07rem;
}

.slideshow__dots {
    display: flex;
    flex: 1;
    flex-wrap: wrap;
    gap: 0.53rem;
}

.slideshow__dots button {
    width: 0.53rem;
    height: 0.53rem;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: var(--pp-border);
    cursor: pointer;
    transition: width 0.3s var(--pp-ease), background 0.3s ease;
}

.slideshow__dots button.is-active {
    width: 1.87rem;
    background: var(--pp-red);
}

.slideshow__count {
    font-size: 0.87rem;
    color: var(--pp-gray);
    font-variant-numeric: tabular-nums;
}

.slideshow__count b { color: var(--pp-black); }

.slideshow__arrow {
    width: 2.67rem;
    height: 2.67rem;
    padding: 0;
    font-size: 1.07rem;
    color: var(--pp-black);
    background: var(--pp-white);
    border: 1px solid var(--pp-border);
    border-radius: 50%;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.slideshow__arrow:disabled { opacity: 0.3; cursor: default; }


/* ============================================================
   5. О МАТЕРИАЛЕ И ПРЕИМУЩЕСТВА
   ============================================================ */

.product-about { display: grid; gap: 0.93rem; margin-bottom: 2rem; }

.product-about p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--pp-gray);
}

.product-advantages {
    margin: 0;
    padding: 2.67rem 1.33rem;
}

.product-advantages h2 {
    font-size: 1.47rem;
    font-weight: 700;
    margin: 0 0 1.33rem;
    line-height: 1.3;
}

.advantages-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.67rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.advantage-card {
    background: var(--pp-white);
    border: 1px solid var(--pp-border);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.67rem;
    font-size: 0.87rem;
    font-weight: 500;
    line-height: 1.3;
    transition: transform 0.2s ease;
}

.advantage-icon {
    color: var(--pp-red);
    font-weight: 700;
    font-size: 1.07rem;
    flex-shrink: 0;
}

.advantage-title {
    display: block;
    font-weight: 700;
}

.advantage-text {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.8rem;
    font-weight: 400;
    line-height: 1.4;
    color: var(--pp-gray);
}


/* ============================================================
   6. ПОЧЕМУ ИМЕННО (счётчики со шкалой нормы)
   ============================================================ */

.product-meters {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.67rem;
    margin: 0 0 2rem;
    padding: 0;
    list-style: none;
}

.product-meter {
    padding: 1.47rem 1.33rem;
    background: var(--pp-white);
    border: 1px solid var(--pp-border);
    border-radius: 14px;
}

.product-meter-value {
    display: flex;
    align-items: baseline;
    gap: 0.53rem;
    font-size: 2.93rem;
    font-weight: 700;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.product-meter-value small {
    font-size: 0.93rem;
    font-weight: 600;
    color: var(--pp-gray);
}

.product-meter h3 {
    margin: 0.8rem 0 1.07rem;
    font-size: 1rem;
    font-weight: 600;
}

/* заливка = значение, красная метка = норма ГОСТ */
.product-meter-bar {
    position: relative;
    height: 0.4rem;
    background: var(--pp-bg);
    border-radius: 6px;
}

.product-meter-fill {
    position: absolute;
    inset: 0 auto 0 0;
    width: calc(var(--p, 1) * 100%);
    background: var(--pp-black);
    border-radius: 6px;
}

.product-meter-norm {
    position: absolute;
    top: -4px;
    bottom: -4px;
    left: var(--ratio);
    width: 0.2rem;
    background: var(--pp-red);
    border-radius: 2px;
}

.product-meter-note {
    margin: 0.8rem 0 0;
    font-size: 0.8rem;
    line-height: 1.4;
    color: var(--pp-gray);
}

.product-meter-note::before {
    content: "";
    display: inline-block;
    width: 0.53rem;
    height: 0.53rem;
    margin-right: 0.47rem;
    background: var(--pp-red);
    border-radius: 2px;
}

.product-why {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.47rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.product-why li {
    padding-top: 0.93rem;
    border-top: 2px solid var(--pp-black);
}

.product-why h3 { margin: 0 0 0.4rem; font-size: 1.07rem; font-weight: 700; }
.product-why p  { margin: 0; font-size: 0.93rem; line-height: 1.6; color: var(--pp-gray); }


/* ============================================================
   7. ХАРАКТЕРИСТИКИ  (таблица — как в каталоге)
   ============================================================ */

.table-responsive {
    overflow-x: auto;
    border-radius: 10px;
    border: 1px solid var(--pp-border);
    -webkit-overflow-scrolling: touch;
}

.product-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
    background: var(--pp-white);
}

.product-table thead th {
    background: var(--pp-black);
    padding: 0.67rem 0.53rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.73rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--pp-white);
    white-space: nowrap;
}

.product-table tbody th,
.product-table tbody td {
    height: 3.2rem;
    padding: 0.4rem 0.53rem;
    border-bottom: 1px solid var(--pp-border);
    vertical-align: middle;
    text-align: left;
}

.product-table tbody th { font-weight: 500; color: var(--pp-gray); }
.product-table tbody td:nth-child(2) { font-weight: 600; }
.product-table tbody tr:last-child th,
.product-table tbody tr:last-child td { border-bottom: none; }

.product-specs .product-table { min-width: 34.67rem; }


/* ============================================================
   8. ПАРАМЕТРЫ ЛИТЬЯ + АККОРДЕОН
   ============================================================ */

.product-params {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.67rem;
    margin: 0 0 1.67rem;
    padding: 0;
    list-style: none;
}

.product-params li {
    padding: 1.07rem;
    color: var(--pp-white);
    background: var(--pp-black);
    border-radius: 12px;
}

.product-params small {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.73rem;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.65);
}

.product-params b {
    display: block;
    font-size: 1.33rem;
    font-weight: 700;
    line-height: 1.2;
}

.accordion { border-top: 1px solid var(--pp-border); }
.accordion__item { border-bottom: 1px solid var(--pp-border); }
.accordion__item > h3 { margin: 0; font-size: inherit; }

.accordion__toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.07rem;
    padding: 1.2rem 2px;
    font: inherit;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.35;
    text-align: left;
    color: inherit;
    background: none;
    border: 0;
    cursor: pointer;
}

.accordion__icon {
    position: relative;
    flex: 0 0 1.2rem;
    height: 1.2rem;
}

.accordion__icon::before,
.accordion__icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0.93rem;
    height: 2px;
    margin: -1px 0 0 -7px;
    background: currentColor;
    border-radius: 2px;
    transition: transform 0.3s var(--pp-ease);
}

.accordion__icon::after { transform: rotate(90deg); }
.accordion__item.is-open .accordion__icon::after { transform: rotate(0); }

.accordion__panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--pp-ease);
}

/* пункт, открытый при загрузке; дальше высотой управляет движок инлайном */
.accordion__item.is-open > .accordion__panel { max-height: none; }

.accordion__body {
    padding: 0 2px 1.2rem;
    font-size: 0.93rem;
    line-height: 1.7;
    color: var(--pp-gray);
}

.accordion__body p { margin: 0 0 0.67rem; }
.accordion__body p:last-child { margin-bottom: 0; }


/* ============================================================
   9. ЛИНЕЙКА  (BrandCards)
   ============================================================ */

.brands-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.67rem;
}

.bc-card {
    position: relative;
    display: block;
    min-height: 17.33rem;
    overflow: hidden;
    color: var(--pp-black);
    text-decoration: none;
    background: var(--pp-bg);
    border: 1px solid var(--pp-border);
    border-radius: 14px;
    transition: transform 0.3s var(--pp-ease), box-shadow 0.3s var(--pp-ease), background 0.3s ease;
}

.bc-card.is-current { border-color: var(--pp-red); }

.bc-card.is-current::after {
    content: "Вы здесь";
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    padding: 0.2rem 0.6rem;
    font-size: 0.67rem;
    font-weight: 700;
    color: #fff;
    background: var(--pp-red);
    border-radius: 999px;
}

.bc-card__name {
    position: absolute;
    top: 0.93rem;
    left: 0.93rem;
    right: 4.67rem;
    font-size: 1.07rem;
    font-weight: 700;
    line-height: 1.2;
}

.bc-card__base {
    position: absolute;
    top: 2.53rem;
    left: 0.93rem;
    font-size: 0.73rem;
    color: var(--pp-gray);
}

.bc-card__swatch {
    position: absolute;
    top: 4.93rem;
    left: 50%;
    width: 4.8rem;
    height: 4.8rem;
    margin-left: -36px;
    border-radius: 46% 54% 52% 48%;
    background: radial-gradient(circle at 30% 28%, #fff, var(--swatch, #dcdce0) 75%);
    box-shadow: inset -5px -7px 0.8rem rgba(0, 0, 0, 0.1), 0 0.8rem 1.33rem rgba(0, 0, 0, 0.1);
    transition: transform 0.5s var(--pp-ease);
}

.bc-card[data-tone="violet"] { --swatch: #c9b6e4; }
.bc-card[data-tone="clear"]  { --swatch: #b8dce3; }
.bc-card[data-tone="pink"]   { --swatch: #f1b9c8; }
.bc-card[data-tone="rose"]   { --swatch: #eebdbd; }
.bc-card[data-tone="tooth"]  { --swatch: #e6d6b3; }

/* плашка: высоты считает BrandCards → --bc-plate-rest-h / --bc-plate-more-h */
.bc-plate {
    position: absolute;
    left: var(--bc-plate-inset);
    right: var(--bc-plate-inset);
    bottom: var(--bc-plate-inset);
    height: var(--bc-plate-rest-h, 4.67rem);
    padding: var(--bc-plate-pad);
    overflow: hidden;
    background: var(--pp-white);
    border-radius: 10px;
    box-shadow: 0 0.4rem 1.2rem rgba(0, 0, 0, 0.08);
    transition: height 0.45s var(--pp-ease);
}

.bc-plate__rest,
.bc-plate__more {
    position: absolute;
    top: var(--bc-plate-pad);
    left: var(--bc-plate-pad);
    right: var(--bc-plate-pad);
    display: block;
    transition: opacity 0.3s ease, transform 0.4s var(--pp-ease);
}

.bc-plate__rest { font-size: 0.87rem; font-weight: 600; line-height: 1.3; }

.bc-plate__more {
    font-size: 0.8rem;
    line-height: 1.45;
    color: var(--pp-gray);
    opacity: 0;
    transform: translateY(0.53rem);
}


/* ============================================================
   10. КЛИНИЧЕСКИЕ ДАННЫЕ
   ============================================================ */

.product-clinic { display: grid; gap: 1.6rem; }

.product-chart {
    margin: 0;
    padding: 1.33rem 1.2rem 0.93rem;
    background: var(--pp-white);
    border: 1px solid var(--pp-border);
    border-radius: 14px;
}

.product-chart-bars {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
    height: 14.67rem;
    align-items: end;
}

.product-chart-col {
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 0.4rem;
    height: 100%;
    text-align: center;
}

.product-chart-val {
    font-size: 0.93rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.product-chart-bar {
    display: flex;
    align-items: flex-end;
    background: repeating-linear-gradient(0deg, transparent 0 2.6rem, var(--pp-border) 2.6rem 2.67rem);
    border-radius: 8px 8px 0 0;
}

.product-chart-bar i {
    display: block;
    width: 100%;
    min-height: 0.27rem;
    height: calc(var(--h) * var(--p, 1));
    background: var(--pp-black);
    border-radius: 8px 8px 0 0;
}

.product-chart-col:last-child .product-chart-bar i { background: var(--pp-red); }

.product-chart-lbl { font-size: 0.8rem; color: var(--pp-gray); }

.product-chart figcaption {
    margin-top: 0.8rem;
    font-size: 0.8rem;
    text-align: center;
    color: var(--pp-gray);
}

.product-points { margin: 0; padding: 0; list-style: none; }

.product-points li {
    display: grid;
    gap: 2px;
    padding: 0.8rem 0;
    font-size: 0.93rem;
    line-height: 1.5;
    border-bottom: 1px solid var(--pp-border);
}

.product-points b {
    font-size: 0.73rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--pp-red);
}

.product-quote {
    margin: 1.2rem 0 0;
    padding: 1.2rem;
    font-size: 1rem;
    font-style: italic;
    line-height: 1.6;
    background: var(--pp-bg);
    border-radius: 14px;
}

.product-quote cite {
    display: block;
    margin-top: 0.53rem;
    font-size: 0.8rem;
    font-style: normal;
    color: var(--pp-gray);
}

.product-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.67rem;
    margin: 1.6rem 0 0;
}

.product-meta div {
    padding: 0.8rem 0.93rem;
    background: var(--pp-white);
    border: 1px solid var(--pp-border);
    border-radius: 10px;
}

.product-meta dt {
    margin-bottom: 0.2rem;
    font-size: 0.67rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--pp-gray);
}

.product-meta dd { margin: 0; font-size: 0.87rem; font-weight: 600; line-height: 1.4; }


/* ============================================================
   11. ДОКУМЕНТЫ + LIGHTBOX
   ============================================================ */

.product-docs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.67rem;
}

.product-doc {
    display: grid;
    gap: 0.67rem;
    align-content: start;
    padding: 0.8rem;
    font: inherit;
    text-align: left;
    color: inherit;
    background: var(--pp-white);
    border: 1px solid var(--pp-border);
    border-radius: 14px;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-doc-page {
    position: relative;
    display: grid;
    align-content: start;
    gap: 0.4rem;
    aspect-ratio: 3 / 4;
    padding: 0.93rem 0.8rem;
    background: var(--pp-bg);
    border: 1px solid var(--pp-border);
    border-radius: 8px;
}

.product-doc-page i {
    display: block;
    height: 0.27rem;
    background: var(--pp-border);
    border-radius: 2px;
}

.product-doc-page i:nth-child(2) { width: 80%; }
.product-doc-page i:nth-child(3) { width: 92%; }
.product-doc-page i:nth-child(4) { width: 55%; }

.product-doc-page u {
    position: absolute;
    right: 0.67rem;
    bottom: 0.67rem;
    width: 2rem;
    height: 2rem;
    border: 2px solid var(--pp-red);
    border-radius: 50%;
    opacity: 0.6;
}

.product-doc-page img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 7px;
}

.product-doc-title { font-size: 0.87rem; font-weight: 600; line-height: 1.3; min-height: 2.6em; }
.product-doc-num   { font-size: 0.73rem; color: var(--pp-gray); }

/* Lightbox (DOM строит движок) */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    background: rgba(0, 0, 0, 0.88);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-overlay.is-visible { opacity: 1; }

.lightbox-stage {
    max-width: 92vw;
    max-height: 88vh;
    display: grid;
    place-items: center;
    touch-action: none;
}

.lightbox-stage > * { transform-origin: center; transition: transform 0.15s ease-out; }

.lightbox-close {
    position: absolute;
    top: 1.07rem;
    right: 1.07rem;
    width: 2.93rem;
    height: 2.93rem;
    display: grid;
    place-items: center;
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
    border: 0;
    border-radius: 50%;
    cursor: pointer;
}

.product-doc-preview {
    width: min(34.67rem, 90vw);
    padding: 1.87rem 1.6rem;
    color: var(--pp-black);
    background: var(--pp-white);
    border-radius: 12px;
}

.product-doc-preview h3 { margin: 0 0 0.4rem; font-size: 1.33rem; }
.product-doc-preview .num { margin: 0 0 1.07rem; font-weight: 600; color: var(--pp-red); }
.product-doc-preview .ph { height: 8px; margin: 10px 0; background: var(--pp-border); border-radius: 4px; }
.product-doc-preview img { max-height: 80vh; width: auto; border-radius: 6px; }


/* ============================================================
   12. ТОВАРЫ  (таблица каталога с корзиной)
   ============================================================ */

.product-tables { margin: 0; padding: 0; background: var(--pp-white); }

.product-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.33rem;
    padding: 2rem 1.33rem;
    border-top: 1px solid var(--pp-border);
    align-items: start;
}

.product-row-table h2 {
    font-size: 1.33rem;
    font-weight: 700;
    margin: 0 0 1rem;
    line-height: 1.3;
}

/* Картинка рядом с таблицей (страницы материалов) */
.product-row-image img {
    width: 100%;
    max-width: 20rem;
    margin: 0 auto;
    border-radius: 14px;
    display: block;
}

.product-table tbody td:last-child { white-space: nowrap; }

/* Строка, на которую ведёт якорь (#id) */
.product-table tbody tr:target {
    scroll-margin-top: 40vh;
    scroll-margin-bottom: 40vh;
    background: #fff5f5;
    animation: highlightRow 2s ease;
}

@keyframes highlightRow {
    0%   { background: #ffe0e0; }
    100% { background: transparent; }
}

.product-table .btn-add-to-cart {
    position: relative;
    overflow: hidden;
    padding: 0.53rem 0.8rem;
    font: inherit;
    font-size: 0.73rem;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    background: var(--pp-red);
    border: 1px solid var(--pp-red);
    border-radius: 999px;
    cursor: pointer;
    transition: opacity 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.product-table .btn-add-to-cart.removing { opacity: 0; transform: scale(0.8); }

/* Ripple при нажатии */
.product-table .btn-add-to-cart::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.product-table .btn-add-to-cart:active::after {
    width: 20rem;
    height: 20rem;
}

.product-table .product-qty-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-width: 5.33rem;
}

.product-table .product-qty-dec,
.product-table .product-qty-inc {
    width: 1.6rem;
    height: 1.6rem;
    min-width: 1.6rem;
    min-height: 1.6rem;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.93rem;
    font-weight: 600;
    color: var(--pp-black);
    background: var(--pp-white);
    border: 1px solid var(--pp-border);
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.product-table .product-qty-count {
    min-width: 1.2rem;
    font-size: 0.87rem;
    font-weight: 600;
    text-align: center;
}

.product-colors {
    margin: 0.93rem 0 0;
    font-size: 0.87rem;
    line-height: 1.5;
    color: var(--pp-gray);
}

.product-colors b { color: var(--pp-black); }


/* ============================================================
   13. ВИДЕО
   ============================================================ */

.product-video {
    margin: 0;
    padding: 2rem 1.33rem;
    text-align: center;
    background: var(--pp-bg);
}

.product-video h2 {
    font-size: 1.47rem;
    font-weight: 700;
    margin: 0 0 0.67rem;
    line-height: 1.3;
}

.product-video p {
    font-size: 1rem;
    color: var(--pp-gray);
    line-height: 1.6;
}

.product-video video {
    border-radius: 18px;
    box-shadow: 0 1.33rem 2.67rem rgba(0, 0, 0, 0.08);
    max-width: 80rem;
    width: 100%;
}


/* ============================================================
   14. ГАЛЕРЕЯ
   ============================================================ */

.product-gallery {
    position: relative;
    width: 100%;
    max-width: 32rem;
    margin: 0 auto;
}

.product-gallery-slides {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
    will-change: transform;
}

.product-gallery-slide {
    flex: 0 0 100%;
    min-width: 100%;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
}

.product-gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 18px;
    box-shadow: 0 1.33rem 2.67rem rgba(0, 0, 0, 0.08);
    user-select: none;
    -webkit-user-drag: none;
}

.product-gallery-thumbs {
    display: flex;
    gap: 0.67rem;
    justify-content: center;
    margin-top: 1.33rem;
}

.product-gallery-thumb {
    width: 3.73rem;
    height: 3.73rem;
    border: 2px solid transparent;
    border-radius: 12px;
    background: var(--pp-bg);
    padding: 0;
    cursor: pointer;
    overflow: hidden;
    transition: border-color 0.2s ease, transform 0.2s ease;
    flex-shrink: 0;
}

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

.product-gallery-thumb:hover { transform: scale(1.05); }

.product-gallery-thumb.current { border-color: var(--pp-red); }


/* ============================================================
   15. TOOLS GRID
   ============================================================ */

.tools-grid-section {
    padding: 2rem 1.33rem;
    background: var(--pp-white);
}

.tools-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.67rem;
}

.tool-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    padding: 1rem 0.67rem;
    background: var(--pp-bg);
    border: 1px solid var(--pp-border);
    border-radius: 14px;
    text-decoration: none;
    color: var(--pp-black);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.tool-card:active { transform: scale(0.96); }

.tool-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 0.33rem;
}

.tool-card-name {
    font-size: 0.93rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
}

.tool-card-count {
    font-size: 0.8rem;
    color: var(--pp-gray);
}


/* ============================================================
   16. FAQ
   ============================================================ */

.product-faq { max-width: 57.33rem; }


/* ============================================================
   17. ЗАЯВКА И МОДАЛЬНАЯ ФОРМА
   ============================================================ */

.product-lead { display: grid; gap: 1.6rem; }

.product-section--dark h2 { color: var(--pp-white); }
.product-section--dark p  { color: rgba(255, 255, 255, 0.75); }

.product-lead-text p { margin: 0 0 0.8rem; font-size: 1rem; line-height: 1.6; }
.product-lead-text .product-note { color: rgba(255, 255, 255, 0.5); }

.pp-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    min-width: 0;
}

.pp-form > .pp-field--full,
.pp-form > .pp-check,
.pp-form > .smart-captcha,
.pp-form > .pp-err[data-err="captcha"],
.pp-form > .pp-form-ok {
    grid-column: 1 / -1;
}

.pp-form > * { min-width: 0; }

.pp-form input[type="text"],
.pp-form input[type="tel"],
.pp-form input[type="email"],
.pp-form textarea {
    box-sizing: border-box;
    width: 100%;
    padding: 0.93rem 1.2rem;
    border: 1px solid var(--border, #e5e5e5);
    border-radius: var(--radius-md, 10px);
    background: var(--white, #fff);
    font-family: var(--font-family, inherit);
    font-size: var(--fs-base, 1rem);
    color: var(--black, #1a1a1a);
    resize: none;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pp-form input:focus,
.pp-form textarea:focus {
    border-color: var(--strong-red, #cd0000);
    box-shadow: 0 0 0 0.2rem rgba(205, 0, 0, 0.08);
}

.pp-form input::placeholder,
.pp-form textarea::placeholder {
    color: var(--gray, #999);
}

.pp-check {
    display: flex;
    align-items: flex-start;
    gap: 0.53rem;
    font-size: 0.8rem;
    line-height: 1.4;
    color: var(--gray, #666);
    cursor: pointer;
}

.pp-check input[type="checkbox"] {
    flex-shrink: 0;
    width: 1.07rem;
    height: 1.07rem;
    margin-top: 2px;
    accent-color: var(--strong-red, #cd0000);
}

.pp-check a {
    color: var(--strong-red, #cd0000);
    text-decoration: underline;
}

.pp-field { display: grid; gap: 0.33rem; }
.pp-field > span { font-size: 0.8rem; font-weight: 600; }
.pp-field.has-err input { border-color: #ff7b7b; }

.pp-err {
    min-height: 0;
    font-size: 0.8rem;
    font-style: normal;
    color: #ff9c9c;
}

.pp-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}


.pp-form .smart-captcha { margin: 0.27rem 0 0.4rem; }
.pp-form .smart-captcha > div,
.pp-form .smart-captcha iframe { max-width: 100%; }

@media (max-width: 640px) {
    .pp-form { grid-template-columns: 1fr; }
}


.pp-fab {
    position: fixed;
    z-index: 40;
    left: 1.07rem;
    right: 1.07rem;
    bottom: 0.93rem;
    padding: 1rem;
    box-shadow: 0 0.8rem 1.87rem rgba(0, 0, 0, 0.3);
}

.pp-fab.is-hidden { display: none; }

/* ============================================================
   18. VIEWER 360  (разметка и классы — как на каталоге)
   ============================================================ */

.viewer-360 {
    position: relative;
    width: 100%;
    max-width: 32rem;
    margin: 0 auto;
    aspect-ratio: 1 / 1;
    cursor: grab;
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
    overflow: hidden;
    border-radius: 18px;
}

.viewer-360-image { display: block; width: 100%; height: 100%; object-fit: contain; transform-origin: center; }

.viewer-360-badge {
    position: absolute;
    top: 0.93rem;
    right: 0.93rem;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.67rem;
    height: 2.67rem;
    font-size: 0.8rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: -0.02em;
    color: var(--pp-black);
    background: rgba(255, 255, 255, 0.85);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    box-shadow: 0 0.27rem 0.8rem rgba(0, 0, 0, 0.08);
    pointer-events: none;
}

.viewer-360-scrubber {
    position: absolute;
    bottom: 0.8rem;
    left: 50%;
    z-index: 4;
    width: min(70%, 17.33rem);
    height: 1.87rem;
    display: flex;
    align-items: center;
    padding: 0 0.8rem;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.35);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    box-shadow: 0 0.27rem 0.8rem rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    cursor: pointer;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
}

.viewer-360-scrubber-track {
    position: relative;
    width: 100%;
    height: 0.2rem;
    background: rgba(0, 0, 0, 0.12);
    border-radius: 2px;
    pointer-events: none;
}

.viewer-360-scrubber-knob {
    position: absolute;
    top: 50%;
    left: 0;
    width: 0.8rem;
    height: 0.8rem;
    background: var(--pp-red);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 2px 0.4rem rgba(205, 0, 0, 0.4);
    pointer-events: none;
    transition: transform 0.1s ease;
}

.viewer-360-scrubber.is-dragging .viewer-360-scrubber-knob { transform: translate(-50%, -50%) scale(1.3); }

.viewer-360-hint {
    position: absolute;
    inset: 0;
    z-index: 6;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.33rem;
    color: #fff;
    text-shadow: 0 2px 0.8rem rgba(0, 0, 0, 0.6);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.viewer-360-hint.is-visible { opacity: 1; }
.viewer-360-hint.is-hidden  { opacity: 0; }

.viewer-360-hint > svg {
    width: 3.2rem;
    height: 3.2rem;
    filter: drop-shadow(0 0.27rem 0.8rem rgba(0, 0, 0, 0.4));
    animation: viewerHintSwipe 2.2s ease-in-out infinite;
}

.viewer-360-hint-arrows svg {
    width: 3.2rem;
    height: 1.6rem;
    opacity: 0.85;
    filter: drop-shadow(0 0.27rem 0.8rem rgba(0, 0, 0, 0.4));
    animation: viewerHintArrow 2.2s ease-in-out infinite;
}

@keyframes viewerHintSwipe { 0%, 100% { transform: translateX(-40px); } 50% { transform: translateX(2.67rem); } }
@keyframes viewerHintArrow { 0%, 100% { transform: translateX(-8px); }  50% { transform: translateX(0.53rem); } }


/* ============================================================
   19. REVEAL / SCROLL  (движок пишет --p каждому ребёнку)
   ============================================================ */

.js [data-reveal] > * {
    --p: 0;
    opacity: var(--p);
    transform: translateY(calc((1 - var(--p)) * 1.6rem));
    will-change: opacity, transform;
}

.js [data-reveal="scale"] > * { transform: scale(calc(0.9 + var(--p) * 0.1)); }

/* График: бары растут вместе с --p, не двигаясь по Y */
.js .product-chart-bars[data-reveal] > * { transform: none; }

.rm [data-reveal] > * { --p: 1 !important; }


/* ============================================================
   20. HOVER / NO-HOVER
   ============================================================ */

@media (hover: hover) {

    .pp-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 0.4rem 1.33rem rgba(205, 0, 0, 0.35);
        background: var(--pp-red-dark);
        border-color: var(--pp-red-dark);
    }

    .pp-btn--ghost:hover {
        color: #fff;
        background: var(--pp-black);
        border-color: var(--pp-black);
        box-shadow: 0 0.4rem 1.33rem rgba(0, 0, 0, 0.2);
    }

    .product-subnav-links a:hover { background: var(--pp-bg); color: var(--pp-black); }

    .advantage-card { transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; }

    .advantage-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 0.8rem 1.87rem rgba(0, 0, 0, 0.08);
        border-color: transparent;
    }

    .slideshow__arrow:hover:not(:disabled) { border-color: var(--pp-red); color: var(--pp-red); }

    .product-doc:hover { transform: translateY(-4px); box-shadow: 0 0.93rem 2rem rgba(0, 0, 0, 0.1); }

    .tool-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 0.93rem 2rem rgba(0, 0, 0, 0.1);
        background: var(--pp-white);
    }

    .accordion__toggle:hover { color: var(--pp-red); }

    .bc-card:hover,
    .bc-card:focus-visible {
        transform: translateY(-4px);
        box-shadow: 0 0.93rem 2rem rgba(0, 0, 0, 0.1);
        background: var(--pp-white);
    }

    .bc-card:hover .bc-card__swatch { transform: translateY(-6px) rotate(10deg) scale(1.05); }

    .bc-card:hover .bc-plate,
    .bc-card:focus-visible .bc-plate { height: var(--bc-plate-more-h, 9.33rem); }

    .bc-card:hover .bc-plate__rest,
    .bc-card:focus-visible .bc-plate__rest { opacity: 0; transform: translateY(-8px); }

    .bc-card:hover .bc-plate__more,
    .bc-card:focus-visible .bc-plate__more { opacity: 1; transform: none; }

    .product-table .btn-add-to-cart:hover {
        transform: translateY(-3px);
        box-shadow: 0 0.4rem 1.33rem rgba(205, 0, 0, 0.35);
        background: var(--pp-red-dark);
    }

    .product-table .product-qty-dec:hover,
    .product-table .product-qty-inc:hover {
        transform: scale(1.2);
        border-color: var(--pp-red);
        color: var(--pp-red);
        box-shadow: 0 0.27rem 0.8rem rgba(205, 0, 0, 0.2);
    }

    .product-table tbody tr { transition: background 0.15s ease; }
    .product-table tbody tr:hover:not(:target) { background: rgba(0, 0, 0, 0.03); }
}

@media (hover: none) {

    /* на сенсорных экранах плашка карточки линейки раскрыта сразу */
    .bc-plate { height: var(--bc-plate-more-h, 9.33rem); }
    .bc-plate__rest { opacity: 0; }
    .bc-plate__more { opacity: 1; transform: none; }

    .pp-btn:active { transform: scale(0.97); }

    .product-table .product-qty-dec:active,
    .product-table .product-qty-inc:active {
        transform: scale(0.85);
        background: var(--pp-red);
        color: #fff;
        transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
    }
}


/* ============================================================
   21. МЕДИА-ЗАПРОСЫ
   ============================================================ */

/* ----- Tablet ≥ 51.2rem ----- */

@media (min-width: 768px) {

    :root { --pp-pad-x: 2.67rem; --pp-sub-h: 3.73rem; }

    .product-hero {
        grid-template-columns: 1fr 1fr;
        gap: 2.67rem;
        padding: 4rem 2.67rem;
    }

    .product-hero-info h1 { font-size: 2.4rem; }

    .product-facts {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
        padding: 0 2.67rem 4rem;
    }

    .product-subnav-inner { padding: 0 2.67rem; }
    .product-subnav .pp-btn { display: inline-flex; flex: none; }

    .product-section { padding: 4rem 2.67rem; }
    .product-section h2 { font-size: 1.73rem; }

    .slideshow__slide { min-height: 17.33rem; padding: 2.27rem 2.13rem; }
    .slideshow__slide h3 { font-size: 1.87rem; }
    .slideshow__slide p { font-size: 1.07rem; }
    .product-slide-num { font-size: 6.4rem; right: 2rem; }

    .product-about { grid-template-columns: 1fr 1fr; gap: 2rem; }

    .product-advantages { padding: 4rem 2.67rem; }
    .advantages-grid { grid-template-columns: repeat(4, 1fr); gap: 1rem; }

    .product-meters { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
    .product-meter-value { font-size: 3.2rem; }
    .product-why { grid-template-columns: repeat(3, 1fr); gap: 2rem; }

    .product-table { font-size: 0.87rem; }

    .product-table thead th { padding: 0.8rem 0.93rem; font-size: 0.8rem; }

    .product-table tbody th,
    .product-table tbody td { padding: 0.67rem 0.93rem; }

    .product-params { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
    .product-params li { padding: 1.33rem; }
    .product-params b { font-size: 1.6rem; }

    .brands-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; }

    .product-clinic { grid-template-columns: 1.1fr 1fr; gap: 2rem; align-items: start; }
    .product-meta { grid-template-columns: repeat(4, 1fr); }

    .product-docs { grid-template-columns: repeat(3, 1fr); gap: 1rem; }

    .product-row {
        grid-template-columns: 1fr;
        gap: 2.67rem;
        padding: 2.67rem;
    }

    .product-row-table h2 { font-size: 1.6rem; }

    /* Строки с картинкой (страницы материалов): фото + таблица в две колонки */
    .product-row:has(.product-row-image) {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }

    /* Tools */
    .tools-grid-section { padding: 2.67rem; }
    .tools-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; }

    .product-lead { grid-template-columns: 1fr 1fr; gap: 2.67rem; align-items: center; }
    .pp-form { grid-template-columns: 1fr 1fr; }
    .pp-field--full,
    .pp-check,
    .pp-form .pp-btn { grid-column: 1 / -1; }
 
    .pp-fab { display: none; }
}


/* ----- Desktop ≥ 68.27rem ----- */

@media (min-width: 1024px) {

    /* Единый «контейнер»: фон секций остаётся на всю ширину,
       а контент центрируется и не шире 80rem (минимум 2.67rem по бокам). */
    :root { --pp-pad-x: max(2.67rem, calc((100% - 80rem) / 2)); }

    .product-hero,
    .product-facts,
    .product-subnav-inner,
    .product-section,
    .product-advantages,
    .product-video,
    .tools-grid-section,
    .product-row {
        padding-left: var(--pp-pad-x);
        padding-right: var(--pp-pad-x);
    }

    /* Hero */
    .product-hero {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
        padding-top: 5.33rem;
        padding-bottom: 5.33rem;
        gap: 5.33rem;
    }

    .product-hero-image img,
    .product-visual-ph {
        max-width: 37.33rem;
        border-radius: 24px;
        box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.1);
    }

    /* Вьюер 360°: тень на контейнере (внутри overflow:hidden она бы обрезалась) */
    .product-hero-image .viewer-360 { box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.1); }

    .product-hero-image .viewer-360-image {
        max-width: none;
        border-radius: 0;
        box-shadow: none;
    }

    .product-hero-info { max-width: 34.67rem; }

    .product-hero-info h1 {
        font-size: 2.93rem;
        line-height: 1.1;
        letter-spacing: -0.02em;
        margin-bottom: 1.07rem;
    }

    .product-hero-info h1 sup { font-size: 1.6rem; }

    .product-tagline { font-size: 1.47rem; margin-bottom: 1.33rem; }

    .product-short-desc { font-size: 1.13rem; line-height: 1.7; margin-bottom: 1.6rem; }

    .product-uses li { font-size: 0.87rem; padding: 0.47rem 0.93rem; }
    .product-uses { margin-bottom: 2.4rem; }

    .product-actions { gap: 1.07rem; }
    .pp-btn { padding: 1.07rem 2.13rem; font-size: 1rem; }
    .pp-btn--sm { padding: 0.67rem 1.33rem; font-size: 0.87rem; }

    .product-facts { gap: 1.33rem; padding-bottom: 5.33rem; }
    .product-facts li { padding: 22px 24px; border-radius: 16px; }
    .product-facts strong { font-size: 1.47rem; }
    .product-facts span { font-size: 0.93rem; }

    .product-subnav-links a { font-size: 0.93rem; padding: 0.53rem 0.93rem; }

    /* Секции */
    .product-section { padding-top: 6rem; padding-bottom: 6rem; }

    .product-section h2 {
        font-size: 2.27rem;
        letter-spacing: -0.01em;
        margin-bottom: 2.67rem;
    }

    .product-section-sub { font-size: 1.13rem; margin: -24px 0 2.67rem; }

    .slideshow__slide { min-height: 320px; padding: 48px 56px; border-radius: 24px; }
    .slideshow__view { border-radius: 24px; }
    .slideshow__slide h3 { font-size: 2.4rem; letter-spacing: -0.01em; }
    .slideshow__slide p { font-size: 1.2rem; }
    .product-slide-num { font-size: 8.53rem; }
    .slideshow__bar { margin-top: 1.6rem; gap: 1.07rem; }
    .slideshow__arrow { width: 3.2rem; height: 3.2rem; font-size: 1.2rem; }

    .product-about { gap: 4rem; margin-bottom: 4rem; }
    .product-about p { font-size: 1.13rem; line-height: 1.75; }

    /* Advantages */
    .product-advantages { padding-top: 6rem; padding-bottom: 6rem; }

    .product-advantages h2 {
        font-size: 2.27rem;
        letter-spacing: -0.01em;
        margin-bottom: 2.67rem;
    }

    .advantages-grid { gap: 1.33rem; }

    .advantage-card {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 0.93rem;
        min-height: 10rem;
        padding: 1.73rem 1.6rem;
        font-size: 1.07rem;
        line-height: 1.4;
        border-radius: 16px;
    }

    .advantage-icon { font-size: 1.33rem; }
    .advantage-text { font-size: 0.93rem; }

    /* Meters */
    .product-meters { gap: 1.33rem; margin-bottom: 4rem; }
    .product-meter { padding: 32px 30px; border-radius: 18px; }
    .product-meter-value { font-size: 4.27rem; }
    .product-meter-value small { font-size: 1.2rem; }
    .product-meter h3 { font-size: 1.13rem; margin: 1.07rem 0 1.47rem; }
    .product-meter-bar { height: 0.53rem; }
    .product-meter-note { font-size: 0.87rem; }

    .product-why { gap: 3.33rem; }
    .product-why h3 { font-size: 1.27rem; }
    .product-why p { font-size: 1rem; }

    /* Tables */
    .table-responsive {
        border-radius: 14px;
        box-shadow: 0 0.53rem 1.6rem rgba(0, 0, 0, 0.04);
    }

    .product-table { font-size: 0.93rem; }

    .product-table thead th {
        padding: 1.07rem 1.33rem;
        font-size: 0.8rem;
        letter-spacing: 0.08em;
    }

    .product-table tbody th,
    .product-table tbody td {
        height: 3.73rem;
        padding: 0.8rem 1.33rem;
    }

    .product-table tbody tr:nth-child(even):not(:hover):not(:target) { background: rgba(0, 0, 0, 0.015); }

    .product-specs .product-table tbody th { width: 34%; }

    .product-table .btn-add-to-cart { padding: 0.67rem 1.2rem; font-size: 0.8rem; }
    .product-table .product-qty-controls { gap: 0.67rem; min-width: 6.67rem; }

    .product-table .product-qty-dec,
    .product-table .product-qty-inc {
        width: 1.87rem;
        height: 1.87rem;
        min-width: 1.87rem;
        min-height: 1.87rem;
    }

    .product-table .product-qty-count { font-size: 0.93rem; }

    /* Params + accordion */
    .product-params { gap: 1.33rem; margin-bottom: 2.67rem; }
    .product-params li { padding: 26px 24px; border-radius: 16px; }
    .product-params small { font-size: 0.87rem; }
    .product-params b { font-size: 2rem; }

    .accordion__toggle { padding: 1.6rem 0.27rem; font-size: 1.2rem; }
    .accordion__body { font-size: 1.07rem; padding: 0 0.27rem 1.6rem; }

    /* Линейка */
    .brands-grid { grid-template-columns: repeat(5, 1fr); gap: 1.33rem; }
    .bc-card { min-height: 340px; border-radius: 18px; }
    .bc-card__name { font-size: 1.2rem; top: 1.2rem; left: 1.2rem; }
    .bc-card__base { top: 2.93rem; left: 1.2rem; font-size: 0.8rem; }
    .bc-card__swatch { top: 6.13rem; width: 6.13rem; height: 6.13rem; margin-left: -46px; }
    .bc-plate { border-radius: 12px; }
    .bc-plate__rest { font-size: 0.93rem; }
    .bc-plate__more { font-size: 0.87rem; }

    /* Клиника */
    .product-clinic { gap: 4rem; }
    .product-chart { padding: 28px 28px 20px; border-radius: 18px; }
    .product-chart-bars { height: 20rem; gap: 1.2rem; }
    .product-chart-val { font-size: 1.2rem; }
    .product-chart-lbl { font-size: 0.93rem; }
    .product-chart-bar { background: repeating-linear-gradient(0deg, transparent 0 3.27rem, var(--pp-border) 3.27rem 3.33rem); }
    .product-points li { font-size: 1.07rem; padding: 1.07rem 0; }
    .product-quote { font-size: 17px; padding: 24px; border-radius: 18px; }
    .product-meta { gap: 1rem; margin-top: 2.67rem; }
    .product-meta dd { font-size: 0.93rem; }

    /* Документы */
    .product-docs { grid-template-columns: repeat(5, 1fr); gap: 1.33rem; }
    .product-doc { padding: 16px; border-radius: 18px; }
    .product-doc-title { font-size: 0.93rem; }
    .product-doc-num { font-size: 0.8rem; }

    /* Rows (корзина) */
    .product-row {
        padding-top: 5.33rem;
        padding-bottom: 5.33rem;
    }

    .product-row-table h2 {
        font-size: 2rem;
        letter-spacing: -0.01em;
        margin-bottom: 1.6rem;
    }

    /* Строки с картинкой: фото уже, таблица шире; чётные строки зеркалятся */
    .product-row:has(.product-row-image) {
        grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
        gap: 4.67rem;
        min-height: 32rem;
    }

    .product-row:has(.product-row-image):nth-child(even) {
        grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    }

    .product-row:has(.product-row-image):nth-child(even) .product-row-image {
        order: 2;
    }

    .product-row-image img {
        max-width: 28rem;
        border-radius: 20px;
    }

    /* Video */
    .product-video { padding-top: 6rem; padding-bottom: 6rem; }

    .product-video h2 {
        font-size: 2.27rem;
        letter-spacing: -0.01em;
        margin-bottom: 0.93rem;
    }

    .product-video p {
        font-size: 1.13rem;
        max-width: 42.67rem;
        margin: 0 auto;
    }

    /* Расстояние между текстом и видео */
    .product-video p + video { margin-top: 2.4rem; }

    .product-video video {
        max-width: 66.67rem;
        border-radius: 24px;
        box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.1);
    }

    /* Tools */
    .tools-grid-section { padding-top: 4.67rem; padding-bottom: 4.67rem; }
    .tools-grid { grid-template-columns: repeat(4, 1fr); gap: 1.6rem; }
    .tool-card { padding: 22px 18px; gap: 8px; border-radius: 18px; }
    .tool-card-name { font-size: 1.07rem; }
    .tool-card-count { font-size: 0.87rem; }

    /* FAQ / заявка */
    .product-lead { gap: 5.33rem; }
    .product-lead-text p { font-size: 1.13rem; }
    .pp-form input[type="text"],
    .pp-form input[type="tel"],
    .pp-form input[type="email"],
    .pp-form textarea { padding: 14px 16px; border-radius: 12px; }

    /* Галерея / viewer-360 */
    .product-gallery,
    .viewer-360 { max-width: 37.33rem; }

    .viewer-360 { border-radius: 24px; }

    .product-gallery-slide img {
        border-radius: 24px;
        box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.1);
    }

    .product-gallery-thumbs { gap: 0.8rem; margin-top: 1.6rem; }
    .product-gallery-thumb { width: 4.8rem; height: 4.8rem; }
}


/* ----- Wide ≥ 96rem ----- */

@media (min-width: 1440px) {

    :root { --pp-pad-x: max(2.67rem, calc((100% - 88rem) / 2)); }

    .product-hero-info h1 { font-size: 3.47rem; }

    .product-hero-image img,
    .product-visual-ph { max-width: 41.33rem; }

    .product-gallery,
    .viewer-360 { max-width: 41.33rem; }

    .tools-grid { grid-template-columns: repeat(5, 1fr); }
}


/* ============================================================
   22. REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {

    html { scroll-behavior: auto; }

    .viewer-360-scrubber-knob { transition: none; }

    .viewer-360-hint > svg,
    .viewer-360-hint-arrows svg,
    .product-granules i { animation: none; }

    .advantage-card,
    .tool-card,
    .product-doc,
    .bc-card,
    .product-table tbody tr,
    .slideshow__track,
    .accordion__panel,
    .bc-plate { transition: none; }
}


/* ============================================================
   23. СЕЛЕКТОР ВАРИАЦИЙ ТОВАРА  (variation-selector.js)
   Блок «Купить»: картинка слева, селекторы справа.
   Блок самодостаточный: свои media-запросы и reduced-motion — при переносе копируется целиком.
   ============================================================ */

.product-buy { scroll-margin-top: calc(var(--pp-header-h) + var(--pp-sub-h)); }

.vs {
    display: grid;
    grid-template-columns: 1fr;
    overflow: hidden;
    overflow: clip;
    background: var(--pp-white);
    border: 1px solid var(--pp-border);
    border-radius: 18px;
}

.vs > * { min-width: 0; }

.vs-fallback { padding: 1.6rem 1.33rem; font-size: 1rem; line-height: 1.6; color: var(--pp-gray); }

/* ----- картинка ----- */

.vs-visual {
    --vs-tone: #e5e5ea;
    --vs-w: 1;
    --vs-h: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 1.33rem;
    background: radial-gradient(circle at 50% 38%, #fff 0, var(--pp-bg) 70%);
}

.vs-frame {
    position: relative;
    width: 100%;
    max-width: 21.33rem;
    aspect-ratio: 1 / 1;
}

.vs-stage {
    position: absolute;
    inset: 0 0 2.4rem;
    display: grid;
    place-items: center;
}

.vs-photo {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: calc(100% - 2.4rem);
    object-fit: contain;
    transition: opacity 0.18s ease;
    animation: vsPhoto 0.4s ease;
}

.vs-photo.is-swap { opacity: 0; }

@keyframes vsPhoto { from { opacity: 0; } }

.vs-visual.has-photo .vs-stage { visibility: hidden; }

.vs-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    font-size: 0.87rem;
    font-weight: 600;
    line-height: 2.4rem;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--pp-gray);
}

/* общий вид «пластика»: тон + блик */
.vs-jar, .vs-cart, .vs-disc { position: relative; display: block; transition: transform 0.45s var(--pp-ease); }

.vs-visual.is-empty .vs-jar,
.vs-visual.is-empty .vs-cart,
.vs-visual.is-empty .vs-disc { filter: grayscale(0.6); opacity: 0.8; }

.vs-body, .vs-tube, .vs-disc-top, .vs-disc-side {
    display: block;
    background:
        linear-gradient(100deg, rgba(255, 255, 255, 0.55) 0, rgba(255, 255, 255, 0) 38%, rgba(0, 0, 0, 0.1) 100%),
        var(--vs-tone);
    transition: background-color 0.4s ease, width 0.45s var(--pp-ease), height 0.45s var(--pp-ease);
}

.vs-visual.is-clear .vs-body,
.vs-visual.is-clear .vs-tube,
.vs-visual.is-clear .vs-disc-top,
.vs-visual.is-clear .vs-disc-side {
    background:
        linear-gradient(100deg, rgba(255, 255, 255, 0.85) 0, rgba(255, 255, 255, 0.1) 40%, rgba(0, 0, 0, 0.06) 100%),
        color-mix(in srgb, var(--vs-tone) 55%, transparent);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

/* банка */
.vs-jar { width: calc(8.67rem * var(--vs-w)); }
.vs-lid { display: block; height: 22px; margin: 0 8%; background: var(--pp-black); border-radius: 8px 8px 3px 3px; }
.vs-jar .vs-body { height: calc(130px * var(--vs-h)); border-radius: 8px 8px 22px 22px; box-shadow: 0 14px 22px rgba(0, 0, 0, 0.14); }

/* картридж */
.vs-cart { width: calc(7.33rem * var(--vs-w)); }
.vs-plunger { display: block; width: 40%; height: 16px; margin: 0 auto; background: var(--pp-black); border-radius: 4px 4px 0 0; }
.vs-tube { height: calc(150px * var(--vs-h)); border-radius: 6px 6px 26px 26px; box-shadow: 0 14px 22px rgba(0, 0, 0, 0.14); }

/* диск CAD/CAM */
.vs-disc { width: 12.67rem; }
.vs-disc-top { height: 70px; border-radius: 50%; position: relative; z-index: 1; }
.vs-disc-side { height: calc(60px * var(--vs-h)); margin-top: calc(-35px); border-radius: 0 0 50% 50% / 0 0 40px 40px; box-shadow: 0 16px 22px rgba(0, 0, 0, 0.14); }

/* ----- панель выбора ----- */

.vs-panel { display: grid; align-content: start; gap: 1.47rem; padding: 1.6rem 1.33rem; }

.vs-groups { display: grid; gap: 1.2rem; }

.vs-group { min-width: 0; margin: 0; padding: 0; border: 0; }
.vs-group.is-new { animation: vsIn 0.35s var(--pp-ease); }
.vs-group--dim { padding-left: 0.93rem; border-left: 2px solid var(--pp-border); }

@keyframes vsIn { from { opacity: 0; transform: translateY(0.53rem); } }

.vs-label {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.4rem 0.67rem;
    margin: 0 0 0.67rem;
    padding: 0;
    font-size: 0.73rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--pp-gray);
}

.vs-picked { font-size: 0.87rem; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--pp-black); }

.vs-options { display: flex; flex-wrap: wrap; gap: 0.53rem; }

.vs-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.53rem;
    padding: 0.6rem 0.93rem;
    font: inherit;
    font-size: 0.87rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--pp-black);
    background: var(--pp-white);
    border: 1px solid var(--pp-border);
    border-radius: 999px;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.vs-chip small { font-size: 0.73rem; font-weight: 500; color: var(--pp-gray); }

.vs-chip.is-on { color: #fff; background: var(--pp-black); border-color: var(--pp-black); }
.vs-chip.is-on small { color: rgba(255, 255, 255, 0.7); }

.vs-chip.is-unavailable {
    opacity: 0.4;
    text-decoration: line-through;
    border-style: dashed;
    cursor: not-allowed;
}

.vs-chip:focus-visible { outline: 2px solid var(--pp-red); outline-offset: 2px; }

.vs-dot {
    flex: none;
    width: 0.93rem;
    height: 0.93rem;
    background: var(--vs-tone);
    border-radius: 50%;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15);
}

.vs-chip.is-clear .vs-dot {
    background: linear-gradient(135deg, #fff 0 45%, var(--vs-tone) 45% 100%);
}

/* ----- итог и кнопки ----- */

.vs-result { display: grid; gap: 0.93rem; padding-top: 1.2rem; border-top: 1px solid var(--pp-border); }

.vs-summary { min-height: 2.93rem; }
.vs-sku-title { margin: 0 0 0.27rem; font-size: 1.07rem; font-weight: 700; line-height: 1.3; }
.vs-sku-meta { margin: 0; font-size: 0.87rem; color: var(--pp-gray); }
.vs-sku-meta b { color: var(--pp-black); }
.vs-sku-hint { margin: 0; font-size: 0.93rem; color: var(--pp-gray); }

.vs-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.67rem; }

.vs-actions > .pp-btn { flex: 1 1 10.67rem; }

/* количество в корзине: занимает место кнопки «В корзину» (как в таблицах каталога) */
.vs-slot { display: flex; flex: 1 1 10.67rem; min-width: 0; }
.vs-slot > .pp-btn { flex: 1; }

.vs-qty {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.67rem;
    min-height: 3.2rem;
    padding: 0.27rem;
    box-sizing: border-box;
    background: var(--pp-white);
    border: 1px solid var(--pp-red);
    border-radius: 999px;
    animation: vsQtyIn 0.25s ease;
}

@keyframes vsQtyIn { from { opacity: 0; transform: scale(0.9); } }

.vs-qty-btn {
    width: 2.53rem;
    height: 2.53rem;
    padding: 0;
    font: inherit;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1;
    color: var(--pp-black);
    background: var(--pp-white);
    border: 1px solid var(--pp-border);
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.vs-qty-count { min-width: 1.6rem; font-size: 1.07rem; font-weight: 700; text-align: center; font-variant-numeric: tabular-nums; }

@media (hover: hover) {
    .vs-qty-btn:hover { transform: scale(1.12); border-color: var(--pp-red); color: var(--pp-red); box-shadow: 0 0.27rem 0.8rem rgba(205, 0, 0, 0.2); }
}

@media (hover: none) {
    .vs-qty-btn:active { transform: scale(0.88); background: var(--pp-red); border-color: var(--pp-red); color: #fff; }
}

.vs-cta:disabled,
.vs-cta[aria-disabled="true"] { opacity: 0.4; cursor: not-allowed; transform: none; box-shadow: none; }

.vs-reset {
    padding: 0.53rem 0.27rem;
    font: inherit;
    font-size: 0.8rem;
    color: var(--pp-gray);
    text-decoration: underline;
    background: none;
    border: 0;
    cursor: pointer;
}

@media (hover: hover) {
    .vs-chip:not(.is-on):not(.is-unavailable):hover { border-color: var(--pp-black); }
    .vs-reset:hover { color: var(--pp-red); }
}

@media (min-width: 768px) {
    /* картинка слева, селектор справа */
    .vs { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); border-radius: 22px; }
    .vs-visual { padding: 2.13rem 1.6rem; }
    .vs-frame { max-width: 29.33rem; position: sticky; top: calc(var(--pp-header-h) + var(--pp-sub-h) + 1.6rem); }
    .vs-panel { padding: 2.13rem 2rem; }
    .vs-actions > .pp-btn { flex: 0 1 auto; }
    .vs-slot { flex: 0 1 14.67rem; }
}

@media (min-width: 1024px) {
    .vs { border-radius: 24px; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06); }
    .vs-visual { padding: 3.2rem 2.13rem; }
    .vs-frame { max-width: 32rem; }
    .vs-jar { width: calc(11.33rem * var(--vs-w)); }
    .vs-lid { height: 1.87rem; }
    .vs-jar .vs-body { height: calc(11.33rem * var(--vs-h)); }
    .vs-cart { width: calc(9.33rem * var(--vs-w)); }
    .vs-tube { height: calc(13.33rem * var(--vs-h)); }
    .vs-disc { width: 16.67rem; }
    .vs-disc-top { height: 6.13rem; }
    .vs-disc-side { height: calc(5.33rem * var(--vs-h)); margin-top: -46px; }
    .vs-panel { gap: 1.73rem; padding: 2.93rem 3.2rem; }
    .vs-groups { gap: 1.47rem; }
    .vs-chip { padding: 0.67rem 1.2rem; font-size: 0.93rem; }
    .vs-sku-title { font-size: 1.33rem; }
}

@keyframes vsRise { from { opacity: 0; transform: translateY(1.07rem); } }
@keyframes vsFade { from { opacity: 0; transform: translateY(0.27rem); } }

/* до появления блока на экране части скрыты, затем выезжают по очереди */
.vs--hold .vs-frame,
.vs--hold .vs-group,
.vs--hold .vs-result { opacity: 0; }

.vs--intro .vs-frame  { animation: vsRise 0.7s var(--pp-ease) both; }
.vs--intro .vs-group  { animation: vsRise 0.6s var(--pp-ease) both; }
.vs--intro .vs-group:nth-child(2) { animation-delay: 0.08s; }
.vs--intro .vs-group:nth-child(3) { animation-delay: 0.16s; }
.vs--intro .vs-group:nth-child(4) { animation-delay: 0.24s; }
.vs--intro .vs-result { animation: vsRise 0.6s var(--pp-ease) 0.32s both; }

/* при смене варианта плавно меняется подпись артикула и выбранное значение */
.vs-summary > * { animation: vsFade 0.3s ease; }
.vs-picked { animation: vsFade 0.3s ease; }

@media (prefers-reduced-motion: reduce) {
    .vs-group.is-new { animation: none; }
    .vs-jar, .vs-cart, .vs-disc, .vs-body, .vs-tube, .vs-disc-top, .vs-disc-side, .vs-chip { transition: none; }
    .vs--hold .vs-frame, .vs--hold .vs-group, .vs--hold .vs-result { opacity: 1; }
    .vs--intro .vs-frame, .vs--intro .vs-group, .vs--intro .vs-result,
    .vs-summary > *, .vs-picked, .vs-photo { animation: none; }
}


.pp-modal h2 { margin: 0 0 0.67rem; padding-right: 2.13rem; font-size: 1.6rem; }
.pp-modal-sub { margin: 0 0 1.6rem; color: var(--pp-gray); font-size: 0.93rem; line-height: 1.5; }
.pp-form-ok { margin: 0; color: inherit; }

@media (min-width: 768px) {
    .product-section .instructions-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
}

@media (hover: hover) {
    .product-section .instruction-card:hover {
        border-color: var(--pp-red);
        box-shadow: 0 0.8rem 2rem rgba(0, 0, 0, 0.08);
        transform: translateY(-3px);
    }
}

@media (hover: hover) and (pointer: fine) {
    .brands-grid .bc-card:not(:hover):not(:focus-visible) .bc-plate {
        height: max(var(--bc-plate-rest-h, 4.67rem), 5.2rem);
        min-height: 5.2rem;
    }

    .brands-grid .bc-card:not(:hover):not(:focus-visible) .bc-plate__rest {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .brands-grid .bc-card:not(:hover):not(:focus-visible) .bc-plate__more {
        opacity: 0;
        visibility: hidden;
    }
}