/* ============================================================
   PILAR GARIJO — Bonos y tarjetas regalo (tienda/index.html)
   Se apoya en css/home.css (variables, botones, cabeceras de sección, pie).
   ============================================================ */

/* ---------- Hero ---------- */
.bn-hero { padding: 56px 0 40px; }
.bn-hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.bn-hero .eyebrow { display: inline-block; margin-bottom: 20px; font-size: clamp(15px, 1.6vw, 18px); font-weight: 600; letter-spacing: .14em; }
.bn-hero h1 { font-size: clamp(42px, 5.6vw, 76px); margin-bottom: 22px; }
.bn-hero h1 .it { font-style: italic; }
.bn-hero .lead { font-size: clamp(18px, 1.9vw, 21px); color: var(--ink-soft); max-width: 36ch; margin-bottom: 30px; }
.bn-hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* Tarjeta regalo dibujada (decorativa) */
.bn-visual { position: relative; height: 360px; }
.bn-giftcard {
  position: absolute; width: min(400px, 92%); aspect-ratio: 1.586 / 1; border-radius: 22px;
  padding: 26px 28px; display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: var(--shadow-lg);
}
.bn-giftcard img { height: 44px; width: auto; align-self: flex-start; }
.bn-giftcard .gc-t { font-family: var(--label); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; }
.bn-giftcard .gc-n { font-family: var(--serif); font-style: italic; font-size: 30px; line-height: 1.1; }
.bn-giftcard--back { right: 0; top: 0; transform: rotate(6deg); background: color-mix(in srgb, var(--accent) 30%, var(--surface)); border: 1px solid var(--line); }
.bn-giftcard--front {
  left: 0; bottom: 0; transform: rotate(-4deg); color: var(--deep-ink);
  background:
    radial-gradient(420px 200px at 90% 0%, rgba(154,123,60,.45), transparent 70%),
    linear-gradient(135deg, #2E2208, var(--deep));
}
.bn-giftcard--front .gc-t { color: color-mix(in srgb, var(--accent) 80%, #fff); }
.bn-giftcard--front .gc-n { color: #fff; }
.bn-giftcard .gc-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.bn-giftcard .gc-lazo { width: 44px; height: 44px; flex: none; color: color-mix(in srgb, var(--accent) 85%, #fff); }

/* ---------- Pasos ---------- */
.bn-pasos { padding: 24px 0 80px; }
.bn-pasos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.bn-paso { display: flex; gap: 16px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 20px 22px; }
.bn-paso .num {
  width: 38px; height: 38px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: color-mix(in srgb, var(--accent) 20%, var(--surface)); color: var(--ink);
  font-family: var(--serif); font-size: 18px;
}
.bn-paso b { display: block; font-size: 16.5px; color: var(--ink); margin-bottom: 2px; }
.bn-paso p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.5; }

/* ---------- Productos ---------- */
.bn-seccion { padding: 0 0 88px; scroll-margin-top: 90px; }
.bn-seccion .section-head { margin-bottom: 40px; }
/* auto-fill: con 4 productos salen 4 columnas; si se añaden 1 o 2 tarjetas, bajan a la fila siguiente */
.bn-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px; }
.bn-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.bn-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.bn-card .top { min-height: 136px; padding: 20px 22px 18px; background: color-mix(in srgb, var(--accent) 12%, var(--surface)); border-bottom: 1px solid var(--line); }
.bn-card--regalo .top { background: linear-gradient(135deg, #2E2208, var(--deep)); border-bottom: none; color: var(--deep-ink); }
.bn-card .tipo { font-family: var(--label); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.bn-card--regalo .tipo { color: color-mix(in srgb, var(--accent) 80%, #fff); }
.bn-card h3 { font-size: 26px; margin-top: 6px; }
.bn-card--regalo h3 { color: #fff; }
.bn-card .con { display: block; font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--ink-soft); margin-top: 2px; }
.bn-card--regalo .con { color: color-mix(in srgb, var(--deep-ink) 80%, transparent); }
.bn-card .body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.bn-valido {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 7px;
  font-size: 13.5px; font-weight: 700; color: var(--ink);
  background: color-mix(in srgb, var(--wa) 10%, var(--surface)); border: 1px solid color-mix(in srgb, var(--wa) 30%, var(--line));
  padding: 6px 12px; border-radius: 999px;
}
.bn-valido svg { width: 15px; height: 15px; stroke: var(--wa-d); flex: none; }
.bn-precio { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.bn-precio .n { font-family: var(--serif); font-size: 44px; line-height: 1; color: var(--ink); }
.bn-precio .s { font-size: 14px; color: var(--ink-soft); }
.bn-nota { font-size: 14px; color: var(--ink-soft); line-height: 1.45; }
.bn-card .btn { margin-top: auto; width: 100%; }

/* ---------- Condiciones ---------- */
.bn-cond { padding: 0 0 88px; }
.bn-cond-card { background: var(--deep); color: var(--deep-ink); border-radius: 28px; padding: 52px 56px; }
.bn-cond-card .eyebrow { color: color-mix(in srgb, var(--accent) 75%, #fff); display: inline-block; margin-bottom: 14px; }
.bn-cond-card h2 { color: #fff; font-size: clamp(30px, 3.4vw, 44px); margin-bottom: 30px; }
.bn-cond-card h2 .it { font-style: italic; color: color-mix(in srgb, var(--accent) 75%, #fff); }
.bn-cond-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 40px; }
.bn-cond-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 16px; line-height: 1.5; color: color-mix(in srgb, var(--deep-ink) 82%, transparent); }
.bn-cond-list li b { color: #fff; }
.bn-cond-list .ic {
  width: 34px; height: 34px; border-radius: 10px; flex: none; display: grid; place-items: center;
  background: color-mix(in srgb, #fff 8%, transparent); border: 1px solid color-mix(in srgb, #fff 14%, transparent);
}
.bn-cond-list .ic svg { width: 17px; height: 17px; stroke: color-mix(in srgb, var(--accent) 80%, #fff); }

/* ---------- Reservar después de comprar ---------- */
.bn-reserva { padding: 0 0 96px; }
.bn-reserva .cta-actions .btn { min-width: 210px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .bn-hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .bn-visual { height: 300px; max-width: 460px; }
  .bn-pasos-grid { grid-template-columns: 1fr; }
  .bn-cond-list { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .bn-hero { padding: 30px 0 24px; }
  .bn-hero h1 { font-size: clamp(36px, 10vw, 46px); }
  .bn-hero-cta .btn { flex: 1; padding: 14px 16px; }
  .bn-visual { display: none; }  /* en móvil, los productos antes: la mayoría llega desde Instagram/WhatsApp */
  .bn-giftcard { width: 78%; padding: 18px 20px; border-radius: 16px; }
  .bn-giftcard img { height: 38px; }
  .bn-giftcard .gc-n { font-size: 22px; }
  .bn-giftcard .gc-lazo { width: 32px; height: 32px; }
  .bn-pasos { padding: 8px 0 60px; }
  .bn-seccion { padding-bottom: 64px; }
  .bn-grid { grid-template-columns: 1fr; gap: 16px; }
  .bn-card .top { min-height: 0; }
  .bn-precio .n { font-size: 40px; }
  .bn-cond-card { padding: 36px 22px; border-radius: 22px; }
  .bn-cond { padding-bottom: 64px; }
  .bn-reserva .cta-actions { flex-direction: column; width: 100%; }
  .bn-reserva .cta-actions .btn { width: 100%; }
}
