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

.vt-head { position: sticky; top: 0; z-index: 30; background: var(--color-base-100); border-bottom: 1px solid var(--vt-line); }
.vt-head-row { max-width: 1600px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 8px 12px; }
.vt-brand { display: flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; min-width: 0; flex: 1; }
.vt-brand img { width: 30px; height: 30px; object-fit: cover; border-radius: 4px; flex: none; }
.vt-brand span { font: 800 1.15rem var(--vt-display); letter-spacing: -0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vt-search { order: 3; flex-basis: 100%; border: 1px solid var(--vt-line); padding: 0 12px; }
@media (min-width: 900px) { .vt-search { order: 0; flex: 0 1 460px; flex-basis: auto; } }
.vt-search i { color: var(--vt-muted); }
.vt-search input { border: 0; background: transparent; padding: 9px 0; font-size: 0.92rem; }
.vt-cats { max-width: 1600px; margin: 0 auto; display: flex; gap: 18px; overflow-x: auto; padding: 4px 14px 10px; scrollbar-width: none; }
.vt-cats::-webkit-scrollbar { display: none; }
.vt-cats a { flex: none; color: var(--vt-muted); text-decoration: none; font-weight: 600; font-size: 0.88rem; }
.vt-cats a:hover { color: var(--vt-ink); }
.vt { padding: 0; }
.vt-grid-wrap { padding: 14px 0 40px; }
.vt-grid-head { padding: 0 12px; margin-bottom: 12px; }
.vt-grid-head h1 { font-size: 1.15rem; font-weight: 800; letter-spacing: -0.02em; }
.vt-grid { background: var(--vt-line); border-top: 1px solid var(--vt-line); border-bottom: 1px solid var(--vt-line); }
.vt-card { background: var(--color-base-100); padding-bottom: 12px; gap: 6px; }
.vt-card-body { padding: 0 10px; }
.vt-card-name { font-size: 0.84rem; font-weight: 600; }
.vt-card-price { font-size: 0.84rem; color: var(--vt-muted); }
.vt-add { justify-self: start; margin: 0 10px; background: none; border: 0; padding: 0; color: var(--vt-ink); font-size: 0.8rem; text-decoration: underline; text-underline-offset: 3px; }
.vt-pages, .vt-empty { padding-left: 12px; padding-right: 12px; }
.vt-btn { border-radius: 0; }
.vt-foot-name { font-size: clamp(1.8rem, 6vw, 3rem); font-weight: 800; letter-spacing: -0.04em; }
.vt-foot { border-top: 1px solid var(--vt-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(--vt-display); }
