
:root{
  --orange:#f47a20;
  --orange-deep:#dd6e19;
  --graphite:#1e252b;
  --text:#344049;
  --muted:#6e7881;
  --line:#d4dbe0;
  --line-2:#e8edf0;
  --page:#f4f6f7;
  --panel:#ffffff;
  --panel-2:#fafbfc;
  --steel-1:#f8fafb;
  --steel-2:#eef2f4;
  --steel-3:#e5ebef;
  --content:1320px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Arial,Helvetica,sans-serif;
  color:var(--graphite);
  background:linear-gradient(180deg,#f1f4f6 0,#f7f8f9 180px,#ffffff 520px);
  overflow-x:hidden;
}
button,input{font:inherit}

.site-header{
  position:sticky;top:0;z-index:100;
  background:linear-gradient(180deg,#ffffff 0,#f4f6f8 100%);
  border-bottom:1px solid var(--line);
  backdrop-filter:saturate(120%) blur(4px);
}
.header-inner{max-width:1440px;min-height:70px;margin:auto;padding:8px 26px;display:flex;align-items:center;gap:22px}
.brand{width:128px;flex:0 0 128px;display:flex;align-items:center;text-decoration:none}
.brand img{display:block;width:100%;height:48px;object-fit:contain}
.main-nav{display:flex;align-items:center;justify-content:center;gap:4px;flex:1}
.main-nav button{border:0;background:transparent;color:#4f5962;padding:9px 11px;border-radius:8px;cursor:pointer;font-size:14px;white-space:nowrap;transition:.18s ease}
.main-nav button.active,.main-nav button:hover{background:linear-gradient(180deg,#f7f8fa 0,#ebeff2 100%);color:#111;box-shadow:inset 0 0 0 1px #dde3e7}
.header-tools{display:flex;align-items:center;gap:9px}
.search-wrap{width:190px;height:38px;display:flex;align-items:center;gap:6px;padding:0 10px;border:1px solid var(--line);border-radius:9px;background:linear-gradient(180deg,#ffffff 0,#f5f7f8 100%)}
.search-wrap input{width:100%;border:0;outline:0;background:transparent}
.lang-switch{display:flex;border:1px solid var(--line);border-radius:9px;overflow:hidden;background:#fff}
.lang-switch button{border:0;background:#fff;padding:9px;font-size:12px;font-weight:700;color:#2c343b}
.lang-switch button.active{background:var(--orange);color:#fff}
.contact-link{min-height:38px;display:inline-flex;align-items:center;padding:0 14px;background:var(--graphite);color:#fff;text-decoration:none;border-radius:9px;font-size:14px}
.menu-toggle{display:none}

.hero{width:100%;background:linear-gradient(180deg,#edf2f4 0,#f8fafb 100%);border-bottom:1px solid var(--line)}
.hero img{display:block;width:100%;height:auto}

.catalog-shell{max-width:var(--content);margin:auto;padding:30px 24px 74px}
.catalog-heading{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:24px}
.eyebrow{margin:0 0 6px;color:var(--orange-deep);font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.16em}
.catalog-heading h1{margin:0;font-size:30px;letter-spacing:-.035em}

.category-section{margin-bottom:44px}
.category-head{display:flex;align-items:center;justify-content:space-between;padding-bottom:10px;margin-bottom:14px;border-bottom:1px solid var(--line)}
.category-head h2{margin:0;font-size:20px}
.view-all{border:0;background:transparent;color:#55616a;cursor:pointer;font-size:13px;font-weight:600}
.view-all:hover{color:var(--orange-deep)}

.product-grid{display:grid;gap:22px}
.product-grid.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.product-grid.grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.product-grid.grid-5{grid-template-columns:repeat(5,minmax(0,1fr))}
.product-grid.grid-5-balanced{grid-template-columns:repeat(6,minmax(0,1fr))}
.product-grid.grid-5-balanced>.product-item{grid-column:span 2}
.product-grid.grid-5-balanced>.product-item:nth-child(n+4){grid-column:span 3}
.product-item{
  min-width:0;
  text-align:center;
  padding:16px 16px 14px;
  background:linear-gradient(180deg,var(--steel-1) 0,var(--panel) 40px,var(--panel) 100%);
  border:1px solid #dfe5e8;
  border-radius:16px;
  box-shadow:0 10px 26px rgba(39,50,56,.05);
}
.product-image{
  height:182px;
  display:flex;align-items:center;justify-content:center;
  margin-bottom:12px;
  border-radius:12px;
  background:linear-gradient(180deg,#f6f8f9 0,#eef3f6 100%);
  border:1px solid #e2e8eb;
  overflow:hidden;
}
.product-image img{max-width:94%;max-height:92%;object-fit:contain;filter:drop-shadow(0 8px 10px rgba(0,0,0,.08))}
.product-id{font-size:11px;font-weight:800;letter-spacing:.08em;color:#111;margin-bottom:7px}
.product-item h3{margin:0 0 10px;font-size:16px;line-height:1.25;text-transform:uppercase}
.meta-stack{display:grid;gap:3px;margin-bottom:10px}
.primary-line{display:flex;justify-content:center;gap:6px;flex-wrap:wrap;font-size:12.5px;line-height:1.35}
.primary-line b{font-weight:700;color:#4d5860}
.primary-line span{font-weight:700;color:#151b20}
.description{margin:0 auto 12px;max-width:340px;font-size:13px;line-height:1.58;color:var(--text)}
.references{border-top:1px solid var(--line);padding-top:9px;text-align:left}
.references div{display:grid;grid-template-columns:104px 1fr;gap:10px;padding:6px 0;border-bottom:1px solid var(--line-2);font-size:11.7px;line-height:1.46}
.references div:last-child{border-bottom:0}
.references div.brands-only{grid-template-columns:1fr}
.references div.brands-only span{font-weight:600;color:#253038}

.references b{color:var(--muted);font-weight:700;letter-spacing:.02em}
.references span{font-weight:600;color:#253038}
.empty-state{padding:60px 0;text-align:center;color:var(--muted)}

footer{background:linear-gradient(180deg,#2a3035 0,#1f2529 100%);color:#d8dde0}
.footer-inner{max-width:var(--content);margin:auto;padding:38px 24px;display:flex;justify-content:space-between;gap:40px}
.footer-brand{color:#fff;font-size:20px;font-weight:800}
.legal-links{display:flex;flex-wrap:wrap;gap:12px;margin-top:14px}.legal-links a{color:#d6dde1;text-decoration:none;font-size:12.5px;border-bottom:1px solid transparent;padding-bottom:2px}.legal-links a:hover{color:#fff;border-bottom-color:var(--orange)}
.footer-inner p{margin:8px 0;color:#aeb6bb}.contact-actions{max-width:540px;display:flex;align-items:center;flex-wrap:wrap;gap:10px}
.contact-actions a,.contact-actions span{padding:8px 10px;color:#fff;border:1px solid #51595e;border-radius:8px;text-decoration:none;font-size:13px}
.whatsapp-float{position:fixed;right:20px;bottom:20px;z-index:90;width:48px;height:48px;display:grid;place-items:center;background:#1f9d55;color:#fff;border-radius:50%;text-decoration:none;font-size:12px;font-weight:900;box-shadow:0 8px 22px rgba(0,0,0,.18)}

@media(max-width:1320px){
  .product-grid.grid-5{grid-template-columns:repeat(4,minmax(0,1fr))}
}

@media(max-width:1120px){
  .main-nav{display:none}
  .menu-toggle{display:block;margin-left:auto;border:1px solid var(--line);background:#fff;border-radius:8px;padding:8px 10px;cursor:pointer}
  .main-nav.open{position:absolute;top:70px;left:0;right:0;display:flex;justify-content:flex-start;flex-wrap:wrap;padding:12px 20px;background:#fff;border-bottom:1px solid var(--line);box-shadow:0 10px 24px rgba(31,40,46,.08)}
  .header-tools .search-wrap{width:150px}
  .product-grid,.product-grid.grid-3,.product-grid.grid-4,.product-grid.grid-5,.product-grid.grid-5-balanced{grid-template-columns:repeat(2,minmax(0,1fr))}
  .product-grid.grid-5-balanced>.product-item{grid-column:auto}
}

@media(max-width:760px){
  html,body{width:100%;max-width:100%;overflow-x:hidden}

  .site-header{position:sticky;top:0}
  .header-inner{
    min-height:0;
    padding:8px 10px 9px;
    display:grid;
    grid-template-columns:auto 1fr auto auto;
    grid-template-rows:auto auto;
    align-items:center;
    gap:7px 8px;
  }
  .brand{grid-column:1;grid-row:1;width:92px;flex-basis:auto;min-width:0}
  .brand img{width:92px;height:38px;object-fit:contain;object-position:left center}
  .menu-toggle{grid-column:4;grid-row:1;margin:0;width:38px;height:36px;padding:0;display:grid;place-items:center;font-size:18px}
  .header-tools{display:contents}
  .lang-switch{grid-column:3;grid-row:1;justify-self:end}
  .lang-switch button{padding:8px 9px}
  .contact-link{display:none}
  .search-wrap{
    grid-column:1 / -1;
    grid-row:2;
    width:100% !important;
    height:36px;
    margin:0;
    background:#fff;
  }
  .search-wrap input{font-size:14px;min-width:0}
  .main-nav.open{
    top:91px;
    left:8px;
    right:8px;
    padding:10px;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:6px;
    border:1px solid var(--line);
    border-radius:10px;
    background:#fff;
    box-shadow:0 14px 32px rgba(31,40,46,.14);
  }
  .main-nav.open button{width:100%;text-align:left;padding:10px;font-size:13px}

  .hero{overflow:hidden}
  .hero img{display:block;width:100%;height:auto;max-height:none;object-fit:contain}

  .catalog-shell{width:100%;max-width:100%;padding:20px 10px 46px}
  .catalog-heading{align-items:flex-start;gap:10px;margin-bottom:20px}
  .catalog-heading>div:first-child{min-width:0}
  .eyebrow{font-size:10px;letter-spacing:.13em}
  .catalog-heading h1{font-size:23px;line-height:1.08;overflow-wrap:anywhere}

  .category-section{margin-bottom:32px}
  .category-head{margin-bottom:10px;padding-bottom:8px}
  .category-head h2{font-size:18px}
  .view-all{font-size:12px;padding:6px 0}

  .product-grid,.product-grid.grid-3,.product-grid.grid-4,.product-grid.grid-5,.product-grid.grid-5-balanced{grid-template-columns:minmax(0,1fr);gap:14px}
  .product-grid.grid-5-balanced>.product-item{grid-column:auto}
  .product-item{
    width:100%;
    min-width:0;
    padding:11px 10px 12px;
    border-radius:12px;
    box-shadow:0 6px 18px rgba(39,50,56,.05);
  }
  .product-image{height:150px;margin-bottom:10px;border-radius:10px}
  .product-image img{max-width:96%;max-height:94%;width:auto;height:auto}
  .product-id{font-size:10.5px;margin-bottom:5px}
  .product-item h3{font-size:16px;line-height:1.22;margin-bottom:8px}
  .meta-stack{gap:2px;margin-bottom:8px}
  .primary-line{font-size:12px;line-height:1.35;gap:4px}
  .description{max-width:none;font-size:13px;line-height:1.52;margin-bottom:10px;padding:0 2px}
  .references{padding-top:8px}
  .references div{grid-template-columns:1fr;gap:2px;padding:6px 0;font-size:12px;line-height:1.42}
    .references div.brands-only{grid-template-columns:1fr;gap:0}
.references b{font-size:10.5px;text-transform:uppercase;letter-spacing:.04em}
  .references span{overflow-wrap:anywhere}

  .footer-inner{display:block;padding:27px 14px 76px}
  .footer-brand{font-size:18px}
  .footer-inner p{font-size:13px;line-height:1.45}
  .legal-links{gap:8px 12px;margin-top:12px}
  .legal-links a{font-size:12px}
  .contact-actions{margin-top:18px;display:grid;grid-template-columns:1fr 1fr;gap:8px;max-width:none}
  .contact-actions a,.contact-actions span{display:flex;align-items:center;justify-content:center;min-height:38px;padding:8px 7px;font-size:12px;text-align:center}
  .contact-actions a:first-child{grid-column:1 / -1}
  .whatsapp-float{right:12px;bottom:12px;width:46px;height:46px}
}

@media(max-width:380px){
  .header-inner{grid-template-columns:auto 1fr auto auto;padding-left:8px;padding-right:8px}
  .brand{width:82px}.brand img{width:82px;height:35px}
  .lang-switch button{padding:7px 8px}
  .menu-toggle{width:36px;height:34px}
  .catalog-heading h1{font-size:21px}
  .product-image{height:138px}
  .product-item h3{font-size:15px}
  .description{font-size:12.5px}
  .contact-actions{grid-template-columns:1fr}
  .contact-actions a:first-child{grid-column:auto}
}

.product-image-empty{min-height:160px}
.product-placeholder h3{color:#5f6971}


/* Locked motor cards: balanced three-card presentation */
.category-section:has(.product-item[id^="MTR-"]) .product-grid{align-items:stretch}
.product-item[id^="MTR-"]{display:flex;flex-direction:column}
.product-item[id^="MTR-"] .product-image{height:210px}
.product-item[id^="MTR-"] .product-image img{max-width:96%;max-height:94%}
.product-item[id^="MTR-"] h3{min-height:40px;display:flex;align-items:center;justify-content:center}
.product-item[id^="MTR-"] .primary{min-height:28px}
.product-item[id^="MTR-"] .description{min-height:62px;display:flex;align-items:flex-start;justify-content:center}
.product-item[id^="MTR-"] .references{margin-top:auto}
.product-item[id^="MTR-"] .references div{grid-template-columns:96px 1fr}
@media(max-width:760px){
  .product-item[id^="MTR-"] .product-image{height:180px}
  .product-item[id^="MTR-"] h3,.product-item[id^="MTR-"] .primary,.product-item[id^="MTR-"] .description{min-height:0}
}


/* 2026-10-08 locked revisions */
.product-grid.grid-7-balanced{
  grid-template-columns:repeat(12,minmax(0,1fr));
}
.product-grid.grid-7-balanced>.product-item{
  grid-column:span 3;
}
.product-grid.grid-7-balanced>.product-item:nth-child(n+5){
  grid-column:span 4;
}

/* Bottom case/set section: equal visual boxes regardless of source aspect ratio. */
.product-grid.kit-grid{
  align-items:stretch;
}
.product-item[id^="KIT-"]{
  display:flex;
  flex-direction:column;
}
.product-item[id^="KIT-"] .product-image{
  height:260px;
  background:#fff;
}
.product-item[id^="KIT-"] .product-image img{
  width:100%;
  height:100%;
  max-width:100%;
  max-height:100%;
  object-fit:contain;
  object-position:center;
  filter:none;
}
.product-item[id^="KIT-"] h3{
  min-height:40px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.product-item[id^="KIT-"] .meta-stack{
  min-height:22px;
}
.product-item[id^="KIT-"] .description{
  min-height:62px;
}

@media(max-width:1120px){
  .product-grid.grid-7-balanced{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .product-grid.grid-7-balanced>.product-item{
    grid-column:auto;
  }
}
@media(max-width:760px){
  .product-grid.grid-7-balanced{
    grid-template-columns:minmax(0,1fr);
  }
  .product-item[id^="KIT-"] .product-image{height:210px}
  .product-item[id^="KIT-"] h3,
  .product-item[id^="KIT-"] .meta-stack,
  .product-item[id^="KIT-"] .description{min-height:0}
}

/* 2026-10-08 R2: equalized bottom kit visuals */
.product-item[id^="KIT-"] .product-image{
  height:280px;
  padding:8px;
}
.product-item[id^="KIT-"] .product-image img{
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
}
@media(max-width:760px){
  .product-item[id^="KIT-"] .product-image{height:220px}
}


/* 2026-10-08 R3: locked repair-tools arrangement */
.product-grid.repair-tools-custom{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  grid-template-areas:
    "rt001 rt004 rt007"
    "rt006 rt005 rt007"
    "rt003 rt002 rt007";
  gap:18px;
  align-items:stretch;
}
.product-grid.repair-tools-custom > .product-item{
  display:flex;
  flex-direction:column;
  min-height:0;
}
.product-grid.repair-tools-custom > #RT-001{grid-area:rt001}
.product-grid.repair-tools-custom > #RT-004{grid-area:rt004}
.product-grid.repair-tools-custom > #RT-007{grid-area:rt007}
.product-grid.repair-tools-custom > #RT-006{grid-area:rt006}
.product-grid.repair-tools-custom > #RT-005{grid-area:rt005}
.product-grid.repair-tools-custom > #RT-003{grid-area:rt003}
.product-grid.repair-tools-custom > #RT-002{grid-area:rt002}

.product-grid.repair-tools-custom .product-image{height:150px}
.product-grid.repair-tools-custom .product-item h3{
  min-height:58px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.product-grid.repair-tools-custom .meta-stack{min-height:40px}
.product-grid.repair-tools-custom .description{
  min-height:64px;
  display:flex;
  align-items:flex-start;
  justify-content:center;
}
.product-grid.repair-tools-custom .references{margin-top:auto}
.product-grid.repair-tools-custom #RT-003 .product-image,
.product-grid.repair-tools-custom #RT-002 .product-image{height:135px}
.product-grid.repair-tools-custom #RT-007 .product-image{
  height:280px;
  background:#fff;
}
.product-grid.repair-tools-custom #RT-007 img{
  max-width:98%;
  max-height:96%;
}
.product-grid.repair-tools-custom #RT-007 h3{min-height:44px}
.product-grid.repair-tools-custom #RT-007 .description{min-height:82px}

@media(max-width:1120px){
  .product-grid.repair-tools-custom{
    grid-template-columns:repeat(2,minmax(0,1fr));
    grid-template-areas:
      "rt001 rt004"
      "rt006 rt005"
      "rt003 rt002"
      "rt007 rt007";
  }
  .product-grid.repair-tools-custom #RT-007 .product-image{height:220px}
}
@media(max-width:760px){
  .product-grid.repair-tools-custom{
    grid-template-columns:minmax(0,1fr);
    grid-template-areas:none;
    gap:14px;
  }
  .product-grid.repair-tools-custom > .product-item{grid-area:auto !important}
  .product-grid.repair-tools-custom .product-image,
  .product-grid.repair-tools-custom #RT-003 .product-image,
  .product-grid.repair-tools-custom #RT-002 .product-image,
  .product-grid.repair-tools-custom #RT-007 .product-image{height:150px}
  .product-grid.repair-tools-custom .product-item h3,
  .product-grid.repair-tools-custom .meta-stack,
  .product-grid.repair-tools-custom .description{min-height:0}
}


/* 2026-10-08 R4 — final Repair Tools balance */
.repair-tools-section{
  --repair-gap:18px;
}

/* 2026-10-08 R9 — balanced repair tools layout
   Row 1-2: standard repair tools in a clean 2x2 grid.
   Row 3: MAH-58, MAH-73 and Gear Puller side by side. */
.product-grid.repair-tools-main{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:var(--repair-gap);
  align-items:stretch;
  margin-bottom:18px;
}
.repair-tools-main > .product-item,
.mah-tools-pair > .product-item{
  display:flex;
  flex-direction:column;
  min-width:0;
}
.repair-tools-main .product-image{
  height:154px;
}
.repair-tools-main .product-item h3{
  min-height:54px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.repair-tools-main .meta-stack{
  min-height:38px;
}
.repair-tools-main .description{
  min-height:62px;
  display:flex;
  align-items:flex-start;
  justify-content:center;
}
.repair-tools-main .references{
  margin-top:auto;
}

.product-grid.mah-tools-pair{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:var(--repair-gap);
  align-items:stretch;
  margin-top:0;
}
.mah-tools-pair .product-image{
  height:170px;
}
.mah-tools-pair .product-item h3{
  min-height:42px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.mah-tools-pair .meta-stack{
  min-height:34px;
}
.mah-tools-pair .description{
  min-height:54px;
}
.mah-tools-pair .references{
  margin-top:auto;
}
.mah-tools-pair #RT-003 .product-image,
.mah-tools-pair #RT-002 .product-image{
  height:190px;
}
.mah-tools-pair #RT-007 .product-image{
  height:190px;
}
.mah-tools-pair #RT-007 .product-image img{
  max-width:86%;
  max-height:82%;
}

@media(max-width:1120px){
  .product-grid.repair-tools-main{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .product-grid.mah-tools-pair{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .mah-tools-pair #RT-007{
    grid-column:1 / -1;
  }
}

@media(max-width:760px){
  .product-grid.repair-tools-main,
  .product-grid.mah-tools-pair{
    grid-template-columns:minmax(0,1fr);
    gap:14px;
  }
  .repair-tools-main .product-image,
  .mah-tools-pair .product-image,
  .mah-tools-pair #RT-003 .product-image,
  .mah-tools-pair #RT-002 .product-image,
  .mah-tools-pair #RT-007 .product-image{
    height:160px;
  }
  .repair-tools-main .product-item h3,
  .repair-tools-main .meta-stack,
  .repair-tools-main .description,
  .mah-tools-pair .product-item h3,
  .mah-tools-pair .meta-stack,
  .mah-tools-pair .description{
    min-height:0;
  }
}

/* 2026-10-08 R5 — user-requested Gear Puller centering */
@media(min-width:1121px){
  .repair-tools-main #RT-007{
    align-self:center;
    justify-self:stretch;
    height:auto;
    min-height:0;
  }
  .repair-tools-main #RT-007 .product-image{
    height:190px;
    padding:8px;
    background:#fff;
  }
  .repair-tools-main #RT-007 h3{
    min-height:42px;
    margin-bottom:8px;
  }
  .repair-tools-main #RT-007 .meta-stack{
    min-height:32px;
    margin-bottom:8px;
  }
  .repair-tools-main #RT-007 .description{
    min-height:54px;
    margin-bottom:8px;
  }
}


/* PRES 16/6.3 visual normalization */
#AL-003 .product-image img{
  max-width:78%;
  max-height:82%;
}
@media(max-width:760px){
  #AL-003 .product-image img{
    max-width:82%;
    max-height:84%;
  }
}


/* Motor compatibility lists: comma-separated full-width text, not 96px grid columns. */
.product-item[id^="MTR-"] .references{margin-top:0;}
.product-item[id^="MTR-"] .references div.brands-only{
  display:block;
  grid-template-columns:none;
  width:100%;
  min-width:0;
  padding:8px 0 3px;
  line-height:1.46;
}
.product-item[id^="MTR-"] .references div.brands-only span{
  display:block;
  width:100%;
  overflow-wrap:normal;
  word-break:normal;
  white-space:normal;
}


/* 2026-10-08 turbocharger heading + GS-002 balance fix */
.product-item#GS-002 .product-image img{
  transform:scale(1.32);
  transform-origin:center center;
}
@media(max-width:760px){
  .product-item#GS-002 .product-image img{
    transform:scale(1.22);
  }
}

/* Shared EN/RU navigation: identical compact layout at every desktop width.
   Logo left; search, language, contact, hamburger right. */
.site-header .header-inner{min-width:0}
.site-header .brand{min-width:0}
.site-header .header-tools{min-width:0}
.site-header .contact-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  white-space:nowrap;
  flex-shrink:0;
  font-weight:600;
}
.site-header .lang-switch{flex-shrink:0}
.site-header .main-nav{min-width:0}
.site-header .main-nav button{white-space:nowrap}

@media(min-width:761px){
  .site-header .header-inner{
    display:flex;align-items:center;gap:12px;
    padding:8px 20px;max-width:1700px;
  }
  .site-header .brand{order:0;flex:0 0 104px;width:104px}
  .site-header .main-nav{display:none}
  .site-header .header-tools{order:1;display:flex;margin-left:auto;gap:9px}
  .site-header .search-wrap{width:clamp(145px,18vw,200px)}
  .site-header .menu-toggle{
    order:2;display:inline-flex;align-items:center;justify-content:center;
    flex:0 0 40px;width:40px;height:38px;padding:0;margin:0;
    border:1px solid var(--line);border-radius:9px;background:#fff;cursor:pointer;
  }
  .site-header .main-nav.open{
    position:absolute;top:100%;right:12px;left:auto;
    width:min(490px,calc(100vw - 24px));max-height:min(75vh,590px);
    overflow-y:auto;z-index:102;display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:12px;
    border:1px solid var(--line);border-radius:0 0 12px 12px;
    background:#fff;box-shadow:0 14px 32px rgba(31,40,46,.14);
  }
  .site-header .main-nav.open button{
    white-space:normal;min-height:42px;text-align:left;overflow-wrap:anywhere;
  }
}

/* Same two-row mobile header in English and Russian. */
@media(max-width:760px){
  .site-header .header-inner{
    display:grid;
    grid-template-columns:minmax(66px,1fr) auto auto auto;
    grid-template-rows:38px 38px;
    align-items:center;column-gap:7px;row-gap:7px;
    padding:7px 10px 9px;min-height:0;
  }
  .site-header .brand{
    grid-column:1;grid-row:1;order:initial;
    justify-self:start;flex:auto;width:80px;max-width:100%;margin:0;
  }
  .site-header .brand img{width:80px;height:34px}
  .site-header .header-tools{display:contents}
  .site-header .lang-switch{
    grid-column:2;grid-row:1;justify-self:end;align-self:center;margin:0;
  }
  .site-header .lang-switch button{padding:8px;font-size:11px;min-width:29px}
  .site-header .contact-link{
    grid-column:3;grid-row:1;display:inline-flex;
    width:auto;height:36px;min-height:36px;max-width:none;
    padding:0 8px;font-size:11px;line-height:1;justify-self:end;margin:0;
  }
  .site-header .menu-toggle{
    grid-column:4;grid-row:1;order:initial;display:grid;
    justify-self:end;width:36px;height:36px;min-width:36px;
    padding:0;margin:0;font-size:17px;
  }
  .site-header .search-wrap,
  .site-header .header-tools .search-wrap{
    grid-column:1 / -1;grid-row:2;
    width:100% !important;min-width:0;height:38px;margin:0;
  }
  .site-header .search-wrap input{min-width:0;max-width:100%;font-size:14px}
  .site-header .main-nav.open{
    position:absolute;top:100%;left:10px;right:10px;width:auto;
    max-height:min(70vh,480px);overflow-y:auto;
    display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
    gap:6px;padding:10px;background:#fff;border:1px solid var(--line);
    border-radius:0 0 12px 12px;z-index:102;
    box-shadow:0 14px 32px rgba(31,40,46,.14);
  }
  .site-header .main-nav.open button{
    min-width:0;min-height:44px;padding:9px 8px;
    font-size:12px;text-align:left;white-space:normal;overflow-wrap:anywhere;
  }
}
@media(max-width:360px){
  .site-header .header-inner{column-gap:5px;padding-left:8px;padding-right:8px}
  .site-header .brand{width:66px;flex:auto}
  .site-header .brand img{width:66px;height:32px}
  .site-header .lang-switch button{padding:7px 6px;min-width:26px}
  .site-header .contact-link{padding:0 6px;font-size:10.5px}
  .site-header .menu-toggle{width:34px;min-width:34px;height:34px}
}

/* Mobile/tablet correction: the desktop five-item 3+2 spans must never
   create implicit columns at narrower viewports. */
@media (min-width:761px) and (max-width:1120px) {
  .product-grid.grid-5-balanced {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .product-grid.grid-5-balanced > .product-item,
  .product-grid.grid-5-balanced > .product-item:nth-child(n+4) {
    grid-column:auto;
    width:100%;
  }
  .product-grid.grid-5-balanced > .product-item:last-child:nth-child(odd) {
    grid-column:1 / -1;
    width:calc((100% - 22px) / 2);
    justify-self:center;
  }
}
@media (max-width:760px) {
  .product-grid.grid-5-balanced {
    grid-template-columns:minmax(0,1fr);
    gap:14px;
  }
  .product-grid.grid-5-balanced > .product-item,
  .product-grid.grid-5-balanced > .product-item:nth-child(n+4) {
    grid-column:1 / -1;
    width:100%;
    max-width:100%;
    min-width:0;
  }
}


/* Final kit image slots: the three approved transparent PNGs all use the same
   4:3 canvas and contain no embedded white photo background. */
.product-item[id^="KIT-"] .product-image{
  background:linear-gradient(180deg,#f6f8f9 0%,#eef3f6 100%);
}
.product-item[id^="KIT-"] .product-image img{
  width:100%;height:100%;max-width:100%;max-height:100%;
  object-fit:contain;object-position:center center;filter:none;
}

/* Contact links: one aligned row on wide screens; responsive tidy rows on smaller viewports. */
@media (min-width: 761px) {
  .footer-inner{flex-direction:column;gap:16px}
  .contact-actions{display:flex;flex-wrap:wrap;align-items:center;max-width:none;width:100%;gap:10px}
  .contact-actions a,.contact-actions span{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;min-height:38px}
}
@media (min-width: 1040px) {
  .contact-actions{flex-wrap:nowrap;gap:8px}
  .contact-actions a,.contact-actions span{font-size:12px;padding:8px 9px}
}

/* Contact area: compact, right-aligned actions; preserves product and header layout. */
@media (min-width: 761px) {
  footer .footer-inner {display:flex;flex-direction:row;justify-content:space-between;align-items:center;gap:24px}
  footer .footer-inner > div:first-child {flex:1 1 auto;min-width:0}
  footer .contact-actions {flex:0 1 690px;max-width:690px;width:auto;display:flex;flex-direction:row;justify-content:flex-end;align-content:center;align-items:center;flex-wrap:wrap;gap:7px;margin-left:auto}
  footer .contact-actions a,footer .contact-actions span {display:inline-flex;flex:0 0 auto;white-space:nowrap;font-size:11px;min-height:31px;padding:6px 8px;line-height:1.2;border-radius:7px}
}
@media (max-width: 760px) {
  footer .contact-actions {display:flex;justify-content:flex-end;flex-wrap:wrap;gap:7px;max-width:100%;margin-left:auto}
  footer .contact-actions a,footer .contact-actions span {display:inline-flex;flex:0 0 auto;white-space:nowrap;min-height:34px;font-size:11px;padding:7px 8px;line-height:1.2}
  footer .contact-actions a:first-child {grid-column:auto}
}
