/* ===========================================================
   Espressimo — Category Hero
   =========================================================== */

.esp-cathero {
    background: #f6ede3;
    border-bottom: 1px solid #e6dad4;
    font-family: 'Dialect PM', sans-serif;
}

/* ── Breadcrumb ── */
.esp-cathero__crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 12px 48px;
    border-bottom: 1px solid #e6dad4;
    font-size: 18px;
    color: #522c25;
}
.esp-cathero__crumb {
    color: #75605a;
    text-decoration: none;
    opacity: 1;
    transition: opacity 0.2s ease;
}
.esp-cathero__crumb:hover {
    opacity: 1; color: #522c25; }
.esp-cathero__crumb--current {
    font-weight: 700;
    opacity: 1; color: #522c25; }
.esp-cathero__crumb-sep {
    opacity: 0.3;
}

/* ── Body ── */
.esp-cathero__row {
    display: flex;
    align-items: center;
}
.esp-cathero__body {
    padding: 56px 48px;
    flex: 1 1 auto;
    min-width: 0;
}
/* Category image on the left (item 1). In RTL the body is first (right), media second (left). */
.esp-cathero__media {
    flex: 0 0 34%;
    padding: 32px 0 32px 48px;
    align-self: center;
    display: flex;
    justify-content: center;
}
/* Whole product, never cropped. multiply blends the photo's white background into the hero's beige. */
.esp-cathero__media img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 320px;
    object-fit: contain;
    mix-blend-mode: multiply;
    display: block;
}
.esp-cathero__eyebrow {
    display: block;
    color: #c46500;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.esp-cathero__title {
    margin: 8px 0 0;
    color: #522c25;
    font-size: 64px;
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: 0.03em;
}
.esp-cathero__desc {
    margin: 12px 0 0;
    max-width: 760px;
    color: #75605a;
    font-size: 24px;
    line-height: 1.5;
    opacity: 1;
}
.esp-cathero__count {
    margin: 16px 0 0;
    color: #75605a;
    font-size: 18px;
    opacity: 1;
}

/* ── Trust badges ── */
.esp-cathero__badges {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 32px;
    max-width: 840px;
}
.esp-cathero__badge {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff9f2;
    border: 1px solid #e6dad4;
    border-radius: 12px;
    padding: 12px 16px;
}
.esp-cathero__badge-icon {
    display: inline-flex;
    color: #c46500;
    flex-shrink: 0;
}
.esp-cathero__badge-icon svg {
    display: block;
}
.esp-cathero__badge-label {
    color: #522c25;
    font-size: 16px;
    line-height: 1.2;
    opacity: 0.75;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .esp-cathero__crumbs,
    .esp-cathero__body { padding-left: 24px; padding-right: 24px; }
    .esp-cathero__body { padding-top: 40px; padding-bottom: 40px; }
    .esp-cathero__title { font-size: 44px; }
    .esp-cathero__desc { font-size: 20px; }
    .esp-cathero__badges { grid-template-columns: repeat(2, 1fr); }
    /* Stack the image above the text on mobile. */
    .esp-cathero__row { flex-direction: column; align-items: stretch; }
    .esp-cathero__media { flex: 1 1 auto; order: -1; padding: 24px 24px 0; }
    .esp-cathero__media img { max-height: 240px; }
}

@media (max-width: 480px) {
    .esp-cathero__title { font-size: 34px; }
    .esp-cathero__desc { font-size: 18px; }
    .esp-cathero__badges { grid-template-columns: 1fr; }
}
