.spx-dh-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 10px 0;
    max-width: 100%;
    box-sizing: border-box;
    line-height: 1.35;
}

.spx-dh-bar .spx-dh-icon {
    font-size: 1.1em;
    line-height: 1;
    flex-shrink: 0;
}

.spx-dh-bar .spx-dh-text {
    font-weight: 500;
}

.spx-dh-bar--shop {
    padding: 0.5rem 0.75rem;
    width: 100%;
    background: transparent;
    color: inherit;
    font-family: inherit;
    font-size: inherit;
    border: 1px solid var(--slpx-base-border, var(--bs-border-color, #dadada));
    border-radius: var(--slpx-base-button-borders-radius, var(--bs-border-radius, 4px));
}

.spx-dh-bar--shop .spx-dh-countdown,
.spx-dh-bar--shop .spx-dh-instock {
    color: var(--slpx-success, var(--bs-success, #37ac03));
    font-weight: 700;
}

.spx-dh-bar--shop .spx-dh-date {
    color: var(--slpx-primary, var(--bs-primary, #0069e7));
    font-weight: 700;
}

.spx-dh-bar--shop.spx-dh-freeship--reached {
    border-color: var(--slpx-success, var(--bs-success, #37ac03));
}

.spx-dh-bar--custom {
    display: inline-flex;
    padding: 10px 16px;
    background: var(--spx-dh-bg, #1976f0);
    color: var(--spx-dh-fg, #ffffff);
    border-radius: var(--spx-dh-radius, 12px);
    font-size: 0.95rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.spx-dh-bar--custom.spx-dh-freeship--reached {
    background: var(--spx-dh-accent, #00b368);
    color: #ffffff;
}

.spx-dh-bar--custom .spx-dh-countdown,
.spx-dh-bar--custom .spx-dh-instock {
    color: var(--spx-dh-countdown, #00b368);
    font-weight: 700;
}

.spx-dh-bar--custom .spx-dh-date {
    color: var(--spx-dh-date, #e04040);
    font-weight: 700;
}

.spx-dh-bar .spx-dh-disclaimer {
    display: block;
    margin-top: 4px;
    font-size: 0.78rem;
    color: inherit;
    font-weight: 400;
}

@media (max-width: 576px) {
    .spx-dh-bar--custom {
        font-size: 0.875rem;
        padding: 8px 12px;
    }
}

/* Design-Presets */

.spx-dh-d {
    box-sizing: border-box;
    margin: 10px 0;
    max-width: 100%;
    color: var(--spxdh-ink);
    font-family: inherit;
    line-height: 1.35;
}

.spx-dh-d * {
    box-sizing: border-box;
}

.spx-dh-d .spx-dh-d__icon {
    font-size: 22px;
    line-height: 1;
    flex-shrink: 0;
}

.spx-dh-d .spx-dh-d__iconbox {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: var(--spxdh-accent-soft);
    font-size: 22px;
    line-height: 1;
}

.spx-dh-d .spx-dh-d__headline {
    font-size: 19px;
    font-weight: 700;
    color: var(--spxdh-ink);
}

.spx-dh-d .spx-dh-d__body {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.spx-dh-d .spx-dh-d__disclaimer,
.spx-dh-d .spx-dh-d__note {
    font-size: 13px;
    font-weight: 400;
    color: var(--spxdh-ink);
}

.spx-dh-d .spx-dh-d__note {
    font-weight: 700;
    color: var(--spxdh-accent-text);
    white-space: nowrap;
}

.spx-dh-d .spx-dh-d__row {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.spx-dh-d .spx-dh-d__track {
    display: block;
    height: 8px;
    border-radius: 99px;
    background: var(--spxdh-accent-track);
    overflow: hidden;
}

.spx-dh-d .spx-dh-d__bar {
    display: block;
    height: 100%;
    border-radius: 99px;
    background: var(--spxdh-accent);
    transition: width 1s linear;
}

.spx-dh-d .spx-dh-countdown,
.spx-dh-d .spx-dh-instock {
    color: var(--spxdh-accent-text);
    font-weight: 800;
}

.spx-dh-d .spx-dh-date {
    color: var(--spxdh-accent-text);
    font-weight: 800;
}

/* 1C · Ticket */
.spx-dh-d--1c {
    display: flex;
    align-items: stretch;
    border: 2px dashed var(--spxdh-accent);
    border-radius: 10px;
    overflow: hidden;
    background: var(--spxdh-surface);
}

.spx-dh-d--1c .spx-dh-d__iconbox {
    width: auto;
    height: auto;
    padding: 0 22px;
    border-radius: 0;
    background: var(--spxdh-accent);
    font-size: 26px;
}

.spx-dh-d--1c .spx-dh-d__body {
    justify-content: center;
    padding: 16px 22px;
}

/* 1D · Fortschritt */
.spx-dh-d--1d {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px 22px 16px;
    background: var(--spxdh-surface);
    border: 1px solid var(--spxdh-border);
    border-radius: 10px;
}

.spx-dh-d--1d .spx-dh-d__note {
    margin-left: auto;
    font-size: 15px;
}

/* 2A · Fläche + Badge */
.spx-dh-d--2a {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    padding: 16px 22px;
    background: var(--spxdh-accent-soft);
    border: 1px solid var(--spxdh-accent-border);
    border-radius: 8px;
}

.spx-dh-d--2a .spx-dh-d__headline {
    font-weight: 600;
}

.spx-dh-d--2a .spx-dh-d__badge {
    margin-left: auto;
    padding: 6px 12px;
    border-radius: 99px;
    background: var(--spxdh-accent);
    color: var(--spxdh-on-accent);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

/* 1F · Solid */
.spx-dh-d--1f {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    padding: 16px 22px;
    background: var(--spxdh-accent);
    border-radius: 10px;
}

.spx-dh-d--1f .spx-dh-d__headline,
.spx-dh-d--1f .spx-dh-d__note,
.spx-dh-d--1f .spx-dh-countdown,
.spx-dh-d--1f .spx-dh-instock,
.spx-dh-d--1f .spx-dh-date {
    color: var(--spxdh-on-accent);
}

.spx-dh-d--1f .spx-dh-d__headline {
    font-size: 20px;
}

.spx-dh-d--1f .spx-dh-d__note {
    margin-left: auto;
    font-weight: 400;
}

/* 1I · Zweizeiler mit Chip */
.spx-dh-d--1i {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 16px 22px;
    background: var(--spxdh-surface);
    border: 2px solid var(--spxdh-ink);
    border-radius: 10px;
}

.spx-dh-d--1i .spx-dh-d__headline {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.spx-dh-d--1i .spx-dh-countdown,
.spx-dh-d--1i .spx-dh-instock,
.spx-dh-d--1i .spx-dh-date {
    padding: 0 8px;
    border-radius: 5px;
    background: var(--spxdh-accent);
    color: var(--spxdh-on-accent);
}

/* 2B · Countdown rechts */
.spx-dh-d--2b {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
    padding: 20px 26px;
    background: var(--spxdh-surface);
    border: 1px solid var(--spxdh-border);
    border-radius: 10px;
}

.spx-dh-d--2b .spx-dh-d__iconbox {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    font-size: 24px;
}

.spx-dh-d--2b .spx-dh-d__clock {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    margin-left: auto;
}

.spx-dh-d--2b .spx-dh-d__clocklabel {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    color: var(--spxdh-ink);
}

.spx-dh-d--2b .spx-dh-d__clockvalue {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--spxdh-accent-text);
    font-variant-numeric: tabular-nums;
}

/* 2C · Ziffern-Kacheln */
.spx-dh-d--2c {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 24px 26px 20px;
    background: var(--spxdh-accent-soft);
    border: 1px solid var(--spxdh-accent-border);
    border-radius: 10px;
    text-align: center;
}

.spx-dh-d--2c .spx-dh-d__row {
    justify-content: center;
}

.spx-dh-d--2c .spx-dh-d__headline {
    font-size: 21px;
}

.spx-dh-d--2c .spx-dh-d__tiles {
    display: flex;
    align-items: center;
    gap: 10px;
}

.spx-dh-d--2c .spx-dh-d__tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 62px;
    padding: 10px 16px;
    border-radius: 8px;
    background: var(--spxdh-ink);
}

.spx-dh-d--2c .spx-dh-d__tile--accent {
    background: var(--spxdh-accent);
}

.spx-dh-d--2c .spx-dh-d__tilenum {
    font-size: 24px;
    font-weight: 800;
    color: var(--spxdh-on-ink);
    font-variant-numeric: tabular-nums;
}

.spx-dh-d--2c .spx-dh-d__tile--accent .spx-dh-d__tilenum,
.spx-dh-d--2c .spx-dh-d__tile--accent .spx-dh-d__tilelabel {
    color: var(--spxdh-on-accent);
}

.spx-dh-d--2c .spx-dh-d__tilelabel {
    font-size: 10px;
    letter-spacing: 0.1em;
    color: var(--spxdh-on-ink);
}

/* 2D · Countdown + Fortschritt */
.spx-dh-d--2d {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 20px 26px 22px;
    background: var(--spxdh-surface);
    border: 1px solid var(--spxdh-border);
    border-radius: 10px;
}

.spx-dh-d--2d .spx-dh-d__headline {
    font-size: 20px;
}

.spx-dh-d--2d .spx-dh-d__note {
    margin-left: auto;
    font-size: 18px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.spx-dh-d--2d .spx-dh-d__track {
    height: 6px;
}

/* 2E · Dunkle Kachel rechts */
.spx-dh-d--2e {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    background: var(--spxdh-surface);
    border: 1px solid var(--spxdh-border);
    border-radius: 10px;
    overflow: hidden;
}

.spx-dh-d--2e .spx-dh-d__main {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1 1 260px;
    padding: 24px 28px;
}

.spx-dh-d--2e .spx-dh-d__iconbox {
    width: 48px;
    height: 48px;
    border-radius: 99px;
    font-size: 24px;
}

.spx-dh-d--2e .spx-dh-d__headline {
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.spx-dh-d--2e .spx-dh-countdown,
.spx-dh-d--2e .spx-dh-instock,
.spx-dh-d--2e .spx-dh-date {
    padding: 0 8px;
    border-radius: 5px;
    background: var(--spxdh-accent);
    color: var(--spxdh-on-accent);
}

.spx-dh-d--2e .spx-dh-d__panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 20px 34px;
    background: var(--spxdh-ink);
}

.spx-dh-d--2e .spx-dh-d__panellabel {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    color: var(--spxdh-on-ink);
}

.spx-dh-d--2e .spx-dh-d__panelvalue {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--spxdh-on-ink);
    font-variant-numeric: tabular-nums;
}

@media (max-width: 576px) {
    .spx-dh-d .spx-dh-d__headline {
        font-size: 17px;
    }

    .spx-dh-d--2e .spx-dh-d__panel,
    .spx-dh-d--2e .spx-dh-d__main {
        flex: 1 1 100%;
    }

    .spx-dh-d--1d .spx-dh-d__note,
    .spx-dh-d--1f .spx-dh-d__note,
    .spx-dh-d--2a .spx-dh-d__badge,
    .spx-dh-d--2d .spx-dh-d__note {
        margin-left: 0;
    }
}

.spx-dh-d--reached {
    border-color: var(--spxdh-accent);
}

.spx-dh-d[data-spxdh-expired] .spx-dh-d__clock,
.spx-dh-d[data-spxdh-expired] .spx-dh-d__panel,
.spx-dh-d[data-spxdh-expired] .spx-dh-d__tiles,
.spx-dh-d[data-spxdh-expired] .spx-dh-d__track,
.spx-dh-d[data-spxdh-expired] [data-spxdh-countdown] {
    display: none;
}
