/* ============================================================
   HOMEPAGE RESTRUCTURE — new sections
   Appended. Nothing above this line is modified.
   ============================================================ */

/* ── Hero: composed showcase + trust list ─────────────────── */
body.editorial .hero-showcase {
  position: relative;
  border-radius: var(--ed-radius-md);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(3, 7, 22, 0.55);
  border: 1px solid rgba(215, 161, 59, 0.35);
  aspect-ratio: 16 / 11;
}
body.editorial .hero-showcase img { width: 100%; height: 100%; object-fit: cover; display: block; }
body.editorial .hero-trust-list {
  list-style: none; margin: 1.25rem 0 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.65rem 1rem;
}
body.editorial .hero-trust-list li { display: flex; align-items: center; gap: 0.55rem; font-size: 0.85rem; color: var(--ed-on-navy-soft); }
body.editorial .hero-trust-list li i { color: var(--ed-gold); font-size: 0.95rem; }

/* ── Trust strip ──────────────────────────────────────────── */
body.editorial .trust-strip {
  background: var(--ed-paper-alt);
  border-top: 1px solid var(--ed-line);
  border-bottom: 1px solid var(--ed-line);
  padding: 1.25rem 0;
}
body.editorial .trust-strip-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
body.editorial .trust-item { display: flex; align-items: center; gap: 0.75rem; }
body.editorial .trust-item i { font-size: 1.4rem; color: var(--ed-accent); flex-shrink: 0; }
body.editorial .trust-item strong { display: block; font-family: var(--ed-serif); font-weight: 500; font-size: 0.95rem; color: var(--ed-ink); }
body.editorial .trust-item span { font-size: 0.78rem; color: var(--ed-ink-faint); }
@media (max-width: 800px) { body.editorial .trust-strip-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { body.editorial .trust-strip-inner { grid-template-columns: 1fr; } }

/* ── Dream Car promo banner ───────────────────────────────── */
body.editorial .promo-banner { padding: var(--ed-space-lg) 0; background: var(--ed-paper); }
body.editorial .promo-banner-inner {
  position: relative;
  background: linear-gradient(120deg, var(--ed-navy-deep) 0%, var(--ed-navy-mid) 100%);
  border-radius: var(--ed-radius-md); overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr; align-items: stretch;
  min-height: 260px; isolation: isolate;
}
body.editorial .promo-banner-copy { padding: 2.5rem 2.75rem; display: flex; flex-direction: column; justify-content: center; gap: 0.5rem; position: relative; z-index: 2; }
body.editorial .promo-eyebrow { font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ed-gold); }
body.editorial .promo-title { font-family: var(--ed-serif); font-weight: 500; font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1.1; color: var(--ed-on-navy); margin: 0; }
body.editorial .promo-title .gradient-text { background: none; -webkit-text-fill-color: currentColor; color: var(--ed-gold); font-style: italic; }
body.editorial .promo-banner-copy p { color: var(--ed-on-navy-soft); margin: 0.25rem 0 1rem; }
body.editorial .promo-banner-copy .btn { align-self: flex-start; background: var(--ed-gold); border-color: var(--ed-gold); color: var(--ed-navy-deep); }
body.editorial .promo-banner-copy .btn:hover { background: #c4912f; border-color: #c4912f; }
body.editorial .promo-banner-image { position: relative; overflow: hidden; }
body.editorial .promo-banner-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
body.editorial .promo-banner-image::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ed-navy-deep) 0%, transparent 55%); z-index: 1; pointer-events: none; }
@media (max-width: 720px) {
  body.editorial .promo-banner-inner { grid-template-columns: 1fr; min-height: 0; }
  body.editorial .promo-banner-image { aspect-ratio: 16 / 9; }
  body.editorial .promo-banner-copy { padding: 1.75rem; }
}

/* ── Featured + sidebar ───────────────────────────────────── */
body.editorial .featured-with-sidebar { display: grid; grid-template-columns: minmax(0, 2.4fr) minmax(260px, 1fr); gap: var(--ed-space-lg); align-items: start; }
body.editorial .featured-sidebar { display: flex; flex-direction: column; gap: var(--ed-space-md); position: sticky; top: 90px; }
body.editorial .sidebar-card { background: var(--ed-surface); border: 1px solid var(--ed-line); border-radius: var(--ed-radius-md); padding: 1.25rem; }
body.editorial .sidebar-title { font-family: var(--ed-serif); font-weight: 500; font-size: 1.05rem; color: var(--ed-ink); margin: 0 0 0.9rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--ed-line); display: flex; align-items: center; gap: 0.5rem; }
body.editorial .sidebar-title i { color: var(--ed-accent); }
body.editorial .sidebar-list-plain { list-style: none; margin: 0; padding: 0; }
body.editorial .sidebar-list-plain li { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 0.6rem; align-items: center; padding: 0.6rem 0; border-bottom: 1px solid var(--ed-line-soft); font-family: var(--ed-serif); font-weight: 500; font-size: 0.92rem; color: var(--ed-ink); }
body.editorial .sidebar-list-plain li:last-child { border-bottom: none; }
body.editorial .sidebar-list-plain li i { grid-row: span 2; color: var(--ed-gold); font-size: 0.75rem; }
body.editorial .sidebar-list-plain li span { font-family: var(--ed-sans); font-weight: 400; font-size: 0.78rem; color: var(--ed-ink-faint); }

body.editorial .sidebar-card-cta { padding: 0; overflow: hidden; }
body.editorial .sidebar-cta-image { aspect-ratio: 16 / 9; background: var(--ed-paper-alt); overflow: hidden; }
body.editorial .sidebar-cta-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
body.editorial .sidebar-cta-body { padding: 1.1rem 1.25rem 1.25rem; }
body.editorial .sidebar-cta-body h3 { font-family: var(--ed-serif); font-weight: 500; font-size: 1.05rem; color: var(--ed-ink); margin: 0 0 0.3rem; }
body.editorial .sidebar-cta-body p { font-size: 0.85rem; color: var(--ed-ink-faint); margin: 0 0 0.9rem; }

body.editorial .featured-alt { background: var(--ed-paper-alt); border-radius: 10px; }
@media (max-width: 980px) {
  body.editorial .featured-with-sidebar { grid-template-columns: 1fr; }
  body.editorial .featured-sidebar { position: static; }
}

/* ── Top rated vendors ────────────────────────────────────── */
body.editorial .top-vendors { background: var(--ed-paper); }
body.editorial .vendors-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--ed-space-md); }
body.editorial .vendor-card { display: flex; align-items: center; gap: 0.9rem; padding: 1rem 1.1rem; background: var(--ed-surface); border: 1px solid var(--ed-line); border-radius: var(--ed-radius-md); transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease; }
body.editorial .vendor-card:hover { border-color: var(--ed-accent); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(28, 29, 34, 0.08); }
body.editorial .vendor-logo { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, var(--ed-accent), var(--ed-accent-ink)); color: var(--ed-on-navy); display: flex; align-items: center; justify-content: center; font-family: var(--ed-serif); font-size: 1.05rem; font-weight: 500; flex-shrink: 0; overflow: hidden; }
body.editorial .vendor-logo img { width: 100%; height: 100%; object-fit: cover; }
body.editorial .vendor-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.1rem; }
body.editorial .vendor-meta strong { font-family: var(--ed-serif); font-weight: 500; font-size: 0.98rem; color: var(--ed-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.editorial .vendor-rating { font-size: 0.78rem; color: var(--ed-ink-soft); display: flex; align-items: center; gap: 0.3rem; }
body.editorial .vendor-rating i { color: var(--ed-gold); }
body.editorial .vendor-rating em { font-style: normal; color: var(--ed-ink-faint); font-size: 0.72rem; }
body.editorial .vendor-city { font-size: 0.75rem; color: var(--ed-ink-faint); }
body.editorial .vendor-city i { margin-right: 0.2rem; }
body.editorial .vendor-arrow { color: var(--ed-line); font-size: 0.85rem; transition: color 0.18s ease, transform 0.18s ease; }
body.editorial .vendor-card:hover .vendor-arrow { color: var(--ed-accent); transform: translateX(3px); }

/* ── Step number fix ──────────────────────────────────────── */
body.editorial .step-number { -webkit-text-stroke: 0; color: var(--ed-accent); opacity: 0.9; }

/* ── Promo trio ───────────────────────────────────────────── */
body.editorial .promo-trio { padding: 0 0 var(--ed-space-xl); background: var(--ed-paper); }
body.editorial .promo-trio-inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--ed-space-md); }
body.editorial .promo-tile { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--ed-radius-md); overflow: hidden; background: var(--ed-navy-deep); isolation: isolate; }
body.editorial .promo-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
body.editorial .promo-tile:hover img { transform: scale(1.05); }
body.editorial .promo-tile-overlay { position: relative; z-index: 2; height: 100%; padding: 1.5rem; display: flex; flex-direction: column; justify-content: flex-end; gap: 0.25rem; background: linear-gradient(180deg, rgba(13,24,54,0) 35%, rgba(13,24,54,0.92) 100%); color: var(--ed-on-navy); }
body.editorial .promo-tile-overlay span { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ed-gold); }
body.editorial .promo-tile-overlay .card-title { font-family: var(--ed-serif); font-weight: 500; font-size: 1.25rem; line-height: 1.2; margin: 0; }
body.editorial .promo-tile-overlay em { font-style: normal; font-size: 0.82rem; color: var(--ed-on-navy-soft); margin-top: 0.35rem; }
body.editorial .promo-tile-overlay em i { margin-left: 0.2rem; }
@media (max-width: 800px) { body.editorial .promo-trio-inner { grid-template-columns: 1fr; } }

/* ── Public vendor profile page (contact-safe) ────────────── */
body.editorial .vendor-hero { background: linear-gradient(120deg, var(--ed-navy-deep) 0%, var(--ed-navy-mid) 100%); padding: var(--ed-space-xl) 0 var(--ed-space-lg); color: var(--ed-on-navy); }
body.editorial .vendor-hero-inner { display: flex; align-items: center; gap: var(--ed-space-md); flex-wrap: wrap; }
body.editorial .vendor-hero-logo { width: 96px; height: 96px; border-radius: 50%; background: rgba(243,239,228,0.08); border: 2px solid var(--ed-gold); display: flex; align-items: center; justify-content: center; overflow: hidden; font-family: var(--ed-serif); font-size: 2rem; color: var(--ed-gold); flex-shrink: 0; }
body.editorial .vendor-hero-logo img { width: 100%; height: 100%; object-fit: cover; }
body.editorial .vendor-hero-meta h1 { font-family: var(--ed-serif); font-weight: 500; font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0 0 0.4rem; color: var(--ed-on-navy); }
body.editorial .vendor-hero-meta .vendor-hero-rating { color: var(--ed-on-navy-soft); font-size: 0.9rem; display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
body.editorial .vendor-hero-meta .vendor-hero-rating i { color: var(--ed-gold); }
body.editorial .vendor-hero-meta .vendor-hero-rating em { font-style: normal; color: var(--ed-on-navy-soft); }
body.editorial .vendor-hero-stats { margin-left: auto; display: flex; gap: var(--ed-space-lg); }
body.editorial .vendor-hero-stats .vs { text-align: right; }
body.editorial .vendor-hero-stats strong { display: block; font-family: var(--ed-serif); font-size: 1.4rem; font-weight: 500; color: var(--ed-gold); }
body.editorial .vendor-hero-stats span { font-size: 0.75rem; color: var(--ed-on-navy-soft); text-transform: uppercase; letter-spacing: 0.05em; }
body.editorial .vendor-about { background: var(--ed-surface); border: 1px solid var(--ed-line); border-radius: var(--ed-radius-md); padding: 1.5rem; margin-top: var(--ed-space-lg); }
body.editorial .vendor-about h3 { font-family: var(--ed-serif); font-weight: 500; font-size: 1.1rem; margin: 0 0 0.6rem; color: var(--ed-ink); }
body.editorial .vendor-about p { color: var(--ed-ink-soft); font-size: 0.92rem; line-height: 1.6; margin: 0; }
body.editorial .vendor-contact-notice { background: var(--ed-accent-tint); border: 1px solid #d7e0f5; border-radius: var(--ed-radius-md); padding: 0.9rem 1.1rem; display: flex; align-items: center; gap: 0.6rem; font-size: 0.85rem; color: var(--ed-accent-ink); margin-top: var(--ed-space-md); }
body.editorial .vendor-contact-notice i { color: var(--ed-accent); }
@media (max-width: 700px) {
  body.editorial .vendor-hero-stats { margin-left: 0; width: 100%; justify-content: flex-start; gap: var(--ed-space-md); }
  body.editorial .vendor-hero-stats .vs { text-align: left; }
}



/* ============================================================
   PRODUCTS LISTING PAGE — editorial layout
   Desktop: sidebar left + grid right
   Mobile:  sidebar collapses to a bottom-sheet (Filters button)
   ============================================================ */

/* ── Page wrapper ─────────────────────────────────────────── */
body.editorial .listing-page {
    padding: var(--ed-space-lg) var(--ed-space-md) var(--ed-space-xl);
    max-width: 1240px;
    margin: 0 auto;
}

/* ── Header (title + search) ─────────────────────────────── */
body.editorial .listing-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: var(--ed-space-md);
    padding-bottom: var(--ed-space-md);
    margin-bottom: var(--ed-space-md);
    border-bottom: 1px solid var(--ed-line);
    flex-wrap: wrap;
}
body.editorial .listing-header-text h1 {
    font-family: var(--ed-serif);
    font-weight: 500;
    font-size: clamp(1.7rem, 2.8vw, 2.3rem);
    color: var(--ed-ink);
    letter-spacing: -0.01em;
    margin: 0 0 0.2rem;
}
body.editorial .listing-header-text p {
    color: var(--ed-ink-soft);
    font-size: 0.95rem;
    margin: 0;
}

body.editorial .listing-search {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    background: var(--ed-surface);
    border: 1px solid var(--ed-line);
    border-radius: 999px;
    padding: 0.35rem 0.35rem 0.35rem 1rem;
    min-width: 320px;
    max-width: 460px;
    flex: 1;
    transition: border-color .18s ease;
}
body.editorial .listing-search:focus-within { border-color: var(--ed-accent); }
body.editorial .listing-search > i {
    color: var(--ed-ink-faint);
    font-size: 0.85rem;
    flex-shrink: 0;
}
body.editorial .listing-search input {
    flex: 1;
    border: none;
    background: transparent;
    font-family: var(--ed-sans);
    font-size: 0.92rem;
    color: var(--ed-ink);
    outline: none;
    padding: 0.4rem 0;
    min-width: 0;
}
body.editorial .listing-search input::placeholder { color: var(--ed-ink-faint); }
body.editorial .listing-search .btn {
    border-radius: 999px;
    padding: 0.5rem 1.1rem;
    font-size: 0.82rem;
}

@media (max-width: 600px) {
    body.editorial .listing-search { min-width: 0; width: 100%; }
}

/* ── Active-filter chips ─────────────────────────────────── */
body.editorial .listing-chips {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: var(--ed-space-md);
}
body.editorial .chip-label {
    font-size: 0.78rem;
    color: var(--ed-ink-faint);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
body.editorial .chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--ed-accent-tint);
    color: var(--ed-accent-ink);
    border: 1px solid #d7e0f5;
    border-radius: 999px;
    padding: 0.3rem 0.75rem;
    font-size: 0.82rem;
    font-weight: 500;
    transition: background .15s ease;
}
body.editorial .chip:hover { background: #dde4f5; }
body.editorial .chip i { font-size: 0.7rem; opacity: 0.7; }
body.editorial .chip-clear {
    background: transparent;
    border-color: var(--ed-line);
    color: var(--ed-ink-soft);
}
body.editorial .chip-clear:hover { color: var(--ed-ink); border-color: var(--ed-ink); background: transparent; }

/* ── Layout: sidebar + main ──────────────────────────────── */
body.editorial .listing-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: var(--ed-space-lg);
    align-items: start;
}

body.editorial .listing-sidebar {
    position: sticky;
    top: 90px;
}
body.editorial .filter-block {
    padding-bottom: var(--ed-space-md);
    margin-bottom: var(--ed-space-md);
    border-bottom: 1px solid var(--ed-line-soft);
}
body.editorial .filter-block:last-child { border-bottom: none; margin-bottom: 0; }

body.editorial .filter-heading {
    font-family: var(--ed-serif);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--ed-ink);
    margin: 0 0 0.75rem;
    letter-spacing: 0.01em;
}

body.editorial .filter-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
body.editorial .filter-link {
    display: block;
    padding: 0.45rem 0;
    font-size: 0.9rem;
    color: var(--ed-ink-soft);
    border-bottom: 1px solid transparent;
    transition: color .15s ease, padding-left .15s ease;
}
body.editorial .filter-link:hover {
    color: var(--ed-accent);
    padding-left: 0.25rem;
}
body.editorial .filter-link.active {
    color: var(--ed-accent);
    font-weight: 600;
}

/* Price form */
body.editorial .price-inputs {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.6rem;
}
body.editorial .price-inputs input {
    flex: 1;
    min-width: 0;
    border: 1px solid var(--ed-line);
    border-radius: var(--ed-radius);
    padding: 0.5rem 0.6rem;
    font-family: var(--ed-sans);
    font-size: 0.85rem;
    color: var(--ed-ink);
    outline: none;
    transition: border-color .15s ease;
}
body.editorial .price-inputs input:focus { border-color: var(--ed-accent); }
body.editorial .price-dash { color: var(--ed-ink-faint); font-size: 0.85rem; }
body.editorial .filter-apply-btn {
    padding: 0.5rem 1rem;
    font-size: 0.82rem;
}

body.editorial .filter-select {
    width: 100%;
    border: 1px solid var(--ed-line);
    border-radius: var(--ed-radius);
    padding: 0.55rem 0.7rem;
    font-family: var(--ed-sans);
    font-size: 0.88rem;
    color: var(--ed-ink);
    background: var(--ed-surface);
    outline: none;
    cursor: pointer;
    transition: border-color .15s ease;
}
body.editorial .filter-select:focus { border-color: var(--ed-accent); }

/* ── Toolbar ─────────────────────────────────────────────── */
body.editorial .listing-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--ed-space-sm);
    padding-bottom: var(--ed-space-sm);
    margin-bottom: var(--ed-space-md);
    border-bottom: 1px solid var(--ed-line);
}
body.editorial .listing-count {
    font-size: 0.88rem;
    color: var(--ed-ink-soft);
}
body.editorial .listing-count strong { color: var(--ed-ink); font-weight: 600; }

body.editorial .listing-toolbar-actions {
    display: flex;
    gap: 0.6rem;
    align-items: center;
}
body.editorial .toolbar-sort {
    border: 1px solid var(--ed-line);
    border-radius: var(--ed-radius);
    padding: 0.5rem 0.8rem;
    font-family: var(--ed-sans);
    font-size: 0.82rem;
    color: var(--ed-ink);
    background: var(--ed-surface);
    outline: none;
    cursor: pointer;
}
body.editorial .toolbar-sort:focus { border-color: var(--ed-accent); }

body.editorial .filters-trigger { display: none; }
@media (max-width: 900px) {
    body.editorial .toolbar-sort { display: none; }
    body.editorial .filters-trigger { display: inline-flex; }
}

/* ── Grid uses the same .products-grid from the homepage ─── */
body.editorial .listing-main .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: var(--ed-space-md) var(--ed-space-sm);
}

/* ── Pagination (refined) ────────────────────────────────── */
body.editorial .pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.35rem;
    margin-top: var(--ed-space-lg);
    flex-wrap: wrap;
}
body.editorial .page-link {
    min-width: 38px;
    height: 38px;
    padding: 0 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--ed-line);
    border-radius: var(--ed-radius);
    color: var(--ed-ink-soft);
    font-size: 0.88rem;
    background: var(--ed-surface);
    transition: all .15s ease;
}
body.editorial .page-link:hover {
    border-color: var(--ed-ink);
    color: var(--ed-ink);
}
body.editorial .page-link.active {
    background: var(--ed-ink);
    border-color: var(--ed-ink);
    color: var(--ed-surface);
    font-weight: 600;
}
body.editorial .page-ellipsis {
    padding: 0 0.4rem;
    color: var(--ed-ink-faint);
    font-size: 0.9rem;
}

/* ── Responsive: hide sidebar, show filters button ──────── */
@media (max-width: 900px) {
    body.editorial .listing-layout {
        grid-template-columns: 1fr;
        gap: 0;
    }
    body.editorial .listing-sidebar {
        display: none;
    }
    body.editorial .listing-page {
        padding-left: var(--ed-space-md);
        padding-right: var(--ed-space-md);
    }
}

/* ── Bottom-sheet filter panel (mobile) ─────────────────── */
body.editorial .filter-sheet-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(13, 24, 54, 0.55);
    z-index: 1300;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
}
body.editorial .filter-sheet-backdrop.active { opacity: 1; pointer-events: auto; }
body.editorial .filter-sheet-backdrop[hidden] { display: none; }

body.editorial .filter-sheet {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-height: 85vh;
    background: var(--ed-surface);
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -20px 40px rgba(3, 7, 22, 0.25);
    z-index: 1301;
    transform: translateY(100%);
    transition: transform .28s cubic-bezier(0.22, 0.61, 0.36, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
body.editorial .filter-sheet.active { transform: translateY(0); }

body.editorial .filter-sheet-handle {
    width: 42px;
    height: 4px;
    background: var(--ed-line);
    border-radius: 2px;
    margin: 0.6rem auto 0.3rem;
    flex-shrink: 0;
}
body.editorial .filter-sheet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 1.25rem 0.9rem;
    border-bottom: 1px solid var(--ed-line);
    flex-shrink: 0;
}
body.editorial .filter-sheet-header h3 {
    font-family: var(--ed-serif);
    font-weight: 500;
    font-size: 1.15rem;
    margin: 0;
    color: var(--ed-ink);
}
body.editorial .filter-sheet-close {
    background: transparent;
    border: none;
    font-size: 1rem;
    color: var(--ed-ink-soft);
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
}
body.editorial .filter-sheet-close:hover { background: var(--ed-paper-alt); color: var(--ed-ink); }

body.editorial .filter-sheet-body {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 1.25rem;
}
/* Style the cloned filter blocks inside the sheet */
body.editorial .filter-sheet-body .filter-block {
    padding-bottom: 1.1rem;
    margin-bottom: 1.1rem;
    border-bottom: 1px solid var(--ed-line-soft);
}
body.editorial .filter-sheet-body .filter-block:last-child { border-bottom: none; margin-bottom: 0; }
body.editorial .filter-sheet-body .filter-heading {
    font-family: var(--ed-serif);
    font-weight: 500;
    font-size: 1rem;
    margin-bottom: 0.75rem;
}
body.editorial .filter-sheet-body .filter-list { list-style: none; padding: 0; margin: 0; }
body.editorial .filter-sheet-body .filter-link {
    display: block;
    padding: 0.7rem 0;
    font-size: 0.95rem;
    color: var(--ed-ink-soft);
    border-bottom: 1px solid var(--ed-line-soft);
}
body.editorial .filter-sheet-body .filter-link.active {
    color: var(--ed-accent);
    font-weight: 600;
}
body.editorial .filter-sheet-body .price-inputs { display: flex; gap: 0.5rem; margin-bottom: 0.75rem; }
body.editorial .filter-sheet-body .price-inputs input {
    flex: 1;
    padding: 0.65rem 0.8rem;
    border: 1px solid var(--ed-line);
    border-radius: var(--ed-radius);
    font-size: 0.9rem;
    outline: none;
}
body.editorial .filter-sheet-body .price-inputs input:focus { border-color: var(--ed-accent); }
body.editorial .filter-sheet-body .filter-select {
    width: 100%;
    padding: 0.7rem 0.9rem;
    border: 1px solid var(--ed-line);
    border-radius: var(--ed-radius);
    font-size: 0.95rem;
    background: var(--ed-surface);
    outline: none;
}

body.editorial .filter-sheet-footer {
    display: flex;
    gap: 0.6rem;
    padding: 0.9rem 1.25rem calc(0.9rem + env(safe-area-inset-bottom, 0));
    border-top: 1px solid var(--ed-line);
    background: var(--ed-surface);
    flex-shrink: 0;
}
body.editorial .filter-sheet-footer .btn {
    flex: 1;
    justify-content: center;
}

/* Prevent body scroll while sheet or drawer is open */
body.editorial.sheet-open { overflow: hidden; }
/* ============================================================
   10. DELIVERY COVERAGE  /  11. COMMON QUESTIONS
   Homepage content sections. Both are built from live data
   (delivery_zones + delivery_settings, and app/data/faqs.php),
   so they read as information rather than filler.
   ============================================================ */

/* dashboard.css is loaded on public pages as well, and its .section-header is
   a console card: grey fill, 24px padding, bottom rule. Every homepage
   heading was inheriting that panel. Editorial owns the layout (flex, spacing,
   left alignment); the card chrome is what has to go. */
body.editorial .section-header {
  background: transparent;
  padding: 0;
  border-bottom: 0;
}

body.editorial .coverage-section,
body.editorial .home-faq {
  padding: var(--ed-space-xl) 0;
  border-top: 1px solid var(--ed-line);
}
body.editorial .home-faq { background: var(--ed-paper-alt); }

body.editorial .coverage-tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: var(--ed-line);
  border: 1px solid var(--ed-line);
  border-radius: var(--ed-radius-md);
  overflow: hidden;
}
body.editorial .coverage-tier {
  background: var(--ed-surface);
  padding: var(--ed-space-md);
}
body.editorial .coverage-tier-icon {
  font-size: 1.1rem;
  color: var(--ed-accent);
  margin-bottom: 0.75rem;
}
body.editorial .coverage-tier .card-title {
  font-family: var(--ed-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ed-ink-faint);
  margin: 0 0 0.4rem;
}
body.editorial .coverage-tier-price {
  font-family: var(--ed-serif);
  font-size: 2rem;
  font-weight: 500;
  color: var(--ed-ink);
  margin: 0;
  line-height: 1.1;
}
body.editorial .coverage-tier-eta {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ed-accent);
  margin: 0.2rem 0 0.5rem;
}
body.editorial .coverage-tier-note {
  font-size: 0.85rem;
  color: var(--ed-ink-soft);
  margin: 0;
  line-height: 1.6;
}

body.editorial .coverage-provinces {
  list-style: none;
  margin: var(--ed-space-md) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 0.5rem 1.25rem;
}
body.editorial .coverage-provinces li {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  font-size: 0.9rem;
  color: var(--ed-ink-soft);
  padding-bottom: 0.45rem;
  border-bottom: 1px solid var(--ed-line-soft);
}
body.editorial .coverage-provinces li i { color: var(--ed-gold-ink); font-size: 0.8rem; }
body.editorial .coverage-provinces li span { flex: 1 1 auto; color: var(--ed-ink); }
body.editorial .coverage-provinces li bdi {
  font-size: 0.78rem;
  color: var(--ed-ink-faint);
  white-space: nowrap;
}

body.editorial .coverage-footnote {
  margin: var(--ed-space-md) 0 0;
  font-size: 0.88rem;
  color: var(--ed-ink-soft);
  max-width: 62ch;
  line-height: 1.7;
}

body.editorial .home-faq-list { margin: 0; }
body.editorial .home-faq-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 1rem 2rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--ed-line);
}
body.editorial .home-faq-item:last-child { border-bottom: 1px solid var(--ed-line); }
body.editorial .home-faq-item dt {
  font-family: var(--ed-serif);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ed-ink);
  margin: 0;
}
body.editorial .home-faq-item dd {
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--ed-ink-soft);
  margin: 0;
}
body.editorial .home-faq-item dd a { color: var(--ed-accent); }

@media (max-width: 720px) {
  body.editorial .home-faq-item { grid-template-columns: 1fr; gap: 0.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  body.editorial .coverage-tier,
  body.editorial .home-faq-item { transition: none; }
}

/* ============================================================
   12. SOCIAL — footer profile row + product share buttons
   Both are optional: the markup only renders when .env carries a
   validated value, so these rules are never seen on a fresh install.
   ============================================================ */
body.editorial .footer-social { margin-top: 1.1rem; }
body.editorial .footer-social h4 { margin-bottom: 0.55rem; }
body.editorial .footer-social ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem;
}
body.editorial .footer-social li { margin: 0; }
body.editorial .footer-social a {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: 0.85rem;
}
body.editorial .footer-social i { color: var(--ed-gold-ink); font-size: 0.95rem; }

/* Share row sits under the buy buttons, inside the product summary. */
body.editorial .share-row {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  margin-top: 1.1rem; padding-top: 1.1rem;
  border-top: 1px solid var(--ed-line);
}
body.editorial .share-row > span {
  font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ed-ink-soft);
}
body.editorial .share-btn {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--ed-line);
  border-radius: 999px;
  background: transparent;
  font: inherit; font-size: 0.82rem; font-weight: 500;
  color: var(--ed-ink);
  cursor: pointer;
  transition: border-color .16s ease, color .16s ease, background-color .16s ease;
}
body.editorial .share-btn:hover {
  border-color: var(--ed-gold-ink);
  color: var(--ed-accent);
}
body.editorial .share-btn i { font-size: 0.9rem; color: var(--ed-gold-ink); }
body.editorial .share-btn.copied { border-color: var(--ed-accent); color: var(--ed-accent); }
body.editorial .share-btn.copied i { color: var(--ed-accent); }

@media (prefers-reduced-motion: reduce) {
  body.editorial .share-btn { transition: none; }
}
