/* ==========================================================================
   Mystery Boxy — front.css

   1. Sekcja: zielony gradient, pływające pytajniki, tytuł za kaflami
   2. Kafle (szkło, odcień różowy / limonkowy, poziom, cena, koszyk)
   3. Telefon / tablet: przewijany rząd + kropki
   4. Popup wyboru wariantu
   5. Ograniczony ruch
   ========================================================================== */

.mb-section {
    --mb-pink: #e7a6ef;
    --mb-pink-glow: rgba(231, 166, 239, 0.35);
    --mb-lime: #a3e11f;
    --mb-lime-glow: rgba(163, 225, 31, 0.35);
    --mb-mint: #e6f6ed;
    --mb-mint-ink: #0b7a44;
    --mb-ease: cubic-bezier(0.22, 0.8, 0.24, 1);

    container-type: inline-size;   /* tytuł skaluje się do szerokości sekcji (cqi) */
    position: relative;
    isolation: isolate;
    margin: 48px 0;
    padding: 56px 48px 40px;
    border-radius: 24px;
    overflow: hidden;
    background:
        radial-gradient(70% 45% at 50% 108%, rgba(140, 210, 20, 0.9) 0%, rgba(110, 180, 20, 0.35) 45%, rgba(110, 180, 20, 0) 75%),
        linear-gradient(180deg, #030c06 0%, #05150a 40%, #0b2a10 72%, #2a560e 100%);
}

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

/* --- Pływające pytajniki: unoszą się i pulsują przezroczystością, każdy we własnym tempie. --- */

.mb-questions {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.mb-q {
    position: absolute;
    left: var(--x);
    top: var(--y);
    color: #fff;
    font-size: var(--s);
    font-weight: 800;
    line-height: 1;
    opacity: 0.05;
    filter: blur(var(--b, 0px));
    transform: translate(-50%, -50%) rotate(var(--r));
    animation: mb-float var(--d, 8s) ease-in-out var(--delay, 0s) infinite alternate;
    will-change: transform, opacity;
}

@keyframes mb-float {
    0% {
        opacity: 0.04;
        transform: translate(-50%, -50%) rotate(var(--r));
    }
    50% {
        opacity: 0.24;
    }
    100% {
        opacity: 0.07;
        transform: translate(-50%, calc(-50% - 28px)) rotate(calc(var(--r) + 10deg));
    }
}

/* --- Tytuł: słowa rozsunięte na całą szerokość; dół liter chowa się za szklanymi kaflami. --- */

.mb-title {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    margin: 0 0 -0.3em;
    color: #fff;
    font-size: 12cqi;   /* "MYSTERY BOXY" ~92% szerokości; dłuższy tytuł dopasowuje front.js (fitTitle) */
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    white-space: nowrap;
    pointer-events: none;
}


/* 2. Kafle
   ========================================================================== */

.mb-tiles {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(var(--mb-count, 5), minmax(0, 1fr));
    gap: 16px;
}

.mb-tile {
    --mb-tone: var(--mb-pink);
    --mb-glow: var(--mb-pink-glow);

    container-type: inline-size;   /* napisy w kaflu skalują się do jego szerokości */
    position: relative;
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    overflow: hidden;
    cursor: pointer;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.3s var(--mb-ease), border-color 0.2s ease, box-shadow 0.3s ease;
}

/* Co drugi box limonkowy: zielonkawe szkło i ramka. */
.mb-tile--lime {
    --mb-tone: var(--mb-lime);
    --mb-glow: var(--mb-lime-glow);
    background: linear-gradient(180deg, rgba(163, 225, 31, 0.12) 0%, rgba(255, 255, 255, 0.05) 60%);
    border-color: rgba(163, 225, 31, 0.45);
}

.mb-tile:hover,
.mb-tile:focus-visible {
    transform: translateY(-6px);
    border-color: var(--mb-tone);
    box-shadow: 0 22px 44px -22px var(--mb-glow), 0 0 0 1px var(--mb-tone);
}

.mb-tile:active {
    transform: translateY(-3px) scale(0.99);
}

.mb-tile.is-pending {
    opacity: 0.7;
    pointer-events: none;
}

.mb-tile__image {
    position: relative;
    aspect-ratio: 1 / 1;
    padding: 14px 14px 0;
}

/* Delikatna poświata w kolorze boxa pod zdjęciem — mocniejsza na hoverze. */
.mb-tile__image::before {
    content: '';
    position: absolute;
    inset: 22% 18% 8%;
    border-radius: 50%;
    background: var(--mb-glow);
    filter: blur(28px);
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.mb-tile:hover .mb-tile__image::before {
    opacity: 1;
}

.mb-tile__image img {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.45));
    transition: transform 0.35s var(--mb-ease), opacity 0.25s ease;
}

/* Białe tło zdjęć wycina front.js (initKnockout) — do tego czasu zdjęcie jest ukryte, żeby nie
   mignął biały kwadrat. Klasę .mb-knockout-on dodaje dopiero skrypt (bez JS zdjęcia są widoczne). */
.mb-knockout-on .mb-section--dark .mb-tile__image img:not(.mb-img-ready) {
    opacity: 0;
}

.mb-tile:hover .mb-tile__image img {
    transform: translateY(-4px) scale(1.03);
}

.mb-tile__body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
    padding: 6px 18px 18px;
}

.mb-tile__name {
    margin: 0;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
}

.mb-tile__levels {
    display: flex;
    gap: 4px;
}

.mb-tile__level {
    flex: 1 1 0;
    height: 3px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
}

.mb-tile__level.is-filled {
    background: var(--mb-tone);
}

.mb-tile__buy {
    display: flex;
    gap: 8px;
}

.mb-tile__price {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.32);
}

.mb-tile__price-current {
    color: #fff;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.mb-tile__price-regular {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    text-decoration: line-through;
    white-space: nowrap;
}

.mb-tile__cart {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    aspect-ratio: 1 / 1;
    min-width: 64px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.32);
    color: #fff;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.mb-tile:hover .mb-tile__cart,
.mb-tile:focus-visible .mb-tile__cart {
    background: var(--mb-tone);
    color: #0a1a07;
}

.mb-tile__savings {
    display: block;
    padding: 5px 10px;
    border-radius: 6px;
    background: var(--mb-mint);
    color: var(--mb-mint-ink);
    font-size: 12.5px;
    font-weight: 700;
}

/* Wyprzedany box: zostaje widoczny, wyszarzony, bez reakcji na hover i kliknięcie. */
.mb-tile--soldout,
.mb-tile--soldout:hover {
    cursor: default;
    transform: none;
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: none;
}

.mb-tile--soldout .mb-tile__image img {
    opacity: 0.4;
    filter: grayscale(1);
}

.mb-tile--soldout .mb-tile__image::before,
.mb-tile--soldout .mb-tile__savings {
    display: none;
}

.mb-tile--soldout:hover .mb-tile__cart {
    background: rgba(0, 0, 0, 0.32);
    color: #fff;
}

.mb-tile__oos {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    padding: 6px 16px;
    border: 2px solid #d64545;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    color: #d64545;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
    transform: translate(-50%, -50%) rotate(-20deg);
}

/* Wąski kafel (5 w rzędzie na mniejszym monitorze): mniejsze napisy i przycisk koszyka. */
@container (max-width: 210px) {
    .mb-tile__body {
        gap: 8px;
        padding: 4px 12px 14px;
    }

    .mb-tile__name {
        font-size: 14px;
    }

    .mb-tile__price {
        padding: 8px 10px;
    }

    .mb-tile__price-current {
        font-size: 19px;
    }

    .mb-tile__price-regular {
        font-size: 11px;
    }

    .mb-tile__cart {
        min-width: 48px;
    }

    .mb-tile__cart svg {
        width: 22px;
        height: 22px;
    }

    .mb-tile__savings {
        padding: 4px 8px;
        font-size: 11px;
    }
}

/* Szeroki kafel (1 na telefonie, 2 na tablecie): większe napisy. */
@container (min-width: 300px) {
    .mb-tile__name {
        font-size: 19px;
    }

    .mb-tile__price-current {
        font-size: 30px;
    }

    .mb-tile__price-regular {
        font-size: 15px;
    }

    .mb-tile__savings {
        font-size: 14px;
    }
}


/* 3. Telefon / tablet
   ========================================================================== */

@media (max-width: 1024px) {
    /* Jak w starterpacks: 10 px marginesu po bokach. Motyw daje sekcjom width: 100%, więc sam
       margines wypychałby sekcję w prawo — szerokość jawnie pomniejszona o oba marginesy. */
    .mb-section {
        width: calc(100% - 20px);
        max-width: calc(100% - 20px);
        margin-left: 10px;
        margin-right: 10px;
        padding: 32px 28px 22px;
    }

    .mb-title {
        justify-content: center;
        gap: 0.28em;
        margin-bottom: -0.42em;   /* dół liter wchodzi za kafel, jak w starterpacks */
        font-size: 12cqi;         /* ~95% szerokości z odstępem; dłuższy tytuł zmniejsza fitTitle */
    }

    /* Przewijany rząd jak w starterpacks: 2 kafle na tablecie, 1 na całą szerokość na telefonie. */
    .mb-tiles {
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: calc((100% - 14px) / 2);
        gap: 14px;
        padding: 0 0 6px;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .mb-tiles::-webkit-scrollbar {
        display: none;
    }

    .mb-tile {
        scroll-snap-align: start;
    }

    /* W przewijanym rzędzie uniesienie na hoverze ucinałoby górę kafla. */
    .mb-tile:hover,
    .mb-tile:focus-visible {
        transform: none;
    }
}

@media (max-width: 640px) {
    .mb-section {
        margin-top: 32px;
        margin-bottom: 32px;
    }

    .mb-tiles {
        grid-auto-columns: 100%;
        gap: 12px;
    }
}

.mb-dots {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 16px;
}

.mb-dots[hidden] {
    display: none;
}

.mb-dots__dot {
    display: grid;
    place-items: center;
    width: 24px;
    min-width: 0;
    height: 24px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: none;
    box-shadow: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.mb-dots__dot::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.mb-dots__dot.is-active::before {
    background: #fff;
    transform: scale(1.15);
}

.mb-dots__dot:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.6);
}


/* 4. Popup wyboru wariantu
   ========================================================================== */

.mb-picker {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    font-family: inherit;
}

.mb-picker[hidden] {
    display: none;
}

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

.mb-picker__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 10, 4, 0.65);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    animation: mb-fade 0.2s ease-out both;
}

.mb-picker__panel {
    position: relative;
    width: min(480px, 100%);
    padding: 26px 22px 22px;
    border: 1px solid rgba(163, 225, 31, 0.35);
    border-radius: 20px;
    background:
        radial-gradient(90% 60% at 50% 120%, rgba(140, 210, 20, 0.35) 0%, rgba(140, 210, 20, 0) 70%),
        linear-gradient(180deg, #071a0c 0%, #0c2a11 100%);
    box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.7);
    color: #fff;
    animation: mb-pop 0.28s cubic-bezier(0.22, 0.8, 0.24, 1) both;
}

.mb-picker__close {
    position: absolute;
    top: 12px;
    right: 12px;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    cursor: pointer;
}

.mb-picker__eyebrow {
    margin: 0 44px 4px 0;
    color: #a3e11f;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.mb-picker__title {
    margin: 0 0 18px;
    color: #fff;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.15;
}

.mb-picker__options {
    display: grid;
    gap: 10px;
}

.mb-picker__opt {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    margin: 0;
    padding: 16px 18px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.07);
    color: #fff;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    text-align: left;
    text-transform: none;
    letter-spacing: normal;
    cursor: pointer;
    transition: border-color 0.18s ease, background-color 0.18s ease, transform 0.15s ease;
}

.mb-picker__opt:hover,
.mb-picker__opt:focus-visible {
    border-color: #a3e11f;
    background: rgba(163, 225, 31, 0.12);
    outline: none;
}

.mb-picker__opt:active {
    transform: scale(0.98);
}

.mb-picker__opt-text {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
}

.mb-picker__opt-price {
    flex: 0 0 auto;
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
    font-weight: 600;
}

/* Warianty ze zdjęciami: karty obok siebie (2 w rzędzie), zdjęcie na białym polu u góry. */
.mb-picker__options--cards {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.mb-picker__options--cards .mb-picker__opt {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 10px 10px 14px;
    text-align: center;
}

.mb-picker__options--cards .mb-picker__opt-text {
    flex-direction: column;
    gap: 4px;
}

.mb-picker__opt-media {
    display: block;
    aspect-ratio: 1 / 1;
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
}

.mb-picker__opt-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.mb-picker__opt:disabled .mb-picker__opt-media img {
    filter: grayscale(1);
    opacity: 0.5;
}

.mb-picker__opt:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.mb-picker__opt:disabled:hover {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.07);
}

.mb-picker.is-busy .mb-picker__options {
    opacity: 0.6;
    pointer-events: none;
}

.mb-picker__error {
    margin: 14px 0 0;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(214, 69, 69, 0.18);
    color: #ffb4b4;
    font-size: 14px;
}

.mb-picker__error[hidden] {
    display: none;
}

html.mb-picker-open {
    overflow: hidden;
}

@media (max-width: 640px) {
    .mb-picker {
        align-items: flex-end;
        padding: 0;
    }

    .mb-picker__panel {
        width: 100%;
        padding-bottom: calc(22px + env(safe-area-inset-bottom, 0px));
        border-radius: 20px 20px 0 0;
        animation-name: mb-sheet;
    }
}

@keyframes mb-fade {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes mb-pop {
    from { opacity: 0; transform: translateY(12px) scale(0.97); }
    to   { opacity: 1; transform: none; }
}

@keyframes mb-sheet {
    from { transform: translateY(100%); }
    to   { transform: none; }
}


/* 5. Ograniczony ruch: pytajniki stoją (z lekką przezroczystością), kafle bez animacji.
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    .mb-q {
        animation: none;
        opacity: 0.12;
    }

    .mb-tile,
    .mb-tile__image img,
    .mb-picker__panel,
    .mb-picker__backdrop {
        animation: none;
        transition: none;
    }

    .mb-tile:hover,
    .mb-tile:focus-visible,
    .mb-tile:hover .mb-tile__image img {
        transform: none;
    }
}


/* 6. Jasny wygląd (bigv): czerwień #e50046, ramka tytułu, kafle ze ściętymi rogami
   Włączany w konfiguracji modułu (Wygląd: Jasny) — sekcja dostaje klasę .mb-section--light.
   Bez gradientu, pytajników i kresek poziomu; zdjęcia na białym polu (bez wycinania tła).
   ========================================================================== */

.mb-section--light {
    --mb-red: #e50046;
    --mb-red-hover: #c4003c;
    --mb-red-line: #fbcbd9;
    --mb-red-tint: #ffdce7;

    padding: 0;
    border-radius: 0;
    background: none;
    overflow: visible;
}

.mb-section--light .mb-title {
    display: block;
    margin: 0 0 24px;
    padding: 18px 16px;
    border: 2px solid var(--mb-red-line);
    border-radius: 12px;
    color: var(--mb-red);
    font-size: clamp(24px, 2.6vw, 34px);
    font-weight: 800;
    line-height: 1.1;
    text-align: center;
    white-space: normal;
}

.mb-section--light .mb-tiles {
    gap: 20px;
}

/* Kafel ze ściętymi rogami. border nie biegnie po skosach clip-path, więc ramka to dwie warstwy
   przycięte w ośmiokąt: ::before (kolor ramki) i ::after (białe wnętrze 2 px mniejsze).
   Ścięcie wnętrza mniejsze o 2 px * (√2 - 1) ≈ 0,83 px, żeby ramka na skosie też miała 2 px. */
.mb-section--light .mb-tile {
    --mb-cut: 14px;
    z-index: 0;
    padding: 12px 12px 14px;
    background: none;
    border: 0;
    border-radius: 0;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: none;
    overflow: visible;
}

.mb-section--light .mb-tile::before,
.mb-section--light .mb-tile::after {
    --c: var(--mb-cut);
    content: '';
    position: absolute;
    z-index: -1;
    clip-path: polygon(
        var(--c) 0, calc(100% - var(--c)) 0,
        100% var(--c), 100% calc(100% - var(--c)),
        calc(100% - var(--c)) 100%, var(--c) 100%,
        0 calc(100% - var(--c)), 0 var(--c)
    );
}

.mb-section--light .mb-tile::before {
    inset: 0;
    background: var(--mb-red-line);
    transition: background-color 0.15s ease;
}

.mb-section--light .mb-tile::after {
    --c: calc(var(--mb-cut) - 0.83px);
    inset: 2px;
    background: #fff;
}

.mb-section--light .mb-tile:hover,
.mb-section--light .mb-tile:focus-visible {
    transform: none;
    box-shadow: none;
}

.mb-section--light .mb-tile:hover::before,
.mb-section--light .mb-tile:focus-visible::before {
    background: var(--mb-red);
}

.mb-section--light .mb-tile:active {
    transform: scale(0.99);
}

.mb-section--light .mb-tile__image {
    padding: 0;
    border: 2px solid var(--mb-red-line);
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
}

.mb-section--light .mb-tile__image::before {
    display: none;
}

.mb-section--light .mb-tile__image img {
    filter: none;
}

.mb-section--light .mb-tile:hover .mb-tile__image img {
    transform: scale(1.03);
}

.mb-section--light .mb-tile__body {
    gap: 8px;
    padding: 14px 0 0;
}

.mb-section--light .mb-tile__name {
    color: var(--mb-red);
    font-size: 15px;
    font-weight: 600;
}

.mb-section--light .mb-tile__price {
    padding: 8px 12px;
    border-radius: 6px;
    background: var(--mb-red);
}

.mb-section--light .mb-tile__price-current {
    font-size: 22px;
}

.mb-section--light .mb-tile__price-regular {
    color: rgba(255, 255, 255, 0.75);
    font-size: 11px;
}

.mb-section--light .mb-tile__cart {
    min-width: 52px;
    border-radius: 6px;
    background: var(--mb-red);
    color: #fff;
}

.mb-section--light .mb-tile:hover .mb-tile__cart,
.mb-section--light .mb-tile:focus-visible .mb-tile__cart {
    background: var(--mb-red-hover);
    color: #fff;
}

.mb-section--light .mb-tile__savings {
    padding: 3px 8px;
    border-radius: 4px;
    background: var(--mb-red-tint);
    color: var(--mb-red);
    font-size: 11px;
    font-weight: 600;
}

/* Wyprzedany box w jasnym wyglądzie: szara ramka i boxy ceny, bez czerwieni na hoverze. */
.mb-section--light .mb-tile--soldout::before,
.mb-section--light .mb-tile--soldout:hover::before {
    background: #e4e9ef;
}

.mb-section--light .mb-tile--soldout .mb-tile__image {
    border-color: #e4e9ef;
}

.mb-section--light .mb-tile--soldout .mb-tile__name {
    color: #8792a2;
}

.mb-section--light .mb-tile--soldout .mb-tile__price,
.mb-section--light .mb-tile--soldout .mb-tile__cart,
.mb-section--light .mb-tile--soldout:hover .mb-tile__cart {
    background: #8792a2;
}

.mb-section--light .mb-tile--soldout:hover .mb-tile__image img {
    transform: none;
}

.mb-section--light .mb-dots__dot::before {
    background: var(--mb-red-line);
}

.mb-section--light .mb-dots__dot.is-active::before {
    background: var(--mb-red);
}

.mb-section--light .mb-dots__dot:focus-visible {
    box-shadow: 0 0 0 2px var(--mb-red-line);
}

@media (max-width: 1024px) {
    .mb-section--light {
        padding: 0;
        border-radius: 0;
    }

    .mb-section--light .mb-title {
        margin-bottom: 18px;
        padding: 14px 12px;
        font-size: clamp(22px, 6vw, 30px);
    }
}

/* --- Popup wyboru wariantu w jasnym wyglądzie (klasę .mb-picker--light ustawia front.js). --- */

.mb-picker--light .mb-picker__backdrop {
    background: rgba(30, 10, 18, 0.45);
}

.mb-picker--light .mb-picker__panel {
    border: 2px solid #fbcbd9;
    background: #fff;
    color: #12161c;
    box-shadow: 0 30px 70px -20px rgba(60, 0, 20, 0.35);
}

.mb-picker--light .mb-picker__close {
    background: #f4f7fa;
    color: #12161c;
}

.mb-picker--light .mb-picker__eyebrow {
    color: #e50046;
}

.mb-picker--light .mb-picker__title {
    color: #12161c;
}

.mb-picker--light .mb-picker__opt {
    border: 2px solid #fbcbd9;
    background: #fff;
    color: #12161c;
}

.mb-picker--light .mb-picker__opt:hover,
.mb-picker--light .mb-picker__opt:focus-visible {
    border-color: #e50046;
    background: #fff5f8;
}

.mb-picker--light .mb-picker__opt:disabled:hover {
    border-color: #fbcbd9;
    background: #fff;
}

.mb-picker--light .mb-picker__opt-price {
    color: #e50046;
}

.mb-picker--light .mb-picker__opt-media {
    border: 1px solid #fbcbd9;
}

.mb-picker--light .mb-picker__error {
    background: #fdeeee;
    color: #b3261e;
}
