/*
 * NhPanel: Produktdetailseite – fester Preiskopf (.nh-ph), Faktenleiste (.nh-pf) und einheitliche Abstände
 * der rechten Spalte. Geladen über storefront/layouts/meta.twig auf storefront.product.* (versionierte URL).
 *
 * Farben kommen aus den Oberflächen-Tokens des booking-Themes (nh-product-page-styles.twig: --s-*),
 * damit dunkle Gameserver- und helle Business-Seiten gleich aussehen; die Fallbacks entsprechen der
 * hellen Oberfläche (= --nh-site-* aus site.css). Keine Farbverläufe, keine Animationen.
 */

/* ── Preiskopf in der Preisübersicht ─────────────────────────────── */
/* Hostwares Lade-Schleier (#hw-checkout-summary-spinner: absolut über der ganzen Karte, z-index 10) soll nur die
   Zusammenfassung abdecken – der Kopf bleibt beim Laden und bei jeder Optionsänderung lesbar. 2 px Abstand lassen
   die Akzentlinie der Karte (::before) frei. */
.nh-pdp .nh-ph {
    position: relative;
    z-index: 11;
    margin-top: 2px;
    padding: 14px 20px 14px;
    border-bottom: 1px solid var(--s-line, rgba(15, 23, 42, .10));
    background: var(--s-panel, #ffffff);
    color: var(--s-text, #0b1020);
}
.nh-pdp .nh-ph__eyebrow {
    display: block;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--s-muted, #566174);
}
.nh-pdp .nh-ph__from {
    margin: 6px 0 0;
    line-height: 1.25;
}
.nh-pdp .nh-ph__from strong {
    font-family: var(--nh-font-display, Rubik, "DM Sans", system-ui, sans-serif);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -.01em;
    color: var(--s-text, #0b1020);
    font-variant-numeric: tabular-nums;
}
.nh-pdp .nh-ph__note {
    margin: 4px 0 0;
    font-size: 12.5px;
    line-height: 1.45;
    color: var(--s-muted, #566174);
}

/* ── Rechte Spalte: gleicher Rhythmus für alle Bausteine ──────────── */
.nh-pdp .hw-checkout-summary-sticky > .hw-support-cta,
.nh-pdp .hw-checkout-summary-sticky > .nh-pf {
    margin-top: 16px;
}

/* ── Faktenleiste ─────────────────────────────────────────────────── */
.nh-pdp .nh-pf {
    padding: 16px 18px 14px;
    border: 1px solid var(--s-line, rgba(15, 23, 42, .10));
    border-radius: 16px;
    background: var(--s-panel, #ffffff);
    color: var(--s-text-2, #334155);
    font-size: 13px;
    line-height: 1.45;
}
.nh-pdp .nh-pf__title {
    margin: 0 0 10px;
    font-family: var(--nh-font-display, Rubik, "DM Sans", system-ui, sans-serif);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: -.005em;
    color: var(--s-text, #0b1020);
}
.nh-pdp .nh-pf__list {
    margin: 0;
}
.nh-pdp .nh-pf__row {
    padding: 9px 0;
    border-top: 1px solid var(--s-line, rgba(15, 23, 42, .10));
}
.nh-pdp .nh-pf__row:first-child {
    border-top: 0;
    padding-top: 0;
}
.nh-pdp .nh-pf__row:last-child {
    padding-bottom: 0;
}
/* Begriff über dem Wert: die Spalte ist schmal (300–410 px), so bleiben die Zeilen lang und ruhig */
.nh-pdp .nh-pf__row dt {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 0 0 2px;
    font-weight: 700;
    color: var(--s-text, #0b1020);
}
.nh-pdp .nh-pf__row dt i {
    flex: 0 0 18px;
    width: 18px;
    text-align: center;
    font-size: 13px;
    color: var(--s-accent-text, #4133b8);
}
.nh-pdp .nh-pf__row dd {
    margin: 0;
    padding-left: 26px;
    min-width: 0;
    overflow-wrap: anywhere;
}
.nh-pdp .nh-pf__lines {
    margin: 0;
    padding: 0;
    list-style: none;
}
.nh-pdp .nh-pf__lines li {
    position: relative;
    padding-left: 12px;
}
.nh-pdp .nh-pf__lines li + li {
    margin-top: 4px;
}
.nh-pdp .nh-pf__lines li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .62em;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--s-muted, #566174);
}
.nh-pdp .nh-pf__link {
    display: inline-block;
    font-weight: 600;
    color: var(--s-accent-text, #4133b8);
    text-decoration: underline;
    text-decoration-color: var(--s-accent-line, rgba(81, 67, 217, .40));
    text-underline-offset: 2px;
}
.nh-pdp .nh-pf__link:hover,
.nh-pdp .nh-pf__link:focus-visible {
    color: var(--s-text, #0b1020);
    text-decoration-color: currentColor;
}
.nh-pdp .nh-pf__hint {
    display: block;
    margin-top: 3px;
    font-size: 12px;
    color: var(--s-muted, #566174);
}

/* Rechtslinks */
.nh-pdp .nh-pf__legal {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 14px;
    margin: 12px 0 0;
    padding-top: 10px;
    border-top: 1px solid var(--s-line, rgba(15, 23, 42, .10));
    font-size: 12px;
    color: var(--s-muted, #566174);
}
.nh-pdp .nh-pf__legal a {
    color: var(--s-text-2, #334155);
    text-decoration: underline;
    text-decoration-color: var(--s-line-strong, rgba(15, 23, 42, .20));
    text-underline-offset: 2px;
}
.nh-pdp .nh-pf__legal a:hover,
.nh-pdp .nh-pf__legal a:focus-visible {
    color: var(--s-text, #0b1020);
    text-decoration-color: currentColor;
}

/* Fokus sichtbar (Oberflächen-Farbe des Themes, sonst Marke) */
.nh-pdp .nh-pf a:focus-visible {
    outline: 2px solid var(--s-focus, #4133b8);
    outline-offset: 2px;
    border-radius: 3px;
}

/* ── Schmale Bildschirme (375 px): etwas weniger Innenabstand, nichts läuft über ─────────────────── */
@media (max-width: 575.98px) {
    .nh-pdp .nh-pf {
        padding: 14px 14px 12px;
    }
    .nh-pdp .nh-ph {
        padding: 12px 16px 12px;
    }
}

/* Touch-Bedienung: Links mit mindestens 44 px Trefferhöhe, ohne das Zeilenbild zu ändern */
@media (max-width: 991.98px), (pointer: coarse) {
    .nh-pdp .nh-pf__link {
        padding: 13px 0;
        margin: -13px 0;
    }
    .nh-pdp .nh-pf__legal {
        gap: 0 18px;
        align-items: center;
    }
    .nh-pdp .nh-pf__legal a {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
    }
}
