/*
Theme Name: Super Norte
Theme URI: https://supernorte.co
Author: Joseph Hernández
Description: Tema oficial Super Norte - Réplica Pixel-Perfect Propuesta 1 (Vibrant Coastal Bodega)
Version: 8.1
License: GPL v2 or later
Text Domain: supernorte
*/

:root {
  /* Paleta Exacta Propuesta 1 */
  --canvas-bg: #F5F2EB;
  --white: #FFFFFF;
  --card-bg: #FFFFFF;
  
  --forest-green: #0A3622;
  --forest-dark: #072718;
  --forest-soft: #14532D;

  --coral-orange: #FF5A36;
  --coral-hover: #E84622;
  --coral-soft: #FFF1EE;

  --lime-green: #84CC16;
  --lime-bright: #A3E635;
  --lime-soft: #F7FEE7;

  --text-title: #0A3622;
  --text-body: #475569;
  --text-muted: #64748B;

  --border-light: #E7E3D8;
  --whatsapp: #25D366;

  /* Tipografías */
  --font-outfit: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', 'DM Sans', sans-serif;

  /* Radios */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Sombras */
  --shadow-subtle: 0 4px 20px rgba(10, 54, 34, 0.05);
  --shadow-card: 0 10px 25px rgba(10, 54, 34, 0.08);
  --shadow-hover: 0 18px 36px rgba(10, 54, 34, 0.12);

  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset y Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--canvas-bg);
  color: var(--text-body);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

/* Marca de Agua Botánica Sutil en Background */
body::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 500px;
  height: 600px;
  background-image: radial-gradient(circle at 80% 20%, rgba(132, 204, 22, 0.08) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

img, svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s var(--ease-spring);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-outfit);
  font-weight: 800;
  color: var(--text-title);
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Accesibilidad */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--forest-green);
  color: #FFFFFF;
  padding: 12px 24px;
  z-index: 1000;
  font-weight: 700;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 3px solid var(--coral-orange);
  outline-offset: 3px;
}

/* ===== 1. TOP BAR (Deep Forest Green Strip) ===== */
.top-bar-exact {
  background: var(--forest-green);
  color: #FFFFFF;
  padding: 10px 0;
  font-family: var(--font-outfit);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.top-bar-flex {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.status-beacon-exact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--lime-bright);
}

.dot-pulse {
  width: 9px;
  height: 9px;
  border-radius: var(--radius-full);
  background-color: var(--lime-bright);
  box-shadow: 0 0 0 3px rgba(163, 230, 53, 0.4);
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(163, 230, 53, 0.7); }
  70% { transform: scale(1.15); box-shadow: 0 0 0 8px rgba(163, 230, 53, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(163, 230, 53, 0); }
}

/* ===== 2. NAVBAR (Clean Brand & Frosted Capsule Menu) ===== */
header.site-header {
  padding: 20px 0;
  background: transparent;
}

.nav-layout-exact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Brand Logo (Sun & Leaves in Circle) */
.brand-group-exact {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-icon-leaf {
  width: 76px;
  height: 76px;
  border-radius: var(--radius-full);
  background: var(--forest-green);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
  box-shadow: 0 4px 12px rgba(10, 54, 34, 0.15);
}

.brand-icon-leaf img {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-full);
  object-fit: cover;
}

.brand-text-exact {
  font-family: var(--font-outfit);
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--forest-green);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.brand-text-exact span {
  display: block;
}

/* Frosted Glass Navigation Capsule */
.nav-capsule-exact {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}

.nav-capsule-exact a {
  padding: 8px 18px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--forest-green);
  border-radius: var(--radius-full);
}

.nav-capsule-exact a:hover {
  background: rgba(255, 255, 255, 0.95);
  color: var(--coral-orange);
}

.nav-capsule-exact a[aria-current="page"],
.nav-capsule-exact .current-menu-item > a {
  background: var(--forest-green);
  color: #FFFFFF;
}

/* ===== 3. HERO SECTION ===== */
.hero-v2 {
  padding: 44px 0 68px;
}

.hero-v2-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 52px;
  align-items: center;
}

/* Estado de la tienda: sale de supernorte_get_store_status(), no es un adorno */
.hero-v2-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px 8px 13px;
  margin-bottom: 26px;
  border-radius: var(--radius-full);
  background: var(--white);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-subtle);
  font-size: 0.86rem;
}

.hero-v2-status strong {
  font-family: var(--font-outfit);
  font-weight: 700;
  color: var(--forest-green);
}

.hero-v2-status > span:last-child {
  color: var(--text-muted);
}

.hero-v2-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--lime-green);
  box-shadow: 0 0 0 4px rgba(132, 204, 22, 0.18);
}

.status-closed .hero-v2-dot {
  background: #94A3B8;
  box-shadow: 0 0 0 4px rgba(148, 163, 184, 0.18);
}

/* Sin text-wrap: balance — el <br> ya fija el corte y balance lo pelea */
.hero-v2-title {
  font-size: clamp(1.95rem, 3.8vw, 3.2rem);
  font-weight: 900;
  color: var(--forest-green);
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin-bottom: 20px;
}

.hero-v2-title span {
  color: var(--coral-orange);
}

.hero-v2-sub {
  font-size: 1.09rem;
  color: var(--text-body);
  line-height: 1.65;
  max-width: 30rem;
  margin-bottom: 32px;
  text-wrap: pretty;
}

.hero-v2-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-v2-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  list-style: none;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}

.hero-v2-facts li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hero-v2-facts svg {
  flex-shrink: 0;
  color: var(--forest-soft);
}

/* Botones de Propuesta 1 */
.btn-pill-coral {
  background: var(--coral-orange);
  color: #FFFFFF;
  padding: 15px 34px;
  border-radius: var(--radius-full);
  font-family: var(--font-outfit);
  font-size: 1.02rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(255, 90, 54, 0.35);
}

.btn-pill-coral:hover {
  background: var(--coral-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255, 90, 54, 0.45);
}

.btn-pill-white {
  background: transparent;
  color: var(--forest-green);
  border: 2px solid var(--forest-green);
  padding: 13px 30px;
  border-radius: var(--radius-full);
  font-family: var(--font-outfit);
  font-size: 1.02rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-pill-white:hover {
  background: var(--forest-green);
  color: #FFFFFF;
  transform: translateY(-2px);
}

/* Mosaico de producto real (columna derecha) */
.hero-v2-mosaic {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.hero-v2-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-v2-col--offset {
  margin-top: 34px;
}

.hero-v2-tile {
  position: relative;
  margin: 0;
  height: 200px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.hero-v2-tile--lg {
  height: 248px;
}

.hero-v2-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-spring);
}

.hero-v2-tile:hover img {
  transform: scale(1.05);
}

.hero-v2-tile figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 30px 16px 14px;
  background: linear-gradient(to top, rgba(7, 39, 24, 0.86), rgba(7, 39, 24, 0));
  color: var(--white);
  font-family: var(--font-outfit);
  font-weight: 700;
  font-size: 0.94rem;
  letter-spacing: -0.01em;
}

/* Se monta sobre la esquina de la foto de carnes, no flota suelto */
.hero-v2-badge {
  position: relative;
  z-index: 2;
  align-self: flex-start;
  margin-top: -28px;
  margin-left: -26px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px 14px 16px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-hover);
}

.hero-v2-badge svg {
  flex-shrink: 0;
  color: var(--coral-orange);
}

.hero-v2-badge strong {
  display: block;
  font-family: var(--font-outfit);
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--forest-green);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero-v2-badge span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ===== 4. CATEGORY CARDS (4 Cards Exact Layout) ===== */
.section-cards-exact {
  padding: 30px 0 80px;
}

.cards-quad-grid-exact {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.card-item-exact {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  transition: all 0.3s var(--ease-spring);
}

.card-item-exact:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

/* Top Pill Header */
.card-header-pill {
  padding: 10px 16px;
  font-family: var(--font-outfit);
  font-size: 0.92rem;
  font-weight: 800;
  text-align: center;
  color: #FFFFFF;
}

.card-header-pill.pill-coral {
  background: var(--coral-orange);
}

.card-header-pill.pill-lime {
  background: var(--lime-green);
  color: var(--forest-green);
}

.card-photo-box {
  aspect-ratio: 16/11;
  overflow: hidden;
}

.card-photo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-spring);
}

.card-item-exact:hover .card-photo-box img {
  transform: scale(1.06);
}

.card-desc-box {
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.card-desc-box h3 {
  font-size: 1.18rem;
  color: var(--forest-green);
  margin-bottom: 6px;
}

.card-desc-box p {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.5;
  margin-bottom: 18px;
}

/* Botón Ver Más Pill */
.btn-ver-mas-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-family: var(--font-outfit);
  font-size: 0.88rem;
  font-weight: 700;
  align-self: flex-start;
  transition: all 0.2s var(--ease-spring);
}

.btn-ver-mas-pill.btn-coral-soft {
  background: var(--coral-soft);
  color: var(--coral-orange);
  border: 1px solid rgba(255, 90, 54, 0.3);
}

.btn-ver-mas-pill.btn-coral-soft:hover {
  background: var(--coral-orange);
  color: #FFFFFF;
}

.btn-ver-mas-pill.btn-lime-soft {
  background: var(--lime-soft);
  color: var(--forest-green);
  border: 1px solid rgba(132, 204, 22, 0.4);
}

.btn-ver-mas-pill.btn-lime-soft:hover {
  background: var(--lime-green);
  color: var(--forest-green);
}

/* ===== 5. SECTION VALORES / PILARES ===== */
.section-pillars-clean {
  padding: 40px 0 80px;
}

.pillars-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.pillar-box-clean {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-subtle);
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.pillar-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--lime-soft);
  color: var(--forest-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}

.pillar-text-box h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
  color: var(--forest-green);
}

.pillar-text-box p {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.6;
}

/* ===== 6. UBICACIÓN & CONTACTO ===== */
.section-location-clean {
  padding-bottom: 80px;
}

.location-2col {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
  align-items: stretch;
}

.location-info-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 36px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-subtle);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.loc-item-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.loc-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--canvas-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.location-map-frame {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-subtle);
  min-height: 380px;
}

.location-map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
  display: block;
}

/* ===== 7. FOOTER ===== */
footer.site-footer {
  background: var(--forest-green);
  color: #FFFFFF;
  padding: 60px 0 30px;
}

.footer-quad-exact {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-col-exact h4 {
  font-family: var(--font-outfit);
  font-size: 1.15rem;
  color: #FFFFFF;
  margin-bottom: 16px;
}

.footer-col-exact ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col-exact a {
  color: #D1FAE5;
  font-size: 0.92rem;
}

.footer-col-exact a:hover {
  color: var(--lime-bright);
}

.footer-copy-row {
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #A7F3D0;
  flex-wrap: wrap;
  gap: 12px;
}

/* ===== 8. FLOATING WHATSAPP PILL (Exact as Mockup 1) ===== */
.status-beacon-exact.status-closed .dot-pulse {
  background: #94A3B8;
  animation: none;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-v2-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-v2-sub { max-width: none; }
  .hero-v2-badge { left: 14px; }
  .cards-quad-grid-exact { grid-template-columns: repeat(2, 1fr); }
  .pillars-2col { grid-template-columns: 1fr; }
  .location-2col { grid-template-columns: 1fr; }
  .footer-quad-exact { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-capsule-exact { display: none; }
  .footer-quad-exact { grid-template-columns: 1fr; }
  .brand-icon-leaf { width: 64px; height: 64px; }
}

@media (max-width: 480px) {
  .cards-quad-grid-exact { grid-template-columns: 1fr; }
  .hero-v2-actions { flex-direction: column; align-items: stretch; }
  .hero-v2-actions a { width: 100%; }
  .hero-v2-col--offset { margin-top: 0; }
  .hero-v2-tile,
  .hero-v2-tile--lg { height: 138px; }
  .hero-v2-badge { margin: 0; align-self: stretch; }
}

/* =========================================================================
   HOME — implementa el bloque isInicio de SitioWeb.dc.html
   ========================================================================= */

/* Las animaciones del diseño */
@keyframes sn-spin    { to { transform: rotate(360deg); } }
@keyframes sn-marquee { to { transform: translateX(-50%); } }
@keyframes sn-rise    { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes sn-float   { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* La entrada al hacer scroll usa animation-timeline donde exista; donde no,
   el elemento se queda visible gracias al `both`. */
.sn-rise { animation: sn-rise 0.7s var(--ease-spring) both; }
@supports (animation-timeline: view()) {
  .sn-rise { animation-timeline: view(); animation-range: entry 0% entry 40%; }
}
@media (prefers-reduced-motion: reduce) {
  .sn-rise { animation: none; }
  .sn-cinta-pista, .sn-sello-texto { animation: none !important; }
}

.sn-wrap {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 26px;
  position: relative;
  z-index: 1;
}

.sn-h2 {
  font-family: var(--font-outfit);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--forest-green);
  letter-spacing: -0.03em;
  margin-top: 52px;
}

.sn-h2-fila {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-top: 44px;
}
.sn-h2-fila .sn-h2 { margin-top: 0; }

.sn-ver-todas {
  font-family: var(--font-outfit);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--coral-orange);
  white-space: nowrap;
}

/* ----- Hero ----- */
.sn-hero { padding: 44px 0 30px; }

.sn-hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 52px;
  align-items: center;
}

.sn-hero-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px 8px 13px;
  margin-bottom: 26px;
  border-radius: var(--radius-full);
  background: var(--white);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-subtle);
  font-size: 0.86rem;
  white-space: nowrap;
}
.sn-hero-status strong { font-family: var(--font-outfit); font-weight: 700; color: var(--forest-green); }
.sn-hero-status > span { color: var(--text-muted); }
.sn-hero-status i {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--lime-green); box-shadow: 0 0 0 4px rgba(132, 204, 22, 0.18);
}
.sn-hero-status.status-closed i { background: var(--coral-orange); box-shadow: 0 0 0 4px rgba(255, 90, 54, 0.18); }

.sn-hero-eyebrow {
  display: block;
  font-family: var(--font-outfit);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--coral-orange);
  margin-bottom: 12px;
}

.sn-hero-title {
  font-size: clamp(2.3rem, 4.4vw, 4rem);
  font-weight: 900;
  color: var(--forest-green);
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin-bottom: 22px;
}
/* Subrayado tipo marcador, como en el diseño */
.sn-hero-title .marca {
  background: linear-gradient(transparent 60%, var(--lime-bright) 60%);
  padding: 0 6px 3px;
  margin-left: -6px;
}
.sn-hero-title .coral { color: var(--coral-orange); }
.sn-hero-title .punto { color: var(--forest-green); }

.sn-hero-sub {
  font-size: 1.12rem;
  line-height: 1.68;
  max-width: 31rem;
  margin-bottom: 32px;
  text-wrap: pretty;
}
.sn-hero-sub strong { color: var(--forest-green); font-weight: 700; }

.sn-hero-cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

.sn-btn-coral {
  display: inline-flex; align-items: center; justify-content: center;
  height: 56px; padding: 0 34px;
  border-radius: var(--radius-full);
  background: linear-gradient(180deg, #FF7350, #FF5A36 55%, #F04E2B);
  color: #FFFFFF;
  font-family: var(--font-outfit); font-size: 1.02rem; font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 2px 0 #C93A1C, 0 10px 26px rgba(255, 90, 54, 0.35);
  transition: all 0.25s var(--ease-spring);
}
.sn-btn-coral:hover {
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 4px 0 #C93A1C, 0 16px 32px rgba(255, 90, 54, 0.42);
}

.sn-btn-linea {
  display: inline-flex; align-items: center; justify-content: center;
  height: 56px; padding: 0 30px;
  border-radius: var(--radius-full);
  background: var(--white);
  border: 2px solid var(--forest-green);
  color: var(--forest-green);
  font-family: var(--font-outfit); font-size: 1.02rem; font-weight: 700;
  box-shadow: 0 4px 14px rgba(10, 54, 34, 0.08);
  transition: all 0.25s var(--ease-spring);
}
.sn-btn-linea:hover { background: var(--forest-green); color: #FFFFFF; transform: translateY(-2px); }

.sn-hero-facts {
  display: flex; flex-wrap: wrap; gap: 12px 28px;
  list-style: none;
  margin-top: 36px; padding-top: 24px;
  border-top: 1px solid var(--border-light);
}
.sn-hero-facts li { display: flex; align-items: center; gap: 9px; font-size: 0.9rem; color: var(--text-muted); }
.sn-hero-facts svg { flex-shrink: 0; }

/* ----- Mosaico y sello giratorio ----- */
.sn-hero-mosaico {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.sn-mosaico-col { display: flex; flex-direction: column; gap: 18px; }
.sn-mosaico-col.desfase { margin-top: 34px; }

.sn-tile {
  margin: 0; height: 200px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.sn-tile.lg { height: 248px; }
.sn-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease-spring); }
.sn-tile:hover img { transform: scale(1.05); }

.sn-badge-hora {
  position: relative; z-index: 2;
  align-self: flex-start;
  margin-top: -28px; margin-left: -8px;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 22px 14px 16px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-hover);
}
.sn-badge-hora strong {
  display: block;
  font-family: var(--font-outfit); font-size: 1.08rem; font-weight: 800;
  color: var(--forest-green); line-height: 1.15; letter-spacing: -0.02em;
}
.sn-badge-hora span { font-size: 0.8rem; color: var(--text-muted); }

.sn-sello {
  position: absolute;
  left: -76px; top: 40%;
  width: 156px; height: 156px;
  z-index: 3;
  filter: drop-shadow(0 16px 32px rgba(10, 54, 34, 0.22));
}
.sn-sello-fondo { position: absolute; inset: 0; border-radius: 50%; background: var(--white); }
.sn-sello-texto { position: absolute; inset: 0; animation: sn-spin 18s linear infinite; }
.sn-sello-video {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 86px; height: 86px;
  border-radius: 50%; object-fit: cover;
}

/* ----- Cinta ----- */
.sn-cinta {
  margin: 52px 0 0;
  background: var(--forest-green);
  padding: 13px 0;
  overflow: hidden;
  transform: rotate(-1.2deg);
}
.sn-cinta-pista {
  display: flex;
  width: max-content;
  animation: sn-marquee 26s linear infinite;
}
.sn-cinta-pista span {
  white-space: nowrap;
  font-family: var(--font-outfit); font-weight: 900; font-size: 1rem;
  letter-spacing: 0.14em;
  color: var(--lime-bright);
  padding-right: 24px;
}

/* ----- Secciones ----- */
.sn-secciones {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 18px;
}

.sn-seccion {
  position: relative;
  display: block;
  height: 235px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all 0.3s var(--ease-spring);
}
.sn-seccion:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(10, 54, 34, 0.18); }
.sn-seccion video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sn-seccion-velo {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7, 39, 24, 0) 32%, rgba(7, 39, 24, 0.88));
}
.sn-seccion-pie { position: absolute; left: 18px; right: 18px; bottom: 16px; }
.sn-seccion-pie strong {
  display: block;
  font-family: var(--font-outfit); font-size: 1.15rem; font-weight: 800;
  color: #FFFFFF; letter-spacing: -0.01em;
}
.sn-seccion-pie > div {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 4px;
  font-size: 0.8rem; color: #D9E4DD;
}
.sn-seccion-pie .ver {
  font-family: var(--font-outfit); font-size: 0.78rem; font-weight: 800;
  color: var(--lime-bright);
}

/* ----- Tarjeta de producto ----- */
.sn-grid-prod {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 18px;
  padding-bottom: 14px;
}

.sn-p {
  display: flex; flex-direction: column; height: 100%;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s var(--ease-spring);
}
.sn-p:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }

.sn-p-thumb {
  position: relative; height: 148px;
  display: flex; align-items: center; justify-content: center;
}
.sn-p-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sn-p-flag {
  position: absolute; z-index: 2; top: 12px; left: 12px;
  padding: 5px 10px; border-radius: var(--radius-sm);
  background: var(--coral-orange); color: #FFFFFF;
  font-family: var(--font-outfit); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.04em;
}

.sn-p-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; flex-grow: 1; }
.sn-p-name { font-size: 0.98rem; font-weight: 600; color: var(--forest-green); line-height: 1.3; }
.sn-p-name:hover { color: var(--coral-orange); }
.sn-p-unit { font-size: 0.8rem; color: var(--text-muted); }
.sn-p-prices { display: flex; align-items: baseline; gap: 9px; margin-top: 4px; }
.sn-p-price {
  font-family: var(--font-outfit); font-size: 1.45rem; font-weight: 800;
  color: var(--coral-orange); letter-spacing: -0.02em;
}
.sn-p-price.off { color: #94A3B8; }
.sn-p-was { font-size: 0.84rem; color: #9AA6A0; text-decoration: line-through; }
.sn-p-kilo { font-size: 0.76rem; color: var(--text-muted); }

.sn-p-stock { display: inline-flex; align-items: center; gap: 6px; font-size: 0.76rem; }
.sn-p-stock i { width: 7px; height: 7px; border-radius: 50%; }
.sn-p-stock.ok { color: #4D7C0F; }
.sn-p-stock.ok i { background: var(--lime-green); }
.sn-p-stock.low { color: var(--coral-orange); }
.sn-p-stock.low i { background: var(--coral-orange); }
.sn-p-stock.out { color: var(--text-muted); font-size: 0.8rem; }

.sn-p-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; margin-top: auto;
  border-radius: var(--radius-sm);
  background: var(--forest-green); color: #FFFFFF;
  font-family: var(--font-outfit); font-weight: 700; font-size: 0.92rem;
}
.sn-p-btn:hover { background: var(--forest-dark); color: #FFFFFF; }
.sn-p-btn.muerto { background: var(--border-light); color: #9AA6A0; cursor: not-allowed; }
.sn-p-btn.muerto:hover { background: var(--border-light); color: #9AA6A0; }
.sn-p-btn.wa { background: var(--forest-green); }

.sn-p-stepper {
  display: flex; align-items: center; justify-content: space-between;
  height: 44px; margin-top: auto;
  border: 1.5px solid var(--forest-green);
  border-radius: var(--radius-sm);
  background: var(--white);
}
.sn-p-stepper a {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 100%;
  color: var(--forest-green);
  font-family: var(--font-outfit); font-weight: 700; font-size: 1.2rem;
}
.sn-p-stepper a:hover { background: var(--lime-soft); color: var(--forest-green); }
.sn-p-stepper span { font-family: var(--font-outfit); font-weight: 800; color: var(--forest-green); }

/* ----- Domicilio ----- */
.sn-domicilio-wrap { padding-top: 48px; }
.sn-domicilio {
  position: relative; height: 280px;
  border-radius: 28px; overflow: hidden;
  box-shadow: 0 14px 30px rgba(10, 54, 34, 0.14);
}
.sn-domicilio video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sn-domicilio-velo {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(7, 39, 24, 0.85) 0%, rgba(7, 39, 24, 0.4) 55%, rgba(7, 39, 24, 0) 100%);
}
.sn-domicilio-texto {
  position: absolute; left: 34px; top: 50%;
  transform: translateY(-50%);
  max-width: 26rem; padding-right: 20px;
}
.sn-domicilio-texto strong {
  display: block;
  font-family: var(--font-outfit); font-size: 1.7rem; font-weight: 900;
  color: #FFFFFF; line-height: 1.12; letter-spacing: -0.02em;
}
.sn-domicilio-texto strong span { color: var(--lime-bright); }
.sn-domicilio-texto p { margin-top: 8px; font-size: 0.94rem; color: #D9E4DD; }
.sn-domicilio-texto a {
  display: inline-flex; align-items: center; justify-content: center;
  height: 46px; padding: 0 26px; margin-top: 16px;
  border-radius: var(--radius-full);
  background: var(--whatsapp); color: #FFFFFF;
  font-family: var(--font-outfit); font-weight: 700; font-size: 0.92rem;
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.4);
}
.sn-domicilio-texto a:hover { background: #1FB959; color: #FFFFFF; }

/* ----- Servicio ----- */
.sn-servicio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding-top: 24px;
  padding-bottom: 56px;
}
.sn-servicio-card {
  display: flex; align-items: flex-start; gap: 16px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 22px 24px;
}
.sn-servicio-ico {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  border-radius: 14px;
  flex-shrink: 0;
}
.sn-servicio-card strong {
  display: block;
  font-family: var(--font-outfit); font-size: 1.02rem; font-weight: 800;
  color: var(--forest-green); letter-spacing: -0.01em;
}
.sn-servicio-card p { margin-top: 4px; font-size: 0.88rem; color: var(--text-muted); }

/* ----- Botón de pedido en el carrito de WooCommerce ----- */
.sn-wa-checkout {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; height: 54px;
  border-radius: var(--radius-full);
  background: var(--whatsapp); color: #FFFFFF;
  font-family: var(--font-outfit); font-weight: 700; font-size: 1rem;
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.35);
}
.sn-wa-checkout:hover { background: #1FB959; color: #FFFFFF; }
.sn-wa-nota { margin-top: 12px; font-size: 0.84rem; color: var(--text-muted); line-height: 1.5; }

/* ----- Móvil ----- */
@media (max-width: 1024px) {
  .sn-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .sn-hero-sub { max-width: none; }
  .sn-sello { left: auto; right: 8px; top: -30px; width: 116px; height: 116px; }
  .sn-sello-video { width: 64px; height: 64px; }
  .sn-secciones { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sn-grid-prod { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sn-servicio { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .sn-hero-cta { flex-direction: column; align-items: stretch; }
  .sn-hero-cta a { width: 100%; }
  .sn-tile, .sn-tile.lg { height: 150px; }
  .sn-mosaico-col.desfase { margin-top: 0; }
  .sn-badge-hora { margin: 0; align-self: stretch; }
  .sn-domicilio { height: 340px; }
  .sn-domicilio-texto { left: 22px; right: 22px; padding-right: 0; }
  .sn-cinta-pista span { font-size: 0.86rem; }
}

/* =========================================================================
   CATÁLOGO Y FICHA — bloques isCatalogo e isProducto de SitioWeb.dc.html
   ========================================================================= */

.sn-catalogo { padding-top: 36px; padding-bottom: 50px; }

.sn-cat-titulo {
  font-family: var(--font-outfit);
  font-size: 2.1rem;
  font-weight: 900;
  color: var(--forest-green);
  letter-spacing: -0.03em;
}

.sn-buscador {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 54px;
  padding: 0 10px 0 22px;
  margin-top: 20px;
  background: var(--white);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-subtle);
}
.sn-buscador:focus-within { border-color: var(--forest-green); }
.sn-buscador svg { flex-shrink: 0; }
.sn-buscador input {
  flex-grow: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--forest-green);
}
.sn-buscador input::placeholder { color: #9AA6A0; }
.sn-buscador-limpiar {
  display: flex; align-items: center; justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--canvas-bg);
  color: var(--text-muted);
  font-size: 1.1rem; line-height: 1;
  flex-shrink: 0;
}
.sn-buscador-limpiar:hover { background: var(--border-light); color: var(--forest-green); }
.sn-buscador button {
  height: 40px;
  padding: 0 22px;
  border: 0;
  border-radius: var(--radius-full);
  background: var(--forest-green);
  color: #FFFFFF;
  font-family: var(--font-outfit);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  flex-shrink: 0;
}
.sn-buscador button:hover { background: var(--forest-dark); }

.sn-chips {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.sn-chip {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 18px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border-light);
  background: var(--white);
  color: var(--forest-green);
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
}
.sn-chip:hover { border-color: var(--forest-green); color: var(--forest-green); }
.sn-chip.on { border-color: var(--forest-green); background: var(--forest-green); color: #FFFFFF; }
.sn-chip.on:hover { color: #FFFFFF; }

.sn-catalogo-grid { margin-top: 26px; }

.sn-sin-resultados {
  margin-top: 30px;
  padding: 34px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  text-align: center;
}
.sn-sin-resultados strong {
  font-family: var(--font-outfit);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--forest-green);
}
.sn-sin-resultados p { margin-top: 6px; font-size: 0.92rem; color: var(--text-muted); }
.sn-sin-resultados a {
  display: inline-flex; align-items: center; justify-content: center;
  height: 44px; padding: 0 24px; margin-top: 16px;
  border-radius: var(--radius-full);
  background: var(--whatsapp); color: #FFFFFF;
  font-family: var(--font-outfit); font-weight: 700; font-size: 0.9rem;
}
.sn-sin-resultados a:hover { background: #1FB959; color: #FFFFFF; }

/* ----- Ficha ----- */
.sn-ficha { padding-top: 26px; padding-bottom: 50px; }

.sn-migas {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0.86rem;
  color: var(--text-muted);
}
.sn-migas a { color: var(--text-muted); }
.sn-migas a:hover { color: var(--coral-orange); }
.sn-migas b { color: var(--forest-green); font-weight: 600; }

.sn-ficha-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  margin-top: 24px;
  align-items: start;
}

.sn-ficha-foto {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 400px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.sn-ficha-foto img { width: 100%; height: 100%; object-fit: cover; }

.sn-ficha-miniaturas {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}
.sn-ficha-miniaturas figure {
  margin: 0;
  height: 96px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  background: var(--canvas-bg);
}
.sn-ficha-miniaturas img { width: 100%; height: 100%; object-fit: cover; }

.sn-ficha-info h1 {
  font-family: var(--font-outfit);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--forest-green);
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.sn-ficha-unit { margin-top: 6px; font-size: 0.95rem; color: var(--text-muted); }

.sn-ficha-precios { display: flex; align-items: baseline; gap: 12px; margin-top: 16px; }
.sn-ficha-precio {
  font-family: var(--font-outfit);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--coral-orange);
  letter-spacing: -0.02em;
}
.sn-ficha-precio.off { color: #94A3B8; }
.sn-ficha-was { font-size: 1.05rem; color: #9AA6A0; text-decoration: line-through; }
.sn-ficha-kilo { font-size: 0.86rem; color: var(--text-muted); margin-top: 2px; }
.sn-ficha-stock { margin-top: 12px; }
.sn-ficha-stock .sn-p-stock { font-size: 0.86rem; }
.sn-ficha-stock .sn-p-stock i { width: 8px; height: 8px; }
.sn-ficha-desc { margin-top: 18px; font-size: 1rem; max-width: 32rem; text-wrap: pretty; }

.sn-ficha-acciones {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 26px;
  max-width: 26rem;
}

.sn-ficha-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 34px;
  border-radius: var(--radius-full);
  background: linear-gradient(180deg, #FF7350, #FF5A36 55%, #F04E2B);
  color: #FFFFFF;
  font-family: var(--font-outfit); font-weight: 700; font-size: 1rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 2px 0 #C93A1C, 0 10px 24px rgba(255, 90, 54, 0.35);
  transition: all 0.25s var(--ease-spring);
}
.sn-ficha-btn:hover {
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 4px 0 #C93A1C, 0 16px 30px rgba(255, 90, 54, 0.42);
}
.sn-ficha-btn.muerto {
  background: var(--border-light); color: #9AA6A0;
  box-shadow: none; cursor: not-allowed;
}
.sn-ficha-btn.muerto:hover { transform: none; box-shadow: none; color: #9AA6A0; }
.sn-ficha-btn.wa { background: var(--coral-orange); box-shadow: 0 8px 24px rgba(255, 90, 54, 0.35); }

.sn-ficha-stepper {
  display: flex; align-items: center; justify-content: space-between;
  height: 52px; width: 170px;
  border: 1.5px solid var(--forest-green);
  border-radius: var(--radius-full);
  background: var(--white);
}
.sn-ficha-stepper a {
  display: flex; align-items: center; justify-content: center;
  width: 52px; height: 100%;
  color: var(--forest-green);
  font-family: var(--font-outfit); font-weight: 700; font-size: 1.3rem;
  border-radius: var(--radius-full);
}
.sn-ficha-stepper a:hover { background: var(--lime-soft); color: var(--forest-green); }
.sn-ficha-stepper span {
  font-family: var(--font-outfit); font-weight: 800; font-size: 1.05rem;
  color: var(--forest-green);
}

.sn-ficha-ir-carrito {
  font-family: var(--font-outfit);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--coral-orange);
}

.sn-ficha-nota { margin-top: 18px; font-size: 0.84rem; color: var(--text-muted); }
.sn-ficha-h2 { margin-top: 44px; font-size: 1.4rem; }

@media (max-width: 1024px) {
  .sn-ficha-grid { grid-template-columns: 1fr; gap: 30px; }
  .sn-ficha-foto { height: 320px; }
}

@media (max-width: 760px) {
  .sn-buscador { padding-left: 16px; }
  .sn-buscador button { padding: 0 16px; }
  .sn-ficha-acciones { flex-direction: column; align-items: stretch; }
  .sn-ficha-stepper { width: 100%; }
  .sn-ficha-info h1 { font-size: 1.7rem; }
  .sn-ficha-precio { font-size: 1.8rem; }
}
