/* ==========================================================================
   Ecolivros — Homepage em formato de plataforma (v4)
   Carregado apenas na front page. Tudo com escopo body.home.
   Um fundo, um cartão, uma família tipográfica (Hanken Grotesk),
   uma cor de ação (floresta) e o coral apenas para "a decorrer".
   ========================================================================== */

body.home {
    --p-bg:       #f6f5f1;
    --p-card:     #ffffff;
    --p-line:     #e6e3da;
    --p-line-2:   #d6d2c6;
    --p-ink:      #18261e;
    --p-soft:     #5d6862;
    --p-forest:   #173f2b;
    --p-forest-2: #1f5a3a;
    --p-tint:     #eaf1ec;
    --p-live:     #d9472f;
    --p-font:     'Hanken Grotesk', var(--eco-font, 'Inter'), system-ui, sans-serif;
    background: var(--p-bg);
}

body.home .ep-today,
body.home .ep-section { font-family: var(--p-font); color: var(--p-ink); }
body.home .ep-today *,
body.home .ep-section * { box-sizing: border-box; }

/* ── Elementos base ───────────────────────────────────────────────────── */
.ep-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 20px; border: 0; border-radius: 10px;
    background: var(--p-forest); color: #fff;
    font: 600 15px/1 var(--p-font); text-decoration: none; white-space: nowrap;
    cursor: pointer; transition: background .15s;
}
.ep-btn:hover { background: #0f2c1d; color: #fff; }
.ep-btn--light { background: #fff; color: var(--p-forest); }
.ep-btn--light:hover { background: #eef3ef; color: var(--p-forest); }

.ep-tag {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 6px 11px; border-radius: 999px;
    background: var(--p-tint); color: var(--p-forest);
    font: 600 13px/1 var(--p-font); letter-spacing: .02em;
}
.ep-dot {
    width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
    background: var(--p-live);
    animation: ep-pulse 1.8s infinite;
}
@keyframes ep-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(217, 71, 47, .5); }
    50%      { box-shadow: 0 0 0 6px rgba(217, 71, 47, 0); }
}
@media (prefers-reduced-motion: reduce) { .ep-dot { animation: none; } }

/* ── Secções e cabeçalhos ─────────────────────────────────────────────── */
.ep-section { padding: 44px 0 0; }
.ep-section--tight { padding-top: 28px; }
body.home #avisos { padding-bottom: 56px; }

.ep-head {
    display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
    margin-bottom: 18px;
}
.ep-head__title { margin: 0; font: 700 23px/1.2 var(--p-font); color: var(--p-ink); letter-spacing: -.01em; }
.ep-head__sub { margin: 5px 0 0; font: 400 15px/1.4 var(--p-font); color: var(--p-soft); }
.ep-head__link { font: 600 15px/1.2 var(--p-font); color: var(--p-forest); text-decoration: none; white-space: nowrap; }
.ep-head__link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ── 1 · Hoje na Ecolivros ────────────────────────────────────────────── */
.ep-today { padding: 30px 0 0; }
.ep-today__intro { margin-bottom: 20px; }
.ep-today__title { margin: 0; font: 700 clamp(26px, 3vw, 34px)/1.15 var(--p-font); letter-spacing: -.02em; color: var(--p-ink); }
.ep-today__sub { margin: 8px 0 0; font: 400 16.5px/1.5 var(--p-font); color: var(--p-soft); }

.ep-today__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 16px; }
.ep-today__grid--solo { grid-template-columns: 1fr; }

.ep-feature {
    display: flex; flex-direction: column; gap: 10px;
    min-height: 236px; padding: 26px 28px;
    border-radius: 16px; background: var(--p-forest); color: #fff;
    text-decoration: none; transition: background .2s;
}
.ep-feature:hover { background: #12341f; color: #fff; }
.ep-feature__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ep-feature .ep-tag { background: rgba(255, 255, 255, .13); color: #fff; }
.ep-ref {
    display: inline-flex; align-items: baseline; gap: 5px;
    padding: 7px 12px; border-radius: 8px;
    background: #f6f1e6; color: var(--p-forest);
    font: 500 14px/1 var(--p-font); white-space: nowrap;
}
.ep-ref b { font-weight: 800; font-size: 16px; letter-spacing: .03em; font-variant-numeric: tabular-nums; }
.ep-ref--light { background: var(--p-tint); padding: 5px 9px; margin-right: 6px; vertical-align: 1px; }
.ep-ref--light b { font-size: 15px; }
.ep-feature__name { margin-top: 6px; font: 700 clamp(24px, 2.4vw, 30px)/1.15 var(--p-font); letter-spacing: -.01em; }
.ep-feature__meta { font: 400 16px/1.4 var(--p-font); color: rgba(255, 255, 255, .78); }
.ep-feature__foot { margin-top: auto; padding-top: 18px; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.ep-clock__lbl { display: block; font: 500 14px/1 var(--p-font); color: rgba(255, 255, 255, .7); margin-bottom: 6px; }
.ep-clock__val { display: block; white-space: nowrap; font: 700 40px/1 var(--p-font); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.ep-times { display: flex; align-items: flex-end; gap: 28px; }
.ep-close { padding-left: 28px; border-left: 1px solid rgba(255, 255, 255, .2); }
.ep-close__val { display: block; font: 700 22px/1.1 var(--p-font); color: #fff; font-variant-numeric: tabular-nums; padding-bottom: 4px; }
.ep-close__val::first-letter { text-transform: uppercase; }

.ep-agenda {
    display: flex; flex-direction: column;
    border: 1px solid var(--p-line); border-radius: 16px; background: var(--p-card);
    padding: 18px 20px 8px;
}
.ep-agenda__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.ep-agenda__head span { font: 700 16px/1.2 var(--p-font); }
.ep-agenda__head a { font: 600 14.5px/1 var(--p-font); color: var(--p-forest); text-decoration: none; }
.ep-agenda__list { list-style: none; margin: 0; padding: 0; }
.ep-agenda__row {
    display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; align-items: center; gap: 12px;
    padding: 12px 0; border-top: 1px solid var(--p-line);
    color: var(--p-ink); text-decoration: none;
}
.ep-agenda__list li:first-child .ep-agenda__row { border-top: 0; }
.ep-agenda__when b { display: block; font: 600 14.5px/1.2 var(--p-font); }
.ep-agenda__when span { display: block; margin-top: 3px; font: 400 14px/1.2 var(--p-font); color: var(--p-soft); font-variant-numeric: tabular-nums; }
.ep-agenda__what b { display: block; font: 600 15px/1.3 var(--p-font); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ep-agenda__what span { display: block; margin-top: 3px; font: 400 14px/1.2 var(--p-font); color: var(--p-soft); }
.ep-agenda__ref { font-style: normal; font-weight: 700; color: var(--p-forest); letter-spacing: .02em; }
.ep-head__sub .ep-ref--light { font-size: 13.5px; }
.ep-agenda__go { color: var(--p-soft); transition: transform .15s; }
.ep-agenda__row:hover .ep-agenda__go { transform: translateX(3px); color: var(--p-forest); }
.ep-agenda__row.is-live .ep-agenda__when b { color: var(--p-live); }

.ep-facts { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ep-facts li {
    padding: 9px 14px; border-radius: 999px;
    background: var(--p-card); border: 1px solid var(--p-line);
    font: 400 14.5px/1.2 var(--p-font); color: var(--p-soft);
}
.ep-facts b { font-weight: 700; color: var(--p-ink); font-variant-numeric: tabular-nums; }

/* Cartão do leilão em claro (usado no Natal, com a ECOBOX escura no topo) */
.ep-feature--paper { background: var(--p-card); color: var(--p-ink); border: 1px solid var(--p-line); }
.ep-feature--paper:hover { background: var(--p-card); color: var(--p-ink); border-color: var(--p-line-2); }
.ep-feature--paper .ep-tag { background: var(--p-tint); color: var(--p-forest); }
.ep-feature--paper.ep-feature--live .ep-tag { background: #fbe9e5; color: #b23a25; }
.ep-feature--paper .ep-ref { background: var(--p-tint); }
.ep-feature--paper .ep-feature__meta { color: var(--p-soft); }
.ep-feature--paper .ep-clock__lbl { color: var(--p-soft); }
.ep-feature--paper .ep-close { border-left-color: var(--p-line); }
.ep-feature--paper .ep-close__val { color: var(--p-ink); }
.ep-feature--paper .ep-btn--light { background: var(--p-forest); color: #fff; }
.ep-feature--paper:hover .ep-btn--light { background: #0f2c1d; }

/* Lotes deste leilão (quando não há outros leilões agendados) */
.ep-hot__item {
    display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; align-items: center; gap: 14px;
    padding: 10px 0; border-top: 1px solid var(--p-line); color: var(--p-ink); text-decoration: none;
}
.ep-agenda__list li:first-child .ep-hot__item { border-top: 0; }
.ep-hot__img { display: block; width: 46px; aspect-ratio: 3 / 4; border-radius: 5px; overflow: hidden; background: #8de57e; }
.ep-hot__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ep-hot__name { font: 600 15px/1.3 var(--p-font); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ep-hot__num { text-align: right; white-space: nowrap; }
.ep-hot__num b { display: block; font: 700 16px/1.1 var(--p-font); font-variant-numeric: tabular-nums; }
.ep-hot__num span { display: block; margin-top: 3px; font: 400 13.5px/1.2 var(--p-font); color: var(--p-soft); }
.ep-hot__item:hover .ep-hot__name { color: var(--p-forest); }

/* ── Grelha e cartão único (lotes e produtos) ─────────────────────────── */
.ep-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.ep-grid[hidden] { display: none; }

body.home .ep-grid .eco-product-card,
body.home .eh-lot {
    position: relative; display: flex; flex-direction: column;
    background: var(--p-card); border: 1px solid var(--p-line); border-radius: 12px;
    padding: 8px; overflow: visible; box-shadow: none; animation: none;
    color: var(--p-ink); text-decoration: none;
    transition: border-color .15s, box-shadow .15s, transform .15s;
}
body.home .ep-grid .eco-product-card:hover,
body.home .eh-lot:hover {
    border-color: var(--p-line-2); transform: translateY(-2px);
    box-shadow: 0 10px 24px -14px rgba(24, 38, 30, .35);
}

body.home .ep-grid .eco-product-card__img-wrap,
body.home .eh-lot__img {
    position: relative; display: block; aspect-ratio: 3 / 4;
    border-radius: 8px; overflow: hidden; background: #8de57e;
}
body.home .ep-grid .eco-product-card__img-wrap img,
body.home .eh-lot__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
body.home .ep-grid .eco-product-card:hover .eco-product-card__img-wrap img,
body.home .eh-lot:hover .eh-lot__img img { transform: scale(1.03); }

body.home .ep-grid .eco-product-card__fav { top: 14px; right: 14px; }

body.home .ep-grid .eco-product-card__body,
body.home .eh-lot__body {
    display: flex; flex-direction: column; gap: 3px; flex: 1;
    padding: 10px 4px 4px;
}
body.home .ep-grid .eco-product-card__title,
body.home .eh-lot__name {
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    min-height: 2.7em;
    font: 600 15px/1.35 var(--p-font); color: var(--p-ink); text-decoration: none;
}
body.home .ep-grid .eco-product-card__author,
body.home .eh-lot__autor {
    display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    font: 400 14px/1.35 var(--p-font); color: var(--p-soft);
}
body.home .ep-grid .eco-product-card__price-row,
body.home .eh-lot__foot {
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    margin-top: auto; padding-top: 8px;
}
body.home .ep-grid .eco-product-card__price,
body.home .eh-lot__price {
    font: 700 17px/1.1 var(--p-font); color: var(--p-ink); font-variant-numeric: tabular-nums;
}
body.home .ep-grid .eco-product-card__price del { font-weight: 400; font-size: 14px; color: var(--p-soft); }
body.home .ep-grid .eco-product-card__price ins { text-decoration: none; }

/* Etiquetas sobre a foto */
.eco-pc-new {
    position: absolute; top: 8px; left: 8px; z-index: 3; pointer-events: none;
    padding: 5px 8px; border-radius: 6px;
    background: #fff; color: var(--p-forest, #173f2b);
    font: 600 12px/1 'Hanken Grotesk', sans-serif;
}
body.home .ep-grid .eco-product-card__stock-badge {
    left: 8px; bottom: 8px; top: auto; right: auto; border-radius: 6px;
    font: 600 12px/1 var(--p-font); padding: 5px 8px;
}

/* Lote: relógio, lances, estados */
.eh-lot__time {
    position: absolute; left: 8px; bottom: 8px;
    padding: 5px 8px; border-radius: 6px;
    background: rgba(15, 30, 22, .86); color: #fff;
    font: 600 13px/1 var(--p-font); font-variant-numeric: tabular-nums;
}
.eh-lot__time.is-urgent { background: var(--p-live); }
.eh-lot__bids { font: 400 13.5px/1 var(--p-font); color: var(--p-soft); white-space: nowrap; }
.eh-lot__price { transition: color .3s; }
.eh-lot__price.is-flash { color: var(--p-live); }
.eh-lot.is-ended { opacity: .55; }

.eh-lot--more {
    align-items: center; justify-content: center; text-align: center; gap: 6px;
    border-style: dashed; background: transparent; min-height: 240px;
}
.eh-lot--more b { font: 700 32px/1 var(--p-font); color: var(--p-ink); }
.eh-lot--more span { font: 400 15px/1.3 var(--p-font); color: var(--p-soft); }
.eh-lot--more i { font: 600 15px/1 var(--p-font); font-style: normal; color: var(--p-forest); margin-top: 6px; }

/* ── 3 · Formas de comprar ────────────────────────────────────────────── */
.ep-doors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ep-doors--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ep-door {
    display: grid; grid-template-columns: 46px minmax(0, 1fr); grid-template-rows: auto 1fr; gap: 4px 16px;
    padding: 20px; border: 1px solid var(--p-line); border-radius: 14px; background: var(--p-card);
    color: var(--p-ink); text-decoration: none; transition: border-color .15s;
}
.ep-door:hover { border-color: var(--p-forest); color: var(--p-ink); }
.ep-door__ico {
    grid-row: 1 / 3; width: 46px; height: 46px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    background: var(--p-tint); color: var(--p-forest);
}
.ep-door__txt b { display: block; font: 700 17px/1.25 var(--p-font); }
.ep-door__txt span { display: block; margin-top: 4px; font: 400 15px/1.45 var(--p-font); color: var(--p-soft); }
.ep-door__go { align-self: end; margin-top: 10px; font: 600 15px/1 var(--p-font); color: var(--p-forest); }

/* ── 4 · Compra já (separadores) ──────────────────────────────────────── */
.ep-tabs { display: flex; gap: 8px; margin: -4px 0 18px; overflow-x: auto; scrollbar-width: none; }
.ep-tabs::-webkit-scrollbar { display: none; }
.ep-tab {
    flex: 0 0 auto; padding: 10px 16px; border-radius: 999px;
    border: 1px solid var(--p-line); background: var(--p-card); color: var(--p-ink);
    font: 600 15px/1 var(--p-font); cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.ep-tab:hover { border-color: var(--p-line-2); }
.ep-tab[aria-selected="true"] { background: var(--p-forest); border-color: var(--p-forest); color: #fff; }
.ep-tab:focus-visible { outline: 2px solid var(--p-forest); outline-offset: 2px; }

/* ── 5 · ECOBOX ────────────────────────────────────────────────────── */
.ep-eb {
    display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr) auto; align-items: center; gap: 36px;
    padding: 12px 36px 12px 12px;
    border: 1px solid var(--p-line); border-radius: 16px; background: var(--p-card);
}
.ep-eb__media {
    display: flex; align-items: center; justify-content: center;
    min-height: 220px; padding: 14px 18px;
    border-radius: 12px; background: var(--p-tint);
}
.ep-eb__media picture { display: contents; }
.ep-eb__media img {
    display: block; width: 100%; max-width: 300px; height: auto;
    object-fit: contain; filter: drop-shadow(0 16px 18px rgba(23, 63, 43, .22));
}
.ep-eb__title { margin: 12px 0 6px; font: 700 24px/1.2 var(--p-font); color: var(--p-ink); letter-spacing: -.01em; }
.ep-eb__p { margin: 0; font: 400 16px/1.5 var(--p-font); color: var(--p-soft); max-width: 32em; }
.ep-eb__plans { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.ep-eb__plans li {
    display: flex; align-items: baseline; gap: 10px;
    padding: 10px 14px; border: 1px solid var(--p-line); border-radius: 10px;
}
.ep-eb__plans b { font: 600 15px/1 var(--p-font); color: var(--p-ink); }
.ep-eb__plans span { font: 700 17px/1 var(--p-font); color: var(--p-forest); font-variant-numeric: tabular-nums; }
.ep-eb__stock { margin: 12px 0 0; font: 600 14.5px/1.3 var(--p-font); color: var(--p-live); }
.ep-eb__cta .ep-btn { padding: 15px 22px; }

/* ── ECOBOX de Natal (topo, 15 nov – 25 dez) ──────────────────────────── */
.ep-xmas-wrap { padding: 18px 0 0; font-family: var(--p-font); }
.ep-xmas {
    position: relative; overflow: hidden;
    display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: stretch; gap: 36px;
    padding: 12px 12px 12px 44px; border-radius: 18px;
    background-color: #123524;
    background-image: radial-gradient(rgba(255, 244, 220, .16) 1px, transparent 1.4px);
    background-size: 22px 22px;
    color: #f6f1e6;
}
.ep-xmas::after { /* filete dourado interior */
    content: ""; position: absolute; inset: 10px; border-radius: 12px; pointer-events: none;
    border: 1px solid rgba(231, 194, 125, .35);
}
.ep-xmas__txt { position: relative; z-index: 1; align-self: center; padding: 14px 0; }
.ep-xmas__tag {
    display: inline-block; padding: 7px 12px; border-radius: 999px;
    border: 1px solid rgba(231, 194, 125, .55); color: #e7c27d;
    font: 600 13px/1 var(--p-font); letter-spacing: .06em; text-transform: uppercase;
}
.ep-xmas__title { margin: 12px 0 8px; font: 700 clamp(26px, 2.8vw, 36px)/1.1 var(--p-font); letter-spacing: -.02em; color: #fff; max-width: 18em; text-wrap: balance; }
.ep-xmas__p { margin: 0; font: 400 16px/1.5 var(--p-font); color: rgba(246, 241, 230, .82); max-width: 32em; }
.ep-xmas__plans { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.ep-xmas__plans li {
    display: flex; flex-direction: column; gap: 8px; min-width: 132px;
    padding: 12px 16px 13px; border-radius: 12px;
    background: rgba(255, 255, 255, .08); border: 1px solid rgba(231, 194, 125, .45);
}
.ep-xmas__plans b { font: 600 13px/1 var(--p-font); letter-spacing: .06em; text-transform: uppercase; color: rgba(246, 241, 230, .8); }
.ep-xmas__plans span { font: 800 34px/1 var(--p-font); color: #e7c27d; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.ep-xmas__plans small { font-size: 22px; font-weight: 700; margin-left: 3px; }
.ep-xmas__cta { margin-top: 18px; display: flex; align-items: center; flex-wrap: wrap; gap: 14px 20px; }
.ep-btn--cream { background: #f6f1e6; color: #123524; padding: 15px 24px; }
.ep-btn--cream:hover { background: #fff; color: #123524; }
.ep-xmas__stock { margin: 14px 0 0; font: 600 14.5px/1.3 var(--p-font); color: #e7c27d; }
.ep-xmas__more { font: 600 15px/1.2 var(--p-font); color: #f6f1e6; text-decoration: underline; text-decoration-color: rgba(246, 241, 230, .45); text-underline-offset: 4px; }
.ep-xmas__more:hover { color: #fff; text-decoration-color: #e7c27d; }
.ep-xmas__media {
    position: relative; z-index: 1;
    display: flex; align-items: center; justify-content: center;
    padding: 16px 20px; border-radius: 12px;
    background: #eaf1ec;
}
.ep-xmas__media picture { display: contents; }
.ep-xmas__media img {
    display: block; width: 100%; max-width: 320px; height: auto;
    filter: drop-shadow(0 18px 20px rgba(23, 63, 43, .25));
}

/* ── 6 · Arrematados recentemente ─────────────────────────────────────── */
.ep-wins { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.ep-win { display: flex; flex-direction: column; padding: 8px; border: 1px solid var(--p-line); border-radius: 12px; background: var(--p-card); }
.ep-win__img { display: block; aspect-ratio: 3 / 4; border-radius: 8px; overflow: hidden; background: #8de57e; }
.ep-win__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ep-win__txt { display: flex; flex-direction: column; gap: 3px; padding: 10px 4px 4px; }
.ep-win__name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; font: 600 14.5px/1.35 var(--p-font); }
.ep-win__price { margin-top: 4px; font: 700 17px/1.1 var(--p-font); color: var(--p-forest); font-variant-numeric: tabular-nums; }
.ep-win__when { font: 400 13.5px/1.3 var(--p-font); color: var(--p-soft); }

/* ── 7 · Como funciona + aviso ────────────────────────────────────────── */
.ep-end { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 16px; }
.ep-how { padding: 26px 28px; border: 1px solid var(--p-line); border-radius: 16px; background: var(--p-card); }
.ep-how__list { list-style: none; counter-reset: ep; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ep-how__list li { counter-increment: ep; }
.ep-how__list li::before {
    content: counter(ep); display: flex; align-items: center; justify-content: center;
    width: 32px; height: 32px; border-radius: 50%; margin-bottom: 12px;
    background: var(--p-tint); color: var(--p-forest); font: 700 15px/1 var(--p-font);
}
.ep-how__list b { display: block; font: 700 16px/1.3 var(--p-font); }
.ep-how__list span { display: block; margin-top: 5px; font: 400 15px/1.5 var(--p-font); color: var(--p-soft); }

.ep-notify { display: flex; flex-direction: column; justify-content: center; padding: 26px 28px; border-radius: 16px; background: var(--p-forest); color: #fff; }
.ep-notify__title { margin: 0; font: 700 21px/1.25 var(--p-font); color: #fff; }
.ep-notify__p { margin: 8px 0 18px; font: 400 15.5px/1.5 var(--p-font); color: rgba(255, 255, 255, .78); }
.ep-notify__form { display: flex; gap: 8px; }
.ep-notify__form input[type=email] {
    flex: 1; min-width: 0; height: 48px; padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, .25); border-radius: 10px;
    background: rgba(255, 255, 255, .08); color: #fff; font: 400 16px/1 var(--p-font);
}
.ep-notify__form input[type=email]::placeholder { color: rgba(255, 255, 255, .55); }
.ep-notify__form input[type=email]:focus { outline: 2px solid #fff; outline-offset: 1px; border-color: transparent; }
.ep-notify__form .ep-btn { height: 48px; background: #fff; color: var(--p-forest); }
.ep-notify__form .ep-btn:hover { background: #eef3ef; }
.ep-notify__form .ep-btn:disabled { opacity: .7; cursor: default; }
.ep-notify__msg { min-height: 20px; margin-top: 10px; font: 500 14.5px/1.4 var(--p-font); color: rgba(255, 255, 255, .85); }
.ep-notify__msg.is-error { color: #ffc2b5; }

/* ── Categorias no topo ───────────────────────────────────────────────── */
body.home .eco-container--chips { padding-top: 16px; padding-bottom: 0; }
body.home .eco-cat-chip--active { background: var(--p-forest); border-color: var(--p-forest); color: #fff; }
body.home .ep-grid .eco-product-card__stock-badge { text-transform: none; letter-spacing: 0; }

/* ── Responsivo ───────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
    .ep-wins { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .ep-how__list { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 960px) {
    .ep-xmas { grid-template-columns: 1fr; padding: 10px; gap: 0; }
    .ep-xmas::after { display: none; }
    .ep-xmas__media { order: -1; padding: 20px; }
    .ep-xmas__media img { max-width: 280px; }
    .ep-xmas__txt { padding: 22px 14px 16px; }
    .ep-today__grid, .ep-end { grid-template-columns: 1fr; }
    .ep-doors { grid-template-columns: 1fr; gap: 10px; }
    .ep-eb { grid-template-columns: minmax(0, 240px) minmax(0, 1fr); padding: 12px; gap: 18px 22px; }
    .ep-eb__media { min-height: 180px; }
    .ep-eb__cta { grid-column: 1 / -1; }
    .ep-eb__cta .ep-btn { width: 100%; }

    /* Grelhas passam a fila deslizante, igual em todas as listas */
    .ep-grid, .ep-wins {
        display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
        margin: 0 -16px; padding: 2px 16px 6px; scroll-padding: 0 16px; scrollbar-width: none;
    }
    .ep-grid::-webkit-scrollbar, .ep-wins::-webkit-scrollbar { display: none; }
    .ep-grid[hidden] { display: none; }
    .ep-grid > *, .ep-wins > * { flex: 0 0 auto; width: 44%; max-width: 220px; scroll-snap-align: start; }
}
@media (max-width: 560px) {
    .ep-xmas-wrap { padding-top: 16px; }
    .ep-xmas__media img { max-width: 220px; }
    .ep-xmas__txt { padding: 20px 10px 12px; }
    .ep-xmas__p { font-size: 16px; }
    .ep-xmas__cta .ep-btn { width: 100%; }
    .ep-xmas__cta { justify-content: center; }
    .ep-xmas__stock { text-align: center; }
    .ep-xmas__plans li { flex: 1; min-width: 0; }
    .ep-xmas__plans span { font-size: 32px; }
    .ep-section { padding-top: 36px; }
    .ep-section--tight { padding-top: 22px; }
    .ep-feature { padding: 22px 20px; min-height: 0; }
    .ep-clock__val { font-size: 30px; }
    .ep-times { gap: 16px; align-items: flex-start; }
    .ep-close { padding-left: 18px; }
    .ep-close { padding-left: 16px; }
    .ep-close__val { font-size: 17px; padding-bottom: 0; }
    .ep-feature__foot .ep-btn { width: 100%; }
    .ep-head__title { font-size: 21px; }
    .ep-eb { grid-template-columns: 1fr; padding: 10px 10px 18px; }
    .ep-eb__txt { padding: 0 8px; }
    .ep-eb__cta { padding: 0 8px; }
    .ep-eb__media { min-height: 0; padding: 18px; }
    .ep-eb__media img { max-width: 240px; }
    .ep-how, .ep-notify { padding: 22px 20px; }
    .ep-notify__form { flex-direction: column; }
    .ep-grid > *, .ep-wins > * { width: 46%; }
    .ep-facts { display: grid; grid-template-columns: 1fr 1fr; }
    .ep-facts li { border-radius: 12px; line-height: 1.35; }
}
