/* Apparatuur category pages — React ApparatuurCategoryPage scoped.
   Reuses keukens-brand-pages.css; does not alter locked Keukens/Keukenbladen. */

body.kc-apparatuur-route .site-main { padding-top: 0; }
body.kc-apparatuur-route,
body.kc-apparatuur-route .brand-page {
  overflow-x: clip;
}
html:has(body.kc-apparatuur-route) {
  overflow-x: hidden;
}

/* React category: min-h-[92vh], pt-36 pb-24 / md:pt-44 md:pb-28.
   Overview: min-h-[88vh], pt-36 pb-24 at all breakpoints (no md bump).
   Must beat keukens-brand-pages.css mobile !important on .brand-page-hero__content. */
.brand-page--apparatuur .brand-page-hero--apparatuur,
.brand-page--apparatuur .brand-page-hero__content--apparatuur {
  min-height: 92vh;
}
.brand-page--apparatuur-overview .brand-page-hero--apparatuur-overview,
.brand-page--apparatuur-overview .brand-page-hero__content--apparatuur-overview {
  min-height: 88vh;
}
.brand-page--apparatuur .brand-page-hero__content--apparatuur {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 9rem 0 6rem;
}
@media (min-width: 768px) {
  .brand-page--apparatuur:not(.brand-page--apparatuur-overview) .brand-page-hero__content--apparatuur {
    padding: 11rem 0 7rem;
  }
  .brand-page--apparatuur-overview .brand-page-hero__content--apparatuur,
  .brand-page--apparatuur-overview .brand-page-hero__content--apparatuur-overview {
    padding: 9rem 0 6rem;
  }
}

.brand-page-hero__inner--apparatuur {
  max-width: 54rem;
  width: 100%;
}

.brand-page-hero__title--apparatuur {
  margin-top: 1.5rem;
  font-size: clamp(3rem, 6.5vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
}

.brand-page-hero__lede--apparatuur {
  margin-top: 1.75rem;
  max-width: 40rem;
  font-size: 1.08rem;
  font-weight: 300;
  line-height: 1.8;
  letter-spacing: normal;
  color: rgba(255, 255, 255, 0.78);
}

.brand-page--apparatuur .brand-page-hero__actions {
  margin-top: 2.5rem;
}

.brand-page-hero__badge-strip-wrap--apparatuur {
  margin-top: 3rem;
}

.brand-page-hero__gradient--apparatuur {
  background: linear-gradient(118deg, rgba(10, 20, 12, 0.92) 0%, rgba(10, 20, 12, 0.5) 46%, rgba(10, 20, 12, 0.72) 100%);
}

.brand-page-hero__radial--apparatuur {
  background: radial-gradient(ellipse at 18% 85%, rgba(139, 197, 64, 0.16) 0%, transparent 52%);
}

.app-crumb-wrap {
  margin-bottom: 1.5rem;
}

.app-crumb {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(10, 20, 12, 0.35);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.app-crumb a {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s var(--ease-premium, cubic-bezier(0.22, 1, 0.36, 1));
}

.app-crumb a:hover {
  color: #fff;
}

.app-crumb__sep {
  width: 3px;
  height: 3px;
  border-radius: 9999px;
  background: rgba(200, 169, 107, 0.75);
}

.app-crumb__current {
  color: rgba(255, 255, 255, 0.92);
}

.keukens-section-title--apparatuur-intro {
  margin-top: 1.25rem;
  font-size: clamp(2rem, 3.4vw, 2.85rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
}

.app-intro-copy {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.app-intro-copy .keukens-body-copy {
  margin: 0;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
}

.app-note-card {
  position: relative;
  overflow: hidden;
  margin-top: 0.5rem;
  padding: 1.4rem 1.6rem 1.4rem 1.75rem;
  border-radius: 20px;
  border: 1px solid rgba(139, 197, 64, 0.2);
  background:
    radial-gradient(ellipse at 92% 0%, rgba(139, 197, 64, 0.1) 0%, transparent 55%),
    rgba(255, 255, 255, 0.82);
}

.app-note-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.9rem;
  bottom: 0.9rem;
  width: 3px;
  border-radius: 9999px;
  background: linear-gradient(180deg, var(--green) 0%, var(--green-highlight) 100%);
}

.app-note-card__ghost {
  position: absolute;
  right: 0.8rem;
  bottom: -1.4rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 4.6rem;
  line-height: 1;
  color: rgba(139, 197, 64, 0.12);
  pointer-events: none;
}

.app-note-card__text {
  position: relative;
  z-index: 1;
  margin: 0;
  padding-right: 2.5rem;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.7;
  color: var(--secondary);
}

.app-types-section {
  border-top: 1px solid rgba(139, 197, 64, 0.1);
  border-bottom: 1px solid rgba(139, 197, 64, 0.1);
  background: linear-gradient(180deg, rgba(139, 197, 64, 0.045) 0%, transparent 100%);
}

.app-types-section__head {
  margin-bottom: 3rem;
  max-width: 40rem;
}

.keukens-section-title--apparatuur-types {
  margin-top: 1.25rem;
  font-size: clamp(2rem, 3.4vw, 2.85rem);
  line-height: 1.1;
}

.app-types-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .app-types-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .app-types-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* React type cards: y:24, duration 0.7, delay index*0.07 */
.brand-page--apparatuur .app-types-grid > [data-reveal] {
  transform: translateY(24px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.brand-page--apparatuur .app-types-grid > [data-reveal].is-visible {
  transform: none;
}

.app-type-card {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(139, 197, 64, 0.14);
  box-shadow: 0 24px 64px -44px rgba(20, 40, 18, 0.42);
  transition:
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.app-type-card:hover {
  transform: translateY(-6px);
  border-color: rgba(139, 197, 64, 0.32);
  box-shadow: 0 42px 96px -42px rgba(20, 40, 18, 0.55);
}

.app-type-card__media {
  position: relative;
  aspect-ratio: 4 / 3.4;
  overflow: hidden;
}

.app-type-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(10, 20, 12, 0.18) 0%,
    transparent 36%,
    rgba(8, 14, 9, 0.82) 100%
  );
}

.app-type-card__frame {
  position: absolute;
  inset: 0.8rem;
  z-index: 2;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  opacity: 0.55;
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    inset 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.app-type-card:hover .app-type-card__frame {
  opacity: 1;
}

.app-type-card__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92);
  transition:
    transform 1.15s cubic-bezier(0.22, 1, 0.36, 1),
    filter 1.15s cubic-bezier(0.22, 1, 0.36, 1);
}

.app-type-card:hover .app-type-card__photo {
  transform: scale(1.07);
  filter: saturate(1.08);
}

.app-type-card__num {
  position: absolute;
  top: 1.35rem;
  right: 1.55rem;
  z-index: 3;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
}

.app-type-card__caption {
  position: absolute;
  inset: auto 0 0;
  z-index: 3;
  padding: 0 1.75rem 1.6rem;
}

.app-type-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.15;
  color: #fff;
}

.app-type-card__title::after {
  content: "";
  display: block;
  width: 2.2rem;
  height: 2px;
  margin-top: 0.65rem;
  background: linear-gradient(90deg, var(--green-highlight), transparent);
  transform-origin: left;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.app-type-card:hover .app-type-card__title::after {
  transform: scaleX(1.8);
}

.app-type-card__body {
  margin: 0.8rem 0 0;
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
}

.app-value-grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .app-value-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.app-brands-section {
  padding-top: 0;
}

.app-brands-section__head {
  margin-bottom: 2rem;
}

.app-brand-marquee {
  position: relative;
  overflow: hidden;
  --marquee-gap: 1.1rem;
  padding-block: 0.35rem;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 9%, #000 91%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 9%, #000 91%, transparent 100%);
}

.app-brand-marquee + .app-brand-marquee {
  margin-top: 1.1rem;
}

.app-brand-marquee__track {
  display: flex;
  gap: var(--marquee-gap);
  width: max-content;
  animation: app-marquee 42s linear infinite;
  will-change: transform;
}

.app-brand-marquee--reverse .app-brand-marquee__track {
  animation-direction: reverse;
  animation-duration: 48s;
}

.app-brand-marquee:hover .app-brand-marquee__track {
  animation-play-state: paused;
}

.app-brand-marquee__group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: var(--marquee-gap);
}

.app-brand-marquee__item {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-width: 13.5rem;
  height: 7.25rem;
  padding: 0 2.4rem;
  border-radius: 22px;
  border: 1px solid rgba(139, 197, 64, 0.14);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.92) 0%,
    rgba(250, 249, 245, 0.8) 100%
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 18px 40px -34px rgba(20, 40, 18, 0.5);
  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.app-brand-marquee__item::after {
  content: "";
  position: absolute;
  inset: -60% -40%;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(139, 197, 64, 0.12) 50%,
    transparent 60%
  );
  transform: translateX(-70%);
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.app-brand-marquee__item:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 197, 64, 0.36);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 26px 52px -28px rgba(20, 40, 18, 0.5);
}

.app-brand-marquee__item:hover::after {
  transform: translateX(70%);
}

.app-brand-marquee__item img {
  height: 6.2rem;
  width: 11.5rem;
  object-fit: contain;
  transform: scale(1.35);
  mix-blend-mode: multiply;
  filter: grayscale(1) opacity(0.66);
  transition:
    filter 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.app-brand-marquee__item:hover img {
  filter: grayscale(0) opacity(1);
  transform: scale(1.48);
}

@keyframes app-marquee {
  to {
    transform: translateX(calc(-50% - var(--marquee-gap) / 2));
  }
}

@media (prefers-reduced-motion: reduce) {
  .app-brand-marquee__track {
    animation: none;
    flex-wrap: wrap;
    width: auto;
  }
}

.keukens-section-title--apparatuur-faq {
  margin-top: 1.25rem;
  font-size: clamp(2rem, 3.1vw, 2.7rem);
}

.app-faq-lede {
  margin-top: 1rem;
  font-size: 0.98rem;
  font-weight: 300;
  line-height: 1.75;
}

.app-related-section {
  padding-top: 0;
}

.app-related-section__head {
  margin-bottom: 2.5rem;
}

.app-related-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .app-related-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* React related: y:18, duration 0.6, delay index*0.08 */
.brand-page--apparatuur .app-related-grid > [data-reveal] {
  transform: translateY(18px);
  transition:
    opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.brand-page--apparatuur .app-related-grid > [data-reveal].is-visible {
  transform: none;
}

.app-related-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(139, 197, 64, 0.14);
  aspect-ratio: 16 / 10.5;
  box-shadow: 0 22px 58px -44px rgba(20, 40, 18, 0.5);
  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.app-related-card:hover {
  transform: translateY(-5px);
  border-color: rgba(139, 197, 64, 0.32);
  box-shadow: 0 38px 82px -40px rgba(20, 40, 18, 0.58);
}

.app-related-card__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9);
  transition:
    transform 1s cubic-bezier(0.22, 1, 0.36, 1),
    filter 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.app-related-card:hover .app-related-card__image {
  transform: scale(1.06);
  filter: saturate(1.05);
}

.app-related-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(8, 14, 9, 0.88) 100%);
}

.app-related-card__caption {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 1.4rem 1.3rem;
}

.app-related-card__caption h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: 1.15;
  color: #fff;
}

.app-related-card__caption p {
  margin: 0.375rem 0 0;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

.app-related-card__arrow {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  flex-shrink: 0;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #fff;
  transition:
    background-color 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.app-related-card:hover .app-related-card__arrow {
  background: var(--green);
  transform: translate(2px, -2px);
}

.keukens-section-title--apparatuur-cta {
  font-size: clamp(2.1rem, 4vw, 3.1rem);
}

.brand-page--apparatuur .brand-showroom-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.brand-page--apparatuur .brand-faq__contact-icon svg {
  width: 1.05rem;
  height: 1.05rem;
}

@media (max-width: 767px) {
  /* 4 classes + !important beats keukens 3-class mobile pad (7rem / 4.5rem). */
  .brand-page.brand-page--apparatuur .brand-page-hero__content.brand-page-hero__content--apparatuur {
    padding-top: 9rem !important;
    padding-bottom: 6rem !important;
  }
}

/*
 * React src/styles.pcss (hover:none and pointer:coarse):
 *   :is(a, button, …) { min-height: 44px; }
 * Puppeteer audits (and real phones) match that, so the crumb <a> is 44px
 * and the pill is ~60px. WP theme.css never applies that global rule
 * (Keukens-safe). Do NOT touch Keukens min-height: max(43rem, 100svh).
 * Scope: 390px cells that still fail; 430+ already PASS.
 */
@media (max-width: 429px) {
  .brand-page--apparatuur-afzuigkappen .app-crumb a,
  .brand-page--apparatuur-fornuizen .app-crumb a,
  .brand-page--apparatuur-quooker .app-crumb a {
    min-height: 44px;
  }
}

/* Overview — React min-h-[88vh] */
.brand-page--apparatuur-overview .brand-page-hero--apparatuur-overview,
.brand-page--apparatuur-overview .brand-page-hero__content--apparatuur-overview {
  min-height: 88vh;
}

.brand-page--apparatuur .keukens-brand-grid > [data-reveal] {
  height: 100%;
}

.app-cat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(139, 197, 64, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(252, 251, 248, 0.88) 100%);
  box-shadow: 0 22px 60px -44px rgba(20, 40, 18, 0.4);
  text-decoration: none;
  color: inherit;
  transition:
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.app-cat-card:hover {
  transform: translateY(-6px);
  border-color: rgba(139, 197, 64, 0.34);
  box-shadow: 0 40px 90px -40px rgba(20, 40, 18, 0.5);
}
.app-cat-card:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}
.app-cat-card__media {
  position: relative;
  height: 13rem;
  overflow: hidden;
}
.app-cat-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(10, 20, 12, 0.28) 0%, transparent 42%, rgba(10, 20, 12, 0.32) 100%);
}
.app-cat-card__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.94);
  transition:
    transform 1.1s cubic-bezier(0.22, 1, 0.36, 1),
    filter 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}
.app-cat-card:hover .app-cat-card__image {
  transform: scale(1.07);
  filter: saturate(1.06);
}
.app-cat-card__chip {
  position: absolute;
  top: 1rem;
  left: 1.1rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.34rem 0.85rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(10, 20, 12, 0.4);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.92);
}
.app-cat-card__chip::before {
  content: "";
  width: 0.95rem;
  height: 1px;
  background: linear-gradient(90deg, var(--green-highlight), transparent);
}
.app-cat-card__arrow {
  position: absolute;
  right: 1.1rem;
  bottom: 1rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: #fff;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    background-color 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.app-cat-card:hover .app-cat-card__arrow {
  opacity: 1;
  transform: translateY(0);
  background: var(--green);
}
.app-cat-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.5rem 1.6rem 1.7rem;
}
.app-cat-card__tag {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green);
}
.app-cat-card__body h3 {
  margin: 0.75rem 0 0;
  font-family: var(--font-display);
  font-size: 1.65rem;
  line-height: 1;
  color: var(--secondary);
}
.app-cat-card__body p {
  margin: 0.875rem 0 0;
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-soft);
}
.app-cat-card__line {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2.5px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--green) 0%, var(--green-highlight) 60%, transparent 100%);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.app-cat-card:hover .app-cat-card__line {
  transform: scaleX(1);
}
@media (hover: none) {
  .app-cat-card__arrow {
    opacity: 1;
    transform: none;
  }
}
