.treatment-subcategory {
    background-color: var(--_colours---secondaryBackgroundColour);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
    margin-bottom: 40px;
    margin-right: 30px;
    margin-left: 30px;
}

.subcategory-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    margin-bottom: 0.5rem;
}

.subcategory-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--_colours---purple);
}

.dropdown-arrow {
    font-size: 1.2rem;
    margin-right: 0;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.subcategory-description {
    font-size: 0.95rem;
    color: #777;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 0.5rem;
}

.treatment-list {
    display: block;
    flex-direction: column;
    gap: 2rem;
}

.treatment {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
    font-weight: bold;
}

.treatment:last-child {
    border-bottom: none;
}

.treatment-name {
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    margin-left: 0px;
}

.treatment-price {
    font-size: 1rem;
    font-weight: 600;
    color: var(--_colours---darkpink);
    margin-right: 0px;
}

@media (max-width: 600px) {
    .treatment {
        align-items: flex-start;
    }

    .treatment-price {
        margin-top: 0.25rem;
        font-size: 1rem;
        color: var(--_colours---darkpink);
    }
}

/* Mobile dropdown collapse */
@media (max-width: 768px) {
    .treatment-subcategory .treatment-list,
    .treatment-subcategory .subcategory-description {
        display: none;
    }

    .treatment-subcategory.open .treatment-list,
    .treatment-subcategory.open .subcategory-description {
        display: block;
    }

    .treatment-subcategory.open .dropdown-arrow {
        transform: rotate(180deg);
    }
}