/* Buttons — map to WP: template-parts/button.php */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 56px;
  padding: 16px 24px;
  border: 0;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition:
    filter 0.45s ease,
    transform 0.45s ease,
    background-color 0.45s ease,
    background-image 0.45s ease,
    box-shadow 0.45s ease,
    border-color 0.45s ease,
    color 0.45s ease;
}

a.btn:not([href]) {
  cursor: default;
  pointer-events: none;
}

.btn--primary,
.btn--white,
.btn--light,
.btn--ghost,
.carousel-nav__btn,
.credit-btn span {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn--primary::after,
.btn--white::after,
.btn--light::after,
.btn--ghost::after,
.carousel-nav__btn::after,
.credit-btn span::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.05)),
    linear-gradient(
      var(--btn-sheen-angle),
      transparent 32%,
      rgba(255, 255, 255, 0.22) 48%,
      transparent 64%
    );
  opacity: 0;
  transition: opacity 0.45s ease;
}

.btn--primary:hover::after,
.btn--white:hover::after,
.btn--light:hover::after,
.btn--ghost:hover::after,
.carousel-nav__btn:hover::after,
.credit-btn:hover span::after {
  opacity: 1;
}

.btn--white:hover,
.btn--light:hover,
.btn--ghost:hover {
  background: var(--color-brand-orange);
  color: var(--color-white);
}

.btn--ghost:hover {
  border-color: var(--color-brand-orange);
}

.btn--white img,
.btn--light img {
  transition: filter 0.45s ease;
}

.btn--white:hover img,
.btn--light:hover img {
  filter: brightness(0) invert(1);
}

.btn--split:hover,
.btn--split-light:hover {
  box-shadow: var(--shadow-orange);
}

.btn img {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

.icon-mask {
  display: inline-block;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  background-color: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}

.btn--primary .icon-mask,
.btn--ghost .icon-mask {
  color: var(--color-white);
}

.btn--primary:hover .icon-mask,
.btn--ghost:hover .icon-mask {
  color: var(--color-white);
}

.btn--primary {
  background: var(--color-brand-orange);
  color: var(--color-white);
  box-shadow: var(--shadow-orange);
}

.btn--primary > img {
  filter: brightness(0) invert(1);
}

.btn--block {
  display: flex;
  width: 100%;
  max-width: 100%;
  align-self: stretch;
}

.btn--ghost {
  background: rgba(92, 92, 92, 0.24);
  color: var(--color-white);
  border: 1px solid var(--color-neutral-silver-400);
  backdrop-filter: blur(2px);
}

.btn--light {
  background: #f4f4f5;
  color: var(--color-neutral-gray-900);
}

.btn--white {
  background: var(--color-white);
  color: var(--color-neutral-silver-700);
  box-shadow: var(--shadow-orange);
}

.btn--split {
  position: relative;
  justify-content: flex-start;
  overflow: hidden;
  padding: 8px 64px 8px 24px;
  font-weight: 600;
}

.btn__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--color-neutral-black);
  pointer-events: none;
}

.btn--split .btn__icon {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 40px;
  height: 40px;
  background: var(--color-neutral-black);
  transition: width 0.45s ease;
}

.btn--split .btn__icon img,
.btn--split .btn__icon svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

.btn--split-light .btn__icon {
  background: var(--color-white);
}

.btn--split:hover .btn__icon,
.btn--split-light:hover .btn__icon {
  width: calc(100% - 16px);
}

@media (prefers-reduced-motion: reduce) {
  .btn--split .btn__icon,
  .btn--primary::after,
  .btn--white::after,
  .btn--light::after,
  .btn--ghost::after,
  .carousel-nav__btn::after,
  .credit-btn span::after,
  .btn--white img,
  .btn--light img,
  .carousel-nav__btn img {
    transition: none;
  }

  .btn {
    transition: none;
  }
}

/* Header — map to header.php */
.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  width: var(--header-width);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
  border-radius: var(--radius-md);
  background: rgba(10, 10, 10, 0.94);
  backdrop-filter: blur(7px);
}

.brand {
  display: flex;
  align-items: center;
  height: 56px;
  min-width: 0;
  flex: 0 0 auto;
}

.brand__logo {
  display: block;
  width: 295px;
  height: 56px;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
}

.brand__logo--mark {
  display: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-radius: var(--radius-md);
  background: var(--color-neutral-black);
  border: 1px solid #292929;
}

.nav__link {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: #d9d9d9;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.nav__link.is-active,
.nav__link:hover {
  background: #292929;
  color: var(--color-white);
}

.nav__cta {
  display: none;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  padding: 8px;
  border: 1px solid #292929;
  border-radius: var(--radius-md);
  background: var(--color-neutral-black);
  cursor: pointer;
}

.nav-toggle__hit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: #292929;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  border-radius: 1px;
}

.nav-toggle__bars {
  position: relative;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle__bars::before {
  top: -7px;
}

.nav-toggle__bars::after {
  top: 7px;
}

.site-header.is-nav-open .nav-toggle__bars {
  background: transparent;
}

.site-header.is-nav-open .nav-toggle__bars::before {
  top: 0;
  transform: rotate(45deg);
}

.site-header.is-nav-open .nav-toggle__bars::after {
  top: 0;
  transform: rotate(-45deg);
}

@media (max-width: 1100px) {
  .site-header {
    flex-wrap: wrap;
    width: var(--header-width);
    padding: 16px 24px;
    gap: 12px;
  }

  .site-header .brand {
    height: 56px;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
    flex-shrink: 0;
  }

  .header__cta {
    display: none;
  }

  .nav {
    display: none;
    flex: 1 0 100%;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 4px;
    padding: 12px;
    order: 4;
  }

  .site-header.is-nav-open .nav {
    display: flex;
  }

  .nav__link {
    padding: 12px 16px;
  }

  .nav__cta {
    display: flex;
    width: 100%;
    margin-top: 8px;
  }
}

@media (max-width: 720px) {
  .site-header .brand {
    width: 56px;
    height: 56px;
    overflow: visible;
  }

  .site-header .brand__logo--full {
    display: none;
  }

  .site-header .brand__logo--mark {
    display: block;
    width: 56px;
    height: 56px;
    max-width: none;
    object-fit: contain;
  }

  .site-footer__brand {
    max-width: none;
    width: 100%;
  }

  .site-footer__brand > .btn {
    display: none;
  }

  .site-footer .brand__logo {
    width: min(220px, 100%);
    height: auto;
    aspect-ratio: 295 / 56;
  }

  .site-footer__inner {
    padding: 48px var(--page-pad);
    gap: 32px;
  }

  .footer-cta {
    width: 100%;
    padding: 24px;
  }

  .footer-cta .btn {
    width: 100%;
  }
}

/* Footer — map to footer.php */
.site-footer {
  position: relative;
  background: var(--color-neutral-black);
  color: var(--color-white);
  overflow: hidden;
}

.site-footer__accent {
  position: relative;
  z-index: 2;
  height: 4px;
  background: linear-gradient(
    to left,
    #f4812f 33.333%,
    #e66510 33.333% 66.666%,
    #be4d1d 66.666%
  );
}

.site-footer__watermark {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  z-index: 0;
}

.site-footer__inner {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 64px var(--page-pad);
  gap: 48px;
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 295px;
}

.site-footer__tagline {
  margin: 16px 0 0;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.56px;
  color: var(--color-neutral-silver-100);
}

.footer-col__title {
  margin: 0 0 24px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1.12px;
  color: var(--color-neutral-silver-400);
}

.footer-col__title::after {
  content: "";
  display: block;
  width: 58px;
  height: 2px;
  margin-top: 16px;
  background: var(--color-brand-orange);
}

.footer-col__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.56px;
}

.footer-col {
  flex: 0 0 auto;
}

.footer-col--contact {
  flex: 0 0 220px;
  width: 220px;
  max-width: 220px;
}

.footer-col__item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.footer-col--contact .footer-col__item {
  white-space: normal;
}

.footer-col__item img {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  margin-top: 1px;
}

.footer-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 277px;
  padding: 32px;
  border-radius: var(--radius-sm);
  background: var(--color-brand-orange);
}

.footer-cta::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: url("../media/photos/footer-cta-card.svg") center / cover no-repeat;
  pointer-events: none;
  z-index: 0;
}

.footer-cta > * {
  position: relative;
  z-index: 1;
}

.footer-cta p {
  margin: 0 0 16px;
  font-size: 21px;
  font-weight: 500;
  text-transform: uppercase;
}

.site-footer__bar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px var(--page-pad);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--color-neutral-silver-100);
  font-size: 16px;
}

.site-footer__bar a {
  text-decoration: underline;
}

.site-footer__bar .credit-btn {
  text-decoration: none;
}

.site-footer__credit {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
}

.credit-btn {
  --cut: 8px;
  display: inline-block;
  padding: 1px;
  color: var(--color-white);
  text-decoration: none;
  background: #9e9e9e;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}

.credit-btn span {
  display: block;
  padding: 6px 16px;
  background: #3a3a3a;
  clip-path: polygon(calc(var(--cut) - 1px) 0, 100% 0, 100% calc(100% - var(--cut) + 1px), calc(100% - var(--cut) + 1px) 100%, 0 100%, 0 calc(var(--cut) - 1px));
}

.credit-btn:hover {
  background: var(--color-brand-orange);
}

.credit-btn:hover span {
  background: var(--color-brand-orange);
}

/* Product card — map to template-parts/card-produto.php */
.card-product {
  position: relative;
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-bottom: 24px;
  background: var(--color-white);
  border: 1px solid var(--color-neutral-silver-100);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.card-product:hover {
  z-index: 2;
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.card-product__media {
  position: relative;
  margin: 24px 24px 0;
  height: 282px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-neutral-silver-100);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.card-product__media > img {
  width: auto;
  height: auto;
  max-width: 92%;
  max-height: 92%;
  object-fit: contain;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.card-product:hover .card-product__media > img {
  transform: scale(1.08);
}

@media (prefers-reduced-motion: reduce) {
  .card-product,
  .card-product__media > img {
    transition: none;
  }

  .card-product:hover {
    transform: none;
  }

  .card-product:hover .card-product__media > img {
    transform: none;
  }
}

.badge-offer {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 4px 10px 4px 8px;
  background: var(--color-white);
  border: 1px solid var(--color-neutral-silver-100);
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 4px rgba(230, 101, 16, 0.08);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  color: var(--color-neutral-gray-900);
  overflow: hidden;
}

.badge-offer img,
.badge-offer .icon-mask,
.badge-offer__icon {
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
  max-width: 13px;
  max-height: 13px;
  color: var(--color-brand-orange);
}

.card-product__body {
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card-product__brand {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1.12px;
  text-transform: uppercase;
  color: var(--color-brand-orange);
}

.card-product__title {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  color: var(--color-neutral-black);
}

.card-product__actions {
  display: flex;
  gap: 16px;
  padding: 0 24px;
}

.card-product__actions .btn {
  flex: 1;
}

/* Brands strip — map to template-parts/brands.php */
.brands {
  --brand-gap: 24px;
  background: var(--color-neutral-silver-100);
  padding: 48px 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.brands .eyebrow {
  text-align: center;
  width: min(var(--content), calc(100% - 2 * var(--page-pad)));
  margin-inline: auto;
  padding-inline: 0;
}

.brands__viewport {
  width: min(var(--content), calc(100% - 2 * var(--page-pad)));
  margin-inline: auto;
  padding: 8px 0 20px;
  margin-top: 0;
  margin-bottom: -20px;
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.brands__viewport.is-dragging {
  cursor: grabbing;
}

.brands__track {
  display: flex;
  gap: var(--brand-gap);
  width: max-content;
  will-change: transform;
}

.brand-slot {
  position: relative;
  z-index: 0;
  width: 168px;
  height: 72px;
  flex: 0 0 168px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
  background: var(--color-white);
  border-radius: var(--radius-sm);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.brand-slot img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.brand-slot:hover {
  z-index: 2;
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.brand-slot:hover img {
  transform: scale(1.08);
}

@media (prefers-reduced-motion: reduce) {
  .brand-slot,
  .brand-slot img {
    transition: none;
  }

  .brand-slot:hover {
    transform: none;
  }

  .brand-slot:hover img {
    transform: none;
  }
}

@media (max-width: 720px) {
  .brands {
    --brand-gap: 10px;
    padding: 32px 0;
    gap: 24px;
  }

  .brands .eyebrow {
    letter-spacing: 0.48px;
  }
}

/* Dark info cards (why RM / pilares) */
.info-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px 24px 40px;
  border: 1px solid var(--color-neutral-silver-700);
  min-height: 189px;
  background: rgba(15, 15, 15, 0.72);
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.info-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #1e1e1e;
  background-image: url("../media/photos/why-rm-hatch.png");
  background-size: cover;
  background-position: center;
  pointer-events: none;
  z-index: 0;
}

.info-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(116deg, #1e1e1e 50%, rgba(30, 30, 30, 0) 100%);
  pointer-events: none;
  z-index: 0;
}

.info-card::before,
.info-card::after {
  transition: opacity 0.25s ease;
}

.info-card > * {
  position: relative;
  z-index: 1;
}

.info-card__icon {
  width: 24px;
  height: 24px;
}

span.info-card__icon {
  display: block;
  color: var(--color-neutral-silver-400);
  background: currentColor;
}

.info-card .icon-mask,
.info-card span.info-card__icon {
  flex: none;
  align-self: flex-start;
  width: 24px;
  height: 24px;
  overflow: visible;
  color: var(--color-neutral-silver-400);
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}

.info-card:hover {
  background: var(--color-brand-orange);
  border-color: var(--color-brand-orange);
}

.info-card:hover::before,
.info-card:hover::after {
  opacity: 0;
}

.info-card:hover span.info-card__icon,
.info-card:hover .icon-mask,
.info-card:hover .info-card__title,
.info-card:hover .info-card__text {
  color: var(--color-white);
}

.info-card__title {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1.12px;
  text-transform: uppercase;
  color: var(--color-brand-orange);
  transition: color 0.25s ease;
}

.info-card__text {
  margin: 0;
  font-size: 14px;
  color: var(--color-white);
  transition: color 0.25s ease;
}

/* Feature list rows (installation) */
.feature-row {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 32px 24px;
  background: var(--color-white);
  border: 1px solid var(--color-neutral-silver-100);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
}

.feature-row img {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
}

.feature-row .icon-mask {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  color: var(--color-brand-orange);
}

.feature-row:hover .icon-mask {
  color: var(--color-brand-orange);
}

.feature-row p {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  color: var(--color-neutral-silver-700);
}

@media (max-width: 720px) {
  .feature-row {
    padding: 24px;
  }

  .feature-row p {
    font-size: 14px;
  }

  .feature-row img,
  .feature-row .icon-mask {
    width: 22px;
    height: 21px;
    flex-basis: 22px;
  }
}

/* Search + chips */
.search {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  width: min(548px, 100%);
  height: 64px;
  padding: 8px;
  background: var(--color-neutral-black);
  border: 1px solid #292929;
  border-radius: var(--radius-md);
}

.search__field {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 100%;
  padding: 8px 16px;
  background: #292929;
  border-radius: var(--radius-sm);
}

.search img {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

.search input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--color-white);
}

.search input::placeholder {
  color: var(--color-neutral-silver-700);
}

.chips {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.chips__icon,
.chips__filter img {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.chips__filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-right: 4px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
  flex: 0 0 32px;
}

.chips__filter:hover,
.chips__filter.is-active,
.chips__filter[aria-expanded="true"] {
  background: var(--color-neutral-silver-100);
}

.chip {
  display: inline-flex;
  align-items: center;
  height: 25px;
  padding: 0 8px;
  border: 1px solid var(--color-neutral-silver-100);
  border-radius: 4px;
  background: var(--color-neutral-silver-100);
  color: var(--color-neutral-silver-400);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.chip.is-active {
  background: var(--color-brand-orange);
  border-color: #d66a0f;
  color: var(--color-white);
}

a.chip {
  color: inherit;
}

.label-bar {
  margin: 0;
  padding-left: 16px;
  border-left: 1px solid var(--color-brand-orange);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1.12px;
  text-transform: uppercase;
  color: var(--color-neutral-silver-400);
}

.service-item {
  width: 217.5px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--color-neutral-silver-400);
}

.service-item img,
.service-item .icon-mask {
  width: 16px;
  height: 16px;
  color: var(--color-brand-orange);
}

.service-item h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--color-neutral-silver-700);
}

.carousel-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.carousel-nav__btn {
  --cut: 12px;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 0;
  background: var(--color-neutral-silver-100);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background-color 0.45s ease;
}

.carousel-nav__btn.is-prev {
  clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cut));
}

.carousel-nav__btn.is-next {
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
}

.carousel-nav__btn:hover {
  background: var(--color-brand-orange);
}

.carousel-nav__btn:hover img {
  filter: brightness(0) invert(1);
}

.carousel-nav__btn img {
  width: 56px;
  height: 56px;
  max-width: none;
  transition: filter 0.45s ease;
}

.carousel-nav__btn.is-prev img {
  transform: scaleX(-1) rotate(-90deg);
}

.carousel-nav__btn.is-next img {
  transform: rotate(-90deg);
}

.carousel-nav__dots {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: 8px;
  width: auto;
  min-width: 0;
}

.carousel-nav__dots button {
  flex: 1 1 0;
  min-width: 0;
  height: 4px;
  padding: 0;
  border: 0;
  background: var(--color-neutral-silver-100);
  cursor: pointer;
}

.carousel-nav__dots button[hidden] {
  display: none !important;
}

.carousel-nav__dots button.is-active {
  background: var(--color-brand-orange);
}

.catalog-filters {
  width: min(480px, calc(100% - 32px));
  max-height: min(80vh, 640px);
  padding: 0;
  border: 0;
  border-radius: var(--radius-md);
  background: var(--color-white);
  color: var(--color-neutral-gray-900);
  box-shadow: var(--shadow-card);
}

.catalog-filters::backdrop {
  background: rgba(15, 15, 15, 0.56);
}

.catalog-filters__form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 24px;
}

.catalog-filters__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.catalog-filters__head h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
}

.catalog-filters__close {
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: var(--color-neutral-silver-100);
  color: var(--color-neutral-gray-900);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.catalog-filters__group {
  margin: 0;
  padding: 0;
  border: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.catalog-filters__group legend {
  padding: 0;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-brand-orange);
}

.catalog-filters__option {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 32px;
  font-size: 16px;
  cursor: pointer;
}

.catalog-filters__option input {
  width: 16px;
  height: 16px;
  accent-color: var(--color-brand-orange);
}

.catalog-filters__empty {
  margin: 0;
  color: var(--color-neutral-silver-400);
  font-size: 14px;
}

.catalog-filters__actions {
  display: flex;
  gap: 12px;
}

.catalog-filters__actions .btn {
  flex: 1;
  height: 48px;
}
