#treatments {
    padding-block: clamp(36px, 4vw, 60px);
}

#treatments .pbmit-heading-subheading {
    margin-bottom: 24px;
}

#treatments .pbmit-title {
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.2;
}

#treatments .treatment-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
}

#treatments .treatment-tab {
    min-height: 44px;
    padding: 10px 22px;
    border: 1px solid var(--pbmit-line-color);
    border-radius: 30px;
    background: var(--pbmit-white-color);
    color: var(--pbmit-blackish-color);
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    cursor: pointer;
}

#treatments .treatment-tab:hover {
    border-color: var(--pbmit-accent-color);
    color: var(--pbmit-accent-color);
}

#treatments .treatment-tab.active {
    border-color: var(--pbmit-blackish-color);
    background: var(--pbmit-blackish-color);
    color: var(--pbmit-white-color);
}

#treatments .treatment-tab:focus-visible,
#treatments .treatment-panels > .tab-pane:focus-visible {
    outline: 2px solid var(--pbmit-accent-color);
    outline-offset: 4px;
}

#treatments .treatment-price-card {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    padding: 10px;
    border: 1px solid var(--pbmit-line-color);
    border-radius: 24px;
    background: var(--pbmit-white-color);
    box-shadow: 0 8px 28px rgba(var(--pbmit-blackish-color-rgb), 0.04);
}

#treatments .treatment-price-image {
    overflow: hidden;
    position: relative;
    min-height: 360px;
    border-radius: 16px;
    background: var(--pbmit-secondary-color);
}

#treatments .treatment-price-image img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#treatments .treatment-price-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
    padding: clamp(18px, 3vw, 30px);
}

#treatments .treatment-price-heading {
    margin-bottom: 10px;
}

#treatments .treatment-price-heading::before {
    display: block;
    width: 36px;
    height: 2px;
    margin-bottom: 12px;
    background: var(--pbmit-global-color);
    content: "";
}

#treatments .treatment-price-card h3 {
    margin: 0 0 8px;
    font-size: clamp(26px, 3vw, 32px);
    line-height: 1.2;
}

#treatments .treatment-price-tagline {
    margin: 0 0 10px;
    color: var(--pbmit-accent-color);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

#treatments .treatment-price-list {
    width: 100%;
    margin: 0;
    border: 0;
    border-collapse: collapse;
    color: var(--pbmit-blackish-color);
    font-size: 15px;
    line-height: 1.6;
}

#treatments .treatment-price-list th,
#treatments .treatment-price-list td {
    padding: 8px 0;
    border: 0;
    border-bottom: 1px solid var(--pbmit-line-color);
    vertical-align: top;
}

#treatments .treatment-price-list th {
    font-weight: 500;
    text-align: left;
    overflow-wrap: anywhere;
}

#treatments .treatment-price-list td {
    padding-left: 16px;
    color: var(--pbmit-accent-color);
    font-weight: 700;
    text-align: right;
    white-space: nowrap;
}

#treatments .treatment-price-list tr:last-child th,
#treatments .treatment-price-list tr:last-child td {
    border-bottom: 0;
}

#treatments .treatment-price-note {
    margin: 18px 0 0;
    padding: 12px 16px;
    border-radius: 10px;
    background: var(--pbmit-light-color);
    color: var(--pbmit-accent-color);
    font-size: 14px;
    font-weight: 600;
}

#treatments .treatment-price-book {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: auto;
    padding-top: 16px;
    color: var(--pbmit-accent-color);
    font-size: 13px;
    font-weight: 700;
}

#treatments .treatment-price-book span {
    display: grid;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    place-items: center;
    border: 1px solid var(--pbmit-line-color);
    border-radius: 50%;
    font-size: 20px;
    line-height: 1;
}

#treatments .treatment-price-book:hover span,
#treatments .treatment-price-book:focus-visible span {
    border-color: var(--pbmit-accent-color);
    background: var(--pbmit-accent-color);
    color: var(--pbmit-white-color);
}

#treatments .treatment-price-book:focus-visible {
    outline: 2px solid var(--pbmit-accent-color);
    outline-offset: 5px;
    border-radius: 4px;
}

@media (max-width: 767px) {
    #treatments .treatment-price-card {
        grid-template-columns: minmax(0, 1fr);
    }

    #treatments .treatment-price-image {
        min-height: 0;
        height: 150px;
    }

    #treatments .treatment-price-content {
        padding: 20px 12px 12px;
    }

    #treatments .treatment-tabs {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #treatments .treatment-tab {
        padding-inline: 8px;
        font-size: 12px;
    }

    #treatments .treatment-price-list {
        font-size: 14px;
    }
}
