/* ==========================================================================
 # AFM Forest visual refresh
========================================================================== */

:root {
  --color-primary: #cd171a;
  --color-primary-dark: #9b0b0d;
  --color-black: #0b0e11;
  --color-title: #111418;
  --color-text: #3f4851;
  --color-text-light: #6d757c;
  --color-site-background: #f3f1ed;
  --color-grey-extra-light: #f3f1ed;
  --color-border: rgba(17, 20, 24, 0.14);
  --font-default: "Montserrat", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  --afm-surface: #fff;
  --afm-muted: #767d83;
  --afm-radius: 4px;
  --afm-shadow: 0 20px 60px rgba(11, 14, 17, 0.12);
  --afm-hero-title-size: clamp(3rem, 5.8vw, 5.8rem);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--color-site-background);
  color: var(--color-text);
  font-family: var(--font-default);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--color-primary);
  color: #fff;
}

a,
button,
input,
select,
textarea {
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(205, 23, 26, 0.42);
  outline-offset: 3px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  letter-spacing: -0.02em;
}

p {
  line-height: 1.72;
}

/* Header
----------------------------------------------- */

.site-header__upper {
  background: var(--color-black);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.55rem 0;
}

.site-header {
  position: relative;
}

.site-header__upper-container,
.site-header__inner {
  box-sizing: border-box;
  margin-left: auto;
  margin-right: auto;
  max-width: 96rem;
  width: 100%;
}

.site-header__upper-container {
  padding-left: clamp(1rem, 3vw, 3rem);
  padding-right: clamp(1rem, 3vw, 3rem);
}

.language-navigation__items > li > span > a,
.additional-navigation__items a {
  font-family: var(--font-default);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-header__wrapper {
  background: linear-gradient(180deg, rgba(7, 9, 12, 0.72) 0%, rgba(7, 9, 12, 0.28) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  top: 100%;
  transition: background 260ms ease, border-color 260ms ease, box-shadow 260ms ease, -webkit-backdrop-filter 260ms ease;
  transition: background 260ms ease, backdrop-filter 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}

body.admin-bar .site-header .site-header__wrapper {
  top: 100%;
}

.site-header__inner {
  padding: 0.9rem clamp(1rem, 3vw, 3rem);
}

.site-header__branding {
  padding-right: clamp(1rem, 2.5vw, 2.5rem);
}

.site-header__logo {
  display: block;
  height: auto;
  width: clamp(11rem, 16vw, 15rem);
}

.primary-navigation__items > li {
  margin-right: clamp(1rem, 2.1vw, 2rem);
}

.primary-navigation__items > li > span > a {
  font-family: var(--font-default);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding-bottom: 0.35rem;
}

.primary-navigation__items > li.current-menu-item > span > a:after,
.primary-navigation__items > li.current-menu-ancestor > span > a:after {
  bottom: -0.15rem;
  height: 2px;
}

.primary-navigation__items > li > .sub-menu {
  border-radius: var(--afm-radius);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
  overflow: visible;
}

.primary-navigation__items > li li > span > a {
  font-family: var(--font-default);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding-bottom: 0.8rem;
  padding-top: 0.8rem;
}

.site-header.sticky .site-header__wrapper {
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  backdrop-filter: saturate(180%) blur(24px);
  background: rgba(247, 247, 245, 0.76);
  border-bottom-color: rgba(17, 20, 24, 0.1);
  box-shadow: 0 8px 32px rgba(11, 14, 17, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.68);
}

.site-header.sticky .site-header__inner {
  padding-bottom: 0.65rem;
  padding-top: 0.65rem;
}

.site-header.sticky .site-header__logo {
  width: clamp(10rem, 14vw, 13rem);
}

.menu-toggle {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--afm-radius);
  color: #fff;
  padding: 0.7rem;
}

.site-header.sticky .menu-toggle {
  border-color: var(--color-border);
  color: var(--color-primary);
}

.mobile-menu__nav {
  background: #f7f5f1;
  box-shadow: -24px 0 70px rgba(11, 14, 17, 0.24);
}

.mobile-menu__overlay {
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  background: rgba(7, 9, 12, 0.62);
}

/* Hero
----------------------------------------------- */

.wp-block-hero-slider,
.wp-block-hero-slider .hero-swiper,
.wp-block-hero-slider .hero-swiper .swiper-slide {
  background: var(--color-black);
}

.wp-block-hero-slider .full-height .swiper-slide:before {
  padding-bottom: min(100vh, 58rem);
}

.wp-block-hero-slider .hero-swiper .swiper-slide__background:after {
  background:
    linear-gradient(180deg, rgba(4, 6, 8, 0.3) 0%, rgba(4, 6, 8, 0.08) 34%, rgba(4, 6, 8, 0.48) 100%),
    linear-gradient(90deg, rgba(4, 6, 8, 0.26) 0%, transparent 55%, rgba(4, 6, 8, 0.15) 100%);
  content: "";
  inset: 0;
  position: absolute;
}

.wp-block-hero-slider .hero-swiper .swiper-slide__background img {
  transform: scale(1.01);
}

.wp-block-hero-slider .hero-swiper .swiper-slide__content {
  box-sizing: border-box;
  max-width: 96rem;
  padding: 8rem clamp(1.25rem, 5vw, 5rem) 5.5rem;
  text-align: center;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.55);
  width: 100%;
}

.wp-block-hero-slider .hero-swiper .swiper-slide__content__title h1,
.wp-block-hero-slider .hero-swiper .swiper-slide__content__title h2 {
  font-size: var(--afm-hero-title-size);
  letter-spacing: -0.035em;
  line-height: 0.9;
  margin: 0 auto clamp(1.6rem, 3vw, 2.6rem);
  max-width: 68rem;
  text-wrap: balance;
  width: 100%;
}

/* Keep every page-level header title on the same responsive scale as the
   front-page hero without affecting headings inside normal page content. */
.hero h1,
.heading__title,
.single .entry__header .entry__title,
.blocks > .wp-block-cover:first-child h1 {
  font-size: var(--afm-hero-title-size);
}

.wp-block-hero-slider .hero-swiper .swiper-slide__content__text {
  margin: 0 auto clamp(1.5rem, 2.4vw, 2rem);
  max-width: 68rem;
  width: 100%;
}

.wp-block-hero-slider .hero-swiper .swiper-slide__content__text p {
  font-size: clamp(1.05rem, 1.55vw, 1.22rem);
  font-weight: 500;
  line-height: 1.55;
  margin: 0;
  text-wrap: balance;
}

.wp-block-hero-slider .hero-swiper .swiper-slide__content__link,
.wp-block-product-carousel .product-carousel .product-archive-links a,
.link-slider .link-swiper .swiper-slide__content__link,
.c-button.c-button--type-default,
.c-button.c-button--type-solid,
.ff-loadmore-wrapper .ff-btn {
  align-items: center;
  border: 1px solid var(--color-primary);
  border-radius: var(--afm-radius);
  box-shadow: 0 12px 30px rgba(155, 11, 13, 0.2);
  display: inline-flex;
  font-family: var(--font-default) !important;
  font-size: 0.78rem;
  font-weight: 800;
  gap: 0.85rem;
  justify-content: center;
  letter-spacing: 0.11em;
  min-height: 3.35rem;
  padding: 0.9rem 1.55rem;
  text-transform: uppercase;
}

.wp-block-hero-slider .hero-swiper .swiper-slide__content__link:after,
.link-slider .link-swiper .swiper-slide__content__link:after,
.c-button.c-button--type-default:after,
.c-button.c-button--type-solid:after {
  content: "\2192";
  font-size: 1.2em;
  line-height: 1;
  transition: transform 180ms ease;
}

.wp-block-hero-slider .hero-swiper .swiper-slide__content__link:hover,
.wp-block-hero-slider .hero-swiper .swiper-slide__content__link:focus,
.link-slider .link-swiper .swiper-slide__content__link:hover,
.link-slider .link-swiper .swiper-slide__content__link:focus,
.c-button.c-button--type-default:hover,
.c-button.c-button--type-solid:hover,
.c-button.c-button--type-default:focus,
.c-button.c-button--type-solid:focus {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  box-shadow: 0 16px 36px rgba(155, 11, 13, 0.28);
  transform: translateY(-2px);
}

.wp-block-hero-slider .hero-swiper .swiper-slide__content__link:hover:after,
.wp-block-hero-slider .hero-swiper .swiper-slide__content__link:focus:after,
.link-slider .link-swiper .swiper-slide__content__link:hover:after,
.link-slider .link-swiper .swiper-slide__content__link:focus:after,
.c-button.c-button--type-default:hover:after,
.c-button.c-button--type-default:focus:after,
.c-button.c-button--type-solid:hover:after,
.c-button.c-button--type-solid:focus:after {
  transform: translateX(4px);
}

.wp-block-hero-slider .hero-swiper .swiper-pagination {
  bottom: 2rem;
}

.wp-block-hero-slider .hero-swiper .swiper-pagination-bullet,
.link-slider .link-swiper .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.65);
  border-radius: 99px;
  height: 4px;
  opacity: 1;
  width: 2rem;
}

.wp-block-hero-slider .hero-swiper .swiper-pagination-bullet-active,
.link-slider .link-swiper .swiper-pagination-bullet-active {
  background: var(--color-primary);
  width: 3.5rem;
}

.wp-block-hero-slider .hero-swiper .swiper-button-prev:after,
.wp-block-hero-slider .hero-swiper .swiper-button-next:after {
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  background: rgba(9, 13, 17, 0.38) !important;
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.16);
  flex-basis: 40px;
  font-size: 1rem;
  height: 40px;
  width: 40px;
}

.wp-block-hero-slider .hero-swiper .swiper-button-prev,
.wp-block-hero-slider .hero-swiper .swiper-button-next {
  height: 40px;
  opacity: 0.55;
  width: 40px;
}

.wp-block-hero-slider .hero-swiper .swiper-button-prev:hover,
.wp-block-hero-slider .hero-swiper .swiper-button-next:hover,
.wp-block-hero-slider .hero-swiper .swiper-button-prev:focus-visible,
.wp-block-hero-slider .hero-swiper .swiper-button-next:focus-visible {
  opacity: 0.9;
}

.wp-block-hero-slider .hero-swiper .swiper-button-prev:hover:after,
.wp-block-hero-slider .hero-swiper .swiper-button-next:hover:after,
.wp-block-hero-slider .hero-swiper .swiper-button-prev:focus-visible:after,
.wp-block-hero-slider .hero-swiper .swiper-button-next:focus-visible:after {
  background: rgba(9, 13, 17, 0.62) !important;
  border-color: rgba(255, 255, 255, 0.42);
}

/* Editorial content sections
----------------------------------------------- */

.primary--front-page,
.entry--front-page {
  background: var(--color-site-background);
}

.background {
  padding-left: clamp(1.25rem, 4vw, 4rem);
  padding-right: clamp(1.25rem, 4vw, 4rem);
}

.background-color.background-color--light,
.background-color.background-color--default {
  background: var(--afm-surface);
}

.blocks--gutenberg-front-page > .wp-block-columns:first-of-type .background {
  padding-bottom: clamp(4rem, 8vw, 8rem);
  padding-top: clamp(4rem, 8vw, 8rem);
}

.blocks--gutenberg-front-page > .wp-block-columns:first-of-type .background__content {
  max-width: 62rem;
}

.blocks--gutenberg-front-page > .wp-block-columns:first-of-type p {
  color: var(--afm-muted);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  margin-left: auto;
  margin-right: auto;
  max-width: 54rem;
}

.wp-block-heading.underlined {
  padding-bottom: 1.5rem;
}

.wp-block-heading.underlined:after,
.link-slider .link-swiper .swiper-slide__content__title h2:after {
  background: var(--color-primary);
  border-radius: 99px;
  height: 4px;
  transform: none;
  width: 5rem;
}

.wp-block-heading.underlined.underlined-centered:after {
  width: 5rem;
}

.wp-block-heading.subheading {
  background: transparent;
  color: var(--color-primary) !important;
  font-family: var(--font-default);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  padding: 0;
  text-transform: uppercase;
}

.background.is-dark-mode .wp-block-heading.subheading {
  color: #fff !important;
}

/* Solutions slider
----------------------------------------------- */

.wp-block-link-slider {
  background: var(--color-black);
}

.link-slider .background-image,
.link-slider .link-swiper .swiper-slide__background img {
  filter: saturate(0.82) contrast(1.06);
}

.link-slider .link-swiper .swiper-slide {
  min-height: 38rem;
  padding-bottom: 5rem;
  padding-top: 5rem;
}

.link-slider .link-swiper .swiper-slide__wrapper {
  align-items: center;
  gap: clamp(2rem, 7vw, 7rem);
  max-width: 86rem;
}

.link-slider .link-swiper .swiper-slide__image {
  padding: 1rem;
}

.link-slider .link-swiper .swiper-slide__image img {
  filter: drop-shadow(0 28px 36px rgba(0, 0, 0, 0.5));
  max-height: 31rem;
}

.link-slider .link-swiper .swiper-slide__content {
  text-shadow: none;
}

.link-slider .link-swiper .swiper-slide__content__title h2 {
  font-size: clamp(3rem, 5.8vw, 5.4rem);
  letter-spacing: -0.03em;
  line-height: 0.92;
  margin-bottom: 1.75rem;
  padding-bottom: 1.6rem;
}

.link-slider .link-swiper .swiper-slide__content__title h2:after {
  left: 0;
}

.link-slider .link-swiper .swiper-slide__content__text {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.96rem;
  line-height: 1.78;
  max-width: 38rem;
}

.link-slider .link-swiper .swiper-slide__content__links {
  margin-top: 1.75rem;
}

.link-slider .link-swiper .swiper-button-prev,
.link-slider .link-swiper .swiper-button-next {
  align-items: center;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  display: flex;
  height: 3rem;
  justify-content: center;
  width: 3rem;
}

.link-slider .link-swiper .swiper-button-prev svg,
.link-slider .link-swiper .swiper-button-next svg {
  height: 1rem;
  width: 1rem;
}

/* Product cards and utility bars
----------------------------------------------- */

.wp-block-link-bar .link-bar__links {
  gap: 0.75rem;
}

.wp-block-link-bar .link-bar__link a {
  border-bottom: 2px solid transparent;
  font-family: var(--font-default);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  padding-bottom: 0.65rem;
  text-transform: uppercase;
}

.wp-block-link-bar .link-bar__link a:hover,
.wp-block-link-bar .link-bar__link a:focus {
  border-bottom-color: var(--color-primary);
}

.wp-block-product-carousel .product-carousel__product-link,
.tax-afm_product_category .teaser--afm_product {
  background: #fff;
  border: 1px solid rgba(17, 20, 24, 0.08);
  border-radius: var(--afm-radius);
  box-shadow: 0 14px 40px rgba(11, 14, 17, 0.07);
  overflow: hidden;
}

.wp-block-product-carousel .product-carousel__product-link:hover,
.wp-block-product-carousel .product-carousel__product-link:focus,
.tax-afm_product_category .teaser--afm_product:hover {
  border-color: rgba(205, 23, 26, 0.34);
  box-shadow: var(--afm-shadow);
  transform: translateY(-5px);
}

.tax-afm_product_category .teaser-container .teaser--afm_product .teaser__attributes {
  font-size: 0.84rem;
  font-weight: 800;
  gap: 0.5rem;
  padding: 0.65rem;
}

/* Product archive cards */

.post-type-archive-afm_product .extra-content.blocks > .wp-block-heading {
  margin-bottom: 0.75rem;
}

.post-type-archive-afm_product .extra-content.blocks > .wp-block-heading + .wp-block-product-carousel {
  margin-top: 0;
}

.post-type-archive-afm_product .wp-block-product-carousel .product-carousel {
  padding-top: 0;
}

.post-type-archive-afm_product .wp-block-product-carousel .product-carousel__products {
  box-sizing: border-box;
  padding: 0 clamp(1rem, 2.6vw, 3rem) 2.25rem;
}

.post-type-archive-afm_product .wp-block-product-carousel .product-carousel-swiper {
  padding: 0.75rem 0 0;
}

.post-type-archive-afm_product .wp-block-product-carousel .swiper-wrapper {
  align-items: stretch;
}

.post-type-archive-afm_product .wp-block-product-carousel .product-carousel-swiper:not(.swiper-initialized) .swiper-wrapper {
  gap: 16px;
}

.post-type-archive-afm_product .wp-block-product-carousel .product-carousel-swiper:not(.swiper-initialized) .swiper-wrapper > .product-carousel__product {
  flex: 0 0 calc((100% - 32px) / 3);
  width: calc((100% - 32px) / 3);
}

@media (min-width: 720px) {
  .post-type-archive-afm_product .wp-block-product-carousel .product-carousel-swiper:not(.swiper-initialized) .swiper-wrapper > .product-carousel__product {
    flex-basis: calc((100% - 48px) / 4);
    width: calc((100% - 48px) / 4);
  }
}

@media (min-width: 1120px) {
  .post-type-archive-afm_product .wp-block-product-carousel .product-carousel-swiper:not(.swiper-initialized) .swiper-wrapper > .product-carousel__product {
    flex-basis: calc((100% - 64px) / 5);
    width: calc((100% - 64px) / 5);
  }
}

@media (min-width: 1480px) {
  .post-type-archive-afm_product .wp-block-product-carousel .product-carousel-swiper:not(.swiper-initialized) .swiper-wrapper > .product-carousel__product {
    flex-basis: calc((100% - 80px) / 6);
    width: calc((100% - 80px) / 6);
  }
}

.post-type-archive-afm_product .wp-block-product-carousel .product-carousel__product {
  box-sizing: border-box;
  height: auto;
  padding: 0 0.15rem 1rem;
}

.post-type-archive-afm_product .wp-block-product-carousel .product-carousel__product-link {
  background: linear-gradient(180deg, #fff 0%, #f7f7f6 100%);
  border: 1px solid rgba(17, 20, 24, 0.1);
  border-radius: var(--afm-radius);
  box-shadow: 0 10px 28px rgba(11, 14, 17, 0.08);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 31rem;
  overflow: hidden;
  padding-bottom: 1.5rem;
  position: relative;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.post-type-archive-afm_product .wp-block-product-carousel .product-carousel__product-link:after {
  background: var(--color-primary);
  bottom: 0;
  content: "";
  height: 4px;
  left: 0;
  position: absolute;
  transform: scaleX(0.22);
  transform-origin: left center;
  transition: transform 180ms ease;
  width: 100%;
}

.post-type-archive-afm_product .wp-block-product-carousel .product-carousel__product-link:hover,
.post-type-archive-afm_product .wp-block-product-carousel .product-carousel__product-link:focus-visible {
  border-color: rgba(205, 23, 26, 0.35);
  box-shadow: var(--afm-shadow);
  color: var(--color-text);
  transform: translateY(-5px);
}

.post-type-archive-afm_product .wp-block-product-carousel .product-carousel__product-link:hover:after,
.post-type-archive-afm_product .wp-block-product-carousel .product-carousel__product-link:focus-visible:after {
  transform: scaleX(1);
}

.post-type-archive-afm_product .wp-block-product-carousel .product-carousel__product-image {
  background: linear-gradient(145deg, #f5f6f6, #eceeed);
  border-bottom: 1px solid rgba(17, 20, 24, 0.07);
  margin: 0;
  overflow: hidden;
  padding-bottom: 16rem;
}

.post-type-archive-afm_product .wp-block-product-carousel .product-carousel__product-image img {
  height: calc(100% - 2rem);
  left: 1rem;
  padding: 0;
  top: 1rem;
  width: calc(100% - 2rem);
}

.post-type-archive-afm_product .wp-block-product-carousel .product-carousel__product:hover .product-carousel__product-image img {
  transform: scale(1.04);
}

.post-type-archive-afm_product .wp-block-product-carousel .product-carousel__product-title {
  align-items: center;
  box-sizing: border-box;
  color: var(--color-title);
  display: flex;
  font-size: 1.75rem;
  justify-content: center;
  line-height: 1;
  margin: 0;
  min-height: 4.25rem;
  padding: 0.4rem 1rem;
  text-align: center;
}

.post-type-archive-afm_product .wp-block-product-carousel .product-carousel__product-attributes {
  margin: 0;
  padding: 0 1rem 0.5rem;
}

.post-type-archive-afm_product .wp-block-product-carousel .product-carousel__product-attribute {
  align-items: center;
  border-top: 1px solid rgba(17, 20, 24, 0.08);
  display: grid;
  gap: 0.45rem;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 0.32rem 0;
}

.post-type-archive-afm_product .wp-block-product-carousel .product-carousel__product-attribute dt {
  align-items: center;
  color: var(--afm-muted);
  display: flex;
  font-size: 0.6rem;
  font-weight: 800;
  gap: 0.35rem;
  letter-spacing: 0.035em;
  line-height: 1.1;
  margin: 0;
  text-transform: uppercase;
}

.post-type-archive-afm_product .wp-block-product-carousel .product-carousel__product-attribute dt .af-icons {
  color: var(--color-primary);
  flex: 0 0 auto;
  font-size: 0.95rem;
}

.post-type-archive-afm_product .wp-block-product-carousel .product-carousel__product-attribute dd {
  color: var(--color-title);
  font-size: 0.7rem;
  font-weight: 800;
  justify-self: end;
  line-height: 1.15;
  margin: 0;
  max-width: none;
  text-align: right;
  white-space: nowrap;
}

.post-type-archive-afm_product .wp-block-product-carousel .product-carousel__product-excerpt {
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  color: var(--afm-muted);
  display: -webkit-box;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
  margin-bottom: 0;
  overflow: hidden;
  padding: 0.75rem 1.25rem 0;
}

/* Product taxonomy cards use the same visual language as the archive carousel. */

.taxonomy-afm-product-category .teaser-container .teaser--afm_product {
  background: linear-gradient(180deg, #fff 0%, #f7f7f6 100%);
  border: 1px solid rgba(17, 20, 24, 0.1);
  border-radius: var(--afm-radius);
  box-shadow: 0 10px 28px rgba(11, 14, 17, 0.08);
  box-sizing: border-box;
  min-height: 31rem;
  overflow: hidden;
  padding-bottom: 1.5rem;
  position: relative;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.taxonomy-afm-product-category .teaser-container .teaser--afm_product:after {
  background: var(--color-primary);
  bottom: 0;
  content: "";
  height: 4px;
  left: 0;
  position: absolute;
  transform: scaleX(0.22);
  transform-origin: left center;
  transition: transform 180ms ease;
  width: 100%;
}

.taxonomy-afm-product-category .teaser-container .teaser--afm_product:hover,
.taxonomy-afm-product-category .teaser-container .teaser--afm_product:focus-within {
  border-color: rgba(205, 23, 26, 0.35);
  box-shadow: var(--afm-shadow);
  transform: translateY(-5px);
}

.taxonomy-afm-product-category .teaser-container .teaser--afm_product:hover:after,
.taxonomy-afm-product-category .teaser-container .teaser--afm_product:focus-within:after {
  transform: scaleX(1);
}

.taxonomy-afm-product-category .teaser-container .teaser--afm_product .teaser__card {
  flex-direction: column;
  height: 100%;
  width: 100%;
}

.taxonomy-afm-product-category .teaser-container .teaser--afm_product .teaser__thumbnail {
  background: linear-gradient(145deg, #f5f6f6, #eceeed);
  border-bottom: 1px solid rgba(17, 20, 24, 0.07);
  margin: 0;
  max-width: 100%;
  overflow: hidden;
  padding-bottom: 16rem;
}

.taxonomy-afm-product-category .teaser-container .teaser--afm_product .teaser__thumbnail img {
  height: calc(100% - 2rem);
  left: 1rem;
  padding: 0;
  top: 1rem;
  width: calc(100% - 2rem);
}

.taxonomy-afm-product-category .teaser-container .teaser--afm_product:hover .teaser__thumbnail img,
.taxonomy-afm-product-category .teaser-container .teaser--afm_product:focus-within .teaser__thumbnail img {
  transform: scale(1.04);
}

.taxonomy-afm-product-category .teaser-container .teaser--afm_product .teaser__content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
}

.taxonomy-afm-product-category .teaser-container .teaser--afm_product .teaser__header {
  align-items: center;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  margin: 0;
  min-height: 4.25rem;
  text-align: center;
}

.taxonomy-afm-product-category .teaser-container .teaser--afm_product .teaser__title {
  color: var(--color-title);
  font-size: 1.75rem;
  line-height: 1;
  margin: 0;
  padding: 0.4rem 1rem;
}

.taxonomy-afm-product-category .teaser-container .teaser--afm_product .teaser__attributes {
  background: transparent;
  display: block;
  font-size: inherit;
  margin: 0;
  padding: 0 1rem 0.5rem;
}

.taxonomy-afm-product-category .teaser-container .teaser--afm_product .teaser__attributes .teaser__attribute {
  align-items: center;
  border-top: 1px solid rgba(17, 20, 24, 0.08);
  color: var(--color-title);
  display: grid;
  flex: none;
  font-family: var(--font-default);
  gap: 0.45rem;
  grid-template-columns: minmax(0, 1fr) auto;
  max-width: none;
  padding: 0.32rem 0;
  width: 100%;
}

.taxonomy-afm-product-category .teaser-container .teaser--afm_product .teaser__attribute dt {
  align-items: center;
  color: var(--afm-muted);
  display: flex;
  font-size: 0.6rem;
  font-weight: 800;
  gap: 0.35rem;
  letter-spacing: 0.035em;
  line-height: 1.1;
  margin: 0;
  text-transform: uppercase;
}

.taxonomy-afm-product-category .teaser-container .teaser--afm_product .teaser__attribute dt .af-icons {
  color: var(--color-primary);
  flex: 0 0 auto;
  font-size: 0.95rem;
  max-width: none;
  text-align: center;
  width: 1rem;
}

.taxonomy-afm-product-category .teaser-container .teaser--afm_product .teaser__attribute dd {
  color: var(--color-title);
  font-size: 0.7rem;
  font-weight: 800;
  justify-self: end;
  line-height: 1.15;
  margin: 0;
  text-align: right;
  white-space: nowrap;
}

.taxonomy-afm-product-category .teaser-container .teaser--afm_product .teaser__summary {
  color: var(--afm-muted);
  flex: 1 1 auto;
  margin: 0;
  padding: 0.75rem 1.25rem 0;
}

.taxonomy-afm-product-category .teaser-container .teaser--afm_product .teaser__summary p {
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  display: -webkit-box;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
  margin: 0;
  overflow: hidden;
  text-align: left;
}

/* Compact product highlights: icon and value stay visible, labels remain accessible. */

.post-type-archive-afm_product .wp-block-product-carousel .product-carousel__product-attributes,
.taxonomy-afm-product-category .teaser-container .teaser--afm_product .teaser__attributes {
  align-items: center;
  border-bottom: 1px solid rgba(17, 20, 24, 0.08);
  border-top: 1px solid rgba(17, 20, 24, 0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.8rem;
  padding: 0.5rem 1rem 0.75rem;
}

.post-type-archive-afm_product .wp-block-product-carousel .product-carousel__product-attribute,
.taxonomy-afm-product-category .teaser-container .teaser--afm_product .teaser__attributes .teaser__attribute {
  border-top: 0;
  display: grid;
  flex: 0 0 auto;
  gap: 0.3rem;
  grid-template-columns: 1rem auto;
  max-width: none;
  padding: 0;
  width: auto;
}

.post-type-archive-afm_product .wp-block-product-carousel .product-carousel__product-attribute dt,
.taxonomy-afm-product-category .teaser-container .teaser--afm_product .teaser__attribute dt {
  gap: 0;
  justify-content: center;
}

.post-type-archive-afm_product .wp-block-product-carousel .product-carousel__product-attribute dt span,
.taxonomy-afm-product-category .teaser-container .teaser--afm_product .teaser__attribute dt span {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.post-type-archive-afm_product .wp-block-product-carousel .product-carousel__product-attribute dd,
.taxonomy-afm-product-category .teaser-container .teaser--afm_product .teaser__attribute dd {
  font-size: 0.62rem;
  font-weight: 600;
  justify-self: start;
  text-align: left;
}

/* Homepage product and application selector
----------------------------------------------- */

.homepage-product-selector {
  background:
    radial-gradient(circle at 50% -12rem, rgba(205, 23, 26, 0.2), transparent 32rem),
    linear-gradient(180deg, #111419 0%, #0b0d10 100%);
  box-sizing: border-box;
  color: #fff;
  overflow: hidden;
  padding: clamp(3.5rem, 6vw, 5.5rem) clamp(1rem, 3vw, 2.5rem);
  position: relative;
}

.homepage-product-selector__inner {
  margin: 0 auto;
  max-width: 90rem;
  position: relative;
  z-index: 1;
}

.homepage-product-selector:before {
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
  content: "";
  height: 2px;
  left: 50%;
  opacity: 0.85;
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  width: min(32rem, 70vw);
}

.homepage-product-selector .homepage-product-selector__title {
  color: #fff;
  margin: 0 auto 1rem;
  text-align: center;
}

.homepage-product-selector .homepage-product-selector__intro {
  color: rgba(255, 255, 255, 0.68);
  margin: 0 auto;
  max-width: 48rem;
  text-align: center;
}

.homepage-product-selector__grid {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: clamp(2rem, 4vw, 3.25rem) auto 0;
  max-width: 90rem;
}

/* The theme's legacy Group renderer adds an inner container on the front end.
   Keep the native Cover blocks as direct grid/flex items in the box tree. */
.homepage-product-selector__grid > .wp-block-group__inner-container {
  display: contents;
}

.homepage-product-selector__card {
  background: #15191e;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--afm-radius);
  box-sizing: border-box;
  color: #fff;
  display: flex;
  flex-direction: column;
  isolation: isolate;
  min-height: clamp(18rem, 22vw, 21rem);
  overflow: hidden;
  position: relative;
  text-decoration: none;
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.homepage-product-selector__card.wp-block-cover {
  align-items: stretch;
  padding: 0;
}

.homepage-product-selector__card:before {
  background: linear-gradient(
    180deg,
    rgba(5, 8, 11, var(--selector-overlay-top, 0.1)) 10%,
    rgba(5, 8, 11, var(--selector-overlay-mid, 0.4)) 38%,
    rgba(5, 8, 11, var(--selector-overlay-bottom, 0.9)) 72%,
    rgba(5, 8, 11, 1) 100%
  );
  content: "";
  inset: 0;
  position: absolute;
  transition: background 220ms ease;
  z-index: 1;
}

.homepage-product-selector__card:after {
  background: var(--color-primary);
  bottom: 0;
  content: "";
  height: 3px;
  left: 1.35rem;
  position: absolute;
  transition: width 220ms ease;
  width: 2.75rem;
  z-index: 3;
}

.homepage-product-selector__card .wp-block-cover__image-background {
  display: block;
  height: 100% !important;
  inset: 0;
  max-height: none !important;
  max-width: none !important;
  min-height: 100%;
  object-fit: cover !important;
  position: absolute !important;
  transition: filter 320ms ease, transform 520ms cubic-bezier(0.2, 0.8, 0.2, 1);
  width: 100% !important;
  z-index: 0;
}

.homepage-product-selector__card > .wp-block-cover__background {
  z-index: 1;
}

.homepage-product-selector__card > .wp-block-cover__inner-container {
  box-sizing: border-box;
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: flex-end;
  min-height: inherit;
  padding: 1.4rem;
  position: relative;
  width: 100%;
  z-index: 2;
}

.homepage-product-selector__card:hover,
.homepage-product-selector__card:focus-within {
  border-color: rgba(205, 23, 26, 0.72);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.35);
  color: #fff;
  transform: translateY(-4px);
}

.homepage-product-selector__card:hover .wp-block-cover__image-background,
.homepage-product-selector__card:focus-within .wp-block-cover__image-background {
  filter: saturate(1.08) brightness(1.04);
  transform: scale(1.055);
}

.homepage-product-selector__card:hover:after,
.homepage-product-selector__card:focus-within:after {
  width: calc(100% - 2.7rem);
}

.homepage-product-selector__eyebrow {
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin: 0 0 0.55rem;
  text-transform: uppercase;
}

.homepage-product-selector__card h3 {
  color: #fff;
  font-size: clamp(1.5rem, 2vw, 2rem);
  line-height: 1;
  margin: 0 0 0.65rem;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.5);
}

.homepage-product-selector__description {
  color: rgba(255, 255, 255, 0.65);
  display: -webkit-box;
  font-size: 0.82rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-height: 1.45;
  margin: 0 0 1rem;
  overflow: hidden;
}

.homepage-product-selector__action {
  margin: 0;
}

.homepage-product-selector__action a {
  align-items: center;
  color: #fff;
  display: inline-flex;
  font-size: 0.67rem;
  font-weight: 800;
  gap: 0.5rem;
  letter-spacing: 0.09em;
  text-decoration: none;
  text-transform: uppercase;
}

.homepage-product-selector__action a:before {
  content: "";
  inset: 0;
  position: absolute;
  z-index: 4;
}

.homepage-product-selector__action a:after {
  color: var(--color-primary);
  content: "\2192";
  font-size: 1.15rem;
  line-height: 1;
  transition: transform 180ms ease;
}

.homepage-product-selector__card:hover .homepage-product-selector__action a:after,
.homepage-product-selector__card:focus-within .homepage-product-selector__action a:after {
  transform: translateX(0.25rem);
}

@media (max-width: 1180px) {
  .homepage-product-selector__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .homepage-product-selector__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .homepage-product-selector {
    padding-left: 1rem;
    padding-right: 0;
  }

  .homepage-product-selector .homepage-product-selector__title,
  .homepage-product-selector .homepage-product-selector__intro {
    padding-right: 1rem;
  }

  .homepage-product-selector__grid {
    display: flex;
    gap: 0.8rem;
    margin-top: 2rem;
    max-width: none;
    overflow-x: auto;
    padding: 0.35rem 1rem 1.25rem 0;
    scroll-padding-left: 0;
    scroll-snap-type: x mandatory;
  }

  .homepage-product-selector__card {
    flex: 0 0 min(78vw, 18rem);
    min-height: 17rem;
    scroll-snap-align: start;
  }
}

/* Homepage featured products
----------------------------------------------- */

.homepage-products-section {
  background:
    radial-gradient(circle at 12% 0%, rgba(205, 23, 26, 0.07), transparent 26rem),
    linear-gradient(180deg, #f7f7f5 0%, #efefec 100%);
  box-sizing: border-box;
  padding: clamp(3.5rem, 7vw, 6rem) clamp(1rem, 3vw, 2.5rem);
}

.homepage-products-section > .wp-block-heading {
  margin: 0 auto 1rem;
}

.homepage-products-section > .homepage-products-section__intro {
  color: var(--afm-muted);
  margin: 0 auto;
  max-width: 46rem;
  text-align: center;
}

.homepage-product-showcase {
  margin-left: auto !important;
  margin-right: auto !important;
  margin-top: clamp(1.75rem, 4vw, 3rem) !important;
  max-width: 86rem !important;
  width: 100%;
}

.homepage-product-showcase .product-carousel {
  padding: 0;
}

.homepage-product-showcase .product-carousel-swiper {
  overflow: visible;
  padding: 0.75rem 0.25rem 0;
}

.homepage-product-showcase .swiper-wrapper {
  align-items: stretch;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  transform: none !important;
  width: 100% !important;
}

.homepage-product-showcase .product-carousel__product {
  box-sizing: border-box;
  height: auto;
  margin: 0 !important;
  padding: 0 0 1rem;
  width: auto !important;
}

.homepage-product-showcase .product-carousel__product-link {
  background: linear-gradient(180deg, #fff 0%, #f7f7f6 100%);
  border: 1px solid rgba(17, 20, 24, 0.1);
  border-radius: var(--afm-radius);
  box-shadow: 0 10px 28px rgba(11, 14, 17, 0.08);
  box-sizing: border-box;
  color: var(--color-text);
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 29rem;
  overflow: hidden;
  padding-bottom: 1.25rem;
  position: relative;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.homepage-product-showcase .product-carousel__product-link:after {
  background: var(--color-primary);
  bottom: 0;
  content: "";
  height: 4px;
  left: 0;
  position: absolute;
  transform: scaleX(0.22);
  transform-origin: left center;
  transition: transform 180ms ease;
  width: 100%;
}

.homepage-product-showcase .product-carousel__product-link:hover,
.homepage-product-showcase .product-carousel__product-link:focus-visible {
  border-color: rgba(205, 23, 26, 0.35);
  box-shadow: var(--afm-shadow);
  color: var(--color-text);
  transform: translateY(-5px);
}

.homepage-product-showcase .product-carousel__product-link:hover:after,
.homepage-product-showcase .product-carousel__product-link:focus-visible:after {
  transform: scaleX(1);
}

.homepage-product-showcase .product-carousel__product-image {
  background: linear-gradient(145deg, #f5f6f6, #eceeed);
  border-bottom: 1px solid rgba(17, 20, 24, 0.07);
  margin: 0;
  overflow: hidden;
  padding-bottom: 14rem;
}

.homepage-product-showcase .product-carousel__product-image img {
  height: calc(100% - 2rem);
  left: 1rem;
  padding: 0;
  top: 1rem;
  width: calc(100% - 2rem);
}

.homepage-product-showcase .product-carousel__product-title {
  align-items: center;
  box-sizing: border-box;
  color: var(--color-title);
  display: flex;
  font-size: 1.75rem;
  justify-content: center;
  line-height: 1;
  margin: 0;
  min-height: 4rem;
  padding: 0.45rem 1rem;
  text-align: center;
}

.homepage-product-showcase .product-carousel__product-attributes {
  align-items: center;
  border-bottom: 1px solid rgba(17, 20, 24, 0.08);
  border-top: 1px solid rgba(17, 20, 24, 0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.8rem;
  margin: 0;
  padding: 0.5rem 1rem 0.75rem;
}

.homepage-product-showcase .product-carousel__product-attribute {
  align-items: center;
  display: grid;
  flex: 0 0 auto;
  gap: 0.3rem;
  grid-template-columns: 1rem auto;
  min-height: 1.25rem;
}

.homepage-product-showcase .product-carousel__product-attribute dt {
  align-items: center;
  color: var(--color-primary);
  display: flex;
  justify-content: center;
  line-height: 1;
  margin: 0;
  min-height: 1.25rem;
}

.homepage-product-showcase .product-carousel__product-attribute dt .af-icons {
  align-items: center;
  display: inline-flex;
  font-size: 0.95rem;
  height: 1.25rem;
  justify-content: center;
  line-height: 1;
}

.homepage-product-showcase .product-carousel__product-attribute dt span {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.homepage-product-showcase .product-carousel__product-attribute dd {
  align-items: center;
  align-self: center;
  color: var(--color-title);
  display: flex;
  font-size: 0.62rem;
  font-weight: 600;
  line-height: 1;
  margin: 0;
  min-height: 1.25rem;
  white-space: nowrap;
}

.homepage-product-showcase .product-carousel__product-excerpt {
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  color: var(--afm-muted);
  display: -webkit-box;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  margin: 0;
  overflow: hidden;
  padding: 0.8rem 1.15rem 0;
}

.homepage-product-showcase .product-archive-links {
  margin-top: 1.5rem;
}

@media (max-width: 960px) {
  .homepage-product-showcase .swiper-wrapper {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .homepage-products-section {
    padding-left: 1rem;
    padding-right: 0;
  }

  .homepage-products-section > .wp-block-heading,
  .homepage-products-section > .homepage-products-section__intro {
    padding-right: 1rem;
  }

  .homepage-product-showcase .product-carousel-swiper {
    -webkit-overflow-scrolling: touch;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 1.25rem;
    scroll-padding-left: 0.25rem;
    scroll-snap-type: x mandatory;
    touch-action: auto;
  }

  .homepage-product-showcase .swiper-wrapper {
    display: flex;
    gap: 1rem;
    width: max-content !important;
  }

  .homepage-product-showcase .product-carousel__product {
    flex: 0 0 min(82vw, 20rem);
    scroll-snap-align: start;
    width: min(82vw, 20rem) !important;
  }

  .homepage-product-showcase .product-archive-links {
    padding-right: 1rem;
  }
}

/* Sales callout and social feed
----------------------------------------------- */

.blocks--gutenberg-front-page > .wp-block-acf-background:last-child {
  min-height: 34rem;
}

.blocks--gutenberg-front-page > .wp-block-acf-background:last-child .background__media img {
  filter: saturate(0.72) contrast(1.08);
}

.blocks--gutenberg-front-page > .wp-block-acf-background:last-child .background__dimming {
  background: linear-gradient(90deg, rgba(7, 9, 12, 0.86), rgba(7, 9, 12, 0.42));
  opacity: 1 !important;
}

.blocks--gutenberg-front-page > .wp-block-acf-background:last-child .background__content {
  margin-left: auto;
  margin-right: auto;
  max-width: 62rem;
}

.ff-stream-wrapper .ff-item,
.ff-stream-wrapper .ff-masonry-post {
  border: 0;
  border-radius: var(--afm-radius);
  box-shadow: 0 12px 38px rgba(11, 14, 17, 0.09);
  overflow: hidden;
}

/* Forms
----------------------------------------------- */

input,
select,
textarea {
  background: #fff;
  border: 1px solid rgba(17, 20, 24, 0.18);
  border-radius: var(--afm-radius);
  color: var(--color-text);
  max-width: 100%;
  padding: 0.8rem 1rem;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(205, 23, 26, 0.1);
}

.one-half,
.one-third {
  float: left;
  margin-bottom: 0;
  margin-right: 1%;
  position: relative;
}

.one-half p,
.one-third p {
  display: block;
  font-size: 1rem;
  font-weight: var(--font-weight-normal);
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.one-half { width: 48%; }
.one-third { width: 30.66%; }

.last {
  clear: right;
  margin-right: 0 !important;
}

/* Product pages
----------------------------------------------- */

.single-afm_product .header-product-attributes__wrapper {
  gap: 0.5rem;
  padding-bottom: 0.5rem;
}

.single-afm_product .header-product-attributes__wrapper .header-product-attribute {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(17, 20, 24, 0.08);
  border-radius: var(--afm-radius);
  padding: 0.7rem 0.45rem;
}

.single-afm_product .header-product-attributes__wrapper .header-product-attribute__title {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.single-afm_product .header-product-attributes__wrapper .header-product-attribute__title i {
  display: block;
  font-size: 1.4rem;
  margin-right: 0;
}

.single-afm_product .header-product-attributes__wrapper .header-product-attribute__value {
  font-size: 1.7rem;
}

.product-gallery .product-gallery-thumbnail-swiper .swiper-slide .swiper-image {
  padding-bottom: 66.25%;
}

.single-afm_product .entry__info .info-container .attributes__title,
.single-afm_product .entry__info .info-container .media__title {
  font-family: var(--font-title);
  font-size: 2rem;
}

.post-type-archive-afm_product .hero-bg__media__dimming,
.tax-afm_product_category .hero-bg__media__dimming {
  opacity: 0.72 !important;
}

ul.wp-block-list {
  padding-left: 1.15rem;
}

/* Footer
----------------------------------------------- */

.site-footer {
  background: var(--color-black);
  box-shadow: none;
  padding-top: clamp(4rem, 7vw, 7rem);
}

.site-footer h2,
.site-footer h3,
.site-footer h4,
.site-footer h5,
.site-footer h6,
.site-footer p,
.site-footer span,
.site-footer li,
.site-footer a {
  color: rgba(255, 255, 255, 0.74);
}

.site-footer__branding {
  margin-bottom: 3rem;
  text-align: left;
}

.site-footer__branding__logo {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
  height: auto;
  max-width: 13rem;
}

.site-footer__widgets {
  font-family: var(--font-default);
  gap: clamp(2rem, 4vw, 4rem);
}

.site-footer__widget .wp-block-heading,
.site-footer__social-menu h2 {
  color: #fff;
  font-family: var(--font-default);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-footer__widget a:hover,
.site-footer__widget a:focus {
  color: #fff;
}

.site-footer__social-menu {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 2.5rem;
  padding-top: 2rem;
}

.site-footer__social-menu .social-navigation__items .menu-item .icon {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer__legal-menu {
  background: #07090b;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 3rem;
  padding: 1.25rem 0;
}

.site-footer__legal-menu__container {
  font-family: var(--font-default);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer__legal-menu__container .copyright,
.site-footer__legal-menu__container .legal-navigation a,
.site-footer__legal-menu__container .copyright:after,
.site-footer__legal-menu__container .legal-navigation li:not(:last-of-type):after {
  color: rgba(255, 255, 255, 0.42);
}

/* Responsive refinements
----------------------------------------------- */

@media (min-width: 560px) {
  h2 { font-size: clamp(3rem, 5vw, 4.6rem); }
}

@media (min-width: 920px) {
  .wp-block-acf-media-text.alignfull .media-text__content {
    justify-content: center;
    padding: clamp(3rem, 6vw, 6rem);
  }
}

@media (min-width: 890px) {
  .site-header,
  .site-header__wrapper,
  .site-header__inner,
  .site-header__menus,
  .site-header__main,
  .primary-navigation {
    overflow: visible;
  }

  .primary-navigation__items .sub-menu {
    z-index: 1001;
  }

  .primary-navigation__items > li:focus-within > .sub-menu,
  .primary-navigation__items > li[aria-expanded="true"] > .sub-menu {
    display: block;
    left: 50%;
    opacity: 1;
    pointer-events: auto;
  }

  .primary-navigation__items > li > .sub-menu > li:focus-within > .sub-menu,
  .primary-navigation__items > li > .sub-menu > li[aria-expanded="true"] > .sub-menu {
    display: block;
    left: 100%;
    opacity: 1;
    pointer-events: auto;
    top: 0;
  }

  .primary-navigation__items > li > .sub-menu.is-out-of-bounds {
    left: auto;
    right: 0;
  }

  .primary-navigation__items > li > .sub-menu > li > .sub-menu.is-out-of-bounds {
    left: calc(-1 * var(--width-menu-dropdown));
    right: 0;
  }
}

@media (min-width: 1120px) {
  .single-afm_product .header-product-attributes__wrapper .header-product-attribute {
    background-color: var(--color-site-background);
  }
}

@media (max-width: 889px) {
  .site-header__upper { display: none; }

  .site-header__wrapper { top: 0; }

  .site-header__inner {
    padding-bottom: 0.75rem;
    padding-top: 0.75rem;
  }

  .site-header__logo { width: 11rem; }

  .wp-block-hero-slider .hero-swiper .swiper-slide__content { padding-top: 7.5rem; }

  .wp-block-hero-slider .hero-swiper .swiper-button-prev,
  .wp-block-hero-slider .hero-swiper .swiper-button-next,
  .link-slider .link-swiper .swiper-button-prev,
  .link-slider .link-swiper .swiper-button-next { display: none; }

  .link-slider .link-swiper .swiper-slide {
    min-height: 0;
    padding-bottom: 5.5rem;
    padding-top: 4.5rem;
  }

  .link-slider .link-swiper .swiper-slide__content { text-align: center; }

  .link-slider .link-swiper .swiper-slide__content__title h2:after {
    left: 50%;
    transform: translateX(-50%);
  }

  .link-slider .link-swiper .swiper-slide__content__text {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 767px) {
  .one-half,
  .one-third {
    margin-right: 0;
    width: 100%;
  }

  .site-footer__branding,
  .site-footer__widget { text-align: center; }

  .site-footer__branding__logo {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 559px) {
  :root {
    --afm-hero-title-size: clamp(3rem, 15vw, 4.5rem);
  }

  .wp-block-hero-slider .full-height .swiper-slide:before {
    padding-bottom: min(100svh, 49rem);
  }

  .wp-block-hero-slider .hero-swiper .swiper-slide__content__title h1,
  .wp-block-hero-slider .hero-swiper .swiper-slide__content__title h2 {
    font-size: var(--afm-hero-title-size);
  }

  .wp-block-hero-slider .hero-swiper .swiper-pagination-bullet,
  .link-slider .link-swiper .swiper-pagination-bullet { width: 1.25rem; }

  .wp-block-hero-slider .hero-swiper .swiper-pagination-bullet-active,
  .link-slider .link-swiper .swiper-pagination-bullet-active { width: 2.25rem; }

  .link-slider .link-swiper .swiper-slide__image img { max-height: 20rem; }
}

/* Product page redesign
----------------------------------------------- */

body.single-afm_product {
  background: var(--color-site-background);
}

.single-afm_product .hero-bg {
  min-height: clamp(28rem, 42vw, 38rem);
}

.single-afm_product .hero-bg__media__dimming {
  background:
    linear-gradient(180deg, rgba(5, 8, 11, 0.42) 0%, rgba(5, 8, 11, 0.18) 38%, rgba(5, 8, 11, 0.76) 100%),
    linear-gradient(90deg, rgba(5, 8, 11, 0.42), transparent 52%, rgba(5, 8, 11, 0.28));
  opacity: 1 !important;
}

.single-afm_product .hero-bg__media img {
  filter: saturate(0.82) contrast(1.05);
}

.single-afm_product .hero-bg__container {
  box-sizing: border-box;
  padding: clamp(8rem, 13vw, 11rem) clamp(1.25rem, 4vw, 4rem) clamp(6rem, 9vw, 8rem);
  width: 100%;
}

.single-afm_product .hero-bg__container__inner {
  max-width: 86rem;
}

.single-afm_product .hero-bg h1 {
  font-size: var(--afm-hero-title-size);
  letter-spacing: -0.035em;
  line-height: 0.88;
  margin: 0 auto;
  max-width: 16ch;
  text-wrap: balance;
}

.single-afm_product .header-product-attributes {
  box-sizing: border-box;
  margin: -3.25rem auto 0;
  max-width: 92rem;
  padding: 0 clamp(1rem, 3vw, 2rem);
  position: relative;
  width: 100%;
  z-index: 12;
}

.single-afm_product .header-product-attributes__wrapper {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(17, 20, 24, 0.08);
  border-radius: 6px;
  bottom: auto;
  box-shadow: 0 22px 70px rgba(11, 14, 17, 0.16);
  display: grid;
  gap: 0;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  left: auto;
  overflow: hidden;
  padding: 0;
  position: relative;
  width: 100%;
}

.single-afm_product .header-product-attributes__wrapper .header-product-attribute,
.single-afm_product .header-product-attributes__wrapper .header-product-attribute:last-child {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: inset -1px 0 0 rgba(17, 20, 24, 0.1);
  min-width: 0;
  padding: 1.15rem 1rem 1.25rem;
}

.single-afm_product .header-product-attributes__wrapper .header-product-attribute:last-child {
  box-shadow: none;
}

.single-afm_product .header-product-attributes__wrapper .header-product-attribute__title {
  align-items: center;
  color: var(--color-text-light);
  display: flex;
  font-family: var(--font-default);
  font-size: 0.68rem;
  font-weight: 800;
  gap: 0.5rem;
  justify-content: center;
  letter-spacing: 0.1em;
  padding: 0;
  text-transform: uppercase;
}

.single-afm_product .header-product-attributes__wrapper .header-product-attribute__title i {
  color: var(--color-primary);
  display: inline-block;
  font-size: 1.05rem;
  margin: 0;
}

.single-afm_product .header-product-attributes__wrapper .header-product-attribute__value {
  color: var(--color-title);
  font-family: var(--font-title);
  font-size: clamp(1.65rem, 2.3vw, 2.2rem);
  font-weight: 700;
  line-height: 1;
  margin-top: 0.45rem;
  text-transform: uppercase;
}

.single-afm-product .entry__content {
  align-items: flex-start;
  gap: clamp(2.75rem, 6vw, 6rem);
  max-width: 92rem;
  padding-bottom: clamp(5rem, 8vw, 8rem);
  padding-left: clamp(1.25rem, 3vw, 2rem);
  padding-right: clamp(1.25rem, 3vw, 2rem);
  padding-top: clamp(4.5rem, 8vw, 7rem);
}

.single-afm-product .product__breadcrumbs {
  margin-bottom: 2rem;
}

.single-afm-product .product__breadcrumbs #breadcrumbs {
  color: var(--color-text-light);
  font-family: var(--font-default);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  line-height: 1.55;
  margin: 0;
  text-transform: uppercase;
}

.single-afm-product .product__breadcrumbs #breadcrumbs a {
  color: var(--color-text-light);
}

.single-afm-product .product__breadcrumbs #breadcrumbs a:hover,
.single-afm-product .product__breadcrumbs #breadcrumbs a:focus {
  color: var(--color-primary);
}

.single-afm-product .product__text {
  color: var(--color-text);
  max-width: 42rem;
}

.single-afm-product .product__text > p:first-of-type {
  color: var(--color-title);
  font-size: clamp(1.08rem, 1.5vw, 1.25rem);
  font-weight: 500;
  line-height: 1.72;
}

.single-afm-product .product__text h2,
.single-afm-product .product__text h3 {
  line-height: 0.96;
  margin-bottom: 1.25rem;
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
}

.single-afm-product .product__text h2 {
  font-size: clamp(2.6rem, 4.5vw, 4rem);
}

.single-afm-product .product__text h3 {
  font-size: clamp(2rem, 3.5vw, 3rem);
}

.single-afm-product .product__text ul,
.single-afm-product .product__text ol {
  padding-left: 1.3rem;
}

.single-afm-product .product__text li {
  margin-bottom: 0.65rem;
  padding-left: 0.35rem;
}

.single-afm-product .product__text li::marker {
  color: var(--color-primary);
}

.single-afm-product .product__gallery {
  align-self: flex-start;
}

.single-afm-product .product-gallery-swiper {
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 1) 0%, rgba(246, 245, 242, 1) 74%);
  border: 1px solid rgba(17, 20, 24, 0.08);
  border-radius: 6px;
  box-shadow: 0 22px 65px rgba(11, 14, 17, 0.1);
  margin-bottom: 1rem;
  padding: clamp(1.25rem, 3vw, 2.5rem);
}

.single-afm-product .product-gallery-swiper .swiper-slide a {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: clamp(22rem, 38vw, 35rem);
}

.single-afm-product .product-gallery-swiper .swiper-slide img {
  filter: drop-shadow(0 24px 30px rgba(11, 14, 17, 0.16));
  height: auto;
  max-height: 32rem !important;
  max-width: 100%;
  object-fit: contain;
  width: auto;
}

.single-afm-product .product-gallery-swiper .swiper-button-prev,
.single-afm-product .product-gallery-swiper .swiper-button-next {
  align-items: center;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(17, 20, 24, 0.1);
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(11, 14, 17, 0.1);
  display: flex;
  height: 2.75rem;
  justify-content: center;
  width: 2.75rem;
}

.single-afm-product .product-gallery-swiper .swiper-button-prev svg,
.single-afm-product .product-gallery-swiper .swiper-button-next svg {
  fill: var(--color-title);
  height: 0.9rem;
  width: 0.9rem;
}

.single-afm-product .product-gallery-swiper .swiper-button-prev:hover,
.single-afm-product .product-gallery-swiper .swiper-button-next:hover {
  border-color: rgba(205, 23, 26, 0.32);
  transform: translateY(-1px);
}

.single-afm-product .product-gallery-thumbnail-swiper {
  margin: 0 -0.25rem 1.25rem;
  padding: 0.25rem;
}

.single-afm-product .product-gallery-thumbnail-swiper .swiper-slide .swiper-image {
  background: #fff;
  border: 1px solid rgba(17, 20, 24, 0.1);
  border-radius: 4px;
  overflow: hidden;
  padding-bottom: 66.25%;
}

.single-afm-product .product-gallery-thumbnail-swiper .swiper-slide-thumb-active .swiper-image {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(205, 23, 26, 0.12);
}

.single-afm-product .product-gallery-thumbnail-swiper .swiper-slide .swiper-image img {
  object-fit: contain;
  padding: 0.4rem;
}

.single-afm-product .show-3d-model-button {
  background: var(--color-title);
  border-color: var(--color-title);
  border-radius: 4px;
  box-shadow: 0 12px 28px rgba(11, 14, 17, 0.14);
  box-sizing: border-box;
  font-family: var(--font-default);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  min-height: 3.35rem;
  text-transform: uppercase;
  width: 100%;
}

.single-afm-product .show-3d-model-button:hover,
.single-afm-product .show-3d-model-button:focus {
  background: var(--color-primary);
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

.single-afm-product .entry__info {
  background: linear-gradient(145deg, #15191e 0%, #0c0f12 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.single-afm-product .entry__info .info-container {
  display: block;
  max-width: 92rem;
  padding: clamp(4rem, 7vw, 6.5rem) clamp(1.25rem, 3vw, 2rem);
}

.single-afm-product .entry__info .info-container .info-panel {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  box-sizing: border-box;
  max-width: none;
  padding: clamp(1.4rem, 3vw, 2.4rem);
  width: 100%;
}

.single-afm-product .entry__info .info-container .attributes__title,
.single-afm-product .entry__info .info-container .media__title {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  font-family: var(--font-title);
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1;
  margin-bottom: 1.1rem;
  padding-bottom: 0.9rem;
  text-transform: uppercase;
}

.single-afm-product .entry__info .info-container .attributes__title:before,
.single-afm-product .entry__info .info-container .media__title:before {
  background: var(--color-primary);
  border-radius: 99px;
  content: "";
  display: block;
  height: 2px;
  margin-bottom: 0.75rem;
  width: 2.25rem;
}

.single-afm-product .entry__info .info-container .attributes__container {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.single-afm-product .entry__info .info-container .attributes__container .attribute {
  align-items: center;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.72);
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 2.3rem minmax(0, 1fr) auto;
  min-height: 4.25rem;
  padding: 0.75rem 1rem;
}

.single-afm-product .entry__info .info-container .attributes__container .attribute .af-icons {
  align-items: center;
  background: rgba(205, 23, 26, 0.12);
  border-radius: 50%;
  color: var(--color-primary);
  display: flex;
  font-size: 1rem;
  height: 2.15rem;
  justify-content: center;
  left: auto;
  position: static;
  text-align: center;
  width: 2.15rem;
}

.single-afm-product .entry__info .info-container .attributes__container .attribute span:first-of-type {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.single-afm-product .entry__info .info-container .attributes__container .attribute span:last-child {
  color: #fff;
  font-family: var(--font-default);
  font-size: 0.88rem;
  font-weight: 700;
  text-align: right;
}

.single-afm-product .entry__info .info-container .info-media {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 28rem), 1fr));
  margin-top: 1.25rem;
  max-width: none;
  width: 100%;
}

.single-afm-product .entry__info .info-container .media__section {
  min-width: 0;
}

.single-afm-product .entry__info .info-container .media__container {
  margin: 0;
}

.single-afm-product .entry__info .info-container .media__container iframe {
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 4px;
  display: block;
  height: auto;
  width: 100%;
}

.single-afm-product .entry__info .info-container .media__container .medium {
  align-items: center;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 4px;
  gap: 0.85rem;
  margin-bottom: 0.55rem;
  min-height: 3.75rem;
  padding: 0.75rem 0.9rem;
}

.single-afm-product .entry__info .info-container .media__container .medium:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(205, 23, 26, 0.36);
}

.single-afm-product .entry__info .info-container .media__container .medium i {
  color: var(--color-primary);
  flex: 0 0 1.5rem;
  max-width: 1.5rem;
}

.single-afm-product .entry__info .info-container .media__container .medium a {
  color: #fff;
  flex: 1 1 auto;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
}

@media (min-width: 1100px) {
  .single-afm-product .entry__info .info-container {
    align-items: start;
    display: grid;
    gap: 1.25rem;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  }

  .single-afm-product .entry__info .info-media {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 0;
  }

  .single-afm-product .entry__info .media__section:only-child {
    grid-column: 1 / -1;
  }
}

@media (min-width: 900px) {
  .single-afm-product .entry__content {
    display: grid;
    grid-template-columns: minmax(0, 43fr) minmax(0, 57fr);
  }

  .single-afm-product .entry__content .product__description {
    max-width: none;
    min-width: 0;
    width: 100%;
  }

  .single-afm-product .entry__content .product__gallery {
    max-width: none;
    min-width: 0;
    position: sticky;
    top: 7rem;
    width: 100%;
  }
}

@media (max-width: 899px) {
  .single-afm_product .header-product-attributes {
    margin-top: -2rem;
  }

  .single-afm-product .entry__info .attributes__container {
    grid-template-columns: minmax(0, 1fr);
  }

  .single-afm-product .entry__content .product__description,
  .single-afm-product .entry__content .product__gallery {
    flex-basis: 100%;
    max-width: 100%;
  }
}

@media (max-width: 620px) {
  .single-afm_product .hero-bg {
    min-height: 31rem;
  }

  .single-afm_product .hero-bg__container {
    padding-bottom: 5.5rem;
    padding-top: 7rem;
  }

  .single-afm_product .hero-bg h1 {
    font-size: var(--afm-hero-title-size);
  }

  .single-afm_product .header-product-attributes__wrapper {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .single-afm_product .header-product-attributes__wrapper .header-product-attribute {
    box-shadow: inset -1px -1px 0 rgba(17, 20, 24, 0.1);
    padding: 1rem 0.65rem;
  }

  .single-afm_product .header-product-attributes__wrapper .header-product-attribute__title {
    font-size: 0.6rem;
  }

  .single-afm-product .product-gallery-swiper .swiper-slide a {
    min-height: 18rem;
  }

  .single-afm-product .entry__info .attributes__container .attribute {
    grid-template-columns: 2.3rem minmax(0, 1fr);
  }

  .single-afm-product .entry__info .attributes__container .attribute span:last-child {
    grid-column: 2;
    text-align: left;
  }
}

/* Sales page dealer companies
----------------------------------------------- */

.primary--sales .entry__content {
  max-width: none;
  padding: 0;
}

.primary--sales .entry__content.blocks > .afm-dealers,
.primary--sales .entry__content.blocks > .afm-dealers-map {
  margin-left: 0;
  margin-right: 0;
  max-width: none;
  width: 100%;
}

.afm-dealers {
  background:
    radial-gradient(circle at 90% 5%, rgba(205, 23, 26, 0.07), transparent 28rem),
    var(--color-site-background);
  padding: clamp(4.5rem, 8vw, 8rem) 0;
}

.afm-dealer-region {
  box-sizing: border-box;
  margin: 0 auto clamp(5rem, 8vw, 8rem);
  max-width: 112rem;
  padding: 0 clamp(1.25rem, 3vw, 2rem);
  width: 100%;
}

.afm-dealer-region:last-child {
  margin-bottom: 0;
}

.afm-dealer-region__header {
  align-items: end;
  border-bottom: 1px solid rgba(17, 20, 24, 0.12);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
  padding-bottom: 1rem;
}

.afm-dealer-region__eyebrow {
  color: var(--color-primary);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  order: 2;
  text-transform: uppercase;
}

.afm-dealer-region__header h2 {
  font-size: clamp(3.2rem, 6vw, 6rem);
  letter-spacing: -0.03em;
  line-height: 0.88;
  margin: 0;
  text-transform: uppercase;
}

.afm-dealer-grid {
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.afm-dealer-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(17, 20, 24, 0.09);
  border-radius: 6px;
  box-shadow: 0 16px 46px rgba(11, 14, 17, 0.07);
  min-width: 0;
  overflow: hidden;
  padding: clamp(1.4rem, 2.3vw, 2rem);
  position: relative;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.afm-dealer-card:before {
  background: var(--color-primary);
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.afm-dealer-card:hover {
  border-color: rgba(205, 23, 26, 0.22);
  box-shadow: 0 22px 55px rgba(11, 14, 17, 0.11);
  transform: translateY(-3px);
}

.afm-dealer-card__location {
  align-items: center;
  color: var(--color-primary);
  display: flex;
  font-size: 0.68rem;
  font-weight: 800;
  gap: 0.5rem;
  letter-spacing: 0.09em;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
}

.afm-dealer-card__location i {
  font-size: 0.78rem;
}

.afm-dealer-card__details {
  color: var(--color-text);
  overflow-wrap: anywhere;
}

.afm-dealer-card__details p {
  font-size: 0.92rem;
  line-height: 1.65;
  margin: 0 0 1rem;
}

.afm-dealer-card__details p:last-child {
  margin-bottom: 0;
}

.afm-dealer-card__details p:first-child > strong:first-child {
  color: var(--color-title);
  display: block;
  font-family: var(--font-title);
  font-size: clamp(1.65rem, 2.3vw, 2.15rem);
  letter-spacing: -0.01em;
  line-height: 1;
  margin-bottom: 0.85rem;
  text-transform: uppercase;
}

.afm-dealer-card__details a {
  color: var(--color-title);
  font-weight: 700;
  text-decoration-color: rgba(205, 23, 26, 0.34);
}

.afm-dealer-card__details a:hover,
.afm-dealer-card__details a:focus {
  color: var(--color-primary);
}

.afm-dealers-map {
  background: #11161b;
  padding: clamp(1.25rem, 3vw, 2rem);
}

.afm-dealers-map > p {
  margin: 0 auto;
  max-width: 112rem;
}

.afm-dealers-map iframe {
  border: 0;
  border-radius: 6px;
  display: block;
  min-height: 30rem;
  width: 100%;
}

@media (max-width: 1500px) {
  .afm-dealer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1020px) {
  .afm-dealer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .afm-dealer-region__header {
    align-items: flex-start;
    flex-direction: column;
  }

  .afm-dealer-region__eyebrow {
    order: 0;
  }

  .afm-dealer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .afm-dealers-map iframe {
    min-height: 24rem;
  }
}

/* Homepage FAQ */
.homepage-faq {
  background:
    radial-gradient(circle at 10% 0, rgba(205, 23, 26, 0.055), transparent 24rem),
    #f7f7f6;
  padding: clamp(4rem, 7vw, 6.5rem) clamp(1rem, 4vw, 3rem);
}

.homepage-faq__inner {
  margin: 0 auto;
  max-width: 62rem;
}

.homepage-faq__header {
  margin: 0 auto clamp(2rem, 4vw, 3.25rem);
  max-width: 44rem;
  text-align: center;
}

.homepage-faq__eyebrow {
  color: var(--color-primary);
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  margin-bottom: 0.85rem;
  text-transform: uppercase;
}

.homepage-faq__title {
  color: var(--color-title);
  font-family: var(--font-title);
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  line-height: 0.98;
  margin: 0;
  text-transform: uppercase;
}

.homepage-faq__title:after {
  background: var(--color-primary);
  content: "";
  display: block;
  height: 3px;
  margin: 1.25rem auto 1.4rem;
  width: 4rem;
}

.homepage-faq__intro {
  color: var(--color-text);
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  line-height: 1.7;
  margin: 0;
}

.homepage-faq__list {
  display: grid;
  gap: 0.75rem;
}

.homepage-faq__item {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(17, 22, 27, 0.11);
  border-radius: 7px;
  box-shadow: 0 3px 14px rgba(17, 22, 27, 0.035);
  overflow: hidden;
  transition:
    background-color 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.homepage-faq__item:hover {
  border-color: rgba(205, 23, 26, 0.22);
  box-shadow: 0 8px 24px rgba(17, 22, 27, 0.065);
  transform: translateY(-1px);
}

.homepage-faq__item[open] {
  background: #fff;
  border-color: rgba(205, 23, 26, 0.32);
  box-shadow: 0 12px 30px rgba(17, 22, 27, 0.075);
}

.homepage-faq__item > summary {
  align-items: center;
  color: var(--color-title);
  cursor: pointer;
  display: flex;
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  font-weight: 700;
  gap: 1.5rem;
  justify-content: space-between;
  line-height: 1.35;
  list-style: none;
  padding: 1.1rem 1.25rem;
  transition: color 180ms ease;
}

.homepage-faq__item > summary::-webkit-details-marker {
  display: none;
}

.homepage-faq__item > summary:after {
  align-items: center;
  background: rgba(205, 23, 26, 0.055);
  border: 1px solid rgba(205, 23, 26, 0.24);
  border-radius: 50%;
  color: var(--color-primary);
  content: "+";
  display: flex;
  flex: 0 0 auto;
  font-size: 1.45rem;
  font-weight: 400;
  height: 2.1rem;
  justify-content: center;
  line-height: 1;
  transition:
    background-color 200ms ease,
    color 200ms ease,
    transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
  width: 2.1rem;
}

.homepage-faq__item[open] > summary,
.homepage-faq__item > summary:hover,
.homepage-faq__item > summary:focus-visible {
  color: var(--color-primary);
}

.homepage-faq__item[open] > summary:after {
  background: var(--color-primary);
  color: #fff;
  transform: rotate(45deg);
}

.homepage-faq__answer {
  animation: homepage-faq-answer-in 240ms cubic-bezier(0.2, 0.8, 0.2, 1);
  border-top: 1px solid rgba(17, 22, 27, 0.09);
  color: var(--color-text);
  line-height: 1.72;
  margin: 0 1.25rem;
  max-width: none;
  padding: 1rem 3rem 1.25rem 0.1rem;
}

@keyframes homepage-faq-answer-in {
  from {
    opacity: 0;
    transform: translateY(-0.35rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.homepage-faq__answer a {
  color: var(--color-primary);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(205, 23, 26, 0.35);
  text-underline-offset: 0.18em;
}

.homepage-faq__answer a:hover,
.homepage-faq__answer a:focus {
  text-decoration-color: currentColor;
}

@media (max-width: 640px) {
  .homepage-faq {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .homepage-faq__item > summary {
    gap: 1rem;
    padding: 1rem;
  }

  .homepage-faq__answer {
    margin: 0 1rem;
    padding: 0.9rem 0.5rem 1.1rem 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *:before,
  *:after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
