/* ═══════════════════════════════════════════
   Nueva Chic 🌹 — Estilos
   Paleta del logo: vino, oro rosado y rosa empolvado
   ═══════════════════════════════════════════ */

:root {
  --rosa-claro: #fbe7ed;
  --rosa-suave: #f2cdd7;
  --rosa: #d76d8f;
  --rosa-fuerte: #a03354;
  --vino: #7d2240;
  --vino-oscuro: #5a1730;
  --oro: #c09578;
  --oro-claro: #e7cdbb;
  --morado: #b5836f;
  --morado-suave: #ecd5c8;
  --texto: #43202e;
  --texto-suave: #96687a;
  --crema: #fdf8f5;
  --blanco: #ffffff;
  --grad-hero: linear-gradient(150deg, #e494ad 0%, #cc5f83 45%, #96355c 100%);
  --grad-boton: linear-gradient(135deg, #c65a80, #96355c);
  --grad-oro: linear-gradient(135deg, #e0bb9c, #c09578);
  --grad-fondo: linear-gradient(180deg, #fffafb 0%, #ffeff4 55%, #fff6f9 100%);
  --sombra: 0 12px 34px rgba(125, 34, 64, 0.13);
  --sombra-alta: 0 22px 55px rgba(125, 34, 64, 0.22);
  --radio: 20px;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Quicksand', 'Segoe UI', sans-serif;
  --mona: 'Dancing Script', 'Brush Script MT', cursive;
}

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

::selection { background: var(--rosa); color: var(--blanco); }

::-webkit-scrollbar { width: 10px; height: 8px; }
::-webkit-scrollbar-track { background: var(--rosa-claro); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--rosa), var(--rosa-fuerte));
  border-radius: 999px;
  border: 2px solid var(--rosa-claro);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background:
    radial-gradient(60% 40% at 15% 0%, rgba(228, 148, 173, 0.08), transparent 70%),
    radial-gradient(50% 35% at 90% 20%, rgba(224, 187, 156, 0.08), transparent 70%),
    var(--grad-fondo);
  background-attachment: fixed;
  color: var(--texto);
  min-height: 100vh;
}

/* ───── Barra de progreso de lectura ───── */
.progreso {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--grad-oro);
  border-radius: 0 3px 3px 0;
  z-index: 100;
}

/* ───── Barra de avisos ───── */
.aviso-barra {
  background: var(--grad-hero);
  color: var(--oro-claro);
  overflow: hidden;
  white-space: nowrap;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 0;
}

.aviso-texto {
  display: inline-block;
  padding-left: 100%;
  animation: desfilar 22s linear infinite;
}

@keyframes desfilar {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}

/* ───── Barra de navegación ───── */
.barra {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 4vw, 30px);
  padding: 15px 16px;
  background: rgba(253, 240, 244, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(242, 205, 215, 0.5);
}

.barra a {
  color: var(--vino);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: border-color 0.2s, color 0.2s;
}

.barra a:hover { color: var(--rosa-fuerte); }
.barra a.nav-activo { border-bottom-color: var(--oro); }

.barra button {
  border: none;
  background: none;
  color: var(--vino);
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 4px;
}

.barra button svg { width: 18px; height: 18px; }

.barra.con-sombra { box-shadow: 0 8px 24px rgba(125, 34, 64, 0.1); }

#chips-categorias {
  display: flex;
  gap: 8px;
  max-width: 100%;
  overflow-x: auto;
  padding: 4px 2px;
  scrollbar-width: none;
}

#chips-categorias::-webkit-scrollbar { display: none; }
#chips-categorias .chip { flex-shrink: 0; }

/* ───── Encabezado claro ───── */
.hero.hero-claro {
  background: linear-gradient(180deg, #faeef1 0%, #f5e7ea 100%);
  border-radius: 0;
  padding: 34px 20px 40px;
  box-shadow: none;
  color: var(--vino);
}

.hero.hero-claro::before { display: none; }

/* Borde inferior de encaje (festón) */
.hero.hero-claro::after {
  content: '';
  display: block;
  position: absolute;
  top: auto;
  left: 0;
  right: 0;
  bottom: -13px;
  width: 100%;
  height: 14px;
  border: none;
  border-radius: 0;
  background: radial-gradient(circle 14px at 14px -4px, #f5e7ea 92%, transparent 94%);
  background-size: 28px 14px;
  background-repeat: repeat-x;
}

/* Manchas de acuarela que flotan despacito */
.mancha {
  position: absolute;
  border-radius: 50%;
  filter: blur(46px);
  opacity: 0.55;
  pointer-events: none;
}

.mancha.m1 {
  width: 260px;
  height: 260px;
  background: #f7c3d4;
  top: -70px;
  left: -50px;
  animation: vagar1 14s ease-in-out infinite alternate;
}

.mancha.m2 {
  width: 300px;
  height: 300px;
  background: #f0d8c4;
  bottom: -90px;
  right: -70px;
  animation: vagar2 17s ease-in-out infinite alternate;
}

@keyframes vagar1 { to { transform: translate(70px, 40px) scale(1.15); } }
@keyframes vagar2 { to { transform: translate(-80px, -30px) scale(1.1); } }

/* Lacito coqueto */
.lazo {
  width: 58px;
  display: block;
  margin: 0 auto 8px;
  position: relative;
  z-index: 1;
  animation: mecerse 4.5s ease-in-out infinite;
  transform-origin: 50% 35%;
  filter: drop-shadow(0 3px 6px rgba(194, 104, 140, 0.25));
}

.tienda-online {
  font-family: var(--serif);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  margin-top: 2px;
  padding-left: 0.42em;
  background: linear-gradient(100deg, #ab7a5e 18%, #dbb894 38%, #f9ecd9 50%, #dbb894 62%, #ab7a5e 82%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: brillo-texto 3.8s linear infinite;
  position: relative;
  z-index: 1;
}

@keyframes brillo-texto {
  to { background-position: 200% center; }
}

.hero .tienda-online::after { display: none; }

@keyframes mecerse {
  0%, 100% { transform: rotate(-4deg); }
  50%      { transform: rotate(4deg); }
}

.logo-grande {
  width: min(320px, 78vw);
  height: auto;
  display: block;
  margin: 0 auto 14px;
  filter: drop-shadow(0 12px 26px rgba(125, 34, 64, 0.2));
  animation: logo-entrada 0.9s ease both, flotar 5.5s ease-in-out 1.2s infinite;
}

@keyframes logo-entrada {
  from { opacity: 0; transform: scale(0.96) translateY(10px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* El logo flota y se mece delicadamente, como colgado de un hilo */
@keyframes flotar {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  30%      { transform: translateY(-9px) rotate(-1.4deg); }
  65%      { transform: translateY(-3px) rotate(1.4deg); }
}

.hero.hero-claro .boton-blanco {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid rgba(125, 34, 64, 0.4);
  color: var(--vino);
  box-shadow: 0 6px 18px rgba(125, 34, 64, 0.12);
}

.lema {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--oro);
  margin-top: -4px;
}

.destello {
  position: absolute;
  color: var(--oro);
  opacity: 0;
  animation: titilar 3.2s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

.destello.d1 { top: 18%; left: 14%; font-size: 1.1rem; animation-delay: 0s; }
.destello.d2 { top: 30%; right: 12%; font-size: 0.8rem; animation-delay: 1.1s; }
.destello.d3 { bottom: 20%; left: 22%; font-size: 0.7rem; animation-delay: 2.2s; }
.destello.d4 { top: 55%; right: 20%; font-size: 0.95rem; animation-delay: 1.7s; }

@keyframes titilar {
  0%, 100% { opacity: 0; transform: scale(0.6) rotate(0deg); }
  50%      { opacity: 0.85; transform: scale(1) rotate(20deg); }
}

.oculto-accesible {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ───── Título de sección ───── */
.titulo-seccion {
  font-family: var(--mona);
  font-size: clamp(2.3rem, 7vw, 3rem);
  font-weight: 700;
  color: var(--vino-oscuro);
  text-align: center;
  margin: 38px 20px 0;
  scroll-margin-top: 70px;
}

.titulo-seccion::after {
  content: '';
  display: block;
  width: 56px;
  height: 2px;
  margin: 12px auto 0;
  background: var(--grad-oro);
  border-radius: 2px;
}

.grupo-titulo {
  grid-column: 1 / -1;
  font-family: var(--mona);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--vino-oscuro);
  margin: 12px 4px 0;
  display: flex;
  align-items: center;
  gap: 14px;
}

.grupo-titulo::after {
  content: '';
  flex: 1;
  height: 1.5px;
  background: linear-gradient(90deg, var(--oro-claro), transparent);
  border-radius: 2px;
}

.subtitulo-productos {
  text-align: center;
  margin: 10px 20px 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--morado);
}

/* ───── Encabezado ───── */
.hero {
  background:
    radial-gradient(80% 90% at 50% -20%, rgba(255, 214, 224, 0.28), transparent 60%),
    var(--grad-hero);
  border-radius: 0 0 44px 44px;
  padding: 52px 20px 58px;
  text-align: center;
  color: var(--blanco);
  position: relative;
  overflow: hidden;
  box-shadow: var(--sombra-alta);
}

.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(231, 205, 187, 0.25);
}

.hero::before { width: 260px; height: 260px; top: -90px; left: -70px; }
.hero::after  { width: 340px; height: 340px; bottom: -160px; right: -100px; }

.logo-hero {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(231, 205, 187, 0.9);
  outline: 6px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 38px rgba(30, 5, 15, 0.45);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.3rem, 7vw, 3.7rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-shadow: 0 3px 14px rgba(20, 2, 10, 0.4);
  position: relative;
  z-index: 1;
}

.hero p {
  margin-top: 12px;
  font-size: clamp(0.92rem, 3.2vw, 1.1rem);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--oro-claro);
  position: relative;
  z-index: 1;
}

.hero p::after {
  content: '';
  display: block;
  width: 64px;
  height: 2px;
  margin: 18px auto 0;
  background: var(--grad-oro);
  border-radius: 2px;
}

.hero .botones-hero {
  margin-top: 26px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* ───── Botones ───── */
.boton {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 999px;
  border: none;
  font-family: var(--sans);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.boton:hover { transform: translateY(-2px); filter: brightness(1.05); }
.boton:active { transform: translateY(0); }

.boton svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.boton-blanco {
  background: var(--blanco);
  color: var(--vino);
  box-shadow: 0 10px 26px rgba(20, 2, 10, 0.3);
}

/* En el encabezado, botones translúcidos estilo cristal */
.hero .boton-blanco {
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: var(--blanco);
  box-shadow: 0 8px 24px rgba(60, 10, 30, 0.25);
}

.boton-whatsapp {
  background: linear-gradient(135deg, #2fc76a, #1d9e4e);
  color: var(--blanco);
  box-shadow: 0 10px 26px rgba(20, 110, 60, 0.32);
}

.hero .boton-whatsapp {
  background: linear-gradient(135deg, rgba(47, 199, 106, 0.88), rgba(29, 158, 78, 0.88));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.boton-rosa {
  background: var(--grad-boton);
  color: var(--blanco);
  box-shadow: 0 10px 26px rgba(125, 34, 64, 0.35);
}

/* ───── Filtros ───── */
.filtros {
  max-width: 1120px;
  margin: 34px auto 8px;
  padding: 0 20px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.buscador-envoltura {
  flex: 1 1 280px;
  max-width: 440px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  background:
    linear-gradient(var(--blanco), var(--blanco)) padding-box,
    linear-gradient(120deg, #e8b7c8, #d9b18f, #e8b7c8) border-box;
  box-shadow: 0 8px 24px rgba(125, 34, 64, 0.1);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.buscador-envoltura:focus-within {
  box-shadow: 0 10px 30px rgba(125, 34, 64, 0.18), 0 0 0 5px rgba(215, 109, 143, 0.12);
  transform: translateY(-1px);
}

.buscador-envoltura svg {
  width: 19px;
  height: 19px;
  color: var(--oro);
  flex-shrink: 0;
}

.buscador-envoltura input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: none;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--texto);
}

.buscador-envoltura input::placeholder {
  color: #c69aab;
  font-weight: 600;
}

.chip {
  padding: 9px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--rosa-suave);
  background: var(--blanco);
  color: var(--vino);
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all 0.2s ease;
}

.chip:hover { border-color: var(--oro); color: var(--rosa-fuerte); }

.chip.activo {
  background: var(--grad-boton);
  border-color: transparent;
  color: var(--blanco);
  box-shadow: 0 8px 20px rgba(125, 34, 64, 0.3);
}

.chip-n {
  margin-left: 6px;
  font-size: 0.7rem;
  opacity: 0.65;
  font-weight: 700;
}

.orden {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--rosa-suave);
  background: var(--blanco);
  color: var(--vino);
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s;
}

.orden:hover, .orden:focus { border-color: var(--oro); }

/* ───── Cuadrícula de anuncios ───── */
.galeria {
  max-width: 1120px;
  margin: 28px auto 70px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 26px;
}

.tarjeta {
  background: linear-gradient(180deg, #fffbfc 0%, #fbecf2 100%);
  border: 1px solid rgba(242, 205, 215, 0.6);
  border-radius: var(--radio);
  overflow: hidden;
  box-shadow: var(--sombra);
  display: flex;
  flex-direction: column;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  position: relative;
  animation: aparecer 0.55s ease both;
}

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

.tarjeta:hover {
  transform: translateY(-6px);
  box-shadow: var(--sombra-alta);
  border-color: rgba(192, 149, 120, 0.55);
}

.tarjeta-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--rosa-claro);
  cursor: zoom-in;
}

.mas-fotos {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(90, 23, 48, 0.6);
  backdrop-filter: blur(5px);
  color: var(--blanco);
  font-size: 0.75rem;
  font-weight: 700;
}

.mas-fotos svg { width: 13px; height: 13px; }

.tarjeta-fondo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(20px) saturate(1.1);
  transform: scale(1.2);
  opacity: 0;
  transition: opacity 0.6s ease;
}

.tarjeta-fondo.cargada { opacity: 0.75; }

.tarjeta-imagen {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.tarjeta-imagen.cargada { opacity: 1; }

.tarjeta:hover .tarjeta-imagen { transform: scale(1.02); }

.tarjeta-sin-foto {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.4rem;
  background: linear-gradient(135deg, var(--rosa-claro), var(--morado-suave));
}

.tarjeta { cursor: pointer; }

.cuerpo-simple {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 14px 12px;
}

.agregar-redondo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--grad-boton);
  color: var(--blanco);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(125, 34, 64, 0.3);
  transition: transform 0.2s ease;
}

.agregar-redondo:hover { transform: scale(1.1); }
.agregar-redondo svg { width: 18px; height: 18px; }

.tarjeta-cuerpo {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 5px;
  flex: 1;
}

.categoria-mini {
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--oro);
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.tarjeta h3 {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--vino-oscuro);
}

.tarjeta .descripcion {
  font-size: 0.78rem;
  color: var(--texto-suave);
  line-height: 1.45;
  white-space: pre-line;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  cursor: pointer;
}

.tarjeta .descripcion.expandida { -webkit-line-clamp: unset; }

.tarjeta .pie {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--rosa-claro);
}

.tarjeta .boton-agregar {
  width: 100%;
  justify-content: center;
}

.precio {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--vino);
}

.precio .moneda {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--oro);
  vertical-align: 7px;
  margin-right: 2px;
}

.precio .consultar {
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--morado);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tarjeta .boton-whatsapp {
  padding: 10px 18px;
  font-size: 0.86rem;
}

.boton-agregar {
  position: relative;
  overflow: hidden;
}

.boton-agregar::after {
  content: '';
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
}

.boton-agregar:hover::after { left: 130%; }

.etiqueta {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 15px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blanco);
  z-index: 2;
  backdrop-filter: blur(4px);
}

.etiqueta svg {
  width: 16px;
  height: auto;
  flex-shrink: 0;
}

.etiqueta-destacado { background: var(--grad-oro); box-shadow: 0 6px 16px rgba(181, 131, 111, 0.45); }
.etiqueta-agotado   { background: rgba(90, 95, 100, 0.85); }
.etiqueta-nuevo     { background: var(--grad-boton); box-shadow: 0 6px 16px rgba(125, 34, 64, 0.35); }

.compartir {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(5px);
  color: var(--vino);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  box-shadow: 0 4px 12px rgba(125, 34, 64, 0.18);
  transition: transform 0.2s ease;
}

.compartir:hover { transform: scale(1.1); }
.compartir svg { width: 17px; height: 17px; }

.tarjeta.resaltada {
  box-shadow: 0 0 0 3px var(--rosa), var(--sombra-alta);
}

.tarjeta.agotada .tarjeta-media,
.tarjeta.agotada .tarjeta-sin-foto { filter: grayscale(0.85) opacity(0.65); }

.fecha-mini {
  font-size: 0.66rem;
  color: #c4a5b2;
  letter-spacing: 0.02em;
}

/* ───── Estado vacío ───── */
.vacio {
  grid-column: 1 / -1;
  text-align: center;
  padding: 70px 20px;
  color: var(--texto-suave);
  font-size: 1.05rem;
}

.vacio span { font-size: 3rem; display: block; margin-bottom: 14px; }

/* ───── Pie de página ───── */
.pie-pagina {
  background: var(--grad-hero);
  border-radius: 44px 44px 0 0;
  padding: 42px 20px 38px;
  text-align: center;
  color: var(--blanco);
  box-shadow: 0 -12px 34px rgba(125, 34, 64, 0.15);
}

.pie-pagina .corazon { font-size: 1.5rem; margin-bottom: 6px; }

.pie-pagina p {
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}

.pie-pagina p:nth-of-type(2) {
  font-family: var(--serif);
  font-size: 1.3rem;
  letter-spacing: 0.06em;
}

.pie-pagina a { color: var(--oro-claro); }

/* ───── Sección de gestoras ───── */
.seccion-gestoras {
  max-width: 760px;
  margin: 40px auto 50px;
  padding: 0 20px;
}

.tarjeta-gestoras {
  background:
    radial-gradient(85% 100% at 50% 0%, #ffffff 0%, #fdeff4 100%) padding-box,
    linear-gradient(120deg, #e8b7c8, #d9b18f, #e8b7c8) border-box;
  border: 1.5px solid transparent;
  border-radius: 28px;
  padding: 36px 26px 34px;
  text-align: center;
  color: var(--texto);
  box-shadow: var(--sombra);
}

.lazo-mini {
  width: 54px;
  margin-bottom: 4px;
}

.tarjeta-gestoras h2 {
  font-family: var(--mona);
  font-size: clamp(2rem, 6vw, 2.6rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 10px;
  color: var(--vino-oscuro);
}

.tarjeta-gestoras p {
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto 22px;
  color: var(--texto-suave);
}

.tarjeta-gestoras b { color: var(--vino); }

/* ───── Pie de página claro ───── */
.pie-claro {
  background: linear-gradient(180deg, #fbe3ea 0%, #f6d5e0 100%);
  color: var(--vino);
  box-shadow: none;
}

.pie-claro .pie-titulo {
  font-family: var(--mona);
  font-size: 2rem;
  font-weight: 700;
  color: var(--vino-oscuro);
  letter-spacing: 0.02em;
  margin-bottom: 6px;
}

.pie-claro .pie-sub {
  font-size: 0.92rem;
  color: var(--texto-suave);
  font-weight: 600;
}

.pie-claro .pie-contacto {
  margin-top: 10px;
  font-weight: 700;
  font-size: 0.95rem;
}

.pie-claro .pie-contacto a {
  color: var(--vino);
  text-decoration: none;
}

.pie-redes {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 16px;
}

.pie-redes a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blanco);
  color: var(--vino);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(125, 34, 64, 0.15);
  transition: transform 0.2s ease;
}

.pie-redes a:hover { transform: translateY(-3px); }
.pie-redes svg { width: 21px; height: 21px; }

.pie-flor {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin-bottom: 10px;
  box-shadow: 0 8px 20px rgba(125, 34, 64, 0.22);
  border: 2px solid var(--blanco);
}

.pie-anio {
  margin-top: 18px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--texto-suave);
}

/* ───── Panel de administración ───── */
.panel {
  max-width: 640px;
  margin: 34px auto 70px;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.caja {
  background: var(--blanco);
  border: 1px solid rgba(242, 205, 215, 0.6);
  border-radius: var(--radio);
  box-shadow: var(--sombra);
  padding: 28px;
}

.caja h2 {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--vino-oscuro);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.campo { margin-bottom: 16px; }

.campo label {
  display: block;
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.03em;
  margin-bottom: 6px;
  color: var(--vino);
}

.campo input,
.campo textarea,
.campo select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--rosa-suave);
  border-radius: 13px;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--texto);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: var(--crema);
}

.campo input:focus,
.campo textarea:focus,
.campo select:focus {
  border-color: var(--rosa);
  box-shadow: 0 0 0 4px rgba(215, 109, 143, 0.14);
  background: var(--blanco);
}

.campo textarea { resize: vertical; min-height: 110px; }

.campo .ayuda,
.caja > .ayuda {
  font-size: 0.82rem;
  color: var(--texto-suave);
  margin-top: 6px;
  line-height: 1.5;
}

.fila-check {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.fila-check label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
}

.fila-check input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--vino);
}

.previsualizacion-fotos {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.previsualizacion-fotos .mini {
  width: 84px;
  height: 84px;
  border-radius: 13px;
  object-fit: cover;
  border: 1.5px solid var(--rosa-suave);
}

.mini-contenedor { position: relative; }

.mini-quitar {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: none;
  background: var(--vino);
  color: var(--blanco);
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
}

.mensaje {
  padding: 14px 18px;
  border-radius: 13px;
  font-weight: 600;
  font-size: 0.95rem;
  display: none;
  margin-top: 12px;
}

.mensaje.exito { display: block; background: #e6f7ec; color: #17734a; }
.mensaje.error { display: block; background: #fde7ec; color: #a52045; }
.mensaje.info  { display: block; background: #f6efe9; color: #8a6248; }

.lista-admin { display: flex; flex-direction: column; gap: 12px; }

.item-admin {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 16px;
  border: 1.5px solid var(--rosa-claro);
  border-radius: 13px;
  transition: border-color 0.2s;
}

.item-admin:hover { border-color: var(--rosa-suave); }

.item-admin .titulo-item { font-weight: 700; font-size: 0.95rem; color: var(--vino-oscuro); }
.item-admin .sub-item { font-size: 0.8rem; color: var(--texto-suave); }

.item-admin .acciones { display: flex; gap: 8px; }

.boton-mini {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1.5px solid var(--rosa-suave);
  background: var(--blanco);
  color: var(--vino);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  transition: border-color 0.2s;
}

.boton-mini:hover { border-color: var(--oro); }
.boton-mini.peligro { color: #a52045; border-color: #f5c6d2; }

.cargando {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 3px solid rgba(255, 255, 255, 0.4);
  border-top-color: var(--blanco);
  border-radius: 50%;
  animation: girar 0.8s linear infinite;
  vertical-align: middle;
}

@keyframes girar { to { transform: rotate(360deg); } }

.enlace-discreto {
  text-align: center;
  margin-top: 6px;
}

.enlace-discreto a {
  color: rgba(231, 205, 187, 0.75);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.enlace-discreto a:hover { color: var(--oro-claro); }

/* ───── Carrito de compras ───── */
.tarjeta .boton-agregar {
  padding: 10px 18px;
  font-size: 0.86rem;
  white-space: nowrap;
}

.carrito-flotante {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: var(--grad-boton);
  color: var(--blanco);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(125, 34, 64, 0.4);
  z-index: 60;
  transition: transform 0.2s ease;
}

.carrito-flotante svg {
  width: 26px;
  height: 26px;
}

.carrito-flotante:hover { transform: scale(1.07); }

@keyframes brinco {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.22); }
  70%  { transform: scale(0.94); }
  100% { transform: scale(1); }
}

.carrito-flotante.brinco { animation: brinco 0.5s ease; }

.carrito-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--grad-oro);
  color: var(--blanco);
  font-size: 0.8rem;
  font-weight: 700;
  font-family: var(--sans);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.velo {
  position: fixed;
  inset: 0;
  background: rgba(60, 10, 30, 0.45);
  backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 70;
}

.velo.visible { opacity: 1; pointer-events: auto; }

.hoja {
  position: fixed;
  left: 50%;
  bottom: 0;
  visibility: hidden;
  transform: translate(-50%, 105%);
  width: min(560px, 100%);
  max-height: 88vh;
  overflow-y: auto;
  background: var(--blanco);
  border-radius: 26px 26px 0 0;
  box-shadow: 0 -18px 50px rgba(60, 10, 30, 0.3);
  padding: 22px 22px 28px;
  transition: transform 0.5s cubic-bezier(0.22, 1.18, 0.36, 1), visibility 0s linear 0.5s;
  z-index: 80;
}

.hoja.abierta {
  visibility: visible;
  transform: translate(-50%, 0);
  transition: transform 0.5s cubic-bezier(0.22, 1.18, 0.36, 1);
}

.asa {
  width: 44px;
  height: 5px;
  border-radius: 999px;
  background: var(--rosa-suave);
  margin: 0 auto 14px;
}

.hoja-encabezado {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.hoja-encabezado h2 {
  font-family: var(--mona);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--vino-oscuro);
}

.hoja-cerrar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--rosa-claro);
  color: var(--vino);
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
}

.carrito-items { display: flex; flex-direction: column; gap: 12px; }

.carrito-vacio {
  text-align: center;
  color: var(--texto-suave);
  padding: 26px 10px;
  line-height: 1.7;
}

.item-carrito {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 1.5px solid var(--rosa-claro);
  border-radius: 14px;
}

.item-foto {
  width: 56px;
  height: 56px;
  border-radius: 11px;
  overflow: hidden;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--rosa-claro), var(--morado-suave));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.item-foto img { width: 100%; height: 100%; object-fit: cover; }

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

.item-titulo {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--vino-oscuro);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.item-subtotal {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--vino);
  margin-top: 2px;
}

.cant-controles {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.cant-controles button {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--rosa-suave);
  background: var(--blanco);
  color: var(--vino);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
}

.cant-controles button:hover { border-color: var(--oro); }

.cant-controles span {
  min-width: 22px;
  text-align: center;
  font-weight: 700;
}

.carrito-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 18px 2px 6px;
  padding-top: 14px;
  border-top: 1.5px solid var(--rosa-claro);
  font-weight: 700;
  font-size: 1.05rem;
}

.carrito-total strong {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--vino);
}

.ayuda-carrito {
  font-size: 0.78rem;
  color: var(--texto-suave);
  margin-bottom: 8px;
}

.boton-ancho {
  width: 100%;
  justify-content: center;
  margin-top: 10px;
}

.boton-volver {
  display: block;
  width: 100%;
  margin-top: 12px;
  padding: 10px;
  border: none;
  background: none;
  color: var(--texto-suave);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
}

.boton-volver:hover { color: var(--vino); }

.toggle-entrega {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
}

.opcion-entrega svg {
  width: 17px;
  height: 17px;
  vertical-align: -3px;
  margin-right: 4px;
}

.opcion-entrega {
  flex: 1;
  padding: 12px 10px;
  border-radius: 14px;
  border: 1.5px solid var(--rosa-suave);
  background: var(--blanco);
  color: var(--vino);
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.opcion-entrega.activo {
  background: var(--grad-boton);
  border-color: transparent;
  color: var(--blanco);
  box-shadow: 0 8px 20px rgba(125, 34, 64, 0.3);
}

/* ───── Panel de detalles del producto ───── */
.prod-fotos { margin-bottom: 4px; }

.prod-foto {
  width: 100%;
  max-height: 46vh;
  object-fit: contain;
  border-radius: 16px;
  background: linear-gradient(160deg, #ffffff, var(--rosa-claro));
  cursor: zoom-in;
  display: block;
}

.prod-minis {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  overflow-x: auto;
  padding: 2px;
}

.prod-minis img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  flex-shrink: 0;
}

.prod-minis img.activa { border-color: var(--oro); }

.prod-categoria { display: block; margin-top: 12px; }

.prod-nombre {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--vino-oscuro);
  margin-top: 6px;
  line-height: 1.3;
}

.prod-descripcion {
  white-space: pre-line;
  color: var(--texto-suave);
  font-size: 0.93rem;
  line-height: 1.65;
  margin-top: 8px;
}

.prod-pie {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--rosa-claro);
}

.prod-pie .precio { font-size: 1.6rem; }

.prod-agotado {
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9aa0a6;
}

/* ───── Carga con brillo ───── */
.esq-imagen {
  width: 100%;
  aspect-ratio: 1 / 1;
}

.esq-linea {
  height: 16px;
  border-radius: 8px;
  width: 80%;
  margin: 4px auto;
}

.esq-linea.corta { width: 45%; }

.brillo {
  background: linear-gradient(90deg, #f6dfe7 25%, #fdf2f6 50%, #f6dfe7 75%);
  background-size: 400px 100%;
  animation: brillar 1.3s linear infinite;
}

@keyframes brillar {
  from { background-position: -400px 0; }
  to   { background-position: 400px 0; }
}

/* ───── Avisito flotante ───── */
.toast {
  position: fixed;
  left: 50%;
  bottom: 96px;
  transform: translate(-50%, 16px);
  background: var(--vino-oscuro);
  color: var(--blanco);
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: 0 12px 30px rgba(60, 10, 30, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 85;
}

.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ───── Botón para subir ───── */
.subir {
  position: fixed;
  left: 18px;
  bottom: 18px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(125, 34, 64, 0.25);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  color: var(--vino);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(125, 34, 64, 0.2);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 60;
}

.subir.visible {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.subir svg { width: 20px; height: 20px; }

/* ───── Corazoncitos voladores ───── */
.corazon-volador {
  position: fixed;
  z-index: 95;
  font-size: 1.15rem;
  pointer-events: none;
  opacity: 0;
  animation: volar 1.35s ease-out forwards;
}

@keyframes volar {
  0%   { opacity: 0; transform: translateY(0) scale(0.5); }
  18%  { opacity: 1; }
  100% { opacity: 0; transform: translateY(-120px) scale(1.25) rotate(14deg); }
}

/* ───── Aparición suave al hacer scroll ───── */
.revelar {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.revelar.visible {
  opacity: 1;
  transform: none;
}

/* ───── Visor de fotos en grande ───── */
.visor {
  position: fixed;
  inset: 0;
  background: rgba(46, 8, 22, 0.93);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 90;
}

.visor.abierto { opacity: 1; pointer-events: auto; }

.visor img {
  max-width: 92vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
}

@keyframes zoomsuave {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}

.visor img.animar { animation: zoomsuave 0.35s ease; }

.visor-cerrar,
.visor-flecha {
  position: absolute;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
  color: var(--blanco);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.visor-cerrar {
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  font-size: 1.5rem;
}

.visor-flecha {
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  font-size: 1.9rem;
  padding-bottom: 4px;
}

.visor-ant { left: 12px; }
.visor-sig { right: 12px; }

.visor-puntos {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.visor-puntos span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}

.visor-puntos span.activo { background: var(--blanco); }

/* ───── Cuadrícula de 2 columnas en el teléfono, estilo boutique ───── */
@media (max-width: 640px) {
  .galeria { grid-template-columns: repeat(2, 1fr); gap: 13px; }
  .tarjeta { border-radius: 16px; }
  .tarjeta-cuerpo { padding: 10px 10px 12px; gap: 4px; }
  .tarjeta h3 { font-size: 0.88rem; line-height: 1.25; }
  .tarjeta .descripcion { font-size: 0.7rem; -webkit-line-clamp: 2; }
  .categoria-mini { font-size: 0.56rem; }
  .precio { font-size: 1.12rem; }
  .precio .moneda { font-size: 0.72rem; vertical-align: 5px; }
  .tarjeta .pie { margin-top: 8px; padding-top: 10px; gap: 8px; }
  .tarjeta .boton-agregar { padding: 9px 8px; font-size: 0.76rem; }
  .tarjeta .boton-agregar svg { width: 14px; height: 14px; }
  .fecha-mini { display: none; }
  .etiqueta { font-size: 0.6rem; padding: 4px 9px; top: 9px; left: 9px; letter-spacing: 0.05em; }
  .compartir { width: 31px; height: 31px; top: 8px; right: 8px; }
  .compartir svg { width: 13px; height: 13px; }
  .mas-fotos { font-size: 0.66rem; padding: 3px 8px; right: 7px; bottom: 7px; }
  .tarjeta-sin-foto { font-size: 2.4rem; }
}

@media (max-width: 480px) {
  .hero { padding: 40px 16px 48px; border-radius: 0 0 32px 32px; }
  .caja { padding: 22px; }
  .pie-pagina { border-radius: 32px 32px 0 0; }
}
