/* ===== Vestito — estilos unificados (tienda + admin) ===== */
:root {
  --bg: #fff6f9;
  --surface: #ffffff;
  --blush: #ffe3ed;
  --logo-pink: #ffb8d0;
  --pink: #ff7eb0;
  --rose: #d9477f;
  --ink: #2a1a22;
  --muted: #7d6a74;
  --line: #f3d9e4;
  --danger: #b4233c;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius: 18px;
  --shadow: 0 18px 40px -22px rgba(217, 71, 127, 0.45);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Luz ambiental sutil y estática, sin recargar la lectura ni las prendas */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(circle at 15% 10%, rgba(255, 184, 208, 0.24), transparent 42%),
    radial-gradient(circle at 85% 20%, rgba(255, 126, 176, 0.14), transparent 45%);
}

body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 2px; }
[hidden] { display: none !important; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255, 246, 249, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1200px; margin: 0 auto; padding: 0.75rem 1.25rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem;
}
.nav-dropdown {
  position: relative;
  justify-self: start;
}
.brand-center {
  justify-self: center;
  display: inline-flex;
  align-items: center;
}
.brand-wordmark {
  font-family: "Dancing Script", cursive;
  font-size: 1.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #c85a84;
  line-height: 1;
}
.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.hamburger-btn {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.hamburger-btn:hover,
.hamburger-btn[aria-expanded="true"] {
  background: var(--blush);
  border-color: var(--rose);
  color: var(--rose);
}

.dropdown-panel {
  position: absolute;
  top: calc(100% + 0.55rem);
  left: 0;
  width: min(265px, 85vw);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 0.5rem;
  box-shadow: 0 20px 42px -16px rgba(56, 35, 46, 0.28);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  z-index: 50;
  animation: dropdownIn 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.dropdown-item {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 0.68rem 0.95rem;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.18s ease, color 0.18s ease;
}

.dropdown-item:hover {
  background: var(--blush);
  color: var(--rose);
}

.menu-chevron {
  transition: transform 0.22s ease;
}

.dropdown-subtrigger[aria-expanded="true"] .menu-chevron {
  transform: rotate(180deg);
}

.dropdown-sublist {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.25rem 0 0.35rem 0.75rem;
  margin: 0.1rem 0 0.2rem 0.65rem;
  border-left: 2px solid var(--line);
}

.dropdown-subitem {
  padding: 0.48rem 0.75rem;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.dropdown-subitem:hover {
  background: var(--bg);
  color: var(--rose);
  transform: translateX(3px);
}

@keyframes dropdownIn {
  from { opacity: 0; transform: translateY(-6px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  background: linear-gradient(145deg, #c9859e, #b66e89);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 0.55rem 0.85rem;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(140, 77, 105, 0.25);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.cart-btn:hover {
  background: linear-gradient(145deg, #b66e89, #38232e);
  transform: translateY(-2px);
}
.cart-btn.bump { animation: bump 0.4s ease; }
@keyframes bump { 40% { transform: scale(1.08); } }
.cart-btn .icon {
  flex-shrink: 0;
  color: #fff;
}
.cart-count {
  background: #fff;
  color: #b66e89;
  font-size: 0.72rem;
  font-weight: 700;
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  line-height: 1;
}

/* ===== Hero Editorial & Animado ===== */
.hero {
  position: relative;
  max-width: 1200px;
  margin: 1.25rem auto 0;
  padding: 2.4rem 2.5rem;
  border-radius: 32px;
  background:
    radial-gradient(circle at 78% 50%, #f6c5d6 0%, rgba(246, 197, 214, 0.55) 36%, #fae3ea 68%, #fff6f9 100%);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 2rem;
  align-items: center;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -25%;
  right: -5%;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(246, 197, 214, 0.45) 0%, transparent 72%);
  filter: blur(28px);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-kicker {
  display: inline-block;
  margin-bottom: 0.65rem;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rose);
}

.hero-brand {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: clamp(3rem, 5.8vw, 4.6rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.025em;
  background: linear-gradient(
    115deg,
    var(--ink) 0%,
    #5a1e3a 38%,
    #ff7eb0 50%,
    #5a1e3a 62%,
    var(--rose) 100%
  );
  background-size: 220% 100%;
  background-position: 100% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Entrada lenta, elegante y fluida para el nombre */
.reveal-title {
  opacity: 0;
  transform: translateY(14px);
  will-change: transform, opacity, background-position;
  animation:
    heroBrandGlideIn 1.65s cubic-bezier(0.16, 1, 0.3, 1) forwards,
    heroBrandShimmer 2.8s ease-in-out forwards;
  animation-delay:
    var(--delay, 0.35s),
    calc(var(--delay, 0.35s) + 0.75s);
}

.reveal-item {
  opacity: 0;
  transform: translateY(18px);
  animation: heroFadeUp 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--delay, 0.2s);
}

.reveal-logo {
  opacity: 0;
  transform: scale(0.92) translateY(12px);
  animation: heroLogoIn 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--delay, 0.25s);
}

@keyframes heroBrandGlideIn {
  0% { opacity: 0; transform: translateY(14px); }
  55% { opacity: 0.72; }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes heroBrandShimmer {
  0% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes heroFadeUp {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes heroLogoIn {
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.hero-tagline {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.9vw, 1.5rem);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.25;
}

.hero-subtitle {
  margin: 0 0 1.45rem;
  max-width: 470px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ===== Botones unificados y elegantes ===== */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.hero-actions .btn,
.btn-solid,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-width: 215px;
  padding: 0.82rem 1.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(182, 110, 137, 0.32);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.015em;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 26px -16px rgba(56, 35, 46, 0.25);
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.28s ease,
    border-color 0.28s ease,
    color 0.28s ease,
    box-shadow 0.28s ease;
}

.hero-actions .btn:hover,
.btn-solid:hover,
.btn-ghost:hover {
  transform: translateY(-2px);
  background: #ffffff;
  border-color: var(--rose);
  color: var(--rose);
  box-shadow: 0 16px 32px -16px rgba(182, 110, 137, 0.42);
}

.hero-actions .btn:active,
.btn-solid:active,
.btn-ghost:active {
  transform: translateY(0) scale(0.98);
}

/* Detalle sutil en el botón principal */
.btn-solid {
  position: relative;
  overflow: hidden;
}

.btn-solid::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rose);
  flex-shrink: 0;
}

/* Efecto de brillo sutil en el botón principal */
.btn-solid::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.22) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.65s ease;
}

.btn-solid:hover::after {
  transform: translateX(100%);
}

/* En celular se apilan prolijos al mismo ancho */
@media (max-width: 520px) {
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  .hero-actions .btn,
  .btn-solid,
  .btn-ghost {
    width: 100%;
    max-width: 280px;
  }
}

/* Fusión del logo con el fondo + flotación */
.hero-art {
  position: relative;
  z-index: 2;
  justify-self: center;
  width: min(100%, 265px);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
}

.logo-aura {
  position: absolute;
  inset: -26%;
  border-radius: 50%;
  background: radial-gradient(
    circle at 50% 50%,
    #f6c5d6 0%,
    rgba(250, 227, 234, 0.45) 46%,
    transparent 76%
  );
  filter: blur(20px);
  pointer-events: none;
  animation: pulseAura 5.5s ease-in-out infinite;
}

.hero-logo-blended {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  -webkit-mask-image: radial-gradient(
    circle at 50% 50%,
    #000 35%,
    rgba(0, 0, 0, 0.52) 54%,
    rgba(0, 0, 0, 0.14) 68%,
    transparent 78%
  );
  mask-image: radial-gradient(
    circle at 50% 50%,
    #000 35%,
    rgba(0, 0, 0, 0.52) 54%,
    rgba(0, 0, 0, 0.14) 68%,
    transparent 78%
  );
  filter: drop-shadow(0 18px 26px rgba(182, 110, 137, 0.18));
  will-change: transform;
  animation: floatLogo 5.2s ease-in-out infinite;
}

@keyframes floatLogo {
  0%, 100% { transform: translateY(7px) rotate(-2.5deg); }
  50% { transform: translateY(-17px) rotate(2.5deg); }
}

@keyframes pulseAura {
  0%, 100% { transform: scale(0.94); opacity: 0.78; }
  50% { transform: scale(1.1); opacity: 1; }
}

/* ===== Colecciones deslizables ===== */
.collections-section {
  max-width: 1220px;
  margin: 0 auto;
  padding: 3rem 0 0.5rem;
}

.collections-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 1.5rem;
  margin-bottom: 1.1rem;
}

.collections-title {
  margin: 0.35rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.collections-arrows {
  display: flex;
  gap: 0.5rem;
}

.coll-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(182, 110, 137, 0.32);
  background: rgba(255, 255, 255, 0.8);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease, opacity 0.22s ease;
}

.coll-arrow:hover:not(:disabled) {
  background: #fff;
  border-color: var(--rose);
  color: var(--rose);
}

.coll-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.collections-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 0.25rem 0.15rem 0.6rem;
}
.collections-track::-webkit-scrollbar {
  display: none;
}

.collection-card {
  position: relative;
  flex: 0 0 auto;
  width: clamp(210px, 62vw, 270px);
  aspect-ratio: 3 / 4;
  border-radius: 4px;
  overflow: hidden;
  scroll-snap-align: start;
  background: var(--blush);
  text-decoration: none;
  opacity: var(--card-opacity, 1);
  transform: scale(var(--card-scale, 1));
  filter: blur(var(--card-blur, 0px));
  will-change: opacity, transform, filter;
  transition: box-shadow 0.45s ease;
}
/* La tarjeta activa o al pasar el cursor recupera 100% de nitidez y presencia */
.collection-card.is-focus,
.collection-card:hover {
  opacity: 1 !important;
  transform: scale(1) !important;
  filter: blur(0px) !important;
  box-shadow: 0 18px 34px -18px rgba(42, 26, 34, 0.38);
}

.collection-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.collection-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(42, 26, 34, 0.68) 0%, rgba(42, 26, 34, 0) 58%);
  pointer-events: none;
}

.collection-info {
  position: absolute;
  left: 1.1rem;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  color: #fff;
}

.collection-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.15;
}

.collection-count {
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  opacity: 0.88;
}

.collection-cta {
  margin-top: 0.6rem;
  padding: 0.42rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: background 0.25s ease, color 0.25s ease;
}

.collection-card:hover .collection-cta {
  background: #fff;
  color: var(--rose);
}

/* ===== Catálogo ===== */
.catalog-section {
  max-width: 1220px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

.catalog-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 1.4rem;
  flex-wrap: wrap;
}

.catalog-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.2vw, 2.5rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.catalog-count {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.catalog-search {
  border: 0;
  border-bottom: 1.5px solid var(--line);
  background: transparent;
  border-radius: 0;
  padding: 0.5rem 0.2rem;
  font-size: 0.9rem;
  min-width: 240px;
  transition: border-color 0.25s ease;
}

.catalog-search::placeholder { color: var(--muted); }

.catalog-search:focus {
  outline: none;
  border-bottom-color: var(--rose);
}

/* Categorías: se acomodan en filas, sin scroll lateral */
.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.cat-pill {
  border: 1px solid rgba(182, 110, 137, 0.28);
  background: rgba(255, 255, 255, 0.7);
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

.cat-pill:hover {
  border-color: var(--rose);
  color: var(--rose);
  background: #fff;
}

.cat-pill.active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

/* Grilla */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 2.2rem 1.4rem;
}

.status-message {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3.5rem 1rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.65);
  border: 1px dashed var(--line);
  border-radius: 24px;
}

.skeleton {
  aspect-ratio: 4 / 5;
  border-radius: 22px;
  background: linear-gradient(90deg, var(--blush) 25%, #fff 50%, var(--blush) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
}
@keyframes shimmer { to { background-position: -200% 0; } }

.product-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.product-media {
  position: relative;
  flex-shrink: 0;
  aspect-ratio: 4 / 5;
  border-radius: 22px;
  background: var(--blush);
  overflow: hidden;
  cursor: zoom-in;
  box-shadow: 0 14px 30px -22px rgba(56, 35, 46, 0.35);
  transition: box-shadow 0.35s ease;
}

.product-card:hover .product-media {
  box-shadow: 0 22px 38px -20px rgba(182, 110, 137, 0.42);
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-card:hover .product-media img {
  transform: scale(1.05);
}

.product-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  color: var(--rose);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
}

.product-badge.sold-out {
  background: rgba(42, 26, 34, 0.85);
  color: #fff;
}

/* Botón "+" discreto sobre la foto */
.quick-add {
  position: absolute;
  right: 0.7rem;
  bottom: 0.7rem;
  z-index: 3;
}

.quick-plus {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 8px 20px -8px rgba(42, 26, 34, 0.4);
  transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.quick-plus:hover {
  background: var(--rose);
  color: #fff;
  transform: scale(1.07);
}

.quick-plus:active { transform: scale(0.95); }

.quick-stepper {
  display: inline-flex;
  align-items: center;
  height: 38px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 20px -8px rgba(42, 26, 34, 0.4);
  overflow: hidden;
}

.quick-stepper button {
  width: 34px;
  height: 100%;
  border: 0;
  background: transparent;
  color: var(--rose);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: background 0.18s ease;
}

.quick-stepper button:hover { background: var(--blush); }

.quick-stepper span {
  min-width: 1.3rem;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  user-select: none;
}

.product-body {
  padding: 0.75rem 0.15rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  flex: 1;
}

.product-name {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.3;
}

.product-desc {
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-price {
  margin-top: 0.1rem;
  font-size: 0.97rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}

/* Selector de talle con etiqueta */
.size-picker {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.55rem;
  margin-top: 0.55rem;
}

.size-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.size-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.size-chip {
  min-width: 32px;
  height: 30px;
  padding: 0 0.55rem;
  border: 1px solid rgba(182, 110, 137, 0.3);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.size-chip:hover:not(:disabled):not(.selected) {
  border-color: var(--rose);
  color: var(--rose);
}

.size-chip.selected {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.size-chip:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.size-hint {
  display: none;
  width: 100%;
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--danger);
}

.size-picker.needs-size .size-hint { display: block; }
.size-picker.needs-size .size-options { animation: nudge 0.35s ease; }

@keyframes nudge {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

.load-more-wrap {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
}

/* ===== Sección de Entregas con SVG + Mapa ===== */
.delivery-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.25rem 3.5rem;
}
.section-heading {
  margin-bottom: 1.5rem;
}
.section-heading h2 {
  margin: 0.35rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 600;
}
.delivery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
}
.delivery-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.delivery-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--blush);
  color: var(--rose);
  display: grid;
  place-items: center;
  margin-bottom: 0.35rem;
}
.delivery-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
}
.delivery-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}
.delivery-meta {
  margin-top: auto;
  padding-top: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--rose);
}

.location-box {
  margin-top: 1.4rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1.4rem;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.5rem;
  align-items: center;
}
.location-info h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
}
.location-info p {
  margin: 0 0 1.1rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.map-frame iframe {
  width: 100%;
  height: 230px;
  border: 0;
  border-radius: 16px;
  display: block;
}

/* ===== Banner Comunidad Instagram ===== */
.social-banner {
  max-width: 1200px;
  margin: 0 auto 3.5rem;
  padding: 2rem 2.25rem;
  border-radius: 26px;
  background: linear-gradient(135deg, var(--blush) 0%, #fff 100%);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.social-banner h2 {
  margin: 0.35rem 0 0.3rem;
  font-family: var(--font-display);
  font-size: 1.65rem;
}
.social-banner p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 540px;
}

/* ===== Footer ===== */
.site-footer { background: var(--ink); color: #f6e9ef; padding: 3rem 1.25rem 2rem; }
.footer-clean {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-brand .brand-wordmark {
  color: var(--logo-pink);
  display: inline-block;
  margin-bottom: 0.25rem;
}
.footer-brand p {
  margin: 0;
  font-size: 0.88rem;
  color: #d9c6cf;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.88rem;
  color: #d9c6cf;
}
.footer-contact p { margin: 0; }
.site-footer a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom {
  max-width: 1200px; margin: 2rem auto 0; padding-top: 1.2rem;
  border-top: 1px solid #4a3640; font-size: 0.8rem; color: #b79ea9;
}

/* ===== Carrito ===== */
.cart-backdrop { position: fixed; inset: 0; background: rgba(42, 26, 34, 0.5); z-index: 40; animation: fade 0.25s; }
.cart-drawer {
  position: fixed; top: 0; right: 0; width: min(440px, 100vw); height: 100dvh;
  background: var(--surface); z-index: 50; display: flex; flex-direction: column;
  animation: slideIn 0.3s ease;
}
@keyframes fade { from { opacity: 0; } }
@keyframes slideIn { from { transform: translateX(100%); } }
.cart-drawer-header {
  padding: 1.1rem 1.25rem; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
}
.cart-drawer-header h2 { margin: 0; font-family: var(--font-display); font-size: 1.5rem; }
.icon-btn {
  background: var(--blush); border: 1px solid var(--line); border-radius: 999px;
  padding: 0.4rem 0.9rem; font-size: 0.82rem; font-weight: 500; cursor: pointer;
}
.cart-items { flex: 1; overflow-y: auto; padding: 1rem 1.25rem; display: flex; flex-direction: column; gap: 0.9rem; }
.cart-empty { text-align: center; color: var(--muted); margin: auto 0; }
.cart-item {
  display: grid; grid-template-columns: 64px 1fr auto; gap: 0.8rem; align-items: center;
  padding-bottom: 0.9rem; border-bottom: 1px solid var(--line);
}
.cart-item img { width: 64px; height: 80px; object-fit: cover; border-radius: 10px; background: var(--blush); }
.cart-item-title { margin: 0 0 0.15rem; font-size: 0.92rem; font-weight: 600; }
.cart-item-meta { margin: 0 0 0.4rem; font-size: 0.8rem; color: var(--muted); }
.qty-controls { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; }
.qty-controls button { border: 0; background: transparent; padding: 0.2rem 0.7rem; cursor: pointer; font-size: 1rem; }
.qty-controls span { padding: 0 0.3rem; font-size: 0.85rem; }
.remove-item-btn { border: 0; background: transparent; color: var(--muted); font-size: 0.8rem; cursor: pointer; text-decoration: underline; }

.checkout-form {
  border-top: 1px solid var(--line); padding: 1rem 1.25rem 1.25rem; background: var(--bg);
  display: flex; flex-direction: column; gap: 0.85rem; max-height: 62dvh; overflow-y: auto;
}
.cart-subtotal-row { display: flex; justify-content: space-between; align-items: center; font-size: 1.05rem; }
.delivery-options {
  border: 1px solid var(--line); border-radius: 12px; padding: 0.8rem; margin: 0;
  display: flex; flex-direction: column; gap: 0.55rem; background: var(--surface);
}
.delivery-options legend { padding: 0 0.35rem; font-size: 0.85rem; font-weight: 700; color: var(--rose); }
.radio-option { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.85rem; cursor: pointer; }
.radio-option input { accent-color: var(--rose); margin-top: 0.25rem; }

.field-group { display: flex; flex-direction: column; gap: 0.3rem; }
.field-group label { font-size: 0.84rem; font-weight: 600; }
.field-group input, .field-group select, .field-group textarea {
  border: 1px solid var(--line); border-radius: 10px; padding: 0.6rem 0.75rem;
  background: var(--surface); font-size: 0.9rem;
}
.field-group input:focus, .field-group select:focus, .field-group textarea:focus {
  outline: 2px solid var(--pink); border-color: var(--pink);
}
.field-hint { font-size: 0.78rem; color: var(--muted); }
.correo-notice {
  margin: 0; padding: 0.7rem 0.85rem; background: var(--blush); border: 1px solid var(--line);
  border-radius: 10px; font-size: 0.84rem;
}
.form-error { margin: 0; color: var(--danger); font-size: 0.84rem; font-weight: 600; }
.primary-btn {
  background: var(--pink); color: #fff; border: 0; border-radius: 999px; padding: 0.85rem 1.2rem;
  font-weight: 700; font-size: 0.92rem; cursor: pointer; transition: background 0.2s;
}
.primary-btn:hover:not(:disabled) { background: var(--rose); }
.primary-btn:disabled { opacity: 0.6; cursor: wait; }

.toast {
  position: fixed; left: 50%; bottom: 1.5rem; transform: translateX(-50%); z-index: 60;
  background: var(--ink); color: #fff; padding: 0.7rem 1.2rem; border-radius: 999px;
  font-size: 0.88rem; box-shadow: var(--shadow); animation: fade 0.2s;
}

/* Barra flotante temporal al agregar una prenda */
.bag-toast {
  position: fixed;
  left: 50%;
  bottom: 4.9rem;
  transform: translate(-50%, 16px);
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  background: var(--ink);
  color: #fff;
  padding: 0.55rem 0.65rem 0.55rem 1.15rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 36px -12px rgba(42, 26, 34, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  max-width: calc(100vw - 2rem);
}

.bag-toast.is-open {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

.bag-toast-text {
  font-size: 0.86rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bag-toast-btn {
  border: 0;
  border-radius: 999px;
  background: var(--pink);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.45rem 0.95rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.2s ease;
}

.bag-toast-btn:hover {
  background: var(--rose);
  transform: scale(1.03);
}

/* ===== Admin (base; css/admin.css lo complementa) ===== */
.admin-shell { max-width: 1120px; margin: 0 auto; padding: 2rem 1.25rem 4rem; }
.login-box {
  max-width: 400px; margin: 3rem auto; background: var(--surface); border: 1px solid var(--line);
  border-radius: 24px; padding: 2rem; display: flex; flex-direction: column; gap: 1rem; box-shadow: var(--shadow);
}
.login-box h1, .admin-topbar h1 { margin: 0; font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; }
.login-form { gap: 0.85rem; }
.admin-topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  margin-bottom: 1.75rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line);
}
.admin-grid { display: grid; grid-template-columns: minmax(300px, 400px) 1fr; gap: 2rem; align-items: start; }
.panel-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem; display: flex; flex-direction: column; gap: 0.9rem;
}
.panel-card h2 { margin: 0; font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; }
.admin-list { display: flex; flex-direction: column; gap: 0.75rem; }
.admin-row {
  display: grid; grid-template-columns: 56px 1fr auto; gap: 0.85rem; align-items: center;
  padding: 0.65rem; border: 1px solid var(--line); border-radius: 12px; background: var(--bg);
}
.admin-row img { width: 56px; height: 70px; object-fit: cover; border-radius: 8px; background: var(--blush); }
.admin-row-title { margin: 0; font-size: 0.92rem; font-weight: 600; }
.admin-row-meta { margin: 0.15rem 0 0; font-size: 0.78rem; color: var(--muted); }
.row-actions, .form-actions { display: flex; gap: 0.5rem; }
.form-actions .primary-btn { flex: 1; }
.btn-secondary, .btn-danger {
  border-radius: 999px; padding: 0.4rem 0.8rem; font-size: 0.8rem; cursor: pointer;
}
.btn-secondary { background: var(--surface); border: 1px solid var(--line); }
.btn-danger { background: transparent; border: 1px solid #e0b4b4; color: var(--danger); }
.status-note { margin: 0; font-size: 0.84rem; color: var(--rose); font-weight: 600; }

/* ===== Responsive ===== */
@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 1.6rem 1.25rem 2rem;
    gap: 1rem;
    text-align: center;
    background:
      radial-gradient(circle at 50% 24%, #f6c5d6 0%, rgba(246, 197, 214, 0.55) 36%, #fae3ea 68%, #fff6f9 100%);
  }
  .hero-art {
    order: -1;
    width: min(56%, 200px);
  }
  .hero-brand {
    font-size: clamp(2.6rem, 11vw, 3.4rem);
  }
  .hero-subtitle {
    margin: 0 auto 1.25rem;
  }
  .hero-actions {
    justify-content: center;
  }
  .location-box {
    grid-template-columns: 1fr;
  }
  .admin-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .collections-section { padding-top: 2.2rem; }
  .collections-header,
  .collections-track { padding-left: 1.1rem; padding-right: 1.1rem; }
  .collections-track { scroll-padding-inline: 1.1rem; gap: 0.8rem; }
  .collections-arrows { display: none; }
  .collection-card { border-radius: 22px; }
  .collection-name { font-size: 1.15rem; }

  .catalog-section { padding: 2rem 1.1rem 3.5rem; }
  .catalog-header {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    margin-bottom: 0.9rem;
  }
  .catalog-title {
    font-size: 1.7rem;
    line-height: 1.1;
  }
  .catalog-search {
    width: 100%;
    min-width: 0;
  }
  .category-nav {
    gap: 0.4rem;
    margin-bottom: 1.5rem;
  }
  .cat-pill {
    padding: 0.4rem 0.85rem;
    font-size: 0.8rem;
  }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.6rem 0.85rem;
  }
  .product-media {
    border-radius: 16px;
  }
  .quick-add {
    right: 0.5rem;
    bottom: 0.5rem;
  }
  .quick-plus,
  .quick-stepper {
    height: 34px;
  }
  .quick-plus {
    width: 34px;
  }
  .quick-stepper button {
    width: 30px;
  }
  .size-chip {
    min-width: 30px;
    height: 28px;
    padding: 0 0.45rem;
    font-size: 0.74rem;
  }
}

@media (max-width: 480px) { .cart-btn { padding-left: 0.85rem; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ===== Botón flotante de WhatsApp ===== */
.wa-float {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 35;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, #c9859e, #b66e89);
  box-shadow: 0 10px 24px rgba(140, 77, 105, 0.28);
  transition: transform 0.2s, box-shadow 0.2s;
}
.wa-float:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 28px rgba(140, 77, 105, 0.34);
}

/* Subtítulo informativo en sección entregas */
.section-sub {
  margin: 0.4rem 0 0;
  font-size: 0.92rem;
  color: var(--muted);
}

/* Animación de entrada progresiva al scrollear */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--stagger, 0s);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Micro-interacciones en tarjetas de entrega y moto */
.delivery-card {
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease, border-color 0.28s ease;
}

.delivery-card:hover {
  transform: translateY(-4px);
  border-color: var(--logo-pink);
  box-shadow: 0 18px 34px -22px rgba(182, 110, 137, 0.35);
}

.delivery-icon {
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.delivery-card:hover .delivery-icon {
  background: var(--rose);
  color: #fff;
  transform: scale(1.06);
}

.moto-svg {
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.delivery-card-moto:hover .moto-svg {
  transform: translateX(4px) rotate(-2deg);
}

/* Vista ampliada (Lightbox) de prendas */
.img-lightbox {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(42, 26, 34, 0.78);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  padding: 1.5rem;
  animation: fade 0.22s ease;
}

.img-lightbox-card {
  position: relative;
  max-width: min(460px, 92vw);
  background: var(--surface);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  animation: lightboxPop 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.img-lightbox-card img {
  width: 100%;
  max-height: 72dvh;
  object-fit: cover;
}

.img-lightbox-caption {
  padding: 0.9rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 600;
}

@keyframes lightboxPop {
  from { opacity: 0; transform: scale(0.94); }
  to { opacity: 1; transform: scale(1); }
}
/* ===== Página de colección ===== */
.collection-page {
  padding-top: 1.6rem;
  min-height: 60vh;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1.1rem;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.breadcrumb a {
  color: var(--muted);
  transition: color 0.2s ease;
}

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

.breadcrumb .bc-sep {
  opacity: 0.55;
}

.breadcrumb [aria-current="page"] {
  color: var(--ink);
  font-weight: 500;
}

/* Las categorías ahora también son links */
.cat-pill {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.other-collections {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.other-collections h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
}

.other-collections .category-nav {
  margin-bottom: 0;
}

/* Esqueleto de las tarjetas de colecciones mientras cargan */
.collection-skeleton {
  flex: 0 0 clamp(210px, 66vw, 285px);
  aspect-ratio: 4 / 5;
  border-radius: 26px;
  background: linear-gradient(90deg, var(--blush) 25%, #fff 50%, var(--blush) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  scroll-snap-align: start;
}

.collections-track .status-message {
  flex: 1;
}