:root {
  --atlas-red: #e30613;
  --atlas-red-dark: #be0010;
  --atlas-ink: #111827;
  --atlas-muted: #64748b;
  --atlas-line: #e2e8f0;
  --atlas-soft: #f8fafc;
  --atlas-radius: 12px;
  --container-width: 1440px;
}

html {
  /* Use the same split font faces as global-typography.css from the root. */
  font-family: "Atlas Roboto Numerals", "Atlas Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}
body { color: var(--atlas-ink); font-size: 16px; }

:is(.catalog-results, .atlas-search-grid) .atlas-catalog-dispatch.atlas-catalog-dispatch--row:not(.is-empty) {
  color: #e6362a;
}

.not-found-page { padding: clamp(54px, 8vw, 104px) 0; }
.not-found { max-width: 760px; margin: 0 auto; padding: clamp(32px, 6vw, 64px); border: 1px solid var(--atlas-line); border-radius: 18px; background: #fff; box-shadow: 0 18px 50px rgba(15,23,42,.08); text-align: center; }
.not-found__code { margin: 0 0 8px; color: var(--atlas-red); font-size: clamp(3.75rem, 9vw, 6.5rem); font-weight: 800; letter-spacing: -.06em; line-height: .95; }
.not-found h1 { margin: 0; color: var(--atlas-ink); font-size: clamp(1.75rem, 4vw, 2.75rem); line-height: 1.15; }
.not-found__message { max-width: 590px; margin: 18px auto 0; color: var(--atlas-muted); font-size: 1.05rem; line-height: 1.65; }
.not-found__search { max-width: 560px; margin: 28px auto 0; }
.not-found__search form { display: flex; align-items: stretch; gap: 10px; }
.not-found__search input[type="search"] { width: 100%; min-width: 0; height: 48px; padding: 0 15px; border: 1px solid var(--atlas-line); border-radius: 8px; background: #fff; color: var(--atlas-ink); font: inherit; }
.not-found__search input[type="search"]:focus { border-color: var(--atlas-red); box-shadow: 0 0 0 3px rgba(227,6,19,.1); outline: 0; }
.not-found__search button { min-height: 48px; padding: 0 22px; border: 0; border-radius: 8px; background: var(--atlas-red); color: #fff; cursor: pointer; font: inherit; font-weight: 700; white-space: nowrap; }
.not-found__search button:hover, .not-found__search button:focus-visible { background: var(--atlas-red-dark); }
.not-found__actions { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

@media (max-width: 560px) {
  .not-found-page { padding: 32px 0 48px; }
  .not-found { padding: 30px 20px; border-radius: 14px; }
  .not-found__search form { flex-direction: column; }
  .not-found__search button, .not-found__actions .button { width: 100%; }
}
.ui-icon { display: block; width: 1em; height: 1em; }
.site-header { position: sticky; top: 0; z-index: 1000; border-bottom: 1px solid rgba(15,23,42,.06); background: rgba(255,255,255,.98); transition: box-shadow .18s ease,border-color .18s ease; }
.site-header.is-scrolled { border-bottom-color: rgba(15,23,42,.1); box-shadow: 0 7px 22px rgba(15,23,42,.07); }
.site-header__inner { min-height: 76px; gap: 18px; }
.site-brand { display: inline-flex; align-items: center; font-size: 2rem; font-weight: 800; letter-spacing: -.08em; }
.brand-logo { display: flex; width: 128px; height: 36px; align-items: center; }
.brand-logo img { display: block; width: 100%; max-width: 100%; height: auto; }
.desktop-nav { display: flex; flex: 0 0 auto; gap: 24px; align-items: center; white-space: nowrap; margin-left: auto; }
.desktop-nav > li { list-style: none; }
.desktop-nav a, .header-actions a { text-decoration: none; }
.desktop-nav a { position: relative; padding: 8px 0; font-size: .82rem; font-weight: 600; transition: color .17s ease; }
.desktop-nav a::after { position: absolute; right: 0; bottom: 2px; left: 0; height: 1px; border-radius: 999px; background: var(--atlas-red); content: ""; transform: scaleX(0); transform-origin: center; transition: transform .17s ease; }
.header-search { width: min(100%,360px); min-width: 150px; margin-left: auto; flex: 0 1 360px; }
.header-search form, .mobile-search form { display: flex; margin: 0; }
.header-search input, .mobile-search input { width: 100%; height: 44px; padding: 0 14px; border: 1px solid var(--atlas-line); border-radius: 8px; font: inherit; transition: border-color .17s ease, box-shadow .17s ease; }
.header-search input:focus, .mobile-search input:focus { border-color: #ed7f88; box-shadow: 0 0 0 3px rgba(239, 35, 52, .08); outline: 0; }
.header-search button, .mobile-search button { display: none; }
.header-actions { display: flex; gap: 15px; }
.header-actions a, .header-actions button { display: flex; min-width: 42px; padding: 0; border: 0; background: transparent; color: inherit; align-items: center; flex-direction: column; font: inherit; font-size: 1.3rem; cursor: pointer; transition: color .17s ease; }
.header-actions a > span, .header-actions button > span { display: flex; width: 28px; height: 28px; border-radius: 50%; align-items: center; justify-content: center; transition: background-color .17s ease, color .17s ease; }
.header-actions a > span { position: relative; }
.header-action__count { position: absolute; top: -5px; right: -7px; display: grid; min-width: 16px; height: 16px; box-sizing: border-box; place-items: center; padding: 0 4px; border: 2px solid #fff; border-radius: 999px; background: var(--atlas-red,#e30613); color: #fff; font-size: 9px; font-weight: 800; line-height: 1; }
.header-action__count[hidden] { display: none; }
.header-actions a.has-items { color: var(--atlas-red,#e30613); }
.header-actions a.is-disabled { color: #a8afb9; cursor: default; opacity: .62; }
.header-actions a.is-disabled > span { background: transparent; }
.header-action-menu.is-disabled .header-action-popover { display: none; }
.header-actions .ui-icon { stroke-width: 1.05; }
.header-actions small { font-size: .64rem; }
.header-action-menu { position: relative; display: flex; align-self: stretch; align-items: center; }
.header-action-menu--cart > .header-action--cart { min-width: 92px; flex-direction: row; gap: 8px; padding: 6px 10px; border-radius: 9px; background: #f5f5f4; }
.header-action__summary { display: flex; align-items: flex-start; flex-direction: column; line-height: 1.08; }
.header-action__summary em { color: var(--atlas-muted); font-size: .62rem; font-style: normal; font-weight: 500; }
.header-action__summary strong { color: var(--atlas-ink); font-size: .78rem; white-space: nowrap; }
.header-action-popover { position: absolute; top: calc(100% + 8px); right: 0; z-index: 40; width: min(370px,calc(100vw - 24px)); max-height: min(520px,calc(100vh - 96px)); overflow: auto; padding: 16px; border: 1px solid var(--atlas-line); border-radius: 12px; background: #fff; box-shadow: 0 18px 42px rgba(15,23,42,.16); color: var(--atlas-ink); opacity: 0; visibility: hidden; transform: translateY(-5px); transition: opacity .16s ease,transform .16s ease,visibility .16s ease; pointer-events: none; }
.header-action-menu:hover .header-action-popover,.header-action-menu:focus-within .header-action-popover { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
.header-action-popover__title { margin: 0 0 10px; font-size: 1rem; font-weight: 700; }
.header-action-popover__items { display: grid; gap: 4px; }
.header-action-product { display: grid !important; min-width: 0 !important; grid-template-columns: 58px minmax(0,1fr) auto; align-items: center !important; gap: 10px; padding: 7px !important; border-radius: 8px; color: inherit !important; font-size: .78rem !important; }
.header-action-product:hover { background: #faf7f5 !important; }
.header-action-product img { width: 58px; height: 58px; object-fit: contain; }
.header-action-product span { display: block !important; width: auto !important; height: auto !important; min-width: 0; border-radius: 0 !important; }
.header-action-product strong { display: -webkit-box; overflow: hidden; font-size: .78rem; line-height: 1.25; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.header-action-product small { display: block; margin-top: 4px; color: var(--atlas-muted); }
.header-action-product > b { font-size: .78rem; white-space: nowrap; }
.header-action-popover__footer { display: flex; margin: 10px -16px -16px; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--atlas-line); background: #fafafa; font-size: .8rem; }
.header-action-popover__footer--single { justify-content: flex-end; }
.header-action-popover__footer .button { min-height: 38px; padding: 0 14px; background: var(--atlas-red); color: #fff; font-size: .76rem; }
.header-action-popover__empty { margin: 0; color: var(--atlas-muted); font-size: .82rem; }
@media (hover: hover) and (pointer: fine) {
  .desktop-nav a:hover { color: var(--atlas-red); }
  .desktop-nav a:hover::after { transform: scaleX(1); }
  .header-actions a:not(.is-disabled):hover, .header-actions button:hover { color: var(--atlas-red); }
  .header-actions a:not(.is-disabled):hover > span, .header-actions button:hover > span { background: #fff1f2; }
}
.desktop-nav a:focus-visible { color: var(--atlas-red); outline: 0; }
.desktop-nav a:focus-visible::after { transform: scaleX(1); }
.header-actions a:focus-visible, .header-actions button:focus-visible { color: var(--atlas-red); outline: 0; }
.header-actions a:focus-visible > span, .header-actions button:focus-visible > span { background: #fff1f2; box-shadow: 0 0 0 2px rgba(227, 6, 19, .12); }
.mobile-menu, .mobile-search { display: none; }
.mobile-footer { display: none; }

@media (min-width: 1281px) {
  .site-brand { transform: translateY(-2px); }
}

.home-main { padding: 18px 0 24px; }
@media (min-width: 768px) {
  .home-main + .site-footer { padding-top: 24px; }
}
.home-section { margin-top: 30px; }
.home-section h2, .section-heading h2 { margin: 0 0 15px; font-size: 1.5rem; }
.home-hero { position: relative; display: grid; min-height: 0; aspect-ratio: 1440 / 460; grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); overflow: hidden; border-radius: 16px; background: #4a413b; color: #fff; }
.home-hero::after { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg,rgba(25,20,18,.88) 0%,rgba(32,25,21,.72) 36%,rgba(32,25,21,.12) 67%,transparent 100%); content: ""; }
.home-hero__content { position: relative; z-index: 2; display: flex; max-width: 700px; justify-content: center; flex-direction: column; padding: clamp(30px,3.5vw,50px); }
.eyebrow { margin: 0 0 10px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.home-hero h1 { max-width: 620px; margin: 0; font-size: clamp(2.3rem,3.5vw,3.5rem); line-height: 1.06; }
.home-hero__content > p:not(.eyebrow) { max-width: 500px; margin: 20px 0 26px; font-size: 1.08rem; }
.button-row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 14px; }
.home-hero .button--primary span { margin-left: 12px; font-size: 1.05em; transition: transform 190ms ease; }
.home-hero .button--primary:hover span, .home-hero .button--primary:focus-visible span { transform: translateX(3px); }
.button--hero-outline { border: 1px solid rgba(255,255,255,.8); background: rgba(16,18,20,.2); color: #fff; }
.button--hero-outline:hover, .button--hero-outline:focus-visible { border-color: #fff; background: rgba(255,255,255,.12); box-shadow: 0 8px 20px rgba(0,0,0,.14); transform: translateY(-1px); }
.home-hero__trust { display: grid; width: min(100%,548px); grid-template-columns: repeat(3,minmax(0,1fr)); margin-top: 28px; padding: 10px 13px; border: 1px solid rgba(255,255,255,.2); border-radius: 10px; background: rgba(52,55,58,.3); box-shadow: inset 0 1px 0 rgba(255,255,255,.055); backdrop-filter: blur(6px); }
.home-hero__trust > div { display: flex; min-width: 0; align-items: center; gap: 9px; padding: 0 14px; }
.home-hero__trust > div:first-child { padding-left: 0; }
.home-hero__trust > div + div { border-left: 1px solid rgba(255,255,255,.24); }
.home-hero__trust > div:last-child { padding-right: 0; }
.home-hero__trust-icon { display: grid; width: 34px; height: 34px; place-items: center; flex: 0 0 34px; }
.home-hero__trust .ui-icon { width: 31px; height: 31px; stroke-width: .82; }
.home-hero__trust-copy { display: flex; min-width: 0; flex-direction: column; }
.home-hero__trust strong, .home-hero__trust small { display: block; white-space: nowrap; }
.home-hero__trust strong { font-size: .66rem; font-weight: 600; line-height: 1.25; }
.home-hero__trust small { color: rgba(255,255,255,.8); font-size: .61rem; line-height: 1.28; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 2px 28px 0; border-radius: 7px; font-weight: 700; line-height: 1.1; text-decoration: none; }
.home-hero .button { transition: background-color 190ms ease, color 190ms ease, border-color 190ms ease, box-shadow 190ms ease, transform 190ms ease; }
.button--primary { background: var(--atlas-red); color: #fff; }
.button--primary:hover { background: var(--atlas-red-dark); }
.button--outline { border: 1px solid var(--atlas-ink); background: #fff; }
.button--wide { display: flex; width: min(70%,760px); margin: 16px auto 0; }
.text-link { color: #fff; font-weight: 600; text-underline-offset: 6px; }
.home-hero__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 44%; }
.home-hero__visual::before { position: absolute; right: 15%; bottom: -9%; width: 43%; height: 39%; border: 18px solid rgba(255,255,255,.8); border-radius: 50%; content: ""; }
.water-heater { position: absolute; top: 12%; left: 42%; width: 155px; height: 330px; border-radius: 78px 78px 25px 25px; background: linear-gradient(90deg,#ddd,#fff 38%,#eee 78%,#c8c8c8); box-shadow: 0 24px 45px rgba(0,0,0,.25); }
.water-heater::after { position: absolute; right: 45px; bottom: 28px; width: 42px; height: 70px; border-radius: 7px; background: #171717; content: ""; }
.water-heater span { position: absolute; right: 50%; bottom: -12px; width: 70px; height: 18px; border-radius: 0 0 12px 12px; background: #9e9e9e; transform: translateX(50%); }

.categories-section { padding: 26px; border: 1px solid #f0ece7; border-radius: 16px; background: #faf8f5; box-shadow: 0 16px 40px rgba(15,23,42,.045); }
.category-mosaic { display: grid; aspect-ratio: 1440 / 402; grid-template-columns: 1.45fr .86fr .72fr; grid-template-rows: 230fr 160fr; gap: 12px; }
.category-card { position: relative; overflow: hidden; padding: 22px; border-radius: var(--atlas-radius); background: linear-gradient(135deg,#ede7df,#d8d0c8); color: var(--atlas-ink); text-decoration: none; transition: box-shadow 200ms ease; }
.category-card::before { position: absolute; inset: 0; z-index: 3; border: 1px solid transparent; border-radius: inherit; content: ""; pointer-events: none; transition: border-color 200ms ease; }
.category-card strong { position: relative; z-index: 2; display: block; max-width: 240px; font-size: 1.05rem; line-height: 1.25; }
.category-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 240ms ease; }
.category-card__media { position: absolute; inset: 0; display: block; }
.category-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 240ms ease; }
.category-card::after { position: absolute; inset: 0; z-index: 1; background: linear-gradient(145deg,rgba(255,255,255,.62),rgba(255,255,255,.08) 48%,transparent 70%); content: ""; }
.category-card:hover, .category-card:focus-visible { box-shadow: 0 0 18px rgba(227,6,19,.1), 0 10px 28px rgba(227,6,19,.11); }
.category-card:hover::before, .category-card:focus-visible::before { border-color: rgba(227,6,19,.42); }
.category-card:hover > img, .category-card:hover .category-card__media img, .category-card:focus-visible > img, .category-card:focus-visible .category-card__media img { transform: scale(1.018); }
.category-card--boilers { grid-row: 1/3; }
.category-card--convectors { grid-column: 2/3; background: linear-gradient(135deg,#f2f0ec,#d8d8d4); }
.category-card--towels { grid-column: 3/4; grid-row: 1/2; background: linear-gradient(135deg,#f4f4f1,#d7d4cf); }
.category-card--instant { grid-column: 2/3; background: linear-gradient(135deg,#f2f0ec,#d8d8d4); }
.category-card--parts { grid-column: 3/4; background: linear-gradient(135deg,#eee8df,#c8b7a0); }
.category-product { position: absolute; right: 12%; bottom: -8%; display: block; background: #f6f6f4; box-shadow: 0 14px 24px rgba(0,0,0,.12); }
.category-product--tank { width: 120px; height: 280px; border-radius: 65px 65px 20px 20px; }
.category-product--convector { right: 8%; bottom: 20%; width: 62%; height: 92px; border: 8px solid #f6f6f4; border-radius: 6px; background: repeating-linear-gradient(0deg,#d2d6d7 0 2px,#f5f5f3 2px 8px); }
.category-product--rails { width: 52%; height: 70%; border: 7px double #aaa; background: repeating-linear-gradient(0deg,transparent 0 22px,#a7a7a7 22px 28px); box-shadow: none; }
.category-product--small { width: 82px; height: 135px; border-radius: 42px 42px 10px 10px; }
.category-product--parts { right: 16%; bottom: 22%; width: 58%; height: 55px; border-radius: 50%; background: linear-gradient(90deg,#9a641d,#d4a850,#805016); }

.selection-panel { padding: 24px; border: 1px solid #e9ecef; border-radius: 16px; background: #f4f5f6; }
.selection-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.selection-grid a { display: grid; min-height: 92px; grid-template-columns: 62px 1fr; align-items: center; gap: 2px 16px; padding: 14px 16px; border: 1px solid #e4e7eb; border-radius: 12px; background: #fff; box-shadow: 0 8px 22px rgba(15,23,42,.045); text-decoration: none; transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease; }
.selection-grid > a > span:first-child,
.benefit-grid__link > span:first-child,
.technology-card__content > span:first-child,
.footer-consultation > span:first-child { position: relative; display: flex; width: 62px; height: 62px; align-items: center; justify-content: center; border: 1px solid #d4d7db; border-radius: 50%; background: linear-gradient(145deg,#fafafa 0%,#f0f1f2 48%,#e0e2e4 100%); box-shadow: 0 6px 12px rgba(15,23,42,.15),inset 0 2px 3px rgba(255,255,255,.98),inset 0 -2px 4px rgba(112,121,133,.15); color: var(--atlas-red); flex: 0 0 62px; }
.selection-grid > a > span:first-child::before,
.benefit-grid__link > span:first-child::before { display: none; }
.selection-grid > a > span:first-child .ui-icon,
.benefit-grid__link > span:first-child .ui-icon,
.technology-card__content > span:first-child .ui-icon,
.footer-consultation > span:first-child .ui-icon { position: relative; z-index: 1; width: 36px; height: 36px; stroke-width: .72; }
.selection-grid > a:nth-child(-n+2) > span:first-child .ui-icon { width: 44px; height: 44px; stroke-width: .68; }
.selection-grid > a:nth-child(n+3) > span:first-child .ui-icon,
.benefit-grid__link > span:first-child .ui-icon,
.footer-consultation > span:first-child .ui-icon { width: 38px; height: 38px; stroke-width: .72; }
.ui-icon { shape-rendering: auto; }
.ui-icon * { vector-effect: none; }
.selection-grid a:hover, .selection-grid a:focus-visible,
.benefit-grid__link:hover, .benefit-grid__link:focus-visible { border-color: #f0b6bb; box-shadow: 0 13px 30px rgba(15,23,42,.07); transform: translateY(-2px); }
.benefit-grid__link:hover h3, .benefit-grid__link:focus-visible h3 { color: var(--atlas-ink); }
.benefit-grid__link:hover p, .benefit-grid__link:focus-visible p { color: var(--atlas-muted); }
.selection-grid > a > span:first-child { grid-row: 1/3; align-self: center; }
.selection-grid strong { font-size: .94rem; line-height: 1.3; }
.selection-grid small { color: #7f8793; font-size: .8rem; line-height: 1.45; }
@media (min-width: 768px) { .selection-panel > .button--wide { display: none; } }
.mobile-recommendations { display: block; }
.mobile-recommendations__heading-actions { display: flex; align-items: center; gap: 14px; }
.mobile-recommendations__controls { display: flex; gap: 6px; }
.mobile-recommendations__controls button { display: grid; width: 34px; height: 34px; padding: 0; place-items: center; border: 1px solid var(--atlas-line); border-radius: 50%; background: #fff; color: var(--atlas-text); cursor: pointer; transition: border-color .2s ease, color .2s ease, opacity .2s ease; }
.mobile-recommendations__controls button:hover:not(:disabled), .mobile-recommendations__controls button:focus-visible:not(:disabled) { border-color: var(--atlas-red); color: var(--atlas-red); }
.mobile-recommendations__controls button:disabled { opacity: .35; cursor: default; }
.mobile-recommendations__viewport { overflow-x: auto; padding-top: 4px; margin-top: -4px; overscroll-behavior-inline: contain; scrollbar-width: none; scroll-behavior: smooth; scroll-snap-type: x mandatory; }
.mobile-recommendations__viewport::-webkit-scrollbar { display: none; }
@media (min-width: 768px) and (hover: hover) and (pointer: fine) {
  .mobile-recommendations__viewport { width: calc(100% + 48px); padding: 24px; margin: -24px; scroll-padding-inline: 24px; }
}
.mobile-recommendations__grid { --recommendation-gap: 18px; display: flex; width: 100%; gap: var(--recommendation-gap); }
/* Reserve scroll space for the last card's hover outline before it appears.
   Cancel the extra flex gap so only the required edge inset is added. */
@media (min-width: 768px) and (hover: hover) and (pointer: fine) {
  .home-main [data-recommendations-viewport] .mobile-recommendations__grid::after {
    content: "";
    flex: 0 0 8px;
    margin-inline-start: calc(-1 * var(--recommendation-gap));
    pointer-events: none;
  }
}
/* Keep edge borders and shadows inside the slider's clipping area. */
@media (min-width: 768px) {
  .home .mobile-recommendations__viewport {
    box-sizing: border-box;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 8px;
    padding-right: 8px;
    scroll-padding-inline: 8px;
  }
}
.mobile-product-card { position: relative; display: flex; min-width: 0; padding: 18px; border: 1px solid var(--atlas-line); border-radius: var(--atlas-radius); background: #fff; flex: 0 0 calc((100% - 54px)/4); flex-direction: column; scroll-snap-align: start; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.mobile-product-card:hover { z-index: 2; box-shadow: 0 10px 28px rgba(15,23,42,.08); transform: translateY(-3px); }
.mobile-product-card__main { display: flex; height: auto; min-height: 0; color: inherit; flex: 1; flex-direction: column; text-decoration: none; }
.product-card-gallery { position: relative; width: 100%; min-width: 0; }
.product-card-gallery__link { display: block; color: inherit; text-decoration: none; }
.product-card-gallery__stage { display: block; position: relative; width: 100%; overflow: hidden; }
.product-card-gallery__stage img { transition: opacity .16s ease; }
.product-card-gallery__stage > img { position: relative; z-index: 1; }
.product-card-gallery__stage .atlas-gallery-slide-copy { position: absolute; inset: 0; z-index: 0; display: block; width: 100%; height: 100%; margin: auto; object-fit: contain; object-position: center; pointer-events: none; }
.product-card-gallery.is-loading .product-card-gallery__stage img { opacity: .58; }
.product-card-gallery__arrow { position: absolute; top: 50%; z-index: 4; display: grid; width: 32px; height: 32px; padding: 0; place-items: center; border: 1px solid rgba(216,220,226,.9); border-radius: 50%; background: rgba(255,255,255,.92); box-shadow: 0 3px 10px rgba(15,23,42,.1); color: #202733; font: inherit; font-size: 1.35rem; line-height: 1; opacity: 0; pointer-events: none; transform: translateY(-50%); transition: opacity .16s ease,background .16s ease,color .16s ease; }
.product-card-gallery__arrow--previous { left: 6px; }
.product-card-gallery__arrow--next { right: 6px; }
.product-card-gallery__arrow svg { display: block; width: 16px; height: 16px; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.product-card-gallery__counter { position: absolute; right: 8px; bottom: 7px; z-index: 3; padding: 3px 7px; border-radius: 999px; background: rgba(18,24,35,.72); color: #fff; font-size: .66rem; font-weight: 650; line-height: 1.2; opacity: 0; pointer-events: none; transition: opacity .16s ease; }
.catalog-interior-label { position: absolute; left: 8px; bottom: 7px; z-index: 5; display: flex; align-items: center; gap: 5px; max-width: calc(100% - 68px); padding: 5px 8px; border: 0; border-radius: 999px; background: rgba(255,255,255,.95); box-shadow: 0 1px 5px rgba(0,0,0,.13); color: #253449; font: inherit; font-size: 11px; line-height: 1.25; text-align: left; cursor: pointer; }
.catalog-interior-label span { flex: none; }
.catalog-interior-note { position: absolute; left: 8px; right: 8px; bottom: 58px; z-index: 6; padding: 12px; border-radius: 10px; background: #fff; box-shadow: 0 4px 18px rgba(0,0,0,.2); color: #253449; font-size: 12px; line-height: 1.45; }
.catalog-interior-label[hidden], .catalog-interior-note[hidden] { display: none !important; }
.product-card-gallery:focus-within .product-card-gallery__arrow { opacity: 1; pointer-events: auto; }
.product-card-gallery:focus-within .product-card-gallery__counter { opacity: 1; }
.product-card-gallery__arrow:hover { background: var(--atlas-red); color: #fff; }
@media (hover: hover) and (pointer: fine) { .product-card-gallery:hover .product-card-gallery__arrow { opacity: 1; pointer-events: auto; } .product-card-gallery:hover .product-card-gallery__counter { opacity: 1; } }
@media (hover: none), (pointer: coarse) { .product-card-gallery__arrow { width: 28px; height: 28px; font-size: 1.15rem; opacity: .88; pointer-events: auto; } .product-card-gallery__counter { opacity: .88; } }
.product-card-gallery--recommendation .mobile-product-card__image { height: clamp(190px,22vw,310px); }
.product-card-gallery--recommendation .mobile-product-card__image img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.mobile-product-card__availability { display: flex; min-height: 20px; align-items: center; gap: 6px; padding-right: 30px; margin-bottom: 5px; color: #159447; font-size: .78rem; font-weight: 600; }
.mobile-product-card__availability > span { position: relative; display: inline-block; width: 12px; height: 12px; border: 1.4px solid currentColor; border-radius: 50%; background: transparent; flex: 0 0 auto; }
.mobile-product-card__availability > span::after { position: absolute; top: 2px; left: 3.5px; width: 3px; height: 5px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; content: ""; transform: rotate(45deg); }
.mobile-product-card__availability--out { color: var(--atlas-muted); }
.mobile-product-card__availability--out > span { border: 0; background: currentColor; }
.mobile-product-card__availability--out > span::after { display: none; }
.mobile-product-card__sku-top { position: absolute; top: 17px; right: 14px; z-index: 2; color: var(--atlas-muted); font-size: .68rem; }
.mobile-product-card__sku-inline { display: none; }
.mobile-product-card__heart { position: absolute; top: 39px; right: 14px; z-index: 2; display: grid; width: 30px; height: 30px; padding: 0; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--atlas-muted); cursor: pointer; }
.mobile-product-card__heart:focus-visible,.mobile-product-card__heart.is-active { outline: none; background: #fff2f2; color: var(--atlas-red); }
.mobile-product-card__heart .ui-icon { width: 21px; height: 21px; stroke-width: 1.15; }
.mobile-product-card__compare { position: absolute; top: 73px; right: 17px; z-index: 2; display: grid; width: 24px; height: 24px; padding: 0; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--atlas-muted); cursor: pointer; }
.mobile-product-card__compare:focus-visible,.mobile-product-card__compare.is-active { outline: none; background: #fff2f2; color: var(--atlas-red); }
.mobile-product-card__heart .ui-icon,.mobile-product-card__compare .ui-icon { pointer-events: none; }
@media (hover: hover) and (pointer: fine) { .mobile-product-card__heart:hover,.mobile-product-card__compare:hover { background: #fff2f2; color: var(--atlas-red); } }
.mobile-product-card__compare .ui-icon { width: 18px; height: 18px; stroke-width: 1.1; }
.mobile-product-card img { display: block; width: 100%; height: clamp(190px,22vw,310px); object-fit: contain; object-position: center; }
.mobile-product-card strong { min-height: 48px; font-size: 1rem; line-height: 1.35; }
.mobile-product-card strong.mobile-product-card__title { display: -webkit-box; min-height: 2.7em; max-height: 2.7em; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; }
.mobile-product-card small { margin-top: auto; color: var(--atlas-muted); font-size: .85rem; }
.mobile-product-card__price { margin-top: 12px; color: var(--atlas-text); font-size: 1.05rem; font-weight: 750; }
.mobile-product-card__price del { display: block; color: var(--atlas-muted); font-size: .82rem; font-weight: 500; }
.mobile-product-card__price ins { display: block; text-decoration: none; }
.mobile-product-card__price del ~ ins { color: var(--atlas-red); }
.mobile-product-card__action { width: 100%; min-height: 42px; padding-top: 0; padding-bottom: 2px; margin-top: 12px; line-height: 1.1; text-align: center; }
.benefit-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.benefit-grid article { display: flex; padding: 0; }
.benefit-grid__link { display: flex; width: 100%; min-height: 92px; align-items: center; gap: 16px; padding: 14px 16px; border: 1px solid #e4e7eb; border-radius: 12px; background: #fff; color: inherit; text-decoration: none; transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease; }
.benefit-grid article + article { border-left: 0; }
.benefit-grid__link > span:first-child { width: 62px; height: 62px; flex-basis: 62px; }
.benefit-grid h3, .technology h3 { margin: 0 0 5px; font-size: .94rem; }
.benefit-grid p, .technology p, .parts-callout p { margin: 0; color: var(--atlas-muted); font-size: .8rem; line-height: 1.45; }
.section-heading { display: flex; align-items: center; justify-content: space-between; }
.section-heading a { color: var(--atlas-red); font-weight: 650; text-decoration: none; }
.guide-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.guide-grid a { display: flex; overflow: hidden; border: 1px solid var(--atlas-line); border-radius: var(--atlas-radius); flex-direction: column; color: inherit; text-decoration: none; transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease; }
.guide-grid a:hover, .guide-grid a:focus-visible { border-color: #f0b6bb; box-shadow: 0 13px 30px rgba(15,23,42,.07); transform: translateY(-2px); }
.guide-grid strong, .guide-grid small { padding: 0 18px; }
.guide-grid strong { margin-top: 15px; }
.guide-grid small { margin: 4px 0 18px; color: var(--atlas-muted); }
.guide-art { display: block; width: 100%; height: auto; aspect-ratio: 470 / 185; object-fit: cover; }
.technology { position: relative; overflow: hidden; padding: 34px; border: 1px solid #e9edf3; border-radius: 16px; background: linear-gradient(135deg,#f8fafc 0%,#fff 58%,#fff7f7 100%); }
.technology::before { position: absolute; top: 0; left: 34px; width: 76px; height: 4px; border-radius: 0 0 4px 4px; background: var(--atlas-red); content: ""; }
.technology__intro { max-width: 900px; margin-bottom: 22px; }
.technology__eyebrow { margin: 0 0 7px; color: var(--atlas-red); font-size: .74rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.technology__intro h2 { max-width: 720px; margin-bottom: 10px; font-size: clamp(1.55rem,2.2vw,2.05rem); }
.technology__intro > p:last-child { max-width: 830px; margin: 0; color: var(--atlas-muted); font-size: 1rem; line-height: 1.6; }
.technology-grid { display: grid; grid-template-columns: 1.02fr 1fr; align-items: stretch; gap: 22px; }
.technology-art { position: relative; min-height: 430px; overflow: hidden; border-radius: var(--atlas-radius); background: #eee; }
.technology-art::after { position: absolute; inset: 45% 0 0; background: linear-gradient(180deg,transparent,rgba(14,20,31,.72)); content: ""; }
.technology-art img { width: 100%; height: 100%; min-height: 430px; object-fit: cover; }
.technology-art__caption { position: absolute; right: 24px; bottom: 22px; left: 24px; z-index: 1; display: flex; color: #fff; flex-direction: column; gap: 4px; }
.technology-art__caption span { font-size: .72rem; font-weight: 750; letter-spacing: .11em; text-transform: uppercase; }
.technology-art__caption strong { max-width: 390px; font-size: 1.25rem; line-height: 1.25; }

.technology-cards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.technology article { display: flex; min-height: 0; }
.technology-card__content { display: flex; width: 100%; min-height: 100%; align-items: center; gap: 16px; padding: 22px; border: 1px solid var(--atlas-line); border-radius: 11px; background: rgba(255,255,255,.88); box-shadow: 0 8px 24px rgba(15,23,42,.035); color: inherit; }
.technology-card__content > span { width: 56px; height: 56px; flex-basis: 56px; }
.technology-card__content > span .ui-icon { width: 36px; height: 36px; stroke-width: .72; }
.technology-card__content h3 { margin-bottom: 8px; font-size: 1.07rem; line-height: 1.35; }
.technology-card__content p { font-size: .91rem; line-height: 1.55; }
.selection-panel .button--wide, .catalog-intro__cta, .home-hero .text-link { transition: background-color 190ms ease, color 190ms ease, border-color 190ms ease, box-shadow 190ms ease, transform 190ms ease; }
.selection-panel .button--wide:hover, .selection-panel .button--wide:focus-visible,
.catalog-intro__cta:hover, .catalog-intro__cta:focus-visible { background: #c90010; border-color: #c90010; box-shadow: 0 8px 18px rgba(227,6,19,.22); transform: translateY(-1px); }
.home-hero .text-link:hover, .home-hero .text-link:focus-visible { color: var(--atlas-red); transform: translateX(3px); }
.technology__footer { display: flex; margin-top: 20px; align-items: center; justify-content: space-between; gap: 18px; }
.technology__footer p { max-width: 520px; font-size: .78rem; }
.technology__footer .button { min-height: 44px; padding: 2px 20px 0; flex: 0 0 auto; font-size: .86rem; transition: background-color 190ms ease,color 190ms ease,border-color 190ms ease,box-shadow 190ms ease,transform 190ms ease; }
.technology__footer .button:hover, .technology__footer .button:focus-visible { border-color: var(--atlas-red); background: #fff2f2; color: var(--atlas-red); box-shadow: 0 8px 18px rgba(227,6,19,.14); transform: translateY(-1px); }
.parts-callout { display: flex; margin-top: 30px; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 34px; border: 1px solid var(--atlas-line); border-radius: var(--atlas-radius); }
.parts-callout__copy { min-width: 280px; flex: 1; }
.parts-callout__art { width: 180px; height: 128px; flex: 0 0 auto; object-fit: contain; object-position: center; }
.parts-callout .button:hover { background: var(--atlas-red-dark); }
.faq details { border: 1px solid var(--atlas-line); border-bottom: 0; }
.faq details:first-of-type { border-radius: 9px 9px 0 0; }
.faq details:last-child { border-bottom: 1px solid var(--atlas-line); border-radius: 0 0 9px 9px; }
.faq summary { padding: 14px 18px; font-weight: 600; cursor: pointer; }
.faq details p { padding: 0 18px 15px; color: var(--atlas-muted); }

.site-footer { padding: 50px 0 20px; border-top: 0; background: #fff; }
.footer-consultation { display: flex; margin-bottom: 30px; align-items: center; gap: 16px; padding: 18px 22px; border: 1px solid var(--atlas-line); border-radius: var(--atlas-radius); color: inherit; text-decoration: none; }
.footer-consultation > span:first-child { width: 56px; height: 56px; flex-basis: 56px; }
.footer-consultation > span:first-child .ui-icon { width: 28px; height: 28px; }
.footer-consultation__copy { display: flex; min-width: 0; flex: 1; flex-direction: column; }
.footer-consultation strong { font-size: 1rem; }
.footer-consultation small { margin-top: 3px; color: var(--atlas-muted); font-size: .86rem; }
.footer-consultation__contacts { display: flex; align-items: center; gap: 18px; }
.footer-consultation__phone { color: var(--atlas-red); font-size: 1.05rem; font-weight: 750; white-space: nowrap; }
.footer-consultation__messengers { display: flex; gap: 8px; }
.footer-messenger { display: flex; width: 36px; height: 36px; align-items: center; justify-content: center; border: 1px solid var(--atlas-line); border-radius: 50%; background: #fff; font-size: 1.2rem; }
.footer-messenger--telegram { color: #26a5e4; }
.footer-messenger--viber { color: #7360f2; }
.footer-messenger--whatsapp { color: #25d366; }

.comparison-page,.wishlist-page { padding: clamp(34px, 5vw, 72px) 0 70px; }
.comparison-page__inner > h1,.wishlist-page__inner > h1 { margin: 6px 0 10px; font-size: clamp(2rem, 4vw, 3rem); }
.comparison-page__intro,.wishlist-page__intro { max-width: 680px; margin: 0 0 28px; color: var(--atlas-muted); }
.comparison-page__content,.wishlist-page__content { min-height: 220px; }
.comparison-page__message { padding: 28px; border: 1px solid var(--atlas-line); border-radius: var(--atlas-radius); background: var(--atlas-soft); color: var(--atlas-muted); text-align: center; }
.comparison-page__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.comparison-product { display: flex; min-width: 0; padding: 18px; border: 1px solid var(--atlas-line); border-radius: var(--atlas-radius); background: #fff; flex-direction: column; }
.comparison-product__image { display: grid; height: 250px; place-items: center; }
.comparison-product__image img { display: block; width: 100%; height: 100%; object-fit: contain; }
.comparison-product h2 { margin: 14px 0 8px; font-size: 1rem; line-height: 1.35; }
.comparison-product__sku { color: var(--atlas-muted); font-size: .82rem; }
.comparison-product__price { margin-top: 16px; font-size: 1.12rem; font-weight: 750; }
.comparison-product__stock { margin: 8px 0 16px; color: #159447; font-size: .82rem; font-weight: 600; }
.comparison-product__stock.is-unavailable { color: var(--atlas-muted); }
.comparison-product__remove { min-height: 40px; margin-top: auto; border: 1px solid #f1b7bc; border-radius: 7px; background: #fff; color: var(--atlas-red); font: inherit; font-weight: 650; cursor: pointer; }
.comparison-product__remove:hover { background: #fff2f2; }
.wishlist-product__actions { display: grid; gap: 8px; margin-top: auto; }
.wishlist-product__view { display: flex; min-height: 42px; align-items: center; justify-content: center; border-radius: 7px; background: var(--atlas-red); color: #fff; font-weight: 700; text-decoration: none; }
.wishlist-product__view:hover { background: var(--atlas-red-dark); }
.wishlist-page__message { padding: 28px; border: 1px solid var(--atlas-line); border-radius: var(--atlas-radius); background: var(--atlas-soft); color: var(--atlas-muted); text-align: center; }
.wishlist-page__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.footer-grid { display: grid; grid-template-columns: 1.1fr repeat(4,1fr); gap: 32px; }
.footer-grid--custom-menu { grid-template-columns: 1.1fr repeat(3,1fr); }
.footer-menu li { list-style: none; }
.footer-grid .footer-grid__title { margin: 0 0 16px; color: var(--atlas-ink); font-size: 1rem; font-weight: 700; }
.footer-grid > div:not(.footer-brand) a { display: block; margin: 9px 0; text-decoration: none; }
.footer-brand { display: flex; align-items: flex-start; flex-direction: column; gap: 18px; }
.footer-brand > .footer-brand__official { color: var(--atlas-ink); font-weight: 600; text-decoration: none; }
.footer-brand > .footer-brand__official:hover,
.footer-brand > .footer-brand__official:focus-visible { color: var(--atlas-ink); }
.footer-brand > .footer-brand__guides { text-decoration: none; }
.site-footer a:focus { outline: none !important; }
.site-footer .footer-grid a:focus-visible,
.site-footer .footer-legal a:focus-visible { outline: none; color: var(--atlas-red); text-decoration: underline; text-underline-offset: 4px; }
.footer-legal { display: flex; margin-top: 36px; gap: 32px; padding-top: 22px; border-top: 1px solid var(--atlas-line); font-size: .8rem; }
.footer-legal a { text-decoration: none; }

@media (max-width: 1100px) {
  .desktop-nav { display: none; }
  .mobile-menu { position: relative; display: block; }
  .mobile-menu summary { display: flex; width: 44px; height: 44px; align-items: center; justify-content: center; font-size: 1.55rem; cursor: pointer; list-style: none; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu__panel { position: absolute; top: 51px; left: 0; z-index: 20; display: flex; width: min(86vw,340px); padding: 22px; border: 1px solid var(--atlas-line); border-radius: 10px; background: #fff; box-shadow: 0 20px 40px rgba(15,23,42,.16); flex-direction: column; }
  .mobile-menu__panel a { padding: 12px 0; border-bottom: 1px solid var(--atlas-line); text-decoration: none; }
  .category-mosaic { aspect-ratio: auto; grid-template-columns: 1.2fr 1fr; grid-template-rows: 230px 160px 160px; }
  .category-card--boilers { grid-column: 1; grid-row: 1/3; }
  .category-card--convectors { grid-column: 2; grid-row: 1; }
  .category-card--towels { display: block; grid-column: 2; grid-row: 2; }
  .category-card--instant { grid-column: 1; grid-row: 3; }
  .category-card--parts { display: block; grid-column: 2; grid-row: 3; }
  .selection-grid, .benefit-grid { grid-template-columns: repeat(2,1fr); }
  .benefit-grid article:nth-child(3), .benefit-grid article:nth-child(4) { border-top: 0; }
  .technology-grid { grid-template-columns: 1fr; }
  .technology-art { min-height: 360px; }
  .technology-art img { min-height: 360px; }
  .footer-grid { grid-template-columns: repeat(3,1fr); }
}

@media (min-width: 768px) and (max-width: 1280px) {
  .home-hero { min-height: 440px; aspect-ratio: auto; }
  .home-hero__content { max-width: 650px; padding: 32px 40px; }
  .home-hero h1 { font-size: clamp(2.25rem,4.1vw,3.2rem); }
  .home-hero__image { object-position: 70% center; }
}

@media (min-width: 768px) and (max-width: 960px) {
  .home-hero { grid-template-columns: minmax(0,1.25fr) minmax(0,.75fr); }
  .home-hero__content { padding-right: 28px; padding-left: 28px; }
  .home-hero__trust { padding: 8px 10px; }
  .home-hero__trust > div { gap: 5px; padding: 0 7px; }
  .home-hero__trust-icon { width: 25px; height: 25px; flex-basis: 25px; }
  .home-hero__trust .ui-icon { width: 23px; height: 23px; }
  .home-hero__trust strong { font-size: .5rem; }
  .home-hero__trust small { font-size: .47rem; }
}

@media (max-width: 767px) {
  .site-header__inner { min-height: 62px; gap: 12px; }
  .site-brand { font-size: 1.85rem; }
  .brand-logo { width: 112px; height: 32px; }
  .header-search { display: none; }
  .header-actions { margin-left: auto; gap: 4px; }
  .header-actions a, .header-actions button { font-size: 1.25rem; }
  .header-actions small { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  .mobile-search { display: block; padding-bottom: 10px; }
  .mobile-search input { height: 42px; }
  .home-main { padding-top: 10px; }
  .home-hero { min-height: 560px; aspect-ratio: auto; grid-template-columns: 1fr; background: #443b35; }
  .home-hero::after { background: linear-gradient(90deg,rgba(24,19,17,.9) 0%,rgba(32,25,21,.7) 52%,rgba(32,25,21,.08) 100%); }
  .home-hero__content { min-height: 560px; justify-content: flex-start; padding: 58px 26px 34px; }
  .home-hero h1 { max-width: 75%; font-size: 2.35rem; }
  .home-hero__content > p:not(.eyebrow) { max-width: 70%; font-size: .97rem; }
  .home-hero__image { object-position: 72% center; }
  .water-heater { top: 10%; right: 9%; left: auto; width: 92px; height: 225px; }
  .water-heater::after { right: 28px; bottom: 20px; width: 34px; height: 52px; }
  .button-row { align-items: flex-start; flex-direction: column; gap: 17px; }
  .category-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 160px 125px; gap: 8px; }
  .category-card { padding: 14px; }
  .category-card strong { font-size: .9rem; }
  .category-card--boilers { grid-column: 1; grid-row: 1/4; }
  .category-card--convectors { grid-column: 2; grid-row: 1; }
  .category-card--towels { display: block; grid-column: 2; grid-row: 2; }
  .category-card--instant { grid-column: 2; grid-row: 3; }
  .category-card--parts { display: none; }
  .category-card::after { background: linear-gradient(145deg,rgba(255,255,255,.68),rgba(255,255,255,.1) 54%,transparent 75%); }
  .selection-panel { padding: 0; border: 0; }
  .selection-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .selection-grid a { grid-template-columns: 35px 1fr; padding: 13px 10px; }
  .selection-grid small { font-size: .75rem; }
  .button--wide { width: 100%; }
  .benefit-grid { grid-template-columns: 1fr 1fr; }
  .benefit-grid article, .benefit-grid__link { gap: 10px; }
  .benefit-grid article { padding: 16px 10px; }
  .benefit-grid span { font-size: 1.65rem; }
  .benefit-grid h3 { font-size: .88rem; }
  .benefit-grid p { font-size: .75rem; }
  .guide-grid { grid-template-columns: repeat(3,1fr); gap: 8px; }
  .guide-art { height: 105px; aspect-ratio: auto; }
  .guide-art { object-fit: cover; }
  .guide-grid strong, .guide-grid small { padding: 0 10px; }
  .guide-grid strong { font-size: .8rem; }
  .guide-grid small { font-size: .72rem; }
  .technology { padding: 26px 20px 22px; }
  .technology::before { left: 20px; }
  .technology__intro > p:last-child { font-size: .9rem; }
  .technology-art, .technology-art img { min-height: 260px; }
  .technology-cards { grid-template-columns: 1fr; }
  .technology-card__content { align-items: flex-start; padding: 17px; }
  .technology-card__content > span { width: 44px; height: 44px; flex-basis: 44px; font-size: 1.5rem; }
  .technology-card__content h3 { font-size: 1rem; }
  .technology-card__content p { font-size: .86rem; }
  .technology__footer { align-items: stretch; flex-direction: column; }
  .technology__footer .button { width: 100%; text-align: center; }
  .parts-callout { align-items: center; padding: 20px; flex-direction: column; }
  .parts-callout__copy { min-width: 0; }
  .parts-callout__art { width: min(60%,220px); height: auto; max-height: 160px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1/3; }
  .footer-legal { align-items: flex-start; flex-direction: column; gap: 10px; }
}


@media (max-width: 480px) {
  .container { width: min(100% - 24px,var(--container-width)); }
  .home-hero h1 { max-width: 88%; font-size: 2rem; }
  .home-hero__content > p:not(.eyebrow) { max-width: 80%; }
  .home-hero, .home-hero__content { min-height: 600px; }
  .home-hero__image { object-position: 76% center; }
  .selection-grid { grid-template-columns: 1fr; }
  .guide-grid { overflow-x: auto; grid-template-columns: repeat(3,220px); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
}

@media (max-width: 767px) {
  .home .technology-grid { grid-template-columns: minmax(0,.72fr) minmax(0,1.28fr); }
  .home .technology-card__content h3 { margin-bottom: 2px; font-size: .45rem; line-height: 1.2; }
  .home .technology-card__content p { font-size: .36rem; line-height: 1.25; }
}

@media (hover: none) and (pointer: coarse) {
  .home :is(.selection-grid a,.benefit-grid__link,.mobile-product-card),
  .catalog-results .atlas-product-card { transform: none !important; filter: none !important; box-shadow: none !important; }
  .home .guide-card:active,
  .catalog-results .atlas-product-card__main:active {
    opacity: .88;
    transform: scale(.992);
    filter: brightness(.98);
  }

}



/* The approved mobile homepage is a separate compact composition, not a
   vertically stretched copy of the desktop layout. */
@media (max-width: 767px) {
  .site-header__inner { min-height: 38px; gap: 6px; }
  .mobile-menu summary { width: 31px; height: 34px; font-size: 1.1rem; }
  .brand-logo { width: 93px; height: 25px; }
  .brand-logo img { width: 100%; height: auto; }
  .header-actions { gap: 7px; }
  .header-actions a, .header-actions button { min-width: 25px; font-size: 1.05rem; }
  .header-action-menu { align-self: center; }
  .header-action-menu--cart > .header-action--cart { min-width: 25px; padding: 0; background: transparent; }
  .header-action__summary,.header-action-popover { display: none; }
  .header-actions a > span, .header-actions button > span { width: 20px; height: 20px; }
  .header-action--compare { display: flex; }
  .header-action--search { display: flex; }
  .mobile-search { padding-bottom: 5px; }
  .mobile-search form { position: relative; }
  .mobile-search form::before { position: absolute; top: 50%; left: 9px; z-index: 1; color: var(--atlas-muted); content: "⌕"; font-size: .78rem; transform: translateY(-52%); pointer-events: none; }
  .mobile-search input { height: 27px; padding: 0 9px 0 27px; border-radius: 4px; font-size: .62rem; }

  .home-main { padding: 6px 0 24px; }
  .home-section { margin-top: 8px; }
  .home-section h2, .section-heading h2 { margin: 0 0 6px; font-size: .83rem; line-height: 1.2; }

  .home-hero { display: block; min-height: 0; aspect-ratio: auto; border-radius: 7px; }
  .home-hero::after { background: linear-gradient(90deg,rgba(22,17,14,.91) 0%,rgba(29,23,19,.72) 45%,rgba(29,23,19,.06) 72%,transparent 100%); }
  .home-hero__content { position: relative; inset: auto; width: 78%; min-height: 300px; justify-content: center; padding: 22px 16px; }
  .home-hero .eyebrow { display: none; }
  .home-hero h1 { max-width: none; font-size: clamp(22px,6vw,28px); line-height: 1.12; }
  .home-hero__content > p:not(.eyebrow) { max-width: 100%; margin: 12px 0 16px; font-size: 14px; line-height: 1.45; }
  .home-hero__image { object-position: center 44%; }
  .button-row { gap: 6px; }
  .home-hero .button { min-height: 42px; padding: 9px 12px; border-radius: 6px; font-size: 13px; line-height: 1.3; white-space: normal; }
  .home-hero .button--primary span { margin-left: 4px; }
  .home-hero .button--hero-outline { padding: 8px 0; border: 0; background: transparent; box-shadow: none; text-decoration: underline; text-underline-offset: 3px; }
  .home-hero .text-link { font-size: 13px; text-underline-offset: 3px; }

  .category-mosaic { aspect-ratio: 1.76 / 1; grid-template-columns: repeat(4,minmax(0,1fr)); grid-template-rows: 1.25fr .82fr .82fr; gap: 5px; }
  .category-card { padding: 7px; border-radius: 5px; }
  .category-card strong { max-width: 92%; font-size: .53rem; line-height: 1.2; }
  .category-card--boilers { display: block; grid-column: 1/3; grid-row: 1/4; }
  .category-card--convectors { display: block; grid-column: 3/5; grid-row: 1; }
  .category-card--towels { display: block; grid-column: 3; grid-row: 2/4; }
  .category-card--instant { display: block; grid-column: 4; grid-row: 2; }
  .category-card--parts { display: block; grid-column: 4; grid-row: 3; }
  .category-card--towels { background: #dedede; }
  .category-card--towels > .category-card__media { inset: 0; width: 100%; height: 100%; }
  .category-card--towels .category-card__media img { object-position: 76% center; }
  .category-card--instant > img { object-position: 72% center; }
  .category-card--parts > img { top: 10%; left: -8%; width: 108%; height: 90%; object-position: center 72%; }
  .category-card::after { background: linear-gradient(145deg,rgba(255,255,255,.5),rgba(255,255,255,.05) 58%,transparent 78%); }

  .selection-panel { padding: 0; }
  .selection-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 4px; }
  .selection-grid a { position: relative; min-height: 48px; grid-template-columns: 32px 1fr; gap: 1px 6px; padding: 5px 16px 5px 6px; border-radius: 5px; }
  .selection-grid a::after { position: absolute; top: 50%; right: 6px; content: "›"; font-size: .85rem; transform: translateY(-50%); }
  .selection-grid > a > span:first-child,
  .benefit-grid__link > span:first-child { width: 30px; height: 30px; border-width: 1px; box-shadow: 0 3px 7px rgba(15,23,42,.14),inset 0 1px 2px rgba(255,255,255,.96),inset 0 -2px 4px rgba(112,121,133,.13); flex-basis: 30px; }
  .selection-grid > a:nth-child(-n+2) > span:first-child .ui-icon,
  .selection-grid > a:nth-child(n+3) > span:first-child .ui-icon { width: 18px; height: 18px; stroke-width: .88; }
  .benefit-grid__link > span:first-child .ui-icon { width: 18px; height: 18px; stroke-width: .9; }
  .selection-grid strong { font-size: .55rem; line-height: 1.25; }
  .selection-grid small { font-size: .42rem; line-height: 1.25; }
  .button--wide { min-height: 24px; margin-top: 5px; border-radius: 4px; font-size: .55rem; }

  .mobile-recommendations { display: block; }
  .mobile-recommendations .section-heading { align-items: center; flex-direction: row; }
  .mobile-recommendations .section-heading a { font-size: .5rem; }
  .mobile-recommendations__heading-actions { gap: 5px; }
  .mobile-recommendations__controls { gap: 3px; }
  .mobile-recommendations__controls button { width: 20px; height: 20px; font-size: .58rem; }
  .mobile-recommendations__grid { gap: 5px; }
  .mobile-product-card { position: relative; min-width: 0; padding: 5px; border: 1px solid var(--atlas-line); border-radius: 5px; background: #fff; flex-basis: calc((100% - 10px)/3); }
  .mobile-product-card__main { display: flex; height: auto; color: inherit; flex: 1; flex-direction: column; text-decoration: none; }
  .mobile-product-card__availability { min-height: 10px; gap: 3px; padding-right: 22px; margin-bottom: 2px; font-size: .38rem; }
  .mobile-product-card__availability > span { width: 7px; height: 7px; border-width: 1px; }
  .mobile-product-card__availability > span::after { top: 1px; left: 2px; width: 1.5px; height: 3px; border-width: 0 1.2px 1.2px 0; }
  .mobile-product-card__sku-top { display: none; }
  .mobile-product-card__sku-inline { display: block; }
  .mobile-product-card__heart { position: absolute; top: 4px; right: 4px; z-index: 1; width: 18px; height: 18px; color: var(--atlas-muted); }
  .mobile-product-card__heart .ui-icon { width: 14px; height: 14px; stroke-width: 1.35; }
  .mobile-product-card__compare { top: 24px; right: 6px; width: 14px; height: 14px; }
  .mobile-product-card__compare .ui-icon { width: 12px; height: 12px; stroke-width: 1.3; }
  .product-card-gallery--recommendation .mobile-product-card__image { height: 116px; }
  .product-card-gallery--recommendation .product-card-gallery__arrow,
  .product-card-gallery--recommendation .product-card-gallery__counter { display: none; }
  .mobile-product-card img { display: block; width: 100%; height: 116px; object-fit: contain; object-position: center; }
  .mobile-product-card strong { min-height: 34px; font-size: .43rem; line-height: 1.28; }
  .mobile-product-card strong.mobile-product-card__title { min-height: 2.56em; max-height: 2.56em; }
  .mobile-product-card small { margin-top: auto; color: var(--atlas-muted); font-size: .38rem; }
  .mobile-product-card__price { margin-top: 4px; font-size: .48rem; }
  .mobile-product-card__price del { font-size: .36rem; }
  .mobile-product-card__action { min-height: 24px; padding: 2px 4px 4px; margin-top: 5px; font-size: .4rem; }

  .benefit-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 4px; border: 0; border-radius: 0; }
  .benefit-grid article { min-width: 0; padding: 0; }
  .benefit-grid article + article, .benefit-grid article:nth-child(3), .benefit-grid article:nth-child(4) { border: 0; }
  .benefit-grid__link { min-height: 58px; align-items: center; flex-direction: row; gap: 6px; padding: 6px; text-align: left; }
  .benefit-grid__link > span:first-child { width: 28px; height: 28px; flex-basis: 28px; }
  .benefit-grid__link > span:first-child .ui-icon { width: 16px; height: 16px; stroke-width: .9; }
  .benefit-grid h3 { margin-bottom: 2px; font-size: .45rem; line-height: 1.2; }
  .benefit-grid p { font-size: .36rem; line-height: 1.25; }

  .section-heading { align-items: center; flex-direction: row; }
  .section-heading a { font-size: .48rem; }
  .guide-grid { overflow: visible; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 5px; }
  .guide-grid a { border-radius: 5px; }
  .guide-art { height: 67px; }
  .guide-grid strong, .guide-grid small { padding: 0 6px; }
  .guide-grid strong { margin-top: 6px; font-size: .48rem; line-height: 1.25; }
  .guide-grid small { margin: 2px 0 7px; font-size: .4rem; line-height: 1.25; }

  .technology { padding: 8px; border-radius: 5px; }
  .technology::before, .technology__eyebrow, .technology__intro > p:last-child { display: none; }
  .technology__intro { margin-bottom: 5px; }
  .technology__intro h2 { margin: 0; font-size: .83rem; }
  .technology-grid { grid-template-columns: 1.15fr .85fr; gap: 5px; }
  .technology-art, .technology-art img { min-height: 153px; border-radius: 4px; }
  .technology-art::after, .technology-art__caption { display: none; }
  .technology-cards { grid-template-columns: 1fr; gap: 3px; }
  .technology-card__content { min-height: 0; align-items: center; gap: 5px; padding: 5px; border-radius: 4px; box-shadow: none; }
  .technology article:first-child { display: none; }
  .technology-card__content > span { width: 24px; height: 24px; flex-basis: 24px; font-size: .9rem; }
  .technology-card__content > span:first-child .ui-icon { width: 18px; height: 18px; stroke-width: .9; }
  .technology-card__content h3 { margin: 0 0 2px; font-size: .43rem; line-height: 1.2; }
  .technology-card__content p { font-size: .34rem; line-height: 1.25; }
  .technology__footer { display: none; }

  .parts-callout { margin-top: 8px; align-items: center; flex-direction: row; gap: 7px; padding: 6px 8px; border-radius: 5px; }
  .parts-callout__art { width: 38px; height: 38px; }
  .parts-callout__copy { min-width: 0; }
  .parts-callout__copy strong { display: block; font-size: .48rem; line-height: 1.2; }
  .parts-callout p { margin-top: 2px; font-size: .37rem; line-height: 1.25; }
  .parts-callout .button { width: 108px; min-height: 27px; padding: 2px 6px 0; flex: 0 0 108px; border: 1px solid var(--atlas-red); background: var(--atlas-red); color: #fff; font-size: .45rem; }

  .faq details { border-color: #edf0f4; }
  .faq summary { padding: 5px 7px; font-size: .5rem; line-height: 1.2; }
  .faq details p { padding: 0 7px 6px; font-size: .43rem; line-height: 1.35; }

  .site-footer { padding: 18px 0 12px; }
  .footer-consultation { margin-bottom: 16px; gap: 8px; padding: 8px; border-radius: 5px; }
  .footer-consultation > span:first-child { width: 26px; height: 26px; flex-basis: 26px; font-size: 1.3rem; }
  .footer-consultation > span:first-child .ui-icon { width: 16px; height: 16px; stroke-width: .9; }
  .footer-consultation strong { font-size: .5rem; }
  .footer-consultation small { font-size: .4rem; }
  .footer-consultation__contacts { gap: 8px; }
  .footer-consultation__phone { font-size: .55rem; }
  .footer-consultation__messengers { gap: 4px; }
  .footer-messenger { width: 23px; height: 23px; font-size: .72rem; }
  .comparison-page,.wishlist-page { padding-top: 24px; }
  .comparison-page__grid,.wishlist-page__grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
  .comparison-product { padding: 10px; }
  .comparison-product__image { height: 150px; }
  .comparison-product h2 { font-size: .78rem; }
  .footer-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px 22px; }
  .footer-grid .footer-grid__title { margin-bottom: 7px; font-size: .7rem; }
  .footer-grid > div:not(.footer-brand) a { margin: 5px 0; font-size: .55rem; }
  .footer-brand > .footer-brand__guides { font-size: .55rem; }
  .footer-grid p { margin: 0; color: var(--atlas-muted); font-size: .52rem; line-height: 1.4; }
  .footer-brand { grid-column: 1/-1; gap: 8px; }
  .footer-brand > .footer-brand__official { font-size: .58rem; }
  .footer-legal { display: grid; margin-top: 14px; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px 16px; padding-top: 12px; font-size: .5rem; }
  .footer-legal span { grid-column: 1/-1; }
}

@media (max-width: 767px) {
  .home-hero__trust { display: none; }
  .categories-section,
  .selection-panel { padding: clamp(10px,3vw,18px); border-radius: 10px; }
  .categories-section { box-shadow: 0 10px 26px rgba(15,23,42,.04); }
  .selection-grid a { box-shadow: 0 5px 14px rgba(15,23,42,.04); }
}

@media (max-width: 480px) {
  .categories-section,
  .selection-panel { padding: 7px; border-radius: 7px; }
}

/* Final mobile content proportions and neutral tactile feedback. */
@media (max-width: 767px) {
  .home .technology-grid { grid-template-columns: minmax(0,.68fr) minmax(0,1.32fr); }
  .home .technology-art,
  .home .technology-art img { min-height: 160px; }
  .home .technology-art img { object-position: 79% center; }
  .home .technology-card__content { gap: 6px; padding: 6px; }
  .home .technology-card__content h3 { margin-bottom: 2px; font-size: .45rem; line-height: 1.2; }
  .home .technology-card__content p { font-size: .36rem; line-height: 1.25; }
}

@media (hover: none) and (pointer: coarse) {
  .home :is(.category-card,.selection-grid a,.benefit-grid__link,.mobile-product-card):active {
    opacity: 1;
    filter: none !important;
    box-shadow: none !important;
    transform: none !important;
  }

  .home :is(.guide-card,.technology-card__link):active,
  .catalog-results :is(.product-card-gallery__link,.atlas-product-card__main):active {
    opacity: .88;
    filter: brightness(.98) !important;
    box-shadow: none !important;
    transform: scale(.992) !important;
  }
}

/* Footer: choosing a product and getting purchase support. */
.site-footer .footer-help { display:flex; align-items:center; justify-content:space-between; gap:28px; padding:30px; margin-bottom:36px; background:#f6f7f9; border:1px solid var(--atlas-line); border-radius:12px; }
.footer-help__copy { flex:1; min-width:0; }
.site-footer .footer-help h2 { margin:0 0 10px; font-size:24px; line-height:1.3; }
.site-footer .footer-help p { margin:0; max-width:650px; color:var(--atlas-muted); font-size:15px; line-height:1.65; }
.footer-help__actions { display:flex; flex-direction:column; align-items:center; gap:14px; flex-shrink:0; }
.site-footer .footer-help__primary { display:inline-flex; align-items:center; justify-content:center; gap:18px; min-height:48px; padding:12px 26px; border-radius:7px; background:var(--atlas-red); color:#fff; font-size:15px; font-weight:600; text-decoration:none; transition:background .2s,box-shadow .2s; }
.site-footer .footer-help__primary:hover,.site-footer .footer-help__primary:focus-visible { background:#d90016; box-shadow:0 6px 14px rgb(237 0 24 / 20%); }
.site-footer .footer-help__secondary { color:var(--atlas-ink); font-size:14px; text-decoration:none; }
.footer-help__secondary span { display:inline-block; margin-left:6px; transition:transform .2s; }
.footer-help__secondary:hover span,.footer-help__secondary:focus-visible span { transform:translateX(3px); }
.site-footer .footer-help__secondary:hover,.site-footer .footer-help__secondary:focus-visible { color:var(--atlas-red); text-decoration:underline; text-underline-offset:4px; }
.site-footer .footer-grid .footer-grid__title { font-size:16px; line-height:1.4; }
.site-footer .footer-grid>div:not(.footer-brand) a { font-size:14px; line-height:1.5; margin:10px 0; transition:color .2s; }
.site-footer .footer-grid>div:not(.footer-brand) a:hover { color:var(--atlas-red); }
.site-footer .footer-contact-channels { display:flex; gap:12px; flex-wrap:wrap; }
@media(max-width:1000px) {
  .site-footer .footer-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:28px; }
  .site-footer .footer-brand { grid-column:1/-1; }
  .site-footer .footer-help { padding:24px; gap:24px; }
  .site-footer .footer-help h2 { font-size:22px; }
}
@media(max-width:600px) {
  .site-footer .footer-help { flex-direction:column; align-items:stretch; padding:22px 18px; margin-bottom:28px; gap:22px; }
  .footer-help__actions { align-items:stretch; text-align:center; }
  .site-footer .footer-help h2 { font-size:21px; }
  .site-footer .footer-help p { font-size:14px; }
  .site-footer .footer-grid { gap:24px 16px; }
  .site-footer .footer-grid .footer-grid__title { font-size:15px; margin-bottom:12px; }
  .site-footer .footer-grid>div:not(.footer-brand) a { font-size:14px; margin:12px 0; }
}
@media(prefers-reduced-motion:reduce) {
  .site-footer .footer-help a,.footer-help__secondary span,.site-footer .footer-grid a { transition:none; }
}
.site-footer .footer-help h2 { color:var(--atlas-ink); }
.site-footer .footer-legal { flex-wrap:wrap; gap:12px 24px; font-size:12px; line-height:1.6; }
.site-footer .footer-legal a { font-size:12px; }

/* Keep the selected article products visible in the wide home cards. */
.guides-section a:first-child .guide-art{object-position:center top}.guides-section a:nth-child(3) .guide-art{object-position:center 25%}

/* Shared, subtle product elevation on every storefront surface. */
:root {
 --atlas-product-shadow:0 2px 9px rgba(25,39,56,.08),0 0 1px rgba(25,39,56,.1);
 --atlas-product-shadow-hover:0 4px 14px rgba(25,39,56,.12),0 0 1px rgba(25,39,56,.12);
 --atlas-card-hover-duration:240ms;
 --atlas-card-hover-ease:cubic-bezier(.42,0,.2,1);
}
html body .atlas-product-card.atlas-product-card,
html body .mobile-product-card.mobile-product-card {
 box-shadow:var(--atlas-product-shadow) !important;
}
html body .atlas-product-card.atlas-product-card:hover,
html body .mobile-product-card.mobile-product-card:hover {
 box-shadow:var(--atlas-product-shadow-hover) !important;
}

html body .atlas-product-comparison__product,
html body .atlas-analogue-modal__card { box-shadow:var(--atlas-product-shadow) !important; }
html body .atlas-product-comparison__product:is(:hover,:focus-within),
html body .atlas-analogue-modal__card:is(:hover,:focus-within) { box-shadow:var(--atlas-product-shadow-hover) !important; }

@media (max-width: 767px) {
  body.theme-atlas-storefront .atlas-product-comparison__table,
  body.theme-atlas-storefront .atlas-product-comparison__sticky-header {
    container-type: inline-size;
    scroll-padding-inline: 50% 0;
  }
  body.theme-atlas-storefront .atlas-product-comparison__table :is(.atlas-product-comparison__models, .atlas-product-comparison__row) {
    grid-template-columns: repeat(var(--atlas-comparison-products), 50cqw);
  }
  body.theme-atlas-storefront .atlas-product-comparison__models--sticky {
    grid-template-columns: repeat(var(--atlas-comparison-products), 50cqw);
  }
}

/* Product navigation highlights only the available directions. */
@media (hover: hover) and (pointer: fine) {
  html body.theme-atlas-storefront :is(#atlas-accessories .atlas-accessories-controls button,#atlas-companions .atlas-accessories-controls button,#atlas-similar-models .atlas-accessories-controls button,.atlas-recent .atlas-recent__frame > :is(.atlas-recent__prev,.atlas-recent__next)):not(:disabled):is(:hover,:focus-visible) {
    background-color: #fff0f3 !important;
    border-color: #d90018 !important;
    color: #d90018 !important;
  }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  html body.theme-atlas-storefront :is(#atlas-accessories .atlas-accessories-controls button,#atlas-companions .atlas-accessories-controls button,#atlas-similar-models .atlas-accessories-controls button,.atlas-recent .atlas-recent__frame > :is(.atlas-recent__prev,.atlas-recent__next)) {
    transition: background-color .16s ease, border-color .16s ease, color .16s ease;
  }
}

/* Desktop-only frame; mobile comparison has no highlighted outline. */
@media (min-width: 768px) {
html body .atlas-product-comparison:not(.has-sticky-model-summaries) .atlas-product-comparison__product.is-current,
html body .atlas-product-comparison:not(.has-sticky-model-summaries) .atlas-product-comparison__product.is-current:is(:hover,:focus-within) {
 box-shadow:inset 1px 0 var(--atlas-product-red),inset -1px 0 var(--atlas-product-red),inset 0 1px var(--atlas-product-red) !important;
}
}

/* Keep the original lower edge inside the hover target while the card lifts.
   The transparent bridge prevents repeated enter/leave at a stationary pointer. */
@media (hover: hover) and (pointer: fine) {
  .atlas-product-card:hover::after,
  .mobile-product-card:hover::after {
    content: "";
    position: absolute;
    inset-inline: -1px;
    top: 100%;
    height: 4px;
    background: transparent;
    pointer-events: auto;
  }
}
@media (hover: hover) and (pointer: fine) {
  html body .atlas-product-card.atlas-product-card,
  html body .mobile-product-card.mobile-product-card {
    overflow: visible !important;
  }
}

@media (hover: hover) and (pointer: fine) {
  html.atlas-stable-card-hover body :is(.atlas-product-card,.mobile-product-card),
  html.atlas-stable-card-hover body :is(.atlas-product-card,.mobile-product-card):hover {
    position: relative;
    top: 0 !important;
    transform: none !important;
    isolation: isolate;
    z-index: 0;
  }
  html.atlas-stable-card-hover body :is(.atlas-product-card,.mobile-product-card)::after {
    content: none !important;
  }
  html.atlas-stable-card-hover body :is(.atlas-product-card,.mobile-product-card):is(:hover,:has(:focus-visible)) {
    z-index: 20;
    box-shadow: var(--atlas-product-shadow) !important;
  }
  html.atlas-stable-card-hover body :is(.atlas-product-card,.mobile-product-card):not(.catalog-results .atlas-product-card, #atlas-recent-list .atlas-product-card)::before {
    position: absolute;
    z-index: -1;
    inset: -4px -7px;
    border: 1px solid #e6e9ed;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 5px 12px rgb(32 37 43 / 18%), 0 1px 3px rgb(32 37 43 / 9%);
    opacity: 0;
    transform: scaleX(.94);
    transition: opacity var(--atlas-card-hover-duration) var(--atlas-card-hover-ease),
      transform var(--atlas-card-hover-duration) var(--atlas-card-hover-ease);
    pointer-events: none;
    content: "";
  }
  html.atlas-stable-card-hover body :is(.atlas-product-card,.mobile-product-card):not(.catalog-results .atlas-product-card, #atlas-recent-list .atlas-product-card):is(:hover,:has(:focus-visible))::before {
    opacity: 1;
    transform: scaleX(1);
  }
}
@media (prefers-reduced-motion: reduce) {
  html.atlas-stable-card-hover body :is(.atlas-product-card,.mobile-product-card),
  html.atlas-stable-card-hover body :is(.atlas-product-card,.mobile-product-card):not(.catalog-results .atlas-product-card, #atlas-recent-list .atlas-product-card)::before { transition: none; }
  html.atlas-stable-card-hover body :is(.atlas-product-card,.mobile-product-card):not(.catalog-results .atlas-product-card, #atlas-recent-list .atlas-product-card):is(:hover,:has(:focus-visible))::before { transform: none; }
}


.catalog-subsections {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 16px;
  margin: 24px 0 32px;
}
.catalog-subsection {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  padding: 24px;
  border: 1px solid #e8eaee;
  border-radius: 12px;
  background: #fff;
  color: #101828;
  text-decoration: none;
}
.catalog-subsection strong { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.catalog-subsection__icon { display: flex; flex: 0 0 32px; color: var(--atlas-red, #e30613); }
.catalog-subsection__icon svg { width: 32px; height: 32px; }
.catalog-subsection:hover { border-color: var(--atlas-red, #e30613); color: var(--atlas-red, #e30613); }
.catalog-subsection:focus-visible { outline: 2px solid var(--atlas-red, #e30613); outline-offset: 3px; }

/* Product navigation uses an underline rather than a rectangular focus frame. */
body.atlas-standard-product-page .atlas-product-sections-nav a:focus {
  outline: none;
  box-shadow: none;
}
body.atlas-standard-product-page .atlas-product-sections-nav a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 6px;
}

/* Reserve visible space beneath recommendation cards and their shadows. */
.home .mobile-recommendations__viewport {
  padding-bottom: 32px;
  margin-bottom: 0;
}

/* Touch disclosures share one treatment across native and scripted accordions.
   Keep their separators and chevron animation, without a pressed frame or jump. */
@media (max-width: 767px), (hover: none) and (pointer: coarse) {
  html body:not(.wp-admin) :is(details > summary, [aria-expanded], .nanto-more-close) {
    -webkit-appearance: none;
    appearance: none;
    -webkit-tap-highlight-color: transparent;
  }

  html body:not(.wp-admin) :is(details > summary, [aria-expanded], .nanto-more-close) * {
    -webkit-tap-highlight-color: transparent;
  }

  html body:not(.wp-admin) :is(details > summary, [aria-expanded], .nanto-more-close):is(:active, .atlas-touch-active) {
    transform: none !important;
    filter: none !important;
    box-shadow: none !important;
    opacity: 1 !important;
  }

  /* Tapping or restoring focus after collapsing must not leave a focus frame.
     Keyboard navigation retains each component's visible focus treatment. */
  html body:not(.wp-admin):not(.atlas-keyboard-navigation) :is(details > summary, [aria-expanded], .nanto-more-close):is(:active, :focus, :focus-visible, .atlas-touch-active) {
    outline: none !important;
    box-shadow: none !important;
  }
}

/* Responsive audit: let long copy determine its height instead of clipping it. */
.site-footer .footer-grid a {
  overflow-wrap: anywhere;
}
@media (max-width: 480px) {
  .home-hero {
    aspect-ratio: auto;
    height: auto;
    min-height: 160px;
  }
  .home-hero__content {
    position: relative;
    inset: auto;
  }
  .parts-callout {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
  }
  .parts-callout__art {
    width: 48px;
    height: 48px;
  }
  .parts-callout .button {
    grid-column: 1 / -1;
    box-sizing: border-box;
    width: 100%;
    min-height: 44px;
    font-size: 14px;
    white-space: normal;
  }
}

body.theme-atlas-storefront {
  --atlas-product-card-hover-ring: transparent;
}

/* Atlantic home: use the catalogue product hover shadow. */
@media (hover: hover) and (pointer: fine) {
  body.home:not(.ariston-home-v5) .mobile-product-card {
    --atlas-product-shadow-hover: 0 10px 28px rgba(15,23,42,.13);
  }
}

/* Avoid cumulative margins between the description and specifications. */
body.single-product:not(.ariston-product-layout) #atlas-description + #atlas-characteristics{margin-top:28px!important}
body.single-product:not(.ariston-product-layout) #atlas-description + #atlas-characteristics > .atlas-attributes{margin-top:0!important}

/* Compact carousel titles: at most two lines, never overflow. */
html body :is(#atlas-accessories,#atlas-companions,#atlas-similar-models) .atlas-product-card .atlas-product-card__title{display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;line-clamp:2;overflow:hidden!important;text-overflow:ellipsis!important;max-height:2lh!important}
html body :is(#atlas-accessories,#atlas-companions,#atlas-similar-models) .atlas-product-card{height:auto!important;min-height:0!important;padding-bottom:12px!important}
html body :is(#atlas-accessories,#atlas-companions,#atlas-similar-models) .atlas-product-card .atlas-product-card__main{flex:0 0 auto!important;min-height:0!important;height:auto!important;padding-bottom:52px!important;margin-bottom:0!important}
html body :is(#atlas-accessories,#atlas-companions,#atlas-similar-models) .atlas-product-card .atlas-product-card__price,html body :is(#atlas-accessories,#atlas-companions,#atlas-similar-models) .atlas-product-card .atlas-product-card__action{bottom:12px!important;margin-bottom:0!important}

html body :is(#atlas-accessories,#atlas-companions,#atlas-similar-models) .atlas-product-card .atlas-product-card__price{position:absolute!important;left:14px!important;right:auto!important;bottom:12px!important;height:44px!important;min-height:44px!important;display:flex!important;align-items:center!important;max-width:calc(100% - 80px)!important}
html body :is(#atlas-accessories,#atlas-companions,#atlas-similar-models) .atlas-product-card .atlas-product-card__action{position:absolute!important;right:14px!important;bottom:12px!important;height:44px!important}

html body :is(#atlas-accessories,#atlas-companions,#atlas-similar-models) .atlas-product-card .atlas-product-card__action{padding:0!important;box-sizing:border-box!important;min-height:44px!important;margin:0!important}

@media(max-width:767px){html body :is(#atlas-accessories,#atlas-companions,#atlas-similar-models) .atlas-product-card .atlas-product-card__title{-webkit-line-clamp:3!important;line-clamp:3;max-height:3lh!important}}
html body :is(#atlas-accessories,#atlas-companions,#atlas-similar-models) .atlas-product-card .atlas-product-card__price{width:calc(100% - 80px)!important;min-width:0!important;justify-content:flex-start!important}
html body :is(#atlas-accessories,#atlas-companions,#atlas-similar-models) .atlas-product-card .atlas-product-card__catalog-price-value--status{width:auto!important;max-width:100%!important;min-width:0!important;flex:0 1 auto!important;display:block!important}
html body :is(#atlas-accessories,#atlas-companions,#atlas-similar-models) .atlas-product-card .atlas-product-status{width:auto!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;white-space:normal!important;overflow-wrap:normal!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:6px!important;height:auto!important;min-height:32px!important;line-height:1.2!important}

.atlas-cart-recs__added .atlas-product-card__catalog-summary { display: none; }
.home [data-recommendation-block] .mobile-product-card__compare {
  right: 14px; width: 30px; height: 30px;
}
.home [data-recommendation-block] .mobile-product-card__compare .ui-icon { width: 21px; height: 21px; }
@media (max-width: 767px) {
  .home [data-recommendation-block] :is(.mobile-product-card__heart, .mobile-product-card__compare) {
    right: 4px; width: 36px; height: 36px;
  }
  .home [data-recommendation-block] .mobile-product-card__compare { top: 44px; }
  .home [data-recommendation-block] :is(.mobile-product-card__heart, .mobile-product-card__compare) .ui-icon {
    width: 17px; height: 17px;
  }
}
