/* Shop layout, scoped so cart, checkout and account keep their own flows. */
body.pg4-site[data-template=store-shop] :is(.pg-store-hero,.pg-store-shell){max-width:1600px;width:100%;margin-inline:auto;padding-inline:var(--pg-gutter)}
body.pg4-site[data-template=store-shop] .pg-store-hero{padding-top:22px;padding-bottom:10px}
body.pg4-site[data-template=store-shop] .pg-store-hero .pg4-crumbs{margin-bottom:14px}
body.pg4-site[data-template=store-shop] .pg-store-hero .pg4-kicker{display:none}
body.pg4-site[data-template=store-shop] .pg-store-hero h1{font-size:clamp(30px,3vw,44px)!important;margin:0 0 8px}
body.pg4-site[data-template=store-shop] .pg-store-hero p{font-size:16px!important;margin:0}
body.pg4-site .pg-smart-catalog{padding-top:14px!important}
.pg4-site .pg-smart-search{margin-bottom:16px}
.pg4-site .pg-smart-search>label{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}
.pg4-site .pg-smart-search>div{display:flex;align-items:center;border:1px solid #c6c3ba;background:white;border-radius:6px;padding:0 14px;gap:12px}
.pg4-site .pg-smart-search svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6;flex-shrink:0}
.pg4-site .pg-smart-search input{border:0!important;padding:13px 0!important;min-width:0;flex:1;min-height:48px;outline-offset:2px;background:none}
.pg4-site .pg-smart-search [data-clear-search]{border:0;background:none;font-size:26px!important;width:36px;min-height:36px;cursor:pointer}
.pg4-site .pg-smart-search>p{font-size:12px!important;color:#6b6963;margin:7px 0 0}
.pg4-site .pg-smart-directions{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 22px}
.pg4-site .pg-smart-directions button{display:flex;gap:14px;align-items:center;border:1px solid #d5d2ca;padding:10px 16px;border-radius:5px;background:transparent;font-size:14px!important;cursor:pointer;min-height:42px}
.pg4-site .pg-smart-directions button span{font-size:12px;opacity:.65}
.pg4-site .pg-smart-directions button[aria-pressed=true]{background:#17191b;color:#fff;border-color:#17191b}
.pg4-site .pg-smart-layout{display:grid;grid-template-columns:250px minmax(0,1fr);gap:26px;align-items:start}
.pg4-site .pg-smart-sidebar{min-width:0;background:#eceae3;border:1px solid #ddd9d0;border-radius:6px}
.pg4-site .pg-smart-sidebar>summary{display:none}
.pg4-site .pg-smart-filter-body{padding:18px 16px}
.pg4-site .pg-smart-sidebar-title{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:8px}
.pg4-site .pg-smart-sidebar-title strong{font-size:15px}
.pg4-site .pg-smart-sidebar-title button{border:0;background:none;padding:7px 0;color:#8a1220;font-size:12px!important;cursor:pointer}
.pg4-site .pg-smart-filter{padding:17px 0;border-bottom:1px solid #d7d3c8}
.pg4-site .pg-smart-filter h2{font:600 15px/1.3 var(--pg-body)!important;text-transform:none;letter-spacing:0;margin:0 0 12px}
.pg4-site .pg-smart-filter :is(input[type=search],input[type=number],select){width:100%;min-width:0;min-height:38px;border:1px solid #ccc8bd;border-radius:4px;background:#fff;padding:8px 9px;font-size:13px!important}
.pg4-site .pg-smart-filter input[type=search]{margin-bottom:8px}
.pg4-site .pg-smart-facet-list{display:grid;gap:2px;max-height:228px;overflow:auto;scrollbar-width:thin;overscroll-behavior:contain}
.pg4-site .pg-smart-facet-list:empty::after{content:'Нет подходящих вариантов';font-size:13px;color:#666;padding:8px 0}
.pg4-site .pg-smart-catalog label.pg-smart-check{display:flex;align-items:flex-start;gap:8px;padding:7px 2px;font-size:13px!important;line-height:1.35;cursor:pointer;font-weight:400}
.pg4-site .pg-smart-catalog input[type=checkbox]{appearance:auto;width:16px;height:16px;min-height:0;accent-color:#c51823;flex-shrink:0;margin:1px 0 0;padding:0}
.pg4-site .pg-smart-check>span{flex:1;overflow-wrap:anywhere}
.pg4-site .pg-smart-check small{font-size:11px!important;color:#625e55;padding:1px 2px;white-space:nowrap}
.pg4-site .pg-smart-check:has(input:disabled){opacity:.4;cursor:default}
.pg4-site .pg-smart-price{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:7px;align-items:end}
.pg4-site .pg-smart-price label{font-size:12px!important;display:grid;gap:5px}
.pg4-site .pg-smart-price>span{padding-bottom:10px;color:#888}
.pg4-site .pg-smart-price input{appearance:textfield}
.pg4-site .pg-smart-price-error{color:#a4192b;font-size:12px!important;margin:8px 0 0}
.pg4-site [data-vehicle-filter]>label{display:grid;gap:6px;font-size:12px!important;margin-top:10px}
.pg4-site [data-vehicle-filter]>p,.pg4-site .pg-smart-stock-note{font-size:12px!important;line-height:1.5!important;color:#68655d;margin:12px 0 0}
.pg4-site .pg-smart-toggles{display:grid;gap:12px}
.pg4-site .pg-smart-toggles>label{display:flex;align-items:flex-start;gap:9px;font-size:13px!important}
.pg4-site .pg-smart-results{min-width:0}
.pg4-site .pg-smart-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px;min-height:40px}
.pg4-site .pg-smart-toolbar .pg-store-count{font-size:15px!important;font-weight:600;margin:0!important;color:#222}
.pg4-site .pg-smart-toolbar>label{display:flex;align-items:center;gap:10px;font-size:12px!important;white-space:nowrap}
.pg4-site .pg-smart-toolbar select{padding:8px 10px;border:1px solid #d4d1c8;background:transparent;border-radius:4px;min-height:38px;font-size:13px!important;max-width:190px}
.pg4-site .pg-smart-active{display:flex;gap:7px;flex-wrap:wrap;margin:0 0 16px}
.pg4-site .pg-smart-active>button{display:flex;align-items:center;gap:12px;background:#eae7de;border:0;border-radius:4px;padding:7px 10px;cursor:pointer;font-size:12px!important;max-width:100%;text-align:left;overflow-wrap:anywhere}
.pg4-site .pg-smart-active span{font-size:18px;line-height:1}
.pg4-site .pg-smart-search-note{font-size:13px!important;margin:0 0 16px;background:#eeece5;padding:12px}
.pg4-site .pg-smart-catalog .pg-store-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:stretch}
.pg4-site .pg-smart-catalog .pg-store-product{border-radius:6px;overflow:hidden;border-color:#dedbd2;transition:box-shadow .2s,border-color .2s}
.pg4-site .pg-smart-catalog .pg-store-product:hover{border-color:#c8c3b7;box-shadow:0 6px 20px #0000000b}
.pg4-site .pg-smart-catalog .pg-store-product-image{height:170px;aspect-ratio:auto;padding:16px}
.pg4-site .pg-smart-catalog .pg-store-product-body{padding:15px;gap:0}
.pg4-site .pg-smart-catalog .pg-store-product-meta{font-size:11px!important;font-weight:600;letter-spacing:.03em;color:#817a6d;margin-bottom:4px}
.pg4-site .pg-smart-catalog .pg-store-product h2,.pg4-site .pg-smart-catalog .pg-store-product h2 button{font:600 16px/1.35 var(--pg-body)!important;text-transform:none;letter-spacing:0}
.pg4-site .pg-smart-catalog .pg-store-product h2{margin:0 0 10px;min-height:65px}
.pg4-site .pg-smart-catalog .pg-store-product h2 button{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.pg4-site .pg-smart-catalog .pg-smart-product-info{font-size:12px!important;color:#7c766a;line-height:1.45!important;margin:0 0 8px}
.pg4-site .pg-smart-catalog .pg-store-product-stock{font-size:12px!important;margin:0 0 8px}
.pg4-site .pg-smart-catalog .pg-store-product-price{font-size:22px;padding-top:8px}
.pg4-site .pg-smart-catalog .pg-store-product-unit{font-size:11px!important;margin:4px 0 12px}
.pg4-site .pg-smart-catalog .pg-store-product-actions{display:grid;gap:8px}
.pg4-site .pg-smart-catalog .pg-store-product-actions .pg-store-button{font-size:14px!important;min-height:40px;border-radius:4px;padding:10px}
.pg4-site .pg-smart-catalog .pg-store-text-button{font-size:12px!important;min-height:26px}
.pg4-site .pg-smart-catalog .pg-store-source-note{font-size:13px!important;line-height:1.5!important;color:#6b675e;margin-top:24px}
.pg4-site .pg-smart-catalog .pg-store-load-more{min-height:44px;font-size:14px!important;padding:11px 25px;border-radius:4px;margin-top:24px}
.pg4-site .pg-smart-empty{grid-column:1/-1;padding:40px 24px;border:1px solid #d8d3c8;border-radius:6px;background:#eeece6;text-align:center}
.pg4-site .pg-smart-empty h2{font:600 26px/1.2 var(--pg-body)!important;text-transform:none;letter-spacing:0}
.pg4-site .pg-smart-empty p{margin:14px 0 22px}
.pg4-site .pg-smart-catalog [hidden]{display:none!important}
@media(min-width:1600px){.pg4-site .pg-smart-layout{grid-template-columns:260px minmax(0,1fr);gap:28px}.pg4-site .pg-smart-catalog .pg-store-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(min-width:901px) and (max-width:1150px){.pg4-site .pg-smart-layout{grid-template-columns:225px minmax(0,1fr);gap:20px}.pg4-site .pg-smart-catalog .pg-store-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.pg4-site .pg-smart-layout{grid-template-columns:1fr;gap:16px}.pg4-site .pg-smart-sidebar>summary{display:flex;align-items:center;gap:10px;cursor:pointer;list-style:none;padding:14px 16px;font-size:15px;font-weight:600}.pg4-site .pg-smart-sidebar>summary::-webkit-details-marker{display:none}.pg4-site .pg-smart-sidebar>summary>span:last-child{margin-left:auto}.pg4-site .pg-smart-sidebar[open]>summary{border-bottom:1px solid #d8d3c8}.pg4-site .pg-smart-filter-body{display:grid;grid-template-columns:1fr 1fr;gap:0 24px}.pg4-site .pg-smart-sidebar-title,.pg4-site .pg-smart-stock-note{grid-column:1/-1}.pg4-site .pg-smart-facet-list{max-height:190px}.pg4-site .pg-smart-catalog .pg-store-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.pg4-site .pg-smart-directions{margin-bottom:16px}}
@media(max-width:650px){.pg4-site .pg-smart-catalog .pg-store-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.pg4-site .pg-smart-toolbar{align-items:flex-start;flex-direction:column;gap:10px}.pg4-site .pg-smart-toolbar>label{width:100%;justify-content:space-between}.pg4-site .pg-smart-toolbar select{max-width:190px}.pg4-site .pg-smart-directions{gap:7px}.pg4-site .pg-smart-directions button{padding:8px 11px;gap:8px;font-size:12px!important;min-height:38px}.pg4-site .pg-smart-search input{font-size:14px!important}.pg4-site .pg-smart-search>p{font-size:11px!important}.pg4-site .pg-smart-catalog .pg-store-product-image{height:124px;padding:10px}.pg4-site .pg-smart-catalog .pg-store-product-body{padding:11px}.pg4-site .pg-smart-catalog .pg-store-product h2,.pg4-site .pg-smart-catalog .pg-store-product h2 button{font-size:14px!important;line-height:1.35!important}.pg4-site .pg-smart-catalog .pg-store-product h2{min-height:57px}.pg4-site .pg-smart-catalog .pg-store-product-price{font-size:19px}.pg4-site .pg-smart-catalog .pg-smart-product-info{font-size:11px!important}.pg4-site .pg-smart-catalog .pg-store-product-actions .pg-store-button{font-size:12px!important;padding:8px;min-height:38px}.pg4-site .pg-smart-filter-body{grid-template-columns:1fr}.pg4-site .pg-smart-sidebar-title,.pg4-site .pg-smart-stock-note{grid-column:auto}.pg4-site .pg-smart-search>div{padding-inline:10px;gap:8px}}
@media(max-width:359px){.pg4-site .pg-smart-catalog .pg-store-grid{grid-template-columns:1fr}.pg4-site .pg-smart-catalog .pg-store-product-image{height:180px}.pg4-site .pg-smart-catalog .pg-store-product h2{min-height:0}}
/* Keep prices and purchase actions visible sooner in the first row. */
body.pg4-site[data-template=store-shop] .pg-store-hero{padding-block:18px 6px}
body.pg4-site[data-template=store-shop] .pg-store-hero .pg4-crumbs{margin-bottom:10px}
.pg4-site .pg-smart-catalog .pg-store-product-image{height:140px}
.pg4-site .pg-smart-catalog .pg-store-product-unit{display:none}
.pg4-site .pg-smart-catalog .pg-store-product-price{margin-bottom:14px}
.pg4-site .pg-smart-catalog .pg-store-product-actions{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px}
@media(max-width:650px){.pg4-site .pg-smart-catalog .pg-store-product-image{height:120px}.pg4-site .pg-smart-catalog .pg-store-product-actions{grid-template-columns:1fr;gap:3px}}
.pg4-site .pg-smart-sidebar-title strong{font-size:14px;white-space:nowrap}
@media(min-width:1200px){
 .pg4-site .pg-smart-catalog{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:24px}
 .pg4-site .pg-smart-search{min-width:0;margin-bottom:18px}
 .pg4-site .pg-smart-directions{align-self:start;margin-top:3px;margin-bottom:18px;gap:8px}
 .pg4-site .pg-smart-directions button{padding-inline:12px;gap:10px}
 .pg4-site .pg-smart-layout{grid-column:1/-1}
}
