:root {
  --azul: #2563eb;
  --azul-hover: #1d4ed8;

  --morado: #7c3aed;
  --lila: #f3e8ff;

  --verde: #10b981;
  --verde-claro: #ecfdf5;

  --amarillo: #fbbf24;
  --amarillo-claro: #fffbeb;

  --fondo: #f8fbff;
  --blanco: #ffffff;
  --texto: #111827;
  --texto-secundario: #6b7280;
  --borde: #e5e7eb;
  --sombra: 0 15px 35px rgba(37, 99, 235, 0.12);
}

/* =========================
   RESET
========================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background:
    radial-gradient(circle at 10% 15%, rgba(124, 58, 237, 0.08), transparent 25%),
    radial-gradient(circle at 90% 25%, rgba(37, 99, 235, 0.08), transparent 30%),
    radial-gradient(circle at 30% 85%, rgba(16, 185, 129, 0.08), transparent 25%),
    var(--fondo);
  color: var(--texto);
  padding-top: 80px;
  overflow-x: hidden;
}

/* =========================
   NAVBAR
========================= */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  padding: 0 8%;
  z-index: 1000;

  display: flex;
  align-items: center;
  justify-content: space-between;

  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.8);
  transition: 0.35s;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 32px;
  font-weight: 800;
  cursor: pointer;
}

.logo i {
  color: var(--morado);
  font-size: 30px;
  transition: 0.4s;
}

.logo:hover i {
  transform: rotate(-15deg) scale(1.15);
  color: var(--azul);
}

.nav-menu a,
nav a {
  position: relative;
  margin-left: 30px;
  text-decoration: none;
  color: #374151;
  font-weight: 600;
  transition: 0.3s;
}

.nav-menu a:hover,
nav a:hover {
  color: var(--morado);
}

.nav-menu a::after,
nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 3px;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--azul), var(--morado));
  transition: 0.35s;
}

.nav-menu a:hover::after,
nav a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--azul), var(--morado));
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(124, 58, 237, 0.25);
}

/* =========================
   BOTONES GENERALES
========================= */

.btn {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  margin-right: 12px;
  transition: 0.3s ease;
}

.btn:hover {
  transform: translateY(-3px);
}

.primary {
  background: linear-gradient(135deg, var(--azul), var(--morado));
  color: white;
}

.primary:hover {
  box-shadow: 0 12px 25px rgba(124, 58, 237, 0.25);
}

.secondary {
  border: 2px solid var(--morado);
  color: var(--morado);
  background: white;
}

.secondary:hover {
  background: var(--lila);
}

/* =========================
   INICIO - HERO
========================= */

.hero {
  min-height: calc(100vh - 80px);
  padding: 90px 8%;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
  background:
    radial-gradient(circle at top left, rgba(124, 58, 237, 0.14), transparent 35%),
    radial-gradient(circle at bottom right, rgba(16, 185, 129, 0.12), transparent 32%),
    linear-gradient(135deg, #f8fbff, #f3f4ff);
}

.tag {
  display: inline-block;
  background: #dbeafe;
  color: #1d4ed8;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 4.2rem;
  line-height: 1.05;
  margin-bottom: 22px;
  letter-spacing: -2px;
  text-shadow: 0 8px 25px rgba(124, 58, 237, 0.08);
}

.hero h1 span {
  background: linear-gradient(135deg, var(--azul), var(--morado));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.15rem;
  color: #4b5563;
  max-width: 560px;
  margin-bottom: 30px;
}

.hero-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image img {
  width: 100%;
  max-width: 520px;
  height: auto;
  object-fit: contain;
}

.hero-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  padding: 38px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 25px 60px rgba(124, 58, 237, 0.14);
  transition: 0.3s ease;
}

.hero-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 70px rgba(37, 99, 235, 0.18);
}

.hero-card h3 {
  font-size: 1.7rem;
  margin-bottom: 12px;
}

/* =========================
   DESTACADOS
========================= */

.featured-home {
  padding: 80px 8%;
  background: var(--blanco);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 45px;
}

.section-header span {
  color: var(--azul);
  font-weight: 700;
}

.section-header h2 {
  font-size: 2.2rem;
  margin: 10px 0;
}

.section-header p {
  color: var(--texto-secundario);
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 25px;
}

.featured-card {
  min-width: 0;
  background: linear-gradient(135deg, #ffffff, #f8fbff);
  border: 1px solid var(--borde);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.08);
  transition: 0.3s ease;
}

.featured-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 50px rgba(124, 58, 237, 0.14);
}

.featured-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--lila);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 18px;
}

.featured-card span {
  color: var(--morado);
  font-weight: 700;
  font-size: 0.85rem;
}

.featured-card h3 {
  margin: 10px 0;
  font-size: 1.25rem;
}

.featured-card p {
  color: var(--texto);
  font-weight: 800;
  font-size: 1.25rem;
  margin-bottom: 18px;
}

.featured-link {
  color: var(--azul);
  text-decoration: none;
  font-weight: 700;
}

/* =========================
   CATEGORÍAS
========================= */

.categories {
  padding: 80px 8%;
  background: var(--blanco);
}

.categories h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 50px;
}

.category-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}

.category-card {
  min-width: 0;
  background: #f8fbff;
  border-radius: 18px;
  padding: 25px;
  text-align: center;
  transition: 0.3s;
  cursor: pointer;
  border: 1px solid var(--borde);
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(124, 58, 237, 0.12);
}

.category-card i {
  width: 62px;
  height: 62px;
  margin: 0 auto 18px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  background: white;
  color: var(--morado);
  box-shadow: 0 12px 25px rgba(124, 58, 237, 0.12);
  transition: 0.3s ease;
}

.category-card:hover i {
  transform: rotate(-8deg) scale(1.08);
}

.category-card h3 {
  margin: 20px 0 10px;
}

.category-card p {
  color: var(--texto-secundario);
}

.category-card:nth-child(1) {
  background: #eff6ff;
}

.category-card:nth-child(2) {
  background: var(--verde-claro);
}

.category-card:nth-child(3) {
  background: var(--lila);
}

.category-card:nth-child(4) {
  background: var(--amarillo-claro);
}

.category-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--azul);
  font-weight: 700;
  text-decoration: none;
}

/* =========================
   BENEFICIOS
========================= */

.benefits {
  padding: 80px 8%;
  background: #f8fbff;
}

.benefits-container {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 25px;
}

.benefit-card {
  background: var(--blanco);
  padding: 28px;
  border-radius: 18px;
  border: 1px solid var(--borde);
  border-top: 4px solid var(--azul);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.06);
  transition: 0.3s;
}

.benefit-card h3 {
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.benefit-card p {
  color: var(--texto-secundario);
  line-height: 1.5;
}

.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 50px rgba(37, 99, 235, 0.14);
}

/* =========================
   PRODUCTOS
========================= */

.products-page {
  padding: 60px 8%;
  background:
    radial-gradient(circle at top right, rgba(124, 58, 237, 0.10), transparent 35%),
    radial-gradient(circle at bottom left, rgba(16, 185, 129, 0.08), transparent 30%),
    var(--fondo);
}

.products-header {
  text-align: center;
  margin-bottom: 50px;
}

.products-header span {
  color: var(--azul);
  font-weight: 600;
}

.products-header h1 {
  font-size: 3rem;
  margin: 10px 0;
}

.products-header p {
  color: var(--texto-secundario);
}

.search-input {
  width: 500px;
  max-width: 100%;
  margin-top: 30px;
  padding: 15px 20px;
  border: 1px solid var(--borde);
  border-radius: 12px;
  outline: none;
  background: var(--blanco);
}

.products-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  align-items: start;
  gap: 35px;
  width: 100%;
  max-width: 100%;
}

.products-layout > * {
  min-width: 0;
}

.products-main {
  min-width: 0;
}

.filters {
  display: flex;
  gap: 15px;
  margin-bottom: 35px;
  flex-wrap: wrap;
}

.filter-btn {
  border: none;
  padding: 12px 20px;
  border-radius: 30px;
  background: #edf2ff;
  cursor: pointer;
  transition: 0.3s ease;
}

.filter-btn:hover {
  transform: translateY(-3px);
  background: var(--lila);
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--azul), var(--morado));
  color: white;
  box-shadow: 0 12px 25px rgba(124, 58, 237, 0.20);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
  width: 100%;
  min-width: 0;
}

.product-card {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 430px;

  position: relative;
  overflow: hidden;

  background: var(--blanco);
  border-radius: 20px;
  border: 1px solid var(--borde);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.08);
  transition: 0.3s;
}

.product-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.45),
    transparent
  );
  transition: 0.7s;
  pointer-events: none;
}

.product-card:hover::before {
  left: 140%;
}

.product-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 30px 60px rgba(37, 99, 235, 0.18);
  border-color: rgba(124, 58, 237, 0.25);
}

.product-image {
  height: 230px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #eef4ff, #f8fbff);
  overflow: hidden;
}

.product-image img {
  width: 82%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  transition: 0.45s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.08);
}

.product-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-category {
  display: inline-block;
  width: fit-content;
  padding: 7px 15px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.product-category.utiles {
  background: #dbeafe;
  color: #2563eb;
}

.product-category.oficina {
  background: #ecfdf5;
  color: #059669;
}

.product-category.arte {
  background: #f3e8ff;
  color: #7c3aed;
}

.product-category.impresiones {
  background: #fef3c7;
  color: #d97706;
}

.product-info h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  min-height: 55px;
  display: flex;
  align-items: flex-start;
}

.stock-badge {
  display: inline-block;
  width: fit-content;
  background: var(--verde-claro);
  color: #059669;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  margin: 6px 0;
}

.stock-badge::before {
  content: "● ";
  font-size: 0.75rem;
}

.price {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--morado);
  margin: 12px 0;
}

.add-btn {
  width: 100%;
  margin-top: 10px;
  display: block;

  background: linear-gradient(135deg, var(--azul), var(--morado));
  color: white;
  border: none;
  padding: 14px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s ease;
}

.add-btn:hover {
  box-shadow: 0 12px 25px rgba(124, 58, 237, 0.25);
  transform: translateY(-2px) scale(1.02);
}

/* =========================
   LISTA DE PEDIDO
========================= */

.order-list {
  width: 290px;
  min-width: 0;
  max-width: 100%;
  height: fit-content;

  background: var(--blanco);
  border-radius: 22px;
  padding: 25px;
  border: 1px solid var(--borde);
  box-shadow: var(--sombra);

  position: sticky;
  top: 105px;
}

.order-list h2 {
  font-size: 1.5rem;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.order-list h2 i {
  color: var(--morado);
}

.empty-cart {
  color: var(--texto-secundario);
  font-size: 0.95rem;
  padding: 20px 0;
}

.cart-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--borde);
}

.cart-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin: 12px 0;
}

.cart-controls button {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: var(--azul);
  color: white;
  cursor: pointer;
  font-size: 18px;
}

.remove-btn {
  margin-top: 12px;
  width: 100%;
  border: none;
  padding: 10px;
  border-radius: 10px;
  background: #fee2e2;
  color: #dc2626;
  cursor: pointer;
}

.order-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 22px 0;
  padding-top: 18px;
  border-top: 1px solid var(--borde);
  font-size: 1.1rem;
  font-weight: 800;
}

.whatsapp-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  border: none;
  padding: 15px;
  border-radius: 14px;

  background: #25d366;
  color: white;

  font-size: 15px;
  font-weight: 700;
  cursor: pointer;

  transition: 0.3s ease;
}

.whatsapp-btn:hover {
  background: #1ebe5d;
  transform: translateY(-3px);
}

/* =========================
   NOSOTROS
========================= */

.about-page {
  background:
    radial-gradient(circle at top right, rgba(124, 58, 237, 0.10), transparent 35%),
    radial-gradient(circle at bottom left, rgba(16, 185, 129, 0.08), transparent 30%),
    var(--fondo);
}

.about-hero {
  min-height: calc(100vh - 80px);
  padding: 80px 8%;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
}

.about-hero h1 {
  font-size: 3.6rem;
  line-height: 1.1;
  margin: 20px 0;
}

.about-hero p {
  font-size: 1.1rem;
  color: var(--texto-secundario);
  line-height: 1.8;
  max-width: 650px;
}

.about-card {
  background: var(--blanco);
  border: 1px solid var(--borde);
  border-radius: 26px;
  padding: 40px;
  box-shadow: var(--sombra);
}

.about-card i {
  font-size: 3rem;
  color: var(--morado);
  margin-bottom: 20px;
}

.about-card h3 {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.about-card p {
  color: var(--texto-secundario);
  line-height: 1.6;
}

.mission-section {
  padding: 20px 8% 90px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
}

.mission-card {
  background: var(--blanco);
  border: 1px solid var(--borde);
  border-radius: 22px;
  padding: 32px;
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.08);
  transition: 0.3s ease;
}

.mission-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(124, 58, 237, 0.14);
}

.mission-card i {
  font-size: 2rem;
  color: var(--azul);
  margin-bottom: 18px;
}

.mission-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.mission-card p {
  color: var(--texto-secundario);
  line-height: 1.6;
}

.about-stats {
  padding: 20px 8% 70px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.stat-card {
  background: var(--blanco);
  border: 1px solid var(--borde);
  border-radius: 22px;
  padding: 28px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.08);
}

.stat-card h3 {
  font-size: 2rem;
  color: var(--morado);
  margin-bottom: 8px;
}

.stat-card p {
  color: var(--texto-secundario);
}

.about-cta {
  margin: 0 8% 90px;
  padding: 55px;
  border-radius: 28px;
  text-align: center;
  background: linear-gradient(135deg, var(--azul), var(--morado));
  color: white;
}

.about-cta h2 {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.about-cta p {
  margin-bottom: 25px;
}

.about-cta .btn {
  background: white;
  color: var(--morado);
}

/* =========================
   CONTACTO
========================= */

.contact-page {
  background:
    radial-gradient(circle at top right, rgba(124, 58, 237, 0.10), transparent 35%),
    radial-gradient(circle at bottom left, rgba(16, 185, 129, 0.08), transparent 30%),
    var(--fondo);
  padding: 80px 8%;
}

.contact-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.contact-header h1 {
  font-size: 3.5rem;
  margin: 20px 0;
}

.contact-header p {
  color: var(--texto-secundario);
  font-size: 1.1rem;
}

.contact-container {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
}

.contact-info,
.contact-form {
  background: var(--blanco);
  border-radius: 24px;
  padding: 35px;
  border: 1px solid var(--borde);
  box-shadow: var(--sombra);
}

.contact-info h2,
.contact-form h2 {
  margin-bottom: 30px;
}

.info-item {
  display: flex;
  gap: 18px;
  margin-bottom: 28px;
}

.info-item i {
  width: 55px;
  height: 55px;
  flex-shrink: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--lila);
  color: var(--morado);
  font-size: 22px;
}

.info-item h4 {
  margin-bottom: 5px;
}

.info-item p {
  color: var(--texto-secundario);
}

.contact-form {
  display: flex;
  flex-direction: column;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-bottom: 20px;
  padding: 16px;
  border: 1px solid var(--borde);
  border-radius: 14px;
  font-size: 15px;
  outline: none;
  transition: 0.3s;
  background: var(--blanco);
  color: var(--texto);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--morado);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.12);
}

.contact-form textarea {
  resize: vertical;
}
/* =========================
   FOOTER
========================= */

.footer {
  margin-top: 100px;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.10), transparent 30%),
    linear-gradient(135deg, var(--azul), var(--morado));
  color: white;
}

.footer-container {
  padding: 60px 8%;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
}

.footer-column h2 {
  margin-bottom: 20px;
  font-size: 2rem;
}

.footer-column h2 i {
  margin-right: 10px;
  color: #ffffff;
}

.footer-column h3 {
  margin-bottom: 20px;
}

.footer-column p {
  opacity: 0.9;
  line-height: 1.8;
}

.footer-column a {
  display: block;
  color: white;
  text-decoration: none;
  margin-bottom: 12px;
  transition: 0.3s;
}

.footer-column a:hover {
  color: #dbeafe;
  transform: translateX(8px);
}

.footer-copy {
  text-align: center;
  padding: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.9rem;
  opacity: 0.85;
}

/* =========================
   ANIMACIONES
========================= */

.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   BOTONES FLOTANTES
========================= */

.whatsapp-floating {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 4000;

  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  background: #25d366;
  color: white;
  text-decoration: none;
  font-size: 1.8rem;

  box-shadow: 0 16px 35px rgba(37, 211, 102, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.whatsapp-floating:hover {
  background: #1ebe5d;
  transform: translateY(-5px) scale(1.06);
  box-shadow: 0 20px 42px rgba(37, 211, 102, 0.45);
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 95px;
  z-index: 3999;

  width: 56px;
  height: 56px;

  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--azul), var(--morado));
  color: white;
  font-size: 20px;
  cursor: pointer;

  box-shadow: 0 16px 35px rgba(37, 99, 235, 0.25);

  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: 0.35s;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px);
}
/* =========================
   MODO OSCURO
========================= */

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 24px;
}

.theme-toggle {
  width: 46px;
  height: 46px;
  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid var(--borde);
  border-radius: 14px;

  background: var(--blanco);
  color: var(--morado);

  font-size: 1.15rem;
  cursor: pointer;

  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.08);
  transition: .3s ease;
}

.theme-toggle:hover {
  transform: translateY(-2px);
  background: var(--lila);
}

body.dark-mode {
  --fondo: #0f172a;
  --blanco: #172033;
  --texto: #f8fafc;
  --texto-secundario: #b7c0d1;
  --borde: #334155;
  --lila: #312e50;
  --verde-claro: #12382f;
  --amarillo-claro: #3a3218;
  --sombra: 0 18px 45px rgba(0, 0, 0, .28);

  background:
    radial-gradient(circle at 10% 15%, rgba(124, 58, 237, .15), transparent 25%),
    radial-gradient(circle at 90% 25%, rgba(37, 99, 235, .14), transparent 30%),
    radial-gradient(circle at 30% 85%, rgba(16, 185, 129, .10), transparent 25%),
    var(--fondo);
}

body.dark-mode .navbar {
  background: rgba(15, 23, 42, .9);
  border-bottom-color: rgba(71, 85, 105, .7);
}

body.dark-mode .nav-menu a,
body.dark-mode nav a {
  color: #e5e7eb;
}

body.dark-mode .hero,
body.dark-mode .products-page,
body.dark-mode .about-page,
body.dark-mode .contact-page {
  background:
    radial-gradient(circle at top left, rgba(124, 58, 237, .13), transparent 35%),
    radial-gradient(circle at bottom right, rgba(16, 185, 129, .08), transparent 30%),
    var(--fondo);
}

body.dark-mode .featured-home,
body.dark-mode .categories,
body.dark-mode .benefits {
  background: var(--fondo);
}

body.dark-mode .featured-card,
body.dark-mode .category-card,
body.dark-mode .benefit-card,
body.dark-mode .product-card,
body.dark-mode .order-list,
body.dark-mode .about-card,
body.dark-mode .mission-card,
body.dark-mode .stat-card,
body.dark-mode .contact-info,
body.dark-mode .contact-form {
  background: var(--blanco);
  border-color: var(--borde);
}

body.dark-mode .product-image {
  background: linear-gradient(135deg, #172033, #1e293b);
}

body.dark-mode .hero p,
body.dark-mode .section-header p,
body.dark-mode .category-card p,
body.dark-mode .benefit-card p {
  color: var(--texto-secundario);
}

body.dark-mode .search-input,
body.dark-mode .contact-form input,
body.dark-mode .contact-form textarea {
  background: #111827;
  color: var(--texto);
  border-color: var(--borde);
}

body.dark-mode .filter-btn {
  background: #273449;
  color: #e5e7eb;
}

body.dark-mode .filter-btn.active {
  background: linear-gradient(135deg, var(--azul), var(--morado));
}

body.dark-mode .nav-menu {
  background: rgba(23, 32, 51, .98);
}
/* =========================
   MANCHAS DECORATIVAS
========================= */

.hero,
.products-page,
.about-page,
.contact-page {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.hero::before,
.products-page::before,
.about-page::before,
.contact-page::before {
  content: "";
  position: absolute;

  width: 420px;
  height: 420px;

  top: 140px;
  left: -60px;

  z-index: -1;
  border-radius: 50%;

  background: rgba(124, 58, 237, 0.28);
  filter: blur(90px);

  animation: floating-blob 9s ease-in-out infinite alternate;
}

.hero::after,
.products-page::after,
.about-page::after,
.contact-page::after {
  content: "";
  position: absolute;

  width: 380px;
  height: 380px;

  right: -80px;
  bottom: 120px;

  z-index: -1;
  border-radius: 50%;

  background: rgba(37, 99, 235, 0.22);
  filter: blur(90px);

  animation: floating-blob 11s ease-in-out infinite alternate-reverse;
}

.products-page::before {
  background: rgba(37, 99, 235, 0.14);
}

.about-page::after {
  background: rgba(124, 58, 237, 0.13);
}

.contact-page::before {
  background: rgba(16, 185, 129, 0.12);
}

.contact-page::after {
  background: rgba(37, 99, 235, 0.14);
}

@keyframes floating-blob {
  from {
    transform: translate(0, 0) scale(1);
  }

  to {
    transform: translate(35px, 25px) scale(1.08);
  }
}
/* =========================
   RESPONSIVE
========================= */

/* Laptop */
@media (max-width: 1100px) {
  .navbar {
    padding: 0 5%;
  }

  .products-page {
    padding-left: 5%;
    padding-right: 5%;
  }

  .products-layout {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 25px;
  }

  .order-list {
    width: 260px;
  }

  .benefits-container,
  .featured-grid,
  .category-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .mission-section,
  .about-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-container {
    grid-template-columns: 1fr;
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

/* Tablet */
@media (max-width: 850px) {
  .products-layout {
    grid-template-columns: 1fr;
  }

  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .order-list {
    position: static;
    width: 100%;
    max-width: 600px;
    margin: 30px auto 0;
  }

  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 70px 5%;
  }

  .hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-image img {
    max-width: 420px;
  }
}

/* Celular */
@media (max-width: 768px) {
  .hero::before,
.hero::after,
.products-page::before,
.products-page::after,
.about-page::before,
.about-page::after,
.contact-page::before,
.contact-page::after 
{
  width: 220px;
  height: 220px;
  filter: blur(55px);
  animation: none;
}
  body {
    padding-top: 72px;
  }

  .navbar {
    height: 72px;
    padding: 0 5%;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .logo {
    font-size: 1.2rem;
  }

  .logo i {
    font-size: 1.3rem;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .nav-menu {
    position: absolute;
    top: 72px;
    left: 5%;
    right: 5%;
    z-index: 3000;

    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;

    padding: 14px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--borde);
    border-radius: 18px;
    box-shadow: 0 20px 45px rgba(37, 99, 235, 0.18);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-12px);

    transition:
      opacity 0.3s ease,
      transform 0.3s ease,
      visibility 0.3s ease;
  }

  .nav-menu.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-menu a {
    display: block;
    width: 100%;
    margin: 0;
    padding: 13px 15px;
    border-radius: 12px;
  }

  .nav-menu a:hover {
    background: var(--lila);
  }

  .nav-menu a::after {
    display: none;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .btn {
    margin-right: 0;
    text-align: center;
  }

  .featured-grid,
  .category-container,
  .benefits-container,
  .products-grid,
  .mission-section,
  .about-stats,
  .footer-container {
    grid-template-columns: 1fr;
  }

  .products-page {
    width: 100%;
    padding: 45px 5%;
  }

  .products-header h1 {
    font-size: 2.4rem;
  }

  .filters {
    justify-content: center;
  }

  .product-card {
    min-height: auto;
  }

  .contact-page {
    padding: 60px 5%;
  }

  .contact-info,
  .contact-form {
    padding: 28px;
  }
  
}

/* Celular pequeño */
@media (max-width: 576px) {
  .hero h1 {
    font-size: 2.4rem;
  }

  .products-header h1,
  .contact-header h1,
  .about-hero h1 {
    font-size: 2.1rem;
    line-height: 1.15;
  }

  .section-header h2,
  .categories h2 {
    font-size: 1.8rem;
  }

  .featured-home,
  .categories,
  .benefits {
    padding: 60px 5%;
  }

  .search-input {
    width: 100%;
  }

  .filter-btn {
    padding: 10px 16px;
    font-size: 0.9rem;
  }

  .order-list {
    padding: 20px;
  }

  .whatsapp-floating {
    right: 18px;
    bottom: 18px;
    width: 52px;
    height: 52px;
    font-size: 1.55rem;
  }

  .back-to-top {
    right: 18px;
    bottom: 82px;
    width: 50px;
    height: 50px;
  }
}
/*=========================
PAGINACIÓN
=========================*/
.pagination{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:20px;
    margin:50px 0;
}
.pagination-btn{
    background:linear-gradient(135deg,var(--azul),var(--morado));
    color:#fff;
    border:none;
    padding:12px 22px;
    border-radius:12px;
    cursor:pointer;
    font-weight:600;
    transition:.3s;
}
.pagination-btn:hover{
    transform:translateY(-3px);
}
.pagination-btn:disabled{
    opacity:.45;
    cursor:not-allowed;
    transform:none;
}
#pageInfo{
    font-weight:600;
}
/*=========================
CONTADOR PRODUCTOS
=========================*/

.contador-productos{

    margin:20px 0 30px;

    color:#64748b;

    font-size:1rem;

    font-weight:600;

}