/* Bazar Fénix — polirrubro: rojo bermellón, amarillo dorado, tipografía ancha y mucha energía. */
:root {
  --bg: #fff8ec; --ink: #141210; --muted: #5f5850; --line: rgba(20,18,16,.12);
  --accent: #e5232b; --red: #e5232b; --red-2: #b8121a; --yellow: #ffcc29; --cream: #fff8ec;
  --sans: "Archivo", system-ui, sans-serif;
  --ease: cubic-bezier(.16,1,.3,1); --bounce: cubic-bezier(.34,1.56,.64,1); --gut: clamp(16px, 4vw, 52px);
}
body { background: var(--bg); color: var(--ink); font-family: var(--sans); font-stretch: 100%; }
::selection { background: var(--yellow); color: var(--ink); }
.wrap { width: min(1360px, 100%); margin-inline: auto; padding-inline: var(--gut); }
.h2 { font-weight: 900; font-stretch: 118%; font-size: clamp(32px, 4.6vw, 64px); line-height: .98; letter-spacing: -.03em; text-transform: uppercase; }
.red { color: var(--red); }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 30px; margin-bottom: 30px; }
.sec-head p { color: var(--muted); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 16px 24px; border-radius: 14px; font-weight: 800; font-size: 15px; line-height: 1; text-transform: uppercase; letter-spacing: .02em; transition: transform .35s var(--bounce), background .3s, box-shadow .3s, color .3s; white-space: nowrap; }
.btn:hover { transform: translateY(-3px); }
.btn-yellow { background: var(--yellow); color: var(--ink); box-shadow: 0 5px 0 #c99a00; }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 5px 0 var(--red-2); }
.btn-ink { background: var(--ink); color: #fff; }

/* Barra superior y nav */
.topline { display: flex; justify-content: center; gap: 28px; padding: 9px var(--gut); background: var(--ink); color: #fff; font-size: 13px; font-weight: 600; }
.topline > span:not(.tl-flash) { display: none; }
.tl-flash b { color: var(--yellow); font-variant-numeric: tabular-nums; }
.nav { position: sticky; top: 0; z-index: 100; background: var(--red); color: #fff; transition: box-shadow .3s; }
.nav.is-scrolled { box-shadow: 0 10px 30px -14px rgba(0,0,0,.5); }
.nav-in { display: flex; align-items: center; gap: 24px; height: 74px; width: min(1360px, 100%); margin-inline: auto; padding-inline: var(--gut); }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo svg { width: 36px; height: 36px; fill: var(--yellow); }
.logo span { display: grid; line-height: 1; }
.logo b { font-weight: 900; font-stretch: 125%; font-size: 26px; letter-spacing: .02em; }
.logo small { font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; opacity: .85; margin-top: 3px; }
.menu { display: none; gap: 24px; margin-left: auto; font-weight: 800; text-transform: uppercase; font-size: 14px; letter-spacing: .03em; }
.menu a { padding: 6px 0; border-bottom: 3px solid transparent; transition: border-color .3s; }
.menu a:hover { border-color: var(--yellow); }
.nav-cta { display: none; padding: 13px 18px; font-size: 14px; }
.burger { margin-left: auto; width: 44px; height: 44px; display: grid; place-content: center; gap: 6px; }
.burger span { display: block; width: 26px; height: 3px; border-radius: 2px; background: currentColor; transition: transform .4s var(--ease); }
.menu-open .burger span:first-child { transform: translateY(4.5px) rotate(45deg); }
.menu-open .burger span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
.menu-open .menu { display: flex; flex-direction: column; position: fixed; inset: 108px 0 0 0; background: var(--red); padding: 30px var(--gut); gap: 10px; font-size: 34px; }

/* Hero */
.hero { position: relative; background: var(--red); color: #fff; overflow: hidden; padding: clamp(40px, 6vw, 80px) 0 clamp(60px, 8vw, 110px); }
.hero-rays { position: absolute; inset: -50%; background: repeating-conic-gradient(from 0deg at var(--mx, 70%) var(--my, 50%), rgba(255,255,255,.06) 0 6deg, transparent 6deg 18deg); pointer-events: none; }
.hero-grid { position: relative; display: grid; gap: 50px; align-items: center; }
.hero-k { display: inline-block; padding: 8px 14px; border-radius: 99px; background: var(--yellow); color: var(--ink); font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; transform: rotate(-2deg); }
.hero-title { font-weight: 900; font-stretch: 125%; font-size: clamp(54px, 8.6vw, 136px); line-height: .88; letter-spacing: -.04em; text-transform: uppercase; margin: 22px 0 22px; }
.hero-title .hl { color: var(--yellow); }
.hero-lead { font-size: clamp(16px, 1.4vw, 19px); max-width: 48ch; color: rgba(255,255,255,.9); }
.find { position: relative; display: flex; gap: 8px; margin-top: 28px; max-width: 600px; padding: 8px; border-radius: 18px; background: #fff; box-shadow: 0 8px 0 var(--red-2); }
.find input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 12px 12px; font-size: 16px; color: var(--ink); background: transparent; }
.find-list { position: absolute; left: 0; right: 0; top: calc(100% + 10px); z-index: 10; border-radius: 16px; background: #fff; color: var(--ink); box-shadow: 0 30px 60px -20px rgba(0,0,0,.5); overflow: hidden; }
.find-list li a, .find-list li span { display: flex; align-items: center; gap: 12px; padding: 10px 14px; font-weight: 700; cursor: pointer; }
.find-list li a:hover { background: var(--bg); }
.find-list img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; }
.find-list small { margin-left: auto; color: var(--red); font-weight: 800; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.hero-tags span { padding: 8px 12px; border-radius: 10px; background: rgba(0,0,0,.18); font-size: 14px; }
.hero-tags b { color: var(--yellow); }
.fan { position: relative; height: clamp(340px, 42vw, 540px); }
.fc { position: absolute; width: 46%; aspect-ratio: 1; border-radius: 26px; overflow: hidden; border: 6px solid #fff; box-shadow: 0 30px 50px -20px rgba(0,0,0,.45); transition: transform .7s var(--bounce); }
.fc img { width: 100%; height: 100%; object-fit: cover; }
.fc figcaption { position: absolute; left: 10px; bottom: 10px; padding: 6px 10px; border-radius: 10px; background: var(--yellow); color: var(--ink); font-weight: 900; font-size: 16px; }
.fc1 { left: 4%; top: 4%; transform: rotate(-9deg); }
.fc2 { right: 6%; top: 0; transform: rotate(7deg); }
.fc3 { left: 12%; bottom: 0; transform: rotate(5deg); }
.fc4 { right: 2%; bottom: 6%; transform: rotate(-6deg); }
.fan:hover .fc1 { transform: rotate(-14deg) translate(-12px, -10px); }
.fan:hover .fc2 { transform: rotate(12deg) translate(12px, -12px); }
.fan:hover .fc3 { transform: rotate(9deg) translate(-10px, 12px); }
.fan:hover .fc4 { transform: rotate(-11deg) translate(12px, 10px); }
.burst { position: absolute; left: 50%; top: 50%; z-index: 3; width: 130px; height: 130px; display: grid; place-content: center; text-align: center; transform: translate(-50%, -50%) rotate(-10deg); background: var(--yellow); color: var(--ink); font-weight: 900; font-stretch: 120%; font-size: 14px; line-height: 1; clip-path: polygon(50% 0, 61% 12%, 77% 6%, 80% 22%, 96% 26%, 89% 41%, 100% 54%, 86% 63%, 89% 80%, 72% 80%, 64% 96%, 50% 86%, 36% 96%, 28% 80%, 11% 80%, 14% 63%, 0 54%, 11% 41%, 4% 26%, 20% 22%, 23% 6%, 39% 12%); animation: wob 3s ease-in-out infinite; }
.burst b { font-size: 34px; letter-spacing: -.04em; }
@keyframes wob { 50% { transform: translate(-50%, -50%) rotate(-4deg) scale(1.06); } }

/* Categorías */
.cats { padding: clamp(60px, 8vw, 110px) 0 clamp(40px, 5vw, 70px); }
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.cat { display: grid; grid-template-columns: 64px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 12px; border-radius: 20px; background: var(--bg); text-align: left; border: 2px solid var(--ink); transition: transform .4s var(--bounce), box-shadow .4s var(--bounce); }
.cat:hover { transform: translateY(-4px) rotate(-1deg); box-shadow: 0 6px 0 var(--ink); }
.cat img { grid-row: span 2; width: 64px; height: 64px; border-radius: 14px; object-fit: cover; }
.cat b { font-weight: 900; font-stretch: 110%; font-size: 18px; text-transform: uppercase; align-self: end; }
.cat small { color: var(--muted); font-size: 13px; align-self: start; }

/* Ofertas */
.deals { padding: clamp(40px, 6vw, 80px) 0; background: var(--yellow); }
.deals-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 26px; }
.timer { display: flex; align-items: center; gap: 6px; font-weight: 800; }
.timer span { margin-right: 6px; text-transform: uppercase; font-size: 13px; }
.timer b { min-width: 52px; padding: 10px 8px; border-radius: 12px; background: var(--ink); color: #fff; text-align: center; font-size: 26px; font-variant-numeric: tabular-nums; }
.timer i { font-style: normal; font-weight: 900; font-size: 22px; }
.deal-track { display: flex; gap: 14px; overflow-x: auto; padding: 6px max(var(--gut), calc((100vw - 1360px) / 2 + var(--gut))) 16px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.deal { flex: none; width: 230px; scroll-snap-align: start; padding: 12px; border-radius: 22px; background: #fff; border: 2px solid var(--ink); display: grid; gap: 8px; }
.deal-img { position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden; }
.deal-img img { width: 100%; height: 100%; object-fit: cover; }
.off { position: absolute; top: 8px; left: 8px; padding: 6px 9px; border-radius: 10px; background: var(--red); color: #fff; font-weight: 900; font-size: 15px; }
.deal h3 { font-size: 15px; font-weight: 800; line-height: 1.2; min-height: 2.4em; }
.deal-p { display: flex; align-items: baseline; gap: 8px; }
.deal-p b { font-size: 24px; font-weight: 900; color: var(--red); }
.deal-p s { font-size: 13px; color: var(--muted); }
.sold { height: 8px; border-radius: 8px; background: #f2e6c9; overflow: hidden; }
.sold i { display: block; height: 100%; width: var(--s); background: linear-gradient(90deg, #ff8a00, var(--red)); border-radius: 8px; }
.sold-t { font-size: 12px; font-weight: 700; color: var(--muted); }
.add { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 12px; background: var(--red); color: #fff; font-weight: 900; font-size: 20px; transition: transform .3s var(--bounce), background .3s; }
.add:hover { background: var(--ink); transform: scale(1.08); }
.add-w { width: 100%; font-size: 14px; text-transform: uppercase; }

/* Catálogo */
.catalog { padding: clamp(60px, 8vw, 110px) 0; }
.cat-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 18px; margin-bottom: 20px; }
.cat-count { color: var(--muted); font-weight: 600; margin-top: 6px; }
.mode { display: inline-flex; padding: 5px; border-radius: 16px; background: var(--ink); }
.mode button { padding: 11px 16px; border-radius: 12px; color: #fff; font-weight: 800; font-size: 14px; text-transform: uppercase; transition: all .3s; }
.mode small { font-size: 10px; opacity: .7; margin-left: 4px; }
.mode button[aria-checked="true"] { background: var(--yellow); color: var(--ink); }
.tools { display: grid; gap: 12px; margin-bottom: 26px; }
.tools input { padding: 14px 16px; border-radius: 14px; border: 2px solid var(--ink); background: #fff; font-size: 15px; font-weight: 600; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: 10px 14px; border-radius: 12px; background: #fff; border: 2px solid var(--ink); font-weight: 800; font-size: 13px; text-transform: uppercase; transition: all .25s; }
.chip.is-on { background: var(--red); color: #fff; border-color: var(--red); }
.pgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.pr { display: flex; flex-direction: column; border-radius: 20px; background: #fff; overflow: hidden; border: 2px solid var(--line); transition: border-color .3s, transform .4s var(--bounce), box-shadow .4s; }
.pr:hover { border-color: var(--ink); transform: translateY(-4px); box-shadow: 0 6px 0 var(--ink); }
.pr-img { aspect-ratio: 1; overflow: hidden; }
.pr-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.pr:hover .pr-img img { transform: scale(1.07); }
.pr-b { padding: 12px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.pr h3 { font-size: 15px; font-weight: 800; line-height: 1.2; }
.pr-note { font-size: 12px; color: var(--muted); }
.pr-f { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 8px; }
.pr-price b { display: block; font-size: 22px; font-weight: 900; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.pr-price small { font-size: 11px; color: var(--muted); font-weight: 700; }
.is-mayor .pr-price b { color: var(--red); }
.empty { text-align: center; padding: 40px; display: grid; gap: 14px; justify-items: center; font-weight: 700; }

/* Temporada */
.season { padding: clamp(60px, 8vw, 110px) 0; background: #1b1209; color: #fff; overflow: hidden; }
.season-in { display: grid; gap: 40px; align-items: center; }
.season-k { display: inline-block; padding: 7px 12px; border-radius: 10px; background: #ff7a00; font-weight: 800; text-transform: uppercase; font-size: 13px; margin-bottom: 16px; }
.season .h2 { color: #ffb347; }
.season-copy > p:not(.season-k) { color: rgba(255,255,255,.8); max-width: 46ch; margin: 14px 0 22px; }
.season-cd { display: flex; align-items: baseline; gap: 12px; margin-bottom: 24px; }
.season-cd b { font-size: clamp(70px, 9vw, 130px); font-weight: 900; font-stretch: 125%; line-height: .9; color: var(--yellow); letter-spacing: -.05em; }
.season-cd span { font-weight: 800; text-transform: uppercase; }
.season .btn-ink { background: #fff; color: var(--ink); }
.season-img { border-radius: 28px; overflow: hidden; aspect-ratio: 4/3; transform: rotate(2deg); border: 6px solid #ffb347; }
.season-img img { width: 100%; height: 100%; object-fit: cover; }

/* Mayoristas */
.whole { padding: clamp(60px, 8vw, 110px) 0; }
.whole-grid { display: grid; gap: 40px; align-items: center; }
.whole-img { border-radius: 28px; overflow: hidden; aspect-ratio: 4/3; border: 2px solid var(--ink); box-shadow: 10px 10px 0 var(--red); }
.whole-img img { width: 100%; height: 100%; object-fit: cover; }
.whole-list { display: grid; gap: 10px; margin: 26px 0; }
.whole-list li { display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: 16px; background: #fff; border: 2px solid var(--line); }
.whole-list b { min-width: 90px; font-weight: 900; font-stretch: 120%; font-size: 26px; color: var(--red); }
.whole-list span { font-weight: 600; }

/* Locales */
.stores { padding: clamp(60px, 8vw, 110px) 0; background: #fff; }
.store-grid { display: grid; gap: 14px; margin-top: 30px; }
.store { padding: 24px; border-radius: 22px; background: var(--bg); border: 2px solid var(--ink); display: grid; gap: 8px; justify-items: start; }
.store h3 { font-weight: 900; font-stretch: 115%; font-size: 24px; text-transform: uppercase; }
.store p { color: var(--muted); }
.store .btn { margin-top: 8px; }
.st-open { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 10px; background: var(--ink); color: #fff !important; font-weight: 700; font-size: 13px; }
.st-open::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #888; }
.st-open.is-open::before { background: #31d07b; box-shadow: 0 0 0 4px rgba(49,208,123,.3); }
.acc details { border: 2px solid var(--ink); border-radius: 16px; padding: 0 18px; margin-bottom: 10px; background: var(--bg); }
.acc summary { list-style: none; cursor: pointer; padding: 18px 30px 18px 0; position: relative; font-weight: 800; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--red); transition: transform .3s; }
.acc details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.acc details p { padding: 0 0 18px; color: var(--muted); }

/* Footer */
.foot { background: var(--ink); color: rgba(255,255,255,.7); padding-top: 60px; }
.foot-in { display: grid; gap: 28px; padding-bottom: 40px; }
.foot .logo { color: #fff; }
.foot-in p { margin-top: 10px; }
.foot h4 { color: var(--yellow); font-weight: 900; text-transform: uppercase; font-size: 15px; }
.foot a { cursor: pointer; }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-block: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; }

/* Responsive */
@media (min-width: 720px) {
  .topline { justify-content: space-between; }
  .topline > span:not(.tl-flash) { display: inline; }
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .pgrid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .tools { grid-template-columns: 280px 1fr; align-items: center; }
  .store-grid { grid-template-columns: 1fr 1fr; }
  .store-grid .acc { grid-column: 1 / -1; }
  .deal { width: 250px; }
}
@media (min-width: 960px) {
  .menu, .nav-cta { display: flex; }
  .burger { display: none; }
  .hero-grid { grid-template-columns: 1.15fr 1fr; }
  .pgrid { grid-template-columns: repeat(4, 1fr); }
  .season-in { grid-template-columns: 1fr 1fr; gap: 70px; }
  .whole-grid { grid-template-columns: 1fr 1fr; gap: 70px; }
  .store-grid { grid-template-columns: 1fr 1fr 1.2fr; }
  .store-grid .acc { grid-column: auto; }
  .foot-in { grid-template-columns: 2fr 1fr 1fr 1fr; }
}
@media (min-width: 1280px) { .pgrid { grid-template-columns: repeat(5, 1fr); } }
@media (max-width: 539px) {
  .cat { grid-template-columns: 46px 1fr; padding: 10px; column-gap: 10px; }
  .cat img { width: 46px; height: 46px; border-radius: 12px; }
  .cat b { font-size: 15px; overflow-wrap: anywhere; }
  .cat small { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { .burst { animation: none; } }
