/* ============================================================
   ENSUEÑOS BABY — Estilos globales
   Archivo: assets/css/styles.css
   ============================================================ */

/* ---- Variables -------------------------------------------- */
:root {
  --pink:         #ef4f91;
  --pink-dark:    #d93678;
  --pink-soft:    #ffe7f1;
  --green:        #7fbd3b;
  --green-dark:   #5e9927;
  --green-soft:   #eff9df;
  --blue-soft:    #eaf6ff;
  --lavender:     #f4edff;
  --cream:        #fff8ef;
  --text:         #252833;
  --muted:        #707681;
  --line:         #f0e6e9;
  --white:        #ffffff;
  --shadow-pink:  0 18px 45px rgba(239,79,145,.12);
  --shadow-sm:    0 8px 22px rgba(0,0,0,.05);
  --shadow-md:    0 16px 34px rgba(0,0,0,.07);
  --radius:       28px;
  --radius-sm:    16px;
}

/* ---- Reset ------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: "Nunito", sans-serif;
  background: linear-gradient(180deg, #fff 0%, #fff7fb 45%, #ffffff 100%);
  color: var(--text);
  line-height: 1.5;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button, input, select, textarea { font-family: inherit; }

/* ---- Contenedor principal --------------------------------- */
.page {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

/* ---- Flash messages -------------------------------------- */
.flash { padding: 14px 18px; border-radius: 12px; margin: 12px 0; font-weight: 700; }

/* ============================================================
   HEADER / NAVBAR
   ============================================================ */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(239,79,145,.08);
}

.navbar {
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 200px;
  flex-shrink: 0;
}

.logo-mark {
  width: 56px;
  height: 56px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 30% 30%, #fff 0 24%, #ffe4ef 25% 58%, #dff7b7 59% 100%);
  border: 3px solid #fff;
  box-shadow: 0 10px 24px rgba(239,79,145,.18);
  color: var(--pink);
  font-size: 26px;
  flex-shrink: 0;
}

.brand-title { line-height: 0.9; }
.brand-title strong { display: block; font-size: 28px; color: var(--green); letter-spacing: -1px; }
.brand-title span   { display: block; font-size: 28px; color: var(--pink); font-weight: 900; letter-spacing: -1px; }
.brand-title small  { display: block; margin-top: 5px; color: var(--pink); font-size: 11px; font-weight: 800; letter-spacing: .2px; }

/* Nav links */
nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-weight: 800;
  font-size: 14.5px;
}

nav a { color: var(--text); transition: color .2s; }
nav a.active, nav a:hover { color: var(--pink); }

/* Search + cart */
.nav-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.search-form { position: relative; }

.search {
  width: 230px;
  height: 42px;
  border: 1px solid #f1e7e9;
  border-radius: 14px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 8px;
  background: #fafafa;
  color: var(--muted);
  font-size: 14px;
}

.search input {
  border: none;
  background: transparent;
  outline: none;
  width: 100%;
  color: var(--text);
  font-size: 14px;
}

.cart {
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  font-size: 20px;
  cursor: pointer;
  transition: transform .15s;
  text-decoration: none;
  color: var(--text);
}

.cart:hover { transform: scale(1.06); }

.cart span {
  position: absolute;
  top: -6px;
  right: -5px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--pink);
  color: white;
  font-size: 11px;
  display: grid;
  place-items: center;
  font-weight: 900;
}

.mobile-menu {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 14px;
  font-size: 22px;
  cursor: pointer;
}

/* Menú móvil desplegable */
.mobile-nav {
  flex-direction: column;
  padding: 12px 16px 16px;
  border-top: 1px solid var(--line);
  gap: 4px;
}

.mobile-nav a {
  display: block;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 15px;
  transition: background .15s;
}

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

/* ============================================================
   BOTONES
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  cursor: pointer;
  border-radius: 14px;
  padding: 13px 22px;
  font-weight: 900;
  font-size: 14.5px;
  transition: transform .15s, box-shadow .15s;
  line-height: 1;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--pink);
  color: white;
  box-shadow: 0 12px 26px rgba(239,79,145,.28);
}

.btn-primary:hover { background: var(--pink-dark); box-shadow: 0 16px 32px rgba(239,79,145,.35); }

.btn-outline {
  background: white;
  color: var(--green-dark);
  border: 2px solid rgba(127,189,59,.35);
  box-shadow: var(--shadow-sm);
}

.btn-outline:hover { border-color: var(--green); }

.btn-green {
  background: var(--green);
  color: white;
  box-shadow: 0 12px 26px rgba(127,189,59,.28);
}

.btn-sm { padding: 10px 16px; font-size: 13px; border-radius: 11px; }
.btn-full { width: 100%; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  margin-top: 24px;
  border-radius: 36px;
  overflow: hidden;
  background: linear-gradient(90deg, #fff2f7 0%, #fff9f4 50%, #ffeef5 100%);
  min-height: 380px;
  position: relative;
  display: grid;
  grid-template-columns: 1fr .92fr;
  box-shadow: var(--shadow-pink);
  border: 1px solid rgba(239,79,145,.08);
}

.hero-content {
  padding: 54px 54px;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  background: var(--green-soft);
  color: var(--green-dark);
  border-radius: 999px;
  font-weight: 900;
  font-size: 13px;
  margin-bottom: 22px;
  width: fit-content;
}

h1 {
  font-size: clamp(40px, 4.8vw, 64px);
  line-height: .96;
  letter-spacing: -2px;
  margin-bottom: 16px;
  max-width: 640px;
}

h1 .pink  { color: var(--pink); }
h1 .green { color: var(--green); }

.hero p {
  color: #5f6470;
  font-size: 17px;
  line-height: 1.48;
  max-width: 500px;
  margin-bottom: 26px;
  font-weight: 600;
}

.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-visual {
  position: relative;
  min-height: 360px;
  display: grid;
  place-items: center;
  padding: 28px;
}

.hero-card {
  width: 92%;
  aspect-ratio: 1 / .76;
  border-radius: 34px;
  background: radial-gradient(circle at 30% 20%, #fff 0 18%, transparent 19%),
              linear-gradient(135deg, #ffe2ed, #fffaf1 52%, #e9f8d8);
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.7), 0 24px 60px rgba(239,79,145,.18);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  width: 240px; height: 240px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  position: absolute;
  right: -40px; bottom: -60px;
}

.baby-set {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  gap: 10px;
  text-align: center;
}

.onesie {
  width: 210px; height: 224px;
  background: linear-gradient(180deg, #ffc7dc, #fff4f8);
  border-radius: 52px 52px 76px 76px;
  position: relative;
  box-shadow: 0 14px 30px rgba(239,79,145,.2);
}

.onesie::before, .onesie::after {
  content: "";
  position: absolute;
  width: 68px; height: 78px;
  background: #ffdbe8;
  top: 38px;
  border-radius: 30px;
}

.onesie::before { left: -42px; transform: rotate(18deg); }
.onesie::after  { right: -42px; transform: rotate(-18deg); }

.heart-face { position: absolute; top: 72px; left: 50%; transform: translateX(-50%); font-size: 50px; }

.floating { position: absolute; font-size: 26px; opacity: .45; }
.f1 { left: 52%; top: 12%; color: var(--pink); }
.f2 { right: 5%;  top: 16%; color: var(--green); }
.f3 { left: 8%;  bottom: 12%; color: var(--green); }

/* ============================================================
   CATEGORÍAS
   ============================================================ */
.categories {
  margin: 24px 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.category-card {
  min-height: 130px;
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid rgba(239,79,145,.08);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
  cursor: pointer;
}

.category-card:hover { transform: translateY(-3px); box-shadow: 0 24px 48px rgba(0,0,0,.1); }

.cat-1 { background: linear-gradient(135deg, #f5ffe5, #ffffff); }
.cat-2 { background: linear-gradient(135deg, #ffeaf3, #ffffff); }
.cat-3 { background: linear-gradient(135deg, #e9f6ff, #ffffff); }
.cat-4 { background: linear-gradient(135deg, #f4edff, #ffffff); }
.cat-5 { background: linear-gradient(135deg, #fff7dc, #ffffff); }

.category-card h3 { font-size: 17px; color: var(--green-dark); margin-bottom: 4px; }
.category-card p  { font-size: 12.5px; color: var(--muted); font-weight: 700; line-height: 1.25; }

.cat-icon {
  width: 56px; height: 56px;
  border-radius: 18px;
  background: white;
  display: grid;
  place-items: center;
  font-size: 28px;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

/* ============================================================
   SECCIÓN HEAD
   ============================================================ */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 30px 0 16px;
}

.section-head h2 { font-size: 24px; letter-spacing: -.4px; }
.section-head a  { color: var(--pink); font-weight: 900; font-size: 14.5px; }

/* ============================================================
   PRODUCTOS
   ============================================================ */
.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.product {
  background: white;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
}

.product:hover { transform: translateY(-4px); box-shadow: 0 28px 56px rgba(0,0,0,.1); }

.product-img {
  height: 190px;
  display: grid;
  place-items: center;
  font-size: 72px;
  background: linear-gradient(135deg, #fff1f7, #fffaf4);
  position: relative;
  overflow: hidden;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.product:nth-child(2) .product-img { background: linear-gradient(135deg, #fff7e6, #fff); }
.product:nth-child(3) .product-img { background: linear-gradient(135deg, #ffeaf2, #fff); }
.product:nth-child(4) .product-img { background: linear-gradient(135deg, #e9f5ff, #fff); }

.favorite {
  position: absolute;
  top: 12px; right: 12px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: white;
  display: grid;
  place-items: center;
  color: var(--pink);
  font-size: 18px;
  box-shadow: var(--shadow-sm);
  z-index: 2;
}

.badge-nuevo {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--green);
  color: white;
  font-size: 11px;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: 999px;
  z-index: 2;
}

.product-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.product h3 { font-size: 15px; margin-bottom: 4px; line-height: 1.3; }
.product .categoria { font-size: 12px; color: var(--muted); font-weight: 700; margin-bottom: 8px; }

.price { font-size: 20px; font-weight: 900; color: var(--pink); margin-bottom: 4px; }
.price-bs { font-size: 12.5px; color: var(--muted); font-weight: 700; margin-bottom: 10px; }

.sizes {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.sizes span {
  font-size: 11px;
  font-weight: 800;
  color: var(--muted);
  border: 1px solid #eee;
  padding: 4px 8px;
  border-radius: 8px;
  background: #fbfbfb;
}

.product .btn { margin-top: auto; }

/* Sin productos */
.no-products {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px;
  color: var(--muted);
  font-weight: 700;
}

/* ============================================================
   INFO GRID (pagos + cómo comprar)
   ============================================================ */
.info-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 16px;
}

.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-md);
}

.panel h2 { font-size: 20px; margin-bottom: 16px; }

.payment-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.pay {
  border: 1px solid #eee;
  border-radius: 16px;
  min-height: 84px;
  display: grid;
  place-items: center;
  text-align: center;
  font-weight: 900;
  font-size: 12.5px;
  background: #fff;
  padding: 10px 6px;
  line-height: 1.3;
  transition: border-color .2s, box-shadow .2s;
}

.pay:hover { border-color: var(--pink); box-shadow: var(--shadow-sm); }
.pay b { display: block; font-size: 28px; margin-bottom: 4px; }

.pay-note {
  margin-top: 12px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 700;
  text-align: center;
  padding: 10px 14px;
  background: var(--green-soft);
  border-radius: 10px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.step {
  text-align: center;
  color: var(--muted);
  font-weight: 800;
  font-size: 12.5px;
  line-height: 1.3;
}

.step-icon {
  width: 54px; height: 54px;
  border-radius: 20px;
  margin: 0 auto 8px;
  background: var(--green);
  color: white;
  display: grid;
  place-items: center;
  font-size: 26px;
  box-shadow: 0 10px 22px rgba(127,189,59,.26);
}

.step:nth-child(even) .step-icon {
  background: var(--pink);
  box-shadow: 0 10px 22px rgba(239,79,145,.26);
}

/* ============================================================
   BENEFICIOS / CONFIANZA
   ============================================================ */
.benefits {
  margin: 24px 0;
  border-radius: var(--radius);
  background: linear-gradient(90deg, #f9ffe9, #fff6fb, #f9ffe9);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 22px 28px;
  gap: 18px;
  border: 1px solid rgba(127,189,59,.14);
}

.benefit { display: flex; align-items: center; gap: 14px; }

.benefit-icon {
  width: 52px; height: 52px;
  border-radius: 18px;
  background: white;
  display: grid;
  place-items: center;
  font-size: 26px;
  color: var(--pink);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.benefit h3 { color: var(--green-dark); font-size: 16px; }
.benefit p  { color: var(--muted); font-weight: 700; font-size: 13px; }

/* ============================================================
   RESEÑAS
   ============================================================ */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.review-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.review-stars { color: #f4a700; font-size: 18px; margin-bottom: 8px; }
.review-text  { color: var(--text); font-size: 14px; line-height: 1.5; margin-bottom: 12px; }
.review-autor { font-weight: 900; font-size: 13px; }
.review-lugar { color: var(--muted); font-size: 12px; font-weight: 700; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  margin: 16px 0 24px;
  border-radius: var(--radius);
  background: white;
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr 1fr 1.2fr;
  gap: 22px;
  padding: 30px 32px;
}

footer h3 { color: var(--pink); margin-bottom: 12px; font-size: 15px; }

footer p,
footer li {
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.6;
}

footer a { color: var(--muted); transition: color .2s; }
footer a:hover { color: var(--pink); }

.mini-logo strong { color: var(--green); display: block; font-size: 26px; line-height: .9; }
.mini-logo span   { color: var(--pink); display: block; font-size: 26px; font-weight: 900; line-height: .9; margin-bottom: 10px; }

.copy {
  text-align: center;
  padding: 13px;
  background: var(--pink-soft);
  color: var(--muted);
  font-weight: 800;
  font-size: 12.5px;
}

/* ============================================================
   BOTÓN FLOTANTE WHATSAPP
   ============================================================ */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 28px rgba(37,211,102,.4);
  z-index: 200;
  transition: transform .2s, box-shadow .2s;
}

.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 36px rgba(37,211,102,.5);
}

/* ============================================================
   PÁGINAS INTERNAS — CATÁLOGO
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, #fff2f7, #fffaf4);
  border-radius: var(--radius);
  padding: 36px 40px;
  margin: 20px 0 24px;
  border: 1px solid rgba(239,79,145,.08);
}

.page-hero h1 { font-size: 36px; letter-spacing: -1px; margin-bottom: 6px; }
.page-hero p   { color: var(--muted); font-weight: 700; font-size: 15px; }

/* Filtros */
.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  align-items: center;
}

.filter-select {
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 14px;
  font-family: inherit;
  font-weight: 700;
  font-size: 13.5px;
  background: white;
  color: var(--text);
  cursor: pointer;
  outline: none;
}

.filter-select:focus { border-color: var(--pink); }

/* ============================================================
   CARRITO
   ============================================================ */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 20px;
  margin: 24px 0 40px;
}

.cart-items { display: flex; flex-direction: column; gap: 14px; }

.cart-item {
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 16px;
  display: flex;
  gap: 16px;
  align-items: center;
  box-shadow: var(--shadow-sm);
}

.cart-item-img {
  width: 80px; height: 80px;
  border-radius: 14px;
  background: var(--pink-soft);
  display: grid;
  place-items: center;
  font-size: 36px;
  flex-shrink: 0;
  overflow: hidden;
}

.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; }
.cart-item-info h3 { font-size: 15px; margin-bottom: 4px; }
.cart-item-info p  { font-size: 13px; color: var(--muted); font-weight: 700; }

.qty-control {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.qty-btn {
  width: 30px; height: 30px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: white;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
  display: grid;
  place-items: center;
  line-height: 1;
}

.qty-btn:hover { background: var(--pink-soft); border-color: var(--pink); }
.qty-num { font-weight: 900; font-size: 15px; min-width: 24px; text-align: center; }

.cart-item-price { text-align: right; flex-shrink: 0; }
.cart-item-price .price { font-size: 18px; }
.cart-item-remove { color: var(--muted); font-size: 18px; cursor: pointer; margin-top: 6px; }
.cart-item-remove:hover { color: #e74c3c; }

.cart-summary {
  background: white;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
  box-shadow: var(--shadow-md);
  height: fit-content;
  position: sticky;
  top: 106px;
}

.cart-summary h2 { font-size: 20px; margin-bottom: 16px; }
.summary-row { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 14px; color: var(--muted); font-weight: 700; }
.summary-total { display: flex; justify-content: space-between; font-size: 20px; font-weight: 900; margin: 14px 0; padding-top: 14px; border-top: 1px solid var(--line); }
.summary-note { font-size: 12px; color: var(--muted); font-weight: 700; text-align: center; background: var(--green-soft); border-radius: 10px; padding: 10px 12px; margin-bottom: 14px; line-height: 1.4; }

/* ============================================================
   CHECKOUT
   ============================================================ */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 20px;
  margin: 24px 0 40px;
}

.checkout-form .panel { margin-bottom: 16px; }

.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-weight: 800; font-size: 14px; margin-bottom: 6px; }
.form-group label span { color: var(--pink); }

.form-control {
  width: 100%;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 14px;
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  outline: none;
  transition: border-color .2s;
}

.form-control:focus { border-color: var(--pink); box-shadow: 0 0 0 3px rgba(239,79,145,.08); }
textarea.form-control { height: auto; padding: 12px 14px; resize: vertical; }

.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.radio-group { display: flex; flex-direction: column; gap: 10px; }
.radio-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
  transition: border-color .2s, background .2s;
}

.radio-option:hover { border-color: var(--pink); background: var(--pink-soft); }
.radio-option input[type=radio] { accent-color: var(--pink); width: 16px; height: 16px; }
.radio-option.selected { border-color: var(--pink); background: var(--pink-soft); }

.step-indicator {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  align-items: center;
}

.step-dot {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--line);
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 13px;
  color: var(--muted);
}

.step-dot.active { background: var(--pink); color: white; }
.step-dot.done   { background: var(--green); color: white; }
.step-line { flex: 1; height: 2px; background: var(--line); border-radius: 2px; }
.step-line.done { background: var(--green); }

/* ============================================================
   CONSULTAR PEDIDO
   ============================================================ */
.progress-bar {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin: 24px 0;
  overflow-x: auto;
  padding-bottom: 8px;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 90px;
  flex: 1;
}

.progress-circle {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--line);
  display: grid;
  place-items: center;
  font-size: 17px;
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
}

.progress-step.done   .progress-circle { background: var(--green); color: white; }
.progress-step.active .progress-circle { background: var(--pink);  color: white; box-shadow: 0 0 0 4px var(--pink-soft); }

.progress-label { font-size: 11px; font-weight: 800; color: var(--muted); line-height: 1.2; }
.progress-step.done   .progress-label { color: var(--green-dark); }
.progress-step.active .progress-label { color: var(--pink); }

.progress-line {
  flex: 1;
  height: 3px;
  background: var(--line);
  margin-top: 18px;
  border-radius: 2px;
}

.progress-line.done { background: var(--green); }

/* ============================================================
   ADMIN — estilos básicos
   ============================================================ */
.admin-layout {
  display: flex;
  min-height: 100vh;
  background: #f8f9fb;
}

.admin-sidebar {
  width: 220px;
  min-width: 220px;
  flex-shrink: 0;
  background: white;
  border-right: 1px solid var(--line);
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  overflow-y: auto;
  z-index: 50;
}

.admin-sidebar .brand { padding: 16px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }

.admin-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  font-weight: 800;
  font-size: 13.5px;
  color: var(--muted);
  white-space: nowrap;
  transition: background .15s, color .15s;
}

.admin-nav a:hover, .admin-nav a.active {
  background: var(--pink-soft);
  color: var(--pink);
}

.admin-content {
  flex: 1;
  padding: 24px;
  margin-left: 220px;
  min-width: 0;
  width: calc(100% - 220px);
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.admin-header h1 { font-size: 24px; }

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.stat-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.stat-card .num { font-size: 36px; font-weight: 900; color: var(--pink); line-height: 1; }
.stat-card .lbl { font-size: 13px; font-weight: 700; color: var(--muted); margin-top: 4px; }

.table-wrap { background: white; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }

table { width: 100%; border-collapse: collapse; }
th { background: #fafafa; font-size: 13px; font-weight: 800; color: var(--muted); padding: 12px 16px; text-align: left; }
td { padding: 12px 16px; font-size: 14px; border-top: 1px solid var(--line); }
tr:hover td { background: #fafefe; }

.badge-estado {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.estado-nuevo                    { background: #e8f0ff; color: #3a5bd9; }
.estado-contactado               { background: #fff7e0; color: #b07a00; }
.estado-disponibilidad_confirmada{ background: #e8f9ef; color: #1a7a46; }
.estado-esperando_pago           { background: #fff0f5; color: #c03060; }
.estado-pago_recibido            { background: #e8f9ef; color: #1a7a46; }
.estado-preparando               { background: #f4edff; color: #6b35c0; }
.estado-enviado                  { background: #e9f5ff; color: #1a5dab; }
.estado-entregado                { background: #e8f9ef; color: #1a7a46; }
.estado-cancelado                { background: #fde8e8; color: #c03030; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1050px) {
  nav, .search-form { display: none; }
  .mobile-menu { display: grid; }
  .hero { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .categories { grid-template-columns: repeat(2, 1fr); }
  .products { grid-template-columns: repeat(2, 1fr); }
  .info-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 650px) {
  .page { width: min(100% - 20px, 1180px); }
  .navbar { height: 72px; }
  .brand-title strong, .brand-title span { font-size: 23px; }
  .logo-mark { width: 48px; height: 48px; font-size: 22px; }
  .hero-content { padding: 32px 22px; }
  .hero { border-radius: 24px; }
  h1 { font-size: 38px; }
  .categories, .products, .payment-list, .steps, .benefits, .footer-grid { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; }
  .btn { justify-content: center; }
  .reviews-grid { grid-template-columns: 1fr; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
}
