.hero .wrap { padding-block:clamp(28px,3.1vw,44px) }
.hero .search { margin-top:18px }
.catalog-identity img { display:block }
.filters { margin-block:20px 16px }
.card-action { flex:none; display:inline-flex; align-items:center; gap:6px; color:var(--green); font-weight:600 }
.product-drawer {
  position:fixed;
  inset:0 0 0 auto;
  margin:0;
  width:min(568px,95vw);
  max-width:100%;
  height:100%;
  height:100dvh;
  max-height:none;
  padding:0;
  overflow:hidden;
  border:0;
  border-left:1px solid var(--line);
  color:var(--ink);
  background:white;
  box-shadow:-8px 0 44px #10272724;
}
.product-drawer[open] { display:flex; flex-direction:column }
.product-drawer:not([open]) { display:none }
.product-drawer::backdrop { background:#10242bd1; opacity:.65 }
html { scrollbar-gutter:stable }
html.drawer-open, html.drawer-open body { overflow:hidden; overscroll-behavior:none }
.drawer-head { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; flex:none; padding:22px 26px 16px; border-bottom:1px solid var(--line) }
.drawer-heading { min-width:0 }
.drawer-heading h2 { margin:2px 0; font-size:clamp(25px,2.4vw,34px); line-height:1.2; overflow-wrap:anywhere }
.drawer-model { margin:4px 0 0; font-size:13px; color:var(--soft); overflow-wrap:anywhere }
.drawer-model span { margin-left:3px; color:var(--ink); font-variant-numeric:tabular-nums }
.drawer-close { flex:none; display:inline-flex; align-items:center; justify-content:center; gap:6px; min-height:44px; padding:3px 13px; border-radius:22px; background:#f0f4f2; font-size:14px; font-weight:600 }
.drawer-close span { font:400 23px/1 Arial,sans-serif }
.drawer-close:hover { background:#e2ece7 }
.drawer-body { min-height:0; flex:1; overflow-y:auto; overscroll-behavior:contain; -webkit-overflow-scrolling:touch; padding:18px 26px max(24px,env(safe-area-inset-bottom)) }
.drawer-body .main-photo { height:clamp(132px,19vh,200px); padding:10px 22px; border-radius:12px; margin-bottom:16px }
.drawer-body .control { padding-block:12px }
.drawer-body .select-shop { width:100% }
.drawer-body select { font-size:16px; width:100% }
.drawer-body .choice { text-align:left; line-height:1.45; font-size:14px; min-height:44px }
.variant-native { position:relative; width:100%; min-width:0 }
.variant-current { display:flex; align-items:center; min-height:44px; padding:8px 32px 8px 12px; border:1px solid #c9d5d0; border-radius:8px; line-height:1.45; overflow-wrap:anywhere }
.variant-native::after { content:""; position:absolute; top:50%; right:14px; width:7px; height:7px; border:solid currentColor; border-width:0 1.5px 1.5px 0; transform:translateY(-65%) rotate(45deg); pointer-events:none }
.variant-native select { position:absolute; inset:0; width:100%; height:100%; opacity:0 }
.variant-native:focus-within { outline:3px solid #288f80; outline-offset:2px; border-radius:8px }
.drawer-body .more { padding:0 0 4px; margin-top:10px }
.drawer-body .more summary { display:list-item; min-height:44px; padding-block:12px }
.drawer-body .quote { margin:2px 0 8px }
.drawer-body .quote-grid { gap:10px 18px }
@media(max-width:640px) {
  .card-action .action-text { display:none }
  .card-action .chev { display:inline }
  .hero .wrap { padding-block:23px }
  .filters { display:grid; grid-template-columns:minmax(64px,auto) minmax(0,1fr); margin-block:14px; gap:12px }
  .catalog-identity img { max-width:min(24vw,100px); max-height:24px }
  .category { justify-content:flex-end; width:auto; gap:6px }
  .category .filter-label { white-space:nowrap }
  .category select { min-width:0; max-width:54%; padding-right:5px }
  .product-drawer {
    inset:auto 0 0;
    width:100%;
    height:min(88vh,760px);
    height:min(88dvh,760px);
    border:0;
    border-radius:20px 20px 0 0;
    box-shadow:0 -10px 36px #10272726;
  }
  .drawer-head { padding:15px 18px 11px; gap:8px }
  .drawer-body { padding:12px 18px max(18px,env(safe-area-inset-bottom)) }
  .drawer-body .main-photo { height:clamp(100px,14.5vh,140px); margin-bottom:12px; padding:8px 12px }
}
@media(prefers-reduced-motion:no-preference) {
  .product-drawer[open] { animation:drawer-in-right .24s cubic-bezier(.22,.8,.2,1) }
  .product-drawer[open]::backdrop { animation:drawer-shade .18s ease-out }
  @keyframes drawer-in-right { from { transform:translateX(100%) } to { transform:translateX(0) } }
  @keyframes drawer-in-up { from { transform:translateY(100%) } to { transform:translateY(0) } }
  @keyframes drawer-shade { from { opacity:0 } to { opacity:.65 } }
  @media(max-width:640px) { .product-drawer[open] { animation-name:drawer-in-up } }
}
