/* R440: плотный PDP при прежних qty/pack/variant/source контрактах. */
.hg-pdp-r440 .jp-product-detail{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);gap:48px;align-items:start;margin-top:24px}
.hg-pdp-r440 .jp-gallery{position:sticky;top:150px;align-self:start;min-width:0}
.hg-pdp-r440 .jp-main-photo{height:auto;min-height:0;aspect-ratio:1/1;max-height:calc(100svh - 350px);background:var(--hg-soft);display:flex;align-items:center;justify-content:center}
.hg-pdp-r440 .jp-main-photo>img{height:100%;width:100%;max-height:calc(100svh - 350px);object-fit:contain}
.hg-pdp-r440 .jp-photo-thumbs{gap:8px;margin-top:12px;display:flex;flex-wrap:wrap;max-height:144px;overflow:auto;overscroll-behavior:contain}
.hg-pdp-r440 .jp-photo-thumbs button{width:64px;height:64px;padding:2px;min-width:44px;border-radius:8px}
.hg-pdp-r440 .jp-photo-thumbs img{width:100%;height:100%;object-fit:cover}
.hg-pdp-r440 .jp-photo-caption{font-size:13px;margin:10px 0;color:var(--hg-muted)}
.hg-pdp-r440 .jp-product-summary{min-width:0;padding:0}
.hg-pdp-r440 .gtyres-pack{margin:16px 0!important;padding:16px!important}
.hg-pdp-r440 .gtyres-pack-unit{margin-bottom:8px!important;font-size:24px!important;line-height:1.5}
.hg-pdp-r440 .gtyres-pack-total{display:flex;justify-content:space-between;align-items:baseline;gap:8px;flex-wrap:wrap;margin:12px 0}
.hg-pdp-r440 .gtyres-pack-total strong{font-size:24px!important;line-height:1.4}
.hg-pdp-r440 .gtyres-pack-total>small{flex-basis:100%;text-align:right}
.hg-pdp-r440 .gtyres-pack p{margin:8px 0!important;font-size:13px;line-height:1.6}
.hg-pdp-r440 .gtyres-pack .jp-button{min-height:46px;height:auto;padding:12px!important;white-space:normal}
.hg-pdp-r440 .hg-mascot--product-variants,.hg-pdp-r440 .hg-mascot--product-composition{font-size:13px!important;line-height:1.6!important;padding:10px 12px!important;min-height:0}
.hg-pdp-r440 .jp-product-summary>.hg-mascot--product-check{margin:14px 0!important;gap:12px;min-height:0}
.hg-pdp-r440 .hg-mascot--product-check .hg-mascot-figure{width:64px!important;height:96px!important;flex-basis:64px!important}
.hg-pdp-r440 .hg-mascot--product-check .hg-mascot-bubble{font-size:13px!important;line-height:1.6!important}
.hg-pdp-r440 .jp-product-summary h1{font-size:clamp(25px,2.15vw,32px)!important;line-height:1.4!important;letter-spacing:-.02em!important;margin:0 0 10px!important;text-wrap:balance}
.hg-pdp-r440 .jp-product-summary>.jp-eyebrow{display:none}
.hg-pdp-r440 .jp-detail-size{font-size:20px!important;line-height:1.4!important;margin:0 0 12px!important}
.hg-pdp-r440 .jp-product-meta{gap:12px;flex-wrap:wrap;margin:0 0 12px!important;font-size:14px}
.hg-pdp-r440 .jp-wheel-summary{font-size:14px;margin:8px 0 16px}
.hg-pdp-r440 .hg-variants{margin:18px 0!important;padding:0!important}
.hg-pdp-r440 .hg-variants-title{font-size:15px!important;margin:0 0 8px!important}
.hg-pdp-r440 .hg-variants .hg-mascot-message,.hg-pdp-r440 .hg-variants .hg-mascot-slot{font-size:13px;line-height:1.6;margin:8px 0;padding:10px 12px;min-height:0}
.hg-pdp-r440 .hg-variants-list{gap:8px!important}
.hg-pdp-r440 .hg-variant-card{padding:10px!important;min-height:80px;gap:8px;border-radius:8px}
.hg-pdp-r440 .hg-variant-thumb{width:44px;height:44px;flex-shrink:0}
.hg-pdp-r440 .hg-variant-type{font-size:13px!important;line-height:1.4}
.hg-pdp-r440 .hg-variant-price{font-size:13px!important}
.hg-pdp-r440 .hg-composition{margin:18px 0!important;padding-top:14px!important}
.hg-pdp-r440 .hg-composition-title{font-size:15px!important;margin:0 0 8px!important}
.hg-pdp-r440 .hg-composition-card{padding:12px!important;border-radius:8px;box-shadow:none}
.hg-pdp-r440 .hg-composition-components{font-size:13px!important;line-height:1.6;margin:8px 0}
.hg-pdp-r440 .hg-composition-rule{font-size:13px!important;line-height:1.6;margin:8px 0 0!important}
.hg-pdp-r440 .hg-composition .hg-mascot-message{font-size:13px;line-height:1.6;margin:0 0 8px;padding:10px 12px}
.hg-pdp-r440 .jp-product-summary>.hg-mascot-slot{margin:14px 0!important;gap:12px;min-height:0}
.hg-pdp-r440 .jp-product-summary>.hg-mascot-slot .hg-mascot-figure{width:64px;max-height:120px;object-fit:contain}
.hg-pdp-r440 .jp-fitment-note{font-size:13px!important;line-height:1.7!important;margin:10px 0 12px!important}
.hg-pdp-r440 .jp-product-help{font-size:13px;min-height:36px;padding:8px 0!important;margin:0!important}
.hg-pdp-r440 .jp-product-information{display:block!important;margin:22px 0 0!important;padding:0!important;border:0!important}
.hg-pdp-details{border-top:1px solid var(--hg-line);margin:0;padding:0}
.hg-pdp-details>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:52px;list-style:none;font-size:15px;font-weight:600;cursor:pointer}
.hg-pdp-details>summary::-webkit-details-marker{display:none}
.hg-pdp-details>summary::after{content:'';width:8px;height:8px;border-right:1.6px solid currentColor;border-bottom:1.6px solid currentColor;transform:rotate(45deg);margin:0 4px 4px;flex-shrink:0}
.hg-pdp-details[open]>summary::after{transform:rotate(225deg);margin-bottom:0}
.hg-pdp-details>div{padding:0 0 18px}
.hg-pdp-r440 .hg-spec-tiles{gap:8px!important;margin:8px 0!important}
.hg-pdp-r440 .hg-spec-tile{min-height:0;padding:10px!important}
.hg-pdp-r440 .hg-spec-group-title{font-size:14px!important;margin:14px 0 6px!important}
.hg-pdp-r440 .jp-condition{padding:0!important;margin:0!important;border:0!important}
.hg-pdp-r440 .jp-condition p{font-size:14px;line-height:1.7}
.hg-pdp-r440 .jp-reviews{margin:0!important;padding:0!important;border:0!important}
.hg-pdp-r440 .jp-review-list,.hg-pdp-r440 .jp-review-form{margin-top:16px!important}
.hg-pdp-r440 summary:focus-visible,.hg-pdp-r440 button:focus-visible{outline:3px solid var(--hg-red);outline-offset:3px}
@media(max-width:899px){.hg-pdp-r440 .jp-product-detail{grid-template-columns:minmax(0,1fr);gap:24px}.hg-pdp-r440 .jp-gallery{position:static}.hg-pdp-r440 .jp-main-photo>img{max-height:520px}.hg-pdp-r440 .jp-main-photo{aspect-ratio:1/1;max-height:none}}
@media(min-width:900px) and (max-height:699px){.hg-pdp-r440 .jp-gallery{position:static}}
@media(max-width:767px){.hg-pdp-r440 .jp-product-detail{margin-top:18px;gap:20px}.hg-pdp-r440 .jp-product-summary h1{font-size:24px!important;line-height:1.45!important}.hg-pdp-r440 .jp-photo-thumbs button{width:56px;height:56px}.hg-pdp-r440 .hg-variants-list{grid-template-columns:repeat(3,minmax(0,1fr))}.hg-pdp-r440 .hg-variant-card{display:flex;flex-direction:column;align-items:start;min-height:0;padding:8px!important}.hg-pdp-r440 .hg-variant-head{display:block}.hg-pdp-r440 .hg-variant-current{display:block;margin-top:4px}.hg-pdp-r440 .hg-variant-type{font-size:12px!important}.hg-pdp-r440 .hg-variant-price{font-size:12px!important}.hg-pdp-r440 .hg-variant-basis{font-size:11px}.hg-pdp-r440 .jp-product-help{min-height:44px}.hg-pdp-r440 .hg-pdp-details>summary{min-height:52px}}
@media(prefers-reduced-motion:reduce){.hg-pdp-r440 *{scroll-behavior:auto!important}}

/* R522: структурно компактный первый экран; детали на общей ширине ниже галереи. */
.hg-pdp-r440 .jp-product-detail{gap:28px;grid-template-columns:minmax(0,1fr) minmax(0,1fr);margin-top:16px}
.hg-pdp-r440 .jp-gallery{position:static}
.hg-store .jp-product-page.hg-pdp-r440 .jp-photo-thumbs{flex-wrap:nowrap;max-height:none;overflow-x:auto;margin-top:10px;padding-bottom:3px}
.hg-pdp-r440 .jp-photo-thumbs button{flex:0 0 56px;width:56px;height:56px}
.hg-pdp-r440 .jp-main-photo,.hg-pdp-r440 .jp-main-photo>img{max-height:620px}
.hg-pdp-r440 .jp-product-summary h1{font-size:clamp(21px,1.85vw,28px)!important;line-height:1.35!important;margin-bottom:8px!important}
.hg-pdp-r440 .jp-detail-size{font-size:16px!important;margin-bottom:8px!important}
.hg-pdp-r440 .jp-product-meta{font-size:12px;margin-bottom:8px!important}
.hg-pdp-r440 .jp-wheel-summary{font-size:12px;margin:6px 0}
.hg-pdp-r440 .hg-variants{margin:10px 0!important}.hg-store .hg-pdp-r440 .hg-variants-list{grid-template-columns:repeat(3,minmax(0,1fr))}
.hg-pdp-r440 .hg-variant-card{padding:8px!important;min-height:68px;gap:6px}.hg-pdp-r440 .hg-variant-thumb{width:34px;height:34px}.hg-pdp-r440 .hg-variant-current{font-size:10px}
.hg-pdp-r440 .hg-variants .hg-mascot-slot{margin:4px 0!important;padding:6px 8px!important;font-size:11px!important}
.hg-pdp-r440 .gtyres-pack{margin:10px 0!important;padding:14px!important}.hg-pdp-r440 .gtyres-pack p{margin:5px 0!important;font-size:12px;line-height:1.55}
.hg-pdp-r440 .gtyres-pack-unit{font-size:23px!important;margin-bottom:6px!important}.hg-pdp-r440 .gtyres-pack-total{margin:8px 0}
.hg-store .hg-pdp-r440 .hg-variants{gap:6px}
.hg-store .hg-pdp-r440 .hg-variants-title{margin-bottom:0!important}
.hg-store .hg-pdp-r440 .hg-mascot--product-variants{padding:0!important}
.hg-store .hg-pdp-r440 .hg-variants .hg-mascot-bubble{padding:6px 10px}
.hg-store .hg-pdp-r440 .hg-variant-card{grid-template-columns:32px minmax(0,1fr);gap:7px;align-items:start}
.hg-store .hg-pdp-r440 .hg-variant-thumb{width:32px;height:32px}
.hg-store .hg-pdp-r440 .hg-variant-card:not(.is-inactive):not(:has(>.hg-variant-thumb))::before{width:32px}
.hg-store .hg-pdp-r440 .gtyres-pack-unit{padding-bottom:6px}
.hg-store .hg-pdp-r440 .gtyres-pack>.hg-inquiry-cta{min-height:44px;padding:9px 12px!important}
.hg-store .hg-pdp-r440 .jp-breadcrumb{padding-block:12px}
.hg-pdp-quick-specs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:12px}
.hg-pdp-quick-specs>div{padding:8px 10px;border:1px solid var(--hg-line);border-radius:7px;min-width:0;display:grid;gap:3px}
.hg-pdp-quick-specs span{font-size:10px;color:var(--hg-muted);line-height:1.45}.hg-pdp-quick-specs strong{font-size:13px;line-height:1.4;overflow-wrap:anywhere}
.hg-pdp-service-links{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}.hg-pdp-service-links a{display:flex;justify-content:space-between;align-items:center;padding:11px 12px;border-radius:7px;background:var(--hg-soft);font-size:12px;min-height:44px}.hg-pdp-service-links svg{width:15px}
.hg-pdp-below{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px;margin-top:26px;padding-top:22px;border-top:1px solid var(--hg-line)}
.hg-pdp-r440 .hg-pdp-below .jp-product-information{margin:0!important}.hg-pdp-r440 .hg-pdp-below .hg-composition{margin:0 0 12px!important;padding-top:0!important;border-top:0}
.hg-pdp-r440 .hg-pdp-support>.hg-mascot-slot{margin:14px 0!important}.hg-pdp-review{grid-column:1/-1}
@media(max-width:899px){.hg-pdp-r440 .jp-product-detail{grid-template-columns:1fr;gap:18px}.hg-pdp-below{grid-template-columns:1fr;gap:18px}.hg-pdp-r440 .jp-main-photo,.hg-pdp-r440 .jp-main-photo>img{max-height:520px}}
@media(min-width:900px) and (max-height:950px){.hg-pdp-r440 .jp-main-photo,.hg-pdp-r440 .jp-main-photo>img{max-height:520px}}

/* R537: фигура занимает место целиком и не закрывает следующее пояснение. */
.hg-store .hg-pdp-r440 .hg-mascot--product-check .hg-mascot-figure{height:auto!important;min-height:120px;display:flex;align-items:center;justify-content:center}
.hg-store .hg-pdp-r440 .hg-mascot--product-check .hg-mascot-figure img{height:120px!important;width:auto!important;max-width:100%;object-fit:contain}

/* R593: количество — самостоятельный факт, основной доступный шаг — заметная красная кнопка. */
.hg-store .hg-pdp-r440 .gtyres-pack{background:var(--hg-white);border-color:var(--hg-line);border-radius:10px}
.hg-store .hg-pdp-r440 .gtyres-pack .gtyres-pack-stock{font-size:13px;font-weight:700;color:var(--hg-ink);display:flex;align-items:center;gap:7px;margin:8px 0!important}
.gtyres-pack-stock[data-stock-state=known]::before,.gtyres-pack-stock[data-stock-state=components]::before{content:'';width:6px;height:6px;border-radius:50%;background:var(--hg-red);flex:none}
.hg-store .hg-pdp-r440 .hg-variant-status{font-size:10px;font-weight:500;line-height:1.5;color:var(--hg-muted)}
.hg-store .hg-pdp-r440 .hg-variant-card.is-current .hg-variant-type{color:var(--hg-red)}
.hg-store .hg-pdp-r440 .gtyres-pack>.hg-inquiry-cta:not(.hg-button-secondary){background:var(--hg-action,#c92720);border-color:var(--hg-action,#c92720);color:#fff;margin-top:12px}
.hg-store .hg-pdp-r440 .gtyres-pack>.hg-inquiry-cta:not(.hg-button-secondary):hover{background:var(--hg-action-hover,#ad1e17);border-color:var(--hg-action-hover,#ad1e17)}
/* Выбор другого товара меняет только карточку; загрузка видна у выбранной плитки. */
.hg-product-switch-status{margin:8px 0 0;font-size:13px;line-height:1.5;color:var(--hg-muted,#6b7075)}
.hg-product-switch-status.is-quiet{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.hg-product-switch-status.is-error a{text-decoration:underline;color:inherit;white-space:nowrap}
.hg-pdp-r440 .hg-variant-card.is-loading{border-color:var(--hg-red,#c92720);outline:1px solid var(--hg-red,#c92720);cursor:progress}
.hg-pdp-r440 .hg-variant-card.is-loading .hg-variant-thumb{opacity:.5}
.hg-pdp-r440 .hg-variant-card[aria-current]:focus-visible{outline:3px solid var(--hg-red,#c92720);outline-offset:3px}
.jp-product-page[data-hg-switching] .jp-gallery,.jp-product-page[data-hg-switching] .hg-pdp-below{pointer-events:none}
@media(max-width:767px){
  .hg-store .hg-pdp-r440 .hg-variant-card{display:flex;flex-direction:column;align-items:stretch;gap:7px}
  .hg-store .hg-pdp-r440 .hg-variant-body{width:100%;min-width:0}
  .hg-store .hg-pdp-r440 .hg-variant-current{width:max-content;max-width:100%;white-space:nowrap}
}
