*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

:root {
  --pink: #ec4899;
  --pink-light: #f9a8d4;
  --pink-soft: #fce7f3;
  --purple: #a855f7;
  --purple-soft: #f3e8ff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-400: #9ca3af;
  --gray-600: #4b5563;
  --gray-800: #1f2937;
  --wa: #25d366;
  --radius: 1rem;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--gray-800);
  background: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button {
  cursor: pointer;
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: 0 2px 12px rgba(236, 72, 153, 0.06);
}

.navbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 72px;
  display: flex;
  align-items: center;
  position: relative;
}

.nav-logo {
  flex-shrink: 0;
  margin-right: auto;
}

.nav-logo img {
  height: 58px;
  object-fit: contain;
}

/* Buscador absolutamente centrado */
.nav-search {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 340px;
}

.nav-search form {
  display: flex;
  align-items: center;
  background: var(--gray-100);
  border-radius: 2rem;
  padding: 0.4rem 0.4rem 0.4rem 1.1rem;
  gap: 0.5rem;
  border: 1.5px solid transparent;
  transition: border-color 0.2s, background 0.2s;
}

.nav-search form:focus-within {
  border-color: var(--pink-light);
  background: white;
}

.nav-search input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 0.875rem;
  outline: none;
  min-width: 0;
}

.nav-search button {
  background: var(--pink);
  color: white;
  border: none;
  border-radius: 1.5rem;
  padding: 0.4rem 0.8rem;
  font-size: 1rem;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

/* NAV DESKTOP — solo visible en pantallas grandes */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.nav-desktop a {
  color: var(--gray-800);
}

.nav-desktop a:hover {
  color: var(--pink);
}

.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-dropdown-label {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--gray-800);
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.nav-dropdown:hover .nav-dropdown-label {
  color: var(--pink);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 0.75rem);
  right: 0;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  max-height: 70vh;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 200;
  padding: 0.5rem;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 0.55rem 0.875rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background 0.15s;
  color: var(--gray-800);
}

.dropdown-menu a:hover {
  background: var(--pink-soft);
  color: var(--pink);
}

.nav-icons {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 0.75rem;
}

.nav-icon {
  position: relative;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.3rem;
  color: var(--gray-600);
  transition: background 0.15s, color 0.15s;
  cursor: pointer;
  background: none;
  border: none;
}

.nav-icon:hover {
  background: var(--pink-soft);
  color: var(--pink);
}

.badge {
  position: absolute;
  top: 4px;
  right: 4px;
  background: var(--pink);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.badge:empty {
  display: none;
}

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--gray-800);
  padding: 0.25rem;
  margin-right: 0.75rem;
  flex-shrink: 0;
}

/* ═══ MOBILE DRAWER — hijo directo de body, sin stacking context heredado ═══ */
.nav-drawer {
  display: none;
  /* oculto en desktop */
}

/* Botón X — hijo directo de body */
.nav-close-btn {
  display: none;
  position: fixed;
  top: 1rem;
  left: -52px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: white;
  border: none;
  font-size: 1.5rem;
  color: var(--gray-800);
  box-shadow: 3px 0 14px rgba(0, 0, 0, 0.18);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 510;
  transition: left 0.32s cubic-bezier(0.4, 0, 0.2, 1), background 0.15s, color 0.15s;
}

.nav-close-btn:hover {
  background: var(--pink-soft);
  color: var(--pink);
}

body.nav-open .nav-close-btn {
  left: 308px;
}

/* FLASH */
.flash-container {
  position: fixed;
  top: 80px;
  right: 1rem;
  z-index: 500;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 340px;
}

.flash {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  border-radius: 0.875rem;
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.11);
  animation: slideIn 0.3s ease;
  border-left: 4px solid transparent;
}

.flash-success {
  background: #f0fdf4;
  color: #16a34a;
  border-left-color: #10b981;
}

.flash-danger {
  background: #fef2f2;
  color: #dc2626;
  border-left-color: #ef4444;
}

.flash-warning {
  background: #fffbeb;
  color: #d97706;
  border-left-color: #f59e0b;
}

.flash button {
  background: none;
  border: none;
  color: inherit;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* TOAST */
.toast {
  background: white;
  border-radius: 0.875rem;
  padding: 0.75rem 1.1rem;
  font-size: 0.875rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.13);
  border-left: 4px solid transparent;
  animation: slideIn 0.3s ease;
  min-width: 200px;
}

.toast.success {
  background: #f0fdf4;
  color: #16a34a;
  border-left-color: #10b981;
}

.toast.error {
  background: #fef2f2;
  color: #dc2626;
  border-left-color: #ef4444;
}

.toast.info {
  background: #eff6ff;
  color: #1d4ed8;
  border-left-color: #3b82f6;
}

/* MOBILE SEARCH BAR */
.mobile-search-bar {
  display: none;
  background: white;
  border-bottom: 2px solid var(--pink-light);
  padding: 0.65rem 1rem;
  position: sticky;
  top: 72px;
  z-index: 95;
  box-shadow: 0 4px 16px rgba(236, 72, 153, 0.08);
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s;
  pointer-events: none;
}

.mobile-search-bar.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-search-form {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--gray-100);
  border-radius: 2rem;
  padding: 0.5rem 0.5rem 0.5rem 1rem;
  border: 1.5px solid transparent;
  transition: border-color 0.2s, background 0.2s;
}

.mobile-search-form:focus-within {
  border-color: var(--pink-light);
  background: white;
}

.mobile-search-form>i {
  color: var(--gray-400);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.mobile-search-form input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  min-width: 0;
}

.mobile-search-close {
  background: var(--gray-200);
  border: none;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--gray-600);
  cursor: pointer;
  flex-shrink: 0;
}

.mobile-search-close:hover {
  background: var(--pink-soft);
  color: var(--pink);
}

.nav-search-toggle {
  display: none;
}

/* CUSTOM SELECT (filtros) */
.custom-select {
  position: relative;
}

.cs-trigger {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  border: 2px solid var(--gray-200);
  border-radius: 2rem;
  background: white;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-700);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
  white-space: nowrap;
}

.cs-trigger:hover {
  border-color: var(--pink);
  color: var(--pink);
}

.custom-select.open .cs-trigger {
  border-color: var(--pink);
  color: var(--pink);
}

.cs-arrow {
  transition: transform 0.2s;
  font-size: 1rem;
}

.custom-select.open .cs-arrow {
  transform: rotate(180deg);
}

.cs-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 160px;
  z-index: 150;
  padding: 0.4rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
}

.custom-select.open .cs-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.cs-option {
  display: block;
  padding: 0.55rem 0.875rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: background 0.12s;
  white-space: nowrap;
}

.cs-option:hover {
  background: var(--pink-soft);
  color: var(--pink);
}

.cs-option.active {
  background: var(--pink-soft);
  color: var(--pink);
  font-weight: 700;
}

/* DROP-UP: menu abre hacia arriba (para Safari/mobile cuando no hay espacio abajo) */
.custom-select.drop-up .cs-menu {
  top: auto !important;
  bottom: calc(100% + 0.5rem);
  transform: translateY(6px);
}
.custom-select.drop-up.open .cs-menu {
  transform: translateY(0);
}

/* PRODUCT SIZES (página de producto) */
.product-sizes {
  margin: 1rem 0;
}
.product-sizes-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}
.product-sizes-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.size-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.3rem 0.75rem;
  border: 2px solid var(--gray-200);
  border-radius: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-700);
  background: white;
  min-width: 2.5rem;
}

/* Hero slogan */
.hero-slogan {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--pink);
  margin: 0 0 0.5rem;
  letter-spacing: 0.01em;
}

.hero-sub {
  margin: 0 0 2rem;
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.65;
  max-width: 420px;
}

/* Footer slogan */
.footer-slogan {
  color: var(--pink-light);
  font-size: 0.82rem;
  font-weight: 600;
  font-style: italic;
  margin-top: 0.25rem;
}

/* HERO */
.hero {
  background: linear-gradient(135deg, var(--pink-soft) 0%, var(--purple-soft) 60%, #e0f2fe 100%);
  padding: 5rem 1.5rem 4.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  min-height: 560px;
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.12), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.1), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-content {
  max-width: 520px;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: white;
  color: var(--pink);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.35rem 1rem;
  border-radius: 2rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-content h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--gray-800);
}

.hero-content h1 span {
  background: linear-gradient(135deg, var(--pink), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content p {
  margin: 1.25rem 0 2rem;
  color: var(--gray-600);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 420px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: left;
}

.hero-stat strong {
  display: block;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--pink);
}

.hero-stat span {
  font-size: 0.78rem;
  color: var(--gray-600);
  font-weight: 500;
}

/* Hero visual side */
.hero-visual {
  flex-shrink: 0;
  width: 380px;
  height: 420px;
  position: relative;
  z-index: 1;
}

.hero-card-main {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 200px;
  background: white;
  border-radius: 1.25rem;
  box-shadow: 0 12px 40px rgba(236, 72, 153, 0.18);
  overflow: hidden;
}

.hero-card-main .card-img-placeholder {
  height: 200px;
  background: linear-gradient(135deg, #fce7f3, #f3e8ff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

.hero-card-main .card-info {
  padding: 0.875rem;
}

.hero-card-main .card-info span {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray-800);
}

.hero-card-main .card-info em {
  font-style: normal;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--pink);
}

.hero-card-side {
  position: absolute;
  top: 80px;
  right: 0;
  width: 160px;
  background: white;
  border-radius: 1rem;
  box-shadow: 0 8px 30px rgba(168, 85, 247, 0.15);
  overflow: hidden;
}

.hero-card-side .card-img-placeholder {
  height: 150px;
  background: linear-gradient(135deg, #e0f2fe, #dbeafe);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.hero-card-side .card-info {
  padding: 0.6rem 0.75rem;
}

.hero-card-side .card-info span {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gray-800);
}

.hero-card-side .card-info em {
  font-style: normal;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--purple);
}

.hero-badge-float {
  position: absolute;
  background: white;
  border-radius: 2rem;
  padding: 0.5rem 0.875rem;
  font-size: 0.78rem;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
  z-index: 2;
}

.hero-badge-float.b1 {
  bottom: 60px;
  left: 0;
  color: #059669;
}

.hero-badge-float.b1 i {
  color: #059669;
  font-size: 1rem;
}

.hero-badge-float.b2 {
  top: 0;
  right: 10px;
  color: var(--pink);
}

.hero-badge-float.b2 i {
  color: var(--pink);
  font-size: 1rem;
}

.hero-badge-float.b3 {
  bottom: 10px;
  right: 20px;
  color: var(--purple);
}

.hero-badge-float.b3 i {
  color: var(--purple);
  font-size: 1rem;
}

.hero-dot {
  position: absolute;
  border-radius: 50%;
  opacity: 0.5;
}

.hero-dot.d1 {
  width: 14px;
  height: 14px;
  background: var(--pink);
  top: 30px;
  left: 50px;
}

.hero-dot.d2 {
  width: 10px;
  height: 10px;
  background: var(--purple);
  bottom: 100px;
  right: 50px;
}

.hero-dot.d3 {
  width: 18px;
  height: 18px;
  background: #60a5fa;
  bottom: 40px;
  left: 180px;
}

@keyframes blobFloat {

  0%,
  100% {
    transform: scale(1) rotate(0deg);
  }

  50% {
    transform: scale(1.05) rotate(5deg);
  }
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 2rem;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  border: 2px solid transparent;
  transition: opacity 0.2s, background 0.2s, color 0.2s, box-shadow 0.2s;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--pink), var(--purple));
  color: white;
}

.btn-primary:hover {
  opacity: 0.88;
  box-shadow: 0 4px 18px rgba(236, 72, 153, 0.3);
}

.btn-outline {
  background: white;
  color: var(--pink);
  border-color: var(--pink);
}

.btn-outline:hover {
  background: var(--pink);
  color: white;
}

.btn-wa {
  background: var(--wa);
  color: white;
}

.btn-wa:hover {
  background: #1eb854;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

.btn-heart {
  background: var(--pink-soft);
  color: var(--pink);
  border-radius: 2rem;
  padding: 0.75rem 1.5rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 2px solid transparent;
  transition: all 0.2s;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.9rem;
}

.btn-heart.active {
  background: var(--pink);
  color: white;
}

.btn-heart:hover {
  border-color: var(--pink);
}

/* SECTIONS */
.section-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gray-800);
  margin-bottom: 1.75rem;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.75rem;
}

.section-header .section-title {
  margin-bottom: 0;
}

.see-all {
  color: var(--pink);
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.categories-strip,
.products-section,
.offers-section {
  padding: 4rem 0;
}

.offers-section {
  background: linear-gradient(135deg, #fffbeb, #fef3c7);
}

.offers-section .section-title {
  color: var(--gray-800);
}

/* TRUST STRIP */
.trust-strip {
  padding: 2.5rem 0;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.trust-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: white;
  border-radius: 1rem;
  border: 1px solid var(--gray-100);
  transition: transform 0.25s, box-shadow 0.25s;
}

.trust-icon {
  width: 48px;
  height: 48px;
  border-radius: 0.875rem;
  background: linear-gradient(135deg, var(--pink-soft), var(--purple-soft));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-icon svg,
.trust-icon [data-lucide] {
  width: 24px;
  height: 24px;
  color: var(--pink);
  stroke-width: 2;
}

.trust-info h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 0.2rem;
  line-height: 1.3;
}

.trust-info p {
  font-size: 0.78rem;
  color: var(--gray-400);
  line-height: 1.4;
  font-weight: 500;
}

/* CATALOG SECTION */
.catalog-section {
  padding: 3rem 0 4rem;
}

.catalog-header {
  margin-bottom: 2rem;
}

.catalog-header .section-title {
  margin-bottom: 1.25rem;
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.catalog-count {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-400);
  background: var(--gray-100);
  border-radius: 1rem;
  padding: 0.15rem 0.7rem;
}

/* CATALOG FILTERS */
.catalog-filters {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 1rem;
  border-radius: 2rem;
  font-size: 0.85rem;
  font-weight: 600;
  background: white;
  color: var(--gray-600);
  border: 2px solid var(--gray-200);
  transition: all 0.15s;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.filter-chip:hover {
  border-color: var(--pink);
  color: var(--pink);
}

.filter-chip.active {
  background: var(--pink-soft);
  border-color: var(--pink);
  color: var(--pink);
}

.filter-chip i {
  font-size: 1rem;
}

.clear-chip {
  background: var(--gray-100);
  border-color: var(--gray-200);
  color: var(--gray-600);
}

.clear-chip:hover {
  background: #fef2f2;
  border-color: #fca5a5;
  color: #dc2626;
}

/* HERO COMPACT */
.hero-compact {
  min-height: 460px;
  padding: 4rem 1.5rem 3.5rem;
}

/* Active category card */
.cat-card.active {
  border-color: var(--pink);
  color: var(--pink);
  background: var(--pink-soft);
  font-weight: 700;
}

/* CATEGORY GRID */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 0.75rem;
}

.cat-card {
  background: white;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 0.875rem 0.75rem;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-600);
  transition: border-color 0.2s, color 0.2s, box-shadow 0.2s;
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  line-height: 1.35;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
}

.cat-card:hover {
  border-color: var(--pink);
  color: var(--pink);
  box-shadow: var(--shadow);
}

/* PRODUCTS GRID */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
}

/* PRODUCT CARD */
.home-product-item {
  height: 100%;
}

.product-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  box-shadow: var(--shadow-lg);
}

.card-image-link {
  display: block;
  width: 100%;
  height: 100%;
}

.card-image {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--gray-100);
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s;
}

.product-card:hover .card-image img {
  transform: scale(1.04);
}

.badge-offer {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: #f59e0b;
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 1rem;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.badge-featured {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: var(--purple);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.badge-icon {
  font-size: 0.85rem;
  flex-shrink: 0;
}

.card-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.card-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-800);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-title:hover {
  color: var(--pink);
}

.card-meta {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: auto;
}

.card-category {
  background: var(--pink-soft);
  color: var(--pink);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  border-radius: 1rem;
}

.card-gender {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  border-radius: 1rem;
}

.card-gender.femenino {
  background: #fce7f3;
  color: #db2777;
}

.card-gender.masculino {
  background: #dbeafe;
  color: #1d4ed8;
}

.card-gender.unisex {
  background: var(--gray-100);
  color: var(--gray-600);
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.5rem;
}

.card-price-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  overflow: hidden;
}

.card-price-old {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--gray-400);
  text-decoration: line-through;
  white-space: nowrap;
  margin-bottom: -0.1rem;
}

.card-price {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--pink);
  white-space: nowrap;
}

.card-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.card-actions-overlay {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  z-index: 5;
}

.card-actions-overlay .btn-icon {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  border: none;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.card-actions-overlay .btn-icon:hover {
  transform: translateY(-2px);
}

.card-qty {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  background: var(--gray-100);
  border-radius: 2rem;
  padding: 0.1rem 0.35rem;
}

.card-qty-btn {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: none;
  background: transparent;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-600);
  transition: color 0.15s;
  flex-shrink: 0;
}

.card-qty-btn:hover {
  color: var(--pink);
}

.card-qty-num {
  font-size: 0.82rem;
  font-weight: 700;
  min-width: 1.1rem;
  text-align: center;
}

.btn-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--gray-200);
  background: white;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  color: var(--gray-600);
  cursor: pointer;
}

.btn-fav:hover,
.btn-fav.active {
  border-color: var(--pink);
  color: var(--pink);
  background: var(--pink-soft);
  box-shadow: 0 4px 10px rgba(219, 39, 119, 0.2);
}

.btn-cart:hover,
.btn-cart.active {
  border-color: var(--purple);
  color: var(--purple);
  background: var(--purple-soft);
  box-shadow: 0 4px 10px rgba(124, 58, 237, 0.2);
}

/* PRODUCT DETAIL */
.product-detail-container {
  padding: 2rem 1.5rem;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--gray-400);
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.breadcrumb a:hover {
  color: var(--pink);
}

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.product-gallery,
.product-info {
  min-width: 0;
  width: 100%;
}

.gallery-main {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--gray-100);
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumbs-wrap {
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  width: 100%;
  max-width: calc(6 * 70px + 5 * 0.5rem + 2 * 28px + 2 * 0.35rem);
  overflow: hidden;
}

.gallery-thumbs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 2px 0;
  flex: 1;
  min-width: 0;
}

.gallery-thumbs::-webkit-scrollbar {
  display: none;
}

.thumb {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 0.5rem;
  border: 2px solid var(--gray-200);
  cursor: pointer;
  transition: border-color 0.15s;
  flex-shrink: 0;
  scroll-snap-align: start;
}

.thumb.active,
.thumb:hover {
  border-color: var(--pink);
}

.thumb-chev {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  background: white;
  border: 1.5px solid var(--gray-200);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--gray-600);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, opacity 0.15s;
}

.thumb-chev:hover {
  border-color: var(--pink);
  color: var(--pink);
}

.thumb-chev.hidden {
  opacity: 0;
  pointer-events: none;
}

.product-cat-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--pink);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.product-title {
  font-size: 2rem;
  font-weight: 800;
  margin: 0.5rem 0 1rem;
  line-height: 1.2;
  word-break: break-word;
}

.product-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.badge-gender {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 2rem;
}

.badge-gender.femenino {
  background: #fce7f3;
  color: #db2777;
}

.badge-gender.masculino {
  background: #dbeafe;
  color: #1d4ed8;
}

.badge-gender.unisex {
  background: var(--gray-100);
  color: var(--gray-600);
}

.product-price {
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

.price-row-old {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.price-old {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--gray-400);
  text-decoration: line-through;
}

.price-new {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--pink);
  line-height: 1;
}

.price-badge {
  background: #fdf2f8;
  color: var(--pink);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 0.5rem;
  border: 1px solid var(--pink-soft);
}

.product-description {
  color: var(--gray-600);
  line-height: 1.7;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.product-qty-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.product-qty-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-600);
}

.product-qty {
  display: flex;
  align-items: center;
  gap: 0;
  border: 2px solid var(--gray-200);
  border-radius: 2rem;
  overflow: hidden;
}

.product-qty-btn {
  width: 36px;
  height: 36px;
  border: none;
  background: white;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-600);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  flex-shrink: 0;
}

.product-qty-btn:hover {
  background: var(--pink-soft);
  color: var(--pink);
}

.product-qty-num {
  font-size: 0.95rem;
  font-weight: 700;
  min-width: 2rem;
  text-align: center;
}

.product-actions {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.stock-info {
  font-size: 0.85rem;
  font-weight: 600;
  color: #16a34a;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
}

.stock-info.out {
  color: #dc2626;
}

.related-products {
  padding: 3rem 0;
}

/* SEARCH */
.search-header {
  padding: 2.5rem 0 1.5rem;
}

.search-header-top {
  margin-bottom: 1.25rem;
}

.search-header h1 {
  font-size: clamp(1.3rem, 4vw, 1.8rem);
  font-weight: 800;
  line-height: 1.3;
  word-break: break-word;
}

.search-header h1 em {
  color: var(--pink);
  font-style: normal;
}

.search-count {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-400);
  background: var(--gray-100);
  border-radius: 1rem;
  padding: 0.1rem 0.6rem;
  margin-left: 0.5rem;
  vertical-align: middle;
}

.search-form-inline {
  display: flex;
  gap: 0.65rem;
  width: 100%;
  max-width: 520px;
}

.search-form-inline input {
  flex: 1;
  min-width: 0;
  padding: 0.7rem 1rem;
  border: 2px solid var(--gray-200);
  border-radius: 2rem;
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
}

.search-form-inline input:focus {
  border-color: var(--pink);
}

.search-btn-text {
  display: inline;
}

/* CATEGORY PAGE */
.category-header {
  padding: 2rem 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.category-header h1 {
  font-size: 2rem;
  font-weight: 800;
}

.filter-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.4rem 1rem;
  border-radius: 2rem;
  font-size: 0.82rem;
  font-weight: 600;
  border: 2px solid var(--gray-200);
  color: var(--gray-600);
  transition: all 0.15s;
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--pink);
  color: var(--pink);
  background: var(--pink-soft);
}

/* PAGINATION */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 2.5rem 0;
}

.page-btn {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid var(--gray-200);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.15s;
}

.page-btn:hover,
.page-btn.active {
  border-color: var(--pink);
  background: var(--pink);
  color: white;
}

.page-ellipsis {
  color: var(--gray-400);
}

/* EMPTY STATE */
.empty-state {
  text-align: center;
  padding: 4rem 1rem;
}

.empty-state i {
  font-size: 4rem;
  color: var(--pink-light);
  margin-bottom: 1rem;
}

.empty-state p {
  color: var(--gray-400);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

/* WHATSAPP CTA */
.whatsapp-cta {
  padding: 3rem 0;
}

.wa-card {
  background: linear-gradient(135deg, #d1fae5, #a7f3d0);
  border-radius: 1.5rem;
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.wa-card>i {
  font-size: 3rem;
  color: var(--wa);
  flex-shrink: 0;
}

.wa-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
}

.wa-card p {
  color: var(--gray-600);
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

.wa-card .btn-wa {
  margin-left: auto;
  white-space: nowrap;
  flex-shrink: 0;
}

/* SIDE PANELS */
.side-panel {
  position: fixed;
  top: 0;
  right: -420px;
  width: 100%;
  max-width: 420px;
  height: 100vh;
  background: white;
  z-index: 600;
  box-shadow: -8px 0 40px rgba(0, 0, 0, 0.12);
  transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.side-panel.open {
  right: 0;
}

.side-panel-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.side-panel-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.side-panel-header button {
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--gray-400);
}

.side-panel-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem;
}

.side-panel-footer {
  padding: 1.25rem;
  border-top: 1px solid var(--gray-200);
}

.panel-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 599;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.panel-overlay.active {
  opacity: 1;
  visibility: visible;
}

.panel-loading {
  text-align: center;
  padding: 3rem;
  font-size: 2rem;
  color: var(--pink);
}

/* CART PANEL ITEMS */
.cart-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--gray-100);
}

.cart-item-img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 0.5rem;
  flex-shrink: 0;
  background: var(--gray-100);
}

.cart-item-info {
  flex: 1;
}

.cart-item-title {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.cart-item-price {
  font-size: 0.85rem;
  color: var(--pink);
  font-weight: 700;
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.qty-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--gray-200);
  background: white;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-btn:hover {
  border-color: var(--pink);
  color: var(--pink);
}

.qty-num {
  font-size: 0.9rem;
  font-weight: 600;
  min-width: 1.5rem;
  text-align: center;
}

.cart-item-remove {
  align-self: flex-start;
  background: none;
  border: none;
  color: var(--gray-400);
  font-size: 1.1rem;
}

.cart-item-remove:hover {
  color: #dc2626;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.fav-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--gray-100);
  align-items: center;
}

.fav-item-img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 0.5rem;
  background: var(--gray-100);
}

.fav-item-info {
  flex: 1;
}

.fav-item-title {
  font-size: 0.875rem;
  font-weight: 600;
}

.fav-item-price {
  font-size: 0.85rem;
  color: var(--pink);
  font-weight: 700;
}

.empty-panel {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--gray-400);
}

.empty-panel i {
  font-size: 3rem;
  margin-bottom: 0.75rem;
  display: block;
}

/* FOOTER */
.footer {
  background: linear-gradient(135deg, #1e1b2e, #2d2640);
  color: white;
  margin-top: 4rem;
}

.footer-top {
  padding: 3.5rem 0 2.5rem;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
}

.footer-brand img {
  height: 50px;
  object-fit: contain;
  margin-bottom: 0.75rem;
  filter: brightness(1.1);
}

.footer-brand p {
  color: #a78bfa;
  font-size: 0.875rem;
}

.footer-brand .footer-slogan {
  color: #c4b5fd;
  font-style: italic;
  font-size: 0.82rem;
  margin-bottom: 1rem;
}

.footer-social {
  display: flex;
  gap: 0.65rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  color: #d1d5db;
  font-size: 1.1rem;
  transition: all 0.2s;
}

.footer-social a:hover {
  background: var(--pink);
  color: white;
  transform: translateY(-2px);
}

.footer-links h4,
.footer-contact h4 {
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #f3f4f6;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links a,
.footer-contact a {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #9ca3af;
  font-size: 0.875rem;
  margin-bottom: 0.6rem;
  transition: color 0.15s;
  text-decoration: none;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--pink-light);
}

.footer-links a i,
.footer-contact a i {
  font-size: 1rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.25rem 1.5rem;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-copy {
  color: #6b7280;
  font-size: 0.8rem;
}

.footer-dev {
  color: #6b7280;
  font-size: 0.78rem;
}

.footer-dev a {
  color: #a78bfa;
  font-weight: 600;
  transition: color 0.15s;
}

.footer-dev a:hover {
  color: var(--pink-light);
}

/* MOBILE NAV OVERLAY — hijo directo de body, z-index independiente */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 400;
  opacity: 0;
  transition: opacity 0.3s;
}

.mobile-nav-overlay.active {
  display: block;
  opacity: 1;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .nav-desktop {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .nav-search {
    display: none;
  }

  .nav-search-toggle {
    display: flex;
  }

  .mobile-search-bar {
    display: block;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
  }

  /* Drawer — hijo directo de body, z-index: 500 sin conflicto */
  .nav-drawer {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    height: 100vh;
    background: white;
    z-index: 500;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 4px 0 32px rgba(0, 0, 0, 0.18);
  }

  .nav-drawer.open {
    transform: translateX(0);
  }

  /* Botón X visible en mobile */
  .nav-close-btn {
    display: flex;
  }

  /* Drawer header con logo */
  .drawer-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--gray-200);
    background: linear-gradient(135deg, var(--pink-soft), var(--purple-soft));
  }

  .drawer-header img {
    height: 50px;
    object-fit: contain;
  }

  /* Links principales */
  .drawer-links {
    padding: 0.5rem 0;
  }

  .drawer-link {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.9rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gray-800);
    border-bottom: 1px solid var(--gray-100);
    transition: background 0.15s, color 0.15s;
  }

  .drawer-link i {
    font-size: 1.2rem;
    color: var(--pink);
    flex-shrink: 0;
  }

  .drawer-link:hover {
    background: var(--pink-soft);
    color: var(--pink);
  }

  .drawer-divider {
    height: 1px;
    background: var(--gray-200);
    margin: 0.25rem 1.5rem;
  }

  /* Acciones (carrito, favoritos, WhatsApp) */
  .drawer-actions {
    padding: 0.75rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
    justify-content: flex-end;
    padding-bottom: 4rem; /* More padding to clear bottom nav */
  }

  .drawer-action-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1.25rem;
    border-radius: 1rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--gray-800);
    border: 1.5px solid var(--gray-200);
    transition: all 0.15s;
  }

  .drawer-action-btn i {
    font-size: 1.3rem;
  }

  .drawer-action-btn:hover {
    border-color: var(--pink);
    color: var(--pink);
    background: var(--pink-soft);
  }

  .drawer-action-btn:hover i {
    color: var(--pink);
  }

  .drawer-badge {
    margin-left: auto;
    background: var(--pink);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 1rem;
    min-width: 20px;
    text-align: center;
  }

  .drawer-badge:empty,
  .drawer-badge[data-v="0"] {
    display: none;
  }

  .drawer-wa {
    background: #f0fdf4;
    border-color: #bbf7d0;
    color: #15803d;
  }

  .drawer-wa i {
    color: var(--wa);
  }

  .drawer-wa:hover {
    background: var(--wa);
    border-color: var(--wa);
    color: white;
  }

  .drawer-wa:hover i {
    color: white;
  }

  .hero {
    padding: 3rem 1.5rem 3rem;
    min-height: auto;
  }

  .hero-visual {
    display: none;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .side-panel {
    width: calc(100% - 30px);
    border-top-left-radius: 1rem;
    border-bottom-left-radius: 1rem;
  }

  .hero-buttons .btn-outline i {
    font-size: 1.4rem;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
    gap: 0.75rem;
  }

  .product-detail {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .gallery-thumbs-wrap {
    max-width: calc(4 * 70px + 3 * 0.5rem + 2 * 28px + 2 * 0.35rem);
  }

  .product-title {
    font-size: 1.5rem;
  }

  .price-new {
    font-size: 1.8rem;
  }

  .price-old {
    font-size: 1.1rem;
  }

  .product-actions .btn {
    flex: 1;
    min-width: 0;
    padding: 0.6rem 0.6rem;
    font-size: 0.8rem;
    width: auto;
    white-space: nowrap;
    justify-content: center;
  }

  .custom-select .cs-menu {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    width: max-content;
    min-width: 160px;
    transform: translateY(-6px);
    max-width: none;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
  }

  .custom-select.open .cs-menu {
    transform: translateY(0);
  }

  .custom-select.drop-up .cs-menu {
    top: auto !important;
    bottom: calc(100% + 5px);
    transform: translateY(6px);
  }

  .custom-select.drop-up.open .cs-menu {
    transform: translateY(0);
  }

  .hero-buttons {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5rem;
    width: 100%;
  }

  .hero-buttons .btn {
    flex: 1;
    min-width: 0;
    padding: 0.75rem 0.5rem;
    font-size: 0.85rem;
    justify-content: center;
    white-space: nowrap;
    text-align: center;
  }

  .container {
    padding: 1rem 0.5rem;
  }

  .section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    gap: 0.5rem;
    flex-wrap: nowrap;
    margin: 0;
  }

  .section-header .section-title {
    font-size: 1.15rem;
    margin-bottom: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1;
    display: block;
  }

  .see-all {
    font-size: 0.85rem;
    white-space: nowrap;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    line-height: 1;
    margin-top: 2px;
  }

  .catalog-count {
    display: none;
  }

  .catalog-header .section-title {
    font-size: 1.25rem;
    margin: 0 1rem 1rem;
  }

  .catalog-filters {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 0.5rem;
    width: auto;
    margin: 0 -0.5rem -220px -0.5rem;
    padding: 0 1rem 220px 1rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    pointer-events: none;
  }

  .catalog-filters>* {
    pointer-events: auto;
  }

  .catalog-filters::-webkit-scrollbar {
    display: none;
  }

  .catalog-filters .custom-select,
  .catalog-filters .filter-chip {
    flex: 0 0 auto;
    min-width: 0;
    width: auto;
  }

  #sortSelect,
  .catalog-filters .clear-chip {
    flex: 0 0 auto;
  }

  .catalog-filters .cs-trigger,
  .catalog-filters .filter-chip {
    padding: 0.4rem 0.8rem;
    font-size: 0.82rem;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 2rem;
    border-width: 1px;
    background: #fff;
    white-space: nowrap;
  }

  .catalog-filters .cs-trigger span {
    overflow: visible;
  }

  .catalog-section {
    padding: 1.5rem 0;
  }

  .hero-compact {
    min-height: auto;
    padding: 2.5rem 1.5rem;
  }

  .hero-content h1 {
    font-size: 1.7rem;
    line-height: 1.2;
  }

  .badge-text {
    display: none;
  }

  .badge-offer,
  .badge-featured {
    padding: 0.35rem;
    border-radius: 50%;
    top: 0.5rem;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
  }

  .badge-icon {
    margin: 0;
  }

  .badge-offer {
    left: 0.5rem;
  }

  .badge-featured {
    right: 0.5rem;
  }

  .card-meta {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 2px;
  }

  .card-meta::-webkit-scrollbar {
    display: none;
  }

  .card-gender,
  .card-category {
    flex-shrink: 0;
  }

  .cat-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }

  .cat-card {
    padding: 0.6rem 0.25rem;
    font-size: 0.7rem;
    border-radius: 10px;
  }

  .wa-card {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
    border-radius: 1rem;
    gap: 1rem;
  }

  .wa-card>i {
    font-size: 2.5rem;
    margin-bottom: -0.5rem;
  }

  .wa-card h3 {
    font-size: 1.15rem;
  }

  .wa-card .btn-wa {
    margin: 0.5rem 0 0 0;
    width: 100%;
    justify-content: center;
  }

  .trust-strip {
    padding: 1.5rem 0;
    overflow: hidden;
  }

  .trust-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 0.75rem;
    padding: 0.5rem 1.5rem 1rem;
    margin: 0 -1.5rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
  }

  .trust-grid::-webkit-scrollbar {
    display: none;
  }

  .trust-card {
    flex: 0 0 calc(85vw - 2rem);
    max-width: 300px;
    padding: 0.85rem 1rem;
    gap: 0.75rem;
    border-radius: 0.75rem;
  }

  .trust-icon {
    width: 40px;
    height: 40px;
    border-radius: 0.625rem;
  }

  .trust-icon svg,
  .trust-icon [data-lucide] {
    width: 20px;
    height: 20px;
  }

  .trust-info h4 {
    font-size: 0.8rem;
  }

  .trust-info p {
    font-size: 0.7rem;
  }

  .hide-mobile {
    display: none;
  }
}