@font-face { font-family: "Bebas Neue"; src: url("/fonts/bebas-neue-cyrillic.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }

:root {
  color-scheme: light;
  --ink: #111111;
  --muted: #727272;
  --line: #e6e6e6;
  --soft: #f5f5f5;
  --paper: #ffffff;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--paper); }
body { margin: 0; color: var(--ink); background: #fff; }
button, input { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; }
.shell { width: min(1240px, calc(100% - 40px)); margin-inline: auto; }

.site-footer { background: #050505; color: #fff; }
.footer-inner { padding-block: 42px 28px; }
.footer-brand { display: flex; align-items: center; gap: 20px; width: max-content; max-width: 100%; margin-bottom: 28px; }
.footer-brand img { display: block; width: 136px; height: auto; }
.footer-brand strong { font-family: "Bebas Neue", Impact, sans-serif; font-size: 22px; font-weight: 400; line-height: 1.03; letter-spacing: .035em; text-transform: uppercase; }
.footer-columns { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px 54px; }
.footer-column h2 { margin: 0 0 11px; color: #717171; font-size: 14px; font-weight: 500; }
.footer-column ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.footer-column li { color: #aaa; font-size: 13px; line-height: 1.18; }
.footer-bottom { display: flex; align-items: flex-start; flex-direction: column; gap: 20px; margin-top: 38px; padding-top: 26px; border-top: 1px solid #1d1d1d; }
.footer-app { display: flex; align-items: center; gap: 18px; }
.footer-qr { flex: 0 0 auto; width: 116px; height: 116px; padding: 7px; border-radius: 10px; background: #fff; }
.footer-qr img { display: block; width: 100%; height: 100%; }
.footer-app p { max-width: 290px; margin: 0; color: #e7e7e7; font-size: 16px; font-weight: 700; line-height: 1.35; }
.footer-copyright { margin: 0; color: #aaa; font-size: 13px; line-height: 1.4; text-align: left; }

.site-header { position: sticky; top: 0; z-index: 30; background: var(--ink); color: #fff; box-shadow: 0 4px 24px rgba(0,0,0,.12); }
.header-main { min-height: 84px; display: grid; grid-template-columns: 124px minmax(280px, 1fr) 150px; gap: 30px; align-items: center; }
.brand { display: inline-flex; width: 104px; padding: 4px 0; }
.brand img { width: 100%; height: auto; display: block; }
.search { width: 100%; min-width: 0; height: 50px; display: grid; grid-template-columns: 22px minmax(0,1fr) auto; align-items: center; gap: 11px; padding-left: 17px; border-radius: 12px; background: #fff; }
.search:focus-within { box-shadow: 0 0 0 3px rgba(255,255,255,.25); }
.search svg { width: 21px; fill: none; stroke: #777; stroke-width: 1.8; stroke-linecap: round; }
.search input { min-width: 0; height: 100%; padding: 0; border: 0; outline: 0; color: #111; background: transparent; font-size: 15px; }
.search button, .primary-button { border: 0; border-radius: 10px; background: #111; color: #fff; font-weight: 750; }
.search button { height: 40px; margin-right: 5px; padding: 0 24px; }
.header-actions { display: flex; justify-content: flex-end; gap: 26px; }
.header-actions span { position: relative; display: grid; justify-items: center; gap: 5px; color: #fff; }
.header-actions small { font-size: 12px; }
.header-actions svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.header-actions b { position: absolute; top: -6px; right: 3px; display: grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; background: #fff; color: #111; font-size: 10px; }

.home { min-height: calc(100svh - 116px); display: grid; place-content: center; text-align: center; padding: 70px 0 130px; }
.eyebrow { margin: 0 0 14px; color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.home h1 { max-width: 760px; margin: 0 auto; font-size: clamp(38px, 6vw, 76px); line-height: .98; letter-spacing: -.055em; }
.home p { max-width: 600px; margin: 25px auto; color: var(--muted); font-size: 18px; line-height: 1.55; }
.example { border: 1px solid #d9d9d9; border-radius: 999px; padding: 10px 16px; background: #fff; color: #111; }
.example:hover { border-color: #111; }

.page { padding: 34px 0 80px; }
.breadcrumbs { display: flex; gap: 8px; align-items: center; margin: 0 0 25px; color: #888; font-size: 13px; }
.breadcrumbs button { padding: 0; border: 0; background: none; color: inherit; }
.breadcrumbs button:hover { color: #111; }
.loading { min-height: 480px; display: grid; place-content: center; justify-items: center; gap: 16px; color: var(--muted); }
.spinner { width: 34px; height: 34px; border: 3px solid #e5e5e5; border-top-color: #111; border-radius: 50%; animation: spin .75s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.brands-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.brands-head h1 { margin: 0; font-size: clamp(30px, 5vw, 54px); letter-spacing: -.04em; }
.brands-head p { margin: 6px 0 0; color: var(--muted); }
.brand-list { display: grid; gap: 12px; }
.brand-result { display: grid; grid-template-columns: minmax(130px,.45fr) 1fr auto; gap: 28px; align-items: center; width: 100%; padding: 22px 24px; border: 1px solid var(--line); border-radius: 16px; background: #fff; text-align: left; transition: .18s ease; }
.brand-result:hover { border-color: #111; transform: translateY(-1px); box-shadow: 0 12px 35px rgba(0,0,0,.06); }
.brand-result strong { font-size: 20px; }
.brand-result div span { display: block; margin-top: 5px; color: var(--muted); font-size: 13px; }
.brand-result p { margin: 0; line-height: 1.45; }
.brand-result em { font-style: normal; font-weight: 800; font-size: 22px; }
.empty-card, .error-card { padding: 40px; border-radius: 18px; background: var(--soft); text-align: center; }
.error-card h2 { margin-top: 0; }

.product-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr); gap: 52px; align-items: start; }
.gallery { display: grid; grid-template-columns: 82px minmax(0,1fr); gap: 18px; min-height: 500px; }
.gallery--placeholder { grid-template-columns: minmax(0,1fr); }
.gallery-thumbs { display: grid; align-content: start; gap: 10px; }
.gallery-thumb { width: 78px; aspect-ratio: 1; padding: 5px; border: 1px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden; }
.gallery-thumb.active { border: 2px solid #111; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: contain; }
.gallery-main { position: relative; min-height: 480px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: #fff; }
.gallery-main > img { width: 100%; height: 470px; object-fit: contain; padding: 22px; }
.gallery-clickable { cursor: zoom-in; }
.gallery-placeholder-open { width: 100%; height: 100%; padding: 0; border: 0; background: #fff; cursor: zoom-in; }
.gallery-placeholder-open .image-placeholder { min-height: 478px; }
.image-placeholder { display: grid; place-items: center; width: 100%; height: 100%; min-height: 420px; }
.pn1-product-placeholder { display: block; width: 100%; height: 100%; min-width: 0; min-height: 0; background: #fff; object-fit: contain; }
.gallery-nav { position: absolute; top: 50%; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: rgba(255,255,255,.92); font-size: 22px; }
.gallery-nav.prev { left: 14px; }
.gallery-nav.next { right: 14px; }
.gallery-count { position: absolute; right: 14px; bottom: 14px; padding: 7px 10px; border-radius: 999px; background: #111; color: #fff; font-size: 12px; }
.product-info { padding-top: 8px; }
.product-code { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.product-code strong { font-size: 31px; letter-spacing: -.035em; }
.product-code span { padding: 6px 9px; border-radius: 7px; background: #efefef; color: #555; font-size: 13px; }
.product-title { margin: 0 0 17px; font-size: clamp(24px, 3vw, 36px); line-height: 1.15; letter-spacing: -.025em; }
.product-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.product-meta span { display: inline-flex; align-items: center; min-height: 34px; padding: 7px 10px; border-radius: 8px; background: var(--soft); color: #555; font-size: 13px; line-height: 1; white-space: nowrap; }
.price-panel { padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: #fafafa; }
.price-row { display: flex; align-items: end; justify-content: space-between; gap: 18px; }
.price-label { color: var(--muted); font-size: 13px; }
.price { display: block; margin-top: 2px; font-size: 34px; letter-spacing: -.035em; }
.old-price { margin-left: 8px; color: #999; font-size: 15px; text-decoration: line-through; }
.primary-button { min-height: 48px; padding: 0 21px; }
.primary-button:hover { background: #2c2c2c; }
.selected-delivery { margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--line); color: #555; font-size: 14px; }
.details { margin-top: 56px; scroll-margin-top: 130px; }
.tabs { display: flex; gap: 7px; overflow-x: auto; padding-bottom: 10px; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.tab { flex: 0 0 auto; padding: 12px 16px; border: 0; border-radius: 10px; background: transparent; color: #777; font-weight: 700; }
.tab.active { background: #111; color: #fff; }
.tab small { font-size: 11px; }
.tab-panel { padding-top: 28px; }
.tab-panel[hidden] { display: none; }
.section-title { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin: 0 0 18px; }
.section-title h2 { margin: 0; font-size: 27px; letter-spacing: -.025em; }
.section-title span { color: var(--muted); font-size: 13px; }
.features { border-top: 1px solid var(--line); }
.feature { display: grid; grid-template-columns: minmax(160px,.45fr) 1fr; gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.feature span { color: var(--muted); }
.copy { max-width: 780px; font-size: 16px; line-height: 1.65; }
.notice { padding: 20px; border-radius: 14px; background: var(--soft); color: #505050; line-height: 1.55; }

.quality-group { display: grid; grid-template-columns: 220px minmax(0,1fr); gap: 16px; margin-bottom: 32px; }
.quality-head { grid-row: 1 / span 2; display: flex; align-content: flex-start; align-items: flex-start; flex-wrap: wrap; gap: 12px; padding: 22px 18px; border: 0; border-radius: 18px; background: #f1f1f1; }
.quality-mark { display: grid; place-items: center; width: 36px; height: 36px; flex: 0 0 36px; border-radius: 50%; background: #fff; color: #111; }
.quality-mark svg { width: 21px; height: 21px; fill: currentColor; }
.quality-head > div:nth-child(2) { min-width: 0; flex: 1; }
.quality-head h3 { margin: 0; font-size: 18px; line-height: 1.2; }
.quality-head p { margin: 7px 0 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.analog-list { min-width: 0; display: grid; gap: 14px; }
.analog-row { position: relative; display: grid; grid-template-columns: 165px minmax(220px,1fr) minmax(165px,auto) 118px; gap: 18px; align-items: center; width: 100%; min-height: 197px; padding: 16px; border: 0; border-radius: 18px; background: #f6f6f6; color: var(--ink); text-align: left; cursor: pointer; transition: background .16s ease, transform .16s ease; }
.analog-row:hover { background: #f0f0f0; transform: translateY(-1px); }
.analog-row:focus-visible { outline: 3px solid #111; outline-offset: 2px; }
.analog-media { display: grid; place-items: center; width: 165px; height: 165px; padding: 0; border: 0; border-radius: 14px; overflow: hidden; background: #fff; cursor: zoom-in; }
.analog-media.is-loading { opacity: .65; }
.analog-media.has-image { background: #fff; }
.analog-product-image { width: 100%; height: 100%; padding: 10px; object-fit: contain; }
.analog-media > .pn1-product-placeholder { width: 100%; height: 100%; }
.analog-info { min-width: 0; }
.analog-identity { display: flex; flex-wrap: wrap; gap: 9px; align-items: baseline; }
.analog-identity strong { font-size: 17px; }
.analog-identity code { color: #777; font: 12px/1.2 inherit; }
.analog-info p { margin: 8px 0 13px; color: #4f4f4f; font-size: 14px; line-height: 1.4; }
.analog-labels { display: flex; flex-wrap: wrap; gap: 6px; }
.analog-labels span { min-height: 23px; padding: 4px 7px; border-radius: 6px; background: #f1f1f1; color: #666; font-size: 10px; }
.analog-labels span:empty { display: none; }
.analog-offer { display: grid; justify-items: end; gap: 3px; text-align: right; }
.analog-offer small { color: var(--muted); font-size: 11px; }
.analog-offer strong { font-size: 22px; letter-spacing: -.025em; }
.analog-offer span { max-width: 190px; color: #555; font-size: 12px; line-height: 1.35; }
.analog-offer em { color: #999; font-size: 11px; font-style: normal; }
.analog-cart { min-width: 118px; min-height: 44px; padding: 0 14px; border: 0; border-radius: 10px; background: #111; color: #fff; font-size: 13px; font-weight: 750; }
.analog-cart:hover { background: #2c2c2c; }
.analog-cart:disabled { opacity: .58; cursor: wait; }
.show-all { grid-column: 2; display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; min-height: 52px; padding: 11px; border: 0; border-radius: 14px; background: #ededed; color: #111; font-weight: 750; }
.show-all:hover { background: #e5e5e5; }
.show-all i { font-style: normal; }

.offers-dialog { width: min(680px, calc(100% - 24px)); max-height: min(780px, calc(100svh - 40px)); padding: 0; border: 0; border-radius: 20px; box-shadow: 0 28px 90px rgba(0,0,0,.28); }
.offers-dialog::backdrop { background: rgba(0,0,0,.55); backdrop-filter: blur(3px); }
.dialog-head { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; gap: 20px; padding: 23px 25px 18px; border-bottom: 1px solid var(--line); background: #fff; }
.dialog-head span { color: var(--muted); font-size: 12px; }
.dialog-head h2 { margin: 4px 0 0; font-size: 24px; }
.dialog-close { width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--soft); font-size: 25px; }
.dialog-offers { display: grid; gap: 24px; padding: 18px 25px 25px; }
.offer-group { display: grid; gap: 10px; }
.offer-group-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 0 2px; }
.offer-group-head h3 { display: flex; align-items: center; gap: 9px; margin: 0; font-size: 17px; }
.offer-group-head h3::before { width: 9px; height: 9px; border-radius: 50%; background: #999; content: ""; }
.offer-group--available .offer-group-head h3::before { background: #24843b; }
.offer-group-head span { color: #888; font-size: 12px; }
.offer-group-list { display: grid; gap: 10px; }
.offer-row { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 17px; border: 1px solid var(--line); border-radius: 13px; }
.offer-group--available .offer-row { border-color: #dce8de; background: #f7faf7; }
.offer-row.selected { border: 2px solid #111; }
.offer-row b { display: block; font-size: 20px; }
.offer-row span { color: #666; font-size: 13px; }
.offer-row small { display: block; margin-top: 5px; color: #999; }
.offer-actions { display: grid; grid-template-columns: auto 104px; gap: 10px; align-items: center; }
.offer-select { min-width: 104px; min-height: 40px; border: 0; border-radius: 9px; background: #111; color: #fff; font-weight: 700; }
.quantity-control { display: grid; grid-template-columns: 34px 42px 34px; align-items: center; height: 40px; border: 1px solid #d8d8d8; border-radius: 9px; overflow: hidden; background: #fff; }
.quantity-control button { width: 34px; height: 38px; padding: 0; border: 0; background: #fff; color: #111; font-size: 20px; line-height: 1; }
.quantity-control button:hover { background: #f1f1f1; }
.quantity-control input { width: 42px; height: 38px; padding: 0; border: 0; outline: 0; background: #fff; color: #111; font-size: 14px; font-weight: 750; text-align: center; appearance: textfield; }
.quantity-control input::-webkit-inner-spin-button, .quantity-control input::-webkit-outer-spin-button { margin: 0; appearance: none; }
.offer-more { width: 100%; min-height: 46px; padding: 0 16px; border: 0; border-radius: 11px; background: #ededed; color: #111; font-weight: 750; }
.offer-more:hover { background: #e4e4e4; }

.image-dialog { width: min(1120px, calc(100% - 32px)); height: min(880px, calc(100svh - 32px)); padding: 0; border: 0; border-radius: 22px; overflow: hidden; background: #111; color: #fff; box-shadow: 0 28px 100px rgba(0,0,0,.55); }
.image-dialog::backdrop { background: rgba(0,0,0,.82); backdrop-filter: blur(7px); }
.image-dialog-close { position: absolute; top: 16px; right: 16px; z-index: 4; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; font-size: 30px; line-height: 1; }
.image-dialog-stage { height: calc(100% - 76px); display: grid; grid-template-columns: 70px minmax(0,1fr) 70px; align-items: center; }
.image-dialog-media { min-width: 0; width: 100%; height: 100%; display: grid; place-items: center; overflow: hidden; touch-action: pan-y; }
.image-dialog-media img, .image-dialog-media .pn1-product-placeholder { width: 100%; height: 100%; padding: 24px; object-fit: contain; background: #111; }
.image-dialog-media .pn1-product-placeholder { background: #fff; }
.image-dialog-nav { z-index: 2; width: 50px; height: 50px; margin: auto; border: 0; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; font-size: 31px; }
.image-dialog.single-image .image-dialog-nav { visibility: hidden; }
.image-dialog-caption { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 24px; background: #191919; }
.image-dialog-caption strong { display: block; font-size: 18px; }
.image-dialog-caption span { color: #aaa; font-size: 13px; }

@media (max-width: 1023.98px) {
  .header-main { grid-template-columns: 86px minmax(0,1fr) 120px; gap: 16px; min-height: 76px; padding: 11px 0; }
  .brand { width: 82px; }
  .header-actions { gap: 16px; }
  .header-actions small { font-size: 10px; }
  .product-layout { grid-template-columns: 1fr; gap: 28px; }
  .gallery { min-height: 440px; }
  .gallery-main { min-height: 420px; }
  .gallery-main > img { height: 410px; }
  .product-info { max-width: 760px; }
  .quality-group { grid-template-columns: 180px minmax(0,1fr); }
  .footer-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .analog-row { grid-template-columns: 130px minmax(150px,1fr) minmax(120px,auto) 110px; gap: 12px; min-height: 162px; padding: 16px; }
  .analog-media { width: 130px; height: 130px; }
  .analog-cart { min-width: 110px; padding-inline: 10px; }
}

@media (max-width: 743.98px) {
  html { scroll-padding-top: 124px; }
  .shell { width: min(100% - 24px, 1240px); }
  .site-header { position: sticky; }
  .header-main { grid-template-columns: 1fr auto; grid-template-areas: "brand actions" "search search"; gap: 10px 16px; min-height: 0; padding: 10px 0 12px; }
  .brand { grid-area: brand; width: 82px; align-self: center; }
  .header-actions { grid-area: actions; align-items: center; gap: 8px; }
  .header-actions span { min-width: 40px; min-height: 38px; place-content: center; gap: 0; }
  .header-actions svg { width: 23px; height: 23px; }
  .header-actions small { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
  .header-actions b { top: 0; right: 0; width: 16px; height: 16px; }
  .search { grid-area: search; }
  .search { width: 100%; height: 48px; grid-template-columns: 20px 1fr auto; gap: 8px; padding-left: 13px; }
  .search input { font-size: 14px; }
  .search button { padding: 0 15px; }
  .home { min-height: calc(100svh - 120px); padding: 55px 0 90px; }
  .home h1 { font-size: clamp(38px, 12vw, 58px); }
  .home p { font-size: 16px; }
  .page { padding: 18px 0 56px; }
  .breadcrumbs { max-width: 100%; margin-bottom: 17px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
  .brand-result { grid-template-columns: 1fr auto; gap: 10px; padding: 18px; }
  .brand-result p { grid-column: 1 / -1; }
  .product-layout { gap: 23px; }
  .gallery { grid-template-columns: 1fr; min-height: 0; }
  .gallery-thumbs { order: 2; display: flex; overflow-x: auto; }
  .gallery-thumb { flex: 0 0 66px; width: 66px; }
  .gallery-main { min-height: 0; aspect-ratio: 1 / 1; border-radius: 16px; }
  .gallery-main > img { height: 100%; padding: 14px; }
  .image-placeholder { min-height: 0; height: 100%; }
  .gallery-nav { width: 40px; height: 40px; }
  .gallery-nav.prev { left: 9px; }
  .gallery-nav.next { right: 9px; }
  .product-info { padding-top: 0; }
  .product-code strong { font-size: 26px; }
  .product-title { margin-bottom: 14px; font-size: 23px; line-height: 1.18; }
  .product-meta { margin-bottom: 18px; }
  .price-panel { padding: 17px; border-radius: 15px; }
  .price { font-size: 30px; }
  .price-row { align-items: stretch; flex-direction: column; }
  .primary-button { width: 100%; }
  .details { margin-top: 38px; scroll-margin-top: 126px; }
  .tabs { margin-inline: 0; padding: 0 0 10px; scroll-snap-type: x proximity; }
  .tab { scroll-snap-align: start; padding: 11px 14px; }
  .tab-panel { padding-top: 22px; }
  .section-title { align-items: flex-start; flex-direction: column; gap: 5px; }
  .section-title h2 { font-size: 25px; }
  .feature { grid-template-columns: 1fr; gap: 5px; }
  .quality-group { display: block; margin-bottom: 28px; }
  .quality-head { margin-bottom: 12px; padding: 16px; border-radius: 16px; }
  .quality-mark { width: 34px; height: 34px; flex-basis: 34px; }
  .analog-list { gap: 12px; }
  .analog-row { grid-template-columns: 109px minmax(0,1fr); gap: 13px; min-height: 141px; padding: 14px; border-radius: 16px; }
  .analog-media { width: 109px; height: 109px; }
  .analog-info p { margin: 6px 0 10px; font-size: 13px; }
  .analog-offer { grid-column: 2; justify-items: start; text-align: left; }
  .analog-offer strong { font-size: 19px; }
  .analog-cart { grid-column: 1 / -1; width: 100%; min-height: 43px; }
  .show-all { grid-column: auto; margin-top: 12px; }
  .offer-row { grid-template-columns: 1fr; }
  .offer-actions { grid-template-columns: 1fr; width: 100%; }
  .quantity-control { grid-template-columns: 42px 1fr 42px; width: 100%; }
  .quantity-control button { width: 42px; }
  .quantity-control input { width: 100%; }
  .offer-select { width: 100%; }
  .offers-dialog { width: 100%; max-width: none; max-height: 86svh; margin: auto 0 0; border-radius: 20px 20px 0 0; }
  .dialog-head { padding: 20px 18px 16px; }
  .dialog-offers { padding: 14px 18px 24px; }
  .image-dialog { width: 100%; height: 100svh; max-width: none; max-height: none; border-radius: 0; }
  .image-dialog-stage { height: calc(100% - 70px); grid-template-columns: 48px minmax(0,1fr) 48px; }
  .image-dialog-nav { width: 40px; height: 40px; font-size: 26px; }
  .image-dialog-close { top: 12px; right: 12px; width: 42px; height: 42px; }
  .image-dialog-media img, .image-dialog-media .pn1-product-placeholder { padding: 8px; }
  .image-dialog-caption { height: 70px; padding: 10px 16px; }
  .footer-inner { padding-block: 34px 24px; }
  .footer-brand { gap: 14px; margin-bottom: 28px; }
  .footer-brand img { width: 104px; }
  .footer-brand strong { font-size: 17px; }
  .footer-columns { grid-template-columns: 1fr; gap: 27px; }
  .footer-column h2 { font-size: 13px; }
  .footer-column ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 18px; }
  .footer-column li { font-size: 12px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 22px; margin-top: 32px; padding-top: 24px; }
  .footer-qr { width: 104px; height: 104px; }
  .footer-app { gap: 15px; }
  .footer-app p { max-width: 220px; font-size: 14px; }
  .footer-copyright { font-size: 12px; text-align: left; }
}

@media (max-width: 389.98px) {
  .shell { width: min(100% - 20px, 1240px); }
  .header-main { gap: 9px 12px; }
  .brand { width: 76px; }
  .search input { font-size: 13px; }
  .search button { padding-inline: 13px; }
  .product-code { align-items: flex-start; flex-direction: column; gap: 7px; }
  .product-code strong { font-size: 24px; }
  .product-title { font-size: 21px; }
  .analog-row { grid-template-columns: 92px minmax(0,1fr); gap: 10px; min-height: 120px; padding: 10px; }
  .analog-media { width: 92px; height: 92px; }
  .analog-identity { gap: 6px; }
  .analog-identity strong { font-size: 16px; }
}
