/* ==========================================================
   Pasión Versace Perfumería — estilos
   Negro profundo + dorado. Sin frameworks.
   ========================================================== */

:root {
  --bg: #0a0a0a;
  --surface: #111111;
  --surface-2: #181818;
  --line: rgba(212, 175, 55, 0.18);
  --line-strong: rgba(212, 175, 55, 0.45);
  --gold: #d4af37;
  --gold-soft: #e9cf75;
  --gold-grad: linear-gradient(135deg, #f6e7a6 0%, #d4af37 42%, #b08a22 72%, #e7c968 100%);
  --text: #f4f2ee;
  --muted: #a3a09a;
  --muted-2: #77746e;
  --wa: #1fa855;
  --radius: 14px;
  --header-h: 72px;
  --serif: "Cinzel", "Playfair Display", Georgia, serif;
  --sans: "Montserrat", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
[hidden] { display: none !important; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--gold); color: #000; padding: 8px 14px; border-radius: 8px;
  text-decoration: none; font-weight: 600;
}
.skip:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.gold-text {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  margin: 0 0 6px;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

.muted { color: var(--muted); }

/* ---------- Header ---------- */

.header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(10, 10, 10, 0.88);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  max-width: 1200px; margin: 0 auto;
  padding: 10px 24px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: var(--header-h);
}

.header__logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
}
.header__logo img { height: 52px; width: auto; border-radius: 6px; }
.header__word { display: flex; flex-direction: column; line-height: 1.08; }
.header__word strong {
  font-family: var(--serif); font-weight: 600; font-size: 17px; letter-spacing: .08em;
  white-space: nowrap;
}
.header__word small {
  margin-top: 3px;
  font-size: 9.5px; letter-spacing: .42em; text-transform: uppercase; color: var(--gold);
}

.nav { display: flex; gap: 6px; justify-content: center; }
.nav a {
  position: relative;
  padding: 8px 14px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  white-space: nowrap;
  transition: color .2s;
}
.nav a:hover { color: var(--text); }
.nav a[aria-current="page"] { color: var(--gold-soft); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 1px;
  background: var(--gold-grad);
}

.search {
  position: relative; display: block; width: 260px;
}
.search__icon {
  position: absolute; left: 14px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%);
  fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; pointer-events: none;
}
.search input {
  width: 100%;
  height: 42px;
  padding: 0 14px 0 40px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  outline: none;
  font-size: 14px;
  transition: border-color .2s, background .2s;
}
.search input::placeholder { color: var(--muted-2); }
.search input:focus { border-color: var(--line-strong); background: var(--surface-2); }

/* ---------- Hero ---------- */

.hero {
  max-width: 1200px; margin: 0 auto;
  padding: 56px 24px 24px;
  text-align: center;
}
.hero__logo {
  width: 150px; height: 150px; margin: 0 auto 22px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  box-shadow: 0 0 0 6px rgba(212, 175, 55, 0.05), 0 20px 60px rgba(212, 175, 55, 0.08);
  object-fit: cover;
}
.hero__phrase {
  max-width: 640px; margin: 0 auto;
  font-family: var(--serif);
  font-size: clamp(19px, 2.6vw, 27px);
  line-height: 1.45;
  font-weight: 500;
  color: var(--text);
}

/* ---------- Presentaciones ---------- */

.presentaciones {
  max-width: 1200px; margin: 36px auto 0;
  padding: 0 24px;
}
.presentaciones__head { text-align: center; margin-bottom: 28px; }
.presentaciones__head h2 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.2;
}
.presentaciones__lead { margin: 0; color: var(--muted); }
.presentaciones__list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px;
}
.pres-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  text-align: center;
}
/* Mismo contenedor para los 4 frascos: las fotos comparten escala,
   así que el de 110 ml se ve más grande que el de 30 ml. */
.pres-card__media {
  position: relative;
  aspect-ratio: 6 / 7;
  background: #fff;
}
.pres-card__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain; object-position: center bottom;
}
.pres-card__body { padding: 16px 14px 20px; display: flex; flex-direction: column; flex: 1; }
.pres-card__name { margin: 0; font-family: var(--serif); font-size: 18px; font-weight: 600; color: var(--text); }
.pres-card__desc { margin: 6px 0 12px; font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.pres-card__price { margin: auto 0 0; font-family: var(--serif); font-size: 24px; font-weight: 600; }

/* ---------- Catálogo ---------- */

.catalogo {
  max-width: 1200px; margin: 0 auto;
  padding: 56px 24px 72px;
  scroll-margin-top: calc(var(--header-h) + 8px);
}

.catalogo__head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.catalogo__head h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
}

.tabs {
  display: inline-flex; padding: 4px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.tabs button {
  border: 0; background: transparent;
  padding: 9px 20px;
  border-radius: 999px;
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
  transition: color .2s, background .2s;
}
.tabs button[aria-selected="true"] {
  background: var(--gold-grad);
  color: #111;
  font-weight: 600;
}

.toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin: 20px 0 26px;
}
.toolbar__count { margin: 0; font-size: 13px; color: var(--muted); }

.select { position: relative; display: inline-block; }
.select::after {
  content: ""; position: absolute; right: 16px; top: 50%;
  width: 7px; height: 7px; margin-top: -5px;
  border-right: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold);
  transform: rotate(45deg); pointer-events: none;
}
.select select {
  appearance: none; -webkit-appearance: none;
  min-width: 220px; max-width: 100%;
  height: 40px;
  padding: 0 40px 0 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  outline: none;
}
.select select:focus { border-color: var(--line-strong); }
.select option { background: #111; color: var(--text); }

/* ---------- Grid & tarjetas ---------- */

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
@media (hover: hover) {
  .card:hover {
    transform: translateY(-3px);
    border-color: var(--line-strong);
    box-shadow: 0 14px 34px rgba(0, 0, 0, .55), 0 0 0 1px rgba(212, 175, 55, .08);
  }
}

.card__media {
  position: relative;
  background: #fff;
  aspect-ratio: 5 / 4;
}
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 8px 0; }

.card__rank {
  position: absolute; top: 12px; left: 12px; z-index: 1;
  min-width: 38px; height: 38px; padding: 0 8px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  background: #0a0a0a;
  border: 1px solid var(--gold);
  font-family: var(--serif); font-weight: 700; font-size: 15px;
  color: var(--gold-soft);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
}
.card__rank small { font-size: 10px; margin-right: 1px; opacity: .8; }

.card__body {
  display: flex; flex-direction: column; flex: 1;
  padding: 18px 18px 20px;
}
.card__kicker {
  margin: 0;
  font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase;
  color: var(--gold);
}
.card__name {
  margin: 4px 0 2px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 21px;
  line-height: 1.2;
  color: var(--text);
}
.card__brand { margin: 0; font-size: 13px; color: var(--muted); }

.card__desc {
  margin: 10px 0 0;
  font-size: 12.5px; line-height: 1.5;
  color: #c4c1bb;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3;
  overflow: hidden;
}

.card__notas {
  margin: 12px 0 0;
  font-size: 11.5px; line-height: 1.5;
  color: var(--muted);
}

/* Cuadrícula de acordes: 4 x 2 (hasta 8) */
.acordes {
  list-style: none; margin: 14px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px;
}
.acorde {
  --c: 200, 196, 188;
  display: flex; align-items: center; justify-content: center;
  min-height: 26px;
  padding: 3px 4px;
  border-radius: 6px;
  background: rgba(var(--c), .13);
  border: 1px solid rgba(var(--c), .22);
  color: rgb(var(--c));
  font-size: 10.5px; line-height: 1.2;
  text-align: center;
  overflow-wrap: anywhere;
  hyphens: auto;
}
.acorde--citrico   { --c: 236, 214, 120; }
.acorde--fresco    { --c: 150, 200, 232; }
.acorde--verde     { --c: 156, 204, 150; }
.acorde--floral    { --c: 236, 168, 192; }
.acorde--frutal    { --c: 238, 164, 140; }
.acorde--dulce     { --c: 238, 222, 190; }
.acorde--amaderado { --c: 200, 160, 120; }
.acorde--especiado { --c: 236, 160, 96; }
.acorde--cuero     { --c: 168, 164, 160; background: rgba(60, 58, 56, .55); border-color: rgba(120, 116, 112, .35); }
.acorde--neutro    { --c: 214, 196, 150; }

/* Bloque de compra: siempre abajo para alinear tarjetas de la misma fila */
.card__buy { margin-top: auto; padding-top: 16px; }

.chips {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px;
}
.chip {
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 5px;
  padding: 5px 3px 6px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 9px;
  background: transparent;
  font-size: 11.5px; line-height: 1.2;
  color: var(--muted);
  text-align: center;
  transition: border-color .15s, color .15s, background .15s;
}
/* Miniatura del frasco en un recuadro blanco */
.chip__thumb {
  flex: none;
  width: 36px; height: 48px;
  padding: 3px;
  border-radius: 6px;
  background: #fff;
}
.chip__thumb img { width: 100%; height: 100%; object-fit: contain; }
.chip:hover { border-color: var(--line-strong); color: var(--text); }
.chip[aria-checked="true"] {
  border-color: var(--gold);
  color: var(--gold-soft);
  background: rgba(212, 175, 55, .08);
}

.card__price {
  margin: 14px 0 14px;
  font-family: var(--serif);
  font-size: 24px; font-weight: 600;
  letter-spacing: .02em;
}

.card__actions {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}

/* ---------- Botones ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 12.5px; font-weight: 600; letter-spacing: .04em;
  text-decoration: none;
  white-space: nowrap;
  transition: filter .2s, transform .1s, background .2s, border-color .2s;
}
.btn:active { transform: scale(.98); }
.btn svg { width: 17px; height: 17px; flex: none; }

.btn--gold { background: var(--gold-grad); color: #111; }
.btn--gold:hover { filter: brightness(1.08); }

.btn--wa { background: transparent; border-color: rgba(31, 168, 85, .55); color: #e9f7ee; }
.btn--wa svg { color: #25d366; }
.btn--wa:hover { background: rgba(31, 168, 85, .12); border-color: #25d366; }

.btn--ghost { background: transparent; border-color: var(--line-strong); color: var(--gold-soft); }
.btn--ghost:hover { background: rgba(212, 175, 55, .08); }

.btn--block { width: 100%; }

.btn.is-added { filter: brightness(1.08); }

.icon-btn {
  width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid var(--line); background: transparent;
}
.icon-btn svg { width: 18px; height: 18px; fill: none; stroke: var(--text); stroke-width: 1.8; stroke-linecap: round; }

/* ---------- Vacío / paginación ---------- */

.empty {
  padding: 64px 16px; text-align: center;
  border: 1px dashed var(--line); border-radius: var(--radius);
}
.empty__title { margin: 0 0 6px; font-family: var(--serif); font-size: 20px; }
.empty__text { margin: 0 0 20px; color: var(--muted); }

.pagination {
  display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px;
  margin-top: 44px;
}
.pagination:empty { display: none; }
.pagination button, .pagination span {
  min-width: 42px; height: 42px; padding: 0 12px;
  display: inline-grid; place-items: center;
  border-radius: 999px;
  font-size: 14px;
}
.pagination button {
  border: 1px solid var(--line); background: transparent; color: var(--muted);
  transition: border-color .2s, color .2s;
}
.pagination button:hover:not(:disabled) { border-color: var(--line-strong); color: var(--text); }
.pagination button[aria-current="page"] {
  background: var(--gold-grad); color: #111; border-color: transparent; font-weight: 600;
}
.pagination button:disabled { opacity: .35; cursor: default; }
.pagination span { color: var(--muted-2); min-width: 20px; padding: 0; }

/* ---------- Footer ---------- */

.footer { border-top: 1px solid var(--line); background: #070707; }
.footer__inner {
  max-width: 720px; margin: 0 auto;
  padding: 56px 24px 110px;
  text-align: center;
}
.footer__logo { width: 96px; height: 96px; margin: 0 auto 18px; border-radius: 50%; border: 1px solid var(--line); }
.footer__phrase { margin: 0 0 22px; font-family: var(--serif); font-size: 17px; color: var(--text); }
.footer__wa {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--gold-soft); text-decoration: none; font-weight: 500;
}
.footer__wa svg { width: 18px; height: 18px; color: #25d366; }
.footer__wa:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer__note { margin: 28px auto 8px; max-width: 520px; font-size: 12px; color: var(--muted-2); }
.footer__copy { margin: 0; font-size: 12px; color: var(--muted-2); }

/* ---------- Carrito ---------- */

.cart-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 45;
  width: 60px; height: 60px;
  display: grid; place-items: center;
  border-radius: 50%; border: 0;
  background: var(--gold-grad);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .08) inset;
  transition: transform .2s;
}
.cart-fab:hover { transform: translateY(-2px); }
.cart-fab svg { width: 26px; height: 26px; fill: none; stroke: #111; stroke-width: 1.8; stroke-linejoin: round; }
.cart-fab__count {
  position: absolute; top: -2px; right: -2px;
  min-width: 22px; height: 22px; padding: 0 6px;
  display: grid; place-items: center;
  border-radius: 999px;
  background: #0a0a0a; color: var(--gold-soft);
  border: 1px solid var(--gold);
  font-size: 11px; font-weight: 600;
}
.cart-fab.bump { animation: bump .4s ease; }
@keyframes bump { 40% { transform: scale(1.08); } }

.overlay {
  position: fixed; inset: 0; z-index: 50;
  background: rgba(0, 0, 0, .6);
  backdrop-filter: blur(2px);
}

.cart {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 60;
  width: min(420px, 100%);
  display: flex; flex-direction: column;
  background: #0d0d0d;
  border-left: 1px solid var(--line);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform .3s ease, visibility 0s linear .3s;
  outline: none;
}
.cart.is-open { transform: none; visibility: visible; transition: transform .3s ease; }

.cart__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 22px; border-bottom: 1px solid var(--line);
}
.cart__head h2 { margin: 0; font-family: var(--serif); font-size: 22px; font-weight: 600; }

.cart__lines { list-style: none; margin: 0; padding: 6px 22px; overflow-y: auto; flex: 1; }
.line {
  display: grid; grid-template-columns: 64px 1fr; gap: 14px;
  padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.line img { width: 64px; height: 64px; border-radius: 10px; background: #fff; object-fit: contain; }
.line__name { margin: 0; font-family: var(--serif); font-size: 15px; line-height: 1.25; }
.line__meta { margin: 2px 0 0; font-size: 12px; color: var(--muted); }
.line__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
.qty {
  display: inline-flex; align-items: center;
  border: 1px solid var(--line); border-radius: 999px;
}
.qty button {
  width: 32px; height: 32px; border: 0; background: transparent; color: var(--gold-soft); font-size: 17px; line-height: 1;
}
.qty span { min-width: 26px; text-align: center; font-size: 14px; }
.line__sub { font-weight: 600; font-size: 14px; }
.line__remove {
  border: 0; background: transparent; padding: 0;
  font-size: 12px; color: var(--muted-2); text-decoration: underline; text-underline-offset: 3px;
}
.line__remove:hover { color: var(--text); }

.cart__empty { flex: 1; padding: 40px 22px; text-align: center; }
.cart__empty p { margin: 0 0 6px; }

.cart__foot { padding: 18px 22px calc(22px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #0a0a0a; }
.cart__total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.cart__total span { color: var(--muted); letter-spacing: .12em; text-transform: uppercase; font-size: 12px; }
.cart__total strong { font-family: var(--serif); font-size: 26px; }
.cart__foot .btn--wa { background: #1fa855; border-color: #1fa855; color: #fff; min-height: 50px; font-size: 14px; }
.cart__foot .btn--wa svg { color: #fff; }
.cart__foot .btn--wa:hover { filter: brightness(1.08); }
.cart__hint { margin: 10px 0 0; font-size: 11.5px; color: var(--muted-2); text-align: center; }

body.no-scroll { overflow: hidden; }

/* ---------- Toast ---------- */

.toast {
  position: fixed; left: 50%; bottom: 30px; z-index: 70;
  transform: translate(-50%, 20px);
  padding: 11px 18px;
  background: #151515; color: var(--text);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 13px;
  opacity: 0; pointer-events: none;
  transition: opacity .25s, transform .25s;
  max-width: calc(100% - 120px);
  text-align: center;
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Skeleton de carga ---------- */

.card--skeleton { min-height: 520px; }
.card--skeleton .card__media { background: #161616; }

/* ==========================================================
   Tablet
   ========================================================== */
@media (max-width: 1020px) {
  .header__inner { grid-template-columns: auto 1fr; gap: 10px 20px; }
  .nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; margin: 0 -8px; }
  .search { width: 100%; max-width: 340px; justify-self: end; }
  .card__body { padding: 16px; }
  .card__actions { grid-template-columns: 1fr; }
}

/* ==========================================================
   Celular
   ========================================================== */
@media (max-width: 720px) {
  :root { --header-h: 108px; }
  body { font-size: 14px; }

  .header__inner { padding: 8px 16px 0; gap: 6px 12px; }
  .header__logo img { height: 42px; }
  .header__word { display: none; }
  .search { max-width: none; }
  .search input { height: 40px; font-size: 16px; }
  .nav {
    margin: 0 -16px; padding: 0 10px;
    overflow-x: auto; scrollbar-width: none;
    justify-content: space-between;
  }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { padding: 10px 8px 12px; font-size: 11px; letter-spacing: .1em; }
  .nav a[aria-current="page"]::after { left: 8px; right: 8px; bottom: 4px; }

  .hero { padding: 36px 16px 8px; }
  .hero__logo { width: 112px; height: 112px; margin-bottom: 16px; }

  .presentaciones { padding: 0 16px; margin-top: 28px; }
  .presentaciones__head { margin-bottom: 20px; }
  .presentaciones__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pres-card { border-radius: 12px; }
  .pres-card__body { padding: 12px 10px 14px; }
  .pres-card__name { font-size: 15.5px; }
  .pres-card__desc { font-size: 11.5px; margin: 4px 0 8px; }
  .pres-card__price { font-size: 20px; }

  .catalogo { padding: 40px 16px 56px; }
  .catalogo__head { flex-direction: column; align-items: stretch; gap: 16px; }
  .tabs { display: grid; grid-template-columns: 1fr 1fr; }
  .tabs button { padding: 10px 8px; font-size: 11px; letter-spacing: .1em; }

  .toolbar { flex-wrap: wrap; margin: 16px 0 18px; gap: 10px; }
  .select { flex: 1 1 100%; }
  .select select { width: 100%; font-size: 16px; }

  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .card { border-radius: 12px; }
  .card__rank { top: 8px; left: 8px; min-width: 30px; height: 30px; font-size: 12px; }
  .card__body { padding: 12px 11px 14px; }
  .card__kicker { font-size: 9px; letter-spacing: .18em; }
  .card__name { font-size: 15.5px; }
  .card__brand { font-size: 12px; }
  .card__desc { font-size: 11.5px; line-height: 1.45; margin-top: 8px; }
  .card__notas { font-size: 10.5px; margin-top: 8px; }
  .acordes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; margin-top: 10px; }
  .acorde { min-height: 22px; padding: 2px 3px; font-size: 10px; border-radius: 5px; }
  .card__buy { padding-top: 12px; }
  .chips { grid-template-columns: 1fr 1fr; gap: 5px; }
  .chip { gap: 4px; padding: 5px 2px 5px; font-size: 10.5px; }
  .chip__thumb { width: 30px; height: 40px; padding: 2px; border-radius: 5px; }
  .card__price { font-size: 19px; margin: 12px 0 10px; }
  .card__actions { gap: 6px; }
  .btn { min-height: 38px; font-size: 11.5px; padding: 0 8px; gap: 6px; }
  .btn svg { width: 15px; height: 15px; }

  .pagination button, .pagination span { min-width: 38px; height: 38px; }

  .cart-fab { right: 16px; bottom: 16px; width: 56px; height: 56px; }
  .toast { bottom: 86px; max-width: calc(100% - 32px); }
}

@media (max-width: 360px) {
  .grid { gap: 10px; }
  .card__body { padding: 10px 9px 12px; }
  .card__name { font-size: 14.5px; }
}

/* ==========================================================
   Celular en vertical
   ========================================================== */
@media (max-width: 480px) {
  .card__desc {
    display: block;
    -webkit-line-clamp: none; line-clamp: none;
    overflow: visible;
    font-size: 11px; line-height: 1.4;
  }
  .acorde {
    font-size: 9.5px;
    -webkit-hyphens: none; hyphens: none;
    overflow-wrap: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
