/*
 * Страница товара (front/pages/item-page.blade.php, js/product-page.js). Подключается после main.css (стек styles-late).
 * Верх: фото | оценка, код, коротко о характеристиках, раздел и подборки | блок покупки, доставка и самовывоз;
 * ниже — описание, характеристики, аналоги, отзывы, популярные в категории; при прокрутке — панель с ценой и «В корзину»
 * (компьютер — под шапкой сайта, телефон — снизу).
 * Старые классы (.add-to-cart-block, .cart-club, .price-add-to, .check-if-aval, .one_c_code, .big-image, .items) оставлены
 * ради расширения «Veritan» и карусели как на главной — их прежние стили из main.css здесь где нужно перекрыты.
 */
.pp { padding-bottom: 40px; color: #303030; }
.pp .pp-title { margin: 4px 0 20px; font-size: 28px; line-height: 34px; font-weight: 700; color: #303030; }

/* ── верх: сетка (в разметке фото — последним, на экране — слева) ── */
.pp-top { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr) 300px; grid-template-rows: auto auto 1fr;
    grid-template-areas: "gallery meta side" "gallery brief side" "gallery links side"; gap: 0 32px; align-items: start; }
.pp-gallery { grid-area: gallery; }
.pp-meta { grid-area: meta; }
.pp-brief { grid-area: brief; margin-top: 18px; }
.pp-links { grid-area: links; }
.pp-side { grid-area: side; }

/* стрелка «›» у ссылок */
.pp-chev { flex: 0 0 auto; width: 7px; height: 11px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round;
    stroke-linejoin: round; transition: transform .15s; }

/* оценка и код: есть отзывы — «N отзывов» синим; нет — только серые звёзды */
.pp-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; }
.pp-rating { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; line-height: 20px; text-decoration: none !important; }
.pp-rating-text { color: #1C3697; font-weight: 600; }
@media (hover: hover) {
    .pp-rating:hover .pp-rating-text { text-decoration: underline; }
}
.pp-rating:focus { outline: none; }
.pp-rating:focus-visible { box-shadow: 0 0 0 2px #303030; border-radius: 4px; }
.pp-code-wrap { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; }
.pp .pp-code { margin: 0; color: #787878; font-size: 14px; line-height: 20px; text-align: left; }
.pp-copy { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; padding: 0; border: 0;
    border-radius: 6px; background: transparent; cursor: pointer; transition: background-color .15s; }
.pp-copy svg { width: 15px; height: 15px; fill: none; stroke: #9A9A9A; stroke-width: 1.4; }
@media (hover: hover) {
    .pp-copy:hover { background: #F0F2F4; }
    .pp-copy:hover svg { stroke: #303030; }
}
.pp-copy:focus { outline: none; }
.pp-copy:focus-visible { box-shadow: 0 0 0 2px #303030; }
.pp-badges { display: flex; flex-wrap: wrap; gap: 6px; width: 100%; }
.pp-badge { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border-radius: 6px; font-size: 13px;
    font-weight: 800; line-height: 1; white-space: nowrap; }
/* скидка — яркой плашкой с огоньком (так же на карточках товаров, product-cards.css) */
.pp-badge.is-sale { border-radius: 13px; background: linear-gradient(90deg, #FF8A00 0%, #F2441D 55%, #DD2C01 100%); color: #fff;
    box-shadow: 0 2px 8px rgba(221, 44, 1, .25); }
.pp-badge.is-sale svg { flex: 0 0 13px; width: 13px; height: 13px; fill: #fff; }
.pp-badge.is-new { background: #E7F7EE; color: #1E9E4A; text-transform: uppercase; }
.pp-lead { width: 100%; margin: 4px 0 0; font-size: 15px; line-height: 22px; color: #4F4F4F; }

/* звёзды: серые и поверх — жёлтые на ширину оценки */
.pp-stars { position: relative; display: inline-block; flex: 0 0 auto; line-height: 0; vertical-align: middle; }
.pp-stars-back, .pp-stars-front { display: flex; gap: 2px; white-space: nowrap; }
.pp-stars-front { position: absolute; top: 0; left: 0; overflow: hidden; }
.pp-stars svg { flex: 0 0 16px; width: 16px; height: 16px; }
.pp-stars-back svg { fill: #DCDFE3; }
.pp-stars-front svg { fill: #FEDC29; }
.pp-stars.is-small svg { flex-basis: 13px; width: 13px; height: 13px; }
.pp-stars.is-big svg { flex-basis: 22px; width: 22px; height: 22px; }

/* коротко о характеристиках: «Название ……… значение» */
.pp-brief-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.pp-brief-title { flex: 1 1 auto; min-width: 0; font-size: 18px; line-height: 24px; font-weight: 700; }
/* «Описание ›» — не сжимается (раньше кнопку «съедало» на узких экранах) */
.pp-pill { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px 0 14px; border-radius: 8px;
    background: #F0F2F4; color: #303030; font-size: 14px; font-weight: 600; white-space: nowrap; text-decoration: none;
    transition: background-color .15s; }
@media (hover: hover) {
    .pp-pill:hover { background: #E4E7EA; color: #303030; text-decoration: none; }
    .pp-pill:hover .pp-chev { transform: translateX(2px); }
}
.pp-pill:focus { outline: none; }
.pp-pill:focus-visible { box-shadow: 0 0 0 2px #303030; }
.pp-dl { margin: 0; }
.pp-dl-row { display: flex; align-items: baseline; gap: 6px; padding: 5px 0; font-size: 14px; line-height: 20px; break-inside: avoid; }
.pp-dl dt { display: flex; align-items: baseline; flex: 1 1 auto; min-width: 0; margin: 0; font-weight: 400; color: #787878; }
.pp-dl dt span { flex: 0 1 auto; }
.pp-dl dt::after { content: ''; flex: 1 1 auto; min-width: 16px; margin-left: 6px; border-bottom: 1px dotted #C4C8CD; transform: translateY(-4px); }
.pp-dl dd { flex: 0 1 auto; max-width: 55%; margin: 0; color: #303030; text-align: right; overflow-wrap: anywhere; }
/* «Все характеристики ›» — синяя ссылка */
.pp-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; color: #1C3697; font-size: 15px; line-height: 20px;
    font-weight: 600; text-decoration: none; }
.pp-more .pp-chev { width: 7px; height: 12px; }
@media (hover: hover) {
    .pp-more:hover { color: #142A78; text-decoration: none; }
    .pp-more:hover .pp-chev { transform: translateX(2px); }
}

/* раздел каталога, подборки, бренд — строки с картинкой; «Сообщить о неточности» */
.pp-links { display: flex; flex-direction: column; gap: 2px; margin-top: 16px; padding-top: 12px; border-top: 1px solid #F0F0F0; }
.pp-link { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 6px 0; color: #303030; text-decoration: none !important; }
.pp-link-img { display: flex; align-items: center; justify-content: center; flex: 0 0 48px; width: 48px; height: 48px;
    border: 1px solid #EAEAEA; border-radius: 10px; background: #fff; overflow: hidden; transition: border-color .15s; }
.pp-link-img img { display: block; width: 100%; height: 100%; padding: 4px; object-fit: contain; }
.pp-link-img .ui-ic { width: 22px; height: 22px; color: #8A8F96; }
.pp-link-text { display: flex; flex-direction: column; min-width: 0; }
.pp-link-text b { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 15px; line-height: 20px; font-weight: 600;
    color: #303030; transition: color .15s; }
.pp-link-text small { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 13px; line-height: 18px; color: #9A9A9A; }
@media (hover: hover) {
    .pp-link:hover b { color: #1C3697; }
    .pp-link:hover .pp-link-img { border-color: #FEDC29; }
}
.pp-link:focus { outline: none; }
.pp-link:focus-visible .pp-link-img { box-shadow: 0 0 0 2px #303030; }
.pp-report-btn { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; padding: 4px 0; border: 0;
    background: none; color: #787878; font-size: 14px; line-height: 20px; cursor: pointer; transition: color .15s; }
.pp-report-btn .ui-ic { flex: 0 0 18px; width: 18px; height: 18px; }
@media (hover: hover) {
    .pp-report-btn:hover { color: #303030; text-decoration: underline; }
}
.pp-report-btn:focus { outline: none; }
.pp-report-btn:focus-visible { box-shadow: 0 0 0 2px #303030; border-radius: 4px; }

/* ── справа: блок покупки, доставка и самовывоз ── */
.pp-side { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.pp .pp-buy { display: block; width: auto !important; margin: 0 !important; padding: 16px 20px 18px; border: 1px solid #EAEAEA;
    border-radius: 12px; background: #fff; box-shadow: 0 6px 24px rgba(68, 92, 130, .07); }
.pp-buy-tools { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.pp-tool { display: inline-flex; align-items: center; gap: 6px; color: #303030; font-size: 14px; text-decoration: none; }
.pp-tool:hover { color: #303030; text-decoration: none; }
.pp-tool svg { width: 18px; height: 18px; fill: #787878; }
.pp-tool.is-icon { justify-content: center; width: 36px; height: 36px; border: 1px solid #EAEAEA; border-radius: 8px; transition: border-color .15s; }
@media (hover: hover) {
    .pp-tool:hover svg { fill: #303030; }
    .pp-tool.is-icon:hover { border-color: #FEDC29; }
}
.pp .pp-buy .cart-club { margin: 0; padding: 0; border: 0; font-size: 13px; line-height: 18px; color: #787878; }
.pp-prices { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin: 2px 0 16px; }
.pp .pp-buy .price-add-to { font-size: 32px; line-height: 38px; font-weight: 800; color: #303030; }
.pp-was { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.pp-old { font-size: 15px; line-height: 20px; color: #9A9A9A; text-decoration: line-through; }
.pp-off { display: inline-flex; align-items: center; height: 22px; padding: 0 7px; border-radius: 6px; background: #FFE9E2; color: #DD2C01;
    font-size: 13px; font-weight: 800; }
/* скидка: цена — красной плашкой, под ней старая цена и «−N %» */
.pp-prices.is-sale { flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 6px; }
.pp .pp-buy .pp-prices.is-sale .price-add-to { padding: 2px 12px; border-radius: 10px; background: linear-gradient(135deg, #F2441D, #DD2C01);
    color: #fff; box-shadow: 0 4px 12px rgba(221, 44, 1, .22); }
.pp .pp-actions .vc-add,
.pp .pp-actions .vc-incart { height: 48px; font-size: 15px; }
.pp .pp-actions .vc-step,
.pp .pp-actions .vc-tocart { height: 48px; }
.pp .pp-actions .vc-tocart { flex-basis: 48px; width: 48px; }
.pp-fast { display: flex; align-items: center; justify-content: center; height: 44px; margin-top: 10px; border: 1px solid #FEDC29;
    border-radius: 8px; background: #FFF7D1; color: #303030 !important; font-size: 15px; font-weight: 700; text-decoration: none !important;
    transition: background-color .15s; }
@media (hover: hover) {
    .pp-fast:hover { background: #FEDC29; }
}
.pp .pp-avail { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 14px 0 0; font-size: 14px; line-height: 18px; text-align: center; }
.pp .pp-avail img { flex: 0 0 16px; width: 16px; height: 16px; }
.pp .pp-avail.is-in { color: #303030; font-weight: 600; }
.pp .pp-avail a { display: inline-flex; align-items: center; gap: 6px; color: #787878; text-decoration: none !important; }
.pp .pp-avail a span { margin: 0; border: 0; font-style: normal; font-size: 14px; color: #787878; }

/* доставка и самовывоз (тексты — админка «Надписи») */
.pp-delivery { display: flex; flex-direction: column; gap: 20px; padding: 0 4px; }
.pp-dlv-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.pp-dlv-head .ui-ic { flex: 0 0 26px; width: 26px; height: 26px; color: #303030; }
.pp-dlv-head b { font-size: 18px; line-height: 24px; font-weight: 800; }
.pp-dlv-text { margin: 0; font-size: 14px; line-height: 20px; color: #303030; }
.pp-dlv-row { display: flex; align-items: baseline; gap: 6px; font-size: 14px; line-height: 20px; }
.pp-dlv-shop { flex: 0 1 auto; min-width: 0; color: #1C3697 !important; text-decoration: none !important; }
@media (hover: hover) {
    .pp-dlv-shop:hover { text-decoration: underline !important; }
}
.pp-dlv-dots { flex: 1 1 auto; min-width: 12px; border-bottom: 1px dotted #C4C8CD; transform: translateY(-4px); }
.pp-dlv-state { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 4px; font-weight: 700; color: #303030; white-space: nowrap; }
.pp-dlv-state svg { flex: 0 0 14px; width: 14px; height: 14px; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.pp-dlv-state.is-yes svg { stroke: #1E9E4A; }
.pp-dlv-state.is-no svg { stroke: #DD2C01; }
.pp-dlv-addr { margin: 2px 0 0; font-size: 13px; line-height: 18px; color: #9A9A9A; }

/* ── фото ── */
.pp-gallery { display: flex; gap: 12px; min-width: 0; }
/* миниатюры: не помещаются — стрелки вверх / вниз (product-page.js) */
.pp-thumbs-wrap { position: relative; flex: 0 0 68px; width: 68px; }
.pp-thumbs { display: flex; flex-direction: column; gap: 8px; max-height: 470px; overflow-y: auto; overscroll-behavior: contain;
    scrollbar-width: none; }
.pp-thumbs::-webkit-scrollbar { display: none; }
.pp-thumb { flex: 0 0 68px; width: 68px; height: 68px; padding: 4px; border: 1px solid #EAEAEA; border-radius: 8px; background: #fff;
    cursor: pointer; transition: border-color .15s; }
.pp-thumb img { display: block; width: 100%; height: 100%; object-fit: contain; }
.pp-thumb.is-active { border-color: #FEDC29; box-shadow: inset 0 0 0 1px #FEDC29; }
@media (hover: hover) {
    .pp-thumb:hover { border-color: #FEDC29; }
}
.pp-thumb:focus { outline: none; }
.pp-thumb:focus-visible { box-shadow: 0 0 0 2px #303030; }
.pp-thumbs-nav { position: absolute; left: 0; right: 0; z-index: 2; display: flex; justify-content: center; height: 40px; padding: 0; border: 0;
    color: #303030; cursor: pointer; }
.pp-thumbs-nav[hidden] { display: none; }
.pp-thumbs-nav.is-up { top: 0; align-items: flex-start; padding-top: 4px; background: linear-gradient(#fff 40%, rgba(255, 255, 255, 0)); }
.pp-thumbs-nav.is-down { bottom: 0; align-items: flex-end; padding-bottom: 4px; background: linear-gradient(rgba(255, 255, 255, 0), #fff 60%); }
.pp-thumbs-nav svg { width: 16px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) {
    .pp-thumbs-nav:hover { color: #000; }
}
.pp-thumbs-nav:focus { outline: none; }
.pp-thumbs-nav:focus-visible svg { outline: 2px solid #303030; outline-offset: 2px; }
.pp-stage { position: relative; flex: 1 1 auto; min-width: 0; }
.pp .pp-shots { position: relative; display: block; width: 100%; height: 470px; margin: 0; padding: 0; border: 0; }
/* нажатие открывает фото во весь экран — курсор «рука», как раньше на сайте (не лупа) */
.pp .pp-shots .pp-shot { position: absolute; top: 0; left: 0; display: none; width: 100%; height: 100%; transform: none; cursor: pointer; }
.pp .pp-shots .pp-shot.is-active { display: block; }
.pp .pp-shots img { position: static; display: block; width: 100%; height: 100%; transform: none; object-fit: contain; }
.pp-dots { display: none; }

/* ── разделы ── */
.pp-sec { margin-top: 52px; scroll-margin-top: 96px; }
.pp-h2 { margin: 0 0 18px; font-size: 24px; line-height: 30px; font-weight: 700; color: #303030; }
.pp-h2-count { color: #9A9A9A; font-weight: 400; }
.pp-sec-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 20px; }
.pp-sec-head .pp-h2 { margin-bottom: 6px; }
.pp-sec-sub { margin: 0 0 4px; font-size: 14px; color: #787878; }
.pp-link-btn { display: inline-flex; align-items: center; gap: 8px; padding: 0; border: 0; border-bottom: 1px dashed #B9BDC2; background: none;
    color: #303030; font-size: 14px; font-weight: 600; line-height: 20px; cursor: pointer; transition: border-color .15s, opacity .15s; }
@media (hover: hover) {
    .pp-link-btn:hover { border-bottom-color: #303030; }
}
.pp-link-btn:focus { outline: none; }
.pp-link-btn:focus-visible { box-shadow: 0 0 0 2px #303030; }
/* «Все в сравнение»: пока добавляются — кружок загрузки, потом отметки на всех карточках сразу */
.pp-link-btn.is-busy { pointer-events: none; opacity: .75; border-bottom-color: transparent; }
.pp-link-btn.is-busy::before { content: ''; flex: 0 0 14px; width: 14px; height: 14px; border: 2px solid #DADDE1; border-top-color: #303030;
    border-radius: 50%; animation: pp-spin .7s linear infinite; }
@keyframes pp-spin {
    to { transform: rotate(360deg); }
}

/* описание: длинное — свёрнуто, «Показать полностью» */
.pp-desc { position: relative; max-width: 900px; }
.pp-desc-body { font-size: 15px; line-height: 24px; color: #303030; overflow-wrap: anywhere; }
.pp-desc-body img { max-width: 100%; height: auto; }
.pp-desc.is-collapsed { max-height: 330px; overflow: hidden; }
.pp-desc.is-collapsed::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 90px;
    background: linear-gradient(rgba(255, 255, 255, 0), #fff); pointer-events: none; }
.pp-desc-toggle { margin-top: 12px; height: 38px; padding: 0 16px; border: 0; border-radius: 8px; background: #F0F2F4; color: #303030;
    font-size: 14px; font-weight: 700; cursor: pointer; transition: background-color .15s; }
@media (hover: hover) {
    .pp-desc-toggle:hover { background: #E4E7EA; }
}
.pp-desc-toggle:focus { outline: none; }
.pp-desc-toggle:focus-visible { box-shadow: 0 0 0 2px #303030; }

/* все характеристики — в две колонки */
.pp-dl-cols { max-width: 900px; column-count: 2; column-gap: 48px; }
.pp-note { max-width: 900px; margin: 28px 0 0; font-size: 12px; line-height: 18px; color: #9A9A9A; }

/* ── карусели карточек (аналоги, популярные) — как на главной: .items, стрелки main.css, Swiper ── */
.pp .pp-items { margin-top: 0; }
.pp .pp-items .swiper-container { margin: 0 -6px; padding: 14px 6px 20px; }
/* карточки в ряду — одной высоты (кнопки «В корзину» на одной линии) */
.pp .pp-items .swiper-slide { display: flex; height: auto; }
.pp .pp-items .swiper-slide > .item { flex: 1 1 auto; width: 100%; min-width: 0; margin: 0; }
.pp .pp-items .arrow-left:focus,
.pp .pp-items .arrow-right:focus { outline: none; }
.pp .pp-items .arrow-left:focus-visible,
.pp .pp-items .arrow-right:focus-visible { box-shadow: 0 0 0 2px #303030; }

/* ── отзывы: список | сводка ── */
.pp-rev { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
.pp-rev-tools { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }
.pp-select { height: 36px; padding: 0 34px 0 14px; border: 0; border-radius: 8px; color: #303030; font-size: 14px; cursor: pointer;
    -webkit-appearance: none; appearance: none;
    background: #F0F2F4 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23303030' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 13px center / 10px 6px no-repeat; }
.pp-select:focus { outline: none; box-shadow: 0 0 0 2px #FEDC29; }
.pp-review { padding: 18px 0; border-bottom: 1px solid #F0F0F0; }
.pp-review[hidden] { display: none; }
.pp-review-head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.pp-review-name { font-size: 15px; font-weight: 700; }
.pp-review-date { font-size: 13px; color: #9A9A9A; }
.pp-review-text { margin: 8px 0 0; font-size: 14px; line-height: 22px; white-space: pre-line; overflow-wrap: anywhere; }
.pp-rev-empty, .pp-rev-none { margin: 14px 0 0; font-size: 15px; line-height: 22px; color: #787878; }
.pp-rev-side { padding: 20px; border: 1px solid #EAEAEA; border-radius: 12px; }
.pp-rev-score { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pp-rev-score b { font-size: 40px; line-height: 44px; font-weight: 800; }
.pp-rev-total { margin: 6px 0 16px; padding-bottom: 14px; border-bottom: 1px solid #F0F0F0; font-size: 14px; color: #787878; }
.pp-rev-btn { display: flex; align-items: center; justify-content: center; height: 46px; border-radius: 8px; background: #FEDC29;
    color: #303030 !important; font-size: 15px; font-weight: 700; text-decoration: none !important; transition: background-color .15s; }
@media (hover: hover) {
    .pp-rev-btn:hover { background: #FFD600; }
}
.pp-rev-bars { margin: 16px 0 0; padding: 0; list-style: none; }
.pp-rev-bar { display: flex; align-items: center; gap: 10px; width: 100%; padding: 4px 0; border: 0; background: none; color: #303030;
    font-size: 14px; cursor: pointer; text-align: left; }
.pp-rev-bar[disabled] { cursor: default; opacity: .55; }
.pp-rev-bar-star { display: inline-flex; align-items: center; gap: 3px; flex: 0 0 34px; }
.pp-rev-bar-star svg { width: 13px; height: 13px; fill: #C4C8CD; }
.pp-rev-bar-line { position: relative; flex: 1 1 auto; height: 6px; border-radius: 3px; background: #F0F2F4; overflow: hidden; }
.pp-rev-bar-line i { position: absolute; top: 0; left: 0; bottom: 0; border-radius: 3px; background: #FEDC29; }
.pp-rev-bar-n { flex: 0 0 24px; text-align: right; color: #787878; }
.pp-rev-bar.is-on .pp-rev-bar-n, .pp-rev-bar.is-on .pp-rev-bar-star { font-weight: 700; color: #303030; }
.pp-rev-bar:focus { outline: none; }
.pp-rev-bar:focus-visible { box-shadow: 0 0 0 2px #303030; }

/* ── окно «Сообщить о неточности» (основа — окна сайта и «Не нашли?», list-head.css) ── */
.pp-report-pop .pp-report-dialog { width: 480px; padding: 0 0 22px; border-radius: 12px; overflow: hidden auto; }
.pp-report-head { padding: 18px 56px 16px 24px; background: #FEDC29; }
.pp-report-dialog .pp-report-head h2 { margin: 0; font-size: 20px; line-height: 26px; font-weight: 800; }
.pp-report-dialog .close { top: 19px; right: 20px; }
.pp-report-dialog .close svg { width: 18px; height: 18px; }
.pp-report-form { padding: 16px 24px 0; }
.pp-req { color: #DD2C01; font-weight: 700; }
.pp-report-dialog input[type=email] { font-size: 14px; }
.pp-report-dialog textarea:focus,
.pp-report-dialog input[type=email]:focus { border-color: #FEDC29; outline: none; }

/* ── панель при прокрутке (компьютер — под шапкой сайта) ──
   прячется сразу, без анимации: при быстрой прокрутке вверх она не должна «наезжать» на шапку с поиском */
.pp-sticky { position: fixed; top: 0; left: 0; right: 0; z-index: 600; background: #fff; box-shadow: 0 4px 18px rgba(30, 40, 60, .12);
    transform: translateY(-110%); visibility: hidden; transition: none; }
.pp-sticky.is-on { transform: none; visibility: visible; transition: transform .2s ease; }
/* спрятанная гаснет вся сразу: общий стиль сайта (main.css: svg { transition: .5s }) плавно менял бы и видимость
   значков — звёзды рейтинга ещё полсекунды оставались на жёлтой полосе меню (№42) */
.pp-sticky:not(.is-on) * { transition: none !important; }
.pp-sticky-in { display: flex; align-items: center; gap: 18px; min-height: 76px; padding-top: 10px; padding-bottom: 10px; }
.pp-sticky-img { flex: 0 0 52px; width: 52px; height: 52px; object-fit: contain; }
.pp-sticky-main { flex: 1 1 auto; min-width: 0; }
.pp-sticky-name { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 15px; line-height: 20px; font-weight: 700; }
.pp-sticky-meta { display: flex; align-items: center; gap: 18px; margin-top: 4px; font-size: 13px; color: #787878; }
.pp-sticky-rating, .pp-sticky-tool { display: inline-flex; align-items: center; gap: 6px; color: #787878; text-decoration: none; }
/* число отзывов — строка ровно в высоту звёзд: не «всплывает» над ними при другом шрифте и масштабе */
.pp-sticky-rating { line-height: 16px; }
.pp-sticky-rating > span { display: block; line-height: 16px; }
.pp-sticky-rating:hover, .pp-sticky-tool:hover { color: #303030; text-decoration: none; }
.pp-sticky-tool svg { width: 15px; height: 15px; fill: #9A9A9A; }
.pp-sticky-price { display: flex; flex-direction: column; flex: 0 0 auto; line-height: 1.15; }
.pp-sticky-unit { font-size: 12px; color: #787878; }
.pp-sticky-line { display: inline-flex; align-items: baseline; gap: 8px; }
.pp-sticky-price b { font-size: 22px; font-weight: 800; color: #303030; }
.pp-sticky-price s { font-size: 13px; color: #9A9A9A; }
.pp-sticky-price.is-sale .pp-sticky-unit { margin-bottom: 3px; }
.pp-sticky-price.is-sale b { padding: 2px 10px; border-radius: 8px; background: linear-gradient(135deg, #F2441D, #DD2C01); color: #fff; }
/* «В корзину» и «− N +», как в блоке покупки (после добавления — «В корзине ✓» и количество) */
.pp-sticky-actions { flex: 0 0 300px; }
.pp-sticky .vc-add, .pp-sticky .vc-incart { height: 44px; }
.pp-sticky .vc-step { height: 44px; }

/* ── планшет ── */
@media (max-width: 1199px) and (min-width: 1001px) {
    .pp-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 280px; gap: 0 24px; }
    .pp .pp-shots { height: 400px; }
    .pp-thumbs { max-height: 400px; }
}
@media (max-width: 1000px) {
    .pp .pp-title { margin: 2px 0 14px; font-size: 22px; line-height: 28px; }
    .pp-top { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "gallery" "meta" "side" "links"; gap: 0; }
    /* коротко о характеристиках на телефоне не нужны: полный список — чуть ниже, в разделе «Характеристики» */
    .pp-brief { display: none; }
    .pp-gallery { margin: 0 -15px 14px; }
    .pp-thumbs-wrap { display: none; }
    /* фото листаются пальцем, точки под фото */
    /* у старого .big-image в main.css содержимое по центру — лента «уезжала» влево за край; здесь — с начала */
    .pp .pp-shots { display: flex; justify-content: flex-start; align-items: stretch; height: auto; aspect-ratio: 1 / 1; max-height: 70vh;
        overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
    .pp .pp-shots::-webkit-scrollbar { display: none; }
    .pp .pp-shots .pp-shot { position: relative; display: block; flex: 0 0 100%; height: 100%; scroll-snap-align: center; padding: 0 15px; }
    .pp-dots { display: flex; justify-content: center; gap: 6px; margin-top: 8px; }
    .pp-dots i { width: 7px; height: 7px; border-radius: 4px; background: #D5D9DE; transition: width .2s, background-color .2s; }
    .pp-dots i.is-on { width: 18px; background: #FEDC29; }
    .pp-meta { gap: 8px 16px; }
    .pp-side { gap: 20px; margin-top: 14px; }
    .pp .pp-buy { padding: 14px 16px 16px; }
    .pp-brief { margin-top: 24px; }
    .pp-sec { margin-top: 36px; scroll-margin-top: 170px; }
    .pp-h2 { font-size: 20px; line-height: 26px; margin-bottom: 14px; }
    .pp-dl-cols { column-count: 1; }
    .pp .pp-items .swiper-container { padding-top: 10px; }
    .pp-rev { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .pp-rev-side { order: -1; }
    /* iPhone приближает страницу на полях со шрифтом меньше 16 px */
    .pp-select,
    .pp-report-dialog textarea,
    .pp-report-dialog input[type=email] { font-size: 16px; }
    /* панель — снизу (над нижним меню сайта): цена и «В корзину» */
    /* спрятанная — прозрачная и чуть ниже, но в пределах экрана: уехавшее за нижний край закреплённое iPhone
       считает частью страницы и даёт долистать до пустоты */
    /* появляется и прячется одинаково плавно: чуть сдвигается вниз и растворяется (спрятанной становится, когда
       растворилась, — visibility с задержкой); пока прячется, нажатия не ловит */
    .pp-sticky { top: auto; bottom: var(--mnav-h, 0px); box-shadow: 0 -4px 18px rgba(30, 40, 60, .12); transform: translateY(12px); opacity: 0;
        pointer-events: none; transition: transform .22s ease, opacity .22s ease, visibility 0s linear .22s; }
    .pp-sticky.is-on { opacity: 1; pointer-events: auto; transition: transform .22s ease, opacity .22s ease, visibility 0s linear 0s; }
    .pp-sticky-in { gap: 12px; min-height: 0; padding: 10px 15px; }
    body:not(.has-mnav) .pp-sticky-in { padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px)); }
    .pp-links { margin-top: 20px; }
    .pp-sticky-img, .pp-sticky-main { display: none; }
    .pp-sticky-price b { font-size: 19px; }
    .pp-sticky-price.is-sale b { padding: 1px 8px; }
    .pp-sticky-price s { display: none; }
    .pp-sticky-actions { flex: 1 1 auto; }
}
@media (pointer: coarse) {
    .pp-report-dialog textarea,
    .pp-report-dialog input[type=email] { font-size: 16px; }
}
@media (max-width: 770px) {
    .pp-report-pop .pp-report-dialog { padding-bottom: 18px; }
    .pp-report-head { padding: 16px 52px 14px 18px; }
    .pp-report-dialog .close { top: 17px; right: 16px; }
    .pp-report-form { padding: 14px 18px 0; }
}
@media (max-width: 380px) {
    .pp .pp-buy .price-add-to { font-size: 28px; line-height: 34px; }
}
