/* ── PremiumPreps Public Styles — matches premiumpreps.nl design ─────────── */

:root {
  --pp-purple:    #7B2FC9;
  --pp-purple-2:  #9b55e0;
  --pp-purple-3:  #f0e8fb;
  --pp-dark:      #111827;
  --pp-gray:      #6b7280;
  --pp-light:     #f9fafb;
  --pp-white:     #ffffff;
  --pp-radius:    12px;
  --pp-radius-sm: 8px;
  --pp-shadow:    0 4px 20px rgba(0,0,0,.08);
  --pp-shadow-lg: 0 8px 40px rgba(0,0,0,.14);
}

*, *::before, *::after { box-sizing: border-box; }

.pp-shop-wrap {
  width: 100%;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ── Filters ─────────────────────────────────────────────────────────────── */

.pp-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.pp-filter-btn {
  background: var(--pp-white);
  border: 2px solid #e5e7eb;
  border-radius: 100px;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--pp-gray);
  cursor: pointer;
  transition: all .2s;
}

.pp-filter-btn:hover  { border-color: var(--pp-purple); color: var(--pp-purple); }
.pp-filter-btn.active { background: var(--pp-purple); border-color: var(--pp-purple); color: #fff; }

/* ── Product grid ────────────────────────────────────────────────────────── */

.pp-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.pp-product-grid--featured { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1100px) { .pp-product-grid--featured { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px)  { .pp-product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  {
  .pp-product-grid--featured,
  .pp-product-grid { grid-template-columns: 1fr; }
}

.pp-product-card {
  background: var(--pp-white);
  border-radius: var(--pp-radius);
  box-shadow: var(--pp-shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}

.pp-product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--pp-shadow-lg);
}

.pp-product-card.pp-hidden { display: none; }

/* ── Product image ───────────────────────────────────────────────────────── */

.pp-product-img-wrap {
  position: relative;
  background: var(--pp-light);
  aspect-ratio: 1;
  overflow: hidden;
}

.pp-product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
  display: block;
  transition: transform .3s;
}

.pp-product-card:hover .pp-product-img-wrap img { transform: scale(1.04); }

.pp-img-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
}

/* ── Badge ───────────────────────────────────────────────────────────────── */

.pp-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--pp-purple);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  z-index: 2;
}

/* ── Macro bar ───────────────────────────────────────────────────────────── */

.pp-macro-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid #f3f4f6;
}

.pp-macro-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 4px;
  border-right: 1px solid #f3f4f6;
}

.pp-macro-item:last-child { border-right: none; }

.pp-macro-val {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.pp-macro-lbl {
  font-size: 9px;
  color: var(--pp-gray);
  text-transform: uppercase;
  letter-spacing: .5px;
}

.pp-macro-item--kcal    .pp-macro-val { color: #ef4444; }
.pp-macro-item--protein .pp-macro-val { color: var(--pp-purple); }
.pp-macro-item--carbs   .pp-macro-val { color: #f59e0b; }
.pp-macro-item--fats    .pp-macro-val { color: #10b981; }

/* ── Product body ────────────────────────────────────────────────────────── */

.pp-product-body {
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.pp-product-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--pp-dark);
  margin-bottom: 6px;
  line-height: 1.3;
}

.pp-product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.pp-product-weight { font-size: 12px; color: var(--pp-gray); }

.pp-product-price {
  font-size: 18px;
  font-weight: 800;
  color: var(--pp-purple);
}

.pp-product-desc {
  font-size: 12px;
  color: var(--pp-gray);
  line-height: 1.5;
  margin: 0 0 12px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Card footer: qty selector + In Winkelwagen ─────────────────────────── */

.pp-card-footer {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 8px !important;
  margin-top: 10px !important;
}

.pp-card-add-to-cart {
  display: block !important;
  width: 100% !important;
  font-size: 13px !important;
  padding: 9px 12px !important;
  border-radius: 100px !important;
  text-align: center !important;
  box-sizing: border-box !important;
}

.pp-card-add-to-cart:disabled {
  opacity: .75;
  cursor: default;
}

/* ── Qty control ─────────────────────────────────────────────────────────── */

.pp-qty-control {
  display: flex;
  align-items: center;
  border: 2px solid var(--pp-purple);
  border-radius: 100px;
  overflow: hidden;
  align-self: flex-start;
  min-width: 110px;
}

/* Card qty selector: full width, stacked above "In Winkelwagen" */
.pp-card-qty-control {
  width: 100% !important;
  min-width: 0 !important;
  flex-shrink: 0 !important;
  align-self: stretch !important;
  display: flex !important;
  box-sizing: border-box !important;
}
.pp-card-qty-control .pp-qty-btn {
  flex: 1 1 0 !important;
  text-align: center !important;
  padding: 8px 0 !important;
  font-size: 20px !important;
  line-height: 1 !important;
}
.pp-card-qty-control .pp-qty-val {
  flex: 1 1 0 !important;
  text-align: center !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.pp-qty-btn {
  background: none;
  border: none;
  padding: 6px 14px;
  font-size: 18px;
  font-weight: 700;
  color: var(--pp-purple);
  cursor: pointer;
  line-height: 1;
  transition: background .15s;
}

.pp-qty-btn:hover { background: var(--pp-purple-3); }

.pp-qty-val {
  font-size: 15px;
  font-weight: 700;
  color: var(--pp-dark);
  flex: 1;
  text-align: center;
  min-width: 28px;
}

/* ── Floating cart button ────────────────────────────────────────────────── */

#pp-cart-fab {
  appearance: none;
  -webkit-appearance: none;
  position: fixed !important;
  bottom: 28px !important;
  right: 28px !important;
  z-index: 100000 !important;
  background: var(--pp-purple) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 999px !important;
  width: 60px !important;
  height: 60px !important;
  min-width: 60px !important;
  min-height: 60px !important;
  max-width: 60px !important;
  max-height: 60px !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  box-shadow: 0 4px 20px rgba(123,47,201,.4) !important;
  transition: transform .2s, box-shadow .2s !important;
  overflow: visible !important;
  line-height: 1 !important;
  text-decoration: none !important;
}

#pp-cart-fab svg {
  width: 24px !important;
  height: 24px !important;
  display: block !important;
  flex: 0 0 auto !important;
  color: currentColor !important;
  stroke: currentColor !important;
}

#pp-cart-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(123,47,201,.55);
}

#pp-cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  background: #ef4444;
  color: white;
  font-size: 12px;
  font-weight: 700;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  line-height: 22px !important;
  padding: 0 !important;
  margin: 0 !important;
}


/* ── Cart sidebar ────────────────────────────────────────────────────────── */

#pp-cart-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 100001 !important;
  backdrop-filter: blur(2px);
}

#pp-cart-overlay.open { display: block; }

#pp-cart {
  position: fixed;
  top: 0;
  right: -420px;
  width: 420px;
  max-width: 100vw;
  height: 100vh;
  background: var(--pp-white);
  z-index: 100002 !important;
  display: flex !important;
  flex-direction: column;
  box-shadow: -4px 0 40px rgba(0,0,0,.15);
  transition: right .3s cubic-bezier(.4,0,.2,1);
}

#pp-cart.open { right: 0; }

.pp-cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid #f3f4f6;
  background: var(--pp-dark);
  color: white;
  flex-shrink: 0;
}

.pp-cart-header h3 { margin: 0; font-size: 18px; font-weight: 700; color: white; }

#pp-cart-close {
  background: rgba(255,255,255,.15);
  border: none;
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

#pp-cart-close:hover { background: rgba(255,255,255,.25); }

#pp-cart-items { flex: 1; overflow-y: auto; padding: 16px; }

.pp-cart-empty {
  text-align: center;
  color: var(--pp-gray);
  padding: 40px 20px;
  font-size: 14px;
}

.pp-cart-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f3f4f6;
}

.pp-cart-item-info { flex: 1; }
.pp-cart-item-name  { font-size: 14px; font-weight: 600; color: var(--pp-dark); margin-bottom: 4px; }
.pp-cart-item-price { font-size: 12px; color: var(--pp-gray); margin-bottom: 6px; }

.pp-cart-item-remove {
  background: none;
  border: none;
  color: #9ca3af;
  font-size: 18px;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
  flex-shrink: 0;
}

.pp-cart-item-remove:hover { color: #ef4444; }

.pp-cart-footer {
  padding: 14px 20px;
  border-top: 1px solid #f3f4f6;
  background: var(--pp-light);
  flex-shrink: 0;
}

.pp-cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
  font-weight: 700;
}

.pp-cart-pts-note { font-size: 12px; color: var(--pp-purple); margin-top: 4px; }

.pp-cart-form {
  padding: 16px 20px 20px;
  border-top: 1px solid #f3f4f6;
  overflow-y: auto;
  flex-shrink: 0;
}

.pp-cart-form h4 { margin: 0 0 10px; font-size: 14px; font-weight: 700; }

.pp-cart-form input,
.pp-cart-form textarea {
  width: 100%;
  border: 1.5px solid #e5e7eb;
  border-radius: var(--pp-radius-sm);
  padding: 10px 12px;
  font-size: 14px;
  margin-bottom: 8px;
  outline: none;
  transition: border-color .15s;
  font-family: inherit;
}

.pp-cart-form input:focus,
.pp-cart-form textarea:focus { border-color: var(--pp-purple); }

.pp-cart-secure { font-size: 11px; color: var(--pp-gray); text-align: center; margin: 8px 0 0; }

/* ── Buttons ─────────────────────────────────────────────────────────────── */

.pp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 24px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .2s;
  font-family: inherit;
  white-space: nowrap;
  text-decoration: none;
}

.pp-btn--primary { background: var(--pp-purple); color: white; border-color: var(--pp-purple); }
.pp-btn--primary:hover { background: var(--pp-purple-2); border-color: var(--pp-purple-2); transform: translateY(-1px); }
.pp-btn--primary:disabled { opacity: .65; transform: none; cursor: not-allowed; }

.pp-btn--outline { background: transparent; color: var(--pp-purple); border-color: var(--pp-purple); }
.pp-btn--outline:hover { background: var(--pp-purple-3); }

.pp-btn--full { width: 100%; }
.pp-btn--sm   { padding: 8px 16px; font-size: 13px; }

/* ── Messages ────────────────────────────────────────────────────────────── */

.pp-msg { padding: 10px 14px; border-radius: var(--pp-radius-sm); font-size: 13px; font-weight: 600; }
.pp-msg.success, .pp-msg--success { background: #d1fae5; color: #065f46; }
.pp-msg.error,   .pp-msg--error   { background: #fee2e2; color: #991b1b; }
.pp-empty { text-align: center; color: var(--pp-gray); padding: 40px 0; }

/* ── Abonnementen ────────────────────────────────────────────────────────── */

.pp-sub-wrap { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; }

.pp-plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}

.pp-plan-card {
  background: var(--pp-white);
  border: 2px solid #e5e7eb;
  border-radius: var(--pp-radius);
  padding: 28px 24px;
  text-align: center;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}

.pp-plan-card:hover {
  border-color: var(--pp-purple);
  box-shadow: 0 4px 20px rgba(123,47,201,.15);
  transform: translateY(-4px);
}

.pp-plan-meals { font-size: 40px; font-weight: 900; color: var(--pp-purple); line-height: 1; }
.pp-plan-meals small { font-size: 14px; font-weight: 600; color: var(--pp-gray); }
.pp-plan-name  { font-size: 18px; font-weight: 700; margin: 10px 0 4px; }
.pp-plan-price { font-size: 28px; font-weight: 900; color: var(--pp-purple); margin: 6px 0 12px; }
.pp-plan-price small { font-size: 14px; font-weight: 500; color: var(--pp-gray); }
.pp-plan-desc  { font-size: 13px; color: var(--pp-gray); margin: 0 0 18px; line-height: 1.5; }

.pp-sub-form { max-width: 540px; margin: 0 auto; }

.pp-card-light {
  background: var(--pp-white);
  border: 1px solid #e5e7eb;
  border-radius: var(--pp-radius);
  padding: 24px 28px;
  box-shadow: var(--pp-shadow);
}

.pp-sub-form h3 { margin-top: 0; color: var(--pp-dark); }

.pp-sub-form input,
.pp-sub-form textarea {
  width: 100%;
  border: 1.5px solid #e5e7eb;
  border-radius: var(--pp-radius-sm);
  padding: 11px 14px;
  font-size: 14px;
  margin-bottom: 10px;
  outline: none;
  transition: border-color .15s;
  font-family: inherit;
}

.pp-sub-form input:focus,
.pp-sub-form textarea:focus { border-color: var(--pp-purple); }

/* ── Puntenwinkel ────────────────────────────────────────────────────────── */

.pp-punten-wrap { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; }
.pp-punten-check h3 { margin-top: 0; }

.pp-punten-input-row { display: flex; gap: 10px; flex-wrap: wrap; }

.pp-punten-input-row input {
  flex: 1;
  min-width: 200px;
  border: 1.5px solid #e5e7eb;
  border-radius: var(--pp-radius-sm);
  padding: 11px 14px;
  font-size: 14px;
  outline: none;
  font-family: inherit;
}

.pp-punten-input-row input:focus { border-color: var(--pp-purple); }

.pp-pts-result { display: flex; gap: 32px; margin-top: 16px; }
.pp-pts-stat   { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--pp-gray); }
.pp-pts-big    { font-size: 36px; font-weight: 900; color: var(--pp-purple); line-height: 1; }

.pp-rewards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.pp-reward-card {
  background: var(--pp-white);
  border: 1px solid #e5e7eb;
  border-radius: var(--pp-radius);
  overflow: hidden;
  box-shadow: var(--pp-shadow);
  display: flex;
  flex-direction: column;
}

.pp-reward-card img { width: 100%; height: 160px; object-fit: cover; }
.pp-reward-icon     { height: 120px; display: flex; align-items: center; justify-content: center; font-size: 56px; background: var(--pp-light); }
.pp-reward-body     { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.pp-reward-name     { font-size: 15px; font-weight: 700; color: var(--pp-dark); margin-bottom: 6px; }
.pp-reward-desc     { font-size: 12px; color: var(--pp-gray); flex: 1; margin: 0 0 12px; }
.pp-reward-cost     { font-size: 15px; font-weight: 700; color: var(--pp-purple); margin-bottom: 12px; }

/* ── Affiliate banner ────────────────────────────────────────────────────── */

.pp-affiliate-banner {
  background: linear-gradient(135deg, var(--pp-dark), #1e1b4b);
  border-radius: var(--pp-radius);
  padding: 20px 24px;
  margin-bottom: 28px;
  color: white;
}

.pp-affiliate-banner-inner { display: flex; align-items: center; gap: 16px; }
.pp-aff-logo { font-size: 40px; }
.pp-aff-name { font-size: 20px; font-weight: 700; }
.pp-aff-sub  { font-size: 13px; opacity: .75; margin-top: 2px; }

/* ── Account / auth ──────────────────────────────────────────────────────── */

.pp-auth-wrap,
.pp-account-wrap {
  max-width: 520px;
  margin: 0 auto;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Brand header above the auth card */
.pp-auth-brand-header {
  text-align: center;
  padding: 36px 20px 28px;
}
.pp-auth-brand-icon {
  font-size: 52px;
  line-height: 1;
  margin-bottom: 10px;
}
.pp-auth-brand-title {
  font-size: 28px;
  font-weight: 900;
  color: var(--pp-purple);
  letter-spacing: -0.5px;
}
.pp-auth-brand-subtitle {
  font-size: 14px;
  color: var(--pp-gray);
  margin-top: 4px;
}

/* Auth card */
.pp-auth-card {
  background: var(--pp-white);
  border-radius: 20px;
  box-shadow: var(--pp-shadow-lg);
  padding: 32px 28px;
  border: 1px solid #f0e8fb;
}

/* Tab switcher */
.pp-auth-tabs {
  display: flex;
  margin-bottom: 28px;
  background: #111;
  border-radius: 100px;
  padding: 4px;
  gap: 4px;
}

.pp-auth-tab-btn {
  flex: 1;
  padding: 10px 20px;
  border: none;
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  border-radius: 100px;
  transition: all .2s;
  font-family: inherit;
}

.pp-auth-tab-btn.active {
  background: var(--pp-purple);
  color: #fff;
  box-shadow: 0 2px 8px rgba(123,47,201,.35);
}

.pp-auth-panel        { display: none; }
.pp-auth-panel.active { display: block; }

.pp-auth-panel-title {
  margin: 0 0 22px;
  font-size: 20px;
  font-weight: 800;
  color: var(--pp-dark);
}

/* Field rows inside auth */
.pp-auth-field {
  margin-bottom: 14px;
}
.pp-auth-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--pp-dark);
  margin-bottom: 5px;
}
.pp-auth-field input {
  width: 100%;
  border: 1.5px solid #e5e7eb;
  border-radius: var(--pp-radius-sm);
  padding: 12px 14px;
  font-size: 14px;
  outline: none;
  font-family: inherit;
  transition: border-color .15s, box-shadow .15s;
  box-sizing: border-box;
  background: #fafafa;
}
.pp-auth-field input:focus {
  border-color: var(--pp-purple);
  box-shadow: 0 0 0 3px rgba(123,47,201,.12);
  background: #fff;
}

.pp-auth-req { color: var(--pp-purple); font-size: 12px; }
.pp-auth-opt { color: var(--pp-gray);   font-size: 12px; font-weight: 400; }

.pp-auth-footer {
  text-align: center;
  font-size: 12px;
  color: var(--pp-gray);
  margin-top: 16px;
}
.pp-auth-footer a { color: var(--pp-purple); text-decoration: none; }
.pp-auth-footer a:hover { text-decoration: underline; }

/* ── Account dashboard ───────────────────────────────────────────────────── */

.pp-account-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--pp-dark);
  color: white;
  border-radius: var(--pp-radius);
  margin-bottom: 20px;
}

.pp-account-avatar {
  width: 52px;
  height: 52px;
  background: rgba(255,255,255,.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
}

.pp-account-info  { flex: 1; }
.pp-account-name  { font-size: 18px; font-weight: 700; }
.pp-account-email { font-size: 13px; opacity: .7; }

.pp-account-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.pp-account-stat {
  background: var(--pp-white);
  border: 1px solid #e5e7eb;
  border-radius: var(--pp-radius);
  padding: 16px;
  text-align: center;
  box-shadow: var(--pp-shadow);
}

.pp-account-stat-val { font-size: 22px; font-weight: 800; color: var(--pp-purple); }
.pp-account-stat-lbl { font-size: 11px; color: var(--pp-gray); margin-top: 4px; text-transform: uppercase; letter-spacing: .5px; }

.pp-account-orders h3 { margin-top: 0; }

.pp-account-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.pp-account-table th,
.pp-account-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid #f3f4f6; }
.pp-account-table th { font-weight: 700; color: var(--pp-gray); font-size: 11px; text-transform: uppercase; letter-spacing: .5px; }

/* ── Status badges ───────────────────────────────────────────────────────── */

.pp-status { display: inline-block; padding: 3px 9px; border-radius: 100px; font-size: 11px; font-weight: 700; }
.pp-status--pending_payment { background: #fef3c7; color: #92400e; }
.pp-status--processing      { background: #dbeafe; color: #1e40af; }
.pp-status--shipped         { background: #e0f2fe; color: #0369a1; }
.pp-status--delivered       { background: #d1fae5; color: #065f46; }
.pp-status--cancelled,
.pp-status--payment_failed  { background: #fee2e2; color: #991b1b; }
.pp-status--active          { background: #d1fae5; color: #065f46; }

/* ── Cart action buttons ─────────────────────────────────────────────────── */

.pp-cart-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.pp-cart-actions .pp-btn {
  width: 100%;
  justify-content: center;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--pp-radius);
}

/* ── Checkout pagina ─────────────────────────────────────────────────────── */

.pp-checkout-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 20px 60px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.pp-co-empty-msg {
  text-align: center;
  padding: 48px 20px;
  font-size: 16px;
  color: var(--pp-gray);
}

.pp-co-empty-msg a { color: var(--pp-purple); font-weight: 700; }

.pp-checkout-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 40px;
  align-items: start;
}

@media (max-width: 860px) {
  .pp-checkout-grid { grid-template-columns: 1fr; }
  .pp-checkout-summary { order: -1; }
}

.pp-co-section-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--pp-dark);
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f3f4f6;
}

.pp-co-delivery-method { margin-bottom: 28px; }

.pp-co-delivery-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 480px) {
  .pp-co-delivery-options { grid-template-columns: 1fr; }
}

.pp-co-delivery-opt {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1.5px solid #d1d5db;
  border-radius: 10px;
  padding: 14px 16px;
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s, background .15s;
}

.pp-co-delivery-opt:hover { border-color: var(--pp-purple); }

.pp-co-delivery-opt.is-active {
  border-color: var(--pp-purple);
  background: rgba(123,47,201,.05);
  box-shadow: 0 0 0 3px rgba(123,47,201,.12);
}

.pp-co-delivery-opt input { accent-color: var(--pp-purple); width: 18px; height: 18px; flex-shrink: 0; }

.pp-co-delivery-opt-body { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.pp-co-delivery-opt-title { font-size: 14px; font-weight: 800; color: var(--pp-dark); }
.pp-co-delivery-opt-desc { font-size: 12px; color: var(--pp-gray); }
.pp-co-delivery-opt-price { font-size: 14px; font-weight: 800; color: var(--pp-dark); white-space: nowrap; }
.pp-co-delivery-opt-price.pp-co-free { color: #16a34a; }

.pp-co-pickup-address {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
  padding: 14px 16px;
  border: 1.5px solid #c7e0ff;
  background: #f0f7ff;
  border-radius: 10px;
}

.pp-co-pickup-icon { font-size: 18px; line-height: 1.4; }
.pp-co-pickup-body { display: flex; flex-direction: column; gap: 2px; }
.pp-co-pickup-body strong { font-size: 13px; color: var(--pp-dark); }
.pp-co-pickup-body span { font-size: 14px; color: var(--pp-dark); }

.pp-checkout-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.pp-co-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.pp-co-field--full { grid-column: 1 / -1; }

.pp-co-field label {
  font-size: 13px;
  font-weight: 700;
  color: var(--pp-dark);
}

.pp-co-req  { color: #e53e3e; }
.pp-co-optional { font-weight: 400; color: var(--pp-gray); }

.pp-co-field input,
.pp-co-field textarea {
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--pp-dark);
  background: #fff;
  transition: border-color .15s;
  width: 100%;
  box-sizing: border-box;
  font-family: inherit;
}

.pp-co-field input:focus,
.pp-co-field textarea:focus {
  outline: none;
  border-color: var(--pp-purple);
  box-shadow: 0 0 0 3px rgba(123,47,201,.12);
}

.pp-co-order-box {
  background: #fff;
  border: 1.5px solid #e5e7eb;
  border-radius: 12px;
  padding: 24px;
  position: sticky;
  top: 20px;
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
}

.pp-co-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f3f4f6;
}

.pp-co-item-img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 8px;
  background: #f9fafb;
  flex-shrink: 0;
}

.pp-co-item-img--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.pp-co-item-info { flex: 1; }
.pp-co-item-name { font-size: 13px; font-weight: 700; color: var(--pp-dark); line-height: 1.3; }
.pp-co-item-price { font-size: 12px; color: var(--pp-gray); margin-top: 2px; }
.pp-co-item-total { font-size: 14px; font-weight: 800; color: var(--pp-dark); white-space: nowrap; }

.pp-co-totals {
  margin-top: 16px;
  border-top: 2px solid #f3f4f6;
  padding-top: 12px;
}

.pp-co-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  font-size: 14px;
  color: var(--pp-dark);
}

.pp-co-free { color: #16a34a; font-weight: 700; }

.pp-co-total-final {
  font-size: 18px;
  font-weight: 800;
  border-top: 2px solid #e5e7eb;
  margin-top: 8px;
  padding-top: 12px;
}

.pp-co-total-final strong { color: var(--pp-purple); }

.pp-co-payment-box {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 2px solid #f3f4f6;
}

.pp-co-payment-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--pp-dark);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.pp-co-payment-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.pp-pay-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1.5px solid #e5e7eb;
  border-radius: 8px;
  padding: 7px 12px;
  height: 40px;
  transition: border-color .15s;
}
.pp-pay-logo:hover { border-color: #7B2FC9; }
.pp-pay-logo img {
  height: 22px;
  width: auto;
  display: block;
}

.pp-pay-badge {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--pp-dark);
}

/* ── Login banner ────────────────────────────────────────────────────────── */
.pp-co-login-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  background: #f5f0ff;
  border: 1.5px solid #d6bfff;
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 24px;
  font-size: 14px;
  color: #4b2e7a;
}
.pp-co-login-btn {
  display: inline-block;
  background: var(--pp-purple);
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s;
}
.pp-co-login-btn:hover { background: #6320b0; }

/* ── Ingelogd badge & readonly email ────────────────────────────────────── */
.pp-co-logged-badge {
  display: inline-block;
  background: #d1fae5;
  color: #065f46;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 100px;
  margin-left: 10px;
  vertical-align: middle;
}
input[readonly] {
  background: #f9fafb !important;
  color: #6b7280 !important;
  cursor: not-allowed;
}

/* ── Shipping note ───────────────────────────────────────────────────────── */
.pp-co-shipping-note {
  font-size: 12px;
  color: #7B2FC9;
  font-weight: 600;
  padding: 4px 0 4px 2px;
}

.pp-btn--lg {
  padding: 16px 24px !important;
  font-size: 17px !important;
  letter-spacing: .3px;
}

.pp-co-secure {
  text-align: center;
  font-size: 11px;
  color: var(--pp-gray);
  margin-top: 12px;
}

/* ── Chatbot (Preppy) ────────────────────────────────────────────────────── */

#pp-chat-fab {
  position: fixed !important;
  bottom: 24px !important;
  left: 24px !important;
  z-index: 100000 !important;
  background: var(--pp-purple) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 50% !important;
  width: 56px !important;
  height: 56px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  box-shadow: 0 4px 24px rgba(123,47,201,.55) !important;
  transition: transform .2s, box-shadow .2s !important;
}

#pp-chat-fab:hover {
  transform: scale(1.1) !important;
  box-shadow: 0 8px 32px rgba(123,47,201,.7) !important;
}

#pp-chat-fab svg {
  width: 26px !important;
  height: 26px !important;
  stroke: #fff !important;
  fill: none !important;
  flex-shrink: 0 !important;
}

#pp-chat-window {
  position: fixed !important;
  bottom: 100px !important;
  left: 28px !important;
  z-index: 99999 !important;
  width: 340px !important;
  max-height: 480px !important;
  background: #fff !important;
  border-radius: 16px !important;
  box-shadow: 0 8px 40px rgba(0,0,0,.18) !important;
  flex-direction: column !important;
  overflow: hidden !important;
  border: 1px solid #e5e7eb !important;
  display: none !important;
}

#pp-chat-window.pp-chat-open {
  display: flex !important;
}

@media (max-width: 600px) {
  #pp-chat-window { width: calc(100vw - 32px) !important; left: 16px !important; }
  #pp-chat-fab { bottom: 16px !important; left: 16px !important; }
}

.pp-chat-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: var(--pp-purple);
  color: #fff;
}

.pp-chat-avatar {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.pp-chat-title    { font-size: 15px; font-weight: 800; }
.pp-chat-subtitle { font-size: 11px; opacity: .8; }
.pp-chat-header > div:nth-child(2) { flex: 1; }

#pp-chat-close {
  background: none;
  border: none;
  color: rgba(255,255,255,.8);
  font-size: 18px;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
}

#pp-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #f9fafb;
  max-height: 240px;
}

.pp-chat-msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 13px;
  line-height: 1.5;
}

.pp-chat-msg--bot {
  background: #fff;
  color: var(--pp-dark);
  border: 1px solid #e5e7eb;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.pp-chat-msg--user {
  background: var(--pp-purple);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.pp-chat-suggestions {
  display: flex;
  gap: 6px;
  padding: 8px 12px;
  background: #fff;
  border-top: 1px solid #f3f4f6;
  flex-wrap: wrap;
}

.pp-chat-suggest {
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 100px;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  color: var(--pp-dark);
  white-space: nowrap;
  transition: background .15s;
}

.pp-chat-suggest:hover { background: var(--pp-purple-3); border-color: var(--pp-purple); color: var(--pp-purple); }

.pp-chat-input-row {
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  border-top: 1px solid #f3f4f6;
  background: #fff;
}

#pp-chat-input {
  flex: 1;
  border: 1.5px solid #d1d5db;
  border-radius: 100px;
  padding: 8px 14px;
  font-size: 13px;
  outline: none;
  font-family: inherit;
}

#pp-chat-input:focus { border-color: var(--pp-purple); }

#pp-chat-send {
  background: var(--pp-purple);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  color: #fff;
  font-size: 15px;
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
}

#pp-chat-send:hover { background: var(--pp-purple-2); }

/* ── Responsive ──────────────────────────────────────────────────────────── */

@media (max-width: 600px) {
  #pp-cart { width: 100vw; right: -100vw; }
  .pp-account-stats { grid-template-columns: 1fr 1fr; }
  .pp-plans-grid { grid-template-columns: 1fr; }
  #pp-cart-fab { bottom: 16px !important; right: 16px !important; }
}

/* Fix v1.2.2: winkelwagenknop robuust tegen theme/Elementor button CSS en dubbele shortcode-rendering. */


/* ── Product detail page — v1.2.4 professioneel ───────────────────────── */
.pp-product-card { cursor: pointer; }
.pp-product-link { color: inherit; text-decoration: none; }
.pp-product-link:hover { color: var(--pp-purple); text-decoration: none; }
a.pp-product-img-wrap { display: block; }

.pp-product-detail-wrap.pp-product-detail-pro {
  width: min(1180px, calc(100vw - 40px)) !important;
  max-width: 1180px !important;
  margin: 0 auto !important;
  padding: 24px 0 50px !important;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}
.pp-back-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  margin: 0 0 18px !important;
  color: var(--pp-purple) !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}
.pp-back-link:hover { text-decoration: underline !important; }

.pp-product-detail {
  display: grid !important;
  grid-template-columns: minmax(320px, 48%) 1fr !important;
  gap: 42px !important;
  align-items: stretch !important;
  background: linear-gradient(135deg, #ffffff 0%, #faf7ff 100%) !important;
  border: 1px solid #ece7f5 !important;
  border-radius: 28px !important;
  box-shadow: 0 24px 80px rgba(17,24,39,.11) !important;
  padding: 34px !important;
  overflow: hidden !important;
}
.pp-detail-media {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
}
.pp-detail-img {
  background: radial-gradient(circle at 50% 38%, #ffffff 0%, #f7f0ff 58%, #eee4fa 100%) !important;
  border: 1px solid #eee7f7 !important;
  border-radius: 24px !important;
  min-height: 500px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  position: relative !important;
}
.pp-detail-img::after {
  content: '' !important;
  position: absolute !important;
  inset: auto 12% 8% !important;
  height: 26px !important;
  background: rgba(17,24,39,.10) !important;
  filter: blur(18px) !important;
  border-radius: 50% !important;
}
.pp-detail-img img.pp-detail-main-img {
  width: 100% !important;
  height: 100% !important;
  max-height: 470px !important;
  object-fit: contain !important;
  padding: 28px !important;
  display: block !important;
  position: relative !important;
  z-index: 1 !important;
}
.pp-img-fallback--detail { font-size: 92px !important; }
.pp-detail-thumbs {
  display: flex !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
}
.pp-detail-thumb {
  width: 74px !important;
  height: 74px !important;
  padding: 6px !important;
  border: 2px solid #ece7f5 !important;
  border-radius: 14px !important;
  background: #fff !important;
  cursor: pointer !important;
}
.pp-detail-thumb.active,
.pp-detail-thumb:hover { border-color: var(--pp-purple) !important; }
.pp-detail-thumb img { width: 100% !important; height: 100% !important; object-fit: contain !important; display: block !important; }

.pp-detail-info {
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}
.pp-detail-topline {
  display: flex !important;
  gap: 10px !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  margin-bottom: 14px !important;
}
.pp-detail-cat,
.pp-detail-badge,
.pp-detail-stock {
  display: inline-flex !important;
  align-items: center !important;
  border-radius: 999px !important;
  padding: 7px 12px !important;
  font-size: 11px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: .35px !important;
}
.pp-detail-cat { background: var(--pp-purple-3) !important; color: var(--pp-purple) !important; }
.pp-detail-badge { background: var(--pp-dark) !important; color: #fff !important; }
.pp-detail-stock { text-transform: none !important; letter-spacing: 0 !important; font-size: 12px !important; }
.pp-detail-stock--ok { background: #ecfdf3 !important; color: #079455 !important; }
.pp-detail-stock--bad { background: #fef3f2 !important; color: #d92d20 !important; }

.pp-detail-info h1 {
  margin: 0 0 14px !important;
  color: var(--pp-dark) !important;
  font-size: clamp(34px, 4vw, 56px) !important;
  line-height: .98 !important;
  font-weight: 900 !important;
  letter-spacing: -1.4px !important;
}
.pp-detail-price-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
  margin-bottom: 22px !important;
  color: var(--pp-gray) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
}
.pp-detail-price-row strong {
  color: var(--pp-purple) !important;
  font-size: clamp(30px, 3vw, 42px) !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}
.pp-detail-dot { margin: 0 7px !important; color: #c4b5d8 !important; }

.pp-detail-panel {
  background: #fff !important;
  border: 1px solid #eee7f7 !important;
  border-radius: 18px !important;
  padding: 20px !important;
  margin: 0 0 16px !important;
  box-shadow: 0 8px 24px rgba(17,24,39,.045) !important;
}
.pp-detail-panel h2 {
  margin: 0 0 10px !important;
  color: var(--pp-dark) !important;
  font-size: 18px !important;
  line-height: 1.2 !important;
  font-weight: 900 !important;
}
.pp-detail-desc,
.pp-detail-desc p {
  color: #4b5563 !important;
  font-size: 16px !important;
  line-height: 1.75 !important;
  margin: 0 !important;
}
.pp-detail-desc p + p { margin-top: 12px !important; }
.pp-detail-panel-head {
  display: flex !important;
  justify-content: space-between !important;
  align-items: baseline !important;
  margin-bottom: 14px !important;
}
.pp-detail-panel-head span { color: var(--pp-dark) !important; font-size: 18px !important; font-weight: 900 !important; }
.pp-detail-panel-head small { color: var(--pp-gray) !important; font-size: 12px !important; font-weight: 700 !important; }
.pp-detail-macros {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 10px !important;
}
.pp-detail-macros div {
  background: #f9fafb !important;
  border: 1px solid #eef0f3 !important;
  border-radius: 14px !important;
  padding: 14px 8px !important;
  text-align: center !important;
}
.pp-detail-macros strong { display: block !important; color: var(--pp-dark) !important; font-size: 21px !important; line-height: 1.1 !important; }
.pp-detail-macros span { display: block !important; color: var(--pp-gray) !important; font-size: 10px !important; font-weight: 900 !important; letter-spacing: .35px !important; text-transform: uppercase !important; margin-top: 6px !important; }

.pp-detail-buybox {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 16px !important;
  background: #111827 !important;
  color: #fff !important;
  border-radius: 18px !important;
  padding: 18px !important;
  margin-top: 4px !important;
}
.pp-detail-buybox-text span { display: block !important; font-size: 16px !important; font-weight: 900 !important; }
.pp-detail-buybox-text small { display: block !important; color: rgba(255,255,255,.66) !important; margin-top: 3px !important; }
.pp-detail-actions { display: flex !important; align-items: center !important; gap: 10px !important; flex-wrap: wrap !important; justify-content: flex-end !important; }
.pp-detail-actions .pp-qty-control { background: #fff !important; border-color: #fff !important; min-width: 122px !important; }
.pp-detail-actions .pp-btn { white-space: nowrap !important; }
.pp-detail-actions .pp-btn--outline { background: transparent !important; border: 1.5px solid rgba(255,255,255,.32) !important; color: #fff !important; }
.pp-detail-actions .pp-btn--outline:hover { border-color: #fff !important; background: rgba(255,255,255,.08) !important; }

@media (max-width: 900px) {
  .pp-product-detail-wrap.pp-product-detail-pro { width: min(100%, calc(100vw - 24px)) !important; padding-top: 12px !important; }
  .pp-product-detail { grid-template-columns: 1fr !important; padding: 18px !important; gap: 22px !important; border-radius: 22px !important; }
  .pp-detail-img { min-height: 330px !important; }
  .pp-detail-info h1 { font-size: clamp(30px, 10vw, 42px) !important; }
  .pp-detail-price-row { align-items: flex-start !important; flex-direction: column !important; gap: 8px !important; }
  .pp-detail-macros { grid-template-columns: repeat(2, 1fr) !important; }
  .pp-detail-buybox { align-items: stretch !important; flex-direction: column !important; }
  .pp-detail-actions { justify-content: flex-start !important; }
}
@media (max-width: 520px) {
  .pp-detail-actions .pp-btn { width: 100% !important; justify-content: center !important; text-align: center !important; }
  .pp-detail-actions .pp-qty-control { width: 100% !important; }
}


/* ── Cart polish — v1.2.6 ─────────────────────────────────────────────── */
.pp-cart-header {
  padding: 22px 22px 18px !important;
  background: linear-gradient(135deg, #0f172a 0%, #111827 58%, #1e1b4b 100%) !important;
}
.pp-cart-header-copy { display: flex; flex-direction: column; gap: 4px; }
.pp-cart-header-copy h3 { margin: 0 !important; }
.pp-cart-header-copy p { margin: 0 !important; color: rgba(255,255,255,.72) !important; font-size: 12px !important; }
#pp-cart-close {
  width: 40px !important;
  height: 40px !important;
  background: rgba(255,255,255,.12) !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  font-size: 18px !important;
}
#pp-cart { background: #f8fafc !important; }
#pp-cart-items {
  padding: 16px !important;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}
.pp-cart-item {
  background: #ffffff;
  border: 1px solid #eceff3;
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 12px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .05);
}
.pp-cart-item:last-child { margin-bottom: 0; }
.pp-cart-item-name { font-size: 15px !important; font-weight: 700 !important; }
.pp-cart-item-price { font-size: 12px !important; color: #6b7280 !important; margin-bottom: 10px !important; }
.pp-cart-item .pp-qty-control {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  background: #fcfcfd;
  border-color: rgba(123,47,201,.75);
}
.pp-cart-item .pp-qty-btn { padding: 8px 16px; }
.pp-cart-item-remove {
  width: 34px; height: 34px; border-radius: 50%;
  background: #f8fafc; border: 1px solid #e5e7eb;
  display: inline-flex; align-items: center; justify-content: center;
}
.pp-cart-footer {
  margin: 0 16px;
  border: 1px solid #eceff3 !important;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .05);
  background: #fff !important;
  padding: 16px 18px !important;
}
.pp-cart-total-row { font-size: 20px !important; }
.pp-cart-total-row strong { color: #111827; }
.pp-cart-pts-note { margin-top: 6px !important; font-size: 13px !important; }
.pp-cart-form {
  padding: 16px !important;
  margin: 14px 16px 16px;
  border: 1px solid #eceff3 !important;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .05);
}
.pp-cart-form h4 { font-size: 16px !important; margin-bottom: 12px !important; }
.pp-cart-form input, .pp-cart-form textarea {
  background: #f8fafc;
  border: 1.5px solid #e5e7eb !important;
  border-radius: 12px !important;
  padding: 12px 14px !important;
  margin-bottom: 10px !important;
}
.pp-cart-form input:focus, .pp-cart-form textarea:focus {
  background: #fff;
  box-shadow: 0 0 0 4px rgba(123,47,201,.08);
}
#pp-place-order.pp-btn--primary {
  width: 100%;
  padding: 14px 18px !important;
  border-radius: 14px !important;
  box-shadow: 0 10px 24px rgba(123,47,201,.28);
}
#pp-place-order.pp-btn--primary:disabled {
  opacity: .55;
  box-shadow: none;
}
.pp-cart-secure { font-size: 12px !important; margin-top: 10px !important; }
.pp-cart-empty {
  background: #fff;
  border: 1px dashed #d8dee8;
  border-radius: 18px;
  padding: 34px 20px !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .04);
}
@media (max-width: 600px) {
  #pp-cart-items, .pp-cart-form { padding: 14px !important; }
  .pp-cart-footer, .pp-cart-form { margin-left: 12px; margin-right: 12px; }
  #pp-cart-close { width: 38px !important; height: 38px !important; }
}

/* ── Restore product-detail buybox style + cart images — v1.3.0 ───────── */
.pp-cart-item {
  display: grid !important;
  grid-template-columns: 72px minmax(0, 1fr) 34px !important;
  align-items: start !important;
  gap: 12px !important;
}
.pp-cart-item-img {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid #eef2f7;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pp-cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 5px;
  display: block;
}
.pp-cart-item-img--empty { font-size: 26px; }
.pp-cart-item-info { min-width: 0; }
.pp-cart-item-name { line-height: 1.25 !important; }

/* Oude style herstellen: geen grid, geen brede geforceerde layout. */
.pp-detail-buybox {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 16px !important;
  flex-wrap: nowrap !important;
}
.pp-detail-actions {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
  justify-content: flex-end !important;
}
.pp-detail-actions .pp-qty-control {
  width: 122px !important;
  min-width: 122px !important;
  height: 44px !important;
  min-height: 44px !important;
  background: #fff !important;
  border-color: #fff !important;
}
.pp-detail-actions .pp-open-cart-now {
  min-width: 210px !important;
}
@media (max-width: 900px) {
  .pp-detail-buybox {
    align-items: stretch !important;
    flex-direction: column !important;
    flex-wrap: wrap !important;
  }
  .pp-detail-actions {
    justify-content: flex-start !important;
  }
}
@media (max-width: 520px) {
  .pp-detail-actions .pp-btn,
  .pp-detail-actions .pp-qty-control {
    width: 100% !important;
    min-width: 0 !important;
  }
  .pp-cart-item {
    grid-template-columns: 64px minmax(0, 1fr) 32px !important;
  }
  .pp-cart-item-img {
    width: 64px;
    height: 64px;
  }
}


/* ── Buybox cart-button width tweak — v1.3.1 ───────────────────────────── */
.pp-detail-actions {
  display: grid !important;
  grid-template-columns: 122px minmax(140px, 1fr) !important;
  grid-template-areas:
    "qty add"
    "view view" !important;
  align-items: center !important;
  gap: 10px !important;
  justify-content: end !important;
  width: 100% !important;
  max-width: 360px !important;
  margin-left: auto !important;
}
.pp-detail-actions .pp-detail-qty-control,
.pp-detail-actions .pp-qty-control {
  grid-area: qty !important;
  width: 122px !important;
  min-width: 122px !important;
  height: 44px !important;
  min-height: 44px !important;
}
.pp-detail-actions .pp-detail-add-to-cart {
  grid-area: add !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 44px !important;
  min-height: 44px !important;
}
.pp-detail-actions .pp-open-cart-now {
  grid-area: view !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 42px !important;
  min-height: 42px !important;
}
@media (max-width: 900px) {
  .pp-detail-actions {
    max-width: 360px !important;
    margin-left: 0 !important;
  }
}
@media (max-width: 520px) {
  .pp-detail-actions {
    display: flex !important;
    flex-wrap: wrap !important;
    max-width: none !important;
  }
  .pp-detail-actions .pp-btn,
  .pp-detail-actions .pp-detail-qty-control,
  .pp-detail-actions .pp-open-cart-now {
    width: 100% !important;
  }
}

/* ── Product detail title size — v1.3.2 ───────────────────────────────── */
.pp-product-detail-pro .pp-detail-info h1 {
  font-size: clamp(30px, 2.6vw, 40px) !important;
  line-height: 1.1 !important;
  letter-spacing: -1px !important;
}
@media (max-width: 900px) {
  .pp-product-detail-pro .pp-detail-info h1 {
    font-size: clamp(28px, 7vw, 36px) !important;
  }
}

/* ═══════════════════════════════════════════════════════════════
   ACCOUNT DASHBOARD — v2.1.0
═══════════════════════════════════════════════════════════════ */

/* ── Wrapper ─────────────────────────────────────────────────── */
.pp-account-wrap {
  max-width: 860px !important;
  margin: 0 auto !important;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

/* ── Header ──────────────────────────────────────────────────── */
.pp-account-header {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  background: #fff !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 16px !important;
  padding: 20px 24px !important;
  margin-bottom: 24px !important;
  box-shadow: 0 2px 12px rgba(0,0,0,.06) !important;
}
.pp-account-avatar-circle {
  width: 56px !important;
  height: 56px !important;
  background: linear-gradient(135deg, #7B2FC9, #9b55e0) !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  color: #fff !important;
  flex-shrink: 0 !important;
}
.pp-account-info { flex: 1 !important; min-width: 0 !important; }
.pp-account-name  { font-size: 18px !important; font-weight: 700 !important; color: #111 !important; }
.pp-account-email { font-size: 13px !important; color: #6b7280 !important; margin-top: 2px !important; }

/* ── Nav tabs ────────────────────────────────────────────────── */
.pp-acc-nav {
  display: flex !important;
  gap: 4px !important;
  background: #f3f4f6 !important;
  border-radius: 12px !important;
  padding: 4px !important;
  margin-bottom: 24px !important;
  flex-wrap: wrap !important;
}
.pp-acc-nav-btn {
  flex: 1 !important;
  min-width: 0 !important;
  padding: 10px 14px !important;
  border: none !important;
  border-radius: 9px !important;
  background: transparent !important;
  color: #6b7280 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all .15s !important;
  white-space: nowrap !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
}
.pp-acc-nav-btn:hover { background: #e5e7eb !important; color: #374151 !important; }
.pp-acc-nav-btn.active { background: #fff !important; color: #7B2FC9 !important; box-shadow: 0 1px 6px rgba(0,0,0,.1) !important; }
.pp-acc-badge {
  background: #7B2FC9 !important;
  color: #fff !important;
  border-radius: 999px !important;
  padding: 1px 7px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 18px !important;
}

/* ── Panels ──────────────────────────────────────────────────── */
.pp-acc-panel { display: none !important; }
.pp-acc-panel.active { display: block !important; }

/* ── Stats grid ──────────────────────────────────────────────── */
.pp-acc-stats-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 16px !important;
  margin-bottom: 24px !important;
}
@media (max-width: 700px) {
  .pp-acc-stats-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 400px) {
  .pp-acc-stats-grid { grid-template-columns: 1fr !important; }
}
.pp-acc-stat {
  background: #fff !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 14px !important;
  padding: 20px 16px !important;
  text-align: center !important;
  box-shadow: 0 2px 8px rgba(0,0,0,.04) !important;
  transition: transform .15s !important;
}
.pp-acc-stat:hover { transform: translateY(-2px) !important; }
.pp-acc-stat-icon { font-size: 24px !important; margin-bottom: 8px !important; }
.pp-acc-stat-num  { font-size: 22px !important; font-weight: 800 !important; color: #111 !important; }
.pp-acc-stat-lbl  { font-size: 12px !important; color: #6b7280 !important; margin-top: 4px !important; }

/* ── Section titles ──────────────────────────────────────────── */
.pp-acc-section-title {
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #111 !important;
  margin: 0 0 16px !important;
}
.pp-acc-subsection {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #374151 !important;
  margin: 20px 0 12px !important;
}

/* ── Last order row (dashboard) ──────────────────────────────── */
.pp-acc-section-block {
  background: #fff !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 14px !important;
  padding: 18px 20px !important;
}
.pp-last-order-row {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
}

/* ── Orders list ─────────────────────────────────────────────── */
.pp-orders-list { display: flex !important; flex-direction: column !important; gap: 10px !important; }
.pp-order-row {
  background: #fff !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  box-shadow: 0 1px 6px rgba(0,0,0,.04) !important;
}
.pp-order-row-main {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 14px 18px !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}
.pp-order-row-left  { display: flex !important; align-items: center !important; gap: 10px !important; }
.pp-order-row-right { display: flex !important; align-items: center !important; gap: 10px !important; flex-wrap: wrap !important; }
.pp-order-num   { font-weight: 700 !important; color: #374151 !important; font-size: 15px !important; }
.pp-order-total { font-weight: 700 !important; color: #111 !important; }
.pp-order-date  { font-size: 13px !important; color: #6b7280 !important; }

/* ── Order detail panel ──────────────────────────────────────── */
.pp-order-detail {
  border-top: 1px solid #f3f4f6 !important;
  background: #fafafa !important;
  padding: 16px 18px !important;
}
.pp-order-detail-loading { color: #9ca3af !important; font-size: 13px !important; font-style: italic !important; }
.pp-order-items-wrap { display: flex !important; flex-direction: column !important; gap: 10px !important; margin-bottom: 12px !important; }
.pp-order-item {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  background: #fff !important;
  border-radius: 10px !important;
  padding: 10px 14px !important;
  border: 1px solid #e5e7eb !important;
}
.pp-order-item-img { width: 48px !important; height: 48px !important; border-radius: 8px !important; overflow: hidden !important; flex-shrink: 0 !important; }
.pp-order-item-img img { width: 100% !important; height: 100% !important; object-fit: cover !important; }
.pp-order-item-img-fallback { width: 48px !important; height: 48px !important; border-radius: 8px !important; background: #f3f4f6 !important; display: flex !important; align-items: center !important; justify-content: center !important; font-size: 20px !important; }
.pp-order-item-name { font-weight: 600 !important; font-size: 14px !important; color: #111 !important; }
.pp-order-item-meta { font-size: 13px !important; color: #6b7280 !important; margin-top: 2px !important; }
.pp-order-detail-footer {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding-top: 10px !important;
  border-top: 1px solid #e5e7eb !important;
  font-size: 13px !important;
  color: #6b7280 !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}
.pp-order-detail-footer strong { color: #111 !important; font-size: 15px !important; }

/* ── Button variants ─────────────────────────────────────────── */
.pp-btn--ghost {
  background: transparent !important;
  border: 1px solid #d1d5db !important;
  color: #374151 !important;
}
.pp-btn--ghost:hover { background: #f9fafb !important; }
.pp-btn--xs { padding: 5px 10px !important; font-size: 12px !important; border-radius: 7px !important; }
.pp-btn--danger {
  background: #dc2626 !important;
  color: #fff !important;
  border: none !important;
}
.pp-btn--danger:hover { background: #b91c1c !important; }

/* ── Subscriptions ───────────────────────────────────────────── */
.pp-subs-list { display: flex !important; flex-direction: column !important; gap: 14px !important; }
.pp-sub-card {
  background: #fff !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  box-shadow: 0 1px 6px rgba(0,0,0,.04) !important;
}
.pp-sub-card-header {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  padding: 18px 20px !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
}
.pp-sub-card-name { font-weight: 700 !important; font-size: 16px !important; color: #111 !important; }
.pp-sub-card-meta { font-size: 13px !important; color: #6b7280 !important; margin-top: 4px !important; }
.pp-sub-card-actions {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
  padding: 0 20px 16px !important;
}

/* ── Points ──────────────────────────────────────────────────── */
.pp-pts-hero {
  display: flex !important;
  align-items: center !important;
  gap: 20px !important;
  background: linear-gradient(135deg, #7B2FC9, #9b55e0) !important;
  color: #fff !important;
  border-radius: 16px !important;
  padding: 24px 28px !important;
  margin-bottom: 24px !important;
  box-shadow: 0 4px 20px rgba(22,163,74,.25) !important;
}
.pp-pts-hero-icon { font-size: 40px !important; }
.pp-pts-hero-bal  { font-size: 28px !important; font-weight: 800 !important; }
.pp-pts-hero-sub  { font-size: 13px !important; opacity: .85 !important; margin-top: 4px !important; }
.pp-pts-tx-list   { display: flex !important; flex-direction: column !important; gap: 8px !important; }
.pp-pts-tx {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  background: #fff !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 10px !important;
  padding: 12px 16px !important;
  gap: 12px !important;
}
.pp-pts-tx-info { flex: 1 !important; min-width: 0 !important; }
.pp-pts-tx-desc { font-weight: 600 !important; font-size: 14px !important; color: #111 !important; }
.pp-pts-tx-date { font-size: 12px !important; color: #9ca3af !important; margin-top: 2px !important; }
.pp-pts-tx-amount { font-weight: 700 !important; font-size: 15px !important; white-space: nowrap !important; }
.pp-pts-tx--plus .pp-pts-tx-amount  { color: #7B2FC9 !important; }
.pp-pts-tx--minus .pp-pts-tx-amount { color: #dc2626 !important; }

/* ── Profile form ────────────────────────────────────────────── */
.pp-profile-form { max-width: 580px !important; }
.pp-field-disabled {
  background: #f9fafb !important;
  color: #9ca3af !important;
  cursor: not-allowed !important;
}
.pp-field-hint { font-size: 12px !important; color: #9ca3af !important; margin-top: 4px !important; display: block !important; }
.pp-profile-separator {
  position: relative !important;
  text-align: center !important;
  margin: 28px 0 20px !important;
}
.pp-profile-separator::before {
  content: '' !important;
  position: absolute !important;
  left: 0 !important; right: 0 !important; top: 50% !important;
  height: 1px !important;
  background: #e5e7eb !important;
}
.pp-profile-separator span {
  position: relative !important;
  background: #fff !important;
  padding: 0 12px !important;
  font-size: 13px !important;
  color: #9ca3af !important;
  font-weight: 600 !important;
}

/* ── Status badges ───────────────────────────────────────────── */
.pp-status { display: inline-flex !important; align-items: center !important; padding: 3px 10px !important; border-radius: 999px !important; font-size: 12px !important; font-weight: 600 !important; white-space: nowrap !important; }
.pp-status--completed  { background: #dcfce7 !important; color: #15803d !important; }
.pp-status--processing { background: #dbeafe !important; color: #1d4ed8 !important; }
.pp-status--pending    { background: #fef3c7 !important; color: #92400e !important; }
.pp-status--cancelled  { background: #fee2e2 !important; color: #b91c1c !important; }
.pp-status--failed     { background: #fee2e2 !important; color: #b91c1c !important; }
.pp-status--default    { background: #f3f4f6 !important; color: #374151 !important; }

@media (max-width: 600px) {
  .pp-account-header { flex-wrap: wrap !important; }
  .pp-acc-nav { gap: 2px !important; }
  .pp-acc-nav-btn { font-size: 12px !important; padding: 8px 8px !important; }
  .pp-pts-hero { flex-direction: column !important; text-align: center !important; }
  .pp-order-row-main { flex-direction: column !important; align-items: flex-start !important; }
}


/* ── Dark subscription page — v3.5.1 ─────────────────────────────────── */
.pp-sub-page {
  max-width: 1220px;
  margin: 0 auto;
  padding: 32px;
  border-radius: 28px;
  color: #f8fafc;
  background:
    radial-gradient(circle at 84% 8%, rgba(123,47,201,.38), transparent 30%),
    radial-gradient(circle at 16% 85%, rgba(168,85,247,.18), transparent 30%),
    linear-gradient(145deg, #090d18 0%, #111827 55%, #17112c 100%);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  box-shadow: 0 22px 56px rgba(17,24,39,.2);
}
.pp-sub-hero { max-width: 720px; margin: 4px auto 34px; text-align: center; }
.pp-sub-eyebrow { color: #c4b5fd; font-size: 11px; letter-spacing: 1.5px; font-weight: 800; }
.pp-sub-hero h2 { margin: 10px 0 12px; color: #fff; font-size: clamp(34px,5vw,56px); line-height: 1.02; letter-spacing: -2px; }
.pp-sub-hero h2 em { color: #b778ff; font-style: normal; }
.pp-sub-hero p { margin: 0 auto; color: #cbd5e1; max-width: 590px; font-size: 16px; line-height: 1.65; }
.pp-sub-hero-points { display:flex; justify-content:center; flex-wrap:wrap; gap:10px 22px; margin-top:18px; color:#d8b4fe; font-size:13px; font-weight:700; }
.pp-sub-plans-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
.pp-sub-plan-card { position:relative; display:flex; flex-direction:column; min-height:430px; padding:24px; border:1px solid rgba(255,255,255,.12); border-radius:20px; background:rgba(255,255,255,.055); box-shadow:inset 0 1px 0 rgba(255,255,255,.08); }
.pp-sub-plan-card--featured { border-color:#9b55e0; background:linear-gradient(180deg, rgba(123,47,201,.27), rgba(255,255,255,.06)); transform:translateY(-7px); box-shadow:0 18px 35px rgba(0,0,0,.25); }
.pp-sub-popular { position:absolute; top:-12px; left:50%; transform:translateX(-50%); white-space:nowrap; border-radius:999px; background:#a855f7; color:#fff; padding:5px 12px; font-size:11px; font-weight:800; }
.pp-sub-plan-kicker { display:block; color:#c4b5fd; font-size:11px; font-weight:800; letter-spacing:.8px; text-transform:uppercase; }
.pp-sub-plan-top h3 { color:#fff; font-size:22px; margin:10px 0 9px; line-height:1.15; }
.pp-sub-plan-top p { min-height:58px; margin:0; color:#cbd5e1; font-size:13px; line-height:1.5; }
.pp-sub-plan-meals { display:flex; align-items:baseline; gap:8px; margin:24px 0 8px; }
.pp-sub-plan-meals strong { color:#fff; font-size:40px; line-height:1; }
.pp-sub-plan-meals span { color:#cbd5e1; font-size:13px; }
.pp-sub-plan-price { display:flex; align-items:baseline; gap:6px; padding-bottom:18px; border-bottom:1px solid rgba(255,255,255,.12); }
.pp-sub-plan-price strong { color:#d8b4fe; font-size:28px; }
.pp-sub-plan-price span { color:#94a3b8; font-size:12px; }
.pp-sub-plan-list { margin:18px 0 24px; padding:0; list-style:none; color:#dbe5f3; font-size:13px; line-height:1.9; }
.pp-sub-plan-list li::before { content:'✓'; color:#c084fc; font-weight:900; margin-right:8px; }
.pp-sub-plan-card .pp-btn { margin-top:auto; width:100%; }
.pp-sub-page .pp-btn--primary { background:#8b2be2; border-color:#8b2be2; }
.pp-sub-page .pp-btn--primary:hover { background:#a855f7; border-color:#a855f7; }
.pp-sub-signup { max-width:760px; margin:28px auto 0; padding:24px; border:1px solid rgba(255,255,255,.14); border-radius:20px; background:rgba(3,7,18,.64); box-shadow:0 18px 40px rgba(0,0,0,.28); }
.pp-sub-signup-head { position:relative; padding-bottom:18px; border-bottom:1px solid rgba(255,255,255,.12); }
.pp-sub-signup-head span { display:block; color:#c4b5fd; font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:.8px; }
.pp-sub-signup-head h3 { margin:5px 44px 0 0; color:#fff; font-size:25px; }
.pp-sub-signup-head button { position:absolute; top:0; right:0; width:36px; height:36px; border:1px solid rgba(255,255,255,.15); border-radius:50%; background:transparent; color:#fff; cursor:pointer; }
.pp-sub-signup-fields { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-top:20px; }
.pp-sub-signup-fields label { color:#dbe5f3; font-size:12px; font-weight:700; }
.pp-sub-signup-fields input, .pp-sub-signup-fields textarea { width:100%; margin-top:6px; border:1px solid rgba(255,255,255,.18); border-radius:10px; background:rgba(255,255,255,.07); color:#fff; padding:12px; font:inherit; outline:none; }
.pp-sub-signup-fields input:focus, .pp-sub-signup-fields textarea:focus { border-color:#a855f7; box-shadow:0 0 0 3px rgba(168,85,247,.18); }
.pp-sub-signup-notes { grid-column:1/-1; }
.pp-sub-signup-bottom { display:flex; align-items:center; justify-content:space-between; gap:14px; margin-top:18px; color:#94a3b8; font-size:12px; }
.pp-sub-signup-bottom .pp-btn { flex-shrink:0; }
.pp-sub-page .pp-msg { margin-top:16px; }
.pp-sub-empty { padding:30px; border-radius:16px; background:#111827; color:#fff; text-align:center; }
@media(max-width:1000px){ .pp-sub-plans-grid{grid-template-columns:repeat(2,1fr)} }
@media(max-width:640px){ .pp-sub-page{padding:22px 16px;border-radius:20px}.pp-sub-hero h2{font-size:38px}.pp-sub-plans-grid{grid-template-columns:1fr}.pp-sub-plan-card--featured{transform:none}.pp-sub-signup-fields{grid-template-columns:1fr}.pp-sub-signup-bottom{align-items:stretch;flex-direction:column}.pp-sub-signup-bottom .pp-btn{width:100%} }


/* ── Subscription UI polish — v3.5.3 ─────────────────────────────────── */
.pp-sub-signup-head button {
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  line-height:1 !important;
  padding:0 !important;
  font-size:18px !important;
}
.pp-sub-signup-head button span,
.pp-sub-signup-head button i {
  line-height:1 !important;
}
.pp-sub-plan-list-break {
  display:inline-block;
}

/* ── Subscription completion + fresh account data — v3.5.4 ─────────────── */
.pp-sub-success {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 8px;
}
.pp-sub-success-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(168,85,247,.2);
  border: 1px solid rgba(192,132,252,.5);
  color: #fff;
  font-size: 24px;
  font-weight: 900;
}
.pp-sub-success-copy span {
  display: block;
  color: #c4b5fd;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .8px;
  text-transform: uppercase;
}
.pp-sub-success-copy h3 {
  margin: 3px 0 5px;
  color: #fff;
  font-size: 23px;
}
.pp-sub-success-copy p {
  margin: 0;
  color: #dbe5f3;
  font-size: 13px;
  line-height: 1.55;
}
.pp-sub-success-account {
  white-space: nowrap;
}
@media (max-width: 640px) {
  .pp-sub-success {
    grid-template-columns: 44px minmax(0, 1fr);
  }
  .pp-sub-success-account {
    grid-column: 1 / -1;
    width: 100%;
  }
}


/* ── Productinformatie tabs — Beschrijving / Bereidingswijze — v3.6.5 ─── */
.pp-detail-content-switcher {
  margin: 0 0 16px !important;
}
.pp-detail-content-tabs {
  display: flex !important;
  align-items: stretch !important;
  gap: 10px !important;
  margin: 0 0 10px !important;
}
.pp-detail-content-tab {
  appearance: none !important;
  -webkit-appearance: none !important;
  flex: 1 1 0 !important;
  min-width: 0 !important;
  min-height: 48px !important;
  padding: 12px 18px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid #e8e0f1 !important;
  border-radius: 14px !important;
  background: #fff !important;
  color: #374151 !important;
  font: inherit !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  cursor: pointer !important;
  transition: background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease !important;
}
.pp-detail-content-tab:hover {
  border-color: rgba(123,47,201,.48) !important;
  color: var(--pp-purple) !important;
  background: #fbf9ff !important;
}
.pp-detail-content-tab.active {
  color: var(--pp-purple) !important;
  border-color: var(--pp-purple) !important;
  background: #f7f1ff !important;
  box-shadow: 0 6px 16px rgba(123,47,201,.12) !important;
}
.pp-detail-tab-panel {
  margin: 0 !important;
}
.pp-detail-tab-panel[hidden] {
  display: none !important;
}
@media (max-width: 520px) {
  .pp-detail-content-tabs {
    gap: 8px !important;
  }
  .pp-detail-content-tab {
    min-height: 46px !important;
    padding: 10px 8px !important;
    font-size: 13px !important;
  }
}

/* ── Compact start date field on mobile — v3.6.8 ───────────────────────── */
@media (max-width: 640px) {
  .pp-sub-signup-fields .pp-sub-signup-date {
    width: 224px !important;
    max-width: 100% !important;
    justify-self: start !important;
  }

  .pp-sub-signup-fields .pp-sub-signup-date input[type="date"] {
    width: 100% !important;
  }
}

/* ── Full-width mobile start date + visible placeholder — v3.7.0 ───────── */
@media (max-width: 640px) {
  .pp-sub-signup-fields .pp-sub-signup-date {
    width: 100% !important;
    max-width: none !important;
    justify-self: stretch !important;
  }

  .pp-sub-signup-fields .pp-sub-signup-date .pp-sub-date-wrap {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    margin-top: 6px !important;
  }

  .pp-sub-signup-fields .pp-sub-signup-date input[type="date"] {
    width: 100% !important;
    margin-top: 0 !important;
  }

  .pp-sub-date-placeholder {
    position: absolute !important;
    top: 50% !important;
    left: 12px !important;
    transform: translateY(-50%) !important;
    color: #aeb6c9 !important;
    font-size: inherit !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    pointer-events: none !important;
    transition: opacity .15s ease !important;
  }

  .pp-sub-date-wrap:focus-within .pp-sub-date-placeholder,
  .pp-sub-date-wrap.has-value .pp-sub-date-placeholder {
    opacity: 0 !important;
  }
}

/* ── Start date exactly full width on mobile — v3.7.1 ───────────────────── */
@media (max-width: 640px) {
  .pp-sub-signup-fields .pp-sub-signup-date {
    display: block !important;
    grid-column: 1 / -1 !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    justify-self: stretch !important;
    align-self: stretch !important;
    box-sizing: border-box !important;
  }

  .pp-sub-signup-fields .pp-sub-signup-date .pp-sub-date-wrap,
  .pp-sub-signup-fields .pp-sub-signup-date input[type="date"] {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* ── Mobile date field: same width + truly centered value — v3.7.3 ─────── */
@media (max-width: 640px) {
  .pp-sub-signup-fields > label,
  .pp-sub-signup-fields > label.pp-sub-signup-date {
    display: block !important;
    grid-column: 1 / -1 !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    box-sizing: border-box !important;
  }

  .pp-sub-signup-fields > label > input,
  .pp-sub-signup-fields > label > textarea,
  .pp-sub-signup-fields > label.pp-sub-signup-date .pp-sub-date-wrap {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    box-sizing: border-box !important;
  }

  .pp-sub-signup-fields > label.pp-sub-signup-date .pp-sub-date-wrap {
    position: relative !important;
    display: block !important;
    height: 52px !important;
    margin-top: 6px !important;
  }

  /* The real input stays active for the native iPhone calendar picker. */
  .pp-sub-signup-fields > label.pp-sub-signup-date input[type="date"] {
    position: absolute !important;
    inset: 0 !important;
    z-index: 4 !important;
    display: block !important;
    width: 100% !important;
    height: 52px !important;
    min-height: 52px !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 0.01 !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    cursor: pointer !important;
  }

  .pp-sub-signup-fields > label.pp-sub-signup-date .pp-sub-date-display {
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 52px !important;
    padding: 0 60px 0 18px !important;
    border: 1px solid rgba(255,255,255,.18) !important;
    border-radius: 10px !important;
    background: rgba(255,255,255,.07) !important;
    color: #fff !important;
    font: inherit !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    text-align: center !important;
    box-sizing: border-box !important;
    pointer-events: none !important;
  }

  .pp-sub-signup-fields > label.pp-sub-signup-date .pp-sub-date-icon {
    position: absolute !important;
    top: 50% !important;
    right: 18px !important;
    z-index: 2 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 24px !important;
    height: 24px !important;
    transform: translateY(-50%) !important;
    color: #cbd5e1 !important;
    pointer-events: none !important;
  }

  .pp-sub-signup-fields > label.pp-sub-signup-date .pp-sub-date-icon svg {
    display: block !important;
  }
}


/* ── Desktop date field recovery — v3.7.4 ─────────────────────────────────
   Desktop uses the browser's native date input, just like the other form
   fields. The centered visual layer remains enabled only on mobile. */
@media (min-width: 641px) {
  .pp-sub-signup-fields .pp-sub-signup-date {
    display: block !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
  }

  .pp-sub-signup-fields .pp-sub-signup-date .pp-sub-date-wrap {
    display: block !important;
    position: static !important;
    width: 100% !important;
    height: auto !important;
    margin-top: 6px !important;
  }

  .pp-sub-signup-fields .pp-sub-signup-date input[type="date"] {
    position: static !important;
    inset: auto !important;
    z-index: auto !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 12px !important;
    opacity: 1 !important;
    -webkit-appearance: auto !important;
    appearance: auto !important;
    cursor: text !important;
  }

  .pp-sub-signup-fields .pp-sub-signup-date .pp-sub-date-display,
  .pp-sub-signup-fields .pp-sub-signup-date .pp-sub-date-icon {
    display: none !important;
  }
}

/* ── Mijn Account mobile layout polish — v3.7.8 ───────────────────────── */
@media (max-width: 600px) {
  .pp-account-header {
    display: grid !important;
    grid-template-columns: 72px minmax(0, 1fr) !important;
    gap: 14px !important;
    align-items: center !important;
    padding: 18px !important;
  }

  .pp-account-avatar-circle {
    width: 72px !important;
    height: 72px !important;
    font-size: 30px !important;
  }

  .pp-account-info {
    min-width: 0 !important;
  }

  .pp-account-name {
    font-size: 17px !important;
    line-height: 1.2 !important;
  }

  .pp-account-email {
    font-size: 14px !important;
    line-height: 1.35 !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
  }

  .pp-account-header > .pp-btn,
  .pp-account-header > a.pp-btn {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    margin-top: 2px !important;
  }

  .pp-acc-nav {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    padding: 0 !important;
    background: transparent !important;
  }

  .pp-acc-nav-btn {
    min-width: 0 !important;
    min-height: 46px !important;
    padding: 10px 12px !important;
    border-radius: 12px !important;
    background: #f3f4f6 !important;
    white-space: normal !important;
    line-height: 1.2 !important;
    text-align: center !important;
  }

  .pp-acc-nav-btn.active {
    background: #fff !important;
  }

  .pp-acc-badge {
    display: inline-flex !important;
    vertical-align: middle !important;
    margin-left: 4px !important;
  }
}

/* ── Product information tabs: mobile layout — v3.8.0 ────────────────────
   Three tab labels do not fit comfortably next to each other on a phone.
   The first two stay side-by-side; Ingredients gets its own full-width row. */
@media (max-width: 520px) {
  .pp-detail-content-tabs {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
  }

  .pp-detail-content-tab {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 48px !important;
    padding: 10px 8px !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    text-align: center !important;
    white-space: normal !important;
  }

  .pp-detail-content-tab:nth-child(3):last-child {
    grid-column: 1 / -1 !important;
  }

  .pp-detail-tab-panel {
    padding: 18px !important;
  }

  .pp-detail-tab-panel .pp-detail-desc,
  .pp-detail-tab-panel .pp-detail-desc p {
    font-size: 16px !important;
    line-height: 1.7 !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
  }
}

/* ── Product stock protection UI — v3.8.3 ─────────────────────────────── */
.pp-product-card--out-of-stock {
  opacity: .78;
}

.pp-product-card--out-of-stock .pp-product-img-wrap img {
  filter: grayscale(.18);
}

.pp-card-stock-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff1f2;
  color: #be123c;
  border: 1px solid #fecdd3;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
}

.pp-card-footer--out-of-stock {
  margin-top: 10px;
}

.pp-btn--disabled,
.pp-card-out-of-stock {
  width: 100%;
  color: #64748b !important;
  background: #e2e8f0 !important;
  border-color: #e2e8f0 !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
}

.pp-detail-buybox--out-of-stock {
  background: #1f2937 !important;
}

.pp-detail-buybox--out-of-stock .pp-detail-buybox-text small {
  color: rgba(255,255,255,.72) !important;
}

/* ── Out-of-stock badge placement polish — v3.8.4 ─────────────────────── */
.pp-badge + .pp-card-stock-badge {
  top: 44px;
  left: 10px;
  right: auto;
}

/* ── Centered out-of-stock badge on product cards — v3.8.5 ─────────────── */
.pp-product-img-wrap .pp-card-stock-badge {
  top: 50% !important;
  left: 50% !important;
  right: auto !important;
  transform: translate(-50%, -50%) !important;
  min-width: 110px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.96);
  color: #be123c;
  border: 1px solid #fecdd3;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.12);
}

.pp-product-card--out-of-stock .pp-product-img-wrap {
  position: relative;
}

.pp-product-card--out-of-stock .pp-card-stock-badge {
  z-index: 4;
}

/* ── Loyalty account notices — v3.8.7 ─────────────────────────────────── */
.pp-cart-pts-note a {
  color: inherit;
  font-weight: 800;
  text-decoration: underline;
}

.pp-co-loyalty-banner {
  align-items: center;
}

.pp-co-loyalty-banner > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
  max-width: 680px;
}

.pp-co-loyalty-banner strong {
  color: #4b2e7a;
  font-size: 14px;
}

.pp-co-loyalty-banner span {
  line-height: 1.5;
}

.pp-co-points-member-note {
  margin: -2px 0 18px;
  padding: 11px 13px;
  border: 1px solid #bbf7d0;
  border-radius: 10px;
  background: #f0fdf4;
  color: #166534;
  font-size: 13px;
  line-height: 1.45;
}

@media (max-width: 640px) {
  .pp-co-loyalty-banner {
    align-items: stretch;
  }

  .pp-co-loyalty-banner .pp-co-login-btn {
    width: 100%;
    text-align: center;
  }
}

/* ── Meal loyalty points display — v3.8.9 ──────────────────────────────── */
.pp-product-points {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: fit-content;
  margin: -1px 0 9px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #f6efff;
  color: #6d28d9;
  font-size: 11px;
  line-height: 1.25;
}

.pp-product-points strong {
  font-weight: 800;
}

.pp-product-points span {
  color: #7c6b91;
  font-size: 10px;
  font-weight: 600;
}

.pp-detail-price-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.pp-detail-price-side > strong {
  color: var(--pp-purple) !important;
  font-size: clamp(30px, 3vw, 42px) !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

.pp-detail-points {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #f6efff;
  color: #6d28d9;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.pp-detail-points small {
  color: #7c6b91;
  font-size: 10px;
  font-weight: 700;
}

@media (max-width: 760px) {
  .pp-detail-price-side {
    align-items: flex-start;
  }
}


/* ── Partnerkaart: pulserende partnerlocaties — v3.9.0 ─────────────────── */
.pp-partner-map-stage {
  position: relative !important;
  display: inline-block !important;
  max-width: 100% !important;
  line-height: 0 !important;
}

.pp-partner-map-stage > img {
  display: block !important;
  max-width: 100% !important;
  height: auto !important;
}

.pp-partner-map-markers {
  position: absolute;
  inset: 0;
  z-index: 8;
  pointer-events: none;
}

.pp-partner-map-marker {
  position: absolute;
  width: 28px;
  height: 28px;
  margin: -14px 0 0 -14px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  pointer-events: auto;
  z-index: 1;
}

.pp-partner-map-marker::before,
.pp-partner-map-marker::after {
  content: '';
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  pointer-events: none;
}

.pp-partner-map-marker::before {
  background: #a855f7;
  border: 3px solid #ffffff;
  box-shadow: 0 0 0 3px rgba(168, 85, 247, .34), 0 4px 12px rgba(88, 28, 135, .5);
  z-index: 2;
}

.pp-partner-map-marker::after {
  inset: 0;
  border: 2px solid rgba(192, 132, 252, .9);
  animation: ppPartnerMapPulse 2.4s ease-out infinite;
  z-index: 1;
}

.pp-partner-map-marker:nth-child(2)::after { animation-delay: .55s; }
.pp-partner-map-marker:nth-child(3)::after { animation-delay: 1.1s; }
.pp-partner-map-marker:nth-child(4)::after { animation-delay: 1.65s; }

.pp-partner-map-marker-core { display: none; }

.pp-partner-map-tooltip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translateX(-50%) translateY(5px);
  width: max-content;
  max-width: 180px;
  padding: 8px 10px;
  border: 1px solid rgba(216, 180, 254, .55);
  border-radius: 8px;
  background: #17112c;
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .24);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
  white-space: normal;
}

.pp-partner-map-marker:hover .pp-partner-map-tooltip,
.pp-partner-map-marker:focus-visible .pp-partner-map-tooltip,
.pp-partner-map-marker.is-active .pp-partner-map-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@keyframes ppPartnerMapPulse {
  0% { transform: scale(.55); opacity: .95; }
  72%, 100% { transform: scale(1.85); opacity: 0; }
}

@media (max-width: 767px) {
  .pp-partner-map-marker {
    width: 24px;
    height: 24px;
    margin: -12px 0 0 -12px;
  }

  .pp-partner-map-marker::before {
    inset: 4px;
    border-width: 2px;
  }

  .pp-partner-map-tooltip {
    max-width: 150px;
    padding: 7px 8px;
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pp-partner-map-marker::after { animation: none; opacity: .55; }
}

/* ── Partner map desktop alignment — v3.9.4 ─────────────────────────────
   This wrapper is generated around the actual <img>, so it never uses the
   wider Elementor desktop column as the marker coordinate system. */
.pp-partner-map-stage {
  position: relative !important;
  display: inline-block !important;
  width: auto !important;
  max-width: 100% !important;
  vertical-align: top !important;
  line-height: 0 !important;
}

.pp-partner-map-stage > img {
  display: block !important;
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
}


/* ── BMI calculator — v3.9.9 ────────────────────────────────────────────── */
.pp-bmi-page,
.pp-bmi-page * {
  box-sizing: border-box;
}

.pp-bmi-page {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: clamp(28px, 4vw, 58px);
  background: #090909;
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.pp-bmi-shell {
  width: 100%;
  max-width: 1260px;
  min-width: 0;
  margin: 0 auto;
}

.pp-bmi-header {
  max-width: 610px;
  margin: 0 0 clamp(26px, 3.5vw, 42px);
}

.pp-bmi-kicker {
  display: inline-block;
  margin: 0 0 13px;
  color: #8c39e5;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .17em;
  line-height: 1;
}

.pp-bmi-header h2 {
  margin: 0 0 15px;
  color: #fff;
  font-size: clamp(38px, 4.6vw, 64px);
  font-weight: 900;
  letter-spacing: -.055em;
  line-height: .94;
}

.pp-bmi-header p {
  max-width: 560px;
  margin: 0;
  color: #a8a1ae;
  font-size: clamp(14px, 1.45vw, 18px);
  font-weight: 500;
  line-height: 1.5;
}

.pp-bmi-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 28px);
  align-items: start;
}

.pp-bmi-left,
.pp-bmi-right {
  display: grid;
  min-width: 0;
  gap: clamp(14px, 1.5vw, 18px);
}

.pp-bmi-gender,
.pp-bmi-control-card,
.pp-bmi-category-card,
.pp-bmi-result-card,
.pp-bmi-cta-card {
  width: 100%;
  min-width: 0;
  border: 1px solid #303039;
  border-radius: 10px;
  background: linear-gradient(135deg, #242426 0%, #1d1d1f 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025);
}

.pp-bmi-gender {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding: 5px;
}

.pp-bmi-gender-btn {
  min-width: 0;
  min-height: clamp(46px, 4vw, 56px);
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #8890a0;
  font: inherit;
  font-size: clamp(15px, 1.45vw, 19px);
  font-weight: 900;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}

.pp-bmi-gender-btn.is-active {
  background: linear-gradient(90deg, #7f32cb, #9b42e8);
  color: #fff;
  box-shadow: 0 8px 20px rgba(137, 52, 220, .34);
}

.pp-bmi-control-card {
  padding: clamp(16px, 1.6vw, 21px) clamp(15px, 1.6vw, 20px) 14px;
}

.pp-bmi-control-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: clamp(14px, 1.7vw, 20px);
}

.pp-bmi-control-top > span {
  color: #c0ad79;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .075em;
}

.pp-bmi-control-top strong {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  color: #fff;
  font-weight: 900;
  white-space: nowrap;
}

.pp-bmi-control-top em {
  font-style: normal;
  font-size: clamp(27px, 3vw, 40px);
  letter-spacing: -.05em;
  line-height: .82;
}

.pp-bmi-control-top small {
  color: #aaa5b0;
  font-size: 12px;
  font-weight: 800;
}

.pp-bmi-range {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  height: 7px;
  margin: 0;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #8735d8 0%, #8735d8 44%, #f4f4f4 44%, #f4f4f4 100%);
  outline: none;
  cursor: pointer;
}

.pp-bmi-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 15px;
  height: 15px;
  border: 0;
  border-radius: 50%;
  background: #8735d8;
  box-shadow: 0 0 0 5px rgba(135, 53, 216, .13);
}

.pp-bmi-range::-moz-range-thumb {
  width: 15px;
  height: 15px;
  border: 0;
  border-radius: 50%;
  background: #8735d8;
  box-shadow: 0 0 0 5px rgba(135, 53, 216, .13);
}

.pp-bmi-range::-moz-range-track {
  height: 7px;
  border: 0;
  border-radius: 999px;
  background: transparent;
}

.pp-bmi-control-scale {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  color: #707783;
  font-size: 11px;
  font-weight: 500;
}

.pp-bmi-category-card {
  overflow: hidden;
}

.pp-bmi-category-head {
  padding: 16px 18px 13px;
  border-bottom: 1px solid #33333b;
  color: #b3a888;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .075em;
}

.pp-bmi-category-row {
  display: grid;
  grid-template-columns: minmax(82px, .9fr) minmax(0, 1.15fr);
  gap: 12px;
  align-items: center;
  min-height: 48px;
  padding: 12px 18px;
  border-bottom: 1px solid #313139;
  transition: background .2s ease, box-shadow .2s ease;
}

.pp-bmi-category-row:last-child { border-bottom: 0; }
.pp-bmi-category-row span { color: #9299a6; font-size: 12px; }
.pp-bmi-category-row strong { font-size: 14px; font-weight: 900; }
.pp-bmi-category-row .is-under { color: #539cff; }
.pp-bmi-category-row .is-normal { color: #00f196; }
.pp-bmi-category-row .is-over { color: #ffd436; }
.pp-bmi-category-row .is-obese { color: #ff6279; }
.pp-bmi-category-row.is-current { background: rgba(139, 54, 227, .16); box-shadow: inset 4px 0 0 #a443e9; }

.pp-bmi-result-card {
  overflow: hidden;
  background: #050505;
}

.pp-bmi-gauge-wrap {
  position: relative;
  display: grid;
  justify-items: center;
  min-height: clamp(250px, 24vw, 325px);
  padding: clamp(20px, 2vw, 29px) 20px 0;
}

.pp-bmi-gauge {
  display: block;
  width: min(100%, 380px);
  height: auto;
  overflow: visible;
}

.pp-bmi-gauge-track {
  fill: none;
  stroke: #171717;
  stroke-width: 14;
  stroke-linecap: round;
}

.pp-bmi-gauge-arc {
  fill: none;
  stroke-width: 14;
  stroke-linecap: round;
}

.pp-bmi-needle-group {
  transform-origin: 140px 126px;
  transition: transform .34s cubic-bezier(.2,.75,.2,1);
}

.pp-bmi-needle {
  stroke: #fff;
  stroke-width: 3;
  stroke-linecap: round;
}

.pp-bmi-needle-cap { fill: #fff; }

.pp-bmi-main-score {
  position: absolute;
  top: 68%;
  left: 50%;
  width: 100%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.pp-bmi-score {
  color: #fff;
  font-size: clamp(45px, 4.3vw, 62px);
  font-weight: 900;
  letter-spacing: -.065em;
  line-height: .9;
}

.pp-bmi-category {
  margin-top: 6px;
  font-size: clamp(14px, 1.4vw, 17px);
  font-weight: 900;
  line-height: 1.1;
}

.pp-bmi-progress {
  height: 7px;
  margin: 0 clamp(18px, 2vw, 25px) 16px;
  border-radius: 999px;
  background: #252525;
  overflow: hidden;
}

.pp-bmi-progress-fill {
  display: block;
  width: 48%;
  height: 100%;
  border-radius: inherit;
  background: #00f196;
  transition: width .3s ease, background .2s ease;
}

.pp-bmi-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid #202020;
}

.pp-bmi-metric {
  min-width: 0;
  min-height: 86px;
  padding: 15px 18px;
  border-right: 1px solid #202020;
  border-bottom: 1px solid #202020;
}

.pp-bmi-metric:nth-child(2n) { border-right: 0; }
.pp-bmi-metric:nth-last-child(-n + 2) { border-bottom: 0; }
.pp-bmi-metric span {
  display: block;
  min-height: 25px;
  margin-bottom: 7px;
  color: #878787;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .02em;
  line-height: 1.25;
}

.pp-bmi-metric strong {
  color: #fff;
  font-size: clamp(15px, 1.6vw, 19px);
  font-weight: 900;
  white-space: nowrap;
}

.pp-bmi-metric em { font-style: normal; }
.pp-bmi-metric small { color: #999; font-size: 12px; font-weight: 700; }
.pp-bmi-metric sup { color: #999; font-size: 9px; }

.pp-bmi-cta-card {
  padding: clamp(18px, 2vw, 24px);
  background: linear-gradient(135deg, #2c124a, #211034);
  border-color: #4a2472;
}

.pp-bmi-cta-card h3 {
  margin: 0 0 7px;
  color: #fff;
  font-size: clamp(17px, 1.55vw, 21px);
  font-weight: 900;
  line-height: 1.1;
}

.pp-bmi-cta-card p {
  margin: 0 0 18px;
  color: #c0b4cf;
  font-size: clamp(12px, 1.2vw, 15px);
  line-height: 1.45;
}

.pp-bmi-cta-btn {
  display: grid;
  width: 100%;
  min-height: 56px;
  place-items: center;
  padding: 14px 18px;
  border-radius: 7px;
  background: linear-gradient(90deg, #7c32cb, #9b42e8);
  color: #fff;
  font-size: clamp(15px, 1.45vw, 19px);
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  transition: filter .2s ease, transform .2s ease;
}

.pp-bmi-cta-btn:hover { color: #fff; filter: brightness(1.06); transform: translateY(-1px); }

.pp-bmi-disclaimer {
  max-width: 1100px;
  margin: clamp(18px, 2vw, 26px) auto 0;
  color: #99919f;
  font-size: 12px;
  line-height: 1.55;
}

.pp-bmi-gender-btn:focus-visible,
.pp-bmi-range:focus-visible,
.pp-bmi-cta-btn:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

@media (max-width: 960px) {
  .pp-bmi-grid { grid-template-columns: 1fr; }
  .pp-bmi-gauge-wrap { min-height: 295px; }
}

@media (max-width: 600px) {
  .pp-bmi-page { padding: 24px 14px; }
  .pp-bmi-header { margin-bottom: 25px; }
  .pp-bmi-header h2 { font-size: 39px; }
  .pp-bmi-header p { font-size: 14px; }
  .pp-bmi-gauge-wrap { min-height: 265px; padding-left: 10px; padding-right: 10px; }
  .pp-bmi-main-score { top: 69%; }
  .pp-bmi-category-row { grid-template-columns: minmax(84px, .92fr) minmax(0, 1.08fr); padding: 11px 14px; }
  .pp-bmi-category-head { padding-left: 14px; padding-right: 14px; }
  .pp-bmi-metric { min-height: 80px; padding: 13px 14px; }
  .pp-bmi-metric span { font-size: 9px; }
  .pp-bmi-disclaimer { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  .pp-bmi-page *,
  .pp-bmi-page *::before,
  .pp-bmi-page *::after { transition-duration: .01ms !important; }
}


/* ── Account password reset — v4.0.0 ─────────────────────────────────────── */
.pp-auth-intro {
  margin: -6px 0 20px;
  color: var(--pp-gray);
  font-size: 14px;
  line-height: 1.55;
}

.pp-auth-forgot-link,
.pp-auth-back-link {
  display: inline-block;
  margin-top: 14px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--pp-purple);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
}

.pp-auth-forgot-link:hover,
.pp-auth-back-link:hover {
  color: #5f18ab;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pp-auth-card--reset {
  max-width: 520px;
}

@media (max-width: 600px) {
  .pp-auth-card {
    padding: 26px 20px;
    border-radius: 18px;
  }

  .pp-auth-forgot-link,
  .pp-auth-back-link {
    min-height: 32px;
  }
}


/* ── Password reset link layout correction — v4.0.1 ─────────────────────── */
.pp-auth-card a.pp-auth-forgot-link {
  display: inline-flex !important;
  width: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  align-items: center !important;
  justify-content: flex-start !important;
  margin: 16px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--pp-purple) !important;
  font-family: inherit !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  text-align: left !important;
  text-decoration: none !important;
  transform: none !important;
}

.pp-auth-card a.pp-auth-forgot-link:hover,
.pp-auth-card a.pp-auth-forgot-link:focus {
  background: transparent !important;
  color: #5f18ab !important;
  box-shadow: none !important;
  text-decoration: underline !important;
  text-decoration-thickness: 1px !important;
  text-underline-offset: 3px !important;
  transform: none !important;
}


/* ── Subscription meal selection — v4.0.2 ───────────────────────────────── */
.pp-sub-meal-picker {
  margin: 22px 0 2px;
  padding: 20px;
  border: 1px solid rgba(196,181,253,.26);
  border-radius: 16px;
  background: rgba(13,17,31,.72);
}

.pp-sub-meal-picker-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 8px;
}

.pp-sub-meal-picker-head > div:first-child > span {
  display: block;
  color: #c4b5fd;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .09em;
}

.pp-sub-meal-picker-head h4 {
  margin: 5px 0 5px;
  color: #fff;
  font-size: 20px;
  line-height: 1.15;
}

.pp-sub-meal-picker-head p {
  margin: 0;
  color: #b8c3d4;
  font-size: 13px;
  line-height: 1.45;
}

.pp-sub-meal-counter {
  flex: 0 0 auto;
  min-width: 105px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 12px;
  background: rgba(255,255,255,.05);
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.pp-sub-meal-counter strong {
  display: block;
  color: #fff;
  font-size: 24px;
  line-height: 1;
}

.pp-sub-meal-picker.is-complete .pp-sub-meal-counter {
  border-color: rgba(52,211,153,.55);
  background: rgba(16,185,129,.12);
}

.pp-sub-meal-picker.is-complete .pp-sub-meal-counter strong {
  color: #6ee7b7;
}

.pp-sub-meal-selection-message {
  min-height: 18px;
  margin: 0 0 15px;
  color: #aebbd0;
  font-size: 12px;
  font-weight: 700;
}

.pp-sub-meal-selection-message.is-success { color: #6ee7b7; }
.pp-sub-meal-selection-message.is-error { color: #fda4af; }

.pp-sub-meal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.pp-sub-meal-option {
  display: grid;
  grid-template-columns: 58px minmax(0,1fr) auto;
  gap: 10px;
  align-items: center;
  min-width: 0;
  padding: 9px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 13px;
  background: rgba(255,255,255,.045);
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.pp-sub-meal-option:hover {
  border-color: rgba(192,132,252,.55);
  background: rgba(168,85,247,.08);
}

.pp-sub-meal-option.is-selected {
  border-color: #a855f7;
  background: rgba(123,47,201,.18);
  box-shadow: 0 0 0 1px rgba(168,85,247,.14);
}

.pp-sub-meal-option.is-plan-hidden {
  display: none !important;
}

.pp-sub-meal-image {
  display: flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 10px;
  background: #1f2937;
}

.pp-sub-meal-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pp-sub-meal-image--fallback {
  color: #d8b4fe;
  font-size: 24px;
}

.pp-sub-meal-info {
  min-width: 0;
}

.pp-sub-meal-category {
  display: block;
  margin-bottom: 3px;
  color: #c4b5fd;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.pp-sub-meal-info h4 {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.22;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.pp-sub-meal-meta {
  display: block;
  overflow: hidden;
  margin-top: 5px;
  color: #aab5c6;
  font-size: 10px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pp-sub-meal-quantity {
  display: inline-grid;
  grid-template-columns: 30px 27px 30px;
  align-items: center;
  min-height: 34px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 9px;
  background: rgba(0,0,0,.16);
}

.pp-sub-meal-qty-btn {
  display: inline-flex;
  width: 30px;
  height: 32px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 19px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.pp-sub-meal-qty-btn:hover:not(:disabled) {
  background: rgba(168,85,247,.25);
}

.pp-sub-meal-qty-btn:disabled {
  opacity: .35;
  cursor: not-allowed;
}

.pp-sub-meal-qty {
  color: #fff;
  font-size: 14px;
  text-align: center;
}

.pp-sub-signup-bottom .pp-btn:disabled {
  opacity: .55;
  cursor: not-allowed;
  filter: grayscale(.15);
}

.pp-sub-card-meals {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f7f1ff;
  color: #51405f;
  font-size: 12px;
  line-height: 1.55;
}

.pp-sub-card-meals strong {
  color: #3d1a65;
}

@media (max-width: 640px) {
  .pp-sub-meal-picker {
    margin-top: 18px;
    padding: 16px 13px;
  }

  .pp-sub-meal-picker-head {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .pp-sub-meal-counter {
    width: 100%;
  }

  .pp-sub-meal-grid {
    grid-template-columns: 1fr;
  }

  .pp-sub-meal-option {
    grid-template-columns: 54px minmax(0,1fr) auto;
  }

  .pp-sub-meal-image {
    width: 54px;
    height: 54px;
  }
}


/* ── Subscription meal selector: mobile layout correction — v4.0.3 ────────
   On phones, the quantity stepper gets its own row. This leaves enough
   horizontal room for category, meal title and nutrition info. */
@media (max-width: 640px) {
  .pp-sub-meal-picker {
    padding: 16px !important;
    border-radius: 16px !important;
  }

  .pp-sub-meal-picker-head {
    gap: 10px !important;
    margin-bottom: 10px !important;
  }

  .pp-sub-meal-picker-head h4 {
    font-size: 26px !important;
    line-height: 1.12 !important;
  }

  .pp-sub-meal-picker-head p {
    max-width: 100% !important;
    font-size: 15px !important;
    line-height: 1.45 !important;
  }

  /* Compact, clear selection count instead of an oversized box. */
  .pp-sub-meal-counter {
    display: flex !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 58px !important;
    align-items: baseline !important;
    justify-content: center !important;
    gap: 6px !important;
    padding: 12px 14px !important;
    border-radius: 12px !important;
  }

  .pp-sub-meal-counter strong {
    display: inline !important;
    margin: 0 !important;
    font-size: 30px !important;
    line-height: 1 !important;
  }

  .pp-sub-meal-counter span {
    font-size: 16px !important;
    line-height: 1 !important;
  }

  .pp-sub-meal-selection-message {
    margin-bottom: 13px !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
  }

  .pp-sub-meal-grid {
    gap: 12px !important;
  }

  .pp-sub-meal-option {
    display: grid !important;
    grid-template-columns: 72px minmax(0, 1fr) !important;
    grid-template-areas:
      "image info"
      "quantity quantity" !important;
    column-gap: 13px !important;
    row-gap: 12px !important;
    padding: 12px !important;
    border-radius: 14px !important;
  }

  .pp-sub-meal-image {
    grid-area: image !important;
    width: 72px !important;
    height: 72px !important;
    border-radius: 12px !important;
  }

  .pp-sub-meal-info {
    grid-area: info !important;
    align-self: center !important;
    min-width: 0 !important;
  }

  .pp-sub-meal-category {
    display: block !important;
    overflow: hidden !important;
    margin-bottom: 5px !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    letter-spacing: .07em !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .pp-sub-meal-info h4 {
    display: -webkit-box !important;
    overflow: hidden !important;
    margin: 0 !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    line-height: 1.22 !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
  }

  .pp-sub-meal-meta {
    overflow: hidden !important;
    margin-top: 6px !important;
    font-size: 12px !important;
    line-height: 1.3 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  /* Full-width touch-friendly controls below the meal info. */
  .pp-sub-meal-quantity {
    grid-area: quantity !important;
    display: grid !important;
    grid-template-columns: 1fr 56px 1fr !important;
    width: 100% !important;
    min-height: 48px !important;
    border-radius: 11px !important;
  }

  .pp-sub-meal-qty-btn {
    width: auto !important;
    height: 46px !important;
    font-size: 28px !important;
  }

  .pp-sub-meal-qty {
    font-size: 18px !important;
  }
}

@media (max-width: 370px) {
  .pp-sub-meal-picker {
    padding: 13px !important;
  }

  .pp-sub-meal-picker-head h4 {
    font-size: 23px !important;
  }

  .pp-sub-meal-option {
    grid-template-columns: 64px minmax(0, 1fr) !important;
    gap: 10px !important;
  }

  .pp-sub-meal-image {
    width: 64px !important;
    height: 64px !important;
  }

  .pp-sub-meal-info h4 {
    font-size: 16px !important;
  }
}


/* ── Subscription box catalogue correction — v4.0.4 ─────────────────────── */
.pp-sub-page .pp-sub-plans-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.pp-sub-page .pp-sub-plan-card {
  min-height: 385px;
}

.pp-sub-page .pp-sub-plan-top h3 {
  margin-bottom: 13px;
}

.pp-sub-page .pp-sub-plan-summary {
  min-height: 0;
  margin: 0;
  color: #dbe5f3;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.45;
}

.pp-sub-page .pp-sub-plan-summary span {
  color: #c4b5fd;
  padding: 0 2px;
}

.pp-sub-page .pp-sub-plan-price {
  margin-top: 25px;
  padding-bottom: 12px;
}

.pp-sub-page .pp-sub-plan-price strong {
  font-size: 31px;
}

.pp-sub-page .pp-sub-plan-price span {
  color: #dbe5f3;
  font-size: 13px;
  font-weight: 700;
}

.pp-sub-page .pp-sub-plan-frequency {
  margin-top: 10px;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 700;
}

.pp-sub-page .pp-sub-plan-list {
  margin-top: 17px;
}

@media (max-width: 1000px) {
  .pp-sub-page .pp-sub-plans-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .pp-sub-page .pp-sub-plans-grid {
    grid-template-columns: 1fr;
  }

  .pp-sub-page .pp-sub-plan-card {
    min-height: 0;
  }

  .pp-sub-page .pp-sub-plan-price {
    margin-top: 20px;
  }
}

/* ── Affiliate discount code at checkout — v4.0.5 ───────────────────────── */
.pp-co-coupon {
  margin: 18px 0 4px;
  padding: 14px;
  border: 1px solid #e4d7f3;
  border-radius: 12px;
  background: #fbf9fd;
}
.pp-co-coupon label { display:block; margin-bottom:8px; color:#28213b; font-size:13px; font-weight:800; }
.pp-co-coupon-row { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px; }
.pp-co-coupon-row input { min-width:0; height:43px; padding:0 12px; border:1px solid #dcd3e9; border-radius:9px; background:#fff; color:#231234; font:inherit; font-size:14px; font-weight:700; text-transform:uppercase; }
.pp-co-coupon-row button { min-height:43px; padding:0 14px; border:0; border-radius:9px; background:#241132; color:#fff; font:inherit; font-size:13px; font-weight:800; cursor:pointer; }
.pp-co-coupon-row button:disabled { opacity:.6; cursor:wait; }
.pp-co-coupon-msg { min-height:18px; margin-top:8px; font-size:12px; font-weight:700; line-height:1.4; }
.pp-co-coupon-msg.is-success { color:#168653; }
.pp-co-coupon-msg.is-error { color:#c5264f; }
.pp-co-discount-row span:last-child { color:#168653; font-weight:800; }
@media (max-width:480px) { .pp-co-coupon-row { grid-template-columns:1fr; } .pp-co-coupon-row button { width:100%; } }

.pp-co-remove-affiliate { margin-top:4px; padding:0; border:0; background:transparent; color:#6b3a91; font-size:12px; font-weight:700; text-decoration:underline; cursor:pointer; }


/* ── Account order actions / invoice / retry payment — v4.0.6 ───────────── */
.pp-order-row-right {
  flex-wrap: wrap;
  gap: 8px !important;
}

.pp-order-row-right .pp-btn--xs {
  min-height: 30px;
  padding: 6px 10px !important;
  font-size: 11px !important;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .pp-order-row-main {
    align-items: flex-start !important;
    flex-direction: column !important;
  }

  .pp-order-row-right {
    width: 100%;
    justify-content: flex-start !important;
  }

  .pp-order-row-right .pp-btn--xs {
    flex: 1 1 auto;
    text-align: center;
  }
}


/* ── Mollie payment return page — v4.1.2 ────────────────────────────────── */
.pp-payment-return {
  display: flex;
  min-height: min(72vh, 720px);
  align-items: center;
  justify-content: center;
  padding: 70px 22px;
  background: #faf9fc;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.pp-payment-return-card {
  width: min(560px, 100%);
  padding: clamp(28px, 6vw, 50px);
  border: 1px solid #ebe5f2;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 55px rgba(34, 20, 53, .10);
  text-align: center;
}

.pp-payment-return-icon {
  display: grid;
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  place-items: center;
  border-radius: 50%;
  background: #f1e8fb;
  color: #7B2FC9;
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
}

.pp-payment-return--success .pp-payment-return-icon {
  background: #e7f8ef;
  color: #15824f;
}

.pp-payment-return--warning .pp-payment-return-icon {
  background: #fff4e1;
  color: #b66c00;
}

.pp-payment-return-eyebrow {
  display: block;
  margin-bottom: 8px;
  color: #7B2FC9;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .11em;
}

.pp-payment-return-card h1 {
  margin: 0;
  color: #17111f;
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: 1.08;
}

.pp-payment-return-card p {
  max-width: 430px;
  margin: 16px auto 0;
  color: #635a6e;
  font-size: 16px;
  line-height: 1.65;
}

.pp-payment-return-order {
  display: inline-block;
  margin-top: 20px;
  padding: 9px 13px;
  border-radius: 999px;
  background: #f5f1fa;
  color: #4d3d5b;
  font-size: 13px;
}

.pp-payment-return-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.pp-payment-return-actions a {
  min-width: 184px;
  padding: 13px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.pp-payment-return-primary {
  background: #7B2FC9;
  color: #fff !important;
}

.pp-payment-return-primary:hover {
  background: #6622af;
  color: #fff !important;
}

.pp-payment-return-secondary {
  border: 1px solid #ddd4e6;
  background: #fff;
  color: #38234c !important;
}

@media (max-width: 520px) {
  .pp-payment-return {
    min-height: 64vh;
    padding: 42px 16px;
  }

  .pp-payment-return-actions {
    flex-direction: column;
  }

  .pp-payment-return-actions a {
    width: 100%;
  }
}



   Only the return content itself is stretched and centered. The live site
   header/top bar keeps the normal theme styling so the page matches the
   rest of premiumpreps.nl exactly. */
body.pp-payment-return-page {
  background: #050505 !important;
}

body.pp-payment-return-page #page,
body.pp-payment-return-page .site,
body.pp-payment-return-page .site-content,
body.pp-payment-return-page #content,
body.pp-payment-return-page .content-area,
body.pp-payment-return-page .entry-content {
  max-width: none !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* The result must not inherit a narrow page content column. */
body.pp-payment-return-page .pp-payment-return {
  position: relative !important;
  left: 50% !important;
  width: 100vw !important;
  min-height: calc(100vh - 150px) !important;
  margin: 0 0 0 -50vw !important;
  padding: clamp(56px, 8vw, 112px) 22px !important;
  background:
    radial-gradient(circle at 50% 20%, rgba(123,47,201,.16), rgba(123,47,201,0) 42%),
    #090909 !important;
}

body.pp-payment-return-page .pp-payment-return-card {
  width: min(590px, 100%) !important;
  max-width: 590px !important;
  margin: 0 auto !important;
  border-color: rgba(196,181,253,.20) !important;
  background: #111827 !important;
  box-shadow: 0 24px 80px rgba(0,0,0,.45) !important;
}

body.pp-payment-return-page .pp-payment-return-card h1 {
  color: #ffffff !important;
}

body.pp-payment-return-page .pp-payment-return-card p {
  color: #c8c7d0 !important;
}

body.pp-payment-return-page .pp-payment-return-order {
  background: rgba(255,255,255,.08) !important;
  color: #e9ddff !important;
}

body.pp-payment-return-page .pp-payment-return-secondary {
  border-color: rgba(255,255,255,.25) !important;
  background: transparent !important;
  color: #ffffff !important;
}

@media (max-width: 767px) {
  body.pp-payment-return-page .pp-payment-return {
    min-height: calc(100vh - 110px) !important;
    padding: 42px 16px !important;
  }
}


/* ── Subscription Mollie payment activation — v4.1.4 ────────────────────── */
.pp-sub-signup-bottom > span {
  max-width: 470px;
}

.pp-sub-signup-bottom > span::before {
  content: "🔒 ";
}

.pp-pay-subscription {
  white-space: nowrap;
}


/* ── Subscription stock warnings — v4.1.5 ───────────────────────────────── */
.pp-sub-meal-option.is-stock-problem {
  border-color: #ef4444 !important;
  background: rgba(127, 29, 29, .22) !important;
  box-shadow: 0 0 0 1px rgba(239, 68, 68, .18) !important;
}

.pp-sub-meal-stock-warning {
  display: block;
  margin-top: 7px;
  color: #fecaca;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
}

@media (max-width: 640px) {
  .pp-sub-meal-stock-warning {
    font-size: 12px;
  }
}


/* ── Subscription required fields — v4.1.6 ───────────────────────────────── */
.pp-sub-required {
  color: #f87171;
  font-weight: 900;
}

.pp-sub-optional {
  color: #94a3b8;
  font-size: 11px;
  font-weight: 600;
}

.pp-sub-signup-fields input.pp-sub-field-invalid,
.pp-sub-signup-fields textarea.pp-sub-field-invalid,
.pp-sub-signup-fields .pp-sub-date-wrap:has(input.pp-sub-field-invalid) {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, .14) !important;
}

.pp-sub-field-error {
  display: block;
  margin-top: 6px;
  color: #fecaca;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
}


/* ── Mijn Account: subscription card refinement — v4.1.7 ────────────────── */
.pp-sub-card {
  padding: 0 !important;
  border-radius: 16px !important;
  background: #fff !important;
  box-shadow: 0 8px 22px rgba(24, 17, 40, .06) !important;
}

.pp-sub-card--payment-issue {
  border-color: #f2d1d1 !important;
  box-shadow: 0 8px 24px rgba(185, 28, 28, .08) !important;
}

.pp-sub-card-header {
  align-items: center !important;
  padding: 22px 24px 18px !important;
  border-bottom: 1px solid #f0edf4 !important;
}

.pp-sub-card-kicker {
  display: block;
  margin-bottom: 7px;
  color: #8b5acb;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .1em;
}

.pp-sub-card-name {
  font-size: 20px !important;
  font-weight: 900 !important;
  letter-spacing: -.02em;
}

.pp-sub-card-meta {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 5px 0 !important;
  margin-top: 8px !important;
  color: #687083 !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
}

.pp-sub-card-meta span {
  display: inline-flex;
  align-items: center;
}

.pp-sub-card-meta span:not(:last-child)::after {
  content: "•";
  margin: 0 8px;
  color: #b9b2c3;
}

.pp-sub-payment-notice {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 11px;
  margin: 18px 24px 0;
  padding: 13px 14px;
  border: 1px solid #f7caca;
  border-radius: 12px;
  background: #fff6f6;
}

.pp-sub-payment-notice-icon {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: #dc2626;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
}

.pp-sub-payment-notice strong {
  display: block;
  color: #9f1d1d;
  font-size: 13px;
  font-weight: 900;
}

.pp-sub-payment-notice p {
  margin: 3px 0 0;
  color: #7e5050;
  font-size: 12px;
  line-height: 1.45;
}

.pp-sub-card-meals {
  margin: 18px 24px 0 !important;
  padding: 0 !important;
  overflow: hidden;
  border: 1px solid #eadff8;
  border-radius: 12px !important;
  background: #fbf9ff !important;
  color: #3d3150 !important;
  font-size: 13px !important;
}

.pp-sub-card-meals-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 14px;
  border-bottom: 1px solid #eadff8;
  background: #f5efff;
}

.pp-sub-card-meals-head strong {
  color: #4a2578 !important;
  font-size: 12px;
  font-weight: 900;
}

.pp-sub-card-meals-head span {
  padding: 4px 8px;
  border-radius: 999px;
  background: #e6d9fa;
  color: #6c32ac;
  font-size: 11px;
  font-weight: 800;
}

.pp-sub-card-meals ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pp-sub-card-meals li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
  padding: 11px 14px;
  border-bottom: 1px solid #eee8f7;
  color: #4f4760;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.pp-sub-card-meals li:nth-child(odd) {
  border-right: 1px solid #eee8f7;
}

.pp-sub-card-meals li:nth-last-child(-n+2) {
  border-bottom: 0;
}

.pp-sub-card-meal-qty {
  flex: 0 0 auto;
  color: #7B2FC9;
  font-weight: 900;
}

.pp-sub-card-actions {
  padding: 18px 24px 22px !important;
}

.pp-sub-card-actions--payment {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 12px !important;
}

.pp-sub-card-actions--payment .pp-pay-subscription {
  min-height: 42px !important;
  padding: 0 18px !important;
  border-radius: 10px !important;
  font-size: 13px !important;
  font-weight: 900 !important;
}

@media (max-width: 640px) {
  .pp-sub-card-header {
    align-items: flex-start !important;
    padding: 18px 16px 15px !important;
  }

  .pp-sub-card-name {
    font-size: 18px !important;
  }

  .pp-sub-card-meta {
    display: grid !important;
    gap: 4px !important;
  }

  .pp-sub-card-meta span:not(:last-child)::after {
    display: none;
  }

  .pp-sub-payment-notice,
  .pp-sub-card-meals {
    margin-left: 16px !important;
    margin-right: 16px !important;
  }

  .pp-sub-card-meals ul {
    grid-template-columns: 1fr;
  }

  .pp-sub-card-meals li:nth-child(odd) {
    border-right: 0;
  }

  .pp-sub-card-meals li:nth-last-child(-n+2) {
    border-bottom: 1px solid #eee8f7;
  }

  .pp-sub-card-meals li:last-child {
    border-bottom: 0;
  }

  .pp-sub-card-actions,
  .pp-sub-card-actions--payment {
    padding: 16px !important;
  }

  .pp-sub-card-actions--payment .pp-pay-subscription {
    width: 100% !important;
  }
}


/* ── Subscription kortingscode — v4.1.8 ─────────────────────────────────── */
.pp-sub-coupon,
.pp-sub-payment-summary {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid rgba(196,181,253,.24);
  border-radius: 14px;
  background: rgba(13,17,31,.74);
}

.pp-sub-coupon-head {
  margin-bottom: 10px;
}

.pp-sub-coupon-head span {
  display: block;
  margin-bottom: 4px;
  color: #c4b5fd;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .1em;
}

.pp-sub-coupon-head strong {
  color: #fff;
  font-size: 15px;
  font-weight: 900;
}

.pp-sub-coupon-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 9px;
}

.pp-sub-coupon-row input {
  min-width: 0;
  height: 44px;
  padding: 0 13px;
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 9px;
  outline: none;
  background: rgba(255,255,255,.06);
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.pp-sub-coupon-row input:focus {
  border-color: #a855f7;
  box-shadow: 0 0 0 3px rgba(168,85,247,.18);
}

.pp-sub-coupon-row button {
  min-height: 44px;
  padding: 0 14px;
  border: 0;
  border-radius: 9px;
  background: #f2edff;
  color: #4c1784;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.pp-sub-coupon-row button:disabled {
  opacity: .6;
  cursor: wait;
}

.pp-sub-coupon-msg {
  min-height: 18px;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.pp-sub-coupon-msg.is-success { color: #6ee7b7; }
.pp-sub-coupon-msg.is-error { color: #fecaca; }

.pp-sub-remove-affiliate {
  margin-top: 5px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #c4b5fd;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.pp-sub-payment-summary {
  display: grid;
  gap: 9px;
  background: rgba(123,47,201,.12);
}

.pp-sub-payment-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #d6dceb;
  font-size: 13px;
  font-weight: 700;
}

.pp-sub-payment-row strong {
  color: #fff;
  white-space: nowrap;
}

.pp-sub-payment-discount-row span,
.pp-sub-payment-discount-row strong {
  color: #6ee7b7;
}

.pp-sub-payment-total {
  margin-top: 2px;
  padding-top: 11px;
  border-top: 1px solid rgba(255,255,255,.16);
  color: #fff;
  font-size: 15px;
  font-weight: 900;
}

.pp-sub-payment-total strong {
  color: #d8b4fe;
  font-size: 21px;
}

.pp-sub-payment-summary p {
  margin: 2px 0 0;
  color: #aeb8c9;
  font-size: 11px;
  line-height: 1.45;
}

.pp-sub-card-discount {
  margin: 16px 24px 0;
  padding: 10px 13px;
  border: 1px solid #ccebd9;
  border-radius: 10px;
  background: #f2fbf6;
  color: #287348;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.pp-sub-card-discount strong {
  color: #17653a;
  font-weight: 900;
}

@media (max-width: 640px) {
  .pp-sub-coupon,
  .pp-sub-payment-summary {
    padding: 14px;
  }

  .pp-sub-coupon-row {
    grid-template-columns: 1fr;
  }

  .pp-sub-coupon-row button {
    width: 100%;
  }

  .pp-sub-card-discount {
    margin-left: 16px;
    margin-right: 16px;
  }
}


/* ── Subscription payment cancelled state — v4.2.0 ───────────────────────── */
.pp-sub-card--payment-cancelled {
  border-color: #f1d6a6 !important;
  box-shadow: 0 8px 24px rgba(183, 111, 0, .08) !important;
}

.pp-sub-payment-notice--cancelled {
  border-color: #f3d29a !important;
  background: #fff9ed !important;
}

.pp-sub-payment-notice--cancelled .pp-sub-payment-notice-icon {
  background: #c67a09 !important;
}

.pp-sub-payment-notice--cancelled strong {
  color: #915c09 !important;
}

.pp-sub-payment-notice--cancelled p {
  color: #7f6746 !important;
}



body.pp-payment-return-page .site-header,
body.pp-payment-return-page .elementor-location-header {
  position: relative;
  z-index: 15;
}

body.pp-payment-return-page .pp-payment-return + * {
  display: none !important;
}

@media (max-width: 767px) {
  body.pp-payment-return-page .pp-payment-return {
    min-height: calc(100vh - 110px) !important;
    padding: 34px 16px 48px !important;
  }
}



   Elementor renders the normal header here, but the first header container is
   transparent because this route is generated by the plugin rather than a
   regular Elementor page. Make only that first/top header row purple. */
body.pp-payment-return-page .elementor-location-header > .elementor > .e-con:first-child,
body.pp-payment-return-page .elementor-location-header > .elementor > .elementor-top-section:first-child,
body.pp-payment-return-page .elementor-location-header > .e-con:first-child,
body.pp-payment-return-page .elementor-location-header > .elementor-top-section:first-child,
body.pp-payment-return-page #masthead > .elementor > .e-con:first-child,
body.pp-payment-return-page #masthead > .elementor > .elementor-top-section:first-child {
  background: #7B2FC9 !important;
  background-image: none !important;
}

/* The three trust messages and icons must be readable on the purple row. */
body.pp-payment-return-page .elementor-location-header > .elementor > .e-con:first-child a,
body.pp-payment-return-page .elementor-location-header > .elementor > .e-con:first-child span,
body.pp-payment-return-page .elementor-location-header > .elementor > .e-con:first-child p,
body.pp-payment-return-page .elementor-location-header > .elementor > .elementor-top-section:first-child a,
body.pp-payment-return-page .elementor-location-header > .elementor > .elementor-top-section:first-child span,
body.pp-payment-return-page .elementor-location-header > .elementor > .elementor-top-section:first-child p,
body.pp-payment-return-page .elementor-location-header > .e-con:first-child a,
body.pp-payment-return-page .elementor-location-header > .e-con:first-child span,
body.pp-payment-return-page .elementor-location-header > .e-con:first-child p,
body.pp-payment-return-page .elementor-location-header > .elementor-top-section:first-child a,
body.pp-payment-return-page .elementor-location-header > .elementor-top-section:first-child span,
body.pp-payment-return-page .elementor-location-header > .elementor-top-section:first-child p {
  color: #fff !important;
}

/* Keep the normal navigation row black, not purple. */
body.pp-payment-return-page .elementor-location-header > .elementor > .e-con:nth-child(2),
body.pp-payment-return-page .elementor-location-header > .elementor > .elementor-top-section:nth-child(2),
body.pp-payment-return-page .elementor-location-header > .e-con:nth-child(2),
body.pp-payment-return-page .elementor-location-header > .elementor-top-section:nth-child(2),
body.pp-payment-return-page #masthead > .elementor > .e-con:nth-child(2),
body.pp-payment-return-page #masthead > .elementor > .elementor-top-section:nth-child(2) {
  background: #050505 !important;
}


/* ── Mollie return card only — v4.2.4 ─────────────────────────────────────
   The normal PremiumPreps header/topbar is intentionally untouched. */
body.pp-payment-return-page {
  background: #050505;
}

body.pp-payment-return-page .pp-payment-return {
  display: flex;
  width: 100%;
  min-height: calc(100vh - 125px);
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: clamp(56px, 8vw, 112px) 22px;
  background:
    radial-gradient(circle at 50% 18%, rgba(123,47,201,.16), rgba(123,47,201,0) 42%),
    #090909;
}

body.pp-payment-return-page .pp-payment-return-card {
  width: min(590px, 100%);
  max-width: 590px;
  margin: 0 auto;
  border-color: rgba(196,181,253,.20);
  background: #111827;
  box-shadow: 0 24px 80px rgba(0,0,0,.45);
}

body.pp-payment-return-page .pp-payment-return-card h1 {
  color: #ffffff;
}

body.pp-payment-return-page .pp-payment-return-card p {
  color: #c8c7d0;
}

body.pp-payment-return-page .pp-payment-return-order {
  background: rgba(255,255,255,.08);
  color: #e9ddff;
}

@media (max-width: 767px) {
  body.pp-payment-return-page .pp-payment-return {
    min-height: calc(100vh - 105px);
    padding: 34px 16px 48px;
  }
}


/* ── Elementor payment result shortcodes — v4.2.5 ─────────────────────────
   Add [pp_bedankt] or [pp_betaling_geannuleerd] to an Elementor shortcode
   widget. The Elementor page keeps full control over header and page layout. */
.pp-elementor-payment-result {
  width: min(590px, 100%);
  margin: 0 auto;
  padding: clamp(28px, 6vw, 50px);
  border: 1px solid rgba(196,181,253,.20);
  border-radius: 24px;
  background: #111827;
  box-shadow: 0 24px 80px rgba(0,0,0,.45);
  color: #fff;
  text-align: center;
  font-family: inherit;
}

.pp-elementor-payment-result__icon {
  display: grid;
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  place-items: center;
  border-radius: 50%;
  background: #e7f8ef;
  color: #15824f;
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
}

.pp-elementor-payment-result--warning .pp-elementor-payment-result__icon {
  background: #fff4e1;
  color: #b66c00;
}

.pp-elementor-payment-result--pending .pp-elementor-payment-result__icon {
  background: #f1e8fb;
  color: #7B2FC9;
}

.pp-elementor-payment-result__eyebrow {
  display: block;
  margin-bottom: 8px;
  color: #a855f7;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .11em;
}

.pp-elementor-payment-result h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: 1.08;
}

.pp-elementor-payment-result p {
  max-width: 430px;
  margin: 16px auto 0;
  color: #c8c7d0;
  font-size: 16px;
  line-height: 1.65;
}

.pp-elementor-payment-result__actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.pp-elementor-payment-result__actions a {
  min-width: 184px;
  padding: 13px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  text-align: center;
}

.pp-elementor-payment-result__primary {
  background: #7B2FC9;
  color: #fff !important;
}

.pp-elementor-payment-result__primary:hover {
  background: #6622af;
  color: #fff !important;
}

.pp-elementor-payment-result__secondary {
  border: 1px solid rgba(255,255,255,.25);
  background: transparent;
  color: #fff !important;
}

@media (max-width: 520px) {
  .pp-elementor-payment-result {
    padding: 28px 20px;
  }

  .pp-elementor-payment-result__actions {
    flex-direction: column;
  }

  .pp-elementor-payment-result__actions a {
    width: 100%;
  }
}


/* ── Subscription card: clean bottom edge without action buttons — v4.3.0 ──
   Cancelled subscriptions have no action row. Give their meal overview the
   same breathing room at the bottom as cards that do have buttons. */
.pp-sub-card > .pp-sub-card-meals:last-child {
  margin-bottom: 22px !important;
}

.pp-sub-card--payment-cancelled > .pp-sub-card-meals:last-child {
  margin-bottom: 24px !important;
}

@media (max-width: 640px) {
  .pp-sub-card > .pp-sub-card-meals:last-child,
  .pp-sub-card--payment-cancelled > .pp-sub-card-meals:last-child {
    margin-bottom: 16px !important;
  }
}


/* ── Abonnementen: verbeterde maaltijdkeuze op mobiel — v4.3.3 ────────────
   Alleen voor telefoons. Desktop blijft volledig ongewijzigd. */
@media (max-width: 640px) {
  .pp-sub-meal-picker {
    margin-top: 16px !important;
    padding: 14px !important;
    border-radius: 18px !important;
    background: rgba(11, 16, 30, .88) !important;
  }

  .pp-sub-meal-picker-head {
    gap: 12px !important;
    margin-bottom: 10px !important;
  }

  .pp-sub-meal-picker-head > div:first-child > span {
    font-size: 10px !important;
    letter-spacing: .1em !important;
  }

  .pp-sub-meal-picker-head h4 {
    margin: 4px 0 6px !important;
    font-size: 23px !important;
    line-height: 1.12 !important;
  }

  .pp-sub-meal-picker-head p {
    font-size: 14px !important;
    line-height: 1.42 !important;
  }

  .pp-sub-meal-counter {
    min-height: 54px !important;
    padding: 10px 12px !important;
    border-color: rgba(196,181,253,.30) !important;
    background: linear-gradient(135deg, rgba(123,47,201,.20), rgba(255,255,255,.05)) !important;
  }

  .pp-sub-meal-counter strong {
    font-size: 29px !important;
  }

  .pp-sub-meal-counter span {
    font-size: 15px !important;
  }

  .pp-sub-meal-selection-message {
    min-height: 0 !important;
    margin: 3px 1px 13px !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
  }

  .pp-sub-meal-grid {
    gap: 11px !important;
  }

  .pp-sub-meal-option {
    grid-template-columns: 76px minmax(0, 1fr) !important;
    grid-template-areas:
      "image info"
      "quantity quantity" !important;
    column-gap: 13px !important;
    row-gap: 11px !important;
    padding: 12px !important;
    border-color: rgba(196,181,253,.22) !important;
    border-radius: 16px !important;
    background: linear-gradient(145deg, rgba(31,41,55,.92), rgba(16,22,39,.92)) !important;
  }

  .pp-sub-meal-option.is-selected {
    border-color: #a855f7 !important;
    background: linear-gradient(145deg, rgba(85,35,133,.55), rgba(22,26,49,.96)) !important;
    box-shadow: 0 0 0 1px rgba(168,85,247,.20), 0 10px 24px rgba(0,0,0,.16) !important;
  }

  .pp-sub-meal-image {
    width: 76px !important;
    height: 76px !important;
    border: 1px solid rgba(255,255,255,.08) !important;
    border-radius: 14px !important;
    background: #202b3d !important;
  }

  .pp-sub-meal-info {
    display: flex !important;
    min-height: 76px !important;
    flex-direction: column !important;
    justify-content: center !important;
  }

  .pp-sub-meal-category {
    margin-bottom: 4px !important;
    color: #d0b0ff !important;
    font-size: 10px !important;
    line-height: 1.15 !important;
    letter-spacing: .09em !important;
  }

  /* Toon de naam beter: maximaal drie regels i.p.v. afgekapt na twee. */
  .pp-sub-meal-info h4 {
    font-size: 18px !important;
    line-height: 1.14 !important;
    -webkit-line-clamp: 3 !important;
  }

  .pp-sub-meal-meta {
    margin-top: 6px !important;
    color: #b8c3d4 !important;
    font-size: 12px !important;
    line-height: 1.25 !important;
    text-overflow: clip !important;
    white-space: normal !important;
  }

  /* Duidelijkere, grotere aantalselector met beter contrast. */
  .pp-sub-meal-quantity {
    position: relative !important;
    grid-template-columns: 1fr 64px 1fr !important;
    min-height: 54px !important;
    padding-top: 0 !important;
    border-color: rgba(196,181,253,.26) !important;
    border-radius: 13px !important;
    background: rgba(8,12,24,.66) !important;
  }

  .pp-sub-meal-qty-btn {
    height: 52px !important;
    font-size: 30px !important;
  }

  .pp-sub-meal-qty-btn[data-sub-qty="-1"] {
    color: #c4c9d6 !important;
  }

  .pp-sub-meal-qty-btn[data-sub-qty="1"] {
    border-left: 1px solid rgba(255,255,255,.10) !important;
    background: rgba(123,47,201,.22) !important;
    color: #fff !important;
  }

  .pp-sub-meal-qty {
    display: flex !important;
    height: 52px !important;
    align-items: center !important;
    justify-content: center !important;
    border-left: 1px solid rgba(255,255,255,.10) !important;
    color: #fff !important;
    font-size: 20px !important;
    font-weight: 900 !important;
  }

  .pp-sub-meal-qty-btn:active:not(:disabled) {
    background: rgba(168,85,247,.42) !important;
    transform: scale(.98) !important;
  }
}

@media (max-width: 370px) {
  .pp-sub-meal-picker {
    padding: 12px !important;
  }

  .pp-sub-meal-option {
    grid-template-columns: 68px minmax(0, 1fr) !important;
    column-gap: 11px !important;
  }

  .pp-sub-meal-image {
    width: 68px !important;
    height: 68px !important;
  }

  .pp-sub-meal-info {
    min-height: 68px !important;
  }

  .pp-sub-meal-info h4 {
    font-size: 17px !important;
  }
}
