/* Cleaned & normalized stylesheet after refactor (no nested artifacts) */
:root {
    --tp-color-bg: #fff;
    --tp-color-border: #e2e5e9;
    --tp-color-accent: #2271b1;
    --tp-color-accent-hover: #195783;
    --tp-color-text: #1c1f23;
    --tp-color-muted: #6a7077;
    --tp-radius-sm: 4px;
    --tp-radius: 8px;
    --tp-shadow: 0 2px 4px -1px rgba(0, 0, 0, .08), 0 6px 18px -8px rgba(0, 0, 0, .12);
    --tp-transition: .18s cubic-bezier(.4, 0, .2, 1);
    --tp-font-stack: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.thepaul-pricing {
    font-family: var(--tp-font-stack);
    background: var(--tp-color-bg);
    border: 1px solid var(--tp-color-border);
    padding: 1.25rem 1.25rem 1.5rem;
    border-radius: var(--tp-radius);
    position: relative;
    box-shadow: var(--tp-shadow);
    overflow: hidden;
}

.thepaul-pricing:before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(34, 113, 177, .08), rgba(34, 113, 177, 0) 60%);
}

.thepaul-pricing__header {
    margin: 0 0 1rem;
}

/* Layout two-column */
.thepaul-pricing__layout {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (min-width: 980px) {
    .thepaul-pricing__layout {
        flex-direction: row;
        align-items: flex-start;
    }

    .thepaul-pricing__col--main {
        flex: 1 1 auto;
        min-width: 0;
    }

    .thepaul-pricing__col--summary {
        flex: 0 0 300px;
        position: sticky;
        top: 1rem;
        align-self: flex-start;
    }
}

.thepaul-pricing__summary-panel {
    background: linear-gradient(145deg, #f5f8fa, #eef3f7);
    border: 1px solid var(--tp-color-border);
    border-radius: var(--tp-radius-sm);
    padding: 1rem 1rem 1.1rem;
    box-shadow: 0 2px 6px -2px rgba(0, 0, 0, .08), 0 4px 14px -6px rgba(0, 0, 0, .08);
    display: flex;
    flex-direction: column;
    gap: .75rem;
    /* max-height now set dynamically via JS to match main column height */
}

/* New shell: wraps panel + static info stacked; we control fixed height for panel, static info sticks below */
.thepaul-pricing__summary-shell {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
    position: relative;
    height: 100%;
}

@media (min-width:980px) {
    .thepaul-pricing__col--summary {
        display: flex;
        flex-direction: column;
    }

    .thepaul-pricing__summary-shell {
        flex: 1 1 auto;
    }
}

.thepaul-pricing__summary-title {
    margin: 0;
    font-size: .9rem;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: var(--tp-color-muted);
}

.thepaul-pricing__lineitems {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: .45rem;
    overflow-y: auto;
    flex: 1 1 auto;
    scrollbar-width: thin;
}

/* Notes (Hinweise) section */
.thepaul-pricing__notes {
    border-top: 1px solid var(--tp-color-border);
    padding-top: .6rem;
    margin-top: .25rem;
    font-size: .7rem;
    display: flex;
    flex-direction: column;
    gap: .4rem;
    overflow: visible;
    /* never its own scrollbar */
}

.thepaul-pricing__notes-title {
    margin: 0;
    font-size: .65rem;
    letter-spacing: .6px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--tp-color-muted);
}

.thepaul-pricing__notes-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: .35rem;
}

.thepaul-pricing__notes-list li {
    display: flex;
    align-items: flex-start;
    gap: .4rem;
    line-height: 1.25;
    background: #fff;
    border: 1px solid var(--tp-color-border);
    border-radius: 4px;
    padding: .4rem .55rem .45rem;
    font-size: .62rem;
    font-weight: 500;
    position: relative;
}

/* Note prefix badge */
.thepaul-pricing__note-prefix {
    flex: 0 0 auto;
    display: inline-block;
    background: var(--tp-color-accent);
    color: #fff;
    padding: .15rem .4rem .18rem;
    border-radius: 4px;
    font-size: .5rem;
    font-weight: 700;
    letter-spacing: .7px;
    text-transform: uppercase;
    line-height: 1;
    margin-top: .1rem;
}

.thepaul-pricing__note-prefix--pkg {
    background: #1e659d;
}

.thepaul-pricing__note-prefix--opt {
    background: #3a7fb6;
}

.thepaul-pricing__note-prefix--extra {
    background: #14507a;
}

.thepaul-pricing__note-prefix--info {
    background: #5c6470;
}

.thepaul-pricing__note-body {
    flex: 1 1 auto;
    min-width: 0;
    display: inline;
}

.thepaul-pricing__note-label {
    font-weight: 600;
    color: var(--tp-color-text);
    margin-right: .25rem;
}

.thepaul-pricing__note-desc {
    color: var(--tp-color-muted);
}

.thepaul-pricing__lineitem {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: .75rem;
    font-size: .75rem;
    line-height: 1.25;
    padding: .4rem .55rem .45rem;
    background: #fff;
    border: 1px solid var(--tp-color-border);
    border-radius: 5px;
    position: relative;
}

.thepaul-pricing__lineitem--empty {
    background: transparent;
    border: 1px dashed var(--tp-color-border);
    color: var(--tp-color-muted);
    font-style: italic;
    text-align: center;
    justify-content: center;
}

.thepaul-pricing__lineitem--group {
    background: linear-gradient(135deg, #edf2f6, #e7eef3);
    border: 1px solid var(--tp-color-border);
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .7px;
    text-transform: uppercase;
    color: var(--tp-color-muted);
    justify-content: flex-start;
}

.thepaul-pricing__lineitem--subtotal {
    background: #fdfefe;
    border: 1px solid var(--tp-color-border);
    font-weight: 600;
}

/* Emphasized block subtotal (separating groups) */
.thepaul-pricing__lineitem--subtotal-block {
    background: linear-gradient(135deg, #eaf1f6, #e2ecf3);
    border: 1px solid var(--tp-color-border);
    font-size: .65rem;
    letter-spacing: .4px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--tp-color-muted);
    margin-top: .35rem;
    margin-bottom: .35rem;
}

/* Narrow subtotal directly after an extra */
.thepaul-pricing__lineitem--subtotal-narrow {
    background: #fff;
    border-style: dashed;
    font-size: .62rem;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: var(--tp-color-muted);
    font-weight: 600;
    margin-top: .15rem;
}

.thepaul-pricing__li-main {
    flex: 1 1 auto;
    min-width: 0;
    font-weight: 500;
}

.thepaul-pricing__li-meta {
    /* qty or notes */
    color: var(--tp-color-muted);
    font-weight: 600;
    letter-spacing: .3px;
    font-size: .65rem;
    margin-left: .35rem;
    text-transform: uppercase;
}

.thepaul-pricing__li-amount {
    flex: 0 0 auto;
    font-weight: 600;
    font-size: .75rem;
    letter-spacing: .3px;
    white-space: nowrap;
}

.thepaul-pricing__summary-total {
    margin-top: .25rem;
    padding-top: .6rem;
    border-top: 2px solid var(--tp-color-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .85rem;
    font-weight: 600;
}

.thepaul-pricing__summary-total-value {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--tp-color-text);
}

.thepaul-pricing__summary-total-label {
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--tp-color-muted);
    font-size: .7rem;
}

/* Static info block under summary */
.thepaul-pricing__static-info {
    margin-top: 0;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    font-size: .72rem;
    line-height: 1.45;
    color: var(--tp-color-text);
    display: block;
    margin-top: auto;
    color: var(--tp-color-muted);
    /* push to bottom inside flex shell */
}

.thepaul-pricing__static-info-list {
    list-style: disc;
    margin: 0 0 0 1.1rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: .45rem;
}

.thepaul-pricing__static-info-item {
    padding: 0;
    margin: 0;
}

@media (min-width:980px) {
    .thepaul-pricing__static-info {
        font-size: .75rem;
    }
}

.thepaul-pricing__headline {
    margin: 0 0 .25rem;
    font-size: 1.35rem;
    line-height: 1.2;
    font-weight: 600;
    color: var(--tp-color-text);
}

@media (min-width:680px) {
    .thepaul-pricing__extras-section {
        margin-top: 1.75rem;
        padding-top: 1.25rem;
        border-top: 2px solid var(--tp-color-border);
    }

    /* Placeholder before options appear */
    .thepaul-pricing__options-placeholder {
        min-height: 60px;
        display: flex;
        align-items: flex-end;
        font-size: .8rem;
        color: var(--tp-color-muted);
    }

    /* Prompt CTA inside placeholder */
    .thepaul-pricing__prompt {
        display: flex;
        align-items: flex-start;
        gap: .75rem;
        padding: .9rem 1rem 1rem;
        background: linear-gradient(135deg, #f5f9fc, #eef4f9);
        border: 1px solid var(--tp-color-border);
        border-radius: 8px;
        box-shadow: 0 2px 4px -1px rgba(0, 0, 0, .06), 0 4px 12px -4px rgba(0, 0, 0, .08);
        width: 100%;
        position: relative;
    }

    .thepaul-pricing__prompt:before {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        background: radial-gradient(circle at 18px 18px, rgba(34, 113, 177, .18), transparent 70%);
        border-radius: 8px;
    }

    .thepaul-pricing__prompt-icon {
        flex: 0 0 auto;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 2.25rem;
        height: 2.25rem;
        border-radius: 50%;
        background: #fff;
        border: 1px solid var(--tp-color-border);
        color: var(--tp-color-accent);
        box-shadow: 0 1px 2px rgba(0, 0, 0, .08);
    }

    .thepaul-pricing__prompt-body {
        display: flex;
        flex-direction: column;
        gap: .25rem;
        line-height: 1.3;
    }

    .thepaul-pricing__prompt-title {
        font-size: .8rem;
        font-weight: 600;
        letter-spacing: .3px;
        color: var(--tp-color-text);
    }

    .thepaul-pricing__prompt-text {
        font-size: .75rem;
        color: var(--tp-color-muted);
    }

    @media (min-width:680px) {
        .thepaul-pricing__prompt-title {
            font-size: .85rem;
        }

        .thepaul-pricing__prompt-text {
            font-size: .78rem;
        }
    }

    .thepaul-pricing__headline {
        font-size: 1.5rem;
    }
}

/* Packages */
.thepaul-pricing__packages {
    --gap: .6rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: var(--gap);
    margin: 0 0 .9rem;
    padding: 0;
    list-style: none;
}

.thepaul-pricing__package {
    position: relative;
}

.thepaul-pricing__package input {
    position: absolute;
    opacity: 0;
}

.thepaul-pricing__package-label {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .3rem;
    cursor: pointer;
    border: 1px solid var(--tp-color-border);
    padding: .65rem .75rem .7rem;
    border-radius: var(--tp-radius-sm);
    min-height: 104px;
    background: linear-gradient(135deg, #f9fafb, #f2f5f8);
    transition: var(--tp-transition);
    position: relative;
    font-size: .95rem;
}

/* Force consistent vertical space: reserve space for optional description */
.thepaul-pricing__package-label {
    --tp-pkg-min: 118px;
    min-height: var(--tp-pkg-min);
}

.thepaul-pricing__package-desc {
    display: block;
    font-size: .7rem;
    line-height: 1.25;
    color: var(--tp-color-muted);
    margin-top: auto;
    padding-top: .3rem;
    border-top: 1px dashed var(--tp-color-border);
    width: 100%;
}

.thepaul-pricing__package-label-text {
    line-height: 1.4;
    font-weight: 600;
    letter-spacing: .2px;
}

.thepaul-pricing__package-label {
    padding-right: 4.25rem;
    /* reserve space for absolute price bottom right */
}

.thepaul-pricing__package-price {
    font-size: .85rem;
    font-weight: 700;
    color: var(--tp-color-muted);
    position: absolute;
    right: .65rem;
    bottom: .55rem;
    margin: 0;
    line-height: 1.1;
    text-align: right;
    pointer-events: none;
}

.thepaul-pricing__package-desc {
    margin: .35rem 0 0;
    font-size: .75rem;
    line-height: 1.3;
    color: var(--tp-color-muted);
}

.thepaul-pricing__package input:checked+.thepaul-pricing__package-label {
    border-color: var(--tp-color-accent);
    background: #fff;
    box-shadow: 0 0 0 1px var(--tp-color-accent) inset, 0 2px 6px -2px rgba(34, 113, 177, .4);
    transform: translateY(-2px);
}

.thepaul-pricing__package-label:hover {
    border-color: var(--tp-color-accent);
}

/* Options / Extras Cards */
.thepaul-pricing__grid--options {
    --gap: .55rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: var(--gap);
    margin: 0 0 .85rem;
}

.thepaul-pricing__option-card,
.thepaul-pricing__extra-card {
    position: relative;
}

/* Visually hidden checkbox/radio inside card without covering interactive children */
.thepaul-pricing__option-card>input,
.thepaul-pricing__extra-card>input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    border: 0;
    white-space: nowrap;
}

.thepaul-pricing__option-card-inner,
.thepaul-pricing__extra-card-inner {
    display: flex;
    flex-direction: column;
    gap: .3rem;
    border: 1px solid var(--tp-color-border);
    background: linear-gradient(135deg, #f9fafb, #f2f5f8);
    padding: .65rem .7rem .7rem;
    border-radius: var(--tp-radius-sm);
    min-height: 104px;
    font-size: .8rem;
    cursor: pointer;
    transition: var(--tp-transition);
    position: relative;
}

.thepaul-pricing__option-card-label,
.thepaul-pricing__extra-card-label {
    font-weight: 600;
    font-size: .82rem;
    letter-spacing: .2px;
    line-height: 1.3;
}

.thepaul-pricing__option-card-price,
.thepaul-pricing__extra-card-price {
    font-size: .9rem;
    font-weight: 700;
    color: var(--tp-color-muted);
    margin-top: auto;
}

.thepaul-pricing__option-card-inner:hover,
.thepaul-pricing__extra-card-inner:hover {
    border-color: var(--tp-color-border);
}

.thepaul-pricing__option-card>input:checked+.thepaul-pricing__option-card-inner,
.thepaul-pricing__extra-card>input:checked+.thepaul-pricing__extra-card-inner {
    background: var(--tp-color-accent);
    color: #fff;
    border-color: var(--tp-color-accent);
    box-shadow: 0 2px 6px -2px rgba(34, 113, 177, .5);
}

.thepaul-pricing__option-card>input:checked+.thepaul-pricing__option-card-inner .thepaul-pricing__option-card-price,
.thepaul-pricing__extra-card>input:checked+.thepaul-pricing__extra-card-inner .thepaul-pricing__extra-card-price {
    color: rgba(255, 255, 255, .85);
}

.thepaul-pricing__option-card-price--included {
    margin-top: auto;
    color: var(--tp-color-accent);
    font-weight: 600;
    font-size: .65rem;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: .5px;
}

/* Excluded (conflicting) option */
.thepaul-pricing__option-card--excluded .thepaul-pricing__option-card-inner {
    opacity: .55;
    filter: grayscale(.25);
    position: relative;
}

.thepaul-pricing__option-card--excluded .thepaul-pricing__option-card-inner:after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px dashed var(--tp-color-border);
    border-radius: var(--tp-radius-sm);
    pointer-events: none;
}

/* New overlay replacing inline exclusion note text */
.thepaul-pricing__exclude-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: .5rem .75rem;
    font-size: .6rem;
    font-weight: 700;
    letter-spacing: .6px;
    text-transform: uppercase;
    color: #b12727;
    background: rgba(255, 255, 255, .8);
    backdrop-filter: blur(2px);
    border: 2px dashed rgba(177, 39, 39, .45);
    border-radius: var(--tp-radius-sm);
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease;
    z-index: 3;
}

.thepaul-pricing__option-card--excluded .thepaul-pricing__exclude-overlay {
    opacity: 1;
}

.thepaul-pricing__extra-card.thepaul-pricing__option-card--excluded .thepaul-pricing__exclude-overlay {
    opacity: 1;
}

/* Legacy .thepaul-pricing__option-excl-note removed in favour of overlay */

.thepaul-pricing__option-card--included input:checked+.thepaul-pricing__option-card-inner {
    background: var(--tp-color-accent);
    color: var(--tp-color-bg);
    border-color: var(--tp-color-accent);
    box-shadow: none;
}

/* Unified Extra sub-grid */
.thepaul-pricing__extra-options-grid {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin: .25rem 0 .4rem;
}

.thepaul-pricing__extra-options-head {
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .6px;
    text-transform: uppercase;
    color: var(--tp-color-muted);
    margin: .1rem 0 .3rem;
}

/* Expand / switch button */
/* Expand trigger bar below extra card */
.thepaul-pricing__extra-expand {
    margin-top: .25rem;
    width: 100%;
    background: linear-gradient(90deg, #f0f4f7, #e8eef3);
    border: 1px solid var(--tp-color-border);
    border-radius: 4px;
    padding: .35rem .6rem .4rem;
    font-size: .58rem;
    font-weight: 700;
    letter-spacing: .65px;
    text-transform: uppercase;
    cursor: pointer;
    color: var(--tp-color-accent);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: .45rem;
    position: relative;
    overflow: hidden;
    transition: var(--tp-transition);
}

.thepaul-pricing__extra-expand:hover,
.thepaul-pricing__extra-expand:focus {
    background: linear-gradient(90deg, #e6eef3, #dfe7ec);
    border-color: var(--tp-color-accent);
}

.thepaul-pricing__extra-expand-icon {
    font-size: .85rem;
    line-height: 1;
    display: inline-block;
    transition: transform var(--tp-transition);
}

.thepaul-pricing__extra-card[aria-expanded="true"] .thepaul-pricing__extra-expand-icon {
    transform: rotate(180deg);
}

/* When bar itself is open (class added via JS) */
.thepaul-pricing__extra-expand.is-open .thepaul-pricing__extra-expand-icon {
    transform: rotate(180deg);
}

.thepaul-pricing__extra-expand-text {
    font-size: .58rem;
    letter-spacing: .65px;
    font-weight: 700;
    opacity: .9;
}

/* Extra slot must not constrain width of details; display:contents lifts the wrapper */
.thepaul-pricing__extra-slot {
    display: flex;
    flex-direction: column;
}

.thepaul-pricing__extra-options-grid>.thepaul-pricing__option-card {
    flex: 1 1 160px;
    max-width: 200px;
}

/* Extra quantity inline control */
.thepaul-pricing__extra-qty-wrap {
    margin-top: .25rem;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .65rem;
    font-weight: 600;
    letter-spacing: .3px;
    text-transform: uppercase;
    color: var(--tp-color-accent-hover);
    position: relative;
    z-index: 2;
    /* ensure above the absolute full-card checkbox hit area */
}

.thepaul-pricing__extra-qty-wrap input[type=number] {
    width: 3.25rem;
    font-size: .65rem;
    line-height: 1.1;
    padding: .15rem .25rem;
    position: relative;
    z-index: 3;
    background: #fff;
    border: 1px solid var(--tp-color-border);
    border-radius: 4px;
}

/* When parent card becomes selected (accent background) keep input legible */
.thepaul-pricing__extra-card>input:checked+.thepaul-pricing__extra-card-inner .thepaul-pricing__extra-qty-wrap input[type=number] {
    background: #fff;
    color: #222;
    border-color: rgba(255, 255, 255, .55);
}

/* Selected extra: label text (Anzahl) needs white for contrast */
.thepaul-pricing__extra-card>input:checked+.thepaul-pricing__extra-card-inner .thepaul-pricing__extra-qty-wrap {
    color: #fff;
}

/* Badges */
.thepaul-pricing__badge {
    display: inline-block;
    background: var(--tp-color-border);
    color: var(--tp-color-text);
    padding: .25rem .5rem;
    border-radius: 999px;
    font-size: .6rem;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
    margin: 0 .35rem .35rem 0;
}

.thepaul-pricing__badge--included {
    background: var(--tp-color-accent);
    color: #fff;
}

/* Extra wrapper */
.thepaul-pricing__extras-wrap {
    margin: 1rem 0 1.25rem;
}

.thepaul-pricing__section-title {
    margin: 1rem 0 .5rem;
    font-size: 1rem;
    line-height: 1.2;
    font-weight: 600;
    padding-left: 8px;
    color: var(--tp-color-muted);
}

/* Info subtext for size step (Privatrechner) */
.thepaul-pricing__subtext {
    margin-top: -0.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-body, #6E7A84);
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.thepaul-pricing__subtext .thepaul-pricing__inline-info {
    display: inline-block;
    line-height: 1;
    vertical-align: middle;
    line-height: 1;
    color: currentColor;
    font-size: 1em;
    /* inherits from parent (.thepaul-pricing__subtext ~0.9rem) */
    color: currentColor;
    font-size: 1em;
    /* inherits from parent (.thepaul-pricing__subtext ~0.9rem) */
}

.thepaul-pricing__section-title--packages {
    margin-top: .25rem;
    font-size: 0.95rem;
    letter-spacing: .4px;
}

.thepaul-pricing__extras {
    list-style: none;
    margin: 0 0 .5rem;
    padding: 0;
    display: grid;
    gap: .6rem;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}

.thepaul-pricing__extras-break {
    grid-column: 1 / -1;
    height: .25rem;
}

/* Shared extra options host (central panel) */
[data-extra-details-host] {
    margin-top: 1rem;
    border: 1px solid var(--tp-border, #ddd);
    border-radius: 6px;
    padding: 1rem 1.25rem;
    background: var(--tp-surface-alt, #fafafa);
}

[data-extra-details-host] h5 {
    margin-top: 0;
}

[data-extra-details-host] .thepaul-pricing__extra-details {
    margin: 0;
    padding: 0;
    border: 0;
    box-shadow: none;
}

[data-extra-details-host] .thepaul-pricing__option-list {
    margin-top: .75rem;
}

.thepaul-pricing__extra-host-empty {
    font-size: .875rem;
    color: #666;
}

.thepaul-pricing__extra {
    border: 1px solid var(--tp-color-border);
    padding: .75rem .85rem;
    border-radius: 6px;
    background: #f9fafb;
    position: relative;
}

.thepaul-pricing__extra-price {
    display: block;
    font-size: .8rem;
    color: var(--tp-color-muted);
}

.thepaul-pricing__extra-desc {
    margin: .35rem 0 .25rem;
    font-size: .7rem;
    line-height: 1.3;
    color: var(--tp-color-muted);
}

.thepaul-pricing__extra-details {
    grid-column: 1/-1;
    margin-top: .5rem;
}

.thepaul-pricing__extra-details.is-collapsed {
    display: none;
}

/* Quantities */
.thepaul-pricing__qty {
    margin-top: .25rem;
}

.thepaul-pricing__qty input {
    width: 3.25rem;
    font-size: .7rem;
}

/* Tooltip (single definition) */
.thepaul-pricing__info {
    position: absolute;
    bottom: .45rem;
    right: .45rem;
    width: 1.15rem;
    height: 1.15rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    border: 1px solid var(--tp-color-border);
    background: #fff;
    color: var(--tp-color-accent);
    font-size: 0;
    padding: 0;
    cursor: pointer;
    transition: var(--tp-transition);
    z-index: 2;
}

.thepaul-pricing__info svg,
.thepaul-pricing__info span,
.thepaul-pricing__info i {
    pointer-events: none;
    /* ensure hover/focus stays on button element */
}

.thepaul-pricing__info:hover,
.thepaul-pricing__info:focus {
    background: #f0f6fa;
    border-color: var(--tp-color-accent);
}

.thepaul-pricing__info[data-tp-active] {
    background: #f0f6fa;
    border-color: var(--tp-color-accent);
}

.thepaul-pricing__tooltip-bubble {
    position: absolute;
    z-index: 30;
    max-width: 260px;
    background: #fff;
    color: #3a4652;
    padding: .65rem .75rem .7rem;
    font-size: .9rem;
    font-weight: 600;
    line-height: 1.4;
    border-radius: 8px;
    border: 1px solid var(--tp-color-accent);
    box-shadow: 0 4px 18px -6px rgba(0, 0, 0, .15);
    transform-origin: bottom right;
}

.thepaul-pricing__tooltip-bubble:after {
    content: "";
    position: absolute;
    bottom: -6px;
    right: 14px;
    width: 12px;
    height: 12px;
    background: #fff;
    border: 1px solid var(--tp-color-accent);
    border-left: none;
    border-top: none;
    transform: rotate(45deg);
    box-shadow: 2px 2px 4px -2px rgba(0, 0, 0, .15);
}

@keyframes tpFade {
    from {
        opacity: 0;
        transform: translateY(-4px) scale(.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Wheel quantity wrap */
.thepaul-pricing__wheelqty input {
    font-size: .85rem;
}

/* Extras accordion indicator */
.thepaul-pricing__extra-indicator {
    font-size: .85rem;
    margin-left: .35rem;
    transition: transform var(--tp-transition);
    display: inline-block;
}

.thepaul-pricing__extra[aria-expanded="true"] .thepaul-pricing__extra-indicator {
    transform: rotate(90deg);
}

.thepaul-pricing__extra-body {
    margin-top: .5rem;
}

.thepaul-pricing__extra-body.is-collapsed {
    display: none;
}

/* Summary */
.thepaul-pricing__summary {
    margin: .75rem 0 0;
    padding: .9rem 1rem;
    background: linear-gradient(135deg, #f6f9fb, #eef3f7);
    border: 1px solid var(--tp-color-border);
    border-radius: var(--tp-radius-sm);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.thepaul-pricing__total-label {
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: var(--tp-color-muted);
}

/* Button */
.thepaul-pricing__button {
    appearance: none;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: var(--tp-color-accent);
    color: #fff;
    padding: .85rem 1.35rem .9rem;
    border-radius: var(--tp-radius-sm);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: .3px;
    font-size: .95rem;
    line-height: 1.1;
    box-shadow: 0 2px 4px -1px rgba(0, 0, 0, .2), 0 4px 10px -3px rgba(34, 113, 177, .5);
    transition: var(--tp-transition);
}

.thepaul-pricing__button:hover,
.thepaul-pricing__button:focus {
    background: var(--tp-color-accent-hover);
    transform: translateY(-1px);
}

.thepaul-pricing__button:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
}

.thepaul-pricing [aria-live] {
    display: block;
}

.thepaul-pricing__disclaimer {
    display: block;
    margin-top: 1rem;
    color: var(--tp-color-muted);
    font-size: .8rem;
    line-height: 1.3;
}

/* Wheel qty wrap spacing */
[data-tp-wheel-qty-wrap] label {
    font-size: .85rem;
    font-weight: 500;
    color: var(--tp-color-text);
}

[data-tp-wheel-qty-wrap] input {
    width: 4.25rem;
}

/* Responsive */
@media (max-width:480px) {
    .thepaul-pricing {
        padding: 1rem 1rem 1.25rem;
    }

    .thepaul-pricing__package-label {
        min-height: 110px;
    }

    .thepaul-pricing__summary {
        flex-direction: column;
        align-items: flex-start;
    }

    .thepaul-pricing__total {
        font-size: 1.15rem;
    }
}

/* Private profiles layout and size radio list */
.thepaul-pricing__profiles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: .6rem;
    margin: 0 0 .5rem;
}

.thepaul-pricing__profile-card {
    border: 1px solid var(--tp-color-border);
    border-radius: var(--tp-radius-sm);
    background: linear-gradient(135deg, #f9fafb, #f2f5f8);
    padding: .65rem .75rem .7rem;
}

.thepaul-pricing__profile-head {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin: 0 0 .5rem;
}

.thepaul-pricing__profile-title {
    font-weight: 600;
    cursor: pointer;
}

.thepaul-pricing__profile-body[aria-hidden="true"] {
    opacity: .55;
}

.thepaul-pricing__radio-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: .45rem;
}

.thepaul-pricing__radio-item {
    position: relative;
}

.thepaul-pricing__radio-item input[type=radio] {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    border: 0;
    white-space: nowrap;
}

.thepaul-pricing__radio-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    border: 1px solid var(--tp-color-border);
    background: #fff;
    border-radius: 6px;
    padding: .5rem .65rem;
    cursor: pointer;
    transition: var(--tp-transition);
}

.thepaul-pricing__radio-text {
    font-weight: 600;
}

.thepaul-pricing__radio-price {
    font-weight: 700;
    font-size: .85rem;
    color: var(--tp-color-muted);
}

.thepaul-pricing__radio-item input[type=radio]:checked+.thepaul-pricing__radio-label {
    border-color: var(--tp-color-accent);
    box-shadow: 0 0 0 1px var(--tp-color-accent) inset, 0 2px 6px -2px rgba(34, 113, 177, .25);
}

.thepaul-pricing__profile-qty {
    margin-top: .5rem;
}

.thepaul-pricing__qty-inline {
    display: inline-flex;
    gap: .5rem;
    align-items: center;
    font-size: .85rem;
    font-weight: 600;
}

.thepaul-pricing__qty-inline input[type=number] {
    width: 4.25rem;
}