/* Reuse catalogue cards inside a product page without its archive grid state. */

body.single-product .atlas-product-accessories.catalog-results {

  width: 100%;

  min-width: 0;

}

body.single-product .atlas-product-accessories.catalog-results > ul.products {

  grid-template-columns: repeat(4, minmax(0, 280px));

}

body.single-product :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent).catalog-results > ul.products {

  background: transparent !important;

  /* Leave space for the card's upward hover movement and outer shadow. */

  padding: 10px 4px 14px !important;

}

body.single-product :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent).catalog-results > ul.products > li.product.atlas-product-card {

  min-height: 0;

  border: 0 !important;

  box-shadow: var(--atlas-product-shadow) !important;

}

@media (hover: hover) and (pointer: fine) {

  body.single-product :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent).catalog-results > ul.products > li.product.atlas-product-card:is(:hover, :focus-within:where(body:not(.theme-atlas-storefront) *)) {

    box-shadow: var(--atlas-product-shadow-hover) !important;

  }

}

body.single-product :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent) .atlas-product-card__title {

  font-weight: 600;

}

body.single-product .atlas-product-accessories.catalog-results .atlas-product-card {

  zoom: 1;

}

@media (max-width: 1199px) and (min-width: 900px) {

  body.single-product .atlas-product-accessories.catalog-results > ul.products {

    grid-template-columns: repeat(3, minmax(0, 280px));

  }

}

@media (max-width: 899px) {

  body.single-product .atlas-product-accessories.catalog-results > ul.products {

    grid-template-columns: repeat(2, minmax(0, 280px));

  }

}



/* A swipe over a static photo scrolls the product row in either direction. */

.catalog-results .product-card-gallery:not([data-product-gallery]) .product-card-gallery__link {

  touch-action: auto;

}

body.single-product :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent) .product-card-gallery img {

  -webkit-user-drag: none;

  -webkit-user-select: none;

  user-select: none;

}

@media (max-width: 767px), (hover: none), (pointer: coarse) {

  /* Touch hover must not lift, shrink or frame a card while its row scrolls. */

  body.single-product :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent).catalog-results > ul.products > li.product.atlas-product-card,

  body.single-product :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent).catalog-results > ul.products > li.product.atlas-product-card:is(:hover, :active, :focus-within, .atlas-card-touch-active) {

    top: 0 !important;

    transform: none !important;

    filter: none !important;

    box-shadow: var(--atlas-product-shadow) !important;

    -webkit-tap-highlight-color: transparent;

  }

  body.single-product :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent).catalog-results > ul.products > li.product.atlas-product-card::after {

    content: none !important;

  }

  body.single-product :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent) :is(.product-card-gallery__link, .atlas-product-card__main, .product-card-gallery img) {

    touch-action: auto;

    -webkit-tap-highlight-color: transparent;

    opacity: 1 !important;

    transform: none !important;

    filter: none !important;

    box-shadow: none !important;

  }

  body.single-product:not(.atlas-keyboard-navigation) :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent) :is(.atlas-product-card, .product-card-gallery__link, .atlas-product-card__main):is(:focus, :focus-visible) {

    outline: none !important;

  }

}



.atlas-product-card__catalog-price-value {

  display: grid;

  min-width: 0;

  min-height: 56px;

  box-sizing: border-box;

  align-content: center;

  padding-right: 56px;

  overflow: hidden;

  white-space: nowrap;

  text-overflow: ellipsis;

}



/* The shop shares catalog cards and motion; only its layout has no sidebar. */

.catalog-results .atlas-catalog-layout--unfiltered {

  display: block;

}



.atlas-product-card__catalog-price-value del,

.atlas-product-card__catalog-price-value ins {

  display: block;

  line-height: 1.05;

}



.atlas-product-card__catalog-price-value del {

  line-height: 1;

}



.atlas-product-card__catalog-price-value--pending {

  width: 80px;

  max-width: calc(100% - 144px);

  min-height: 56px;

  padding-right: 0;

  font-size: .88rem;

  line-height: 1.05;

  text-align: center;

  white-space: normal;

}



.atlas-product-card__catalog-price-value--unavailable {

  display: grid;

  width: 92px;

  max-width: calc(100% - 144px);

  min-height: 56px;

  align-content: center;

  justify-items: center;

  padding-right: 0;

  color: #737d8d;

  font-size: .88rem;

  font-weight: 650;

  line-height: 1.2;

  text-align: center;

  white-space: normal;

}



.catalog-results .atlas-product-card__availability,

.home .mobile-product-card__availability {

  display: none;

}



.atlas-product-card__meta {

  display: flex;

  align-items: baseline;

  justify-content: space-between;

  min-width: 0;

  gap: 10px;

}



.catalog-results .atlas-product-card__sku-top {

  display: none;

}



.atlas-product-card__meta .atlas-product-card__category {

  min-width: 0;

  overflow: hidden;

  color: #5f6979;

  font-size: .76rem;

  font-weight: 550;

  line-height: 1.35;

  white-space: nowrap;

  text-overflow: ellipsis;

}



.atlas-product-card__sku {

  position: static;

  flex: 0 0 auto;

  color: #8791a1;

  font-size: .68rem;

  font-weight: 400;

  line-height: 1.35;

  white-space: nowrap;

}



.atlas-product-card__meta--hide-sku .atlas-product-card__sku {

  display: none !important;

}



@media (min-width: 768px) {

  .catalog-results .product-card-gallery--catalog {

    margin-top: 8px;

  }

}



/* The general shop uses the same product-card component as category archives,

   but has the full content width available: show five cards on wide screens. */

@media (min-width: 1200px) {

  body.woocommerce-shop .catalog-results ul.products {

    grid-template-columns: repeat(5, minmax(0, 1fr));

  }

}



.mobile-product-card__price {

  margin-top: auto;

  margin-left: 4px;

  font-size: 1.32rem;

}



.home .mobile-product-card {

  border-color: transparent;

  box-shadow: none;

}



.home .mobile-recommendations__page {

  display: contents;

}



.home .mobile-product-card strong.mobile-product-card__title {

  display: -webkit-box;

  min-height: 1.35em;

  max-height: 1.35em;

  overflow: hidden;

  -webkit-box-orient: vertical;

  -webkit-line-clamp: 1;

  line-clamp: 1;

  text-overflow: ellipsis;

}



.home .mobile-product-card__price {

  margin-top: 6px;

}



@media (hover: hover) and (pointer: fine) {

  .home .mobile-product-card:hover {

    border-color: transparent;

    box-shadow: 0 0 0 1px var(--atlas-product-card-hover-ring, rgba(227, 6, 19, .22)), 0 10px 28px rgba(15, 23, 42, .08);

    transform: translateY(-2px);

  }

}



.mobile-product-card__price del,

.mobile-product-card__price ins {

  line-height: 1.05;

}



.mobile-product-card__price del {

  line-height: 1;

}



.atlas-product-card__action {

  position: absolute !important;

  right: 18px;

  bottom: 18px;

  z-index: 4;

  width: 44px;

  height: 44px;

  margin: 0;

  transition: box-shadow .18s ease, transform .18s ease;

}



.home .mobile-product-card > .atlas-product-card__action {

  right: 24px;

  bottom: 24px;

}



.catalog-toolbar > div > span {

  display: none;

}



.catalog-toolbar__controls .woocommerce-result-count {

  display: none !important;

}



.atlas-catalog-mobile-filter {

  display: none;

}



.atlas-catalog-toolbar-pending .catalog-toolbar__controls {

  visibility: hidden;

}



.catalog-toolbar__controls .atlas-sort {

  width: fit-content;

  min-width: 216px;

  max-width: 100%;

}



.catalog-toolbar__controls .atlas-sort__trigger {

  width: auto;

  min-height: 42px;

  min-width: 216px;

  justify-content: flex-start;

  gap: 9px;

  padding: 0 36px 0 10px;

  border: 1px solid transparent;

  border-radius: 10px;

  background: transparent;

  color: #252b36;

  font-weight: 650;

  transition: color .16s ease, background-color .16s ease, border-color .16s ease, box-shadow .16s ease;

}



.catalog-toolbar__controls .atlas-sort__trigger:hover,

.catalog-toolbar__controls .atlas-sort__trigger:focus-visible {

  outline: none;

  border-color: #eadfe0;

  background: #fff6f7;

  color: var(--atlas-red, #e30613);

}



.catalog-toolbar__controls .atlas-sort__icon {

  position: relative;

  width: 16px;

  height: 18px;

  flex: 0 0 16px;

}



.catalog-toolbar__controls .atlas-sort__icon::before,

.catalog-toolbar__controls .atlas-sort__icon::after {

  position: absolute;

  left: 50%;

  width: 6px;

  height: 6px;

  border-left: 1.5px solid currentColor;

  border-bottom: 1.5px solid currentColor;

  content: "";

}



.catalog-toolbar__controls .atlas-sort__icon::before {

  top: 1px;

  transform: translateX(-50%) rotate(135deg);

}



.catalog-toolbar__controls .atlas-sort__icon::after {

  bottom: 1px;

  transform: translateX(-50%) rotate(-45deg);

}



.catalog-toolbar__controls .atlas-sort--open .atlas-sort__trigger {

  border-color: var(--atlas-red, #e30613);

  background: #fff;

  box-shadow: 0 0 0 3px rgba(227, 6, 19, .08);

  color: var(--atlas-red, #e30613);

}



@media (min-width: 768px) {

  .catalog-toolbar__controls .woocommerce-ordering {

    width: auto;

  }



  .catalog-toolbar__controls .atlas-sort,

  .catalog-toolbar__controls .atlas-sort__trigger {

    min-width: 300px;

  }



  .catalog-toolbar__controls .atlas-sort__menu {

    right: 0;

    left: auto;

    width: 326px;

    min-width: 100%;

  }

}



.catalog-toolbar h1,

.catalog-toolbar h2 {

  margin-top: 0;

}



/* Catalog discovery sits directly below the category heading. */

.catalog-page .catalog-toolbar h1 {

  margin-bottom: 0;

  font-size: clamp(1.72rem, 2.45vw, 2.25rem);

  line-height: 1.08;

}



.catalog-page .catalog-discovery {

  grid-template-columns: minmax(220px, 250px) minmax(0, 1fr);

  gap: 12px;

  width: 100%;

  margin: 18px 0 20px;

}



.catalog-page .catalog-selection-cta {

  position: relative;

  overflow: hidden;

  padding: 18px;

  border: 1px solid rgba(255,255,255,.12);

  border-radius: 14px;

  background: linear-gradient(145deg, #071a31 0%, #102e51 100%);

  box-shadow: 0 12px 28px rgba(7,26,49,.15);

  color: #fff;

}



.catalog-page .catalog-selection-cta::after {

  position: absolute;

  right: -38px;

  bottom: -48px;

  width: 142px;

  height: 142px;

  border: 1px solid rgba(255,255,255,.09);

  border-radius: 50%;

  content: "";

}



.catalog-page .catalog-selection-cta__eyebrow {

  position: relative;

  z-index: 1;

  color: #ffbec3;

}



.catalog-page .catalog-selection-cta strong {

  position: relative;

  z-index: 1;

  color: #fff;

}



.catalog-page .catalog-selection-cta .button {

  position: relative;

  z-index: 1;

  width: 100%;

  box-sizing: border-box;

  align-self: stretch;

  border-color: #ed0014;

  background: linear-gradient(135deg, #ff1726 0%, #d90012 100%);

  box-shadow: 0 8px 18px rgba(227,6,19,.22);

  color: #fff;

}



.catalog-page .catalog-discovery .catalog-quick-selection {

  padding: 7px 8px;

  border-color: #eee4dd;

  background: linear-gradient(102deg, #fffaf7 0%, #fff 52%, #fffaf6 100%);

}



.catalog-page .catalog-discovery .catalog-quick-selection__links {

  gap: 3px;

}



.catalog-page .catalog-discovery .catalog-quick-selection__links a {

  height: 130px;

  padding-inline: 3px;

}



.catalog-page .catalog-discovery .catalog-quick-selection__media,

.catalog-page .catalog-discovery .catalog-quick-selection__links .catalog-quick-selection__media img {

  height: 98px !important;

  max-height: 98px;

}



/* Keep the buying controls visible without consuming document flow while scrolling. */

body:not(.wp-admin) .site-header {

  position: sticky;

  top: 0;

  z-index: 1000;

  background: rgba(255,255,255,.97);

  box-shadow: 0 1px 0 rgba(15,23,42,.08);

}



body.admin-bar:not(.wp-admin) .site-header {

  top: 32px;

}



@media (min-width: 601px) and (max-width: 782px) {

  body.admin-bar:not(.wp-admin) .site-header {

    top: 46px;

  }

}



@media (max-width: 600px) {

  body.admin-bar:not(.wp-admin) .site-header {

    top: 0;

  }

}



.catalog-guide {

  grid-template-columns: minmax(280px, .9fr) minmax(0, 1.35fr);

  gap: clamp(28px, 4vw, 56px);

  align-items: center;

  margin-top: 14px;

  padding: clamp(24px, 2.8vw, 34px);

  border-color: #f1c9cc;

  border-radius: 14px;

  background: #fff4f4;

}



.catalog-guide__links {

  display: grid;

  grid-template-columns: minmax(165px, .85fr) minmax(205px, 1.15fr) minmax(185px, 1fr);

  gap: 12px;

  align-items: center;

}



.catalog-guide__links a {

  min-height: 46px;

  gap: 12px;

  padding: 10px 12px;

  border: 0;

  border-radius: 8px;

  color: #252b36;

  font-size: .94rem;

  line-height: 1.25;

  transition: color .16s ease, background-color .16s ease, box-shadow .16s ease, transform .16s ease;

}



.catalog-guide__links a:not(:first-child):hover,

.catalog-guide__links a:not(:first-child):focus-visible {

  outline: none;

  background: #fff;

  color: var(--atlas-red, #e30613);

}



.catalog-guide__links a:first-child {

  position: relative;

  justify-content: center;

  overflow: hidden;

  padding-inline: 18px;

  background-color: #e30613;

  background-image: linear-gradient(120deg, #f20b18 0%, #e30613 42%, #c8000b 72%, #ad0009 100%);

  background-position: 0 50%;

  background-size: 180% 100%;

  box-shadow: 0 8px 18px rgba(227, 6, 19, .16);

  color: #fff;

  transition: color .18s ease, background-position .22s ease, box-shadow .18s ease, transform .18s ease;

}



.catalog-guide__links a:first-child::before {

  position: absolute;

  top: -30%;

  bottom: -30%;

  left: -42%;

  width: 28%;

  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .28), transparent);

  content: "";

  pointer-events: none;

  transform: skewX(-18deg);

  transition: left .34s ease;

}



.catalog-guide__links a:first-child span {

  transition: transform .18s ease;

}



.catalog-guide__links a:first-child:hover,

.catalog-guide__links a:first-child:focus-visible {

  outline: none;

  background-position: 100% 50%;

  box-shadow: 0 12px 26px rgba(227, 6, 19, .28);

  color: #fff;

  transform: translateY(-2px);

}



.catalog-guide__links a:first-child:hover span,

.catalog-guide__links a:first-child:focus-visible span {

  transform: translateX(4px);

}



.catalog-guide__links a:first-child:hover::before,

.catalog-guide__links a:first-child:focus-visible::before {

  left: 114%;

}



.catalog-guide__links a:first-child:active {

  box-shadow: 0 6px 14px rgba(227, 6, 19, .2);

  transform: translateY(0);

}



.atlas-product-card__title {

  margin-top: 2px;

}



.atlas-product-card__image,

.mobile-product-card__image {

  background: #fff;

}



.product-card-gallery__link:focus-visible {

  outline: 2px solid rgba(227, 6, 19, .52);

  outline-offset: -2px;

  border-radius: 8px;

}



.product-card-gallery__link:focus:not(:focus-visible) {

  outline: 0;

}



.technology-art img {

  object-position: 68% center;

}



.home-hero .button.button--primary,

.catalog-intro .button.button--primary,

.parts-callout .button--primary {

  position: relative;

  overflow: hidden;

  background-color: #e30613;

  background-image: linear-gradient(120deg, #f20b18 0%, #e30613 42%, #c8000b 72%, #ad0009 100%);

  background-position: 0 50%;

  background-size: 180% 100%;

  box-shadow: 0 8px 18px rgba(227, 6, 19, .16);

  color: #fff;

  transition: color .18s ease, background-position .22s ease, box-shadow .18s ease, transform .18s ease;

}



.home-hero .button.button--primary::before,

.catalog-intro .button.button--primary::before,

.parts-callout .button--primary::before {

  position: absolute;

  top: -30%;

  bottom: -30%;

  left: -42%;

  width: 28%;

  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .28), transparent);

  content: "";

  pointer-events: none;

  transform: skewX(-18deg);

  transition: left .34s ease;

}



.home-hero .button.button--primary > span {

  transition: transform .18s ease;

}



body.home .home-hero .button.button--primary,

body.home .parts-callout .button--primary {

  background-color: #e30613;

  background-image: linear-gradient(120deg, #f20b18 0%, #e30613 42%, #c8000b 72%, #ad0009 100%);

  background-position: 0 50%;

  background-size: 180% 100%;

}



.home-hero .button.button--primary:focus-visible,

.catalog-intro .button.button--primary:focus-visible,

.parts-callout .button--primary:focus-visible {

  outline: none;

  background-position: 100% 50%;

  box-shadow: 0 12px 26px rgba(227, 6, 19, .28);

  color: #fff;

  transform: translateY(-2px);

}



.home-hero .button.button--primary:focus-visible::before,

.catalog-intro .button.button--primary:focus-visible::before,

.parts-callout .button--primary:focus-visible::before {

  left: 114%;

}



.home-hero .button.button--primary:focus-visible > span {

  transform: translateX(4px);

}



body.home .home-hero .button.button--primary:focus-visible,

body.home .parts-callout .button--primary:focus-visible {

  background-position: 100% 50%;

  box-shadow: 0 12px 26px rgba(227, 6, 19, .28);

  transform: translateY(-2px);

}



@media (hover: hover) and (pointer: fine) {

  .home-hero .button.button--primary:hover,

  .catalog-intro .button.button--primary:hover,

  .parts-callout .button--primary:hover {

    background-position: 100% 50%;

    box-shadow: 0 12px 26px rgba(227, 6, 19, .28);

    color: #fff;

    transform: translateY(-2px);

  }



  .home-hero .button.button--primary:hover::before,

  .catalog-intro .button.button--primary:hover::before,

  .parts-callout .button--primary:hover::before {

    left: 114%;

  }



  .home-hero .button.button--primary:hover > span {

    transform: translateX(4px);

  }



  body.home .home-hero .button.button--primary:hover,

  body.home .parts-callout .button--primary:hover {

    background-position: 100% 50%;

    box-shadow: 0 12px 26px rgba(227, 6, 19, .28);

    transform: translateY(-2px);

  }

}



.home-hero .button.button--primary:active,

.catalog-intro .button.button--primary:active,

.parts-callout .button--primary:active {

  box-shadow: 0 3px 8px rgba(227, 6, 19, .18);

  transform: translateY(0);

}



.mobile-product-card > .mobile-product-card__action {

  position: absolute;

  right: 24px !important;

  bottom: 24px !important;

  z-index: 4;

  width: 44px;

  height: 44px;

  min-height: 44px;

  padding: 0 11px !important;

  margin: 0;

}



.atlas-product-card__action .button,

.woocommerce .atlas-product-card__action .button,

.mobile-product-card > .mobile-product-card__action {

  --atlas-action-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.5-6 10-6 10 6 10 6-3.5 6-10 6S2 12 2 12Z'/%3E%3Ccircle cx='12' cy='12' r='2.5'/%3E%3C/svg%3E");

  --atlas-action-icon-color: var(--atlas-red, #e30613);

  --atlas-action-expanded-width: 148px;

  position: absolute !important;

  right: 0;

  bottom: 0;

  display: inline-flex !important;

  width: 44px;

  max-width: none;

  height: 44px;

  min-height: 44px;

  box-sizing: border-box;

  align-items: center;

  justify-content: flex-start;

  gap: 0;

  overflow: hidden;

  padding: 0 11px !important;

  margin: 0;

  border: 1px solid var(--atlas-red, #e30613);

  border-radius: 8px;

  background-color: #fff;

  background-image: linear-gradient(var(--atlas-red, #e30613), var(--atlas-red, #e30613));

  background-position: 0 100%;

  background-repeat: no-repeat;

  background-size: 100% 3px;

  box-shadow: 0 4px 12px rgba(15, 23, 42, .09);

  color: var(--atlas-red, #e30613);

  font-size: 0;

  font-weight: 720;

  line-height: 1 !important;

  text-align: left;

  white-space: nowrap;

  transition: width .18s ease, gap .18s ease, border-color .18s ease, background-color .18s ease, box-shadow .18s ease, color .18s ease, font-size .18s ease;

}



.atlas-product-card__action .add_to_cart_button.ajax_add_to_cart,

.woocommerce .atlas-product-card__action .add_to_cart_button.ajax_add_to_cart,

.mobile-product-card > .mobile-product-card__action.add_to_cart_button.ajax_add_to_cart {

  --atlas-action-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3h2l2.4 11.2a2 2 0 0 0 2 1.6h7.8a2 2 0 0 0 2-1.6L21 7H6'/%3E%3Ccircle cx='10' cy='20' r='1'/%3E%3Ccircle cx='18' cy='20' r='1'/%3E%3C/svg%3E");

  --atlas-action-icon-color: #fff;

  --atlas-action-expanded-width: 132px;

  border-color: #d4000c;

  border-radius: 8px;

  background-color: #e30613;

  background-image: linear-gradient(135deg, #f20b18 0%, #d4000c 100%);

  background-position: 50% 50%;

  background-size: 100% 100%;

  box-shadow: 0 4px 11px rgba(227, 6, 19, .2);

  color: #fff;

}



.atlas-product-card__action .button:not(.add_to_cart_button),

.woocommerce .atlas-product-card__action .button:not(.add_to_cart_button),

.mobile-product-card > .mobile-product-card__action:not(.add_to_cart_button) {

  border-bottom-width: 3px;

  background-image: none;

}



.atlas-product-card__action .button::before,

.woocommerce .atlas-product-card__action .button::before,

.mobile-product-card > .mobile-product-card__action::before {

  width: 20px;

  height: 20px;

  background: var(--atlas-action-icon-color);

  content: "";

  flex: 0 0 20px;

  -webkit-mask: var(--atlas-action-icon) center / contain no-repeat;

  mask: var(--atlas-action-icon) center / contain no-repeat;

  transition: background-color .18s ease;

}



.atlas-product-card__action .add_to_cart_button.loading,

.woocommerce .atlas-product-card__action .add_to_cart_button.loading,

.mobile-product-card > .mobile-product-card__action.add_to_cart_button.loading {

  opacity: 1 !important;

}



.atlas-product-card__action .add_to_cart_button.loading::before,

.woocommerce .atlas-product-card__action .add_to_cart_button.loading::before,

.mobile-product-card > .mobile-product-card__action.add_to_cart_button.loading::before {

  animation: atlas-cart-feedback .48s ease-in-out infinite alternate;

  opacity: 1 !important;

}



.atlas-product-card__action .add_to_cart_button.loading::after,

.woocommerce .atlas-product-card__action .add_to_cart_button.loading::after,

.mobile-product-card > .mobile-product-card__action.add_to_cart_button.loading::after {

  display: none !important;

}



@keyframes atlas-cart-feedback {

  from { transform: scale(.86); }

  to { transform: scale(1.08); }

}



.catalog-results .add_to_cart_button.added::after {

  position: static !important;

  display: inline !important;

  margin-left: 7px !important;

  content: "✓" !important;

  vertical-align: baseline !important;

}



/* AJAX success state: a compact cart segment plus a clear link to the cart. */

.atlas-product-card__action:has(.add_to_cart_button.added) {

  width: 132px;

}



.atlas-product-card__action .add_to_cart_button.added,

.woocommerce .atlas-product-card__action .add_to_cart_button.added {

  --atlas-action-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4 4L19 6'/%3E%3C/svg%3E");

  right: auto;

  left: 0;

  width: 48px;

  padding: 0 !important;

  justify-content: center;

  border-radius: 8px 0 0 8px;

  font-size: 0;

}



.atlas-product-card__action .added_to_cart.wc-forward,

.mobile-product-card > .added_to_cart.wc-forward {

  position: absolute;

  right: 0;

  bottom: 0;

  display: inline-flex;

  width: 84px;

  height: 44px;

  box-sizing: border-box;

  align-items: center;

  justify-content: center;

  overflow: hidden;

  padding: 0 9px;

  border: 1px solid var(--atlas-red, #e30613);

  border-left: 0;

  border-radius: 0 8px 8px 0;

  background: #fff;

  box-shadow: 0 4px 11px rgba(227, 6, 19, .12);

  color: transparent;

  font-size: 0;

  font-weight: 720;

  line-height: 1;

  text-decoration: none;

  white-space: nowrap;

  transition: background-color .18s ease, box-shadow .18s ease, transform .18s ease;

}



.atlas-product-card__action .added_to_cart.wc-forward::after,

.mobile-product-card > .added_to_cart.wc-forward::after {

  color: var(--atlas-red, #e30613);

  content: "У кошику ✓";

  font-size: .82rem;

}



@media (min-width: 768px) {

  .atlas-product-card__action .added_to_cart.wc-forward::after {

    content: "До кошика";

  }



  .atlas-product-card__action .added_to_cart.wc-forward { width: 84px; }

}



.mobile-product-card > .mobile-product-card__action.added {

  --atlas-action-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4 4L19 6'/%3E%3C/svg%3E");

  right: 108px !important;

  width: 48px;

  padding: 0 !important;

  justify-content: center;

  border-radius: 8px 0 0 8px;

  font-size: 0;

}



.home .mobile-product-card > .added_to_cart.wc-forward::after {

  content: "До кошика";

}



.mobile-product-card > .added_to_cart.wc-forward {

  right: 24px;

  bottom: 24px;

}



@media (min-width: 768px) {

  .home .mobile-product-card > .mobile-product-card__action.added {

    border-radius: 8px 0 0 8px !important;

  }

}



@media (min-width: 768px) and (hover: hover) and (pointer: fine) {

  .atlas-product-card__action:has(.add_to_cart_button.added):hover,

  .atlas-product-card__action:has(.added_to_cart.wc-forward:focus-visible) {

    box-shadow: 0 7px 18px rgba(227, 6, 19, .28);

    transform: translateY(-2px);

  }



  .atlas-product-card__action .added_to_cart.wc-forward:hover,

  .atlas-product-card__action .added_to_cart.wc-forward:focus-visible,

  .mobile-product-card > .added_to_cart.wc-forward:hover,

  .mobile-product-card > .added_to_cart.wc-forward:focus-visible {

    outline: 0;

    background: #fff7f7;

  }



  .atlas-product-card__action .button:hover,

  .atlas-product-card__action .button:focus-visible,

  .woocommerce .atlas-product-card__action .button:hover,

  .woocommerce .atlas-product-card__action .button:focus-visible,

  .mobile-product-card > .mobile-product-card__action:hover,

  .mobile-product-card > .mobile-product-card__action:focus-visible {

    --atlas-action-icon-color: var(--atlas-red, #e30613);

    width: var(--atlas-action-expanded-width);

    gap: 8px;

    border-color: var(--atlas-red, #e30613);

    background-color: #fff;

    box-shadow: 0 6px 16px rgba(15, 23, 42, .12);

    color: var(--atlas-red, #e30613);

    font-size: .9rem;

  }



  .atlas-product-card__action .add_to_cart_button.ajax_add_to_cart:hover,

  .atlas-product-card__action .add_to_cart_button.ajax_add_to_cart:focus-visible,

  .woocommerce .atlas-product-card__action .add_to_cart_button.ajax_add_to_cart:hover,

  .woocommerce .atlas-product-card__action .add_to_cart_button.ajax_add_to_cart:focus-visible,

  .mobile-product-card > .mobile-product-card__action.add_to_cart_button.ajax_add_to_cart:hover,

  .mobile-product-card > .mobile-product-card__action.add_to_cart_button.ajax_add_to_cart:focus-visible {

    --atlas-action-icon-color: #fff;

    border-color: #bd0711;

    background-color: #d4000c;

    background-image: linear-gradient(135deg, #e30613 0%, #bd0711 100%);

    box-shadow: 0 6px 16px rgba(227, 6, 19, .26);

    color: #fff;

  }



  .atlas-product-card__action .add_to_cart_button.added:hover,

  .atlas-product-card__action .add_to_cart_button.added:focus-visible,

  .woocommerce .atlas-product-card__action .add_to_cart_button.added:hover,

  .woocommerce .atlas-product-card__action .add_to_cart_button.added:focus-visible,

  .mobile-product-card > .mobile-product-card__action.added:hover,

  .mobile-product-card > .mobile-product-card__action.added:focus-visible {

    width: 48px;

    gap: 0;

    border-radius: 8px 0 0 8px;

    font-size: 0;

  }



  .atlas-product-card__action:has(.add_to_cart_button.added):active {

    box-shadow: 0 3px 8px rgba(227, 6, 19, .2);

    transform: translateY(1px) scale(.985);

  }



  .atlas-product-card__action .added_to_cart.wc-forward:active,

  .mobile-product-card > .added_to_cart.wc-forward:active {

    background-color: #fff1f2;

  }

}



.home .mobile-product-card__heart,

.home .mobile-product-card__compare {

  z-index: 6;

}



@media (min-width: 901px) and (max-width: 1199px) {

  .home .mobile-product-card {

    flex-basis: calc((100% - 36px) / 3);

  }



  .home .product-card-gallery--recommendation .mobile-product-card__image,

  .home .mobile-product-card img {

    height: clamp(220px, 26vw, 300px);

  }

}



@media (min-width: 768px) and (max-width: 900px) {

  .home .mobile-product-card {

    flex-basis: calc((100% - 18px) / 2);

  }



  .home .product-card-gallery--recommendation .mobile-product-card__image,

  .home .mobile-product-card img {

    height: clamp(230px, 38vw, 300px);

  }

}



@media (min-width: 768px) and (max-width: 1050px) {

  body.theme-atlas-storefront .catalog-page .catalog-results ul.products li.product.atlas-product-card {
    padding-bottom: 16px;
  }

  .catalog-results .atlas-product-card {

    container-type: inline-size;

  }



  .catalog-results .atlas-product-card__favorite,

  .catalog-results .atlas-product-card__compare {

    right: 4px;

    width: 40px;

    height: 40px;

  }



  .catalog-results .atlas-product-card__favorite { top: 3px; }



  .catalog-results .atlas-product-card__compare { top: 39px; }



  .catalog-results .atlas-product-card__favorite svg,

  .catalog-results .atlas-product-card__compare svg {

    width: 20px;

    height: 20px;

  }



  .catalog-results .atlas-product-card__compare {

    top: 39px;

    right: 4px;

    width: 40px;

    height: 40px;

  }



  .catalog-results .atlas-product-card__compare svg {

    width: 20px;

    height: 20px;

  }



  .catalog-results .atlas-product-card__image {

    height: min(300px, 100cqw);

  }



  .catalog-results ul.products li.product.atlas-product-card,

  .atlas-product-card {

    min-height: 0;

    padding-bottom: 66px;

  }



  .atlas-product-card__price {

    margin-top: 8px;

  }



  .catalog-results .atlas-product-card__price {

    padding-top: 6px !important;

  }



  .catalog-results .atlas-product-card__catalog-price-value--pending {

    width: 80px;

    max-width: calc(100% - 52px);

    font-size: .78rem;

  }



  .catalog-results .atlas-product-card__action .button:hover,

  .catalog-results .atlas-product-card__action .button:focus-visible {

    width: 44px;

    gap: 0;

    font-size: 0;

  }

}



@media (max-width: 767px), (hover: none), (pointer: coarse) {

  .catalog-toolbar__controls .atlas-sort,

  .catalog-toolbar__controls .atlas-sort__trigger,

  .catalog-toolbar__controls .atlas-sort__menu {

    width: 100%;

  }



  .catalog-toolbar__controls .atlas-sort__menu {

    right: 0;

    left: 0;

  }



  .atlas-product-card__catalog-price-value {

    min-height: 40px;

    padding-right: 48px;

  }



  .atlas-product-card__catalog-price-value--pending {

    width: 70px;

    max-width: calc(100% - 52px);

    padding-right: 0;

    font-size: .78rem;

    color: #737d8d;

  }



  .atlas-product-card__catalog-price-value--unavailable {

    width: 70px;

    max-width: calc(100% - 52px);

    min-height: 40px;

    font-size: .72rem;

    line-height: 1.08;

  }



  .mobile-product-card__price {

    margin-left: 2px;

    font-size: .95rem;

  }



  .atlas-product-card__meta .atlas-product-card__category {

    font-size: .7rem;

  }



  .atlas-product-card__sku {

    display: none;

  }



  .atlas-product-card__action {

    right: 10px;

    bottom: 66px;

    width: 40px;

    height: 40px;

  }



  .atlas-product-card__action .button,

  .woocommerce .atlas-product-card__action .button,

  .mobile-product-card > .mobile-product-card__action {

    width: 40px;

    height: 40px;

    min-height: 40px;

    padding: 0 10px !important;

    font-size: 0;

  }



  .atlas-product-card__action .button::before,

  .woocommerce .atlas-product-card__action .button::before,

  .mobile-product-card > .mobile-product-card__action::before {

    width: 18px;

    height: 18px;

    flex-basis: 18px;

  }



  .atlas-product-card__action:has(.add_to_cart_button.added) {

    width: 40px;

  }



  .atlas-product-card__action .add_to_cart_button.added,

  .woocommerce .atlas-product-card__action .add_to_cart_button.added,

  .mobile-product-card > .mobile-product-card__action.added {

    --atlas-action-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4 4L19 6'/%3E%3C/svg%3E");

    right: 0 !important;

    left: auto;

    width: 40px;

    border-radius: 8px;

  }



  .catalog-results .atlas-product-card__action .added_to_cart.wc-forward {

    display: none;

  }



  .home .mobile-product-card > .mobile-product-card__action.added {

    right: 10px !important;

    width: 40px;

    border-radius: 8px;

  }



  .home .mobile-product-card > .added_to_cart.wc-forward {

    display: none;

  }

}



@media (max-width: 767px) {

  /* On phones the selector is the primary path; sorting follows it. */

  .catalog-page .catalog-results {

    display: flex;

    flex-direction: column;

  }



  .catalog-page .catalog-results > * {

    order: 4;

  }



  .catalog-page .catalog-toolbar {

    display: contents;

  }



  .catalog-page .catalog-toolbar > :first-child {

    order: 1;

    padding: 0 12px 14px;

  }



  .catalog-page .catalog-discovery {

    order: 2;

  }



  .catalog-page .catalog-toolbar__controls {

    order: 3;

    display: grid;

    grid-template-columns: auto minmax(0, 1fr);

    align-items: stretch;

    width: 100%;

    min-height: 64px;

    padding: 0;

    border-top: 1px solid #e5e8ed;

    border-bottom: 1px solid #eceef1;

    background: #fff;

  }



  .catalog-page .catalog-toolbar__controls .atlas-catalog-mobile-filter {

    display: inline-flex;

    min-width: 0;

    align-items: center;

    gap: 10px;

    padding: 0 10px 0 0;

    border: 0;

    background: transparent;

    color: #172033;

    font: inherit;

    font-size: .95rem;

    font-weight: 700;

    cursor: pointer;

  }



  .atlas-catalog-mobile-filter__icon {

    position: relative;

    width: 28px;

    height: 24px;

    flex: 0 0 28px;

    background:

      linear-gradient(currentColor, currentColor) 1px 4px / 26px 1.5px no-repeat,

      linear-gradient(currentColor, currentColor) 1px 12px / 26px 1.5px no-repeat,

      linear-gradient(currentColor, currentColor) 1px 20px / 26px 1.5px no-repeat;

  }



  .atlas-catalog-mobile-filter__icon::before {

    position: absolute;

    inset: 0;

    background:

      radial-gradient(circle at 9px 5px, #fff 0 3px, currentColor 3.5px 5px, transparent 5.5px),

      radial-gradient(circle at 20px 13px, #fff 0 3px, currentColor 3.5px 5px, transparent 5.5px),

      radial-gradient(circle at 12px 21px, #fff 0 3px, currentColor 3.5px 5px, transparent 5.5px);

    content: "";

  }



  .atlas-catalog-mobile-filter__count {

    display: inline-grid;

    width: 29px;

    height: 29px;

    flex: 0 0 29px;

    place-items: center;

    border-radius: 50%;

    background: var(--atlas-red, #e30613);

    color: #fff;

    font-size: .78rem;

    font-weight: 800;

    line-height: 1;

  }



  .atlas-catalog-mobile-filter__count[hidden] {

    display: none;

  }



  .catalog-page .catalog-toolbar__controls .woocommerce-ordering,

  .catalog-page .catalog-toolbar__controls .atlas-sort,

  .catalog-page .catalog-toolbar__controls .atlas-sort__trigger {

    width: 100%;

    min-width: 0;

    height: 100%;

    margin: 0;

  }



  .catalog-page .catalog-toolbar__controls .atlas-sort__trigger {

    min-height: 63px;

    justify-content: flex-end;

    padding: 0 25px 0 8px;

    border: 0;

    border-radius: 0;

    font-size: .95rem;

    white-space: nowrap;

  }



  .catalog-page .catalog-toolbar__controls .atlas-sort__trigger:hover,

  .catalog-page .catalog-toolbar__controls .atlas-sort__trigger:focus-visible,

  .catalog-page .catalog-toolbar__controls .atlas-sort--open .atlas-sort__trigger {

    border-color: transparent;

    background: transparent;

    box-shadow: none;

    color: #172033;

  }



  .catalog-page .catalog-toolbar__controls .atlas-sort__icon {

    display: none;

  }



  .catalog-page .catalog-toolbar__controls .atlas-sort__trigger > span:not(.atlas-sort__icon) {

    overflow: hidden;

    font-size: 0;

    text-overflow: ellipsis;

  }



  .catalog-page .catalog-toolbar__controls .atlas-sort__trigger > span:not(.atlas-sort__icon)::before {

    content: attr(data-mobile-prefix) attr(data-mobile-label);

    font-size: .95rem;

  }



  .catalog-page .catalog-toolbar__controls .atlas-sort__trigger::after {

    position: absolute;

    right: 5px;

    width: 9px;

    height: 9px;

    border-right: 1.5px solid currentColor;

    border-bottom: 1.5px solid currentColor;

    content: "";

    transform: translateY(-3px) rotate(45deg);

  }



  .catalog-page .catalog-toolbar__controls .atlas-sort__menu {

    top: calc(100% + 1px);

    right: 0;

    left: auto;

    width: min(330px, calc(100vw - 32px));

  }



  .term-boilery .atlas-catalog-selection-slot,

  .term-storage-water-heaters .atlas-catalog-selection-slot {

    grid-column: 1 / -1;

    width: 100%;

    margin: 8px 0;

    padding: 0;

    list-style: none;

  }



  .term-boilery .atlas-catalog-selection-slot .catalog-selection-cta,

  .term-storage-water-heaters .atlas-catalog-selection-slot .catalog-selection-cta {

    width: 100%;

    box-sizing: border-box;

  }

}



@media (max-width: 900px) {

  .catalog-guide {

    grid-template-columns: 1fr;

  }



  .catalog-guide__links {

    grid-template-columns: minmax(165px, .85fr) minmax(205px, 1.15fr) minmax(185px, 1fr);

  }

}



@media (max-width: 767px) {

  .catalog-intro--boilers {

    min-height: 286px;

    align-items: stretch;

    padding: 0;

    background: #f3eee9;

  }



  .catalog-intro--boilers .catalog-intro__copy {

    display: flex;

    width: 100%;

    max-width: none;

    min-height: 286px;

    box-sizing: border-box;

    flex-direction: column;

    padding: 18px 20px 20px;

  }



  .catalog-intro--boilers .catalog-intro__eyebrow { max-width: 52%; }

  .catalog-intro--boilers h1 { max-width: none; margin-top: auto; font-size: 1.55rem; }

  .catalog-intro--boilers p { display: none; }

  .catalog-intro--boilers::after { bottom: auto; height: 148px; background: linear-gradient(90deg,rgba(245,242,238,.82),rgba(245,242,238,.08) 68%,rgba(245,242,238,0)); }

  .catalog-intro--boilers .catalog-intro__image { height: 148px; object-position: 65% center; }



  .catalog-quick-selection {

    overflow: hidden;

    border-color: #eadfd7;

    background: #fffaf7 !important;

  }



  .catalog-quick-selection::before,

  .catalog-quick-selection::after { display: none; }

  .catalog-quick-selection__links,

  .catalog-quick-selection__link,

  .catalog-quick-selection__media { background: transparent !important; box-shadow: none; isolation: auto; }

  .catalog-quick-selection__media img { background: transparent !important; mix-blend-mode: normal !important; }

  .catalog-quick-selection__link:hover,

  .catalog-quick-selection__link:focus-visible {

    border-color: transparent;

    background: transparent;

    box-shadow: inset 0 0 0 1px rgba(227, 6, 19, .42), 0 10px 24px rgba(31, 41, 55, .07);

  }



  .catalog-quick-selection__link:hover:not(:focus-visible),

  .catalog-quick-selection__link:active:not(:focus-visible) {

    border-color: transparent;

    box-shadow: none;

  }



  .catalog-guide {

    margin-top: 10px;

  }



  .catalog-guide__links {

    grid-template-columns: 1fr;

    gap: 5px;

  }



  .catalog-guide__links a:not(:first-child) {

    border-top: 1px solid #f0d9db;

    border-radius: 0;

  }



  .catalog-results .atlas-product-card {

    container-type: inline-size;

  }



  .catalog-results .atlas-product-card__favorite,

  .catalog-results .atlas-product-card__compare {

    right: 4px;

    width: 40px;

    height: 40px;

  }



  .catalog-results .atlas-product-card__favorite { top: 3px; }

  .catalog-results .atlas-product-card__compare { top: 39px; }



  .catalog-results .atlas-product-card__favorite svg,

  .catalog-results .atlas-product-card__compare svg {

    width: 20px;

    height: 20px;

  }



  .catalog-results .atlas-product-card__image {

    height: 100cqw;

    max-height: 300px;

  }



  .term-boilery .atlas-product-card__image img,

  .term-storage-water-heaters .atlas-product-card__image img {

    object-fit: cover;

    object-position: center;

  }



  .catalog-results ul.products li.product.atlas-product-card,

  .atlas-product-card {

    min-height: 0;

    padding-bottom: 66px;

  }



  .catalog-results ul.products,

  .atlas-product-grid { row-gap: 2px; }



  .catalog-results ul.products li.product.atlas-product-card,

  .catalog-results .atlas-product-card {

    padding-bottom: 14px;

  }



  .catalog-results .atlas-product-card__action {

    bottom: 14px;

  }



  .atlas-product-card__catalog-summary--complete {

    width: calc(100% - 24px);

    margin-right: auto;

    margin-left: auto;

  }



  .atlas-product-card__price {

    margin-top: 8px;

  }



  .home .mobile-recommendations__grid {

    gap: 8px;

  }



  .home .mobile-product-card {

    container-type: inline-size;

    padding: 10px;

    border: 0;

    border-radius: 10px;

    box-shadow: 0 2px 9px rgba(25, 39, 56, .08), 0 0 1px rgba(25, 39, 56, .1);

    flex-basis: auto;

    scroll-snap-align: none;

  }



  .home .mobile-recommendations__page {

    display: grid;

    box-sizing: border-box;

    flex: 0 0 100vw;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 8px;

    padding-right: 12px;

    padding-left: 12px;

    scroll-snap-align: start;

  }



  .home .mobile-product-card__availability {

    min-height: 16px;

    gap: 4px;

    padding-right: 24px;

    margin-bottom: 3px;

    font-size: .62rem;

  }



  .home .mobile-product-card__availability > span {

    width: 9px;

    height: 9px;

  }



  .home .mobile-product-card__availability > span::after {

    top: 1px;

    left: 2.5px;

    width: 2px;

    height: 4px;

  }



  .home .mobile-product-card__heart {

    top: 4px;

    right: 4px;

    z-index: 6;

    width: 36px;

    height: 36px;

  }



  .home .mobile-product-card__heart .ui-icon {

    width: 17px;

    height: 17px;

  }



  .home .mobile-product-card__compare {

    top: 36px;

    right: 5px;

    z-index: 6;

    width: 34px;

    height: 34px;

  }



  .home .mobile-product-card__compare .ui-icon {

    width: 18px;

    height: 18px;

  }



  .home .product-card-gallery--recommendation .mobile-product-card__image,

  .home .mobile-product-card img {

    height: clamp(180px, 42vw, 260px);

  }



  .home .mobile-product-card strong,

  .home .mobile-product-card strong.mobile-product-card__title {

    min-height: 1.35em;

    max-height: 1.35em;

    font-size: .76rem;

    line-height: 1.35;

    -webkit-line-clamp: 1;

    line-clamp: 1;

  }



  .home .mobile-product-card small {

    font-size: .62rem;

  }



  .home .mobile-product-card__sku-top,

  .home .mobile-product-card__sku-inline {

    display: none !important;

  }



  .home .mobile-product-card__price {

    font-size: .9rem;

  }



  .home .mobile-product-card__price del {

    font-size: .68rem;

  }



  .home .button--wide {

    min-height: 42px;

    border-radius: 5px;

    font-size: .72rem;

  }



  .home .mobile-recommendations,

  .home .guides-section {

    margin-top: 14px;

  }



  .home .benefit-grid__link { border-radius: 5px; }



  .home .technology-card__content > span:first-child {

    width: 18px;

    height: 18px;

    flex-basis: 18px;

  }



  .home .technology-card__content > span:first-child .ui-icon {

    width: 14px;

    height: 14px;

    stroke-width: 1;

  }



  .site-header__inner {

    min-height: 50px;

    gap: 4px;

  }



  .mobile-menu summary {

    width: 40px;

    height: 44px;

    font-size: 1.25rem;

  }



  .brand-logo {

    width: 112px;

    height: 32px;

  }



  .header-actions {

    height: 50px;

    align-items: center;

    gap: 1px;

  }



  .header-actions a,

  .header-actions button {

    min-width: 40px;

    min-height: 48px;

    align-items: center;

    justify-content: center;

  }



  .header-actions a > span,

  .header-actions button > span {

    width: 28px !important;

    height: 28px !important;

  }



  .header-actions .ui-icon {

    width: 24px !important;

    height: 24px !important;

  }

}



@media (min-width: 768px) {

  .catalog-results .atlas-product-card__price {

    padding-top: 10px;

  }

}



.catalog-results ul.products > li.product.atlas-product-card.atlas-product-card--compact-title-row .atlas-product-card__title {

  min-height: 1.42em;

  max-height: 1.42em;

  -webkit-line-clamp: 1;

  line-clamp: 1;

}



.home .faq {

  position: relative;

  overflow: hidden;

  padding: clamp(22px, 3vw, 34px);

  border: 1px solid #e1e4e9;

  border-radius: 12px;

  background: #f7f7f7;

}



.home .faq::before {

  position: absolute;

  top: 24px;

  bottom: 24px;

  left: 0;

  width: 3px;

  border-radius: 0 3px 3px 0;

  background: var(--atlas-red, #e30613);

  content: "";

}



.home .faq h2 {

  margin-top: 0;

}



.home .faq details {

  margin-bottom: 8px;

  overflow: hidden;

  border: 1px solid #e2e4e8;

  border-radius: 9px;

  background: #fff;

}



.home .faq summary {

  position: relative;

  min-height: 48px;

  box-sizing: border-box;

  padding: 14px 46px 14px 16px;

  font-weight: 700;

  list-style: none;

}



.home .faq summary::-webkit-details-marker { display: none; }



.home .faq summary::before,

.home .faq summary::after {

  position: absolute;

  top: 50%;

  right: 18px;

  width: 12px;

  height: 2px;

  border-radius: 2px;

  background: var(--atlas-red, #e30613);

  content: "";

  transition: transform 180ms ease;

}



.home .faq summary::after { transform: rotate(90deg); }

.home .faq details[open] summary::after { transform: rotate(0); }

.home .faq details p { padding: 0 16px 16px; }



@media (max-width: 600px) {

  .mobile-product-card > .mobile-product-card__action {

    right: 10px !important;

    bottom: 10px !important;

  }



  .home .faq {

    padding: 18px 14px 14px 18px;

  }



  .home .faq::before {

    top: 18px;

    bottom: 14px;

  }



  .home .faq summary {

    font-size: .9rem;

    line-height: 1.3;

  }

}



/* Header action menus: keep the hover path continuous and reserve a stable price column. */

.site-header .header-action-popover {

  top: calc(100% - 1px);

  width: min(446px, calc(100vw - 24px));

}



.site-header .header-action-product {

  grid-template-columns: 58px minmax(0, 1fr) minmax(104px, max-content);

}



.site-header .header-action-product > b {

  display: flex;

  min-width: 104px;

  align-items: flex-end;

  flex-direction: column;

  line-height: 1.2;

  white-space: nowrap;

}



.site-header .header-action-product > b .woocommerce-Price-amount,

.site-header .header-action-product > b .woocommerce-Price-currencySymbol {

  display: inline-flex !important;

  width: auto;

  white-space: nowrap;

}



.site-header .header-action-product > b .woocommerce-Price-amount {

  align-items: baseline;

  gap: .18em;

}



.site-header .header-action-product > b del {

  color: #8a94a3;

  font-size: .69rem;

  font-weight: 500;

}



.site-header .header-action-product > b ins {

  color: var(--atlas-red, #e30613);

  font-weight: 750;

  text-decoration: none;

}



/* Match header popover destinations to the primary catalog action. */

.site-header .header-action-popover__footer .button {

  position: relative;

  overflow: hidden;

  border: 1px solid var(--atlas-red, #e30613);

  border-radius: 10px;

  background-color: #e30613 !important;

  background-image: linear-gradient(120deg, #f20b18 0%, #e30613 42%, #c8000b 72%, #ad0009 100%) !important;

  background-position: 0 50%;

  background-size: 180% 100%;

  box-shadow: 0 8px 18px rgba(227, 6, 19, .16);

  color: #fff !important;

  font-weight: 750 !important;

  transition: color .18s ease, background-position .22s ease, box-shadow .18s ease, transform .18s ease;

}



.site-header .header-action-popover__footer .button::before {

  position: absolute;

  top: -30%;

  bottom: -30%;

  left: -42%;

  width: 28%;

  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .28), transparent);

  content: "";

  pointer-events: none;

  transform: skewX(-18deg);

  transition: left .34s ease;

}



.site-header .header-action-popover__footer .button:hover,

.site-header .header-action-popover__footer .button:focus-visible {

  outline: none;

  border-color: #bd0711 !important;

  background-color: #bd0711 !important;

  background-image: linear-gradient(120deg, #df0714 0%, #cf0612 42%, #b9000a 72%, #950008 100%) !important;

  background-position: 100% 50%;

  box-shadow: 0 0 0 3px rgba(227, 6, 19, .12), 0 12px 26px rgba(227, 6, 19, .26);

  color: #fff !important;

  transform: translateY(-2px);

}



.site-header .header-action-popover__footer .button:hover::before,

.site-header .header-action-popover__footer .button:focus-visible::before { left: 114%; }



/* Keep the final guide and footer connected without crowding either block. */

.term-boilery .catalog-guide,

.term-storage-water-heaters .catalog-guide { margin-bottom: 0; }



.term-boilery main.catalog-page,

.term-storage-water-heaters main.catalog-page { padding-bottom: 16px; }



.term-boilery .site-footer,

.term-storage-water-heaters .site-footer { padding-top: 16px; }



@media (max-width: 767px) {

  .term-boilery main.catalog-page,

  .term-storage-water-heaters main.catalog-page { padding-bottom: 12px; }



  .term-boilery .site-footer,

  .term-storage-water-heaters .site-footer { padding-top: 12px; }

}



@container (max-width: 220px) {

  .atlas-product-card__catalog-summary--complete { width: calc(100% - 36px); }

}



@media (prefers-reduced-motion: reduce) {

  .home-hero .button.button--primary,

  .home-hero .button.button--primary::before,

  .home-hero .button.button--primary > span,

  .catalog-intro .button.button--primary,

  .catalog-intro .button.button--primary::before,

  .parts-callout .button--primary,

  .parts-callout .button--primary::before,

  .catalog-toolbar__controls .atlas-sort__trigger,

  .atlas-product-card__action .button,

  .atlas-product-card__action .button::before,

  .woocommerce .atlas-product-card__action .button,

  .woocommerce .atlas-product-card__action .button::before,

  .mobile-product-card > .mobile-product-card__action,

  .mobile-product-card > .mobile-product-card__action::before {

    transition: none !important;

  }

}



/* Desktop cart state: show both the confirmed state and the real cart quantity.

 * The same control remains the link to the cart; mobile keeps the compact check. */

@media (min-width: 768px) {

  .catalog-results .atlas-product-card__action:has(.add_to_cart_button.added),

  .home .mobile-product-card > .atlas-product-card__action:has(.add_to_cart_button.added),

  .catalog-results .atlas-product-card__action:has(.add_to_cart_button.added):is(:hover, :active),

  .home .mobile-product-card > .atlas-product-card__action:has(.add_to_cart_button.added):is(:hover, :active) {

    width: 148px;

    height: 48px;

    box-shadow: none;

    transform: none;

  }



  .catalog-results .atlas-product-card__action .add_to_cart_button.added,

  .woocommerce .catalog-results .atlas-product-card__action .add_to_cart_button.added,

  .home .mobile-product-card > .atlas-product-card__action .add_to_cart_button.added,

  .catalog-results .atlas-product-card__action .add_to_cart_button.added:is(:hover, :focus-visible),

  .woocommerce .catalog-results .atlas-product-card__action .add_to_cart_button.added:is(:hover, :focus-visible),

  .home .mobile-product-card > .atlas-product-card__action .add_to_cart_button.added:is(:hover, :focus-visible) {

    --atlas-action-icon-color: var(--atlas-red, #e30613);

    right: 0 !important;

    left: auto !important;

    width: 148px;

    height: 48px;

    min-height: 48px;

    justify-content: center;

    gap: 8px;

    padding: 0 11px !important;

    border: 1px solid rgba(227, 6, 19, .72);

    border-radius: 9px !important;

    background: #fff;

    box-shadow: none;

    color: var(--atlas-red, #e30613);

    font-size: .76rem;

    font-weight: 720;

    line-height: 1;

  }



  .catalog-results .atlas-product-card__action .add_to_cart_button.added::before,

  .woocommerce .catalog-results .atlas-product-card__action .add_to_cart_button.added::before,

  .home .mobile-product-card > .atlas-product-card__action .add_to_cart_button.added::before {

    width: 17px;

    height: 17px;

    flex-basis: 17px;

  }



  .catalog-results .atlas-product-card__action .add_to_cart_button.added:is(:hover, :focus-visible),

  .woocommerce .catalog-results .atlas-product-card__action .add_to_cart_button.added:is(:hover, :focus-visible),

  .home .mobile-product-card > .atlas-product-card__action .add_to_cart_button.added:is(:hover, :focus-visible) {

    border-color: var(--atlas-red, #e30613);

    background: #fff6f7;

  }

}



/* 0.74.70: stable touch feedback, cart state and responsive merchandising. */

.mobile-product-card > .mobile-product-card__action.add_to_cart_button.ajax_add_to_cart[data-atlas-cart-state="added"] {

  --atlas-action-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4 4L19 6'/%3E%3C/svg%3E");

}



.catalog-intro__mobile-copy {

  display: none;

}



.catalog-intro__note {

  display: block;

  margin-top: 9px;

  color: rgba(255, 255, 255, .78);

  font-size: .78rem;

  line-height: 1.3;

}



@media (min-width: 768px) {

  .catalog-intro--boilers {

    isolation: isolate;

    min-height: 310px;

    overflow: hidden;

    border-color: rgba(255, 255, 255, .14);

    background: #171311;

    color: #fff;

  }



  .catalog-intro--boilers::after {

    z-index: -1;

    width: 100%;

    height: 100%;

    background: linear-gradient(90deg, rgba(19, 14, 12, .96) 0%, rgba(19, 14, 12, .82) 39%, rgba(19, 14, 12, .25) 72%, rgba(19, 14, 12, .08) 100%);

  }



  .catalog-intro--boilers .catalog-intro__copy {

    position: relative;

    z-index: 2;

    width: min(48%, 590px);

    min-height: 310px;

    justify-content: center;

    padding: clamp(30px, 4vw, 56px);

  }



  .catalog-intro--boilers .catalog-intro__eyebrow {

    color: #ff737b;

  }



  .catalog-intro--boilers h1 {

    color: #fff;

  }



  .catalog-intro--boilers .catalog-intro__description {

    color: rgba(255, 255, 255, .82);

  }



  .catalog-intro--boilers .catalog-intro__image {

    z-index: -2;

    width: 100%;

    height: 100%;

    object-fit: cover;

    object-position: center;

  }

}



@media (hover: hover) and (pointer: fine) {

  .home .mobile-recommendations__heading-actions > a {

    display: inline-flex;

    transition: color .18s ease;

  }



  .home .mobile-recommendations__heading-actions > a:hover {

    color: #b9000a;

  }



  .home .guides-section .section-heading > a {

    display: inline-flex;

    transition: color .18s ease, transform .18s ease;

  }



  .home .guides-section .section-heading > a:hover {

    color: #b9000a;

    transform: translateX(4px);

  }

}



body:not(.wp-admin) a,

body:not(.wp-admin) button,

body:not(.wp-admin) input,

body:not(.wp-admin) select,

body:not(.wp-admin) summary,

body:not(.wp-admin) [role="button"] {

  -webkit-tap-highlight-color: transparent;

}



@media (prefers-reduced-motion: reduce) {

  .home .mobile-recommendations__heading-actions > a,

  .home .guides-section .section-heading > a {

    transition: none;

  }

}



/* Keep quick-model thumbnails fully visible at their actual desktop and mobile slots. */

@media (min-width: 768px) {

  .catalog-page .catalog-quick-selection__link--body-slim .catalog-quick-selection__media,

  .catalog-page .catalog-quick-selection__link--body-flat .catalog-quick-selection__media {

    --quick-image-scale: .96;

  }



  .catalog-page .catalog-quick-selection__link--body-round .catalog-quick-selection__media {

    --quick-image-scale: .94;

  }



  .catalog-page .catalog-quick-selection__link--body-horizontal .catalog-quick-selection__media {

    --quick-image-scale: 1.18;

  }



}



@media (max-width: 767px) {

  .catalog-results .atlas-product-card__price {

    padding-top: 6px !important;

  }



  .catalog-intro--boilers {

    min-height: 278px;

  }



  .catalog-intro--boilers .catalog-intro__copy {

    min-height: 278px;

    padding: 18px 20px 20px;

  }



  .catalog-intro--boilers .catalog-intro__eyebrow {

    max-width: 210px;

  }



  .catalog-intro--boilers h1 {

    max-width: 100%;

    margin-top: auto;

    margin-bottom: 12px;

    font-size: 1.55rem;

    line-height: 1.12;

  }



  .catalog-intro--boilers::after {

    height: 112px;

    background: linear-gradient(90deg, rgba(245, 242, 238, .76), rgba(245, 242, 238, .04) 72%, rgba(245, 242, 238, 0));

  }



  .catalog-intro--boilers .catalog-intro__image {

    height: 112px;

  }



  .catalog-intro--boilers .catalog-intro__cta {

    width: 100% !important;

    min-width: 0;

    max-width: none;

    align-self: stretch;

    justify-content: center;

    padding-inline: 24px;

  }



  .catalog-page .catalog-quick-selection {

    background: linear-gradient(135deg, #fff 0%, #fffefc 66%, #fcf9f5 100%) !important;

  }



  .catalog-page .catalog-quick-selection__link--body-horizontal .catalog-quick-selection__media {

    --quick-image-scale: 1;

  }



  .home .category-card:hover:not(:focus-visible) {

    box-shadow: none;

  }



  .home .category-card:hover:not(:focus-visible)::before {

    border-color: transparent;

  }



  .home .category-card:hover:not(:focus-visible) > img,

  .home .category-card:hover:not(:focus-visible) .category-card__media img {

    transform: none;

  }



  .home .selection-grid a:hover:not(:focus-visible),

  .home .selection-grid a:active:not(:focus-visible),

  .home .benefit-grid__link:hover:not(:focus-visible),

  .home .benefit-grid__link:active:not(:focus-visible) {

    border-color: #e4e7eb;

    box-shadow: 0 5px 14px rgba(15, 23, 42, .04);

    transform: none;

  }

}



@media (min-width: 1051px) {

  .catalog-results .atlas-product-card__favorite,

  .catalog-results .atlas-product-card__compare {

    width: 38px;

    height: 38px;

  }



  .catalog-results .atlas-product-card__favorite svg,

  .catalog-results .atlas-product-card__compare svg {

    width: 21px;

    height: 21px;

  }

}



/* Homepage hierarchy and callout copy stay readable without expanding their cards. */

.home .category-card strong {

  font-size: 1.18rem;

  font-weight: 750;

  line-height: 1.2;

}



.home .parts-callout__copy strong {

  display: block;

  font-size: clamp(1.3rem, 1.7vw, 1.6rem);

  line-height: 1.2;

}



.home .parts-callout__copy p {

  margin-top: 8px;

  color: var(--atlas-muted, #647084);

  font-size: 1rem;

  line-height: 1.5;

}



@media (max-width: 480px) {

  .home .category-card strong {

    max-width: 94%;

    font-size: .72rem;

    font-weight: 750;

    line-height: 1.15;

  }



  .home .parts-callout__copy strong {

    font-size: .5rem;

  }



  .home .parts-callout__copy p {

    margin-top: 2px;

    font-size: .43rem;

    line-height: 1.35;

  }



  .home .category-card--towels strong,

  .home .category-card--instant strong,

  .home .category-card--parts strong {

    font-size: .53rem;

    line-height: 1.2;

  }



  .home .category-card--boilers strong {

    width: 104px;

    max-width: 104px;

  }



  .home .technology-card__content > span:first-child {

    width: 28px;

    height: 28px;

    flex-basis: 28px;

  }



  .home .technology-card__content > span:first-child .ui-icon {

    width: 16px;

    height: 16px;

  }



  .home .parts-callout {

    align-items: stretch;

  }



  .home .parts-callout__art {

    width: 56px;

    height: auto;

    max-height: none;

    align-self: stretch;

    object-fit: contain;

  }



  .home .parts-callout__copy {

    align-self: center;

  }



  .home .parts-callout__copy strong,

  .home .parts-callout__copy p {

    font-size: .83rem;

    line-height: 1.3;

  }



  .home .parts-callout__copy p {

    margin-top: 4px;

    font-weight: 400;

  }



  .home .faq details p {

    font-size: .9rem;

    font-weight: 400;

    line-height: 1.3;

  }

}



/* Definitive responsive selector hero; kept last so legacy breakpoints cannot override it. */

.catalog-page .catalog-intro--boilers .catalog-intro__picture {

  position: absolute;

  inset: 0;

  z-index: 1;

  display: block;

  overflow: hidden;

}



.catalog-page .catalog-intro--boilers .catalog-intro__picture .catalog-intro__image {

  position: absolute;

  inset: 0 0 0 auto;

  width: 66%;

  height: 100%;

  max-width: none;

  object-fit: cover;

  object-position: 68% center;

}



@media (max-width: 767px) {

  .catalog-page .catalog-intro--boilers {

    min-height: 0;

    display: flex;

    flex-direction: column;

    border-radius: 17px;

    background: #fff;

    box-shadow: 0 10px 26px rgba(48, 38, 30, .1);

  }



  .catalog-page .catalog-intro--boilers::after {

    content: none;

  }



  .catalog-page .catalog-intro--boilers .catalog-intro__picture {

    position: relative;

    inset: auto;

    order: 1;

    width: 100%;

    height: 120px;

    flex: 0 0 120px;

  }



  .catalog-page .catalog-intro--boilers .catalog-intro__picture .catalog-intro__image {

    inset: 0;

    width: 100%;

    height: 100%;

    object-fit: cover;

    object-position: 70% center;

  }



  .catalog-page .catalog-intro--boilers .catalog-intro__copy {

    order: 2;

    width: 100%;

    min-height: 0;

    padding: 18px 20px 16px;

    background: #fff;

  }



  .catalog-page .catalog-intro--boilers .catalog-intro__eyebrow {

    max-width: none;

    color: #101827;

    font-size: 1.5rem;

    line-height: 1.08;

    text-transform: none;

    letter-spacing: -.02em;

  }



  .catalog-page .catalog-intro--boilers h1,

  .catalog-page .catalog-intro--boilers .catalog-intro__description {

    display: none;

  }



  .catalog-page .catalog-intro--boilers .catalog-intro__mobile-copy {

    display: block;

    margin: 8px 0 14px;

    color: #687285;

    font-size: .9rem;

    line-height: 1.4;

  }



  .catalog-page .catalog-intro--boilers .catalog-intro__cta {

    width: 100% !important;

    min-width: 0;

    min-height: 50px;

    align-self: stretch;

    justify-content: center;

  }



  .catalog-page .catalog-intro--boilers .catalog-intro__note {

    margin-top: 9px;

    color: #697384;

    text-align: center;

  }



  .catalog-page .catalog-intro--boilers .catalog-intro__trust {

    display: none;

  }

}



/* Final catalog selector card: desktop variant 5 and compact mobile variant 1. */

.catalog-page .catalog-intro--boilers {

  display: grid;

  overflow: hidden;

  border: 1px solid #d9d2ca;

  border-radius: 22px;

  background: #101a24;

  box-shadow: 0 14px 34px rgba(27, 20, 16, .12);

}



.catalog-page .catalog-intro--boilers::after { content: none; }

.catalog-page .catalog-intro--boilers .catalog-intro__copy {

  position: relative;

  z-index: 2;

}

.catalog-page .catalog-intro--boilers .catalog-intro__eyebrow,

.catalog-page .catalog-intro--boilers h1 { color: #fff; }

.catalog-page .catalog-intro--boilers .catalog-intro__description { color: rgba(255,255,255,.82); }

.catalog-page .catalog-intro--boilers .catalog-intro__mobile-copy { display: none; }

.catalog-page .catalog-intro--boilers .catalog-intro__note {

  color: rgba(255,255,255,.8);

  text-align: left;

}

.catalog-page .catalog-intro--boilers .catalog-intro__trust {

  display: flex;

  gap: clamp(16px, 2.3vw, 34px);

  margin-top: 22px;

  padding-top: 18px;

  border-top: 1px solid rgba(255,255,255,.2);

}

.catalog-page .catalog-intro--boilers .catalog-intro__trust span {

  display: inline-flex;

  align-items: center;

  gap: 8px;

  color: rgba(255,255,255,.92);

  font-size: .78rem;

  line-height: 1.25;

}

.catalog-page .catalog-intro--boilers .catalog-intro__trust b {

  display: inline-flex;

  align-items: center;

  justify-content: center;

  width: 23px;

  height: 23px;

  flex: 0 0 23px;

  border: 1px solid rgba(255,255,255,.7);

  border-radius: 50%;

  font-size: .72rem;

}



@media (min-width: 768px) {

  .catalog-page .catalog-intro--boilers {

    min-height: 330px;

    grid-template-columns: minmax(390px, 46%) 1fr;

  }

  .catalog-page .catalog-intro--boilers .catalog-intro__copy {

    width: auto;

    min-height: 330px;

    padding: clamp(34px, 4vw, 58px);

    background: linear-gradient(90deg, rgba(7,20,33,.99), rgba(7,20,33,.92) 78%, rgba(7,20,33,.48));

  }

  .catalog-page .catalog-intro--boilers .catalog-intro__image {

    position: absolute;

    inset: 0 0 0 auto;

    z-index: 1;

    width: 66%;

    height: 100%;

    object-fit: cover;

    object-position: 68% center;

  }

  .catalog-page .catalog-intro--boilers h1 {

    max-width: 520px;

    font-size: clamp(2rem, 3vw, 3rem);

  }

  .catalog-page .catalog-intro--boilers .catalog-intro__cta { align-self: flex-start; }

}



@media (max-width: 767px) {

  .catalog-page .catalog-intro--boilers {

    min-height: 0;

    display: flex;

    flex-direction: column;

    border-radius: 17px;

    background: #fff;

    box-shadow: 0 10px 26px rgba(48,38,30,.1);

  }

  .catalog-page .catalog-intro--boilers .catalog-intro__image {

    position: relative;

    z-index: 1;

    order: 1;

    width: 100%;

    height: 120px;

    object-fit: cover;

    object-position: 70% center;

  }

  .catalog-page .catalog-intro--boilers .catalog-intro__copy {

    order: 2;

    width: 100%;

    min-height: 0;

    padding: 18px 20px 16px;

    background: #fff;

  }

  .catalog-page .catalog-intro--boilers .catalog-intro__eyebrow {

    max-width: none;

    color: #101827;

    font-size: 1.5rem;

    line-height: 1.08;

    text-transform: none;

    letter-spacing: -.02em;

  }

  .catalog-page .catalog-intro--boilers h1,

  .catalog-page .catalog-intro--boilers .catalog-intro__description { display: none; }

  .catalog-page .catalog-intro--boilers .catalog-intro__mobile-copy {

    display: block;

    margin: 8px 0 14px;

    color: #687285;

    font-size: .9rem;

    line-height: 1.4;

  }

  .catalog-page .catalog-intro--boilers .catalog-intro__cta {

    width: 100% !important;

    min-height: 50px;

    justify-content: center;

  }

  .catalog-page .catalog-intro--boilers .catalog-intro__note {

    margin-top: 9px;

    color: #697384;

    text-align: center;

  }

  .catalog-page .catalog-intro--boilers .catalog-intro__trust { display: none; }

}



/* Branded tactile feedback for actions; disclosure controls stay stationary. */

@media (max-width: 767px), (hover: none) and (pointer: coarse) {

  body:not(.wp-admin) :is(.button, button, .mobile-recommendations__heading-actions a):not(summary, [aria-expanded], .nanto-more-close) {

    transition: transform .1s ease, filter .1s ease, box-shadow .1s ease, border-color .1s ease;

  }

  body:not(.wp-admin) :is(.button, button, .mobile-recommendations__heading-actions a):not(summary, [aria-expanded], .nanto-more-close):active {

    transform: translateY(1px) scale(.985) !important;

    filter: brightness(.94);

    box-shadow: inset 0 0 0 2px rgba(237,0,20,.2), 0 4px 12px rgba(28,20,16,.1) !important;

  }



  body:not(.wp-admin) :is(.guide-card, .catalog-quick-selection__link, .product-card-gallery__link, .atlas-product-card__main):active {

    opacity: .88;

    filter: brightness(.98);

    transform: scale(.992) !important;

  }



  body:not(.wp-admin) :is(.category-card, .selection-grid a, .benefit-grid__link, .mobile-product-card):active {

    filter: none;

    box-shadow: none !important;

    transform: none !important;

  }

}



@media (max-width: 767px) {

  /* This CTA moves into the product grid during enhancement, so it must not

     briefly add a row above the catalogue. Without JS it stays accessible here. */

  html.atlas-catalog-toolbar-pending .catalog-discovery .catalog-selection-cta[data-mobile-placement="grid"] {

    display: none;

  }



  .catalog-page .catalog-toolbar h1 {

    font-size: 1.72rem;

  }



  .catalog-page .catalog-discovery {

    grid-template-columns: 1fr;

    gap: 10px;

    width: 100%;

    margin: 14px 0 18px;

  }



  .catalog-page .catalog-selection-cta {

    padding: 15px 16px;

  }



  .catalog-page .catalog-selection-cta strong {

    max-width: 280px;

    margin: 4px 0 12px;

    font-size: 1rem;

  }



  .catalog-page .catalog-selection-cta .button {

    min-height: 46px;

  }



  .catalog-page .catalog-discovery .catalog-quick-selection {

    padding: 8px 5px;

  }



  .catalog-page .catalog-discovery .catalog-quick-selection__links {

    gap: 2px;

  }



  .home .technology-grid {

    grid-template-columns: minmax(0,.58fr) minmax(0,1.42fr);

  }



  .home .technology-art img {

    object-position: 79% center;

  }



  .home .technology-card__content h3 {

    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) {

  body:not(.wp-admin) :is(.button, button, .mobile-recommendations__heading-actions a, .guide-card, .catalog-quick-selection__link):not(summary, [aria-expanded], .nanto-more-close).atlas-touch-active {

    transform: translateY(1px) scale(.985) !important;

    filter: brightness(.94) !important;

    box-shadow: inset 0 0 0 1px rgba(17,24,39,.16), 0 4px 12px rgba(28,20,16,.1) !important;

  }



  body:not(.wp-admin) :is(.guide-card, .catalog-quick-selection__link).atlas-touch-active {

    opacity: .9;

  }

}



@media (prefers-reduced-motion: reduce) {

  body:not(.wp-admin) :is(.button, button, summary, .category-card, .selection-grid a, .benefit-grid__link, .guide-card, .catalog-quick-selection__link) {

    transition: none;

  }

}

#catalog-results-title {

  scroll-margin-top: clamp(84px, 8vw, 120px);

}



#catalog-model-shortcuts {

  scroll-margin-top: clamp(124px, 11vw, 148px);

}



@media (min-width: 768px) {

  .technology__title {

    position: absolute;

    width: 1px;

    height: 1px;

    overflow: hidden;

    clip: rect(0 0 0 0);

    clip-path: inset(50%);

    white-space: nowrap;

  }



  .technology__intro { margin-bottom: 16px; }

}



/* Compact Atlantic category introduction and align the discovery row with the products. */

.catalog-page .catalog-breadcrumbs { margin-bottom: 6px; }

.catalog-page .catalog-results { margin-top: 0; }

.catalog-page .catalog-toolbar > div > span { font-size: .7rem; }

.catalog-page .catalog-toolbar h1 { margin-top: 2px; }

.catalog-page .catalog-selection-cta .button {

  position: relative;

  overflow: hidden;

  border: 1px solid var(--atlas-red, #e30613);

  border-radius: 10px;

  background-color: #e30613;

  background-image: linear-gradient(120deg, #f20b18 0%, #e30613 42%, #c8000b 72%, #ad0009 100%);

  background-position: 0 50%;

  background-size: 180% 100%;

  box-shadow: 0 8px 18px rgba(227, 6, 19, .16);

  transition: color .18s ease, background-position .22s ease, box-shadow .18s ease, transform .18s ease;

}



.catalog-page .catalog-selection-cta .button::before {

  position: absolute;

  top: -30%;

  bottom: -30%;

  left: -42%;

  width: 28%;

  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .28), transparent);

  content: "";

  pointer-events: none;

  transform: skewX(-18deg);

  transition: left .34s ease;

}



.catalog-page .catalog-selection-cta .button:hover,

.catalog-page .catalog-selection-cta .button:focus-visible {

  outline: none;

  border-color: #bd0711 !important;

  background-color: #bd0711 !important;

  background-image: linear-gradient(120deg, #df0714 0%, #cf0612 42%, #b9000a 72%, #950008 100%) !important;

  background-position: 100% 50%;

  color: #fff !important;

  box-shadow: 0 0 0 3px rgba(227, 6, 19, .12), 0 12px 26px rgba(227, 6, 19, .26);

  transform: translateY(-2px);

}



.catalog-page .catalog-selection-cta .button:hover::before,

.catalog-page .catalog-selection-cta .button:focus-visible::before { left: 114%; }



@media (max-width: 767px) {

  .catalog-page .catalog-results { width: 100%; }

  .catalog-page .catalog-discovery,

  .catalog-page .catalog-discovery .catalog-quick-selection { width: 100%; max-width: none; box-sizing: border-box; }

  .catalog-page .catalog-discovery .catalog-quick-selection__links { width: 100%; }

}



@media (hover: none) and (pointer: coarse) {

  body:not(.wp-admin) :is(a[href],button):not(summary, [aria-expanded], .nanto-more-close).atlas-touch-active {

    opacity: .94;

    filter: brightness(.95) !important;

    transform: translateY(1px) scale(.988) !important;

  }



  .home :is(.guide-card, .benefit-grid__link).atlas-touch-active,

  .home :is(.guide-card, .benefit-grid__link):active:not(:focus-visible) {

    border-color: #e4e7eb !important;

    opacity: .96 !important;

    filter: brightness(.975) !important;

    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .1), 0 3px 9px rgba(15, 23, 42, .05) !important;

    transform: translateY(1px) scale(.99) !important;

  }

}



/* Mobile buying guides, approved image-first horizontal swipe variant 4. */

@media (max-width: 767px) {

  .home .selection-panel,

  .home .selection-grid,

  .home .benefits-section,

  .home .benefit-grid__link {

    border-radius: 5px;

  }



  .home .guides-section {

    overflow: hidden;

  }



  .home .guide-grid {

    display: flex;

    width: 100%;

    overflow-x: auto;

    gap: 12px;

    padding: 1px 0 8px;

    scroll-padding-inline: 0;

    scroll-snap-type: x mandatory;

    overscroll-behavior-inline: contain;

    -webkit-overflow-scrolling: touch;

    scrollbar-width: none;

  }



  .home .guide-grid::-webkit-scrollbar {

    display: none;

  }



  .home .guide-grid a {

    display: flex;

    min-height: 0;

    overflow: hidden;

    flex: 0 0 min(60vw, 250px);

    flex-direction: column;

    border-radius: 5px;

    background: #fff;

    scroll-snap-align: start;

    scroll-snap-stop: always;

  }



  .home .guide-grid a:last-child {

    scroll-snap-align: end;

  }



  .home .guide-grid .guide-art {

    width: 100%;

    height: auto;

    aspect-ratio: 1410 / 555;

    object-fit: cover;

  }



  .home .guide-grid strong,

  .home .guide-grid small {

    padding: 0 12px;

  }



  .home .guide-grid strong {

    margin: 10px 0 4px;

    font-size: .88rem;

    line-height: 1.24;

  }



  .home .guide-grid small {

    margin: 0 0 11px;

    color: var(--atlas-muted);

    font-size: .75rem;

    line-height: 1.34;

  }



  .home .technology-cards article:first-child {

    display: flex;

  }



  .home .technology-cards article:nth-child(4) {

    display: none;

  }

}



.home .technology-card__content {

  display: flex;

  width: 100%;

  min-height: 100%;

  align-items: center;

  gap: 16px;

  padding: 22px;

  border: 1px solid var(--atlas-line, #e4e7eb);

  border-radius: 11px;

  background: rgba(255, 255, 255, .88);

  box-shadow: 0 8px 24px rgba(15, 23, 42, .035);

  color: inherit;

  cursor: default;

  transition: none !important;

}



.home .technology-card__content > span:first-child {

  width: 56px;

  height: 56px;

  flex: 0 0 56px;

}



.home .technology-card__content > span:first-child .ui-icon {

  width: 36px;

  height: 36px;

  stroke-width: .72;

}



.home .technology-card__content h3 {

  margin-bottom: 8px;

  font-size: 1.07rem;

  line-height: 1.35;

}



.home .technology-card__content p {

  font-size: .91rem;

  line-height: 1.55;

}



.home .technology-card__content:is(:hover, :focus, :focus-visible, :active, .atlas-touch-active) {

  border-color: #e4e7eb !important;

  outline: 0 !important;

  opacity: 1 !important;

  transform: none !important;

  filter: none !important;

  box-shadow: 0 8px 24px rgba(15, 23, 42, .035) !important;

}



.catalog-results .product-card-gallery__link {

  touch-action: pan-y;

}



@media (max-width: 767px), (hover: none), (pointer: coarse) {

  .site-header {

    background: #fff;

  }



  .catalog-results .product-card-gallery__link:active {

    opacity: 1 !important;

    transform: none !important;

    filter: none !important;

  }



  .catalog-results .product-card-gallery__link.atlas-touch-active {

    opacity: .88 !important;

    transform: scale(.992) !important;

    filter: brightness(.98) !important;

  }

}



@media (max-width: 360px) {

  .home .guide-grid a {

    flex-basis: 64vw;

  }

}



.catalog-results .atlas-catalog-load-more {

  display: flex;

  justify-content: center;

  margin: clamp(26px, 3vw, 38px) 0 14px;

}



.catalog-results .atlas-catalog-load-more__button {

  position: relative;

  display: inline-flex;

  overflow: hidden;

  min-width: min(100%, 270px);

  min-height: 48px;

  align-items: center;

  justify-content: center;

  padding: 11px 28px;

  border: 1px solid var(--atlas-red, #e30613);

  border-radius: 10px;

  background-color: #e30613;

  background-image: linear-gradient(120deg, #f20b18 0%, #e30613 42%, #c8000b 72%, #ad0009 100%);

  background-position: 0 50%;

  background-size: 180% 100%;

  box-shadow: 0 8px 18px rgba(227, 6, 19, .16);

  color: #fff;

  cursor: pointer;

  font: inherit;

  font-weight: 720;

  transition: color .18s ease, background-position .22s ease, box-shadow .18s ease, opacity .16s ease, transform .18s ease;

}



.catalog-results .atlas-catalog-load-more__button::before {

  position: absolute;

  top: -30%;

  bottom: -30%;

  left: -42%;

  width: 28%;

  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .28), transparent);

  content: "";

  pointer-events: none;

  transform: skewX(-18deg);

  transition: left .34s ease;

}



.catalog-results .atlas-catalog-load-more__button:focus-visible {

  outline: none;

  background-position: 100% 50%;

  box-shadow: 0 0 0 3px rgba(227, 6, 19, .14), 0 12px 26px rgba(227, 6, 19, .24);

  transform: translateY(-2px);

}



.catalog-results .atlas-catalog-load-more__button:focus-visible::before {

  left: 114%;

}



@media (hover: hover) and (pointer: fine) {

  .catalog-results .atlas-catalog-load-more__button:hover {

    background-position: 100% 50%;

    box-shadow: 0 12px 26px rgba(227, 6, 19, .28);

    transform: translateY(-2px);

  }



  .catalog-results .atlas-catalog-load-more__button:hover::before {

    left: 114%;

  }

}



.catalog-results .atlas-catalog-load-more__button:disabled {

  cursor: wait;

  opacity: .68;

  transform: none;

}



.catalog-results :is(.atlas-catalog-page-links, .woocommerce-pagination) {

  display: flex;

  justify-content: center;

  margin: 0 0 clamp(26px, 4vw, 46px);

}



.catalog-results .atlas-catalog-products > ul.products + :is(.atlas-catalog-page-links, .woocommerce-pagination) {

  margin-top: clamp(26px, 3vw, 38px);

}



.catalog-results .atlas-catalog-products {

  min-width: 0;

}



.catalog-results :is(.atlas-catalog-page-links, .woocommerce-pagination) ul.page-numbers {

  display: inline-flex;

  align-items: center;

  gap: 5px;

  padding: 0;

  border: 0;

  margin: 0;

}



.catalog-results :is(.atlas-catalog-page-links, .woocommerce-pagination) ul.page-numbers li {

  border: 0;

  margin: 0;

}



.catalog-results :is(.atlas-catalog-page-links, .woocommerce-pagination) .page-numbers:not(ul) {

  display: inline-flex;

  width: 38px;

  height: 38px;

  box-sizing: border-box;

  align-items: center;

  justify-content: center;

  border: 1px solid #e2e5ea;

  border-radius: 9px;

  background: #fff;

  color: #3f4857;

  font-size: .88rem;

  font-weight: 680;

  line-height: 1;

  text-decoration: none;

  transition: none;

}



.catalog-results :is(.atlas-catalog-page-links, .woocommerce-pagination) a.page-numbers:hover,

.catalog-results :is(.atlas-catalog-page-links, .woocommerce-pagination) a.page-numbers:focus-visible {

  outline: none;

  border-color: rgba(227, 6, 19, .45);

  color: var(--atlas-red, #e30613);

  box-shadow: 0 4px 12px rgba(15, 23, 42, .08);

}



.catalog-results :is(.atlas-catalog-page-links, .woocommerce-pagination) .page-numbers.current {

  border-color: var(--atlas-red, #e30613);

  background: #fff2f3;

  color: var(--atlas-red, #e30613);

}



/* Pagination feedback is immediate, including keyboard and touch states. */

.catalog-results :is(.atlas-catalog-page-links, .woocommerce-pagination, .atlas-search-pagination) :is(a, button, .page-numbers),

.catalog-results :is(.atlas-catalog-page-links, .woocommerce-pagination, .atlas-search-pagination) :is(a, button, .page-numbers)::before,

.catalog-results :is(.atlas-catalog-page-links, .woocommerce-pagination, .atlas-search-pagination) :is(a, button, .page-numbers)::after {

  transition: none !important;

  animation: none !important;

  transform: none !important;

}



@media (hover: none) and (pointer: coarse) {

  .catalog-results :is(.atlas-catalog-page-links, .woocommerce-pagination) .page-numbers:not(ul).atlas-touch-active {

    border-color: var(--atlas-red, #e30613) !important;

    outline: 0 !important;

    box-shadow: inset 0 0 0 1px var(--atlas-red, #e30613), 0 4px 12px rgba(15, 23, 42, .08) !important;

    transform: none !important;

  }

}



.catalog-results :is(.atlas-catalog-page-links, .woocommerce-pagination) .prev,

.catalog-results :is(.atlas-catalog-page-links, .woocommerce-pagination) .next {

  width: 42px;

}



@media (max-width: 600px) {

  .catalog-results .atlas-catalog-load-more__button {

    width: 100%;

    min-width: 0;

  }



  .catalog-results :is(.atlas-catalog-page-links, .woocommerce-pagination) .page-numbers:not(ul) {

    width: 36px;

    height: 36px;

  }



  .catalog-page .catalog-selection-cta strong {

    max-width: none;

    font-size: clamp(.78rem, 3.45vw, .9rem);

    white-space: nowrap;

  }



  .catalog-page .catalog-selection-cta .button {

    width: 100%;

    align-self: stretch;

  }

}



@media (prefers-reduced-motion: reduce) {

  .catalog-guide__links a:first-child,

  .catalog-guide__links a:first-child::before,

  .catalog-guide__links a:first-child span,

  .catalog-results .atlas-catalog-load-more__button,

  .catalog-results .atlas-catalog-load-more__button::before,

  .catalog-results .atlas-catalog-page-links .page-numbers:not(ul) {

    transition: none;

  }

}



/* Final narrow-screen overrides: this block intentionally follows every legacy breakpoint. */

@media (max-width: 767px) {

  .catalog-intro--boilers {

    min-height: 350px;

    background: #f7f2ed;

  }



  .catalog-intro--boilers::after {

    width: 100%;

    height: 124px;

    background: linear-gradient(90deg, rgba(247, 242, 237, .5), rgba(247, 242, 237, 0));

  }



  .catalog-intro--boilers .catalog-intro__image {

    width: 100%;

    height: 124px;

    object-fit: cover;

    object-position: 62% center;

  }



  .catalog-intro--boilers .catalog-intro__copy {

    min-height: 350px;

    padding: 18px 20px 17px;

  }



  .catalog-intro--boilers h1 {

    margin-top: auto;

    margin-bottom: 6px;

    font-size: clamp(1.45rem, 7vw, 1.8rem);

    line-height: 1.08;

  }



  .catalog-intro--boilers .catalog-intro__description {

    display: none;

  }



  .catalog-intro--boilers .catalog-intro__mobile-copy {

    display: block;

    margin: 0 0 12px;

    color: #606a79;

    font-size: .9rem;

    line-height: 1.4;

  }



  .catalog-intro--boilers .catalog-intro__cta {

    width: 100% !important;

    min-width: 0;

    max-width: none;

    align-self: stretch;

    justify-content: center;

  }



  .catalog-intro--boilers .catalog-intro__note {

    margin-top: 7px;

    color: #697384;

    text-align: center;

  }

}



@media (max-width: 480px) {

  .home .parts-callout__art {

    width: 68px;

    height: auto;

    max-height: none;

    align-self: stretch;

    object-fit: contain;

  }



  .home .parts-callout .button--primary {

    width: auto;

    min-width: 108px;

    height: 38px;

    min-height: 38px;

    flex: 0 0 auto;

    align-self: center;

    padding: 0 12px;

  }



  .home .selection-grid strong,

  .home .benefit-grid h3 {

    font-size: .75rem;

    line-height: 1.18;

  }



  .home .selection-grid small,

  .home .benefit-grid p {

    font-size: .75rem;

    font-weight: 400;

    line-height: 1.24;

  }



  .home .selection-grid a:nth-child(2) strong {

    white-space: nowrap;

    font-size: .7rem;

  }



  /* Match the technology copy to the already approved benefit-card typography. */

  .home .technology-grid {

    grid-template-columns: minmax(0,.58fr) minmax(0,1.42fr);

  }



  .home .technology-art img {

    object-position: 79% center;

  }



  .home .technology-card__content h3 {

    margin-bottom: 2px;

    font-size: .75rem;

    line-height: 1.18;

  }



  .home .technology-card__content p {

    font-size: .75rem;

    font-weight: 400;

    line-height: 1.24;

  }

}



/* Final mobile overrides: two-line recommendation titles and all four technologies. */

@media (max-width: 767px) {

  .home .mobile-product-card strong.mobile-product-card__title {

    display: -webkit-box !important;

    min-height: 2.7em;

    max-height: 2.7em;

    overflow: hidden;

    -webkit-box-orient: vertical;

    -webkit-line-clamp: 2 !important;

    line-clamp: 2;

    white-space: normal;

  }



  .home .atlas-product-card__catalog-summary {

    margin-top: 1px;

  }



  /* Keep price and purchase action on one clear mobile row. */

  .home .mobile-product-card {

    padding-bottom: 10px;

  }



  .home .mobile-product-card__main {

    display: grid;

    width: 100%;

    min-width: 0;

    grid-template-columns: minmax(0, 1fr);

  }



  .home .mobile-product-card__main > :is(.mobile-product-card__title, .atlas-product-card__catalog-summary, .mobile-product-card__price) {

    grid-column: 1;

    width: 100%;

    min-width: 0;

  }



  .home .mobile-product-card__price {

    display: grid;

    min-height: 0;

    box-sizing: border-box;

    grid-template-columns: minmax(0, 1fr) 50px;

    align-items: end;

    padding-right: 0;

    margin-top: 4px;

  }



  .home .mobile-product-card__price > .atlas-product-card__catalog-summary {

    grid-column: 1 / -1;

    width: 100%;

    min-width: 0;

    margin-bottom: 8px;

  }



  .home .mobile-product-card__price > .atlas-product-card__catalog-price-value {

    display: flex;

    min-width: 0;

    min-height: 40px;

    grid-column: 1;

    align-items: center;

  }



  .home .mobile-product-card > .atlas-product-card__action {

    right: 10px;

    bottom: 10px;

  }



  /* The catalog's mobile added state is a single red check button. */

  .home .mobile-product-card > .atlas-product-card__action .added_to_cart.wc-forward {

    display: none;

  }



  /* Long category names scale continuously instead of clipping at 481-767 px. */

  .home .category-card--instant strong,

  .home .category-card--parts strong {

    font-size: clamp(.43rem, 2.15vw, 1rem);

    overflow-wrap: anywhere;

  }



  .home .category-card--towels strong {

    max-width: none;

    font-size: clamp(.4rem, 1.8vw, .7rem);

    letter-spacing: -.02em;

    overflow-wrap: normal;

    white-space: nowrap;

  }



  /* Keep all mobile recommendation and guide actions finger-friendly. */

  .home .mobile-recommendations__viewport {

    width: 100vw;

    max-width: none;

    padding-top: 8px;

    padding-bottom: 10px;

    margin-top: 0;

    margin-left: calc(50% - 50vw);

  }



  .home .mobile-recommendations__grid {

    width: max-content;

    min-width: 100%;

    box-sizing: border-box;

    gap: 0;

    padding: 0;

  }



  .home .mobile-recommendations__heading-actions {

    gap: 6px;

  }



  .home .mobile-recommendations__controls {

    gap: 4px;

  }



  .home .mobile-recommendations__controls button {

    width: 44px;

    height: 44px;

    font-size: 1rem;

  }



  .home .mobile-recommendations__heading-actions > a,

  .home .guides-section .section-heading > a {

    display: inline-flex;

    min-height: 44px;

    box-sizing: border-box;

    align-items: center;

    padding: 6px 0 6px 6px;

    font-size: .78rem;

    line-height: 1.2;

  }



  .home .technology-grid {

    grid-template-columns: minmax(0, 1fr);

  }



  .home .technology-art {

    display: none;

  }



  .home .technology-cards {

    display: grid;

    grid-template-columns: minmax(0, 1fr);

    gap: 8px;

  }



  .home .technology-cards article:first-child,

  .home .technology-cards article:nth-child(4) {

    display: flex;

  }

}



/* Mobile boiler selector, approved compact segmented variant 5. */

@media (max-width: 767px) {

  .home .selection-panel {

    padding: 18px 12px 20px;

    border: 1px solid #eadfd6;

    border-radius: 16px;

    background:

      linear-gradient(145deg, rgba(255, 255, 255, .96), rgba(250, 242, 234, .86)),

      #fffaf5;

    box-shadow: 0 10px 26px rgba(48, 35, 25, .06);

  }



  .home .selection-panel > h2 {

    max-width: none;

    margin: 0 0 9px;

    color: #111c33;

    font-size: .83rem;

    line-height: 1.2;

  }



  .home .selection-panel > h2::after {

    display: block;

    width: 30px;

    height: 2px;

    margin-top: 6px;

    border-radius: 999px;

    background: #ed1c24;

    content: "";

  }



  .home .selection-grid {

    display: grid;

    overflow: hidden;

    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 0;

    border: 1px solid #e3ddd8;

    border-radius: 13px;

    background: rgba(255, 255, 255, .94);

    box-shadow: 0 8px 22px rgba(28, 35, 49, .08);

  }



  .home .selection-grid a {

    display: flex;

    min-width: 0;

    min-height: 112px;

    align-items: center;

    justify-content: center;

    gap: 6px;

    padding: 10px 5px 9px;

    border: 0;

    border-radius: 0;

    background: transparent;

    box-shadow: none;

    flex-direction: column;

    text-align: center;

  }



  .home .selection-grid a + a {

    border-left: 1px solid #e7e1dc;

  }



  .home .selection-grid a::after {

    display: none;

  }



  .home .selection-grid > a > span:first-child {

    width: 48px;

    height: 48px;

    border: 0;

    background: #fff8f1;

    box-shadow: none;

    flex: 0 0 48px;

  }



  .home .selection-grid > a:nth-child(-n+2) > span:first-child .ui-icon,

  .home .selection-grid > a:nth-child(n+3) > span:first-child .ui-icon {

    width: 34px;

    height: 34px;

    stroke-width: .82;

  }



  .home .selection-grid strong,

  .home .selection-grid a:nth-child(2) strong {

    display: block;

    width: 100%;

    color: #111c33;

    font-size: clamp(.6rem, 2.6vw, .74rem);

    line-height: 1.18;

    white-space: normal;

  }



  .home .selection-grid small,

  .home .selection-panel > .button--wide {

    display: none;

  }

}



/* Mobile benefits, approved horizontal list variant 2. */

@media (max-width: 767px) {

  .home .benefits-section > h2 {

    margin-bottom: 9px;

    text-align: center;

  }



  .home .benefits-section > h2::after {

    display: block;

    width: 30px;

    height: 2px;

    margin: 6px auto 0;

    border-radius: 999px;

    background: #ed1c24;

    content: "";

  }



  .home .benefit-grid {

    display: grid;

    grid-template-columns: minmax(0, 1fr);

    gap: 7px;

  }



  .home .benefit-grid__link {

    position: relative;

    min-height: 64px;

    gap: 12px;

    padding: 8px 38px 8px 12px;

    border: 1px solid #eadfd6;

    border-radius: 12px;

    background: #fff;

    box-shadow: 0 5px 15px rgba(28, 35, 49, .05);

  }



  .home .benefit-grid__link::after {

    position: absolute;

    top: 50%;

    right: 14px;

    color: #ed1c24;

    content: "›";

    font-size: 1.35rem;

    line-height: 1;

    transform: translateY(-52%);

  }



  .home .benefit-grid__link > span:first-child {

    width: 44px;

    height: 44px;

    background: #fff8f1;

    box-shadow: none;

    flex: 0 0 44px;

  }



  .home .benefit-grid__link > span:first-child .ui-icon {

    width: 28px;

    height: 28px;

  }



  .home .benefit-grid h3 {

    margin: 0;

    font-size: .78rem;

    line-height: 1.2;

  }



  .home .benefit-grid p {

    display: none;

  }

}



@media (max-width: 360px) {

  .home .category-card--instant strong,

  .home .category-card--parts strong {

    font-size: .44rem;

    line-height: 1.16;

  }



  .home .category-card--towels strong {

    font-size: .4rem;

  }

}



@media (max-width: 360px) {

  .home .selection-panel {

    padding-inline: 9px;

  }



  .home .selection-grid a {

    min-height: 104px;

    padding-inline: 3px;

  }



  .home .selection-grid > a > span:first-child {

    width: 48px;

    height: 48px;

    flex-basis: 48px;

  }



  .home .selection-grid > a:nth-child(-n+2) > span:first-child .ui-icon,

  .home .selection-grid > a:nth-child(n+3) > span:first-child .ui-icon {

    width: 34px;

    height: 34px;

  }

}



/* Final mobile homepage alignment and touch states. */

@media (max-width: 767px) {

  .home .selection-panel {

    border-radius: 5px;

    background: linear-gradient(135deg, #f8fafc 0%, #fff 58%, #fff7f7 100%);

  }



  .home .selection-grid,

  .home .benefits-section,

  .home .benefit-grid__link {

    border-radius: 5px;

  }



  .home .benefits-section > h2 {

    text-align: left;

  }



  .home .benefits-section > h2::after {

    margin-right: 0;

    margin-left: 0;

  }

}



@media (hover: none) and (pointer: coarse) {

  .home .technology-card__content:is(:hover, :active, .atlas-touch-active),

  .home .technology-card__content:focus:not(:focus-visible) {

    border-color: #e4e7eb !important;

    outline: 0 !important;

    opacity: 1 !important;

    filter: none !important;

    box-shadow: 0 8px 24px rgba(15, 23, 42, .035) !important;

    transform: none !important;

  }



  .home .guide-grid a {

    -webkit-tap-highlight-color: transparent;

  }



  .home .guide-grid a:is(:hover, :active, .atlas-touch-active),

  .home .guide-grid a:focus:not(:focus-visible) {

    border-color: var(--atlas-line, #e4e7eb) !important;

    outline: 0 !important;

    opacity: .97 !important;

    filter: brightness(.985) !important;

    box-shadow: 0 3px 9px rgba(15, 23, 42, .05) !important;

    transform: translateY(1px) scale(.992) !important;

  }

}



/* A tap on either the gallery or the textual product link acknowledges the

 * complete card without giving the image a second, nested highlight. */

@media (max-width: 767px), (hover: none) and (pointer: coarse) {

  :is(.catalog-results .atlas-product-card, .home .mobile-product-card, .boiler-result-feature, .boiler-result-card) {

    position: relative;

    -webkit-tap-highlight-color: transparent;

    transition: transform .14s cubic-bezier(.2,.8,.2,1), box-shadow .14s ease;

  }



  :is(.catalog-results .atlas-product-card, .home .mobile-product-card, .boiler-result-feature, .boiler-result-card)::after {

    position: absolute;

    z-index: 20;

    inset: 0;

    border-radius: inherit;

    background: rgba(227, 6, 19, .075);

    box-shadow: inset 0 0 0 2px rgba(227, 6, 19, .28);

    content: '';

    opacity: 0;

    pointer-events: none;

    transition: opacity .14s ease;

  }



  html body.home .mobile-product-card:is(:hover, :focus-within, :active):not(.atlas-card-touch-active) {

    z-index: auto;

    border: 0;

    box-shadow: 0 2px 9px rgba(25, 39, 56, .08), 0 0 1px rgba(25, 39, 56, .1) !important;

    transform: none;

  }



  body.home .mobile-product-card :is(.product-card-gallery__link, .mobile-product-card__main):active {

    opacity: 1;

    filter: none !important;

    transform: none !important;

  }



  .boiler-result-feature.atlas-card-touch-active::after {

    inset: -2px;

  }



  :is(.catalog-results .atlas-product-card, .home .mobile-product-card, .boiler-result-feature, .boiler-result-card).atlas-card-touch-active {

    box-shadow: 0 5px 14px rgba(15, 23, 42, .08) !important;

    transform: translateY(1px) scale(.985);

  }



  html body.home .mobile-product-card.atlas-card-touch-active {

    border-color: rgba(17, 24, 39, .18) !important;

    box-shadow: var(--atlas-product-shadow) !important;

    transform: none;

  }



  :is(.catalog-results .atlas-product-card, .home .mobile-product-card, .boiler-result-feature, .boiler-result-card).atlas-card-touch-active::after {

    opacity: 1;

  }



  :is(.catalog-results .atlas-product-card, .home .mobile-product-card)::after {

    background: rgba(17, 24, 39, .025);

    box-shadow: inset 0 0 0 1px rgba(17, 24, 39, .16), 0 4px 12px rgba(28, 20, 16, .1);

  }



  html body.home .mobile-product-card.atlas-card-touch-active::after {

    box-shadow: none;

  }



  :is(.catalog-results .atlas-product-card, .home .mobile-product-card, .boiler-result-feature, .boiler-result-card).atlas-card-touch-active

    :is(.product-card-gallery__link, .atlas-product-card__main, .mobile-product-card__main, .boiler-result-feature__image, .boiler-result-card__image) {

    opacity: 1 !important;

    transform: none !important;

    filter: none !important;

  }



  .catalog-results .atlas-product-card__action .add_to_cart_button.added::after,

  .catalog-results .mobile-product-card__action.added::after {

    display: none !important;

    margin: 0 !important;

    content: none !important;

  }

}



@media (prefers-reduced-motion: reduce) {

  :is(.catalog-results .atlas-product-card, .home .mobile-product-card),

  :is(.catalog-results .atlas-product-card, .home .mobile-product-card)::after {

    transition: none !important;

  }

}



/* Mobile keeps the compact confirmed check; desktop exposes quantity below. */

@media (max-width: 767px) {

  .catalog-results .atlas-product-card__action:has(.add_to_cart_button.added),

  .home .mobile-product-card > .atlas-product-card__action:has(.add_to_cart_button.added) {

    width: 40px;

    box-shadow: none;

    transform: none;

  }



  .catalog-results .atlas-product-card__action .add_to_cart_button.added,

  .woocommerce .catalog-results .atlas-product-card__action .add_to_cart_button.added,

  .home .mobile-product-card > .atlas-product-card__action .add_to_cart_button.added {

    right: 0 !important;

    left: auto !important;

    width: 40px;

    padding: 0 !important;

    gap: 0;

    justify-content: center;

    border-radius: 8px !important;

    font-size: 0;

  }

}



.catalog-results .atlas-product-card__action .add_to_cart_button.added::after,

.woocommerce .catalog-results .atlas-product-card__action .add_to_cart_button.added::after,

.home .mobile-product-card > .atlas-product-card__action .add_to_cart_button.added::after {

  display: none !important;

  margin: 0 !important;

  content: none !important;

}



.catalog-results .atlas-product-card__action .added_to_cart.wc-forward,

.home .mobile-product-card > .atlas-product-card__action .added_to_cart.wc-forward,

.home .mobile-product-card > .added_to_cart.wc-forward {

  display: none !important;

}



@media (max-width: 767px) {

  .catalog-results .atlas-product-card__action .add_to_cart_button.added::before,

  .woocommerce .catalog-results .atlas-product-card__action .add_to_cart_button.added::before,

  .home .mobile-product-card > .atlas-product-card__action .add_to_cart_button.added::before {

    position: absolute;

    top: 50%;

    left: 50%;

    margin: 0;

    transform: translate(-50%, -50%);

  }



  .catalog-page .catalog-quick-selection__link--body-round .catalog-quick-selection__media {

    --quick-image-scale: 1.22;

  }

}



@media (min-width: 768px) {

  .catalog-results .atlas-product-card__action:has(.add_to_cart_button.added),

  .home .mobile-product-card > .atlas-product-card__action:has(.add_to_cart_button.added),

  .catalog-results .atlas-product-card__action:has(.add_to_cart_button.added):is(:hover, :active),

  .home .mobile-product-card > .atlas-product-card__action:has(.add_to_cart_button.added):is(:hover, :active) {

    width: 148px;

    height: 48px;

    box-shadow: none;

    transform: none;

  }



  .catalog-results .atlas-product-card__action .add_to_cart_button.added,

  .woocommerce .catalog-results .atlas-product-card__action .add_to_cart_button.added,

  .home .mobile-product-card > .atlas-product-card__action .add_to_cart_button.added,

  .catalog-results .atlas-product-card__action .add_to_cart_button.added:is(:hover, :focus-visible),

  .woocommerce .catalog-results .atlas-product-card__action .add_to_cart_button.added:is(:hover, :focus-visible),

  .home .mobile-product-card > .atlas-product-card__action .add_to_cart_button.added:is(:hover, :focus-visible) {

    --atlas-action-icon-color: var(--atlas-red, #e30613);

    right: 0 !important;

    left: auto !important;

    width: 148px;

    height: 48px;

    min-height: 48px;

    justify-content: center;

    gap: 8px;

    padding: 0 11px !important;

    border: 1px solid rgba(227, 6, 19, .72);

    border-radius: 9px !important;

    background: #fff;

    box-shadow: none;

    color: var(--atlas-red, #e30613);

    font-size: .76rem;

    font-weight: 720;

    line-height: 1;

  }



  .catalog-results .atlas-product-card__action .add_to_cart_button.added::before,

  .woocommerce .catalog-results .atlas-product-card__action .add_to_cart_button.added::before,

  .home .mobile-product-card > .atlas-product-card__action .add_to_cart_button.added::before {

    width: 17px;

    height: 17px;

    flex-basis: 17px;

  }



  .catalog-results .atlas-product-card__action .add_to_cart_button.added:is(:hover, :focus-visible),

  .woocommerce .catalog-results .atlas-product-card__action .add_to_cart_button.added:is(:hover, :focus-visible),

  .home .mobile-product-card > .atlas-product-card__action .add_to_cart_button.added:is(:hover, :focus-visible) {

    border-color: var(--atlas-red, #e30613);

    background: #fff6f7;

  }

}



/* The five-column catalogue is scaled as a whole. Give the confirmed cart

 * control its own row so it never covers the price in the narrower card. */

@media (min-width: 1280px) {

  html[data-atlas-catalog-columns="5"] .catalog-results .atlas-product-card:has(.add_to_cart_button.added) {

    padding-bottom: 72px;

  }



  html[data-atlas-catalog-columns="5"] .catalog-results .atlas-product-card:has(.add_to_cart_button.added) .atlas-product-card__catalog-price-value {

    padding-right: 0;

    font-size: calc(20px / .8) !important;

  }



  html[data-atlas-catalog-columns="5"] .catalog-results .atlas-product-card__action:has(.add_to_cart_button.added) {

    right: 16px;

    bottom: 16px;

    left: 16px;

    width: auto;

    height: 46px;

    min-height: 46px;

  }



  html[data-atlas-catalog-columns="5"] .catalog-results .atlas-product-card__action .add_to_cart_button.added,

  html[data-atlas-catalog-columns="5"] .woocommerce .catalog-results .atlas-product-card__action .add_to_cart_button.added {

    width: 100%;

    height: 46px;

    min-height: 46px;

    gap: 7px;

    padding-inline: 10px !important;

    font-size: calc(11px / .8);

  }



  html[data-atlas-catalog-columns="5"] .catalog-results .atlas-product-card__action .add_to_cart_button.added::before,

  html[data-atlas-catalog-columns="5"] .woocommerce .catalog-results .atlas-product-card__action .add_to_cart_button.added::before {

    width: 19px;

    height: 19px;

    flex-basis: 19px;

  }

}



/* atlas-mobile-catalog-reference-final */

@media (max-width: 767px) {

  .site-header .mobile-search { padding: 0 0 6px; }

  .site-header .mobile-search form { position: relative; }

  .site-header .mobile-search form::before {

    position: absolute;

    top: 50%;

    left: 17px;

    z-index: 2;

    width: 15px;

    height: 15px;

    box-sizing: border-box;

    border: 1.8px solid #111827;

    border-radius: 50%;

    background: transparent;

    color: transparent;

    content: "";

    transform: translateY(-58%);

    pointer-events: none;

  }

  .site-header .mobile-search form::after {

    position: absolute;

    top: 50%;

    left: 30px;

    z-index: 2;

    width: 7px;

    height: 1.8px;

    border-radius: 999px;

    background: #111827;

    content: "";

    transform: translateY(5px) rotate(45deg);

    transform-origin: left center;

    pointer-events: none;

  }

  .site-header .mobile-search input,

  .site-header .mobile-search input[type="search"] {

    height: 42px;

    padding: 0 14px 0 46px;

    border: 1px solid #dce1e8;

    border-radius: 10px;

    background: #fff;

    box-shadow: none;

    color: #111827;

    background: #fff !important;

    font-size: 14px;

  }

  .site-header .mobile-search input::placeholder { color: #8a93a3; opacity: 1; }

  .catalog-page {

    padding-top: 6px;

  }

  .catalog-page .catalog-discovery {

    margin-bottom: 6px;

  }

  .catalog-page .catalog-results,

  .catalog-page .catalog-toolbar__controls,

  .catalog-page .catalog-toolbar__controls > *,

  .catalog-page .atlas-catalog-layout,

  .catalog-page .atlas-filter-panel {

    background-color: #fff;

  }

  .catalog-page .catalog-toolbar__controls {

    position: relative;

    z-index: 60;

    grid-template-columns: minmax(135px, .9fr) minmax(0, 1.25fr);

    width: 100%;

    min-height: 54px;

    margin: 4px 0 6px;

    padding: 0;

    border: 0;

    border-top: 1px solid #e3e7ec;

    border-bottom: 1px solid #e3e7ec;

    border-radius: 0;

    background: #fff;

  }

  .catalog-page .catalog-toolbar__controls,

  .catalog-page .catalog-toolbar__controls .atlas-catalog-mobile-filter,

  .catalog-page .catalog-toolbar__controls .woocommerce-ordering,

  .catalog-page .catalog-toolbar__controls .atlas-sort,

  .catalog-page .catalog-toolbar__controls .atlas-sort__trigger,

  .catalog-page .catalog-toolbar__controls .atlas-catalog-mobile-filter:hover,

  .catalog-page .catalog-toolbar__controls .atlas-catalog-mobile-filter:focus,

  .catalog-page .catalog-toolbar__controls .atlas-catalog-mobile-filter:active,

  .catalog-page .catalog-toolbar__controls .atlas-sort__trigger:hover,

  .catalog-page .catalog-toolbar__controls .atlas-sort__trigger:focus,

  .catalog-page .catalog-toolbar__controls .atlas-sort__trigger:active {

    background-color: #fff !important;

    background-image: none !important;

    box-shadow: none !important;

  }

  .catalog-page .catalog-toolbar__controls button.atlas-catalog-mobile-filter,

  .catalog-page .catalog-toolbar__controls button.atlas-sort__trigger {

    -webkit-appearance: none;

    appearance: none;

    border-radius: 0;

  }

  .catalog-page .catalog-toolbar__controls::before {

    display: none;

  }

  .catalog-page .catalog-toolbar__controls .atlas-catalog-mobile-filter {

    justify-content: flex-start;

    gap: 9px;

    min-height: 52px;

    padding: 0 10px 0 16px;

    color: #111827;

    font-size: 14px;

    font-weight: 500;

    line-height: 1;

  }

  .catalog-page .atlas-catalog-mobile-filter__icon {

    width: 22px;

    height: 22px;

    flex-basis: 22px;

    background: #111827;

    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round'%3E%3Cpath d='M4 6h5m4 0h7M4 12h10m4 0h2M4 18h2m4 0h10'/%3E%3Ccircle cx='11' cy='6' r='2'/%3E%3Ccircle cx='16' cy='12' r='2'/%3E%3Ccircle cx='8' cy='18' r='2'/%3E%3C/svg%3E") center / contain no-repeat;

    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round'%3E%3Cpath d='M4 6h5m4 0h7M4 12h10m4 0h2M4 18h2m4 0h10'/%3E%3Ccircle cx='11' cy='6' r='2'/%3E%3Ccircle cx='16' cy='12' r='2'/%3E%3Ccircle cx='8' cy='18' r='2'/%3E%3C/svg%3E") center / contain no-repeat;

  }

  .catalog-page .atlas-catalog-mobile-filter__icon::before { display: none; }

  .catalog-page .atlas-catalog-mobile-filter__count {

    width: 22px;

    height: 22px;

    flex-basis: 22px;

    font-size: 12px;

    font-weight: 700;

  }

  .catalog-page .catalog-toolbar__controls .woocommerce-ordering,

  .catalog-page .catalog-toolbar__controls .atlas-sort,

  .catalog-page .catalog-toolbar__controls .atlas-sort__trigger { min-height: 52px; }

  .catalog-page .catalog-toolbar__controls .atlas-sort__trigger {

    justify-content: flex-end;

    gap: 8px;

    padding: 0 34px 0 8px;

    color: #111827;

    background: #fff !important;

    font-size: 14px;

    font-weight: 500;

    line-height: 1;

  }

  .catalog-page .catalog-toolbar__controls .atlas-sort__icon {

    display: none;

  }

  .catalog-page .catalog-toolbar__controls .atlas-sort__icon::before,

  .catalog-page .catalog-toolbar__controls .atlas-sort__icon::after { display: none; }

  .catalog-page .catalog-toolbar__controls .atlas-sort__trigger > span:not(.atlas-sort__icon)::before {

    content: attr(data-mobile-prefix) attr(data-mobile-label);

    font-size: 14px;

    font-weight: 500;

  }

  .catalog-page .catalog-toolbar__controls .atlas-sort__trigger > span:not(.atlas-sort__icon) {

    min-width: 0;

    max-width: 100%;

    overflow-wrap: anywhere;

  }

  .catalog-page .catalog-toolbar__controls .atlas-sort__trigger::after {

    right: 16px;

    width: 8px;

    height: 8px;

  }

  .catalog-results .atlas-filter-panel {

    margin-bottom: 0;

  }

  .catalog-results .atlas-catalog-products { background: #f0f2f5; }

  .catalog-results .atlas-catalog-products > ul.products,

  .catalog-results ul.products {

    box-sizing: border-box;

    gap: 5px !important;

    margin: 0 !important;

    padding: 5px !important;

    background: #f0f2f5 !important;

  }

  .catalog-results ul.products > li.product.atlas-product-card,

  .catalog-results ul.products > li.product {

    margin: 0 !important;

    border: 0 !important;

    overflow: hidden;

    border-radius: 10px !important;

    background: #fff !important;

    box-shadow: none !important;

  }

  :is(.term-boilery, .woocommerce-shop) .catalog-results .product-card-gallery--catalog {

    margin-top: 8px;

  }

  .term-boilery .catalog-page .catalog-toolbar__controls,

  .term-boilery .catalog-page .catalog-toolbar__controls .atlas-catalog-mobile-filter,

  .term-boilery .catalog-page .catalog-toolbar__controls .woocommerce-ordering,

  .term-boilery .catalog-page .catalog-toolbar__controls .atlas-sort,

  .term-boilery .catalog-page .catalog-toolbar__controls .atlas-sort__trigger {

    background: #fff !important;

    background-image: none !important;

    box-shadow: none !important;

  }

  .term-boilery .catalog-results .atlas-catalog-products {

    padding-bottom: 10px;

  }

  .term-boilery .catalog-results :is(.atlas-catalog-page-links, .woocommerce-pagination) {

    margin-bottom: 0;

  }

  .term-boilery .catalog-results .atlas-category-seo-text {

    margin-top: 12px;

  }

  .term-boilery main.catalog-page {

    padding-bottom: 4px;

  }

  .term-boilery .site-footer {

    padding-top: 4px;

    border-top: 0;

  }

  .term-boilery .site-footer .footer-consultation::before {

    display: none;

  }

  .woocommerce .catalog-page .catalog-toolbar__controls button.atlas-catalog-mobile-filter {

    background: #fff !important;

    box-shadow: none !important;

  }

}



/* Keep catalog cards visually separated on larger layouts, matching mobile. */

@media (min-width: 768px) {

  .catalog-results .atlas-catalog-products {

    background: #f0f2f5;

  }



  .catalog-results .atlas-catalog-products > ul.products,

  .catalog-results ul.products {

    box-sizing: border-box;

    gap: 5px !important;

    margin: 0 !important;

    padding: 5px !important;

    background: #f0f2f5 !important;

  }



  .catalog-results ul.products > li.product.atlas-product-card,

  .catalog-results ul.products > li.product {

    margin: 0 !important;

    overflow: hidden;

    border: 0 !important;

    border-radius: 10px !important;

    background: #fff !important;

    box-shadow: none !important;

  }



  :where(body:not(.theme-atlas-storefront)) .catalog-results ul.products > li.product.atlas-product-card:has(:focus-visible),

  :where(body:not(.theme-atlas-storefront)) .catalog-results .atlas-product-grid .atlas-product-card:has(:focus-visible) {

    box-shadow: 0 0 0 2px rgba(227, 6, 19, .3), 0 10px 28px rgba(15, 23, 42, .08) !important;

  }

}



@media (min-width: 768px) and (hover: hover) and (pointer: fine) {

  .catalog-results ul.products > li.product.atlas-product-card:hover,

  .catalog-results .atlas-product-grid .atlas-product-card:hover {

    box-shadow: 0 0 0 1px var(--atlas-product-card-hover-ring, rgba(227, 6, 19, .38)), 0 12px 30px rgba(15, 23, 42, .1) !important;

    transform: translateY(-2px);

  }

}



/* Enlargement belongs only to boiler categories. Mixed catalogues use the

 * shared contain sizing, as wide products must fit inside their card. */

:is(.term-boilery, .term-storage-water-heaters) .catalog-results .atlas-product-card__image img,

:is(.term-boilery, .term-storage-water-heaters) .catalog-results .product-card-gallery--catalog img {

  object-fit: contain !important;

  object-position: center !important;

  scale: 1.4;

}



/* Scale square boiler sources continuously on desktop. The image stage stays

 * fixed while the image itself eases from the safe compact size to the

 * original large presentation as the actual card width grows. */

@media (min-width: 1101px) {

  .catalog-results .atlas-catalog-products,

  .catalog-results .atlas-catalog-products > ul.products {

    border-radius: 10px 10px 0 0;

  }



  :is(.term-boilery, .term-storage-water-heaters) .catalog-results .atlas-product-card {

    container-type: inline-size;

  }



  :is(.term-boilery, .term-storage-water-heaters) .catalog-results .atlas-product-card__image img,

  :is(.term-boilery, .term-storage-water-heaters) .catalog-results .product-card-gallery--catalog img {

    inset: auto !important;

    top: 50% !important;

    left: 50% !important;

    width: clamp(280px, calc(170cqw - 72px), 330px) !important;

    height: clamp(280px, calc(170cqw - 72px), 330px) !important;

    max-width: none !important;

    max-height: none !important;

    translate: -50% -50%;

  }

}



/* Availability replaces the price with a readable, quiet status badge. */

html body :is(.atlas-product-card,.mobile-product-card) .atlas-product-card__catalog-price-value--status {

 display:flex !important; align-items:center; width:calc(100% - 52px) !important;

 max-width:none !important; min-height:44px; padding:0 !important;

 white-space:normal; overflow:visible; text-align:left;

}

html body .atlas-product-status {

 display:inline-flex; align-items:center; justify-content:center; box-sizing:border-box;

 max-width:100%; padding:7px 10px; border:1px solid #e0e5eb; border-radius:7px;

 background:#f2f4f7; color:#596579; font-size:12px; font-weight:600;

 line-height:1.35; white-space:normal; text-align:center;

}

html body .atlas-product-status--unavailable { background:#f0f5fa; border-color:#dce6f0; color:#526b86; }

html body .atlas-product-status--pending { background:#fff7e9; border-color:#f2e2c3; color:#886325; }

@media(max-width:767px) {

 html body :is(.atlas-product-card,.mobile-product-card) .atlas-product-card__catalog-price-value--status { width:calc(100% - 46px) !important; }

 html body .atlas-product-status { padding:6px 7px; font-size:10px; border-radius:6px; }

}



/* Approved compact status row: the details control never grows over its label. */

html body .atlas-product-status { width:100%; min-height:44px; }

html body .atlas-product-status--unavailable { background:#f0f4f9; border-color:#e0e7ef; color:#526176; }

html body .atlas-product-status--discontinued { background:#fff6ea; border-color:#f3e6d4; color:#885019; }

html body .atlas-product-status--pending { background:#f3f0fc; border-color:#e7e1f6; color:#514588; }

html body :is(.atlas-product-card,.mobile-product-card):has(.atlas-product-status) :is(.atlas-product-card__action .button,.mobile-product-card__action) {

 width:44px !important; min-width:44px !important; max-width:44px !important;

 height:44px !important; min-height:44px !important; gap:0 !important;

 font-size:0 !important; padding:0 11px !important; background-image:none !important;

 transition:background-color .18s ease,box-shadow .18s ease !important;

}

@media(max-width:767px) {

 html body :is(.atlas-product-card,.mobile-product-card) .atlas-product-card__catalog-price-value--status { width:calc(100% - 52px) !important; }

 html body .atlas-product-status { padding:6px; font-size:11px; }

}



html body :is(.atlas-product-card,.mobile-product-card):has(.atlas-product-status) :is(.atlas-product-card__action .button,.mobile-product-card__action):is(:hover,:focus-visible) {

 background-color:#fff5f5 !important; --atlas-action-icon-color:#e30613;

}



.atlas-catalog-load-more__error { display:block; max-width:420px; margin:10px auto 0; color:#8a3440; font-size:13px; line-height:1.5; text-align:center; }

/* Move cards without transforming their image rendering layer. */

html body .atlas-product-card,

html body .atlas-product-card:hover {

  transform: none !important;

}

@media (hover: hover) and (pointer: fine) {

  html body .atlas-product-card {

    position: relative;

    top: 0;

    transition: top .2s ease, box-shadow .2s ease, border-color .2s ease;

  }

  html body .atlas-product-card:hover {

    top: -3px;

    overflow: visible !important;

  }

  /* Keep the vacated bottom edge inside the hover target while lifted. */

  html body .atlas-product-card:hover::after {

    content: "";

    position: absolute;

    left: 0;

    right: 0;

    top: 100%;

    height: 4px;

    background: transparent;

    pointer-events: auto;

  }

}

@media (prefers-reduced-motion: reduce) {

  html body .atlas-product-card {

    transition: none;

  }

}

html body .atlas-product-card__image img {

  mix-blend-mode: normal;

}



/* A stationary pointer must not repaint card and compare contours while the

 * document is moving underneath it. Hover returns on the next real pointer

 * movement, while keyboard focus remains visible throughout. */

@media (hover: hover) and (pointer: fine) {

  html.atlas-catalog-scroll-suppressed body:is(.post-type-archive-product, .tax-product_cat, .search-results)

    .catalog-results .atlas-product-card:hover:not(:has(:focus-visible)) {

    z-index: auto !important;

    top: 0 !important;

    overflow: hidden !important;

    border-color: transparent !important;

    box-shadow: none !important;

    transition: none !important;

  }



  html.atlas-catalog-scroll-suppressed body:is(.post-type-archive-product, .tax-product_cat, .search-results)

    .catalog-results :is(.atlas-product-card__favorite, .atlas-product-card__compare):hover:not(.is-active):not(:focus-visible) {

    background: transparent !important;

    color: #27303d !important;

  }

}



@media (max-width: 767px) {

  .catalog-page .catalog-toolbar__controls .atlas-sort__trigger > span:not(.atlas-sort__icon) {

    white-space: normal;

    overflow: visible;

    text-overflow: clip;

  }

  .catalog-page .catalog-toolbar__controls .atlas-sort__trigger > span:not(.atlas-sort__icon)::before {

    content: attr(data-mobile-label);

    white-space: normal;

    line-height: 1.35;

  }

}



@media (max-width:767px) {

 html body .mobile-product-card .mobile-product-card__price .atlas-product-card__catalog-price-value--status {

   width:100% !important; min-width:0; box-sizing:border-box;

 }

}



/* A short unfiltered catalogue keeps its normal card widths, but paints only

 * the occupied columns. Filtered/search grids already have transparent frames.

 * The 5px outer padding and gap match the catalogue frame defined above. */

.catalog-results > ul.products {

  --atlas-frame-columns: 3;

}

@media (max-width: 899px) {

  .catalog-results > ul.products { --atlas-frame-columns: 2; }

}

@media (min-width: 1200px) {

  .catalog-results > ul.products { --atlas-frame-columns: 4; }

}

@media (min-width: 1280px) {

  html[data-atlas-catalog-columns="5"] .catalog-results > ul.products,

  .catalog-results.catalog-results--fixed-five > ul.products { --atlas-frame-columns: 5; }

}

.catalog-results > ul.products:has(> li.product:only-child) { --atlas-frame-items: 1; }

.catalog-results > ul.products:has(> li.product:nth-child(2):last-child) { --atlas-frame-items: 2; }

.catalog-results > ul.products:has(> li.product:nth-child(3):last-child) { --atlas-frame-items: 3; }

.catalog-results > ul.products:has(> li.product:nth-child(4):last-child) { --atlas-frame-items: 4; }

.catalog-results > ul.products:has(> li.product):not(:has(> :not(li.product))):not(:has(> :nth-child(5))) {

  background: linear-gradient(#f0f2f5, #f0f2f5) left top /

    calc((100% - 5px) / var(--atlas-frame-columns) * min(var(--atlas-frame-items), var(--atlas-frame-columns)) + 5px)

    100% no-repeat !important;

}



/* Atlantic spare parts: equal row height and a stable bottom purchase row. */

body.single-product:not(.ariston-product-layout) :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent).catalog-results > ul.products{align-items:stretch!important}

body.single-product:not(.ariston-product-layout) :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent).catalog-results > ul.products > li.product.atlas-product-card{display:flex!important;flex-direction:column!important;align-self:stretch!important;height:auto!important}

body.single-product:not(.ariston-product-layout) :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent) .atlas-product-card__main{display:flex!important;flex-direction:column!important;flex:1 1 auto!important}

body.single-product:not(.ariston-product-layout) :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent) .atlas-product-card__title{min-height:2.8em;line-height:1.4}

body.single-product:not(.ariston-product-layout) :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent) .atlas-product-card__price{margin-top:auto!important;min-height:58px;display:flex;align-items:flex-end;padding-bottom:0}

body.single-product:not(.ariston-product-layout) :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent) .atlas-product-card__action{bottom:18px!important}

/* Align unavailable labels with the homepage's 44px details control. */

@media(min-width:768px){

html body.home:not(.ariston-home-v5) .mobile-product-card .atlas-product-card__catalog-price-value--status{position:static!important;inset:auto!important;width:calc(100% - 56px)!important;min-height:56px;margin:0!important}

html body.home:not(.ariston-home-v5) .mobile-product-card:has(.atlas-product-status) .mobile-product-card__price{min-height:44px}

}

/* Atlantic catalog: soft outer panels and comfortable filter heading spacing. */

html body:not(.ariston-catalog-v5) :is(.atlas-boiler-landings,.catalog-selection-cta){border:1px solid #f0f1f3!important;border-radius:14px!important;box-shadow:0 8px 30px rgba(25,39,56,.075)!important}

html body:not(.ariston-catalog-v5) .atlas-filter-panel__heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px!important;min-height:60px;box-sizing:border-box}

html body:not(.ariston-catalog-v5) .atlas-filter-panel__heading h2{margin:0!important;line-height:1.3}

html body:not(.ariston-catalog-v5) .atlas-filter-panel__heading>a{flex-shrink:0;line-height:1.4;padding:6px 0;white-space:nowrap}

/* Compact Atlantic accessory cards: do not reserve catalogue-height whitespace. */

@media (max-width:767px) {

 body.single-product:not(.ariston-product-layout) :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent).catalog-results > ul.products > li.product.atlas-product-card {min-height:0!important}

 body.single-product:not(.ariston-product-layout) :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent) .atlas-product-card__main {flex:0 0 auto!important;height:auto!important}

 body.single-product:not(.ariston-product-layout) :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent) .atlas-product-card__price {margin-top:8px!important;padding-top:0!important;min-height:44px;align-items:center}

}


/* Ariston accessory rows share the same purchase layout in every stock state. */
body.ariston-product-layout :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent) .ar-card-buybar{display:grid!important;grid-template-columns:minmax(0,1fr) 44px!important;align-items:center!important;gap:8px!important;min-height:56px!important;margin-top:auto!important}
body.ariston-product-layout :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent) .ar-card-buybar .atlas-product-card__price{width:auto!important;min-width:0!important;margin:0!important;padding:0!important}
body.ariston-product-layout :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent) .ar-card-buybar .atlas-product-card__catalog-price-value{width:100%!important;padding:0!important;min-height:44px!important;white-space:normal!important}
body.ariston-product-layout :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent) .ar-card-buybar .atlas-product-status{width:auto!important;min-height:0!important;white-space:normal!important;text-align:center;line-height:1.3;padding:5px!important;font-size:11px!important}
body.ariston-product-layout :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent) .ar-card-buybar .atlas-product-card__action{position:static!important;width:44px!important;margin:0!important;align-self:center!important}
body.ariston-product-layout :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent) .ar-card-buybar .atlas-product-card__action .button{width:44px!important;min-width:44px!important;height:44px!important;padding:0!important}

/* Ariston accessory rows share the same purchase layout in every stock state. */
body.ariston-product-layout :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent) .ar-card-buybar{display:grid!important;grid-template-columns:minmax(0,1fr) 44px!important;align-items:center!important;gap:8px!important;min-height:56px!important;margin-top:auto!important}
body.ariston-product-layout :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent) .ar-card-buybar .atlas-product-card__price{grid-column:1!important;grid-row:1!important;width:auto!important;min-width:0!important;margin:0!important;padding:0!important}
body.ariston-product-layout :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent) .ar-card-buybar .atlas-product-card__catalog-price-value{width:100%!important;padding:0!important;min-height:44px!important;white-space:normal!important}
body.ariston-product-layout :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent) .ar-card-buybar .atlas-product-status{width:auto!important;min-height:0!important;white-space:normal!important;text-align:center;line-height:1.3;padding:5px!important;font-size:11px!important}
body.ariston-product-layout :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent) .ar-card-buybar .atlas-product-card__action{grid-column:2!important;grid-row:1!important;height:44px!important;position:static!important;width:44px!important;margin:0!important;align-self:center!important}
body.ariston-product-layout :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent) .ar-card-buybar .atlas-product-card__action .button{width:44px!important;min-width:44px!important;height:44px!important;padding:0!important}

/* Ariston accessory rows share the same purchase layout in every stock state. */
body.ariston-product-layout :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent) .ar-card-buybar{display:grid!important;grid-template-columns:minmax(0,1fr) 44px!important;align-items:center!important;gap:8px!important;height:76px!important;min-height:76px!important;grid-template-rows:44px!important;align-content:center!important;margin-top:auto!important}
body.ariston-product-layout :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent) .ar-card-buybar .atlas-product-card__price{grid-column:1!important;grid-row:1!important;width:auto!important;min-width:0!important;margin:0!important;padding:0!important}
body.ariston-product-layout :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent) .ar-card-buybar .atlas-product-card__catalog-price-value{width:100%!important;padding:0!important;min-height:44px!important;white-space:normal!important}
body.ariston-product-layout :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent) .ar-card-buybar .atlas-product-status{width:auto!important;min-height:0!important;white-space:normal!important;text-align:center;line-height:1.3;padding:5px!important;font-size:11px!important}
body.ariston-product-layout :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent) .ar-card-buybar .atlas-product-card__action{grid-column:2!important;grid-row:1!important;height:44px!important;position:static!important;width:44px!important;margin:0!important;align-self:center!important}
body.ariston-product-layout :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent) .ar-card-buybar .atlas-product-card__action .button{width:44px!important;min-width:44px!important;height:44px!important;padding:0!important}

/* Ariston accessory rows share the same purchase layout in every stock state. */
html body.ariston-product-layout :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent) .ar-card-buybar{display:grid!important;grid-template-columns:minmax(0,1fr) 44px!important;align-items:center!important;gap:8px!important;height:76px!important;min-height:76px!important;grid-template-rows:44px!important;align-content:center!important;margin-top:auto!important}
html body.ariston-product-layout :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent) .ar-card-buybar .atlas-product-card__price{grid-column:1!important;grid-row:1!important;width:auto!important;min-width:0!important;margin:0!important;padding:0!important}
html body.ariston-product-layout :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent) .ar-card-buybar .atlas-product-card__catalog-price-value{width:100%!important;padding:0!important;min-height:44px!important;white-space:normal!important}
html body.ariston-product-layout :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent) .ar-card-buybar .atlas-product-status{width:auto!important;min-height:0!important;white-space:normal!important;text-align:center;line-height:1.3;padding:5px!important;font-size:11px!important}
html body.ariston-product-layout :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent) .ar-card-buybar .atlas-product-card__action{grid-column:2!important;grid-row:1!important;height:44px!important;position:static!important;width:44px!important;margin:0!important;align-self:center!important}
html body.ariston-product-layout :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent) .ar-card-buybar .atlas-product-card__action .button{width:44px!important;min-width:44px!important;height:44px!important;padding:0!important}

/* Ariston accessory rows share the same purchase layout in every stock state. */
html body.ariston-product-layout :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent):is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent) .ar-card-buybar{display:grid!important;grid-template-columns:minmax(0,1fr) 44px!important;align-items:center!important;gap:8px!important;height:76px!important;min-height:76px!important;grid-template-rows:44px!important;align-content:center!important;margin-top:auto!important}
html body.ariston-product-layout :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent):is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent) .ar-card-buybar .atlas-product-card__price{grid-column:1!important;grid-row:1!important;width:auto!important;min-width:0!important;margin:0!important;padding:0!important}
html body.ariston-product-layout :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent):is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent) .ar-card-buybar .atlas-product-card__catalog-price-value{width:100%!important;padding:0!important;min-height:44px!important;white-space:normal!important}
html body.ariston-product-layout :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent):is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent) .ar-card-buybar .atlas-product-status{width:auto!important;min-height:0!important;white-space:normal!important;text-align:center;line-height:1.3;padding:5px!important;font-size:11px!important}
html body.ariston-product-layout :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent):is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent) .ar-card-buybar .atlas-product-card__action{grid-column:2!important;grid-row:1!important;height:44px!important;position:static!important;width:44px!important;margin:0!important;align-self:center!important}
html body.ariston-product-layout :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent):is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent) .ar-card-buybar .atlas-product-card__action .button{width:44px!important;min-width:44px!important;height:44px!important;padding:0!important}

/* Atlantic accessories: status and eye share the same 44px purchase baseline. */
html body.single-product:not(.ariston-product-layout) :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent) .atlas-product-card:has(.atlas-product-status) .atlas-product-card__catalog-price-value--status{position:absolute!important;left:12px!important;right:64px!important;bottom:18px!important;width:auto!important;height:44px!important;min-height:44px!important;margin:0!important;padding:0!important;display:flex!important;align-items:center!important}
html body.single-product:not(.ariston-product-layout) :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent) .atlas-product-card:has(.atlas-product-status) .atlas-product-status{height:44px!important;min-height:44px!important;box-sizing:border-box!important}
html body.single-product:not(.ariston-product-layout) :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent) .atlas-product-card:has(.atlas-product-status) .atlas-product-card__action{position:absolute!important;right:12px!important;bottom:18px!important;height:44px!important;margin:0!important}

/* Atlantic mobile accessories: one compact price/action row. */
@media(max-width:767px){
html body.single-product:not(.ariston-product-layout) :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent):is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent) .atlas-product-card{padding-bottom:14px!important;min-height:0!important}
html body.single-product:not(.ariston-product-layout) :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent):is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent) .atlas-product-card__main{flex:1 1 auto!important}
html body.single-product:not(.ariston-product-layout) :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent):is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent) .atlas-product-card__price{margin-top:auto!important;padding-top:8px!important;padding-right:52px!important;min-height:52px!important;box-sizing:border-box!important;align-items:center!important}
html body.single-product:not(.ariston-product-layout) :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent):is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent) .atlas-product-card__action{position:absolute!important;right:10px!important;bottom:14px!important;width:44px!important;height:44px!important;margin:0!important}
html body.single-product:not(.ariston-product-layout) :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent):is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent) .atlas-product-card__action .button{width:44px!important;min-width:44px!important;height:44px!important;padding:0!important}
html body.single-product:not(.ariston-product-layout) :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent):is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent) .atlas-product-card__catalog-price-value--status{bottom:14px!important;left:10px!important;right:62px!important}
}

/* Atlantic mobile accessories: one compact price/action row. */
@media(max-width:767px){
html body.single-product:not(.ariston-product-layout) :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent):is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent) .atlas-product-card{padding-bottom:14px!important;min-height:0!important}
html body.single-product:not(.ariston-product-layout) :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent):is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent) .atlas-product-card__main{flex:1 1 auto!important;padding-bottom:52px!important}
html body.single-product:not(.ariston-product-layout) :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent):is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent) .atlas-product-card__price{position:absolute!important;bottom:14px!important;left:10px!important;right:62px!important;width:auto!important;height:44px!important;min-height:44px!important;margin:0!important;padding:0!important;display:flex!important;align-items:center!important}
html body.single-product:not(.ariston-product-layout) :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent):is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent) .atlas-product-card__action{position:absolute!important;right:10px!important;bottom:14px!important;width:44px!important;height:44px!important;margin:0!important}
html body.single-product:not(.ariston-product-layout) :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent):is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent) .atlas-product-card__action .button{width:44px!important;min-width:44px!important;height:44px!important;padding:0!important}
html body.single-product:not(.ariston-product-layout) :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent):is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent) .atlas-product-card__catalog-price-value--status{bottom:14px!important;left:10px!important;right:62px!important}
}

/* Atlantic mobile accessories: one compact price/action row. */
@media(max-width:767px){
html body.single-product:not(.ariston-product-layout) :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent):is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent) .atlas-product-card{padding-bottom:14px!important;min-height:0!important}
html body.single-product:not(.ariston-product-layout) :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent):is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent) .atlas-product-card__main{flex:1 1 auto!important;padding-bottom:52px!important}
html body.single-product:not(.ariston-product-layout) :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent):is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent) .atlas-product-card__price{position:absolute!important;bottom:14px!important;left:10px!important;right:62px!important;width:auto!important;height:44px!important;min-height:44px!important;margin:0!important;padding:0!important;display:flex!important;align-items:center!important}
html body.single-product:not(.ariston-product-layout) :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent):is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent) .atlas-product-card__action{position:absolute!important;right:10px!important;bottom:14px!important;width:44px!important;height:44px!important;margin:0!important}
html body.single-product:not(.ariston-product-layout) :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent):is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent) .atlas-product-card__action .button{width:44px!important;min-width:44px!important;height:44px!important;padding:0!important}
html body.single-product:not(.ariston-product-layout) :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent):is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent) .atlas-product-card__catalog-price-value--status{position:static!important;width:100%!important;height:44px!important;margin:0!important}
}

/* Center icon-only accessory controls after compact mobile sizing. */
@media(max-width:767px){
html body.single-product:not(.ariston-product-layout) :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent):is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent) .atlas-product-card__action .button{justify-content:center!important;align-items:center!important;padding:0!important;gap:0!important}
}

/* Keep Atlantic mobile delivery price in its own unbroken right column. */
@media(max-width:600px){
body.atlas-standard-product-page:not(.ariston-product-layout) .atlas-product-fulfilment__delivery-list .atlas-delivery-row{display:grid;grid-template-columns:28px minmax(0,1fr) auto;gap:6px;padding:10px 8px}
body.atlas-standard-product-page:not(.ariston-product-layout) .atlas-delivery-row .atlas-delivery-method-icon{width:28px;height:28px}
body.atlas-standard-product-page:not(.ariston-product-layout) .atlas-delivery-row .atlas-product-fulfilment__method{min-width:0;max-width:none;font-size:12px;line-height:1.3}
body.atlas-standard-product-page:not(.ariston-product-layout) .atlas-delivery-row .atlas-product-fulfilment__cost{grid-column:3;grid-row:1;min-width:0;max-width:none;margin:0;white-space:nowrap;font-size:12px;padding:6px}
}

/* Atlantic home uses the same resting eye and expanding view action as catalogs. */
@media(min-width:768px){
html body.home:not(.ariston-home-v5) .mobile-product-card:has(.atlas-product-status) .atlas-product-card__action{width:132px!important;display:flex!important;justify-content:flex-end!important}
html body.home:not(.ariston-home-v5) .mobile-product-card .atlas-product-card__catalog-price-value--status{max-width:calc(100% - 144px)!important;min-width:0!important;padding-right:0!important}
}

@media(min-width:768px){html body.home.home:not(.ariston-home-v5) .mobile-product-card .atlas-product-card__catalog-price-value--status{width:130px!important;max-width:min(130px,calc(100% - 150px))!important}.home:not(.ariston-home-v5) .mobile-product-card .atlas-product-status{width:auto!important;min-width:0!important;white-space:normal!important}}

/* Atlantic accessory price/status row: one reserved row below the entire title. */
html body.single-product:not(.ariston-product-layout) :is(#atlas-accessories,#atlas-companions,#atlas-similar-models):is(#atlas-accessories,#atlas-companions,#atlas-similar-models) .atlas-product-card__main{flex:0 0 auto!important;height:auto!important;min-height:0!important;padding-bottom:58px!important}
html body.single-product:not(.ariston-product-layout) :is(#atlas-accessories,#atlas-companions,#atlas-similar-models):is(#atlas-accessories,#atlas-companions,#atlas-similar-models) .atlas-product-card__price{position:absolute!important;left:14px!important;right:66px!important;bottom:12px!important;width:auto!important;max-width:none!important;height:44px!important;min-height:44px!important;margin:0!important;padding:0!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;transform:none!important}
html body.single-product:not(.ariston-product-layout) :is(#atlas-accessories,#atlas-companions,#atlas-similar-models):is(#atlas-accessories,#atlas-companions,#atlas-similar-models) .atlas-product-card__catalog-price-value--status{position:static!important;inset:auto!important;transform:none!important;display:flex!important;align-items:center!important;width:auto!important;max-width:100%!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important}
html body.single-product:not(.ariston-product-layout) :is(#atlas-accessories,#atlas-companions,#atlas-similar-models):is(#atlas-accessories,#atlas-companions,#atlas-similar-models) .atlas-product-status{position:static!important;inset:auto!important;transform:none!important;max-width:100%!important;margin:0!important;white-space:normal!important;line-height:1.2!important}
html body.single-product:not(.ariston-product-layout) :is(#atlas-accessories,#atlas-companions,#atlas-similar-models):is(#atlas-accessories,#atlas-companions,#atlas-similar-models) .atlas-product-card__action{bottom:12px!important;right:14px!important;height:44px!important;display:flex!important;align-items:center!important}

/* Atlantic accessory details action follows the same geometry as Buy. */
@media(min-width:768px) and (hover:hover) and (pointer:fine){
html body.single-product:not(.ariston-product-layout) :is(#atlas-accessories,#atlas-companions,#atlas-similar-models):is(#atlas-accessories,#atlas-companions,#atlas-similar-models) .atlas-product-card .atlas-product-card__action .button:not(.add_to_cart_button):is(:hover,:focus-visible){width:108px!important;min-width:108px!important;max-width:108px!important;height:44px!important;padding:0 6px!important;gap:4px!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:11px!important;font-weight:700!important;border:1px solid #d4000c!important;border-radius:8px!important;background:#e30613!important;color:#fff!important}
html body.single-product:not(.ariston-product-layout) :is(#atlas-accessories,#atlas-companions,#atlas-similar-models):is(#atlas-accessories,#atlas-companions,#atlas-similar-models) .atlas-product-card .atlas-product-card__action .button:not(.add_to_cart_button):is(:hover,:focus-visible)::before{display:block!important;width:16px!important;height:16px!important;flex:0 0 16px!important;background:#fff!important}
html body.single-product:not(.ariston-product-layout) :is(#atlas-accessories,#atlas-companions,#atlas-similar-models):is(#atlas-accessories,#atlas-companions,#atlas-similar-models) .atlas-product-card:has(.atlas-product-card__action .button:not(.add_to_cart_button):is(:hover,:focus-visible)):has(.atlas-product-status) .atlas-product-card__price{right:130px!important}
}

/* Confirmed basket quantity, shared by accessory and recent product cards. */
html body.single-product.single-product :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent,#atlas-similar):is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent,#atlas-similar):is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent,#atlas-similar) .atlas-product-card__action:has(.add_to_cart_button.added){width:148px!important;min-width:148px!important;max-width:148px!important;flex-basis:148px!important;height:44px!important}
html body.single-product.single-product :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent,#atlas-similar):is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent,#atlas-similar):is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent,#atlas-similar) .atlas-product-card__action .button.add_to_cart_button.added{display:flex!important;align-items:center!important;justify-content:center!important;width:148px!important;min-width:148px!important;max-width:148px!important;height:44px!important;min-height:44px!important;padding:0 8px!important;gap:7px!important;background:#fff!important;background-image:none!important;color:#d90831!important;border:1px solid #d90831!important;border-radius:8px!important;font-size:0!important;line-height:1!important;box-shadow:none!important;white-space:nowrap!important}
html body.single-product.single-product :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent,#atlas-similar):is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent,#atlas-similar):is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent,#atlas-similar) .atlas-product-card__action .button.add_to_cart_button.added::after{display:block!important;content:"У кошику · " attr(data-atlas-cart-quantity) " шт."!important;font-size:12px!important;line-height:1.2!important;font-weight:600!important;position:static!important;transform:none!important;opacity:1!important;width:auto!important;height:auto!important;margin:0!important;background:none!important;mask:none!important}
html body.single-product.single-product :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent,#atlas-similar):is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent,#atlas-similar):is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent,#atlas-similar) .atlas-product-card__action .button.add_to_cart_button.added::before{display:block!important;content:"✓"!important;font-size:17px!important;line-height:1!important;width:16px!important;height:18px!important;flex:0 0 16px!important;position:static!important;inset:auto!important;transform:none!important;margin:0!important;background:none!important;mask:none!important;-webkit-mask:none!important}
html body.single-product.single-product :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent,#atlas-similar):is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent,#atlas-similar):is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent,#atlas-similar) .ar-card-buybar:has(.added){grid-template-columns:minmax(0,1fr) auto!important;gap:6px!important}
html body.single-product.single-product :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent,#atlas-similar):is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent,#atlas-similar):is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent,#atlas-similar):not(.ar-product-accessories) .atlas-product-card:has(.added) .atlas-product-card__price{min-width:0!important}
html body.single-product:not(.ariston-product-layout) :is(#atlas-accessories,#atlas-companions,#atlas-similar-models):is(#atlas-accessories,#atlas-companions,#atlas-similar-models) .atlas-product-card:has(.added) .atlas-product-card__price{right:168px!important}
@media(max-width:767px){
html body.single-product.single-product :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent,#atlas-similar):is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent,#atlas-similar):is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent,#atlas-similar) .ar-card-buybar:has(.added){grid-template-columns:1fr!important}
html body.single-product.single-product :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent,#atlas-similar):is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent,#atlas-similar):is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent,#atlas-similar) .atlas-product-card__action:has(.add_to_cart_button.added){grid-column:1!important;justify-self:end!important;width:100%!important;min-width:0!important;max-width:148px!important}
html body.single-product.single-product :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent,#atlas-similar):is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent,#atlas-similar):is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent,#atlas-similar) .atlas-product-card__action .button.add_to_cart_button.added{width:100%!important;min-width:0!important;max-width:148px!important;font-size:0!important}
html body.single-product:not(.ariston-product-layout) :is(#atlas-accessories,#atlas-companions,#atlas-similar-models):is(#atlas-accessories,#atlas-companions,#atlas-similar-models) .atlas-product-card:has(.added) .atlas-product-card__main{padding-bottom:100px!important}
html body.single-product:not(.ariston-product-layout) :is(#atlas-accessories,#atlas-companions,#atlas-similar-models):is(#atlas-accessories,#atlas-companions,#atlas-similar-models) .atlas-product-card:has(.added) .atlas-product-card__price{bottom:62px!important;right:14px!important;height:28px!important;min-height:28px!important}
html body.single-product.single-product :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent,#atlas-similar):is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent,#atlas-similar):is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent,#atlas-similar) .atlas-product-card:has(.added) .atlas-product-card__action{left:10px!important;right:10px!important;width:auto!important;max-width:none!important}
}
html body.single-product.single-product :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent,#atlas-similar):is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent,#atlas-similar):is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent,#atlas-similar) .atlas-product-card__action .button.add_to_cart_button.added::after,html body.single-product.single-product :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent,#atlas-similar):is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent,#atlas-similar):is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent,#atlas-similar) .atlas-product-card__action .button.add_to_cart_button.added::before{font-family:Arial,sans-serif!important;letter-spacing:normal!important}
html body.single-product.single-product :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent,#atlas-similar):is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent,#atlas-similar):is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent,#atlas-similar) .ar-card-buybar:has(.added){display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:space-between!important;gap:8px!important}
html body.single-product.single-product :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent,#atlas-similar):is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent,#atlas-similar):is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent,#atlas-similar) .ar-card-buybar:has(.added) .atlas-product-card__price{min-width:70px!important;white-space:nowrap!important}
html body.single-product.single-product :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent,#atlas-similar):is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent,#atlas-similar):is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent,#atlas-similar) .atlas-product-card__action .button.add_to_cart_button.added{position:relative!important;left:auto!important;right:auto!important;inset:auto!important;margin:0!important;flex-shrink:0!important}
html body.single-product.single-product :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent,#atlas-similar):is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent,#atlas-similar):is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent,#atlas-similar) .atlas-product-card__action:has(.add_to_cart_button.added){margin:0!important;transform:none!important;justify-content:flex-end!important}
@media(max-width:767px){html body.single-product.single-product :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent,#atlas-similar):is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent,#atlas-similar):is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent,#atlas-similar) .atlas-product-card__action:has(.add_to_cart_button.added){width:calc(100% - 20px)!important;min-width:148px!important;max-width:none!important}html body.single-product.single-product :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent,#atlas-similar):is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent,#atlas-similar):is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent,#atlas-similar) .atlas-product-card__action .button.add_to_cart_button.added{width:148px!important;min-width:148px!important}}

/* Responsive confirmed-cart controls: desktop label, mobile check only. */
@media(max-width:767px){
html body .atlas-product-card.atlas-product-card .atlas-product-card__action:has(.added){width:44px!important;min-width:44px!important;max-width:44px!important;flex:0 0 44px!important;left:auto!important;right:14px!important;grid-column:auto!important}
html body .atlas-product-card.atlas-product-card .atlas-product-card__action .button.add_to_cart_button.added{position:relative!important;inset:auto!important;display:flex!important;align-items:center!important;justify-content:center!important;width:44px!important;min-width:44px!important;max-width:44px!important;height:44px!important;padding:0!important;gap:0!important;font-size:0!important;background:#e30613!important;color:white!important;border:1px solid #e30613!important}
html body .atlas-product-card.atlas-product-card .atlas-product-card__action .button.add_to_cart_button.added::after{display:none!important;content:none!important}
html body .atlas-product-card.atlas-product-card .atlas-product-card__action .button.add_to_cart_button.added::before{content:"✓"!important;display:block!important;position:static!important;transform:none!important;inset:auto!important;margin:0!important;width:20px!important;height:20px!important;flex:0 0 20px!important;font:20px/20px Arial!important;background:none!important;mask:none!important;-webkit-mask:none!important}
html body.single-product.single-product :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent,#atlas-similar):is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent,#atlas-similar):is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent,#atlas-similar) .atlas-product-card .atlas-product-card__action:has(.added){width:44px!important;min-width:44px!important;max-width:44px!important;flex:0 0 44px!important;left:auto!important;right:14px!important;grid-column:auto!important}
html body.single-product.single-product :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent,#atlas-similar):is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent,#atlas-similar):is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent,#atlas-similar) .atlas-product-card .atlas-product-card__action .button.add_to_cart_button.added{position:relative!important;inset:auto!important;display:flex!important;align-items:center!important;justify-content:center!important;width:44px!important;min-width:44px!important;max-width:44px!important;height:44px!important;padding:0!important;gap:0!important;font-size:0!important;background:#e30613!important;color:white!important;border:1px solid #e30613!important}
html body.single-product.single-product :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent,#atlas-similar):is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent,#atlas-similar):is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent,#atlas-similar) .atlas-product-card .atlas-product-card__action .button.add_to_cart_button.added::after{display:none!important;content:none!important}
html body.single-product.single-product :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent,#atlas-similar):is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent,#atlas-similar):is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent,#atlas-similar) .atlas-product-card .atlas-product-card__action .button.add_to_cart_button.added::before{content:"✓"!important;display:block!important;position:static!important;transform:none!important;inset:auto!important;margin:0!important;width:20px!important;height:20px!important;flex:0 0 20px!important;font:20px/20px Arial!important;background:none!important;mask:none!important;-webkit-mask:none!important}
html body.single-product.single-product :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent,#atlas-similar):is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent,#atlas-similar):is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent,#atlas-similar) .ar-card-buybar:has(.added){flex-wrap:nowrap!important;grid-template-columns:minmax(0,1fr) 44px!important}
html body.single-product:not(.ariston-product-layout) :is(#atlas-accessories,#atlas-companions,#atlas-similar-models):is(#atlas-accessories,#atlas-companions,#atlas-similar-models) .atlas-product-card:has(.added) .atlas-product-card__main{padding-bottom:58px!important}
html body.single-product:not(.ariston-product-layout) :is(#atlas-accessories,#atlas-companions,#atlas-similar-models):is(#atlas-accessories,#atlas-companions,#atlas-similar-models) .atlas-product-card:has(.added) .atlas-product-card__price{bottom:12px!important;right:66px!important;height:44px!important;min-height:44px!important}
}
@media(min-width:768px){html body.theme-atlas-ariston-base:not(.single-product) .atlas-product-card.atlas-product-card .atlas-product-card__action:has(.added){width:110px!important;min-width:110px!important;flex:0 0 110px!important}
html body.theme-atlas-ariston-base:not(.single-product) .atlas-product-card.atlas-product-card .atlas-product-card__action .button.add_to_cart_button.added{position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important;width:110px!important;min-width:110px!important;max-width:110px!important;height:44px!important;padding:0 8px!important;gap:6px!important;font-size:0!important;background:#fff!important;color:#d90831!important;border:1px solid #d90831!important}
html body.theme-atlas-ariston-base:not(.single-product) .atlas-product-card.atlas-product-card .atlas-product-card__action .button.add_to_cart_button.added::after{content:"У кошику"!important;display:block!important;position:static!important;transform:none!important;opacity:1!important;width:auto!important;height:auto!important;font:600 12px/1.2 Arial!important;background:none!important;mask:none!important}
html body.theme-atlas-ariston-base:not(.single-product) .atlas-product-card.atlas-product-card .atlas-product-card__action .button.add_to_cart_button.added::before{content:"✓"!important;display:block!important;position:static!important;transform:none!important;inset:auto!important;margin:0!important;width:16px!important;height:18px!important;font:17px/18px Arial!important;background:none!important;mask:none!important;-webkit-mask:none!important}
}

/* Responsive confirmed-cart controls: desktop label, mobile check only. */
@media(max-width:767px){
html body :is(main,:is(#atlas-accessories,#atlas-companions,#atlas-similar-models)):is(main,:is(#atlas-accessories,#atlas-companions,#atlas-similar-models)):is(main,:is(#atlas-accessories,#atlas-companions,#atlas-similar-models)) .atlas-product-card.atlas-product-card .atlas-product-card__action:has(.added){width:44px!important;min-width:44px!important;max-width:44px!important;flex:0 0 44px!important;left:auto!important;right:14px!important;grid-column:auto!important}
html body :is(main,:is(#atlas-accessories,#atlas-companions,#atlas-similar-models)):is(main,:is(#atlas-accessories,#atlas-companions,#atlas-similar-models)):is(main,:is(#atlas-accessories,#atlas-companions,#atlas-similar-models)) .atlas-product-card.atlas-product-card .atlas-product-card__action .button.add_to_cart_button.added{position:relative!important;inset:auto!important;display:flex!important;align-items:center!important;justify-content:center!important;width:44px!important;min-width:44px!important;max-width:44px!important;height:44px!important;padding:0!important;gap:0!important;font-size:0!important;background:#e30613!important;color:white!important;border:1px solid #e30613!important}
html body :is(main,:is(#atlas-accessories,#atlas-companions,#atlas-similar-models)):is(main,:is(#atlas-accessories,#atlas-companions,#atlas-similar-models)):is(main,:is(#atlas-accessories,#atlas-companions,#atlas-similar-models)) .atlas-product-card.atlas-product-card .atlas-product-card__action .button.add_to_cart_button.added::after{display:none!important;content:none!important}
html body :is(main,:is(#atlas-accessories,#atlas-companions,#atlas-similar-models)):is(main,:is(#atlas-accessories,#atlas-companions,#atlas-similar-models)):is(main,:is(#atlas-accessories,#atlas-companions,#atlas-similar-models)) .atlas-product-card.atlas-product-card .atlas-product-card__action .button.add_to_cart_button.added::before{content:"✓"!important;display:block!important;position:static!important;transform:none!important;inset:auto!important;margin:0!important;width:20px!important;height:20px!important;flex:0 0 20px!important;font:20px/20px Arial!important;background:none!important;mask:none!important;-webkit-mask:none!important}
html body.single-product.single-product :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent,#atlas-similar):is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent,#atlas-similar):is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent,#atlas-similar) .atlas-product-card .atlas-product-card__action:has(.added){width:44px!important;min-width:44px!important;max-width:44px!important;flex:0 0 44px!important;left:auto!important;right:14px!important;grid-column:auto!important}
html body.single-product.single-product :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent,#atlas-similar):is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent,#atlas-similar):is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent,#atlas-similar) .atlas-product-card .atlas-product-card__action .button.add_to_cart_button.added{position:relative!important;inset:auto!important;display:flex!important;align-items:center!important;justify-content:center!important;width:44px!important;min-width:44px!important;max-width:44px!important;height:44px!important;padding:0!important;gap:0!important;font-size:0!important;background:#e30613!important;color:white!important;border:1px solid #e30613!important}
html body.single-product.single-product :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent,#atlas-similar):is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent,#atlas-similar):is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent,#atlas-similar) .atlas-product-card .atlas-product-card__action .button.add_to_cart_button.added::after{display:none!important;content:none!important}
html body.single-product.single-product :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent,#atlas-similar):is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent,#atlas-similar):is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent,#atlas-similar) .atlas-product-card .atlas-product-card__action .button.add_to_cart_button.added::before{content:"✓"!important;display:block!important;position:static!important;transform:none!important;inset:auto!important;margin:0!important;width:20px!important;height:20px!important;flex:0 0 20px!important;font:20px/20px Arial!important;background:none!important;mask:none!important;-webkit-mask:none!important}
html body.single-product.single-product :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent,#atlas-similar):is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent,#atlas-similar):is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent,#atlas-similar) .ar-card-buybar:has(.added){flex-wrap:nowrap!important;grid-template-columns:minmax(0,1fr) 44px!important}
html body.single-product:not(.ariston-product-layout) :is(#atlas-accessories,#atlas-companions,#atlas-similar-models):is(#atlas-accessories,#atlas-companions,#atlas-similar-models) .atlas-product-card:has(.added) .atlas-product-card__main{padding-bottom:58px!important}
html body.single-product:not(.ariston-product-layout) :is(#atlas-accessories,#atlas-companions,#atlas-similar-models):is(#atlas-accessories,#atlas-companions,#atlas-similar-models) .atlas-product-card:has(.added) .atlas-product-card__price{bottom:12px!important;right:66px!important;height:44px!important;min-height:44px!important}
}
@media(min-width:768px){html body.theme-atlas-ariston-base:not(.single-product) :is(main,:is(#atlas-accessories,#atlas-companions,#atlas-similar-models)):is(main,:is(#atlas-accessories,#atlas-companions,#atlas-similar-models)):is(main,:is(#atlas-accessories,#atlas-companions,#atlas-similar-models)) .atlas-product-card.atlas-product-card .atlas-product-card__action:has(.added){width:110px!important;min-width:110px!important;flex:0 0 110px!important;max-width:110px!important}
html body.theme-atlas-ariston-base:not(.single-product) :is(main,:is(#atlas-accessories,#atlas-companions,#atlas-similar-models)):is(main,:is(#atlas-accessories,#atlas-companions,#atlas-similar-models)):is(main,:is(#atlas-accessories,#atlas-companions,#atlas-similar-models)) .atlas-product-card.atlas-product-card .atlas-product-card__action .button.add_to_cart_button.added{position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important;width:110px!important;min-width:110px!important;max-width:110px!important;height:44px!important;padding:0 8px!important;gap:6px!important;font-size:0!important;background:#fff!important;color:#d90831!important;border:1px solid #d90831!important}
html body.theme-atlas-ariston-base:not(.single-product) :is(main,:is(#atlas-accessories,#atlas-companions,#atlas-similar-models)):is(main,:is(#atlas-accessories,#atlas-companions,#atlas-similar-models)):is(main,:is(#atlas-accessories,#atlas-companions,#atlas-similar-models)) .atlas-product-card.atlas-product-card .atlas-product-card__action .button.add_to_cart_button.added::after{content:"У кошику"!important;display:block!important;position:static!important;transform:none!important;opacity:1!important;width:auto!important;height:auto!important;font:600 12px/1.2 Arial!important;background:none!important;mask:none!important}
html body.theme-atlas-ariston-base:not(.single-product) :is(main,:is(#atlas-accessories,#atlas-companions,#atlas-similar-models)):is(main,:is(#atlas-accessories,#atlas-companions,#atlas-similar-models)):is(main,:is(#atlas-accessories,#atlas-companions,#atlas-similar-models)) .atlas-product-card.atlas-product-card .atlas-product-card__action .button.add_to_cart_button.added::before{content:"✓"!important;display:block!important;position:static!important;transform:none!important;inset:auto!important;margin:0!important;width:16px!important;height:18px!important;font:17px/18px Arial!important;background:none!important;mask:none!important;-webkit-mask:none!important}
}

/* One purchase row in every state. This layer takes precedence over legacy
   unlayered !important overrides without increasing selector specificity. */
/* View controls share Buy's timing, without changing the reserved status space. */
@layer atlas-card-stability {
  @media (min-width: 768px) and (hover: hover) and (pointer: fine) {
    body.theme-atlas-storefront .atlas-product-card__action .button:not(.add_to_cart_button):not(.added) {
      --atlas-view-expanded-width: 108px;
      --atlas-action-icon-color: #e30613;
      width: 44px !important;
      min-width: 44px !important;
      max-width: var(--atlas-view-expanded-width) !important;
      height: 44px !important;
      min-height: 44px !important;
      padding: 0 6px !important;
      gap: 0 !important;
      font-size: 0 !important;
      font-weight: 700 !important;
      line-height: 1.2 !important;
      white-space: nowrap !important;
      overflow: hidden !important;
      flex-shrink: 0 !important;
      border: 1px solid #e30613 !important;
      background: #fff !important;
      color: #e30613 !important;
      box-shadow: none !important;
      transition: width .18s ease, gap .18s ease, font-size .18s ease, background-color .18s ease, border-color .18s ease !important;
    }
    body.theme-atlas-storefront.home .atlas-product-card__action .button:not(.add_to_cart_button):not(.added) {
      --atlas-view-expanded-width: 108px;
    }
    body.theme-atlas-storefront:not(.single-product) .catalog-results .atlas-product-card__catalog-price-value--status {
      width: min(118px, calc(100% - 148px)) !important;
      max-width: calc(100% - 148px) !important;
      min-width: 0 !important;
      height: 44px !important;
    }
    body.theme-atlas-storefront:not(.single-product) .catalog-results .atlas-product-status {
      width: 100% !important;
      min-width: 0 !important;
      min-height: 44px !important;
      white-space: normal !important;
      line-height: 1.25 !important;
      text-align: center !important;
    }
    body.theme-atlas-storefront :is(#atlas-accessories,#atlas-companions,#atlas-similar-models) .atlas-product-card:has(.atlas-product-status) .atlas-product-card__price {
      right: 130px !important;
    }
    body.theme-atlas-storefront :is(#atlas-accessories,#atlas-companions,#atlas-similar-models) .atlas-product-card__catalog-price-value--status {
      width: 118px !important;
      max-width: 100% !important;
      min-width: 0 !important;
      height: 44px !important;
    }
    body.theme-atlas-storefront :is(#atlas-accessories,#atlas-companions,#atlas-similar-models) .atlas-product-status {
      width: 100% !important;
      min-width: 0 !important;
      height: 44px !important;
      white-space: normal !important;
      text-align: center !important;
    }
    body.theme-atlas-storefront .atlas-product-card__action .button:not(.add_to_cart_button):not(.added):is(:hover, :focus-visible) {
      width: var(--atlas-view-expanded-width) !important;
      gap: 4px !important;
      font-size: 11px !important;
      background: #fff0f3 !important;
      color: #e30613 !important;
    }
    body.theme-atlas-storefront .atlas-product-card__action .button:not(.add_to_cart_button):not(.added)::before {
      display: block !important;
      width: 16px !important;
      height: 16px !important;
      flex: 0 0 16px !important;
      background-color: #e30613 !important;
    }
    body.theme-atlas-ariston-base #atlas-recent :is(.atlas-recent__prev, .atlas-recent__next) {
      transition: background-color .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease !important;
    }
    body.theme-atlas-ariston-base #atlas-recent :is(.atlas-recent__prev, .atlas-recent__next):not(:disabled):is(:hover, :focus-visible) {
      background: #fff0f3 !important;
      border-color: #d90831 !important;
      color: #d90831 !important;
      box-shadow: 0 3px 9px rgb(217 8 49 / 12%) !important;
      transform: scale(1.06) !important;
    }
  }
  @media (prefers-reduced-motion: reduce) {
    body.theme-atlas-storefront .atlas-product-card__action .button:not(.add_to_cart_button):not(.added),
    body.theme-atlas-ariston-base #atlas-recent :is(.atlas-recent__prev, .atlas-recent__next) {
      transition: none !important;
    }
  }
}

@layer atlas-card-stability {
  /* Keep the last card's hover surface inside the scrolling track. */
  body.theme-atlas-ariston-base #atlas-recent .atlas-product-card::before {
    left: var(--ar-rail-hover-inline, 0px) !important;
    right: var(--ar-rail-hover-inline, 0px) !important;
  }
  body.theme-atlas-ariston-base :is(.catalog-results, .ar-home-products, #atlas-recent) .atlas-product-card__title {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    overflow: hidden !important;
  }
  body.theme-atlas-ariston-base #atlas-recent .ar-card-buybar {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-rows: 44px !important;
    align-items: center !important;
    align-content: center !important;
    gap: 6px !important;
    height: 64px !important;
    min-height: 64px !important;
    padding: 10px 0 !important;
    margin-top: auto !important;
    flex-wrap: nowrap !important;
  }
  body.theme-atlas-ariston-base #atlas-recent .ar-card-buybar .atlas-product-card__price {
    position: static !important;
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    white-space: nowrap !important;
  }
  body.theme-atlas-ariston-base #atlas-recent .ar-card-buybar .atlas-product-card__action {
    position: static !important;
    grid-column: 2 !important;
    grid-row: 1 !important;
    align-self: center !important;
    margin: 0 !important;
    height: 44px !important;
    min-width: 0 !important;
    width: auto !important;
    max-width: none !important;
  }
  body.theme-atlas-ariston-base #atlas-recent .ar-card-buybar .amount {
    white-space: nowrap !important;
  }
  @media (min-width: 768px) {
    :is(body.theme-atlas-ariston-base :is(.catalog-results, .ar-home-products, #atlas-recent), body.theme-atlas-storefront .catalog-results) .atlas-product-card__action:has(.add_to_cart_button.added) {
      width: 128px !important;
      min-width: 128px !important;
      max-width: 128px !important;
      flex: 0 0 128px !important;
      height: 44px !important;
    }
    :is(body.theme-atlas-ariston-base :is(.catalog-results, .ar-home-products, #atlas-recent), body.theme-atlas-storefront .catalog-results) .atlas-product-card__action .add_to_cart_button.added {
      display: flex !important;
      align-items: center !important;
      justify-content: center !important;
      position: relative !important;
      inset: auto !important;
      width: 128px !important;
      min-width: 128px !important;
      max-width: 128px !important;
      height: 44px !important;
      min-height: 44px !important;
      max-height: 44px !important;
      padding: 0 5px !important;
      gap: 4px !important;
      font-size: 0 !important;
      white-space: nowrap !important;
      background: #fff !important;
      color: #d90831 !important;
      border: 1px solid #d90831 !important;
      transition: background-color .16s ease !important;
    }
    :is(body.theme-atlas-ariston-base :is(.catalog-results, .ar-home-products, #atlas-recent), body.theme-atlas-storefront .catalog-results) .atlas-product-card__action .add_to_cart_button.added::before {
      content: "✓" !important;
      display: block !important;
      position: static !important;
      inset: auto !important;
      transform: none !important;
      margin: 0 !important;
      width: 14px !important;
      height: 18px !important;
      flex: 0 0 14px !important;
      font: 17px/18px Arial !important;
      background: none !important;
      mask: none !important;
      -webkit-mask: none !important;
    }
    :is(body.theme-atlas-ariston-base :is(.catalog-results, .ar-home-products, #atlas-recent), body.theme-atlas-storefront .catalog-results) .atlas-product-card__action .add_to_cart_button.added::after {
      content: "У кошику · " attr(data-atlas-cart-quantity) " шт." !important;
      display: block !important;
      position: static !important;
      inset: auto !important;
      transform: none !important;
      width: auto !important;
      max-width: none !important;
      height: auto !important;
      opacity: 1 !important;
      margin: 0 !important;
      font: 600 11px/1.2 Arial !important;
      white-space: nowrap !important;
      background: none !important;
      mask: none !important;
    }
    :is(body.theme-atlas-ariston-base :is(.catalog-results, .ar-home-products, #atlas-recent), body.theme-atlas-storefront .catalog-results) .atlas-product-card__action .add_to_cart_button.added:is(:hover,:focus-visible) {
      background: #fff0f3 !important;
    }
  }
  @media (max-width: 767px) {
    body.theme-atlas-ariston-base :is(:is(#atlas-accessories,#atlas-companions,#atlas-similar-models), #atlas-similar, #atlas-recent) .atlas-product-card__title {
      -webkit-line-clamp: 3 !important;
    }
    body.theme-atlas-ariston-base :is(.catalog-results, .ar-home-products, :is(#atlas-accessories,#atlas-companions,#atlas-similar-models), #atlas-similar, #atlas-recent) .ar-card-buybar {
      display: grid !important;
      grid-template-columns: minmax(0,1fr) 44px !important;
      grid-template-rows: 44px !important;
      align-items: center !important;
      flex-wrap: nowrap !important;
    }
    body.theme-atlas-ariston-base :is(.catalog-results, .ar-home-products, :is(#atlas-accessories,#atlas-companions,#atlas-similar-models), #atlas-similar, #atlas-recent) .ar-card-buybar .atlas-product-card__price {
      position: static !important;
      grid-column: 1 !important;
      grid-row: 1 !important;
      min-width: 0 !important;
      margin: 0 !important;
    }
    body.theme-atlas-ariston-base :is(.catalog-results, .ar-home-products, :is(#atlas-accessories,#atlas-companions,#atlas-similar-models), #atlas-similar, #atlas-recent) .ar-card-buybar .atlas-product-card__action {
      position: static !important;
      inset: auto !important;
      grid-column: 2 !important;
      grid-row: 1 !important;
      width: 44px !important;
      min-width: 44px !important;
      max-width: 44px !important;
      height: 44px !important;
      margin: 0 !important;
    }
    body.theme-atlas-ariston-base :is(.catalog-results, .ar-home-products, :is(#atlas-accessories,#atlas-companions,#atlas-similar-models), #atlas-similar, #atlas-recent) .ar-card-buybar .atlas-product-card__action .button {
      position: relative !important;
      inset: auto !important;
      width: 44px !important;
      min-width: 44px !important;
      max-width: 44px !important;
      height: 44px !important;
      min-height: 44px !important;
      max-height: 44px !important;
    }
  }
}

/* Pending price uses the same compact presentation as unavailable stock. */
html body .atlas-product-status--pending{background:#f0f4f9;border-color:#e0e7ef;color:#526176}

/* Keep delivery method and cost in one mobile grid row on either storefront. */
@media(max-width:767px){
html body.atlas-standard-product-page .atlas-product-fulfilment__delivery-list .atlas-delivery-row{display:grid!important;grid-template-columns:24px minmax(0,1fr) auto!important;align-items:center!important;gap:6px!important;padding:12px 8px!important}
html body.atlas-standard-product-page .atlas-delivery-row .atlas-delivery-method-icon{width:24px!important;height:24px!important}
html body.atlas-standard-product-page .atlas-delivery-row .atlas-product-fulfilment__method{grid-column:2;grid-row:1;min-width:0!important;max-width:none!important;font-size:clamp(10px,2.85vw,13px)!important;line-height:1.35!important;white-space:nowrap}
html body.atlas-standard-product-page .atlas-delivery-row .atlas-product-fulfilment__cost{grid-column:3!important;grid-row:1!important;min-width:0!important;max-width:none!important;margin:0!important;padding:6px!important;font-size:12px!important;white-space:nowrap!important}
}

@media(max-width:767px){
html body.ariston-product-layout .ar-delivery-carrier__methods .atlas-delivery-row{grid-template-columns:minmax(0,1fr) auto!important;padding:8px 0!important}
html body.ariston-product-layout .ar-delivery-carrier__methods .atlas-product-fulfilment__method{grid-column:1!important;font-size:13px!important}
html body.ariston-product-layout .ar-delivery-carrier__methods .atlas-product-fulfilment__cost{grid-column:2!important}
}

@media(max-width:767px){
html body :is(main,:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent,#atlas-similar):is(main,:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent,#atlas-similar):is(main,:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent,#atlas-similar):is(main,:is(#atlas-accessories,#atlas-companions,#atlas-similar-models),#atlas-recent,#atlas-similar) .atlas-product-card.atlas-product-card .atlas-product-card__action .button.add_to_cart_button.added::before{
content:""!important;display:block!important;width:22px!important;height:22px!important;flex:0 0 22px!important;position:static!important;margin:0!important;transform:none!important;background:currentColor!important;
-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 13 4 4L19 7' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat!important;
mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 13 4 4L19 7' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat!important;
}
}

/* Native thumbnail scrolling must also allow vertical page gestures. */
html body.atlas-standard-product-page .atlas-gallery-thumbnails .flex-control-thumbs,
html body.atlas-standard-product-page .atlas-gallery-thumbnails .flex-control-thumbs :is(li,img){touch-action:pan-x pan-y pinch-zoom!important}

/* Bound touch carousel pages to the viewport instead of intrinsic flex widths. */
@media(max-width:767px){
  .home [data-recommendations-viewport] .mobile-recommendations__grid{width:100%;min-width:0;gap:0}
  .home [data-recommendations-viewport] .mobile-recommendations__page{flex:0 0 100%;width:100%;min-width:0;max-width:100%;box-sizing:border-box}
}

/* Reserve room below wrapped titles for the similar-model purchase row. */
@layer atlas-card-stability {
  body.theme-atlas-storefront #atlas-similar-models .atlas-product-card__main {
    padding-bottom: 70px !important;
  }
  body.theme-atlas-ariston-base #atlas-similar-models .ar-card-buybar {
    margin-top: 14px !important;
  }
  @media (max-width: 767px) {
    body.theme-atlas-storefront #atlas-similar-models .atlas-product-card__main {
      padding-bottom: 60px !important;
    }
  }
}

/* Companion products use a more compact purchase row than similar models. */
@layer atlas-card-stability {
  body.theme-atlas-storefront #atlas-companions .atlas-product-card__main {
    padding-bottom: 52px !important;
  }
  body.theme-atlas-ariston-base #atlas-companions .ar-card-buybar {
    margin-top: 8px !important;
  }
  @media (max-width: 767px) {
    #atlas-companions .atlas-product-card__title {
      --atlas-rail-title-lines: 2;
      display: -webkit-box !important;
      -webkit-box-orient: vertical !important;
      -webkit-line-clamp: var(--atlas-rail-title-lines) !important;
      min-height: 0 !important;
      max-height: calc(var(--atlas-rail-title-lines) * 1lh) !important;
      overflow: hidden !important;
    }
  }
}

/* Center the regular price or the entire sale-price stack on the Buy button. */
@layer atlas-card-stability {
  @media (min-width: 768px) {
    body.theme-atlas-storefront .catalog-results .atlas-product-card__catalog-price-value:has(.woocommerce-Price-amount) {
      padding-block-start: 10px;
    }
  }
  @media (max-width: 767px) {
    body.theme-atlas-storefront .catalog-results .atlas-product-card__price:has(> .atlas-product-card__catalog-price-value .woocommerce-Price-amount) {
      bottom: 14px !important;
      min-height: 44px !important;
    }
    body.theme-atlas-storefront .catalog-results .atlas-product-card__catalog-price-value:has(.woocommerce-Price-amount) {
      display: grid !important;
      align-content: center;
      min-height: 44px !important;
    }
  }
}

@media (max-width: 767px) {
  body.theme-atlas-storefront .catalog-page .catalog-toolbar__controls .woocommerce-ordering {
    justify-self: end;
    width: min(180px, 100%) !important;
  }
}

@media (max-width: 359px) {
  body.theme-atlas-storefront .catalog-page .catalog-toolbar__controls {
    grid-template-columns: minmax(104px, .8fr) minmax(0, 1.2fr);
  }
}

/* Reserve a stable place for the price and the expanded cart confirmation in the dense grid. */
@layer atlas-card-stability {
  @media (min-width: 1280px) {
    html[data-atlas-catalog-columns="5"] body.ariston-catalog-v5 .catalog-results .ar-selected-card .atlas-product-card__catalog-price-value {
      font-size: 25px !important;
    }
    html[data-atlas-catalog-columns="5"] body.theme-atlas-storefront .catalog-results .atlas-product-card:has(.add_to_cart_button) {
      padding-bottom: 16px !important;
    }
    html[data-atlas-catalog-columns="5"] body.theme-atlas-storefront .catalog-results .atlas-product-card:has(.add_to_cart_button.added) .atlas-product-card__catalog-price-value {
      font-size: calc(22px / .8) !important;
    }
    html[data-atlas-catalog-columns="5"] body.theme-atlas-storefront :is(#main-content, main) :is(.catalog-results .atlas-product-card__action:has(.add_to_cart_button.added)) {
      left: auto !important;
      right: 18px !important;
      bottom: 18px !important;
      height: 44px !important;
      min-height: 44px !important;
    }
    html[data-atlas-catalog-columns="5"] body.theme-atlas-storefront :is(#main-content, main) :is(.catalog-results .atlas-product-card__action:has(.add_to_cart_button.added)),
    html[data-atlas-catalog-columns="5"] body.theme-atlas-storefront :is(#main-content, main) :is(.catalog-results .atlas-product-card__action .add_to_cart_button.added) {
      width: 128px !important;
      min-width: 128px !important;
      max-width: 128px !important;
    }
    html[data-atlas-catalog-columns="5"] body.theme-atlas-storefront :is(#main-content, main) :is(.catalog-results .atlas-product-card__action .add_to_cart_button.added)::after {
      display: block !important;
    }
  }
  @media (1280px <= width < 1480px) {
    html[data-atlas-catalog-columns="5"] body.theme-atlas-storefront .catalog-results .atlas-product-card:has(.add_to_cart_button) {
      padding-bottom: 96px !important;
    }
    html[data-atlas-catalog-columns="5"] body.ariston-catalog-v5 :is(main, #main-content) :is(.catalog-results .ar-card-buybar:has(.add_to_cart_button)) {
      display: grid !important;
      grid-template-columns: minmax(0, 1fr) !important;
      grid-template-rows: auto 44px !important;
      height: auto !important;
      justify-items: end;
    }
    html[data-atlas-catalog-columns="5"] body.ariston-catalog-v5 :is(main, #main-content) :is(.catalog-results .ar-card-buybar:has(.add_to_cart_button)) .atlas-product-card__price {
      grid-area: 1 / 1 !important;
      justify-self: start;
    }
    html[data-atlas-catalog-columns="5"] body.ariston-catalog-v5 :is(main, #main-content) :is(.catalog-results .ar-card-buybar:has(.add_to_cart_button)) .atlas-product-card__action {
      grid-area: 2 / 1 !important;
      height: 44px !important;
      min-height: 44px !important;
      width: auto !important;
      justify-self: end;
    }
  }
}
