/* ================================
   HOMEPAGE — home.css (2026-10, inspirație Uncommon Goods)
   bara sezonului → destinatari (cercuri) → hero cu ghidul sezonului → carusele →
   pasiuni → liste → toate ideile (filtre + grid) → „cum alegem” → ghiduri.
   Se include DUPĂ styles.css și folosește variabilele de acolo.
================================ */

body { background: #fff; }

/* ── BARA SEZONULUI ── */
.promo-bar {
    display: block; text-align: center; background: var(--accent-strong); color: #fff;
    font-size: 14px; font-weight: 600; padding: 9px 16px; line-height: 1.4;
}
.promo-bar:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ── TITLURI DE SECȚIUNE ── */
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.section-head h2 { font-size: clamp(21px, 2.4vw, 26px); font-weight: 800; letter-spacing: -0.3px; margin: 0; color: var(--dark); }
.section-head a { font-size: 14.5px; font-weight: 700; color: var(--accent-strong); text-decoration: underline; text-underline-offset: 4px; white-space: nowrap; }

/* ── DESTINATARI: cercuri cu poze ── */
.tiles--who { padding: 22px 0 6px; }
.tiles-row {
    display: grid; grid-auto-flow: column; grid-auto-columns: minmax(92px, 1fr);
    gap: 14px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none;
}
.tiles-row::-webkit-scrollbar { display: none; }
.tile { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--dark); }
.tile-img {
    width: 100%; max-width: 120px; aspect-ratio: 1; border-radius: 50%; overflow: hidden;
    background: var(--soft); border: 2px solid transparent; transition: border-color .2s;
}
.tile-img img { width: 100%; height: 100%; object-fit: contain; padding: 14%; mix-blend-mode: multiply; }
.tile:hover .tile-img { border-color: var(--accent); }
.tile-label { font-weight: 700; font-size: 14.5px; text-align: center; }

/* ── HERO ── */
.hero2 { padding: 22px 0 10px; }
.hero2-card {
    display: grid; grid-template-columns: 1fr; gap: 0; border-radius: 18px; overflow: hidden;
    background: var(--accent-tint);
}
@media (min-width: 860px) { .hero2-card { grid-template-columns: 1fr 1.05fr; min-height: 380px; } }
.hero2-text { padding: clamp(26px, 4vw, 52px); display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.kicker { font-size: 12.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-strong); }
.hero2 h1 { font-size: clamp(30px, 4.4vw, 50px); line-height: 1.05; letter-spacing: -1px; font-weight: 800; color: var(--dark); margin: 0; }
.hero2 p { font-size: 16.5px; line-height: 1.55; color: var(--charcoal); max-width: 46ch; margin: 0; }
.hero2-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 6px; }
.btn-pill {
    display: inline-block; background: var(--accent-strong); color: #fff; font-weight: 700; font-size: 15.5px;
    padding: 13px 26px; border-radius: 999px; transition: background .2s;
}
.btn-pill:hover { background: var(--dark); }
.btn-link { font-weight: 600; color: var(--accent-strong); text-decoration: underline; text-underline-offset: 4px; }
.hero2-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; background: var(--accent-tint); }
.hero2-grid a { background: #fff; display: block; aspect-ratio: 1; }
.hero2-grid img { width: 100%; height: 100%; object-fit: contain; padding: 10%; transition: transform .35s; }
.hero2-grid a:hover img { transform: scale(1.05); }

/* ── CARD DE PRODUS (comun: carusele + grid) ── */
.pcard { display: flex; flex-direction: column; gap: 4px; color: var(--dark); min-width: 0; }
.pcard-img {
    position: relative; display: block; aspect-ratio: 1; border-radius: var(--radius);
    background: var(--soft); overflow: hidden; margin-bottom: 6px;
}
.pcard-img img { width: 100%; height: 100%; object-fit: contain; padding: 8%; mix-blend-mode: multiply; transition: transform .35s; }
.pcard:hover .pcard-img img { transform: scale(1.05); }
.pcard-badge {
    position: absolute; left: 10px; top: 10px; background: var(--pop); color: var(--dark);
    font-size: 11.5px; font-weight: 800; padding: 3px 9px; border-radius: 999px;
}
.pcard-name {
    font-size: 15px; font-weight: 600; line-height: 1.35;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pcard:hover .pcard-name { text-decoration: underline; text-underline-offset: 3px; }
.pcard-price { font-size: 16px; font-weight: 800; }
.pcard-shop { font-size: 13px; color: var(--muted); }

/* ── CARUSELE ── */
.rail { padding: 26px 0 6px; }
.rail-track {
    display: grid; grid-auto-flow: column; grid-auto-columns: minmax(170px, 46%);
    gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px;
}
@media (min-width: 720px)  { .rail-track { grid-auto-columns: calc((100% - 54px) / 4); } }
@media (min-width: 1100px) { .rail-track { grid-auto-columns: calc((100% - 90px) / 6); } }
.rail-track .pcard { scroll-snap-align: start; }

/* ── PASIUNI ── */
.tiles--pas { padding: 30px 0 6px; }
.pas-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px)  { .pas-grid { grid-template-columns: repeat(4, 1fr); } }
.pas-tile {
    display: flex; align-items: center; gap: 12px; background: var(--soft); border-radius: var(--radius);
    padding: 10px 14px 10px 10px; color: var(--dark); transition: background .2s;
}
.pas-tile:hover { background: var(--accent-tint); }
.pas-img { width: 64px; height: 64px; flex: none; border-radius: 10px; background: #fff; overflow: hidden; }
.pas-img img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.pas-label { font-weight: 700; font-size: 15px; }

/* ── LISTE DE CADOURI ── */
.home-lists { padding: 30px 0 6px; }
.lists-row {
    display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr);
    gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px;
}
@media (min-width: 1100px) { .lists-row { grid-auto-columns: calc((100% - 54px) / 4); } }
.list-card { scroll-snap-align: start; display: flex; flex-direction: column; color: var(--dark); }
.list-imgs {
    display: grid; gap: 3px; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden;
    grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; background: #fff;
}
.list-imgs img { width: 100%; height: 100%; object-fit: contain; background: var(--soft); padding: 6%; mix-blend-mode: multiply; }
.list-imgs img:first-child { grid-row: 1 / 3; }
.list-imgs--1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.list-imgs--2 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; }
.list-imgs--2 img:first-child { grid-row: auto; }
.list-title { font-weight: 700; font-size: 16px; line-height: 1.3; margin-top: 10px; }
.list-card:hover .list-title { text-decoration: underline; text-underline-offset: 3px; }
.list-meta { color: var(--muted); font-size: 13.5px; }

/* ── TOATE IDEILE ── */
.all-ideas { padding: 36px 0 30px; scroll-margin-top: 70px; }
.filters { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 12px 0; margin-bottom: 22px; }
.filter-row { display: flex; align-items: center; gap: 8px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; padding: 3px 0; }
.filter-row::-webkit-scrollbar { display: none; }
.sep { width: 1px; height: 22px; background: var(--border); margin: 0 4px; flex: none; }
.chip {
    font-size: 14px; font-weight: 600; padding: 7px 14px; border-radius: 999px;
    border: 1.5px solid var(--border); background: #fff; color: var(--dark);
}
.chip:hover { border-color: var(--dark); }
.chip.is-on { background: var(--dark); border-color: var(--dark); color: #fff; }
.chip--soft { font-weight: 500; font-size: 13.5px; background: var(--soft); border-color: var(--soft); }
.feed-summary { margin: -8px 0 16px; color: var(--muted); font-size: 14px; }

.feed-grid { display: grid; gap: 30px 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 720px)  { .feed-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .feed-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* lista intercalată în grid */
.feed-banner {
    grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    align-items: center; border-radius: 18px; overflow: hidden; background: var(--accent-tint); color: var(--dark);
}
.feed-banner-imgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; height: 100%; }
.feed-banner-imgs img { width: 100%; height: 100%; min-height: 170px; object-fit: contain; background: #fff; padding: 10px; }
.feed-banner-text { padding: 22px 28px; display: flex; flex-direction: column; gap: 6px; }
.feed-banner .kicker { color: var(--accent-strong); }
.feed-banner strong { font-size: clamp(20px, 2.4vw, 28px); line-height: 1.15; font-weight: 800; letter-spacing: -.4px; }
.feed-banner .meta { font-weight: 700; color: var(--accent-strong); }
.feed-banner:hover strong { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 640px) { .feed-banner { grid-template-columns: 1fr; } .feed-banner-imgs img { min-height: 110px; } }

.feed-more { text-align: center; margin: 36px 0 8px; }
.btn-more {
    display: inline-block; padding: 13px 30px; border-radius: 999px; font-weight: 700;
    border: 2px solid var(--dark); color: var(--dark);
}
.btn-more:hover { background: var(--dark); color: #fff; }
.btn-more.is-loading { opacity: .5; pointer-events: none; }
.feed-empty { padding: 40px 0; color: var(--muted); }

/* ── CUM ALEGEM ── */
.values { background: var(--soft); padding: 34px 0; margin-top: 20px; }
.values-grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .values-grid { grid-template-columns: repeat(3, 1fr); } }
.values-grid div { display: flex; flex-direction: column; gap: 4px; }
.values-grid strong { font-size: 16px; font-weight: 800; }
.values-grid span { color: var(--charcoal); font-size: 14.5px; line-height: 1.5; }

/* ── GHIDURI ── */
.home-blog { padding: 34px 0 56px; }
.blog-row { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.blog-card { display: flex; flex-direction: column; color: var(--dark); }
.blog-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }
.blog-card span { padding: 10px 2px; font-weight: 700; font-size: 16px; line-height: 1.35; }
.blog-card:hover span { text-decoration: underline; text-underline-offset: 3px; }

/* ── PAGINA CU TOATE LISTELE + titlu H1 în locul H2 ── */
.section-head h1 { font-size: clamp(26px, 3.2vw, 34px); font-weight: 800; letter-spacing: -0.5px; margin: 0; color: var(--dark); }
.lists-intro { color: var(--muted); margin: -6px 0 22px; max-width: 60ch; }
.lists-grid { display: grid; gap: 28px 18px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
