:root {
  --bg: #050505;
  --bg2: #0d0d0d;
  --surface: #151515;
  --surface2: #1f1f1f;
  --text: #f5f5f5;
  --text-dim: #c7c7c7;
  --border: rgba(255,255,255,.12);
  --border-hover: rgba(255,255,255,.26);
  --accent: #111111;
  --accent-dim: rgba(255, 255, 255, .08);
  --accent-dark: #000000;
  --accent-light: #303030;
  --gold: #ffffff;
  --gold-dim: rgba(255,255,255,.12);
  --shadow: 0 8px 32px rgba(0,0,0,.4);
  --shadow-soft: 0 4px 20px rgba(0,0,0,.2);
  --radius: 18px;
  --radius-sm: 12px;
  --transition: .25s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1140px, 90vw); margin: 0 auto; }

/* TOPBAR */
.topbar { background: var(--bg2); border-bottom: 1px solid var(--border); font-size: 13px; font-weight: 600; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; gap: 12px; }
.topbar__right { display: flex; align-items: center; gap: 4px; }
.badge { padding: 5px 12px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; font-weight: 700; font-size: 12px; color: var(--text-dim); }
.toplink { color: var(--text-dim); transition: color var(--transition); }
.toplink:hover { color: var(--gold); }

/* HEADER */
.header { position: sticky; top: 0; z-index: 50; background: rgba(5,5,5,.92); backdrop-filter: blur(20px) saturate(1.2); border-bottom: 1px solid var(--border); }
.header__inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__icon { width: 40px; height: 40px; flex: 0 0 40px; display: flex; align-items: center; justify-content: center; background: transparent; border-radius: 8px; overflow: hidden; }
.brand__icon-img { width: 40px; height: 40px; display: block; border-radius: 8px; }
.brand__name { font-weight: 900; font-size: 19px; letter-spacing: -.3px; }
.brand__tag { font-size: 11px; color: var(--text-dim); font-weight: 600; }
.nav { display: flex; gap: 2px; }
.nav a { padding: 8px 14px; border-radius: var(--radius-sm); font-weight: 700; font-size: 14px; color: var(--text-dim); transition: all var(--transition); }
.nav a:hover { background: rgba(255,255,255,.06); color: var(--text); }
.header__actions { display: flex; align-items: center; gap: 10px; }
.burger { display: none; border: 1px solid var(--border); background: var(--surface); border-radius: var(--radius-sm); padding: 10px; cursor: pointer; }
.burger span { display: block; width: 20px; height: 2px; background: var(--text); margin: 4px 0; border-radius: 2px; transition: all var(--transition); }
.mobile { border-top: 1px solid var(--border); background: var(--bg2); }
.mobile__inner { padding: 14px 0 18px; display: grid; gap: 8px; }
.mobile__link { padding: 14px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-weight: 700; background: var(--surface); color: var(--text); text-align: center; transition: all var(--transition); }
.mobile__link:hover { background: var(--surface2); }
.mobile__cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }

/* BUTTONS */
.btn { border: 1px solid var(--border); padding: 10px 20px; border-radius: 14px; cursor: pointer; font-weight: 800; font-size: 14px; background: var(--surface); color: var(--text); transition: all var(--transition); display: inline-flex; align-items: center; justify-content: center; gap: 6px; white-space: nowrap; font-family: inherit; text-decoration: none; }
.btn:active { transform: scale(.97); }
.btn--primary { background: linear-gradient(135deg, #ffffff, #d6d6d6); color: #050505; border-color: transparent; box-shadow: 0 4px 16px rgba(255,255,255,.12); }
.btn--primary:hover { box-shadow: 0 6px 24px rgba(255,255,255,.18); filter: brightness(1.03); }
.btn--accent { background: linear-gradient(135deg, #2e2e2e, #050505); color: var(--text); border-color: transparent; box-shadow: 0 4px 16px rgba(0,0,0,.35); }
.btn--accent:hover { box-shadow: 0 6px 24px rgba(0,0,0,.45); filter: brightness(1.08); }
.btn--ghost { background: transparent; border-color: rgba(255,255,255,.18); color: var(--text); }
.btn--ghost:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.28); }
.btn--sm { padding: 8px 14px; font-size: 13px; border-radius: 10px; }
.btn--lg { padding: 16px 28px; font-size: 15px; border-radius: 16px; }

/* HERO */
.hero { background: linear-gradient(180deg, var(--bg2) 0%, var(--bg) 100%); padding: 72px 0 56px; border-bottom: 1px solid var(--border); position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -30%; right: -10%; width: 700px; height: 700px; background: radial-gradient(circle, rgba(255,255,255,.06) 0%, transparent 60%); pointer-events: none; }
.hero::after { content: ''; position: absolute; bottom: -20%; left: -10%; width: 500px; height: 500px; background: radial-gradient(circle, rgba(255,255,255,.04) 0%, transparent 60%); pointer-events: none; }
.hero__content { position: relative; max-width: 700px; }
.hero__content--center { max-width: 100%; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.1; margin-bottom: 16px; letter-spacing: -.5px; font-weight: 900; }
.hero__accent { color: var(--gold); }
.hero__subtitle { font-size: 26px; color: var(--text-dim); margin-bottom: 28px; font-weight: 600; letter-spacing: .3px; }
.lead { font-size: 17px; color: var(--text-dim); margin-bottom: 28px; max-width: 54ch; line-height: 1.7; }
.hero__stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 32px; max-width: 400px; }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; transition: all var(--transition); }
.stat:hover { border-color: var(--border-hover); }
.stat__num { font-weight: 900; font-size: 22px; color: var(--gold); }
.stat__label { font-size: 12px; color: var(--text-dim); margin-top: 4px; font-weight: 600; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 24px; }
.hero__trust { display: flex; gap: 18px; flex-wrap: wrap; color: var(--text-dim); font-weight: 700; font-size: 13px; }

/* SECTIONS */
.section { padding: 72px 0; }
.section--alt { background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section__head { margin-bottom: 40px; }
.section__head h2 { font-size: clamp(24px, 4vw, 36px); font-weight: 900; letter-spacing: -.3px; margin-bottom: 10px; }
.section__head p { color: var(--text-dim); font-size: 16px; }

/* ABOUT */
.about-content { max-width: 760px; }
.about-content p { color: var(--text-dim); font-size: 16px; line-height: 1.8; margin-bottom: 18px; }
.about-content p:last-child { margin-bottom: 0; }

/* BENEFITS */
.benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.benefit { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 22px; transition: all .35s cubic-bezier(.4,0,.2,1); }
.benefit:hover { border-color: rgba(255,255,255,.2); transform: translateY(-4px); box-shadow: 0 12px 36px rgba(0,0,0,.3); }
.benefit__icon { font-size: 30px; margin-bottom: 14px; }
.benefit h3 { font-size: 16px; margin-bottom: 8px; font-weight: 800; }
.benefit p { color: var(--text-dim); font-size: 14px; line-height: 1.7; }

/* CATALOG NAV */
.catalog-nav { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.cat-btn { border: 1px solid var(--border); background: var(--surface); color: var(--text-dim); padding: 10px 22px; border-radius: 999px; cursor: pointer; font-weight: 800; font-size: 14px; transition: all var(--transition); font-family: inherit; }
.cat-btn:hover { border-color: var(--border-hover); color: var(--text); background: var(--surface2); }
.cat-btn.isActive { background: linear-gradient(135deg, var(--accent-light), var(--accent)); color: var(--text); border-color: transparent; box-shadow: 0 2px 12px rgba(255,255,255,.08); }
.cat-btn--sub { padding: 8px 18px; font-size: 13px; }
.catalog-nav--structured { flex-direction: column; align-items: flex-start; }
.catalog-nav__main { display: flex; align-items: flex-start; gap: 10px; flex-wrap: wrap; }
.cat-group { display: flex; flex-direction: column; align-items: stretch; gap: 8px; margin: 0 10px; }
.cat-group__label.cat-btn { display: block; text-align: center; width: 100%; }
.cat-group__children { display: flex; gap: 6px; justify-content: center; }

/* CATALOG */
.filters { display: flex; gap: 12px; align-items: center; margin-bottom: 20px; flex-wrap: wrap; }
.filters__search { flex: 1; min-width: 200px; }
.filters__search input { width: 100%; padding: 12px 18px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font: inherit; font-size: 14px; transition: all var(--transition); }
.filters__search input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(255,255,255,.12); }
.filters__group { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.filters__group select { padding: 12px 14px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; min-width: 140px; }
.products-info { font-size: 13px; color: var(--text-dim); font-weight: 700; margin-bottom: 16px; }

/* PRODUCTS */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.product { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; cursor: pointer; transition: transform .4s cubic-bezier(.4,0,.2,1), box-shadow .4s cubic-bezier(.4,0,.2,1), border-color .4s ease; position: relative; z-index: 1; }
.product:hover { transform: translateY(-5px); box-shadow: 0 16px 44px rgba(0,0,0,.35); border-color: rgba(255,255,255,.18); }
.product__img-wrap { height: 220px; overflow: hidden; background: var(--surface2); }
.product__img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.4,0,.2,1); }
.product:hover .product__img { transform: scale(1.04); }
.product__img-placeholder { height: 100%; display: flex; align-items: center; justify-content: center; background: var(--surface2); font-weight: 900; color: var(--text-dim); font-size: 14px; }
.product__body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product__title { font-weight: 800; font-size: 15px; line-height: 1.35; }
.product__specs-inline { font-size: 13px; font-weight: 600; color: var(--text-dim); }
.product__price { margin-top: auto; padding-top: 10px; }
.price { font-size: 18px; font-weight: 900; color: var(--gold); }
.product__actions { display: flex; gap: 8px; margin-top: 10px; }
.product__actions .btn { flex: 1; font-size: 13px; padding: 10px 8px; }
.products-empty { grid-column: 1 / -1; text-align: center; padding: 60px 20px; color: var(--text-dim); }
.products-empty h3 { font-size: 18px; margin-bottom: 8px; color: var(--text); }

/* CATALOG OVERLAY (hover dimming effect) */
.catalog-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 5;
  pointer-events: none;
  opacity: 0;
  transition: opacity .4s cubic-bezier(.4,0,.2,1);
}
.catalog-overlay.active {
  opacity: 1;
}

/* Hovered product pops above the overlay */
.product.is-hovered {
  z-index: 10;
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0,0,0,.5);
  border-color: rgba(255,255,255,.22);
}

/* CALCULATOR */
.calc { display: grid; grid-template-columns: 360px 1fr; gap: 18px; align-items: start; }
.calc__panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; display: grid; gap: 16px; }
.calc__result { background: linear-gradient(135deg, var(--accent-dim), rgba(255,255,255,.03)); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 24px; }
.result__title { font-weight: 900; margin-bottom: 14px; font-size: 16px; }
.result__row { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08); color: var(--text-dim); font-weight: 600; }
.result__row:last-of-type { border-bottom: none; color: var(--gold); font-weight: 900; font-size: 17px; }
.field label { display: block; font-size: 12px; color: var(--text-dim); font-weight: 800; margin-bottom: 6px; text-transform: uppercase; letter-spacing: .4px; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface2); color: var(--text); font: inherit; font-size: 15px; transition: all var(--transition); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(255,255,255,.12); }
.field textarea { resize: vertical; min-height: 80px; }

/* FOOTER */
.footer { background: #020202; padding: 56px 0 24px; border-top: 1px solid var(--border); }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 28px; }
.footer__brand { font-weight: 900; font-size: 22px; margin-bottom: 10px; }
.muted { color: rgba(255,255,255,.56); font-size: 14px; }
.footer h3 { font-size: 13px; font-weight: 800; margin-bottom: 14px; text-transform: uppercase; letter-spacing: .5px; color: var(--gold); }
.list { list-style: none; display: grid; gap: 10px; font-size: 14px; }
.list a { color: rgba(255,255,255,.7); transition: color var(--transition); }
.list a:hover { color: var(--text); }
.list li { color: rgba(255,255,255,.58); }
.linkLike { background: transparent; border: none; padding: 0; color: rgba(255,255,255,.7); cursor: pointer; font: inherit; font-size: 14px; transition: color var(--transition); }
.linkLike:hover { color: var(--text); }
.map { border-radius: 14px; overflow: hidden; border: 1px solid var(--border); }
.map__ph { height: 180px; display: flex; align-items: center; justify-content: center; padding: 12px; text-align: center; color: var(--text-dim); font-weight: 700; font-size: 14px; background: var(--surface); transition: background var(--transition); }
.map__ph:hover { background: var(--surface2); }
.footer__bottom { margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: center; font-weight: 700; font-size: 13px; }

/* MODALS */
.modal { position: fixed; inset: 0; display: none; z-index: 80; }
.modal.isOpen { display: block; animation: fadeIn .25s ease; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.75); backdrop-filter: blur(6px); }
.modal__dialog { position: relative; width: min(680px, 92vw); margin: 5vh auto; background: var(--surface); border-radius: 22px; border: 1px solid var(--border); box-shadow: 0 24px 64px rgba(0,0,0,.5); overflow: hidden; max-height: 90vh; overflow-y: auto; }
.modal__dialog--product { width: min(780px, 94vw); }
.modal__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; padding: 20px 24px 16px; border-bottom: 1px solid var(--border); position: sticky; top: 0; background: var(--surface); z-index: 2; }
.modal__title { font-weight: 900; font-size: 18px; }
.modal__subtitle { color: var(--text-dim); font-weight: 600; font-size: 13px; margin-top: 3px; }
.iconBtn { border: 1px solid var(--border); background: var(--surface2); color: var(--text); border-radius: var(--radius-sm); padding: 8px 12px; cursor: pointer; font-size: 16px; transition: all var(--transition); }
.iconBtn:hover { background: rgba(255,255,255,.08); }
.form { padding: 18px 24px 24px; display: grid; gap: 16px; }
.grid--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; font-size: 13px; color: var(--text-dim); }
.checkbox input { transform: translateY(2px); accent-color: var(--gold); }
.form__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.field__error { color: #f87171; font-size: 12px; font-weight: 700; margin-top: 4px; min-height: 0; }
.field--has-error input, .field--has-error textarea { border-color: #f87171 !important; }
.field--product-wrap { position: relative; }
.product-dropdown {
  display: none;
  position: absolute;
  left: 0; right: 0; top: 100%;
  z-index: 20;
  background: var(--surface);
  border: 1px solid var(--border-hover);
  border-radius: 0 0 14px 14px;
  max-height: 220px;
  overflow-y: auto;
  box-shadow: 0 12px 32px rgba(0,0,0,.4);
}
.product-dropdown.open { display: block; }
.product-dropdown__item {
  padding: 11px 16px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dim);
  transition: background .15s;
  border-bottom: 1px solid var(--border);
}
.product-dropdown__item:last-child { border-bottom: none; }
.product-dropdown__item:hover,
.product-dropdown__item.active { background: var(--gold-dim); color: var(--text); }
.product-dropdown__item span { color: var(--text-dim); font-size: 12px; font-weight: 600; margin-left: 6px; }
.modal__nav { position: fixed; top: 50%; transform: translateY(-50%); z-index: 101; background: rgba(255,255,255,.08); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.12); width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 28px; color: var(--text); cursor: pointer; transition: all var(--transition); box-shadow: 0 4px 16px rgba(0,0,0,.3); }
.modal__nav:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.3); transform: translateY(-50%) scale(1.08); }
.modal__nav--prev { left: 16px; }
.modal__nav--next { right: 16px; }
.modal__nav:disabled { opacity: 0; pointer-events: none; }
.pmodal { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 18px 24px 24px; }
.pmodal__img { width: 100%; height: 320px; object-fit: cover; border-radius: 16px; border: 1px solid var(--border); background: var(--surface2); }
.pmodal__body { display: flex; flex-direction: column; gap: 12px; }
.pmodal__meta { display: grid; gap: 6px; color: var(--text-dim); font-weight: 600; font-size: 14px; }
.pmodal__meta div { display: none; }
.pmodal__meta strong { color: var(--text); }
.pmodal__description { padding: 14px; background: var(--surface2); border-radius: var(--radius-sm); color: var(--text-dim); font-size: 14px; line-height: 1.7; display: none; }
.pmodal__pricesTitle { font-weight: 900; font-size: 15px; margin-bottom: 4px; }
.pmodal__pricesHint { font-size: 12px; color: var(--text-dim); margin-bottom: 8px; }
.pmodal__prices { margin-top: auto; }
.priceRow { display: flex; justify-content: space-between; gap: 10px; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface2); margin-bottom: 8px; transition: all var(--transition); align-items: center; }
.priceRow--clickable { cursor: pointer; }
.priceRow--clickable:hover { background: var(--gold-dim); border-color: var(--gold); }
.priceRow span { color: var(--text-dim); font-weight: 600; }
.priceRow strong { font-weight: 900; color: var(--gold); white-space: nowrap; }
/* Variant selector in order form */
.variant-selector { display: flex; flex-direction: column; gap: 6px; }
.variant-option { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface2); cursor: pointer; transition: all var(--transition); }
.variant-option:hover { background: var(--gold-dim); border-color: var(--gold); }
.variant-option.is-selected { background: var(--gold-dim); border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.variant-option__label { color: var(--text-dim); font-weight: 600; font-size: 14px; }
.variant-option.is-selected .variant-option__label { color: var(--text); }
.variant-option__price { font-weight: 900; color: var(--gold); white-space: nowrap; font-size: 14px; }
.pmodal__actions { display: flex; gap: 10px; padding-top: 14px; border-top: 1px solid var(--border); }
.pmodal__actions .btn { flex: 1; }

/* BACK TO TOP */
.back-to-top { position: fixed; bottom: 24px; left: 24px; z-index: 40; width: 44px; height: 44px; border-radius: 50%; background: var(--surface); border: 1px solid var(--border); color: var(--text); font-size: 18px; font-weight: 900; cursor: pointer; opacity: 0; transform: translateY(16px); transition: all .3s ease; pointer-events: none; font-family: inherit; }
.back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover { background: #ffffff; color: #050505; border-color: #ffffff; }

/* TOAST */
.toast-container { position: fixed; top: 20px; right: 20px; z-index: 200; display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
.toast { padding: 14px 20px; border-radius: 14px; font-weight: 700; font-size: 14px; pointer-events: auto; animation: toastIn .3s ease; max-width: 380px; box-shadow: 0 8px 24px rgba(0,0,0,.4); }
.toast--success { background: #111111; color: #ffffff; border: 1px solid rgba(255,255,255,.22); }
.toast--error { background: #ffffff; color: #050505; border: 1px solid #050505; }
.toast--info { background: var(--surface); color: var(--text); border: 1px solid var(--border); }
.toast.hiding { animation: toastOut .3s ease forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }
@keyframes toastOut { to { opacity: 0; transform: translateX(40px); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* RESPONSIVE */
@media (max-width: 980px) {
  .benefits-grid { grid-template-columns: 1fr 1fr; }
  .products { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .calc { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav { display: none; }
  .burger { display: inline-block; }
  .topbar__left { display: none; }
  .hero { padding: 40px 0 32px; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .stat { padding: 12px; }
  .stat__num { font-size: 16px; }
  .section { padding: 48px 0; }
  .benefits-grid { grid-template-columns: 1fr; }
  .catalog-nav { flex-direction: column; align-items: flex-start; }
  .cat-tile-group { flex-direction: column; align-items: flex-start; }
  .filters { flex-direction: column; }
  .filters__search { width: 100%; }
  .filters__group { width: 100%; }
  .filters__group select { flex: 1; min-width: 0; }
  .products { grid-template-columns: 1fr 1fr; gap: 10px; }
  .product__img-wrap { height: auto; min-height: 180px; aspect-ratio: 4 / 3; padding: 10px; display: flex; align-items: center; justify-content: center; }
  .product__img { object-fit: contain; object-position: center; }
  .product__body { padding: 12px; }
  .product__title { font-size: 13px; }
  .price { font-size: 15px; }
  .product__actions .btn { padding: 8px 6px; font-size: 12px; }
  .pmodal { grid-template-columns: 1fr; }
  .pmodal__img { height: auto; min-height: 240px; aspect-ratio: 4 / 3; object-fit: contain; padding: 12px; }
  .grid--2 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .modal__nav { width: 36px; height: 36px; font-size: 22px; }
  .modal__nav--prev { left: 8px; }
  .modal__nav--next { right: 8px; }
  .modal { padding: 8px; overflow-y: auto; -webkit-overflow-scrolling: touch; }
  .modal__dialog { width: 100%; margin: 0 auto; max-height: calc(100vh - 16px); max-height: calc(100dvh - 16px); border-radius: 20px; }
  .modal__head { padding: 16px 18px 14px; }
  .form { padding: 16px 18px calc(18px + env(safe-area-inset-bottom)); gap: 14px; }
  .form__actions {
    position: sticky;
    bottom: 0;
    z-index: 3;
    margin: 0 -18px calc(-18px - env(safe-area-inset-bottom));
    padding: 14px 18px calc(18px + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, rgba(21,21,21,0) 0%, rgba(21,21,21,.94) 24%, rgba(21,21,21,1) 100%);
    border-top: 1px solid var(--border);
  }
  .form__actions .btn { width: 100%; min-height: 54px; font-size: 16px; }
  .back-to-top { bottom: 16px; left: 16px; width: 40px; height: 40px; }
}
@media (max-width: 480px) {
  .products { grid-template-columns: 1fr; }
  .product__img-wrap { min-height: 220px; }
  .modal { padding: 4px; }
  .modal__dialog { max-height: calc(100vh - 8px); max-height: calc(100dvh - 8px); }
}
