/* ══════════════════════════════════════════════════════
   OHANA V2 — Design System
   Mobile-first · CSS puro · Paleta Ohana
══════════════════════════════════════════════════════ */

:root {
  /* Colores */
  --primary: #FF6B35;
  --primary-dark: #E5551F;
  --primary-light: #FF8C5A;
  --secondary: #004E89;
  --secondary-dark: #003D6B;
  --accent: #FFD700;
  --accent-dark: #E6C200;
  --success: #28A745;
  --error: #DC3545;
  --warning: #FFC107;
  --white: #FFFFFF;
  --bg: #F8F9FA;
  --bg-alt: #FFFFFF;
  --text: #212529;
  --text-muted: #6C757D;
  --border: #DEE2E6;
  --border-light: #E9ECEF;

  /* Tipografía */
  --font-title: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'Roboto Mono', monospace;

  /* Sombras */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, .08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, .1);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, .12);
  --shadow-xl: 0 16px 40px rgba(0, 0, 0, .15);

  /* Radios */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 999px;

  /* Transiciones */
  --transition: 250ms cubic-bezier(.4, 0, .2, 1);
  --transition-slow: 400ms cubic-bezier(.4, 0, .2, 1);

  /* Container */
  --container-max: 1280px;
  --container-padding: 16px;

  /* Header */
  --header-height: 72px;
  --topbar-height: 36px;
  --nav-height: 48px;
}

/* ── RESET ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ── CONTAINER ── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* ── TOP BAR ── */
.top-bar {
  background: var(--secondary);
  color: rgba(255, 255, 255, .85);
  font-size: .72rem;
  height: var(--topbar-height);
  display: flex;
  align-items: center;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.top-item {
  white-space: nowrap;
}

.top-item:nth-child(3) {
  display: none;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  transition: var(--transition);
  overflow: hidden;
}

.social-link img {
  width: 14px;
  height: 14px;
  filter: brightness(0) invert(1);
}

.social-link:hover {
  background: var(--primary);
  transform: scale(1.1);
}

/* ── HEADER ── */
.site-header {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 900;
  padding: 12px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo-wrap {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.logo-wrap img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

/* Search */
.header-search {
  flex: 1;
}

.header-search.desktop-only {
  display: none;
}

.header-search.mobile-only {
  display: block;
  margin-top: 10px;
}

.search-form {
  display: flex;
  align-items: center;
  border: 2px solid var(--border);
  border-radius: var(--radius-full);
  overflow: hidden;
  transition: var(--transition);
  background: var(--bg);
}

.search-form:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, .12);
}

.search-form input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 10px 16px;
  font-size: .875rem;
  color: var(--text);
  outline: none;
}

.search-form input::placeholder {
  color: var(--text-muted);
}

.search-form button {
  padding: 10px 16px;
  color: var(--text-muted);
  transition: var(--transition);
  display: flex;
  align-items: center;
}

.search-form button:hover {
  color: var(--primary);
}

/* Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.header-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 10px;
  border-radius: var(--radius-md);
  color: var(--text);
  transition: var(--transition);
  position: relative;
  text-decoration: none;
}

.header-action:hover {
  background: var(--bg);
  color: var(--primary);
}

.action-label {
  font-size: .65rem;
  font-weight: 500;
  display: none;
}

.cart-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--primary);
  color: #fff;
  font-size: .6rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.hamburger span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── NAV ── */
.site-nav {
  background: var(--secondary);
  display: none;
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 4px;
  height: var(--nav-height);
}

.nav-link {
  color: rgba(255, 255, 255, .85);
  font-size: .875rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
  background: rgba(255, 255, 255, .1);
}

.nav-wholesale {
  color: var(--accent);
  font-weight: 600;
}

.nav-wholesale:hover {
  background: rgba(255, 215, 0, .15);
  color: var(--accent);
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  background: none;
  border: none;
  color: rgba(255, 255, 255, .85);
  font-size: .875rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: var(--transition);
}

.nav-dropdown-toggle:hover {
  color: #fff;
  background: rgba(255, 255, 255, .1);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: var(--transition);
  z-index: 100;
  overflow: hidden;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 10px 16px;
  font-size: .875rem;
  color: var(--text);
  transition: var(--transition);
  border-bottom: 1px solid var(--border-light);
}

.dropdown-menu a:last-child {
  border-bottom: none;
}

.dropdown-menu a:hover {
  background: var(--bg);
  color: var(--primary);
  padding-left: 20px;
}

/* ── MOBILE NAV ── */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .5);
  z-index: 950;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav {
  position: fixed;
  top: 0;
  left: -100%;
  width: 300px;
  height: 100dvh;
  background: var(--white);
  z-index: 960;
  display: flex;
  flex-direction: column;
  transition: left var(--transition-slow);
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
}

.mobile-nav.active {
  left: 0;
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-bottom: 1px solid var(--border-light);
  background: var(--secondary);
}

.mobile-nav-header img {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
}

.mobile-nav-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .15);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.mobile-nav-close:hover {
  background: rgba(255, 255, 255, .25);
}

.mobile-nav-links {
  flex: 1;
  padding: 12px 0;
}

.mobile-nav-link {
  display: block;
  padding: 12px 20px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--text);
  transition: var(--transition);
  border-left: 3px solid transparent;
}

.mobile-nav-link:hover {
  background: var(--bg);
  color: var(--primary);
  border-left-color: var(--primary);
}

.mobile-nav-wholesale {
  color: var(--primary);
  font-weight: 600;
}

.mobile-nav-divider {
  height: 1px;
  background: var(--border-light);
  margin: 8px 0;
}

.mobile-nav-footer {
  padding: 16px;
  border-top: 1px solid var(--border-light);
}

.mobile-wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25D366;
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: .9rem;
  transition: var(--transition);
  text-decoration: none;
}

.mobile-wa-btn:hover {
  background: #1DB954;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, .4);
}

/* ── HERO ── */
.hero-slider {
  position: relative;
  overflow: hidden;
  background: var(--secondary-dark);
  min-height: 480px;
  display: flex;
  align-items: center;
}

.hero-slide {
  display: none;
  position: absolute;
  inset: 0;
  animation: heroIn 600ms ease;
}

.hero-slide.active {
  display: flex;
  align-items: center;
  position: relative;
}

@keyframes heroIn {
  from {
    opacity: 0;
    transform: scale(1.02);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 78, 137, .85) 0%, rgba(0, 78, 137, .4) 50%, rgba(0, 0, 0, .3) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 64px 0;
  max-width: 640px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.hero-title {
  font-family: var(--font-title);
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 16px;
}

.hero-title span {
  color: var(--accent);
}

.hero-subtitle {
  font-size: clamp(.9rem, 2.5vw, 1.1rem);
  color: rgba(255, 255, 255, .8);
  margin-bottom: 24px;
  line-height: 1.7;
}

.hero-subtitle span {
  color: var(--accent);
  font-weight: 500;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.hero-feat {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .15);
  padding: 8px 14px;
  border-radius: var(--radius-md);
  backdrop-filter: blur(8px);
}

.hero-feat img {
  width: 24px;
  height: 24px;
}

.hero-feat strong {
  display: block;
  font-size: .78rem;
  color: #fff;
  line-height: 1.2;
}

.hero-feat span {
  font-size: .7rem;
  color: rgba(255, 255, 255, .65);
}

/* Buttons */
.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  transition: var(--transition);
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(255, 107, 53, .4);
}

.btn-hero:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(255, 107, 53, .5);
}

.btn-hero:active {
  transform: translateY(-1px);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-title);
  font-size: .9rem;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  transition: var(--transition);
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, .35);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--secondary);
  color: #fff;
  font-size: .9rem;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  transition: var(--transition);
  text-decoration: none;
}

.btn-secondary:hover {
  background: var(--secondary-dark);
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--primary);
  font-size: .9rem;
  font-weight: 600;
  padding: 10px 26px;
  border-radius: var(--radius-full);
  border: 2px solid var(--primary);
  transition: var(--transition);
  text-decoration: none;
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: #fff;
  font-size: .9rem;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  transition: var(--transition);
  text-decoration: none;
}

.btn-whatsapp:hover {
  background: #1DB954;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, .4);
}

/* Hero dots */
.hero-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .4);
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.hero-dot.active {
  background: #fff;
  width: 24px;
  border-radius: 4px;
}

/* ── BENEFITS BAR ── */
.benefits-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
  padding: 16px 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.benefits-bar::-webkit-scrollbar {
  display: none;
}

.benefits-grid {
  display: flex;
  gap: 24px;
  min-width: max-content;
  align-items: center;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.benefit-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.benefit-text strong {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
}

.benefit-text span {
  font-size: .72rem;
  color: var(--text-muted);
}

/* ── SECTIONS ── */
.section {
  padding: 64px 0;
}

.section-alt {
  background: var(--bg);
}

.section-dark {
  background: var(--secondary-dark);
  color: #fff;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-tag {
  display: inline-block;
  background: rgba(255, 107, 53, .1);
  color: var(--primary);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-title);
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.section-title span {
  color: var(--primary);
}

.section-subtitle {
  font-size: .95rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
}

/* ── CATEGORIES GRID ── */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.category-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1;
  display: block;
  background: var(--secondary);
  transition: var(--transition);
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.category-card:hover img {
  transform: scale(1.06);
}

.category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .75) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 16px;
}

.category-name {
  font-family: var(--font-title);
  font-size: .9rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 2px;
}

.category-count {
  font-size: .72rem;
  color: rgba(255, 255, 255, .65);
}

/* ── PRODUCTS GRID ── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border);
}

/* Badges */
.product-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.badge {
  font-size: .62rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: .05em;
}

.badge-new {
  background: var(--success);
  color: #fff;
}

.badge-sale {
  background: var(--error);
  color: #fff;
}

.badge-hot {
  background: var(--accent);
  color: var(--text);
}

/* Product image */
.product-img-wrap {
  display: block;
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--bg);
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.product-card:hover .product-img-wrap img {
  transform: scale(1.06);
}

.product-actions-hover {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px;
  display: flex;
  gap: 8px;
  transform: translateY(100%);
  transition: var(--transition);
  background: linear-gradient(to top, rgba(0, 0, 0, .7), transparent);
}

.product-card:hover .product-actions-hover {
  transform: translateY(0);
}

.btn-quick {
  flex: 1;
  text-align: center;
  font-size: .72rem;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, .2);
  border: 1px solid rgba(255, 255, 255, .4);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(4px);
  transition: var(--transition);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.btn-quick:hover {
  background: rgba(255, 255, 255, .35);
}

/* Product body */
.product-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.product-category {
  font-size: .68rem;
  font-weight: 500;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.product-name {
  font-family: var(--font-title);
  font-size: .88rem;
  font-weight: 600;
  line-height: 1.35;
  margin: 0;
}

.product-name a {
  color: var(--text);
  transition: var(--transition);
}

.product-name a:hover {
  color: var(--primary);
}

/* Rating */
.product-rating {
  display: flex;
  align-items: center;
  gap: 6px;
}

.stars {
  display: flex;
  gap: 1px;
}

.star {
  width: 14px;
  height: 14px;
  fill: #E9ECEF;
}

.star.filled {
  fill: var(--warning);
}

.rating-count {
  font-size: .72rem;
  color: var(--text-muted);
}

/* Price */
.product-price {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.price-current {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
}

.price-original {
  font-family: var(--font-mono);
  font-size: .8rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.price-discount {
  font-size: .68rem;
  font-weight: 700;
  background: rgba(220, 53, 69, .1);
  color: var(--error);
  padding: 2px 6px;
  border-radius: 4px;
}

/* Product buttons */
.btn-add-cart {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--secondary);
  color: #fff;
  font-size: .8rem;
  font-weight: 600;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn-add-cart:hover {
  background: var(--secondary-dark);
  transform: translateY(-1px);
}

.btn-add-cart.added {
  background: var(--success);
}

.btn-buy-now {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #25D366;
  color: #fff;
  font-size: .8rem;
  font-weight: 600;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  transition: var(--transition);
  text-decoration: none;
}

.btn-buy-now:hover {
  background: #1DB954;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, .3);
}

/* ── PROMO BANNER ── */
.promo-section {
  padding: 40px 0;
}

.promo-banner {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.promo-banner a {
  display: block;
}

.promo-banner img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ── WHY US ── */
.why-section {
  background: var(--secondary-dark);
  color: #fff;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.why-card {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: var(--transition);
}

.why-card:hover {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 107, 53, .3);
  transform: translateY(-4px);
}

.why-icon {
  width: 52px;
  height: 52px;
  background: rgba(255, 107, 53, .15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.5rem;
}

.why-card h3 {
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.why-card p {
  font-size: .85rem;
  color: rgba(255, 255, 255, .6);
  line-height: 1.65;
}

/* ── TESTIMONIALS ── */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
  transition: var(--transition);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.testimonial-quote {
  font-size: 2.5rem;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 12px;
  font-family: Georgia, serif;
}

.testimonial-text {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.testimonial-info strong {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  color: var(--text);
}

.testimonial-info span {
  font-size: .75rem;
  color: var(--text-muted);
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-top: 2px;
}

.testimonial-stars .star {
  width: 12px;
  height: 12px;
  fill: var(--warning);
}

/* ── CTA SECTION ── */
.cta-section {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
  padding: 72px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 107, 53, .15) 0%, transparent 60%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-icon {
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.cta-title {
  font-family: var(--font-title);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.cta-subtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, .7);
  max-width: 480px;
  margin: 0 auto 32px;
}

/* ── FOOTER ── */
.site-footer {
  background: var(--secondary-dark);
  color: rgba(255, 255, 255, .75);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding: 56px 0 40px;
}

.footer-brand img {
  height: 40px;
  width: auto;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}

.footer-desc {
  font-size: .85rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, .6);
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  overflow: hidden;
}

.footer-social-link img {
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1);
}

.footer-social-link:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer-title {
  font-family: var(--font-title);
  font-size: .9rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  font-size: .85rem;
  color: rgba(255, 255, 255, .6);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.footer-links a::before {
  content: '›';
  color: var(--primary);
  font-size: .8rem;
}

.footer-contact li {
  margin-bottom: 10px;
}

.footer-contact a,
.footer-contact span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  color: rgba(255, 255, 255, .6);
  transition: var(--transition);
}

.footer-contact a:hover {
  color: var(--primary);
}

/* Newsletter */
.newsletter-form {
  margin-top: 20px;
}

.newsletter-title {
  font-size: .82rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
}

.newsletter-input-group {
  display: flex;
  border-radius: var(--radius-full);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .15);
}

.newsletter-input {
  flex: 1;
  background: rgba(255, 255, 255, .08);
  border: none;
  padding: 10px 16px;
  font-size: .82rem;
  color: #fff;
  outline: none;
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, .4);
}

.newsletter-btn {
  background: var(--primary);
  color: #fff;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.newsletter-btn:hover {
  background: var(--primary-dark);
}

/* Payments */
.footer-payments {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.payment-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.payment-badge {
  font-size: .72rem;
  font-weight: 500;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  color: rgba(255, 255, 255, .65);
}

.footer-security {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .78rem;
  color: var(--success);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 16px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: .78rem;
  color: rgba(255, 255, 255, .4);
}

/* ── WHATSAPP FLOAT ── */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 800;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.whatsapp-tooltip {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  transform: translateY(8px);
  transition: var(--transition);
  pointer-events: none;
  max-width: 200px;
}

.whatsapp-tooltip strong {
  font-size: .82rem;
  font-weight: 600;
  color: var(--text);
}

.whatsapp-tooltip span {
  font-size: .75rem;
  color: var(--text-muted);
}

.whatsapp-float.show-tooltip .whatsapp-tooltip {
  opacity: 1;
  transform: translateY(0);
}

.whatsapp-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, .45);
  transition: var(--transition);
  position: relative;
  text-decoration: none;
  animation: waPulse 3s ease-in-out infinite;
}

@keyframes waPulse {

  0%,
  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, .45);
  }

  50% {
    box-shadow: 0 4px 30px rgba(37, 211, 102, .7);
  }
}

.whatsapp-btn:hover {
  transform: scale(1.1);
}

.wa-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 20px;
  height: 20px;
  background: var(--error);
  border-radius: 50%;
  font-size: .65rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
}

/* ── TOAST ── */
.toast-container {
  position: fixed;
  bottom: 100px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast {
  background: var(--text);
  color: #fff;
  font-size: .85rem;
  font-weight: 500;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: toastIn 300ms ease, toastOut 300ms ease 2700ms forwards;
  max-width: 320px;
  pointer-events: auto;
}

.toast.success {
  background: var(--success);
}

.toast.error {
  background: var(--error);
}

.toast.info {
  background: var(--secondary);
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateX(100%);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes toastOut {
  to {
    opacity: 0;
    transform: translateX(100%);
  }
}

/* ── SKELETON LOADING ── */
.skeleton {
  background: linear-gradient(90deg, var(--border-light) 25%, #e2e5e9 50%, var(--border-light) 75%);
  background-size: 200% 100%;
  animation: skeleton 1.5s infinite;
  border-radius: var(--radius-sm);
}

@keyframes skeleton {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

/* ── FADE-IN ON SCROLL ── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── EMPTY STATE ── */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

.empty-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.empty-state p {
  font-size: .95rem;
}

/* ── UTILIDADES ── */
.desktop-only {
  display: none !important;
}

.mobile-only {
  display: block !important;
}

.text-center {
  text-align: center;
}

.mt-4 {
  margin-top: 16px;
}

.mt-8 {
  margin-top: 32px;
}

.mb-4 {
  margin-bottom: 16px;
}

.mb-8 {
  margin-bottom: 32px;
}

.flex {
  display: flex;
}

.items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-2 {
  gap: 8px;
}

.gap-4 {
  gap: 16px;
}

.w-full {
  width: 100%;
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE — TABLET (768px)
══════════════════════════════════════════════════════ */
@media (min-width: 768px) {
  :root {
    --container-padding: 24px;
  }

  .top-item:nth-child(3) {
    display: inline;
  }

  .action-label {
    display: block;
  }

  .header-search.desktop-only {
    display: block;
  }

  .header-search.mobile-only {
    display: none;
  }

  .site-nav {
    display: block;
  }

  .hamburger {
    display: none;
  }

  .hero-content {
    padding: 80px 0;
  }

  .hero-features {
    gap: 16px;
  }

  .benefits-grid {
    justify-content: space-between;
  }

  .categories-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }

  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .section {
    padding: 80px 0;
  }
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE — DESKTOP (1024px)
══════════════════════════════════════════════════════ */
@media (min-width: 1024px) {
  .logo-wrap img {
    height: 48px;
  }

  .categories-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }

  .products-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }

  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  }

  .footer-brand {
    grid-column: auto;
  }

  .section {
    padding: 96px 0;
  }

  .hero-slider {
    min-height: 560px;
  }

  .product-actions-hover {
    padding: 16px;
  }
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE — DESKTOP GRANDE (1440px)
══════════════════════════════════════════════════════ */
@media (min-width: 1440px) {
  :root {
    --container-max: 1400px;
    --container-padding: 32px;
  }

  .products-grid {
    gap: 28px;
  }

  .hero-title {
    font-size: 4rem;
  }
}

/* ══════════════════════════════════════════════════════
   INDEX.PHP V2 — CLASES AUXILIARES
══════════════════════════════════════════════════════ */

/* Section tag red (for dark backgrounds) */
.section-tag--red {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section-title--light {
  color: #fff;
}

/* Section CTA */
.section-cta {
  text-align: center;
  margin-top: 40px;
}

/* CTA Section */
.cta-inner {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cta-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  display: block;
}

.cta-title {
  font-family: var(--font-title);
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.3;
}

.cta-desc {
  font-size: .95rem;
  color: rgba(255, 255, 255, .65);
  margin-bottom: 28px;
  line-height: 1.7;
}

/* Why card title/desc (semantic overrides) */
.why-title {
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.why-desc {
  font-size: .85rem;
  color: rgba(255, 255, 255, .6);
  line-height: 1.65;
}

/* Stars in testimonials */
.stars {
  display: flex;
  gap: 2px;
  margin-bottom: 12px;
  color: #F59E0B;
  font-size: 1rem;
}

/* Button quick WhatsApp */
.btn-quick-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: #fff;
  font-size: .85rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  transition: var(--transition);
  text-decoration: none;
}

.btn-quick-wa:hover {
  background: #1DB954;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, .35);
}

/* Section title light variant */
.section-dark .section-title,
.why-section .section-title {
  color: #fff;
}

.section-dark .section-subtitle,
.why-section .section-subtitle {
  color: rgba(255, 255, 255, .55);
}

/* Hero section improvements */
.hero-section {
  position: relative;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

/* Section subtitle */
.section-subtitle {
  font-size: .95rem;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Section tag light */
.section-tag--light {
  display: inline-block;
  background: rgba(255, 107, 53, .12);
  color: var(--primary);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}

/* Products section title */
.products-section .section-title {
  margin-bottom: 8px;
}

/* Testimonials section */
.testimonial-card .stars {
  margin-bottom: 12px;
}

.testimonial-name {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: .9rem;
  color: var(--text-dark);
}

.testimonial-role {
  font-size: .75rem;
  color: var(--text-muted);
}

/* Footer extra polish */
.footer-logo img {
  filter: brightness(0) invert(1);
}

/* Empty state extra */
.empty-state .empty-icon {
  font-size: 4rem;
  margin-bottom: 20px;
  display: block;
}

.empty-state h2 {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

/* Responsive: CTA */
@media (max-width: 768px) {
  .cta-title {
    font-size: 1.3rem;
  }

  .cta-inner {
    padding: 0 16px;
  }

  .section-cta {
    margin-top: 28px;
  }
}

@media (max-width: 480px) {
  .cta-title {
    font-size: 1.1rem;
  }

  .cta-icon {
    font-size: 2.2rem;
  }
}