/* ════════════════════════════════
   KOHELL — SOFT AURORA DESIGN (paleta rosa)
   Misma estructura que Infinity, paleta rosa palo + durazno
   ════════════════════════════════ */

:root {
  --bg:           #fff5f7;
  --bg-soft:      #fce4ec;
  --white:        #ffffff;
  --ink:          #2a1a1e;
  --ink-soft:     #6a4a52;
  --ink-mute:     #a78b95;
  --line:         rgba(212, 165, 181, 0.4);
  --line-strong:  rgba(212, 165, 181, 0.6);

  --violet:       #e8a4b8;
  --violet-deep:  #d4a5b5;
  --pink:         #f9c0d0;
  --pink-deep:    #e879a4;
  --cyan:         #f7c6a5;
  --cyan-deep:    #f0a48a;

  --grad-primary: linear-gradient(135deg, #e8a4b8 0%, #f9c0d0 50%, #f7c6a5 100%);
  --grad-soft:    linear-gradient(135deg, rgba(232,164,184,0.12) 0%, rgba(249,192,208,0.12) 50%, rgba(247,198,165,0.12) 100%);
  --grad-text:    linear-gradient(135deg, #d4a5b5 0%, #e879a4 50%, #f0a48a 100%);

  --shadow-sm:    0 4px 14px rgba(212, 165, 181, 0.18);
  --shadow-md:    0 10px 40px rgba(212, 165, 181, 0.24);
  --shadow-lg:    0 20px 60px rgba(212, 165, 181, 0.30);

  --radius-sm:    12px;
  --radius-md:    20px;
  --radius-lg:    28px;
  --radius-pill:  999px;

  --transition:       0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow:  0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.6;
}

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

button { font-family: inherit; }

a { color: inherit; }

/* ════════════════════════════════
   MESH GRADIENT BACKGROUND
════════════════════════════════ */
.mesh-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: var(--bg);
  pointer-events: none;
}

.mesh-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  will-change: transform;
  animation: float 22s ease-in-out infinite;
}

.mesh-blob-1 {
  width: 520px; height: 520px;
  background: var(--violet);
  top: -120px; left: -120px;
}

.mesh-blob-2 {
  width: 420px; height: 420px;
  background: var(--pink);
  top: 30%; right: -120px;
  animation-delay: -7s;
}

.mesh-blob-3 {
  width: 480px; height: 480px;
  background: var(--cyan);
  bottom: -140px; left: 25%;
  animation-delay: -14s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(60px, -50px) scale(1.1); }
  66%      { transform: translate(-40px, 40px) scale(0.92); }
}

/* ════════════════════════════════
   NAVBAR
════════════════════════════════ */
.navbar {
  position: sticky;
  top: 18px;
  z-index: 100;
  padding: 0 20px;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-pill);
  padding: 10px 12px 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 6px 24px rgba(167, 139, 250, 0.18);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}

.logo-img {
  height: 38px;
  width: auto;
  display: block;
  border-radius: 8px;
}

.logo-text {
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.92rem;
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--grad-primary);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.nav-links a:hover {
  color: var(--violet-deep);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  border-radius: 50%;
  transition: background var(--transition);
}

.nav-toggle:hover {
  background: var(--bg-soft);
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* ════════════════════════════════
   HERO
════════════════════════════════ */
.hero {
  min-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px 60px;
  text-align: center;
  position: relative;
}

.hero-content {
  max-width: 820px;
  animation: fadeInUp 0.8s ease-out both;
}

.hero-badge {
  display: inline-block;
  padding: 8px 18px;
  background: var(--white);
  border: 1px solid rgba(167, 139, 250, 0.3);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--violet-deep);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.hero-title {
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
  color: var(--ink);
}

.hero-title em {
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--violet-deep);
}

.hero-gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--ink-soft);
  max-width: 580px;
  margin: 0 auto 36px;
  line-height: 1.55;
}

.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ════════════════════════════════
   BUTTONS
════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
  line-height: 1;
}

.btn-primary {
  background: var(--grad-primary);
  color: var(--white);
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-ghost {
  background: var(--white);
  color: var(--ink);
  border: 1.5px solid var(--line-strong);
  box-shadow: 0 2px 8px rgba(167, 139, 250, 0.08);
}

.btn-ghost:hover {
  background: var(--bg-soft);
  border-color: var(--violet);
  color: var(--violet-deep);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(167, 139, 250, 0.18);
}

/* ════════════════════════════════
   SECTIONS / TYPOGRAPHY
════════════════════════════════ */
section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 40px;
  text-align: center;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
  color: var(--ink);
}

.section-title em {
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  font-weight: 400;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  color: var(--ink-soft);
  font-size: 1.02rem;
}

/* ════════════════════════════════
   CATEGORÍAS
════════════════════════════════ */
.categorias-section {
  padding-top: 40px;
}

.categorias-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.cat-card {
  background: var(--white);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-md);
  padding: 30px 20px;
  text-align: center;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  box-shadow: var(--shadow-sm);
  animation: fadeInUp 0.6s ease-out backwards;
}

.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--violet);
}

.cat-icon {
  font-size: 2.4rem;
  margin-bottom: 10px;
  display: block;
  line-height: 1;
}

.cat-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
}

/* ════════════════════════════════
   SEARCH
════════════════════════════════ */
.search-wrap {
  position: relative;
  max-width: 600px;
  margin: 0 auto 24px;
  background: var(--white);
  border-radius: var(--radius-pill);
  padding: 6px 6px 6px 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-md);
  border: 1.5px solid var(--line-strong);
  transition: box-shadow var(--transition), border-color var(--transition);
}

.search-wrap:focus-within {
  box-shadow: var(--shadow-lg);
  border-color: var(--violet);
}

.search-icon {
  color: var(--ink-mute);
  flex-shrink: 0;
}

.search-input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  outline: none;
  padding: 12px 0;
  min-width: 0;
}

.search-input::placeholder {
  color: var(--ink-mute);
}

.search-clear {
  background: var(--bg-soft);
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  color: var(--ink-soft);
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: background var(--transition), color var(--transition);
  flex-shrink: 0;
}

.search-clear:hover {
  background: var(--violet);
  color: var(--white);
}

/* ════════════════════════════════
   FILTROS TAGS
════════════════════════════════ */
.filtros-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 32px;
}

/* Multinivel: cada nivel es una fila independiente */
.filtros-nivel {
  width: 100%;
  margin-bottom: 14px;
  align-items: center;
  animation: filtrosFadeIn .25s ease;
}
.filtros-nivel:last-child { margin-bottom: 32px; }
.filtros-nivel .filtros-nivel-label {
  color: var(--ink-mute);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-right: 4px;
  padding: 0 6px;
}
@keyframes filtrosFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.tag {
  padding: 8px 18px;
  background: var(--white);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 2px 6px rgba(167, 139, 250, 0.06);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.tag-icon {
  font-size: 1rem;
  line-height: 1;
}

.tag:hover {
  border-color: var(--violet);
  color: var(--violet-deep);
  transform: translateY(-1px);
}

.tag.active {
  background: var(--grad-primary);
  color: var(--white);
  border-color: transparent;
  box-shadow: var(--shadow-sm);
}

/* ════════════════════════════════
   REDES SOCIALES
════════════════════════════════ */
.redes-section {
  padding: 20px 20px 10px;
  max-width: 1200px;
  margin: 0 auto;
}

.redes-grid {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 12px;
  scrollbar-width: thin;
  scrollbar-color: #e8a4b8 transparent;
}

.redes-grid::-webkit-scrollbar {
  height: 6px;
}

.redes-grid::-webkit-scrollbar-track {
  background: transparent;
}

.redes-grid::-webkit-scrollbar-thumb {
  background: #e8a4b8;
  border-radius: 99px;
}

.redes-grid .video-card {
  flex: 0 0 auto;
  width: 360px;
  max-width: 85vw;
  scroll-snap-align: start;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.redes-grid .video-card video {
  width: 100%;
  display: block;
  max-height: 600px;
  object-fit: contain;
  background: #000;
}

.redes-grid .red-embed .instagram-media {
  min-width: 326px !important;
  max-width: 100% !important;
  width: 100% !important;
}

/* ════════════════════════════════
   CONTADOR + PRODUCTOS
════════════════════════════════ */
.contador {
  text-align: center;
  color: var(--ink-mute);
  font-size: 0.9rem;
  margin-bottom: 22px;
  font-weight: 500;
}

.productos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.producto-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  cursor: pointer;
  animation: fadeInUp 0.6s ease-out backwards;
  border: 1.5px solid var(--line-strong);
  display: flex;
  flex-direction: column;
}

.producto-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--violet);
}

.producto-img {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--grad-soft);
  overflow: hidden;
}

.producto-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.producto-card:hover .producto-img img {
  transform: scale(1.06);
}

.producto-cat {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--violet-deep);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.producto-info {
  padding: 18px 20px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.producto-nombre {
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.producto-desc {
  font-size: 0.85rem;
  color: var(--ink-mute);
  line-height: 1.5;
  flex: 1;
}

.producto-ref {
  font-size: 0.72rem;
  color: var(--ink-soft);
  line-height: 1.3;
  margin-top: -2px;
  margin-bottom: 2px;
}

.producto-precio {
  margin-top: 6px;
  font-size: 1.3rem;
  font-weight: 800;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

/* ════════════════════════════════
   EMPTY STATE
════════════════════════════════ */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--ink-soft);
}

.empty-state p {
  font-size: 1.1rem;
  margin-bottom: 18px;
}

.error-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--ink-soft);
}

.error-state p {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.error-detalle {
  color: var(--ink-mute);
  font-size: 0.85rem;
  margin-bottom: 20px;
  font-family: monospace;
}

/* ════════════════════════════════
   FALLBACK DE IMAGEN
   Se muestra cuando la imagen
   del producto aún no existe
════════════════════════════════ */
.producto-fallback {
  display: none;
  font-size: 4rem;
  line-height: 1;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
  animation: floatFallback 4s ease-in-out infinite;
}

.producto-img.img-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grad-soft);
  position: relative;
}

.producto-img.img-fallback::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.6), transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(255,255,255,0.4), transparent 50%);
}

.producto-img.img-fallback .producto-fallback {
  display: block;
  position: relative;
  z-index: 1;
}

@keyframes floatFallback {
  0%, 100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-8px) scale(1.05); }
}

/* ════════════════════════════════
   FOOTER
════════════════════════════════ */
.footer {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-top: 1px solid var(--line);
  padding: 50px 20px 30px;
  margin-top: 80px;
  max-width: none;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-brand .logo {
  font-size: 1.2rem;
}

.footer-brand p {
  color: var(--ink-soft);
  font-size: 0.92rem;
  max-width: 320px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color var(--transition);
  width: fit-content;
}

.footer-links a:hover {
  color: var(--violet-deep);
}

.footer-copy p {
  color: var(--ink-mute);
  font-size: 0.85rem;
  line-height: 1.6;
}

/* ════════════════════════════════
   ANIMATIONS
════════════════════════════════ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



/* ════════════════════════════════
   RESPONSIVE
════════════════════════════════ */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--white);
    padding: 22px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    gap: 18px;
    border: 1px solid var(--line);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .footer-brand,
  .footer-links {
    align-items: center;
  }

  .footer-brand p {
    margin: 0 auto;
  }
}

@media (max-width: 900px) {
  .productos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}

@media (max-width: 480px) {
  .nav-container {
    padding: 10px 10px 10px 20px;
  }

  .productos-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .producto-info {
    padding: 14px;
  }

  .producto-nombre {
    font-size: 0.9rem;
  }

  .producto-desc {
    font-size: 0.78rem;
  }

  .producto-precio {
    font-size: 1.05rem;
  }

  .cat-card {
    padding: 22px 14px;
  }

  .cat-icon {
    font-size: 2rem;
  }
}

/* ════════════════════════════════
   CARRITO DE COMPRAS
   ════════════════════════════════ */

/* Botón flotante del carrito */
.cart-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #e8a4b8, #f9c0d0);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(232, 164, 184, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.cart-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(232, 164, 184, 0.55);
}

.cart-fab:active {
  transform: scale(0.95);
}

.cart-fab-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 11px;
  background: #ef4444;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4);
}

/* Modal genérico (compartido con carrito y pedido) */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.modal.open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
}

.modal-content {
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  max-width: 520px;
  width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  animation: modalIn 0.25s ease-out;
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 0;
}

.modal-header h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.4rem;
  color: #1a1a2e;
  margin: 0;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.3rem;
  color: #8b8ba7;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background 0.15s;
}

.modal-close:hover {
  background: #fce4ec;
  color: #1a1a2e;
}

.modal-body {
  padding: 20px 24px;
  overflow-y: auto;
  flex: 1;
}

.modal-footer {
  padding: 16px 24px 20px;
  border-top: 1px solid #e8e6f0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Carrito — lista de items */
.cart-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: #f8f7fc;
  border-radius: 10px;
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: #1a1a2e;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-ref {
  font-size: 0.72rem;
  color: #8b8ba7;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cart-item-qty-btn {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(212, 165, 181, 0.5);
  border-radius: 6px;
  background: #fff;
  color: #1a1a2e;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

.cart-item-qty-btn:hover {
  background: #fce4ec;
}

.cart-item-qty {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1a1a2e;
  min-width: 24px;
  text-align: center;
}

.cart-item-subtotal {
  font-size: 0.85rem;
  font-weight: 700;
  color: #e879a4;
  min-width: 70px;
  text-align: right;
}

.cart-item-remove {
  background: none;
  border: none;
  color: #ef4444;
  cursor: pointer;
  font-size: 1rem;
  padding: 4px;
  border-radius: 4px;
  transition: background 0.15s;
}

.cart-item-remove:hover {
  background: #fef2f2;
}

/* Badge de marca en cada item del carrito */
.cart-item-badge {
  display: inline-flex;
  align-items: center;
  align-self: center;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  flex-shrink: 0;
}
.cart-item-badge-infinity {
  background: linear-gradient(135deg, rgba(243, 126, 46, 0.14), rgba(253, 186, 140, 0.14));
  color: #d35400;
  border: 1px solid rgba(243, 126, 46, 0.32);
}
.cart-item-badge-kohell {
  background: linear-gradient(135deg, rgba(212, 165, 181, 0.18), rgba(247, 198, 165, 0.18));
  color: #b76e83;
  border: 1px solid rgba(212, 165, 181, 0.4);
}

.cart-empty {
  text-align: center;
  color: #8b8ba7;
  padding: 32px 0;
  font-size: 0.95rem;
}

.cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.05rem;
  color: #1a1a2e;
}

.cart-total strong {
  font-size: 1.3rem;
  color: #e879a4;
}

.cart-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

/* Formulario de pedido */
.order-modal-content {
  max-width: 440px;
}

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: #4a4a68;
  margin-bottom: 4px;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid rgba(212, 165, 181, 0.5);
  border-radius: 10px;
  font-size: 0.9rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #1a1a2e;
  background: #fff5f7;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.form-group input:focus {
  outline: none;
  border-color: #e879a4;
  box-shadow: 0 0 0 3px rgba(232, 121, 164, 0.15);
}

.form-error {
  color: #ef4444;
  font-size: 0.82rem;
  display: none;
  margin-bottom: 8px;
}

.form-error.show {
  display: block;
}

/* Botón "Agregar" en tarjetas de producto */
.producto-card-add {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(212, 165, 181, 0.35);
}

.producto-card-add-qty {
  width: 48px;
  padding: 6px 8px;
  border: 1.5px solid rgba(212, 165, 181, 0.5);
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #1a1a2e;
  background: #fff;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.producto-card-add-qty:focus {
  outline: none;
  border-color: #e879a4;
}

.producto-card-add-btn {
  flex: 1;
  padding: 7px 12px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, #e8a4b8, #f9c0d0);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  font-family: 'Plus Jakarta Sans', sans-serif;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.producto-card-add-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.producto-card-add-btn:active {
  transform: scale(0.97);
}

/* Spinner en botones */
.btn-spinner {
  margin-left: 6px;
}

/* Responsive carrito */
@media (max-width: 480px) {
  .cart-fab {
    width: 52px;
    height: 52px;
    bottom: 20px;
    right: 20px;
    font-size: 1.3rem;
  }

  .modal-content {
    width: 95vw;
    border-radius: 12px;
  }

  .cart-item {
    flex-wrap: wrap;
  }

  .cart-actions {
    flex-direction: column;
  }

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

/* ════════════════════════════════
   BOTÓN CAMBIAR DE MARCA (dentro de la navbar)
   Pill clickeable al lado de los nav-links.
   Paleta: marca DESTINO (Infinity, violeta).
   ════════════════════════════════ */
.brand-switch-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 10px;
  background: #ffffff;
  border: 1px solid rgba(232, 164, 184, 0.22);
  border-radius: 100px;
  text-decoration: none;
  color: #1a1a2e;
  font-weight: 600;
  font-size: 0.88rem;
  white-space: nowrap;
  flex-shrink: 0;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  font-family: inherit;
}
.brand-switch-nav:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(232, 164, 184, 0.28);
  border-color: #e879a4;
}
.brand-switch-nav:active { transform: translateY(0); }
.brand-switch-nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e8a4b8 0%, #f9c0d0 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.9rem;
}
.brand-switch-nav-text strong {
  color: #e879a4;
  font-weight: 800;
  margin-left: 2px;
}

@media (max-width: 768px) {
  .brand-switch-nav-text { display: none; }
  .brand-switch-nav { padding: 8px; }
}

/* ════════════════════════════════
   CLIENTES — PRECIOS AL POR MAYOR
════════════════════════════════ */
.cliente-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 10px 16px;
  background: var(--grad-soft);
  border-bottom: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--ink-soft);
  text-align: center;
}
.cliente-bar strong { color: var(--violet-deep); font-weight: 800; }
.cliente-bar-salir {
  border: 1px solid var(--line-strong);
  background: var(--white);
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition);
}
.cliente-bar-salir:hover { background: var(--bg-soft); color: var(--ink); }

.producto-precio.producto-precio-detalle {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-soft);
  background: none;
  -webkit-text-fill-color: currentColor;
  margin-top: 6px;
}
.producto-precio-mayor {
  margin-top: 2px;
  font-size: 1.3rem;
  font-weight: 800;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
}
.producto-precio-mayor small {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  -webkit-text-fill-color: currentColor;
  color: var(--ink-mute);
  display: block;
  line-height: 1;
  margin-bottom: 2px;
}

.client-modal-content { max-width: 430px; width: calc(100% - 32px); }
.client-modal-intro {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-bottom: 16px;
  line-height: 1.5;
}
.client-result {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--grad-soft);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.client-result strong { font-size: 1rem; color: var(--ink); }
.client-result span  { font-size: 0.82rem; color: var(--ink-mute); }

/* ══════════════════════════════════════════════════════════
   REDISEÑO — EDITORIAL FLUIDO (referencia Mariana)
   Cormorant Garamond + Jost · aire, líneas finas, movimiento
══════════════════════════════════════════════════════════ */
:root {
  --bg:           #FBF4F6;
  --bg-soft:      #F4E7EC;
  --white:        #FFFFFF;
  --ink:          #221A1E;
  --ink-soft:     #5C4A51;
  --ink-mute:     #917E86;
  --line:         rgba(34, 26, 30, 0.14);
  --line-strong:  rgba(34, 26, 30, 0.30);

  --violet:       #D65C86;
  --violet-deep:  #B83F6C;
  --pink:         #F3C2D2;
  --pink-deep:    #D65C86;
  --cyan:         #F7DCE6;

  --grad-primary: #D65C86;
  --grad-text:    #B83F6C;

  --shadow-sm:    none;
  --shadow-md:    none;
  --shadow-lg:    none;

  --radius-sm:    2px;
  --radius-md:    4px;
  --radius-lg:    6px;
  --radius-pill:  999px;

  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans:    'Jost', system-ui, -apple-system, sans-serif;
  --ease:         cubic-bezier(0.22, 0.61, 0.36, 1);
  --transition:   0.45s var(--ease);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  font-weight: 300;
  letter-spacing: 0.01em;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(1200px 700px at 85% -10%, rgba(214, 92, 134, 0.07), transparent 60%),
    radial-gradient(900px 600px at -10% 30%, rgba(214, 92, 134, 0.05), transparent 60%);
}
.mesh-bg { display: none; }

/* ── ANIMACIONES DE ENTRADA ── */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: calc(var(--reveal-i, 0) * 70ms);
  will-change: opacity, transform;
}
[data-reveal].is-visible { opacity: 1; transform: none; }



/* ── NAVBAR ── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 80;
  padding: 0;
  background: rgba(251, 244, 246, 0.86);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease);
}
html.is-scrolled .navbar { border-bottom-color: var(--line); background: rgba(251, 244, 246, 0.94); }
.nav-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 18px 32px;
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo { gap: 14px; }
.logo-img {
  height: 34px;
  width: auto;
  border: none;
  border-radius: 2px;
  box-shadow: none;
}
.logo-text {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--ink);
}
.nav-links { gap: 34px; align-items: center; }
.nav-links a {
  position: relative;
  padding: 6px 0;
  border: none;
  border-radius: 0;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: none;
  box-shadow: none;
  transform: none;
  transition: color 0.35s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.nav-links a:hover {
  color: var(--ink);
  background: none;
  border: none;
  box-shadow: none;
  transform: none;
}
.nav-links a:hover::after { transform: scaleX(1); }
#btnClientes { color: var(--violet); background: none; border: none; box-shadow: none; }
#btnClientes:hover { color: var(--violet-deep); background: none; }

.brand-switch-nav {
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
  color: var(--ink-soft);
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.brand-switch-nav:hover { transform: none; box-shadow: none; border: none; background: none; color: var(--ink); }
.brand-switch-nav-icon { display: none; }
.brand-switch-nav-text strong { color: var(--ink); font-weight: 500; }

/* ── HERO ── */
.hero {
  min-height: auto;
  max-width: 1320px;
  margin: 0 auto;
  padding: 76px 32px 64px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
  text-align: left;
  position: relative;
}
.hero::after { display: none; }
.hero-content { max-width: none; animation: fadeInUp 0.9s var(--ease) both; }
.hero-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  background: none;
  border: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  margin-bottom: 0;
  transform: none;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--violet);
}
.hero-badge::before { content: ""; width: 40px; height: 1px; background: var(--violet); }
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 7vw, 6.6rem);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.015em;
  text-transform: none;
  margin: 24px 0 20px;
  color: var(--ink);
}
.hero-title em { font-style: italic; font-weight: 300; color: var(--violet); }
.hero-gradient-text {
  display: inline;
  background: none;
  color: var(--ink);
  -webkit-text-fill-color: currentColor;
  padding: 0;
  border: none;
  box-shadow: none;
  transform: none;
}
.hero-subtitle {
  max-width: 440px;
  margin: 0;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--ink-soft);
}
.hero-cta { justify-content: flex-start; margin-top: 30px; }

.hero-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: end;
}
.hero-media-img {
  margin: 0;
  overflow: hidden;
  background: var(--bg-soft);
  aspect-ratio: 3 / 4;
}
.hero-media-img:nth-child(2) { transform: translateY(34px); }
.hero-media-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.4s var(--ease);
}
.hero-media-img:hover img { transform: scale(1.05); }

/* ── FRANJA EN MOVIMIENTO ── */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  background: var(--bg);
}
.marquee-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee 34s linear infinite;
}
.marquee span {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding: 0 26px;
  white-space: nowrap;
}
.marquee span b { color: var(--violet); font-weight: 500; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── BOTONES ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  box-shadow: none;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.btn:hover { background: var(--ink); color: var(--bg); transform: none; box-shadow: none; }
.btn:active { transform: none; }
.btn-primary { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn-primary:hover { background: var(--violet); border-color: var(--violet); color: #FFFFFF; }
.btn-ghost { background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }
.btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* ── SECCIONES ── */
.section-header { text-align: center; margin-bottom: 36px; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.6vw, 3.8rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.01em;
  text-transform: none;
}
.section-title em { font-style: italic; font-weight: 300; color: var(--violet); }
.section-subtitle {
  margin-top: 10px;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* ── BUSCADOR ── */
.search-wrap {
  max-width: 420px;
  margin: 0 auto 28px;
  padding: 8px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  box-shadow: none;
  transition: border-color 0.4s var(--ease);
}
.search-wrap:focus-within { border-color: var(--ink); box-shadow: none; }
.search-input { background: transparent; font-family: var(--font-sans); font-size: 0.9rem; font-weight: 300; letter-spacing: 0.04em; }
.search-icon { color: var(--ink-mute); }
.search-clear { border: none; background: none; box-shadow: none; color: var(--ink-mute); }

/* ── FILTROS ── */
.filtros-tags { gap: 12px 30px; justify-content: center; }
.filtros-nivel { justify-content: center; }
.filtros-nivel .filtros-nivel-label { font-size: 0.62rem; letter-spacing: 0.24em; color: var(--ink-mute); }
.tag {
  position: relative;
  padding: 2px 0 5px;
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  transition: color 0.35s var(--ease);
}
.tag::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.tag:hover { color: var(--ink); transform: none; box-shadow: none; }
.tag:hover::after, .tag.active::after { transform: scaleX(1); }
.tag.active { color: var(--violet); background: none; transform: none; box-shadow: none; }
.tag-icon { display: none; }
.contador {
  text-align: center;
  font-size: 0.66rem;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 26px;
}

/* ── TARJETAS DE PRODUCTO ── */
.productos-grid { gap: 56px 32px; }
.producto-card {
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  cursor: pointer;
  transition: none;
}
.producto-card:hover { transform: none; box-shadow: none; }
.producto-img {
  position: relative;
  overflow: hidden;
  border: none;
  background: var(--bg-soft);
  aspect-ratio: 3 / 4;
}
.producto-img img { transition: transform 1.3s var(--ease); }
.producto-card:hover .producto-img img { transform: scale(1.05); }
.producto-cat {
  position: absolute;
  left: 12px;
  bottom: 12px;
  top: auto;
  z-index: 2;
  background: rgba(251, 244, 246, 0.9);
  color: var(--ink);
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 5px 10px;
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}
.producto-info { padding: 18px 2px 0; }
.producto-nombre {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0;
}
.producto-desc { font-size: 0.82rem; font-weight: 300; color: var(--ink-soft); }
.producto-ref {
  margin-top: 6px;
  font-size: 0.64rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.producto-precio {
  margin-top: 8px;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  background: none;
  -webkit-text-fill-color: currentColor;
  color: var(--ink);
  line-height: 1.2;
}
.producto-precio.producto-precio-detalle {
  font-size: 0.82rem;
  color: var(--ink-mute);
  font-weight: 400;
}
.producto-precio-mayor {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--violet);
  background: none;
  -webkit-text-fill-color: currentColor;
}
.producto-precio-mayor small {
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  color: var(--ink-mute);
  -webkit-text-fill-color: currentColor;
}
.producto-venta-minima-tag {
  display: inline-block;
  margin-top: 6px;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.producto-card-add { margin-top: 16px; display: flex; align-items: center; gap: 10px; }
.qty-stepper {
  border: 1px solid var(--line-strong);
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}
.qty-stepper-btn { color: var(--ink-soft); font-weight: 400; }
.qty-stepper-input { background: transparent; font-family: var(--font-sans); font-weight: 400; }
.producto-card-add-btn {
  border: 1px solid var(--line-strong);
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  color: var(--ink);
  padding: 10px 18px;
  font-family: var(--font-sans);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.producto-card-add-btn:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); transform: none; box-shadow: none; }

/* ── CARRITO Y MODALES ── */
.cart-fab {
  background: var(--ink);
  border: none;
  box-shadow: 0 14px 34px rgba(34, 26, 30, 0.22);
  transition: transform 0.4s var(--ease), background 0.4s var(--ease);
}
.cart-fab:hover { transform: translateY(-3px); }
.cart-fab-badge { border: none; background: var(--violet); color: #FFFFFF; font-weight: 500; }
.modal-content {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 30px 80px rgba(34, 26, 30, 0.18);
}
.modal-header {
  background: transparent;
  border-bottom: 1px solid var(--line);
  padding: 24px 28px;
}
.modal-header h2 {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
}
.modal-close {
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow: none;
  background: transparent;
  color: var(--ink-soft);
  width: 34px;
  height: 34px;
}
.modal-close:hover { background: var(--ink); color: var(--bg); }
.modal-footer { border-top: 1px solid var(--line); background: transparent; }
.cart-item { border: none; border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none; padding: 14px 0; }
.cart-item-name { font-family: var(--font-display); font-size: 1.15rem; }
.cart-item-ref { font-size: 0.7rem; letter-spacing: 0.1em; color: var(--ink-mute); }
.cart-item-qty-btn { border: 1px solid var(--line-strong); border-radius: 0; background: transparent; font-weight: 400; }
.cart-item-subtotal { font-weight: 500; letter-spacing: 0.04em; }
.cart-total strong { font-family: var(--font-display); font-size: 1.6rem; font-weight: 400; }

.image-modal-name { font-family: var(--font-display); font-weight: 400; letter-spacing: 0; text-transform: none; }
.image-modal-cat { color: var(--violet); letter-spacing: 0.2em; }
.image-modal-price { font-family: var(--font-sans); }
.image-modal-add .btn { padding: 12px 22px; }

/* ── BARRA DE CLIENTE ── */
.cliente-bar {
  background: var(--ink);
  border-bottom: none;
  color: var(--bg);
  font-weight: 300;
  letter-spacing: 0.06em;
  padding: 12px 24px;
}
.cliente-bar strong { color: #FFFFFF; font-weight: 500; }
.cliente-bar-salir {
  border: 1px solid rgba(251, 244, 246, 0.5);
  background: transparent;
  color: var(--bg);
  box-shadow: none;
  border-radius: 0;
  padding: 4px 14px;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.cliente-bar-salir:hover { background: var(--bg); color: var(--ink); }
.client-modal-intro { font-weight: 300; color: var(--ink-soft); }
.client-result { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 2px; }
.client-result strong { font-family: var(--font-display); font-size: 1.3rem; font-weight: 400; }

/* ── FOOTER ── */
.footer {
  background: var(--ink);
  color: var(--bg);
  border-top: none;
  padding: 72px 32px 40px;
}
.footer a { color: var(--bg); }
.footer-brand .logo-text { font-family: var(--font-sans); letter-spacing: 0.42em; font-weight: 500; }
.footer-brand p { font-weight: 300; color: rgba(251, 244, 246, 0.6); }
.footer-links { gap: 26px; }
.footer-links a {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-bottom: none;
  padding: 0;
  color: rgba(251, 244, 246, 0.75);
  transition: color 0.35s var(--ease);
}
.footer-links a:hover { color: #FFFFFF; }
.footer-copy p { color: rgba(251, 244, 246, 0.45); font-weight: 300; }
.footer .logo-img { height: 40px; border-radius: 2px; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero { gap: 40px; padding: 56px 24px 48px; }
  .hero-title { font-size: clamp(3rem, 8vw, 4.6rem); }
}
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: flex-start;
    background: var(--bg);
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 4px;
    box-shadow: 0 24px 60px rgba(34, 26, 30, 0.12);
    gap: 16px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 0.78rem; }
  .nav-toggle { display: flex; }
  .hero { grid-template-columns: 1fr; padding: 40px 20px 44px; gap: 36px; }
  .hero-media { max-width: 520px; }
  .hero-media-img:nth-child(2) { transform: translateY(20px); }
  .marquee span { font-size: 0.6rem; padding: 0 18px; }
  .productos-grid { gap: 38px 18px; }
  .producto-nombre { font-size: 1.2rem; }
  .section-title { font-size: 2.4rem; }
  .footer { padding: 52px 20px 32px; }
}
@media (max-width: 480px) {
  .logo-text { letter-spacing: 0.3em; font-size: 0.68rem; }
  .hero-title { font-size: 2.9rem; }
  .productos-grid { gap: 32px 14px; }
  .producto-nombre { font-size: 1.05rem; }
  .producto-precio { font-size: 0.9rem; }
  .hero-media { grid-template-columns: 1fr 1fr; gap: 12px; }
}
.logo-img { mix-blend-mode: multiply; }
@media (scripting: none) {
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* ── Categorías siempre visibles ── */
#filtrosTags {
  position: sticky;
  top: 70px;
  z-index: 55;
  background: var(--bg);
  padding: 10px 0 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
#filtrosTags .filtros-nivel { margin-bottom: 10px; }
#filtrosTags .filtros-nivel:last-child { margin-bottom: 0; }
#catalogo { scroll-margin-top: 170px; }

/* ── Botón Subir ── */
.to-top {
  position: fixed;
  right: 26px;
  bottom: 100px;
  z-index: 75;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  box-shadow: 0 10px 30px rgba(28, 25, 23, 0.10);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease),
              visibility 0.35s, background 0.35s var(--ease), color 0.35s var(--ease),
              border-color 0.35s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.to-top svg { display: block; }

@media (max-width: 768px) {
  #filtrosTags {
    top: 64px;
    max-height: 38vh;
    overflow-y: auto;
    padding: 8px 0 10px;
  }
  #filtrosTags .filtros-nivel { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; gap: 18px; padding-bottom: 4px; }
  .to-top { right: 16px; bottom: 92px; padding: 9px 13px; }
}

/* Permite que el navbar y los filtros se fijen bien al hacer scroll */
body { overflow-x: clip; }
