/* ── [empyra_curated_feed] ─────────────────────────────────────────────────── */

.ecf-guest,
.ecf-empty {
    font-size: 14px;
    color: var(--emp-muted);
}
.ecf-guest a,
.ecf-empty a { color: var(--emp-coral); font-weight: 600; }

/* Wrapper */
.ecf-wrap { max-width: 650px; width: 100%; overflow-x: clip; }

/* Section */
.ecf-section { margin-bottom: 40px; }

.ecf-section__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 14px;
}
.ecf-section__eyebrow {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--emp-muted);
    margin-bottom: 4px;
}
.ecf-section__title {
    font-family: var(--emp-font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--emp-charcoal);
    border-bottom: 1px solid var(--emp-border);
    padding-bottom: 10px;
}

/* Horizontal scroll row */
.ecf-row-wrap { position: relative; }

.ecf-row {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
    width: 100%;
    min-width: 0;
}
.ecf-row::-webkit-scrollbar { display: none; }

/* Card — 1.5 visible on mobile, 2.5 on wide */
.ecf-card {
    flex: 0 0 calc(100% / 1.5 - 14px);
    max-width: 250px;
    background: var(--emp-bg-card);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--emp-border);
}
@media (min-width: 500px) {
    .ecf-card { flex: 0 0 calc(100% / 2.5 - 14px); }
}

/* Brand row */
.ecf-card__brand {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px 8px;
}
.ecf-card__brand-logo {
    width: 32px;
    height: 32px;
    border-radius: 50% !important;
    object-fit: cover;
    flex-shrink: 0;
}
.ecf-card__brand-initial {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--emp-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--emp-muted);
    flex-shrink: 0;
    text-decoration: none;
}
.ecf-card__brand-name {
    font-size: 12px;
    font-weight: 700;
    color: var(--emp-charcoal);
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ecf-card__brand-name:hover { color: var(--emp-coral); }

/* Image */
.ecf-card__img-wrap {
    display: block;
    position: relative;
}
.ecf-card__img-el,
.ecf-card__img-placeholder {
    width: 100%;
    aspect-ratio: 1 / 1;
    max-height: 250px;
    object-fit: cover;
    display: block;
}
.ecf-card__img-placeholder {
    background: linear-gradient(145deg, #f5ede3, #ddd0c5);
}
.ecf-card__score {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(44, 95, 111, 0.88);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 100px;
    backdrop-filter: blur(4px);
}

/* Body */
.ecf-card__body { padding: 8px 12px 12px; }

.ecf-card__title {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--emp-charcoal);
    line-height: 1.35;
    margin-bottom: 6px;
    text-decoration: none;
}
.ecf-card__title:hover { color: var(--emp-coral); }

.ecf-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}
.ecf-card__price { font-size: 14px; font-weight: 700; color: var(--emp-coral); }
.ecf-card__price del { color: var(--emp-muted); font-weight: 400; font-size: 11px; }

/* View all link */
.ecf-view-all {
    font-size: 12px;
    font-weight: 600;
    color: var(--emp-coral);
    text-decoration: none;
    white-space: nowrap;
    padding-bottom: 11px; /* align with title baseline above border */
}
.ecf-view-all:hover { text-decoration: underline; }

/* Category tags */
.ecf-card__tags { display: flex; flex-wrap: wrap; gap: 4px; }
.ecf-card__tag {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    padding: 2px 7px;
    border-radius: 100px;
    background: var(--emp-teal-light);
    color: var(--emp-teal);
    border: 1px solid var(--emp-teal);
}
