/* =====================================================
   VITÚ — Estilos principales
   Fuente: Poppins (Google Fonts)
   Paleta: crema · marrón oscuro · rosa VITÚ
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

/* ─── Variables ─────────────────────────────────── */
:root {
  --cream:        #FDF6EC;
  --cream-dark:   #F0DFD0;
  --cream-mid:    #F7EEE0;
  --dark:         #2C1810;
  --dark-soft:    #5A3E38;
  --pink:         #E8617A;
  --pink-dark:    #CF4A65;
  --pink-light:   #F9E0E5;
  --teal:         #5BB8B0;
  --blue:         #4A90D9;
  --orange:       #F0874A;
  --lavender:     #9B7BB8;
  --soft-pink:    #F4A0B5;

  --radius-sm:    8px;
  --radius-md:    16px;
  --radius-lg:    24px;
  --radius-full:  100px;

  --shadow-sm:    0 2px 10px rgba(44,24,16,0.07);
  --shadow-md:    0 6px 24px rgba(44,24,16,0.11);
  --shadow-lg:    0 12px 40px rgba(44,24,16,0.15);

  --transition:   all 0.25s ease;
}

/* ─── Reset ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--cream);
  color: var(--dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ─── Contenedor ─────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ─── Tipografía ─────────────────────────────────── */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.25; color: var(--dark); }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.1rem; }

.section-title {
  text-align: center;
  margin-bottom: 12px;
}
.section-subtitle {
  text-align: center;
  color: var(--dark-soft);
  font-size: 0.95rem;
  margin-bottom: 48px;
}
.section-line {
  width: 48px;
  height: 3px;
  background: var(--pink);
  border-radius: 2px;
  margin: 10px auto 16px;
}

/* ─── Botones ─────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  letter-spacing: 0.03em;
}
.btn-primary {
  background-color: var(--pink);
  color: #fff;
}
.btn-primary:hover {
  background-color: var(--pink-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232,97,122,0.35);
}
.btn-outline {
  border: 2px solid var(--dark);
  color: var(--dark);
}
.btn-outline:hover {
  background-color: var(--dark);
  color: var(--cream);
  transform: translateY(-2px);
}
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 11px 16px;
  background-color: #25D366;
  color: #fff;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  transition: var(--transition);
  justify-content: center;
}
.btn-whatsapp:hover {
  background-color: #1dbb57;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37,211,102,0.3);
}
.btn-whatsapp svg { flex-shrink: 0; }

/* ─── HEADER ─────────────────────────────────────── */
.site-header {
  background-color: var(--cream);
  border-bottom: 1px solid var(--cream-dark);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 24px;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}
.logo-text {
  font-size: 2rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.02em;
  font-style: italic;
}
.logo-text span {
  color: var(--pink);
}

/* Nav desktop */
.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.site-nav a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--dark);
  transition: color 0.2s;
  position: relative;
}
.site-nav a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--pink);
  border-radius: 2px;
  transition: width 0.25s ease;
}
.site-nav a:hover { color: var(--pink); }
.site-nav a:hover::after,
.site-nav a.active::after { width: 100%; }
.site-nav a.active { color: var(--pink); }

/* Header icons */
.header-icons {
  display: flex;
  align-items: center;
  gap: 16px;
}
.header-icons a {
  display: flex;
  align-items: center;
  color: var(--dark);
  transition: color 0.2s, transform 0.2s;
}
.header-icons a:hover {
  color: var(--pink);
  transform: scale(1.1);
}
.header-icons .btn {
  padding: 9px 20px;
  font-size: 0.8rem;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 70px 0 0 0;
  background: var(--dark);
  z-index: 99;
  padding: 40px 24px;
  flex-direction: column;
  gap: 24px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.mobile-nav a:hover { color: var(--pink); }
.mobile-nav .mobile-nav-icons {
  display: flex;
  gap: 20px;
  margin-top: 16px;
}
.mobile-nav .mobile-nav-icons a {
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ─── HERO ───────────────────────────────────────── */
.hero {
  background-color: var(--cream);
  padding: 80px 0 64px;
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: var(--pink-light);
  opacity: 0.5;
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -40px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: var(--cream-dark);
  opacity: 0.7;
  z-index: 0;
}
.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--pink-light);
  color: var(--pink);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-title {
  margin-bottom: 20px;
  color: var(--dark);
}
.hero-title .highlight {
  color: var(--pink);
  position: relative;
}
.hero-desc {
  color: var(--dark-soft);
  font-size: 1.05rem;
  margin-bottom: 36px;
  max-width: 480px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-image {
  position: relative;
}
.hero-img-frame {
  background: var(--cream-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
}
.hero-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--dark-soft);
  font-size: 0.85rem;
  font-weight: 500;
  text-align: center;
  padding: 24px;
}
.hero-img-placeholder svg {
  opacity: 0.3;
}
/* Sticker flotante */
.hero-sticker {
  position: absolute;
  bottom: -20px;
  left: -30px;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 14px 20px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
}
.hero-sticker-icon {
  width: 40px;
  height: 40px;
  background: var(--pink-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.hero-sticker-text strong {
  display: block;
  font-size: 1rem;
  color: var(--dark);
}
.hero-sticker-text span { color: var(--dark-soft); }

/* ─── SECCIÓN CATEGORÍAS ─────────────────────────── */
.section-categories {
  padding: 80px 0;
  background: #fff;
}
.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.category-card {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
  border: 1.5px solid var(--cream-dark);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}
.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.category-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 16px;
}
.cat-mochilas   .category-icon { background: #FDE8EC; }
.cat-termos     .category-icon { background: #E0F4F3; }
.cat-utiles     .category-icon { background: #E8F0FB; }
.cat-hogar      .category-icon { background: #FEF0E6; }
.cat-ropa       .category-icon { background: #F0EBF9; }
.cat-regalos    .category-icon { background: #FDE8EC; }
.category-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.category-card p {
  font-size: 0.8rem;
  color: var(--dark-soft);
}
.category-card .cat-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--pink);
  letter-spacing: 0.04em;
}
.cat-mochilas:hover   { background: #FDE8EC; }
.cat-termos:hover     { background: #E0F4F3; }
.cat-utiles:hover     { background: #E8F0FB; }
.cat-hogar:hover      { background: #FEF0E6; }
.cat-ropa:hover       { background: #F0EBF9; }
.cat-regalos:hover    { background: #FDE8EC; }

/* ─── SECCIÓN DESTACADOS ─────────────────────────── */
.section-featured {
  padding: 80px 0;
  background: var(--cream);
}

/* ─── GRID DE PRODUCTOS ──────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.product-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--cream-dark);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

/* Imagen */
.product-img-wrap {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--cream-mid);
}
.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover .product-img-wrap img {
  transform: scale(1.05);
}
/* Placeholder cuando no hay foto */
.product-img-wrap .img-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 2rem;
  color: var(--cream-dark);
  background: var(--cream-mid);
}
.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--pink);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 2;
}
.product-badge.badge-oferta { background: #F0874A; }
.product-badge.badge-nuevo  { background: var(--teal); }
.product-badge.badge-ultimo { background: var(--pink); }

/* Info del producto */
.product-info {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.product-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--pink);
}
.product-price-old {
  font-size: 0.8rem;
  color: #B0958A;
  text-decoration: line-through;
  font-weight: 400;
}
.product-installments {
  font-size: 0.75rem;
  color: var(--dark-soft);
}
.product-info .btn-whatsapp { margin-top: auto; }

/* ─── SECCIÓN NOSOTROS / FEATURES ───────────────── */
.section-features {
  padding: 80px 0;
  background: var(--dark);
  color: var(--cream);
}
.section-features .section-title { color: var(--cream); }
.section-features .section-subtitle { color: var(--cream-dark); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.feature-item {
  text-align: center;
}
.feature-icon {
  width: 72px;
  height: 72px;
  background: rgba(253,246,236,0.08);
  border: 1.5px solid rgba(253,246,236,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
}
.feature-item h3 {
  color: var(--cream);
  margin-bottom: 8px;
  font-size: 1.05rem;
}
.feature-item p {
  color: var(--cream-dark);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* ─── BANNER CTA ─────────────────────────────────── */
.section-cta {
  padding: 64px 0;
  background: var(--pink-light);
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-text h2 { color: var(--dark); margin-bottom: 8px; }
.cta-text p  { color: var(--dark-soft); }
.cta-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ─── FOOTER ─────────────────────────────────────── */
.site-footer {
  background: var(--dark);
  color: var(--cream);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(253,246,236,0.1);
}
.footer-brand .logo-text { font-size: 1.8rem; }
.footer-brand p {
  margin-top: 16px;
  font-size: 0.88rem;
  color: var(--cream-dark);
  line-height: 1.7;
  max-width: 260px;
}
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(253,246,236,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  transition: var(--transition);
}
.footer-social a:hover {
  border-color: var(--pink);
  background: var(--pink);
  transform: translateY(-2px);
}
.footer-col h4 {
  color: var(--cream);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a {
  color: var(--cream-dark);
  font-size: 0.88rem;
  transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--cream); }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--cream-dark);
  margin-bottom: 12px;
}
.footer-contact-item svg { flex-shrink: 0; margin-top: 2px; }
.footer-contact-item a { color: var(--cream-dark); }
.footer-contact-item a:hover { color: var(--cream); }
.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: rgba(253,246,236,0.4);
  flex-wrap: wrap;
  gap: 12px;
}

/* ─── FILTROS DEL CATÁLOGO ───────────────────────── */
.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 48px;
}
.filter-btn {
  padding: 9px 22px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  border: 2px solid var(--cream-dark);
  background: #fff;
  color: var(--dark);
  transition: var(--transition);
  cursor: pointer;
}
.filter-btn:hover {
  border-color: var(--pink);
  color: var(--pink);
}
.filter-btn.active {
  background: var(--pink);
  border-color: var(--pink);
  color: #fff;
}

/* ─── HERO MINI (catálogo, contacto) ─────────────── */
.hero-mini {
  background: var(--dark);
  color: var(--cream);
  padding: 64px 0 48px;
  text-align: center;
}
.hero-mini h1 { color: var(--cream); margin-bottom: 12px; }
.hero-mini p  { color: var(--cream-dark); font-size: 1rem; }

/* ─── SIN RESULTADOS ─────────────────────────────── */
.no-results {
  grid-column: 1/-1;
  text-align: center;
  padding: 64px 0;
  color: var(--dark-soft);
  display: none;
}
.no-results.visible { display: block; }

/* ─── SECTION CATALOG ────────────────────────────── */
.section-catalog {
  padding: 72px 0 80px;
  background: var(--cream);
}

/* ─── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 1100px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid   { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; gap: 40px; }
  .hero-image      { display: none; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid   { grid-template-columns: 1fr 1fr; gap: 24px; }
  .products-grid   { grid-template-columns: repeat(2, 1fr); }
  .site-nav        { display: none; }
  .hamburger       { display: flex; }
}

@media (max-width: 600px) {
  .categories-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .category-card   { padding: 20px 14px; }
  .products-grid   { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .footer-grid     { grid-template-columns: 1fr; gap: 24px; }
  .hero            { padding: 48px 0 40px; }
  .section-categories,
  .section-featured,
  .section-features { padding: 56px 0; }
  .cta-inner       { flex-direction: column; text-align: center; }
  .cta-actions     { justify-content: center; }
  .features-grid   { grid-template-columns: 1fr; }
  .hero-sticker    { display: none; }
}

/* ─── UTILIDADES ─────────────────────────────────── */
.hidden { display: none !important; }
.text-pink { color: var(--pink); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-32 { margin-top: 32px; }
