.storefront-home {
  padding-bottom: 18px;
}

body.has-storefront-bg::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image: var(--storefront-bg-image);
  background-size: cover;
  background-position: center;
  opacity: .24;
  filter: saturate(1.08);
}

body.has-storefront-bg::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, color-mix(in oklab, var(--bg) 88%, transparent), var(--bg) 78%),
    radial-gradient(circle at 12% 8%, color-mix(in oklab, var(--brand) 18%, transparent), transparent 28%);
}

.brand-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: inherit;
}

.has-storefront-bg .sf-hero {
  background:
    linear-gradient(135deg, color-mix(in oklab, var(--bg) 76%, transparent), color-mix(in oklab, var(--brand) 16%, transparent)),
    var(--storefront-bg-image);
  background-size: cover;
  background-position: center;
}

.sf-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.sf-hero {
  position: relative;
  padding: 34px 0 42px;
  background: var(--hero-grad);
}

/* Merchant-controlled hero slides share one API contract across every profile. */
.sf-merchant-hero { padding: 22px 0 30px; background: var(--hero-grad); }
.sf-merchant-carousel { min-height: min(62vh, 590px); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow-card, 0 22px 64px rgba(0, 0, 0, .24)); background: var(--bg-1); }
.sf-merchant-slide { min-height: min(62vh, 590px); display: grid; isolation: isolate; }
.sf-merchant-slide > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.sf-merchant-slide::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, color-mix(in oklab, var(--bg) 82%, transparent), color-mix(in oklab, var(--bg) 34%, transparent)); }
.sf-merchant-copy { width: min(680px, calc(100% - 44px)); align-self: center; margin: 0 0 0 clamp(22px, 6vw, 82px); padding: 24px 0; }
.sf-merchant-copy--center { margin: 0 auto; text-align: center; }
.sf-merchant-copy--right { margin-left: auto; margin-right: clamp(22px, 6vw, 82px); text-align: right; }
.sf-merchant-copy .sf-title, .sf-merchant-copy .sf-lead { text-shadow: 0 2px 18px rgba(0, 0, 0, .38); }
.sf-merchant-copy .sf-title { font-family: var(--theme-font); }
.sf-merchant-copy--center .sf-actions { justify-content: center; }
.sf-merchant-copy--right .sf-actions { justify-content: flex-end; }

.sf-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 24px;
  align-items: stretch;
}

.sf-panel,
.sf-metric,
.sf-card,
.sf-quick-card,
.sf-benefit,
.sf-proof {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.16);
}

.sf-panel {
  border-radius: 28px;
  padding: 28px;
}

.sf-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: color-mix(in oklab, var(--brand) 14%, transparent);
  border: 1px solid color-mix(in oklab, var(--brand) 28%, transparent);
  color: var(--brand-soft);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sf-kicker-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.5);
}

.sf-title,
.sf-section-head h2 {
  margin: 16px 0 12px;
  font-family: "Space Grotesk", Inter, system-ui, sans-serif;
  line-height: 1.02;
  letter-spacing: 0;
  color: var(--text);
}

.sf-title {
  font-size: clamp(2.2rem, 4.8vw, 4.2rem);
  font-weight: 800;
}

.sf-title .accent {
  color: var(--brand);
}

.sf-lead,
.sf-section-head p,
.sf-card p,
.sf-benefit p {
  color: var(--muted);
  line-height: 1.68;
}

.sf-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 18px;
}

.sf-btn-primary,
.sf-btn-secondary,
.sf-chip-link {
  min-height: 48px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.sf-btn-primary {
  padding: 0 22px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark, var(--brand)));
  color: var(--on-brand, #fff);
  box-shadow: 0 14px 30px color-mix(in oklab, var(--brand) 36%, transparent);
}

.sf-btn-secondary {
  padding: 0 18px;
  background: color-mix(in oklab, var(--text) 6%, transparent);
  border: 1px solid var(--line);
  color: var(--text);
}

.sf-btn-primary:hover,
.sf-btn-secondary:hover,
.sf-chip-link:hover {
  transform: translateY(-1px);
}

.sf-proof-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.sf-proof {
  border-radius: 999px;
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.sf-proof i {
  color: var(--brand-soft);
}

.sf-hero-media {
  display: grid;
  gap: 14px;
}

.sf-stage {
  border-radius: 28px;
  overflow: hidden;
  min-height: 460px;
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.22);
}

.sf-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sf-stage-overlay {
  position: absolute;
  inset: auto 16px 16px 16px;
  border-radius: 22px;
  padding: 16px;
  background: rgba(6, 12, 22, 0.82);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.sf-stage-overlay strong,
.sf-metric strong,
.sf-card .price {
  display: block;
  font-family: "Space Grotesk", Inter, system-ui, sans-serif;
  color: var(--text);
}

.sf-stage-overlay strong {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.sf-stage-sub {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 0.84rem;
}

.sf-side-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.sf-metric {
  border-radius: 18px;
  padding: 16px;
}

.sf-metric strong {
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.sf-metric span {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
}

.sf-section {
  padding: 18px 0 56px;
}

.sf-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.sf-section-kicker {
  color: var(--brand-soft);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.sf-section-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  font-weight: 800;
}

.sf-chip-link {
  padding: 0 18px;
  background: color-mix(in oklab, var(--brand) 14%, transparent);
  color: var(--brand-soft);
}

.sf-grid-products,
.sf-grid-quick,
.sf-grid-benefits {
  display: grid;
  gap: 18px;
}

.sf-grid-products {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.sf-grid-quick {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sf-grid-benefits {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sf-card {
  border-radius: 24px;
  overflow: hidden;
}

.sf-card-image {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--bg-1);
}

.sf-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sf-card-image .no-img {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 2rem;
}

.sf-badge,
.sf-card-tag {
  position: absolute;
  left: 14px;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  backdrop-filter: blur(12px);
}

.sf-badge {
  top: 14px;
  background: rgba(6, 12, 22, 0.78);
  border: 1px solid color-mix(in oklab, var(--brand) 24%, transparent);
  color: var(--brand-soft);
}

.sf-card-tag {
  bottom: 14px;
  background: color-mix(in oklab, var(--brand) 82%, black 8%);
  color: #fff;
}

.sf-card-body {
  padding: 18px;
}

.sf-card h3,
.sf-quick-card h3,
.sf-benefit h3 {
  margin: 0 0 8px;
  font-family: "Space Grotesk", Inter, system-ui, sans-serif;
  font-size: 1.04rem;
  line-height: 1.2;
}

.sf-card .price {
  font-size: 1.5rem;
  font-weight: 800;
}

.sf-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
}

.sf-price-side {
  display: grid;
  gap: 3px;
}

.sf-price-side small {
  color: var(--muted);
}

.sf-quick-card,
.sf-benefit {
  border-radius: 22px;
  padding: 20px;
}

.sf-quick-icon,
.sf-benefit-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: color-mix(in oklab, var(--brand) 14%, transparent);
  color: var(--brand-soft);
  margin-bottom: 14px;
  font-size: 1.1rem;
}

.sf-empty {
  border-radius: 24px;
  padding: 30px;
  text-align: center;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  color: var(--muted);
}

@media (max-width: 980px) {
  .sf-shell {
    width: min(1180px, calc(100% - 24px));
  }

  .sf-hero-grid,
  .sf-grid-quick,
  .sf-grid-benefits {
    grid-template-columns: 1fr;
  }

  .sf-side-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .sf-merchant-hero { padding: 12px 0 20px; }
  .sf-merchant-carousel, .sf-merchant-slide { min-height: 480px; }
  .sf-merchant-copy, .sf-merchant-copy--right { width: min(100% - 32px, 680px); margin-left: 16px; margin-right: 16px; text-align: left; }
  .sf-merchant-copy--center { margin-left: auto; margin-right: auto; text-align: center; }
  .sf-merchant-copy--right .sf-actions { justify-content: flex-start; }
  .sf-panel,
  .sf-stage-overlay,
  .sf-card-body,
  .sf-quick-card,
  .sf-benefit {
    padding: 16px;
  }

  .sf-side-metrics {
    grid-template-columns: 1fr;
  }

  .sf-title {
    font-size: clamp(2rem, 13vw, 3.2rem);
  }
}

/* ════════════════════════════════════════════════════════════════════
   FORMA POR PERFIL — REPAIRS (taller / venta_reparación)
   Hero centrado + buscador de orden + proceso en pasos. El markup se
   renderiza sólo cuando profile.repairs en home.html. Primitivas del
   DS storefront kit. El color/treatment del rubro (taller.css) va encima.
   ════════════════════════════════════════════════════════════════════ */
.sf-hero-center { padding: 24px 0 30px; }
.sf-center-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.sf-center-inner .sf-kicker { margin-bottom: 6px; }
.sf-center-inner .sf-lead { margin: 0 auto; max-width: 560px; }
.sf-track-hero {
  margin: 26px auto 0;
  max-width: 560px;
  background: var(--bg-1);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .2);
}
.sf-track-hero-label {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  font-size: .8rem;
  font-weight: 700;
  color: var(--brand-soft);
  margin-bottom: 12px;
}
.sf-track-hero-row { display: flex; gap: 8px; align-items: center; }
.sf-thr-hash {
  width: 42px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .05);
  color: var(--muted);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.sf-track-hero-row input {
  flex: 1;
  min-width: 0;
  height: 48px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .04);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: .95rem;
  padding: 0 14px;
  outline: none;
}
.sf-track-hero-row input:focus { border-color: var(--brand); }
.sf-track-hero-row .sf-btn-primary { flex-shrink: 0; padding: 0 18px; }
.sf-process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.sf-process-step {
  position: relative;
  text-align: center;
  padding: 22px 12px 18px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .02));
}
.sf-process-n { position: absolute; top: 10px; left: 12px; font-family: var(--font-mono); font-size: .72rem; color: var(--muted); }
.sf-process-ic {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin: 0 auto 10px;
  border-radius: 12px;
  background: color-mix(in oklab, var(--brand) 16%, transparent);
  color: var(--brand-soft);
  font-size: 1.2rem;
}
.sf-process-step strong { font-size: .86rem; font-weight: 600; }
@media (max-width: 900px) { .sf-process { grid-template-columns: repeat(2, 1fr); } }

/* ════════════════════════════════════════════════════════════════════
   FORMA POR PERFIL — GROCERY (kiosco / abasto / despensa)
   Buscador + estantería de categorías + banda promo + lista densa de
   precios. Markup gated por profile.grocery en home.html. Primitivas del
   DS storefront kit, adaptadas a fondo oscuro.
   ════════════════════════════════════════════════════════════════════ */
.sf-despensa-top { padding-top: 14px; }
.sf-despensa-h1 { font-family: var(--font-display); font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 800; margin: 0; }
.sf-despensa-sub { color: var(--muted); margin: 4px 0 18px; }
.sf-despensa-search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-1);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 16px;
  padding: 8px 8px 8px 16px;
  box-shadow: var(--shadow-card);
}
.sf-despensa-search i { font-size: 1.15rem; color: var(--muted); }
.sf-despensa-search input { flex: 1; border: none; background: none; outline: none; font-family: inherit; font-size: 1rem; color: var(--text); padding: 10px 0; }
.sf-despensa-search .sf-btn-primary { min-height: 42px; padding: 0 20px; }
.sf-shelf-ic {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: color-mix(in oklab, var(--brand) 18%, transparent);
  color: var(--brand-soft);
  font-size: 1rem;
}
.sf-promo-band {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  border-radius: 20px;
  background: linear-gradient(120deg, color-mix(in oklab, var(--brand) 16%, var(--bg-1)), var(--bg-1));
  border: 1px solid color-mix(in oklab, var(--brand) 22%, transparent);
}
.sf-promo-ic {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: color-mix(in oklab, var(--brand) 20%, transparent);
  color: var(--brand-soft);
  font-size: 1.5rem;
  flex-shrink: 0;
}
.sf-promo-txt { flex: 1; }
.sf-promo-txt strong { display: block; font-family: var(--font-display); font-size: 1.1rem; }
.sf-promo-txt span { font-size: .86rem; color: var(--muted); }
.sf-promo-band .sf-wa-btn { background: var(--whatsapp); box-shadow: none; flex-shrink: 0; }
.sf-list { display: flex; flex-direction: column; gap: 8px; }
.sf-list-row {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .02));
  cursor: pointer;
  text-decoration: none;
  color: var(--text);
  transition: border-color .18s, transform .18s;
}
.sf-list-row:hover { border-color: var(--brand); transform: translateX(2px); }
.sf-list-ic {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--bg-2), var(--bg-1));
  display: grid;
  place-items: center;
  color: var(--brand-soft);
  font-size: 1.2rem;
  flex-shrink: 0;
}
.sf-list-info { flex: 1; min-width: 0; }
.sf-list-info strong { display: block; font-size: .92rem; }
.sf-list-info span { font-size: .78rem; color: var(--muted); }
.sf-list-price { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; }
.sf-list-add {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  border: none;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1rem;
  flex-shrink: 0;
}
@media (max-width: 720px) { .sf-promo-band { flex-wrap: wrap; } }

.sf-legal-page,
.sf-contact-page {
  padding: 44px 0 28px;
}
.sf-legal-shell {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
}
.sf-legal-hero,
.sf-contact-hero {
  margin-bottom: 22px;
}
.sf-legal-hero h1,
.sf-contact-hero h1 {
  margin: 14px 0 8px;
  font-family: var(--font-display, "Space Grotesk", sans-serif);
  font-size: clamp(2rem, 4.4vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: 0;
  color: var(--text);
}
.sf-legal-hero p,
.sf-contact-hero p {
  max-width: 68ch;
  color: var(--muted);
  line-height: 1.65;
}
.sf-legal-card,
.sf-contact-panel {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, color-mix(in oklab, var(--bg-1) 92%, transparent), color-mix(in oklab, var(--bg-2) 72%, transparent));
  box-shadow: 0 22px 70px rgba(0,0,0,.14);
  padding: 28px;
}
.sf-legal-card h2,
.sf-contact-panel h2 {
  margin: 0 0 8px;
  padding-top: 18px;
  font-family: var(--font-display, "Space Grotesk", sans-serif);
  font-size: 1.08rem;
  color: var(--text);
}
.sf-legal-card h2:first-child,
.sf-contact-panel h2:first-child {
  padding-top: 0;
}
.sf-legal-card p,
.sf-contact-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}
.sf-legal-card a {
  color: var(--brand-soft, var(--brand));
  font-weight: 700;
}
.sf-contact-grid {
  display: grid;
  grid-template-columns: minmax(0,1.2fr) minmax(260px,.8fr);
  gap: 18px;
  align-items: start;
}
.sf-contact-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 16px 0 20px;
}
.sf-contact-list {
  display: grid;
  gap: 10px;
}
.sf-contact-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: color-mix(in oklab, var(--text) 4%, transparent);
}
.sf-contact-list strong {
  color: var(--text);
  font-size: .86rem;
}
.sf-contact-list span {
  color: var(--muted);
  text-align: right;
  font-size: .86rem;
}
@media (max-width: 820px) {
  .sf-contact-grid { grid-template-columns: 1fr; }
  .sf-contact-list div { flex-direction: column; gap: 3px; }
  .sf-contact-list span { text-align: left; }
}

.sf-order-panel {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: color-mix(in oklab, var(--bg-2) 92%, transparent);
  padding: clamp(18px, 3vw, 28px);
  box-shadow: var(--shadow-soft, 0 18px 48px rgba(0, 0, 0, .12));
}
.sf-order-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}
.sf-order-summary div {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  background: color-mix(in oklab, var(--text) 4%, transparent);
}
.sf-order-summary span,
.sf-budget-line span,
.sf-muted {
  color: var(--muted);
}
.sf-order-summary strong {
  display: block;
  margin-top: 4px;
  color: var(--text);
}
.sf-alert {
  border-radius: 14px;
  padding: 12px 14px;
  margin: 0 0 16px;
  font-weight: 700;
}
.sf-alert-ok {
  color: #065f46;
  background: color-mix(in oklab, #10b981 18%, white);
}
.sf-alert-error {
  color: #7f1d1d;
  background: color-mix(in oklab, #ef4444 16%, white);
}
.sf-budget-lines {
  display: grid;
  gap: 10px;
  margin: 16px 0;
}
.sf-budget-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 14px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
}
.sf-budget-line strong,
.sf-budget-line div {
  min-width: 0;
}
.sf-budget-line span {
  display: block;
  font-size: .82rem;
  margin-top: 3px;
}
.sf-budget-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.sf-budget-actions form {
  margin: 0;
}
.sf-budget-actions button {
  border: 0;
  cursor: pointer;
}
@media (max-width: 620px) {
  .sf-budget-line {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .sf-budget-actions,
  .sf-budget-actions form,
  .sf-budget-actions button {
    width: 100%;
  }
}

/* ════════════════════════════════════════════════════════════════════
   FORMA POR PERFIL — FASHION (moda / ropa / calzado · regalería usa perfumeria)
   Portada editorial asimétrica: copy grande + imagen vertical del rubro.
   La galería de productos debajo queda editorial vía la familia themes/moda.css
   (cards verticales 3/4, título liviano). Markup gated por profile.fashion.
   ════════════════════════════════════════════════════════════════════ */
.sf-editorial { padding: 18px 0 26px; }
.sf-editorial-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 36px; align-items: center; }
.sf-editorial-copy .sf-kicker { margin-bottom: 14px; }
.sf-editorial-copy .sf-title { margin: 0 0 14px; }
.sf-editorial-meta { display: flex; flex-direction: column; gap: 8px; margin: 18px 0 22px; }
.sf-editorial-meta span { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: .9rem; }
.sf-editorial-meta i { color: var(--brand-soft); }
.sf-editorial-img {
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: 0 28px 72px rgba(0, 0, 0, .3);
  border: 1px solid rgba(255, 255, 255, .08);
}
.sf-editorial-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 900px) {
  .sf-editorial-inner { grid-template-columns: 1fr; }
  .sf-editorial-img { aspect-ratio: 16 / 10; }
}

/* ════════════════════════════════════════════════════════════════════
   ALMACÉN / DESPENSA (grocery) — cabecera de mercado + estantería en grilla
   + lista de precios a 2 columnas. Color por rubro vía tokens del theme.
   ════════════════════════════════════════════════════════════════════ */
.sf-despensa-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; flex-wrap: wrap; margin-bottom: 4px; }
.sf-despensa-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--brand); margin-bottom: 8px; }
.sf-despensa-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.sf-dp-pill { display: inline-flex; align-items: center; gap: 6px; font-size: .76rem; font-weight: 600; color: var(--text); background: color-mix(in oklab, var(--brand) 8%, transparent); border: 1px solid color-mix(in oklab, var(--brand) 22%, transparent); padding: 6px 12px; border-radius: 9999px; }
.sf-dp-pill i { color: var(--brand); }
.sf-shelf-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; margin-top: 20px; }
.sf-shelf-tile { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: 18px 10px; border-radius: 16px; background: var(--bg-2); border: 1px solid rgba(255,255,255,.06); text-decoration: none; color: var(--text); font-weight: 600; font-size: .86rem; transition: transform .15s, border-color .15s, background .15s; }
.sf-shelf-tile:hover { transform: translateY(-3px); border-color: var(--brand); background: var(--bg-3); }
.sf-shelf-tile .sf-shelf-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 1.3rem; background: color-mix(in oklab, var(--brand) 14%, transparent); color: var(--brand); }
.sf-shelf-name { line-height: 1.2; }
@media (min-width: 760px) { .sf-list-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; } }
@media (max-width: 560px) { .sf-shelf-grid { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 9px; } .sf-despensa-pills { display: none; } }

.sf-variant-btn { padding:.35rem .7rem;border:2px solid var(--border);border-radius:8px;background:var(--bg-1);color:var(--text);font-size:.875rem;font-weight:600;cursor:pointer;transition:all .12s; }
.sf-variant-btn:hover { border-color: var(--brand); }
.sf-variant-btn.active { border-color: var(--brand); background: var(--brand); color: #fff; }
