/* CP Smart Product Blocks — Storefront CSS
   Designed to match Villa Kontor theme:
   font: Pontano Sans, color: #2b3136, primary: #d34622, border-radius: 0 everywhere
*/

.cp-spb {
    --cp-spb-ink: #2b3136;
    --cp-spb-muted: #7a868f;
    --cp-spb-line: #e8ecef;
    --cp-spb-paper: #ffffff;
    --cp-spb-surface: #f9f9f9;
    --cp-spb-accent: #d34622;
    --cp-spb-shadow: rgba(43, 49, 54, .10);
    font-family: inherit; /* uses store's Pontano Sans */
    margin: 40px 0;
}

.cp-spb__header {
    align-items: flex-end;
    display: flex;
    gap: 18px;
    justify-content: space-between;
    margin-bottom: 20px;
}

.cp-spb__title {
    color: var(--cp-spb-ink);
    font-size: 24px;
    font-weight: 400; /* store uses 400 weight */
    line-height: 1.25;
    margin: 0;
}

.cp-spb__subtitle {
    color: var(--cp-spb-muted);
    font-size: 14px;
    line-height: 1.5;
    margin: 5px 0 0;
}

.cp-spb__header-link {
    color: var(--cp-spb-accent);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.cp-spb__header-link:hover {
    text-decoration: underline;
}

/* ── Carousel wrapper ──────────────────────────────────────────────────────── */

.cp-spb__carousel {
    position: relative;
    padding: 0 28px; /* space for arrows */
}

.cp-spb__rail {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 2px 2px 2px;
    scroll-behavior: smooth;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.cp-spb__rail::-webkit-scrollbar {
    display: none;
}

/* ── Navigation arrows — square, store style ───────────────────────────────── */

.cp-spb__nav {
    align-items: center;
    background: var(--cp-spb-paper);
    border: 1px solid var(--cp-spb-line);
    border-radius: 0; /* square — matches store */
    box-shadow: none;
    color: var(--cp-spb-ink);
    cursor: pointer;
    display: flex;
    font-size: 22px;
    font-weight: 400;
    height: 48px;
    justify-content: center;
    line-height: 1;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: background .15s ease, color .15s ease;
    width: 28px;
    z-index: 2;
}

.cp-spb__nav:hover {
    background: var(--cp-spb-accent);
    border-color: var(--cp-spb-accent);
    color: #ffffff;
}

.cp-spb__nav:disabled,
.cp-spb__nav[data-cp-spb-hidden] {
    cursor: default;
    opacity: .3;
    pointer-events: none;
}

.cp-spb__nav--prev {
    left: 0;
}

.cp-spb__nav--next {
    right: 0;
}

/* ── Product card — flat, no border-radius, no shadow (store style) ────────── */

.cp-spb-card {
    background: var(--cp-spb-paper);
    border: none;
    border-radius: 0;
    color: var(--cp-spb-ink);
    display: flex;
    flex: 0 0 230px;
    flex-direction: column;
    overflow: hidden;
    scroll-snap-align: start;
    text-decoration: none;
    transition: opacity .18s ease;
}

.cp-spb-card:hover {
    color: var(--cp-spb-ink);
    opacity: .9;
    text-decoration: none;
}

.cp-spb-card__media {
    align-items: center;
    aspect-ratio: 4 / 5;
    background: var(--cp-spb-surface);
    display: flex;
    justify-content: center;
    overflow: hidden;
    position: relative;
    text-decoration: none;
}

.cp-spb-card__image {
    display: block;
    height: 100%;
    left: 0;
    object-fit: cover;
    position: absolute;
    top: 0;
    transition: opacity .22s ease;
    width: 100%;
}

.cp-spb-card__image--primary {
    opacity: 1;
    z-index: 1;
}

.cp-spb-card__image--hover {
    opacity: 0;
    z-index: 2;
}

.cp-spb-card:hover .cp-spb-card__image--hover {
    opacity: 1;
}

.cp-spb-card:hover .cp-spb-card__media--has-hover .cp-spb-card__image--primary {
    opacity: 0;
}

.cp-spb-card__placeholder {
    color: var(--cp-spb-muted);
    font-size: 13px;
}

.cp-spb-card__badge {
    background: var(--cp-spb-accent);
    border-radius: 0;
    color: #ffffff;
    font-size: 10px;
    font-weight: 600;
    left: 0;
    letter-spacing: 0.06em;
    padding: 4px 8px;
    position: absolute;
    text-transform: uppercase;
    top: 10px;
}

.cp-spb-card__badge--soft {
    background: #2b3136;
}

.cp-spb-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 4px;
    padding: 10px 0 0;
}

.cp-spb-card__brand {
    color: var(--cp-spb-accent);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cp-spb-card__name {
    font-size: 16px;
    font-weight: 400; /* store uses 400 */
    line-height: 1.3;
    margin: 0;
}

.cp-spb-card__name a {
    color: var(--cp-spb-ink);
    text-decoration: none;
}

.cp-spb-card__name a:hover {
    color: var(--cp-spb-accent);
}

.cp-spb-card__swatches {
    display: flex;
    gap: 5px;
    margin-top: 2px;
}

.cp-spb-card__swatch {
    border: 1px solid #d0d6dc;
    border-radius: 0; /* square swatches */
    display: inline-block;
    height: 14px;
    overflow: hidden;
    width: 14px;
}

/* ── Bottom row: price (left) + cart icon button (right) ───────────────────── */

.cp-spb-card__bottom {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 8px;
    gap: 8px;
}

.cp-spb-card__price-wrap {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.cp-spb-card__price-row {
    align-items: baseline;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 5px;
}

.cp-spb-card__list-price {
    color: var(--cp-spb-muted);
    font-size: 12px;
    font-weight: 400;
    text-decoration: line-through;
}

.cp-spb-card__sale-price {
    color: var(--cp-spb-ink);
    font-size: 16px;
    font-weight: 400;
}

.cp-spb-card__sale-price--active {
    color: var(--cp-spb-accent);
}

.cp-spb-card__discount {
    background: var(--cp-spb-accent);
    border-radius: 0;
    color: #ffffff;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 2px 5px;
}

/* ── Cart icon button — 36×36 red square ──────────────────────────────────── */

.cp-spb-card__cart {
    flex-shrink: 0;
    margin: 0;
}

.cp-spb-card__cart-icon-btn {
    align-items: center;
    background: var(--cp-spb-accent);
    border: none;
    border-radius: 0;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    height: 36px;
    justify-content: center;
    padding: 0;
    transition: background .15s ease;
    width: 36px;
}

.cp-spb-card__cart-icon-btn:hover {
    background: #b83019;
}

.cp-spb-card__cart-icon-btn:focus-visible {
    outline: 2px solid var(--cp-spb-ink);
    outline-offset: 2px;
}

/* ── Design variants ───────────────────────────────────────────────────────── */

.cp-spb--premium .cp-spb-card {
    flex-basis: 260px;
}

.cp-spb--premium .cp-spb-card__media {
    aspect-ratio: 1 / 1;
}

.cp-spb--compact .cp-spb__rail {
    gap: 12px;
}

.cp-spb--compact .cp-spb-card {
    flex-basis: 185px;
}

.cp-spb--compact .cp-spb-card__name {
    font-size: 14px;
}

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

@media (max-width: 991px) {
    .cp-spb__carousel {
        padding: 0 22px;
    }

    .cp-spb__nav {
        width: 22px;
    }
}

@media (max-width: 767px) {
    .cp-spb__header {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .cp-spb__title {
        font-size: 20px;
    }

    .cp-spb__carousel {
        padding: 0;
    }

    .cp-spb__nav {
        display: none;
    }

    .cp-spb-card {
        flex-basis: 170px;
    }
}

.cp-spb-card__price-on-request {
    color: var(--cp-spb-muted);
    font-size: 13px;
    font-style: italic;
    line-height: 1.4;
}

.cp-spb-card__price-unit {
    color: var(--cp-spb-muted);
    font-size: 11px;
    font-weight: 400;
    margin-left: 2px;
}

.cp-spb-card__composition {
    color: var(--cp-spb-muted);
    font-size: 11px;
    line-height: 1.4;
    margin-top: 4px;
    margin-bottom: 4px;
}

/* ======================================================================
   CP BUNDLE OFFER — PDP section
   ====================================================================== */

.cp-spb-bundle-offer {
    margin: 2rem 0 2.5rem;
    font-family: inherit;
}

.cp-spb-bundle-offer__inner {
    border: 2px solid #e2d5f8;
    border-radius: 16px;
    background: linear-gradient(135deg, #faf8ff 0%, #f4eeff 100%);
    padding: 1.75rem 2rem;
    position: relative;
    overflow: hidden;
}

.cp-spb-bundle-offer__inner::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(108,74,182,0.05);
    pointer-events: none;
}

.cp-spb-bundle-offer__header {
    margin-bottom: 1.5rem;
}

.cp-spb-bundle-offer__badge-wrap {
    margin-bottom: 0.5rem;
}

.cp-spb-bundle-offer__badge {
    display: inline-flex;
    align-items: center;
    background: #6C4AB6;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 3px 10px 3px 8px;
    border-radius: 20px;
    text-transform: uppercase;
}

.cp-spb-bundle-offer__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 0.6rem;
    line-height: 1.3;
}

/* ── Countdown ── */
.cp-spb-bundle-offer__countdown-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.cp-spb-bundle-offer__countdown-label {
    font-size: 12px;
    color: #555;
    white-space: nowrap;
}

.cp-spb-bundle-offer__timer {
    display: flex;
    align-items: center;
    gap: 4px;
}

.cp-timer-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    border: 1px solid #e2d5f8;
    border-radius: 6px;
    padding: 4px 8px 2px;
    min-width: 38px;
    box-shadow: 0 1px 4px rgba(108,74,182,0.08);
}

.cp-timer-unit span {
    font-size: 16px;
    font-weight: 700;
    color: #6C4AB6;
    line-height: 1.2;
}

.cp-timer-unit small {
    font-size: 9px;
    color: #888;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.cp-timer-sep {
    font-size: 18px;
    font-weight: 700;
    color: #6C4AB6;
    line-height: 1;
    padding-bottom: 12px;
}

/* ── Products row ── */
.cp-spb-bundle-offer__products {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.cp-spb-bundle-offer__item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: #fff;
    border: 1px solid #ede5ff;
    border-radius: 12px;
    padding: 0.75rem;
    flex: 1 1 180px;
    min-width: 0;
    box-shadow: 0 2px 8px rgba(108,74,182,0.06);
}

.cp-spb-bundle-offer__img-wrap {
    position: relative;
    flex-shrink: 0;
}

.cp-spb-bundle-offer__img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.cp-spb-bundle-offer__img-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    background: #f0ebff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bbb;
}

.cp-spb-bundle-offer__item-tag {
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    background: #6C4AB6;
    color: #fff;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.03em;
    white-space: nowrap;
    padding: 2px 6px;
    border-radius: 10px;
    text-transform: uppercase;
}

.cp-spb-bundle-offer__item-tag--partner {
    background: #27ae60;
}

.cp-spb-bundle-offer__item-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    padding-top: 4px;
}

.cp-spb-bundle-offer__item-brand {
    font-size: 10px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.cp-spb-bundle-offer__item-name {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a2e;
    line-height: 1.35;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.cp-spb-bundle-offer__item-price {
    font-size: 14px;
    font-weight: 700;
    color: #6C4AB6;
    margin-top: 2px;
}

.cp-spb-bundle-offer__plus {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #e2d5f8;
    color: #6C4AB6;
    box-shadow: 0 2px 6px rgba(108,74,182,0.1);
    align-self: center;
}

/* ── Savings row ── */
.cp-spb-bundle-offer__savings-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 13px;
    color: #27ae60;
    margin-bottom: 1.25rem;
    background: rgba(39,174,96,0.06);
    border: 1px solid rgba(39,174,96,0.2);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
}

.cp-spb-bundle-offer__savings-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(39,174,96,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #27ae60;
}

/* ── CTA ── */
.cp-spb-bundle-offer__cta {
    text-align: center;
}

.cp-spb-bundle-offer__btn {
    background: #6C4AB6;
    border-color: #6C4AB6;
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    padding: 0.75rem 2rem;
    border-radius: 40px;
    position: relative;
    transition: background 0.18s, transform 0.12s, box-shadow 0.18s;
    box-shadow: 0 4px 16px rgba(108,74,182,0.3);
    display: inline-flex;
    align-items: center;
    gap: 0;
}

.cp-spb-bundle-offer__btn:hover,
.cp-spb-bundle-offer__btn:focus {
    background: #5a3a9e;
    border-color: #5a3a9e;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(108,74,182,0.35);
    color: #fff;
}

.cp-spb-bundle-offer__btn-badge {
    background: rgba(255,255,255,0.25);
    border: 1px solid rgba(255,255,255,0.4);
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 20px;
    margin-left: 10px;
    letter-spacing: 0.04em;
}

.cp-spb-bundle-offer__hint {
    margin: 0.6rem 0 0;
    font-size: 12px;
    color: #888;
}

/* ── Responsive ── */
@media (max-width: 576px) {
    .cp-spb-bundle-offer__inner {
        padding: 1.25rem 1rem;
    }
    .cp-spb-bundle-offer__products {
        flex-direction: column;
    }
    .cp-spb-bundle-offer__item {
        width: 100%;
    }
    .cp-spb-bundle-offer__plus {
        transform: rotate(0);
    }
    .cp-spb-bundle-offer__btn {
        width: 100%;
        justify-content: center;
    }
}


/* ======================================================================
   CP OFFCANVAS CROSS-SELL — cart sidebar
   ====================================================================== */

.cp-spb-offcanvas-crosssell {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid #ede5ff;
}

.cp-spb-offcanvas-crosssell__header {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: #6C4AB6;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
}

.cp-spb-offcanvas-crosssell__list {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.cp-spb-offcanvas-crosssell__item {
    display: flex;
    gap: 0.625rem;
    background: #faf8ff;
    border: 1px solid #ede5ff;
    border-radius: 10px;
    padding: 0.625rem;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.cp-spb-offcanvas-crosssell__item:hover {
    border-color: #c9b0f0;
    box-shadow: 0 2px 8px rgba(108,74,182,0.08);
}

.cp-spb-offcanvas-crosssell__img-link {
    flex-shrink: 0;
    display: block;
    border-radius: 8px;
    overflow: hidden;
    width: 72px;
    height: 72px;
}

.cp-spb-offcanvas-crosssell__img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    display: block;
    transition: transform 0.2s;
}

.cp-spb-offcanvas-crosssell__img-link:hover .cp-spb-offcanvas-crosssell__img {
    transform: scale(1.04);
}

.cp-spb-offcanvas-crosssell__img-placeholder {
    width: 72px;
    height: 72px;
    background: #f0ebff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
}

.cp-spb-offcanvas-crosssell__info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}

.cp-spb-offcanvas-crosssell__brand {
    font-size: 9px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.cp-spb-offcanvas-crosssell__name {
    font-size: 12px;
    font-weight: 600;
    color: #1a1a2e;
    line-height: 1.35;
    text-decoration: none;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.cp-spb-offcanvas-crosssell__name:hover {
    color: #6C4AB6;
    text-decoration: underline;
}

.cp-spb-offcanvas-crosssell__price {
    font-size: 12px;
    font-weight: 700;
    color: #6C4AB6;
    margin-top: 1px;
}

.cp-spb-offcanvas-crosssell__form {
    margin-top: auto;
    padding-top: 4px;
}

.cp-spb-offcanvas-crosssell__add {
    font-size: 11px;
    padding: 3px 8px;
    border-color: #c9b0f0;
    color: #6C4AB6;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
}

.cp-spb-offcanvas-crosssell__add:hover {
    background: #6C4AB6;
    border-color: #6C4AB6;
    color: #fff;
}

/* ════════════════════════════════════════════
   Bundle Offer — MediaMarkt-style (v18)
   ════════════════════════════════════════════ */
.cp-bundle-wrap {
    margin: 2rem 0;
    border: 1px solid #e8ddd9;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 16px rgba(123,53,37,.07);
}

.cp-bundle-head {
    background: #fdf5f2;
    border-bottom: 1px solid #f0ddd8;
    padding: .75rem 1.25rem;
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-wrap: wrap;
}

.cp-bundle-title-text {
    font-weight: 700;
    font-size: 1rem;
    color: #3a2018;
}

.cp-bundle-badge-pct {
    background: #7B3525;
    color: #fff;
    border-radius: 20px;
    padding: 2px 12px;
    font-size: .82rem;
    font-weight: 700;
}

.cp-bundle-expires {
    font-size: .78rem;
    color: #888;
    margin-left: auto;
}

.cp-bundle-body {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 0;
}

.cp-bundle-card {
    flex: 1 1 170px;
    padding: 1.25rem 1rem;
    text-align: center;
    border-right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
}

.cp-bundle-img-wrap {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 8px;
    background: #f8f5f4;
}

.cp-bundle-img-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.cp-bundle-img-placeholder {
    font-size: 2.5rem;
    opacity: .3;
}

.cp-bundle-card-name {
    font-size: .83rem;
    color: #444;
    line-height: 1.3;
    max-width: 170px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-decoration: none;
}

.cp-bundle-card-name:hover {
    color: #7B3525;
    text-decoration: none;
}

.cp-bundle-card-price {
    font-weight: 700;
    font-size: 1rem;
    color: #3a2018;
}

.cp-bundle-card-price-old {
    color: #999;
    font-size: .85rem;
    font-weight: 500;
    text-decoration: line-through;
    text-decoration-color: #c0392b;
    text-decoration-thickness: 1.5px;
    margin-top: 1px;
}

.cp-bundle-card-price--disc {
    color: #c0392b;
    font-size: 1.1rem;
    font-weight: 800;
}

.cp-bundle-pp-note--target {
    font-size: .76rem;
    color: #7B3525;
    font-weight: 600;
    margin: .15rem 0;
}

.cp-bundle-price-per-unit {
    color: #5d463e;
    font-size: .86rem;
    line-height: 1.2;
}

.cp-bundle-meter-row {
    align-items: center;
    background: #fffaf8;
    border: 1px solid #dec8bf;
    border-radius: 999px;
    display: inline-flex;
    gap: 0;
    height: 34px;
    margin-top: .2rem;
    overflow: hidden;
    width: auto;
}

.cp-bundle-meter-btn {
    align-items: center;
    background: #fff;
    border: 0;
    color: #7B3525;
    cursor: pointer;
    display: inline-flex;
    font-size: 1rem;
    font-weight: 800;
    height: 34px;
    justify-content: center;
    padding: 0;
    transition: background .15s ease, color .15s ease;
    width: 34px;
}

.cp-bundle-meter-btn:hover {
    background: #7B3525;
    color: #fff;
}

.cp-bundle-meter-input {
    background: #fffaf8;
    border: 0;
    border-left: 1px solid #ead8d1;
    border-right: 1px solid #ead8d1;
    color: #3a2018;
    font-size: .9rem;
    font-weight: 700;
    height: 34px;
    max-width: 76px;
    min-width: 62px;
    padding: 0 .35rem;
    text-align: center;
}

.cp-bundle-meter-input:focus {
    box-shadow: inset 0 0 0 1px #7B3525;
    outline: none;
}

.cp-bundle-meter-unit {
    color: #7B3525;
    font-size: .78rem;
    font-weight: 700;
    min-width: 32px;
    padding: 0 .55rem;
    text-align: left;
}

.cp-bundle-plus-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    min-width: 38px;
    background: #f0ddd8;
    border-radius: 50%;
    font-size: 1.3rem;
    font-weight: 700;
    color: #7B3525;
    align-self: center;
    margin: 0 -.5rem;
    z-index: 1;
    flex-shrink: 0;
}

.cp-bundle-price-panel {
    flex: 0 0 220px;
    padding: 1.25rem 1.25rem;
    background: #fdf5f2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: .4rem;
    border-left: 1px solid #f0ddd8;
}

.cp-bundle-pp-label {
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #888;
    font-weight: 600;
}

.cp-bundle-pp-total {
    font-size: 1.75rem;
    font-weight: 800;
    color: #3a2018;
    line-height: 1.1;
}

.cp-bundle-pp-savings {
    font-size: .8rem;
    color: #7B3525;
    font-weight: 600;
}

.cp-bundle-buy-btn {
    margin-top: .5rem;
    background: #7B3525;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: .7rem 1rem;
    font-size: .9rem;
    font-weight: 700;
    width: 100%;
    cursor: pointer;
    transition: background .15s;
}

.cp-bundle-buy-btn:hover {
    background: #5e2819;
}

.cp-bundle-pp-note {
    font-size: .75rem;
    color: #888;
    text-align: center;
}

.cp-bundle-form-row-note {
    color: #7B3525;
    font-size: .78rem;
    line-height: 1.35;
    text-align: center;
}

.cp-bundle-timer {
    font-size: .75rem;
    color: #888;
    text-align: center;
}

/* ── Mobile: |product| + |product| in one row, price/button panel full width below ── */
@media (max-width: 767.98px) {
    .cp-bundle-card {
        flex: 1 1 calc(50% - 19px);
        max-width: calc(50% - 19px);
        padding: 1rem .5rem;
    }

    .cp-bundle-price-panel {
        flex: 1 1 100%;
        width: 100%;
        order: 1;
        border-left: 0;
        border-top: 1px solid #f0ddd8;
        align-items: center;
        text-align: center;
    }

    .cp-bundle-buy-btn {
        width: 100%;
    }
}

/* ── Cart trust bar ─────────────────────────────────────────── */
.cp-cart-trust {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: .72rem;
    color: #555;
    padding: 7px 16px;
    background: #fdf5f2;
    border-bottom: 1px solid #f0ddd8;
}

.cp-cart-trust-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4caf50;
    flex-shrink: 0;
}

/* ── Cross-sell horizontal scroll cards ────────────────────── */
.cp-cs-wrap {
    flex-shrink: 0;
    border-top: 2px solid #f0ddd8;
    background: #fdf5f2;
    padding: 6px 8px 7px;
}
.cp-cs-head { margin-bottom: 4px; }
.cp-cs-label {
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: #7B3525;
}
.cp-cs-discount-badge {
    display: inline-block;
    background: #7B3525;
    color: #fff;
    font-size: .65rem;
    font-weight: 700;
    border-radius: 3px;
    padding: 1px 5px;
    margin-left: 4px;
    vertical-align: middle;
}

/* Horizontal scroll container */
.cp-cs-rows {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    gap: 8px;
    padding: 1px 0 4px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}
.cp-cs-rows::-webkit-scrollbar { display: none; }

/* Individual card */
.cp-cs-row {
    flex: 0 0 118px;
    min-width: 118px;
    display: flex;
    flex-direction: column;
    border: 1px solid #f0ddd8;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

/* Card image */
.cp-cs-row-thumb {
    display: block;
    width: 100%;
    height: 96px;
    flex-shrink: 0;
    overflow: hidden;
    background: #f8f4f2;
    border-bottom: 1px solid #f0ddd8;
}
.cp-cs-row-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.cp-cs-row-no-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

/* Card body */
.cp-cs-row-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 6px;
    gap: 4px;
}
.cp-cs-row-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.cp-cs-row-name {
    font-size: .71rem;
    font-weight: 500;
    color: #222;
    text-decoration: none;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.cp-cs-row-name:hover { color: #7B3525; text-decoration: none; }
.cp-cs-row-price {
    font-size: .76rem;
    font-weight: 700;
    color: #7B3525;
}

/* Card add-to-cart button */
.cp-cs-form { margin: 0; }
.cp-cs-row-btn {
    width: 100%;
    height: 26px;
    border: 1.5px solid #7B3525;
    border-radius: 4px;
    background: transparent;
    color: #7B3525;
    cursor: pointer;
    font-size: .63rem;
    font-weight: 700;
    letter-spacing: .02em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 0 4px;
    transition: background .15s, color .15s;
}
.cp-cs-row-btn:hover { background: #7B3525; color: #fff; }
.cp-cs-row-btn:disabled,
.cp-cs-row-btn--loading { opacity: .6; cursor: default; background: #7B3525; color: #fff; }

/* ── Zuletzt angesehen (Recently Viewed) ───────────────────────────────── */
.cp-rv-wrap {
    padding: 40px 0 20px;
    border-top: 1px solid #f0ddd8;
    margin-top: 32px;
}

.cp-rv-head {
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #7B3525;
    margin-bottom: 16px;
}

.cp-rv-track {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
}

.cp-rv-track::-webkit-scrollbar { display: none; }

.cp-rv-card {
    flex: 0 0 130px;
    scroll-snap-align: start;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: opacity .15s;
}

.cp-rv-card:hover { opacity: .85; }

.cp-rv-img {
    width: 130px;
    height: 130px;
    object-fit: contain;
    border: 1px solid #f0ddd8;
    border-radius: 8px;
    background: #fdf5f2;
    display: block;
}

.cp-rv-no-img {
    width: 130px;
    height: 130px;
    border: 1px solid #f0ddd8;
    border-radius: 8px;
    background: #fdf5f2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.cp-rv-info { padding: 0 2px; }

.cp-rv-brand {
    font-size: .62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #999;
}

.cp-rv-name {
    font-size: .75rem;
    color: #222;
    line-height: 1.3;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.cp-rv-price {
    font-size: .8rem;
    font-weight: 700;
    color: #7B3525;
}

/* Cross-sell discount badge */
.cp-cs-discount-badge {
    display: inline-block;
    background: var(--vk, #7B3525);
    color: #fff;
    font-size: .65rem;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 20px;
    margin-left: 5px;
    vertical-align: middle;
}

/* ── Offcanvas Cart Redesign ────────────────────────────────── */

/* 1. Sticky footer: flex column layout */
.cart-offcanvas.offcanvas {
    display: flex !important;
    flex-direction: column !important;
}

.cart-offcanvas .offcanvas-body {
    flex: 1 !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 0 !important;
    min-height: 0 !important;
}

.cart-offcanvas .offcanvas-cart {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
    min-height: 0 !important;
    overflow: hidden !important;
}

/* Non-scrolling header area */
.cart-offcanvas .offcanvas-cart-header,
.cart-offcanvas .cp-cart-trust,
.cart-offcanvas .flashbags {
    flex-shrink: 0;
}

.cart-offcanvas .offcanvas-cart-header {
    padding: 10px 16px;
    border-bottom: 1px solid #f0ddd8;
}

/* Scrollable items area */
.cart-offcanvas .offcanvas-cart-items {
    flex: 1 !important;
    overflow-y: auto !important;
    min-height: 0 !important;
    padding: 0 16px 8px;
    scrollbar-width: thin;
    scrollbar-color: #f0ddd8 transparent;
}

/* Hide live-update spinner */
.cart-offcanvas .cart-live-update { display: none !important; }

/* Sticky footer elements */
.cart-offcanvas .offcanvas-summary {
    flex-shrink: 0;
    padding: 10px 16px 6px;
    border-top: 2px solid #f0ddd8;
    background: #fff;
}

.cart-offcanvas .offcanvas-cart-tax {
    flex-shrink: 0;
    padding: 0 16px 4px;
    font-size: .68rem;
    color: #888;
    background: #fff;
}

.cart-offcanvas .offcanvas-cart-actions {
    flex-shrink: 0;
    padding: 4px 16px 6px;
    background: #fff;
}

/* Hide clutter in footer */
.cart-offcanvas .btn-empty-cart { display: none !important; }

.cart-offcanvas .checkout-cart-payment-description {
    flex-shrink: 0;
    padding: 4px 16px 0;
    background: #fff;
    font-size: .7rem !important;
    color: #888;
    font-weight: 400 !important;
}

.cart-offcanvas .checkout-cart-payment-logos {
    flex-shrink: 0;
    padding: 4px 16px 10px;
    background: #fff;
}

/* 2. Bigger product images (70→90px) */
.cart-offcanvas .line-item-info-img {
    width: 90px !important;
    flex: 0 0 90px !important;
    max-width: 90px !important;
}

.cart-offcanvas .line-item-info-img img,
.cart-offcanvas .line-item-info-img a {
    width: 90px !important;
    height: 90px !important;
    display: block !important;
}

.cart-offcanvas .line-item-info-img img {
    object-fit: cover !important;
    border-radius: 4px;
    border: 1px solid #f0ddd8;
}

/* 3. Hide item clutter */
.cart-offcanvas .line-item-product-number { display: none !important; }
.cart-offcanvas .line-item-delivery-date { display: none !important; }
.cart-offcanvas .product-wishlist { display: none !important; }

/* 4. Item name: clean + uppercase */
.cart-offcanvas .line-item-label {
    font-size: .78rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: .04em !important;
    color: #222 !important;
    text-decoration: none !important;
    line-height: 1.3 !important;
}

.cart-offcanvas .line-item-label:hover { color: #7B3525 !important; }

/* 5. Variant/characteristics - small muted */
.cart-offcanvas .line-item-details-characteristics {
    font-size: .7rem !important;
    color: #888 !important;
    margin-top: 2px;
}

/* 6. Qty controls - minimal */
.cart-offcanvas .line-item-quantity-select-wrapper {
    font-size: .8rem;
}

/* 7. Remove button - text style */
.cart-offcanvas .line-item-remove-button {
    font-size: .7rem !important;
    padding: 2px 8px !important;
    border-color: #ddd !important;
    color: #888 !important;
}

/* 8. Item spacing */
.cart-offcanvas .line-item {
    padding: 12px 0 !important;
    border-bottom: 1px solid #f5ede9 !important;
}

.cart-offcanvas .line-item:last-child { border-bottom: none !important; }

/* 9. Summary row styling */
.cart-offcanvas .offcanvas-summary-value,
.cart-offcanvas .offcanvas-summary .price {
    font-weight: 700;
    color: #7B3525;
}

/* 10. Checkout button - VK red, prominent */
.cart-offcanvas .offcanvas-cart-actions .btn-primary,
.cart-offcanvas .offcanvas-cart-actions a.btn-primary {
    background: #7B3525 !important;
    border-color: #7B3525 !important;
    color: #fff !important;
    font-weight: 700 !important;
    font-size: .82rem !important;
    letter-spacing: .07em !important;
    text-transform: uppercase !important;
    border-radius: 3px !important;
    padding: 12px 20px !important;
    width: 100% !important;
    display: block !important;
    text-align: center !important;
}

.cart-offcanvas .offcanvas-cart-actions .btn-primary:hover {
    background: #5e2819 !important;
    border-color: #5e2819 !important;
}



/* ── Compact offcanvas footer — hide secondary elements ─────── */

/* Hide "Warenkorb anzeigen" link */
.cart-offcanvas .offcanvas-cart-actions a.btn-secondary,
.cart-offcanvas .offcanvas-cart-actions .btn-link,
.cart-offcanvas .offcanvas-cart-actions a:not(.btn-primary) { display: none !important; }

/* Show PayPal express button in offcanvas cart, styled to match the
   "Zur Kasse" button below it (full width, breathing room above/below). */
.cart-offcanvas [class*="paypal"],
.cart-offcanvas [id*="paypal"],
.cart-offcanvas .ppcp-button-container,
.cart-offcanvas .paypal-button-container,
.cart-offcanvas .spb-container {
    display: block !important;
    width: 100% !important;
    margin: 8px 0 0 !important;
}

/* Hide Gutscheincode form */
.cart-offcanvas .offcanvas-coupon,
.cart-offcanvas .cart-offcanvas-coupon,
.cart-offcanvas .collapse.coupon,
.cart-offcanvas form[name*="coupon"],
.cart-offcanvas .coupon-code { display: none !important; }

/* Hide "Versandart ändern" shipping change link */
.cart-offcanvas .cart-summary-shipping .shipping-change,
.cart-offcanvas .cart-summary-shipping a,
.cart-offcanvas .offcanvas-summary a[href*="shipping"] { display: none !important; }

/* Make summary rows more compact */
.cart-offcanvas .offcanvas-summary {
    padding: 8px 16px 4px !important;
}
.cart-offcanvas .offcanvas-summary-row {
    padding: 2px 0 !important;
    font-size: .82rem !important;
}
.cart-offcanvas .offcanvas-summary-row.is-total {
    font-size: .9rem !important;
    font-weight: 700 !important;
    padding-top: 6px !important;
    border-top: 1px solid #f0ddd8 !important;
    margin-top: 4px !important;
}
.cart-offcanvas .offcanvas-cart-tax {
    padding: 0 16px 4px !important;
    font-size: .67rem !important;
    color: #999 !important;
}

/* Payment logos — slim row */
.cart-offcanvas .checkout-cart-payment-logos {
    padding: 4px 16px 8px !important;
}
.cart-offcanvas .checkout-cart-payment-logos img {
    height: 18px !important;
    width: auto !important;
    max-width: 38px !important;
}
