:root {
  --s24-header-navy: #173a5e;
  --s24-header-line: #dce2e6;
  --s24-header-announcement-h: 46px;
  --s24-header-nav-h: 80px;
}

body {
  padding-top: calc(var(--s24-header-announcement-h) + var(--s24-header-nav-h));
}

.s24-announcement {
  position: fixed;
  z-index: 1201;
  inset: 0 0 auto;
  height: var(--s24-header-announcement-h);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  background: var(--s24-header-navy);
  color: #fff;
  font: 600 13px/1.25 Manrope, Arial, sans-serif;
  letter-spacing: .04em;
  text-align: center;
}

.s24-header {
  position: fixed;
  z-index: 1200;
  inset: var(--s24-header-announcement-h) 0 auto;
  height: var(--s24-header-nav-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--s24-header-line);
  backdrop-filter: blur(12px);
}

.s24-header__inner {
  width: 100%;
  padding: 0 4vw;
  display: grid;
  grid-template-columns: 180px 1fr 180px;
  align-items: center;
  gap: 24px;
}

.s24-header__logo {
  display: inline-flex;
  width: 150px;
  height: 40px;
  align-items: center;
}

.s24-header__logo img {
  display: block;
  width: 150px;
  height: 40px;
  object-fit: contain;
  object-position: left center;
}

.s24-header__nav {
  display: flex;
  justify-content: center;
  gap: 34px;
  font: 500 15px/1.2 Manrope, Arial, sans-serif;
}

.s24-header__nav a {
  position: relative;
  padding: 10px 0;
  color: var(--s24-header-navy);
  text-decoration: none;
}

.s24-header__nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 3px;
  height: 2px;
  background: var(--s24-header-navy);
  transition: right 220ms cubic-bezier(.22, 1, .36, 1);
}

.s24-header__nav a:hover::after,
.s24-header__nav a[aria-current="page"]::after {
  right: 0;
}

.s24-header__cta {
  justify-self: end;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid var(--s24-header-navy);
  border-radius: 999px;
  color: var(--s24-header-navy);
  font: 600 14px/1 Manrope, Arial, sans-serif;
  text-decoration: none;
  transition: color 220ms cubic-bezier(.22, 1, .36, 1), background-color 220ms cubic-bezier(.22, 1, .36, 1), transform 160ms cubic-bezier(.22, 1, .36, 1);
}

.s24-header__cta:hover {
  background: var(--s24-header-navy);
  color: #fff;
}

.s24-header__cta:active {
  transform: translateY(1px);
}

.button,
.s24-header__cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  animation: s24-cta-pulse 2.8s ease-in-out infinite;
}

.button::after,
.s24-header__cta::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: -40% auto -40% -45%;
  width: 32%;
  pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.56), transparent);
  transform: skewX(-18deg);
  animation: s24-cta-flash 3.4s ease-in-out infinite;
}

.s24-whatsapp-float {
  position: fixed;
  z-index: 1200;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  display: inline-flex;
  align-items: center;
  width: 56px;
  height: 56px;
  padding: 0;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(37,211,102,.3);
  animation: s24-whatsapp-pulse 2.2s ease-in-out infinite;
}

.s24-whatsapp-float__icon {
  display: block;
  width: 30px;
  height: 30px;
}

.s24-whatsapp-float:hover {
  background: #1ebe5d;
  color: #fff;
  transform: translateY(-2px);
}

@keyframes s24-cta-pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(23,58,94,0); }
  50% { box-shadow: 0 0 0 5px rgba(23,58,94,.12); }
}

@keyframes s24-cta-flash {
  0%,58% { left: -45%; opacity: 0; }
  66% { opacity: 1; }
  82%,100% { left: 120%; opacity: 0; }
}

@keyframes s24-whatsapp-pulse {
  0%,100% { box-shadow: 0 10px 28px rgba(37,211,102,.3), 0 0 0 0 rgba(37,211,102,.3); }
  50% { box-shadow: 0 12px 32px rgba(37,211,102,.36), 0 0 0 10px rgba(37,211,102,0); }
}

.s24-motion-reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition:
    opacity 620ms cubic-bezier(.22, 1, .36, 1),
    transform 620ms cubic-bezier(.22, 1, .36, 1);
  transition-delay: var(--s24-motion-delay, 0ms);
  will-change: opacity, transform;
}

.s24-motion-reveal.s24-motion-heading {
  transform: translate3d(0, 36px, 0);
}

.s24-motion-reveal.s24-motion-caption {
  transform: translate3d(0, 18px, 0);
}

.s24-motion-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/*
 * Site-wide desktop micro interaction.
 * Reuses the common reveal targets so the response is consistent on every
 * page and never changes document flow.
 */
@media (min-width: 769px) {
  /* No letter lens in the home hero and the following featured-product screen. */
  #shopify-section-template--27022252572965__gallery_qrpeYF .s24-letter,
  #shopify-section-template--27022252572965__rich_text_6gfkFQ .s24-letter,
  #shopify-section-template--27022252572965__featured_product_MPnEmc .s24-letter {
    transform: none !important;
  }

  /* The copy stays still; the visual blocks retain their subtle response. */
  #shopify-section-template--27022252572965__gallery_qrpeYF .gallery__item,
  #shopify-section-template--27022252572965__featured_product_MPnEmc .product-grid-container {
    scale: 1;
    transition: scale 320ms cubic-bezier(.22, 1, .36, 1), filter 320ms ease-out !important;
    will-change: scale, filter;
    transform-origin: center;
  }

  #shopify-section-template--27022252572965__gallery_qrpeYF .gallery__item.is-pointer-hover,
  #shopify-section-template--27022252572965__featured_product_MPnEmc .product-grid-container.is-pointer-hover {
    scale: 1.008 !important;
    filter: brightness(.985);
  }

  #shopify-section-template--27022252572965__featured_product_MPnEmc .product-images img {
    scale: 1;
    transition: scale 360ms cubic-bezier(.22, 1, .36, 1) !important;
    will-change: scale;
  }

  #shopify-section-template--27022252572965__featured_product_MPnEmc .product-grid-container.is-pointer-hover .product-images img {
    scale: 1.02;
  }

  .s24-product-loop-host .s24-letter {
    transform: none !important;
  }

  .s24-letterized,
  .s24-letterized:hover,
  .s24-letterized.is-pointer-hover {
    scale: 1 !important;
  }

  .s24-letter {
    display: inline-block;
    position: relative;
    z-index: 0;
    transform: scale(1);
    transform-origin: center 70%;
    transition: transform 170ms cubic-bezier(.22, 1, .36, 1);
    will-change: transform;
  }

  .s24-letterized {
    word-break: normal !important;
    overflow-wrap: normal !important;
  }

  .s24-letter-word {
    display: inline-flex;
    flex-wrap: nowrap;
    white-space: nowrap;
    vertical-align: baseline;
  }

  .s24-letter-space {
    display: inline-block;
    flex: 0 0 .3em;
    width: .3em;
    min-width: .3em;
    height: 1px;
  }

  .s24-letter.is-letter-hover {
    z-index: 2;
    transform: scale(1.32);
  }

  .s24-letter.is-letter-near {
    z-index: 1;
    transform: scale(1.18);
  }

  .s24-letter.is-letter-far {
    z-index: 1;
    transform: scale(1.08);
  }

  .s24-letterized--caption .s24-letter.is-letter-hover {
    transform: scale(1.42);
  }

  .s24-letterized--caption .s24-letter.is-letter-near {
    transform: scale(1.25);
  }

  .s24-letterized--caption .s24-letter.is-letter-far {
    transform: scale(1.12);
  }

  .s24-gradient-letters .s24-letter,
  .text-gradient-overlay .s24-letter,
  .gallery__item:hover h4.h1 .s24-letter,
  .equipment-heading:hover .equipment-heading__accent .s24-letter,
  .equipment-heading__accent:hover .s24-letter,
  .product-information--inner .rte.product-text-block p em strong .s24-letter,
  .product-information--inner .rte.product-text-block li em strong .s24-letter {
    background-image: url('/assets/text-gradient.webp?v=202607311825') !important;
    background-position: center !important;
    background-size: cover !important;
    background-clip: text !important;
    -webkit-background-clip: text !important;
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
  }

  /* Horizontal product loops use a navy pill with solid white copy. */
  .s24-product-loop-track > .carousel__slide:hover .s24-loop-heading-text,
  .s24-product-loop-track > .carousel__slide:hover .s24-loop-heading-text .s24-letter {
    background-image: none !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
  }

  .s24-hover-react {
    scale: 1;
    translate: 0 0;
    transition:
      scale 180ms cubic-bezier(.22, 1, .36, 1),
      translate 180ms cubic-bezier(.22, 1, .36, 1);
    transform-origin: center;
    will-change: scale;
  }

  .s24-hover-react--block.is-pointer-hover {
    scale: 1.008;
    translate: 0 0;
  }

  /* Native :hover used to activate every nested ancestor at once. Only the
     single block selected by the pointer controller may animate. */
  .s24-hover-react--block:hover:not(.is-pointer-hover) {
    scale: 1 !important;
    translate: 0 0 !important;
    transform: none !important;
    filter: none !important;
  }

  .s24-hover-react--text {
    transform-origin: left center;
  }

  :where(span, strong, small, label).s24-hover-react--text {
    display: inline-block;
  }

  .s24-hover-react--text:hover:not(.s24-letter),
  .s24-hover-react--text.is-pointer-hover:not(.s24-letter) {
    scale: 1;
  }

  .s24-hover-react--media:hover,
  .s24-hover-react--media.is-pointer-hover {
    scale: 1.025;
  }

  .s24-motion-reveal.is-visible {
    transition:
      opacity 180ms cubic-bezier(.22, 1, .36, 1),
      transform 180ms cubic-bezier(.22, 1, .36, 1);
    transform-origin: center;
  }

  .s24-motion-reveal.is-visible:hover {
    transform: translate3d(0, 0, 0);
  }

  :is(main, #main-content) :is(h1, h2, h3, h4, p, li, dt, dd, a, button, strong, small, label):hover {
    scale: 1 !important;
  }

  :is(main, #main-content) :is(article, figure, .card, .catalog-card, .product-card, .detail-card, .product-information--inner, .product-gallery, .multicolumn__column, .gallery__item, .rich-text__inner, .section-header, .accordion, .tab__content, .bottom_wrapper, .rte).is-pointer-hover {
    scale: 1.008 !important;
    translate: 0 0 !important;
  }

  :is(main, #main-content) :is(h1, h2, h3, h4, p, li, dt, dd, a, button, strong, small, label),
  :is(main, #main-content) :is(h1, h2, h3, h4, p, li, dt, dd, a, button, strong, small, label):hover {
    translate: 0 0 !important;
    transform-origin: initial;
  }

  :is(main, #main-content) .s24-letterized,
  :is(main, #main-content) .s24-letterized:hover,
  :is(main, #main-content) .s24-letterized.is-pointer-hover {
    scale: 1 !important;
  }

  body #main-content .multicolumn__column.is-pointer-hover,
  body #main-content .gallery__item.is-pointer-hover,
  body #main-content .carousel__slide.is-pointer-hover {
    transform: none !important;
    translate: 0 0 !important;
    scale: 1.008 !important;
  }

  /* Text never moves or scales on pointer hover. Letter spans remain free for
     the local lens effect; reveal motion still runs when content enters view. */
  :is(main, #main-content) :is(h1, h2, h3, h4, h5, h6, p, li, dt, dd, a, button, strong, em, small, label, figcaption, blockquote):hover,
  :is(main, #main-content) :is(h1, h2, h3, h4, h5, h6, p, li, dt, dd, a, button, strong, em, small, label, figcaption, blockquote).is-pointer-hover,
  .s24-hover-react--text:hover:not(.s24-letter),
  .s24-hover-react--text.is-pointer-hover:not(.s24-letter) {
    scale: 1 !important;
    translate: 0 0 !important;
    transform: none !important;
  }

  :is(main, #main-content) :is(h1, h2, h3, h4, h5, h6, p, li, dt, dd, a, button, strong, em, small, label, figcaption, blockquote) {
    transform-origin: initial !important;
  }

  .s24-motion-reveal.is-visible.s24-motion-heading,
  .s24-motion-reveal.is-visible.s24-motion-caption {
    transform-origin: left center;
  }

  .s24-header__logo,
  .s24-header__nav a,
  footer a,
  footer img {
    transition:
      opacity 180ms cubic-bezier(.22, 1, .36, 1),
      transform 180ms cubic-bezier(.22, 1, .36, 1);
    transform-origin: center;
  }

  .s24-header__logo:hover,
  .s24-header__nav a:hover,
  footer a:hover,
  footer img:hover {
    transform: translate3d(0, -1px, 0) scale(1.018);
  }
}

.s24-header__menu {
  display: none;
  border: 0;
  background: none;
  color: var(--s24-header-navy);
  width: 44px;
  height: 44px;
  padding: 10px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.s24-header__menu span {
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms cubic-bezier(.22,1,.36,1), opacity 140ms ease-out;
}

.s24-header__menu[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.s24-header__menu[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.s24-header__menu[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.s24-header__nav a:focus-visible,
.s24-header__cta:focus-visible,
.s24-header__menu:focus-visible {
  outline: 2px solid var(--s24-header-navy);
  outline-offset: 4px;
}

@media (max-width: 760px) {
  :root {
    --s24-header-announcement-h: 48px;
    --s24-header-nav-h: 64px;
  }

  .s24-announcement {
    font-size: 11px;
  }

  .s24-header__inner {
    grid-template-columns: 1fr auto;
    padding: 0 18px;
  }

  .s24-header__logo,
  .s24-header__logo img {
    width: 132px;
    height: 34px;
  }

  .s24-header__menu {
    display: flex;
  }

  .s24-header__cta {
    display: none;
  }

  .s24-header__nav {
    position: fixed;
    inset: calc(var(--s24-header-announcement-h) + var(--s24-header-nav-h)) 0 auto;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 10px 18px 18px;
    background: #fff;
    border-bottom: 1px solid var(--s24-header-line);
  }

  .s24-header__nav.is-open {
    display: flex;
  }

  .s24-header__nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--s24-header-line);
  }

  .s24-whatsapp-float {
    right: max(14px, env(safe-area-inset-right));
    bottom: max(14px, env(safe-area-inset-bottom));
    width: 52px;
    height: 52px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .s24-header__nav a::after,
  .s24-header__cta,
  .button,
  .button::after,
  .s24-header__cta::after,
  .s24-whatsapp-float,
  .s24-motion-reveal {
    animation: none;
    transition: none;
  }

  .s24-motion-reveal {
    opacity: 1;
    transform: none;
  }

  .s24-header__logo,
  .s24-header__nav a,
  footer a,
  footer img {
    transform: none;
  }

  .s24-hover-react {
    transition: none;
  }
}
