/* Nerjavey.ru 2026 — light industrial system, inspired by layout patterns of Нержавей.ру.
   Only neutral tones and tiny brass/yellow manufacturing accents; independent from WordPress. */
:root{
  --rs-ink:#142938;
  --rs-navy:#172d3d;
  --rs-steel:#3e7088;
  --rs-steel-soft:#eef4f7;
  --rs-fog:#f7f9fa;
  --rs-line:#dbe5e9;
  --rs-warm:#efb83a;
  --rs-warm-soft:#fff7e5;
}
body{color:var(--rs-ink);background:#fff}
.topbar{box-shadow:0 6px 18px rgba(20,41,56,.035)}
.utilityBar{background:#f3f6f8;color:#687d89}
.modernBrand strong{color:#173142;letter-spacing:-.055em}
.modernBrand span span{color:#667e8b}
.headerSubnav{border-top:1px solid #eef2f4;padding-top:10px!important;padding-bottom:11px!important}
.headerSubnav a{font-weight:750}
.headerSubnav a.is-active,.headerSubnav a:hover{color:#1b536e;border-color:var(--rs-warm)}
.headerSearch{background:#fbfcfd;border-color:#dbe4e9}
.headerSearch>button{background:#e6eff3}
.catalogTrigger{position:relative;box-shadow:0 5px 16px rgba(19,44,60,.14)}
.catalogTrigger:before{content:"";position:absolute;inset:9px auto 9px 0;width:3px;border-radius:2px;background:var(--rs-warm)}
.headerIconLink:hover{border-color:#a4bdca}
.btn--primary{background:var(--rs-navy);border-color:var(--rs-navy);color:#fff}
.btn--primary:hover{background:#244b61;border-color:#244b61}
.btn--soft{background:#edf3f6;border-color:#d6e1e8;color:#234b61}
.btn--soft:hover{background:#e3edf2;border-color:#c5d8e2}
.mobileHeaderSearch{display:none}

/* Industrial but bright landing/category treatment */
.hero--flat{border-bottom:1px solid #e5edf1;background:radial-gradient(650px 260px at 16% 0%,#edf3f7 0%,transparent 75%),linear-gradient(120deg,#f8fafb,#fff 68%)}
.eyebrow{letter-spacing:.09em}
.heroText--flat .eyebrow:before,.editorialHeading .eyebrow:before{content:"";display:inline-block;width:20px;height:3px;border-radius:3px;background:var(--rs-warm);vertical-align:middle;margin-right:9px}
.heroActions .btn--primary{box-shadow:0 10px 25px rgba(19,44,60,.14)}
.heroMedia--flat{border:1px solid #e0eaef;box-shadow:0 22px 60px rgba(20,41,56,.09)}
.heroMedia--flat:before{content:"";position:absolute;inset:12px;border:1px solid #dbe5ea;border-radius:11px;pointer-events:none}
.heroMedia--flat{position:relative}
.catCard,.catThumb,.productCard{border-color:#dce6eb}
.catsGrid--mock .catThumb{background:linear-gradient(180deg,#fbfcfd,#eef3f6)}
.catCard:hover,.productCard:hover{border-color:#bdccd4;box-shadow:0 12px 28px rgba(20,41,56,.09)}
.productCard{overflow:hidden}
.productCard:before{content:"";position:absolute;z-index:1;top:0;left:0;width:36px;height:3px;background:#ecb847;border-radius:0 0 5px 0}
.productThumb{background:linear-gradient(160deg,#fbfcfd,#eff4f6)}
.productBody .price{color:#132d3e}
.productCard .actionsRow .btn--primary{font-weight:800}
.featureIcon{color:#27566d;background:#eaf2f6}
.featureCard{border-color:#dbe5ea}
.section--alt,.section--service{background:#f6f8fa}
.stepCard{border-color:var(--rs-line)}
.footer{background:#f5f8fa;border-color:#dbe5e9}
.footerGrid h4{color:#18374a}

/* Detail page: image and inquiry are the top row, description is underneath (as on production sites). */
body[data-page="product"] #main-content>.section{padding-top:26px}
body[data-page="product"] .breadcrumbs{font-size:12px;padding-bottom:5px;line-height:1.5}
body[data-page="product"] .breadcrumbs a{color:#46677a}
body[data-page="product"] .breadcrumbs span{color:#15384b}
.productPage--nerjavey{grid-template-columns:minmax(0,1.03fr) minmax(360px,.97fr);gap:22px;align-items:stretch}
.productVisual{min-width:0}
body[data-page="product"] .gallery{height:100%;border-radius:18px;box-shadow:0 8px 25px rgba(20,41,56,.045);border-color:#dee8ed;overflow:hidden}
body[data-page="product"] .galleryMain{min-height:0;height:410px;padding:25px;background:radial-gradient(ellipse at 35% 8%,#fff 0%,#f3f7f9 78%);position:relative}
body[data-page="product"] .galleryMain:before{inset:12px;border-radius:12px}
body[data-page="product"] .galleryMain img{mix-blend-mode:multiply;position:relative;z-index:1}
.galleryStamp{position:absolute;top:20px;left:20px;z-index:3;display:inline-flex;align-items:center;gap:8px;background:rgba(255,255,255,.93);border:1px solid #e2e9ed;color:#668090;letter-spacing:.075em;font-size:10px;font-weight:800;padding:7px 11px;border-radius:7px;pointer-events:none}
.galleryStamp:before{content:"";width:5px;height:13px;background:#e7b84f;border-radius:3px}
body[data-page="product"] .galleryThumbs{padding:12px;background:#fff;min-height:87px}
body[data-page="product"] .galleryThumbs .thumb{width:72px;height:60px}
body[data-page="product"] .photoWarning{margin:0 12px 12px;font-size:11px;padding:8px 12px;line-height:1.4}
.galleryFootnote{display:flex;align-items:center;gap:8px;padding:10px 2px;color:#708693;font-size:12px;line-height:1.4}
.galleryFootnote:before{content:"✓";display:inline-flex;justify-content:center;align-items:center;flex:0 0 18px;width:18px;height:18px;border-radius:50%;background:#eaf3f7;color:#28627c;font-weight:900}
body[data-page="product"] .productSummary{position:relative;top:auto;height:fit-content;padding:26px;background:#fff;border:1px solid #dce6eb;border-radius:18px;box-shadow:0 9px 27px rgba(20,41,56,.06)}
body[data-page="product"] .summaryLead{padding:6px 10px;background:var(--rs-warm-soft);color:#775c21;font-size:10px;letter-spacing:.06em;border-radius:6px;font-weight:850}
body[data-page="product"] .summaryLead:before{height:8px;width:8px;background:#e7b34b;box-shadow:0 0 0 3px rgba(239,184,58,.13)}
body[data-page="product"] .productSummary h1{font-size:clamp(26px,2.45vw,34px);line-height:1.2;letter-spacing:-.035em;margin-top:13px;color:#102a3b}
body[data-page="product"] .productSummary .sku{font-size:12px;margin-top:7px;color:#748b99}
body[data-page="product"] .summaryMeta{margin-top:12px;gap:6px}
body[data-page="product"] .summaryMeta .tag{background:#f3f7f9;color:#497084;border:1px solid #e0e9ee;font-size:11px;padding:6px 9px;border-radius:7px}
body[data-page="product"] .summaryMeta .tag--steel{background:#eaf3f7;color:#23556c;border-color:#d0e2ea}
body[data-page="product"] .priceCard{margin-top:19px;padding:14px 18px;background:#f8fafb;border-radius:12px;border:1px solid #e0e8ed;border-left:4px solid #ecc057}
body[data-page="product"] .priceLabel{font-size:10px;color:#718694}
body[data-page="product"] .priceCard .price{font-size:30px;color:#102e40;letter-spacing:-.035em}
body[data-page="product"] .priceSubnote{font-size:11px;margin-top:7px;color:#788b96}
body[data-page="product"] .summaryPoints{margin:15px 0;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
body[data-page="product"] .summaryPoint{border-radius:10px;padding:10px 12px;border-color:#e3ebef;background:#fcfdfd}
body[data-page="product"] .summaryPoint span{font-size:9px;color:#8396a2;letter-spacing:.045em}
body[data-page="product"] .summaryPoint strong{font-size:12px;line-height:1.35;margin-top:4px}
body[data-page="product"] .summaryBtns{gap:8px}
body[data-page="product"] .summaryBtns .btn{min-height:45px;padding:11px 14px;font-size:13px;border-radius:10px}
body[data-page="product"] #p_add{position:relative;box-shadow:0 8px 18px rgba(23,45,61,.13)}
body[data-page="product"] #p_add:before{content:"+";font-weight:900;margin-right:8px;font-size:18px}
body[data-page="product"] .summaryBtns .btn--ghost{font-weight:650;color:#587486;background:#fff;border-color:#e5edf1}
body[data-page="product"] .summaryBtns .btn--ghost:hover{background:#f4f8fa}
body[data-page="product"] .summaryTrust{margin-top:12px;padding:12px 15px;background:#f7fafb;border-color:#dfe9ee;border-radius:12px}
body[data-page="product"] .summaryTrustTitle{color:#315b73;font-size:10px}
body[data-page="product"] .summaryTrustList{gap:8px}
body[data-page="product"] .summaryTrustList li{font-size:11px;padding-left:19px;line-height:1.45}
body[data-page="product"] .summaryHint{font-size:11px;margin-top:10px;padding:10px;background:#fff;border-radius:9px}

/* Technical section */
.productEditorial{margin-top:30px}
.editorialHeading{display:flex;align-items:end;justify-content:space-between;gap:20px;padding-bottom:16px}
.editorialHeading .eyebrow{font-size:10px;margin-bottom:6px}
.editorialHeading .h2{font-size:27px;margin:0}
.editorialLink{display:inline-flex;gap:6px;align-items:center;flex-wrap:wrap;padding:10px 0;color:#617b89;font-size:12px}
.editorialLink strong{color:#1e5b78}
body[data-page="product"] .productHighlights{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 14px}
body[data-page="product"] .highlightCard{padding:13px 14px;min-height:75px;border-radius:11px;box-shadow:none;border-color:#dce8ed;background:#f9fbfc}
body[data-page="product"] .highlightCard p{font-size:12px;line-height:1.45;color:#516d7b}
body[data-page="product"] .highlightDot{flex:0 0 8px;width:8px;height:8px;margin-top:5px;box-shadow:0 0 0 3px rgba(43,108,138,.1)}
body[data-page="product"] .productDetailTabs{margin-top:0;border:1px solid #dce6eb;border-radius:15px;box-shadow:none;background:#fff}
body[data-page="product"] .productDetailTabs .tabBar{background:#f7fafb;gap:0;padding:8px 14px 0;border-color:#e0e9ef}
body[data-page="product"] .productDetailTabs .tabBtn{border-radius:10px 10px 0 0;padding:12px 20px;min-height:43px;color:#547284}
body[data-page="product"] .productDetailTabs .tabBtn.is-active{background:#fff;border-color:#dce6eb;border-bottom:1px solid #fff;color:#112f40;box-shadow:none}
body[data-page="product"] .productDetailTabs .tabPanel{padding:24px 28px}
body[data-page="product"] .contentFlow{max-width:950px;font-size:14px;line-height:1.75}
body[data-page="product"] .contentFlow .leadParagraph{font-size:15px;line-height:1.75}
body[data-page="product"] .contentFlow h3{font-size:17px;margin:19px 0 10px}
body[data-page="product"] .contentFlow p{margin-bottom:13px}
body[data-page="product"] .contentList{gap:8px;line-height:1.5}
body[data-page="product"] .contentList li{line-height:1.55;padding-left:25px}
body[data-page="product"] .contentList li:before{width:8px;height:8px;top:.72em;background:#5a94ac;box-shadow:0 0 0 3px #e9f1f5}
.deliveryNotes{max-width:850px;color:#506879;line-height:1.65;font-size:14px}
.deliveryNotes p{margin:0 0 14px}
body[data-page="product"] .specTable{max-width:760px}
.productionBanner{display:flex;justify-content:space-between;align-items:center;gap:22px;margin:28px 0 32px;border:1px solid #dbe5ea;border-left:4px solid var(--rs-warm);background:linear-gradient(115deg,#f8fafb,#fff 72%);border-radius:14px;padding:23px 26px}
.productionBannerEyebrow{color:#92702d;font-size:10px;letter-spacing:.07em;text-transform:uppercase;font-weight:900}
.productionBanner h2{font-size:20px;letter-spacing:-.025em;color:#18394a;margin:6px 0}
.productionBanner p{font-size:13px;color:#627d8d;line-height:1.5;margin:0}
.productionBanner>.btn{flex-shrink:0;min-height:46px}
.productionBanner>.btn span{margin-left:9px}
body[data-page="product"] .pageTitle .h2{font-size:25px}

/* STAGE 2: compact mobile after desktop design */
@media (max-width:1020px){
  .productPage--nerjavey{grid-template-columns:minmax(0,1fr) minmax(320px,.94fr);gap:14px}
  body[data-page="product"] .productHighlights{grid-template-columns:repeat(2,minmax(0,1fr))}
  body[data-page="product"] .productSummary{padding:19px}
  .productionBanner{gap:16px}
}
@media (max-width:850px){
  /* thumb + price must appear before description and long lists */
  .productPage--nerjavey{grid-template-columns:minmax(0,1fr)}
  body[data-page="product"] .gallery{height:auto}
  body[data-page="product"] .galleryMain{height:320px}
  .galleryFootnote{padding:7px 0}
  body[data-page="product"] .productSummary{position:relative;top:auto}
  .productEditorial{margin-top:22px}
  .editorialHeading{align-items:start}
  .productionBanner{padding:18px}
}
@media (max-width:700px){
  .topbar{position:relative}
  .modernHeader{padding:9px 0 5px;gap:8px}
  .brandIcon svg{width:30px;height:30px}
  .modernBrand strong{font-size:19px}
  .mobileMenuBtn{height:38px;width:38px}
  .headerIconLink{height:38px;width:38px}
  .mobileHeaderSearch{display:flex;align-items:center;gap:9px;height:40px;padding:0 5px 0 12px;margin-bottom:9px;background:#f8fafb;border:1px solid #dce5ea;border-radius:10px;color:#6c8794}
  .mobileHeaderSearch:focus-within{border-color:#6292ab;background:#fff;box-shadow:0 0 0 3px rgba(43,108,138,.1)}
  .mobileHeaderSearch input{min-width:0;flex:1;width:100%;padding:7px 0;background:transparent;border:0;outline:0;font-size:12px;color:#183849}
  .mobileHeaderSearch button{align-self:stretch;margin:4px 0;flex:0 0 auto;border:0;border-radius:7px;background:#e4eef3;color:#244d62;padding:0 12px;font-size:12px;font-weight:800;cursor:pointer}
  .container{width:calc(100% - 28px)}
  .section{padding:30px 0}
  .h2{font-size:24px}
  .sectionHead{margin-bottom:16px}
  .hero--flat{padding:27px 0 20px}
  .heroText--flat .lead{font-size:14px;line-height:1.6}
  .heroMedia--flat img{max-height:235px}
  .heroActions{gap:8px}
  .heroActions .btn{padding:11px 13px;font-size:12px}
  .pills{gap:7px;margin-top:13px}
  .pill{font-size:10px;padding:7px 10px}
  .featureCard{min-height:0;padding:13px 12px;gap:8px}
  .featureIcon{height:32px;width:32px;border-radius:9px}
  .featureTitle{font-size:12px}
  .stepCard{padding:14px}
  .catThumb img{height:110px}
  .catName{font-size:13px}
  .productsGrid,#favoritesGrid{gap:9px}
  .productCard{border-radius:12px}
  .productCard .productThumb{height:135px;padding:8px}
  .productBody{padding:10px;gap:6px}
  .productName{font-size:12px;line-height:1.37}
  .productMeta{gap:3px}
  .productMeta .metaItem{font-size:10px}
  .productBody .price{font-size:15px}
  .actionsRow{flex-direction:column;gap:5px}
  .actionsRow .btn{font-size:11px;padding:8px 5px}
  body[data-page="product"] #main-content>.section{padding-top:16px}
  body[data-page="product"] .breadcrumbs{font-size:11px;gap:5px 7px;padding-bottom:2px}
  body[data-page="product"] .breadcrumbs span{max-width:100%;overflow-wrap:anywhere}
  body[data-page="product"] .productPage--nerjavey{gap:8px}
  body[data-page="product"] .gallery{border-radius:12px}
  body[data-page="product"] .galleryMain{height:220px;padding:12px}
  body[data-page="product"] .galleryMain:before{inset:7px;border-radius:8px}
  .galleryStamp{top:10px;left:10px;font-size:8px;letter-spacing:.04em;padding:5px 7px}
  body[data-page="product"] .galleryThumbs{min-height:54px;padding:6px 9px;gap:5px}
  body[data-page="product"] .galleryThumbs .thumb{width:50px;height:43px;padding:3px;border-radius:8px}
  body[data-page="product"] .photoWarning{font-size:10px;margin:0 8px 8px;padding:6px 8px}
  .galleryFootnote{font-size:11px;padding:6px 0;line-height:1.3}
  body[data-page="product"] .productSummary{padding:14px;border-radius:12px;box-shadow:none}
  body[data-page="product"] .summaryLead{font-size:9px;line-height:1.25;padding:5px 8px}
  body[data-page="product"] .summaryLead:before{height:6px;width:6px;flex-shrink:0}
  body[data-page="product"] .productSummary h1{font-size:22px;line-height:1.23;margin-top:9px}
  body[data-page="product"] .productSummary .sku{font-size:11px;margin-top:4px}
  body[data-page="product"] .summaryMeta{margin-top:7px;gap:5px}
  body[data-page="product"] .summaryMeta .tag{font-size:10px;padding:4px 7px}
  body[data-page="product"] .summaryMeta .tag:nth-child(n+4){display:none}
  body[data-page="product"] .priceCard{margin-top:11px;padding:11px 13px;border-radius:9px}
  body[data-page="product"] .priceCard .price{font-size:25px;margin-top:2px!important}
  body[data-page="product"] .priceLabel{font-size:9px}
  body[data-page="product"] .priceSubnote{font-size:10px;line-height:1.4;margin-top:5px}
  body[data-page="product"] .summaryPoints{margin:9px 0;gap:5px}
  body[data-page="product"] .summaryPoint{padding:7px 9px;border-radius:7px}
  body[data-page="product"] .summaryPoint span{font-size:9px}
  body[data-page="product"] .summaryPoint strong{font-size:11px;margin-top:2px;line-height:1.25}
  body[data-page="product"] .summaryBtns{display:grid;grid-template-columns:1fr 1fr;gap:6px}
  body[data-page="product"] .summaryBtns .btn{min-width:0;min-height:40px;padding:8px 6px;font-size:11px;line-height:1.25;white-space:normal}
  body[data-page="product"] #p_add:before{font-size:15px;margin-right:4px}
  body[data-page="product"] .summaryBtns .btn--ghost{grid-column:1/-1;min-height:30px;padding:6px;color:#59788c;background:transparent;border:0}
  body[data-page="product"] .summaryTrust{padding:9px 11px;margin-top:8px}
  body[data-page="product"] .summaryTrustTitle{font-size:9px;margin-bottom:6px}
  body[data-page="product"] .summaryTrustList{gap:5px}
  body[data-page="product"] .summaryTrustList li{font-size:10px;line-height:1.35;padding-left:16px}
  body[data-page="product"] .summaryHint{margin-top:6px;font-size:10px;padding:7px 9px;line-height:1.35}
  .productEditorial{margin-top:20px}
  .editorialHeading{gap:10px;align-items:center;margin-bottom:0;padding-bottom:11px}
  .editorialHeading .eyebrow{font-size:9px;margin-bottom:4px}
  .editorialHeading .h2{font-size:20px}
  .editorialLink{max-width:130px;padding:0;font-size:10px;line-height:1.35;text-align:right}
  body[data-page="product"] .productHighlights{grid-template-columns:1fr 1fr;gap:6px;margin-bottom:10px}
  body[data-page="product"] .highlightCard{gap:6px;min-height:0;padding:9px 10px;border-radius:9px}
  body[data-page="product"] .highlightCard p{font-size:10px;line-height:1.4}
  body[data-page="product"] .highlightDot{width:6px;height:6px;flex-basis:6px;margin-top:4px;box-shadow:0 0 0 2px rgba(43,108,138,.1)}
  body[data-page="product"] .productDetailTabs{border-radius:11px}
  body[data-page="product"] .productDetailTabs .tabBar{padding:5px 5px 0;gap:2px;overflow:visible}
  body[data-page="product"] .productDetailTabs .tabBtn{flex:1;min-width:0;padding:9px 4px;font-size:11px;min-height:35px;white-space:normal;line-height:1.15}
  body[data-page="product"] .productDetailTabs .tabPanel{padding:13px 13px 17px}
  body[data-page="product"] .contentFlow{font-size:13px;line-height:1.65}
  body[data-page="product"] .contentFlow .leadParagraph{font-size:13px;line-height:1.65}
  body[data-page="product"] .contentFlow p{margin-bottom:10px}
  body[data-page="product"] .contentFlow h3{font-size:15px;margin:16px 0 8px}
  body[data-page="product"] .contentList{gap:7px}
  body[data-page="product"] .contentList li{font-size:12px;line-height:1.45;padding-left:18px}
  body[data-page="product"] .contentList li:before{width:7px;height:7px;box-shadow:0 0 0 2px #e7f0f4}
  body[data-page="product"] .specTable td{padding:10px 8px;font-size:12px}
  .productionBanner{margin:16px 0 26px;padding:14px;flex-direction:column;align-items:stretch;gap:12px;border-radius:10px}
  .productionBanner h2{font-size:17px}
  .productionBanner p{font-size:12px}
  .productionBanner .btn{min-height:38px;padding:9px 13px;font-size:12px}
  body[data-page="product"] .pageTitle .h2{font-size:21px}
  body[data-page="product"] .pageTitle .muted{font-size:11px}
}
@media (max-width:375px){
  .brandWords strong{font-size:17px}
  .modernHeader{gap:5px}
  .mobileMenuBtn{width:35px}
  body[data-page="product"] .productSummary h1{font-size:20px}
  body[data-page="product"] .summaryPoint strong{font-size:10px}
  body[data-page="product"] .productHighlights{grid-template-columns:1fr 1fr}
  .productCard .productThumb{height:120px}
}
@media (prefers-reduced-motion:reduce){
  .productCard,.btn,.headerIconLink{transition:none}
}
@media print{
  .mobileHeaderSearch{display:none!important}
  .tabPanel{display:block!important}
  .tabBar{display:none!important}
}

/* Last refinements: short image column, immediate enquiry button on phones */
body[data-page="product"] .productPage--nerjavey{align-items:start}
body[data-page="product"] .gallery{height:auto}
@media (max-width:700px){
  body[data-page="product"] .summaryBtns{margin-top:8px}
  body[data-page="product"] .summaryPoints{margin-top:8px;margin-bottom:8px}
  body[data-page="product"] .galleryMain{height:198px}
}

/* Cycle 2: product inquiry quantity and Cycle 3: compact mobile purchase dock */
.buyOptions{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:14px 0 11px}
.buyOptions>label{font-size:12px;font-weight:850;color:#2b4b5e}
.qtySelector{display:inline-flex;align-items:stretch;height:42px;background:#fff;border:1px solid #cfdde4;border-radius:10px;overflow:hidden}
.qtySelector:focus-within{border-color:#337393;box-shadow:0 0 0 3px rgba(45,112,147,.13)}
.qtyControl{width:40px;background:#f2f7f9;color:#254c61;border:0;font-size:20px;cursor:pointer;font-weight:650}
.qtyControl:hover{background:#deebf1}
.qtySelector input{width:53px;padding:0 3px;text-align:center;border:0;background:#fff;color:#132c3b;font-size:15px;font-weight:800;outline:0;-moz-appearance:textfield;appearance:textfield}
.qtySelector input::-webkit-inner-spin-button,.qtySelector input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.buyOptionsHint{font-size:11px;color:#607988;line-height:1.4}
.mobileBuyDock{display:none}
:where(a,button,input,textarea,select,[role="button"]):focus-visible{outline:3px solid #d99f28;outline-offset:3px}
.productDetailTabs .tabBtn:focus-visible{outline-offset:-3px}
@media(max-width:700px){
  body[data-page="product"] .buyOptions{margin:9px 0 10px;gap:10px}
  body[data-page="product"] .buyOptions>label{font-size:11px}
  body[data-page="product"] .buyOptionsHint{flex-basis:100%;font-size:10px}
  body[data-page="product"] .qtySelector{height:38px}
  body[data-page="product"] .qtyControl{width:38px}
  body[data-page="product"] .qtySelector input{width:44px;font-size:13px}
  body[data-page="product"] .mobileBuyDock:not([hidden]){display:flex;position:fixed;z-index:64;bottom:calc(60px + env(safe-area-inset-bottom));left:0;right:0;background:rgba(255,255,255,.98);border-top:1px solid #d8e5eb;box-shadow:0 -6px 22px rgba(17,46,64,.09);padding:9px 14px;align-items:center;justify-content:space-between;gap:12px}
  .mobileBuyDockPrice{font-size:18px;font-weight:900;color:#193646;white-space:nowrap}
  .mobileBuyDock .btn{min-height:42px;min-width:140px;border-radius:9px;padding:8px 15px;font-size:13px}
  .mobileBuyDock .btn span{font-size:11px;font-weight:650;margin-left:4px;opacity:.85}
  body[data-page="product"].has-buy-dock{padding-bottom:120px}
  body[data-page="product"] .productSummary .summaryHint{display:block}
}
@media(max-width:370px){.mobileBuyDockPrice{font-size:15px}.mobileBuyDock .btn{min-width:128px}}
@media(prefers-reduced-motion:reduce){.productCard,.productThumb,.thumb{transition:none!important}}

/* Cycle 3 polish: keep notifications clear of fixed mobile controls. */
.localDraftNotice{margin:12px 0;padding:11px 13px;font-size:12px;color:#526e7f;background:#f5f9fb;border-left:3px solid #d9a83f;border-radius:8px;line-height:1.55}
@media(max-width:700px){
  .toastWrap{bottom:calc(79px + env(safe-area-inset-bottom));right:12px;left:12px;align-items:flex-end;pointer-events:none}
  .toast{font-size:12px;max-width:310px;padding:10px 12px}
  body.has-buy-dock .toastWrap{bottom:calc(146px + env(safe-area-inset-bottom))}
}

/* Nerjavey.ru: same navigation and header structure, responsive brand lettering. */
.modernBrand .brandWords strong{letter-spacing:-.045em;font-size:clamp(18px,2vw,24px)}
@media(max-width:700px){.modernBrand .brandWords strong{font-size:clamp(16px,4.6vw,20px)}.modernBrand{min-width:0}}
.footerLegal{display:inline;color:inherit}

/* Customer-facing legal details, without altering header/navigation. */
.officialDetails{margin:26px 0 0}.officialDetails h3{font-size:19px;letter-spacing:-.02em}
.officialGrid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:14px 0 16px}
.officialGrid>div{padding:13px 16px;border:1px solid #d9e5ea;background:#f8fbfc;border-radius:13px;min-width:0}
.officialGrid dt{font-size:11px;color:#6d8290;font-weight:800;text-transform:uppercase;letter-spacing:.05em;margin-bottom:5px}
.officialGrid dd{font-size:13px;line-height:1.5;font-weight:650;color:#203747;margin:0;overflow-wrap:anywhere}
@media(max-width:700px){.officialGrid{grid-template-columns:1fr}}
