:root {
    --pdp-bg: #E6F1F3;
    --pdp-bg-2: #EEF3F5;
    --pdp-accent: #8074C5;
    --pdp-text: #111112;
    --pdp-muted: #5A656E;
    --pdp-muted-2: #898E92;
    --pdp-border: #D4DFE1;
    --pdp-green: #D9EDDC;
    --pdp-link: #526FB5;
}

/* === Hero / header background === */
body.is-product-page { background: var(--pdp-bg); }
body.is-product-page .header {
    background: transparent !important;
    box-shadow: none !important;
    transition: background 0.25s ease, box-shadow 0.25s ease, border-radius 0.25s ease, margin 0.25s ease, padding 0.25s ease;
}
body.is-product-page .header__search-input { background: rgba(255,255,255,0.6); transition: background 0.25s ease; }

/* при скролле — белая «pill»-шапка с тенью и скруглением */
body.is-product-page.is-scrolled .header {
    background: #fff !important;
    box-shadow: 0 6px 24px rgba(17, 17, 18, 0.08) !important;
    border-radius: 24px;
    margin: 8px 12px 0;
    padding: 8px 0;
}
body.is-product-page.is-scrolled .header__search-input { background: var(--pdp-bg-2); }

.pdp { color: var(--pdp-text); }
.pdp__hero {
    background: var(--pdp-bg);
    padding: 24px 0 48px;
    border-radius: 0 0 28px 28px;
    margin-bottom: -28px;
    position: relative;
    z-index: 1;
}

/* === Card === */
.pdp-card {
    display: grid;
    grid-template-columns: minmax(0, 540px) 1fr;
    align-items: stretch;
    gap: 12px;
    background: #fff;
    border-radius: 24px;
    padding: 18px;
    box-shadow: 0 1px 2px rgba(17,17,18,0.04);
}
.pdp-card__left { padding: 0; display: flex; flex-direction: column; }
.pdp-card__left > .pdp-gallery { flex: 1; display: flex; flex-direction: column; }
.pdp-card__right {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 6px 6px 6px 12px;
}
.pdp-card__top { display: flex; flex-direction: column; gap: 14px; }

/* === Gallery === */
.pdp-gallery__main {
    position: relative;
    width: 100%;
    aspect-ratio: 540 / 432;
    background: #F7F9FA;
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pdp-gallery__main img { width: 100%; height: 100%; object-fit: contain; }

.pdp-gallery__wishlist {
    position: absolute;
    top: 14px; right: 14px;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--pdp-border);
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--pdp-muted);
    cursor: pointer;
    transition: color .2s, border-color .2s, transform .15s;
}
.pdp-gallery__wishlist:hover { color: #e11d48; border-color: #e11d48; }
.pdp-gallery__wishlist.is-active { color: #fff; background: #e11d48; border-color: #e11d48; }
.pdp-gallery__wishlist svg { fill: currentColor; stroke: currentColor; }

.pdp-badge {
    position: absolute;
    top: 14px; left: 14px;
    background: var(--pdp-accent);
    color: #fff;
    font: 700 12px/1 var(--font-family);
    padding: 6px 10px;
    border-radius: 999px;
    z-index: 2;
}

.pdp-gallery__thumbs {
    display: grid;
    grid-template-columns: 60px 1fr 60px;
    gap: 12px;
    margin-top: 12px;
    align-items: center;
}
.pdp-gallery__thumbs-track {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scrollbar-width: none;
}
.pdp-gallery__thumbs-track::-webkit-scrollbar { display: none; }

.pdp-gallery__thumb {
    flex: 0 0 60px;
    width: 60px; height: 60px;
    border-radius: 12px;
    background: #F7F9FA;
    border: 2px solid transparent;
    padding: 4px;
    cursor: pointer;
    overflow: hidden;
    transition: border-color .15s;
}
.pdp-gallery__thumb img { width: 100%; height: 100%; object-fit: contain; }
.pdp-gallery__thumb:hover { border-color: var(--pdp-border); }
.pdp-gallery__thumb.is-active { border-color: var(--pdp-accent); }
.pdp-gallery__thumb--more {
    color: var(--pdp-link);
    font: 600 14px/1 var(--font-family);
    border-color: var(--pdp-border);
    background: #fff;
}
.pdp-gallery__nav {
    width: 60px; height: 60px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--pdp-border);
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--pdp-text);
    cursor: pointer;
    transition: background .15s;
}
.pdp-gallery__nav:hover { background: var(--pdp-bg); }

/* === Info column === */
.pdp-meta {
    display: flex; gap: 24px;
    color: var(--pdp-muted);
    font: 400 14px/1.3 var(--font-family);
    margin-bottom: 12px;
}
.pdp-card__title {
    font: 700 28px/1.2 var(--font-family);
    margin: 0 0 14px;
    color: var(--pdp-text);
}
.pdp-card__row {
    display: flex; align-items: center; gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}
.pdp-rating {
    display: inline-flex; align-items: center; gap: 8px;
    text-decoration: none;
    color: var(--pdp-muted);
    font: 400 14px/1 var(--font-family);
}
.pdp-rating--empty { color: var(--pdp-muted-2); }
.pdp-rating__stars { display: inline-flex; gap: 1px; }
.pdp-star { fill: #D4DFE1; }
.pdp-star.is-filled { fill: #FFB800; }

.pdp-instock {
    display: inline-flex; align-items: center; gap: 6px;
    color: #28A35A;
    font: 500 14px/1 var(--font-family);
    background: var(--pdp-green);
    padding: 6px 12px;
    border-radius: 999px;
}
.pdp-instock--out { color: #B91C1C; background: #FEE2E2; }

.pdp-colors {
    display: flex; align-items: center; gap: 8px;
    flex-wrap: wrap;
}
.pdp-colors__swatch {
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 2px solid var(--pdp-border);
    overflow: hidden;
    background: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    transition: border-color .15s, transform .15s;
}
.pdp-colors__swatch:hover { border-color: var(--pdp-accent); transform: translateY(-1px); }
.pdp-colors__swatch img { width: 100%; height: 100%; object-fit: cover; }
.pdp-colors__more {
    color: var(--pdp-muted);
    font: 500 13px/1 var(--font-family);
}

/* === Buy block === */
.pdp-card__bottom {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 12px;
    margin-top: auto;
}
.pdp-buy {
    background: var(--pdp-bg-2);
    border-radius: 18px;
    padding: 18px;
    display: flex; flex-direction: column; justify-content: space-between; gap: 14px;
}
.pdp-price { font: 700 30px/1 var(--font-family); color: var(--pdp-text); }
.pdp-price__sale { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.pdp-price__savings {
    background: var(--pdp-accent);
    color: #fff;
    font: 700 12px/1 var(--font-family);
    padding: 6px 10px; border-radius: 999px;
}
.pdp-price__old {
    color: var(--pdp-muted-2);
    text-decoration: line-through;
    font: 400 13px/1 var(--font-family);
}
.pdp-buy__btn {
    background: var(--pdp-accent);
    color: #fff;
    border: 0;
    border-radius: 12px;
    padding: 12px 16px;
    font: 600 15px/1 var(--font-family);
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    cursor: pointer;
    transition: background .15s, transform .1s;
}
.pdp-buy__btn:hover { background: #6F62B8; }
.pdp-buy__btn:active { transform: scale(0.98); }
.pdp-buy__btn--notify {
    background: #fff;
    color: var(--pdp-accent);
    border: 1.5px solid var(--pdp-accent);
    cursor: not-allowed;
    opacity: 0.95;
    font-size: 13px;
    padding: 12px 10px;
}
.pdp-buy__btn--notify:hover { background: var(--pdp-accent); color: #fff; opacity: 1; cursor: pointer; }

.pdp-pay {
    background: var(--pdp-bg-2);
    border-radius: 18px;
    padding: 18px;
}
.pdp-pay__title {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--pdp-text);
    font: 600 16px/1 var(--font-family);
    margin-bottom: 12px;
}
.pdp-pay__text {
    color: var(--pdp-muted);
    font: 400 13px/1.5 var(--font-family);
    margin: 0 0 14px;
}
.pdp-pay__icons {
    display: flex; gap: 8px; flex-wrap: wrap;
}
.pdp-pay__icons img {
    height: 28px; width: auto;
    background: #fff;
    border: 1px solid var(--pdp-border);
    border-radius: 6px;
    padding: 3px 6px;
    object-fit: contain;
}

.pdp-warranty {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 18px;
    background: #fff;
    border: 1px solid var(--pdp-border);
    border-radius: 14px;
    color: var(--pdp-muted);
    font: 400 13px/1.4 var(--font-family);
}
.pdp-warranty svg { color: var(--pdp-accent); flex: 0 0 20px; }

/* === Block 2: content === */
.pdp__content {
    background: #fff;
    border-radius: 28px 28px 0 0;
    padding: 40px 0 60px;
    position: relative;
    z-index: 2;
}
.pdp-crumbs {
    display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
    color: var(--pdp-muted);
    font: 400 13px/1 var(--font-family);
    margin-bottom: 18px;
}
.pdp-crumbs__link { color: var(--pdp-muted); text-decoration: none; }
.pdp-crumbs__link:hover { color: var(--pdp-accent); }
.pdp-crumbs__sep { color: var(--pdp-muted-2); }
.pdp-crumbs__current { color: var(--pdp-text); }

.pdp-tabs {
    position: relative;
    display: flex;
    gap: 8px;
    margin-bottom: 32px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.pdp-tabs::-webkit-scrollbar { display: none; }
.pdp-tabs::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 1px;
    background: var(--pdp-border);
    pointer-events: none;
}
.pdp-tabs__link {
    position: relative;
    padding: 18px 24px;
    font-weight: 700;
    font-size: 24px;
    line-height: 1;
    color: var(--pdp-muted-2);
    text-decoration: none;
    white-space: nowrap;
    transition: color .15s;
    outline: none;
}
.pdp-tabs__link::after {
    content: '';
    position: absolute;
    left: 24px; right: 24px; bottom: 0;
    height: 3px;
    background: transparent;
    border-radius: 3px 3px 0 0;
    transition: background .2s;
}
.pdp-tabs__link:hover { color: var(--pdp-text); }
.pdp-tabs__link.is-active { color: var(--pdp-text); }
.pdp-tabs__link.is-active::after { background: var(--pdp-accent); }
.pdp-tabs__link:focus-visible { color: var(--pdp-text); }

.pdp-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
}
.pdp-content__main { min-width: 0; }
.pdp-divider { border: 0; border-top: 1px solid var(--pdp-border); margin: 36px 0; }

/* Specs */
.pdp-specs { margin-bottom: 28px; }
.pdp-specs__title { font: 700 18px/1.3 var(--font-family); margin: 0 0 12px; }
.pdp-specs__rows { display: flex; flex-direction: column; }
.pdp-specs__row {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(0,1fr);
    gap: 24px;
    padding: 12px 24px;
    border-radius: 8px;
    align-items: baseline;
}
.pdp-specs__row:nth-child(odd) { background: var(--pdp-bg-2); }
.pdp-specs__row dt { font: 400 14px/1.4 var(--font-family); color: var(--pdp-muted); margin: 0; }
.pdp-specs__row dd { font: 500 14px/1.4 var(--font-family); color: var(--pdp-text); margin: 0; }

.pdp-specs-more, .pdp-btn--ghost {
    background: transparent;
    border: 0;
    padding: 10px 0;
    color: var(--pdp-link);
    font: 500 14px/1 var(--font-family);
    display: inline-flex; align-items: center; gap: 8px;
    cursor: pointer;
    text-decoration: none;
}
.pdp-specs-more svg, .pdp-btn--ghost svg { color: var(--pdp-accent); transition: transform .2s; }
.pdp-specs-more:hover, .pdp-btn--ghost:hover { color: var(--pdp-accent); }
.pdp-specs-more.is-expanded svg { transform: rotate(45deg); }
.pdp-specs-more__label { border-bottom: 1px dashed currentColor; padding-bottom: 1px; }

/* About */
.pdp-section__title { font: 700 28px/1.2 var(--font-family); margin: 0 0 24px; }
.pdp-about { display: flex; flex-direction: column; gap: 32px; }
.pdp-about__row {
    display: grid;
    grid-template-columns: 438px 1fr;
    gap: 36px;
    align-items: center;
}
.pdp-about__row.is-reverse { grid-template-columns: 1fr 438px; }
.pdp-about__row.is-reverse .pdp-about__img { order: 2; }
.pdp-about__img {
    aspect-ratio: 438/240;
    border-radius: 16px;
    overflow: hidden;
    background: var(--pdp-bg-2);
}
.pdp-about__img img { width: 100%; height: 100%; object-fit: cover; }
.pdp-about__title { font: 700 18px/1.3 var(--font-family); margin: 0 0 12px; }
.pdp-about__body { font: 400 15px/1.6 var(--font-family); color: var(--pdp-muted); }
.pdp-about__body p { margin: 0 0 12px; }

/* Reviews */
.pdp-reviews__top {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    margin-bottom: 24px;
}
.pdp-reviews__title { font: 700 22px/1.3 var(--font-family); margin: 0; flex: 1; }
.pdp-reviews__title span { color: var(--pdp-muted); font-weight: 600; }

.pdp-reviews__list { display: flex; flex-direction: column; gap: 24px; }
.pdp-review {
    border-bottom: 1px solid var(--pdp-border);
    padding-bottom: 24px;
}
.pdp-review:last-child { border-bottom: 0; }
.pdp-review__head {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 12px; gap: 12px; flex-wrap: wrap;
}
.pdp-review__rating { display: inline-flex; align-items: center; gap: 8px; }
.pdp-review__score {
    background: var(--pdp-accent); color: #fff;
    font: 700 14px/1 var(--font-family);
    padding: 4px 10px; border-radius: 999px;
}
.pdp-review__stars { display: inline-flex; gap: 1px; }
.pdp-review__author { font: 400 13px/1 var(--font-family); color: var(--pdp-muted-2); }
.pdp-review__heading { font: 700 15px/1.3 var(--font-family); margin: 0 0 8px; }
.pdp-review__text { font: 400 14px/1.6 var(--font-family); color: var(--pdp-text); margin: 0 0 8px; }
.pdp-review__reply {
    background: var(--pdp-bg-2); border-radius: 12px; padding: 12px 16px;
    color: var(--pdp-muted);
    font: 400 13px/1.5 var(--font-family);
    margin-top: 12px;
}
.pdp-review__reply strong { color: var(--pdp-text); display: block; margin-bottom: 4px; }
.pdp-section__empty { color: var(--pdp-muted-2); font-style: italic; }

/* Sticky sidebar */
.pdp-content__aside { position: relative; }
.pdp-side {
    position: sticky;
    top: 96px;
    background: #fff;
    border: 1px solid var(--pdp-border);
    border-radius: 18px;
    overflow: hidden;
    display: flex; flex-direction: column;
}
.pdp-side__img {
    aspect-ratio: 1 / 1;
    background: var(--pdp-bg-2);
    padding: 24px;
    display: flex; align-items: center; justify-content: center;
}
.pdp-side__img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.pdp-side__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; }
.pdp-side__title {
    font: 600 14px/1.4 var(--font-family); margin: 0;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
    color: var(--pdp-text);
}
.pdp-side__title:hover { color: var(--pdp-accent); }
.pdp-side__stars { display: inline-flex; gap: 1px; }
.pdp-side__price { display: flex; flex-direction: column; gap: 2px; }
.pdp-side__old { color: var(--pdp-muted-2); text-decoration: line-through; font: 400 12px/1 var(--font-family); }
.pdp-side__current { font: 700 22px/1 var(--font-family); color: var(--pdp-text); }
.pdp-side__btn {
    background: var(--pdp-accent); color: #fff; border: 0;
    border-radius: 999px; padding: 14px; font: 600 14px/1 var(--font-family); cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    transition: background .15s;
    margin-top: 4px;
}
.pdp-side__btn:hover { background: #6F62B8; }
.pdp-side__btn--notify {
    background: #fff;
    color: var(--pdp-accent);
    border: 1.5px solid var(--pdp-accent);
    font-size: 13px;
}
.pdp-side__btn--notify:hover { background: var(--pdp-accent); color: #fff; }

/* === Block 3 / 4 — strip head + cards === */
.pdp__viewed, .pdp__top { padding: 16px 0; background: #fff; }

.pdp-strip {
    position: relative;
    background: #EFEEEA;
    border-radius: 48px;
    padding: 24px;
    isolation: isolate;
}
.pdp-strip__topright {
    position: absolute;
    top: 24px; right: 24px;
    display: inline-flex; align-items: center; gap: 12px;
    padding: 12px 24px;
    background: #fff;
    border-radius: 36px;
    color: var(--pdp-text);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    line-height: 18px;
    transition: background .15s, color .15s;
    z-index: 3;
}
.pdp-strip__topright:hover { background: var(--pdp-accent); color: #fff; }

.pdp-strip__head {
    text-align: center;
    padding: 24px 200px;
}
.pdp-strip__title {
    font-weight: 700;
    font-size: 36px;
    line-height: 44px;
    margin: 0 0 6px;
    color: var(--pdp-text);
}
.pdp-strip__subtitle {
    font-weight: 300;
    font-size: 18px;
    line-height: 24px;
    margin: 0;
    color: var(--pdp-text);
}

.pdp-strip__pager {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
}
.pdp-pager-btn {
    background: #fff;
    border: 0;
    width: 36px; height: 36px;
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--pdp-text);
    cursor: pointer;
    transition: background .15s, color .15s;
}
.pdp-pager-btn:hover { background: var(--pdp-accent); color: #fff; }
.pdp-pager-dots {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border-radius: 36px;
    padding: 0 18px;
    height: 36px;
}
.pdp-pager-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #D4DFE1;
    transition: background .2s;
}
.pdp-pager-dot.is-active { background: var(--pdp-accent); }

/* Cards row */
.pdp-strip__cards {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}
.pdp-strip__cards:empty::after {
    content: 'Нічого ще не переглянуто';
    grid-column: 1 / -1;
    text-align: center;
    color: var(--pdp-muted-2);
    padding: 24px;
}

/* Card (used in Block 3 + AJAX) */
.pdp-pcard {
    position: relative;
    background: #fff;
    border-radius: 36px;
    padding: 12px 12px 24px;
    display: flex; flex-direction: column; gap: 12px;
    transition: transform .2s, box-shadow .2s;
}
.pdp-pcard:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(17,17,18,0.06); }
.pdp-pcard__media {
    position: relative;
    background: #fff;
    border-radius: 24px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}
.pdp-pcard__media img {
    width: 100%; height: 100%; object-fit: contain;
}
.pdp-pcard__sale {
    position: absolute;
    top: 12px; left: 12px;
    background: #E8E7E5;
    color: var(--pdp-text);
    border-radius: 24px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 18px;
    font-weight: 500;
    z-index: 2;
}
.pdp-pcard__fav {
    position: absolute;
    top: 12px; right: 12px;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: #fff;
    border: 0;
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--pdp-muted);
    cursor: pointer;
    z-index: 2;
    transition: color .2s;
}
.pdp-pcard__fav:hover { color: #e11d48; }
.pdp-pcard__fav.is-active { color: #fff; background: #e11d48; }
.pdp-pcard__fav svg { fill: currentColor; stroke: currentColor; }

.pdp-pcard__title {
    font-size: 16px;
    line-height: 24px;
    color: var(--pdp-text);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    padding: 0 12px;
    min-height: 48px;
}
.pdp-pcard__title:hover { color: var(--pdp-accent); }

.pdp-pcard__row {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px;
    padding: 0 12px;
}
.pdp-pcard__price {
    display: flex; flex-direction: column; gap: 2px;
}
.pdp-pcard__old {
    font-size: 12px;
    line-height: 12px;
    color: var(--pdp-muted);
    text-decoration: line-through;
}
.pdp-pcard__current {
    font-weight: 700;
    font-size: 24px;
    line-height: 24px;
    color: var(--pdp-text);
}
.pdp-pcard__buy {
    background: var(--pdp-accent);
    color: #fff;
    border: 0;
    width: 42px; height: 42px;
    border-radius: 36px;
    display: inline-flex; align-items: center; justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background .15s, transform .1s;
}
.pdp-pcard__buy:hover { background: #6F62B8; }
.pdp-pcard__buy:active { transform: scale(0.92); }

/* === Block 4 — Top products as banner-style 3x2 === */
.pdp__top {
    background: #fff;
    position: relative;
}
.pdp__top .container { position: relative; }
.pdp-strip__topright--alt {
    top: 24px; right: 16px;
}
.pdp-top__head {
    text-align: center;
    padding: 24px 200px 32px;
}

.pdp-banners {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(2, 1fr);
    gap: 12px;
}
.pdp-banner {
    position: relative;
    background: #fff;
    border-radius: 36px;
    padding: 12px;
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 12px;
    border: 1px solid var(--pdp-border);
    transition: box-shadow .2s, transform .2s;
}
.pdp-banner:hover { box-shadow: 0 12px 28px rgba(17,17,18,0.06); transform: translateY(-2px); }
.pdp-banner__img {
    background: var(--pdp-bg-2);
    border-radius: 24px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    display: block;
}
.pdp-banner__img img { width: 100%; height: 100%; object-fit: contain; }
.pdp-banner__body {
    position: relative;
    padding: 6px 6px 6px 0;
    display: flex; flex-direction: column; gap: 8px;
}
.pdp-banner__sale {
    align-self: flex-start;
    background: #E8E7E5;
    border-radius: 24px;
    padding: 4px 10px;
    font-size: 13px;
    font-weight: 500;
    color: var(--pdp-text);
}
.pdp-banner__title {
    font-size: 15px;
    line-height: 22px;
    color: var(--pdp-text);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}
.pdp-banner__title:hover { color: var(--pdp-accent); }

.pdp-banner__bottom {
    display: flex; align-items: flex-end; justify-content: space-between;
    gap: 12px;
    margin-top: auto;
}
.pdp-banner__price { display: flex; flex-direction: column; gap: 2px; }
.pdp-banner__old {
    font-size: 12px; line-height: 12px;
    color: var(--pdp-muted);
    text-decoration: line-through;
}
.pdp-banner__current {
    font-weight: 700;
    font-size: 20px;
    line-height: 22px;
}
.pdp-banner__buy {
    background: var(--pdp-accent);
    color: #fff;
    border: 0;
    width: 42px; height: 42px;
    border-radius: 36px;
    display: inline-flex; align-items: center; justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background .15s;
}
.pdp-banner__buy:hover { background: #6F62B8; }
.pdp-banner__fav {
    position: absolute;
    top: 0; right: 0;
    width: 32px; height: 32px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--pdp-border);
    color: var(--pdp-muted);
    cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
    transition: color .2s;
}
.pdp-banner__fav:hover { color: #e11d48; border-color: #e11d48; }
.pdp-banner__fav.is-active { color: #fff; background: #e11d48; border-color: #e11d48; }
.pdp-banner__fav svg { fill: currentColor; stroke: currentColor; }

/* === Responsive === */
@media (max-width: 1100px) {
    .pdp-card { grid-template-columns: 1fr; }
    .pdp-content { grid-template-columns: 1fr; }
    .pdp-content__aside { display: none; }
    .pdp-strip__cards { grid-template-columns: repeat(3, 1fr); }
    .pdp-banners { grid-template-columns: repeat(2, 1fr); }
    .pdp-strip__head, .pdp-top__head { padding-left: 0; padding-right: 0; }
    .pdp-about__row, .pdp-about__row.is-reverse { grid-template-columns: 1fr; }
    .pdp-about__row.is-reverse .pdp-about__img { order: 0; }
}
@media (max-width: 700px) {
    .pdp-card__bottom { grid-template-columns: 1fr; }
    .pdp-card__title { font-size: 22px; }
    .pdp-tabs__link { padding: 14px 16px; font-size: 16px; }
    .pdp-strip__cards { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .pdp-banners { grid-template-columns: 1fr; }
    .pdp-banner { grid-template-columns: 120px 1fr; }
    .pdp-strip__topright { padding: 8px 14px; font-size: 12px; gap: 6px; top: 16px; right: 16px; }
    .pdp-strip__title { font-size: 24px; line-height: 32px; }
    .pdp-strip__head, .pdp-top__head { padding: 60px 0 12px; }
    .pdp-section__title { font-size: 22px; }
}

/* ============ Review modal ============ */
.pdp-modal[hidden] { display: none; }
.pdp-modal {
    position: fixed; inset: 0;
    z-index: 1000;
    display: flex; align-items: center; justify-content: center;
    padding: 16px;
}
.pdp-modal__overlay {
    position: absolute; inset: 0;
    background: rgba(17,17,18,0.5);
    backdrop-filter: blur(2px);
}
.pdp-modal__panel {
    position: relative;
    width: 100%;
    max-width: 560px;
    max-height: 92vh;
    overflow-y: auto;
    background: #fff;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 24px 60px rgba(17,17,18,0.2);
}
.pdp-modal__close {
    position: absolute;
    top: 12px; right: 16px;
    background: transparent;
    border: 0;
    font-size: 32px;
    line-height: 1;
    color: var(--pdp-muted);
    cursor: pointer;
}
.pdp-modal__close:hover { color: var(--pdp-text); }
.pdp-modal__title { font-weight: 700; font-size: 24px; margin: 0 0 4px; }
.pdp-modal__sub { color: var(--pdp-muted); margin: 0 0 20px; font-size: 14px; }

.pdp-review-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
@media (max-width: 520px) { .pdp-review-form__row { grid-template-columns: 1fr; } }

.pdp-review-form__field { margin-bottom: 14px; display: block; }
.pdp-review-form__label {
    display: block; font-weight: 500; font-size: 13px; color: var(--pdp-text);
    margin-bottom: 6px;
}
.pdp-review-form__input {
    width: 100%;
    background: #fff;
    border: 1px solid var(--pdp-border);
    border-radius: 12px;
    padding: 12px 16px;
    font: 400 14px/1.4 var(--font-family);
    color: var(--pdp-text);
    outline: none;
    box-sizing: border-box;
    transition: border-color .15s, box-shadow .15s;
}
.pdp-review-form__input:focus { border-color: var(--pdp-accent); box-shadow: 0 0 0 3px rgba(128,116,197,.15); }
.pdp-review-form__textarea { resize: vertical; min-height: 100px; }

.pdp-review-form__stars { display: flex; gap: 4px; }
.pdp-review-form__star {
    background: transparent; border: 0; padding: 4px; cursor: pointer;
    color: #D4DFE1;
    transition: color .15s, transform .1s;
}
.pdp-review-form__star:hover { transform: scale(1.05); }
.pdp-review-form__star svg { fill: currentColor; }
.pdp-review-form__star.is-active { color: #FFB800; }

.pdp-review-form__msg {
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 13px;
    margin-bottom: 12px;
}
.pdp-review-form__msg.is-error { background: #FEE2E2; color: #B91C1C; }
.pdp-review-form__msg.is-ok { background: var(--pdp-green); color: #1F8B47; }

.pdp-review-form__footer {
    display: flex; justify-content: flex-end; gap: 10px;
    margin-top: 8px;
}
.pdp-review-form__cancel {
    background: transparent; border: 1px solid var(--pdp-border);
    border-radius: 12px; padding: 12px 20px;
    color: var(--pdp-text); font-weight: 500; font-size: 14px;
    cursor: pointer;
}
.pdp-review-form__cancel:hover { background: var(--pdp-bg-2); }
.pdp-review-form__submit {
    background: var(--pdp-accent); color: #fff;
    border: 0; border-radius: 12px; padding: 12px 22px;
    font-weight: 600; font-size: 14px; cursor: pointer;
    transition: background .15s;
}
.pdp-review-form__submit:hover { background: #6F62B8; }
.pdp-review-form__submit:disabled { opacity: 0.6; cursor: progress; }
