﻿.discountsWrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 5rem !important;

    .discount {
        max-width: 400px;

       .discountPricing {
            text-align: right;
            position: absolute;
            right: 0;
            bottom: 0;
            padding: var(--smz-container-padding);

            .oldPrice {
                text-decoration: line-through;
                margin-right: 0.5rem;
            }

            .discountPrice {
                font-size: 1.5rem;
                font-weight: 600;
            }
        }
    }
}
/* ── Glassmorphism card ── */
.priceListGroup {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06), 0 1px 4px rgba(0, 0, 0, 0.04);
    padding: 1.75rem;
    align-self: start;
    margin: 0 4rem;
}

/* ── Group header (icon + title) ── */
.priceListGroupHeader {
    display: flex;
    align-items: center;
    gap: 0.75rem;

    .treatmentGroupIcon {
        max-height: 50px;
    }
}

    .priceListGroupHeader svg {
        flex-shrink: 0;
        display: block;
    }

    .priceListGroupHeader h2 {
        color: var(--smz-red-pink);
        margin: 0;
        font-family: var(--smz-font-headers);
        font-size: 1.35rem;
    }

/* ── Table ── */
.priceListTable {
    width: 100%;
    border-collapse: collapse;
}

    /* Thin wine line under column headers */
    .priceListTable thead tr {
        border-bottom: 1px solid var(--smz-red-pink);
    }

    .priceListTable th {
        padding: 0 0 0.75rem 0;
        text-align: left;
        font-family: var(--smz-font-headers);
        font-weight: 600;
        color: var(--smz-grey);
        font-size: 0.8rem;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }

    .priceListTable td {
        padding: 1rem 0;
        text-align: left;
        color: var(--smz-grey);
        border: none;
        vertical-align: middle;
    }

    /* Faint horizontal divider between rows */
    .priceListTable tbody tr:not(:last-child) td {
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }

    /* Hover: title text turns wine */
    .priceListTable tbody tr:hover td:first-child {
        color: var(--smz-red-pink);
    }

    /* Price column right-aligned */
    .priceListTable td:last-child,
    .priceListTable th:last-child {
        text-align: right;
    }
