/* ============================================================
   SMI — System Mundo Informático
   styles.css — Hoja de estilos principal (v2 — diseño refinado)
   ============================================================
   Paleta:
     --purple-main:   #6D28D9
     --purple-electric:#8B5CF6
     --purple-dark:   #2E1065
     --gray-dark:     #111827
     --gray-mid:      #6B7280
     --gray-light:    #E5E7EB
     --white:         #FFFFFF
     --tech-dark:     #0B1020
     --blue-accent:   #2563EB
     --neon-accent:   #C7F000
   ============================================================ */

/* ---------- VARIABLES ---------- */
:root {
  --purple-main: #6D28D9;
  --purple-electric: #8B5CF6;
  --purple-dark: #2E1065;
  --purple-glow: rgba(139, 92, 246, 0.4);
  --gray-dark: #111827;
  --gray-mid: #6B7280;
  --gray-light: #E5E7EB;
  --white: #FFFFFF;
  --tech-dark: #0B1020;
  --tech-darker: #060912;
  --blue-accent: #2563EB;
  --neon-accent: #C7F000;
  --neon-soft: rgba(199, 240, 0, 0.15);

  --bg-primary: #f5f5fa;
  --bg-secondary: #ffffff;
  --bg-tertiary: #edeef5;
  --bg-card: #ffffff;
  --bg-card-hover: #faf9ff;
  --bg-card-solid: #ffffff;
  --bg-modal: #ffffff;
  --bg-dark-section: var(--tech-dark);
  --bg-purple-section: linear-gradient(135deg, var(--purple-dark), var(--purple-main));

  --text-primary: #1a1a2e;
  --text-secondary: #4b5563;
  --text-muted: #8b8fa3;
  --text-dark: #1a1a2e;
  --text-dark-secondary: #4b5563;
  --text-on-dark: #ffffff;
  --text-on-purple: #ffffff;

  --border-glass: rgba(0, 0, 0, 0.08);
  --border-glass-strong: rgba(0, 0, 0, 0.12);
  --border-light: rgba(0, 0, 0, 0.08);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 0 40px rgba(139, 92, 246, 0.15);
  --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.05);
  --shadow-card-hover: 0 12px 36px rgba(109, 40, 217, 0.12), 0 0 24px rgba(139, 92, 246, 0.08);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.18s ease;
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  --font-title: 'Poppins', 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;

  --header-h: 98px;
  --shipping-ribbon-h: 34px;
  --max-width: 1280px;
}

/* ---------- RESET ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: clamp(340px, 52vh, 460px);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---------- TIPOGRAFÍA ---------- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-title);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
}

h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
}

h4 {
  font-size: 1.1rem;
}

p {
  color: var(--text-secondary);
}

a,
a:hover,
a:focus {
  text-decoration: none;
}

:focus-visible {
  outline: 3px solid rgba(109, 40, 217, 0.35);
  outline-offset: 3px;
}

/* ---------- UTILIDADES ---------- */
.container {
  max-width: 80%;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 2rem 0;
}

.seo-answer-section {
  padding-top: 1rem;
}

.seo-answer-card {
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 8px;
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.seo-answer-card h2 {
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  margin: 0.35rem 0 0.7rem;
}

.seo-answer-card p {
  max-width: 820px;
}

.seo-answer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
  margin-top: 1.2rem;
}

.seo-answer-grid div {
  padding: 1rem;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid rgba(148, 163, 184, 0.14);
}

.seo-answer-grid strong,
.seo-answer-grid span {
  display: block;
}

.seo-answer-grid strong {
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.seo-answer-grid span {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

img {
  max-width: 100%;
}

.home-hero-content {
  position: relative;
  z-index: 2;
}

.home-hero-content .hero-text {
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(8, 13, 30, 0.72), rgba(8, 13, 30, 0.28), transparent);
}

.home-hero-content h1,
.home-hero-content .hero-subtitle {
  text-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.section-title {
  text-align: center;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 3.5rem;
  font-size: 1.05rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.text-gradient {
  background: linear-gradient(135deg, var(--purple-main) 0%, var(--purple-electric) 50%, var(--blue-accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-neon {
  color: var(--neon-accent);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.badge-purple {
  background: rgba(109, 40, 217, 0.08);
  color: var(--purple-main);
  border: 1px solid rgba(109, 40, 217, 0.2);
}

.badge-neon {
  background: rgba(109, 40, 217, 0.1);
  color: var(--purple-main);
  border: 1px solid rgba(109, 40, 217, 0.25);
}

.badge-discount {
  background: linear-gradient(135deg, #ef4444, #f97316);
  color: #fff;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

.badge-stock {
  background: rgba(34, 197, 94, 0.12);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.25);
}

.badge-limited {
  background: rgba(239, 68, 68, 0.12);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.hidden {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- BANNER ENVÍOS ---------- */
.shipping-ribbon {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1001;
  height: var(--shipping-ribbon-h);
  margin-top: 0;
  overflow: hidden;
  background: linear-gradient(90deg, #6D28D9, #2563EB 48%, #00B894);
  color: #fff;
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.16);
}

.shipping-ribbon-track {
  display: flex;
  width: max-content;
  height: 100%;
  align-items: center;
  gap: 2.5rem;
  animation: shippingLoop 26s linear infinite;
}

.shipping-ribbon span {
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  white-space: nowrap;
  text-transform: uppercase;
}

@keyframes shippingLoop {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ---------- BOTONES ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-width: 0;
  max-width: 100%;
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.93rem;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition), color var(--transition), opacity var(--transition);
  white-space: nowrap;
  text-align: center;
  border: 2px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  touch-action: manipulation;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.btn:hover::before {
  opacity: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--purple-main), var(--purple-electric));
  color: #fff;
  box-shadow: 0 4px 24px rgba(109, 40, 217, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(109, 40, 217, 0.5);
}

.btn-secondary {
  background: var(--bg-secondary);
  color: var(--text-primary);
  border-color: var(--border-glass);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--purple-main);
  background: rgba(109, 40, 217, 0.05);
  transform: translateY(-2px);
}

.btn-neon {
  background: var(--purple-main);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 4px 24px rgba(109, 40, 217, 0.25);
}

.btn-neon:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(109, 40, 217, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--purple-main);
  border-color: rgba(109, 40, 217, 0.3);
}

.btn-outline:hover {
  background: rgba(109, 40, 217, 0.08);
  border-color: var(--purple-main);
}

.btn-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background: #25D366;
  color: #fff;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.2);
}

.btn-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.35);
}

.btn-sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.83rem;
}

.btn-lg {
  padding: 1.05rem 2.5rem;
  font-size: 1.02rem;
}

.btn-block {
  width: 100%;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* ---------- HEADER ---------- */
.site-header {
  position: fixed;
  top: var(--shipping-ribbon-h);
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

/* ---- Top Bar ---- */
.header-topbar {
  background: #fff;
  padding: 0;
}

.header-topbar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.1rem;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.logo-mark,
.logo img {
  display: block !important;
  width: 150px !important;
  height: 70px !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  background: #fff !important;
  flex-shrink: 0 !important;
  object-fit: contain !important;
  padding: 3px 6px !important;
}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 6px;
}

.logo-mark::after {
  display: none;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-name {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.1rem;
  color: #111827;
  letter-spacing: 0;
}

.logo-desc {
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  font-weight: 500;
}

/* Header actions in top bar */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex: 0 0 auto;
}

.mobile-header-search {
  display: none;
}

.header-search-shell {
  flex: 1 1 520px;
  max-width: 620px;
  height: 42px;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0 0.35rem 0 0.95rem;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 999px;
  background: #f8fbff;
  color: #64748b;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.8), 0 8px 22px rgba(15, 23, 42, 0.04);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.header-search-shell.active,
.header-search-shell:focus-within {
  background: #fff;
  border-color: rgba(109, 40, 217, 0.35);
  box-shadow: 0 0 0 4px rgba(109, 40, 217, 0.08), 0 14px 32px rgba(15, 23, 42, 0.08);
}

.header-search-shell input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text-primary);
  font: inherit;
  font-size: 0.92rem;
}

.header-search-shell input::placeholder {
  color: #8b97ad;
}

.header-search-shell button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #64748b;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
  cursor: pointer;
  transition: transform var(--transition-fast), color var(--transition-fast), background var(--transition-fast);
}

.header-search-shell button:hover {
  background: var(--purple-main);
  color: #fff;
  transform: translateX(2px);
}

.header-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.22);
  color: #111827;
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
}

.header-icon-btn:hover {
  background: #f8fbff;
  border-color: rgba(109, 40, 217, 0.25);
  transform: translateY(-1px);
}

.header-icon-btn svg {
  stroke: currentColor;
}

#headerSearchBtn {
  display: none;
}

/* Currency selector */
.header-currency-selector {
  display: none;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.22);
  color: #111827;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 600;
  transition: all var(--transition-fast);
  height: 38px;
}

.header-currency-selector:hover {
  background: #f8fbff;
  border-color: rgba(109, 40, 217, 0.25);
}

.currency-flag {
  font-size: 1rem;
  line-height: 1;
}

.currency-code {
  letter-spacing: 0.5px;
}

.header-currency-selector svg {
  stroke: currentColor;
  margin-left: -0.1rem;
}

/* Cart link in top bar */
.header-topbar .cart-link {
  width: 38px;
  height: 38px;
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 10px;
  color: #111827;
  box-shadow: none;
}

.header-topbar .cart-link:hover {
  background: #f8fbff;
  border-color: rgba(109, 40, 217, 0.25);
}

.cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  background: #EF4444;
  color: #fff;
  border-radius: var(--radius-full);
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition);
}

.cart-count.bump {
  animation: bump 0.4s ease;
}

@keyframes bump {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.4);
  }
}

/* ---- Bottom Nav Bar ---- */
.header-navbar {
  background: #fff;
  border-bottom: 1px solid rgba(17, 24, 39, 0.06);
}

.main-nav {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  height: 46px;
  padding: 0 1.5rem;
}

.main-nav a {
  padding: 0.7rem 1.15rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: #4B5563;
  transition: all var(--transition-fast);
  position: relative;
  letter-spacing: 0;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2.5px;
  background: linear-gradient(90deg, var(--purple-main), var(--purple-electric));
  border-radius: 2px;
  transition: all var(--transition);
  transform: translateX(-50%);
}

.main-nav a:hover {
  color: var(--purple-main);
}

.main-nav a.active {
  color: var(--purple-main);
  font-weight: 600;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 70%;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.22);
  cursor: pointer;
}

.hamburger span {
  width: 20px;
  height: 2px;
  background: #111827;
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- SECTION HEADER (título izquierda + link derecha) ---------- */
/* ---------- BUSCADOR CON PREVIEW ---------- */
.search-preview-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  padding: calc(var(--shipping-ribbon-h) + var(--header-h) + 0.9rem) 1rem 1.5rem;
  background: rgba(15, 23, 42, 0.42);
  backdrop-filter: blur(10px);
}

.search-preview-overlay.open {
  display: block;
}

.search-preview-panel {
  width: min(920px, 100%);
  margin: 0 auto;
  padding: 0.9rem;
  border-radius: 28px;
  border: 1px solid rgba(148, 163, 184, 0.32);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.24);
}

.search-preview-form {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  height: 52px;
  padding: 0 0.45rem 0 1rem;
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 999px;
  background: #fff;
  color: #64748b;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.search-preview-form input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text-primary);
  font: inherit;
}

.search-preview-form button {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f8fbff;
  color: #334155;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.search-preview-form button:hover {
  background: var(--purple-main);
  color: #fff;
  transform: translateX(2px);
}

.search-preview-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(320px, 1.14fr);
  gap: 0.8rem;
  margin-top: 0.85rem;
}

.search-results-card,
.search-feature-card {
  min-height: 420px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 20px;
  background: #fff;
}

.search-results-card {
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
}

.search-preview-title strong {
  display: block;
  color: var(--text-primary);
  font-family: var(--font-title);
  font-size: 1.08rem;
}

.search-preview-title span {
  display: block;
  color: var(--text-muted);
  font-size: 0.78rem;
  margin-top: 0.15rem;
}

.search-results-list {
  display: grid;
  gap: 0.65rem;
  margin-top: 1rem;
}

.search-result-item {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  gap: 0.75rem;
  min-height: 64px;
  padding: 0.45rem 0.55rem;
  border-radius: 16px;
  color: var(--text-primary);
  transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.search-result-item:hover {
  background: #f8fbff;
  transform: translateY(-1px);
  box-shadow: inset 0 0 0 1px rgba(109, 40, 217, 0.1);
}

.search-result-thumb {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f7fb;
  overflow: hidden;
}

.search-result-thumb img {
  width: 88%;
  height: 88%;
  object-fit: contain;
}

.search-result-copy strong {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--text-primary);
  font-size: 0.88rem;
  line-height: 1.25;
}

.search-result-copy small {
  color: var(--text-muted);
  font-size: 0.76rem;
}

.search-result-item b {
  color: var(--text-primary);
  font-size: 0.88rem;
  white-space: nowrap;
}

.search-empty {
  padding: 1rem;
  border-radius: 16px;
  background: #f8fbff;
  color: var(--text-secondary);
}

.search-empty strong,
.search-empty span {
  display: block;
}

.search-empty span {
  margin-top: 0.25rem;
  font-size: 0.84rem;
}

.search-store-link {
  margin-top: auto;
  align-self: center;
  color: var(--text-primary);
  font-weight: 800;
  font-size: 0.9rem;
}

.search-feature-card {
  padding: 1.4rem;
  display: grid;
  align-content: start;
}

.search-feature-kicker {
  justify-self: start;
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  background: #eaf4ff;
  color: #334155;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.search-feature-media {
  height: 210px;
  margin: 0.6rem 0 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-feature-media img {
  max-width: 86%;
  max-height: 100%;
  object-fit: contain;
}

.search-feature-meta {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.search-feature-card h3 {
  margin-top: 0.35rem;
  color: var(--text-primary);
  font-size: clamp(1.3rem, 2vw, 1.8rem);
}

.search-feature-card p {
  margin-top: 0.65rem;
  max-width: 460px;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.search-feature-card strong {
  display: block;
  margin: 1rem 0;
  color: var(--text-primary);
  font-size: 1.45rem;
  font-weight: 900;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.section-title-left {
  text-align: left;
  margin-bottom: 0.4rem;
}

.section-subtitle-left {
  text-align: left;
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 0;
}

/* ---------- SECTION EYEBROW ---------- */
.section-eyebrow {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--purple-main);
  margin-bottom: 0.5rem;
}

/* ---------- HERO BADGE ROW ---------- */
.hero-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

/* ---------- HERO STATS ---------- */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.hero-stat-num {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary);
}

.hero-stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.hero-stat-divider {
  width: 1px;
  height: 32px;
  background: var(--border-glass-strong);
}

/* ---------- BTN ARROW ---------- */
.btn-arrow {
  transition: transform var(--transition);
  display: inline-block;
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: clamp(340px, 52vh, 460px);
  display: flex;
  align-items: center;
  padding-top: 0;
  overflow: hidden;
}

.commerce-hero {
  min-height: 92vh;
  background: #05080f;
  color: #fff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(109, 40, 217, 0.12), transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(37, 99, 235, 0.08), transparent 50%),
    radial-gradient(ellipse at 50% 90%, rgba(139, 92, 246, 0.06), transparent 50%),
    linear-gradient(180deg, #ffffff 0%, #f0f0fa 50%, #ffffff 100%);
}

.commerce-hero .hero-bg {
  background:
    radial-gradient(circle at 78% 24%, rgba(92, 181, 255, 0.32), transparent 23%),
    radial-gradient(circle at 24% 75%, rgba(53, 255, 156, 0.13), transparent 22%),
    linear-gradient(118deg, #06090f 0%, #101923 46%, #d6e5f1 100%);
}

/* Subtle grid overlay */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(109, 40, 217, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(109, 40, 217, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.hero-decoration {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.15;
  animation: float 10s ease-in-out infinite;
}

.glow-orb-1 {
  width: 480px;
  height: 480px;
  background: var(--purple-main);
  top: 5%;
  left: -8%;
}

.glow-orb-2 {
  width: 360px;
  height: 360px;
  background: var(--blue-accent);
  bottom: 10%;
  right: -5%;
  animation-delay: 4s;
}

.glow-orb-3 {
  width: 250px;
  height: 250px;
  background: var(--purple-electric);
  top: 40%;
  right: 30%;
  animation-delay: 6s;
  opacity: 0.1;
}

@keyframes float {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(40px, -50px) scale(1.05);
  }

  66% {
    transform: translate(-30px, 30px) scale(0.95);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  width: 100%;
}

.hero-text {
  max-width: 600px;
}

.commerce-hero .hero-text {
  max-width: 660px;
}

.hero-badge {
  margin-bottom: 1.5rem;
}

.hero h1 {
  margin-bottom: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
}

.commerce-hero h1 {
  color: #fff;
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: 0;
  text-transform: uppercase;
  max-width: 850px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.15rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  font-weight: 700;
}

.hero-kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--neon-accent);
  box-shadow: 0 0 18px rgba(32, 214, 168, 0.8);
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.75;
  max-width: 520px;
}

.commerce-hero .hero-subtitle {
  color: rgba(255, 255, 255, 0.78);
  max-width: 560px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-mini-card {
  margin-top: 2.8rem;
  width: min(100%, 360px);
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 1rem;
  align-items: center;
  padding: 0.8rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(18px);
}

.hero-mini-card img {
  width: 96px;
  height: 72px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.9);
}

.hero-mini-card span {
  display: block;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.2rem;
}

.hero-mini-card strong {
  display: block;
  color: #fff;
  font-size: 0.86rem;
  line-height: 1.35;
}

.hero-mini-card a {
  display: inline-block;
  color: var(--neon-accent);
  font-size: 0.74rem;
  font-weight: 700;
  margin-top: 0.35rem;
  text-transform: uppercase;
}

/* Hero visual */
.hero-visual {
  position: relative;
  min-height: 510px;
}

.hero-main-product {
  position: absolute;
  right: 2%;
  bottom: 8%;
  width: min(92%, 620px);
  height: auto;
  filter: drop-shadow(0 38px 60px rgba(0, 0, 0, 0.42));
  animation: productDrift 8s ease-in-out infinite;
}

.hero-secondary-product {
  position: absolute;
  left: 0;
  bottom: 2%;
  width: min(42%, 240px);
  padding: 0.7rem;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
}

.hero-orbit-card {
  position: absolute;
  right: 2%;
  top: 16%;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
}

.hero-orbit-card span {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.65);
}

.hero-orbit-card strong {
  font-size: 0.78rem;
  max-width: 88px;
  line-height: 1.25;
}

.hero-location {
  position: absolute;
  right: 0;
  top: 46%;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: grid;
  gap: 0.4rem;
  text-align: right;
}

@keyframes productDrift {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px);
  }
}

.hero-card-stack {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-product-img {
  width: 100%;
  max-width: 460px;
  aspect-ratio: 4/3.5;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(135deg, rgba(109, 40, 217, 0.06), rgba(37, 99, 235, 0.03));
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.hero-product-img::before {
  display: none;
}

.hero-product-img .placeholder-icon {
  font-size: 6rem;
  opacity: 0.25;
  filter: drop-shadow(0 4px 20px rgba(109, 40, 217, 0.15));
}

.hero-product-img > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1.5rem;
  filter: drop-shadow(0 18px 28px rgba(15, 23, 42, 0.18));
}

/* Floating benefit cards */
.float-card {
  position: absolute;
  padding: 0.9rem 1.2rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  box-shadow: var(--shadow-md);
  animation: floatCard 6s ease-in-out infinite;
}

.float-card .fc-icon {
  font-size: 1.4rem;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(109, 40, 217, 0.1);
}

.float-card .fc-text {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
}

.float-card .fc-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.float-card-1 {
  top: 8%;
  left: -10%;
  animation-delay: 0s;
}

.float-card-2 {
  bottom: 18%;
  right: -8%;
  animation-delay: 2s;
}

.float-card-3 {
  bottom: -8%;
  left: 8%;
  animation-delay: 4s;
}

@keyframes floatCard {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px);
  }
}

/* ---------- HERO PREMIUM OFTALMOLOGIA ---------- */
/* Home page header doesn't need background overrides - gradient topbar is universal */
.home-page .site-header {
  box-shadow: none;
}

.home-page .site-header.scrolled {
  box-shadow: 0 4px 24px rgba(17, 24, 39, 0.10);
}

.premium-eye-hero {
  --clinic-black: #060913;
  --clinic-brown: #111827;
  --clinic-terracotta: #6D28D9;
  --clinic-white: #FFFFFF;
  --clinic-gray: #D1D5DB;
  --clinic-beige: #8B5CF6;
  --clinic-rose: #25D366;
  --hero-bg-image: url('https://admin.smiperu.com/wp-content/uploads/2026/07/BANNERS-WEB-1.png');
  min-height: 100vh;
  isolation: isolate;
  background: var(--clinic-black);
}

.premium-eye-hero .hero-bg {
  background-image: var(--hero-bg-image);
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  filter: saturate(1.08) contrast(1.04) brightness(0.94);
  transition: background-image 0.55s ease, filter 0.55s ease;
}

.home-page .premium-eye-hero .hero-bg {
  opacity: 1;
}

.home-page .premium-eye-hero {
  aspect-ratio: 2172 / 724;
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  margin-top: calc(var(--shipping-ribbon-h) + var(--header-h));
}

.home-page .premium-eye-hero .hero-content {
  min-height: 0;
  padding: 0;
}

.home-hero-slider {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  width: 100%;
  height: 100%;
  background: #05080f;
}

.home-hero-slide {
  position: absolute;
  inset: 0;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0;
  transform: scale(1);
  transition: opacity 0.55s ease;
  will-change: opacity;
}

.home-hero-slide.active {
  opacity: 1;
}

.home-hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 8, 15, 0.08), rgba(5, 8, 15, 0) 52%, rgba(5, 8, 15, 0.08));
}

.home-hero-slide-1 {
  background-image: url('https://admin.smiperu.com/wp-content/uploads/2026/07/BANNERS-WEB-1.png');
}

.home-hero-slide-2 {
  background-image: url('https://admin.smiperu.com/wp-content/uploads/2026/07/BANNERS-WEB-2.png');
}

.home-hero-slide-3 {
  background-image: url('https://admin.smiperu.com/wp-content/uploads/2026/07/BANNERS-WEB-3.png');
}

.home-hero-dots {
  position: absolute;
  left: 50%;
  bottom: clamp(0.65rem, 2vw, 1.1rem);
  z-index: 4;
  display: inline-flex;
  gap: 0.45rem;
  transform: translateX(-50%);
}

.home-hero-dot {
  width: 30px;
  height: 5px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: width var(--transition-fast), background var(--transition-fast);
}

.home-hero-dot.active {
  width: 46px;
  background: #fff;
}

@media (prefers-reduced-motion: reduce) {
  html,
  body {
    scroll-behavior: auto;
  }

  .google-reviews-track,
  .brand-logo-track,
  .shipping-ribbon-track {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
  }
}

.premium-eye-hero .hero-bg::before,
.premium-eye-hero .hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.premium-eye-hero .hero-bg::after {
  background-image:
    radial-gradient(ellipse at center, transparent 48%, rgba(10, 4, 2, 0.34) 100%),
    linear-gradient(rgba(251, 250, 250, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(251, 250, 250, 0.02) 1px, transparent 1px);
  background-size: cover, 84px 84px, 84px 84px;
  mask-image: linear-gradient(90deg, black, transparent 72%);
  -webkit-mask-image: linear-gradient(90deg, black, transparent 72%);
}

.premium-eye-hero .hero-content {
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.78fr);
  min-height: 100vh;
  padding-top: calc(var(--shipping-ribbon-h) + var(--header-h));
  padding-bottom: 0rem;
}

.premium-eye-hero .hero-text {
  animation: heroFadeUp 0.9s ease both;
}

.premium-eye-hero .hero-kicker {
  color: rgb(251 250 250 / 0%);
  letter-spacing: 0.18em;
}

.premium-eye-hero .hero-kicker::before {
  display: none;
}

.premium-eye-hero h1 {
  color: var(--clinic-white);
  max-width: 760px;
  font-size: clamp(3.2rem, 6.2vw, 3.2rem);
  line-height: 0.92;
  text-transform: none;
  text-wrap: balance;
  text-shadow: 0 28px 80px rgba(10, 4, 2, 0.62);
}

.premium-eye-hero .hero-subtitle {
  max-width: 610px;
  color: rgba(251, 250, 250, 0.78);
  font-size: clamp(1rem, 1.5vw, 1.16rem);
}

.premium-eye-hero .hero-buttons .btn {
  border-radius: var(--radius-full);
  min-height: 52px;
  font-weight: 800;
  letter-spacing: 0;
}

.premium-eye-hero .hero-buttons .btn-primary {
  background: linear-gradient(135deg, #6d28d9 0%, #8b5cf6 100%);
  color: #fff;
  padding: 0.75rem 1.05rem 0.75rem 1.45rem;
  border: 1px solid rgba(167, 139, 250, 0.46);
  box-shadow: 0 16px 34px rgba(109, 40, 217, 0.36);
}

.premium-eye-hero .hero-buttons .btn-primary .btn-arrow {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  color: var(--purple-main);
  margin-left: 0.35rem;
  transition: transform var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
}

.premium-eye-hero .hero-buttons .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 46px rgba(109, 40, 217, 0.44);
}

.premium-eye-hero .hero-buttons .btn-primary:hover .btn-arrow {
  transform: translateX(3px);
  background: #25D366;
  color: #fff;
}

.premium-eye-hero .hero-buttons .btn-secondary {
  background: rgba(255, 255, 255, 0.96);
  color: var(--purple-main);
  border: 1.5px solid rgba(139, 92, 246, 0.72);
  box-shadow: 0 12px 28px rgba(10, 4, 2, 0.16);
  backdrop-filter: blur(18px);
}

.premium-eye-hero .hero-buttons .btn-secondary:hover {
  background: #fff;
  border-color: var(--purple-main);
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(109, 40, 217, 0.2);
}

.premium-eye-hero .hero-mini-card {
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(139, 92, 246, 0.24);
  box-shadow: 0 18px 46px rgba(10, 4, 2, 0.26);
}

.premium-eye-hero .hero-mini-card img {
  border-radius: 16px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(17, 24, 39, 0.06);
}

.premium-eye-hero .hero-mini-card span {
  color: var(--purple-main);
  font-weight: 900;
}

.premium-eye-hero .hero-mini-card strong {
  color: var(--text-primary);
}

.premium-eye-hero .hero-mini-card a {
  color: #25D366;
  font-weight: 900;
}

.eye-doctor-panel {
  min-height: 440px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 0.85rem;
  animation: doctorFloatIn 0.95s 0.18s ease both;
}

.doctor-card {
  position: relative;
  width: min(100%, 330px);
  padding: 1.05rem;
  border-radius: 28px;
  background: rgb(251 250 250 / 41%);
  border: 1px solid rgba(251, 250, 250, 0.6);
  box-shadow: 0 32px 90px rgba(10, 4, 2, 0.38);
  backdrop-filter: blur(28px) saturate(140%);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.doctor-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 42px 110px rgba(10, 4, 2, 0.48);
}

.doctor-card.is-changing {
  opacity: 0.55;
  transform: translateY(8px) scale(0.98);
}

.doctor-card-glow {
  position: absolute;
  width: 190px;
  height: 190px;
  right: -60px;
  top: -70px;
  border-radius: 50%;
  background: rgba(109, 40, 217, 0.24);
  filter: blur(14px);
}

.doctor-image-ring {
  position: relative;
  width: 132px;
  height: 132px;
  padding: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffffff, #eef2ff);
  box-shadow: 0 18px 42px rgba(17, 24, 39, 0.18);
}

.doctor-image-ring img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 50%;
}

.hero-product-card {
  padding: 0.85rem;
}

.hero-product-image-ring {
  width: 100%;
  height: 190px;
  border-radius: 22px;
  padding: 0.8rem;
  background: rgb(255 255 255);
}

.hero-product-image-ring img {
  object-fit: contain;
  border-radius: 18px;
}

.hero-product-copy {
  margin-top: 0.85rem;
}

.hero-product-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

.hero-product-actions .doctor-profile-btn {
  margin-top: 0;
  min-height: 42px;
}

.hero-product-quote {
  flex: 0 0 46px;
  width: 46px;
  padding: 0;
  overflow: hidden;
  background: #25D366;
  border-radius: 50%;
  box-shadow: 0 12px 24px rgba(37, 211, 102, 0.3);
}

.hero-product-quote:hover {
  background: #1fae56;
}

.hero-product-quote img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;
}

.hero-product-quote span {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero-product-actions .doctor-profile-btn:not(.hero-product-quote) {
  flex: 1 1 auto;
  background: linear-gradient(135deg, #6d28d9, #8b5cf6);
  color: #fff;
  box-shadow: 0 12px 28px rgba(109, 40, 217, 0.28);
}

.doctor-card-copy {
  position: relative;
  margin-top: 1.35rem;
}

.hero-product-eyebrow {
  display: inline-flex;
  margin-bottom: 0.65rem;
  color: #c4c4c4;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.doctor-card h2 {
  color: #ffffff;
  font-size: clamp(1.28rem, 1vw, 1.7rem);
  margin-bottom: 0.35rem;
}

.doctor-card p {
  color: var(--clinic-gray);
  font-size: 0.9rem;
}

.doctor-profile-btn {
  margin-top: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0.58rem 1rem;
  border: 0;
  border-radius: var(--radius-full);
  background: var(--clinic-black);
  color: var(--clinic-white);
  font-weight: 800;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
}

.doctor-profile-btn:hover {
  transform: translateY(-2px);
  background: var(--clinic-brown);
  box-shadow: 0 14px 34px rgba(90, 37, 20, 0.26);
}

.doctor-slider-controls {
  width: min(100%, 330px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.55rem;
  border-radius: var(--radius-full);
  background: rgba(10, 4, 2, 0.34);
  border: 1px solid rgba(251, 250, 250, 0.15);
  backdrop-filter: blur(20px);
}

.doctor-nav-btn {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(251, 250, 250, 0.2);
  border-radius: 50%;
  background: rgba(251, 250, 250, 0.08);
  color: var(--clinic-white);
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition);
}

.doctor-nav-btn:hover {
  transform: translateY(-2px);
  background: rgba(251, 250, 250, 0.18);
}

.doctor-dots {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.doctor-dot {
  width: 34px;
  height: 5px;
  border: 0;
  border-radius: var(--radius-full);
  background: rgba(251, 250, 250, 0.25);
  cursor: pointer;
  transition: width var(--transition), background var(--transition);
}

.doctor-dot.active {
  width: 58px;
  background: var(--clinic-beige);
}

.doctor-progress {
  width: min(100%, 330px);
  height: 2px;
  background: rgba(251, 250, 250, 0.15);
  overflow: hidden;
}

.doctor-progress span {
  display: block;
  width: 33.33%;
  height: 100%;
  background: linear-gradient(90deg, var(--clinic-beige), var(--clinic-rose));
  transition: transform var(--transition);
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes doctorFloatIn {
  from {
    opacity: 0;
    transform: translateY(32px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ---------- CATEGORÍAS DESTACADAS HOME ---------- */
.featured-categories-section {
  background: #fff;
  padding: 2.6rem 0 2.85rem;
  border-bottom: 1px solid rgba(17, 24, 39, 0.06);
}

.shop-category-strip {
  padding: 0 0 2rem;
  border-bottom: 0;
  background: transparent;
}

.featured-categories-head {
  text-align: center;
  margin-bottom: 1.7rem;
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  font-weight: 900;
  color: var(--text-primary);
}

.featured-categories-row {
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 2.8vw, 2.8rem);
  overflow-x: auto;
  padding: 0.35rem 0.5rem 0.75rem;
  scrollbar-width: none;
}

.featured-categories-row::-webkit-scrollbar {
  display: none;
}

.featured-category {
  flex: 0 0 auto;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 0.7rem;
  width: 150px;
  min-height: 162px;
  padding: 1rem 0.85rem;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #d1d5db;
  color: var(--text-primary);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast);
}

.featured-category span {
  width: 112px;
  height: 82px;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  box-shadow: none;
  transition: transform var(--transition-fast);
}

.featured-category img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.featured-category-icon {
  color: var(--purple-main);
  font-size: 2rem;
  font-weight: 900;
}

.featured-category small {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-secondary);
}

.featured-category:hover span {
  transform: translateY(-2px);
}

.featured-category:hover {
  transform: translateY(-4px);
  background: #fff;
  box-shadow: 0 18px 38px rgba(17, 24, 39, 0.12);
}

/* ---------- HERO INTERNO (subpáginas) ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--shipping-ribbon-h) + var(--header-h) + 3.5rem) 0 3.5rem;
  text-align: center;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse at 25% 50%, rgba(109, 40, 217, 0.12), transparent 50%),
    radial-gradient(ellipse at 75% 50%, rgba(37, 99, 235, 0.06), transparent 50%),
    linear-gradient(180deg, #ffffff, #f0f0fa);
}

.page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(109, 40, 217, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(109, 40, 217, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask: radial-gradient(ellipse at center, black 20%, transparent 70%);
  -webkit-mask: radial-gradient(ellipse at center, black 20%, transparent 70%);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  margin-bottom: 0.85rem;
  color: var(--text-primary);
}

.page-hero p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
}

.page-hero .badge {
  margin-bottom: 1.25rem;
}

/* ---------- BENEFICIOS ---------- */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.benefits-showcase {
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 210px;
}

.offers-background-grid {
  grid-template-columns: 1fr;
  grid-auto-rows: auto;
}

.offer-single-banner {
  display: block;
  width: 100%;
}

.offer-single-banner-card {
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 0;
  background: #050111;
  line-height: 0;
  box-shadow: 0 22px 50px rgba(21, 28, 48, 0.16);
}

.offer-single-banner-card img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 1;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.benefit-card {
  padding: 2.25rem 1.75rem;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  text-align: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.benefits-showcase .benefit-card {
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: #fff;
  min-height: 210px;
  border: 0;
  box-shadow: 0 22px 50px rgba(21, 28, 48, 0.16);
}

.benefits-showcase .benefit-card::before {
  display: none;
}

.benefits-showcase .benefit-card h3 {
  color: #fff;
  font-size: 1.35rem;
  max-width: 360px;
}

.benefits-showcase .benefit-card p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 360px;
}

.benefits-showcase .benefit-card img {
  width: 34%;
  max-height: 160px;
  object-fit: contain;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.22));
}

.benefit-wide {
  grid-column: 1;
}

.benefit-tall {
  grid-column: 2;
  grid-row: span 2;
  min-height: 436px;
  flex-direction: column;
  align-items: flex-start;
}

.benefits-showcase .benefit-tall img {
  width: 88%;
  max-height: 260px;
  margin: auto auto 0;
}

.benefit-blue {
  background: linear-gradient(120deg, #0aa8ff, #1266ff 72%);
}

.benefit-violet {
  background: linear-gradient(135deg, #21105b, #7d2cff 58%, #151038);
}

.benefit-magenta {
  background: linear-gradient(120deg, #c12cff, #6c3dff 62%, #3b1aa8);
}

.offers-background-grid .offer-background-card {
  isolation: isolate;
  background-color: #050111;
  aspect-ratio: 3 / 1;
  min-height: 0;
  padding: 0;
  line-height: 0;
  filter: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.offers-background-grid .offer-background-card img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  object-position: center;
  border-radius: inherit;
  filter: none;
}

.offers-background-grid .offer-background-card:nth-child(1) {
  grid-column: 1 / -1;
  grid-row: 1;
}

.offers-background-grid .offer-background-card:nth-child(2) {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  aspect-ratio: 16 / 9;
}

.offers-background-grid .offer-background-card:nth-child(3) {
  grid-column: 1;
  grid-row: 2;
}

.offers-background-grid .offer-background-card::before,
.offers-background-grid .offer-background-card::after {
  display: none;
  content: none;
}

.offers-background-grid .offer-background-card:hover {
  transform: none;
  border-color: transparent;
}

.benefit-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: #283044;
  font-size: 0.72rem;
  font-weight: 800;
  margin-bottom: 0.85rem;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--purple-main), var(--purple-electric));
  opacity: 0;
  transition: opacity var(--transition);
}

.benefit-card:hover {
  transform: translateY(-8px);
  border-color: rgba(109, 40, 217, 0.2);
  box-shadow: var(--shadow-card-hover);
}

.benefit-card:hover::before {
  opacity: 1;
}

.benefit-icon {
  width: 64px;
  height: 80px;
  margin: 0 auto 1.35rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  background: linear-gradient(135deg, rgba(109, 40, 217, 0.1), rgba(37, 99, 235, 0.05));
  border: 1px solid rgba(109, 40, 217, 0.12);
}

.benefit-icon img,
.value-card .vc-icon img,
.contact-info-item .ci-icon img,
.empty-state .es-icon img,
.benefit-icon svg,
.value-card .vc-icon svg,
.contact-info-item .ci-icon svg,
.empty-state .es-icon svg {
  display: block;
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefit-icon img,
.value-card .vc-icon img,
.contact-info-item .ci-icon img,
.empty-state .es-icon img {
  object-fit: contain;
}

.benefit-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.benefit-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---------- PRODUCTOS DESTACADOS (carrusel) ---------- */
.carousel-wrapper {
  position: relative;
  --carousel-gap: 1.5rem;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: var(--carousel-gap);
  overflow-x: hidden;
  scroll-behavior: smooth;
  padding: 1rem 0 2rem;
  width: 100%;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 0;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-btn {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(139, 92, 246, 0.15);
  color: var(--text-primary);
  border: 1px solid rgba(139, 92, 246, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  z-index: 5;
  transition: all var(--transition);
  backdrop-filter: blur(12px);
}

.carousel-btn:hover {
  background: var(--purple-main);
  transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
  left: 0.65rem;
}

.carousel-btn.next {
  right: 0.65rem;
}

/* ---------- TARJETA DE PRODUCTO ---------- */
.product-card {
  flex: 0 0 290px;
  max-width: 290px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  scroll-snap-align: start;
}

.carousel-track .product-card {
  flex: 0 0 calc((100% - (var(--carousel-gap) * 4)) / 5);
  max-width: calc((100% - (var(--carousel-gap) * 4)) / 5);
  min-width: 0;
}

#homeProductsGrid .product-card,
#laptopsTrack .product-card,
#printersTrack .product-card,
#peripheralsTrack .product-card {
  flex-basis: calc((100% - (var(--carousel-gap) * 3)) / 4);
  max-width: calc((100% - (var(--carousel-gap) * 3)) / 4);
}

.product-category-section {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.product-category-section + .product-category-section {
  padding-top: 1rem;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--purple-main), var(--purple-electric));
  opacity: 0;
  transition: opacity var(--transition);
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: rgba(109, 40, 217, 0.2);
  box-shadow: var(--shadow-card-hover);
}

.product-card:hover::before {
  opacity: 1;
}

.product-img-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-img-wrap img {
  position: relative;
  z-index: 1;
  background: white;
  max-width: 88%;
  max-height: 88%;
  margin-top: 55px;
}

.product-img-placeholder {
  font-size: 3.2rem;
  opacity: 0.25;
  filter: grayscale(0.2);
  transition: transform var(--transition-slow);
}

.product-card:hover .product-img-placeholder {
  transform: scale(1.15) rotate(-5deg);
  opacity: 0.35;
}

.product-img-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  right: 0.85rem;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0.4rem;
  z-index: 3;
  min-width: 0;
  pointer-events: none;
}

.product-img-badge .badge {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
  justify-content: center;
  white-space: nowrap;
  font-size: 0.68rem;
  line-height: 1.05;
  padding: 0.38rem 0.72rem;
  letter-spacing: 0;
}

.product-img-badge .badge-discount {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: 999px;
  font-size: 0.72rem;
  box-shadow: 0 10px 22px rgba(239, 68, 68, 0.32);
}

.product-info {
  padding: 1.1rem 1.2rem 1.3rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-marca {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--purple-main);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 0.3rem;
}

.product-name {
  font-family: var(--font-title);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
  line-height: 1.3;
}

.product-type {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-bottom: 0.65rem;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-bottom: 0.65rem;
}

.stars {
  color: #fbbf24;
  font-size: 0.78rem;
  letter-spacing: 1px;
}

.rating-num {
  font-size: 0.73rem;
  color: var(--text-muted);
}

.product-price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.price-original {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.price-oferta {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--purple-main);
  font-family: var(--font-title);
}

.price-normal {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-primary);
  font-family: var(--font-title);
}

.product-stock {
  font-size: 0.74rem;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.stock-yes {
  color: #4ade80;
}

.stock-low {
  color: #fbbf24;
}

.stock-no {
  color: #f87171;
}

.product-actions {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 10px;
  min-width: 0;
}

.product-actions-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.4rem;
  min-width: 0;
}

.product-actions-row .btn {
  flex: 1;
  min-width: 0;
  padding: 0.55rem 0.6rem;
  font-size: 0.78rem;
  line-height: 1.15;
}

.btn-icon-only {
  flex: 0 0 auto !important;
  width: 38px;
  padding: 0.55rem !important;
}

.product-actions .btn-primary,
.recent-product-actions .btn-primary,
.offer-slide-actions .btn-primary,
#detailAddCart {
  background: linear-gradient(135deg, #ff8a00, #ff5a1f);
  border-color: rgba(255, 138, 0, 0.45);
  color: #fff;
  box-shadow: 0 12px 26px rgba(255, 104, 31, 0.25);
}

.product-actions .btn-primary:hover,
.recent-product-actions .btn-primary:hover,
.offer-slide-actions .btn-primary:hover,
#detailAddCart:hover {
  background: linear-gradient(135deg, #ff9f1c, #f97316);
  box-shadow: 0 16px 32px rgba(249, 115, 22, 0.32);
}

.btn-wa img {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
}

#detailQuote.btn-wa img {
  width: 30px;
  height: 30px;
}

.badge-new {
  background: linear-gradient(135deg, #18c964, #00a86b);
  color: #fff;
  box-shadow: 0 8px 18px rgba(24, 201, 100, 0.25);
}

.badge-category {
  background: rgba(109, 40, 217, 0.1);
  color: var(--purple-main);
  border: 1px solid rgba(109, 40, 217, 0.24);
  box-shadow: 0 10px 22px rgba(109, 40, 217, 0.12);
}

/* ---------- GRID DE PRODUCTOS (tienda) ---------- */
.catalog-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.filters-sidebar {
  position: sticky;
  --filters-sticky-offset: calc(var(--shipping-ribbon-h) + var(--header-h) + 4rem);
  top: var(--filters-sticky-offset);
  max-height: calc(100vh - var(--filters-sticky-offset) - 1.5rem);
  overflow-y: auto;
  padding: 1.25rem;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-sm);
}

.filter-block {
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 0;
}

.filter-block:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.filter-block h2 {
  position: relative;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.9rem;
  color: var(--text-primary);
}

.catalog-content {
  min-width: 0;
}

.shop-catalog-banner {
  margin-bottom: 1.35rem;
  overflow: hidden;
  border: 1px solid rgba(17, 24, 39, 0.08);
  background: #050111;
  box-shadow: 0 14px 36px rgba(17, 24, 39, 0.06);
}

.shop-catalog-banner picture,
.shop-catalog-banner img {
  display: block;
  width: 100%;
}

.shop-catalog-banner img {
  aspect-ratio: 3 / 1;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.shop-compact-hero + .section {
  padding-top: calc(var(--shipping-ribbon-h) + var(--header-h) + 2rem);
}

.catalog-quick-filters {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(200px, 260px);
  gap: 1rem;
  margin-bottom: 1.35rem;
  padding: 1rem;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(17, 24, 39, 0.06);
}

.catalog-quick-filters .filter-block {
  padding: 0;
  margin: 0;
}

.catalog-quick-filters .filter-block h2 {
  margin-bottom: 0.5rem;
}

.catalog-quick-filters .filter-group input,
.catalog-quick-filters .filter-group select {
  min-width: 0;
  width: 100%;
}

.catalog-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.product-card.grid-card {
  flex: none;
  max-width: none;
  width: 100%;
  min-width: 0;
}

.product-detail-link {
  color: inherit;
}

.product-name.product-detail-link {
  display: block;
  transition: color var(--transition-fast);
}

.product-name.product-detail-link:hover {
  color: var(--purple-main);
}

/* ---------- FILTROS ---------- */
.filters-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-end;
  margin-bottom: 2.5rem;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.filter-group label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.filter-group select,
.filter-group input {
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--text-primary);
  border: 1px solid var(--border-glass);
  font-size: 0.88rem;
  transition: all var(--transition-fast);
  min-width: 150px;
}

.filter-group select:focus,
.filter-group input:focus {
  outline: none;
  border-color: var(--purple-main);
  box-shadow: 0 0 0 3px rgba(109, 40, 217, 0.1);
}

.filter-group select option {
  background: #fff;
}

.filter-search {
  flex: 1;
  min-width: 200px;
}

/* Filter pills */
.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.filter-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 0.6rem;
  margin-bottom: 0;
  padding: 0.55rem;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.92), rgba(255, 255, 255, 0.98));
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.pill {
  min-width: 0;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.15;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.03);
  color: var(--text-secondary);
  border: 1px solid var(--border-glass);
  transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
  overflow-wrap: anywhere;
  white-space: normal;
  text-align: center;
}

.pill:hover {
  border-color: rgba(139, 92, 246, 0.4);
  color: var(--text-primary);
  background: rgba(139, 92, 246, 0.06);
}

.pill.active {
  background: linear-gradient(135deg, var(--purple-main), var(--purple-electric));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 2px 12px rgba(139, 92, 246, 0.3);
}

.filter-list .pill {
  width: 100%;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 8px;
  background: #fff;
  border-color: rgba(148, 163, 184, 0.18);
  box-shadow: none;
}

.filter-list .pill.active {
  background: #fff;
  color: var(--purple-main);
  border-color: rgba(109, 40, 217, 0.38);
  box-shadow: 0 10px 24px rgba(109, 40, 217, 0.12);
}

.filter-list .pill:not(.brand-logo-pill) {
  color: var(--text-primary);
  font-weight: 500;
}

#typePills .pill {
  border-color: transparent;
  box-shadow: none;
}

#typePills .pill:hover,
#typePills .pill.active {
  border-color: transparent;
}

.brand-logo-pill {
  height: 58px;
  min-height: 58px;
  padding: 0.45rem 0.55rem;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.18);
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.brand-logo-pill:hover {
  transform: translateY(-1px);
  border-color: rgba(109, 40, 217, 0.32);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.brand-logo-pill img {
  width: auto;
  max-width: 100%;
  max-height: 42px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.72;
  transition: filter var(--transition-fast), opacity var(--transition-fast), transform var(--transition-fast);
}

.brand-logo-pill:hover img,
.brand-logo-pill.active img {
  filter: grayscale(0);
  opacity: 1;
  transform: translateY(-1px);
}

.catalog-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.catalog-page-btn {
  min-width: 40px;
  min-height: 40px;
  padding: 0 0.9rem;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #fff;
  color: var(--text-secondary);
  font-weight: 800;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.catalog-page-btn:hover:not(:disabled),
.catalog-page-btn.active {
  background: var(--purple-main);
  color: #fff;
  border-color: var(--purple-main);
}

.catalog-page-btn:disabled {
  cursor: not-allowed;
  opacity: 0.4;
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
}

.empty-state .es-icon {
  font-size: 3.5rem;
  opacity: 0.25;
  margin-bottom: 1rem;
}

.empty-state p {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* ---------- OFERTAS ---------- */
.offers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.offers-grid-secondary,
.offers-page-showcase {
  margin-top: 2rem;
}

.offer-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  background: white;
  border: 1px solid var(--border-glass);
  transition: all var(--transition);
}

.offer-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.4), transparent);
}

.offer-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg), 0 0 48px rgba(139, 92, 246, 0.15);
}

.offer-card.expired {
  opacity: 0.5;
  filter: grayscale(0.5);
}

.offer-img-wrap {
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #f5f5fa, #edeef5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.offer-badges {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  z-index: 2;
}

.offer-info {
  padding: 1.5rem;
}

.offer-info .product-marca {
  margin-bottom: 0.4rem;
}

.offer-info h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

/* ---------- DETALLE DE PRODUCTO ---------- */
.product-detail-page {
  padding-top: calc(var(--shipping-ribbon-h) + var(--header-h) + 2.25rem);
  background: #fff;
}

.product-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1.1rem 0 2rem;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.product-breadcrumb a {
  color: var(--text-muted);
}

.product-breadcrumb a:hover {
  color: var(--purple-main);
}

.product-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.85fr);
  gap: 4rem;
  align-items: center;
  min-height: 620px;
}

.product-detail-gallery {
  position: relative;
  display: grid;
  gap: 1.5rem;
}

.product-detail-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f97316, #ef4444);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.product-detail-main-img {
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 20px;
  border: 1px solid rgba(17, 24, 39, 0.06);
  box-shadow: 0 24px 70px rgba(17, 24, 39, 0.08);
}

.product-detail-main-img img {
  width: min(88%, 560px);
  max-height: 520px;
  object-fit: contain;
}

.product-detail-thumbs {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.product-detail-thumb {
  width: 82px;
  height: 82px;
  border-radius: 8px;
  border: 1px solid var(--border-glass);
  background: #fff;
  padding: 0.45rem;
  cursor: pointer;
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.product-detail-thumb.active,
.product-detail-thumb:hover {
  border-color: #f59e0b;
  transform: translateY(-2px);
}

.product-detail-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-detail-info h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.7rem;
  color: var(--text-primary);
}

.product-detail-rating {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1.2rem;
  color: var(--text-muted);
  font-size: 0.86rem;
}

.detail-link-button {
  border: 0;
  background: transparent;
  color: var(--purple-main);
  font-weight: 700;
  cursor: pointer;
}

.product-detail-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.2rem;
}

.product-detail-price strong {
  color: #f59e0b;
  font-family: var(--font-title);
  font-size: 2.4rem;
}

.detail-price-old {
  color: var(--text-muted);
  text-decoration: line-through;
}

.product-detail-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  margin: 1.35rem 0;
  padding: 1rem;
  border-radius: 8px;
  background: #f7f7fb;
}

.product-detail-meta span {
  color: var(--text-muted);
  font-size: 0.86rem;
}

.product-detail-meta strong {
  color: var(--text-primary);
}

.product-detail-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.3rem;
}

.product-detail-tabs {
  margin-top: 2.5rem;
  padding: 1.25rem;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.06);
}

.detail-tabs-nav {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem;
  padding: 0.35rem;
  margin-bottom: 1.25rem;
  border-radius: 8px;
  background: #eef2f7;
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.detail-tab {
  min-width: 160px;
  min-height: 44px;
  padding: 0.75rem 1.1rem;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--text-muted);
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast);
}

.detail-tab.active {
  background: #fff;
  color: var(--text-primary);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.detail-tab-panel {
  display: none;
  margin: 0;
  padding: 0.75rem 0 0;
}

.detail-tab-panel.active {
  display: grid;
  grid-template-columns: minmax(0, 9.95fr) minmax(0, 1.05fr);
  gap: 1.25rem;
  align-items: start;
}

.detail-tab-panel h2 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

.detail-tab-panel p {
  margin-bottom: 0.7rem;
}

.detail-tab-panel img {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  opacity: 0.92;
}

.detail-spec-list {
  columns: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  list-style: none;
}

.detail-spec-list li {
  break-inside: avoid;
  padding: 0.72rem 0.8rem 0.72rem 2rem;
  position: relative;
  color: var(--text-secondary);
  border-radius: 8px;
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.16);
}

.detail-spec-list li::before {
  content: "✓";
  position: absolute;
  left: 0.75rem;
  top: 0.72rem;
  color: #22c55e;
  font-weight: 800;
}

.detail-spec-table-wrap {
  overflow: hidden;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
}

.detail-spec-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.detail-spec-table tr:not(:last-child) {
  border-bottom: 1px solid #f0f1f3;
}

.detail-spec-table tr:nth-child(odd) {
  background: #f5f5f5;
}

.detail-spec-table tr:nth-child(even) {
  background: #fff;
}

.detail-spec-table th,
.detail-spec-table td {
  padding: 0.78rem 1rem;
  vertical-align: middle;
}

.detail-spec-table th {
  width: 40%;
  color: #111827;
  font-weight: 700;
  text-transform: uppercase;
}

.detail-spec-table td {
  width: 60%;
  color: #374151;
}

.detail-review-card {
  grid-column: 1 / -1;
  padding: 1.4rem;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--border-light);
}

.recent-products-section {
  padding: 4.5rem 0 2.5rem;
}

.recent-products-section .section-header {
  align-items: center;
  padding-bottom: 1.25rem;
  border-bottom: 0;
}

.recent-products-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem;
}

.recent-product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(17, 24, 39, 0.07);
  color: var(--text-primary);
  box-shadow: 0 16px 38px rgba(17, 24, 39, 0.07);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.product-detail-page .recent-products-row .recent-product-card:nth-child(n + 5) {
  display: none;
}

.recent-product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(109, 40, 217, 0.22);
  box-shadow: 0 20px 48px rgba(17, 24, 39, 0.1);
}

.recent-product-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 210px;
  padding: 1.15rem;
  background: white;
}

.recent-product-media img {
  width: 100%;
  height: 190px;
  object-fit: contain;
}

.recent-discount {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #ff6a1a, #ef4444);
  font-weight: 900;
  font-size: 0.72rem;
  box-shadow: 0 10px 24px rgba(239, 68, 68, 0.22);
}

.recent-product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.15rem 1.15rem 1.2rem;
}

.recent-product-brand {
  display: block;
  color: var(--purple-main);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
}

.recent-product-title {
  display: block;
  color: var(--text-primary);
  flex: 1;
  font-family: var(--font-title);
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1.35;
}

.recent-product-type {
  margin-top: 0.25rem;
  color: var(--text-muted);
  font-size: 0.78rem;
}

.recent-product-rating {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.75rem;
  font-size: 0.76rem;
  color: var(--text-muted);
}

.recent-product-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.8rem;
}

.recent-product-price del {
  color: var(--text-muted);
  font-size: 0.82rem;
}

.recent-product-price strong {
  color: var(--purple-main);
  font-family: var(--font-title);
  font-size: 1.45rem;
  font-weight: 900;
}

.recent-product-stock {
  margin-top: 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
}

.recent-product-actions {
  display: grid;
  gap: 0.45rem;
  margin-top: 1rem;
  min-width: 0;
}

.recent-product-actions>div {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.45rem;
  min-width: 0;
}

.recent-product-actions .btn {
  min-height: 38px;
  min-width: 0;
  border-radius: 999px;
  font-size: 0.78rem;
  line-height: 1.15;
  padding-left: 0.72rem;
  padding-right: 0.72rem;
}

.recent-product-actions>.btn {
  width: 100%;
  color: var(--purple-main);
  border-color: rgba(109, 40, 217, 0.34);
}

.recent-product-actions>div .btn-primary {
  flex: 1;
}

.recent-product-actions .btn-icon-only {
  width: 40px;
  border-radius: 50%;
}

/* ---------- DETALLE PRODUCTO IMPACT-STYLE ---------- */
.shop-compact-hero {
  display: none;
  min-height: 560px;
}

.shop-compact-hero .hero-content {
  min-height: 560px;
  padding-top: calc(var(--shipping-ribbon-h) + var(--header-h) + 2.3rem);
  padding-bottom: 2.6rem;
}

.shop-compact-hero .eye-doctor-panel {
  min-height: 360px;
}

.shop-compact-hero .doctor-card {
  width: min(100%, 300px);
}

.shop-compact-hero h1 {
  font-size: clamp(2.4rem, 4.2vw, 3.1rem);
}

.product-fulfillment {
  margin: 0.9rem 0 0.85rem;
}

.product-fulfillment hr {
  border: 0;
  border-top: 1px solid rgba(17, 24, 39, 0.08);
  margin: 0 0 0.75rem;
}

.product-fulfillment-list {
  display: grid;
  gap: 0.48rem;
}

.product-fulfillment-item {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  color: #4b5563;
  font-size: 0.68rem;
  line-height: 1.25;
}

.product-fulfillment-item svg {
  flex: 0 0 auto;
  color: #15803d;
  margin-top: 0.05rem;
}

.product-fulfillment-item p {
  margin: 0;
}

.product-fulfillment-item strong {
  color: #15803d;
}

.product-fulfillment-item span {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.16rem 0.42rem;
  border-radius: 5px;
  color: #15803d;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  font-size: 0.64rem;
  font-weight: 800;
  white-space: nowrap;
}

.product-fulfillment.compact {
  margin: 0.75rem 0 0.65rem;
}

.product-detail-page {
  background: #fff;
}

.product-detail-page>.container {
  max-width: 90%;
}

.pdp-breadcrumb {
  padding: 0.75rem 0 0.9rem;
}

.pdp-mobile-heading {
  display: none;
}

.pdp-impact-layout {
  display: grid;
  grid-template-columns: minmax(0, 73%) minmax(300px, 27%);
  gap: 2.2rem;
  align-items: start;
  padding-bottom: 2.5rem;
}

.pdp-core-grid {
  display: grid;
  grid-template-columns: minmax(0, 62%) minmax(300px, 38%);
  gap: 1rem;
  align-items: stretch;
}

.pdp-gallery {
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 0.9rem;
  align-items: stretch;
}

.pdp-thumbs {
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.65rem;
  order: 0;
}

.pdp-thumbs .product-detail-thumb {
  width: 78px;
  height: 78px;
  border-radius: 10px;
  opacity: 0.56;
}

.pdp-thumbs .product-detail-thumb.active,
.pdp-thumbs .product-detail-thumb:hover {
  opacity: 1;
  border-color: #2563eb;
}

.pdp-main-image {
  min-height: 520px;
  border-radius: 14px;
  box-shadow: none;
}

.pdp-main-image img {
  width: min(90%, 620px);
  max-height: 500px;
  transition: transform var(--transition);
}

.pdp-main-image:hover img {
  transform: scale(1.04);
}

.pdp-info-panel h1 {
  font-size: clamp(1.05rem, 1.7vw, 1.38rem);
  line-height: 1.28;
  margin-bottom: 0.8rem;
}

.pdp-code-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 0.6rem 0 1rem;
  color: #6b7280;
  font-size: 0.78rem;
}

.pdp-code-row button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  color: #64748b;
  background: #f8fafc;
}

.pdp-whatsapp-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  width: fit-content;
  margin: 0.2rem 0 1rem;
  padding: 0.34rem 1.05rem 0.34rem 0.38rem;
  border-radius: 999px;
  color: #334155;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  font-size: 0.93rem;
  font-weight: 900;
}

.pdp-whatsapp-pill span {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #25d366;
}

.pdp-whatsapp-pill img {
  width: 21px;
  height: 21px;
  object-fit: contain;
}

.pdp-rating {
  margin-bottom: 0.8rem;
}

.pdp-price-box {
  padding-top: 0.8rem;
  border-top: 1px solid #f1f5f9;
}

.pdp-price-box p {
  margin: 0.35rem 0;
  color: #6b7280;
  font-size: 0.88rem;
}

.pdp-price-box .product-detail-price {
  margin: 0.25rem 0 0.7rem;
}

.pdp-price-box .product-detail-price strong {
  color: #111827;
  font-family: var(--font-body);
  font-size: clamp(2rem, 4vw, 2.6rem);
  letter-spacing: 0;
}

.pdp-card-price {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 0.45rem;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: #fff7ed;
  color: #9a3412;
  font-size: 0.86rem;
  font-weight: 700;
}

.pdp-card-price strong {
  color: #7c2d12;
  font-weight: 900;
}

.pdp-meta {
  grid-template-columns: 1fr;
  margin-top: 1rem;
  background: #f8fafc;
  border: 1px solid #eef2f7;
}

.pdp-side-column {
  display: flex;
  flex-direction: column;
  gap: 5.2rem;
  position: sticky;
  top: calc(var(--shipping-ribbon-h) + var(--header-h) + 1rem);
}

.pdp-buy-card,
.pdp-delivery-card,
.pdp-payment-card,
.pdp-related-card {
  padding: 1.1rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}

.pdp-qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  color: #374151;
  font-weight: 700;
}

.pdp-buy-card .btn {
  width: 100%;
  margin-bottom: 0.7rem;
  border-radius: 9px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.pdp-stock-ok {
  display: flex;
  justify-content: center;
  padding: 0.75rem;
  border-radius: 9px;
  color: #15803d;
  background: #f0fdf4;
  border: 1px solid #dcfce7;
  font-size: 0.86rem;
  font-weight: 800;
}

.pdp-delivery-card h3,
.pdp-payment-card h3,
.pdp-related-card h3 {
  margin-bottom: 0.85rem;
  color: #111827;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pdp-delivery-option {
  display: grid;
  gap: 0.25rem;
  padding: 0.9rem;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
}

.pdp-delivery-option+.pdp-delivery-option {
  margin-top: 0.7rem;
}

.pdp-delivery-option strong {
  color: #111827;
  font-size: 0.9rem;
}

.pdp-delivery-option span {
  color: #16a34a;
  font-size: 0.78rem;
  font-weight: 800;
}

.pdp-card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.pdp-card-heading h3 {
  margin-bottom: 0;
}

.pdp-card-heading span {
  color: #2563eb;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pdp-payment-group {
  margin-bottom: 1rem;
}

.pdp-payment-group h4 {
  margin-bottom: 0.55rem;
  color: #64748b;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pdp-payment-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.pdp-payment-logos img {
  width: 72px;
  height: 42px;
  padding: 0.35rem 0.45rem;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
  border: 1px solid #eef2f7;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

.pdp-transfer-box {
  margin-bottom: 0.85rem;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
}

.pdp-transfer-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.78rem 0.85rem;
  border: 0;
  background: #f8fafc;
  color: #111827;
  font-size: 0.78rem;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.pdp-transfer-toggle:hover,
.pdp-transfer-toggle[aria-expanded="true"] {
  background: #eef6ff;
  color: #0f172a;
}

.pdp-transfer-toggle span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.pdp-transfer-toggle svg {
  color: #16a34a;
  flex: 0 0 auto;
}

.pdp-transfer-chevron {
  transition: transform var(--transition-fast);
}

.pdp-transfer-toggle[aria-expanded="true"] .pdp-transfer-chevron {
  transform: rotate(180deg);
}

.pdp-transfer-content {
  padding: 0.85rem;
  background: #fff;
  border-top: 1px solid #e5e7eb;
}

.pdp-transfer-content[hidden] {
  display: none;
}

.pdp-transfer-content p {
  margin-bottom: 0.7rem;
  color: #64748b;
  font-size: 0.72rem;
  font-style: italic;
}

.pdp-bank-list {
  display: grid;
  gap: 0.65rem;
}

.pdp-bank-block {
  display: grid;
  gap: 0.22rem;
  padding-left: 0.65rem;
  border-left: 2px solid #64748b;
}

.pdp-bank-block h5 {
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.2;
}

.pdp-bank-block span {
  color: #475569;
  font-size: 0.68rem;
  line-height: 1.35;
}

.pdp-bank-block strong {
  color: #334155;
}

.pdp-bank-bbva {
  border-color: #004481;
}

.pdp-bank-bbva h5 {
  color: #004481;
}

.pdp-bank-bcp {
  border-color: #ff7900;
}

.pdp-bank-bcp h5 {
  color: #ff7900;
}

.pdp-bank-scotia {
  border-color: #e21d37;
}

.pdp-bank-scotia h5 {
  color: #e21d37;
}

.pdp-bank-interbank {
  border-color: #008f39;
}

.pdp-bank-interbank h5 {
  color: #008f39;
}

.pdp-payment-card small {
  display: block;
  color: #2563eb;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.45;
}

.pdp-related-item {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 0.8rem;
  padding: 0.7rem 0;
  color: #111827;
  border-top: 1px solid #f1f5f9;
}

.pdp-related-img {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 74px;
  border-radius: 9px;
  background: #f8fafc;
  border: 1px solid #eef2f7;
}

.pdp-related-img img {
  width: 90%;
  height: 90%;
  object-fit: contain;
}

.pdp-related-copy {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 0.15rem;
}

.pdp-related-copy small {
  color: #9ca3af;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.pdp-related-copy strong {
  overflow: hidden;
  color: #374151;
  font-size: 0.78rem;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.pdp-related-copy b {
  color: #111827;
  font-size: 0.86rem;
}

.pdp-mobile-bar {
  display: none;
}

@media (max-width: 1024px) {
  .pdp-impact-layout {
    grid-template-columns: 1fr;
  }

  .pdp-core-grid {
    grid-template-columns: 1fr;
  }

  .pdp-gallery {
    grid-template-columns: 1fr;
  }

  .pdp-thumbs {
    order: 2;
    flex-direction: row;
    justify-content: center;
    overflow-x: auto;
  }

  .pdp-main-image {
    min-height: 430px;
  }

  .pdp-side-column {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pdp-related-card {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {

  .shop-compact-hero,
  .shop-compact-hero .hero-content {
    min-height: auto;
  }

  .shop-compact-hero .hero-content {
    padding-top: calc(var(--shipping-ribbon-h) + var(--header-h) + 1.4rem);
    padding-bottom: 2rem;
  }

  .shop-compact-hero h1 {
    font-size: clamp(2rem, 10vw, 2.7rem);
  }

  .product-detail-page {
    padding-top: calc(var(--shipping-ribbon-h) + var(--header-h) + 0.7rem);
    padding-bottom: 5.5rem;
  }

  .pdp-breadcrumb {
    padding-bottom: 0.35rem;
    overflow-x: auto;
    white-space: nowrap;
  }

  .pdp-mobile-heading {
    display: block;
    margin-bottom: 0.8rem;
  }

  .pdp-mobile-heading h1 {
    margin-bottom: 0.55rem;
    color: #1f2937;
    font-size: clamp(1rem, 5vw, 1.35rem);
    line-height: 1.28;
  }

  .pdp-mobile-heading div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.8rem;
  }

  .pdp-mobile-heading p {
    margin: 0;
    color: #9ca3af;
    font-size: 0.78rem;
  }

  .pdp-mobile-heading span {
    padding: 0.55rem 0.65rem;
    border-radius: 9px;
    color: #15803d;
    background: #f0fdf4;
    border: 1px solid #dcfce7;
    font-size: 0.74rem;
    font-weight: 800;
    max-width: 100%;
  }

  .hidden-mobile {
    display: none;
  }

  .pdp-main-image {
    min-height: 320px;
    border-radius: 12px;
  }

  .pdp-main-image img {
    max-height: 300px;
  }

  .pdp-thumbs {
    justify-content: flex-start;
  }

  .pdp-thumbs .product-detail-thumb {
    width: 64px;
    height: 64px;
  }

  .pdp-info-panel {
    padding-top: 0.4rem;
  }

  .pdp-code-row,
  .pdp-rating {
    display: none;
  }

  .pdp-whatsapp-pill {
    margin: 0.8rem auto 1rem;
  }

  .pdp-price-box .product-detail-price strong {
    font-size: 2rem;
  }

  .pdp-side-column {
    grid-template-columns: 1fr;
  }

  .pdp-buy-card {
    display: none;
  }

  .pdp-mobile-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 990;
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr) minmax(0, 1fr);
    gap: 0.55rem;
    padding: 0.75rem;
    background: #fff;
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 -10px 26px rgba(15, 23, 42, 0.1);
  }

  .pdp-mobile-bar .qty-selector {
    height: 44px;
    background: #f3f4f6;
  }

  .pdp-mobile-bar .btn {
    min-height: 44px;
    border-radius: 9px;
    font-size: 0.78rem;
    min-width: 0;
    padding-left: 0.55rem;
    padding-right: 0.55rem;
    white-space: normal;
  }

  .product-fulfillment-item span {
    white-space: normal;
  }
}

.countdown {
  display: flex;
  gap: 0.5rem;
  margin: 1rem 0;
}

.product-card-countdown {
  gap: 0.35rem;
  margin: 0.75rem 0 0.6rem;
}

.countdown-box {
  flex: 1;
  text-align: center;
  padding: 0.65rem 0.4rem;
  border-radius: var(--radius-sm);
  background: var(--bg-tertiary);
  border: 1px solid var(--border-glass);
}

.product-card-countdown .countdown-box {
  padding: 0.48rem 0.25rem;
  border-radius: 7px;
}

.countdown-num {
  font-family: var(--font-title);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--purple-main);
  line-height: 1;
}

.product-card-countdown .countdown-num {
  font-size: 1rem;
}

.countdown-label {
  font-size: 0.62rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 0.25rem;
}

.product-card-countdown .countdown-label {
  font-size: 0.56rem;
}

.offer-expired-msg {
  font-size: 0.9rem;
  color: #f87171;
  font-weight: 600;
  padding: 0.6rem 0;
}

/* ---------- MODAL VISTA RÁPIDA ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
  overflow-y: auto;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--bg-modal);
  color: var(--text-dark);
  border-radius: var(--radius-xl);
  max-width: 920px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.92) translateY(20px);
  transition: transform var(--transition);
  box-shadow: var(--shadow-lg), 0 0 80px rgba(139, 92, 246, 0.15);
}

.modal-overlay.open .modal {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  transition: all var(--transition-fast);
  border: 1px solid var(--border-light);
}

.modal-close:hover {
  background: rgba(0, 0, 0, 0.15);
  transform: rotate(90deg);
}

.modal-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.modal-image {
  background: linear-gradient(135deg, #f0f0f8, #e8e8f0);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  border-right: 1px solid var(--border-light);
}

.modal-image-main {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.modal-image-main .placeholder-icon {
  font-size: 5rem;
  color: var(--gray-mid);
  opacity: 0.3;
}

.modal-thumbs {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
  justify-content: center;
}

.modal-thumb {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: #fff;
  border: 2px solid var(--border-light);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--transition-fast);
}

.modal-thumb:hover,
.modal-thumb.active {
  border-color: var(--purple-main);
}

.modal-info {
  padding: 2rem;
}

.modal-info .m-marca {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--purple-main);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.4rem;
}

.modal-info h2 {
  font-size: 1.45rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.modal-rating {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.modal-rating .stars {
  font-size: 0.9rem;
}

.modal-rating .review-count {
  font-size: 0.8rem;
  color: var(--gray-mid);
}

.modal-price {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
}

.modal-price .m-price-now {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--purple-main);
  font-family: var(--font-title);
}

.modal-price .m-price-old {
  font-size: 1.1rem;
  color: var(--gray-mid);
  text-decoration: line-through;
}

.modal-price .m-discount {
  font-size: 0.85rem;
}

.modal-stock {
  margin-bottom: 1rem;
  font-size: 0.85rem;
}

.modal-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1rem;
  margin-bottom: 1.25rem;
  padding: 1rem;
  border-radius: var(--radius-sm);
  background: #f5f5fa;
}

.modal-meta-item {
  font-size: 0.82rem;
}

.modal-meta-item strong {
  color: var(--text-dark);
}

.modal-meta-item span {
  color: var(--gray-mid);
}

.modal-specs {
  margin-bottom: 1.25rem;
}

.modal-specs h4 {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.modal-specs ul {
  list-style: none;
}

.modal-specs li {
  font-size: 0.82rem;
  color: var(--text-dark-secondary);
  padding: 0.25rem 0;
  padding-left: 1.2rem;
  position: relative;
}

.modal-specs li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #22c55e;
  font-weight: 700;
}

.modal-quantity {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.modal-quantity label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
}

.qty-selector {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.qty-btn {
  width: 38px;
  height: 38px;
  background: #f0f0f5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--text-dark);
  transition: background var(--transition-fast);
}

.qty-btn:hover {
  background: #e0e0e8;
}

.qty-input {
  width: 52px;
  height: 38px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--border-light);
  border-right: 1px solid var(--border-light);
  font-weight: 600;
  color: var(--text-dark);
}

.qty-input:focus {
  outline: none;
}

.modal-vendor {
  margin-bottom: 1.25rem;
}

.modal-vendor label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  display: block;
  margin-bottom: 0.4rem;
}

.modal-vendor select {
  width: 100%;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background: #fff;
  color: var(--text-dark);
  font-size: 0.88rem;
}

.modal-actions {
  display: flex;
  gap: 0.75rem;
}

.modal-actions .btn {
  flex: 1;
}

.btn-dark-add {
  background: var(--text-dark);
  color: #fff;
}

.btn-dark-add:hover {
  background: #2d2d44;
}

/* ---------- CARRITO ---------- */
.cart-page {
  padding: calc(var(--shipping-ribbon-h) + var(--header-h) + 2rem) 0 4rem;
}

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 2rem;
  align-items: start;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr auto auto auto;
  gap: 1rem;
  align-items: center;
  padding: 1.1rem;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  transition: all var(--transition-fast);
}

.cart-item:hover {
  border-color: rgba(139, 92, 246, 0.2);
  background: #faf9ff;
}

.cart-item-img {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #f5f5fa, #edeef5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: rgba(15, 23, 42, 0.35);
}

.cart-item-info .ci-marca {
  font-size: 0.72rem;
  color: var(--purple-main);
  font-weight: 600;
  text-transform: uppercase;
}

.cart-item-info .ci-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

.cart-item-info .ci-type {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.cart-item-price {
  text-align: right;
}

.cart-item-price .ci-unit {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.cart-item-price .ci-total {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--purple-main);
  font-family: var(--font-title);
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.cart-item-qty .qty-btn {
  width: 30px;
  height: 30px;
  background: rgba(0, 0, 0, 0.04);
  color: var(--text-primary);
  font-size: 1rem;
}

.cart-item-qty .qty-btn:hover {
  background: rgba(139, 92, 246, 0.2);
}

.cart-item-qty .qty-input {
  width: 40px;
  height: 30px;
  background: transparent;
  color: var(--text-primary);
  border-left: 1px solid var(--border-glass);
  border-right: 1px solid var(--border-glass);
}

.cart-item-remove {
  min-width: 86px;
  height: 38px;
  padding: 0 0.95rem;
  border-radius: var(--radius-sm);
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.cart-item-remove:hover {
  background: rgba(239, 68, 68, 0.25);
  color: #991b1b;
}

.cart-summary {
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  position: sticky;
  top: calc(var(--shipping-ribbon-h) + var(--header-h) + 1rem);
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(16px);
}

.cart-summary h3 {
  margin-bottom: 1.25rem;
  font-size: 1.2rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-glass);
  font-size: 0.9rem;
}

.summary-row span:first-child {
  color: var(--text-muted);
}

.summary-row span:last-child {
  font-weight: 600;
  color: var(--text-primary);
}

.summary-total {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  font-size: 1.15rem;
  font-weight: 700;
}

.summary-total span:last-child {
  color: var(--purple-main);
  font-family: var(--font-title);
}

.summary-vendor {
  margin: 1rem 0;
}

.summary-vendor label {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.4rem;
}

.summary-vendor select {
  width: 100%;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.03);
  color: var(--text-primary);
  border: 1px solid var(--border-glass);
  font-size: 0.88rem;
}

.summary-vendor select option {
  background: #fff;
}

.summary-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.cart-empty {
  text-align: center;
  padding: 4rem 2rem;
}

/* ---------- FORMULARIOS ---------- */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.form-group label .req {
  color: #f87171;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--text-primary);
  border: 1px solid var(--border-glass);
  font-size: 0.92rem;
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--purple-main);
  box-shadow: 0 0 0 3px rgba(109, 40, 217, 0.1);
}

.form-control::placeholder {
  color: var(--text-muted);
}

.form-control option {
  background: #fff;
}

.form-error {
  font-size: 0.78rem;
  color: #f87171;
  margin-top: 0.3rem;
  display: none;
}

.form-error.show {
  display: block;
}

.form-success {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
  color: #4ade80;
  font-size: 0.9rem;
  display: none;
}

.form-success.show {
  display: block;
}

/* Login/Register */
.auth-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.auth-card {
  padding: 2.25rem;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(16px);
}

.auth-card h2 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.auth-card .auth-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.catalog-admin-section {
  padding-top: 1rem;
}

.admin-shell {
  display: grid;
  gap: 1.25rem;
}

.admin-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
}

.admin-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 1rem;
  align-items: start;
}

.admin-card {
  padding: 1.35rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: 0 14px 38px rgba(17, 24, 39, 0.06);
}

.admin-card h3 {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.admin-form-grid,
.admin-hero-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.admin-hero-form {
  grid-template-columns: 1fr;
}

.admin-product-form label,
.admin-hero-form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--text-secondary);
}

.admin-checks,
.admin-actions,
.admin-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  margin-top: 1rem;
}

.admin-checks label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.admin-table th,
.admin-table td {
  padding: 0.85rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  text-align: left;
  vertical-align: middle;
}

.admin-table th {
  color: var(--text-muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.admin-product-cell {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.admin-product-cell img {
  width: 58px;
  height: 42px;
  object-fit: contain;
  border-radius: 8px;
  background: #f8fafc;
}

.admin-product-cell span,
.admin-table small {
  display: block;
  color: var(--text-muted);
  font-size: 0.76rem;
}

.admin-chip {
  display: inline-flex;
  margin: 0.1rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
}

.admin-chip.offer {
  background: #f97316;
}

.admin-chip.new {
  background: #16a34a;
}

.btn-danger {
  background: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

/* ---------- LOGIN ADMIN CENTRADO ---------- */
.login-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 14% 16%, rgba(109, 40, 217, 0.15), transparent 30%),
    radial-gradient(circle at 88% 20%, rgba(37, 99, 235, 0.14), transparent 28%),
    #f5f7fb;
}

.login-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(1.25rem, 4vw, 3rem);
}

.login-panel-shell {
  width: min(1040px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.8fr);
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.14);
}

.login-brand-panel {
  min-height: 560px;
  padding: clamp(2rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(135deg, #111827, #312e81 56%, #6d28d9);
  color: #fff;
}

.login-logo img {
  width: 150px;
  height: 70px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  padding: 4px 8px;
  margin-bottom: 2rem;
}

.login-brand-panel h1 {
  max-width: 520px;
  margin: 1rem 0;
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 4rem);
}

.login-brand-panel p {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
}

.login-panel-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.login-panel-metrics span {
  min-width: 150px;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.86);
}

.login-panel-metrics strong {
  display: block;
  color: #fff;
  font-size: 1.35rem;
}

.login-form-panel {
  display: grid;
  place-items: center;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.login-page .auth-card {
  width: min(100%, 390px);
  border-radius: 8px;
  box-shadow: none;
}

.login-back-link {
  display: block;
  margin-top: 1rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  text-align: center;
}

/* ---------- DASHBOARD ADMIN ---------- */
.dashboard-page {
  background: #f3f6fb;
}

.dashboard-page-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
}

.dashboard-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.25rem;
  background: #0f172a;
  color: #fff;
}

.dashboard-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: #fff;
  font-weight: 900;
}

.dashboard-logo img {
  width: 78px;
  height: 42px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  padding: 3px 6px;
}

.dashboard-nav {
  display: grid;
  gap: 0.35rem;
  margin-top: 1rem;
}

.dashboard-nav a {
  padding: 0.78rem 0.9rem;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 700;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.dashboard-nav a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.dashboard-sidebar-footer {
  display: grid;
  gap: 0.65rem;
  margin-top: auto;
}

.dashboard-main {
  min-width: 0;
  padding: clamp(1rem, 3vw, 2rem);
}

.dashboard-page .admin-shell {
  max-width: 1520px;
  margin: 0 auto;
}

.dashboard-page .admin-head {
  align-items: center;
  padding: 1.25rem;
  border-radius: 8px;
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.dashboard-page .admin-head h1 {
  margin: 0.2rem 0 0.35rem;
}

.dashboard-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 1rem 0;
}

.dashboard-kpi-grid article {
  padding: 1.1rem;
  border-radius: 8px;
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}

.dashboard-kpi-grid span,
.dashboard-kpi-grid small {
  display: block;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.dashboard-kpi-grid strong {
  display: block;
  margin: 0.45rem 0 0.2rem;
  color: var(--text-primary);
  font-size: 2rem;
}

.dashboard-page .admin-layout {
  grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
}

.dashboard-page .admin-card {
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.dashboard-page .admin-table-card {
  grid-column: 1 / -1;
}

.admin-site-banners-card {
  grid-column: 1 / -1;
}

.admin-site-banners-head h3 {
  margin: 0.25rem 0 0.35rem;
}

.admin-site-banners-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.15rem;
}

.admin-site-banners-form fieldset {
  min-width: 0;
  margin: 0;
  padding: 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
}

.admin-site-banners-form legend {
  padding: 0 0.4rem;
  color: #0f172a;
  font-size: 0.88rem;
  font-weight: 800;
}

.admin-banner-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.admin-site-banners-form label,
.admin-spec-row label {
  display: grid;
  gap: 0.35rem;
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 800;
}

.admin-site-banners-form > .admin-actions {
  grid-column: 1 / -1;
  margin-top: 0;
}

.admin-spec-editor {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
}

.admin-spec-editor-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.8rem;
}

.admin-spec-editor-head h4 {
  margin: 0 0 0.2rem;
  color: #0f172a;
  font-size: 0.95rem;
}

.admin-spec-editor-head p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.admin-spec-rows {
  display: grid;
  gap: 0.65rem;
}

.admin-spec-row {
  display: grid;
  grid-template-columns: minmax(160px, 0.8fr) minmax(220px, 1.2fr) auto;
  gap: 0.65rem;
  align-items: end;
  padding: 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
}

.admin-spec-remove {
  min-height: 43px;
  padding: 0.6rem 0.75rem;
  border: 1px solid #fecaca;
  border-radius: 7px;
  background: #fff;
  color: #b91c1c;
  font-weight: 800;
  cursor: pointer;
}

.admin-spec-remove:hover {
  background: #fef2f2;
}

.admin-table-toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 220px;
  gap: 0.85rem;
  margin: 1rem 0;
  align-items: end;
}

.admin-table-toolbar label {
  display: grid;
  gap: 0.35rem;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.admin-pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem;
  margin-top: 1rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.admin-empty-state {
  padding: 1.5rem;
  text-align: center;
  color: var(--text-muted);
}

.admin-modal[hidden] {
  display: none;
}

.admin-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.admin-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.58);
  backdrop-filter: blur(8px);
}

.admin-modal-panel {
  position: relative;
  width: min(920px, 100%);
  max-height: min(86vh, 860px);
  overflow-y: auto;
  padding: 1.25rem;
  border-radius: 8px;
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.25);
}

.admin-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.admin-modal-head h2 {
  margin-top: 0.2rem;
  font-size: 1.35rem;
}

.admin-modal-close {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 8px;
  background: #f1f5f9;
  color: #0f172a;
  cursor: pointer;
  font-size: 1.35rem;
}

body.modal-open {
  overflow: hidden;
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.contact-info-card {
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(16px);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.contact-info-item .ci-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
  color: var(--purple-main);
}

.contact-info-item .ci-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-info-item .ci-value {
  font-size: 0.92rem;
  color: var(--text-primary);
  font-weight: 500;
}

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 2rem;
  border: 1px solid var(--border-glass);
}

.contact-map iframe {
  width: 100%;
  height: 350px;
  border: 0;
  display: block;
}

.form-card {
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(16px);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

/* ---------- SUSCRIPCIÓN ---------- */
.subscribe-section {
  text-align: center;
  padding: 4rem 0;
}

.subscribe-form {
  display: flex;
  gap: 0.75rem;
  max-width: 480px;
  margin: 1.5rem auto 0;
}

.subscribe-form input {
  flex: 1;
  padding: 0.8rem 1.25rem;
  border-radius: var(--radius-md);
  background: #fff;
  color: var(--text-primary);
  border: 1px solid var(--border-glass);
  font-size: 0.92rem;
}

.subscribe-form input:focus {
  outline: none;
  border-color: var(--purple-electric);
}

.subscribe-msg {
  margin-top: 1rem;
  font-size: 0.9rem;
  display: none;
}

.subscribe-msg.show {
  display: block;
}

.subscribe-msg.success {
  color: #4ade80;
}

.subscribe-msg.error {
  color: #f87171;
}

/* ---------- OFERTAS SECTION (inicio) ---------- */
.offers-promo {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.promo-card {
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(109, 40, 217, 0.05), rgba(37, 99, 235, 0.02));
  border: 1px solid var(--border-glass);
  transition: all var(--transition);
}

.promo-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.4), transparent);
}

.promo-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.promo-card .pc-badge {
  margin-bottom: 0.75rem;
}

.promo-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.promo-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

/* ---------- BANNER SLIDER HOME ---------- */
.banner-section {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.banner-section-tight {
  padding-top: 0;
}

.banner-slider {
  position: relative;
  min-height: 400px;
  border-radius: 8px;
  overflow: hidden;
  color: #fff;
  background: #101923;
  box-shadow: 0 24px 70px rgba(22, 30, 52, 0.18);
}

.banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.75s ease, transform 0.75s ease;
  transform: scale(1.02);
}

.banner-slide.active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.banner-slide.image-only {
  background: #050111;
}

.banner-slide.image-only img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 769px) and (max-width: 1024px) {
  .banner-slider {
    width: min(100%, 720px);
    min-height: 0;
    aspect-ratio: 2172 / 724;
    margin-inline: auto;
    border-radius: 8px;
  }

  .banner-slide.image-only img {
    object-fit: contain;
    background: #050111;
  }
}

.banner-slide-inner {
  height: 100%;
  min-height: 400px;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  align-items: center;
  gap: 2rem;
  padding: 2.25rem 3rem;
}

.banner-copy {
  max-width: 560px;
}

.banner-kicker {
  display: inline-flex;
  padding: 0.42rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.banner-copy h3 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1;
  margin-bottom: 0.85rem;
  max-width: 620px;
}

.banner-copy p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 480px;
  margin-bottom: 1.25rem;
}

.banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.banner-product {
  justify-self: center;
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 1.28;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-product::before {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  filter: blur(30px);
}

.banner-product img {
  position: relative;
  width: 92%;
  height: 92%;
  object-fit: contain;
  filter: drop-shadow(0 30px 38px rgba(0, 0, 0, 0.28));
}

.banner-dots {
  position: absolute;
  left: 3rem;
  bottom: 1.25rem;
  display: flex;
  gap: 0.5rem;
  z-index: 4;
}

.banner-dot {
  width: 28px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  border: 0;
}

.banner-dot.active {
  background: #fff;
  width: 44px;
}

/* ---------- OFERTAS SECTION (slider visual) ---------- */
.offers-promo {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.25rem 0 1.25rem;
  scrollbar-width: none;
}

.offers-promo::-webkit-scrollbar {
  display: none;
}

.promo-card.offer-slide-card {
  flex: 0 0 calc((100% - 3.75rem) / 4);
  min-width: 280px;
  scroll-snap-align: start;
  display: grid;
  grid-template-rows: 190px 1fr;
  padding: 0;
  background: #fff;
  border: 1px solid rgba(17, 24, 39, 0.08);
}

.offer-slide-media {
  position: relative;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.offer-slide-media img {
  position: relative;
  z-index: 1;
  width: 82%;
  height: 82%;
  object-fit: contain;
}

.offer-slide-media .pc-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 3;
  margin-bottom: 0;
}

.offer-slide-body {
  padding: 1.35rem;
}

.promo-card.offer-slide-card .product-fulfillment {
  margin: 0.65rem 0 0.85rem;
}

.offer-slide-body h3 {
  font-size: 1.05rem;
  color: var(--text-primary);
  min-height: 2.6em;
}

.offer-slide-body p {
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.offer-slide-price {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.offer-slide-price del {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.offer-slide-price strong {
  color: var(--purple-main);
  font-size: 1.45rem;
}

.offer-slide-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem;
  min-width: 0;
}

.offer-slide-actions .btn {
  width: 100%;
  min-width: 0;
  line-height: 1.15;
}

/* ---------- GOOGLE REVIEWS ---------- */
.reviews-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.google-score {
  min-width: 150px;
  padding: 1rem 1.2rem;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.google-score strong {
  display: block;
  font-size: 2rem;
  color: var(--text-primary);
}

.google-score span {
  display: block;
  color: #f8b400;
  font-size: 0.9rem;
}

.google-score small {
  color: var(--text-muted);
}

.google-reviews-grid {
  --review-gap: 1.25rem;
  --review-card-w: clamp(280px, 28vw, 360px);
  position: relative;
  display: flex;
  gap: 0;
  width: 100%;
  overflow: hidden;
  padding: 0.25rem 0 0.6rem;
  mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
}

.google-reviews-track {
  display: flex;
  align-items: stretch;
  gap: 0;
  width: max-content;
  min-width: max-content;
  animation: googleReviewsLoop 52s linear infinite;
  will-change: transform;
}

.google-reviews-set {
  display: flex;
  align-items: stretch;
  gap: var(--review-gap);
  flex: 0 0 auto;
  padding-right: var(--review-gap);
}

.google-reviews-grid:hover .google-reviews-track {
  animation-play-state: paused;
}

@keyframes googleReviewsLoop {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

.review-card {
  flex: 0 0 var(--review-card-w);
  width: var(--review-card-w);
  padding: 1.4rem;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-sm);
  min-height: 100%;
}

.review-top {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.9rem;
}

.review-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  background: #e9edf5;
}

.review-name {
  color: var(--text-primary);
  font-weight: 800;
}

.review-country {
  color: var(--text-muted);
  font-size: 0.78rem;
}

.review-stars {
  color: #f8b400;
  margin-bottom: 0.65rem;
  letter-spacing: 1px;
}

.review-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ---------- NOSOTROS ---------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: stretch;
}

.about-grid > div:first-child {
  align-self: center;
}

.about-grid .hero-visual {
  width: 100%;
  min-height: clamp(340px, 32vw, 500px);
  display: flex;
  align-items: stretch;
  justify-content: stretch;
}

.about-grid .hero-product-img {
  max-width: none;
  width: 100%;
  height: 100%;
  min-height: inherit;
  aspect-ratio: auto;
}

.about-grid .hero-product-img > img {
  padding: clamp(1rem, 2.2vw, 2rem);
  object-fit: contain;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.value-card {
  padding: 1.75rem;
  border-radius: var(--radius-md);
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  transition: all var(--transition);
  backdrop-filter: blur(12px);
}

.value-card:hover {
  transform: translateY(-6px);
  border-color: rgba(139, 92, 246, 0.35);
  box-shadow: var(--shadow-card-hover);
}

.value-card .vc-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  color: var(--purple-main);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.value-card h4 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.value-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.team-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  transition: all var(--transition);
  backdrop-filter: blur(12px);
}

.team-card:hover {
  transform: translateY(-6px);
  border-color: rgba(139, 92, 246, 0.35);
  box-shadow: var(--shadow-card-hover);
}

.team-avatar {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(109, 40, 217, 0.08), rgba(37, 99, 235, 0.04));
  font-size: 3rem;
  opacity: 0.4;
}

.team-info {
  padding: 1.1rem;
}

.team-info .t-name {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.team-info .t-role {
  font-size: 0.8rem;
  color: var(--purple-main);
  margin-top: 0.15rem;
}

.team-info .t-spec {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0.5rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--purple-main), var(--blue-accent));
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -1.65rem;
  top: 0.3rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--purple-electric);
  border: 3px solid var(--tech-dark);
  box-shadow: 0 0 16px rgba(139, 92, 246, 0.5);
}

.timeline-item h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.timeline-item p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ---------- CTA FINAL ---------- */
.cta-final {
  text-align: center;
  padding: 4rem 0;
}

.cta-final h2 {
  margin-bottom: 1rem;
}

.cta-final p {
  margin-bottom: 2rem;
}

/* ---------- CARRUSEL DE MARCAS ---------- */
.brand-logo-carousel {
  padding: 3.5rem 0 2.5rem;
  background: #fff;
  overflow: hidden;
}

.brand-logo-carousel p {
  margin-bottom: 1.35rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand-logo-window {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.brand-logo-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: clamp(1.35rem, 3.2vw, 2.8rem);
  animation: brandLogoLoop 24s linear infinite;
}

.brand-logo-window:hover .brand-logo-track {
  animation-play-state: paused;
}

.brand-logo-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 118px;
  height: 44px;
  padding: 0.35rem 0.65rem;
  color: inherit;
  text-decoration: none;
  filter: grayscale(1);
  opacity: 0.68;
  transition: filter var(--transition-fast), opacity var(--transition-fast), transform var(--transition-fast);
}

.brand-logo-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.brand-logo-item:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: translateY(-2px);
}

@keyframes brandLogoLoop {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: #f8fafc;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  padding: 4rem 0 1.5rem;
  position: relative;
  overflow: hidden;
  color: var(--text-primary);
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(109, 40, 217, 0.18), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand .logo {
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.footer-brand .footer-tag {
  color: var(--purple-main);
  font-weight: 600;
  font-size: 0.85rem;
}

.footer-col h4 {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.footer-col ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul li a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.footer-col ul li a:hover {
  color: var(--purple-main);
}

.footer-complaints-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.footer-complaints-link img {
  width: 42px;
  height: auto;
  display: block;
}

.footer-col ul li {
  color: var(--text-secondary);
  font-size: 0.86rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all var(--transition-fast);
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
}

.footer-social img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: block;
}

.footer-social a:hover {
  background: rgba(109, 40, 217, 0.08);
  transform: translateY(-3px);
}

.footer-social a[href*="wa.me"] {
  background: #25d366;
  border-color: #25d366;
}

.footer-social a[href*="wa.me"]:hover {
  background: #1ebe5d;
  border-color: #1ebe5d;
}

.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  padding-top: 1.5rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-bottom a {
  color: var(--purple-main);
  font-weight: 800;
}

.footer-brand .logo-name {
  color: var(--text-primary);
}

.footer-brand .logo-desc {
  color: var(--purple-main);
}

.product-google-reviews {
  padding-top: 4rem;
  padding-bottom: 4rem;
  background: #fff;
}

.legal-page {
  background: #f8fafc;
}

.legal-hero {
  padding: calc(var(--shipping-ribbon-h) + var(--header-h) + 3rem) 0 3rem;
  background:
    radial-gradient(circle at 15% 20%, rgba(109, 40, 217, 0.13), transparent 34%),
    linear-gradient(135deg, #ffffff, #f8fafc);
  border-bottom: 1px solid #e5e7eb;
}

.legal-hero h1 {
  max-width: 880px;
  margin: 0.65rem 0 0.85rem;
  color: #111827;
  font-size: clamp(2.2rem, 5vw, 4.5rem);
}

.legal-hero p {
  max-width: 760px;
  color: #64748b;
  font-size: 1rem;
  line-height: 1.7;
}

.legal-content-section {
  padding-top: 3rem;
}

.legal-content-card {
  max-width: 980px;
  padding: clamp(1.25rem, 3vw, 2.5rem);
  border-radius: 18px;
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.06);
}

.legal-content-card p {
  color: #334155;
  font-size: 0.95rem;
  line-height: 1.85;
  margin-bottom: 1rem;
}

.legal-content-card h2 {
  margin: 2rem 0 0.8rem;
  color: #111827;
  font-size: clamp(1.2rem, 2vw, 1.65rem);
}

.legal-content-card h2:first-child {
  margin-top: 0;
}

.legal-content-card h3 {
  margin: 1.35rem 0 0.65rem;
  color: #1e293b;
  font-size: 1.05rem;
}

.legal-content-card ul,
.legal-content-card ol {
  display: grid;
  gap: 0.65rem;
  margin: 0.75rem 0 1.25rem;
  padding-left: 1.35rem;
  color: #334155;
  font-size: 0.95rem;
  line-height: 1.75;
}

.legal-content-card li::marker {
  color: var(--purple-main);
  font-weight: 800;
}

/* ---------- WHATSAPP FLOTANTE ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 900;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.45);
  transition: all var(--transition);
  animation: pulseGreen 2.5s infinite;
  overflow: hidden;
}

.whatsapp-float img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

@keyframes pulseGreen {

  0%,
  100% {
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.45);
  }

  50% {
    box-shadow: 0 8px 48px rgba(37, 211, 102, 0.7);
  }
}

/* ---------- TOAST ---------- */
.toast-container {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  pointer-events: none;
}

.toast {
  padding: 0.9rem 1.5rem;
  border-radius: var(--radius-md);
  background: #fff;
  color: var(--text-primary);
  font-size: 0.88rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition);
  pointer-events: auto;
  max-width: 90vw;
  border: 1px solid var(--border-glass);
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast-success {
  border-left: 4px solid #4ade80;
}

.toast-error {
  border-left: 4px solid #f87171;
}

.toast-info {
  border-left: 4px solid var(--purple-electric);
}

.toast .toast-icon {
  font-size: 1.2rem;
}

/* ---------- ANIMACIONES DE ENTRADA ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- SCROLLBAR ---------- */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: rgba(139, 92, 246, 0.25);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(139, 92, 246, 0.45);
}

/* ---------- FOCUS STATES ---------- */
*:focus-visible {
  outline: 2px solid var(--purple-electric);
  outline-offset: 2px;
}

/* ---------- SELECTION ---------- */
::selection {
  background: rgba(139, 92, 246, 0.3);
  color: #fff;
}
