/* Bazar detail and account introductions: decoration only, no card or form overrides. */
.penzista-bazar-detail > .penzista-bazar-breadcrumbs { position: relative; isolation: isolate; }
.penzista-bazar-detail > .penzista-bazar-breadcrumbs::before {
    content: ""; position: absolute; inset: 0 -10px; z-index: -1; pointer-events: none;
    border: 1px solid #e9dfc6; border-radius: 26px;
    background: linear-gradient(110deg, #fff 35%, #faf5e9 145%);
}
.pz-directory-atmosphere.pz-atmosphere-account > .container::before {
    background: linear-gradient(115deg, #fff 45%, var(--surface-2) 160%);
    box-shadow: none; pointer-events: none;
}
.pz-directory-atmosphere.pz-atmosphere-account.pz-atmosphere-account-bazar > .container::before {
    background: linear-gradient(115deg, #fff 45%, #faf5e9 160%);
}
@media (forced-colors: active), print {
    .penzista-bazar-detail > .penzista-bazar-breadcrumbs::before,
    .pz-directory-atmosphere.pz-atmosphere-account > .container::before { display: none; }
}

/* Product orientation retains its original height and all gallery/purchase geometry. */
.pz-directory-atmosphere.pz-atmosphere-product > .container::before {
    background: linear-gradient(115deg, #fff 35%, var(--surface-2) 180%);
    box-shadow: none;
    pointer-events: none;
}
@media (forced-colors: active), print {
    .pz-directory-atmosphere.pz-atmosphere-product > .container::before { display: none; }
}

/* Only the opted-in entry-point hero areas; shared cards and controls are unchanged. */
.pz-section-hero,
.pz-archive-atmosphere > .container {
    position: relative; isolation: isolate; overflow: hidden;
    border: 1px solid var(--border); border-radius: 26px;
    background: linear-gradient(115deg, var(--surface-2), #fff 73%, var(--accent-soft) 130%);
    box-shadow: var(--shadow-soft);
}
.pz-section-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .48fr); gap: 32px; padding: 32px; }
.pz-section-hero-copy { min-width: 0; }
.pz-intro-short { display: none; }
.pz-section-kicker { color: var(--primary); font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 12px; }
.pz-section-hero .section-lead { max-width: 65ch; }
.pz-section-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.pz-section-hero-aside { position: relative; padding: 22px; border: 1px solid #ffffffb3; border-radius: 22px; background: #ffffffa8; align-self: center; }
.pz-section-hero-aside h2 { margin-top: 0; font-size: 1.3rem; }
.pz-section-hero-aside p { margin-bottom: 0; color: var(--muted); }
.pz-section-motif { position: absolute; z-index: -1; pointer-events: none; width: min(42vw, 360px); height: auto; right: -25px; bottom: -105px; opacity: .065; filter: blur(1.6px); transform: rotate(-10deg); mask-image: radial-gradient(ellipse at 65% 62%, #000 15%, #0008 48%, transparent 77%); }
.pz-archive-atmosphere { background: none; }
.pz-archive-atmosphere > .container { border: 0; outline: 1px solid var(--border); outline-offset: -1px; padding-top: 28px; padding-bottom: 28px; }
.pz-archive-atmosphere.pz-atmosphere-guide > .container { background: linear-gradient(115deg, #fff, var(--surface-2) 72%, var(--accent-soft) 130%); }
.pz-archive-atmosphere .pz-section-motif { bottom: auto; top: 10px; right: -20px; opacity: .055; }
@media (max-width: 980px) { .pz-section-hero { grid-template-columns: minmax(0, 1fr) 260px; gap: 22px; padding: 26px; } }
@media (max-width: 700px) {
    .pz-section-hero { grid-template-columns: minmax(0, 1fr); padding: 22px 20px; gap: 12px; }
    .pz-section-hero-aside { display: none; }
    .pz-intro-long { display: none; }
    .pz-intro-short { display: inline; }
    .pz-section-hero-aside h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
    .pz-section-hero-aside p { margin: 0; font-size: .9rem; }
    .pz-section-actions { margin-top: 18px; }
    .pz-section-motif { width: 260px; bottom: -95px; right: -60px; opacity: .04; }
    .pz-archive-atmosphere > .container { padding-top: 22px; padding-bottom: 22px; }
}
@media (forced-colors: active), print { .pz-section-motif { display: none; } }

/* Information entry points: retain original card widths, grids and controls. */
.page-hero.pz-information-atmosphere {
    position: relative; overflow: hidden; background: none; border-bottom: 0;
}
.pz-information-atmosphere > .container {
    position: relative; isolation: isolate; padding-top: 24px; padding-bottom: 24px;
}
.pz-information-atmosphere > .container::before {
    content: ""; position: absolute; inset: 0 -16px; z-index: -2;
    border: 1px solid var(--border); border-radius: 26px; box-shadow: var(--shadow-soft);
    background: linear-gradient(115deg, var(--surface-2), #fff 72%, var(--accent-soft) 135%);
}
.pz-information-atmosphere.pz-atmosphere-contact > .container::before {
    background: linear-gradient(115deg, #fff 15%, #fff 62%, var(--surface-2) 110%);
}
.pz-information-atmosphere.pz-atmosphere-collaboration > .container::before {
    background: linear-gradient(115deg, var(--surface-2) -80%, #fff 48%, var(--accent-soft) 140%);
}
.pz-information-atmosphere .pz-section-motif {
    width: 340px; right: 5%; bottom: -110px; opacity: .065;
    filter: blur(1.3px); transform: rotate(-9deg);
    mask-image: radial-gradient(ellipse at center, #000 20%, #0009 55%, transparent 78%);
}
.pz-information-atmosphere.pz-atmosphere-contact .pz-section-motif {
    opacity: .045; right: 2%; bottom: -105px; width: 310px;
}
.pz-information-atmosphere.pz-atmosphere-collaboration .pz-section-motif {
    opacity: .06; right: 5%; bottom: -115px; transform: rotate(12deg);
}
@media (max-width: 700px) {
    .pz-information-atmosphere > .container { padding-top: 20px; padding-bottom: 20px; }
    .pz-information-atmosphere .pz-section-motif { width: 240px; right: -55px; bottom: -85px; opacity: .04; }
    .pz-information-atmosphere.pz-atmosphere-contact .pz-section-motif { width: 230px; opacity: .03; right: -45px; bottom: -75px; }
    .pz-information-atmosphere.pz-atmosphere-collaboration .pz-section-motif { width: 250px; right: -55px; bottom: -85px; opacity: .04; }
}

/* Directory entry points: frame only; retain hero height and every card/grid metric. */
.page-hero.pz-directory-atmosphere {
    position: relative; overflow: hidden; background: none; border-bottom-color: transparent;
}
.pz-directory-atmosphere > .container { position: relative; isolation: isolate; }
.pz-directory-atmosphere > .container::before {
    content: ""; position: absolute; inset: 0 -16px; z-index: -2;
    border: 1px solid var(--border); border-radius: 26px; box-shadow: var(--shadow-soft);
    background: linear-gradient(115deg, var(--surface-2), #fff 72%, var(--accent-soft) 135%);
}
.pz-directory-atmosphere.pz-atmosphere-service > .container::before {
    background: linear-gradient(115deg, #fff 15%, #fff 62%, var(--surface-2) 110%);
}
.pz-directory-atmosphere.pz-atmosphere-partner > .container::before {
    background: linear-gradient(115deg, #fff, var(--surface-2) 155%);
}
.pz-directory-atmosphere .pz-section-motif {
    top: 0; bottom: auto; right: 2%; width: 260px; height: 100%; max-height: 100%;
    box-sizing: border-box; padding: 12px; object-fit: contain; opacity: .045;
    filter: blur(1.3px); transform: none;
    mask-image: radial-gradient(ellipse at center, #000 18%, #0008 52%, transparent 76%);
}
@media (max-width: 700px) {
    .pz-directory-atmosphere .pz-section-motif { width: 190px; right: 0; opacity: .03; }
}

/* Archive and utility headers: no changes to the original content geometry. */
.pz-directory-atmosphere.pz-atmosphere-weather > .container::before {
    background: linear-gradient(115deg, #fff 15%, #fff 65%, var(--surface-2) 130%);
}
.pz-directory-atmosphere.pz-atmosphere-quotes > .container::before {
    background: linear-gradient(115deg, #fff 15%, #fff 65%, var(--accent-soft) 140%);
}
.pz-directory-atmosphere .pz-rubric-motif { color: var(--primary); }
.pz-directory-atmosphere .pz-rubric-motif > .article-area-signature { width: 100%; height: 100%; }
.pz-directory-atmosphere.pz-atmosphere-weather .pz-section-motif { opacity: .035; }
@media (max-width: 700px) {
    .pz-directory-atmosphere.pz-atmosphere-weather .pz-section-motif { opacity: .025; }
}

/* Practical and legal headers: decoration only, no card or document-layout overrides. */
.pz-directory-atmosphere.pz-atmosphere-shipping > .container::before,
.pz-directory-atmosphere.pz-atmosphere-search > .container::before {
    background: linear-gradient(115deg, #fff 15%, #fff 65%, var(--surface-2) 130%);
}
.pz-directory-atmosphere.pz-atmosphere-returns > .container::before,
.pz-directory-atmosphere.pz-atmosphere-bazar-document > .container::before {
    background: linear-gradient(115deg, #fff 15%, #fff 65%, var(--accent-soft) 145%);
}
.pz-directory-atmosphere.pz-atmosphere-document > .container::before {
    background: linear-gradient(115deg, #fff 35%, var(--surface-2) 180%);
}

/* Approved narrow fix: overview min-content must not widen the mobile document. */
@media (max-width: 599px) {
    .information-page-zasady-cookies-eu #cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy summary > div {
        grid-template-areas: "heading label checkbox chevron" "paragraph paragraph paragraph paragraph";
        grid-template-columns: minmax(0, 1fr) 0 auto 25px;
        gap: 6px 8px;
    }
    .information-page-zasady-cookies-eu #cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy summary :is(h3, p) {
        min-width: 0; overflow-wrap: anywhere;
    }
    .information-page-zasady-cookies-eu #cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose {
        grid-template-columns: 100px minmax(0, 1fr);
    }
    .information-page-zasady-cookies-eu #cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose > div {
        min-width: 0; overflow-wrap: anywhere;
    }
}

/* Detail introductions: decoration only; original content and game geometry stay intact. */
.article-hero .pz-article-detail-intro,
.pz-games > .pz-game-detail-intro { position: relative; isolation: isolate; }
.article-hero .pz-article-detail-intro::before,
.pz-games > .pz-game-detail-intro::before {
    content: ""; position: absolute; inset: 0 -16px; z-index: -2;
    border: 1px solid var(--border); border-radius: 26px; box-shadow: var(--shadow-soft);
    background: linear-gradient(115deg, #fff 35%, var(--surface-2) 180%);
    pointer-events: none;
}
.pz-games > .pz-game-detail-intro::before {
    background: linear-gradient(115deg, var(--surface-2), #fff 72%, var(--accent-soft) 135%);
}
.pz-games > .pz-game-detail-intro > .pz-section-motif {
    top: 0; bottom: auto; right: 2%; width: min(24%, 160px); height: 100%;
    max-height: 100%; object-fit: contain; opacity: .035; filter: blur(1.3px); transform: none;
}
@media (max-width: 700px) {
    .pz-games > .pz-game-detail-intro > .pz-section-motif { opacity: .025; }
}
@media (forced-colors: active), print {
    .article-hero .pz-article-detail-intro::before,
    .pz-games > .pz-game-detail-intro::before { display: none; }
}

/* Purchase introductions only: no card, form, progress or commerce overrides. */
.page-hero-grid > .pz-purchase-intro { position: relative; isolation: isolate; }
.page-hero-grid > .pz-purchase-intro::before {
    content: ""; position: absolute; inset: -10px -16px; z-index: -1;
    border: 1px solid var(--border); border-radius: 26px;
    background: linear-gradient(115deg, #fff 45%, var(--surface-2) 160%);
    box-shadow: none; pointer-events: none;
}
.page-hero-grid > .pz-purchase-checkout-intro::before {
    background: linear-gradient(115deg, #fff 45%, var(--surface-2) 220%);
}
@media (forced-colors: active), print {
    .page-hero-grid > .pz-purchase-intro::before { display: none; }
}

/* Secondary archive introductions and the 404 title only; no content geometry. */
.section-head > .pz-secondary-archive-intro,
.panel > .pz-not-found-title { position: relative; isolation: isolate; }
.section-head > .pz-secondary-archive-intro::before,
.panel > .pz-not-found-title::before {
    content: ""; position: absolute; inset: -8px -10px; z-index: -1;
    border: 1px solid var(--border); border-radius: 26px;
    background: linear-gradient(115deg, #fff 45%, var(--surface-2) 160%);
    pointer-events: none;
}
.panel > .pz-not-found-title::before {
    background: linear-gradient(115deg, #fff 60%, var(--surface-2) 220%);
}
@media (forced-colors: active), print {
    .section-head > .pz-secondary-archive-intro::before,
    .panel > .pz-not-found-title::before { display: none; }
}

/* Premium introduction only: preserve the original hero and every status-card metric. */
.premium-design .page-hero.pz-atmosphere-premium {
    background: none; border-bottom-color: transparent;
}
.pz-atmosphere-premium > .container::before {
    background: linear-gradient(115deg, var(--surface-2) -45%, #fff 65%, var(--accent-soft) 155%);
}
.pz-atmosphere-premium .pz-premium-copy { position: relative; isolation: isolate; }
.pz-atmosphere-premium .pz-premium-copy .pz-section-motif {
    width: 230px; right: 0; opacity: .04;
}
@media (max-width: 700px) {
    .pz-atmosphere-premium .pz-premium-copy .pz-section-motif { width: 170px; opacity: .025; }
}
@media (forced-colors: active), print {
    .pz-atmosphere-premium > .container::before { display: none; }
}
