.t-hero { padding: 140px 0 34px; position: relative; overflow: hidden; }
.t-hero::before { content: ""; position: absolute; right: -10%; top: -20%; width: 60%; height: 120%; background: radial-gradient(closest-side, rgba(235, 207, 37, 0.14), transparent 70%); pointer-events: none; }
.t-hero .wrap { position: relative; }
.t-title { font-size: clamp(60px, 9vw, 140px); margin: 16px 0 16px; line-height: 0.86; }
.t-title span { color: var(--yellow); display: inline-block; }
.t-lead { color: #cfccc2; max-width: 620px; font-size: 18px; margin-bottom: 28px; }
.search { position: relative; max-width: 640px; }
.search svg { position: absolute; left: 20px; top: 50%; width: 22px; height: 22px; transform: translateY(-50%); color: var(--muted); pointer-events: none; transition: color 0.2s; }
.search input { width: 100%; height: 62px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--carbon); padding: 0 56px 0 56px; font-size: 18px; transition: border-color 0.25s, box-shadow 0.25s; }
.search input::-webkit-search-cancel-button { display: none; }
.search input:focus { outline: none; border-color: var(--yellow); box-shadow: 0 0 0 5px rgba(235, 207, 37, 0.16); }
.search:focus-within svg { color: var(--yellow); }
.search-clear { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--carbon-2); font-size: 22px; line-height: 1; cursor: pointer; }
.search-clear[hidden] { display: none; }
.cats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; position: relative; }
.cat { position: relative; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; cursor: pointer; font-weight: 600; font-size: 15px; z-index: 1; transition: color 0.25s, border-color 0.25s; }
.cat small { color: var(--muted); font-weight: 500; margin-left: 4px; transition: color 0.25s; }
.cat[aria-selected="true"] { color: var(--on-yellow); border-color: var(--yellow); background: var(--yellow); }
.cat[aria-selected="true"] small { color: rgba(23, 20, 0, 0.6); }

.t-body { display: grid; grid-template-columns: 240px 1fr; gap: 36px; padding-bottom: 80px; align-items: start; }
.filters { position: sticky; top: 96px; display: grid; gap: 22px; }
.filters-btn { display: none; }
.f-group { border: 0; margin: 0; padding: 0 0 18px; border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px; }
.f-group legend { font: 700 20px/1 var(--display); text-transform: uppercase; margin-bottom: 12px; padding: 0; width: 100%; float: left; }
.f-hint { width: 100%; font-size: 13px; color: var(--muted); margin-top: 4px; }
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.chip span { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 13px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14.5px; font-weight: 500; transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--ease); }
.chip span em { font-style: normal; color: var(--muted); font-size: 12.5px; }
.chip input:checked + span { background: var(--yellow); border-color: var(--yellow); color: var(--on-yellow); }
.chip input:checked + span em { color: rgba(23, 20, 0, 0.6); }
.chip input:focus-visible + span { outline: 2px solid var(--yellow); outline-offset: 2px; }
.chip input:active + span { transform: scale(0.95); }
.chip.is-zero span { opacity: 0.55; border-style: dashed; }
.f-reset { justify-self: start; background: none; border: 0; color: var(--yellow); font-weight: 600; cursor: pointer; padding: 6px 0; text-decoration: underline; text-underline-offset: 4px; }

.results-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
#r-count { color: var(--muted); }
#r-count strong { color: var(--text); }
.sort select { height: 44px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--carbon); padding: 0 16px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.card { position: relative; display: flex; flex-direction: column; text-align: left; padding: 0; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--carbon); cursor: pointer; transition: border-color 0.3s, transform 0.45s var(--ease), box-shadow 0.45s; }
.card:hover { border-color: rgba(235, 207, 37, 0.7); transform: translateY(-6px); box-shadow: 0 22px 50px rgba(0, 0, 0, 0.4); }
.card-media { position: relative; aspect-ratio: 4 / 3; background: #050505; overflow: hidden; }
.card-media.claro { background: #ecebe8; }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: transform 0.7s var(--ease), opacity 0.45s; }
.card-media.cover img { object-fit: cover; }
.card-media img.alt { opacity: 0; }
.card:hover .card-media img.main { transform: scale(1.06); }
.card:hover .card-media img.alt { opacity: 1; transform: scale(1.06); }
.card-tag { position: absolute; z-index: 2; top: 12px; left: 12px; background: var(--yellow); color: var(--on-yellow); font-size: 12px; font-weight: 600; padding: 6px 10px; border-radius: 999px; letter-spacing: 0.02em; }
.card-tag.oferta { background: #fff; color: #111; }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-meta { font-size: 12.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; }
.card-name { font: 700 26px/1 var(--display); text-transform: uppercase; }
.card-colors { display: flex; gap: 6px; font-size: 13px; color: var(--muted); }
.card-price { margin-top: auto; padding-top: 10px; display: flex; align-items: baseline; gap: 10px; font: 700 26px/1 var(--display); }
.card-price s { font: 500 15px/1 var(--body); color: var(--muted); }
.card-go { position: absolute; right: 16px; bottom: 16px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--carbon-2); border: 1px solid var(--line-2); transition: background 0.3s, color 0.3s, transform 0.4s var(--ease); }
.card:hover .card-go { background: var(--yellow); color: var(--on-yellow); transform: rotate(-45deg); }
.card-go svg { width: 18px; height: 18px; }

.empty { padding: 48px 32px; border: 1.5px dashed var(--line-2); border-radius: 20px; text-align: center; }
.empty h2 { font-size: 44px; margin-bottom: 12px; }
.empty p { color: #cfccc2; max-width: 460px; margin: 0 auto 22px; }
.noscript { padding: 26px; border: 1px solid var(--line); border-radius: 16px; }
.noscript h2 { font-size: 36px; margin-bottom: 12px; }
.noscript p { color: #cfccc2; margin-bottom: 10px; }
.noscript a { color: var(--yellow); }
html.js .noscript { display: none; }

.t-visit { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 34px 36px; margin-bottom: 80px; border-radius: 22px; background: var(--yellow); color: var(--on-yellow); }
.t-visit h2 { font-size: clamp(34px, 4vw, 54px); margin-bottom: 8px; }
.t-visit p { max-width: 640px; }
.t-visit .btn { --bg: var(--ink); --fg: var(--text); }
.t-visit .btn::after { background: #333; }

/* Ficha */
.ficha .modal-box { width: min(1080px, 100%); max-height: min(900px, calc(100dvh - 40px)); }
.ficha-crumb { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; }
.ficha-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 30px; }
.gal-main { position: relative; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: #050505; }
.gal-main.claro { background: #ecebe8; }
.gal-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.gal-main.cover img { object-fit: cover; }
.gal-thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.gal-thumbs button { width: 74px; height: 56px; border-radius: 9px; overflow: hidden; border: 2px solid transparent; padding: 0; background: #050505; cursor: pointer; opacity: 0.7; transition: opacity 0.2s, border-color 0.2s; }
.gal-thumbs button.claro { background: #ecebe8; }
.gal-thumbs button[aria-pressed="true"] { border-color: var(--yellow); opacity: 1; }
.gal-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.f-marca { color: var(--yellow); font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; font-size: 13px; }
.f-name { font-size: clamp(40px, 4.4vw, 62px); margin: 8px 0 12px; }
.f-price { display: flex; align-items: baseline; gap: 12px; font: 700 40px/1 var(--display); margin-bottom: 6px; }
.f-price s { font: 500 17px/1 var(--body); color: var(--muted); }
.f-tax { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.f-lead { font-size: 18px; color: #e2dfd6; margin-bottom: 18px; }
.f-label { font-weight: 600; font-size: 14px; margin: 16px 0 8px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.swatches, .sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.swatches button, .sizes button { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; cursor: pointer; font-weight: 500; font-size: 14.5px; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.swatches button[aria-pressed="true"], .sizes button[aria-pressed="true"] { background: var(--text); color: var(--ink); border-color: var(--text); }
.f-note { font-size: 14.5px; color: #cfccc2; padding: 12px 14px; border-radius: 12px; background: var(--carbon-2); border: 1px solid var(--line); margin-top: 14px; }
.f-note a { color: var(--yellow); }
.f-puntos { list-style: none; padding: 0; margin: 20px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.f-puntos li { padding: 12px 14px; border-radius: 12px; background: var(--carbon-2); font-size: 14.5px; border-left: 3px solid var(--yellow); }
.f-desc p { color: #cfccc2; margin-bottom: 12px; }
.f-desc h3 { font-size: 22px; margin: 22px 0 10px; }
@media (max-width: 860px) {
  .ficha-grid { grid-template-columns: 1fr; gap: 20px; }
  .ficha.modal { padding: 0; align-items: end; }
  .ficha .modal-box { border-radius: 20px 20px 0 0; max-height: 94dvh; }
  .f-puntos { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .t-body { grid-template-columns: 1fr; gap: 16px; }
  .filters-btn { display: inline-flex; justify-self: start; }
  .filters { position: static; display: none; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--carbon); }
  .filters.is-open { display: grid; }
}
@media (max-width: 560px) {
  .t-hero { padding-top: 110px; }
  .grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .card-body { padding: 12px 12px 14px; }
  .card-name { font-size: 20px; }
  .card-price { font-size: 21px; flex-wrap: wrap; gap: 4px 8px; }
  .card-go { display: none; }
  .card-colors { display: none; }
  .t-visit { padding: 26px 22px; }
  .cats { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding: 0 16px 4px; scrollbar-width: none; }
  .cat { flex: none; }
}
