/* ==========================================================
   Evergreen Dental - Price List (pixel-close recreation)
   ========================================================== */

.eg-price-list {
    max-width: 1140px;
    margin: 0 auto;
    /*font-family: "Inter", "Helvetica Neue", Arial, sans-serif;*/
    color: #374151;
}

/* ==========================================================
   SECTION WRAPPER
   ========================================================== */

.eg-price-list__section {
    margin-bottom: 4rem;
}

.eg-price-list__section:last-child {
    margin-bottom: 0;
}

.eg-price-list__section-header {
    background: #008587;          /* Evergreen green */
    padding: 16px;
    border-radius: 5px;
    border-left: none;
}

.eg-price-list__section-title {
    margin: 0;
    /*text-align: center;*/
    /*font-size: clamp(2.1rem, 4vw, 3.3rem);
    font-weight: 300;
    line-height: 1.15;*/
    /*letter-spacing: -0.03em;*/
    color: #ffffff;               /* White text on green background */
}

/* ==========================================================
   LIST CONTAINER
   ========================================================== */

.eg-price-list__items {
    list-style: none;
    margin: 0;
    padding: 0;
    padding-left: 0 !important;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-top: none;
    border-radius: 0 0 6px 6px;
    overflow: hidden;
}

/* ==========================================================
   LIST ROWS
   ========================================================== */

.eg-price-list__item {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #eceff1;
}

/* Alternating backgrounds */
.eg-price-list__item:nth-child(even) {
    background: #f8fafb;
}

.eg-price-list__item:last-child {
    border-bottom: none;
}

.eg-price-list__item-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    padding: 1.45rem 2.5rem;
}

/* ==========================================================
   LEFT SIDE
   ========================================================== */

.eg-price-list__item-left {
    flex: 1 1 auto;
    min-width: 0;
}

.eg-price-list__item-name {
    display: block;
    margin: 0;
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.6;
    color: #374151;
}

/* ==========================================================
   RIGHT SIDE / PRICE
   ========================================================== */

.eg-price-list__item-right {
    flex: 0 0 auto;
    white-space: nowrap;
    text-align: right;
    min-width: 110px;
}

.eg-price-list__price {
    display: inline-block;
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.6;
    color: #1f2937;
}

/* ==========================================================
   MORE / LESS BUTTON
   ========================================================== */

.eg-price-list__toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.4rem;
    padding: 0;
    border: 0;
    background: transparent;
    font: inherit;
    font-size: 0.875rem;
    font-weight: 500;
    color: #008587;
    cursor: pointer;
    appearance: none;
    transition: color 0.2s ease;
}

.eg-price-list__toggle:hover,
.eg-price-list__toggle:focus {
    color: #008587;
    outline: none;
    box-shadow: none !important;
}

.eg-price-list__toggle::after {
    content: "";
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.25s ease;
    margin-top: -2px;
}

.eg-price-list__toggle[aria-expanded="true"]::after {
    transform: rotate(-135deg);
    margin-top: 2px;
}

/* ==========================================================
   DESCRIPTION
   ========================================================== */

.eg-price-list__description {
    margin-top: 0.85rem;
    padding: 0.9rem 1rem;
    max-width: 760px;
    background: #ffffff;
    border-left: 3px solid #dfe5e8;
    border-radius: 4px;
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.8;
}

.eg-price-list__description p {
    margin: 0;
}

.eg-price-list__description p + p {
    margin-top: 0.75rem;
}

.eg-price-list__description a {
    color: #8bc34a;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.eg-price-list__description strong,
.eg-price-list__description b {
    color: #374151;
    font-weight: 600;
}

/* Hidden state */
.eg-price-list__description[hidden] {
    display: none !important;
}

/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 767px) {
    .eg-price-list__section {
        margin-bottom: 2.5rem;
    }

    .eg-price-list__section-header {
        /*padding: 1.25rem 1.25rem;*/
        border-left-width: 4px;
    }

    .eg-price-list__section-title {
        /*font-size: 1.9rem;*/
    }

    .eg-price-list__item-inner {
        flex-direction: column;
        gap: 0.6rem;
        padding: 1.2rem 1.25rem;
    }

    .eg-price-list__item-right {
        min-width: auto;
        text-align: left;
    }

    .eg-price-list__item-name,
    .eg-price-list__price {
        font-size: 1rem;
    }

    .eg-price-list__description {
        font-size: 0.9rem;
        padding: 0.75rem 0.9rem;
    }
}