/* Dona Belle — estilos */
:root {
  --fondo: #1a0f1f;
  --fondo-2: #23142b;
  --tarjeta: #2b1934;
  --lila: #a77fd0;
  --lila-claro: #d9c4f0;
  --lima: #c5d21a;
  --blanco: #f7f2fa;
  --gris: #b9aac4;
  --wa: #25d366;
  --radio: 18px;
  --serif: "Italiana", "Didot", serif;
  --sans: "Urbanist", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--sans);
  background: var(--fondo);
  color: var(--blanco);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.contenedor { width: min(1160px, 92%); margin-inline: auto; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.4rem; border-radius: 999px; font-weight: 700; font-size: .95rem;
  transition: transform .15s, background .2s, opacity .2s; text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn-lima { background: var(--lima); color: #1a0f1f; }
.btn-ghost { border: 1px solid var(--lila); color: var(--lila-claro); }
.btn-ghost:hover { background: rgba(167,127,208,.12); }
.btn-wa { background: var(--wa); color: #0b2a17; }
.btn-wompi { background: var(--lila); color: #1a0f1f; }
.btn-wompi.is-pendiente { background: transparent; border: 1px dashed #6b5578; color: var(--gris); font-weight: 500; cursor: default; }
.btn-wompi.is-pendiente:hover { transform: none; }
.btn-sm { padding: .55rem 1rem; font-size: .85rem; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(26,15,31,.88); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(167,127,208,.18);
}
.header-in { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.marca { display: flex; align-items: center; gap: .6rem; }
.marca-icono { height: 44px; width: auto; }
.marca-texto { height: 34px; width: auto; }
.nav { display: flex; align-items: center; gap: 1.6rem; font-weight: 500; }
.nav a:not(.btn):hover { color: var(--lima); }
.menu-btn { display: none; width: 40px; height: 40px; flex-direction: column; justify-content: center; gap: 6px; }
.menu-btn span { display: block; height: 2px; width: 24px; margin-inline: auto; background: var(--blanco); }

/* ---------- Hero ---------- */
.hero {
  padding: 4rem 0 5rem;
  background:
    radial-gradient(circle at 80% 30%, rgba(167,127,208,.25), transparent 55%),
    radial-gradient(circle at 10% 90%, rgba(120,30,70,.25), transparent 50%);
}
.hero-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center; }
.eyebrow { color: var(--lima); letter-spacing: .2em; text-transform: uppercase; font-size: .8rem; font-weight: 700; margin-bottom: 1rem; }
.hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.6rem, 5.5vw, 4.6rem); line-height: 1.05; }
.hero h1 em, .titulo em { font-style: normal; color: var(--lima); }
.hero-sub { color: var(--gris); font-size: 1.1rem; margin: 1.4rem 0 2rem; max-width: 34rem; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-pagos { display: flex; gap: .6rem; list-style: none; margin-top: 2rem; flex-wrap: wrap; }
.hero-pagos li { font-size: .78rem; padding: .3rem .8rem; border-radius: 999px; border: 1px solid rgba(167,127,208,.35); color: var(--lila-claro); }
.hero-img img { border-radius: 28px; box-shadow: 0 30px 80px rgba(0,0,0,.5); border: 1px solid rgba(167,127,208,.3); }

/* ---------- Secciones ---------- */
.seccion { padding: 5rem 0; }
.seccion-alt { background: var(--fondo-2); }
.titulo { font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 4vw, 3.2rem); text-align: center; margin-bottom: 2.5rem; }
.titulo::after { content: "✦"; display: block; color: var(--lima); font-size: 1rem; margin-top: .4rem; }

/* ---------- Categorías ---------- */
.categorias-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.cat-card {
  text-align: left; padding: 2rem 1.6rem; border-radius: var(--radio);
  border: 1px solid rgba(197,210,26,.45);
  background: linear-gradient(150deg, #3a2148, #22132a);
  display: flex; flex-direction: column; gap: .5rem; min-height: 180px;
  transition: transform .2s, border-color .2s;
}
.cat-card:not(.is-off):hover { transform: translateY(-4px); border-color: var(--lima); }
.cat-card.is-on { box-shadow: 0 0 0 2px var(--lima) inset; }
.cat-nombre { font-family: var(--serif); font-size: 2rem; }
.cat-desc { color: var(--gris); font-size: .95rem; flex: 1; }
.cat-badge { color: var(--lima); font-weight: 700; font-size: .9rem; }
.cat-card.is-off { opacity: .5; cursor: not-allowed; border-color: rgba(167,127,208,.25); }
.cat-card.is-off .cat-badge { color: var(--lila-claro); }

/* ---------- Tabs ---------- */
.tabs { display: flex; justify-content: center; gap: .6rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
.tab { padding: .55rem 1.2rem; border-radius: 999px; border: 1px solid rgba(167,127,208,.4); color: var(--lila-claro); font-weight: 500; }
.tab.is-on { background: var(--lima); color: #1a0f1f; border-color: var(--lima); }
.tab:disabled { opacity: .45; cursor: not-allowed; }
.tab small { font-size: .7rem; opacity: .8; }

/* ---------- Productos ---------- */
.productos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 1.6rem; }
.producto {
  background: var(--tarjeta); border-radius: var(--radio); overflow: hidden;
  border: 1px solid rgba(167,127,208,.22); display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.producto:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(0,0,0,.4); }
.producto-img { position: relative; aspect-ratio: 3 / 2; background: #1a0f1f; overflow: hidden; }
.producto-img img { width: 100%; height: 100%; object-fit: cover; }
.sello {
  position: absolute; top: 12px; left: 12px; background: var(--lima); color: #1a0f1f;
  font-weight: 700; font-size: .8rem; padding: .25rem .7rem; border-radius: 999px;
}
.sello-agotado { background: var(--lila); }
.producto-info { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.producto h3 { font-family: var(--serif); font-weight: 400; font-size: 1.8rem; line-height: 1.1; }
.precio { display: flex; align-items: baseline; gap: .7rem; }
.precio s { color: var(--lila); font-size: .9rem; }
.precio strong { font-size: 1.3rem; }
.color { color: var(--gris); font-size: .92rem; }
.color b { color: var(--lima); }
.tallas { display: flex; align-items: center; gap: .45rem; font-size: .92rem; color: var(--gris); flex-wrap: wrap; }
.talla {
  min-width: 42px; height: 36px; padding: 0 .6rem; border-radius: 10px;
  border: 1px solid rgba(167,127,208,.5); color: var(--blanco); font-weight: 700;
}
.talla.is-on { background: var(--lima); color: #1a0f1f; border-color: var(--lima); }
.talla.is-off { text-decoration: line-through; opacity: .35; cursor: not-allowed; }
.aviso-talla { color: var(--lima); font-size: .85rem; }
.acciones { display: grid; gap: .6rem; margin-top: auto; padding-top: .6rem; }
.producto.is-agotado .producto-img img { filter: grayscale(.5) brightness(.75); }
.vacio { text-align: center; color: var(--gris); }

/* ---------- Pasos ---------- */
.pasos { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.pasos li { background: var(--tarjeta); border-radius: var(--radio); padding: 1.8rem; border: 1px solid rgba(167,127,208,.2); }
.pasos span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--lima); color: #1a0f1f; font-weight: 700; margin-bottom: 1rem; }
.pasos h3 { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; margin-bottom: .4rem; }
.pasos p { color: var(--gris); }

/* ---------- Contacto ---------- */
.contacto { text-align: center; }
.titulo-script { font-size: clamp(3rem, 7vw, 5rem); }
.contacto-links { display: flex; justify-content: center; gap: 2.5rem; flex-wrap: wrap; font-size: 1.2rem; }
.contacto-links a { display: flex; align-items: center; gap: .7rem; }
.contacto-links a:hover { color: var(--lima); }
.contacto-links svg { width: 26px; height: 26px; fill: currentColor; }

/* ---------- Footer ---------- */
.footer { padding: 2rem 0; border-top: 1px solid rgba(167,127,208,.18); }
.footer-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: var(--gris); font-size: .9rem; flex-wrap: wrap; }
.footer img { height: 40px; width: auto; }

/* ---------- WhatsApp flotante y aviso ---------- */
.wa-flotante {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
  background: var(--wa); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.4);
}
.wa-flotante svg { width: 30px; height: 30px; fill: #fff; }
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 70;
  width: min(520px, 92%); background: var(--blanco); color: #1a0f1f; padding: 1rem 1.2rem;
  border-radius: 14px; box-shadow: 0 20px 50px rgba(0,0,0,.5); font-size: .95rem;
}
.toast a { color: #7a3fb5; font-weight: 700; text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-in { grid-template-columns: 1fr; }
  .hero-img { order: -1; max-width: 420px; margin-inline: auto; }
  .categorias-grid, .pasos { grid-template-columns: 1fr; }
  .menu-btn { display: flex; }
  .nav {
    position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 1.2rem;
    padding: 1.5rem; background: var(--fondo); border-bottom: 1px solid rgba(167,127,208,.2);
    display: none;
  }
  .nav.is-open { display: flex; }
  .marca-icono { height: 36px; }
  .marca-texto { height: 28px; }
  .footer { padding-bottom: 6rem; }
  .hero-cta { padding-right: 70px; }
}
@media (max-width: 400px) {
  .productos-grid { grid-template-columns: 1fr; }
}
