/* =========================================================
   ORIGEN · Components
   Sólo se incluyen los componentes que usa la landing
   (botones, badges, tarjeta de producto, iconos).
   ========================================================= */

/* Cualquier disparador de "toast" (enlaces sin href) muestra cursor de mano. */
[data-toast] { cursor: pointer; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  font-family: var(--font-body); font-weight: 600; font-size: 16px; line-height: 1;
  padding: 14px 22px; border-radius: var(--r-md); border: var(--bw) solid transparent;
  white-space: nowrap; transition: background .18s ease, color .18s ease, box-shadow .18s ease, border-color .18s ease, transform .06s ease;
  text-decoration: none;
}
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: none; box-shadow: var(--e-foco); }
.btn .ico { width: 18px; height: 18px; }

.btn--primary { background: var(--bosque); color: var(--crema); }
.btn--primary:hover { background: var(--bosque-hondo); }

.btn--secondary { background: transparent; color: var(--bosque); border-color: var(--linea-fuerte); }
.btn--secondary:hover { border-color: var(--bosque); background: var(--hueso); }

.btn--lima { background: var(--lima); color: var(--bosque-tinta); }
.btn--lima:hover { background: var(--lima-hondo); }

.btn--sm { padding: 9px 14px; font-size: 14px; border-radius: var(--r-sm); }
.btn--lg { padding: 17px 28px; font-size: 18px; }
.btn--block { display: flex; width: 100%; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }

/* Botón secundario sobre fondo verde oscuro (CTA "Soy Productor"). */
.btn--on-dark { color: var(--crema); border-color: rgba(246,241,231,.4); }

/* ---------- Badges ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; font-weight: 500;
  padding: 5px 9px; border-radius: var(--r-sm); line-height: 1;
}
.badge .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge--organico { background: var(--bien-superficie); color: var(--bien); }
.badge--vegano   { background: var(--lima-suave); color: var(--lima-hondo); }
.badge--bolivia  { background: var(--arena); color: var(--piedra); }
.badge--keto     { background: var(--info-superficie); color: var(--info); }
.badge--gluten   { background: var(--terracota-suave); color: var(--terracota-hondo); }

/* ---------- Tarjeta de producto ---------- */
.producto { background: var(--hueso); border: var(--bw) solid var(--linea); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--e1); transition: box-shadow .2s, transform .2s; }
.producto:hover { box-shadow: var(--e3); transform: translateY(-2px); }
.producto .foto { position: relative; aspect-ratio: 1; background: var(--arena);
  background-image: repeating-linear-gradient(135deg, rgba(0,0,0,.025) 0 10px, transparent 10px 20px); display: grid; place-items: center; }
.producto .foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.producto .foto .badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; }
.producto .fav { position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; border-radius: 50%; background: rgba(252,249,242,.9); border: none; display: grid; place-items: center; color: var(--piedra); box-shadow: var(--e1); }
.producto .fav .ico { width: 17px; height: 17px; }
.producto .cuerpo { padding: 14px 14px 16px; }
.producto .prov { font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em; color: var(--niebla); text-transform: uppercase; }
.producto h4 { font-family: var(--font-head); font-weight: 600; font-size: 18px; line-height: 1.2; margin: 6px 0 10px; letter-spacing: -.01em; }
.producto .precio { display: flex; align-items: baseline; gap: 8px; }
.producto .precio .now { font-weight: 700; font-size: 18px; font-family: var(--font-mono); }
.producto .precio .was { font-size: 14px; color: var(--niebla); text-decoration: line-through; font-family: var(--font-mono); }
.producto .sub { margin-top: 10px; display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--bien); font-weight: 600; }
.producto .sub .ico { width: 14px; height: 14px; }   /* stroke = currentColor = --bien */

/* ---------- Iconos ---------- */
.ico { width: 20px; height: 20px; display: inline-block; vertical-align: middle; stroke: currentColor; stroke-width: 1.6; fill: none; stroke-linecap: round; stroke-linejoin: round; }
