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

.jy-head { position: sticky; top: 0; z-index: 30; background: var(--color-base-100); border-bottom: 1px solid var(--jy-line); }
.jy-head-row { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 42px 1fr 42px; align-items: center; padding: 10px 14px 2px; }
.jy-brand { justify-self: center; color: inherit; text-decoration: none; font: 600 clamp(1.5rem, 4.4vw, 2.1rem)/1 var(--jy-display); letter-spacing: 0.04em; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 70vw; }
.jy-brand img { max-height: 46px; max-width: 170px; object-fit: contain; display: block; }
.jy-search { max-width: 520px; margin: 0 auto; padding: 6px 16px 12px; }
.jy-search i { color: var(--jy-muted); }
.jy-search input { border: 0; border-bottom: 1px solid var(--jy-line); background: transparent; padding: 8px 0; text-align: center; font-weight: 400; letter-spacing: 0.02em; border-radius: 0; }
.jy-hero { padding: 40px 0 10px; display: grid; justify-items: center; gap: 30px; text-align: center; }
.jy-hero-name { font: 500 clamp(2.6rem, 10vw, 5.2rem)/0.95 var(--jy-display); font-style: italic; letter-spacing: -0.01em; text-wrap: balance; overflow-wrap: anywhere; }
.jy-arches { display: grid; gap: 14px; width: 100%; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; }
.jy-arches-1 { grid-template-columns: minmax(0, 340px); justify-content: center; }
.jy-arches-2 { grid-template-columns: repeat(2, minmax(0, 260px)); justify-content: center; }
.jy-arch { display: grid; gap: 10px; color: inherit; text-decoration: none; min-width: 0; }
.jy-arch span { display: block; aspect-ratio: 3 / 4; border-radius: 999px 999px 0 0; overflow: hidden; background: var(--jy-photo); }
.jy-arches-3 .jy-arch:nth-child(2) span { aspect-ratio: 3 / 4.6; }
.jy-arch img { width: 100%; height: 100%; object-fit: cover; display: block; }
.jy-arch em { font: italic 500 1.05rem var(--jy-display); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jy-grid-head { justify-content: center; text-align: center; flex-direction: column; align-items: center; }
.jy-grid-head h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); font-weight: 500; font-style: italic; }
.jy-card { text-align: center; justify-items: center; }
.jy-card-img { width: 100%; border-radius: 999px 999px 0 0; }
.jy-fav { top: 14px; right: 14px; }
.jy-card-name { font: 500 1.2rem/1.2 var(--jy-display); }
.jy-card-price { color: var(--color-primary); font-weight: 500; letter-spacing: 0.04em; font-size: 0.95rem; }
.jy-add { background: none; border: 0; color: var(--jy-ink); letter-spacing: 0.08em; font-size: 0.78rem; padding: 4px 0; border-bottom: 1px solid currentColor; }
.jy-btn { background: transparent; color: var(--color-primary); box-shadow: inset 0 0 0 1px var(--color-primary); letter-spacing: 0.06em; font-weight: 500; }
.jy-foot { border-top: 1px solid var(--jy-line); text-align: center; }
.jy-foot-in { justify-items: center; }
.jy-foot-name { font-size: clamp(2.2rem, 8vw, 4rem); font-weight: 500; font-style: italic; }

/* 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(--jy-display); }

/* Joya y Deporte: el nombre del producto con más presencia */
:root body main h1 { font-weight: 500; font-style: italic; letter-spacing: 0; }
