/* ---------- Sets (bundels) – 09-11-2026 ---------- */

/* Prijs in lijsten en op de productpagina */
.price .pl-set-from { font-size: .85em; font-weight: 400; color: var(--pl-text-muted, #7a6656); }
.price .pl-set-badge {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 10px;
    border-radius: 999px;
    background: var(--pl-accent-dark, #8a6a45);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .3px;
    vertical-align: middle;
}

/* Setformulier */
.pl-set-form { margin: 8px 0 24px; }
.pl-set-intro { margin: 0 0 14px; font-size: 15px; color: var(--pl-text-strong, #3f342b); }

.pl-set-items { list-style: none; margin: 0 0 16px; padding: 0; border: 1px solid #e7ddd2; border-radius: 18px; background: #fff; overflow: hidden; }
.pl-set-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border-top: 1px solid #f0e8df;
}
.pl-set-item:first-child { border-top: 0; }
.pl-set-item.is-out { opacity: .55; }
.pl-set-item__img img { display: block; width: 64px; height: 64px; object-fit: cover; border-radius: 12px; }
.pl-set-item__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.pl-set-item__name { font-weight: 600; font-size: 15px; color: var(--pl-text-strong, #3f342b); text-decoration: none; }
.pl-set-item__name:hover { text-decoration: underline; }
.pl-set-item__out { font-size: 13px; color: #a2463b; }
.pl-set-select {
    max-width: 220px;
    min-height: 40px;
    padding: 6px 12px;
    border: 1px solid #d8ccbf;
    border-radius: 10px;
    background: #fffdfa;
    font-size: 15px;
}
.pl-set-item__price { flex: none; font-size: 15px; color: var(--pl-text-muted, #7a6656); white-space: nowrap; }
.pl-set-item__price.is-chosen { color: var(--pl-text-strong, #3f342b); font-weight: 600; }

/* Totalen */
.pl-set-total {
    margin: 0 0 16px;
    padding: 14px 18px;
    border-radius: 16px;
    background: #faf5ee;
}
.pl-set-total__row { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; color: var(--pl-text-muted, #7a6656); }
.pl-set-total__row.is-main { margin-top: 4px; font-size: 20px; color: var(--pl-text-strong, #3f342b); }
.pl-set-total__row.is-main strong { font-size: 24px; }
.pl-set-total__save { margin-top: 6px; text-align: right; font-size: 14px; font-weight: 600; color: #4f7a52; }

.pl-set-actions { display: flex; gap: 12px; align-items: center; }
.pl-set-actions .quantity { flex: none; }
.pl-set-actions .pl-set-add { flex: 1; }
.pl-set-add[disabled] { opacity: .55; cursor: not-allowed; }
.pl-set-hint { margin: 8px 0 0; font-size: 13px; color: var(--pl-text-muted, #7a6656); }
.pl-set-hint.is-warn { color: #a2463b; font-weight: 600; }
.pl-set-unavailable { padding: 12px 16px; border-radius: 12px; background: #fdecea; color: #8a1c12; font-size: 14px; }

@media (max-width: 600px) {
    .pl-set-item { flex-wrap: wrap; gap: 10px; }
    .pl-set-item__img img { width: 56px; height: 56px; }
    .pl-set-select { max-width: none; width: 100%; }
    .pl-set-item__price { width: 100%; text-align: right; margin-top: -4px; }
}

/* ---------- Setprijs: oude prijs doorstreept, setprijs groter, badge op foto (10-11-2026) ---------- */
.pl-set-pricebox { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 1px; line-height: 1.15; }
.pl-set-pricebox .pl-set-now { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 6px; }
.pl-set-pricebox del.pl-set-was,
.pl-price .pl-set-pricebox del.pl-set-was {
    display: inline !important;
    opacity: .75;
    color: var(--pl-text-muted, #7a6656);
    text-decoration: line-through;
}
.pl-set-pricebox del.pl-set-was .woocommerce-Price-amount,
.pl-set-pricebox del.pl-set-was .woocommerce-Price-amount bdi { font-size: 14px !important; font-weight: 400 !important; }
.pl-set-pricebox ins { text-decoration: none; background: none; }
.pl-set-pricebox ins .woocommerce-Price-amount,
.pl-set-pricebox ins .woocommerce-Price-amount bdi { font-size: 22px !important; font-weight: 600 !important; }
.pl-price .pl-set-pricebox .pl-set-badge {
    margin-left: 0;
    padding: 2px 8px;
    font-size: 11px;
}
/* Productpagina: nog iets groter */
.single-product .summary .price .pl-set-pricebox ins .woocommerce-Price-amount,
.single-product .summary .price .pl-set-pricebox ins .woocommerce-Price-amount bdi { font-size: 28px !important; }
.single-product .summary .price .pl-set-pricebox del.pl-set-was .woocommerce-Price-amount,
.single-product .summary .price .pl-set-pricebox del.pl-set-was .woocommerce-Price-amount bdi { font-size: 17px !important; }

/* Badge op de foto */
.woocommerce span.onsale.pl-set-onsale,
span.onsale.pl-set-onsale {
    background: var(--pl-accent-dark, #8a6a45);
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .04em;
    padding: 7px 13px;
    border-radius: 999px;
}

/* ---------- Keuzegroep: "kies 1 (of 2) extra" (10-11-2026) ---------- */
.pl-set-pricebox .pl-set-wasrow { display: inline-flex; align-items: baseline; gap: 4px; }
.pl-set-pricebox .pl-set-wasrow .pl-set-from { font-size: 12px; }

.pl-set-choices { margin: 0 0 16px; }
.pl-set-choices__title { margin: 0 0 8px; font-weight: 600; font-size: 15px; color: var(--pl-text-strong, #3f342b); }
.pl-set-choice { position: relative; cursor: pointer; transition: background-color .15s; }
.pl-set-choice.is-picked { background: #faf5ee; }
.pl-set-choice.is-locked { opacity: .5; }
.pl-set-choice.is-out { cursor: default; }

/* Aanvinkvakje: het hele kaartje is klikbaar (label loopt over de rij). */
.pl-set-choice__check { position: static; display: flex; align-items: center; flex: none; cursor: pointer; }
.pl-set-choice__check::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.pl-set-choice .pl-set-choice__size { position: relative; z-index: 2; }
.pl-set-choice .pl-set-item__name { cursor: pointer; }
.pl-set-choice__check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pl-set-choice__box {
    width: 24px;
    height: 24px;
    border: 2px solid #d8ccbf;
    border-radius: 7px;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color .15s, border-color .15s;
}
.pl-set-choice__check input:checked + .pl-set-choice__box {
    background: var(--pl-accent-dark, #8a6a45);
    border-color: var(--pl-accent-dark, #8a6a45);
}
.pl-set-choice__check input:checked + .pl-set-choice__box::after {
    content: "";
    width: 7px;
    height: 12px;
    border: solid #fff;
    border-width: 0 2.5px 2.5px 0;
    transform: translateY(-1px) rotate(45deg);
}
.pl-set-choice__check input:focus-visible + .pl-set-choice__box { outline: 2px solid var(--pl-accent-dark, #8a6a45); outline-offset: 2px; }
.pl-set-choice__check input:disabled + .pl-set-choice__box { background: #f3eee8; }
.pl-set-choice.is-out .pl-set-choice__check,
.pl-set-choice.is-locked .pl-set-choice__check { cursor: not-allowed; }
.pl-set-choice__size[hidden] { display: none; }

@media (max-width: 600px) {
    .pl-set-choice .pl-set-item__body { flex-basis: calc(100% - 120px); }
}
