.pz-page .pz-pakete { scroll-margin-top: calc(var(--nav-h) + 20px); }

.pz-page .pz-card[data-eh-card] {
    --eh-edge: #d4dde5;
    display: flex;
    min-width: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    flex-direction: column;
}
/* Both registers use the full card width, so their outside edges continue its sides. */
.pz-page .pz-eh-tabs {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
    margin: 0;
    padding: 0;
}
.pz-page .pz-eh-tab {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 82px;
    padding: 14px 15px 13px;
    border: 1.5px solid #d4dde5;
    border-bottom-color: var(--eh-edge);
    border-radius: 16px 16px 0 0;
    background: #f1f4f6;
    color: #52677e;
    font-family: var(--font);
    text-align: left;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    box-shadow: inset 0 -1px 0 rgba(10, 37, 64, .025);
    transition: min-height .2s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.pz-page .pz-eh-tab:first-child { border-top-left-radius: var(--radius-lg); }
.pz-page .pz-eh-tab:last-child { border-top-right-radius: var(--radius-lg); }
.pz-page .pz-eh-tab[aria-selected="true"] {
    z-index: 2;
    min-height: 92px;
    margin-bottom: -1px;
    border-color: var(--eh-edge);
    border-bottom-color: #fff;
    background: #fff;
    color: var(--navy);
    box-shadow: 0 -7px 20px rgba(10, 37, 64, .055);
}
.pz-page .pz-eh-tab-label {
    display: flex;
    align-items: center;
    overflow-wrap: anywhere;
    font-family: 'Outfit', 'Inter', sans-serif;
    font-size: 1.2rem;
    font-weight: 750;
    line-height: 1.18;
}
.pz-page .pz-eh-tab-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 2px 5px;
    margin-top: 7px;
    font-size: .62rem;
    font-weight: 600;
    line-height: 1.2;
}
.pz-page .pz-eh-tab-price strong { font-size: 1.15rem; white-space: nowrap; }
.pz-page .pz-eh-tab--mini .pz-eh-tab-price strong { color: inherit; }
.pz-page .pz-eh-tab--mini:not([aria-selected="true"]) {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-content: center;
    align-items: center;
    column-gap: 8px;
}
.pz-page .pz-eh-tab--mini:not([aria-selected="true"]) .pz-eh-tab-label { grid-column: 1 / -1; }
.pz-page .pz-eh-tab--mini:not([aria-selected="true"]) .pz-eh-tab-price {
    grid-column: 1;
    margin-top: 7px;
}
.pz-page .pz-eh-tab-note {
    grid-column: 2;
    margin-top: 7px;
    color: #52677e;
    font-size: .62rem;
    font-weight: 650;
    line-height: 1.25;
}
.pz-page .pz-eh-tab:not([aria-selected="true"]):hover {
    border-color: rgba(128, 179, 44, .55);
    background: #f6f9f0;
    color: var(--navy);
}
.pz-page .pz-eh-tab:focus-visible {
    z-index: 3;
    outline: 3px solid var(--green-dark);
    outline-offset: 3px;
}

/* Opt-in layout: centre each left-aligned text group and align the title tops. */
.pz-page.pz-tabs-aligned .pz-card[data-eh-card] { container-type: inline-size; }
.pz-page.pz-tabs-aligned .pz-eh-tab {
    display: grid;
    grid-template-columns: auto auto;
    min-height: 114px;
    padding: 22px 10px;
    align-content: start;
    align-items: center;
    justify-content: center;
    column-gap: 8px;
}
.pz-page.pz-tabs-aligned .pz-eh-tab-label {
    display: block;
    grid-column: 1 / -1;
    line-height: 1.05;
}
.pz-page.pz-tabs-aligned .pz-eh-tab-price { grid-column: 1; }
.pz-page.pz-tabs-aligned .pz-eh-tab[aria-selected="true"] .pz-eh-tab-label {
    font-size: 1.9rem;
    font-size: clamp(1.45rem, 8cqi, 1.9rem);
    font-weight: 800;
    overflow-wrap: normal;
}
.pz-page.pz-tabs-aligned .pz-eh-tab--mini[aria-selected="true"] .pz-eh-tab-label {
    width: min-content;
    max-width: 100%;
    justify-self: center;
    hyphens: none;
    overflow-wrap: normal;
}
.pz-page.pz-tabs-aligned .pz-eh-tab-plan { white-space: nowrap; }

.pz-page .pz-eh-turn {
    position: relative;
    z-index: 1;
    display: flex;
    height: 100%;
    margin-top: -1px;
    flex: 1;
    flex-direction: column;
}
.pz-page .pz-eh-front,
.pz-page .pz-eh-back {
    position: relative;
    display: flex;
    min-width: 0;
    height: 100%;
    padding: 30px 26px;
    border: 1.5px solid var(--eh-edge);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-sm);
    flex-direction: column;
}
.pz-page .pz-eh-back {
    margin-top: 18px;
    background: linear-gradient(145deg, #f6f9f2, #fff 58%);
}

.pz-page .pz-eh-ready .pz-eh-turn {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
}
.pz-page .pz-eh-ready .pz-eh-front,
.pz-page .pz-eh-ready .pz-eh-back {
    grid-area: 1 / 1;
    margin: 0;
}
.pz-page .pz-eh-ready.pz-eh-animated .pz-eh-front,
.pz-page .pz-eh-ready.pz-eh-animated .pz-eh-back {
    transition: opacity .22s ease, transform .28s ease, visibility 0s linear .28s;
}
.pz-page .pz-eh-ready .pz-eh-front { opacity: 1; transform: translateY(0); visibility: visible; }
.pz-page .pz-eh-ready .pz-eh-back { opacity: 0; transform: translateY(8px); visibility: hidden; }
.pz-page .pz-eh-ready.is-mini .pz-eh-front { opacity: 0; transform: translateY(8px); visibility: hidden; }
.pz-page .pz-eh-ready.is-mini .pz-eh-back { opacity: 1; transform: translateY(0); visibility: visible; }

.pz-page .pz-eh-title {
    margin: 0;
    color: var(--navy);
    font-family: 'Outfit', 'Inter', sans-serif;
    font-size: clamp(1.35rem, 2vw, 1.65rem);
    line-height: 1.2;
}
.pz-page .pz-eh-ready .pz-card-name,
.pz-page .pz-eh-ready .pz-eh-title {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}
.pz-page .pz-eh-ready .pz-price { margin-top: 0; }
.pz-page .pz-btn-unavailable {
    border-color: #aeb8c2 !important;
    background: #aeb8c2 !important;
    box-shadow: none !important;
    color: #fff !important;
    cursor: default;
    pointer-events: none;
}
.pz-page .pz-eh-mini-status {
    width: 100%;
    margin-top: auto;
    justify-content: center;
}
.pz-page .pz-eh-return,
.pz-page .pz-eh-corner[hidden],
.pz-page .pz-eh-return[hidden] { display: none; }

@media (max-width: 900px) {
    .pz-page .pz-cards { gap: 32px; }
}
@media (max-width: 450px) {
    .pz-page .pz-eh-tab { min-height: 78px; padding: 12px 13px; }
    .pz-page .pz-eh-tab[aria-selected="true"] { min-height: 88px; }
    .pz-page .pz-eh-tab-label { font-size: 1.1rem; }
    .pz-page .pz-eh-front,
    .pz-page .pz-eh-back { padding: 27px 22px; }
    .pz-page .pz-eh-content .pz-cycle { flex-basis: 100%; }
    .pz-page.pz-tabs-aligned .pz-eh-tab { min-height: 108px; padding: 20px 10px; }
}
@media (prefers-reduced-motion: reduce) {
    .pz-page .pz-eh-tab,
    .pz-page .pz-eh-ready .pz-eh-front,
    .pz-page .pz-eh-ready .pz-eh-back { transition: none; }
}
