:root {
  --tl-ink: #0f172a;
  --tl-muted: #64748b;
  --tl-line: #e2e8f0;
  --tl-soft: #f8fafc;
  --tl-brand: #16a34a;
  --tl-brand-2: #22c55e;
  --tl-brand-dark: #15803d;
  --tl-accent: #f59e0b;
  --tl-hot: #ef4444;
  --tl-radius: 16px;
  --tl-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
  font-family: var(--tl-font);
  color: var(--tl-ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

/* Barra de anuncio */
.tl-announce {
  background: var(--tl-ink);
  color: #fff;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  padding: 9px 16px;
}
.tl-announce strong { color: #4ade80; }
.tl-sep { opacity: .5; margin: 0 6px; }

/* Cabecera de Hello Elementor */
.site-header {
  border-bottom: 1px solid var(--tl-line);
  padding-block: 12px !important;
}
.site-header .site-title,
.site-header .site-title a {
  font-size: 24px;
  font-weight: 900;
  color: var(--tl-ink) !important;
  letter-spacing: -.03em;
  text-decoration: none;
  margin: 0;
}
.site-header .site-description { display: none; }

/* ---------- Botones (gana al estilo del tema) ---------- */
a.tl-btn,
button.tl-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 12px 22px !important;
  border-radius: 999px !important;
  font-weight: 800 !important;
  font-size: 16px !important;
  text-decoration: none !important;
  border: 2px solid transparent !important;
  transition: transform .12s, box-shadow .12s, background-color .12s;
  cursor: pointer;
}
a.tl-btn--primary,
a.tl-btn--primary:hover,
a.tl-btn--primary:focus,
a.tl-btn--primary:visited {
  background: linear-gradient(180deg, var(--tl-brand-2), var(--tl-brand)) !important;
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(22, 163, 74, .35);
}
a.tl-btn--primary:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(22, 163, 74, .45); }
a.tl-btn--ghost,
a.tl-btn--ghost:visited {
  background: #fff !important;
  color: var(--tl-ink) !important;
  border-color: var(--tl-ink) !important;
}
a.tl-btn--ghost:hover { background: var(--tl-ink) !important; color: #fff !important; }
.tl-btn--block { width: 100%; }

/* ---------- WhatsApp flotante ---------- */
.tl-wa {
  position: fixed; right: 16px; bottom: 16px; z-index: 998;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; display: grid; place-items: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .2);
}
.single-product .tl-wa { bottom: 92px; }
@media (min-width: 900px) { .single-product .tl-wa { bottom: 16px; } }

/* ---------- Tarjetas de productos (tienda y categorías) ---------- */
.woocommerce ul.products li.product {
  border: 1px solid var(--tl-line);
  border-radius: var(--tl-radius);
  padding: 10px 10px 14px !important;
  background: #fff;
  text-align: left;
}
.woocommerce ul.products li.product img { border-radius: 12px; margin-bottom: 10px !important; }
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 15px !important; font-weight: 700; color: var(--tl-ink); line-height: 1.3; padding: 0 !important;
}
.woocommerce ul.products li.product .price { color: var(--tl-ink) !important; font-weight: 800; font-size: 18px !important; }
.woocommerce ul.products li.product .button {
  display: block; width: 100%; text-align: center; margin-top: 8px !important;
  background: var(--tl-brand) !important; color: #fff !important; border: 0 !important;
  border-radius: 999px !important; font-weight: 800; padding: 12px !important;
}
.woocommerce ul.products li.product .button:hover { background: var(--tl-brand-dark) !important; }
.woocommerce span.onsale { background: var(--tl-hot) !important; border-radius: 999px !important; min-height: 0 !important; line-height: 1 !important; padding: 6px 10px !important; }


/* ===== v1.12: encabezado y pie propios ===== */
.tl-own-chrome .site-header,
.tl-own-chrome .site-footer { display: none !important; }
.tl-head { background: #fff; border-bottom: 1px solid var(--tl-line); }
.tl-head-in {
  max-width: 1200px; margin: 0 auto; padding: 12px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.tl-logo { display: inline-flex; line-height: 0; }
.tl-logo img { height: 36px; width: auto; display: block; }
.tl-nav { display: flex; gap: 6px; }
.tl-nav a {
  color: var(--tl-ink); text-decoration: none; font-weight: 700; font-size: 15px;
  padding: 8px 12px; border-radius: 999px;
}
.tl-nav a:hover { background: var(--tl-soft); }
@media (max-width: 480px) { .tl-logo img { height: 30px; } .tl-nav a { padding: 8px 10px; font-size: 14px; } }

.tl-foot { background: var(--tl-ink); color: #cbd5e1; margin-top: 56px; padding: 40px 16px 24px; font-size: 14px; }
.tl-foot-in {
  max-width: 1200px; margin: 0 auto; display: grid; gap: 28px;
  grid-template-columns: 1.4fr 1fr 1fr;
}
@media (max-width: 760px) { .tl-foot-in { grid-template-columns: 1fr; } }
.tl-foot-brand img { height: 36px; width: auto; display: block; margin-bottom: 12px; }
.tl-foot-brand p { margin: 0; max-width: 32ch; line-height: 1.6; }
.tl-foot-col { display: grid; gap: 8px; align-content: start; }
.tl-foot-col strong { color: #fff; font-size: 15px; margin-bottom: 2px; }
.tl-foot a { color: #e2e8f0; text-decoration: none; }
.tl-foot a:hover { color: #fff; text-decoration: underline; }
.tl-foot-copy { max-width: 1200px; margin: 28px auto 0; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 12px; opacity: .8; }
.tl-foot--min { background: var(--tl-soft); color: var(--tl-muted); text-align: center; padding: 24px 16px 110px; margin-top: 40px; }
.tl-foot--min a { color: var(--tl-ink); }
.tl-foot--min .tl-foot-copy { border-top: 0; margin-top: 10px; padding-top: 0; }
.tl-foot-trust { margin: 0 0 10px; font-weight: 600; }
.tl-foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; }
@media (min-width: 900px) { .tl-foot--min { padding-bottom: 24px; } }

/* ===== v1.13: páginas legales legibles ===== */
.page .entry-content h2 { font-size: 22px; margin: 32px 0 10px; }
.page .entry-content p, .page .entry-content li { line-height: 1.7; }
.page .entry-content ul, .page .entry-content ol { padding-left: 22px; }
