/* Sitio público multi-página: header, footer, inicio, páginas internas, carrito */
.sf-body [hidden] { display: none !important; }
.sf-main { min-height: 50vh; }
.sf-wrap { padding-bottom: 3rem; }
.sf-toolbar { top: 4.9rem; }

/* ---------- Botones ---------- */
.sf-btns { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.25rem; }
.sf-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  border-radius: 999px; padding: .8rem 1.4rem; font-weight: 800; text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.sf-btn:hover { transform: translateY(-2px); }
.sf-btn-primary {
  background: var(--sf-primary); color: #fff;
  box-shadow: 0 12px 28px color-mix(in srgb, var(--sf-primary) 35%, transparent);
}
.sf-btn-ghost { background: rgb(255 255 255 / .14); color: #fff; border: 1px solid rgb(255 255 255 / .45); backdrop-filter: blur(6px); }
.sf-btn-soft { background: color-mix(in srgb, var(--sf-primary) 12%, var(--sf-card)); color: var(--sf-primary); }
.sf-link-btn { background: none; border: 0; color: var(--sf-muted); font: inherit; font-weight: 700; cursor: pointer; text-decoration: underline; }

/* ---------- Header ---------- */
.sf-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--sf-card) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(16px);
  border-bottom: 1px solid color-mix(in srgb, var(--sf-border) 70%, transparent);
  transition: box-shadow .2s ease;
}
.sf-scrolled .sf-header { box-shadow: 0 10px 30px rgb(0 0 0 / .08); }
.sf-header-in {
  max-width: 1200px; margin: 0 auto; padding: .7rem 1.25rem;
  display: flex; align-items: center; gap: 1.25rem;
}
.sf-logo { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--sf-ink); min-width: 0; }
.sf-logo img { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; background: #fff; }
.sf-logo-mark {
  width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; flex: 0 0 auto;
  font-weight: 900; font-size: 1.3rem; color: #fff;
  background: linear-gradient(135deg, var(--sf-primary), var(--sf-accent));
  box-shadow: 0 8px 20px color-mix(in srgb, var(--sf-primary) 35%, transparent);
}
.sf-logo-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.15; }
.sf-logo-text strong { font-size: 1.1rem; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sf-logo-text small { color: var(--sf-muted); font-size: .75rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 22ch; }

.sf-nav { display: flex; gap: .2rem; margin: 0 auto; }
.sf-nav a {
  position: relative; text-decoration: none; color: var(--sf-ink); font-weight: 700; font-size: .95rem;
  padding: .55rem .9rem; border-radius: 999px; transition: background .15s ease, color .15s ease;
}
.sf-nav a:hover { background: color-mix(in srgb, var(--sf-primary) 10%, transparent); color: var(--sf-primary); }
.sf-nav a.is-active { color: var(--sf-primary); background: color-mix(in srgb, var(--sf-primary) 12%, transparent); }

.sf-header-actions { display: flex; align-items: center; gap: .5rem; margin-left: auto; }
.sf-nav + .sf-header-actions { margin-left: 0; }
.sf-icon-btn {
  width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--sf-border);
  background: var(--sf-card); color: var(--sf-ink); cursor: pointer; font-size: 1.1rem;
}
.sf-cart-btn {
  position: relative; display: inline-flex; align-items: center; gap: .45rem;
  padding: .55rem .9rem; border-radius: 999px; border: 1px solid var(--sf-border);
  background: var(--sf-card); color: var(--sf-ink); text-decoration: none; font-weight: 700; font-size: .92rem;
}
.sf-cart-btn:hover, .sf-cart-btn.is-active { border-color: var(--sf-primary); color: var(--sf-primary); }
.sf-cart-count {
  position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 999px; background: var(--sf-primary); color: #fff; font-size: .72rem;
  display: grid; place-items: center; box-shadow: 0 0 0 2px var(--sf-card);
}
.sf-cart-count[hidden] { display: none; }
.sf-header-cta {
  text-decoration: none; font-weight: 800; color: #fff; background: var(--sf-primary);
  padding: .62rem 1.15rem; border-radius: 999px; white-space: nowrap;
  box-shadow: 0 10px 24px color-mix(in srgb, var(--sf-primary) 35%, transparent);
}
.sf-burger { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--sf-border); background: var(--sf-card); cursor: pointer; padding: 0 10px; }
.sf-burger span { display: block; height: 2px; background: var(--sf-ink); border-radius: 2px; margin: 5px 0; transition: transform .2s ease, opacity .2s ease; }
.sf-burger[aria-expanded=true] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.sf-burger[aria-expanded=true] span:nth-child(2) { opacity: 0; }
.sf-burger[aria-expanded=true] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .sf-burger { display: block; }
  .sf-header-cta { display: none; }
  .sf-cart-btn span { display: none; }
  .sf-nav {
    position: absolute; left: 0; right: 0; top: 100%; margin: 0;
    flex-direction: column; gap: .25rem; padding: .75rem 1rem 1rem;
    background: var(--sf-card); border-bottom: 1px solid var(--sf-border);
    box-shadow: 0 20px 40px rgb(0 0 0 / .12);
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: .2s ease;
  }
  .sf-nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .sf-nav a { padding: .85rem 1rem; border-radius: .85rem; font-size: 1.05rem; }
  .sf-nav + .sf-header-actions { margin-left: auto; }
  .sf-logo-text small { display: none; }
}

.sf-flash {
  max-width: 1200px; margin: 1rem auto 0; padding: .9rem 1.1rem; border-radius: 1rem;
  background: #ecfdf5; border: 1px solid #6ee7b7; color: #065f46; font-weight: 600;
}

/* ---------- Carrito flotante ---------- */
.sf-cart-float {
  position: fixed; left: 50%; bottom: calc(1rem + env(safe-area-inset-bottom)); transform: translateX(-50%);
  z-index: 45; display: flex; align-items: center; gap: 1.25rem; text-decoration: none;
  background: var(--sf-ink); color: var(--sf-paper); padding: .85rem 1.1rem .85rem 1.3rem; border-radius: 999px;
  box-shadow: 0 18px 40px rgb(0 0 0 / .28); font-weight: 700; white-space: nowrap;
}
.sf-cart-float strong { background: var(--sf-primary); color: #fff; padding: .35rem .8rem; border-radius: 999px; }
.sf-cart-float[hidden] { display: none; }

/* ---------- Footer ---------- */
.sf-footer {
  margin-top: 3rem; color: #d6d3d1;
  background: radial-gradient(800px 300px at 90% 0%, color-mix(in srgb, var(--sf-primary) 35%, transparent), transparent 60%), #1c1917;
  padding: 0 1.25rem calc(5.5rem + env(safe-area-inset-bottom));
}
.sf-footer a { color: #e7e5e4; text-decoration: none; }
.sf-footer a:hover { color: #fff; text-decoration: underline; }
.sf-footer-cta {
  max-width: 1200px; margin: 0 auto; transform: translateY(-2.25rem);
  display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; flex-wrap: wrap;
  padding: 1.6rem 1.8rem; border-radius: 1.75rem; color: #fff;
  background: linear-gradient(120deg, var(--sf-primary), var(--sf-accent));
  box-shadow: 0 24px 50px color-mix(in srgb, var(--sf-primary) 35%, transparent);
}
.sf-footer-cta h2 { margin: 0; font-size: clamp(1.3rem, 3vw, 1.8rem); }
.sf-footer-cta p { margin: .25rem 0 0; opacity: .92; }
.sf-footer-cta a { background: #fff; color: var(--sf-primary) !important; padding: .8rem 1.4rem; border-radius: 999px; font-weight: 800; text-decoration: none !important; }
.sf-footer-grid {
  max-width: 1200px; margin: 0 auto; padding-top: 1.5rem;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2rem;
}
.sf-footer-grid h3 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; margin: .4rem 0 1rem; }
.sf-footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; font-size: .95rem; }
.sf-footer-brand .sf-logo { color: #fff; }
.sf-footer-brand p { color: #a8a29e; max-width: 34ch; line-height: 1.55; }
.sf-socials { display: flex; gap: .5rem; }
.sf-socials a {
  width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
  background: rgb(255 255 255 / .08); border: 1px solid rgb(255 255 255 / .12); font-weight: 800; font-size: .8rem; text-transform: uppercase;
}
.sf-socials a:hover { background: var(--sf-primary); text-decoration: none; }
.sf-footer-bottom {
  max-width: 1200px; margin: 2rem auto 0; padding-top: 1.25rem; border-top: 1px solid rgb(255 255 255 / .1);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; color: #a8a29e; font-size: .85rem;
}
.sf-footer > .sf-footer-grid:first-child { padding-top: 3rem; }
@media (max-width: 860px) {
  .sf-footer-grid { grid-template-columns: 1fr 1fr; }
  .sf-footer-brand { grid-column: 1 / -1; }
}

/* ---------- Inicio: hero ---------- */
.sf-home-hero {
  color: #fff; overflow: hidden; position: relative;
  background: linear-gradient(135deg, color-mix(in srgb, var(--sf-primary) 60%, #111), var(--sf-primary));
  border-radius: 0 0 2.5rem 2.5rem;
}
.sf-home-hero::after {
  content: ""; position: absolute; inset: auto -10% -40% auto; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgb(255 255 255 / .18), transparent 65%); pointer-events: none;
}
.sf-home-hero-in {
  max-width: 1200px; margin: 0 auto; padding: 4rem 1.25rem 4.5rem;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 2.5rem; align-items: center; position: relative; z-index: 1;
}
.sf-live {
  display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; font-size: .85rem;
  background: rgb(255 255 255 / .14); border: 1px solid rgb(255 255 255 / .25); padding: .4rem .9rem; border-radius: 999px;
}
.sf-live i { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 0 #4ade80; animation: sf-pulse 1.8s infinite; }
@keyframes sf-pulse { 70% { box-shadow: 0 0 0 10px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.sf-home-copy h1 { font-size: clamp(2.6rem, 7vw, 4.8rem); line-height: .95; letter-spacing: -.04em; margin: 1rem 0 .9rem; text-shadow: 0 12px 40px rgb(0 0 0 / .25); }
.sf-home-copy > p { font-size: 1.15rem; max-width: 44ch; opacity: .94; margin: 0; line-height: 1.5; }
.sf-home-hero .sf-btn-primary { background: #fff; color: var(--sf-primary); box-shadow: 0 14px 30px rgb(0 0 0 / .2); }
.sf-home-stats { display: flex; gap: 2rem; margin: 2rem 0 0; flex-wrap: wrap; }
.sf-home-stats dt { font-size: 2rem; font-weight: 900; letter-spacing: -.03em; }
.sf-home-stats dd { margin: 0; opacity: .85; font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; }

.sf-collage { position: relative; height: 440px; }
.sf-collage figure {
  position: absolute; margin: 0; overflow: hidden; border-radius: 1.75rem;
  box-shadow: 0 30px 60px rgb(0 0 0 / .3); border: 4px solid rgb(255 255 255 / .9);
}
.sf-collage img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sf-collage-0 { inset: 0 18% 18% 6%; transform: rotate(-3deg); z-index: 1; }
.sf-collage-1 { width: 42%; height: 46%; right: 0; top: 4%; transform: rotate(5deg); z-index: 2; }
.sf-collage-2 { width: 40%; height: 40%; right: 10%; bottom: 0; transform: rotate(-6deg); z-index: 3; }
.sf-art { width: 100%; height: 100%; display: grid; place-items: center; font-size: 4.5rem; }
.sf-art-0 { background: linear-gradient(145deg, #fb923c, #ea580c); }
.sf-art-1 { background: linear-gradient(145deg, #2dd4bf, #0f766e); }
.sf-art-2 { background: linear-gradient(145deg, #c4b5fd, #7c3aed); }
.sf-float {
  position: absolute; z-index: 4; background: #fff; color: #1c1917; font-weight: 800; font-size: .9rem;
  padding: .6rem 1rem; border-radius: 999px; box-shadow: 0 14px 30px rgb(0 0 0 / .2); animation: sf-bob 4s ease-in-out infinite;
}
.sf-float-a { left: 0; bottom: 12%; }
.sf-float-b { right: 4%; top: 52%; animation-delay: -2s; }
@keyframes sf-bob { 50% { transform: translateY(-8px); } }
@media (max-width: 860px) {
  .sf-home-hero-in { grid-template-columns: 1fr; padding-top: 2.5rem; }
  .sf-collage { height: 320px; }
}

/* ---------- Marquee de categorías ---------- */
.sf-marquee { overflow: hidden; padding: 1.1rem 0; margin-top: 1.5rem; border-block: 1px solid var(--sf-border); background: var(--sf-card); }
.sf-marquee-track { display: flex; gap: 1.5rem; width: max-content; animation: sf-marquee 28s linear infinite; }
.sf-marquee span { font-family: var(--sf-font-heading), system-ui, sans-serif; font-weight: 900; font-size: 1.4rem; letter-spacing: -.02em; text-transform: uppercase; }
.sf-marquee b { color: var(--sf-primary); }
@keyframes sf-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .sf-marquee-track, .sf-float, .sf-live i { animation: none; } }

/* ---------- Inicio: historia ---------- */
.sf-center-head { text-align: center; margin-bottom: 1.75rem; }
.sf-section-title { font-size: clamp(1.7rem, 4vw, 2.6rem); letter-spacing: -.03em; margin: .2rem 0 0; }
.sf-story { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; margin: 4.5rem 0; }
.sf-story-media { position: relative; height: 460px; }
.sf-story-img { position: absolute; margin: 0; overflow: hidden; border-radius: 2rem; box-shadow: var(--sf-shadow); }
.sf-story-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sf-story-img-0 { inset: 0 22% 14% 0; }
.sf-story-img-1 { width: 48%; height: 52%; right: 0; bottom: 0; border: 6px solid var(--sf-paper); }
.sf-story-badge {
  position: absolute; left: 6%; bottom: 2%; z-index: 2; background: var(--sf-primary); color: #fff;
  padding: .9rem 1.1rem; border-radius: 1.2rem; font-weight: 700; max-width: 170px; line-height: 1.25;
  box-shadow: 0 16px 34px color-mix(in srgb, var(--sf-primary) 40%, transparent);
}
.sf-story-badge strong { display: block; font-size: 1.8rem; }
.sf-story-text { white-space: pre-line; color: var(--sf-muted); font-size: 1.08rem; line-height: 1.7; margin: 1rem 0 1.75rem; }
.sf-collage-0 .sf-art, .sf-story-img-0 .sf-art { font-size: 7rem; }
@media (max-width: 860px) {
  .sf-story { grid-template-columns: 1fr; gap: 2rem; margin: 3rem 0; }
  .sf-story-media { height: 340px; }
}

/* ---------- Misión / visión ---------- */
.sf-mv { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin: 2rem 0 4rem; }
.sf-mv-card { position: relative; overflow: hidden; border-radius: 2rem; padding: 2rem; color: #fff; min-height: 200px; }
.sf-mv-card::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 200px; height: 200px; border-radius: 50%; background: rgb(255 255 255 / .12); }
.sf-mv-card .sf-kicker { color: #fff; opacity: .85; margin-top: 1rem; }
.sf-mv-card p:last-child { font-size: 1.2rem; line-height: 1.5; font-weight: 600; margin: .4rem 0 0; position: relative; z-index: 1; }
.sf-mv-icon { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; font-size: 1.7rem; background: rgb(255 255 255 / .18); }
.sf-mv-mission { background: linear-gradient(140deg, var(--sf-primary), color-mix(in srgb, var(--sf-primary) 55%, #000)); }
.sf-mv-vision { background: linear-gradient(140deg, color-mix(in srgb, var(--sf-accent) 85%, #000), var(--sf-accent)); }
@media (max-width: 720px) { .sf-mv { grid-template-columns: 1fr; } }

/* ---------- Valores ---------- */
.sf-values { margin: 0 0 4rem; }
.sf-values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
.sf-value {
  background: var(--sf-card); border: 1px solid var(--sf-border); border-radius: 1.5rem; padding: 1.5rem;
  transition: transform .2s ease, box-shadow .2s ease;
}
.sf-value:hover { transform: translateY(-4px); box-shadow: var(--sf-shadow); }
.sf-value-icon {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 1.5rem;
  background: color-mix(in srgb, var(--sf-primary) 14%, transparent);
}
.sf-value h3 { margin: 1rem 0 .3rem; font-size: 1.15rem; }
.sf-value p { margin: 0; color: var(--sf-muted); line-height: 1.5; }

/* ---------- Galería ---------- */
.sf-gallery-section { margin: 4rem 0; }
.sf-gallery { columns: 3 220px; column-gap: 1rem; }
.sf-gallery figure { margin: 0 0 1rem; break-inside: avoid; border-radius: 1.5rem; overflow: hidden; box-shadow: var(--sf-shadow); }
.sf-gallery img { width: 100%; display: block; transition: transform .4s ease; }
.sf-gallery figure:nth-child(3n+1) img { aspect-ratio: 4/5; object-fit: cover; }
.sf-gallery figure:nth-child(3n+2) img { aspect-ratio: 1; object-fit: cover; }
.sf-gallery figure:nth-child(3n) img { aspect-ratio: 4/3; object-fit: cover; }
.sf-gallery figure:hover img { transform: scale(1.06); }

/* ---------- Banners ---------- */
.sf-banners { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1rem; margin: 3rem 0; }
.sf-banner { position: relative; border-radius: 1.75rem; overflow: hidden; min-height: 220px; background: linear-gradient(135deg, var(--sf-primary), var(--sf-accent)); color: #fff; }
.sf-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sf-banner > div { position: absolute; inset: auto 0 0 0; padding: 1.25rem; background: linear-gradient(transparent, rgb(0 0 0 / .7)); }
.sf-banner h3 { margin: 0; font-size: 1.35rem; }
.sf-banner p { margin: .25rem 0 0; opacity: .9; }
.sf-banner a { color: #fff; font-weight: 800; display: inline-block; margin-top: .4rem; }

/* ---------- Páginas internas ---------- */
.sf-page-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(600px 240px at 85% 30%, color-mix(in srgb, var(--sf-primary) 22%, transparent), transparent 70%),
    linear-gradient(120deg, color-mix(in srgb, var(--sf-primary) 16%, var(--sf-card)), var(--sf-card));
  border-bottom: 1px solid var(--sf-border);
}
.sf-page-hero-in { max-width: 1200px; margin: 0 auto; padding: 2.5rem 1.25rem 2.25rem; position: relative; z-index: 1; }
.sf-page-hero h1 { margin: .15rem 0 0; font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: -.035em; }
.sf-page-hero-sub { color: var(--sf-muted); margin: .5rem 0 0; max-width: 56ch; font-size: 1.05rem; }
.sf-page-hero-art { position: absolute; right: 6%; top: 50%; transform: translateY(-50%) rotate(-10deg); font-size: clamp(4rem, 12vw, 8rem); opacity: .9; filter: drop-shadow(0 18px 30px rgb(0 0 0 / .18)); }
.sf-crumbs { font-size: .85rem; color: var(--sf-muted); margin-bottom: .6rem; }
.sf-crumbs a { color: var(--sf-muted); text-decoration: none; }
.sf-crumbs a:hover { color: var(--sf-primary); }

.sf-empty-state { text-align: center; padding: 3rem 1.25rem; background: var(--sf-card); border: 1px dashed var(--sf-border); border-radius: 1.75rem; margin: 1.5rem 0; }
.sf-empty-state > span { font-size: 3.5rem; display: block; }
.sf-empty-state h3 { margin: .75rem 0 .35rem; font-size: 1.3rem; }
.sf-empty-state p { color: var(--sf-muted); margin: 0 auto; max-width: 44ch; }
.sf-empty-state .sf-btn { margin-top: 1.25rem; }

/* Promociones: tickets */
.sf-tickets { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; margin: 2rem 0; }
.sf-ticket {
  display: flex; border-radius: 1.5rem; overflow: hidden; color: #fff;
  background: linear-gradient(120deg, var(--sf-primary), var(--sf-accent));
  box-shadow: 0 18px 36px color-mix(in srgb, var(--sf-primary) 25%, transparent);
}
.sf-ticket-off {
  display: grid; place-items: center; padding: 1.25rem 1.4rem; font-size: 2rem; font-weight: 900; letter-spacing: -.03em;
  border-right: 3px dashed rgb(255 255 255 / .45); background: rgb(0 0 0 / .12);
}
.sf-ticket-body { padding: 1.1rem 1.25rem; }
.sf-ticket-body h3 { margin: 0; font-size: 1.15rem; }
.sf-ticket-body p { margin: .3rem 0 0; opacity: .9; font-size: .92rem; }

/* Ubicaciones */
.sf-locations { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.25rem; margin: 2rem 0; }
.sf-location { background: var(--sf-card); border: 1px solid var(--sf-border); border-radius: 1.75rem; overflow: hidden; box-shadow: var(--sf-shadow); }
.sf-location iframe { width: 100%; height: 240px; border: 0; display: block; }
.sf-location-body { padding: 1.25rem 1.35rem 1.4rem; }
.sf-location-body h3 { margin: 0 0 .5rem; font-size: 1.3rem; }
.sf-location-body p { margin: .2rem 0; color: var(--sf-muted); }

/* Contacto */
.sf-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: start; padding-top: 2rem; }
.sf-contact-cards { display: grid; gap: .85rem; }
.sf-contact-card {
  display: flex; gap: 1rem; align-items: center; text-decoration: none; color: var(--sf-ink);
  background: var(--sf-card); border: 1px solid var(--sf-border); border-radius: 1.35rem; padding: 1.1rem 1.2rem;
  transition: transform .15s ease, border-color .15s ease;
}
.sf-contact-card:hover { transform: translateX(4px); border-color: var(--sf-primary); }
.sf-contact-card > span { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 1.5rem; background: color-mix(in srgb, var(--sf-primary) 14%, transparent); flex: 0 0 auto; }
.sf-contact-card.is-wa > span { background: #dcfce7; }
.sf-contact-card h3 { margin: 0; font-size: 1.05rem; }
.sf-contact-card p { margin: .15rem 0 0; color: var(--sf-muted); overflow-wrap: anywhere; }
.sf-contact-social h3 { margin: .5rem 0 0; }
.sf-contact-form .sf-submit { margin-top: 1rem; }
@media (max-width: 860px) { .sf-contact { grid-template-columns: 1fr; } }

/* ---------- Pasos del pedido ---------- */
.sf-steps { list-style: none; display: flex; gap: .5rem; padding: 0; margin: 1.5rem 0 1.25rem; flex-wrap: wrap; }
.sf-steps li {
  padding: .5rem 1rem; border-radius: 999px; font-weight: 700; font-size: .88rem;
  background: var(--sf-card); border: 1px solid var(--sf-border); color: var(--sf-muted);
}
.sf-steps li a { color: inherit; text-decoration: none; }
.sf-steps li.is-on { background: var(--sf-primary); border-color: var(--sf-primary); color: #fff; }
.sf-steps li.is-done { color: var(--sf-primary); border-color: color-mix(in srgb, var(--sf-primary) 40%, var(--sf-border)); }
.sf-page.sf-page-wide { max-width: 1200px; }

/* ---------- Carrito ---------- */
.sf-cart-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.sf-cart-head h1 { margin: 0; font-size: clamp(1.8rem, 4vw, 2.6rem); letter-spacing: -.03em; }
.sf-cart-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 1.5rem; align-items: start; margin-top: 1.25rem; }
@media (max-width: 900px) { .sf-cart-grid { grid-template-columns: 1fr; } }
.sf-cart-list { display: grid; gap: .85rem; }
.sf-cart-item {
  display: grid; grid-template-columns: 84px 1fr 112px 96px 34px; gap: 1rem; align-items: center;
  background: var(--sf-card); border: 1px solid var(--sf-border); border-radius: 1.35rem; padding: .85rem;
}
.sf-cart-thumb {
  position: relative; width: 84px; height: 84px; border-radius: 1rem; overflow: hidden; display: grid; place-items: center; text-decoration: none;
  background: linear-gradient(145deg, color-mix(in srgb, var(--sf-primary) 45%, #fff), var(--sf-primary)); color: #fff; font-weight: 900; font-size: 1.8rem;
}
.sf-cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sf-cart-thumb.sm { width: 52px; height: 52px; border-radius: .8rem; font-size: 1.2rem; overflow: visible; flex: 0 0 auto; }
.sf-cart-thumb.sm img { border-radius: .8rem; }
.sf-cart-thumb.sm b {
  position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; border-radius: 999px; font-size: .72rem;
  display: grid; place-items: center; background: var(--sf-ink); color: var(--sf-paper);
}
.sf-cart-info { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.sf-cart-info a { color: var(--sf-ink); text-decoration: none; }
.sf-cart-info strong { font-size: 1.02rem; }
.sf-cart-info small { color: var(--sf-muted); font-size: .84rem; }
.sf-stepper { display: inline-flex; align-items: center; border: 1px solid var(--sf-border); border-radius: 999px; overflow: hidden; }
.sf-stepper button { width: 36px; height: 36px; border: 0; background: transparent; color: var(--sf-ink); font-size: 1.15rem; cursor: pointer; }
.sf-stepper button:hover { background: color-mix(in srgb, var(--sf-primary) 12%, transparent); color: var(--sf-primary); }
.sf-stepper b { min-width: 28px; text-align: center; }
.sf-cart-line-total { font-size: 1.05rem; white-space: nowrap; text-align: right; }
.sf-cart-remove { width: 34px; height: 34px; border-radius: 50%; border: 0; background: transparent; color: var(--sf-muted); cursor: pointer; }
.sf-cart-remove:hover { background: #fee2e2; color: #b91c1c; }
@media (max-width: 600px) {
  .sf-cart-item { grid-template-columns: 64px 1fr auto; grid-template-areas: "t i x" "t s p"; row-gap: .5rem; }
  .sf-cart-item .sf-cart-thumb { grid-area: t; width: 64px; height: 64px; }
  .sf-cart-item .sf-cart-info { grid-area: i; }
  .sf-cart-item .sf-stepper { grid-area: s; justify-self: start; }
  .sf-cart-item .sf-cart-line-total { grid-area: p; }
  .sf-cart-item .sf-cart-remove { grid-area: x; }
}
.sf-cart-summary {
  position: sticky; top: 5.5rem; background: var(--sf-card); border: 1px solid var(--sf-border);
  border-radius: 1.5rem; padding: 1.35rem; box-shadow: var(--sf-shadow);
}
.sf-cart-summary h2 { margin: 0 0 1rem; font-size: 1.2rem; display: flex; justify-content: space-between; align-items: center; }
.sf-checkout-grid > aside { position: sticky; top: 5.5rem; }
.sf-checkout-grid .sf-cart-summary { position: static; }
.sf-sum-row { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; color: var(--sf-ink); }
.sf-sum-row.is-muted { color: var(--sf-muted); font-size: .9rem; }
.sf-sum-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px dashed var(--sf-border); margin: .75rem 0 1rem; padding-top: .9rem; font-weight: 700; }
.sf-sum-total strong { font-size: 1.6rem; letter-spacing: -.02em; color: var(--sf-primary); }
.sf-submit-link { display: block; text-align: center; text-decoration: none; box-sizing: border-box; }
.sf-continue { display: block; text-align: center; margin-top: .8rem; color: var(--sf-muted); font-weight: 700; text-decoration: none; }
.sf-trust { list-style: none; padding: 1rem 0 0; margin: 1rem 0 0; border-top: 1px solid var(--sf-border); display: grid; gap: .45rem; color: var(--sf-muted); font-size: .88rem; }
.sf-edit-link { font-size: .88rem; color: var(--sf-primary); font-weight: 700; text-decoration: none; }

/* ---------- Seguimiento / producto ---------- */
.sf-track { text-align: center; padding: 1rem 0 1.5rem; }
.sf-track-icon { font-size: 3rem; }
.sf-track h1 { margin: .4rem 0 0; font-size: 2rem; }
.sf-track-status { display: inline-block; margin: 1rem 0 .4rem; background: var(--sf-primary); color: #fff; font-weight: 800; border-radius: 999px; padding: .55rem 1.3rem; font-size: 1.05rem; }
.sf-added { margin: .75rem 0 0; padding: .7rem .9rem; border-radius: .85rem; background: #ecfdf5; color: #065f46; font-weight: 700; }
.sf-added a { color: inherit; }
