/* prigor.ru — site layer over the design system (tokens.css + bundle.css).
   Also tames Bootstrap 3 / default theme for pages that still use default templates. */

/* ---------- base ---------- */
/* minimal reset for pages without Bootstrap (zero specificity: never beats pg-* components) */
:where(.pg-site) :where(button, input, select, textarea) { font: inherit; color: inherit; margin: 0; }
:where(.pg-site) :where(a) { text-decoration: none; }
:where(.pg-site) :where(img, svg) { vertical-align: middle; }
:where(.pg-site) :where(img) { max-width: 100%; }
:where(.pg-site) :where(h1, h2, h3, h4, h5, h6) { margin: 0 0 .5em; line-height: 1.2; }
:where(.pg-site) :where(p) { margin: 0 0 10px; }
html { -webkit-text-size-adjust: 100%; }
body.pg-site { margin: 0; background: var(--surface); color: var(--ink); font-family: var(--font-sans); font-size: 15px; line-height: 22px; }
/* plain links only (zero specificity): any component class sets its own colours, and hover must never
   repaint white text on a blue/dark tile into the tile's own colour */
:where(.pg-site) a { color: var(--brand-strong); }
:where(.pg-site) a:where(:hover, :focus) { color: var(--brand-deep); text-decoration: none; }
.pg-site h1, .pg-site h2, .pg-site h3, .pg-site h4, .pg-site h5 { font-family: var(--font-sans); color: var(--ink); }
.pg-site h1 { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; font-size: 40px; line-height: 44px; letter-spacing: .01em; margin: 0 0 var(--space-5); }
.pg-site :focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.pg-site [hidden] { display: none !important; }
.pg-site .pg-icon { width: 20px; height: 20px; }
.pg-site .pg-btn { text-decoration: none; }
.pg-site .pg-btn--primary, .pg-site .pg-btn--primary:hover, .pg-site .pg-btn--primary:focus { color: var(--on-brand); }

/* Bootstrap 3 containers used by default templates: same width as the design */
.pg-site .container { width: auto; max-width: calc(var(--container) + 48px); padding-left: var(--space-5); padding-right: var(--space-5); }
.pg-site #content { min-height: 400px; padding-bottom: var(--space-8); }

/* ---------- header ---------- */
.pg-site-header { position: sticky; top: 0; z-index: 50; background: var(--surface); }
.pg-site-header.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.pg-site-header .pg-bar { flex-wrap: nowrap; position: relative; z-index: 61; background: var(--surface); }
.pg-site .pg-bar__search { min-width: 180px; }
/* the whole search box shows focus (bundle .pg-search:focus-within); the input's own ring was clipped to a vertical bar */
.pg-site .pg-search input:focus-visible { outline: none; }
.pg-site #search, .pg-site #cart { margin: 0; width: auto; }
.pg-bar__home { display: block; flex: none; }
.pg-bar__nav { flex-wrap: nowrap; }
.pg-catalog-toggle { background: var(--ink); color: var(--on-brand); }
.pg-catalog-toggle:hover { background: var(--brand-deep); color: var(--on-brand); }
.pg-catalog-toggle[aria-expanded="true"] .pg-catalog-toggle__caret { display: inline-block; transform: rotate(180deg); }
.pg-site .pg-bar__nav .pg-btn--ghost { color: var(--ink); }
.pg-site .pg-bar__nav .pg-btn--ghost:hover { color: var(--brand-strong); }
.pg-bar__phone a { color: var(--ink) !important; }
.pg-bar__icons { display: flex; gap: 2px; }
.pg-site .pg-hicon { color: var(--ink); min-width: 64px; }
.pg-site .pg-hicon:hover { color: var(--brand-strong); }
.pg-cartbtn { position: relative; }
.pg-cartbtn .pg-bar__count { margin-left: 2px; }
.pg-burger { display: none; }

/* ---------- catalog mega menu ---------- */
.pg-mega { position: absolute; left: 0; right: 0; top: 100%; z-index: 60; }
.pg-mega__in { max-width: calc(var(--container) + 48px); margin: 0 auto; background: var(--surface); border-radius: 0 0 var(--radius-lg) var(--radius-lg); box-shadow: var(--shadow-pop); padding: var(--space-4); display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: var(--space-4); min-height: 480px; max-height: calc(100vh - 100px); overflow: auto; }
.pg-mega__tops { display: flex; flex-direction: column; gap: 2px; background: var(--surface-alt); border-radius: 20px; padding: var(--space-2); }
.pg-site .pg-mega__top { display: flex; justify-content: space-between; align-items: center; min-height: 46px; padding: 0 14px; border-radius: var(--radius-md); color: var(--ink); font-size: 15px; }
.pg-mega__top .pg-icon { width: 16px; height: 16px; opacity: .35; }
.pg-site .pg-mega__top.is-active { background: var(--surface); color: var(--brand-strong); font-weight: 600; }
.pg-mega__top.is-active .pg-icon { opacity: 1; }
.pg-mega__all { margin-top: auto; padding: 12px 14px; font-size: 14px; font-weight: 500; }
.pg-mega__pane { display: none; flex-direction: column; gap: var(--space-4); padding: var(--space-3) var(--space-2); min-width: 0; grid-column: 2; grid-row: 1; }
.pg-mega__pane.is-active { display: flex; }
.pg-mega__head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-3); }
.pg-mega__head a { font-size: 14px; font-weight: 500; white-space: nowrap; }
.pg-site .pg-mega__title { font-size: 28px; line-height: 32px; }
.pg-mega__subs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px var(--space-3); }
.pg-site .pg-mega__sub { display: block; padding: 7px 12px; border-radius: 10px; color: var(--ink); font-size: 15px; line-height: 22px; }
.pg-site .pg-mega__sub:hover { background: var(--surface-alt); color: var(--brand-strong); }
.pg-mega__mhead, .pg-mega__mlinks { display: none; }
/* open menu: the header bar (left white above the shade) and the panel are one card, same width, rounded on top */
body.pg-mega-open .pg-site-header .pg-bar { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.pg-mega__shade { position: fixed; inset: 0; z-index: 40; background: rgba(28, 39, 49, .42); }

/* ---------- footer ---------- */
.pg-site .pg-footer { margin-top: var(--space-8); }
.pg-footer__col { display: flex; flex-direction: column; gap: 6px; }
.pg-footer__logo { height: 40px; width: auto; align-self: flex-start; border-radius: 10px; margin-bottom: 6px; }
.pg-footer__muted { opacity: .7; }
.pg-site .pg-footer a { color: var(--on-brand); }
.pg-site .pg-footer__phone { font-size: 18px; font-weight: 700; opacity: 1 !important; }
.pg-footer__bottom { max-width: calc(var(--container) + 48px); margin: 0 auto; padding: var(--space-4) var(--space-5) var(--space-6); font-size: 13px; opacity: .6; border-top: 1px solid rgba(255, 255, 255, .12); }

/* ---------- cookie notice ---------- */
.pg-cookie { position: fixed; left: var(--space-4); bottom: var(--space-4); z-index: 70; max-width: 520px; display: flex; align-items: center; gap: var(--space-4); padding: var(--space-4) var(--space-5); border-radius: 20px; background: var(--ink); color: var(--on-brand); font-size: 14px; line-height: 20px; box-shadow: var(--shadow-pop); }
.pg-site .pg-cookie a { color: var(--on-brand); text-decoration: underline; }

/* ---------- default templates: buttons, breadcrumbs, forms ---------- */
.pg-site .breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin: var(--space-4) 0 var(--space-5); padding: 0; background: none; border: 0; border-radius: 0; font-size: 13px; }
.pg-site .breadcrumb > li { padding: 0; text-shadow: none; }
.pg-site .breadcrumb > li + li::before { content: "›"; padding: 0 8px 0 0; color: var(--ink-faint); }
.pg-site .breadcrumb > li::after { display: none; }
.pg-site .breadcrumb a { color: var(--ink-muted); }
.pg-site .breadcrumb a:hover { color: var(--brand-strong); }
.pg-site .btn { height: auto; min-height: 40px; padding: 9px 18px; border-radius: var(--radius-md); font: 600 15px/20px var(--font-sans); text-shadow: none; box-shadow: none; background-image: none; }
.pg-site .btn-primary { background: var(--brand-strong); border-color: var(--brand-strong); color: var(--on-brand); }
.pg-site .btn-primary:hover, .pg-site .btn-primary:focus, .pg-site .btn-primary:active { background: var(--brand-deep); border-color: var(--brand-deep); color: var(--on-brand); }
.pg-site .btn-default { background: var(--surface-alt); border-color: var(--surface-alt); color: var(--ink); }
.pg-site .btn-default:hover { background: var(--brand-tint); border-color: var(--brand-tint); }
.pg-site .form-control { height: var(--control-h); border-radius: var(--radius-md); border-color: var(--ink-faint); box-shadow: none; font-size: 15px; }
.pg-site textarea.form-control { height: auto; }
.pg-site .form-control:focus { border-color: var(--brand-strong); box-shadow: 0 0 0 2px var(--brand-tint); }
.pg-site .alert { border-radius: var(--radius-md); }
.pg-site .list-group-item { border-color: var(--line); }


/* ---------- listing (category, search, specials, brand) ---------- */
.pg-site .pg-page { padding-top: var(--space-4); gap: var(--space-6); }
.pg-site .pg-crumbs { margin: 0; }
.pg-crumbs span[aria-hidden] { color: var(--ink-faint); }
.pg-listing__head { display: flex; flex-direction: column; gap: var(--space-4); }
.pg-listing__title { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-2) var(--space-4); }
.pg-site .pg-listing__title .pg-h1 { margin: 0; }
.pg-listing__count { color: var(--ink-muted); font-size: 15px; }
.pg-site .pg-chip { color: var(--ink); }
.pg-site .pg-chip.is-active, .pg-site .pg-chip.is-active:hover { color: var(--on-brand); background: var(--ink); }
.pg-listing__body { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-6); }
.pg-listing__body.has-aside { grid-template-columns: 280px minmax(0, 1fr); }
.pg-listing__aside { background: var(--surface-alt); border-radius: var(--radius-lg); padding: var(--space-5); align-self: start; }
.pg-listing__aside .list-group { margin: 0; }
.pg-listing__main { display: flex; flex-direction: column; gap: var(--space-5); min-width: 0; }
.pg-listing__bar { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: var(--space-3) var(--space-5); }
.pg-listing__sort { display: flex; align-items: center; gap: var(--space-2); margin: 0; font-size: 14px; font-weight: 400; color: var(--ink-muted); }
.pg-listing__sort .pg-input { height: 40px; padding: 0 36px 0 12px; border-color: var(--line); background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%231c2731' stroke-width='1.75' stroke-linecap='round'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 12px center; -webkit-appearance: none; appearance: none; font-size: 14px; }
.pg-listing__grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); row-gap: var(--space-6); }
.pg-site .pg-listing__promo { min-height: 280px; aspect-ratio: auto; }
.pg-site .pg-listing__promo, .pg-site .pg-listing__promo:hover { color: var(--on-brand); }
.pg-empty { padding: var(--space-7) 0; display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-4); }
.pg-listing__about { display: flex; gap: var(--space-5); align-items: flex-start; padding: var(--space-6); border-radius: var(--radius-lg); background: var(--surface-alt); margin-top: var(--space-5); }
.pg-listing__thumb { width: 160px; height: auto; border-radius: var(--radius-md); mix-blend-mode: multiply; }
.pg-prose { font-size: 15px; line-height: 24px; color: var(--ink); max-width: 860px; }
.pg-prose { overflow-wrap: anywhere; }
.pg-prose img, .pg-prose iframe, .pg-prose video { max-width: 100%; height: auto; }
.pg-prose table { display: block; max-width: 100%; overflow-x: auto; }
.pg-prose h2, .pg-prose h3 { font-weight: 600; margin: 1.2em 0 .5em; }

/* product card tweaks */
.pg-site .pg-card { color: var(--ink); }
.pg-card__img { display: block; width: 100%; height: 100%; }
.pg-site .pg-card__name { color: var(--ink); }
.pg-site .pg-card__name:hover { color: var(--brand-strong); }
.pg-site a.pg-card__add, .pg-site a.pg-card__add:hover { color: var(--on-brand); }
.pg-site .pg-card__fav { box-shadow: none; }
.pg-card__fav .pg-icon, .pg-card__add .pg-icon { width: 20px; height: 20px; }

/* pagination (OpenCart renders ul.pagination) */
.pg-pager .pagination { display: flex; flex-wrap: wrap; gap: 6px; margin: var(--space-4) 0 0; padding: 0; }
.pg-pager .pagination > li > a, .pg-pager .pagination > li > span { float: none; display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border: 0; border-radius: var(--radius-md); background: var(--surface-alt); color: var(--ink); font-weight: 500; margin: 0; }
.pg-pager .pagination > li > a:hover { background: var(--brand-tint); color: var(--brand-strong); }
.pg-pager .pagination > .active > span, .pg-pager .pagination > .active > span:hover { background: var(--ink); color: var(--on-brand); }


/* ---------- product page ---------- */
.pg-item { gap: var(--space-7); }
.pg-item__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.pg-item__gallery { display: flex; flex-direction: column; gap: var(--space-3); position: sticky; top: 88px; min-width: 0; }
.pg-item__photo { position: relative; aspect-ratio: 1 / 1; border-radius: var(--radius-lg); background: var(--surface-alt); overflow: hidden; }
.pg-item__zoom { display: block; width: 100%; height: 100%; cursor: zoom-in; }
.pg-item__photo img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; display: block; }
.pg-item__badges { top: 20px; left: 20px; }
.pg-site .pg-item__fav { top: 16px; right: 16px; width: 48px; height: 48px; }
.pg-item__thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.pg-item__thumb { aspect-ratio: 1 / 1; padding: 0; border: 2px solid transparent; border-radius: 16px; background: var(--surface-alt); overflow: hidden; cursor: pointer; }
.pg-item__thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.pg-item__thumb.is-active { border-color: var(--ink); }
.pg-item__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: var(--space-2); }
.pg-item__fact { display: flex; flex-direction: column; gap: 4px; padding: var(--space-4); border-radius: 20px; background: var(--surface-alt); }
.pg-item__fact b { font-size: 14px; }
.pg-item__fact span { font-size: 13px; line-height: 18px; color: var(--ink-muted); }
.pg-item__fact--tint { background: var(--brand-tint); }
.pg-item__info { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.pg-item__meta { display: flex; flex-wrap: wrap; gap: var(--space-4); font-size: 13px; color: var(--ink-muted); }
.pg-site .pg-item__title { margin: 0; font-family: var(--font-sans); text-transform: none; font-size: 32px; line-height: 38px; font-weight: 600; letter-spacing: 0; text-wrap: balance; }
.pg-item__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-2) var(--space-3); }
.pg-item__now { font-size: 36px; line-height: 40px; font-weight: 700; font-variant-numeric: tabular-nums; }
.pg-item__old { color: var(--ink-muted); font-size: 18px; }
.pg-item__note { color: var(--ink-muted); font-size: 14px; margin: 0; }
.pg-item__tiers { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; color: var(--ink-muted); }
.pg-item__tiers b { color: var(--ink); }
.pg-item__buy { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.pg-item__buy .pg-btn { flex: 1; min-width: 200px; }
.pg-site .pg-item__invoice { background: var(--surface-alt); color: var(--ink); }
.pg-site .pg-item__invoice:hover { background: var(--brand-tint); color: var(--ink); }
.pg-note { padding: 12px 16px; border-radius: var(--radius-md); font-size: 14px; }
.pg-note--ok { background: var(--success-tint); color: var(--success); }
.pg-note--err { background: var(--danger-tint); color: var(--danger); }
.pg-note a { font-weight: 600; }

/* steppers */
.pg-step { display: inline-flex; align-items: center; height: 34px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line); background: var(--surface); }
.pg-step__btn { width: 32px; height: 100%; border: 0; background: transparent; color: var(--ink-muted); font-size: 18px; line-height: 1; cursor: pointer; padding: 0; }
.pg-step__btn:hover { color: var(--brand-strong); }
.pg-step__input { width: 40px; height: 100%; border: 0; background: transparent; text-align: center; font: 600 15px/1 var(--font-sans); color: var(--ink); font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.pg-step__input::-webkit-outer-spin-button, .pg-step__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pg-step--lg { height: var(--control-h-lg); border-radius: var(--radius-md); }
.pg-step--lg .pg-step__btn { width: 44px; }
.pg-step--lg .pg-step__input { width: 52px; }

/* size list (SizeMatrix): one row = one position "размер / рост" */
.pg-sizes-box { display: flex; flex-direction: column; gap: 4px; padding: var(--space-4); border-radius: var(--radius-lg); background: var(--surface-alt); }
.pg-sizes-box__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; padding: 4px 6px 8px; }
.pg-sizes-box__head b { font-size: 18px; }
.pg-sizes-box__head b span { font-weight: 400; color: var(--ink-muted); font-size: 14px; }
.pg-sizes-box__hint { font-size: 13px; color: var(--ink-muted); }
.pg-size-row { display: grid; grid-template-columns: minmax(120px, 1.2fr) minmax(0, 1fr) auto 104px; align-items: center; gap: 10px; min-height: 46px; padding: 4px 6px 4px 14px; border-radius: 12px; background: rgba(255, 255, 255, .55); font-variant-numeric: tabular-nums; }
.pg-size-row.is-order { display: none; }
.pg-sizes-box.is-open .pg-size-row.is-order, .pg-size-row.is-order.is-on { display: grid; }
.pg-size-row__label { font-size: 15px; color: var(--ink); }
.pg-size-row__stock { font-size: 13px; white-space: nowrap; }
.pg-size-row__stock .is-in { color: var(--success); }
.pg-size-row__stock .is-order { color: var(--warning); }
.pg-size-row__price { display: flex; flex-direction: column; text-align: right; line-height: 16px; }
.pg-size-row__unit { font-size: 14px; color: var(--ink-muted); }
.pg-size-row__sum { font-size: 11px; font-weight: 600; color: var(--brand-strong); }
.pg-size-row.is-on { background: var(--surface); }
.pg-size-row.is-on .pg-size-row__label { font-weight: 700; }
.pg-size-row.is-on .pg-step { background: var(--brand-tint); box-shadow: none; }
.pg-size-row.is-on .pg-step__input, .pg-size-row.is-on .pg-step__btn { color: var(--brand-strong); }
.pg-size-row.is-on .pg-size-row__unit { color: var(--ink); font-weight: 700; }
.pg-size-row:not(.is-on) .pg-step__input { color: var(--ink-faint); font-weight: 400; }
.pg-sizes-box__more { height: 44px; margin-top: 4px; border: 1.5px dashed var(--ink-faint); border-radius: 12px; background: transparent; color: var(--ink); font: 500 14px var(--font-sans); cursor: pointer; }
.pg-sizes-box__more span { color: var(--brand-strong); }
.pg-sizes-box__total { position: sticky; bottom: 12px; margin-top: 10px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 10px 10px 20px; border-radius: 20px; background: var(--ink); color: var(--on-brand); box-shadow: var(--shadow-pop); }
.pg-sizes-box__total > div:first-child { display: flex; flex-direction: column; }
.pg-sizes-box__count { font-size: 12px; opacity: .75; }
.pg-sizes-box__sum { font-size: 24px; line-height: 28px; font-weight: 700; font-variant-numeric: tabular-nums; }
.pg-sizes-box__actions { display: flex; align-items: center; gap: 6px; }
.pg-sizes-box__clear { height: 44px; padding: 0 14px; border: 0; background: transparent; color: var(--on-brand); opacity: .8; font: 500 14px var(--font-sans); cursor: pointer; }
.pg-site .pg-sizes-box__buy { background: var(--signal); color: var(--ink); }
.pg-site .pg-sizes-box__buy:hover { background: #ff8b38; color: var(--ink); }
.pg-site .pg-sizes-box__buy[disabled] { background: rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .7); border-color: transparent; }

.pg-item__more { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: var(--space-4); align-items: start; }
.pg-item__block { display: flex; flex-direction: column; gap: 12px; padding: var(--space-6); border-radius: var(--radius-lg); background: var(--surface-alt); min-width: 0; }
.pg-site .pg-item__block h2 { margin: 0; font-size: 22px; line-height: 28px; font-weight: 600; }
.pg-specs { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); font-size: 15px; line-height: 22px; }
.pg-specs dt, .pg-specs dd { margin: 0; padding: 9px 0; border-bottom: 1px solid var(--line); }
.pg-specs dt { color: var(--ink-muted); font-weight: 400; padding-right: var(--space-3); }
.pg-specs dt:nth-last-child(2), .pg-specs dd:last-child { border-bottom: 0; }
.pg-item__related { display: flex; flex-direction: column; gap: var(--space-5); }


/* ---------- home ---------- */
.pg-site .pg-bento { grid-auto-rows: minmax(260px, auto); }
.pg-home { gap: var(--space-8); }
.pg-site .pg-tile { color: inherit; }
.pg-site a.pg-tile:hover { color: inherit; }
.pg-site .pg-tile--brand, .pg-site .pg-tile--ink, .pg-site a.pg-tile--brand:hover, .pg-site a.pg-tile--ink:hover { color: var(--on-brand); }
.pg-site .pg-tile--signal, .pg-site a.pg-tile--signal:hover { color: var(--ink); }
.pg-home__hero-text { display: flex; flex-direction: column; gap: 20px; position: relative; }
.pg-home__eyebrow { font-size: 14px; opacity: .85; }
.pg-site h1.pg-home__eyebrow { margin: 0; color: var(--on-brand); font: 400 14px/20px var(--font-sans); text-transform: none; letter-spacing: 0; }
.pg-home__about { max-width: 960px; }
.pg-home__text { border-radius: var(--radius-lg); background: var(--surface-alt); padding: var(--space-5) var(--space-6); }
.pg-home__text summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: var(--space-3); }
.pg-home__text summary::-webkit-details-marker { display: none; }
.pg-home__text summary::after { content: "Читать ▾"; color: var(--brand-strong); font-weight: 500; font-size: 14px; }
.pg-home__text[open] summary::after { content: "Свернуть ▴"; }
.pg-home__text .pg-prose { margin-top: var(--space-4); }
.pg-home__text .pg-prose h2 { font-size: 17px; }
.pg-module { margin-top: var(--space-6); }
.pg-site .pg-module__title { font-size: 28px; line-height: 32px; margin-bottom: var(--space-4); }
.pg-filter { display: flex; flex-direction: column; gap: var(--space-4); }
.pg-filter__group { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.pg-filter__group legend { font-weight: 600; font-size: 15px; margin-bottom: 4px; border: 0; }
.pg-site .pg-home__h1 { margin: 0; color: var(--on-brand); font-family: var(--font-display); font-size: 64px; line-height: 68px; font-weight: 600; text-transform: uppercase; text-wrap: balance; }
.pg-home__lead { margin: 0; font-size: 18px; line-height: 28px; max-width: 480px; }
/* shared by home, info, wholesale, account, 404 pages: a row of buttons, a tile heading */
.pg-actions { display: flex; flex-wrap: wrap; gap: 12px; position: relative; }
.pg-site .pg-btn--onDark, .pg-site .pg-btn--onDark:hover { color: var(--ink); }
.pg-site .pg-btn--onDark:hover { background: var(--brand-tint); }
.pg-site .pg-btn--glass, .pg-site .pg-btn--glass:hover { color: var(--on-brand); }
.pg-home__season-img { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); height: 88%; width: auto; max-width: none; mix-blend-mode: multiply; }
.pg-home__sub { display: block; font-size: 13px; line-height: 18px; color: var(--ink-muted); margin-top: 2px; }
.pg-home__tile-text { font-size: 15px; line-height: 22px; font-weight: 500; }
.pg-tile__head { display: block; font-size: 20px; line-height: 26px; }
.pg-tile__head--lg { font-size: 24px; line-height: 30px; }
.pg-home__muted { opacity: .8; font-weight: 400; }
.pg-home__section { display: flex; flex-direction: column; gap: var(--space-5); }
.pg-home__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: var(--space-4); }
.pg-home__head a { font-weight: 500; }
.pg-home__cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-4); }
.pg-home__cats .pg-cat { aspect-ratio: 5 / 4; }
.pg-site .pg-cat, .pg-site .pg-cat:hover { color: var(--ink); }
.pg-home__how { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: var(--space-4); }
.pg-home__steps, .pg-home__call { padding: 40px; justify-content: flex-start; gap: 20px; }


/* ---------- cart ---------- */
.pg-cart { gap: var(--space-5); }
.pg-cart__body { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: var(--space-6); align-items: start; }
.pg-cart__list { display: flex; flex-direction: column; gap: var(--space-2); }
.pg-cart__row { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto 120px 40px; align-items: center; gap: var(--space-4); padding: var(--space-3); border-radius: 20px; background: var(--surface-alt); }
.pg-cart__img { display: block; aspect-ratio: 1 / 1; border-radius: 14px; background: var(--surface); overflow: hidden; }
.pg-cart__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.pg-cart__info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.pg-site .pg-cart__name { color: var(--ink); font-weight: 500; }
.pg-cart__opts { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 14px; color: var(--ink-muted); }
.pg-cart__opt b { color: var(--ink); font-weight: 600; }
.pg-cart__unit { font-size: 13px; color: var(--ink-muted); }
.pg-cart__total { text-align: right; font-size: 17px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pg-cart__remove { width: 40px; height: 40px; border: 0; border-radius: var(--radius-pill); background: transparent; color: var(--ink-muted); cursor: pointer; display: grid; place-items: center; }
.pg-cart__remove:hover { background: var(--danger-tint); color: var(--danger); }
.pg-cart__side { position: sticky; top: 88px; display: flex; flex-direction: column; gap: var(--space-3); }
.pg-cart__sum { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-5); border-radius: var(--radius-lg); background: var(--ink); color: var(--on-brand); }
.pg-cart__line { display: flex; justify-content: space-between; gap: var(--space-3); font-size: 15px; opacity: .85; }
.pg-cart__line.is-total { opacity: 1; font-size: 22px; line-height: 28px; padding-top: var(--space-2); border-top: 1px solid rgba(255, 255, 255, .15); }
.pg-site .pg-cart__go, .pg-site .pg-cart__go:hover { background: var(--signal); color: var(--ink); }
.pg-cart__hint { margin: 0; font-size: 13px; line-height: 18px; opacity: .75; }
.pg-cart__back { font-weight: 500; padding: 0 var(--space-2); }
.pg-cart__modules { max-width: 720px; }

/* ---------- checkout (default steps, restyled) ---------- */
.pg-site #checkout-checkout .panel { border: 0; border-radius: 20px; background: var(--surface-alt); box-shadow: none; margin-bottom: var(--space-3); overflow: hidden; }
.pg-site #checkout-checkout .panel-heading { background: transparent; border: 0; padding: var(--space-4) var(--space-5); }
.pg-site #checkout-checkout .panel-title { font-size: 18px; font-weight: 600; }
.pg-site #checkout-checkout .panel-title a { color: var(--ink); }
.pg-site #checkout-checkout .panel-body { padding: 0 var(--space-5) var(--space-5); border: 0 !important; }
.pg-site #checkout-checkout legend { font-size: 16px; font-weight: 600; border: 0; margin-bottom: var(--space-3); }
.pg-site #checkout-checkout .table { background: var(--surface); border-radius: 14px; overflow: hidden; }
.pg-site #checkout-checkout .table > thead > tr > td, .pg-site #checkout-checkout .table td { border-color: var(--line); }

/* ---------- info pages, contacts, success, 404 ---------- */
.pg-info__grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: var(--space-6); align-items: start; }
.pg-info__body { padding: var(--space-6); border-radius: var(--radius-lg); background: var(--surface-alt); }
.pg-info__body table { width: 100%; border-collapse: collapse; }
.pg-info__body td, .pg-info__body th { padding: 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.pg-info__aside { display: flex; flex-direction: column; gap: var(--space-4); position: sticky; top: 88px; }
.pg-info__call { gap: 12px; justify-content: flex-start; }
.pg-info__links { display: flex; flex-direction: column; gap: 2px; padding: var(--space-2); border-radius: 20px; background: var(--surface-alt); }
.pg-site .pg-info__links a { padding: 10px 14px; border-radius: 12px; color: var(--ink); font-weight: 500; }
.pg-site .pg-info__links a:hover { background: var(--surface); color: var(--brand-strong); }
.pg-site .pg-contacts__big { display: block; color: var(--on-brand); font-family: var(--font-display); font-size: 48px; line-height: 52px; font-weight: 600; }
.pg-site .pg-contacts__mid { display: block; color: var(--on-brand); font-size: 20px; font-weight: 600; margin-top: 6px; opacity: .9; }
.pg-contacts__addr { font-size: 16px; line-height: 24px; }
.pg-contacts__hours { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--space-3) var(--space-5); font-size: 15px; line-height: 22px; }
.pg-contacts__hours b { display: block; margin-bottom: 2px; }
.pg-contacts__form { background: var(--surface-alt); padding: 40px; gap: var(--space-4); justify-content: flex-start; max-width: 880px; }
.pg-form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--space-4); }
.pg-site .pg-field label { margin: 0; }
.pg-textarea { height: auto !important; padding: 12px 16px; line-height: 22px; resize: vertical; }
.pg-contacts__submit { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-4); }
.pg-check { display: inline-flex; align-items: flex-start; gap: 8px; font-size: 14px; font-weight: 400; margin: 0; cursor: pointer; }
.pg-check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--brand-strong); }
.pg-success__msg p { margin: 0 0 8px; }
.pg-site .pg-success__msg a { color: var(--on-brand); text-decoration: underline; }
.pg-searchform { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-4); }
.pg-searchform__q { flex: 1 1 360px; }
.pg-searchform__cat { width: auto; max-width: 320px; height: var(--control-h); border-color: var(--line); }


/* ---------- order request form ---------- */
.pg-order { gap: var(--space-5); }
.pg-order__body { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: var(--space-6); align-items: start; }
.pg-order__main { display: flex; flex-direction: column; gap: var(--space-4); min-width: 0; }
.pg-order__block { display: flex; flex-direction: column; gap: var(--space-4); padding: var(--space-6); border-radius: var(--radius-lg); background: var(--surface-alt); }
.pg-site .pg-order__h { margin: 0; font-size: 20px; line-height: 26px; font-weight: 600; }
.pg-order__h span { font-size: 14px; font-weight: 400; color: var(--ink-muted); }
.pg-order__choice { display: flex; flex-direction: column; gap: var(--space-2); }
.pg-order__option { display: flex; align-items: center; gap: 12px; min-height: var(--control-h); margin: 0; padding: 10px 16px; border-radius: var(--radius-md); background: var(--surface); font-weight: 500; cursor: pointer; }
.pg-order__option input { width: 18px; height: 18px; margin: 0; accent-color: var(--brand-strong); }
.pg-order__option:has(input:checked) { box-shadow: inset 0 0 0 2px var(--brand-strong); }
.pg-order__side { position: sticky; top: 88px; display: flex; flex-direction: column; gap: var(--space-3); }
.pg-order__side-h { font-size: 18px; }
.pg-order__items { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; max-height: 320px; overflow: auto; }
.pg-order__items li { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 18px; }
.pg-order__items img { width: 48px; height: 48px; border-radius: 10px; background: var(--surface); object-fit: contain; flex: none; }
.pg-order__items b { display: block; font-weight: 500; }
.pg-order__items small { display: block; opacity: .75; font-size: 12px; }
.pg-site .pg-order__agree { color: var(--on-brand); }
.pg-site .pg-order__agree a { color: var(--on-brand); text-decoration: underline; }
.pg-order__agree-err { color: #ffb4a8; }
.pg-order__agree-err:empty { display: none; }
.pg-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pg-field__hint:empty { display: none; }

/* ---------- section filter ---------- */
.pg-filterbar { border-radius: 20px; background: var(--surface-alt); }
.pg-filterbar summary { display: flex; justify-content: space-between; align-items: center; padding: 12px 20px; cursor: pointer; font-weight: 600; list-style: none; }
.pg-filterbar summary::-webkit-details-marker { display: none; }
.pg-filterbar__toggle::after { content: "▾"; color: var(--brand-strong); }
.pg-filterbar[open] .pg-filterbar__toggle::after { content: "▴"; }
.pg-filterbar__form { display: flex; flex-wrap: wrap; align-items: flex-start; gap: var(--space-4) var(--space-6); padding: 0 20px 20px; }
.pg-filterbar__label { display: block; font-size: 13px; font-weight: 500; color: var(--ink-muted); margin-bottom: 6px; padding: 0; border: 0; }
.pg-filterbar__stock { align-self: center; font-weight: 500; }
.pg-filterbar__price { display: grid; grid-template-columns: auto 110px 110px; align-items: center; gap: 8px; }
.pg-filterbar__price .pg-filterbar__label { grid-column: 1 / -1; margin: 0; }
.pg-filterbar__price .pg-input { min-width: 0; width: 100%; height: 40px; padding: 0 12px; border-color: var(--line); }
.pg-filterbar__sizes { border: 0; margin: 0; padding: 0; flex: 1 1 100%; min-width: 0; }
.pg-chip--check { position: relative; cursor: pointer; }
.pg-chip--check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pg-chip--check:has(input:checked) { background: var(--ink); color: var(--on-brand); }
.pg-chip--check:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
.pg-chip--check.is-order span { opacity: .7; }
.pg-filterbar__actions { display: flex; gap: var(--space-2); flex: 1 1 100%; }

/* ---------- wholesale ---------- */
.pg-site .pg-wholesale__cta, .pg-site .pg-wholesale__cta:hover { background: var(--signal); color: var(--ink); border: 0; }
.pg-wholesale__why { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--space-4); }
.pg-wholesale__why .pg-tile { min-height: 180px; justify-content: flex-end; gap: 6px; }
.pg-wholesale__dept { display: flex; flex-direction: column; gap: 6px; border-top: 1px solid var(--line); padding-top: 20px; }
.pg-site .pg-wholesale__phone { font-size: 20px; font-weight: 700; color: var(--ink); }
.pg-wholesale__form { padding: 40px; justify-content: flex-start; gap: 14px; }
.pg-site .pg-wholesale__form label, .pg-site .pg-wholesale__form .pg-check a { color: var(--on-brand); }
.pg-wholesale__form .pg-input { border: 0; }
.pg-wholesale__form .pg-field__hint { color: #ffd2c2; }
.pg-chip--plain { background: var(--surface); cursor: default; }
.pg-tile--ink .pg-crumbs, .pg-site .pg-tile--ink .pg-crumbs a { color: var(--on-brand); opacity: .8; }

/* ---------- account ---------- */
.pg-account { gap: var(--space-5); }
.pg-account__body { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-6); align-items: start; }
.pg-account__body.has-aside { grid-template-columns: 260px minmax(0, 1fr); }
.pg-account__tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--space-4); }
.pg-account__form { justify-content: flex-start; gap: var(--space-3); padding: var(--space-6); }
.pg-account__narrow { max-width: 520px; }
.pg-account__actions { display: flex; gap: var(--space-2); }
.pg-account__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: var(--space-4); }
.pg-account__grid .pg-tile { min-height: 150px; }
.pg-site .pg-account__grid .pg-tile__title { font-size: 20px; line-height: 24px; }
.pg-site a.pg-card__fav--remove { display: grid; color: var(--ink-muted); }
/* account pages still on default templates (register, data, addresses, orders): Bootstrap markup in the theme's look */
.pg-legacy #content { min-height: 0; }
.pg-legacy[class] .container > .row > #content, .pg-legacy .container > .row > [id^="content"] { background: var(--surface-alt); border-radius: var(--radius-lg); padding: var(--space-6); }
.pg-legacy #content > h1, .pg-legacy #content > h2 { font-family: var(--font-display); text-transform: uppercase; font-weight: 600; font-size: 28px; line-height: 32px; margin: 0 0 var(--space-4); }
.pg-legacy #content legend { font-size: 18px; font-weight: 600; border: 0; padding: 0; margin: var(--space-4) 0 var(--space-3); }
.pg-legacy #content .table { background: var(--surface); border-radius: 14px; overflow: hidden; }
.pg-legacy #content .table > thead > tr > td { font-weight: 600; background: var(--surface); }
.pg-legacy #content .buttons { display: flex; justify-content: space-between; gap: var(--space-3); margin-top: var(--space-5); }
.pg-legacy #content .buttons .pull-right, .pg-legacy #content .buttons .pull-left { float: none; }
.pg-legacy #column-left .pg-account__menu { position: sticky; top: 88px; }
.pg-legacy .well { background: var(--surface); border: 0; border-radius: 20px; box-shadow: none; }

/* toast after add to cart / wishlist */
.pg-toast { position: fixed; right: var(--space-4); bottom: var(--space-4); z-index: 90; max-width: 420px; padding: 14px 18px; border-radius: 16px; background: var(--ink); color: var(--on-brand); font-size: 14px; line-height: 20px; box-shadow: var(--shadow-pop); transition: opacity .3s, transform .3s; }
.pg-toast a { color: var(--on-brand); text-decoration: underline; }
.pg-toast--err { background: var(--danger); }
.pg-toast.is-out { opacity: 0; transform: translateY(8px); }

/* ---------- dialogs (size chart, call back) ---------- */
.pg-dialog { width: min(920px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 0; border: 0; border-radius: var(--radius-lg); box-shadow: var(--shadow-pop); color: var(--ink); }
.pg-dialog::backdrop { background: rgba(28, 39, 49, .5); }
.pg-dialog__head { position: sticky; top: 0; display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); padding: var(--space-3) var(--space-3) var(--space-3) var(--space-5); background: var(--surface); border-bottom: 1px solid var(--line); font-size: 18px; }
.pg-dialog__body { padding: var(--space-5); }
.pg-dialog__body img { width: 100%; height: auto; }
.pg-link-btn { border: 0; background: none; padding: 0; color: var(--brand-strong); font: 500 14px var(--font-sans); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.pg-link-btn:hover { color: var(--brand-deep); }

.pg-dialog--narrow { width: min(460px, calc(100vw - 32px)); }
.pg-callback { display: flex; flex-direction: column; gap: var(--space-3); }
.pg-callback__lead { margin: 0; color: var(--ink-muted); font-size: 14px; line-height: 20px; }
.pg-callback__or { font-size: 13px; color: var(--ink-muted); text-align: center; }
.pg-callback__err:empty { display: none; }
.pg-bar__callback { font-size: 12px; text-decoration: none; text-align: left; }
.pg-item__cta { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--space-2); }

/* ---------- switched-off product ---------- */
.pg-item__photo--off img { filter: grayscale(.6); opacity: .85; }
.pg-off__note { gap: var(--space-3); justify-content: flex-start; min-height: 0; }
.pg-site .pg-off__note .pg-btn { height: auto; min-height: var(--control-h); padding-block: 10px; white-space: normal; text-align: center; }
.pg-site .pg-btn--secondary { color: var(--brand-strong); }

/* ---------- "Полезное" (news) ---------- */
/* "Все категории": catalog map */
.pg-catmap__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-3) var(--space-5); margin-bottom: var(--space-5); }
.pg-site .pg-catmap__top .pg-h1 { margin: 0; }
.pg-catmap__find { flex: 0 1 420px; align-items: center; padding-left: var(--space-4); }
.pg-catmap__find .pg-icon { flex: none; color: var(--ink-muted); }
.pg-catmap__find input { padding-left: var(--space-3); }
.pg-catmap__none { margin: 0 0 var(--space-5); color: var(--ink-muted); }
.pg-catmap { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: var(--space-4); align-items: start; }
.pg-site .pg-catmap__item { justify-content: flex-start; gap: var(--space-3); min-height: 0; }
.pg-site .pg-catmap__head { display: flex; align-items: center; gap: var(--space-3); color: var(--ink); }
.pg-site .pg-catmap__head:hover { color: var(--brand-strong); }
.pg-catmap__head img { width: 72px; height: 72px; flex: none; object-fit: contain; border-radius: var(--radius-md); background: var(--surface); mix-blend-mode: multiply; }
.pg-catmap__subs { display: flex; flex-direction: column; gap: 2px; }
.pg-site .pg-catmap__subs a { padding: 4px 0; color: var(--ink); font-size: 15px; line-height: 21px; }
.pg-site .pg-catmap__subs a:hover { color: var(--brand-strong); }
.pg-catmap__all { margin-top: auto; font-size: 14px; font-weight: 500; }
.pg-news__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: var(--space-4); }
.pg-site .pg-news__card { min-height: 220px; justify-content: flex-start; gap: var(--space-2); padding-right: 64px; }
.pg-news__card .pg-tile__arrow { position: absolute; top: var(--space-5); right: var(--space-5); }
.pg-news__title { font-size: 18px; line-height: 24px; }
.pg-news__topic { font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--brand-strong); }
.pg-news__goods-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-3); }
.pg-news__text { font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.pg-site .pg-news__h1 { font-family: var(--font-sans); text-transform: none; font-size: 32px; line-height: 38px; letter-spacing: 0; }

/* ---------- responsive ---------- */
@media (max-width: 1360px) {
  .pg-bar__phone { display: none; }
  .pg-bar__icons .pg-hicon span { display: none; }
  .pg-site .pg-hicon { min-width: 44px; }
  .pg-cartbtn__label { display: none; }
  .pg-site .pg-cartbtn { padding: 0 16px; }
}
@media (max-width: 1080px) {
  .pg-site .pg-bar__nav .pg-btn--ghost { display: none; }
}
@media (max-width: 1000px) {
  .pg-listing__body.has-aside { grid-template-columns: minmax(0, 1fr); }
  .pg-item__top { grid-template-columns: minmax(0, 1fr); gap: var(--space-5); }
  .pg-item__gallery { position: static; }
  .pg-cart__body, .pg-info__grid, .pg-order__body, .pg-account__body.has-aside { grid-template-columns: minmax(0, 1fr); }
  .pg-cart__side, .pg-info__aside, .pg-order__side { position: static; }
  /* account menu: one scrollable row instead of a screen-tall list */
  .pg-site .pg-account__menu, .pg-legacy #column-left .pg-account__menu { position: static; flex-direction: row; overflow-x: auto; scrollbar-width: none; }
  .pg-site .pg-account__menu a { flex: none; white-space: nowrap; }
}
@media (max-width: 760px) {
  .pg-listing__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5) var(--space-3); }
  .pg-filterbar__price { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .pg-site .pg-listing__promo { grid-column: 1 / -1; min-height: 0; }
  .pg-listing__bar { justify-content: stretch; }
  .pg-listing__sort { flex: 1; }
  .pg-listing__sort .pg-input { flex: 1; min-width: 0; }
  .pg-listing__sort:last-child { display: none; }
  .pg-card__fav { width: 36px; height: 36px; top: 6px; right: 6px; }
  .pg-site .pg-card__add { width: 40px; height: 40px; right: 8px; bottom: 8px; }
  .pg-card__name { font-size: 14px; }
  .pg-card__head { flex-direction: column; gap: 4px; }
  .pg-listing__about { flex-direction: column; padding: var(--space-5); }
  .pg-site .pg-item__title { font-size: 24px; line-height: 30px; }
  .pg-site .pg-home__h1 { font-size: 40px; line-height: 44px; }
  .pg-cart__row { grid-template-columns: 72px minmax(0, 1fr) 32px; grid-template-areas: "img info del" "img step total"; gap: 8px 12px; }
  .pg-cart__img { grid-area: img; align-self: start; }
  .pg-cart__info { grid-area: info; }
  .pg-cart__row .pg-step { grid-area: step; justify-self: start; }
  .pg-cart__total { grid-area: total; grid-column: 2 / 4; justify-self: end; }
  .pg-cart__remove { grid-area: del; width: 32px; height: 32px; align-self: start; }
  .pg-info__body, .pg-contacts__form, .pg-order__block { padding: var(--space-5); }
  .pg-site .pg-contacts__big { font-size: 36px; line-height: 40px; }
  .pg-home__lead { font-size: 16px; line-height: 24px; }
  .pg-home__season { min-height: 420px; }
  .pg-home__cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); }
  .pg-home__cats .pg-cat { aspect-ratio: 4 / 5; }
  .pg-home__steps, .pg-home__call { padding: var(--space-5); }
  .pg-home { gap: var(--space-7); }
  .pg-item__now { font-size: 28px; line-height: 32px; }
  .pg-item__facts { grid-template-columns: minmax(0, 1fr); }
  .pg-sizes-box { padding: var(--space-2); margin: 0 calc(-1 * var(--space-2)); }
  .pg-size-row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "label step" "meta step"; row-gap: 0; padding: 6px 6px 6px 12px; }
  .pg-size-row__label { grid-area: label; }
  .pg-size-row__stock { grid-area: meta; font-size: 12px; }
  .pg-size-row__stock::after { content: attr(data-unit); }
  .pg-size-row .pg-step { grid-area: step; height: 40px; }
  .pg-size-row__price { display: none; }
  .pg-sizes-box__total { padding: 10px 10px 10px 16px; }
  .pg-sizes-box__clear { display: none; }
  .pg-item__block { padding: var(--space-5); }
  .pg-specs { grid-template-columns: minmax(0, 1fr); }
  .pg-specs dt { border-bottom: 0; padding-bottom: 0; font-size: 13px; }
  .pg-site .pg-bar { flex-wrap: wrap; gap: var(--space-2) var(--space-3); padding: var(--space-3) var(--space-4); }
  .pg-bar__nav { display: none !important; }
  .pg-burger { display: inline-flex; order: 1; margin-left: -8px; }
  .pg-bar__home { order: 2; margin-right: auto; }
  .pg-bar__icons { order: 3; }
  .pg-site-header #cart { order: 4; }
  .pg-site-header { position: relative; }
  .pg-site .pg-bar__logo { height: 32px; width: auto; }
  .pg-site .pg-cartbtn { padding: 0 12px; gap: 6px; }
  .pg-bar__icons .pg-hicon { min-width: 40px; }
  .pg-listing__head .pg-chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(-1 * var(--space-4)); padding: 0 var(--space-4) 4px; scrollbar-width: none; }
  .pg-listing__head .pg-chips::-webkit-scrollbar { display: none; }
  .pg-sizes-box__total { flex-wrap: nowrap; }
  .pg-sizes-box__sum { font-size: 20px; line-height: 24px; }
  .pg-site .pg-sizes-box__buy { height: 48px; padding: 0 16px; font-size: 15px; }
  .pg-cartbtn__label { display: none; }
  .pg-bar__search { order: 5; flex-basis: 100%; min-width: 0; }
  .pg-bar__icons .pg-hicon:last-child { display: none; }
  .pg-mega { position: fixed; top: 0; bottom: 0; z-index: 80; }
  body.pg-mega-open { overflow: hidden; }
  body.pg-mega-open .pg-cookie { display: none; }
  .pg-mega__in { border-radius: 0; height: 100%; max-height: none; grid-template-columns: 1fr; padding: var(--space-3); min-height: 0; }
  .pg-mega__pane { display: none !important; }
  .pg-mega__mhead { display: flex; justify-content: space-between; align-items: center; padding: 4px 4px 8px 14px; }
  .pg-site .pg-mega__mhead .pg-h2 { font-size: 24px; line-height: 28px; }
  .pg-mega__mlinks { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border-top: 1px solid var(--line); font-weight: 500; }
  .pg-site .pg-mega__mlinks a { color: var(--ink); padding: 6px 0; }
  .pg-site .pg-mega__mphone { font-size: 18px; font-weight: 700; }
  .pg-site .container { padding-left: var(--space-4); padding-right: var(--space-4); }
  .pg-site h1 { font-size: 28px; line-height: 32px; }
  .pg-cookie { left: var(--space-3); right: var(--space-3); bottom: var(--space-3); flex-direction: column; align-items: stretch; }
}
