/*
 * Sellos Éxito - Sistema de Estilos y Utilidades Frontend
 * Diseño nativo, sin dependencias externas, optimizado para móvil y escritorio.
 */

/* ==========================================================================
   1. UTILIDADES Y LAYOUT
   ========================================================================== */

/* Flex & Grid */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.justify-start { justify-content: flex-start; }
.justify-end { justify-content: flex-end; }
.flex-1 { flex: 1 1 0%; }
.flex-shrink-0 { flex-shrink: 0; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }

.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (min-width: 640px) {
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:flex-row { flex-direction: row; }
}
@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:flex-row { flex-direction: row; }
  .md\:items-center { align-items: center; }
  .md\:text-left { text-align: left; }
}
@media (min-width: 1024px) {
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:flex { display: flex; }
  .lg\:hidden { display: none; }
}

/* Espaciados y Márgenes */
.w-full { width: 100%; }
.h-full { height: 100%; }
.min-h-screen { min-height: 100vh; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.m-0 { margin: 0; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Tipografía y Textos */
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1.15; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.font-black { font-weight: 900; }
.italic { font-style: italic; }
.uppercase { text-transform: uppercase; }
.tracking-wide { letter-spacing: 0.05em; }
.tracking-wider { letter-spacing: 0.08em; }
.tracking-tight { letter-spacing: -0.025em; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-white { color: #ffffff; }
.text-primary { color: var(--color-primary); }
.text-primary-dark { color: var(--color-primary-dark); }
.text-ink { color: var(--color-ink); }
.text-muted { color: var(--color-text-muted); }
.text-green { color: var(--color-whatsapp); }
.text-star { color: var(--color-star); }

/* Fondos y Bordes */
.bg-white { background-color: #ffffff; }
.bg-ink { background-color: var(--color-ink); }
.bg-muted { background-color: var(--color-muted); }
.bg-primary { background-color: var(--color-primary); }
.bg-primary-dark { background-color: var(--color-primary-dark); }
.bg-primary-subtle { background-color: var(--color-primary-subtle); }
.bg-whatsapp { background-color: var(--color-whatsapp); }
.bg-transparent { background-color: transparent; }

.rounded-sm { border-radius: var(--radius-sm); }
.rounded-md { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-full { border-radius: var(--radius-full); }
.border { border-width: 1px; border-style: solid; border-color: var(--color-muted-border); }
.border-2 { border-width: 2px; border-style: solid; }
.border-primary { border-color: var(--color-primary); }
.border-transparent { border-color: transparent; }
.border-b { border-bottom: 1px solid var(--color-muted-border); }
.border-t { border-top: 1px solid var(--color-muted-border); }

.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-glow { box-shadow: var(--shadow-glow); }

.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-30 { z-index: 30; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }
.z-60 { z-index: 60; }

.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }
.overflow-y-auto { overflow-y: auto; }
.cursor-pointer { cursor: pointer; }
.select-none { user-select: none; }
.transition { transition: all var(--transition-smooth); }

/* ==========================================================================
   2. TOPBAR Y HEADER STICKY
   ========================================================================== */
.se-topbar {
  background: linear-gradient(90deg, #7A0009 0%, #D1121E 50%, #7A0009 100%);
  color: #FFFFFF;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.5rem 1rem;
  text-align: center;
  position: relative;
  z-index: 55;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.se-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 60; /* Por encima de la cinta superior para evitar que la franja roja se monte sobre el logo */
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  /* Sin transición en "top": el header sigue a la cinta roja sin desfases */
  transition: background-color var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.se-header .se-container {
  max-width: 1440px;
}

.se-header.has-topbar {
  top: 36px;
}

/* Compensar la barra de administración de WordPress (usuario logueado) */
body.admin-bar .se-header.has-topbar {
  top: calc(32px + 36px);
}

@media screen and (max-width: 782px) {
  body.admin-bar .se-header.has-topbar {
    top: calc(46px + 36px);
  }
}

.se-header.is-scrolled {
  top: 0;
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-bottom-color: rgba(209, 18, 30, 0.2);
}

.se-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 110px;
  padding: 0;
  transition: height var(--transition-smooth);
}

.se-header.is-scrolled .se-header-inner {
  height: 104px;
  padding: 0;
}

/* Cápsula del Logo */
.se-header-logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-shrink: 0;
  line-height: 1;
}

.se-logo-capsule {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  transition: transform var(--transition-fast), filter var(--transition-fast);
  line-height: 0;
}

.se-logo-capsule:hover {
  transform: translateY(-1px);
  filter: drop-shadow(0 4px 12px rgba(209, 18, 30, 0.35));
}

.se-logo-img {
  width: auto;
  height: 92px;
  max-height: 92px;
  max-width: 480px;
  object-fit: contain;
  display: block;
  transition: height var(--transition-fast), max-width var(--transition-fast);
}

.se-header.is-scrolled .se-logo-img {
  height: 90px;
  max-height: 92px;
  max-width: 470px;
}

.se-logo-text {
  display: none !important;
}

@media (max-width: 1200px) {
  .se-header-inner {
    height: 96px;
    gap: 1rem;
  }
  .se-header.is-scrolled .se-header-inner {
    height: 90px;
  }
  .se-logo-img {
    height: 78px;
    max-height: 78px;
    max-width: 380px;
  }
  .se-header.is-scrolled .se-logo-img {
    height: 76px;
    max-height: 76px;
  }
}

@media (max-width: 1023px) {
  .se-header-inner {
    height: 84px;
  }
  .se-header.is-scrolled .se-header-inner {
    height: 80px;
  }
  .se-logo-img {
    height: 68px;
    max-height: 68px;
    max-width: 330px;
  }
  .se-header.is-scrolled .se-logo-img {
    height: 66px;
    max-height: 66px;
  }
}

@media (max-width: 640px) {
  .se-header-inner {
    height: 74px;
  }
  .se-header.is-scrolled .se-header-inner {
    height: 70px;
  }
  .se-logo-capsule {
    padding: 0;
  }
  .se-logo-img {
    height: 54px;
    max-height: 54px;
    max-width: 250px;
  }
  .se-header.is-scrolled .se-logo-img {
    height: 52px;
    max-height: 52px;
  }
}

@media (max-width: 400px) {
  .se-header-inner {
    height: 68px;
  }
  .se-header.is-scrolled .se-header-inner {
    height: 64px;
  }
  .se-logo-img {
    height: 46px;
    max-height: 46px;
    max-width: 210px;
  }
  .se-header.is-scrolled .se-logo-img {
    height: 44px;
    max-height: 44px;
  }
}

/* Enlaces de Navegación */
.se-nav-desktop {
  display: flex;
  align-items: center;
  margin-left: auto;
  margin-right: 1.25rem;
}

.se-nav-list {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.se-nav-list > li {
  display: flex;
  align-items: center;
}

.se-nav-link {
  display: inline-flex;
  align-items: center;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-ink);
  transition: color var(--transition-fast);
  position: relative;
  padding: 0.35rem 0;
  line-height: 1;
}

.se-nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: width var(--transition-fast);
  border-radius: var(--radius-full);
}

.se-nav-link:hover {
  color: var(--color-primary);
}

.se-nav-link:hover::after,
.se-nav-link.is-active::after {
  width: 100%;
}

/* ==========================================================================
   2.1 OPCIÓN DESTACADA "SELLOS" + MEGA MENÚ DE CATEGORÍAS
   ========================================================================== */
.se-nav-desktop {
  margin-left: auto;
  margin-right: 1.25rem;
}

.se-nav-item-sellos {
  position: static; /* El mega menú se ancla al header completo */
}

.se-nav-sellos-btn,
.se-mobile-sellos-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.6rem 1.1rem 0.6rem 0.8rem;
  background: linear-gradient(135deg, #FF2E3E 0%, #D1121E 45%, #7A0009 100%);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 2px solid #FFFFFF;
  border-radius: var(--radius-full);
  box-shadow: 0 0 0 2px rgba(209, 18, 30, 0.35), 0 6px 18px rgba(209, 18, 30, 0.45);
  overflow: hidden;
  isolation: isolate;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  animation: seSellosPulse 2.6s ease-in-out infinite;
}

/* Brillo que recorre el botón para llamar la atención */
.se-nav-sellos-btn::before,
.se-mobile-sellos-toggle::before {
  content: '';
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, 0.55) 50%, transparent 100%);
  transform: skewX(-20deg);
  animation: seSellosShine 3.2s ease-in-out infinite;
  z-index: -1;
  pointer-events: none;
}

.se-nav-sellos-btn:hover,
.se-nav-item-sellos.is-open .se-nav-sellos-btn {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 0 0 3px rgba(209, 18, 30, 0.45), 0 10px 26px rgba(209, 18, 30, 0.55);
  animation-play-state: paused;
}

.se-nav-sellos-icon {
  display: inline-flex;
  width: 20px;
  height: 20px;
}

.se-nav-sellos-icon svg { width: 100%; height: 100%; }

.se-nav-sellos-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 20px;
  padding: 0 6px;
  background: #FFFFFF;
  color: var(--color-primary);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0;
  border-radius: var(--radius-full);
}

.se-nav-sellos-chevron {
  width: 14px;
  height: 14px;
  transition: transform var(--transition-fast);
}

.se-nav-item-sellos.is-open .se-nav-sellos-chevron,
.se-mobile-sellos.is-open .se-nav-sellos-chevron {
  transform: rotate(180deg);
}

/* Puente invisible para no perder el hover entre el botón y el panel */
.se-mega::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 28px;
}

@keyframes seSellosPulse {
  0%, 100% { box-shadow: 0 0 0 2px rgba(209, 18, 30, 0.35), 0 6px 18px rgba(209, 18, 30, 0.45); }
  50%      { box-shadow: 0 0 0 6px rgba(209, 18, 30, 0.12), 0 6px 22px rgba(209, 18, 30, 0.6); }
}

@keyframes seSellosShine {
  0%   { left: -60%; }
  45%  { left: 130%; }
  100% { left: 130%; }
}

@media (prefers-reduced-motion: reduce) {
  .se-nav-sellos-btn,
  .se-mobile-sellos-toggle,
  .se-nav-sellos-btn::before,
  .se-mobile-sellos-toggle::before { animation: none; }
}

/* Panel del Mega Menú */
.se-mega {
  position: absolute;
  top: 100%;
  left: 50%;
  width: min(1100px, calc(100vw - 2rem));
  transform: translate(-50%, 10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition-fast), transform var(--transition-smooth), visibility var(--transition-fast);
  z-index: 70;
}

.se-nav-item-sellos.is-open .se-mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.se-mega-inner {
  display: grid;
  grid-template-columns: 300px 1fr;
  margin-top: 8px;
  background: #FFFFFF;
  border: 1px solid var(--color-muted-border);
  border-top: 4px solid var(--color-primary);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  max-height: calc(100vh - 160px);
}

.se-mega-cats {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.1rem 0.85rem;
  background: var(--color-muted);
  border-right: 1px solid var(--color-muted-border);
  overflow-y: auto;
}

.se-mega-heading {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
  padding: 0 0.5rem 0.5rem;
}

.se-mega-cat,
.se-mobile-sellos-cat {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.5rem 0.6rem;
  border-radius: var(--radius-md);
  color: var(--color-ink);
  border: 1px solid transparent;
  transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}

.se-mega-cat:hover,
.se-mega-cat.is-active {
  background: #FFFFFF;
  border-color: rgba(209, 18, 30, 0.25);
  box-shadow: var(--shadow-sm);
  color: var(--color-primary);
}

.se-mega-cat-thumb {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #FFFFFF;
  border: 1px solid var(--color-muted-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.se-mega-cat-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.se-mega-cat-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.se-mega-cat-text strong {
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.2;
}

.se-mega-cat-text small {
  font-size: 0.72rem;
  color: var(--color-text-muted);
  margin-top: 2px;
}

.se-mega-cat-arrow {
  width: 14px;
  height: 14px;
  opacity: 0;
  transform: translateX(-4px);
  transition: all var(--transition-fast);
}

.se-mega-cat:hover .se-mega-cat-arrow,
.se-mega-cat.is-active .se-mega-cat-arrow {
  opacity: 1;
  transform: translateX(0);
}

.se-mega-all {
  margin-top: 0.6rem;
  display: block;
  text-align: center;
  padding: 0.65rem 0.75rem;
  background: var(--color-ink);
  color: #FFFFFF;
  font-size: 0.8rem;
  font-weight: 800;
  border-radius: var(--radius-md);
  transition: background var(--transition-fast);
}

.se-mega-all:hover {
  background: var(--color-primary);
}

.se-mega-panels {
  padding: 1.1rem 1.35rem 1.35rem;
  overflow-y: auto;
}

.se-mega-panel {
  display: none;
  animation: seMegaFade 0.25s ease;
}

.se-mega-panel.is-active {
  display: block;
}

@keyframes seMegaFade {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.se-mega-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.75rem;
  margin-bottom: 0.9rem;
  border-bottom: 1px dashed var(--color-muted-border);
}

.se-mega-panel-head h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--color-ink);
  margin: 0;
}

.se-mega-panel-head a {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--color-primary);
  white-space: nowrap;
}

.se-mega-panel-head a:hover { text-decoration: underline; }

.se-mega-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.se-mega-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.5rem;
  border: 1px solid var(--color-muted-border);
  border-radius: var(--radius-md);
  background: #FFFFFF;
  color: var(--color-ink);
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.se-mega-item:hover {
  transform: translateY(-3px);
  border-color: var(--color-primary);
  box-shadow: 0 8px 18px rgba(209, 18, 30, 0.15);
}

.se-mega-item-thumb {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--color-muted);
}

.se-mega-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.se-mega-item:hover .se-mega-item-thumb img {
  transform: scale(1.07);
}

.se-mega-item-ref {
  position: absolute;
  top: 6px;
  left: 6px;
  padding: 2px 6px;
  background: var(--color-ink);
  color: #FFFFFF;
  font-size: 0.62rem;
  font-weight: 800;
  border-radius: 4px;
}

.se-mega-item-name {
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.se-mega-item-price {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--color-primary);
}

.se-mega-thumb-ph {
  display: inline-flex;
  width: 55%;
  height: 55%;
  max-width: 34px;
  max-height: 34px;
  color: var(--color-primary);
  opacity: 0.6;
}

.se-mega-thumb-ph svg { width: 100%; height: 100%; }

@media (max-width: 1200px) {
  .se-mega-inner { grid-template-columns: 260px 1fr; }
  .se-mega-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .se-nav-list { gap: 1.25rem; }
}

/* Sello resaltado al llegar desde el mega menú */
.se-sello-card.is-highlighted {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(209, 18, 30, 0.45), 0 14px 30px rgba(209, 18, 30, 0.25);
  animation: seCardFlash 0.6s ease 3;
}

@keyframes seCardFlash {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

/* Sellos destacado dentro del menú móvil */
.se-mobile-sellos {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-muted-border);
}

.se-mobile-sellos-toggle {
  width: 100%;
  justify-content: center;
  padding: 0.8rem 1rem;
  font-size: 1rem;
}

.se-mobile-sellos-toggle .se-nav-sellos-chevron {
  margin-left: auto;
}

.se-mobile-sellos-list {
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.se-mobile-sellos.is-open .se-mobile-sellos-list {
  display: grid;
}

.se-mobile-sellos-cat {
  background: var(--color-muted);
  padding: 0.45rem;
}

.se-mobile-sellos-cat .se-mega-cat-thumb {
  width: 38px;
  height: 38px;
}

.se-mobile-sellos-list .se-mega-all {
  grid-column: 1 / -1;
  margin-top: 0.25rem;
}

@media (max-width: 420px) {
  .se-mobile-sellos-list { grid-template-columns: 1fr; }
}

/* Botón del Carrito en Header */
.se-cart-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.15rem;
  background: linear-gradient(135deg, #D1121E 0%, #A3000E 100%);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(209, 18, 30, 0.35);
  transition: all var(--transition-fast);
  position: relative;
}

.se-cart-trigger:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(209, 18, 30, 0.45);
}

.se-cart-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background-color: #FFFFFF;
  color: var(--color-primary);
  font-size: 0.75rem;
  font-weight: 900;
  border-radius: var(--radius-full);
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.se-cart-badge.bounce {
  transform: scale(1.35);
}

/* Menú Móvil */
.se-mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--color-ink);
}

@media (max-width: 1023px) {
  .se-mobile-toggle { display: block; }
  .se-nav-desktop { display: none; }
}

.se-mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  max-height: calc(100vh - 150px);
  overflow-y: auto;
  background: #FFFFFF;
  border-bottom: 2px solid var(--color-primary);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  transition: transform var(--transition-smooth), opacity var(--transition-fast), visibility var(--transition-fast);
  z-index: 49;
}

.se-mobile-menu.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

/* ==========================================================================
   3. HERO SECTION & SLIDER DINÁMICO (4 SLIDES)
   ========================================================================== */
.se-hero {
  position: relative;
  background: radial-gradient(circle at 85% 20%, rgba(209, 18, 30, 0.35) 0%, transparent 50%),
              radial-gradient(circle at 15% 80%, rgba(122, 0, 9, 0.45) 0%, transparent 60%),
              linear-gradient(135deg, #1A1A1A 0%, #111111 100%);
  color: #FFFFFF;
  padding-top: 110px; /* Altura del header sticky principal */
  padding-bottom: 0;
  overflow: hidden;
  min-height: auto;
}

body.admin-bar .se-hero {
  padding-top: 110px;
}

@media (max-width: 1200px) {
  .se-hero,
  body.admin-bar .se-hero {
    padding-top: 96px;
  }
}

@media (max-width: 1023px) {
  .se-hero,
  body.admin-bar .se-hero {
    padding-top: 84px;
  }
}

@media (max-width: 640px) {
  .se-hero,
  body.admin-bar .se-hero {
    padding-top: 74px;
  }
}

/* Cuando el Hero tiene banner panorámico completo */
.se-hero.has-full-banner,
.se-hero.is-banner-mode,
.se-hero:has(.is-full-banner),
body.admin-bar .se-hero.has-full-banner,
body.admin-bar .se-hero.is-banner-mode,
body.admin-bar .se-hero:has(.is-full-banner) {
  padding-top: 110px;
  background: #8A030D; /* Fondo vino tinto armónico con los bordes de la imagen */
}

@media (max-width: 1200px) {
  .se-hero.has-full-banner,
  .se-hero.is-banner-mode,
  .se-hero:has(.is-full-banner),
  body.admin-bar .se-hero.has-full-banner,
  body.admin-bar .se-hero.is-banner-mode,
  body.admin-bar .se-hero:has(.is-full-banner) {
    padding-top: 96px;
  }
}

@media (max-width: 1023px) {
  .se-hero.has-full-banner,
  .se-hero.is-banner-mode,
  .se-hero:has(.is-full-banner),
  body.admin-bar .se-hero.has-full-banner,
  body.admin-bar .se-hero.is-banner-mode,
  body.admin-bar .se-hero:has(.is-full-banner) {
    padding-top: 84px;
  }
}

@media (max-width: 640px) {
  .se-hero.has-full-banner,
  .se-hero.is-banner-mode,
  .se-hero:has(.is-full-banner),
  body.admin-bar .se-hero.has-full-banner,
  body.admin-bar .se-hero.is-banner-mode,
  body.admin-bar .se-hero:has(.is-full-banner) {
    padding-top: 74px;
  }
}

.se-hero.has-full-banner::before,
.se-hero.is-banner-mode::before,
.se-hero:has(.is-full-banner)::before {
  display: none !important; /* Oculta la trama de puntos en modo banner completo */
}

/* Trama Halftone Sutil Original de la Marca */
.se-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1.5px, transparent 1.5px);
  background-size: 20px 20px;
  opacity: 0.7;
  pointer-events: none;
  z-index: 1;
}

.se-hero-slider {
  position: relative;
  width: 100%;
  z-index: 5;
}

/* Pista de slides: ancho y alto UNIFICADO e idéntico para todos los slides */
.se-hero-slides-track {
  position: relative;
  width: 100%;
  height: clamp(420px, 32vw, 560px);
  overflow: hidden;
}

@media (max-width: 1024px) {
  .se-hero-slides-track {
    height: clamp(380px, 45vw, 500px);
  }
}

@media (max-width: 768px) {
  .se-hero-slides-track {
    height: clamp(340px, 60vw, 440px);
  }
}

@media (max-width: 480px) {
  .se-hero-slides-track {
    height: clamp(300px, 75vw, 380px);
  }
}

/* Todos los slides comparten exactamente las mismas dimensiones y posición absoluta */
.se-hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

/* El slide activo mantiene position: absolute para evitar saltos o desajustes de altura */
.se-hero-slide.is-active {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
}

/* Diapositivas estándar (con texto y columnas centradas en el contenedor) */
.se-hero-slide:not(.is-full-banner) {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 0 3.5rem;
  box-sizing: border-box;
}

.se-hero-slide:not(.is-full-banner) .se-container {
  width: 100%;
}

/* Diapositivas en Modo Banner Completo (Edge to Edge 100% ancho y alto) */
.se-hero-slide.is-full-banner {
  padding: 0;
  width: 100%;
  height: 100%;
  line-height: 0;
}

.se-hero-slide.is-full-banner .se-hero-banner-inner,
.se-hero-slide.is-full-banner .se-hero-banner-link {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
  line-height: 0;
  text-decoration: none;
}

/* Las imágenes se adaptan perfectamente llenando el 100% del contenedor sin deformarse */
.se-hero-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.se-hero.se-hero-fit-proportional .se-hero-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.se-hero.se-hero-fit-cover .se-hero-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Superposición opcional de texto sobre el banner */
.se-hero-banner-overlay-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, rgba(17, 17, 17, 0.85) 0%, rgba(17, 17, 17, 0.4) 60%, transparent 100%);
  z-index: 10;
  pointer-events: none;
  line-height: normal;
}

.se-hero-banner-overlay-text .se-container {
  pointer-events: auto;
}

.se-hero-overlay-card {
  max-width: 620px;
}

.se-hero-slide-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .se-hero-slide-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
  }
}

.se-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  background: rgba(209, 18, 30, 0.2);
  border: 1px solid rgba(209, 18, 30, 0.5);
  border-radius: var(--radius-full);
  color: #FFA5AB;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
  backdrop-filter: blur(4px);
}

.se-hero-title {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.12;
  color: #FFFFFF;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.se-hero-title .highlight {
  background: linear-gradient(90deg, #FF3B49 0%, #FFA5AB 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.se-hero-desc {
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  color: #CBD5E1;
  line-height: 1.6;
  max-width: 580px;
  margin-bottom: 1.75rem;
}

/* Tarjeta Visual de Imagen para Cada Slide */
.se-hero-visual-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45), 0 0 35px rgba(209, 18, 30, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #111111;
  max-height: 340px;
  transform: translateY(0);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.se-hero-visual-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.5), 0 0 45px rgba(209, 18, 30, 0.3);
}

.se-hero-visual-img {
  width: 100%;
  height: 340px;
  max-height: 340px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.se-hero-floating-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: linear-gradient(135deg, #D1121E 0%, #7A0009 100%);
  color: #FFFFFF;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 15px rgba(209, 18, 30, 0.4);
}

.se-hero-floating-pill {
  position: absolute;
  bottom: 18px;
  left: 18px;
  right: 18px;
  background: rgba(26, 26, 26, 0.88);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.65rem 1.15rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #FFFFFF;
  font-size: 0.8125rem;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}

/* Controles y Navegación del Hero Slider */
.se-hero-slider-btn {
  pointer-events: auto;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: rgba(18, 18, 18, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 30;
}

.se-hero-slider-btn:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 8px 25px rgba(209, 18, 30, 0.6);
}

.se-hero-btn-prev {
  left: 20px;
}

.se-hero-btn-next {
  right: 20px;
}

@media (max-width: 768px) {
  .se-hero-slider-btn {
    width: 38px;
    height: 38px;
  }
  .se-hero-btn-prev {
    left: 8px;
  }
  .se-hero-btn-next {
    right: 8px;
  }
}

/* Indicadores de Puntos (Dots) */
.se-hero-dots-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  z-index: 30;
  pointer-events: none;
}

.se-hero-dot {
  pointer-events: auto;
  width: 12px;
  height: 12px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.se-hero-dot:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: scale(1.15);
}

.se-hero-dot.is-active {
  width: 36px;
  background: var(--color-primary);
  border-color: var(--color-primary);
  box-shadow: 0 0 14px rgba(209, 18, 30, 0.75);
}

.se-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
  border: none;
}

.se-btn-primary {
  background: linear-gradient(135deg, #D1121E 0%, #A3000E 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 18px rgba(209, 18, 30, 0.45);
}

.se-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(209, 18, 30, 0.6);
  background: linear-gradient(135deg, #E61E2C 0%, #B80010 100%);
}

.se-btn-outline-white {
  background: transparent;
  color: #FFFFFF;
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.se-btn-outline-white:hover {
  border-color: #FFFFFF;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* ==========================================================================
   SUBTLE MINI-STEPS BAR (Paso a paso sutil no invasivo)
   ========================================================================== */
.se-mini-steps-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  background: #FFFFFF;
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-muted-border);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  margin: 0 auto 2rem auto;
  max-width: 860px;
}

.se-mini-step {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: #475569;
}

.se-mini-step-num {
  width: 22px;
  height: 22px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.se-mini-step-arrow {
  color: #CBD5E1;
  font-size: 0.75rem;
  font-weight: 800;
}

@media (max-width: 640px) {
  .se-mini-steps-bar {
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    justify-content: flex-start;
    gap: 0.6rem;
  }
  .se-mini-step-arrow { display: none; }
}

/* Indicador de pasos en el Drawer del carrito */
.se-drawer-steps-indicator {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #F1F5F9;
  border-radius: var(--radius-md);
  padding: 0.45rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #64748B;
  margin-bottom: 1rem;
}

.se-drawer-steps-indicator span.is-active {
  color: var(--color-primary);
}

/* ==========================================================================
   4. BARRA DE CARACTERÍSTICAS Y ALIANZAS
   ========================================================================== */
.se-trust-bar {
  background: #FFFFFF;
  border-bottom: 1px solid var(--color-muted-border);
  padding: 1.5rem 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.se-trust-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.se-trust-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--color-primary-subtle);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ==========================================================================
   5. GALERÍAS TIPO CARRUSEL INTERACTIVO
   ========================================================================== */
.se-section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2.5rem auto;
}

.se-section-badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  background: var(--color-primary-subtle);
  color: var(--color-primary);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.se-section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--color-ink);
  margin-bottom: 0.75rem;
}

.se-section-desc {
  font-size: 1.05rem;
  color: var(--color-text-muted);
}

/* Filtros por Categoría */
.se-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.se-filter-btn {
  padding: 0.55rem 1.15rem;
  background: #FFFFFF;
  color: var(--color-text-main);
  border: 1px solid var(--color-muted-border);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.se-filter-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.se-filter-btn.is-active {
  background: var(--color-primary);
  color: #FFFFFF;
  border-color: var(--color-primary);
  box-shadow: 0 4px 12px rgba(209, 18, 30, 0.3);
}

/* Carrusel Contenedor */
.se-carousel-wrapper {
  position: relative;
  width: 100%;
}

/* Indicativo sutil y elegante en el borde derecho cuando hay más contenido disponible */
.se-carousel-wrapper::after {
  content: '';
  position: absolute;
  top: 8px;
  right: 0;
  bottom: 24px;
  width: 50px;
  background: linear-gradient(to right, rgba(244, 245, 247, 0) 0%, rgba(244, 245, 247, 0.92) 100%);
  pointer-events: none;
  border-top-right-radius: var(--radius-lg);
  border-bottom-right-radius: var(--radius-lg);
  opacity: 0;
  transition: opacity var(--transition-fast);
  z-index: 15;
}

.se-carousel-wrapper.has-more-content::after {
  opacity: 1;
}

.se-carousel-wrapper.at-scroll-end::after {
  opacity: 0;
}

.se-carousel-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding-bottom: 1.5rem;
  padding-top: 0.5rem;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  transition: justify-content 0.2s ease;
}

/* Estado Centrado Dinámico: cuando los elementos visibles caben completos en pantalla */
.se-carousel-track.is-centered {
  justify-content: center;
  overflow-x: visible;
  scroll-snap-type: none;
  padding-left: 0.25rem;
  padding-right: 0.25rem;
}

.se-carousel-track:active {
  cursor: grabbing;
}

.se-carousel-track::-webkit-scrollbar {
  height: 6px;
}

.se-carousel-track::-webkit-scrollbar-track {
  background: #E2E8F0;
  border-radius: var(--radius-full);
}

.se-carousel-track::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border-radius: var(--radius-full);
}

.se-carousel-item {
  flex: 0 0 285px;
  scroll-snap-align: start;
}

@media (min-width: 640px) {
  .se-carousel-item {
    flex: 0 0 calc((100% - 1.5rem) / 2);
  }
}

@media (min-width: 1024px) {
  .se-carousel-item {
    flex: 0 0 calc((100% - 2 * 1.5rem) / 3);
  }
}

/* Flechas de Navegación a los Costados */
.se-carousel-nav {
  position: static;
  margin: 0;
  padding: 0;
}

.se-carousel-arrow {
  position: absolute;
  top: 48%;
  transform: translateY(-50%);
  z-index: 25;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: #FFFFFF;
  border: 1px solid var(--color-muted-border);
  color: var(--color-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
}

.se-carousel-arrow:hover {
  background: var(--color-primary);
  color: #FFFFFF;
  border-color: var(--color-primary);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 22px rgba(209, 18, 30, 0.4);
}

.se-carousel-arrow.is-disabled {
  opacity: 0.22;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
  transform: translateY(-50%) !important;
}

.se-carousel-arrow.is-hidden {
  display: none !important;
}

#se-sellos-prev,
#se-reviews-prev,
.se-carousel-arrow:first-child {
  left: -24px;
}

#se-sellos-next,
#se-reviews-next,
.se-carousel-arrow:last-child {
  right: -24px;
}

@media (max-width: 1024px) {
  #se-sellos-prev,
  #se-reviews-prev,
  .se-carousel-arrow:first-child {
    left: -12px;
  }
  #se-sellos-next,
  #se-reviews-next,
  .se-carousel-arrow:last-child {
    right: -12px;
  }
}

@media (max-width: 768px) {
  #se-sellos-prev,
  #se-reviews-prev,
  .se-carousel-arrow:first-child {
    left: 2px;
  }
  #se-sellos-next,
  #se-reviews-next,
  .se-carousel-arrow:last-child {
    right: 2px;
  }
  .se-carousel-arrow {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.92);
  }
}

/* Barra de Indicadores y Paginación Dinámica para Carruseles */
.se-carousel-indicator-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
  transition: all var(--transition-fast);
}

.se-carousel-indicator-bar.is-hidden {
  display: none !important;
}

.se-carousel-dots {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.65rem;
  background: #FFFFFF;
  border: 1px solid var(--color-muted-border);
  border-radius: var(--radius-full);
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.se-carousel-dot {
  width: 9px;
  height: 9px;
  border-radius: var(--radius-full);
  background: #CBD5E1;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.se-carousel-dot:hover {
  background: #94A3B8;
  transform: scale(1.2);
}

.se-carousel-dot.is-active {
  width: 26px;
  background: var(--color-primary);
  border-radius: 9999px;
  box-shadow: 0 2px 6px rgba(209, 18, 30, 0.35);
}

.se-carousel-counter {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #64748B;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #FFFFFF;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-muted-border);
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.se-carousel-counter .se-counter-highlight {
  color: var(--color-primary);
  font-weight: 800;
}

.se-carousel-counter .se-counter-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-primary);
  display: inline-block;
  animation: seDotPulse 1.8s infinite;
}

@keyframes seDotPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.5; }
}

/* ==========================================================================
   6. TARJETAS DE SELLOS
   ========================================================================== */
.se-sello-card {
  background: #FFFFFF;
  border: 1px solid var(--color-muted-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 4px 14px rgba(0,0,0,0.04);
  transition: all var(--transition-smooth);
  position: relative;
}

.se-sello-card:hover {
  transform: translateY(-5px);
  border-color: rgba(209, 18, 30, 0.3);
  box-shadow: 0 12px 28px rgba(0,0,0,0.08), 0 0 20px rgba(209, 18, 30, 0.08);
}

/* Contenedor Duo de Imágenes (Aparato + Línea Gris + Muestra / Huella) */
.se-card-duo-wrap {
  position: relative;
  width: 100%;
  background-color: #FFFFFF;
  display: flex;
  flex-direction: column;
}

/* 1. Imagen del Aparato (Arriba de la línea) */
.se-card-img-aparato {
  position: relative;
  width: 100%;
  height: 195px;
  background-color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1rem 0.5rem;
  overflow: hidden;
}

.se-card-img-top {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.se-sello-card:hover .se-card-img-top {
  transform: scale(1.06);
}

/* 2. Línea Gris Divisoria */
.se-card-img-divider {
  height: 4px;
  background-color: #E2E8F0;
  border-radius: var(--radius-full);
  margin: 0.25rem 1.25rem;
  flex-shrink: 0;
}

/* 3. Imagen de la Muestra / Huella (Abajo de la línea) */
.se-card-img-muestra {
  width: 100%;
  height: 105px;
  background-color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.25rem 0.75rem;
  overflow: hidden;
}

.se-card-img-bottom {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.se-sello-card:hover .se-card-img-bottom {
  transform: scale(1.04);
}

/* Fallback técnico cuando aún no se ha subido la foto de muestra */
.se-card-muestra-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.se-muestra-blueprint {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 4px 10px;
  border: 1px dashed #CBD5E1;
  border-radius: var(--radius-sm);
  background: #F8FAFC;
  max-width: 85%;
}

.se-blueprint-dimension-h {
  font-size: 0.65rem;
  font-weight: 700;
  color: #64748B;
  display: flex;
  align-items: center;
  gap: 4px;
}

.se-blueprint-dimension-h::before,
.se-blueprint-dimension-h::after {
  content: '';
  display: inline-block;
  width: 14px;
  height: 1px;
  background: #CBD5E1;
}

.se-blueprint-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.1;
}

.se-blueprint-sample-title {
  font-size: 0.72rem;
  font-weight: 800;
  color: #1E293B;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 180px;
}

.se-blueprint-sample-sub {
  font-size: 0.62rem;
  color: #94A3B8;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Compatibilidad con diseño anterior */
.se-card-img-wrap {
  position: relative;
  width: 100%;
  height: 220px;
  background-color: #F8FAFC;
  overflow: hidden;
}

.se-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.se-sello-card:hover .se-card-img {
  transform: scale(1.06);
}

.se-badge-ref {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--color-ink);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.05em;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.se-badge-category {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-primary-dark);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.55rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(209, 18, 30, 0.2);
  backdrop-filter: blur(4px);
}

.se-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.se-card-title {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--color-ink);
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.se-card-measure {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  background: var(--color-primary-subtle);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.65rem;
}

.se-card-desc {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.45;
  margin-bottom: 1rem;
  flex: 1;
}

.se-card-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--color-muted-border);
}

.se-card-price-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.se-card-price {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--color-primary);
}

.se-custom-input {
  width: 100%;
  padding: 0.55rem 0.75rem;
  font-size: 0.8125rem;
  border: 1px solid var(--color-muted-border);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  background: #F8FAFC;
  transition: all var(--transition-fast);
}

.se-custom-input:focus {
  outline: none;
  border-color: var(--color-primary);
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(209, 18, 30, 0.1);
}

/* Checklist: "Necesito adjuntar un logo o imagen" */
.se-check-attach-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
  padding: 0.55rem 0.75rem;
  background: #F8FAFC;
  border: 1px dashed #CBD5E1;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  user-select: none;
  position: relative;
}

.se-check-attach-logo:hover {
  background: #FFF5F5;
  border-color: rgba(209, 18, 30, 0.4);
}

.se-check-attach-logo.is-checked,
.se-check-attach-logo:has(.se-check-has-logo:checked) {
  background: var(--color-primary-subtle);
  border-style: solid;
  border-color: var(--color-primary);
  box-shadow: 0 2px 8px rgba(209, 18, 30, 0.12);
}

.se-check-has-logo {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.se-check-box {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  border: 2px solid #94A3B8;
  border-radius: 4px;
  background: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.se-check-box svg {
  width: 13px;
  height: 13px;
  color: #FFFFFF;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.15s ease;
}

.se-check-has-logo:checked + .se-check-box,
.se-check-attach-logo.is-checked .se-check-box {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.se-check-has-logo:checked + .se-check-box svg,
.se-check-attach-logo.is-checked .se-check-box svg {
  opacity: 1;
  transform: scale(1);
}

.se-check-text {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #1E293B;
  line-height: 1.25;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.se-check-clip {
  font-size: 0.95rem;
}

.se-check-has-logo:checked ~ .se-check-text,
.se-check-attach-logo.is-checked .se-check-text {
  color: #991B1B;
}

.se-card-btn {
  width: 100%;
  padding: 0.65rem 1rem;
  background: var(--color-ink);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.se-card-btn:hover {
  background: var(--color-primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(209, 18, 30, 0.35);
}

/* ==========================================================================
   7. SECCIÓN DE MATERIAL POP, IMPRESIÓN, DISEÑO Y WEB (SIN PRECIO)
   ========================================================================== */
.se-services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 1.5rem;
  width: 100%;
}

.se-service-card-item {
  flex: 0 1 100%;
  max-width: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
}

@media (min-width: 640px) {
  .se-service-card-item {
    flex: 0 1 calc((100% - 1.5rem) / 2);
    max-width: calc((100% - 1.5rem) / 2);
  }
}

@media (min-width: 1024px) {
  .se-service-card-item {
    flex: 0 1 calc((100% - 2 * 1.5rem) / 3);
    max-width: calc((100% - 2 * 1.5rem) / 3);
  }
}

.se-servicio-card {
  background: #FFFFFF;
  border: 1px solid var(--color-muted-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 4px 14px rgba(0,0,0,0.04);
  transition: all var(--transition-smooth);
}

.se-servicio-card:hover {
  transform: translateY(-5px);
  border-color: rgba(209, 18, 30, 0.3);
  box-shadow: 0 14px 30px rgba(0,0,0,0.08);
}

.se-badge-cotizar {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, #7A0009 0%, #D1121E 100%);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 8px rgba(209, 18, 30, 0.35);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.se-spec-list {
  list-style: none;
  margin: 0.85rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.se-spec-item {
  font-size: 0.8125rem;
  color: #475569;
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
}

.se-spec-item svg {
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.se-select {
  width: 100%;
  padding: 0.55rem 0.75rem;
  font-size: 0.8125rem;
  border: 1px solid var(--color-muted-border);
  border-radius: var(--radius-md);
  margin-bottom: 0.65rem;
  background-color: #F8FAFC;
  color: var(--color-ink);
  font-weight: 500;
  cursor: pointer;
}

.se-select:focus {
  outline: none;
  border-color: var(--color-primary);
  background: #FFFFFF;
}

/* ==========================================================================
   8. CÓMO FUNCIONA TU SOLICITUD
   ========================================================================== */
.se-step-card {
  background: #FFFFFF;
  border: 1px solid var(--color-muted-border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
  transition: all var(--transition-fast);
  height: 100%;
}

.se-step-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.se-step-number {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #D1121E 0%, #7A0009 100%);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem auto;
  box-shadow: 0 4px 12px rgba(209, 18, 30, 0.35);
}

/* ==========================================================================
   9. POLÍTICA DE PAGOS Y PRIVACIDAD (NEQUI / DAVIPLATA)
   ========================================================================== */
.se-payment-box {
  background: linear-gradient(135deg, #1A1A1A 0%, #2A2A2A 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  color: #FFFFFF;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.se-payment-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.8rem;
  background: rgba(37, 211, 102, 0.15);
  border: 1px solid rgba(37, 211, 102, 0.4);
  color: #25D366;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* ==========================================================================
   10. CARRITO LATERAL (DRAWER) Y CONDICIONAL EXPRESS
   ========================================================================== */
.se-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
}

.se-drawer-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.se-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 460px;
  background: #FFFFFF;
  z-index: 101;
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.se-drawer-overlay.is-active .se-drawer {
  transform: translateX(0);
}

.se-drawer-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--color-muted-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FAFAFA;
}

.se-drawer-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-ink);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.se-drawer-close {
  background: none;
  border: none;
  color: var(--color-text-muted);
  cursor: pointer;
  padding: 0.4rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast);
}

.se-drawer-close:hover {
  color: var(--color-primary);
}

.se-drawer-content {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem 1.5rem;
}

.se-cart-section-title {
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--color-muted-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.se-cart-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--color-muted-border);
}

.se-cart-item-img {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-muted-border);
  flex-shrink: 0;
}

.se-cart-item-details {
  flex: 1;
}

.se-cart-item-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-ink);
  line-height: 1.3;
}

.se-cart-item-sub {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: 2px;
}

.se-cart-item-price {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-top: 4px;
}

.se-qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--color-muted-border);
  border-radius: var(--radius-sm);
  margin-top: 0.4rem;
}

.se-qty-btn {
  background: #F1F5F9;
  border: none;
  width: 24px;
  height: 24px;
  cursor: pointer;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.se-qty-btn:hover { background: #E2E8F0; }

.se-qty-val {
  padding: 0 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
}

.se-cart-item-remove {
  background: none;
  border: none;
  color: #94A3B8;
  cursor: pointer;
  padding: 0.25rem;
}

.se-cart-item-remove:hover { color: var(--color-primary); }

/* AVISO CONDICIONAL ENTREGA EL MISMO DÍA (EXCLUSIVO SELLOS) */
.se-express-notice-box {
  background-color: #FFF5F5;
  border: 2px solid #D1121E;
  border-radius: var(--radius-md);
  padding: 1rem 1.15rem;
  margin: 1.25rem 0;
  box-shadow: 0 4px 12px rgba(209, 18, 30, 0.08);
  transition: all var(--transition-fast);
}

.se-express-notice-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 800;
  color: #D1121E;
  margin-bottom: 0.35rem;
}

.se-express-notice-desc {
  font-size: 0.8125rem;
  color: #4A5568;
  line-height: 1.45;
  margin-bottom: 0.75rem;
}

.se-express-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #1A1A1A;
  cursor: pointer;
}

.se-express-checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #D1121E;
  margin-top: 1px;
}

/* Formulario Rápido del Carrito */
.se-drawer-form {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-muted-border);
}

.se-form-group {
  margin-bottom: 0.85rem;
}

.se-form-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-ink);
  margin-bottom: 0.35rem;
}

.se-form-input, .se-form-select {
  width: 100%;
  padding: 0.6rem 0.85rem;
  font-size: 0.85rem;
  border: 1px solid var(--color-muted-border);
  border-radius: var(--radius-md);
  background-color: #F8FAFC;
  transition: all var(--transition-fast);
}

.se-form-input:focus, .se-form-select:focus {
  outline: none;
  border-color: var(--color-primary);
  background-color: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(209, 18, 30, 0.1);
}

.se-drawer-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--color-muted-border);
  background: #FAFAFA;
}

.se-subtotal-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.se-subtotal-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-ink);
}

.se-subtotal-amount {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--color-primary);
}

.se-btn-whatsapp-submit {
  width: 100%;
  padding: 0.85rem 1.25rem;
  background: #25D366;
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
  transition: all var(--transition-fast);
}

.se-btn-whatsapp-submit:hover {
  background: #1EBE5D;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.55);
}

/* ==========================================================================
   11. BOTÓN FLOTANTE WHATSAPP CON FRASES ROTATIVAS
   ========================================================================== */
.se-whatsapp-float-wrap {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: auto;
  z-index: 80;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 0.65rem;
  pointer-events: none;
}

.se-whatsapp-float-wrap > * {
  pointer-events: auto;
}

.se-whatsapp-speech-bubble {
  background: #FFFFFF;
  color: var(--color-ink);
  padding: 0.65rem 1rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--color-muted-border);
  font-size: 0.8125rem;
  font-weight: 700;
  max-width: 250px;
  position: relative;
  transition: opacity 0.4s ease, transform 0.4s ease;
  line-height: 1.35;
  animation: floatBubble 3s ease-in-out infinite;
}

.se-whatsapp-speech-bubble::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 22px;
  right: auto;
  width: 12px;
  height: 12px;
  background: #FFFFFF;
  border-right: 1px solid var(--color-muted-border);
  border-bottom: 1px solid var(--color-muted-border);
  transform: rotate(45deg);
}

@keyframes floatBubble {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.se-whatsapp-btn {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  background: #25D366;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  position: relative;
}

.se-whatsapp-btn:hover {
  background: #1EBE5D;
  transform: scale(1.08);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.65);
}

.se-whatsapp-btn::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: var(--radius-full);
  border: 2px solid #25D366;
  opacity: 0.7;
  animation: pingRing 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes pingRing {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.3); opacity: 0; }
}

/* ==========================================================================
   12. POPUP PROMOCIONAL
   ========================================================================== */
.se-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
}

.se-popup-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.se-popup-modal {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  max-width: 540px;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  position: relative;
  transform: scale(0.92);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.se-popup-overlay.is-open .se-popup-modal {
  transform: scale(1);
}

.se-popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-full);
  background: rgba(0, 0, 0, 0.5);
  color: #FFFFFF;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background var(--transition-fast);
}

.se-popup-close:hover { background: #000000; }

.se-popup-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.se-popup-body {
  padding: 1.75rem;
  text-align: center;
}

/* ==========================================================================
   13. FOOTER
   ========================================================================== */
.se-footer {
  background-color: var(--color-ink);
  color: #FFFFFF;
  padding-top: 4.5rem;
  padding-bottom: 2rem;
  position: relative;
  border-top: 4px solid var(--color-primary);
}

.se-footer-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.se-footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background-color: var(--color-primary);
}

.se-footer-link {
  color: #94A3B8;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 0.65rem;
  transition: color var(--transition-fast);
}

.se-footer-link:hover {
  color: #FFFFFF;
  padding-left: 4px;
}

/* Control estricto del logo dentro de la columna del footer */
.se-footer-brand-logo,
.se-footer .se-logo-capsule {
  display: inline-block;
  max-width: 100%;
}

.se-footer .se-logo-img,
.se-footer-brand-logo .se-logo-img {
  max-width: 100% !important;
  width: auto !important;
  height: auto !important;
  max-height: 52px !important;
  object-fit: contain;
}

/* ==========================================================================
   14. OPTIMIZACIÓN RESPONSIVA INTEGRAL PARA DISPOSITIVOS MÓVILES
   ========================================================================== */

/* 14.1 Prevención total de desbordamiento horizontal y toque táctil optimizado */
html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* 14.2 Banners Panorámicos en Móvil: Escala Proporcional Real sin Recortes */
@media (max-width: 768px) {
  .se-hero.has-full-banner .se-hero-slides-track,
  .se-hero.se-hero-fit-proportional .se-hero-slides-track,
  .se-hero.is-banner-mode .se-hero-slides-track {
    height: auto !important;
    min-height: clamp(170px, 48vw, 340px) !important;
    aspect-ratio: 21 / 9;
  }

  .se-hero.has-full-banner .se-hero-banner-img,
  .se-hero.se-hero-fit-proportional .se-hero-banner-img,
  .se-hero.is-banner-mode .se-hero-banner-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
  }

  /* Controles más discretos y táctiles en el slider para no tapar gráficos */
  .se-hero-slider-btn {
    width: 34px !important;
    height: 34px !important;
    background: rgba(17, 17, 17, 0.72) !important;
    backdrop-filter: blur(4px) !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
  }
  .se-hero-slider-btn svg {
    width: 18px !important;
    height: 18px !important;
  }
  .se-hero-btn-prev { left: 6px !important; }
  .se-hero-btn-next { right: 6px !important; }

  .se-hero-dots-wrap {
    bottom: 8px !important;
    gap: 6px !important;
  }
  .se-hero-dot {
    width: 8px !important;
    height: 8px !important;
  }
  .se-hero-dot.is-active {
    width: 22px !important;
  }

  /* Ritmo vertical en secciones para agilizar la lectura móvil */
  .py-16 {
    padding-top: 2.75rem !important;
    padding-bottom: 2.75rem !important;
  }
  .se-section-header {
    margin-bottom: 1.35rem !important;
  }
  .se-section-title {
    font-size: 1.45rem !important;
    line-height: 1.25 !important;
  }
  .se-section-desc {
    font-size: 0.85rem !important;
    margin-bottom: 1.25rem !important;
    line-height: 1.5 !important;
  }
}

/* 14.3 Barra deslizable horizontal para categorías de sellos y servicios (Pills Swiper) */
@media (max-width: 768px) {
  .se-catalog-filters,
  .se-filter-bar {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    justify-content: flex-start !important;
    gap: 0.5rem !important;
    padding: 0.35rem 1rem 0.85rem 1rem !important;
    margin-left: -1rem !important;
    margin-right: -1rem !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    scroll-snap-type: x proximity;
  }
  .se-catalog-filters::-webkit-scrollbar,
  .se-filter-bar::-webkit-scrollbar {
    display: none !important;
  }
  .se-filter-btn {
    flex-shrink: 0 !important;
    font-size: 0.8125rem !important;
    padding: 0.5rem 0.95rem !important;
    scroll-snap-align: start;
    white-space: nowrap !important;
    border-radius: var(--radius-full) !important;
  }
}

/* 14.4 Tarjetas de producto en móvil: Ancho con "peek" y altura balanceada */
@media (max-width: 640px) {
  .se-carousel-item {
    flex: 0 0 84% !important;
    max-width: 320px !important;
    scroll-snap-align: center !important;
  }
  .se-card-img-aparato {
    height: 165px !important;
    padding: 0.75rem 0.75rem 0.35rem !important;
  }
  .se-card-img-muestra {
    height: 90px !important;
    padding: 0.35rem 1rem 0.5rem !important;
  }
  .se-sello-card .se-card-body {
    padding: 1rem !important;
  }
  .se-sello-card .se-card-title {
    font-size: 0.95rem !important;
    line-height: 1.3 !important;
  }
  .se-sello-card .se-card-price {
    font-size: 1.25rem !important;
  }
  .se-sello-card .se-card-btn {
    padding: 0.75rem 1rem !important;
    font-size: 0.875rem !important;
    min-height: 44px !important;
    touch-action: manipulation;
  }
  .se-carousel-arrow {
    width: 38px !important;
    height: 38px !important;
  }
}

@media (max-width: 380px) {
  .se-carousel-item {
    flex: 0 0 88% !important;
    max-width: 295px !important;
  }
  .se-card-img-aparato {
    height: 150px !important;
  }
}

/* 14.5 Barra de confianza y características en cuadrícula de 2x2 en móviles */
@media (max-width: 640px) {
  .se-trust-bar {
    padding: 1.15rem 0 !important;
  }
  .se-trust-bar .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.75rem !important;
  }
  .se-trust-item {
    padding: 0.65rem 0.6rem !important;
    gap: 0.6rem !important;
    background: #F8FAFC !important;
    border-radius: var(--radius-md) !important;
    border: 1px solid #E2E8F0 !important;
  }
  .se-trust-icon {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    font-size: 1.15rem !important;
    border-radius: var(--radius-sm) !important;
  }
  .se-trust-item h4 {
    font-size: 0.8125rem !important;
    line-height: 1.2 !important;
    margin-bottom: 2px !important;
  }
  .se-trust-item p {
    font-size: 0.6875rem !important;
    line-height: 1.3 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

/* 14.6 Prevenir zoom indeseado en iPhone/iPad al pulsar inputs y selects */
@media (max-width: 768px) {
  .se-form-input,
  .se-form-select,
  .se-custom-input,
  .se-select,
  input[type="text"],
  input[type="number"],
  select,
  textarea {
    font-size: 16px !important;
    border-radius: var(--radius-md) !important;
  }
}

/* 14.7 Carrito lateral en móviles con soporte de safe-area y botones táctiles */
@media (max-width: 640px) {
  .se-drawer {
    width: 100% !important;
    max-width: 100% !important;
  }
  .se-drawer-header {
    padding: 1rem 1.25rem !important;
  }
  .se-drawer-title {
    font-size: 1.05rem !important;
  }
  .se-drawer-content {
    padding: 1rem 1.25rem !important;
  }
  .se-drawer-footer {
    padding: 1rem 1.25rem max(1.25rem, calc(0.75rem + env(safe-area-inset-bottom, 0px))) !important;
  }
  .se-btn-whatsapp-submit {
    min-height: 50px !important;
    font-size: 0.95rem !important;
    border-radius: var(--radius-md) !important;
  }
  .se-qty-control {
    border-radius: var(--radius-md) !important;
  }
  .se-qty-btn {
    width: 32px !important;
    height: 32px !important;
    font-size: 1rem !important;
  }
  .se-qty-val {
    font-size: 0.875rem !important;
    padding: 0 0.65rem !important;
  }
  .se-cart-item-remove {
    padding: 0.4rem !important;
    min-width: 36px !important;
    min-height: 36px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .se-cart-item-remove svg {
    width: 20px !important;
    height: 20px !important;
  }
  .se-cart-item-img {
    width: 58px !important;
    height: 58px !important;
    object-fit: contain !important;
    background: #FFFFFF !important;
  }
}

/* 14.8 Modal promocional optimizado para pantallas compactas */
@media (max-width: 640px) {
  .se-popup-overlay {
    padding: 0.75rem !important;
  }
  .se-popup-modal {
    max-height: 90vh !important;
    display: flex !important;
    flex-direction: column !important;
    overflow-y: auto !important;
    border-radius: var(--radius-md) !important;
  }
  .se-popup-img {
    height: 130px !important;
    flex-shrink: 0 !important;
  }
  .se-popup-body {
    padding: 1.15rem 1.15rem 1.35rem !important;
  }
  .se-popup-body h3 {
    font-size: 1.15rem !important;
    line-height: 1.3 !important;
  }
  .se-popup-body p {
    font-size: 0.8125rem !important;
    line-height: 1.45 !important;
    margin-bottom: 1rem !important;
  }
  .se-popup-close {
    top: 8px !important;
    right: 8px !important;
    width: 36px !important;
    height: 36px !important;
    background: rgba(0, 0, 0, 0.75) !important;
    font-size: 1rem !important;
  }
}

/* 14.9 Botón flotante de WhatsApp optimizado para pantallas móviles */
@media (max-width: 640px) {
  .se-whatsapp-float-wrap {
    bottom: max(16px, env(safe-area-inset-bottom, 16px)) !important;
    left: 14px !important;
    gap: 0.45rem !important;
  }
  .se-whatsapp-btn {
    width: 52px !important;
    height: 52px !important;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5) !important;
  }
  .se-whatsapp-btn svg {
    width: 28px !important;
    height: 28px !important;
  }
  .se-whatsapp-speech-bubble {
    max-width: 210px !important;
    padding: 0.45rem 0.75rem !important;
    font-size: 0.72rem !important;
    border-radius: var(--radius-md) !important;
  }
}

/* 14.10 Tarjetas de Servicios y POP en móviles */
#se-services-grid {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

.se-service-card-item {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 640px) {
  .se-servicio-card .se-card-img-wrap {
    height: 175px !important;
  }
  .se-servicio-card .se-card-body {
    padding: 1rem !important;
  }
  .se-servicio-card .se-card-title {
    font-size: 1.05rem !important;
  }
  .se-spec-list {
    margin: 0.75rem 0 !important;
  }
  .se-spec-item {
    font-size: 0.8125rem !important;
    margin-bottom: 0.35rem !important;
  }
  .se-add-service-btn {
    min-height: 44px !important;
  }
}

/* 14.11 Footer compacto en móviles */
@media (max-width: 640px) {
  .se-footer {
    padding-top: 3rem !important;
    padding-bottom: 2rem !important;
  }
  .se-footer .grid {
    gap: 2rem !important;
  }
  .se-footer-title {
    font-size: 1rem !important;
    margin-bottom: 0.75rem !important;
  }
}
