/* Bij Pip - livegang: PDP USP block, PDP upsells, kassakoopjes row, title-font preview badge.
   Uses the theme tokens (--wine, --line, --cream, --font-head ...) from global.css. */

/* ── PDP: "Maak het compleet" upsells (above the USP list) ── */
.bp-up { margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line, rgba(44,44,44,.12)); }
.bp-up__title { font-family: var(--font-head); font-size: 17px; font-weight: 500; margin: 0 0 10px; color: var(--ink, #2C2C2C); }
.bp-up__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.bp-up__item { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 8px; background: #fff; border: 1px solid var(--line, rgba(44,44,44,.12)); border-radius: var(--r, 4px); }
.bp-up__img { display: block; width: 52px; height: 52px; border-radius: var(--r, 4px); overflow: hidden; background: var(--cream, #FDF8F5); }
.bp-up__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bp-up__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bp-up__name { font-size: 14px; line-height: 1.3; color: var(--ink, #2C2C2C); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bp-up__name:hover { color: var(--wine, #883756); }
.bp-up__price { font-size: 13px; font-weight: 500; color: var(--wine, #883756); }
.bp-up__price del { color: var(--muted, rgba(44,44,44,.6)); font-weight: 400; margin-right: 4px; }
.bp-up__price ins { text-decoration: none; }
.bp-up__act { display: flex; align-items: center; gap: 6px; justify-content: flex-end; }
.bp-up .bp-kk__var { max-width: 130px; }
.bp-up + .bp-usps { margin-top: 14px; }
@media (max-width: 480px) {
  .bp-up__item { grid-template-columns: 46px minmax(0, 1fr); }
  .bp-up__img { width: 46px; height: 46px; }
  .bp-up__act { grid-column: 1 / -1; justify-content: stretch; }
  .bp-up__act .bp-kk__var { flex: 1 1 auto; max-width: none; }
  .bp-up__act .bp-kk__add { flex: 0 0 auto; }
}

/* ── PDP: USP list under "In winkelwagen" ── */
.bp-usps { list-style: none; margin: 14px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line, rgba(44,44,44,.12)); display: grid; gap: 8px; }
.bp-usps li { position: relative; padding-left: 28px; font-size: 14px; line-height: 1.45; color: var(--ink, #2C2C2C); }
.bp-usps li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--blush, #F9ECE8) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23883756' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px 11px no-repeat;
}

/* ── Kassakoopjes ── */
.bp-kk { margin: 34px 0 10px; }
.bp-kk__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.bp-kk__head h2 { font-family: var(--font-head); font-size: 24px; font-weight: 500; margin: 0; }
.bp-kk__head p { font-size: 14px; color: var(--muted, rgba(44,44,44,.6)); margin: 0; }
.bp-kk__row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.bp-kk__item { background: #fff; border: 1px solid var(--line, rgba(44,44,44,.12)); border-radius: var(--r, 4px); padding: 10px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.bp-kk__img { display: block; aspect-ratio: 1 / 1; background: var(--cream, #FDF8F5); border-radius: var(--r, 4px); overflow: hidden; }
.bp-kk__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bp-kk__name { font-size: 13px; line-height: 1.35; color: var(--ink, #2C2C2C); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; text-decoration: none; }
.bp-kk__foot { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: auto; flex-wrap: wrap; }
.bp-kk__foot--var .bp-kk__var { flex: 1 1 100%; }
.bp-kk__price { font-size: 14px; font-weight: 500; color: var(--wine, #883756); white-space: nowrap; }
.bp-kk__price del { color: var(--muted, rgba(44,44,44,.6)); font-weight: 400; margin-right: 4px; }
.bp-kk__price ins { text-decoration: none; }
.bp-kk__var {
  appearance: auto; min-width: 0; font: inherit; font-size: 12px; line-height: 1.2; padding: 6px 8px; height: auto;
  border: 1px solid var(--line, rgba(44,44,44,.2)); border-radius: var(--r, 4px); background: #fff; color: var(--ink, #2C2C2C);
}
.bp-kk__add {
  appearance: none; border: 1px solid var(--wine, #883756); background: #fff; color: var(--wine, #883756);
  border-radius: 999px; font: inherit; font-size: 13px; line-height: 1; padding: 8px 12px; cursor: pointer; white-space: nowrap;
  transition: background .2s, color .2s; text-decoration: none; display: inline-block;
}
.bp-kk__add:hover, .bp-kk__add:focus-visible { background: var(--wine, #883756); color: #fff; }
.bp-kk__add[disabled] { opacity: .6; cursor: default; }
.bp-kk__add.is-added { background: var(--wine, #883756); color: #fff; opacity: 1; }
.bp-kk.is-busy { opacity: .7; pointer-events: none; }
.bijpip-checkout__main .bp-kk { margin: 26px 0; }
.bijpip-checkout__main .bp-kk__row { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 1100px) {
  .bp-kk__row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .bp-kk__row, .bijpip-checkout__main .bp-kk__row {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; padding-bottom: 6px;
    margin: 0 calc(var(--pad, 20px) * -1); padding-left: var(--pad, 20px); padding-right: var(--pad, 20px);
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .bp-kk__row::-webkit-scrollbar { display: none; }
  .bp-kk__item { flex: 0 0 44%; scroll-snap-align: start; }
  .bp-kk__foot { flex-direction: column; align-items: stretch; gap: 8px; }
  .bp-kk__add { width: 100%; padding: 10px 12px; text-align: center; }
  .bp-up .bp-kk__add { width: auto; }
  .bp-kk__head h2 { font-size: 21px; }
}

/* ── Title-font preview badge ── */
.bp-fontbadge {
  position: fixed; left: 14px; bottom: 14px; z-index: 99990; background: #2C2C2C; color: #fff;
  font: 500 12px/1.3 "Outfit", system-ui, sans-serif; padding: 9px 12px; border-radius: 999px; box-shadow: 0 6px 20px rgba(0,0,0,.18);
  display: flex; gap: 10px; align-items: center;
}
.bp-fontbadge a { color: #EBADD1; text-decoration: underline; }
@media (max-width: 760px) { .bp-fontbadge { bottom: calc(76px + env(safe-area-inset-bottom)); } }

/* ── /titelfonts-vergelijken ── */
.bp-fontcmp { display: grid; gap: 18px; margin: 10px 0 40px; }
.bp-fontcmp__card { border: 1px solid var(--line, rgba(44,44,44,.12)); border-radius: var(--r, 4px); padding: 22px 24px; background: #fff; }
.bp-fontcmp__card.is-current { background: var(--cream, #FDF8F5); }
.bp-fontcmp__name { font: 500 12px/1.2 "Outfit", sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--muted, rgba(44,44,44,.6)); margin: 0 0 10px; }
.bp-fontcmp__sample { font-size: 40px; line-height: 1.1; font-weight: 500; margin: 0 0 6px; color: var(--ink, #2C2C2C); }
.bp-fontcmp__sample em { font-style: normal; color: var(--wine, #883756); }
.bp-fontcmp__sub { font-size: 24px; line-height: 1.2; margin: 0 0 14px; color: var(--ink, #2C2C2C); }
.bp-fontcmp__links { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.bp-fontcmp__links a { display: inline-block; border: 1px solid var(--wine, #883756); color: var(--wine, #883756); border-radius: 999px; padding: 7px 14px; font-size: 13px; text-decoration: none; }
.bp-fontcmp__links a:hover { background: var(--wine, #883756); color: #fff; }
@media (max-width: 600px) { .bp-fontcmp__sample { font-size: 30px; } .bp-fontcmp__sub { font-size: 20px; } }
