/* ---------- Layout ---------- */
.single-product .site-main,
.single-product main#content {
  max-width: 1160px;
  margin-inline: auto;
  padding: 12px 16px 110px;
}
.single-product div.product {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.single-product div.product > * { min-width: 0; }
.single-product div.product div.images,
.single-product div.product div.summary {
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
}
.single-product div.product .tl-blocks,
.single-product div.product .tl-steps,
.single-product div.product .tl-desc,
.single-product div.product .tl-final-cta,
.single-product div.product .related,
.single-product div.product .upsells { grid-column: 1 / -1; }

@media (min-width: 900px) {
  .single-product div.product {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 44px;
    align-items: start;
  }
  .single-product div.product div.images { position: sticky; top: 16px; }
}

/* ---------- Galería ---------- */
.single-product div.product div.images img {
  border-radius: var(--tl-radius);
  background: var(--tl-soft);
}
.single-product .flex-control-thumbs {
  display: flex !important;
  gap: 8px;
  margin-top: 10px !important;
  overflow-x: auto;
}
.single-product .flex-control-thumbs li { width: 68px !important; flex: 0 0 68px; float: none !important; }
.single-product .flex-control-thumbs img { border-radius: 10px; border: 2px solid transparent; opacity: .65; }
.single-product .flex-control-thumbs img.flex-active { border-color: var(--tl-brand); opacity: 1; }
.single-product span.onsale { display: none; }

/* ---------- Título y precio ---------- */
.single-product .product_title {
  font-size: clamp(24px, 5.6vw, 34px);
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -.025em;
  margin: 0 0 10px;
}
.tl-price-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tl-price { font-size: 34px; font-weight: 900; letter-spacing: -.02em; }
.tl-compare { color: var(--tl-muted); font-size: 18px; }
.tl-off, .tl-pill {
  font-weight: 800; font-size: 12px; padding: 5px 10px; border-radius: 999px;
  text-transform: uppercase; letter-spacing: .03em;
}
.tl-off { background: var(--tl-hot); color: #fff; }
.tl-pill { background: #dcfce7; color: var(--tl-brand-dark); }
.tl-trust-mini {
  list-style: none; margin: 12px 0 14px; padding: 0;
  display: grid; gap: 6px; font-size: 15px; font-weight: 600; color: #334155;
}
.tl-stock {
  margin: 0 0 14px; font-size: 14px; font-weight: 600; color: #9a3412;
  background: #fff7ed; border: 1px solid #fed7aa; border-radius: 12px; padding: 10px 12px;
}
.tl-oos { font-weight: 800; color: #b91c1c; }

/* ---------- Ofertas ---------- */
.tl-offers { border: 0; padding: 0; margin: 0 0 18px; display: grid; gap: 12px; }
.tl-offers legend { font-weight: 900; font-size: 18px; margin-bottom: 10px; padding: 0; }
.tl-offer {
  position: relative;
  display: flex; align-items: center; gap: 12px;
  border: 2px solid var(--tl-line); border-radius: var(--tl-radius);
  padding: 16px 14px; cursor: pointer; background: #fff; margin: 0;
  transition: border-color .15s, background-color .15s, box-shadow .15s, transform .1s;
}
.tl-offer:hover { border-color: #86efac; }
.tl-offer input { position: absolute; opacity: 0; pointer-events: none; }
.tl-offer-radio {
  flex: 0 0 22px; height: 22px; border-radius: 50%;
  border: 2px solid #cbd5e1; display: grid; place-items: center; background: #fff;
}
.tl-offer.is-checked,
.tl-offer:has(input:checked) {
  border-color: var(--tl-brand); background: #f0fdf4;
  box-shadow: 0 0 0 4px rgba(22, 163, 74, .14);
}
.tl-offer.is-checked .tl-offer-radio,
.tl-offer:has(input:checked) .tl-offer-radio { border-color: var(--tl-brand); background: var(--tl-brand); }
.tl-offer.is-checked .tl-offer-radio::after,
.tl-offer:has(input:checked) .tl-offer-radio::after {
  content: "✓"; color: #fff; font-size: 13px; font-weight: 900; line-height: 1;
}
.tl-offer:has(input:focus-visible) { outline: 3px solid #93c5fd; outline-offset: 2px; }
.tl-offer-main { flex: 1; display: grid; gap: 3px; }
.tl-offer-title { font-weight: 900; font-size: 17px; }
.tl-offer-save {
  justify-self: start; background: var(--tl-hot); color: #fff; font-weight: 800; font-size: 12px;
  padding: 3px 8px; border-radius: 6px;
}
.tl-offer-sub { color: var(--tl-muted); font-size: 13px; }
.tl-offer-price { text-align: right; display: grid; line-height: 1.2; }
.tl-offer-price strong { font-size: 20px; font-weight: 900; }
.tl-offer-price del { color: var(--tl-muted); font-size: 13px; }
.tl-offer-price small { color: var(--tl-brand-dark); font-size: 12px; font-weight: 700; }
.tl-badge {
  position: absolute; top: -12px; right: 14px;
  background: var(--tl-accent); color: #111; font-size: 11px; font-weight: 900;
  text-transform: uppercase; letter-spacing: .04em;
  padding: 4px 10px; border-radius: 999px; box-shadow: 0 2px 6px rgba(0, 0, 0, .12);
}
.tl-badge--best { background: var(--tl-ink); color: #fff; }

/* ---------- Formulario ---------- */
.tl-fields {
  border: 2px dashed #cbd5e1; border-radius: var(--tl-radius);
  padding: 16px; background: var(--tl-soft); display: grid; gap: 10px;
}
.tl-form-title { font-weight: 900; margin: 0 0 2px; font-size: 17px; }
.tl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 380px) { .tl-grid { grid-template-columns: 1fr; } }
.tl-field { display: grid; gap: 4px; font-size: 13px; font-weight: 700; color: #334155; margin: 0; }
.tl-buybox .tl-field input,
.tl-buybox .tl-field select {
  width: 100%; min-height: 48px; font-size: 16px; /* 16px evita zoom en iPhone */
  padding: 10px 12px; border: 1px solid #cbd5e1 !important; border-radius: 10px !important;
  background: #fff !important; color: var(--tl-ink); font-family: inherit; box-sizing: border-box;
}
.tl-buybox .tl-field input:focus,
.tl-buybox .tl-field select:focus { outline: none; border-color: var(--tl-brand) !important; box-shadow: 0 0 0 3px rgba(22, 163, 74, .18); }
.tl-buybox .tl-field.has-error input,
.tl-buybox .tl-field.has-error select { border-color: #dc2626 !important; box-shadow: 0 0 0 3px rgba(220, 38, 38, .12); }
.tl-hp { position: absolute !important; left: -9999px !important; height: 0; width: 0; }

.tl-summary {
  margin: 14px 0 12px; display: grid; gap: 6px; font-size: 15px;
  background: #fff; border: 1px solid var(--tl-line); border-radius: 12px; padding: 12px 14px;
}
.tl-summary > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.tl-summary-total { border-top: 1px dashed var(--tl-line); padding-top: 8px; font-weight: 800; }
.tl-summary-total strong { font-size: 26px; font-weight: 900; }
.tl-green { color: var(--tl-brand); font-weight: 900; }
.tl-error {
  color: #b91c1c; background: #fef2f2; border: 1px solid #fecaca;
  border-radius: 10px; padding: 10px 12px; font-size: 14px; font-weight: 600; margin: 0 0 10px;
}
.tl-secure { text-align: center; font-size: 13px; color: var(--tl-muted); margin: 10px 0 0; }

/* ---------- Botón principal (con prioridad sobre el tema) ---------- */
.tl-buybox button.tl-cta,
body a.tl-cta,
body button.tl-cta {
  position: relative; overflow: hidden;
  width: 100%; display: grid !important; place-items: center; gap: 2px;
  background: linear-gradient(180deg, var(--tl-brand-2) 0%, var(--tl-brand) 100%) !important;
  color: #fff !important;
  border: 0 !important; border-bottom: 4px solid var(--tl-brand-dark) !important;
  border-radius: var(--tl-radius) !important;
  padding: 16px 18px !important; margin: 0;
  cursor: pointer; text-decoration: none !important; text-transform: none;
  box-shadow: 0 10px 24px rgba(22, 163, 74, .38);
  animation: tl-pulse 2.2s ease-in-out infinite;
  font-family: inherit; line-height: 1.2;
}
.tl-buybox button.tl-cta:hover,
.tl-buybox button.tl-cta:focus,
body a.tl-cta:hover,
body a.tl-cta:focus,
body button.tl-cta:hover,
body button.tl-cta:focus {
  background: linear-gradient(180deg, var(--tl-brand) 0%, var(--tl-brand-dark) 100%) !important;
  color: #fff !important;
  outline: none;
}
body .tl-cta:focus-visible { box-shadow: 0 0 0 4px #bbf7d0, 0 10px 24px rgba(22, 163, 74, .38); }
body .tl-cta:active { transform: translateY(2px); border-bottom-width: 2px !important; }
body .tl-cta span { color: #fff !important; position: relative; z-index: 1; }
body .tl-cta::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent);
  transform: skewX(-20deg); animation: tl-shine 3s ease-in-out infinite;
}
body .tl-cta[disabled] { opacity: .75; cursor: wait; animation: none; }
.tl-cta-main { font-size: 19px; font-weight: 900; letter-spacing: .02em; }
.tl-cta-sub { font-size: 13px; font-weight: 600; opacity: .95; }
@keyframes tl-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.02); } }
@keyframes tl-shine { 0% { left: -60%; } 60%, 100% { left: 130%; } }
@media (prefers-reduced-motion: reduce) { body .tl-cta, body .tl-cta::after { animation: none; } }

/* ---------- Garantías ---------- */
.tl-guarantees {
  list-style: none; padding: 0; margin: 18px 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
}
.tl-guarantees li {
  border: 1px solid var(--tl-line); border-radius: 12px; padding: 12px 6px;
  text-align: center; display: grid; gap: 2px; justify-items: center;
}
.tl-guarantees li span { font-size: 22px; }
.tl-guarantees strong { font-size: 13px; }
.tl-guarantees small { font-size: 11px; color: var(--tl-muted); }
.tl-short { color: #334155; font-size: 15px; line-height: 1.65; }

/* ---------- Bloques de imagen ---------- */
.tl-blocks { display: grid; gap: 28px; margin-top: 16px; }
.tl-block { display: grid; gap: 16px; align-items: center; }
.tl-block-media { margin: 0; }
.tl-block-media img { width: 100%; height: auto; display: block; border-radius: var(--tl-radius); }
.tl-block-body { text-align: center; }
.tl-block-body h2 { font-size: clamp(22px, 5vw, 30px); font-weight: 900; line-height: 1.2; letter-spacing: -.02em; margin: 0 0 10px; }
.tl-block-body p { font-size: 16px; line-height: 1.65; color: #334155; margin: 0 0 16px; }
body a.tl-cta--inline { max-width: 320px; margin-inline: auto; }
@media (min-width: 900px) {
  .tl-block { grid-template-columns: 1fr 1fr; gap: 48px; }
  .tl-block.is-reverse .tl-block-media { order: 2; }
  .tl-block-body { text-align: left; }
  body a.tl-cta--inline { margin-inline: 0; }
}

/* ---------- Pasos ---------- */
.tl-steps { margin-top: 28px; }
.tl-steps h2 { font-size: clamp(22px, 5vw, 28px); font-weight: 900; text-align: center; margin: 0 0 16px; }
.tl-steps ol {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.tl-steps li {
  background: var(--tl-soft); border: 1px solid var(--tl-line); border-radius: var(--tl-radius); padding: 18px 12px;
  text-align: center; display: grid; gap: 4px; justify-items: center;
}
.tl-steps li span {
  width: 36px; height: 36px; border-radius: 50%; background: var(--tl-brand); color: #fff;
  display: grid; place-items: center; font-weight: 900;
}
.tl-steps small { color: var(--tl-muted); font-size: 13px; line-height: 1.4; }
@media (max-width: 560px) {
  .tl-steps ol { grid-template-columns: 1fr; }
  .tl-steps li { grid-template-columns: 36px 1fr; text-align: left; justify-items: start; column-gap: 12px; }
  .tl-steps li span { grid-row: span 2; }
}

/* ---------- Descripción ---------- */
.tl-desc { max-width: 760px; margin: 28px auto 0; font-size: 16px; line-height: 1.7; color: #334155; }
.tl-desc h3 { color: var(--tl-ink); font-size: 22px; font-weight: 900; line-height: 1.3; margin: 32px 0 12px; letter-spacing: -.01em; }
.tl-desc ul { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 10px; }
.tl-desc ul li { position: relative; padding-left: 32px; }
.tl-desc ul li::before {
  content: "✓"; position: absolute; left: 0; top: 2px;
  width: 22px; height: 22px; border-radius: 50%; background: var(--tl-brand); color: #fff;
  font-size: 12px; font-weight: 900; display: grid; place-items: center;
}
.tl-desc ol { padding-left: 22px; display: grid; gap: 6px; }
.tl-desc img { border-radius: var(--tl-radius); height: auto; max-width: 100%; }
.tl-desc table { width: 100%; font-size: 14px; border-radius: 12px; overflow: hidden; }
.tl-desc table td { vertical-align: top; }
.tl-desc table tr:nth-child(odd) td { background: var(--tl-soft); }
.tl-desc details { border: 1px solid var(--tl-line); border-radius: 12px; padding: 0 16px; margin-bottom: 10px; background: #fff; }
.tl-desc summary { cursor: pointer; padding: 16px 28px 16px 0; list-style: none; position: relative; color: var(--tl-ink); font-weight: 700; }
.tl-desc summary::-webkit-details-marker { display: none; }
.tl-desc summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--tl-brand); font-weight: 800; }
.tl-desc details[open] summary::after { content: "–"; }
.tl-desc details p { margin: 0 0 16px; }

/* ---------- CTA final ---------- */
.tl-final-cta {
  max-width: 760px; margin: 36px auto 8px; text-align: center;
  background: var(--tl-ink); color: #fff; border-radius: var(--tl-radius); padding: 28px 18px;
}
.tl-final-title { font-size: 24px; font-weight: 900; margin: 0 0 6px; }
.tl-final-cta p { margin: 0 0 16px; color: #cbd5e1; }
body a.tl-cta--link { max-width: 380px; margin-inline: auto; }

/* ---------- Relacionados ---------- */
.single-product .related > h2 { font-size: 22px; font-weight: 900; text-align: center; margin-top: 36px; }
.single-product .related ul.products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 900px) { .single-product .related ul.products { grid-template-columns: repeat(4, 1fr); } }
.single-product .related ul.products::before,
.single-product .related ul.products::after { display: none; }
.single-product .related ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; }

/* ---------- Barra fija en celular ---------- */
.tl-sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 999;
  display: flex; align-items: center; gap: 12px;
  background: #fff; border-top: 1px solid var(--tl-line);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  box-shadow: 0 -8px 24px rgba(15, 23, 42, .1);
  transform: translateY(110%); transition: transform .25s ease;
}
.tl-sticky.is-visible { transform: translateY(0); }
.tl-sticky-info { flex: 1; display: grid; min-width: 0; font-size: 12px; color: var(--tl-muted); }
.tl-sticky-info strong { color: var(--tl-ink); font-size: 20px; font-weight: 900; }
body a.tl-cta--sm { width: auto; padding: 12px 20px !important; animation: none; }
body a.tl-cta--sm .tl-cta-main { font-size: 15px; }
@media (min-width: 900px) { .tl-sticky { display: none; } }

/* ---------- Complementos (order bump) ---------- */
.tl-bumps {
  border: 2px dashed var(--tl-accent); border-radius: var(--tl-radius);
  background: #fffbeb; padding: 14px; margin: 16px 0 0; display: grid; gap: 10px;
}
.tl-bumps legend { font-weight: 900; font-size: 17px; padding: 0 6px; }
.tl-bumps-sub { margin: -4px 0 2px; font-size: 13px; color: #92400e; font-weight: 600; }
.tl-bump {
  position: relative; display: flex; align-items: center; gap: 12px; margin: 0;
  background: #fff; border: 2px solid #fde68a; border-radius: 12px; padding: 10px 12px;
  cursor: pointer; transition: border-color .15s, box-shadow .15s, background-color .15s;
}
.tl-bump:hover { border-color: var(--tl-accent); }
.tl-bump input { position: absolute; opacity: 0; pointer-events: none; }
.tl-bump-check {
  flex: 0 0 24px; height: 24px; border-radius: 6px; border: 2px solid #d6a23a; background: #fff;
  display: grid; place-items: center;
}
.tl-bump.is-checked,
.tl-bump:has(input:checked) { border-color: var(--tl-brand); background: #f0fdf4; box-shadow: 0 0 0 3px rgba(22, 163, 74, .14); }
.tl-bump.is-checked .tl-bump-check,
.tl-bump:has(input:checked) .tl-bump-check { background: var(--tl-brand); border-color: var(--tl-brand); }
.tl-bump.is-checked .tl-bump-check::after,
.tl-bump:has(input:checked) .tl-bump-check::after { content: "✓"; color: #fff; font-weight: 900; font-size: 15px; line-height: 1; }
.tl-bump:has(input:focus-visible) { outline: 3px solid #93c5fd; outline-offset: 2px; }
.tl-buybox img.tl-bump-img {
  flex: 0 0 60px; width: 60px !important; height: 60px !important; object-fit: cover;
  border-radius: 10px; background: var(--tl-soft); margin: 0;
}
.tl-bump-text { flex: 1; display: grid; gap: 2px; font-size: 14px; line-height: 1.3; min-width: 0; }
.tl-bump-title strong { font-weight: 800; }
.tl-bump-price { color: #334155; }
.tl-bump-price strong { color: var(--tl-brand-dark); font-size: 16px; font-weight: 900; }
.tl-bump-price del { color: var(--tl-muted); font-size: 12px; margin-left: 4px; }
.tl-summary > div[hidden] { display: none; }

/* ===== v1.4: página visual ===== */
.single-product div.product .tl-visual,
.single-product div.product .tl-more { grid-column: 1 / -1; }

/* Confianza en chips con ícono */
.tl-buybox .tl-trust-mini {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 0 16px;
}
.tl-buybox .tl-trust-mini li {
  display: grid; justify-items: center; gap: 4px; text-align: center;
  background: var(--tl-soft); border: 1px solid var(--tl-line); border-radius: 12px;
  padding: 10px 6px; font-size: 12px; font-weight: 700; line-height: 1.25; color: var(--tl-ink);
}
.tl-buybox .tl-trust-mini li span { font-size: 22px; line-height: 1; }

/* Imágenes apiladas estilo landing */
.tl-visual {
  max-width: 680px; width: 100%; margin: 20px auto 0;
  display: grid; gap: 0;
}
.tl-visual-item { margin: 0; }
.tl-visual-item img { display: block; width: 100%; height: auto; }
.tl-visual-item:first-child img { border-radius: var(--tl-radius) var(--tl-radius) 0 0; }
.tl-visual-item:last-of-type img { border-radius: 0 0 var(--tl-radius) var(--tl-radius); }
.tl-visual-item figcaption {
  display: grid; gap: 2px; text-align: center; padding: 12px 16px 16px; background: #fff;
}
.tl-visual-item figcaption strong { font-size: 20px; font-weight: 900; letter-spacing: -.01em; }
.tl-visual-item figcaption span { font-size: 15px; color: var(--tl-muted); }
body .tl-visual a.tl-cta--inline { max-width: none; margin: 14px 0; border-radius: var(--tl-radius) !important; }

/* Descripción escondida (se mantiene para SEO) */
.tl-more {
  max-width: 760px; width: 100%; margin: 24px auto 0;
  border: 1px solid var(--tl-line); border-radius: var(--tl-radius); background: #fff;
}
.tl-more > summary {
  cursor: pointer; list-style: none; padding: 16px 44px 16px 16px; position: relative;
  font-weight: 800; font-size: 16px;
}
.tl-more > summary::-webkit-details-marker { display: none; }
.tl-more > summary::after {
  content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  font-size: 24px; color: var(--tl-brand); font-weight: 800;
}
.tl-more[open] > summary::after { content: "–"; }
.tl-more .tl-desc { margin: 0; padding: 0 16px 16px; }

/* ===== v1.5: descripción visible y visual ===== */
.tl-desc--open { max-width: 760px; margin: 28px auto 0; }
.tl-desc-intro {
  background: linear-gradient(135deg, #f0fdf4, #eff6ff); border: 1px solid #bbf7d0;
  border-radius: var(--tl-radius); padding: 18px 18px 4px; font-size: 17px; color: var(--tl-ink);
}
.tl-desc--open h3 {
  position: relative; padding-left: 14px; margin-top: 30px;
}
.tl-desc--open h3::before {
  content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 5px;
  border-radius: 4px; background: linear-gradient(180deg, var(--tl-brand-2), var(--tl-brand));
}
.tl-desc--open ol { list-style: none; padding: 0; counter-reset: tlstep; display: grid; gap: 10px; }
.tl-desc--open ol li {
  counter-increment: tlstep; position: relative; padding: 12px 14px 12px 54px;
  background: var(--tl-soft); border: 1px solid var(--tl-line); border-radius: 12px;
}
.tl-desc--open ol li::before {
  content: counter(tlstep); position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border-radius: 50%; background: var(--tl-brand); color: #fff;
  display: grid; place-items: center; font-weight: 900;
}
.tl-desc--open small { color: var(--tl-muted); font-size: 12px; }


/* ===== v1.6: diseño Historia ===== */
.single-product div.product .tl-story,
.single-product div.product .tl-video,
.single-product div.product .tl-order { grid-column: 1 / -1; }
.tl-hero-kicker { margin: 0 0 6px; font-size: 13px; font-weight: 800; color: var(--tl-brand-dark); text-transform: uppercase; letter-spacing: .05em; }
.single-product .tl-hero-title { font-size: clamp(26px, 6.4vw, 38px); line-height: 1.12; margin-bottom: 12px; }
.tl-hero-sub { font-size: 17px; line-height: 1.55; color: #334155; margin: 0 0 14px; }
.tl-hero-bullets { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; }
.tl-hero-bullets li { position: relative; padding-left: 32px; font-weight: 700; font-size: 16px; }
.tl-hero-bullets li::before {
  content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%;
  background: var(--tl-brand); color: #fff; font-size: 13px; font-weight: 900; display: grid; place-items: center;
}
.tl-hero-offer {
  display: grid; gap: 4px; text-align: center; margin: 0 0 14px; padding: 14px 12px;
  background: #fffbeb; border: 2px dashed var(--tl-accent); border-radius: var(--tl-radius);
}
.tl-hero-offer-main { font-size: clamp(20px, 5vw, 26px); font-weight: 900; letter-spacing: -.01em; }
.tl-hero-offer-sub { font-size: 13px; font-weight: 700; color: #92400e; }

.tl-story { max-width: 760px; }
.tl-story h2 { font-size: clamp(24px, 5.6vw, 32px); font-weight: 900; line-height: 1.15; letter-spacing: -.02em; color: var(--tl-ink); margin: 40px 0 12px; text-align: center; }
.tl-story p { font-size: 17px; }
.tl-story .tl-lead { font-size: 20px; font-weight: 800; color: var(--tl-ink); text-align: center; }
.tl-story img { display: block; width: 100%; height: auto; border-radius: var(--tl-radius); margin: 18px 0; }
.tl-cta-wrap { margin: 20px 0; }
body .tl-story a.tl-cta--inline { max-width: none; }

.tl-vs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0; }
.tl-vs-col { border-radius: var(--tl-radius); padding: 14px; }
.tl-vs-col h4 { margin: 0 0 10px; font-size: 16px; font-weight: 900; text-align: center; }
.tl-vs-bad { background: #fef2f2; border: 1px solid #fecaca; }
.tl-vs-good { background: #f0fdf4; border: 2px solid var(--tl-brand); }
.tl-desc .tl-vs ul { gap: 6px; margin: 0; }
.tl-desc .tl-vs li { font-size: 15px; }
.tl-desc .tl-vs-bad li::before { content: "✕"; background: #fecaca; color: #b91c1c; }
.tl-vs-foot { text-align: center; font-weight: 800; color: var(--tl-ink); }
@media (max-width: 380px) { .tl-vs { grid-template-columns: 1fr; } }

.tl-offerbox {
  margin: 24px 0; padding: 20px 16px; text-align: center; border-radius: var(--tl-radius);
  background: var(--tl-ink); color: #fff;
}
.tl-offerbox-title { font-size: clamp(20px, 5vw, 26px); font-weight: 900; margin: 0 0 6px; color: #fff; }
.tl-offerbox-title strong { color: #4ade80; }
.tl-offerbox-was { margin: 0 0 12px; color: #cbd5e1; font-size: 15px; }
.tl-offerbox-was span { display: inline-block; margin-left: 6px; background: var(--tl-hot); color: #fff; font-weight: 800; font-size: 13px; padding: 3px 8px; border-radius: 6px; }
.tl-desc .tl-offerbox-list { text-align: left; max-width: 300px; margin: 0 auto 16px; color: #fff; }
.tl-desc .tl-offerbox-list li::before { background: #4ade80; color: var(--tl-ink); }

.tl-video { max-width: 520px; width: 100%; margin: 32px auto 0; text-align: center; }
.tl-video h2 { font-size: 24px; font-weight: 900; margin: 0 0 12px; }
.tl-video video { width: 100%; border-radius: var(--tl-radius); background: #000; }
.tl-order {
  max-width: 560px; width: 100%; margin: 36px auto 0; padding: 20px 16px;
  border: 2px solid var(--tl-brand); border-radius: 20px; background: #fff;
  box-shadow: 0 16px 40px rgba(22, 163, 74, .12); box-sizing: border-box;
}
.tl-order-title { text-align: center; font-size: 24px; font-weight: 900; margin: 0 0 14px; }


/* ===== v1.8: selector de variación (color, talla…) ===== */
.tl-variants { border: 0; padding: 0; margin: 0 0 18px; }
.tl-variants legend { font-weight: 900; font-size: 16px; margin-bottom: 10px; padding: 0; }
.tl-variant-current { font-weight: 600; color: var(--tl-muted); }
.tl-variant-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tl-variant {
  position: relative; display: inline-flex; align-items: center; gap: 8px; margin: 0;
  padding: 9px 14px 9px 10px; border: 2px solid var(--tl-line); border-radius: 999px;
  background: #fff; cursor: pointer; font-size: 14px; font-weight: 700; line-height: 1;
  transition: border-color .15s, box-shadow .15s;
}
.tl-variant input { position: absolute; opacity: 0; pointer-events: none; }
.tl-variant:hover { border-color: #94a3b8; }
.tl-variant:has(input:checked),
.tl-variant.is-checked { border-color: var(--tl-brand); box-shadow: 0 0 0 3px rgba(22, 163, 74, .15); }
.tl-variant:has(input:focus-visible) { outline: 3px solid #93c5fd; outline-offset: 2px; }
.tl-variant-dot { width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .15); flex: 0 0 22px; }
.tl-variant.is-out { opacity: .45; cursor: not-allowed; text-decoration: line-through; }
.tl-variant.is-out small { text-decoration: none; font-weight: 600; color: var(--tl-muted); }
body.tl-premium .tl-variant { border-width: 1px; border-radius: 6px; }
body.tl-premium .tl-variant:has(input:checked),
body.tl-premium .tl-variant.is-checked { border: 2px solid #111; box-shadow: none; }
body.tl-premium .tl-variants legend { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }


/* ===== v1.9: una opción por unidad ===== */
.tl-unit { padding: 10px 0; border-top: 1px dashed var(--tl-line); }
.tl-unit:first-of-type { border-top: 0; padding-top: 0; }
.tl-unit[hidden] { display: none; }
.tl-unit-head { margin: 0 0 8px; font-size: 14px; }
.tl-unit-head .tl-variant-current { font-weight: 600; color: var(--tl-muted); }
.tl-variant.has-dot { padding: 4px; border-radius: 50%; gap: 0; }
.tl-variant.has-dot .tl-variant-dot { width: 30px; height: 30px; flex-basis: 30px; }
.tl-variant.has-dot .tl-variant-name {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.tl-variant.has-dot.is-out::after {
  content: ""; position: absolute; left: 50%; top: 4px; bottom: 4px; width: 2px; background: #dc2626; transform: rotate(45deg);
}
body.tl-premium .tl-variant.has-dot { border-radius: 50%; }

/* v1.9.1: colores debajo de las ofertas */
.tl-variants { background: var(--tl-soft); border: 1px solid var(--tl-line); border-radius: var(--tl-radius); padding: 14px 14px 6px; margin: 0 0 16px; }
.tl-variants legend { float: left; width: 100%; margin-bottom: 10px; }
.tl-variants legend + * { clear: both; }

/* v1.10.1: destello al llegar a las ofertas */
.tl-offers { scroll-margin-top: 12px; }
.tl-offers.tl-flash { animation: tl-flash 1.6s ease-out 1; border-radius: var(--tl-radius); }
@keyframes tl-flash {
  0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, .55); }
  40% { box-shadow: 0 0 0 10px rgba(22, 163, 74, .18); }
  100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}
body.tl-premium .tl-offers.tl-flash { animation-name: tl-flash-dark; }
@keyframes tl-flash-dark {
  0% { box-shadow: 0 0 0 0 rgba(0, 0, 0, .35); }
  40% { box-shadow: 0 0 0 10px rgba(0, 0, 0, .08); }
  100% { box-shadow: 0 0 0 0 rgba(0, 0, 0, 0); }
}


/* ===== v1.11: modelos en la misma página ===== */
.tl-model-img { flex: 0 0 56px; width: 56px; height: 56px; object-fit: cover; border-radius: 10px; background: var(--tl-soft); }
.tl-model.is-out { opacity: .5; cursor: not-allowed; }
.tl-model .tl-offer-main { min-width: 0; }
.tl-model-now { color: #b91c1c; font-weight: 700; }
body.tl-premium .tl-model-now { color: #111; }


/* ===== v1.14: complementos con cantidad y opción ===== */
.tl-bump { display: grid; gap: 0; padding: 0; cursor: default; }
.tl-bump-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; cursor: pointer; margin: 0; }
.tl-bump .tl-bump-opts input, .tl-bump .tl-bump-opts select { position: static; opacity: 1; pointer-events: auto; }
.tl-bump-opts {
  display: none; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 12px 12px; border-top: 1px dashed var(--tl-line);
}
.tl-bump.is-checked .tl-bump-opts,
.tl-bump:has(input[type="checkbox"]:checked) .tl-bump-opts { display: flex; }
.tl-bump-var { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; margin: 0; }
.tl-bump-var select {
  height: 38px; padding: 0 10px; border: 1px solid #cbd5e1 !important; border-radius: 10px !important;
  background: #fff !important; font: inherit; font-weight: 600; color: var(--tl-ink);
}
.tl-qty { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; }
.tl-qty-label { font-size: 13px; font-weight: 700; margin-right: 4px; }
.tl-buybox .tl-qty-btn {
  width: 36px; height: 36px; padding: 0 !important; border-radius: 50% !important;
  border: 1px solid var(--tl-line) !important; background: #fff !important; color: var(--tl-ink) !important;
  font-size: 20px; font-weight: 800; line-height: 1; cursor: pointer; display: grid; place-items: center;
}
.tl-buybox .tl-qty-btn:hover { border-color: var(--tl-ink) !important; }
.tl-buybox .tl-qty input {
  width: 44px; height: 36px; text-align: center; font-weight: 800; font-size: 16px; padding: 0 !important;
  border: 1px solid var(--tl-line) !important; border-radius: 10px !important; -moz-appearance: textfield;
}
.tl-qty input::-webkit-outer-spin-button, .tl-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.tl-bump-more { display: grid; gap: 10px; }
.tl-bump-more[hidden] { display: none; }
.tl-buybox .tl-bump-toggle {
  background: none !important; border: 0 !important; padding: 6px !important; color: var(--tl-ink) !important;
  font-weight: 800; font-size: 14px; text-decoration: underline; cursor: pointer; justify-self: center;
}
