/* Homepage motion, edge-to-edge rhythm, icon, header-cart, and footer parity. */

body.home .wp-site-blocks > main.pftg-front-main,
body.home .pftg-front-main > .wp-block-post-content > .pftg-home-hero,
body.home .pftg-front-main > .wp-block-post-content > .pftg-benefits {
  margin-block-start: 0 !important;
}

body.home .pftg-front-main > .wp-block-post-content > .pftg-home-hero {
  margin-block-end: 0 !important;
}

.pftg-home-hero .pftg-hero-slide {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  object-fit: cover;
  transform: scale(1);
  transform-origin: center center;
  transition: opacity 500ms ease;
}

.pftg-home-hero .pftg-hero-slide.is-active {
  opacity: 1;
  animation: pftg-ken-burns-in 20s linear forwards;
}

.pftg-home-hero > .wp-block-cover__background {
  z-index: 1;
}

.pftg-home-hero > .wp-block-cover__inner-container {
  z-index: 2;
}

@keyframes pftg-ken-burns-in {
  from { transform: scale(1); }
  to { transform: scale(1.2); }
}

.pftg-benefit-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #fff;
  font-size: 15px;
  line-height: 1.2;
  text-align: center;
}

.pftg-benefit-icon {
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
  overflow: visible;
  fill: none;
  stroke: #4fbbec;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pftg-header-main > .wp-block-shortcode {
  margin: 0;
}

.pftg-cart-link {
  position: relative;
  display: inline-flex;
  width: 65px;
  height: 41px;
  min-height: 41px;
  border: 1px solid #29363c;
  align-items: center;
  justify-content: center;
  color: #29363c;
  text-decoration: none;
}

.pftg-cart-link svg {
  width: 20px;
  height: 20px;
  overflow: visible;
  fill: #29363c;
}

.pftg-cart-link svg path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pftg-cart-count {
  position: absolute;
  top: 5px;
  right: 17px;
  display: grid;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  place-items: center;
  background: #e45d5d;
  color: #fff;
  font: 600 9px/1 Inter, sans-serif;
  transform: translate(50%, -50%);
}

.pftg-footer-menu-icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
}

@media (min-width: 782px) {
  .pftg-footer-product-menu > .pftg-footer-links,
  .pftg-footer-product-menu:not([open]) > .pftg-footer-links {
    display: block !important;
  }
}

@media (max-width: 781px) {
  .pftg-header-main > .wp-block-shortcode {
    display: none;
  }

  .pftg-benefit-item {
    flex-direction: column;
    gap: 8px;
  }

  .pftg-footer-product-menu:not([open]) > .pftg-footer-links {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pftg-home-hero .pftg-hero-slide {
    transition: none;
    animation: none !important;
    transform: scale(1) !important;
  }
}
