/* ==========================================================================
   PadelShop v2 – sistema de diseño
   Tokens en :root · componentes compartidos · secciones por página
   ========================================================================== */

@font-face { font-family: "Haffer"; src: url("../fonts/Haffer-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Haffer"; src: url("../fonts/Haffer-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Haffer"; src: url("../fonts/Haffer-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Haffer"; src: url("../fonts/Haffer-Heavy.woff2") format("woff2"); font-weight: 900; font-display: swap; }

:root {
  --ink: #0a0b0e;
  --ink-2: #2f333b;
  --muted: #646e7f;
  --faint: #b1b7c3;
  --line: #e4e6eb;
  --bg: #fff;
  --bg-2: #f5f5f3;
  --bg-3: #ecece8;
  --blue: #2940e8;
  --blue-deep: #001755;
  --blue-soft: #eef0fe;
  --volt: #d7ff3a;
  --red: #d61f45;
  --green: #18b26b;

  --font: "Haffer", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --page: 1480px;
  --gutter: clamp(16px, 3vw, 40px);
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 24px;
  --pill: 999px;
  --shadow: 0 1px 2px rgb(10 11 14 / .04), 0 8px 24px rgb(10 11 14 / .06);
  --shadow-lg: 0 24px 64px rgb(10 11 14 / .18);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-weight: 500; color: var(--ink); background: var(--bg); line-height: 1.45; -webkit-font-smoothing: antialiased; }
body.is-locked { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; padding: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
::selection { background: var(--blue); color: #fff; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }

.wrap { max-width: var(--page); margin: 0 auto; padding: 0 var(--gutter); }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.display { font-weight: 900; font-size: clamp(2.4rem, 6vw, 5.5rem); line-height: .88; letter-spacing: -.02em; text-transform: uppercase; }
.h2 { font-weight: 900; font-size: clamp(1.9rem, 3.6vw, 3.2rem); line-height: .92; letter-spacing: -.015em; text-transform: uppercase; }
.h3 { font-weight: 900; font-size: 1.35rem; line-height: 1; text-transform: uppercase; }
.lead { font-size: 1.1rem; color: var(--ink-2); max-width: 56ch; }
.muted { color: var(--muted); }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 28px; border-radius: var(--pill); font-weight: 700; font-size: 14px; letter-spacing: .03em; text-transform: uppercase; white-space: nowrap; transition: background .2s, color .2s, transform .2s var(--ease), box-shadow .2s; }
.btn:active { transform: scale(.98); }
.btn svg { width: 18px; height: 18px; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--blue); }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-deep); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--volt); }
.btn--line { border: 1.5px solid currentColor; }
.btn--line:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--sm { height: 38px; padding: 0 18px; font-size: 12px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.link { font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .04em; display: inline-flex; align-items: center; gap: 8px; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.link svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.link:hover svg { transform: translateX(4px); }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; position: relative; transition: background .2s; flex: none; }
.icon-btn:hover { background: var(--bg-2); }
.icon-btn svg { width: 22px; height: 22px; }
.dot-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--blue); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; transform: scale(0); transition: transform .25s var(--ease); }
.dot-count.is-on { transform: scale(1); }
.dot-count.bump { animation: bump .4s var(--ease); }
@keyframes bump { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.35); } }

.chip { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 16px; border-radius: var(--pill); border: 1px solid var(--line); background: #fff; font-size: 13px; font-weight: 600; transition: .2s; white-space: nowrap; }
.chip:hover { border-color: var(--ink); }
.chip.is-active, .chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip--x::after { content: "✕"; font-size: 10px; opacity: .7; }

.badge { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; background: var(--ink); color: #fff; }
.badge--sale { background: var(--red); }
.badge--blue { background: var(--blue); }
.badge--volt { background: var(--volt); color: var(--ink); }
.badge--line { background: #fff; color: var(--ink); border: 1px solid var(--line); }

/* ---------- Anuncios ---------- */
.ticker { background: var(--ink); color: #fff; height: 36px; overflow: hidden; font-size: 13px; position: relative; z-index: 61; }
.ticker__track { display: flex; width: max-content; height: 100%; align-items: center; animation: ticker 38s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__item { display: flex; align-items: center; gap: 10px; padding: 0 36px; white-space: nowrap; }
.ticker__item b { color: var(--volt); font-weight: 700; }
.ticker__item::after { content: "●"; font-size: 6px; color: var(--blue); margin-inline-start: 36px; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 60; background: rgb(255 255 255 / .92); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.header.is-scrolled { border-color: var(--line); }
.header__bar { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.header__logo { flex: none; }
.header__logo img { height: 30px; width: auto; }
.nav { display: flex; align-items: stretch; height: 100%; margin-inline-start: 12px; }
.nav__item { display: flex; }
.nav__link { display: flex; align-items: center; white-space: nowrap; padding: 0 14px; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; position: relative; }
.nav__link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 18px; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav__item:hover .nav__link::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link--hot { color: var(--red); }
.header__tools { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.search-trigger { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 8px 0 16px; border-radius: var(--pill); background: var(--bg-2); color: var(--muted); font-size: 14px; width: auto; flex: 0 1 260px; min-width: 130px; overflow: hidden; transition: background .2s; }
.search-trigger span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-trigger:hover { background: var(--bg-3); }
.search-trigger svg { width: 18px; height: 18px; }
.search-trigger kbd { margin-inline-start: auto; font: 600 11px var(--font); border: 1px solid var(--line); background: #fff; border-radius: 6px; padding: 3px 6px; }
.menu-btn { display: none; }

.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 30px 40px -20px rgb(10 11 14 / .15); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .25s var(--ease), visibility .2s; pointer-events: none; }
.nav__item:hover .mega, .nav__item:focus-within .mega { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
.mega__inner { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) 1.3fr; gap: 40px; padding: 36px 0 44px; }
.mega h4 { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.mega__col a { display: block; padding: 6px 0; font-size: 15px; color: var(--ink-2); transition: color .15s, transform .15s; }
.mega__col a:hover { color: var(--blue); transform: translateX(3px); }
.mega__feature { position: relative; border-radius: var(--r); overflow: hidden; background: var(--bg-2); display: grid; grid-template-columns: 1fr 1fr; align-items: center; min-height: 220px; }
.mega__feature img { width: 100%; height: 220px; object-fit: contain; mix-blend-mode: multiply; padding: 12px; }
.mega__feature div { padding: 20px 20px 20px 0; display: flex; flex-direction: column; gap: 8px; }
.mega__feature strong { font-weight: 900; text-transform: uppercase; line-height: 1.05; }

/* ---------- Drawer genérico (menú, carrito) ---------- */
.overlay { position: fixed; inset: 0; z-index: 90; background: rgb(10 11 14 / .45); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.overlay.is-on { opacity: 1; visibility: visible; }
.drawer { position: fixed; top: 0; bottom: 0; z-index: 100; width: min(440px, 100vw); background: #fff; display: flex; flex-direction: column; transition: transform .38s var(--ease); }
.drawer--right { right: 0; transform: translateX(100%); }
.drawer--left { left: 0; transform: translateX(-100%); width: min(380px, 90vw); }
.drawer.is-open { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer__body { flex: 1; overflow-y: auto; padding: 20px; overscroll-behavior: contain; }
.drawer__foot { border-top: 1px solid var(--line); padding: 20px; display: grid; gap: 12px; background: #fff; }

.mnav details { border-bottom: 1px solid var(--line); }
.mnav summary, .mnav > a { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-weight: 900; font-size: 18px; text-transform: uppercase; cursor: pointer; }
.mnav > a { border-bottom: 1px solid var(--line); }
.mnav summary::-webkit-details-marker { display: none; }
.mnav summary::after { content: "+"; font-weight: 500; font-size: 22px; }
.mnav details[open] summary::after { content: "–"; }
.mnav details a { display: block; padding: 8px 0 8px 4px; color: var(--ink-2); }
.mnav details div { padding-bottom: 14px; }

/* Carrito */
.ship-meter { background: var(--bg-2); border-radius: var(--r); padding: 14px 16px; font-size: 14px; margin-bottom: 18px; }
.ship-meter b { color: var(--blue); }
.ship-meter__bar { height: 6px; border-radius: 3px; background: var(--bg-3); margin-top: 10px; overflow: hidden; }
.ship-meter__bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), #6b7cff); border-radius: inherit; transition: width .5s var(--ease); }
.ship-meter.is-done .ship-meter__bar span { background: var(--green); }
.line-item { display: grid; grid-template-columns: 84px 1fr auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line-item__img { width: 84px; height: 84px; border-radius: var(--r-sm); background: var(--bg-2); padding: 6px; }
.line-item__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.line-item__name { font-size: 14px; font-weight: 600; line-height: 1.3; }
.line-item__meta { font-size: 13px; color: var(--muted); margin-top: 2px; }
.line-item__price { text-align: end; font-weight: 700; font-size: 15px; white-space: nowrap; }
.line-item__price s { display: block; font-weight: 500; font-size: 12px; color: var(--muted); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--pill); height: 34px; margin-top: 10px; }
.qty button { width: 34px; height: 100%; font-size: 16px; }
.qty span { min-width: 22px; text-align: center; font-weight: 700; font-size: 14px; }
.qty--lg { height: 48px; }
.qty--lg button { width: 44px; }
.line-item__remove { font-size: 12px; color: var(--muted); text-decoration: underline; margin-inline-start: 12px; }
.cart-empty { text-align: center; padding: 48px 12px; display: grid; gap: 14px; justify-items: center; }
.cart-empty svg { width: 56px; height: 56px; color: var(--faint); }
.cart-upsell { margin-top: 24px; }
.cart-upsell h4 { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.mini-card { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 8px; }
.mini-card img { width: 56px; height: 56px; object-fit: contain; background: var(--bg-2); border-radius: 8px; mix-blend-mode: multiply; }
.mini-card p { font-size: 13px; font-weight: 600; line-height: 1.25; }
.mini-card span { font-size: 13px; color: var(--muted); }
.totals { display: grid; gap: 6px; font-size: 14px; }
.totals div { display: flex; justify-content: space-between; }
.totals .grand { font-size: 18px; font-weight: 900; padding-top: 6px; }
.totals .save { color: var(--green); font-weight: 700; }

/* ---------- Búsqueda ---------- */
.search { position: fixed; inset: 0; z-index: 110; background: rgb(255 255 255 / .98); opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; overflow-y: auto; }
.search.is-open { opacity: 1; visibility: visible; }
.search__bar { position: sticky; top: 0; background: inherit; border-bottom: 1px solid var(--line); }
.search__bar .wrap { display: flex; align-items: center; gap: 16px; height: 88px; }
.search__bar svg { width: 26px; height: 26px; flex: none; }
.search__input { flex: 1; border: 0; outline: none; background: none; font-size: clamp(1.4rem, 3vw, 2.2rem); font-weight: 700; min-width: 0; }
.search__body { padding: 32px 0 64px; }
.search__cols { display: grid; grid-template-columns: 260px 1fr; gap: 48px; }
.search__cols h4 { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.search__terms { display: flex; flex-wrap: wrap; gap: 8px; }
.search__results { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.search__empty { padding: 24px 0; color: var(--muted); }
mark { background: var(--volt); color: inherit; border-radius: 3px; padding: 0 2px; }

/* ---------- Tarjeta de producto ---------- */
.grid { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 32px 18px; }
.card { position: relative; display: flex; flex-direction: column; gap: 12px; }
.card__media { position: relative; aspect-ratio: 1 / 1.08; border-radius: var(--r); background: var(--bg-2); overflow: hidden; }
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 8%; mix-blend-mode: multiply; transition: opacity .45s var(--ease), transform .6s var(--ease); }
.card__media img.alt { opacity: 0; }
.card:hover .card__media img.alt { opacity: 1; }
.card:hover .card__media img:not(.alt):not(:only-of-type) { opacity: 0; }
.card:hover .card__media img { transform: scale(1.04); }
.card__badges { position: absolute; top: 12px; inset-inline-start: 12px; z-index: 2; display: flex; flex-wrap: wrap; gap: 4px; max-width: calc(100% - 64px); }
.card__wish { position: absolute; top: 8px; inset-inline-end: 8px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgb(255 255 255 / .85); transition: transform .2s; }
.card__wish:hover { transform: scale(1.08); }
.card__wish svg { width: 20px; height: 20px; }
.card__wish[aria-pressed="true"] svg { fill: var(--red); stroke: var(--red); }
.card__actions { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 3; display: flex; gap: 8px; opacity: 0; transform: translateY(8px); transition: .25s var(--ease); }
.card:hover .card__actions, .card:focus-within .card__actions { opacity: 1; transform: none; }
.card__actions .btn { flex: 1; height: 40px; font-size: 12px; padding: 0 12px; }
.card__actions .icon-btn { background: #fff; width: 40px; height: 40px; }
.card__actions .icon-btn svg { width: 18px; height: 18px; }
.card__info { display: flex; flex-direction: column; gap: 4px; }
.card__brand { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.card__name { font-size: 15px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__name a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card__specs { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 2px; }
.card__specs span { font-size: 11px; font-weight: 600; color: var(--ink-2); background: var(--bg-2); border-radius: 4px; padding: 2px 7px; }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price b { font-size: 17px; font-weight: 900; }
.price s { font-size: 14px; color: var(--muted); }
.price--sale b { color: var(--red); }
.price em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--red); }
.card__compare { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); cursor: pointer; align-self: flex-start; }
.card__compare input { accent-color: var(--blue); width: 16px; height: 16px; }

/* ---------- Secciones genéricas ---------- */
.section { padding: clamp(56px, 8vw, 112px) 0; }
.section--tight { padding: clamp(40px, 5vw, 72px) 0; }
.section--alt { background: var(--bg-2); }
.section--dark { background: var(--ink); color: #fff; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(24px, 3vw, 40px); flex-wrap: wrap; }
.section-head > div:not(.rail-nav) { display: grid; gap: 12px; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 18px) / 4); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.rail-nav { display: flex; gap: 8px; }
.rail-nav button { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid currentColor; display: grid; place-items: center; transition: .2s; }
.rail-nav button:hover:not(:disabled) { background: var(--ink); color: #fff; border-color: var(--ink); }
.section--dark .rail-nav button:hover:not(:disabled) { background: #fff; color: var(--ink); }
.rail-nav button:disabled { opacity: .25; cursor: default; }
.rail-nav svg { width: 20px; height: 20px; }
.tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Home: hero ---------- */
.hero { position: relative; padding-top: 12px; }
.hero__frame { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--ink); }
.hero__slides { position: relative; aspect-ratio: 2.4; }
.hero__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .9s var(--ease), visibility .9s; }
.hero__slide.is-active { opacity: 1; visibility: visible; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 7.5s linear; }
.hero__slide.is-active img { transform: scale(1); }
.hero__ui { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; align-items: end; justify-content: space-between; gap: 20px; padding: 24px 28px; background: linear-gradient(to top, rgb(0 0 0 / .45), transparent); color: #fff; }
.hero__progress { display: flex; gap: 10px; flex: 1; max-width: 640px; }
.hero__progress button { flex: 1; text-align: start; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: rgb(255 255 255 / .7); padding-top: 10px; position: relative; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero__progress button::before, .hero__progress button::after { content: ""; position: absolute; top: 0; inset-inline-start: 0; height: 3px; border-radius: 2px; }
.hero__progress button::before { inset-inline-end: 0; background: rgb(255 255 255 / .3); }
.hero__progress button::after { width: 0; background: #fff; }
.hero__progress button.is-active { color: #fff; }
.hero__progress button.is-active::after { animation: fill var(--dur, 7s) linear forwards; }
.hero__progress button.is-done::after { width: 100%; }
.hero.is-paused .hero__progress button.is-active::after { animation-play-state: paused; }
@keyframes fill { to { width: 100%; } }
.hero__arrows { display: flex; gap: 8px; }
.hero__arrows button { width: 44px; height: 44px; border-radius: 50%; background: rgb(255 255 255 / .16); backdrop-filter: blur(8px); display: grid; place-items: center; color: #fff; transition: background .2s; }
.hero__arrows button:hover { background: rgb(255 255 255 / .32); }
.hero__arrows svg { width: 18px; height: 18px; }

.usp { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.usp > div, .usp > a { background: #fff; display: flex; align-items: center; gap: 14px; padding: 22px 24px; }
.usp svg { width: 30px; height: 30px; color: var(--blue); flex: none; }
.usp b { display: block; font-size: 15px; }
.usp span { font-size: 13px; color: var(--muted); }

/* Categorías bento */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, minmax(220px, 26vw)); gap: 16px; max-height: 760px; }
.tile { position: relative; border-radius: var(--r-lg); overflow: hidden; display: flex; align-items: end; padding: 22px; color: #fff; isolation: isolate; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgb(0 0 0 / .62), transparent 55%); }
.tile:hover img { transform: scale(1.06); }
.tile__label { display: flex; justify-content: space-between; align-items: end; width: 100%; gap: 12px; }
.tile__label strong { font-weight: 900; font-size: clamp(1.3rem, 2.2vw, 2rem); line-height: .95; text-transform: uppercase; }
.tile__label small { display: block; font-size: 13px; font-weight: 600; opacity: .85; margin-top: 6px; text-transform: none; }
.tile__go { width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; flex: none; transition: background .2s, transform .3s var(--ease); }
.tile:hover .tile__go { background: var(--volt); transform: rotate(-45deg); }
.tile__go svg { width: 18px; height: 18px; }
.tile--big { grid-row: span 2; grid-column: span 2; }

/* Finder teaser */
.finder-cta { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--blue); color: #fff; }
.finder-cta__text { padding: clamp(32px, 5vw, 72px); display: flex; flex-direction: column; gap: 22px; justify-content: center; }
.finder-cta__text .eyebrow { color: var(--volt); }
.finder-cta__text p { font-size: 1.1rem; opacity: .9; max-width: 46ch; }
.finder-cta__levels { display: flex; flex-wrap: wrap; gap: 8px; }
.finder-cta__levels a { border: 1px solid rgb(255 255 255 / .4); border-radius: var(--pill); padding: 8px 16px; font-size: 13px; font-weight: 700; transition: .2s; }
.finder-cta__levels a:hover { background: #fff; color: var(--blue); }
.finder-cta__art { position: relative; min-height: 380px; background: radial-gradient(circle at 60% 50%, #4a5cff 0, transparent 60%); display: grid; place-items: center; overflow: hidden; }
.fan { position: absolute; width: 40%; max-width: 230px; aspect-ratio: 3 / 4; background: #fff; border-radius: 22px; padding: 14px; box-shadow: 0 30px 50px rgb(0 0 0 / .3); transition: transform .8s var(--ease); }
.fan img { width: 100%; height: 100%; object-fit: contain; }
.fan:nth-child(1) { transform: translateX(-62%) rotate(-12deg); }
.fan:nth-child(2) { transform: translateX(62%) rotate(10deg); }
.fan:nth-child(3) { z-index: 1; transform: translateY(-3%); }
.finder-cta:hover .fan:nth-child(1) { transform: translateX(-74%) rotate(-16deg); }
.finder-cta:hover .fan:nth-child(2) { transform: translateX(74%) rotate(14deg); }
.finder-cta:hover .fan:nth-child(3) { transform: translateY(-6%) scale(1.03); }

/* Marcas */
.brands { overflow: hidden; padding: 40px 0; border-block: 1px solid var(--line); }
.brands__track { display: flex; width: max-content; animation: ticker 45s linear infinite; }
.brands:hover .brands__track { animation-play-state: paused; }
.brands__group { display: flex; align-items: center; gap: 88px; padding-right: 88px; }
.brands img { height: 34px; width: auto; max-width: 150px; object-fit: contain; filter: grayscale(1) contrast(1.2); opacity: .65; transition: .25s; }
.brands img:hover { filter: none; opacity: 1; }

/* Jugadores */
.player { position: relative; display: block; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 3 / 4.1; background: linear-gradient(170deg, #1c2a8f, var(--blue-deep)); color: #fff; isolation: isolate; }
.player img.photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; z-index: -1; transition: transform .7s var(--ease); }
.player::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgb(0 23 85 / .92) 8%, transparent 50%); }
.player:hover img.photo { transform: scale(1.05); }
.player__rank { position: absolute; top: 14px; inset-inline-start: 18px; font-weight: 900; font-size: 64px; line-height: 1; -webkit-text-stroke: 1.5px #fff; color: transparent; }
.player__flag { position: absolute; top: 20px; inset-inline-end: 18px; width: 30px; height: 20px; object-fit: cover; border-radius: 3px; }
.player__body { position: absolute; left: 18px; right: 18px; bottom: 18px; }
.player__name { font-weight: 900; font-size: 20px; line-height: 1; text-transform: uppercase; }
.player__pts { font-size: 13px; opacity: .8; margin-top: 6px; display: flex; justify-content: space-between; align-items: center; }
.player__pts span:last-child { font-weight: 700; color: var(--volt); }

/* Reseñas */
.score { display: flex; align-items: center; gap: 18px; }
.score b { font-size: clamp(3.5rem, 7vw, 6rem); font-weight: 900; line-height: .8; }
.stars { color: var(--volt); letter-spacing: 2px; }
.review { border-radius: var(--r-lg); background: #17181d; border: 1px solid #262830; padding: 32px; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; min-height: 300px; }
.review p { font-size: 17px; line-height: 1.5; color: #e6e7ea; }
.review footer { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.review__avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--blue); display: grid; place-items: center; font-weight: 900; }
.review__verified { font-size: 12px; color: var(--green); }

/* Newsletter + footer */
.newsletter > * { min-width: 0; }
.newsletter { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.field-pill { display: flex; gap: 6px; background: #fff; border-radius: var(--pill); padding: 6px; border: 1px solid var(--line); }
.field-pill input { flex: 1; min-width: 0; border: 0; outline: none; padding: 0 18px; background: none; font-size: 15px; }
.footer { background: var(--ink); color: #fff; padding: 72px 0 28px; font-size: 14px; }
.footer__top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 48px; }
.footer__logo { margin-bottom: 18px; }
.footer p { color: var(--faint); }
.footer h4 { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin-bottom: 16px; }
.footer li a, .footer__contact a { display: flex; align-items: center; gap: 10px; padding: 5px 0; color: #e6e7ea; transition: color .15s; }
.footer li a:hover, .footer__contact a:hover { color: var(--volt); }
.footer__contact img { width: 18px; height: 18px; }
.footer__sponsors { display: flex; gap: 12px; margin-top: 18px; }
.footer__sponsors img { height: 52px; width: auto; }
.social { display: flex; gap: 8px; margin-top: 18px; }
.social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid #2f333b; display: grid; place-items: center; transition: .2s; }
.social a:hover { background: #fff; color: var(--ink); }
.social svg { width: 18px; height: 18px; }
.footer__bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid #23252c; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; color: #8a909c; font-size: 12px; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer__legal a:hover { color: #fff; }
.payments { display: flex; gap: 6px; flex-wrap: wrap; }
.payments img { height: 26px; width: auto; background: #fff; border-radius: 4px; }
.wa { position: fixed; inset-inline-end: 20px; bottom: 20px; z-index: 50; display: flex; align-items: center; gap: 10px; height: 56px; padding: 4px; padding-inline-end: 18px; border-radius: var(--pill); background: #25d366; color: #fff; font-weight: 700; font-size: 14px; box-shadow: var(--shadow-lg); transition: transform .2s; }
.wa:hover { transform: translateY(-2px); }
.wa img { width: 48px; height: 48px; flex: none; }
.wa__label { white-space: nowrap; }
@media (max-width: 640px) { .wa { padding: 4px; } .wa__label { display: none; } .sticky-buy.is-on ~ .wa, body:has(.sticky-buy.is-on) .wa { bottom: 92px; } }

/* ---------- Modal (quick view, comparador) ---------- */
.modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 16px; visibility: hidden; }
.modal.is-open { visibility: visible; }
.modal__box { position: relative; width: min(980px, 100%); max-height: calc(100dvh - 32px); overflow-y: auto; background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(16px) scale(.98); transition: .3s var(--ease); }
.modal.is-open .modal__box { opacity: 1; transform: none; }
.modal__close { position: absolute; top: 12px; inset-inline-end: 12px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; background: var(--bg-2); display: grid; place-items: center; }
.modal__close:hover { background: var(--bg-3); }
.qv { display: grid; grid-template-columns: 1fr 1fr; }
.qv__media { background: var(--bg-2); aspect-ratio: 1; display: grid; place-items: center; padding: 32px; }
.qv__media img { max-height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.qv__info { padding: 40px 36px; display: flex; flex-direction: column; gap: 16px; }

/* Barra comparador */
.compare-bar { position: fixed; left: 50%; bottom: 20px; z-index: 80; transform: translate(-50%, 140%); background: var(--ink); color: #fff; border-radius: var(--pill); padding: 8px; padding-inline-start: 20px; display: flex; align-items: center; gap: 14px; box-shadow: var(--shadow-lg); transition: transform .35s var(--ease); max-width: calc(100vw - 32px); }
.compare-bar.is-on { transform: translate(-50%, 0); }
.compare-bar__thumbs { display: flex; gap: 6px; }
.compare-bar__thumbs img { width: 40px; height: 40px; border-radius: 50%; background: #fff; object-fit: contain; padding: 3px; }
.compare-bar span { font-size: 14px; font-weight: 600; white-space: nowrap; }
.compare-bar .link-clear { font-size: 12px; color: var(--faint); text-decoration: underline; }
.compare { padding: 40px 32px 32px; }
.compare table { width: 100%; border-collapse: collapse; font-size: 14px; table-layout: fixed; }
.compare th { text-align: start; font-weight: 600; color: var(--muted); width: 140px; vertical-align: top; }
.compare th, .compare td { padding: 12px 10px; border-bottom: 1px solid var(--line); }
.compare td { vertical-align: top; }
.compare thead td { border: 0; }
.compare thead img { width: 100%; aspect-ratio: 1; object-fit: contain; background: var(--bg-2); border-radius: var(--r); padding: 12px; mix-blend-mode: multiply; margin-bottom: 10px; }
.compare .best { color: var(--blue); font-weight: 700; }

/* Toast */
.toast { position: fixed; left: 50%; top: 20px; z-index: 140; transform: translate(-50%, -160%); background: var(--ink); color: #fff; border-radius: var(--r); padding: 12px 14px 12px 12px; display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow-lg); transition: transform .35s var(--ease); max-width: calc(100vw - 32px); font-size: 14px; }
.toast.is-on { transform: translate(-50%, 0); }
.toast img { width: 44px; height: 44px; border-radius: 8px; background: #fff; object-fit: contain; padding: 3px; }
.toast button { color: var(--volt); font-weight: 700; text-decoration: underline; margin-inline-start: 6px; white-space: nowrap; }

/* ---------- Tienda ---------- */
.crumbs { display: flex; gap: 8px; font-size: 13px; color: var(--muted); padding: 20px 0 0; flex-wrap: wrap; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs span[aria-hidden] { opacity: .5; }
.shop-hero { padding: 24px 0 32px; display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.shop-hero p { margin-top: 12px; }
.cat-pills { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.cat-pills::-webkit-scrollbar { display: none; }
.shop { display: grid; grid-template-columns: 270px 1fr; gap: 40px; padding-bottom: 96px; }
.filters { position: sticky; top: calc(var(--header-h) + 20px); align-self: start; max-height: calc(100dvh - var(--header-h) - 40px); overflow-y: auto; padding-inline-end: 6px; scrollbar-width: thin; }
.filters__head { display: none; }
.facet { border-bottom: 1px solid var(--line); }
.facet summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .04em; cursor: pointer; }
.facet summary::-webkit-details-marker { display: none; }
.facet summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid; border-bottom: 2px solid; transform: rotate(45deg); transition: transform .2s; margin-inline-end: 4px; }
.facet[open] summary::after { transform: rotate(-135deg); }
.facet__body { padding-bottom: 18px; display: grid; gap: 4px; }
.check { display: flex; align-items: center; gap: 10px; font-size: 14px; padding: 5px 0; cursor: pointer; color: var(--ink-2); }
.check input { width: 18px; height: 18px; accent-color: var(--ink); flex: none; }
.check small { margin-inline-start: auto; color: var(--faint); font-size: 12px; }
.check.is-zero { opacity: .4; }
.size-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.size-grid label { position: relative; }
.size-grid input { position: absolute; opacity: 0; }
.size-grid span { display: grid; place-items: center; height: 38px; border: 1px solid var(--line); border-radius: 8px; font-size: 13px; font-weight: 600; cursor: pointer; transition: .15s; }
.size-grid input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.size-grid input:focus-visible + span { outline: 2px solid var(--blue); }
.range { display: grid; gap: 12px; }
.range__inputs { display: flex; gap: 8px; align-items: center; }
.range__inputs label { flex: 1; display: flex; align-items: center; border: 1px solid var(--line); border-radius: 8px; height: 40px; padding: 0 10px; font-size: 14px; }
.range__inputs input { width: 100%; border: 0; outline: none; background: none; }
.dual { position: relative; height: 24px; }
.dual input { position: absolute; inset: 0; width: 100%; pointer-events: none; -webkit-appearance: none; appearance: none; background: none; }
.dual input::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); cursor: grab; }
.dual input::-moz-range-thumb { pointer-events: auto; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); cursor: grab; }
.dual__track { position: absolute; left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px; border-radius: 2px; background: var(--line); }
.dual__fill { position: absolute; top: 0; bottom: 0; background: var(--ink); border-radius: 2px; }
.toolbar { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.toolbar__count { font-size: 14px; color: var(--muted); margin-inline-end: auto; }
.toolbar__count b { color: var(--ink); }
.select { position: relative; }
.select select { appearance: none; height: 40px; border: 1px solid var(--line); border-radius: var(--pill); padding-block: 0; padding-inline: 16px 40px; background: #fff; font-size: 14px; font-weight: 600; cursor: pointer; }
.select::after { content: ""; position: absolute; inset-inline-end: 16px; top: 50%; width: 7px; height: 7px; border-right: 2px solid; border-bottom: 2px solid; transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.density { display: flex; border: 1px solid var(--line); border-radius: var(--pill); padding: 3px; }
.density button { width: 34px; height: 32px; border-radius: var(--pill); display: grid; place-items: center; color: var(--muted); }
.density button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.density svg { width: 16px; height: 16px; }
.filter-btn { display: none; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.active-filters:empty { display: none; }
.clear-all { font-size: 13px; text-decoration: underline; color: var(--muted); padding: 0 6px; }
.empty-state { grid-column: 1 / -1; text-align: center; padding: 72px 16px; display: grid; gap: 14px; justify-items: center; }
.load-more { display: grid; justify-items: center; gap: 12px; margin-top: 48px; font-size: 13px; color: var(--muted); }
.load-more__bar { width: 200px; height: 3px; background: var(--line); border-radius: 2px; overflow: hidden; }
.load-more__bar span { display: block; height: 100%; background: var(--ink); }
.promo-card { grid-column: span 2; border-radius: var(--r); overflow: hidden; position: relative; background: var(--blue); color: #fff; padding: 32px; display: flex; flex-direction: column; justify-content: end; gap: 14px; min-height: 320px; isolation: isolate; }
.promo-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.promo-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(0 0 0 / .6), transparent 60%); z-index: -1; }

/* ---------- Producto ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); padding: 20px 0 80px; }
.gallery { display: grid; grid-template-columns: 84px 1fr; gap: 14px; align-self: start; position: sticky; top: calc(var(--header-h) + 16px); }
.gallery__thumbs { display: grid; gap: 10px; align-content: start; }
.gallery__thumbs button { aspect-ratio: 1; border-radius: 10px; background: var(--bg-2); border: 2px solid transparent; padding: 6px; transition: border-color .2s; }
.gallery__thumbs button[aria-current="true"] { border-color: var(--ink); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.gallery__main { position: relative; aspect-ratio: 1; border-radius: var(--r-lg); background: var(--bg-2); overflow: hidden; cursor: zoom-in; }
.gallery__main img { width: 100%; height: 100%; object-fit: contain; padding: 6%; mix-blend-mode: multiply; transition: transform .2s ease-out; transform-origin: var(--zx, 50%) var(--zy, 50%); }
.gallery__main.is-zoom img { transform: scale(2); }
.gallery__main .card__badges { top: 18px; inset-inline-start: 18px; }
.gallery__dots { display: none; }
.buy { display: flex; flex-direction: column; gap: 22px; }
.buy__brand { display: flex; justify-content: space-between; align-items: center; }
.buy h1 { font-weight: 900; font-size: clamp(1.7rem, 2.8vw, 2.5rem); line-height: 1; text-transform: uppercase; letter-spacing: -.01em; }
.buy .price b { font-size: 30px; }
.buy .price s { font-size: 18px; }
.buy__save { display: inline-flex; background: #fdecef; color: var(--red); font-weight: 700; font-size: 13px; border-radius: 6px; padding: 4px 10px; }
.buy__tax { font-size: 13px; color: var(--muted); margin-top: 4px; }
.option__head { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 10px; }
.option__head b { font-weight: 700; }
.option__head a { text-decoration: underline; color: var(--muted); }
.sizes { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 8px; }
.sizes button { height: 48px; border: 1px solid var(--line); border-radius: 10px; font-weight: 700; font-size: 14px; transition: .15s; }
.sizes button:hover { border-color: var(--ink); }
.sizes button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.sizes button:disabled { color: var(--faint); background: repeating-linear-gradient(-45deg, transparent 0 6px, var(--bg-2) 6px 7px); cursor: not-allowed; text-decoration: line-through; }
.option.is-error .sizes button:not(:disabled) { border-color: var(--red); }
.option__error { color: var(--red); font-size: 13px; margin-top: 8px; display: none; }
.option.is-error .option__error { display: block; }
.buy__row { display: flex; gap: 10px; }
.buy__row .qty { margin: 0; }
.buy__row .btn--dark { flex: 1; height: 56px; font-size: 15px; }
.buy__row .icon-btn { width: 56px; height: 56px; border: 1px solid var(--line); }
.buy__row .icon-btn[aria-pressed="true"] svg { fill: var(--red); stroke: var(--red); }
.perks { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--r); }
.perks div { display: flex; gap: 14px; align-items: center; padding: 14px 16px; font-size: 14px; }
.perks div + div { border-top: 1px solid var(--line); }
.perks svg { width: 22px; height: 22px; color: var(--blue); flex: none; }
.perks b { font-weight: 700; }
.profile { background: var(--bg-2); border-radius: var(--r); padding: 20px; display: grid; gap: 12px; }
.profile h3 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; display: flex; justify-content: space-between; }
.profile h3 span { font-weight: 500; color: var(--muted); letter-spacing: 0; text-transform: none; }
.meter { display: grid; grid-template-columns: 110px 1fr 28px; align-items: center; gap: 12px; font-size: 14px; }
.meter__bar { height: 8px; border-radius: 4px; background: #fff; overflow: hidden; }
.meter__bar span { display: block; height: 100%; border-radius: inherit; background: var(--blue); transform-origin: left; animation: grow 1.1s var(--ease); }
@keyframes grow { from { transform: scaleX(0); } }
.meter b { text-align: end; }
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; display: flex; justify-content: space-between; padding: 18px 0; font-weight: 700; text-transform: uppercase; font-size: 14px; letter-spacing: .04em; cursor: pointer; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-size: 20px; font-weight: 500; line-height: 1; }
.acc details[open] summary::after { content: "–"; }
.acc__body { padding-bottom: 20px; color: var(--ink-2); font-size: 15px; line-height: 1.6; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec-table th, .spec-table td { text-align: start; padding: 10px 0; border-bottom: 1px solid var(--line); }
.spec-table th { color: var(--muted); font-weight: 500; width: 40%; }
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -10px 30px rgb(0 0 0 / .06); transform: translateY(100%); transition: transform .3s var(--ease); }
.sticky-buy.is-on { transform: none; }
.sticky-buy .wrap { display: flex; align-items: center; gap: 16px; height: 76px; }
.sticky-buy img { width: 52px; height: 52px; object-fit: contain; background: var(--bg-2); border-radius: 8px; mix-blend-mode: multiply; }
.sticky-buy p { font-weight: 600; font-size: 14px; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Finder ---------- */
.finder { min-height: calc(100dvh - var(--header-h) - 36px); display: grid; grid-template-columns: 1fr 1fr; }
.finder__side { background: var(--blue); color: #fff; padding: clamp(32px, 5vw, 72px); display: flex; flex-direction: column; justify-content: space-between; gap: 32px; position: relative; overflow: hidden; }
.finder__side .eyebrow { color: var(--volt); }
.finder__side .fan { inset-inline-end: 8%; bottom: 8%; width: 34%; max-width: 220px; transform: rotate(-10deg); pointer-events: none; }
.finder__steps { display: flex; gap: 8px; position: relative; z-index: 1; }
.finder__steps span { height: 4px; flex: 1; border-radius: 2px; background: rgb(255 255 255 / .25); transition: background .3s; }
.finder__steps span.is-on { background: var(--volt); }
.finder__main { padding: clamp(32px, 5vw, 72px); display: flex; flex-direction: column; justify-content: center; gap: 28px; }
.q { display: none; gap: 24px; animation: qin .45s var(--ease); }
.q.is-active { display: grid; }
@keyframes qin { from { opacity: 0; transform: translateX(20px); } }
.q__opts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.q__opt { text-align: start; border: 1.5px solid var(--line); border-radius: var(--r); padding: 18px 18px 20px; display: grid; gap: 6px; transition: .2s; }
.q__opt:hover { border-color: var(--ink); transform: translateY(-2px); }
.q__opt[aria-pressed="true"] { border-color: var(--blue); background: var(--blue-soft); }
.q__opt b { font-size: 17px; font-weight: 900; text-transform: uppercase; }
.q__opt span { font-size: 14px; color: var(--muted); }
.q__opt i { font-style: normal; font-size: 26px; }
.q__nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.results { padding: 56px 0 96px; }
.match { position: absolute; top: 12px; inset-inline-end: 56px; z-index: 2; background: var(--volt); color: var(--ink); font-weight: 900; font-size: 13px; border-radius: var(--pill); padding: 4px 10px; }
.why-list { font-size: 13px; color: var(--muted); display: grid; gap: 2px; }
.why-list li::before { content: "✓ "; color: var(--green); font-weight: 900; }

/* ---------- Responsive ---------- */
@media (max-width: 1760px) {
  .search-trigger { width: 44px; flex: none; min-width: 0; padding: 0; justify-content: center; background: none; }
  .search-trigger span, .search-trigger kbd { display: none; }
  .nav__link { padding: 0 10px; font-size: 13px; }
}
@media (max-width: 1100px) {
  .grid { --cols: 3; }
  .rail { grid-auto-columns: calc((100% - 2 * 18px) / 3); }
  .usp { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .search__results { grid-template-columns: repeat(3, 1fr); }
  .mega__inner { grid-template-columns: repeat(3, 1fr); }
  .mega__feature { display: none; }
}
@media (max-width: 960px) {
  :root { --header-h: 60px; }
  .nav { display: none; }
  .menu-btn { display: grid; }
  .header__bar { gap: 8px; }
  .header__logo { margin: 0 auto; }
  .header__logo .logo { font-size: 22px; }
  .header__tools { margin-inline-start: 0; }
  .shop { grid-template-columns: 1fr; }
  .filters { position: fixed; inset: 0 auto 0 0; z-index: 100; width: min(380px, 92vw); max-height: none; background: #fff; padding: 0 20px 100px; transform: translateX(-100%); transition: transform .35s var(--ease); top: 0; }
  .filters.is-open { transform: none; }
  .filters__head { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; position: sticky; top: 0; background: #fff; z-index: 1; border-bottom: 1px solid var(--line); }
  .filters__apply { position: fixed; left: 0; bottom: 0; width: min(380px, 92vw); padding: 16px 20px; background: #fff; border-top: 1px solid var(--line); }
  .filter-btn { display: inline-flex; }
  .pdp { grid-template-columns: minmax(0, 1fr); }
  .gallery { position: static; grid-template-columns: minmax(0, 1fr); }
  .buy__row .btn--dark { min-width: 0; padding: 0 16px; }
  .hide-sm { display: none; }
  .gallery__thumbs { grid-auto-flow: column; grid-auto-columns: 64px; order: 2; overflow-x: auto; }
  .finder { grid-template-columns: 1fr; }
  .finder__side { min-height: 260px; }
  .finder__side .fan { width: 28%; inset-inline-end: 6%; bottom: 12%; }
  .finder-cta { grid-template-columns: 1fr; }
  .finder-cta__art { min-height: 260px; }
  .bento { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: 240px; max-height: none; }
  .tile--big { grid-column: span 2; grid-row: span 1; }
  .newsletter { grid-template-columns: 1fr; gap: 24px; }
  .search__cols { grid-template-columns: 1fr; gap: 28px; }
  .qv { grid-template-columns: 1fr; }
  .qv__media { aspect-ratio: 4 / 3; }
}
@media (min-width: 961px) { .filters__apply { display: none; } }
@media (max-width: 640px) {
  .grid { --cols: 2; gap: 24px 10px; }
  .grid.is-list { --cols: 1; }
  .rail { grid-auto-columns: 46%; gap: 10px; }
  .rail--wide { grid-auto-columns: 82%; }
  .rail-nav { display: none; }
  .hero__slides { aspect-ratio: .82; }
  .hero__frame { border-radius: var(--r); }
  .hero__ui { padding: 16px; }
  .hero__progress button { font-size: 0; }
  .hero__arrows { display: none; }
  .usp > div, .usp > a { padding: 16px; gap: 10px; }
  .usp svg { width: 24px; height: 24px; }
  .usp b { font-size: 13px; }
  .usp span { font-size: 12px; }
  .bento { grid-auto-rows: 200px; gap: 10px; }
  .tile { padding: 16px; border-radius: var(--r); }
  .tile__go { width: 36px; height: 36px; }
  .card__actions { opacity: 1; transform: none; left: 8px; right: 8px; bottom: 8px; }
  .card__actions .btn span { display: none; }
  .card__actions .btn { flex: 0 0 40px; padding: 0; margin-inline-start: auto; border-radius: 50%; }
  .card__actions .icon-btn { display: none; }
  .card__name { font-size: 14px; }
  .price b { font-size: 15px; }
  .card__wish { width: 34px; height: 34px; }
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .search__results { grid-template-columns: repeat(2, 1fr); }
  .q__opts { grid-template-columns: 1fr; }
  .compare { padding: 48px 12px 16px; overflow-x: auto; }
  .compare table { min-width: 560px; }
  .ticker { font-size: 12px; }
  .sticky-buy p { display: none; }
  .sticky-buy .btn { flex: 1; }
  .meter { grid-template-columns: 90px 1fr 24px; }
  .toolbar .select select { padding-inline-start: 12px; }
  .density { display: none; }
}

/* ---------- Language switch ---------- */
.lang-switch { display: flex; border: 1px solid var(--line); border-radius: var(--pill); padding: 3px; margin: 0 4px; }
.lang-switch button { height: 30px; min-width: 34px; padding: 0 8px; border-radius: var(--pill); font-size: 12px; font-weight: 700; color: var(--muted); }
.lang-switch button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.drawer__head .lang-switch { margin-inline-start: auto; margin-inline-end: 8px; }
@media (max-width: 960px) { .header .lang-switch { display: none; } }

/* ---------- RTL (Hebrew) ---------- */
html[lang="he"] { --font: "Heebo", "Haffer", system-ui, sans-serif; }
html[lang="he"] .eyebrow, html[lang="he"] .card__brand, html[lang="he"] .footer h4, html[lang="he"] .mega h4 { letter-spacing: .02em; }
html[lang="he"] .display, html[lang="he"] .h2 { letter-spacing: 0; line-height: 1; }
[dir="rtl"] .ticker__track, [dir="rtl"] .brands__track { direction: ltr; }
[dir="rtl"] .ticker__item { direction: rtl; }
[dir="rtl"] .nav__link::after, [dir="rtl"] .meter__bar span { transform-origin: right; }
[dir="rtl"] .drawer--left { left: auto; right: 0; transform: translateX(100%); }
[dir="rtl"] .drawer--right { right: auto; left: 0; transform: translateX(-100%); }
[dir="rtl"] .drawer.is-open { transform: none; }
[dir="rtl"] .mega__col a:hover { transform: translateX(-3px); }
/* Directional icons point the other way */
[dir="rtl"] .link svg, [dir="rtl"] .rail-nav svg, [dir="rtl"] .hero__arrows svg, [dir="rtl"] .tile__go svg, [dir="rtl"] .btn svg { transform: scaleX(-1); }
[dir="rtl"] .link:hover svg { transform: scaleX(-1) translateX(4px); }
[dir="rtl"] .tile:hover .tile__go { transform: rotate(45deg); }
[dir="rtl"] .q.is-active { animation-name: qin-rtl; }
@keyframes qin-rtl { from { opacity: 0; transform: translateX(-20px); } }
[dir="rtl"] .dual, [dir="rtl"] .range__inputs, [dir="rtl"] .qty { direction: ltr; }
@media (max-width: 960px) {
  [dir="rtl"] .filters { inset: 0 0 0 auto; transform: translateX(100%); }
  [dir="rtl"] .filters.is-open { transform: none; }
  [dir="rtl"] .filters__apply { left: auto; right: 0; }
}

/* Header: switch to the hamburger menu earlier (Hebrew labels are wider) */
@media (max-width: 1360px) {
  .nav, .header .lang-switch { display: none; }
  .menu-btn { display: grid; }
  .header__bar { gap: 8px; }
  .header__logo { margin: 0 auto; }
  .header__tools { margin-inline-start: 0; }
}
@media (max-width: 640px) {
  .header__tools .icon-btn { width: 38px; height: 38px; }
  .header__tools .search-trigger { width: 38px; }
  .header__tools a[href*="/account"] { display: none; }
  .header__logo .logo { font-size: 20px; }
}
@media (max-width: 380px) {
  .header__tools .icon-btn, .header__tools .search-trigger { width: 34px; height: 34px; }
  .header__logo .logo { font-size: 18px; }
  .h2, .display { overflow-wrap: anywhere; }
}
@media (max-width: 340px) { .header__tools a[href*="wishlist"] { display: none; } }

/* ---------- PadelShop wordmark (text logo) ---------- */
.logo { font: 900 26px/1 var(--font); letter-spacing: -.03em; color: var(--ink); white-space: nowrap; }
.logo b { font-weight: 900; color: var(--blue); }
.footer__logo { display: inline-block; margin-bottom: 18px; }
.footer .logo { color: #fff; font-size: 30px; }
.footer .logo b { color: var(--volt); }
.drawer__head .logo { font-size: 20px; }
.usp > a { color: inherit; transition: background .15s; }
.usp > a:hover { background: var(--bg-2, #f4f5f7); }

/* ---------- Account / login ---------- */
#account-btn { position: relative; }
#account-btn .avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font: 700 13px var(--font); overflow: hidden; }
#account-btn .avatar img { width: 100%; height: 100%; object-fit: cover; }
.auth { display: grid; gap: 14px; padding: 28px 4px 8px; max-width: 400px; margin: 0 auto; }
.auth h2 { font-size: 1.6rem; margin: 0; }
.auth p { margin: 0; }
.auth__social { display: grid; gap: 10px; }
.auth__btn { display: flex; align-items: center; justify-content: center; gap: 10px; height: 48px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font: 700 15px var(--font); color: var(--ink); cursor: pointer; transition: border-color .15s, background .15s; }
.auth__btn:hover { border-color: var(--ink); }
.auth__btn svg { width: 20px; height: 20px; flex: none; }
.auth__btn--fb { background: #1877f2; border-color: #1877f2; color: #fff; }
.auth__btn--fb:hover { background: #0f63d4; border-color: #0f63d4; }
.auth__or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; }
.auth__or::before, .auth__or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth form { display: grid; gap: 10px; }
.auth input { height: 48px; border: 1.5px solid var(--line); border-radius: 12px; padding: 0 14px; font: 500 15px var(--font); width: 100%; box-sizing: border-box; }
.auth input:focus { outline: none; border-color: var(--ink); }
.auth__msg { font-size: 14px; border-radius: 10px; padding: 10px 12px; background: #fff1f1; color: #b42318; }
.auth__msg.is-ok { background: #ecfdf3; color: #067647; }
.auth__links { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 14px; }
.auth__links button { background: none; border: 0; padding: 0; color: var(--blue); font: 600 14px var(--font); cursor: pointer; text-decoration: underline; }
.auth__user { display: flex; align-items: center; gap: 14px; }
.auth__user .avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font: 700 20px var(--font); overflow: hidden; flex: none; }
.auth__user .avatar img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Info page ---------- */
.info { max-width: 760px; margin: 0 auto; padding: 48px 0 96px; display: grid; gap: 40px; }
.info section { scroll-margin-top: 120px; }
.info h2 { margin-bottom: 12px; }
.info p, .info li { color: var(--ink-2); font-size: 1.05rem; line-height: 1.7; }
.info ul { padding-inline-start: 20px; margin: 0; }
.q__opt .q__count { font-size: 12px; font-weight: 700; color: var(--blue); }
.modal__box:has(#auth) { max-width: 520px; }
#reviews { grid-auto-columns: calc((100% - 2 * 18px) / 3); }
@media (max-width: 900px) { #reviews { grid-auto-columns: 70%; } }
@media (max-width: 600px) { #reviews { grid-auto-columns: 85%; } }
