/* ================================================
   ESPRESSIMO PRODUCT FEATURES WIDGET Proto V1
   ================================================ */

/* Empty handling is done server-side in render() (the section isn't output at all
   when there are no items), so no CSS :has() fallback is needed here. */

.elementor-widget-espressimo_product_features_proto_v1,
.elementor-widget-espressimo_product_features_proto_v1 .elementor-widget-container {
    width: 100%;
    padding: 0 !important;
    margin: 0 !important;
}

.esp-pf {
    background: #f6ede3;
    border-bottom: 1px solid #e6dad4;
    padding: 56px 48px;
    direction: rtl;
}

.esp-pf__heading {
    margin-bottom: 48px;
}

.esp-pf__title {
    font-family: 'Dialect PM', sans-serif;
    font-size: 48px;
    font-weight: bold;
    color: #522c25;
    letter-spacing: 0.05em;
    margin: 0 0 8px 0;
    line-height: 1.1;
}

.esp-pf__subtitle {
    font-family: 'Dialect PM', sans-serif;
    font-size: 22px;
    color: #75605a;
    opacity: 1;
    margin: 0;
}

.esp-pf__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.esp-pf__item {
    padding: 32px;
    border-bottom: 1px solid #e6dad4;
    transition: background 0.2s;
}

.esp-pf__item:nth-child(odd) {
    border-left: 1px solid #e6dad4;
}

.esp-pf__item:hover {
    background: #ede0d4;
}

.esp-pf__item:hover .esp-pf__item-title {
    color: #8B3A00;
}

.esp-pf__item-inner {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.esp-pf__num {
    font-family: 'Dialect PM', sans-serif;
    font-size: 52px;
    font-weight: 800;
    line-height: 1;
    color: #c46500;
    opacity: 0.85;
    flex-shrink: 0;
    user-select: none;
}

.esp-pf__item-title {
    font-family: 'Dialect PM', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: #522c25;
    margin: 0 0 8px 0;
    transition: color 0.2s;
}

.esp-pf__item-body {
    font-family: 'Dialect PM', sans-serif;
    font-size: 19px;
    line-height: 30px;
    color: #522c25;
    opacity: 0.7;
    margin: 0;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .esp-pf {
        padding: 40px 24px;
    }
    .esp-pf__heading {
        margin-bottom: 32px;
    }
    .esp-pf__title {
        font-size: 36px;
    }
    .esp-pf__subtitle {
        font-size: 20px;
    }
    .esp-pf__item {
        padding: 24px;
    }
    .esp-pf__num {
        font-size: 44px;
    }
}

@media (max-width: 560px) {
    .esp-pf {
        padding: 32px 16px;
    }
    .esp-pf__title {
        font-size: 28px;
    }
    /* Single column */
    .esp-pf__grid {
        grid-template-columns: 1fr;
    }
    .esp-pf__item:nth-child(odd) {
        border-left: none;
    }
    .esp-pf__item-inner {
        gap: 14px;
    }
    .esp-pf__num {
        font-size: 38px;
    }
}
