@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&display=swap");

:root {
  --bg: #ffffff;
  --accent: #111827;
  --accent2: #16a34a;
  --text: #111827;
  --muted: #64748b;
  --card: #ffffff;
  --line: #e5e7eb;
  --radius: 14px;
  --wa: #25d366;
  --tg: #2aabee;
  --shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 16px 36px rgba(15, 23, 42, 0.1);
  --font: "Outfit", "Sora", "Segoe UI", sans-serif;
  --font2: "Outfit", "DM Sans", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  min-height: 100vh;
  font-family: var(--font2);
  color: var(--text);
  background: var(--bg, #ffffff);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
button, input, textarea { font-family: inherit; }
.sf-wrap { width: min(1140px, calc(100% - 28px)); margin: 0 auto; }

/* ===== Sticky header ===== */
.sf-top {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}
.sf-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 14px;
  padding: 12px 0;
}
.sf-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font);
  font-weight: 800;
  letter-spacing: 0.01em;
  min-width: 0;
  flex: 1 1 auto;
  color: var(--text);
}
.sf-brand-logo {
  height: 52px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
  padding: 4px;
  border: 1px solid var(--line);
  flex-shrink: 0;
}
.sf-brand > div,
.sf-brand-text { min-width: 0; font-size: 1.12rem; line-height: 1.15; }
.sf-brand-name { display: block; color: #f8fafc; font-weight: 800; }
.sf-brand small {
  display: block;
  font-weight: 600;
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sf-top-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

/* Menú limpio (Login / Registro / WA / TG / Afiliados) */
.sf-nav-clean {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  flex: 0 1 auto;
}
.sf-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  color: #f8fafc;
  background: #1f2937;
  border: 1px solid #374151;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s;
}
.sf-pill:hover { background: #374151; border-color: #4b5563; }
.sf-pill.wa {
  background: rgba(37, 211, 102, 0.15);
  border-color: rgba(37, 211, 102, 0.35);
  color: #86efac;
}
.sf-pill.wa:hover { background: rgba(37, 211, 102, 0.28); }
.sf-pill.tg {
  background: rgba(42, 171, 238, 0.15);
  border-color: rgba(42, 171, 238, 0.35);
  color: #7dd3fc;
}
.sf-pill.tg:hover { background: rgba(42, 171, 238, 0.28); }
.sf-pill--green {
  background: #16a34a;
  border-color: #16a34a;
  color: #fff;
}
.sf-pill--green:hover { background: #15803d; border-color: #15803d; }
.sf-top--dark .sf-nav-clean .sf-cart-btn span {
  background: rgba(255,255,255,.2);
  color: #fff;
}
.sf-nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  padding: 10px;
  flex-direction: column;
  justify-content: space-between;
  flex-shrink: 0;
}
.sf-nav-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: 0.2s;
}
.sf-nav-toggle.is-open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.sf-nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.sf-nav-toggle.is-open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
.sf-mobile-quick {
  display: none;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-left: auto;
}
.sf-mobile-wallet {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 42vw;
  min-height: 40px;
  padding: 8px 11px;
  border-radius: 10px;
  background: rgba(14, 165, 233, 0.28);
  color: #e0f2fe;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;
  border: 1px solid rgba(125, 211, 252, 0.35);
}
.sf-mobile-wallet span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sf-mobile-wallet:hover { background: rgba(14, 165, 233, 0.4); color: #fff; }
.sf-mobile-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  color: #f8fafc;
  cursor: pointer;
  flex-shrink: 0;
}
.sf-mobile-cart:hover { background: rgba(255, 255, 255, 0.22); }
.sf-mobile-cart-count {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #16a34a;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.sf-cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 70%, #1d4ed8));
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 8px 18px color-mix(in srgb, var(--accent) 28%, transparent);
}
.sf-cart-btn:hover { filter: brightness(1.05); }
.sf-cart-btn span {
  background: #fff;
  color: var(--accent);
  border-radius: 999px;
  min-width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 800;
}
.sf-nav {
  display: flex;
  align-items: center;
  gap: 6px 14px;
  flex-wrap: wrap;
  width: 100%;
  order: 3;
}
.sf-nav > a {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 8px 12px;
  border-radius: 10px;
  transition: 0.15s;
}
.sf-nav > a:hover {
  color: var(--text);
  background: color-mix(in srgb, var(--accent) 10%, #fff);
}
.sf-nav-social { display: flex; gap: 8px; margin-left: auto; flex-wrap: wrap; }
.sf-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 8px 12px;
  border-radius: 999px;
}
.sf-social.wa { background: var(--wa); color: #053b1f; }
.sf-social.tg { background: var(--tg); color: #042f45; }

/* ===== Dark header (estilo referencia) ===== */
.sf-top--dark {
  background: #111827;
  border-bottom: 0;
}
.sf-top--dark .sf-brand,
.sf-top--dark .sf-brand small { color: #f8fafc; }
.sf-top--dark .sf-brand small { color: #94a3b8; }
.sf-top--dark .sf-brand-logo {
  background: #1f2937;
  border-color: #374151;
}
.sf-top--dark .sf-nav a { color: #e2e8f0; }
.sf-top--dark .sf-nav-toggle {
  background: #1f2937;
  border-color: #374151;
}
.sf-top--dark .sf-nav-toggle span { background: #e2e8f0; }
.sf-top-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 10px;
  background: #1f2937;
  color: #f8fafc !important;
  font-weight: 700;
  font-size: 0.88rem;
  border: 1px solid #374151;
}
.sf-top--dark .sf-cart-btn {
  background: #2563eb;
  color: #fff;
  border: 0;
  min-width: 48px;
  justify-content: center;
  gap: 6px;
}
.sf-cart-ico { font-size: 1rem; line-height: 1; }

/* ===== Banner tipo Vivagop ===== */
.sf-banner {
  position: relative;
  margin: 18px 0 22px;
  min-height: 300px;
  border-radius: 22px;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(15,23,42,.88) 0%, rgba(15,23,42,.45) 55%, rgba(15,23,42,.25) 100%),
    var(--banner-img, linear-gradient(135deg, #1e293b, #0f172a));
  background-size: cover;
  background-position: center;
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.sf-banner--plain {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 45%, #312e81 100%);
}
.sf-banner-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
  align-items: center;
  padding: 28px;
  min-height: 300px;
}
.sf-banner-overlay {
  position: relative;
  z-index: 1;
  max-width: 560px;
  padding: 8px 0;
}
.sf-banner-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(255,255,255,.12);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #e2e8f0;
}
.sf-banner-tag::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #a78bfa;
  box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.25);
}
.sf-banner h1 {
  margin: 0 0 10px;
  font-family: var(--font);
  font-size: clamp(1.75rem, 4vw, 2.55rem);
  font-weight: 800;
  line-height: 1.12;
  color: #fff;
}
.sf-banner p {
  margin: 0 0 18px;
  color: rgba(255,255,255,.88);
  line-height: 1.5;
  font-size: 1.02rem;
}
.sf-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.sf-hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 12px;
  background: linear-gradient(90deg, #7c3aed, #2563eb);
  color: #fff !important;
  font-weight: 800;
  font-size: 0.95rem;
  border: 0;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.28);
}
.sf-hero-cta:hover { filter: brightness(1.06); }
.sf-banner-note {
  display: inline-flex;
  align-items: center;
  padding: 11px 14px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(255,255,255,.18);
  color: #e2e8f0;
  font-size: 0.88rem;
  font-weight: 600;
}
.sf-banner-note:hover { background: rgba(15, 23, 42, 0.65); }
.sf-banner-card {
  position: relative;
  z-index: 1;
  justify-self: end;
  width: min(100%, 280px);
  padding: 22px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}
.sf-banner-card-kicker {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  margin-bottom: 8px;
}
.sf-banner-card-title {
  display: block;
  font-family: var(--font);
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1;
  color: #fff;
  margin-bottom: 10px;
}
.sf-banner-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: rgba(255,255,255,.82);
}

/* ===== Pay select (simple) ===== */
.sf-pay-select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #0f172a;
  font-size: 1rem;
  font-weight: 700;
  appearance: auto;
  -webkit-appearance: menulist;
}
.sf-pay-select option,
.sf-pay-select optgroup {
  color: #0f172a;
  background: #fff;
  font-weight: 600;
}
.sf-pay-list { margin: 0 0 10px; }
.sf-pay-group {
  color: #0f172a !important;
  font-weight: 800 !important;
}

/* ===== Hours bar ===== */
.sf-hours-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  background: #111827;
  color: #f8fafc;
  border-top: 3px solid;
  border-image: linear-gradient(90deg, #ef4444, #22c55e) 1;
  box-shadow: 0 -10px 30px rgba(0,0,0,.25);
}
.sf-hours-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
}
.sf-hours-status { display: flex; flex-direction: column; gap: 2px; font-size: 0.88rem; }
.sf-hours-status strong { font-size: 0.98rem; }
.sf-hours-status span { color: #94a3b8; }
.sf-hours-count { display: flex; align-items: center; gap: 8px; justify-content: center; font-weight: 700; }
.sf-hours-count b {
  display: inline-block;
  min-width: 2ch;
  padding: 4px 6px;
  border-radius: 8px;
  background: #1f2937;
  font-variant-numeric: tabular-nums;
}
.sf-hours-help {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  font-size: 0.88rem;
  color: #cbd5e1;
}
.sf-hours-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: #25d366;
  color: #052e16 !important;
  font-weight: 800;
}
body.has-hours-bar { padding-bottom: 88px; }
body.sf-closed .sf-add,
body.sf-closed .sf-open-cart,
body.sf-closed .sf-buy-wa,
body.sf-closed .sf-buy-tg,
body.sf-closed .sf-cart-btn {
  opacity: 0.55;
}

@media (max-width: 860px) {
  .sf-hours-inner { grid-template-columns: 1fr; text-align: center; }
  .sf-hours-help { justify-content: center; flex-wrap: wrap; }
  .sf-banner-grid {
    grid-template-columns: 1fr;
    padding: 22px 18px;
    min-height: 0;
  }
  .sf-banner-card {
    justify-self: stretch;
    width: 100%;
  }
  .sf-top-link { display: none; }
}
.sf-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
  padding: 28px 0 20px;
  text-align: left;
}
.sf-hero.sf-hero--solo {
  grid-template-columns: 1fr;
  max-width: 40rem;
}
.sf-hero-copy { min-width: 0; }
.sf-hero-kicker {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.sf-hero h1 {
  margin: 0 0 12px;
  font-family: var(--font);
  font-size: clamp(1.85rem, 4.2vw, 2.75rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text);
}
.sf-hero p {
  margin: 0 0 18px;
  color: var(--muted);
  max-width: 34rem;
  line-height: 1.55;
  font-size: 1.02rem;
}
.sf-hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 0;
  background: linear-gradient(135deg, var(--accent2), #16a34a);
  color: #052e16;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 10px 22px color-mix(in srgb, var(--accent2) 32%, transparent);
  text-decoration: none;
}
.sf-hero-cta:hover { filter: brightness(1.04); }
.sf-hero-media {
  position: relative;
  min-height: 240px;
  border-radius: calc(var(--radius) + 8px);
  overflow: hidden;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--accent) 18%, #fff), color-mix(in srgb, var(--accent2) 16%, #fff));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.sf-hero-media img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  display: block;
}
.sf-hero-media::after {
  content: "";
  position: absolute;
  inset: auto -20% -30% auto;
  width: 55%;
  height: 55%;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent2) 22%, transparent);
  pointer-events: none;
}

/* ===== Search + catalog ===== */
.sf-catalog { padding: 8px 0 44px; }
.sf-search { margin: 0 0 18px; }
.sf-search-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.sf-search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 4px 6px 4px 14px;
  box-shadow: var(--shadow);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.sf-search-bar:focus-within {
  border-color: color-mix(in srgb, var(--accent) 55%, var(--line));
  box-shadow: 0 12px 28px color-mix(in srgb, var(--accent) 14%, transparent);
}
.sf-search-icon {
  display: inline-flex;
  color: var(--accent);
  flex-shrink: 0;
}
.sf-search-input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--text);
  font-size: 1rem;
  padding: 12px 0;
}
.sf-search-input::placeholder { color: var(--muted); }
.sf-search-input::-webkit-search-cancel-button { display: none; }
.sf-search-clear {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 12px;
  background: #f1f5f9;
  color: var(--muted);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}
.sf-search-clear:hover { background: #e2e8f0; color: var(--text); }
.sf-search-meta {
  margin: 8px 2px 0;
  min-height: 1.2em;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}
.sf-search-empty {
  text-align: center;
  color: var(--muted);
  padding: 28px 12px;
  border: 1px dashed var(--line);
  border-radius: 14px;
  margin-top: 8px;
  background: #fff;
}
.sf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}
.sf-card.is-hidden { display: none; }
.sf-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.sf-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent) 35%, var(--line));
  box-shadow: var(--shadow-lg);
}
.sf-card.is-highlight {
  border-color: var(--accent2);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent2) 28%, transparent), var(--shadow-lg);
  animation: sfCardPulse 1.4s ease-in-out 2;
}
@keyframes sfCardPulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}
.sf-card-media {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: linear-gradient(180deg, #f8fafc, #e2e8f0);
  overflow: hidden;
}
.sf-card-media img,
.sf-card img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  display: block;
}
.sf-card-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.sf-card .svc {
  color: #1d4ed8;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.sf-card h3 {
  margin: 0;
  font-size: 1.08rem;
  font-family: var(--font);
  font-weight: 800;
  line-height: 1.25;
  color: #0f172a;
}
.sf-card .tipo {
  display: inline-block;
  width: fit-content;
  font-size: 0.74rem;
  font-weight: 700;
  color: #334155;
  background: #e2e8f0;
  border-radius: 999px;
  padding: 4px 10px;
}
.sf-card .desc {
  color: #334155;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
}
.sf-details {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sf-details li {
  position: relative;
  padding-left: 22px;
  color: #0f172a;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
}
.sf-details li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: #22c55e;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  display: inline-grid;
  place-items: center;
  line-height: 1;
}
.sf-var-label {
  display: block;
  margin: 4px 0 0;
  font-size: 0.86rem;
  font-weight: 800;
  color: #0f172a;
}
.sf-var-select {
  width: 100%;
  margin-top: 4px;
  padding: 11px 14px;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #0f172a;
  font-size: 0.95rem;
  font-weight: 800;
  appearance: auto;
}
.sf-card .row-price {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}
.sf-card .price {
  font-family: var(--font);
  font-weight: 800;
  font-size: 1.25rem;
  color: #0f172a;
}
.sf-card-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sf-card-actions-main,
.sf-card-actions-ch {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
}
.sf-ico-btn,
.sf-add,
.sf-view,
.sf-open-cart,
.sf-buy-wa,
.sf-buy-tg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 800;
  padding: 10px;
  font-size: 0.86rem;
  white-space: nowrap;
  flex: 1 1 0;
  min-width: 0;
  min-height: 40px;
  transition: filter 0.15s ease, transform 0.15s ease;
  line-height: 1;
}
.sf-ico-btn svg { display: block; flex-shrink: 0; }
.sf-ico-btn:hover,
.sf-add:hover,
.sf-view:hover,
.sf-open-cart:hover,
.sf-buy-wa:hover,
.sf-buy-tg:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}
.sf-add {
  background: #2563eb;
  color: #fff !important;
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.28);
}
.sf-view {
  background: #111827;
  color: #fff !important;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.2);
}
.sf-open-cart {
  background: #111827;
  color: #fff !important;
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.2);
}
.sf-buy-wa {
  background: #25d366;
  color: #052e16 !important;
}
.sf-buy-tg {
  background: #2aabee;
  color: #042f45 !important;
}
.sf-empty {
  padding: 48px 0;
  text-align: center;
  color: var(--muted);
}

/* Modal Ver producto */
.sf-pmodal-bg {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  z-index: 70;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.sf-pmodal-bg.is-open { opacity: 1; pointer-events: auto; }
.sf-pmodal {
  position: fixed;
  inset: 0;
  z-index: 71;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  pointer-events: none;
}
.sf-pmodal.is-open { pointer-events: auto; }
.sf-pmodal-dialog {
  width: min(760px, 100%);
  max-height: min(88vh, 520px);
  overflow: hidden;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.28);
  transform: translateY(12px) scale(0.98);
  opacity: 0;
  transition: transform 0.22s ease, opacity 0.22s ease;
  display: grid;
  grid-template-columns: minmax(240px, 0.95fr) 1.15fr;
  align-items: stretch;
  position: relative;
}
.sf-pmodal.is-open .sf-pmodal-dialog {
  transform: none;
  opacity: 1;
}
.sf-pmodal-media {
  position: relative;
  min-height: 0;
  background: #0f172a;
  overflow: hidden;
  border-radius: 18px 0 0 18px;
}
.sf-pmodal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  position: absolute;
  inset: 0;
  max-width: none;
}
.sf-pmodal-x {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}
.sf-pmodal-body {
  padding: 18px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 0;
  overflow: auto;
}
.sf-pmodal-svc {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #2563eb;
}
.sf-pmodal-body h2 {
  margin: 0;
  font-family: var(--font);
  font-size: 1.2rem;
  line-height: 1.25;
  color: #0f172a;
}
.sf-pmodal-tipo {
  display: inline-flex;
  align-self: flex-start;
  padding: 2px 9px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
  font-size: 0.75rem;
  font-weight: 700;
}
.sf-pmodal-desc {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}
.sf-pmodal-details {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 3px;
  max-height: 4.8em;
  overflow: auto;
}
.sf-pmodal-details li {
  font-size: 0.82rem;
  color: #334155;
  padding-left: 12px;
  position: relative;
}
.sf-pmodal-details li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #2563eb;
}
.sf-pmodal-body .sf-var-label {
  margin: 2px 0 0;
  font-size: 0.8rem;
}
.sf-pmodal-body .sf-var-select {
  margin: 0;
  padding: 8px 10px;
  font-size: 0.88rem;
}
.sf-pmodal-price {
  font-family: var(--font);
  font-weight: 800;
  font-size: 1.35rem;
  color: #0f172a;
  margin-top: auto;
  padding-top: 4px;
}
.sf-pmodal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: 6px;
  flex-shrink: 0;
}
.sf-pmodal-actions .sf-pbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 0;
  border-radius: 11px;
  padding: 10px 8px;
  font-weight: 800;
  font-size: 0.84rem;
  cursor: pointer;
  color: #fff;
}
.sf-pmodal-actions .sf-pbtn svg { flex-shrink: 0; width: 16px; height: 16px; }
.sf-pmodal-actions .sf-pbtn.add { background: #2563eb; }
.sf-pmodal-actions .sf-pbtn.cart { background: #111827; }
.sf-pmodal-actions .sf-pbtn.wa { background: #25d366; color: #052e16; }
.sf-pmodal-actions .sf-pbtn.tg { background: #2aabee; color: #042f45; }
.sf-pmodal-actions .sf-pbtn.share {
  background: #f8fafc;
  color: #0f172a;
  border: 1px solid #e2e8f0;
  grid-column: 1 / -1;
  padding: 9px 8px;
}

/* ===== Cart drawer ===== */
.sf-drawer-bg {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.42);
  z-index: 40;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
}
.sf-drawer-bg.open { opacity: 1; pointer-events: auto; }
.sf-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(420px, 100%);
  height: 100%;
  background: #fff;
  border-left: 1px solid var(--line);
  z-index: 50;
  transform: translateX(105%);
  transition: transform 0.25s ease;
  display: flex;
  flex-direction: column;
  box-shadow: -12px 0 40px rgba(15, 23, 42, 0.12);
}
.sf-drawer.open { transform: translateX(0); }
.sf-drawer > header,
.sf-drawer > footer {
  padding: 16px;
  border-bottom: 1px solid var(--line);
}
.sf-drawer > header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.sf-drawer > footer {
  border-bottom: 0;
  border-top: 1px solid var(--line);
  margin-top: auto;
}
.sf-drawer h2 {
  margin: 0;
  font-family: var(--font);
  font-size: 1.15rem;
}
.sf-drawer-close {
  background: transparent;
  border: 0;
  color: var(--muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 10px;
}
.sf-drawer-close:hover { background: #f1f5f9; color: var(--text); }
.sf-items { padding: 12px 16px; overflow: auto; flex: 1; }
.sf-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.sf-item img {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  object-fit: cover;
  background: #f1f5f9;
}
.sf-item strong { display: block; font-size: 0.95rem; color: var(--text); }
.sf-item small { color: var(--muted); }
.sf-qty { display: flex; align-items: center; gap: 6px; }
.sf-qty button {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #0f172a;
  cursor: pointer;
  font-weight: 800;
  font-size: 1rem;
  line-height: 1;
}
.sf-qty button:hover { background: #e2e8f0; border-color: #94a3b8; }
.sf-qty button.sf-qty-rm {
  width: 30px;
  margin-left: 2px;
  background: #fef2f2;
  border-color: #fecaca;
  color: #b91c1c;
  font-size: 1.15rem;
  font-weight: 700;
}
.sf-qty button.sf-qty-rm:hover {
  background: #fee2e2;
  border-color: #f87171;
  color: #991b1b;
}
.sf-qty span {
  min-width: 22px;
  text-align: center;
  font-weight: 800;
  color: #0f172a;
}
.sf-item strong { display: block; font-size: 0.95rem; color: #0f172a; font-weight: 800; }
.sf-item small { color: #334155; font-weight: 600; }

/* Toast carrito */
.sf-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(16px);
  z-index: 90;
  background: #0f172a;
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 12px 18px;
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.28);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.sf-toast.is-show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
body.has-hours-bar .sf-toast { bottom: 96px; }
.sf-total {
  display: flex;
  justify-content: space-between;
  font-weight: 800;
  margin: 4px 0 14px;
  font-family: var(--font);
  font-size: 1.05rem;
}
.sf-drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sf-drawer-continue {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font-weight: 800;
  cursor: pointer;
  background: #fff;
  color: var(--text);
}
.sf-drawer-continue:hover { background: #f8fafc; }
.sf-drawer-checkout {
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 13px 14px;
  font-weight: 800;
  cursor: pointer;
  color: #052e16;
  background: linear-gradient(135deg, var(--accent2), #16a34a);
  box-shadow: 0 8px 18px color-mix(in srgb, var(--accent2) 28%, transparent);
}
.sf-drawer-checkout:hover { filter: brightness(1.04); }
.sf-drawer-checkout:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  filter: none;
}

/* Legacy form bits (if present in older markup) */
.sf-form label {
  display: block;
  font-size: 0.82rem;
  color: #0f172a;
  margin: 10px 0 5px;
  font-weight: 800;
}
.sf-form input {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  padding: 10px 12px;
  font-size: 16px;
}
.sf-account-title { margin: 0 0 4px; font-family: var(--font); font-weight: 700; font-size: 0.98rem; }
.sf-mode-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin: 10px 0 12px;
  padding: 4px;
  border-radius: 12px;
  background: #f1f5f9;
  border: 1px solid var(--line);
}
.sf-mode-btn {
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 11px 10px;
  cursor: pointer;
  font-weight: 800;
  font-size: 0.92rem;
  background: transparent;
  color: #334155;
}
.sf-mode-btn.is-active {
  background: #fff;
  color: #0f172a;
  border-color: #cbd5e1;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.12);
}
.sf-wa-help {
  margin: 8px 0 4px;
  padding: 10px 12px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--accent) 8%, #fff);
  border: 1px solid color-mix(in srgb, var(--accent) 18%, var(--line));
  color: #1e3a5f;
  font-size: 0.8rem;
  line-height: 1.45;
}
.sf-account-note { margin: 10px 0 0; color: var(--muted); font-size: 0.78rem; line-height: 1.4; }
.sf-checkout-btns { display: flex; flex-direction: column; gap: 8px; }
.sf-checkout {
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 12px 14px;
  font-weight: 800;
  cursor: pointer;
  color: #052e16;
  background: var(--accent2);
}
.sf-checkout.tg { background: var(--tg); color: #042f45; }
.sf-checkout:disabled { opacity: 0.65; cursor: wait; }

/* ===== Checkout modal ===== */
.sf-modal-bg {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(15, 23, 42, 0.48);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.sf-modal-bg.open { opacity: 1; pointer-events: auto; }
.sf-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.sf-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.sf-modal-dialog {
  width: min(560px, 100%);
  max-height: min(92vh, 820px);
  overflow: auto;
  background: #fff;
  color: #0f172a;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid #e5e7eb;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22);
  padding: 18px 18px 16px;
}
.sf-modal-dialog,
.sf-modal-dialog * {
  color: inherit;
}
.sf-modal-dialog a { color: #0369a1; }
.sf-modal-dialog .sf-mode-btn { color: #475569; }
.sf-modal-dialog .sf-mode-btn.is-active { color: #0f172a; }
.sf-modal-dialog .sf-qty button { color: #0f172a; }
.sf-modal-dialog .sf-qty-rm { color: #b91c1c !important; }
.sf-modal-dialog .sf-item small,
.sf-modal-dialog .sf-cart-empty,
.sf-modal-dialog .sf-account-note,
.sf-modal-dialog .sf-wa-help { color: #475569; }
.sf-modal-dialog .sf-form label {
  color: #0f172a !important;
  font-weight: 800;
}
.sf-modal-dialog .sf-form input,
.sf-modal-dialog .sf-pay-select {
  color: #0f172a !important;
  background: #fff !important;
  border: 1px solid #cbd5e1;
}
.sf-modal-dialog .sf-pay-select option,
.sf-modal-dialog .sf-pay-select optgroup {
  color: #0f172a;
  background: #fff;
}
.sf-modal-dialog .sf-modal-totals,
.sf-modal-dialog .sf-modal-totals .row {
  color: #0f172a !important;
}
.sf-modal-dialog .sf-modal-submit {
  color: #fff !important;
}
.sf-modal-dialog .sf-channel-btn.wa { color: #052e16 !important; }
.sf-modal-dialog .sf-channel-btn.tg { color: #042f45 !important; }
.sf-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.sf-modal-head h2 {
  margin: 0;
  font-family: var(--font);
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.01em;
}
.sf-modal-head p {
  margin: 6px 0 0;
  color: #475569;
  font-size: 0.9rem;
  font-weight: 600;
}
.sf-modal-x {
  border: 0;
  background: #f1f5f9;
  color: var(--muted);
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-size: 1.3rem;
  cursor: pointer;
  flex-shrink: 0;
}
.sf-modal-x:hover { color: var(--text); background: #e2e8f0; }
.sf-modal-summary {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 14px;
}
.sf-modal-summary h3 {
  margin: 0 0 8px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.sf-sum-line {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.9rem;
  padding: 5px 0;
  border-bottom: 1px dashed var(--line);
}
.sf-sum-line:last-child { border-bottom: 0; }
.sf-sum-line span:last-child { font-weight: 700; white-space: nowrap; }
.sf-pay-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 8px 0 12px;
}
.sf-pay-group {
  margin: 10px 0 4px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.sf-pay-opt {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.sf-pay-opt:hover {
  border-color: #cbd5e1;
}
.sf-pay-opt.is-selected {
  border-color: #111827;
  background: #f8fafc;
}
.sf-pay-opt input { accent-color: #111827; margin: 0; flex-shrink: 0; }
.sf-pay-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sf-pay-opt .sf-pay-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
}
.sf-pay-opt .sf-pay-det {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 500;
}
.sf-wallet-row {
  display: none;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  margin: 10px 0 12px;
  border-radius: 14px;
  background: #f0fdf4;
  border: 1px solid #86efac;
}
.sf-wallet-row.is-visible { display: flex; }
.sf-wallet-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}
.sf-wallet-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  color: #166534;
}
.sf-wallet-check input {
  width: 18px;
  height: 18px;
  accent-color: #16a34a;
  margin: 0;
  flex-shrink: 0;
}
.sf-wallet-hint {
  font-size: 0.85rem;
  font-weight: 600;
  color: #3f6212;
}
.sf-wallet-amt {
  display: flex;
  align-items: center;
  gap: 8px;
}
.sf-wallet-amt label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #64748b;
  margin: 0;
}
.sf-wallet-row input[type="number"] {
  width: 110px;
  border-radius: 10px;
  border: 1px solid #bbf7d0;
  padding: 9px 10px;
  font-size: 16px;
  background: #fff;
}
.sf-opt { color: var(--muted); font-weight: 500; font-size: 0.85em; }
.sf-modal-totals {
  background: #f8fafc;
  color: var(--text);
  border-radius: 10px;
  padding: 14px;
  margin: 8px 0 14px;
  border: 1px solid var(--line);
}
.sf-modal-totals .row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.92rem;
  margin: 4px 0;
  color: var(--text);
}
.sf-modal-totals .row.grand {
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  color: var(--text);
  font-family: var(--font);
  font-weight: 800;
  font-size: 1.1rem;
}
.sf-modal-cart {
  margin: 0 0 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.sf-modal-cart-label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0f172a;
  margin-bottom: 8px;
}
.sf-modal-cart .sf-items {
  max-height: 220px;
  overflow: auto;
  padding: 0;
}
.sf-modal-cart .sf-total {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-weight: 800;
  font-size: 1rem;
  color: #0f172a;
}
.sf-cart-empty {
  margin: 0;
  padding: 8px 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.sf-drawer,
.sf-drawer-bg { display: none !important; }
.sf-af-head { text-align: center; margin-bottom: 22px; }
.sf-af-kicker {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent2);
  margin-bottom: 8px;
}
.sf-af-head h2 {
  margin: 0 0 8px;
  font-family: var(--font);
  font-size: 1.5rem;
}
.sf-af-head p {
  margin: 0 auto;
  max-width: 36rem;
  color: var(--muted);
}
.sf-channel-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 8px 0 12px;
}
.sf-channel-btn {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 11px;
  font-weight: 800;
  cursor: pointer;
  background: #fff;
  color: var(--muted);
}
.sf-channel-btn.is-active.wa {
  background: var(--wa);
  color: #053b1f;
  border-color: transparent;
}
.sf-channel-btn.is-active.tg {
  background: var(--tg);
  color: #042f45;
  border-color: transparent;
}
.sf-modal-submit {
  width: 100%;
  border: 0;
  border-radius: 14px;
  padding: 14px 16px;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  color: #052e16;
  background: linear-gradient(135deg, var(--accent2), #16a34a);
  box-shadow: 0 10px 24px color-mix(in srgb, var(--accent2) 32%, transparent);
}
.sf-modal-submit:hover { filter: brightness(1.04); }
.sf-modal-submit:disabled {
  opacity: 0.65;
  cursor: wait;
  filter: none;
}

/* ===== Footer / sections ===== */
.sf-foot {
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
  border-top: 1px solid var(--line);
  margin-top: 8px;
}
.sf-sorteo-banner {
  display: block;
  margin: 6px 0 22px;
  text-decoration: none;
  color: var(--text);
  border-radius: 18px;
  border: 1px solid #fde68a;
  background:
    radial-gradient(120% 160% at 50% 0%, rgba(251, 191, 36, 0.28), transparent 55%),
    linear-gradient(135deg, #fffbeb 0%, #fff 55%, #fef3c7 100%);
  box-shadow: var(--shadow);
  animation: sfPulseBanner 2.8s ease-in-out infinite;
  overflow: hidden;
}
.sf-sorteo-banner.is-done {
  border-color: color-mix(in srgb, var(--accent) 40%, var(--line));
  background:
    radial-gradient(120% 160% at 50% 0%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 55%),
    linear-gradient(135deg, #eff6ff 0%, #fff 55%, #e0f2fe 100%);
  animation: none;
}
.sf-sorteo-banner-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  padding: 22px 18px;
}
.sf-sorteo-banner-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 6px 14px;
  border-radius: 999px;
  background: #f59e0b;
  color: #1c1917;
}
.sf-sorteo-banner.is-done .sf-sorteo-banner-badge {
  background: var(--accent);
  color: #fff;
}
.sf-sorteo-banner-dates {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 10px;
  color: #334155;
  font-size: 0.95rem;
}
.sf-sorteo-banner-dates b { color: #b45309; font-weight: 800; }
.sf-sorteo-banner.is-done .sf-sorteo-banner-dates b { color: var(--accent); }
.sf-sorteo-banner-cta {
  color: #b45309;
  font-weight: 800;
  font-size: 0.92rem;
}
.sf-sorteo-banner.is-done .sf-sorteo-banner-cta { color: var(--accent); }
@keyframes sfPulseBanner {
  0%, 100% { box-shadow: var(--shadow); }
  50% { box-shadow: 0 16px 40px rgba(245, 158, 11, 0.22); }
}
.sf-sorteos,
.sf-afiliados {
  padding: 36px 0 16px;
  border-top: 1px solid var(--line);
  margin-top: 8px;
}
.sf-af-box {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--line));
  border-radius: 18px;
  padding: 22px 18px;
  text-align: center;
  box-shadow: var(--shadow);
}
.sf-af-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 220px));
  justify-content: center;
  gap: 12px;
  margin: 0 auto 18px;
  max-width: 720px;
}
.sf-af-steps > div {
  width: 100%;
  max-width: 220px;
  margin: 0 auto;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 10px;
  text-align: center;
  box-sizing: border-box;
}
.sf-af-steps span {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  margin-bottom: 8px;
}
.sf-af-steps b { display: block; font-family: var(--font); margin-bottom: 4px; }
.sf-af-steps p { margin: 0; color: var(--muted); font-size: 0.82rem; line-height: 1.35; }
.sf-af-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  border-radius: 12px;
  padding: 12px 18px;
  background: linear-gradient(135deg, var(--accent), #1d4ed8);
  color: #fff;
}
.sf-sorteos-head { text-align: center; margin-bottom: 22px; }
.sf-sorteos-kicker {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #d97706;
  margin-bottom: 8px;
}
.sf-sorteos-head h2 {
  margin: 0 0 8px;
  font-family: var(--font);
  font-size: clamp(1.4rem, 3vw, 1.8rem);
}
.sf-sorteos-head p {
  margin: 0 auto;
  color: var(--muted);
  max-width: 34rem;
  line-height: 1.5;
  font-size: 0.95rem;
}
.sf-sorteos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 18px;
  max-width: 860px;
  margin: 0 auto;
}
.sf-sorteo-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
}
.sf-sorteo-card.is-live { border-color: #fbbf24; }
.sf-sorteo-card.is-done { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.sf-sorteo-media { aspect-ratio: 16 / 9; overflow: hidden; background: #f1f5f9; }
.sf-sorteo-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sf-sorteo-body { padding: 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.sf-sorteo-estado {
  color: #d97706;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.sf-sorteo-card.is-done .sf-sorteo-estado { color: var(--accent); }
.sf-sorteo-body h3 { margin: 0; font-family: var(--font); font-size: 1.2rem; text-align: center; }
.sf-sorteo-body > p { margin: 0; color: var(--muted); font-size: 0.9rem; line-height: 1.45; text-align: center; }
.sf-sorteo-dates { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sf-sorteo-dates > div {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
  text-align: center;
}
.sf-sorteo-dates small { display: block; color: var(--muted); font-size: 0.72rem; margin-bottom: 3px; }
.sf-sorteo-dates b { font-size: 0.95rem; color: var(--text); }
.sf-sorteo-premios-title {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #d97706;
  margin: 4px 0 2px;
}
.sf-sorteo-premios { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.sf-sorteo-premios li {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  text-align: center;
}
.sf-sorteo-premios .puesto {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.85rem;
  background: rgba(245, 158, 11, 0.16);
  color: #b45309;
}
.sf-sorteo-premios .premio-txt {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.35;
  font-weight: 700;
  text-align: center;
}
.sf-sorteo-premios em {
  display: block;
  margin-top: 4px;
  font-style: normal;
  color: #15803d;
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
}
.sf-sorteo-auto {
  margin-top: auto;
  text-align: center;
  font-weight: 800;
  font-size: 0.84rem;
  border-radius: 12px;
  padding: 11px 12px;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  color: #1c1917;
}
.sf-sorteo-auto.is-done,
.sf-sorteo-card.is-done .sf-sorteo-auto {
  background: linear-gradient(135deg, var(--accent), #1d4ed8);
  color: #fff;
}

/* ===== Mobile ===== */
@media (max-width: 900px) {
  .sf-hero {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 22px 0 14px;
  }
  .sf-hero-media { min-height: 200px; order: -1; }
  .sf-hero-media img { min-height: 200px; }
  .sf-hero { text-align: left; }
}
@media (max-width: 768px) {
  .sf-wrap { width: calc(100% - 20px); }
  .sf-brand-logo { height: 44px; max-width: 120px; }
  .sf-brand > div { font-size: 1.02rem; }
  .sf-mobile-quick { display: inline-flex; order: 2; }
  .sf-nav-toggle { display: inline-flex; }
  .sf-top-inner {
    position: relative;
    flex-wrap: wrap;
  }
  .sf-brand { flex: 1 1 auto; min-width: 0; }
  .sf-nav-clean {
    display: none;
    order: 3;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 10px 0 4px;
    border-top: 1px solid #374151;
  }
  .sf-nav-clean.is-open { display: flex; }
  .sf-nav-clean .sf-pill,
  .sf-nav-clean .sf-cart-btn {
    width: 100%;
    justify-content: center;
  }
  .sf-nav-clean .sf-cart-btn--nav { display: none; }
  .sf-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    padding: 8px 0 4px;
    border-top: 1px solid var(--line);
  }
  .sf-nav.is-open { display: flex; }
  .sf-nav > a {
    padding: 12px;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }
  .sf-nav-social {
    margin: 10px 0 0;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .sf-social { width: 100%; padding: 11px 12px; }
  .sf-cart-btn { padding: 9px 12px; font-size: 0.9rem; }
  .sf-catalog { padding-bottom: 28px; }
  .sf-search-bar { border-radius: 14px; padding-left: 12px; }
  .sf-search-input { font-size: 16px; padding: 11px 0; }
  .sf-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .sf-card-body { padding: 11px; gap: 6px; }
  .sf-card h3 { font-size: 0.92rem; }
  .sf-card .desc {
    font-size: 0.78rem;
    min-height: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
  }
  .sf-card .price { font-size: 1rem; }
  .sf-add,
  .sf-view,
  .sf-open-cart,
  .sf-buy-wa,
  .sf-buy-tg,
  .sf-ico-btn { padding: 9px; min-height: 38px; border-radius: 10px; }
  .sf-pmodal {
    padding: 0;
    align-items: flex-end;
  }
  .sf-pmodal-dialog {
    width: 100%;
    max-height: 88vh;
    border-radius: 20px 20px 0 0;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 -12px 40px rgba(15, 23, 42, 0.28);
  }
  .sf-pmodal-x {
    top: 10px;
    right: 12px;
    width: 36px;
    height: 36px;
    z-index: 6;
    background: rgba(15, 23, 42, 0.82);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  }
  .sf-pmodal-media {
    position: relative;
    flex: 0 0 112px;
    width: 100%;
    height: 112px !important;
    min-height: 112px !important;
    max-height: 112px !important;
    border-radius: 20px 20px 0 0;
    background: #0f172a;
    overflow: hidden;
  }
  .sf-pmodal-media img {
    position: static !important;
    inset: auto !important;
    width: 100% !important;
    height: 112px !important;
    max-height: 112px !important;
    object-fit: contain !important;
    object-position: center;
    display: block;
    background: #0f172a;
  }
  .sf-pmodal-body {
    padding: 12px 14px calc(12px + env(safe-area-inset-bottom, 0px));
    gap: 6px;
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1 1 auto;
    min-height: 0;
    -webkit-overflow-scrolling: touch;
  }
  .sf-pmodal-svc { font-size: 0.66rem; }
  .sf-pmodal-body h2 {
    font-size: 1.05rem;
    padding-right: 36px;
  }
  .sf-pmodal-tipo { font-size: 0.72rem; padding: 2px 8px; }
  .sf-pmodal-desc {
    -webkit-line-clamp: 2;
    line-clamp: 2;
    font-size: 0.82rem;
  }
  .sf-pmodal-details {
    max-height: 2.8em;
    gap: 2px;
  }
  .sf-pmodal-details li { font-size: 0.78rem; }
  .sf-pmodal-body .sf-var-label {
    margin: 0;
    font-size: 0.75rem;
  }
  .sf-pmodal-body .sf-var-select {
    padding: 8px 10px;
    font-size: 0.86rem;
  }
  .sf-pmodal-price {
    font-size: 1.2rem;
    margin-top: 2px;
    padding-top: 0;
  }
  .sf-pmodal-actions {
    gap: 6px;
    margin-top: 4px;
    padding-top: 8px;
    border-top: 1px solid #e2e8f0;
    position: sticky;
    bottom: 0;
    background: #fff;
  }
  .sf-pmodal-actions .sf-pbtn {
    padding: 11px 6px;
    font-size: 0.78rem;
    border-radius: 10px;
    gap: 5px;
  }
  .sf-pmodal-actions .sf-pbtn svg {
    width: 15px;
    height: 15px;
  }
  .sf-pmodal-actions .sf-pbtn.share {
    padding: 9px 6px;
    grid-column: 1 / -1;
  }
  .sf-sorteo-banner-inner { padding: 18px 14px; }
  .sf-sorteo-banner-dates { font-size: 0.88rem; flex-direction: column; gap: 4px; }
  .sf-sorteo-banner-dates .sf-dot { display: none; }
  .sf-sorteo-dates { grid-template-columns: 1fr; }
  .sf-drawer { width: 100%; }
  .sf-modal { padding: 10px; align-items: flex-end; }
  .sf-modal-dialog {
    width: 100%;
    max-height: 92vh;
    border-radius: 18px 18px 12px 12px;
  }
  .sf-channel-row { grid-template-columns: 1fr; }
  .sf-af-steps { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .sf-grid { grid-template-columns: 1fr; }
  .sf-nav-social { grid-template-columns: 1fr; }
}

@supports not (background: color-mix(in srgb, #000 50%, #fff)) {
  body { background: #ffffff; }
  .sf-top { background: #ffffff; }
}
