/* Mazbit Gdzie Kupić – SCF v1.0.4 */
html:has(.mzwb-section),
body:has(.mzwb-section) {
    overflow-x: clip;
}

.mzwb-section,
.mzwb-section * {
    box-sizing: border-box;
}

.mzwb-section {
    --mzwb-blue: #0797e2;
    --mzwb-navy: #071a4f;
    --mzwb-text: #38527b;
    position: relative;
    left: 50%;
    width: 100vw;
    max-width: none;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-top: -24px;
    min-height: 520px;
    overflow: hidden;
    isolation: isolate;
    color: var(--mzwb-navy);
    background:
        linear-gradient(
            180deg,
            rgba(218, 241, 254, .86) 0px,
            rgba(230, 246, 255, .72) 42px,
            rgba(243, 251, 255, .88) 92px,
            #fdfdff 156px,
            #fdfdff 100%
        );
}

/* miękki, gradientowy rant u góry zamiast ostrej linii */
.mzwb-section::before {
    content: "";
    position: absolute;
    z-index: 0;
    inset: 0 0 auto 0;
    height: 150px;
    pointer-events: none;
    background:
        radial-gradient(ellipse at 56% -45%, rgba(151, 216, 249, .33) 0%, rgba(205, 237, 253, .18) 43%, rgba(253,253,255,0) 77%);
    filter: blur(3px);
}

/* delikatna fala na dole jak w projekcie */
.mzwb-section::after {
    content: "";
    position: absolute;
    z-index: 0;
    left: -7%;
    right: -7%;
    bottom: -48px;
    height: 118px;
    pointer-events: none;
    border-radius: 50% 50% 0 0 / 72% 72% 0 0;
    background: linear-gradient(180deg, rgba(219,243,255,0) 0%, rgba(210,239,255,.38) 100%);
}

.mzwb-container {
    position: relative;
    z-index: 4;
    width: min(1200px, calc(100% - 40px));
    min-height: 520px;
    margin: 0 auto;
}

.mzwb-visual {
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    bottom: 0;
    width: 58.5%;
    overflow: hidden;
    background: transparent;
}

.mzwb-visual img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: 48% center;
    transform: scale(1.005);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.20) 10%, rgba(0,0,0,.82) 23%, #000 34%, #000 100%);
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.20) 10%, rgba(0,0,0,.82) 23%, #000 34%, #000 100%);
}

/* fallback i dodatkowe wtopienie zdjęcia, żeby nie było pionowego cięcia */
.mzwb-visual::before {
    content: "";
    position: absolute;
    z-index: 2;
    inset: 0 auto 0 0;
    width: 34%;
    pointer-events: none;
    background: linear-gradient(
        90deg,
        #fdfdff 0%,
        rgba(253,253,255,.98) 13%,
        rgba(253,253,255,.86) 31%,
        rgba(253,253,255,.50) 57%,
        rgba(253,253,255,.15) 81%,
        rgba(253,253,255,0) 100%
    );
}

.mzwb-visual::after {
    content: "";
    position: absolute;
    z-index: 2;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(253,253,255,.30) 0%, rgba(253,253,255,0) 17%, rgba(253,253,255,0) 84%, rgba(253,253,255,.24) 100%),
        linear-gradient(90deg, rgba(253,253,255,0) 69%, rgba(253,253,255,.10) 100%);
}

.mzwb-copy {
    position: absolute;
    z-index: 5;
    left: 0;
    top: 58px;
    width: 58%;
    max-width: 690px;
}

.mzwb-kicker {
    display: inline-block;
    padding-bottom: 8px;
    border-bottom: 2px solid #87cef3;
    color: var(--mzwb-blue);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 6px;
}

.mzwb-title {
    margin: 16px 0 0;
    color: var(--mzwb-navy);
    font-family: inherit;
    font-size: 46px;
    font-weight: 800;
    line-height: .99;
    letter-spacing: -1.8px;
}

.mzwb-title > span {
    display: block;
    white-space: nowrap;
}

.mzwb-title b {
    color: var(--mzwb-navy);
    font-weight: inherit;
}

.mzwb-title em {
    color: var(--mzwb-blue);
    font-style: normal;
    font-weight: inherit;
}

.mzwb-description {
    width: 88%;
    margin-top: 18px;
    color: var(--mzwb-text);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.43;
}

.mzwb-benefits {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    width: 100%;
    margin-top: 26px;
}

.mzwb-benefit {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.mzwb-benefit-icon {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: rgba(229,247,255,.96);
    color: #068fd8;
}

.mzwb-benefit-icon svg {
    width: 32px;
    height: 32px;
    display: block;
}

.mzwb-benefit-text {
    color: #0d3368;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.16;
}

.mzwb-badge {
    position: absolute;
    z-index: 6;
    right: 1.4%;
    top: 135px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 138px;
    height: 138px;
    padding: 18px;
    border-radius: 50%;
    background: linear-gradient(145deg, #159fe4 0%, #0283cb 100%);
    box-shadow: 0 14px 34px rgba(1,112,183,.20);
    color: #fff;
    font-family: "Segoe Print", "Comic Sans MS", cursive;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.06;
    text-align: center;
    transform: rotate(-3deg);
}

@media (max-width: 1180px) {
    .mzwb-section,
    .mzwb-container {
        min-height: 560px;
    }

    .mzwb-container {
        width: min(100% - 32px, 980px);
    }

    .mzwb-copy {
        width: 59%;
        max-width: 600px;
        top: 66px;
    }

    .mzwb-title {
        font-size: 39px;
    }

    .mzwb-description {
        font-size: 14px;
    }

    .mzwb-benefits {
        gap: 9px;
        margin-top: 24px;
    }

    .mzwb-benefit {
        grid-template-columns: 46px minmax(0, 1fr);
        gap: 7px;
    }

    .mzwb-benefit-icon {
        width: 46px;
        height: 46px;
    }

    .mzwb-benefit-icon svg {
        width: 27px;
        height: 27px;
    }

    .mzwb-benefit-text {
        font-size: 11px;
    }

    .mzwb-badge {
        width: 112px;
        height: 112px;
        top: 150px;
        font-size: 15px;
    }
}

@media (max-width: 820px) {
    .mzwb-section {
        margin-top: -12px;
        min-height: 820px;
        background: linear-gradient(180deg, rgba(223,244,255,.68) 0%, #fdfdff 92px, #fdfdff 100%);
    }

    .mzwb-container {
        min-height: 820px;
        width: min(100% - 28px, 680px);
    }

    .mzwb-copy {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        max-width: none;
        padding-top: 34px;
    }

    .mzwb-kicker {
        font-size: 12px;
        letter-spacing: 5px;
    }

    .mzwb-title {
        font-size: clamp(34px, 8vw, 46px);
        line-height: 1;
    }

    .mzwb-title > span {
        white-space: normal;
    }

    .mzwb-description {
        width: 100%;
        font-size: 15px;
    }

    .mzwb-benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px 18px;
        width: 100%;
        margin-top: 24px;
    }

    .mzwb-benefit {
        grid-template-columns: 48px minmax(0, 1fr);
    }

    .mzwb-benefit-icon {
        width: 48px;
        height: 48px;
    }

    .mzwb-benefit-text {
        font-size: 12px;
    }

    .mzwb-visual {
        top: auto;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 330px;
    }

    .mzwb-visual img {
        object-position: 54% center;
        -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.55) 15%, #000 31%, #000 100%);
        mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.55) 15%, #000 31%, #000 100%);
    }

    .mzwb-visual::before {
        inset: 0;
        width: 100%;
        background: linear-gradient(180deg, #fdfdff 0%, rgba(253,253,255,.88) 8%, rgba(253,253,255,.20) 28%, rgba(253,253,255,0) 45%);
    }

    .mzwb-badge {
        right: 24px;
        top: auto;
        bottom: 207px;
        width: 104px;
        height: 104px;
        font-size: 14px;
    }
}

@media (max-width: 520px) {
    .mzwb-section,
    .mzwb-container {
        min-height: 860px;
    }

    .mzwb-container {
        width: calc(100% - 24px);
    }

    .mzwb-copy {
        padding-top: 28px;
    }

    .mzwb-title {
        font-size: 35px;
        letter-spacing: -1.3px;
    }

    .mzwb-description {
        font-size: 14px;
        line-height: 1.42;
    }

    .mzwb-benefits {
        grid-template-columns: 1fr;
        gap: 10px;
        max-width: 320px;
    }

    .mzwb-benefit {
        grid-template-columns: 44px minmax(0, 1fr);
    }

    .mzwb-benefit-icon {
        width: 44px;
        height: 44px;
    }

    .mzwb-visual {
        height: 315px;
    }

    .mzwb-badge {
        right: 14px;
        bottom: 198px;
        width: 94px;
        height: 94px;
        padding: 13px;
        font-size: 12px;
    }
}
