/* Plantilla Tecno (18-oct-2026) — colores de la paleta (tema DaisyUI) y letra propia. Generado desde una base común. */
:root {
  --tc-bg: var(--color-base-200); --tc-ink: var(--color-base-content); --tc-card: var(--color-base-100);
  --tc-muted: color-mix(in srgb, var(--color-base-content) 60%, var(--color-base-100));
  --tc-line: var(--color-base-300); --tc-photo: var(--color-base-100);
  --tc-display: "Sora", ui-sans-serif, system-ui, sans-serif; --tc-body: "Sora", ui-sans-serif, system-ui, sans-serif;
}
:root body { background: var(--tc-bg); color: var(--tc-ink); font-family: var(--tc-body); }
.tc { max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.tc-icon { width: 42px; height: 42px; display: grid; place-items: center; border: 0; background: none; color: inherit; font-size: 1.3rem; cursor: pointer; text-decoration: none; flex: none; }
.tc-search { display: flex; align-items: center; gap: 10px; position: relative; min-width: 0; }
.tc-search input { flex: 1; min-width: 0; font: 500 1rem var(--tc-body); color: var(--tc-ink); outline: none; }
.tc-search button { flex: none; border: 0; cursor: pointer; font: 700 0.92rem var(--tc-body); }
.tc-grid-wrap { padding: 26px 0 44px; scroll-margin-top: 140px; }
.tc-grid-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 14px; margin-bottom: 18px; }
.tc-grid-head h1 { font-family: var(--tc-display); text-wrap: balance; min-width: 0; }
.tc-grid-tools { display: flex; align-items: center; gap: 12px; color: var(--tc-muted); font-size: 0.85rem; }
.tc-grid-tools a { color: var(--tc-ink); font-weight: 600; }
.tc-grid-tools select { border: 1px solid var(--tc-line); background: var(--color-base-100); color: var(--tc-ink); border-radius: 8px; padding: 7px 10px; font: 500 0.85rem var(--tc-body); }
.tc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 760px) { .tc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1080px) { .tc-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tc-card { position: relative; min-width: 0; display: grid; align-content: start; gap: 8px; }
.tc-card-img { position: relative; display: block; aspect-ratio: 1; background: var(--tc-photo); overflow: hidden; }
.tc-card-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.tc-fav { position: absolute; top: 8px; right: 8px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: color-mix(in srgb, var(--color-base-100) 88%, transparent); color: var(--color-base-content); display: grid; place-items: center; cursor: pointer; z-index: 2; }
.tc-fav[aria-pressed="true"] { color: var(--color-error); }
.tc-card-body { display: grid; gap: 3px; min-width: 0; }
.tc-card-name { color: inherit; text-decoration: none; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tc-card-price { font-variant-numeric: tabular-nums; white-space: nowrap; }
.tc-add { cursor: pointer; font: 600 0.84rem var(--tc-body); }
.tc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; text-decoration: none; font: 700 0.92rem var(--tc-body); border: 0; cursor: pointer; background: var(--color-primary); color: var(--color-primary-content); }
.tc-btn.ghost { background: transparent; color: var(--tc-ink); box-shadow: inset 0 0 0 1px var(--tc-line); }
.tc-pages { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 34px; color: var(--tc-muted); font-size: 0.86rem; flex-wrap: wrap; }
.tc-empty { padding: 60px 0; display: grid; justify-items: center; gap: 14px; text-align: center; color: var(--tc-muted); }
.tc-foot { margin-top: 30px; }
.tc-foot-in { max-width: 1240px; margin: 0 auto; padding: 40px 16px 28px; display: grid; gap: 16px; justify-items: start; }
.tc-foot-name { font-family: var(--tc-display); line-height: 0.95; overflow-wrap: anywhere; }
.tc-foot-row { display: flex; flex-wrap: wrap; gap: 10px 20px; font-size: 0.92rem; }
.tc-foot-row a, .tc-foot-row span { color: inherit; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.tc-foot-small { font-size: 0.8rem; opacity: 0.7; }
.tc a:focus-visible, .tc button:focus-visible, .tc-head a:focus-visible, .tc-head button:focus-visible, .tc-search input:focus-visible, .tc-foot a:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

.tc-head { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--color-base-200) 82%, transparent); backdrop-filter: blur(14px); }
.tc-head-row { max-width: 1240px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; padding: 10px 12px; }
.tc-brand { display: flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; min-width: 0; flex: 1; }
.tc-brand img { width: 32px; height: 32px; border-radius: 9px; object-fit: cover; flex: none; }
.tc-brand span { font: 700 1.08rem var(--tc-display); letter-spacing: -0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tc-search { order: 3; flex-basis: 100%; background: var(--color-base-100); border-radius: 999px; padding: 0 16px; }
@media (min-width: 900px) { .tc-search { order: 0; flex: 0 1 420px; flex-basis: auto; } }
.tc-search i { color: var(--tc-muted); }
.tc-search input { border: 0; background: transparent; padding: 11px 0; font-size: 0.95rem; }
.tc-hero { padding: 28px 0 6px; }
.tc-hero-name { font: 800 clamp(2.2rem, 8vw, 4.4rem)/1 var(--tc-display); letter-spacing: -0.045em; overflow-wrap: anywhere; }
.tc-hero-sub { color: var(--tc-muted); font-size: 1.05rem; margin-top: 8px; }
.tc-rail { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 20px 0 10px; scrollbar-width: none; }
.tc-rail::-webkit-scrollbar { display: none; }
.tc-slide { flex: 0 0 min(74vw, 300px); scroll-snap-align: start; display: grid; grid-template-rows: auto auto 1fr; gap: 4px; padding: 20px; min-height: 340px; border-radius: 26px; background: var(--color-base-100); color: inherit; text-decoration: none; }
.tc-slide-name { font: 700 1.15rem/1.2 var(--tc-display); letter-spacing: -0.02em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tc-slide-price { color: var(--tc-muted); font-size: 0.95rem; }
.tc-slide img { width: 100%; height: 100%; max-height: 220px; object-fit: contain; align-self: end; }
.tc-grid-head h1 { font-size: clamp(1.4rem, 4vw, 2rem); font-weight: 800; letter-spacing: -0.04em; }
.tc-card { background: var(--color-base-100); border-radius: 22px; padding: 14px 14px 14px; }
.tc-card-img { background: transparent; }
.tc-fav { top: 12px; right: 12px; background: var(--color-base-200); }
.tc-card-name { font-weight: 600; font-size: 0.92rem; letter-spacing: -0.01em; padding-right: 44px; }
.tc-card-price { color: var(--tc-muted); font-size: 0.9rem; }
.tc-add-plus { position: absolute; right: 12px; bottom: 12px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--color-primary); color: var(--color-primary-content); display: grid; place-items: center; font-size: 1.05rem; }
.tc-add-plus.is-added { background: var(--color-success); color: var(--color-success-content); }
.tc-btn { border-radius: 999px; }
.tc-foot-name { font-size: clamp(1.8rem, 6vw, 3rem); font-weight: 800; letter-spacing: -0.045em; }
.tc-foot { border-top: 1px solid var(--tc-line); }

/* Ficha de producto y páginas internas: títulos con la letra de la plantilla */
:root body main h1, :root body main h2, .jc-ad-t { font-family: var(--tc-display); }
