/**
 * Winkelpagina. Tokens uit de PLP-briefing.
 * De pagina wordt door het theme getekend; deze regels zijn de visuele laag.
 */

body.drup-plp-page {
  background: #faf9f6;
}

.drup-plp {
  background: #faf9f6;
  color: #111827;
  font-family: "Plus Jakarta Sans", sans-serif;
  padding: 28px 24px 64px;
}

.drup-plp__inner {
  max-width: 1280px;
  margin: 0 auto;
}

.drup-plp-head {
  margin-bottom: 28px;
}

.drup-plp-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.4;
}

.drup-plp-crumb [aria-current="page"] {
  color: #2d3436;
  font-weight: 600;
}

.drup-plp-crumb a {
  color: #6b7280;
  text-decoration: none;
}

.drup-plp-crumb a:hover {
  color: #065f46;
}

.drup-plp-head h1 {
  margin: 0;
  color: #111827;
  font-family: "Playfair Display", serif;
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.drup-plp-section {
  display: block;
}

.drup-plp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 20px;
}

.drup-plp-card {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid #ececea;
  border-radius: 28px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.drup-plp-card:hover {
  box-shadow: 0 24px 48px -28px rgba(4, 48, 42, 0.35);
  transform: translateY(-2px);
}

.drup-plp-card__media {
  position: relative;
  min-height: 280px;
  background: #f1f5f4;
}

.drup-plp-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.drup-plp-card__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  margin: 0;
  padding: 6px 12px;
  border-radius: 999px;
  background: #065f46;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

.drup-plp-card__badge:empty {
  display: none;
}

.drup-plp-card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  padding: 22px 20px 22px 22px;
}

.drup-plp-card__title {
  margin: 0;
  color: #111827;
  font-family: "Playfair Display", serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.08;
}

.drup-plp-card__title a {
  color: inherit;
  text-decoration: none;
}

.drup-plp-card__title a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 28px;
}

.drup-plp-card__claim {
  margin: 0;
  color: #065f46;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  text-wrap: pretty;
}

.drup-plp-card__text {
  margin: 0;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.55;
  text-wrap: pretty;
}

.drup-plp-card__buy {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #f1f1ef;
}

.drup-plp-card__price-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.drup-plp-card__price {
  margin: 0;
  color: #111827;
  font-size: 22px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
  white-space: nowrap;
}

.drup-plp-card__price .woocommerce-Price-amount,
.drup-plp-card__price bdi {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}

.drup-plp-card__meta {
  margin: 0;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.5;
}

.drup-plp-card__bundle {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 9px 12px;
  border-radius: 12px;
  background: #eff6f1;
  color: #064e3b;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.drup-plp-card__bundle p {
  margin: 0;
}

.drup-plp-card__bundle-icon {
  flex: 0 0 auto;
}

.drup-plp-card__cta {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-sizing: border-box;
  width: 100%;
  height: 48px;
  padding: 0 16px;
  white-space: nowrap;
  border-radius: 999px;
  background: #065f46;
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-decoration: none;
}

.drup-plp-card__cta:hover {
  background: #064e3b;
  color: #fff;
}

.drup-pakket {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-top: 24px;
  overflow: hidden;
  border-radius: 28px;
  background: #04302a;
  color: #fff;
}

.drup-pakket__media {
  position: relative;
  min-height: 320px;
  background: #0b3d35;
}

.drup-pakket__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.drup-pakket__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: 40px;
}

.drup-pakket__label {
  margin: 0;
  color: #6ee7b7;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

.drup-pakket__title {
  margin: 0;
  color: #fff;
  font-family: "Playfair Display", serif;
  font-size: clamp(30px, 3.2vw, 40px);
  font-weight: 700;
  line-height: 1.1;
}

.drup-pakket__text {
  max-width: 46ch;
  margin: 0;
  color: #d1fae5;
  font-size: 16px;
  line-height: 1.6;
  text-wrap: pretty;
}

.drup-pakket__buy,
.drup-pakket__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.drup-pakket__buy,
.drup-pakket-koop {
  gap: 16px;
}

.drup-pakket__actions {
  gap: 12px;
}

.drup-pakket-koop {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.drup-pakket-koop__toggle {
  display: flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.drup-pakket-koop__pill {
  height: 36px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #d1fae5;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 36px;
  cursor: pointer;
}

.drup-pakket-koop__pill.is-active {
  background: #fff;
  color: #04302a;
}

.drup-pakket-koop__price {
  margin: 0;
  color: #fff;
  font-size: 26px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  white-space: nowrap;
}

.drup-pakket-koop__price .woocommerce-Price-amount,
.drup-pakket-koop__price .woocommerce-Price-currencySymbol,
.drup-pakket-koop__price bdi {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}

.drup-pakket-koop__cta,
.drup-pakket__more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: 50px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 15px;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}

.drup-pakket-koop__cta {
  padding: 0 28px;
  border: 0;
  background: #6ee7b7;
  color: #04302a;
  font-weight: 700;
}

.drup-pakket-koop__cta:hover,
.drup-pakket-koop__cta.is-added {
  background: #a7f3d0;
  color: #04302a;
}

.drup-pakket-koop__cta:disabled {
  cursor: wait;
}

.drup-pakket__more {
  padding: 0 24px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: #fff;
  font-weight: 600;
}

.drup-pakket__more:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.drup-plp a:focus-visible,
.drup-plp button:focus-visible {
  outline: 2px solid #065f46;
  outline-offset: 2px;
}

@media (max-width: 767px) {
  .drup-plp {
    padding: 28px 16px 64px;
  }

  .drup-plp-grid {
    gap: 16px;
  }

  .drup-pakket__body {
    padding: 28px;
  }
}

@media (max-width: 480px) {
  .drup-plp-card {
    grid-template-columns: 1fr;
  }

  .drup-plp-card__media {
    min-height: 0;
    aspect-ratio: 4 / 5;
  }
}

@media (prefers-reduced-motion: reduce) {
  .drup-plp-card {
    transition: none;
  }

  .drup-plp-card:hover {
    transform: none;
  }
}

/*
 * Elementor-kit en de globale knopstijl laden later en winnen anders
 * op titels (Montserrat, olijf) en knoppen (roze rand).
 */
body.drup-plp-page .drup-plp h1,
body.drup-plp-page .drup-plp h2.drup-plp-card__title,
body.drup-plp-page .drup-plp h2.drup-plp-card__title a,
body.drup-plp-page .drup-plp h2.drup-pakket__title {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  font-style: normal;
  letter-spacing: -0.02em;
}

body.drup-plp-page .drup-plp h1 {
  margin: 0;
  color: #111827;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.05;
}

body.drup-plp-page .drup-plp h2.drup-plp-card__title,
body.drup-plp-page .drup-plp h2.drup-plp-card__title a {
  color: #111827;
  font-size: 28px;
  line-height: 1.08;
  text-decoration: none;
}

body.drup-plp-page .drup-plp h2.drup-pakket__title {
  margin: 0;
  color: #fff;
  font-size: clamp(30px, 3.2vw, 40px);
  line-height: 1.1;
}

body.drup-plp-page .drup-plp .drup-plp-crumb a,
body.drup-plp-page .drup-plp .drup-plp-crumb a:hover {
  text-decoration: none;
}

body.drup-plp-page .drup-plp .drup-plp-crumb a {
  color: #6b7280;
}

body.drup-plp-page .drup-plp .drup-plp-crumb a:hover {
  color: #065f46;
}

body.drup-plp-page .drup-plp a.drup-plp-card__cta,
body.drup-plp-page .drup-plp a.drup-plp-card__cta:hover,
body.drup-plp-page .drup-plp a.drup-plp-card__cta:focus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-sizing: border-box;
  width: 100%;
  height: 48px;
  margin: 0;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: #065f46;
  box-shadow: none;
  color: #fff;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
}

body.drup-plp-page .drup-plp a.drup-plp-card__cta:hover,
body.drup-plp-page .drup-plp a.drup-plp-card__cta:focus {
  background: #064e3b;
  color: #fff;
}

body.drup-plp-page .drup-plp button.drup-pakket-koop__pill {
  height: 36px;
  margin: 0;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
  color: #d1fae5;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 36px;
  letter-spacing: 0;
  white-space: nowrap;
  appearance: none;
}

body.drup-plp-page .drup-plp button.drup-pakket-koop__pill.is-active,
body.drup-plp-page .drup-plp button.drup-pakket-koop__pill.is-active:hover,
body.drup-plp-page .drup-plp button.drup-pakket-koop__pill.is-active:focus {
  background: #fff;
  color: #04302a;
}

body.drup-plp-page .drup-plp button.drup-pakket-koop__cta,
body.drup-plp-page .drup-plp button.drup-pakket-koop__cta:hover,
body.drup-plp-page .drup-plp button.drup-pakket-koop__cta:focus,
body.drup-plp-page .drup-plp button.drup-pakket-koop__cta.is-added {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  margin: 0;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  background: #6ee7b7;
  box-shadow: none;
  color: #04302a;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  appearance: none;
}

body.drup-plp-page .drup-plp button.drup-pakket-koop__cta:hover,
body.drup-plp-page .drup-plp button.drup-pakket-koop__cta:focus,
body.drup-plp-page .drup-plp button.drup-pakket-koop__cta.is-added {
  background: #a7f3d0;
  color: #04302a;
}

body.drup-plp-page .drup-plp a.drup-pakket__more,
body.drup-plp-page .drup-plp a.drup-pakket__more:hover,
body.drup-plp-page .drup-plp a.drup-pakket__more:focus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  margin: 0;
  padding: 0 24px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
  color: #fff;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  text-decoration: none;
}

body.drup-plp-page .drup-plp a.drup-pakket__more:hover,
body.drup-plp-page .drup-plp a.drup-pakket__more:focus {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

@media (max-width: 767px) {
  body.drup-plp-page .drup-plp .drup-pakket__actions {
    flex-direction: column;
    align-items: stretch;
  }

  body.drup-plp-page .drup-plp button.drup-pakket-koop__cta,
  body.drup-plp-page .drup-plp button.drup-pakket-koop__cta:hover,
  body.drup-plp-page .drup-plp button.drup-pakket-koop__cta:focus,
  body.drup-plp-page .drup-plp a.drup-pakket__more,
  body.drup-plp-page .drup-plp a.drup-pakket__more:hover,
  body.drup-plp-page .drup-plp a.drup-pakket__more:focus {
    width: 100%;
  }
}

/*
 * Thema- en Elementor-regels zetten img op height:auto. Daardoor
 * houdt de foto haar eigen verhouding en blijft er een lege strook
 * onder in de fotokolom. Deze selectors winnen daarvan.
 */
body.drup-plp-page .drup-plp .drup-plp-card__media,
body.drup-plp-page .drup-plp .drup-pakket__media {
  align-self: stretch;
  overflow: hidden;
}

.e-con.drup-plp,
.e-flexbox-base.drup-plp {
  --display: block;
  display: block;
  width: 100%;
  padding: 0;
  gap: 0;
}

.e-con.drup-plp__inner,
.e-flexbox-base.drup-plp__inner {
  --display: flex;
  --flex-direction: column;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  height: auto;
  min-height: 0;
  max-width: 1280px;
  margin-right: auto;
  margin-left: auto;
  padding: 0;
  gap: 0;
}

.e-con.drup-plp__inner > .elementor-element,
.e-flexbox-base.drup-plp__inner > .elementor-element {
  flex: 0 0 auto;
  height: auto;
  min-height: 0;
}

.elementor-widget-drup-plp-head > .elementor-widget-container,
.elementor-widget-drup-plp-pakket > .elementor-widget-container {
  height: auto;
  min-height: 0;
}

.e-con.drup-plp-grid,
.e-flexbox-base.drup-plp-grid {
  --display: grid;
  --flex-direction: initial;
  --gap: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 20px;
  width: 100%;
  padding: 0;
}

.drup-plp-grid > .elementor-element {
  width: 100%;
  max-width: none;
  min-width: 0;
}

.elementor-widget-drup-plp-card .elementor-widget-container,
.elementor-widget-drup-plp-head .elementor-widget-container,
.elementor-widget-drup-plp-pakket .elementor-widget-container {
  margin: 0;
  padding: 0;
}

.elementor-widget-drup-plp-card,
.elementor-widget-drup-plp-card > .elementor-widget-container,
.elementor-widget-drup-plp-card .drup-plp-card {
  height: 100%;
}

body.drup-plp-page .drup-plp img.drup-plp-card__img,
body.drup-plp-page .drup-plp img.drup-pakket__img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center center;
}

/*
 * Op een smal scherm is het fotovlak verder leeg en heeft het min-height: 0.
 * Safari negeert dan de verhouding, het vlak zakt in en de lazy foto laadt niet.
 * In de normale stroom houdt de foto haar eigen hoogte.
 */
@media (max-width: 767px) {
  body.drup-plp-page .drup-plp .drup-plp-card__media,
  body.drup-plp-page .drup-plp .drup-pakket__media {
    min-height: 0;
    aspect-ratio: auto;
  }

  body.drup-plp-page .drup-plp img.drup-plp-card__img,
  body.drup-plp-page .drup-plp img.drup-pakket__img {
    position: static;
    inset: auto;
    width: 100%;
    height: auto;
    max-height: none;
    aspect-ratio: 4 / 5;
    object-fit: cover;
  }

  body.drup-plp-page .drup-plp img.drup-pakket__img {
    aspect-ratio: 16 / 10;
  }

  body.drup-plp-page .e-con.drup-plp,
  body.drup-plp-page .e-flexbox-base.drup-plp {
    padding: 28px 16px 64px;
  }
}
