[hidden] { display: none !important; }
:root {
  --bg: #f3eee4;
  --paper: #fffdf8;
  --ink: #141312;
  --ink-2: #3a3733;
  --muted: #7a7268;
  --line: #e2dacb;
  --accent: #d6322b;
  --accent-ink: #fff;
  --pitch: #123f2f;
  --amber: #c07a00;
  --amber-bg: #fdf1d8;
  --wa: #1fae55;
  --wa-dark: #178a43;
  --radius: 14px;
  --shadow: 0 1px 2px rgb(20 19 18 / 6%), 0 8px 24px -12px rgb(20 19 18 / 25%);
  --display: "Anton", "Impact", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 15px/1.5 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 999px; padding: 11px 18px;
  font-weight: 600; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background .15s ease, opacity .15s;
}
.btn:active { transform: scale(.97); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-dark); }
.btn-dark { background: var(--ink); color: var(--bg); }
.btn-dark:hover { background: var(--ink-2); }
.btn-ghost { background: transparent; border: 1.5px solid var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-danger { background: transparent; color: var(--accent); border: 1.5px solid color-mix(in srgb, var(--accent) 35%, transparent); }
.btn-danger:hover { background: var(--accent); color: #fff; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn-lg { padding: 15px 22px; font-size: 16px; }
.btn-sm { padding: 7px 12px; font-size: 13px; }

/* ---------- Cabecera ---------- */
.topbar {
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in srgb, var(--ink) 94%, transparent);
  backdrop-filter: blur(10px);
  color: var(--bg);
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 12px; }
.logo { display: flex; align-items: baseline; gap: 2px; text-decoration: none; letter-spacing: .02em; }
.logo b { font: 400 26px/1 var(--display); color: var(--bg); }
.logo span { font: 400 26px/1 var(--display); color: var(--accent); }
.topbar .btn { padding: 8px 14px; font-size: 14px; }

.hero {
  background: var(--ink); color: var(--bg);
  padding: 44px 0 56px; position: relative; overflow: hidden;
}
.hero::after { /* rayas de campo */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(90deg, transparent 0 60px, rgb(255 255 255 / 2.5%) 60px 120px);
}
.hero .wrap { position: relative; z-index: 1; }
.kicker {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink); background: var(--bg); padding: 5px 10px; border-radius: 4px;
}
.hero h1 {
  font: 400 clamp(44px, 9vw, 104px)/.92 var(--display);
  text-transform: uppercase; margin: 18px 0 16px; letter-spacing: .005em;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p { max-width: 520px; margin: 0 0 24px; color: #cfc8bb; font-size: 17px; }
.hero-stats { display: flex; gap: 28px; margin-top: 30px; flex-wrap: wrap; }
.hero-stats div { font-size: 13px; color: #a69f93; text-transform: uppercase; letter-spacing: .08em; }
.hero-stats strong { display: block; font: 400 34px/1 var(--display); color: var(--bg); letter-spacing: .02em; }

/* ---------- Filtros ---------- */
.filters {
  position: sticky; top: 60px; z-index: 20;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.filters .wrap { display: flex; gap: 10px; align-items: center; padding: 8px 0 12px; flex-wrap: wrap; }
.search {
  flex: 1 1 220px; display: flex; align-items: center; gap: 8px;
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 999px; padding: 0 14px;
}
.search:focus-within { border-color: var(--ink); }
.search svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.search input { border: 0; outline: 0; background: none; padding: 10px 0; width: 100%; min-width: 0; }
.ligas {
  width: 100%; display: flex; gap: 22px; overflow-x: auto; scrollbar-width: none;
  border-bottom: 1px solid var(--line); margin-bottom: 2px;
}
.ligas::-webkit-scrollbar { display: none; }
.liga {
  flex: none; background: none; border: 0; cursor: pointer; padding: 6px 0 10px; position: relative;
  font: 400 19px/1 var(--display); text-transform: uppercase; letter-spacing: .03em; color: var(--muted);
}
.liga sup { font: 700 11px/1 var(--body); margin-left: 3px; vertical-align: 7px; letter-spacing: 0; }
.liga:hover { color: var(--ink); }
.liga[aria-pressed="true"] { color: var(--ink); }
.liga[aria-pressed="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--accent); border-radius: 3px 3px 0 0; }
.filter-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.chips { display: flex; gap: 6px; }
@media (max-width: 560px) {
  .filters { position: static; }
  .filters .wrap { gap: 8px; padding: 6px 0 12px; }
  .ligas { width: calc(100% + 32px); margin-inline: -16px; padding-inline: 16px; gap: 18px; }
  .filter-row {
    flex-wrap: nowrap; overflow-x: auto; width: calc(100% + 32px); margin-inline: -16px; padding-inline: 16px;
    scrollbar-width: none;
  }
  .filter-row::-webkit-scrollbar { display: none; }
  .filter-row > * { flex: none; }
  .search input { padding: 8px 0; }
}
.chip {
  border: 1.5px solid var(--line); background: var(--paper); border-radius: 999px;
  padding: 8px 14px; font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap;
}
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.select {
  appearance: none; border: 1.5px solid var(--line); background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23141312' stroke-width='1.8' fill='none'/%3E%3C/svg%3E") no-repeat right 14px center;
  border-radius: 999px; padding: 8px 36px 8px 14px; font-size: 14px; font-weight: 600; cursor: pointer; max-width: 100%;
}
.toggle { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; cursor: pointer; user-select: none; white-space: nowrap; }
.toggle input { appearance: none; width: 36px; height: 20px; border-radius: 999px; background: var(--line); position: relative; cursor: pointer; transition: background .2s; margin: 0; flex: none; }
.toggle input::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 2px rgb(0 0 0 / 20%); }
.toggle input:checked { background: var(--ink); }
.toggle input:checked::after { transform: translateX(16px); }

/* ---------- Rejilla ---------- */
main { padding: 28px 0 64px; }
.result-count { color: var(--muted); font-size: 14px; margin: 0 0 16px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px; }
@media (max-width: 560px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

.card {
  background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column; position: relative;
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgb(20 19 18 / 6%), 0 18px 36px -14px rgb(20 19 18 / 35%); }
.card-link { display: flex; flex-direction: column; flex: 1; text-decoration: none; color: inherit; }
.card-link:focus-visible { outline: 3px solid var(--ink); outline-offset: -3px; border-radius: var(--radius); }
.card-media { position: relative; aspect-ratio: 3 / 4; background: #e9e3d8; overflow: hidden; }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; transition: opacity .35s ease, transform .5s ease; }
.card-media .back { opacity: 0; }
@media (hover: hover) {
  .card:hover .card-media .back { opacity: 1; }
  .card:hover .card-media img { transform: scale(1.03); }
}
.badges { position: absolute; top: 10px; left: 10px; z-index: 2; display: flex; gap: 5px; flex-wrap: wrap; }
.badge {
  font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  padding: 4px 8px; border-radius: 4px; background: var(--ink); color: var(--bg);
}
.badge.actual { background: var(--pitch); }
.badge.nuevo { background: var(--accent); color: #fff; }
.new-inline { color: var(--accent); }
.size-tag {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  min-width: 30px; height: 30px; padding: 0 6px; border-radius: 999px; display: grid; place-items: center;
  background: var(--paper); font-weight: 800; font-size: 13px; box-shadow: 0 1px 4px rgb(0 0 0 / 15%);
}
.flip-hint {
  position: absolute; bottom: 10px; left: 10px; z-index: 2; font-size: 11px; font-weight: 600;
  background: rgb(20 19 18 / 70%); color: #fff; padding: 3px 8px; border-radius: 999px; opacity: 0; transition: opacity .2s;
}
@media (hover: hover) { .card:hover .flip-hint { opacity: 1; } }
.card-body { padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.card-team { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.card-title { font: 400 24px/1.05 var(--display); text-transform: uppercase; letter-spacing: .01em; margin: 2px 0; }
.card-sub { font-size: 13px; color: var(--muted); }
.card-price { margin-top: auto; padding-top: 10px; padding-right: 44px; font: 400 24px/1 var(--display); letter-spacing: .02em; }
@media (max-width: 560px) {
  .card-title { font-size: 19px; }
  .card-price { font-size: 20px; }
  .card-body { padding: 10px 10px 12px; }
}

/* Agotada */
.card.agotada .card-media img { filter: grayscale(1) contrast(.9); }
.card.agotada .card-media::after, .card.reservada .card-media::after { content: ""; position: absolute; inset: 0; z-index: 1; background: rgb(255 253 248 / 40%); }
.card.reservada .card-media::after { background: rgb(255 253 248 / 25%); }
.card.agotada .card-price { color: var(--muted); text-decoration: line-through; }
.card.reservada .stamp { color: var(--amber); border-color: var(--amber); }
.stamp {
  position: absolute; z-index: 3; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(-12deg);
  font: 400 28px/1 var(--display); letter-spacing: .1em; color: var(--accent);
  border: 3px solid var(--accent); padding: 6px 14px 4px; border-radius: 6px; background: rgb(255 253 248 / 85%);
}
@media (max-width: 560px) { .stamp { font-size: 20px; } }

.empty { text-align: center; padding: 60px 16px; color: var(--muted); }
.empty h3 { font: 400 28px/1.1 var(--display); color: var(--ink); text-transform: uppercase; margin: 0 0 8px; }

/* ---------- Ficha (modal) ---------- */
.sheet { position: fixed; inset: 0; z-index: 50; display: none; }
.sheet.open { display: block; }
.sheet-backdrop { position: absolute; inset: 0; background: rgb(20 19 18 / 60%); animation: fade .2s ease; }
.sheet-panel {
  position: absolute; inset: 24px; margin: auto; max-width: 1040px; max-height: 760px;
  background: var(--paper); border-radius: 20px; overflow: hidden;
  display: grid; grid-template-columns: 1.05fr 1fr; animation: pop .25s ease;
}
.sheet-close {
  position: absolute; top: 12px; right: 12px; z-index: 5; width: 40px; height: 40px; border-radius: 50%;
  border: 0; background: var(--paper); box-shadow: var(--shadow); cursor: pointer; display: grid; place-items: center;
}
.sheet-close svg { width: 20px; height: 20px; }
.gallery { background: #e9e3d8; position: relative; display: flex; flex-direction: column; min-height: 0; }
.slides { flex: 1; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; min-height: 0; }
.slides::-webkit-scrollbar { display: none; }
.slides figure { margin: 0; flex: 0 0 100%; scroll-snap-align: center; position: relative; }
.slides img { width: 100%; height: 100%; object-fit: contain; }
.slides figcaption {
  position: absolute; bottom: 14px; left: 14px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
  background: rgb(20 19 18 / 75%); color: #fff; padding: 4px 10px; border-radius: 999px;
}
.thumbs { display: flex; gap: 8px; padding: 10px; justify-content: center; background: #e2dbcf; }
.thumbs button { width: 56px; aspect-ratio: 3/4; border-radius: 8px; overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; background: none; opacity: .6; }
.thumbs button[aria-current="true"] { border-color: var(--ink); opacity: 1; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }

.info { padding: 36px 36px 28px; overflow-y: auto; display: flex; flex-direction: column; gap: 14px; }
.info .card-team { font-size: 13px; }
.info h2 { font: 400 clamp(38px, 5vw, 56px)/.95 var(--display); text-transform: uppercase; margin: 0; letter-spacing: .01em; }
.info .price { font: 400 40px/1 var(--display); letter-spacing: .02em; }
.info .price small { font: 500 14px/1 var(--body); color: var(--muted); margin-left: 6px; letter-spacing: 0; }
.specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin: 0; }
.specs div { background: var(--paper); padding: 10px 12px; }
.specs dt { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.specs dd { margin: 2px 0 0; font-weight: 700; font-size: 16px; }
.desc { color: var(--ink-2); margin: 0; white-space: pre-line; }
.info .actions { margin-top: auto; display: flex; flex-direction: column; gap: 10px; padding-top: 8px; }
.state-note { font-weight: 700; padding: 10px 14px; border-radius: 10px; }
.state-note.agotada { background: color-mix(in srgb, var(--accent) 10%, var(--paper)); color: var(--accent); }
.state-note.reservada { background: var(--amber-bg); color: var(--amber); }
#acciones { display: flex; flex-direction: column; gap: 10px; }
.link-btn { background: none; border: 0; color: var(--muted); font-size: 14px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; padding: 4px; }

@media (max-width: 820px) {
  .sheet-panel { inset: auto 0 0 0; max-height: 94dvh; height: 94dvh; border-radius: 20px 20px 0 0; grid-template-columns: 1fr; grid-template-rows: auto 1fr; overflow-y: auto; animation: up .3s ease; }
  .gallery { height: 62dvh; }
  .info { padding: 22px 16px 28px; overflow: visible; }
  .info .actions { position: sticky; bottom: 0; background: var(--paper); padding: 12px 0 4px; margin-top: 8px; }
}

@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(.97); } }
@keyframes up { from { transform: translateY(40px); opacity: 0; } }

/* ---------- Pie ---------- */
.footer { background: var(--ink); color: #cfc8bb; padding: 48px 0; }
.footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer h3 { font: 400 32px/1 var(--display); text-transform: uppercase; color: var(--bg); margin: 0 0 6px; }
.footer p { margin: 0; }
.footer small { display: block; margin-top: 28px; color: #7a7268; width: 100%; }

.toast {
  position: fixed; left: 50%; top: 72px; transform: translate(-50%, -12px); z-index: 90;
  background: var(--ink); color: var(--bg); padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 14px;
  opacity: 0; pointer-events: none; transition: .25s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }


/* ---------- Mi lista ---------- */
.fav {
  position: absolute; right: 10px; bottom: 10px; z-index: 3;
  width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--paper);
  display: grid; place-items: center; cursor: pointer; transition: transform .15s ease, border-color .15s;
}
.fav:hover { border-color: var(--ink); }
.fav:active { transform: scale(.9); }
.fav svg, .btn-fav svg, .lista-top svg, .lista-fab svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.fav[aria-pressed="true"], .btn-fav[aria-pressed="true"] { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 40%, transparent); }
.fav[aria-pressed="true"] svg, .btn-fav[aria-pressed="true"] svg { fill: currentColor; }
.fav[aria-pressed="true"] { animation: pulse .3s ease; }
@keyframes pulse { 50% { transform: scale(1.18); } }
@media (max-width: 560px) { .fav { width: 34px; height: 34px; right: 8px; bottom: 8px; } .card-price { padding-right: 38px; } }

.top-actions { display: flex; align-items: center; gap: 8px; }
.lista-top {
  position: relative; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid #4a463f;
  background: transparent; color: var(--bg); display: grid; place-items: center; cursor: pointer;
}
.lista-top:hover { border-color: var(--bg); }
#lista-top-n:not(:empty) {
  position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
  background: var(--accent); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center;
}

.lista-fab {
  position: fixed; left: 50%; bottom: max(18px, env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 40;
  display: flex; align-items: center; gap: 10px; border: 0; cursor: pointer;
  background: var(--ink); color: var(--bg); padding: 12px 18px; border-radius: 999px; font-weight: 600;
  box-shadow: 0 10px 30px -8px rgb(20 19 18 / 50%); animation: up .3s ease; white-space: nowrap;
}
.lista-fab svg { fill: var(--accent); stroke: var(--accent); }
.lista-fab .fab-total { font: 400 18px/1 var(--display); letter-spacing: .03em; padding-left: 10px; border-left: 1px solid #4a463f; }
main { padding-bottom: 110px; }

.lista-sheet .drawer {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%);
  background: var(--paper); display: flex; flex-direction: column; animation: slide .25s ease;
}
@keyframes slide { from { transform: translateX(30px); opacity: 0; } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font: 400 30px/1 var(--display); text-transform: uppercase; margin: 0; }
.drawer-head .sheet-close { position: static; box-shadow: none; background: var(--bg); }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 20px; }
.lista-items { list-style: none; margin: 0; padding: 0; }
.lista-items li { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.lista-items img { width: 64px; height: 84px; object-fit: cover; border-radius: 8px; background: #e9e3d8; }
.lista-items li:not(.disponible) img { filter: grayscale(1); opacity: .6; }
.li-title { font-weight: 700; text-decoration: none; line-height: 1.25; display: block; }
.li-title:hover { text-decoration: underline; }
.li-meta { font-size: 13px; color: var(--muted); margin-top: 2px; }
.li-price { font: 400 20px/1 var(--display); margin-top: 6px; letter-spacing: .02em; }
.li-state { font-size: 13px; font-weight: 700; color: var(--accent); margin-top: 6px; }
.lista-items li.reservada .li-state { color: var(--amber); }
.li-remove { width: 34px; height: 34px; border-radius: 50%; border: 0; background: none; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.li-remove:hover { background: var(--bg); color: var(--ink); }
.li-remove svg { width: 18px; height: 18px; }
.lista-empty { text-align: center; color: var(--muted); padding: 60px 12px; }
.lista-empty p { margin: 6px 0; }
.lista-empty p:first-of-type { color: var(--ink); font-weight: 700; font-size: 17px; }
.lista-empty-icon svg { width: 44px; height: 44px; fill: none; stroke: var(--line); stroke-width: 1.5; }
.drawer-foot { border-top: 1px solid var(--line); padding: 16px 20px max(18px, env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 10px; }
.lista-sum { display: flex; justify-content: space-between; align-items: baseline; }
.lista-sum span { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.lista-sum strong { font: 400 30px/1 var(--display); letter-spacing: .02em; }
@media (max-width: 560px) {
  .lista-sheet .drawer { top: auto; height: 88dvh; width: 100%; border-radius: 20px 20px 0 0; animation: up .3s ease; }
  .topbar .btn span { display: none; }
  .topbar .btn-wa { padding: 8px 10px; }
}

/* ---------- Peticiones ---------- */
.hero-link { display: inline-block; margin-top: -8px; color: var(--bg); font-weight: 600; text-underline-offset: 4px; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.hero-link:hover { color: #fff; }
.btn-light { background: var(--bg); color: var(--ink); }
.btn-light:hover { background: #fff; }
.footer-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.pedir-form { display: flex; flex-direction: column; gap: 16px; padding-top: 16px; padding-bottom: 24px; }
.pedir-intro { margin: 0; color: var(--muted); }
.pf-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pf-field > span { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pf-field small { text-transform: none; letter-spacing: 0; font-weight: 500; }
.pf-field textarea, .pf-field input {
  border: 1.5px solid var(--line); background: #fff; border-radius: 12px; padding: 12px; outline: 0; width: 100%; resize: vertical; line-height: 1.5;
}
.pf-field textarea:focus, .pf-field input:focus { border-color: var(--ink); }
.pf-field .select { border-radius: 12px; padding: 12px 36px 12px 12px; width: 100%; font-weight: 500; background-color: #fff; }
.pf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pf-fotos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.pf-foto, .pf-add { position: relative; aspect-ratio: 3/4; border-radius: 10px; overflow: hidden; }
.pf-foto img { width: 100%; height: 100%; object-fit: cover; background: #e9e3d8; }
.pf-foto button {
  position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgb(20 19 18 / 75%); color: #fff; display: grid; place-items: center;
}
.pf-foto button svg { width: 14px; height: 14px; }
.pf-add {
  border: 2px dashed var(--line); background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  color: var(--muted); font-size: 13px; font-weight: 600; cursor: pointer;
}
.pf-add:hover, .pf-add.over { border-color: var(--ink); color: var(--ink); }
.pf-add svg { width: 24px; height: 24px; }
.pf-add input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.pf-hint { color: var(--muted); font-size: 12px; }
@media (hover: none) { .pf-hint { display: none; } }
.pedir-form .error { color: var(--accent); font-weight: 600; font-size: 14px; min-height: 1.2em; margin: -6px 0 0; }
.pedir-ok { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding-top: 48px; }
.pedir-ok[hidden] { display: none; }
.pedir-ok h3 { font: 400 32px/1 var(--display); text-transform: uppercase; margin: 0; }
.pedir-ok p { margin: 0 0 8px; color: var(--ink-2); max-width: 340px; }
.pedir-ok .btn { width: 100%; }
.ok-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--wa); color: #fff; font-size: 32px; font-weight: 800; display: grid; place-items: center; }
@media (max-width: 420px) { .pf-row { grid-template-columns: 1fr; } }

/* ---------- Sugerencias ---------- */
.sug { border-top: 1px solid var(--line); padding-top: 16px; margin-top: 4px; }
.sug h3 { font: 400 20px/1 var(--display); text-transform: uppercase; letter-spacing: .03em; margin: 0 0 12px; }
.minis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mini { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.mini a { text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 2px; }
.mini img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 10px; background: #e9e3d8; margin-bottom: 4px; transition: transform .2s ease; }
.mini a:hover img { transform: scale(1.03); }
.mini-title { font: 400 16px/1.05 var(--display); text-transform: uppercase; }
.mini-sub { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-price { font-size: 13px; font-weight: 700; }
.mini .btn { width: 100%; }
.drawer-body .sug { margin-top: 16px; border-top: 0; background: var(--bg); margin-inline: -20px; padding: 16px 20px 20px; }

/* ---------- Secciones (opiniones) ---------- */
.top-links { display: flex; gap: 22px; margin-left: auto; margin-right: 14px; }
.top-links a { color: #cfc8bb; text-decoration: none; font-weight: 600; font-size: 14px; }
.top-links a:hover { color: var(--bg); }
@media (max-width: 760px) { .top-links { display: none; } }


.info-section { padding: 64px 0; border-top: 1px solid var(--line); scroll-margin-top: 60px; }
.kicker-dark { background: var(--ink); color: var(--bg); }
.section-title { font: 400 clamp(38px, 6vw, 60px)/.95 var(--display); text-transform: uppercase; margin: 14px 0 28px; }


/* ---------- Interés («X personas la tienen en su lista») ---------- */
.hot {
  position: absolute; left: 10px; bottom: 10px; z-index: 2; display: inline-flex; align-items: center; gap: 4px;
  background: var(--paper); color: var(--accent); font-size: 12px; font-weight: 800; padding: 4px 9px 4px 7px; border-radius: 999px;
  box-shadow: 0 1px 4px rgb(0 0 0 / 15%);
}
.hot svg { width: 14px; height: 14px; fill: currentColor; }
@media (hover: hover) { .card:hover .hot { opacity: 0; } }
.hot-note { background: color-mix(in srgb, var(--accent) 8%, var(--paper)); color: var(--accent); display: flex; align-items: center; gap: 8px; }
.hot-note svg { width: 18px; height: 18px; fill: currentColor; flex: none; }

/* ---------- Opiniones ---------- */
.opiniones-section { background: var(--paper); }
.op-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.op-head .section-title { margin-bottom: 10px; }
.op-media { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 15px; }
.op-media b { color: var(--ink); font-size: 18px; }
.estrellas { display: inline-flex; gap: 2px; }
.estrellas svg { width: 18px; height: 18px; fill: var(--line); }
.estrellas .on svg { fill: #f2a900; }
.op-lista { columns: 3 280px; column-gap: 16px; }
.op { break-inside: avoid; background: var(--bg); border-radius: var(--radius); padding: 18px; margin-bottom: 16px; display: flex; flex-direction: column; gap: 10px; }
.op p { margin: 0; white-space: pre-line; }
.op img { border-radius: 10px; width: 100%; max-height: 360px; object-fit: cover; }
.op footer { font-size: 14px; color: var(--muted); }
.op footer b { color: var(--ink); }
.op footer a { color: var(--muted); }
.op-vacio { text-align: center; padding: 36px 16px; color: var(--muted); background: var(--bg); border-radius: var(--radius); column-span: all; }
.op-vacio p { margin: 4px 0; }
.op-vacio b { color: var(--ink); font-size: 17px; }

.estrellas-input { display: flex; gap: 6px; }
.estrellas-input button { background: none; border: 0; padding: 2px; cursor: pointer; }
.estrellas-input svg { width: 38px; height: 38px; fill: var(--line); transition: transform .12s ease, fill .12s; }
.estrellas-input button.on svg { fill: #f2a900; }
.estrellas-input button:active svg { transform: scale(.88); }
fieldset.pf-field { border: 0; padding: 0; margin: 0; }
fieldset.pf-field legend { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 0; margin-bottom: 6px; }
.pf-fotos-1 { grid-template-columns: repeat(4, 1fr); }


.footer-links { display: flex; gap: 18px; flex-wrap: wrap; width: 100%; margin-top: 18px; }
.footer-links a { color: #cfc8bb; font-size: 14px; }

/* ---------- Móvil ---------- */
@media (max-width: 640px) {
  /* 16px evita que el iPhone haga zoom al tocar un campo */
  input, select, textarea, .search input { font-size: 16px; }
  /* Cabecera compacta: que se vean camisetas en la primera pantalla */
  .hero { padding: 18px 0 20px; }
  .hero .kicker, .hero p { display: none; }
  .hero h1 { font-size: clamp(38px, 12vw, 52px); margin: 0 0 12px; }
  .hero h1 br { display: none; }
  .hero-stats { display: none; }
  .chip { min-height: 40px; }
  .select { min-height: 40px; }
  .fav { width: 40px; height: 40px; }
  .card-price { padding-right: 44px; }
  .hot { font-size: 11px; }
  .lista-fab { padding: 12px 16px; }
  .op-lista { columns: 1; }
}
