/* Каталог новых устройств: общие токены Perehvat Store, отдельная область стилей. */
.device-sections{display:none;gap:6px;align-items:center;margin:0 0 28px;padding:5px;background:var(--bg-secondary);border:1px solid var(--border);border-radius:var(--radius-md,14px);width:fit-content;max-width:100%}
.device-sections a{padding:10px 16px;border-radius:10px;color:var(--text-secondary);font-size:14px;font-weight:600;text-decoration:none;white-space:nowrap}
.device-sections a[aria-current]{background:var(--bg-elevated);color:var(--text-primary);box-shadow:var(--shadow-xs)}
.device-sections span{font-size:10px;font-weight:500;color:var(--text-tertiary);margin-left:5px}
.nd-page{padding-top:24px;padding-bottom:44px}
.nd-intro{display:flex;justify-content:space-between;gap:24px;align-items:center;margin-bottom:28px}
.nd-eyebrow{font-size:11px;font-weight:700;letter-spacing:.14em;color:var(--accent-solid,#0073e6)}
.nd-intro h1{font-family:var(--font-display);font-size:clamp(28px,4vw,42px);font-weight:800;letter-spacing:-.025em;color:var(--text-primary);margin:7px 0 10px;line-height:1.15}
.nd-intro p{color:var(--text-secondary);font-size:15px;line-height:1.6;margin:0}
.nd-freshness{display:flex;align-items:center;gap:8px;color:var(--text-secondary);font-size:12px;flex-shrink:0}
.nd-status-dot{width:7px;height:7px;border-radius:50%;background:var(--semantic-trust,#00c2a8)}
.nd-freshness button{background:var(--bg-secondary);border:1px solid var(--border);border-radius:9px;width:32px;height:32px;font-size:21px;color:var(--text-secondary);cursor:pointer}
.nd-warning{padding:15px 18px;border:1px solid var(--border-strong);background:var(--bg-secondary);border-radius:14px;color:var(--text-secondary);font-size:14px;line-height:1.5;margin-bottom:20px}
.nd-search-row{display:flex;gap:12px;margin-bottom:18px}
.nd-search{display:flex;align-items:center;gap:12px;width:100%;padding:0 18px;background:var(--bg-elevated);border:1px solid var(--border-strong);border-radius:14px;color:var(--text-tertiary);transition:box-shadow .18s}
.nd-search:focus-within{box-shadow:var(--focus-ring,0 0 0 3px #0057ff30);border-color:var(--accent-solid)}
.nd-search input{width:100%;border:0!important;box-shadow:none!important;outline:0;background:transparent!important;color:var(--text-primary);height:54px;padding:0;font-size:15px;min-width:0}
.nd-search kbd{padding:2px 7px;border:1px solid var(--border);border-radius:5px;font-size:12px}
.nd-filter-toggle{display:none!important}
.nd-category-row{display:flex;gap:8px;overflow:auto;padding:0 0 20px;scrollbar-width:thin}
.nd-category{border:1px solid var(--border);background:var(--bg-elevated);color:var(--text-secondary);border-radius:999px;padding:10px 17px;white-space:nowrap;cursor:pointer;font-size:13px;font-weight:600}
.nd-category[aria-pressed=true],.nd-category[aria-current]{background:var(--accent-solid,#0073e6);border-color:transparent;color:#fff}
.nd-category{text-decoration:none;display:inline-flex;align-items:center}
.nd-breadcrumbs{margin:0 0 20px;font-size:12px;color:var(--text-secondary);overflow-wrap:anywhere}
.nd-breadcrumbs ol{display:flex;flex-wrap:wrap;gap:7px;list-style:none;margin:0;padding:0}
.nd-breadcrumbs li+li:before{content:'›';margin-right:7px;color:var(--text-tertiary)}
.nd-breadcrumbs a{color:var(--accent-solid);text-decoration:none}
.nd-seo-links{margin-top:28px;color:var(--text-secondary);font-size:13px;line-height:1.7}
.nd-seo-links h2,.nd-seo-links summary{font-size:17px;font-weight:700;color:var(--text-primary);margin:0 0 12px}
.nd-seo-links summary{cursor:pointer}
.nd-seo-links ul{display:flex;flex-wrap:wrap;gap:8px 20px;list-style:none;padding:0;margin:0}
.nd-seo-links a{color:var(--accent-solid);text-decoration:none}
.nd-seo-links a[aria-current]{font-weight:700}
.nd-category small{font-size:11px;opacity:.72;margin-left:6px}
.nd-generations{margin:0 0 22px;padding:16px 18px;border:1px solid var(--border);border-radius:16px;background:var(--bg-elevated)}
.nd-generations h2{margin:0 0 12px;font-size:12px;font-weight:600;color:var(--text-secondary)}
.nd-generation-row{display:flex;flex-wrap:wrap;gap:8px}
.nd-generation{font-size:12px;padding:9px 13px;border-radius:10px}
.nd-card-photo{position:relative;height:190px;padding:18px;overflow:hidden;background:#fff}
.nd-card-image{display:block;width:100%;height:100%;object-fit:contain;background:#fff}
.nd-card-photo .nd-image-framed,.nd-product-photo .nd-image-framed{position:absolute;max-width:none;max-height:none;padding:0;object-fit:fill}
.nd-product-photo{position:relative;height:440px;border:1px solid var(--border);border-radius:28px;background:#fff;padding:28px;display:flex;align-items:center;justify-content:center;overflow:hidden}
.nd-product-photo img{display:block;width:100%;height:100%;object-fit:contain}
@media(max-width:900px){.nd-product-photo{height:340px}}
@media(max-width:700px){.nd-product-photo{height:280px;padding:18px}.nd-card-photo{height:150px;padding:12px}.nd-generations{padding:14px;margin-bottom:18px}.nd-generation{font-size:11px;padding:9px 11px}.nd-generation-row{gap:6px}}
.nd-layout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:28px;align-items:start}
.nd-filters{background:var(--bg-elevated);border:1px solid var(--border);border-radius:20px;padding:20px;position:sticky;top:90px}
.nd-filter-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:23px}
.nd-filter-head h2{font-size:15px;font-weight:700;margin:0;color:var(--text-primary)}
.nd-reset{padding:0;border:0;background:transparent;color:var(--accent-solid);font-size:12px;cursor:pointer}
.nd-filters>label,.nd-filters legend{display:block;font-size:12px;color:var(--text-secondary);font-weight:600;margin-bottom:18px}
.nd-filters select,.nd-filters input,.nd-sort-label select{font-family:inherit;color:var(--text-primary);background-color:var(--bg-secondary);border:1px solid var(--border);border-radius:10px;font-size:13px;min-height:42px;padding:9px 11px;max-width:100%}
.nd-filters select{display:block;width:100%;margin-top:8px;text-overflow:ellipsis}
.nd-filters fieldset{padding:0;margin:0;border:0;min-width:0}
.nd-filters legend{margin-bottom:8px}
.nd-price-range{display:flex;gap:5px;align-items:center;color:var(--text-tertiary)}
.nd-price-range input{width:50%;min-width:0;padding:9px 7px}
.nd-filter-note{font-size:11px;line-height:1.8;color:var(--text-tertiary);margin:20px 0 0}
.nd-results{min-width:0}.nd-results-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:17px;min-height:40px}
.nd-results-head p{margin:0;font-size:13px;color:var(--text-secondary)}
.nd-sort-label select{background-color:transparent;min-height:36px;padding:6px 30px 6px 10px;font-size:12px}
.nd-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.nd-card{position:relative;isolation:isolate;display:flex;flex-direction:column;background:var(--bg-elevated);border:1px solid var(--border);border-radius:20px;overflow:hidden;transition:transform .18s,box-shadow .18s}
.nd-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-md)}
.nd-art{height:160px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,var(--bg-secondary),var(--bg-elevated));position:relative;overflow:hidden}
.nd-art:before{content:'';position:absolute;width:125px;height:125px;border-radius:50%;background:var(--accent-gradient-soft,rgba(0,87,255,.08));filter:blur(5px)}
.nd-art svg{width:95px;height:100px;position:relative;color:var(--accent-solid);stroke-width:1.15}
.nd-art[data-category=macbook] svg{width:130px}
.nd-card-body{padding:18px;display:flex;flex-direction:column;flex:1}
.nd-card h2{font-family:var(--font-display);font-weight:700;font-size:16px;line-height:1.4;letter-spacing:-.015em;margin:0 0 10px;color:var(--text-primary);overflow-wrap:anywhere}
.nd-specs{display:flex;gap:5px;flex-wrap:wrap;min-height:25px;margin-bottom:8px}
.nd-spec{display:inline-flex;padding:4px 7px;border-radius:6px;font-size:11px;font-weight:600;background:var(--bg-secondary);color:var(--text-secondary);line-height:1.3}
.nd-card-detail{color:var(--text-secondary);font-size:12px;line-height:1.6;min-height:20px;margin:0 0 15px;overflow-wrap:anywhere}
.nd-card-price{font-family:var(--font-mono);font-weight:700;font-size:21px;letter-spacing:-.03em;color:var(--text-primary);margin-top:auto;margin-bottom:15px;white-space:nowrap}
.nd-buy{display:flex;align-items:center;justify-content:center;text-decoration:none;color:#fff!important;background:var(--accent-gradient);border-radius:10px;padding:11px;font-size:13px;font-weight:600;gap:8px}
.nd-buy:hover{box-shadow:var(--accent-glow-soft)}
.nd-buy svg{width:15px;height:15px}
.nd-card-link{color:inherit;text-decoration:none;display:block}
.nd-card h2 a:hover{color:var(--accent-solid)}
.nd-card h2 .nd-card-link::after{content:'';position:absolute;inset:0;z-index:1}
.nd-card h2 .nd-card-link:focus-visible::after{outline:3px solid var(--accent-solid);outline-offset:-3px;border-radius:inherit}
.nd-card .nd-buy{position:relative;z-index:2}
.nd-back{display:inline-block;margin:0 0 24px;color:var(--text-secondary);font-size:14px;text-decoration:none}
.nd-back:hover{color:var(--accent-solid)}
.nd-product{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:48px;align-items:start}
.nd-product-media{position:sticky;top:100px;min-width:0}
.nd-product-media .nd-art{height:440px;border:1px solid var(--border);border-radius:28px}
.nd-product-media .nd-art:before{width:260px;height:260px}
.nd-product-media .nd-art svg{width:240px;height:250px}
.nd-product-media>p{font-size:11px;color:var(--text-tertiary);text-align:center;margin-top:12px}
.nd-product-info{min-width:0}
.nd-product-info h1{font-family:var(--font-display);font-size:clamp(26px,3.5vw,40px);font-weight:800;letter-spacing:-.025em;line-height:1.2;color:var(--text-primary);margin:12px 0;overflow-wrap:anywhere}
.nd-product-summary{font-size:14px;line-height:1.6;color:var(--text-secondary);margin:0 0 20px;overflow-wrap:anywhere}
.nd-product-price{font-family:var(--font-mono);font-size:clamp(24px,3vw,34px);font-weight:700;letter-spacing:-.03em;color:var(--text-primary);margin-bottom:16px;line-height:1.4}
.nd-config{margin-top:28px}
.nd-option-group{border:0;padding:0;margin:0 0 22px;min-width:0}
.nd-option-group legend{font-size:13px;font-weight:600;color:var(--text-secondary);padding:0;margin-bottom:10px}
.nd-option-chips{display:flex;gap:8px;flex-wrap:wrap}
.nd-option{font:inherit;font-size:13px;min-height:44px;border:1px solid var(--border-strong);border-radius:10px;background:var(--bg-elevated);color:var(--text-secondary);padding:10px 15px;cursor:pointer;overflow-wrap:anywhere;max-width:100%}
.nd-option[aria-pressed=true]{border-color:var(--accent-solid);background:var(--accent-gradient-soft);color:var(--accent-solid);box-shadow:inset 0 0 0 1px var(--accent-solid)}
.nd-option:disabled{opacity:.5;cursor:default}
.nd-config-status{font-size:12px;line-height:1.6;color:var(--text-secondary);margin:0 0 16px}
.nd-config-status:empty{display:none}
.nd-product-buy{min-height:50px;font-size:15px}
.nd-product-buy[aria-disabled=true]{background:var(--bg-secondary);color:var(--text-tertiary)!important;cursor:default;box-shadow:none}
.nd-product-note{font-size:12px;line-height:1.7;color:var(--text-secondary);margin:14px 0 0}
.nd-product-specs{margin-top:40px;border:1px solid var(--border);border-radius:20px;background:var(--bg-elevated);padding:28px}
.nd-product-specs h2{font-family:var(--font-display);font-size:22px;font-weight:700;color:var(--text-primary);margin:0 0 20px}
.nd-product-specs dl{margin:0}
.nd-product-specs dl>div{display:grid;grid-template-columns:minmax(110px,1fr) minmax(0,2fr);gap:20px;padding:13px 0;border-bottom:1px solid var(--border);font-size:14px;line-height:1.5}
.nd-product-specs dt{color:var(--text-secondary)}
.nd-product-specs dd{color:var(--text-primary);margin:0;overflow-wrap:anywhere}
@media(max-width:900px){.nd-product{gap:24px}.nd-product-media .nd-art{height:340px}.nd-product-media .nd-art svg{width:180px;height:200px}}
@media(max-width:700px){.nd-product{grid-template-columns:minmax(0,1fr);gap:24px}.nd-product-media{position:static}.nd-product-media .nd-art{height:240px}.nd-product-media .nd-art svg{width:150px;height:175px}.nd-product-media .nd-art:before{width:190px;height:190px}.nd-product-info .nd-freshness{flex-wrap:wrap}.nd-product-specs{padding:20px;margin-top:28px}.nd-product-specs dl>div{grid-template-columns:minmax(95px,1fr) minmax(0,1.5fr);gap:12px;font-size:13px}.nd-option{font-size:12px;padding:10px 13px}.nd-back{font-size:13px}}
.nd-more{display:block!important;margin:24px auto 0;min-width:200px}
.nd-empty{text-align:center;border:1px dashed var(--border-strong);border-radius:20px;padding:55px 20px;color:var(--text-secondary)}
.nd-empty h2{font-family:var(--font-display);font-weight:700;font-size:21px;color:var(--text-primary);margin:0 0 12px}
.nd-empty p{font-size:14px;margin-bottom:22px}
.nd-page [hidden]{display:none!important}
.nd-page button:focus-visible,.nd-page a:focus-visible{outline:3px solid var(--accent-solid);outline-offset:3px}
@media(min-width:1400px){.nd-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1100px){.nd-layout{grid-template-columns:200px minmax(0,1fr);gap:20px}.nd-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.nd-page{padding-top:18px}.device-sections{margin-bottom:22px;width:100%;gap:2px}.device-sections a{flex:1;text-align:center;padding:10px 7px;font-size:12px}.device-sections span{display:none}.nd-intro{display:block;margin-bottom:22px}.nd-intro p{font-size:13px}.nd-freshness{margin-top:15px;font-size:11px}.nd-eyebrow{font-size:10px}.nd-search-row{gap:8px;margin-bottom:15px}.nd-search{padding:0 12px}.nd-search input{height:46px;font-size:13px}.nd-search kbd{display:none}.nd-filter-toggle{display:inline-flex!important;font-size:12px;padding:0 14px!important;flex-shrink:0}.nd-category{padding:9px 14px;font-size:12px}.nd-layout{display:block}.nd-filters{display:none;position:static;margin-bottom:20px;padding:17px}.nd-filters.open{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}.nd-filter-head,.nd-filter-note,.nd-filters fieldset{grid-column:1/-1}.nd-grid{gap:10px}.nd-art{height:125px}.nd-art svg{height:83px;width:78px}.nd-card{border-radius:16px}.nd-card-body{padding:12px}.nd-card h2{font-size:14px}.nd-spec{font-size:10px;padding:4px 5px}.nd-card-detail{font-size:10px;min-height:28px}.nd-card-price{font-size:18px;margin-bottom:12px}.nd-buy{font-size:12px;padding:10px 6px}.nd-results-head p{font-size:11px}.nd-sort-label select{font-size:11px}.nd-warning{font-size:12px}.nd-more{width:100%}}
@media(prefers-reduced-motion:reduce){.nd-card{transition:none}.nd-card:hover{transform:none}}

/* Одна компактная компоновка для мобильного браузера и Telegram любой ширины. */
html.catalog-compact .device-sections{display:flex;width:100%;gap:4px;margin:0 0 20px}
html.catalog-compact .device-sections a{display:flex;flex:1;align-items:center;justify-content:center;min-width:0;min-height:44px;padding:10px 8px;font-size:13px;line-height:1.4;text-align:center;white-space:normal}
html.catalog-compact .device-sections a:focus-visible{outline:3px solid var(--accent-solid);outline-offset:2px}
html.catalog-compact body.page-catalog .device-sections{margin-top:8px;margin-bottom:20px}
/* Переключатель сохраняет ширину и положение при переходе между каталогами. */
html.catalog-compact body.page-new-devices .device-sections{margin-left:-4px;margin-right:-4px;width:calc(100% + 8px);max-width:none}
.device-sections{view-transition-name:device-sections}
::view-transition-old(root){animation:catalog-fade-out 120ms ease-out both}
::view-transition-new(root){animation:catalog-fade-in 120ms ease-out both}
::view-transition-group(device-sections){animation-duration:0s}
::view-transition-old(device-sections){animation:none;opacity:0}
::view-transition-new(device-sections){animation:none}
@keyframes catalog-fade-out{to{opacity:0}}
@keyframes catalog-fade-in{from{opacity:0}}
@media(prefers-reduced-motion:reduce){::view-transition-old(root),::view-transition-new(root){animation:none}}
.nd-filter-close,.nd-action-price{display:none}
.nd-filter-dialog{
  width:min(520px,100%);max-width:100%;margin:auto auto 0;padding:0;
  max-height:calc(100vh - 24px);max-height:calc(var(--tg-viewport-stable-height,100dvh) - max(12px,var(--tg-safe-area-inset-top,env(safe-area-inset-top,0px))) - var(--tg-content-safe-area-inset-top,0px) - 12px);
  border:1px solid var(--border);border-bottom:0;border-radius:24px 24px 0 0;
  background:var(--bg-elevated);color:var(--text-primary);overflow:hidden;
}
.nd-filter-dialog[open]{display:flex;flex-direction:column}
.nd-filter-dialog:not([open]){display:none}
.nd-dialog-fallback[open]{position:fixed;left:0;right:0;bottom:0;top:auto;z-index:10001}
.nd-filter-backdrop{position:fixed;inset:0;z-index:10000;background:rgba(13,18,32,.48)}
.nd-filter-backdrop[hidden]{display:none}
.nd-filter-dialog::backdrop{background:rgba(13,18,32,.48)}
.nd-filter-dialog-body{overflow-y:auto;overscroll-behavior:contain;min-height:0}
.nd-filter-dialog .nd-filters{display:block;position:static;margin:0;padding:20px;border:0;border-radius:0}
.nd-filter-dialog .nd-filter-head{gap:12px;margin-bottom:16px}
.nd-filter-dialog .nd-filter-head h2{font-size:20px;margin-right:auto}
.nd-filter-dialog .nd-reset{min-height:44px;font-size:13px;padding:0 8px}
.nd-filter-dialog .nd-filter-close{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:44px;height:44px;border:1px solid var(--border);border-radius:50%;background:var(--bg-secondary);color:var(--text-primary);font-size:26px;cursor:pointer}
.nd-filter-dialog .nd-filters>label{font-size:13px;margin-bottom:16px}
.nd-filter-dialog .nd-filters select,.nd-filter-dialog .nd-filters input{min-height:48px;font-size:16px}
.nd-filter-dialog .nd-filter-note{margin-top:14px;font-size:12px;line-height:1.5}
.nd-filter-footer{flex-shrink:0;padding:12px max(20px,var(--tg-content-safe-area-inset-right,0px)) calc(16px + max(env(safe-area-inset-bottom,0px),var(--tg-safe-area-inset-bottom,0px),var(--tg-content-safe-area-inset-bottom,0px)));border-top:1px solid var(--border);background:var(--bg-elevated)}
.nd-filter-footer .nd-buy{width:100%;min-height:48px;border:0;font:inherit;font-size:14px;font-weight:600;cursor:pointer}
html.nd-filters-open{overflow:hidden;scroll-behavior:auto}
html.nd-filters-open body{position:fixed;top:var(--nd-scroll-top,0px);width:100%;overflow:hidden}
.nd-filter-count{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:var(--accent-solid);color:var(--text-on-accent,#fff);font-size:11px}

html.catalog-compact body.page-new-devices main.has-bottom-nav{padding-left:0;padding-right:0}
html.catalog-compact body.page-new-devices .nd-page.container{
  padding:16px max(12px,var(--tg-safe-area-inset-right,0px),var(--tg-content-safe-area-inset-right,0px)) 28px max(12px,var(--tg-safe-area-inset-left,0px),var(--tg-content-safe-area-inset-left,0px));
}
html.tg-webapp body.page-new-devices .bottom-nav{
  padding-left:max(8px,var(--tg-safe-area-inset-left,0px),var(--tg-content-safe-area-inset-left,0px));
  padding-right:max(8px,var(--tg-safe-area-inset-right,0px),var(--tg-content-safe-area-inset-right,0px));
  padding-bottom:calc(6px + max(env(safe-area-inset-bottom,0px),var(--tg-safe-area-inset-bottom,0px),var(--tg-content-safe-area-inset-bottom,0px)));
}
html.catalog-compact .nd-intro{display:block;margin-bottom:20px}
html.catalog-compact .nd-intro h1{font-size:28px;line-height:1.2;margin:6px 0 8px}
html.catalog-compact .nd-intro p{font-size:14px;line-height:1.5;max-width:38ch}
html.catalog-compact .nd-eyebrow{font-size:10px;letter-spacing:.1em}
html.catalog-compact .nd-freshness{margin-top:12px;font-size:12px;flex-wrap:wrap}
html.catalog-compact .nd-status-dot{flex-shrink:0}
html.catalog-compact .nd-search-row{gap:8px;margin-bottom:16px}
html.catalog-compact .nd-search{min-width:0;padding:0 12px;gap:8px}
html.catalog-compact .nd-search svg{flex-shrink:0;width:18px}
html.catalog-compact .nd-search input{height:48px;font-size:16px}
html.catalog-compact .nd-search kbd{display:none}
html.catalog-compact .nd-filter-toggle{display:inline-flex!important;align-items:center;justify-content:center;gap:6px;min-height:48px;padding:0 12px!important;flex-shrink:0;font-size:13px;border-radius:14px}
html.catalog-compact .nd-category-row,html.catalog-compact .nd-generation-row{flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;scroll-padding:2px;padding:2px 2px 12px;gap:8px}
html.catalog-compact .nd-category-row::-webkit-scrollbar,html.catalog-compact .nd-generation-row::-webkit-scrollbar{display:none}
html.catalog-compact .nd-category{flex-shrink:0;min-height:44px;padding:10px 14px;font-size:13px}
html.catalog-compact .nd-generations{margin:0 0 16px;padding:12px 12px 0;border-radius:14px}
html.catalog-compact .nd-generations h2{margin-bottom:8px;font-size:12px}
html.catalog-compact .nd-generation{font-size:12px;min-height:44px}
html.catalog-compact .nd-layout{display:block}
html.catalog-compact .nd-layout>.nd-filters{display:none}
html.catalog-compact .nd-results-head{gap:8px;min-height:44px;margin-bottom:12px}
html.catalog-compact .nd-results-head p{font-size:12px;line-height:1.4}
html.catalog-compact .nd-sort-label{min-width:0;max-width:60%}
html.catalog-compact .nd-sort-label select{width:100%;min-height:44px;font-size:16px;padding:8px 26px 8px 8px;text-overflow:ellipsis}
html.catalog-compact .nd-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
html.catalog-compact .nd-card{min-width:0;border-radius:16px}
html.catalog-compact .nd-card-photo{height:auto;aspect-ratio:1.12;max-height:240px;padding:12px}
html.catalog-compact .nd-art{height:auto;aspect-ratio:1.12;max-height:240px}
html.catalog-compact .nd-art svg{height:90px;width:90px}
html.catalog-compact .nd-card-body{padding:12px;min-width:0}
html.catalog-compact .nd-card h2{font-size:14px;line-height:1.4;margin-bottom:10px}
html.catalog-compact .nd-specs{gap:4px;min-height:0}
html.catalog-compact .nd-spec{font-size:11px;padding:4px 6px;max-width:100%;overflow-wrap:anywhere}
html.catalog-compact .nd-card-detail{font-size:12px;line-height:1.5;min-height:18px;margin-bottom:12px}
html.catalog-compact .nd-card-price{font-size:clamp(16px,4.6vw,21px);line-height:1.4;margin-bottom:12px}
html.catalog-compact .nd-card .nd-buy{min-height:44px;font-size:13px;padding:10px 6px}
html.catalog-compact .nd-more{min-height:48px;width:100%}
html.catalog-compact .nd-warning{font-size:13px;padding:14px;margin-bottom:16px}
html.catalog-compact .nd-empty{padding:32px 16px}
html.catalog-compact .nd-back{font-size:13px;line-height:1.5;margin-bottom:16px;padding:8px 0;overflow-wrap:anywhere}
html.catalog-compact .nd-product{grid-template-columns:minmax(0,1fr);gap:20px}
html.catalog-compact .nd-product-media{position:static}
html.catalog-compact .nd-product-photo,html.catalog-compact .nd-product-media .nd-art{height:clamp(220px,65vw,360px);max-height:none;aspect-ratio:auto;padding:20px;border-radius:20px}
html.catalog-compact .nd-product-media .nd-art svg{width:160px;height:180px}
html.catalog-compact .nd-product-media>p{margin:8px 0 0;font-size:12px;line-height:1.5}
html.catalog-compact .nd-product-info h1{font-size:28px;margin:10px 0}
html.catalog-compact .nd-product-summary{font-size:14px;margin-bottom:12px}
html.catalog-compact .nd-product-price{font-size:28px;margin-bottom:8px}
html.catalog-compact .nd-config{margin-top:24px}
html.catalog-compact .nd-option-group{margin-bottom:20px}
html.catalog-compact .nd-option-group legend{font-size:14px}
html.catalog-compact .nd-option{min-height:44px;font-size:14px;padding:10px 14px}
html.catalog-compact .nd-product-specs{padding:18px;margin-top:24px}
html.catalog-compact .nd-product-specs dl>div{grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);gap:12px;font-size:13px}
html.catalog-compact body.page-new-devices .nd-product-page.container{padding-bottom:112px}
html.catalog-compact .nd-product-action{
  position:fixed;left:0;right:0;bottom:var(--nd-bottom-nav-height,calc(56px + env(safe-area-inset-bottom,0px)));z-index:79;
  display:flex;align-items:center;gap:12px;padding:12px max(12px,var(--tg-safe-area-inset-right,0px),var(--tg-content-safe-area-inset-right,0px)) 12px max(12px,var(--tg-safe-area-inset-left,0px),var(--tg-content-safe-area-inset-left,0px));
  border-top:1px solid var(--border);background:var(--bg-elevated);box-shadow:var(--shadow-sm);
}
html.catalog-compact .nd-action-price{display:block;max-width:44%;font-family:var(--font-mono);font-size:clamp(16px,4.5vw,21px);font-weight:700;color:var(--text-primary);overflow-wrap:anywhere}
html.catalog-compact .nd-product-buy{flex:1;min-width:0;min-height:48px;font-size:14px;padding:10px;line-height:1.4;text-align:center}
@media(hover:none){.nd-card:hover{transform:none;box-shadow:none}}
@media(max-width:359px){html.catalog-compact .nd-filter-toggle>span:first-of-type{display:none}html.catalog-compact .nd-filter-toggle{gap:4px;padding:0 10px!important}}
