/* â”€â”€ AoB Cart Page â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

/* â”€â”€ Page background â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

body.woocommerce-cart,
body.woocommerce-cart .woo-content {
    background-color: var(--wp--preset--color--neutral-50);
}

/* â”€â”€ Headline â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.aob-cart-headline {
    padding: 48px 0 32px;
}

.aob-cart-headline__title {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.15;
    color: var(--wp--preset--color--black);
    margin: 0 0 8px;
}

.aob-cart-headline__desc {
    font-size: 16px;
    font-weight: 300;
    line-height: 24px;
    color: var(--wp--preset--color--black);
    margin: 0;
}

@media (max-width: 991px) {
    .aob-cart-headline {
        padding: 32px 0 24px;
    }

    .aob-cart-headline__title {
        font-size: 28px;
    }
}

/* â”€â”€ Layout â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.woocommerce-cart .woocommerce {
    max-width: none;
}

.aob-cart-layout {
    display: grid;
    grid-template-columns: 1fr 480px;
    gap: 40px;
    align-items: start;
    padding-bottom: 80px;
}

.aob-cart-main {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-width: 0;
}

.aob-cart-sidebar {
    position: sticky;
    top: calc(var(--nav-height, 80px) + 24px);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* â”€â”€ Cart items card â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.aob-cart-items {
    display: flex;
    flex-direction: column;
    background: var(--wp--preset--color--white);
    border: 1px solid var(--wp--preset--color--neutral-150, #e4e4ea);
    border-radius: 16px;
    overflow: hidden;
}

/* â”€â”€ Single cart item â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.aob-cart-item {
    display: flex;
    align-items: flex-start;
    padding: 24px 32px;
    background: var(--wp--preset--color--white);
    border-bottom: 1px solid var(--wp--preset--color--neutral-150, #e4e4ea);
}

.aob-cart-item:last-child {
    border-bottom: none;
}

/* Thumbnail */

.aob-cart-item__thumb {
    width: 120px;
    height: 90px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
    background: var(--wp--preset--color--neutral-100, #f5f5fc);
    margin-right: 24px;
}

.aob-cart-item__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.aob-cart-item__thumb--book img {
    object-fit: contain;
    background: var(--wp--preset--color--neutral-100, #f5f5fc);
    padding: 4px;
    box-sizing: border-box;
}

.aob-cart-item__thumb a {
    display: block;
    height: 100%;
}

/* Body */

.aob-cart-item__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-right: 48px;
}

.aob-cart-item__type {
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    color: var(--wp--preset--color--neutral-300, #747481);
    letter-spacing: 0.05em;
}

.aob-cart-item__title {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: var(--wp--preset--color--black);
    text-decoration: none;
    display: block;
}

.aob-cart-item__title:hover {
    text-decoration: underline;
}

/* Caption: variant attributes (e.g. "Pakiet Medium Â· 4 moduĹ‚y") */

.aob-cart-item__caption {
    font-size: 14px;
    font-weight: 300;
    line-height: 20px;
    color: var(--wp--preset--color--neutral-300, #747481);
    margin: 0;
}

/* Book-type badge (shipping / download / access code) */

.aob-cart-item__badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    width: fit-content;
    background: rgba(139, 92, 246, 0.05);
    border: 1px solid #e0d7f6;
    border-radius: 4px;
    padding: 4px 6px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    color: var(--wp--preset--color--purple);
}

.aob-cart-item__badge svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Description box: edition / date with bullet points */

.aob-cart-item__desc-box {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: var(--wp--preset--color--neutral-100, #f5f5fc);
    border-radius: 4px;
    padding: 16px;
}

.aob-cart-item__desc-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.aob-cart-item__bullet {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--wp--preset--color--purple-500);
    flex-shrink: 0;
    margin-top: 6px;
}

.aob-cart-item__desc-text {
    font-size: 12px;
    font-weight: 300;
    line-height: 16px;
    color: var(--wp--preset--color--black);
}

/* fc participants info */

.fc-cart-meta {
    font-size: 12px;
    font-weight: 300;
    color: var(--wp--preset--color--neutral-300, #747481);
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 2px;
}

.fc-cart-meta a.fc-cart-edit-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--wp--preset--color--purple, #7e33e2);
    font-size: 12px;
    font-weight: 400;
    text-decoration: none;
}

.fc-cart-meta a.fc-cart-edit-link:hover {
    text-decoration: underline;
}

/* fc quantity display */

.fc-cart-qty {
    font-size: 14px;
    font-weight: 400;
    color: var(--wp--preset--color--black);
}

/* WC formatted item data */

.aob-cart-item__body dl.variation {
    margin: 4px 0 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.aob-cart-item__body dl.variation dt {
    font-size: 12px;
    color: var(--wp--preset--color--neutral-300, #747481);
    float: left;
    margin-right: 4px;
}

.aob-cart-item__body dl.variation dd {
    font-size: 12px;
    color: var(--wp--preset--color--black);
    margin: 0;
}

/* Right column */

.aob-cart-item__right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
    flex-shrink: 0;
    min-width: 150px;
}

/* Remove button â€” override WooCommerce's a.remove (block, width:1em, color:red) */

.aob-cart-item__remove,
.aob-cart-item .remove.aob-cart-item__remove {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 11px 0 11px 0 !important;
    cursor: pointer !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: var(--wp--preset--color--neutral-300, #747481) !important;
    line-height: 20px !important;
    text-decoration: none !important;
    width: auto !important;
    height: auto !important;
    text-align: left !important;
    transition: color 0.15s;
}

.aob-cart-item__remove:hover,
.aob-cart-item .remove.aob-cart-item__remove:hover {
    color: var(--wp--preset--color--black) !important;
}

.aob-cart-item__remove svg {
    width: 16px !important;
    height: 16px !important;
    flex-shrink: 0;
}

/* Quantity area */

.aob-cart-item__qty {
    display: flex;
    align-items: center;
    gap: 12px;
}

.aob-cart-item__qty .quantity {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid var(--wp--preset--color--neutral-200, #c5c5cd);
    border-radius: 4px;
    overflow: hidden;
}

.aob-cart-item__qty .qty {
    width: 40px;
    text-align: center;
    border: none;
    font-size: 14px;
    font-weight: 400;
    color: var(--wp--preset--color--black);
    padding: 12px 4px;
    -moz-appearance: textfield;
    appearance: textfield;
    background: var(--wp--preset--color--white);
    line-height: 1;
}

.aob-cart-item__qty .qty::-webkit-inner-spin-button,
.aob-cart-item__qty .qty::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* WC qty +/- buttons */

.aob-cart-item__qty .quantity__button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 44px;
    border: none;
    background: var(--wp--preset--color--white);
    cursor: pointer;
    color: var(--wp--preset--color--black);
    line-height: 1;
    transition: background 0.15s;
    flex-shrink: 0;
}

.aob-cart-item__qty .quantity__button:hover {
    background: var(--wp--preset--color--neutral-100, #f5f5fc);
}

.aob-cart-item__qty .quantity__button svg {
    width: 16px;
    height: 16px;
}

/* FC participant count (edit button) */

.aob-cart-item__qty .fc-cart-qty {
    font-size: 14px;
    font-weight: 400;
    color: var(--wp--preset--color--black);
}

/* Price */

.aob-cart-item__price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    text-align: right;
}

.aob-cart-item__price-netto {
    display: flex;
    align-items: baseline;
    gap: 8px;
    white-space: nowrap;
}

.aob-cart-item__price-amount {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: var(--wp--preset--color--black);
    white-space: nowrap;
}

.aob-cart-item__price-suffix {
    font-size: 14px;
    font-weight: 300;
    line-height: 20px;
    color: var(--wp--preset--color--black);
}

.aob-cart-item__price-brutto {
    font-size: 12px;
    font-weight: 300;
    line-height: 16px;
    color: var(--wp--preset--color--neutral-300);
    white-space: nowrap;
    margin: 0;
}

/* â”€â”€ Cart footer â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.aob-cart-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.aob-cart-footer__clear {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    font-family: inherit;
    color: var(--wp--preset--color--dark, #2e2e39);
    text-decoration: none;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: color 0.15s;
    padding: 11px 16px 11px 0;
}

.aob-cart-footer__clear:hover {
    color: var(--wp--preset--color--black);
}

.aob-cart-footer__clear svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.aob-cart-footer__checkout,
.aob-cart-sidebar__checkout-mobile {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
    background: var(--wp--preset--color--yellow) !important;
    background-image: none !important;
    border-color: var(--wp--preset--color--yellow) !important;
    color: var(--wp--preset--color--dark) !important;
    border-radius: 0 !important;
    padding: 14px 32px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
}

.aob-cart-footer__checkout:hover,
.aob-cart-footer__checkout:focus,
.aob-cart-sidebar__checkout-mobile:hover,
.aob-cart-sidebar__checkout-mobile:focus {
    background: #e6ce00 !important;
    border-color: #e6ce00 !important;
    color: var(--wp--preset--color--dark) !important;
}

.aob-cart-footer__checkout svg,
.aob-cart-sidebar__checkout-mobile svg {
    flex-shrink: 0;
}

/* ── Clear-cart confirmation modal (uses the generic .aob-modal system —
   see assets/js/script.js openModal()/closeModal() — same one behind the
   "export to xlsx" confirm modals; .aob-modal-inner is always dark by
   design, so no separate dark-theme rules are needed here). ───────────── */

.aob-clear-modal-inner {
    max-width: 480px !important;
    padding: 40px !important;
    text-align: center;
}

.aob-clear-modal-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(252, 129, 129, 0.12);
    color: #fc8181;
}

.aob-clear-modal-icon svg {
    width: 24px;
    height: 24px;
}

.aob-clear-modal-inner .aob-modal-head {
    border-bottom: none;
    margin-bottom: 12px;
    padding-bottom: 0;
}

.aob-clear-modal-text {
    margin: 0 0 32px;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.7);
}

.aob-clear-modal-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.aob-clear-modal-confirm {
    background: #fc8181;
    border-color: #fc8181;
    color: var(--wp--preset--color--dark, #1a1a25);
}

.aob-clear-modal-confirm:hover {
    background: #f96b6b;
    border-color: #f96b6b;
    color: var(--wp--preset--color--dark, #1a1a25);
}

.aob-clear-modal-confirm svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

@media (max-width: 480px) {
    .aob-clear-modal-actions {
        flex-direction: column-reverse;
        width: 100%;
    }

    .aob-clear-modal-actions .btn {
        width: 100%;
    }
}

/* ── Sidebar totals ──────────────────────────────────────────────────── */

.aob-cart-totals {
    background: var(--wp--preset--color--white);
    border: 1px solid var(--wp--preset--color--neutral-150, #e4e4ea);
    border-radius: 16px;
    overflow: hidden;
    padding: 0 24px;
}

.aob-cart-totals__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.aob-cart-totals__label {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--wp--preset--color--neutral-300, #747481);
    padding: 24px 0 24px;
    margin: 0;
    display: block;
}

.aob-cart-totals__toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: var(--wp--preset--color--neutral-300, #747481);
    flex-shrink: 0;
    margin-top: 0;
    transition: color 0.15s;
}

.aob-cart-totals__toggle:hover {
    color: var(--wp--preset--color--black);
}

.aob-cart-totals__toggle svg {
    transition: transform 0.2s;
}

.aob-cart-totals.is-collapsed .aob-cart-totals__toggle svg {
    transform: rotate(180deg);
}

.aob-cart-totals.is-collapsed .aob-cart-totals__body {
    display: none;
}

/* â”€â”€ Item list â”€â”€ */

.aob-cart-totals__items {
    padding: 16px 0;
    border-top: 1px solid var(--wp--preset--color--neutral-150, #e4e4ea);
    border-bottom: 1px solid var(--wp--preset--color--neutral-150, #e4e4ea);
    margin-top: 16px;
}

.aob-cart-totals__item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--wp--preset--color--neutral-150, #e4e4ea);
}

.aob-cart-totals__item:last-child {
    border-bottom: none;
}

/* Left: name + subtitle + addons */

.aob-cart-totals__item-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

.aob-cart-totals__item-name {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: var(--wp--preset--color--black);
}

.aob-cart-totals__item-sub,
.aob-cart-totals__addon-row {
    font-size: 12px;
    font-weight: 300;
    line-height: 16px;
    color: var(--wp--preset--color--neutral-300, #747481);
}

.aob-cart-totals__addon-row {
    color: var(--wp--preset--color--black);
}

/* Right: netto + brutto stacked */

.aob-cart-totals__item-prices {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    flex-shrink: 0;
    text-align: right;
}

.aob-cart-totals__item-netto {
    font-size: 14px;
    font-weight: 400;
    color: var(--wp--preset--color--black);
    white-space: nowrap;
    display: flex;
    align-items: flex-end;
    gap: 6px;
}

.aob-cart-totals__item-brutto {
    font-size: 12px;
    font-weight: 300;
    color: var(--wp--preset--color--neutral-300, #747481);
    white-space: nowrap;
}

.aob-cart-totals__item-brutto strong {
    font-weight: 400;
}

/* "netto" inline label */

.aob-cart-totals__price-label {
    font-size: 12px;
    font-weight: 300;
    color: var(--wp--preset--color--black)
}

/* â”€â”€ Summary rows â”€â”€ */

/* Shipping row â€” between items and summary */

.aob-cart-totals__shipping-row {
    padding: 16px 0 0;
    border-bottom: 1px solid var(--wp--preset--color--neutral-150, #e4e4ea);
    padding-bottom: 16px;
}

.aob-cart-totals__shipping-row .aob-cart-totals__row strong {
    font-weight: 400;
}

.aob-cart-totals__summary {
    padding: 16px 0 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.aob-cart-totals__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 14px;
    font-weight: 300;
    color: var(--wp--preset--color--black);
    line-height: 20px;
}

.aob-cart-totals__row strong {
    font-weight: 300;
    color: var(--wp--preset--color--black);
}

/* Coupon discount row */
.aob-cart-totals__row--coupon {
    font-weight: 400;
    color: #2d845c;
}

.aob-cart-totals__row--coupon strong {
    font-weight: 400;
    color: #2d845c;
}

.aob-coupon-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    margin-left: 4px;
    padding: 0;
    background: none;
    border: 1px solid #2d845c;
    border-radius: 50%;
    color: #2d845c;
    font-size: 12px;
    line-height: 1;
    cursor: pointer;
    vertical-align: middle;
    transition: background 0.15s, color 0.15s;
}

.aob-coupon-remove:hover {
    background: #2d845c;
    color: var(--wp--preset--color--white);
}

.aob-coupon-remove:disabled {
    opacity: 0.5;
    pointer-events: none;
}

.aob-cart-totals__total {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding-top: 16px;
    margin-top: 4px;
    border-top: 1px solid var(--wp--preset--color--neutral-150, #e4e4ea);
}

.aob-cart-totals__total-label {
    font-size: 16px;
    font-weight: 700;
    color: var(--wp--preset--color--black);
    line-height: 24px;
    flex-shrink: 0;
}

.aob-cart-totals__total-prices {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.aob-cart-totals__total-netto {
    font-size: 16px;
    font-weight: 700;
    color: var(--wp--preset--color--black);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
}

.aob-cart-totals__total-netto .aob-cart-totals__price-label {
    font-size: 16px;
    font-weight: 300;
}

.aob-cart-totals__total-brutto {
    font-size: 12px;
    font-weight: 300;
    color: var(--wp--preset--color--neutral-300, #747481);
    white-space: nowrap;
}

.aob-cart-totals__total-brutto strong {
    font-weight: 700;
}

/* â”€â”€ Coupon box â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.aob-cart-coupon-box {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: #faf8ff;
    border: 1px solid var(--wp--preset--color--purple-100);
    border-radius: 4px;
    font-size: 14px;
    font-weight: 400;
    color: var(--wp--preset--color--purple-500);
    line-height: 20px;
    margin-top: 24px;
}

.aob-cart-coupon-box svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--wp--preset--color--purple-500);
    margin-top: 1px;
}

.aob-cart-coupon-box a {
    color: inherit;
    font-weight: 400;
    text-decoration: none;
}

.aob-cart-coupon-box a:hover {
    text-decoration: underline;
}

/* Mobile sidebar checkout â€” sticky bar at the bottom */

.aob-cart-sidebar__checkout-mobile {
    display: none;
    width: 100%;
    justify-content: center;
}

/* â”€â”€ Mobile â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

@media (max-width: 1199px) {
    .aob-cart-layout {
        grid-template-columns: 1fr 380px;
        gap: 32px;
    }
}

@media (max-width: 991px) {
    .aob-cart-layout {
        grid-template-columns: 1fr;
        gap: 24px;
        padding-bottom: 48px;
    }

    .aob-cart-main {
        order: 1;
    }

    .aob-cart-sidebar {
        order: 2;
        position: static;
    }

    .aob-cart-footer {
        order: 3;
        display: none;
    }

    .aob-cart-sidebar__checkout-mobile {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 100;
        border-radius: 0;
        padding: 16px 24px;
        box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.10);
    }

    /* Accordion toggle visible on mobile */
    .aob-cart-totals__toggle {
        display: flex;
    }

    /* Bottom padding so content isn't hidden under sticky button */
    .woocommerce-cart .woocommerce {
        padding-bottom: 80px;
    }

    .aob-cart-item {
        flex-wrap: wrap;
        padding: 16px 20px;
    }

    .aob-cart-item__thumb {
        width: 80px;
        height: 64px;
        margin-right: 16px;
    }

    .aob-cart-item__body {
        flex: 1;
        margin-right: 0;
        min-width: 0;
    }

    .aob-cart-item__right {
        width: 100%;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        align-self: auto;
        margin-top: 12px;
        min-width: auto;
    }

    .aob-cart-footer__checkout {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 575px) {
    .aob-cart-item__thumb {
        width: 64px;
        height: 56px;
    }

    .aob-cart-items {
        border-radius: 12px;
    }
}

@media (max-width: 767px) {

    /* Hide thumbnail on phone */
    .aob-cart-item__thumb {
        display: none;
    }

    /* Body fills full width of row 1; leave right gap for abs remove button */
    .aob-cart-item__body {
        padding-right: 40px;
    }

    /* Remove button: pull out of bottom row and pin to top-right */
    .aob-cart-item {
        position: relative;
    }

    .aob-cart-item__remove,
    .aob-cart-item .remove.aob-cart-item__remove {
        position: absolute !important;
        top: 16px !important;
        right: 20px !important;
        padding: 0 !important;
        gap: 0 !important;
    }

    /* Show icon only â€” hide "UsuĹ„" text */
    .aob-cart-item__remove span,
    .aob-cart-item .remove.aob-cart-item__remove span {
        display: none !important;
    }
}

/* â”€â”€ Cart update loader â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.aob-cart-layout {
    position: relative;
}

.aob-cart-layout::after {
    content: '';
    display: none;
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.6);
    z-index: 10;
    border-radius: 16px;
}

body.aob-cart-updating .aob-cart-layout::after {
    display: block;
}

body.aob-cart-updating .aob-cart-layout::before {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 11;
    width: 32px;
    height: 32px;
    margin: -16px 0 0 -16px;
    border: 3px solid #e4e4ea;
    border-top-color: var(--wp--preset--color--purple-500);
    border-radius: 50%;
    animation: aob-cart-spin 0.7s linear infinite;
    pointer-events: none;
}

@keyframes aob-cart-spin {
    to {
        transform: rotate(360deg);
    }
}

/* â”€â”€ Empty cart â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.aob-cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 80px 24px;
    max-width: 480px;
    margin: 0 auto;
}

.aob-cart-empty__icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--wp--preset--color--neutral-100, #f5f5fc);
    border-radius: 50%;
    color: var(--wp--preset--color--neutral-300, #747481);
    margin-bottom: 24px;
}

.aob-cart-empty__icon svg {
    width: 36px;
    height: 36px;
}

.aob-cart-empty__title {
    font-size: 28px;
    font-weight: 400;
    color: var(--wp--preset--color--black);
    margin: 0 0 12px;
    line-height: 1.2;
}

.aob-cart-empty__desc {
    font-size: 15px;
    font-weight: 300;
    line-height: 24px;
    color: var(--wp--preset--color--neutral-300, #747481);
    margin: 0 0 32px;
}

.aob-cart-empty__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* â”€â”€ WC notices â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.woocommerce-cart .woocommerce-notices-wrapper {
    grid-column: 1 / -1;
    margin-bottom: 8px;
}

/* â”€â”€ Cross-sells (below cart) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.aob-cart-cross-sells {
    background: var(--wp--preset--color--white);
    padding: 64px 0 80px;
    width: 100vw;
    margin: 0 auto;
}

/* Header */

.aob-cart-cross-sells__head {
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.aob-cart-cross-sells__eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--wp--preset--color--purple-500);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.04em;
}

.aob-cart-cross-sells__eyebrow svg {
    flex-shrink: 0;
}

.aob-cart-cross-sells__title {
    font-size: 32px;
    font-weight: 400;
    line-height: 1.15;
    color: var(--wp--preset--color--black, #1a1a25);
    margin: 0;
}

.aob-cart-cross-sells__desc {
    font-size: 16px;
    font-weight: 300;
    line-height: 24px;
    color: var(--wp--preset--color--dark);
    margin: 0;
}

/* Slider outer â€” extra horizontal margin makes room for absolute arrow buttons */

.aob-cart-cross-sells__slider-outer {
    position: relative;
    margin-left: 0;
    margin-right: 0;
}

.aob-cs-swiper-clip {
    overflow: hidden;
    /* vertical padding lets card box-shadows breathe inside the clip boundary */
    padding: 12px 16px;
    margin: -12px 0;
}

/* Swiper overflow:visible so card shadows escape the swiper container
   and become visible within the clip's padding area */
.aob-cart-cross-swiper {
    width: 100%;
    overflow: visible !important;
}

/* Nav buttons â€” position:absolute, vertically centered, outside the swiper clip */

.aob-cart-cross-sells__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 40px;
    height: 40px;
    background: #1a1a24;
    border: 1px solid #1a1a24;
    border-radius: 4px;
    color: var(--wp--preset--color--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.15s, background 0.15s;
    padding: 0;
}

.aob-cart-cross-sells__nav--prev {
    left: -64px;
}

.aob-cart-cross-sells__nav--next {
    right: -64px;
}

.aob-cart-cross-sells__nav:hover {
    background: var(--wp--preset--color--dark);
    border-color: var(--wp--preset--color--dark);
}

.aob-cart-cross-sells__nav.swiper-button-disabled {
    opacity: 0;
    pointer-events: none;
}

/* Static mode â€” products fit without sliding */
.aob-cart-cross-sells.is-static .aob-cart-cross-sells__nav,
.aob-cart-cross-sells.is-static .aob-cs-pagination {
    display: none;
}

.aob-cart-cross-sells.is-static .aob-cs-swiper-clip {
    overflow: visible;
}

.aob-cart-cross-sells.is-static .aob-cart-cross-swiper,
.aob-cart-cross-sells.is-static .swiper-wrapper {
    display: flex;
    gap: 32px;
    overflow: visible;
    width: 100%;
}

.aob-cart-cross-sells.is-static .swiper-slide {
    flex: 1;
    width: auto;
}

/* Pagination dots */

.aob-cs-pagination {
    display: none;
    justify-content: center;
    gap: 6px;
    padding-top: 20px;
}

.aob-cs-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--wp--preset--color--neutral-200);
    cursor: pointer;
    transition: background 0.2s;
}

.aob-cs-dot--active {
    background: var(--wp--preset--color--purple-500);
}

/* Card */

.aob-cs-card {
    background: var(--wp--preset--color--white);
    border-radius: 4px;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.aob-cs-card__img-wrap {
    padding: 16px 16px 0;
    flex-shrink: 0;
}

.aob-cs-card__img-wrap>a {
    display: block;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 416 / 224;
    display: flex;
    align-items: center;
    justify-content: center;
}

.aob-cs-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.aob-cs-card--book .aob-cs-card__img {
    width: auto;
    height: 100%;
    object-fit: contain;
}

.aob-cs-card__sale-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 1;
}

.aob-cs-card__body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
}

.aob-cs-card__type {
    font-size: 12px;
    font-weight: 400;
    color: var(--wp--preset--color--neutral-300);
    letter-spacing: 0.05em;
    line-height: 1;
    display: block;
}

.aob-cs-card__title-link {
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
    color: var(--wp--preset--color--black);
    text-decoration: none;
    display: block;
}

.aob-cs-card__title-link:hover {
    text-decoration: underline;
}

/* Price */

.aob-cs-card__price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    margin-top: auto;
}

.aob-cs-card__price-netto-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.aob-cs-card__price-reg {
    font-size: 14px;
    font-weight: 400;
    color: var(--wp--preset--color--neutral-300);
    text-decoration: line-through;
}

.aob-cs-card__price-netto {
    font-size: 16px;
    font-weight: 400;
    color: var(--wp--preset--color--black);
    white-space: nowrap;
}

.aob-cs-card__price-suffix {
    font-size: 14px;
    font-weight: 300;
    color: var(--wp--preset--color--black);
}

.aob-cs-card__price-brutto {
    font-size: 12px;
    font-weight: 300;
    color: var(--wp--preset--color--neutral-300);
    white-space: nowrap;
}

/* Button */

.aob-cs-card__btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    padding: 11px 32px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 20px !important;
    color: var(--wp--preset--color--dark) !important;
    background: transparent !important;
    border: 1px solid var(--wp--preset--color--dark) !important;
    border-radius: 0 !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: background 0.15s, color 0.15s !important;
    box-shadow: none !important;
    white-space: nowrap !important;
}

.aob-cs-card__btn:hover,
.aob-cs-card__btn:focus {
    background: var(--wp--preset--color--dark) !important;
    color: var(--wp--preset--color--white) !important;
}

.aob-cs-card__btn svg {
    flex-shrink: 0;
}

/* Book author */

.aob-cs-card__author {
    font-size: 14px;
    font-weight: 300;
    line-height: 20px;
    color: var(--wp--preset--color--neutral-300);
    margin: -8px 0 0;
}

.aob-cart-item__author {
    font-size: 14px;
    font-weight: 300;
    line-height: 20px;
    color: var(--wp--preset--color--neutral-300);
    margin: 0;
}

/* At 991px the container padding (32px) can no longer absorb 64px arrows â€”
   tighten margin and offset so buttons stay within the container */
@media (max-width: 991px) {
    .aob-cart-cross-sells__nav--prev {
        left: -48px;
    }

    .aob-cart-cross-sells__nav--next {
        right: -48px;
    }
}

@media (max-width: 767px) {
    .aob-cart-cross-sells {
        padding: 48px 0 80px;
    }

    .aob-cart-cross-sells__title {
        font-size: 24px;
    }

    /* Mobile: no margin (slider fills container), no arrows, show dots */
    .aob-cart-cross-sells__slider-outer {
        margin-left: 0;
        margin-right: 0;
    }

    .aob-cart-cross-sells__nav {
        display: none;
    }

    .aob-cs-pagination {
        display: flex;
    }

    /* Allow peek of next card â€” clip must not hide horizontal overflow */
    .aob-cs-swiper-clip {
        overflow: visible;
    }
}

/* â”€â”€ Participants button in cart item â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.aob-cart-item__qty--participants {
    display: flex;
    align-items: center;
    gap: 12px;
}

.aob-cart-item__participants-count {
    font-size: 14px;
    font-weight: 400;
    color: var(--wp--preset--color--black);
    white-space: nowrap;
}

.aob-cart-item__participants-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    /* width: 36px; */
    height: 36px;
    border: 1px solid var(--wp--preset--color--neutral-200, #c5c5cd);
    border-radius: 4px;
    background: var(--wp--preset--color--white);
    cursor: pointer;
    color: var(--wp--preset--color--neutral-300, #747481);
    flex-shrink: 0;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.aob-cart-item__participants-btn:hover {
    background: var(--wp--preset--color--neutral-100, #f5f5fc);
    color: var(--wp--preset--color--black);
    border-color: var(--wp--preset--color--neutral-300, #747481);
}

.aob-cart-item__participants-btn svg {
    width: 16px;
    height: 16px;
}

/* â”€â”€ Participants modal â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.aob-participants-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.aob-participants-modal[hidden] {
    display: flex;
}

.aob-participants-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}

.aob-pm-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(26, 26, 37, 0.8);
}

.aob-pm-dialog {
    position: relative;
    background: var(--wp--preset--color--white);
    border-radius: 4px;
    width: min(840px, 100%);
    max-height: calc(100vh - 48px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.2);
    transform: translateY(12px);
    transition: transform 0.25s ease;
}

.aob-participants-modal.is-open .aob-pm-dialog {
    transform: translateY(0);
}

/* Header */

.aob-pm-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 0 20px;
    flex-shrink: 0;
    margin: 0 24px;
    border-bottom: 1px solid var(--wp--preset--color--neutral-300);
}

.aob-pm-title {
    font-size: 24px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--wp--preset--color--black, #1a1a25);
    margin: 0;
}

.aob-pm-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    color: var(--wp--preset--color--black);
    flex-shrink: 0;
    transition: background 0.15s;
    margin-top: -2px;
}

.aob-pm-close:hover {
    background: var(--wp--preset--color--neutral-100, #f5f5fc);
}

/* Scrollable body */

.aob-pm-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Footer */

.aob-pm-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    padding: 16px 0;
    margin: 0 24px;
    flex-shrink: 0;
    border-top: 1px solid var(--wp--preset--color--neutral-300);
}

.aob-pm-cancel {
    background: none;
    border: 1px solid var(--wp--preset--color--dark, #2e2e39);
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 700;
    color: var(--wp--preset--color--dark, #2e2e39);
    cursor: pointer;
    transition: background 0.15s;
    line-height: 20px;
}

.aob-pm-cancel:hover {
    background: var(--wp--preset--color--neutral-100);
}

.aob-pm-save {
    background: var(--wp--preset--color--yellow);
    border: none;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 700;
    color: var(--wp--preset--color--dark);
    cursor: pointer;
    transition: background 0.15s;
    line-height: 20px;
}

.aob-pm-save:hover {
    background: #e6ce00;
}

.aob-pm-save:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* â”€â”€ Per-product section â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.aob-pm-product {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.aob-pm-product__header {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 42px;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: var(--wp--preset--color--black, #1a1a25);
}

.aob-pm-product__header svg {
    flex-shrink: 0;
    color: var(--wp--preset--color--purple, #430b8e);
}

/* â”€â”€ Participant cards â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.aob-pm-participants {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.aob-pm-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border: 1px solid var(--wp--preset--color--neutral-150, #e4e4ea);
    border-radius: 4px;
    background: var(--wp--preset--color--white);
}

.aob-pm-card__avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #ffeaf4;
    border-radius: 4px;
    flex-shrink: 0;
    color: var(--wp--preset--color--pink-500);
}

.aob-pm-card__info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

.aob-pm-card__name {
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    color: var(--wp--preset--color--black, #1a1a25);
}

.aob-pm-card__email {
    font-size: 12px;
    font-weight: 300;
    line-height: 16px;
    color: var(--wp--preset--color--dark, #2e2e39);
}

.aob-pm-card__actions {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.aob-pm-card__edit,
.aob-pm-card__delete {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 11px 16px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    color: var(--wp--preset--color--neutral-300, #747481);
    transition: color 0.15s;
    white-space: nowrap;
}

.aob-pm-card__edit:hover,
.aob-pm-card__delete:hover {
    color: var(--wp--preset--color--black);
}

.aob-pm-card__edit svg,
.aob-pm-card__delete svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* â”€â”€ Add participant button â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.aob-pm-add-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 32px;
    border: 1px solid var(--wp--preset--color--dark, #2e2e39);
    background: none;
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    color: var(--wp--preset--color--dark, #2e2e39);
    cursor: pointer;
    transition: background 0.15s;
    margin-top: 16px;
    max-width: fit-content;
}

.aob-pm-add-btn:hover:not(:disabled) {
    background: var(--wp--preset--color--neutral-100);
}

.aob-pm-add-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.aob-pm-add-btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* â”€â”€ Add / Edit form â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.aob-pm-form {
    border: 1px solid var(--wp--preset--color--neutral-150, #e4e4ea);
    border-radius: 4px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 8px;
}

.aob-pm-form__title {
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
    color: var(--wp--preset--color--black, #1a1a25);
    margin: 0;
}

.aob-pm-form__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 24px;
    row-gap: 16px;
}

.aob-pm-form__field {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.aob-pm-form__label {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    font-weight: 300;
    line-height: 20px;
    color: rgba(26, 26, 37, 0.5);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    pointer-events: none;
    transition: top 0.15s ease, font-size 0.15s ease, transform 0.15s ease, color 0.15s ease, line-height 0.15s ease;
}

.aob-pm-form__select+.aob-pm-form__label {
    right: 36px;
}

.aob-pm-form__req {
    color: #ff2126;
}

.aob-pm-form__input {
    width: 100%;
    height: 56px;
    padding: 0 16px;
    border: 1px solid var(--wp--preset--color--neutral-150, #e4e4ea);
    border-radius: 4px;
    font-size: 14px;
    font-weight: 300;
    color: var(--wp--preset--color--black, #1a1a25);
    background: var(--wp--preset--color--white);
    outline: none;
    transition: border-color 0.15s, padding-top 0.15s ease, padding-bottom 0.15s ease;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
    font-family: inherit;
}

.aob-pm-form__input:focus {
    border-color: var(--wp--preset--color--dark, #2e2e39);
}

/* Browser autofill — force the field's own (white) background back instead
   of the browser's pale-yellow one; see assets/css/style.css for the same
   fix on the dark-background forms. */
.aob-pm-form__input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px var(--wp--preset--color--white, #fff) inset !important;
    -webkit-text-fill-color: var(--wp--preset--color--black, #1a1a25) !important;
}

.aob-pm-form__input:autofill {
    box-shadow: 0 0 0 1000px var(--wp--preset--color--white, #fff) inset !important;
    -webkit-text-fill-color: var(--wp--preset--color--black, #1a1a25) !important;
}

.aob-pm-form__input:not(.aob-pm-form__select):focus,
.aob-pm-form__input:not(.aob-pm-form__select):not(:placeholder-shown),
.aob-pm-form__field--floated .aob-pm-form__select {
    padding-top: 18px;
    padding-bottom: 0;
}

.aob-pm-form__input:not(.aob-pm-form__select):focus+.aob-pm-form__label,
.aob-pm-form__input:not(.aob-pm-form__select):not(:placeholder-shown)+.aob-pm-form__label,
.aob-pm-form__field--floated .aob-pm-form__label {
    top: 10px;
    transform: none;
    font-size: 10px;
    line-height: 12px;
    color: rgba(26, 26, 37, 0.7);
}

.aob-pm-form__input--error {
    border-color: #fc8181 !important;
}

.aob-pm-form__tip {
    display: block;
    margin-top: 0;
    font-size: 12px;
    font-weight: 300;
    line-height: 16px;
    color: #fc8181;
    position: absolute;
    top: 100%;
}

.aob-pm-form__select {
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%231a1a25' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 20px;
    padding-right: 48px;
    cursor: pointer;
}

.aob-pm-form__actions {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: flex-end;
}

.aob-pm-form__cancel {
    background: none;
    border: 1px solid var(--wp--preset--color--dark, #2e2e39);
    padding: 11px 32px;
    font-size: 14px;
    font-weight: 700;
    color: var(--wp--preset--color--dark, #2e2e39);
    cursor: pointer;
    transition: background 0.15s;
    line-height: 20px;
    font-family: inherit;
}

.aob-pm-form__cancel:hover {
    background: var(--wp--preset--color--neutral-100);
}

.aob-pm-form__submit {
    background: var(--wp--preset--color--yellow);
    border: none;
    padding: 11px 32px;
    font-size: 14px;
    font-weight: 700;
    color: var(--wp--preset--color--dark);
    cursor: pointer;
    transition: background 0.15s;
    line-height: 20px;
    font-family: inherit;
}

.aob-pm-form__submit:hover {
    background: #e6ce00;
}

/* â”€â”€ Mobile adjustments â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

@media (max-width: 767px) {
    .aob-participants-modal {
        padding: 0;
        align-items: flex-end;
    }

    .aob-pm-dialog {
        width: 100%;
        max-height: 92vh;
        border-radius: 16px 16px 0 0;
    }

    /* Drag handle */
    .aob-pm-dialog::before {
        content: '';
        display: block;
        width: 48px;
        height: 4px;
        background: var(--wp--preset--color--neutral-200, #c5c5cd);
        border-radius: 2px;
        margin: 12px auto 0;
        flex-shrink: 0;
    }

    .aob-pm-header {
        padding-top: 12px;
    }

    /* Form: single column */
    .aob-pm-form__grid {
        grid-template-columns: 1fr;
    }

    /* Card: wrap so actions go to second row */
    .aob-pm-card {
        flex-wrap: wrap;
        row-gap: 4px;
    }

    .aob-pm-card__actions {
        flex-basis: 100%;
        flex-direction: row;
        justify-content: flex-end;
        margin-right: -16px;
    }

    /* Add button: full width */
    .aob-pm-add-btn {
        width: 100%;
        justify-content: center;
    }
}

/* â”€â”€ Participants modal â€” select styling â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.aob-pm-form__select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 6L8 10L12 6' stroke='%23747481' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
    cursor: pointer;
}

/* â”€â”€ Participants modal â€” tooltip â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.aob-pm-tooltip-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-left: 4px;
    color: var(--wp--preset--color--neutral-300);
    cursor: pointer;
    vertical-align: middle;
}

.aob-pm-tooltip-wrap svg {
    flex-shrink: 0;
}

.aob-pm-tooltip-tip {
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: #1a1a2e;
    color: var(--wp--preset--color--white);
    font-size: 12px;
    line-height: 1.4;
    padding: 8px 10px;
    border-radius: 6px;
    white-space: nowrap;
    max-width: 240px;
    white-space: normal;
    z-index: 10;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.aob-pm-tooltip-tip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #1a1a2e;
}

.aob-pm-tooltip-wrap:hover .aob-pm-tooltip-tip,
.aob-pm-tooltip-wrap:focus .aob-pm-tooltip-tip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* â”€â”€ Participants modal â€” input with inline icon â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.aob-pm-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.aob-pm-input-wrap>.aob-pm-form__input {
    flex: 1;
    padding-right: 40px;
}

.aob-pm-input-wrap>.aob-pm-tooltip-wrap {
    position: absolute;
    right: 12px;
    margin-left: 0;
}

.aob-pm-input-wrap .aob-pm-tooltip-tip {
    left: auto;
    right: 0;
    transform: none;
}

.aob-pm-input-wrap .aob-pm-tooltip-tip::after {
    left: auto;
    right: 7px;
    transform: none;
}

.woocommerce-cart .woocommerce.wp-block-group {
    overflow: hidden;
}


/* -- Book variant popup ---------------------------------------------------- */

.aob-cs-book-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.aob-cs-book-modal[hidden] {
    display: flex;
}

.aob-cs-book-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}

.aob-cs-book-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 26, 37, 0.8);
}

.aob-cs-book-modal__panel {
    position: relative;
    width: calc(100% - 32px);
    max-width: 720px;
    background: var(--wp--preset--color--white);
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    max-height: 90dvh;
    overflow: hidden;
    transform: translateY(12px);
    transition: transform 0.25s ease;
}

.aob-cs-book-modal.is-open .aob-cs-book-modal__panel {
    transform: translateY(0);
}

.aob-cs-book-modal__handle {
    display: none;
}

.aob-cs-book-modal__inner {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    overscroll-behavior: contain;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Header */
.aob-cs-book-modal__head {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 8px;
}

.aob-cs-book-modal__title {
    font-size: 24px;
    font-weight: 400;
    color: var(--wp--preset--color--black);
    margin: 0;
    flex: 1;
}

.aob-cs-book-modal__close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 2px;
    color: var(--wp--preset--color--black);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 4px;
}

.aob-cs-book-modal__close:hover {
    opacity: 0.6;
}

.aob-cs-book-modal__divider {
    width: 100%;
    height: 1px;
    background: #e4e4ea;
}

/* Product row */
.aob-cs-book-modal__product-row {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.aob-cs-book-modal__img {
    width: 120px;
    height: 90px;
    object-fit: contain;
    border-radius: 4px;
    background: #d9d9d9;
    flex-shrink: 0;
    display: block;
}

.aob-cs-book-modal__img[hidden] {
    display: none;
}

.aob-cs-book-modal__product-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.aob-cs-book-modal__type {
    font-size: 12px;
    color: var(--wp--preset--color--neutral-300);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.aob-cs-book-modal__name {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: var(--wp--preset--color--black);
    margin: 0;
}

.aob-cs-book-modal__author {
    font-size: 14px;
    font-weight: 300;
    line-height: 20px;
    color: var(--wp--preset--color--neutral-300);
    margin: 0;
}

.aob-cs-book-modal__shipping {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(139, 92, 246, 0.05);
    border: 1px solid #e0d7f6;
    color: var(--wp--preset--color--purple);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 6px;
    border-radius: 4px;
    max-width: fit-content;
}

.aob-cs-book-modal__shipping[hidden] {
    display: none;
}

/* Aside: qty + price */
.aob-cs-book-modal__product-aside {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
}

.aob-cs-book-modal__qty-ctrl {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    border: 1px solid var(--wp--preset--color--neutral-200);
    border-radius: 4px;
    padding: 12px;
}

.aob-cs-book-modal__qty-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--wp--preset--color--black);
}

.aob-cs-book-modal__qty-btn:disabled {
    opacity: 0.3;
    cursor: default;
}

.aob-cs-book-modal__qty-val {
    font-size: 14px;
    color: var(--wp--preset--color--black);
    min-width: 16px;
    text-align: center;
}

.aob-cs-book-modal__price {
    text-align: right;
}

.aob-cs-book-modal__price-netto {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 16px;
    color: var(--wp--preset--color--black);
    line-height: 24px;
}

.aob-cs-book-modal__price-label {
    font-size: 14px;
    font-weight: 300;
}

.aob-cs-book-modal__price-brutto {
    font-size: 12px;
    font-weight: 300;
    color: var(--wp--preset--color--black);
}

/* Options row */
.aob-cs-book-modal__options-row {
    display: flex;
    gap: 16px;
    align-items: stretch;
}

.aob-cs-book-modal__select-wrap {
    flex: 0 0 calc(50% - 8px);
    max-width: calc(50% - 8px);
    min-width: 0;
}

.aob-cs-book-modal__select-inner {
    position: relative;
}

.aob-cs-book-modal__select {
    width: 100%;
    height: 56px;
    border: 1px solid #e4e4ea;
    border-radius: 4px;
    padding: 0 44px 0 14px;
    font-size: 14px;
    font-weight: 300;
    color: var(--wp--preset--color--black);
    background: var(--wp--preset--color--white);
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    outline: none;
}

.aob-cs-book-modal__select:focus {
    border-color: var(--wp--preset--color--purple-500);
}

.aob-cs-book-modal__select-chevron {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--wp--preset--color--black);
}

.aob-cs-book-modal__checkbox-wrap {
    flex: 1;
    min-width: 0;
    border: 1px solid #e4e4ea;
    border-radius: 4px;
    padding: 16px;
    display: flex;
    align-items: center;
}

.aob-cs-book-modal__checkbox-wrap[hidden] {
    display: none;
}

.aob-cs-book-modal__checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: var(--wp--preset--color--black);
    user-select: none;
    margin: 0;
}

.aob-cs-book-modal__checkbox {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    cursor: pointer;
    accent-color: var(--wp--preset--color--purple-500);
}

.aob-cs-book-modal__error {
    font-size: 13px;
    color: #d63031;
    margin: -16px 0 0;
}

.aob-cs-book-modal__error[hidden] {
    display: none;
}

/* Bottom bar */
.aob-cs-book-modal__bar {
    flex-shrink: 0;
    padding: 16px 24px;
    border-top: 1px solid #e4e4ea;
    display: flex;
    gap: 16px;
    justify-content: flex-end;
    background: var(--wp--preset--color--white);
}

.aob-cs-book-modal__btn {
    height: 48px;
    padding: 0 32px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    border-radius: 0;
    white-space: nowrap;
}

.aob-cs-book-modal__btn--cancel {
    border: 1px solid var(--wp--preset--color--dark);
    background: var(--wp--preset--color--white);
    color: var(--wp--preset--color--dark);
}

.aob-cs-book-modal__btn--add {
    border: none;
    background: var(--wp--preset--color--yellow);
    color: var(--wp--preset--color--dark);
}

.aob-cs-book-modal__btn--add:disabled {
    opacity: 0.6;
    cursor: default;
}

/* Mobile adjustments (still centered, not bottom sheet) */
@media (max-width: 599px) {
    .aob-cs-book-modal__panel {
        width: calc(100% - 24px);
        max-width: 100%;
        border-radius: 8px;
        max-height: 92dvh;
    }

    .aob-cs-book-modal__inner {
        padding: 16px;
        gap: 16px;
    }

    .aob-cs-book-modal__img {
        display: none !important;
    }

    .aob-cs-book-modal__product-row {
        flex-wrap: wrap;
    }

    .aob-cs-book-modal__product-info {
        width: 100%;
    }

    .aob-cs-book-modal__product-aside {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .aob-cs-book-modal__options-row {
        flex-direction: column;
    }

    .aob-cs-book-modal__select-wrap {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .aob-cs-book-modal__bar {
        padding: 12px 16px max(12px, env(safe-area-inset-bottom));
        justify-content: stretch;
    }

    .aob-cs-book-modal__btn {
        flex: 1;
        padding: 0 16px;
    }
}

/* -- Cross-sell: always fixed-column layout in static mode ----------------- */

@media (min-width: 1200px) {
    .aob-cart-cross-sells.is-static .swiper-slide {
        flex: 0 0 calc(25% - 24px);
        max-width: calc(25% - 24px);
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .aob-cart-cross-sells.is-static .swiper-slide {
        flex: 0 0 calc(33.333% - 19px);
        max-width: calc(33.333% - 19px);
    }
}

@media (min-width: 576px) and (max-width: 991px) {
    .aob-cart-cross-sells.is-static .swiper-slide {
        flex: 0 0 calc(50% - 12px);
        max-width: calc(50% - 12px);
    }
}

/* ── Cart item: nagrania sub-row ───────────────────────────────────────────── */

.aob-cart-item__nagrania {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: var(--wp--preset--color--neutral-100);
    border-radius: 4px;
    padding: 8px 16px;
    margin-top: 4px;
}

.aob-cart-item__nagrania-left {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    flex: 1 1 0;
    min-width: 0;
}

.aob-cart-item__nagrania-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.aob-cart-item__nagrania-modules {
    font-size: 12px;
    font-weight: 300;
    color: var(--wp--preset--color--neutral-300, #747481);
}

.aob-cart-item__nagrania-icon {
    flex-shrink: 0;
    color: var(--wp--preset--color--purple-500);
}

.aob-cart-item__nagrania-label {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: var(--wp--preset--color--black);
    white-space: nowrap;
}

.aob-cart-item__nagrania-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    flex-shrink: 0;
}

.aob-cart-item__nagrania-netto {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: var(--wp--preset--color--black);
    white-space: nowrap;
}

.aob-cart-item__nagrania-unit {
    font-weight: 300;
}

.aob-cart-item__nagrania-brutto {
    font-size: 12px;
    font-weight: 300;
    line-height: 16px;
    color: var(--wp--preset--color--neutral-300);
    white-space: nowrap;
}

/* ═══════════════════════════════════════════════════════════════════════
   Dark mode
   ═══════════════════════════════════════════════════════════════════════ */

html[data-theme="dark"] body.woocommerce-cart,
html[data-theme="dark"] body.woocommerce-cart .woo-content {
    background-color: var(--wp--preset--color--black, #1A1A25);
}

html[data-theme="dark"] .aob-cart-headline__title,
html[data-theme="dark"] .aob-cart-headline__desc {
    color: var(--wp--preset--color--white);
}

/* ── Cart items card ─────────────────────────────────────────────────── */

html[data-theme="dark"] .aob-cart-items,
html[data-theme="dark"] .aob-cart-item {
    background: rgba(255, 255, 255, .03);
    border-color: rgba(255, 255, 255, .12);
}

html[data-theme="dark"] .aob-cart-item__thumb {
    background: rgba(255, 255, 255, .06);
}

html[data-theme="dark"] .aob-cart-item__type,
html[data-theme="dark"] .aob-cart-item__caption,
html[data-theme="dark"] .aob-cart-item__author,
html[data-theme="dark"] .fc-cart-meta,
html[data-theme="dark"] .aob-cart-item__body dl.variation dt {
    color: rgba(255, 255, 255, .5);
}

html[data-theme="dark"] .aob-cart-item__title,
html[data-theme="dark"] .aob-cart-item__body dl.variation dd,
html[data-theme="dark"] .fc-cart-qty,
html[data-theme="dark"] .aob-cart-item__qty .fc-cart-qty,
html[data-theme="dark"] .aob-cart-item__desc-text,
html[data-theme="dark"] .aob-cart-item__participants-count {
    color: var(--wp--preset--color--white);
}

html[data-theme="dark"] .aob-cart-item__bullet {
    background-color: var(--wp--preset--color--yellow, #FFE500);
}

html[data-theme="dark"] .aob-cart-item__nagrania-icon {
    color: var(--wp--preset--color--yellow, #FFE500);
}

html[data-theme="dark"] .aob-cart-item__badge {
    background: rgba(139, 92, 246, .12);
    border-color: rgba(139, 92, 246, .35);
    color: #c9aef9;
}

html[data-theme="dark"] .fc-cart-meta a.fc-cart-edit-link {
    color: var(--wp--preset--color--yellow, #FFE500);
}

html[data-theme="dark"] .aob-cart-item__desc-box,
html[data-theme="dark"] .aob-cart-item__nagrania {
    background: rgba(255, 255, 255, .06);
}

html[data-theme="dark"] .aob-cart-item__nagrania-label,
html[data-theme="dark"] .aob-cart-item__nagrania-netto {
    color: var(--wp--preset--color--white);
}

html[data-theme="dark"] .aob-cart-item__nagrania-modules,
html[data-theme="dark"] .aob-cart-item__nagrania-brutto {
    color: rgba(255, 255, 255, .5);
}

html[data-theme="dark"] .aob-cart-item__price-amount,
html[data-theme="dark"] .aob-cart-item__price-suffix {
    color: var(--wp--preset--color--white);
}

html[data-theme="dark"] .aob-cart-item__price-brutto {
    color: rgba(255, 255, 255, .5);
}

html[data-theme="dark"] .aob-cart-item__remove,
html[data-theme="dark"] .aob-cart-item .remove.aob-cart-item__remove {
    color: rgba(255, 255, 255, .5) !important;
}

html[data-theme="dark"] .aob-cart-item__remove:hover,
html[data-theme="dark"] .aob-cart-item .remove.aob-cart-item__remove:hover {
    color: var(--wp--preset--color--white) !important;
}

/* Quantity control */

html[data-theme="dark"] .aob-cart-item__qty .quantity {
    border-color: rgba(255, 255, 255, .2);
}

html[data-theme="dark"] .aob-cart-item__qty .qty,
html[data-theme="dark"] .aob-cart-item__qty .quantity__button {
    background: transparent;
    color: var(--wp--preset--color--white);
}

html[data-theme="dark"] .aob-cart-item__qty .quantity__button:hover {
    background: rgba(255, 255, 255, .08);
}

html[data-theme="dark"] .aob-cart-item__participants-btn {
    background: transparent;
    border-color: rgba(255, 255, 255, .2);
    color: rgba(255, 255, 255, .65);
}

html[data-theme="dark"] .aob-cart-item__participants-btn:hover {
    background: rgba(255, 255, 255, .08);
    color: var(--wp--preset--color--white);
    border-color: rgba(255, 255, 255, .35);
}

/* ── Cart footer ─────────────────────────────────────────────────────── */

html[data-theme="dark"] .aob-cart-footer__clear {
    color: rgba(255, 255, 255, .65);
}

html[data-theme="dark"] .aob-cart-footer__clear:hover {
    color: var(--wp--preset--color--white);
}

/* ── Sidebar totals ──────────────────────────────────────────────────── */

html[data-theme="dark"] .aob-cart-totals {
    background: rgba(255, 255, 255, .03);
    border-color: rgba(255, 255, 255, .12);
}

html[data-theme="dark"] .aob-cart-totals__label {
    color: rgba(255, 255, 255, .5);
}

html[data-theme="dark"] .aob-cart-totals__toggle {
    color: rgba(255, 255, 255, .5);
}

html[data-theme="dark"] .aob-cart-totals__toggle:hover {
    color: var(--wp--preset--color--white);
}

html[data-theme="dark"] .aob-cart-totals__items,
html[data-theme="dark"] .aob-cart-totals__item,
html[data-theme="dark"] .aob-cart-totals__shipping-row,
html[data-theme="dark"] .aob-cart-totals__total {
    border-color: rgba(255, 255, 255, .12);
}

html[data-theme="dark"] .aob-cart-totals__item-name,
html[data-theme="dark"] .aob-cart-totals__addon-row,
html[data-theme="dark"] .aob-cart-totals__item-netto,
html[data-theme="dark"] .aob-cart-totals__price-label,
html[data-theme="dark"] .aob-cart-totals__row,
html[data-theme="dark"] .aob-cart-totals__row strong,
html[data-theme="dark"] .aob-cart-totals__total-label,
html[data-theme="dark"] .aob-cart-totals__total-netto {
    color: var(--wp--preset--color--white);
}

html[data-theme="dark"] .aob-cart-totals__item-sub,
html[data-theme="dark"] .aob-cart-totals__item-brutto,
html[data-theme="dark"] .aob-cart-totals__total-brutto {
    color: rgba(255, 255, 255, .5);
}

html[data-theme="dark"] .aob-cart-totals__row--coupon,
html[data-theme="dark"] .aob-cart-totals__row--coupon strong {
    color: #4fd393;
}

html[data-theme="dark"] .aob-coupon-remove {
    border-color: #4fd393;
    color: #4fd393;
}

html[data-theme="dark"] .aob-coupon-remove:hover {
    background: #4fd393;
    color: var(--wp--preset--color--black, #1A1A25);
}

/* ── Coupon box ──────────────────────────────────────────────────────── */

html[data-theme="dark"] .aob-cart-coupon-box {
    background: rgba(139, 92, 246, .1);
    border-color: rgba(139, 92, 246, .3);
    color: #c9aef9;
}

html[data-theme="dark"] .aob-cart-coupon-box svg {
    color: #c9aef9;
}

/* ── Update loader overlay ───────────────────────────────────────────── */

html[data-theme="dark"] .aob-cart-layout::after {
    background: rgba(26, 26, 37, .7);
}

html[data-theme="dark"] body.aob-cart-updating .aob-cart-layout::before {
    border-color: rgba(255, 255, 255, .15);
    border-top-color: var(--wp--preset--color--yellow, #FFE500);
}

/* ── Empty cart ──────────────────────────────────────────────────────── */

html[data-theme="dark"] .aob-cart-empty__icon {
    background: rgba(255, 255, 255, .06);
    color: rgba(255, 255, 255, .5);
}

html[data-theme="dark"] .aob-cart-empty__title {
    color: var(--wp--preset--color--white);
}

html[data-theme="dark"] .aob-cart-empty__desc {
    color: rgba(255, 255, 255, .65);
}

html[data-theme="dark"] .aob-cart-empty__btn.btn-primary {
    border-color: var(--wp--preset--color--white);
    color: var(--wp--preset--color--white);
}

html[data-theme="dark"] .aob-cart-empty__btn.btn-primary:hover,
html[data-theme="dark"] .aob-cart-empty__btn.btn-primary:active {
    background: var(--wp--preset--color--white);
    color: var(--wp--preset--color--dark, #2E2E39);
}

/* ── Cross-sells ─────────────────────────────────────────────────────── */

html[data-theme="dark"] .aob-cart-cross-sells {
    background: var(--wp--preset--color--black, #1A1A25);
}

html[data-theme="dark"] .aob-cart-cross-sells__eyebrow {
    color: var(--wp--preset--color--yellow, #FFE500);
}

html[data-theme="dark"] .aob-cart-cross-sells__title {
    color: var(--wp--preset--color--white);
}

html[data-theme="dark"] .aob-cart-cross-sells__desc {
    color: rgba(255, 255, 255, .65);
}

html[data-theme="dark"] .aob-cs-dot {
    background: rgba(255, 255, 255, .2);
}

html[data-theme="dark"] .aob-cs-dot--active {
    background: var(--wp--preset--color--yellow, #FFE500);
}

html[data-theme="dark"] .aob-cs-card {
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .12);
    box-shadow: none;
}

html[data-theme="dark"] .aob-cs-card__type,
html[data-theme="dark"] .aob-cs-card__price-reg,
html[data-theme="dark"] .aob-cs-card__price-brutto,
html[data-theme="dark"] .aob-cs-card__author {
    color: rgba(255, 255, 255, .5);
}

html[data-theme="dark"] .aob-cs-card__title-link,
html[data-theme="dark"] .aob-cs-card__price-netto,
html[data-theme="dark"] .aob-cs-card__price-suffix {
    color: var(--wp--preset--color--white);
}

html[data-theme="dark"] .aob-cs-card__btn {
    border-color: var(--wp--preset--color--white) !important;
    color: var(--wp--preset--color--white) !important;
}

html[data-theme="dark"] .aob-cs-card__btn:hover,
html[data-theme="dark"] .aob-cs-card__btn:focus {
    background: var(--wp--preset--color--white) !important;
    color: var(--wp--preset--color--black, #1A1A25) !important;
}

/* ── Book variant popup ──────────────────────────────────────────────── */

html[data-theme="dark"] .aob-cs-book-modal__panel {
    background: #232330;
    border: 1px solid rgba(255, 255, 255, .15);
    box-shadow: 0 24px 64px rgba(0, 0, 0, .5);
}

html[data-theme="dark"] .aob-cs-book-modal__bar {
    background: #232330;
}

html[data-theme="dark"] .aob-cs-book-modal__divider,
html[data-theme="dark"] .aob-cs-book-modal__bar {
    border-color: rgba(255, 255, 255, .12);
}

html[data-theme="dark"] .aob-cs-book-modal__title,
html[data-theme="dark"] .aob-cs-book-modal__name,
html[data-theme="dark"] .aob-cs-book-modal__close,
html[data-theme="dark"] .aob-cs-book-modal__qty-btn,
html[data-theme="dark"] .aob-cs-book-modal__qty-val,
html[data-theme="dark"] .aob-cs-book-modal__price-netto,
html[data-theme="dark"] .aob-cs-book-modal__price-brutto,
html[data-theme="dark"] .aob-cs-book-modal__select-chevron,
html[data-theme="dark"] .aob-cs-book-modal__checkbox-label {
    color: var(--wp--preset--color--white);
}

html[data-theme="dark"] .aob-cs-book-modal__type,
html[data-theme="dark"] .aob-cs-book-modal__author {
    color: rgba(255, 255, 255, .5);
}

html[data-theme="dark"] .aob-cs-book-modal__img {
    background: rgba(255, 255, 255, .08);
}

html[data-theme="dark"] .aob-cs-book-modal__shipping {
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .2);
    color: rgba(255, 255, 255, .8);
}

html[data-theme="dark"] .aob-cs-book-modal__qty-ctrl,
html[data-theme="dark"] .aob-cs-book-modal__select,
html[data-theme="dark"] .aob-cs-book-modal__checkbox-wrap {
    background: transparent;
    border-color: rgba(255, 255, 255, .2);
    color: var(--wp--preset--color--white);
}

/* The closed <select> is styled above, but its native dropdown popup list
   is rendered by the OS/browser, not CSS — without this it stays in a
   light color scheme (white background, near-invisible text) even though
   everything around it is dark. */
html[data-theme="dark"] .aob-cs-book-modal__select {
    color-scheme: dark;
}

html[data-theme="dark"] .aob-cs-book-modal__btn--cancel {
    background: transparent;
    border-color: var(--wp--preset--color--white);
    color: var(--wp--preset--color--white);
}

/* ── Participants button in cart item ───────────────────────────────── */

html[data-theme="dark"] .aob-pm-backdrop {
    background: rgba(0, 0, 0, .8);
}

html[data-theme="dark"] .aob-pm-dialog {
    background: #232330;
    border: 1px solid rgba(255, 255, 255, .15);
    box-shadow: 0 24px 64px rgba(0, 0, 0, .5);
}

html[data-theme="dark"] .aob-pm-header,
html[data-theme="dark"] .aob-pm-footer {
    border-color: rgba(255, 255, 255, .15);
}

html[data-theme="dark"] .aob-pm-title,
html[data-theme="dark"] .aob-pm-product__header {
    color: var(--wp--preset--color--white);
}

html[data-theme="dark"] .aob-pm-product__header svg {
    color: var(--wp--preset--color--yellow, #FFE500);
}

html[data-theme="dark"] .aob-pm-close {
    color: var(--wp--preset--color--white);
}

html[data-theme="dark"] .aob-pm-close:hover {
    background: rgba(255, 255, 255, .08);
}

html[data-theme="dark"] .aob-pm-cancel,
html[data-theme="dark"] .aob-pm-add-btn,
html[data-theme="dark"] .aob-pm-form__cancel {
    background: transparent;
    border-color: var(--wp--preset--color--white);
    color: var(--wp--preset--color--white);
}

html[data-theme="dark"] .aob-pm-cancel:hover,
html[data-theme="dark"] .aob-pm-add-btn:hover:not(:disabled),
html[data-theme="dark"] .aob-pm-form__cancel:hover {
    background: rgba(255, 255, 255, .1);
}

html[data-theme="dark"] .aob-pm-card {
    background: rgba(255, 255, 255, .03);
    border-color: rgba(255, 255, 255, .12);
}

html[data-theme="dark"] .aob-pm-card__name {
    color: var(--wp--preset--color--white);
}

html[data-theme="dark"] .aob-pm-card__email {
    color: rgba(255, 255, 255, .65);
}

html[data-theme="dark"] .aob-pm-card__edit,
html[data-theme="dark"] .aob-pm-card__delete {
    color: rgba(255, 255, 255, .5);
}

html[data-theme="dark"] .aob-pm-card__edit:hover,
html[data-theme="dark"] .aob-pm-card__delete:hover {
    color: var(--wp--preset--color--white);
}

html[data-theme="dark"] .aob-pm-form {
    border-color: rgba(255, 255, 255, .12);
}

html[data-theme="dark"] .aob-pm-form__title,
html[data-theme="dark"] .aob-pm-form__label,
html[data-theme="dark"] .aob-pm-form__input,
html[data-theme="dark"] .aob-pm-form__input::placeholder {
    color: var(--wp--preset--color--white);
}

html[data-theme="dark"] .aob-pm-form__input {
    background-color: rgba(255, 255, 255, .05);
    border-color: rgba(255, 255, 255, .2);
}

html[data-theme="dark"] .aob-pm-form__input:focus {
    border-color: var(--wp--preset--color--yellow, #FFE500);
}

html[data-theme="dark"] .aob-pm-form__input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px var(--wp--preset--color--dark, #2E2E39) inset !important;
    -webkit-text-fill-color: var(--wp--preset--color--white, #fff) !important;
}

html[data-theme="dark"] .aob-pm-form__input:autofill {
    box-shadow: 0 0 0 1000px var(--wp--preset--color--dark, #2E2E39) inset !important;
    -webkit-text-fill-color: var(--wp--preset--color--white, #fff) !important;
}

html[data-theme="dark"] .aob-pm-form__select {
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

html[data-theme="dark"] .aob-pm-tooltip-wrap {
    color: rgba(255, 255, 255, .5);
}

html[data-theme="dark"] .aob-pm-dialog::before {
    background: rgba(255, 255, 255, .2);
}