.price-page {
    min-height: 100vh;
}

/* Softens the football background for readability without changing the global site theme. */
.price-page__overlay {
    position: relative;
    isolation: isolate;
    /* Extra safety: avoid any overlap with fixed/sticky layout parts. */
    padding-bottom: 120px;
}

.price-page__overlay::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(1100px 500px at 20% 10%, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.20) 55%, rgba(255, 255, 255, 0.00) 72%),
        radial-gradient(900px 520px at 80% 0%, rgba(34, 197, 94, 0.20) 0%, rgba(34, 197, 94, 0.00) 60%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0.50) 55%, rgba(255, 255, 255, 0.35) 100%);
    pointer-events: none;
}

.price-shell {
    display: grid;
    gap: 16px;
}

.price-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    padding: 18px 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.10);
    backdrop-filter: blur(10px);
}

.price-h1 {
    margin: 0;
    font-family: Poppins, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0f172a;
    font-size: 26px;
    line-height: 1.1;
}

.price-sub {
    margin: 6px 0 0;
    color: #475569;
    font-size: 13px;
    line-height: 1.4;
}

.price-hero__badges {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.price-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.02em;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.10);
    background: rgba(255, 255, 255, 0.85);
    color: #0f172a;
    text-transform: uppercase;
}

.price-badge--eur {
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.28);
    color: #065f46;
}

.price-badge--bgn {
    background: rgba(15, 23, 42, 0.06);
    border-color: rgba(15, 23, 42, 0.12);
    color: #334155;
}

.price-card {
    overflow: hidden;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.10);
    backdrop-filter: blur(10px);
}

.price-card__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.95) 0%, rgba(132, 204, 22, 0.95) 100%);
    color: #052e16;
}

.price-h2 {
    margin: 0;
    font-family: Poppins, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #052e16;
    font-size: 15px;
    line-height: 1.2;
}

.price-card__meta {
    font-size: 12px;
    font-weight: 700;
    color: rgba(5, 46, 22, 0.85);
    white-space: nowrap;
}

.price-card__body {
    padding: 10px 12px 12px;
}

.price-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.price-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    color: #0f172a;
    font-size: 14px;
}

.price-table thead th {
    text-align: left;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #475569;
    padding: 12px 12px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.45);
    background: rgba(248, 250, 252, 0.80);
}

.price-th-price {
    text-align: right;
}

.price-table tbody td {
    padding: 12px 12px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.28);
    vertical-align: top;
}

.price-table tbody tr:nth-child(2n) td {
    background: rgba(248, 250, 252, 0.60);
}

.price-table tbody tr:last-child td {
    border-bottom: 0;
}

.price-td-price {
    text-align: right;
    white-space: nowrap;
}

.price-amount {
    display: inline-grid;
    gap: 2px;
    justify-items: end;
    font-variant-numeric: tabular-nums;
}

.price-eur {
    font-weight: 900;
    color: #065f46;
}

.price-bgn {
    font-size: 12px;
    color: #334155;
    font-weight: 700;
}

/* Mobile: turn each table row into a compact, readable card (no clipped content). */
@media (max-width: 640px) {
    .price-hero {
        align-items: flex-start;
        flex-direction: column;
    }

    .price-hero__badges {
        justify-content: flex-start;
    }

    .price-table-wrap {
        overflow: visible;
    }

    .price-table,
    .price-table thead,
    .price-table tbody,
    .price-table tr,
    .price-table th,
    .price-table td {
        display: block;
        width: 100%;
    }

    .price-table thead {
        display: none;
    }

    .price-table tbody tr {
        border: 1px solid rgba(148, 163, 184, 0.40);
        border-radius: 16px;
        overflow: hidden;
        margin: 10px 0;
        background: rgba(255, 255, 255, 0.92);
    }

    .price-table tbody tr:nth-child(2n) td {
        background: transparent;
    }

    .price-table tbody td {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 12px;
        border-bottom: 1px dashed rgba(148, 163, 184, 0.40);
        padding: 12px 12px;
    }

    .price-table tbody td:last-child {
        border-bottom: 0;
    }

    .price-table tbody td::before {
        content: attr(data-label);
        font-size: 11px;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        color: #475569;
        min-width: 40%;
    }

    .price-td-price {
        text-align: left;
        white-space: normal;
    }

    .price-amount {
        justify-items: start;
    }
}
