/* ============================================================
   DHD Treatments — Widget Styles
   v1.0.0
   ============================================================ */

.dhd-treatments {
    background: #2E3E52;
    padding: 72px 24px;
    font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    box-sizing: border-box;
}

.dhd-treatments *,
.dhd-treatments *::before,
.dhd-treatments *::after {
    box-sizing: border-box;
}

.dhd-treatments__inner {
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Card grid --- */

.dhd-treatments__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* --- Card container --- */

.dhd-card {
    position: relative;
    background: transparent;
    border: 1px solid rgba(245, 238, 225, 0.15);
    border-radius: 10px;
    padding: 28px 26px;
    display: flex;
    flex-direction: column;
    transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
    color: #F5EEE1;
}

.dhd-hover-yes .dhd-card:hover {
    background: rgba(245, 238, 225, 0.08);
    border-color: rgba(245, 238, 225, 0.4);
    transform: translateY(-2px);
}

/* --- Top row: icon + optional badge --- */

.dhd-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 20px;
    min-height: 44px;
}

.dhd-card__icon {
    width: 44px;
    height: 44px;
    color: #D97B5E;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dhd-card__icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* Elementor Icons_Manager wraps <i> tags in a span, so account for both */
.dhd-card__icon i,
.dhd-card__icon span.elementor-icon {
    font-size: 32px;
    line-height: 1;
    color: inherit;
}

.dhd-card__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.dhd-card__tag {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(245, 238, 225, 0.8);
    padding-top: 6px;
    white-space: nowrap;
}

/* --- Title --- */

.dhd-card__title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.15;
    color: #F5EEE1;
    letter-spacing: -0.01em;
    margin: 0 0 14px 0;
    min-height: 56px;
    display: flex;
    align-items: flex-end;
}

/* --- Description --- */

.dhd-card__desc {
    font-size: 14px;
    line-height: 1.55;
    color: rgba(245, 238, 225, 0.8);
    margin: 0 0 20px 0;
    min-height: 66px;
}

/* --- Divider --- */

.dhd-card__divider {
    height: 1px;
    background: rgba(245, 238, 225, 0.15);
    margin-bottom: 16px;
    border: 0;
}

/* --- Suitable-for block --- */

.dhd-card__suitable {
    margin-bottom: 22px;
}

.dhd-card__label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #D97B5E;
    margin-bottom: 6px;
}

.dhd-card__suitable-text {
    font-size: 13px;
    line-height: 1.5;
    color: rgba(245, 238, 225, 0.8);
    margin: 0;
}

/* --- Footer row: price + CTA --- */

.dhd-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: auto;
    flex-wrap: wrap;
}

.dhd-card__price {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.dhd-card__price-label {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(245, 238, 225, 0.6);
    margin-bottom: 4px;
}

.dhd-card__price-value {
    font-size: 20px;
    font-weight: 700;
    color: #F5EEE1;
    letter-spacing: -0.01em;
}

.dhd-card__price-suffix {
    font-size: 13px;
    font-weight: 500;
    color: rgba(245, 238, 225, 0.6);
    margin-left: 1px;
}

/* --- CTA button --- */

.dhd-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: #D97B5E;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.01em;
    border-radius: 6px;
    transition: background 0.2s ease;
    white-space: nowrap;
    line-height: 1;
    border: 0;
    cursor: pointer;
}

.dhd-card__cta:hover,
.dhd-card__cta:focus {
    background: #C56A4E;
    color: #fff !important;
    text-decoration: none !important;
}

.dhd-card__cta svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 960px) {
    .dhd-treatments__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .dhd-treatments {
        padding: 56px 20px;
    }
}

@media (max-width: 620px) {
    .dhd-treatments__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .dhd-treatments {
        padding: 48px 16px;
    }
    .dhd-card {
        padding: 24px 22px;
    }
    .dhd-card__title {
        font-size: 22px;
        min-height: 0;
    }
    .dhd-card__desc {
        min-height: 0;
    }
}
