/* ==========================================================================
   AMEXCO PERÚ · Tema WordPress (inspirado en WoodMart Marketplace 2)
   Colores de marca: índigo #290B6A · rojo #E30613 (logo #FF0000)
   Tipografías: Urbanist (títulos) · Albert Sans (textos)
   ========================================================================== */

:root {
  /* Marca */
  --amx-indigo: #290B6A;
  --amx-indigo-deep: #1D0752;
  --amx-indigo-ink: #12042F;
  --amx-indigo-600: #3C1A93;
  --amx-indigo-soft: #EEEAF8;
  --amx-indigo-wash: #F7F5FC;
  --amx-red: #E30613;
  --amx-red-dark: #C2050F;
  --amx-red-bright: #FF4B55;
  --amx-red-soft: #FDECEE;

  /* Interfaz */
  --bg: #F3F2F7;
  --surface: #FFFFFF;
  --ink: #1A1430;
  --text: #57536A;
  --muted: #8C889D;
  --line: #E8E6EF;
  --ok: #138A4F;
  --whatsapp: #1FAF5A;

  --r-xl: 22px;
  --r-lg: 18px;
  --r: 14px;
  --r-sm: 10px;
  --pill: 999px;

  --shadow-sm: 0 1px 2px rgba(26, 20, 48, .05);
  --shadow: 0 1px 2px rgba(26, 20, 48, .04), 0 10px 30px -14px rgba(26, 20, 48, .18);
  --shadow-hover: 0 20px 44px -20px rgba(41, 11, 106, .38);

  --font-title: "Urbanist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-text: "Albert Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1440px;
  --gutter: 20px;
  --gap: 20px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font: 400 15px/1.55 var(--font-text);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
input { font: inherit; }
h1, h2, h3, h4 { font-family: var(--font-title); color: var(--ink); margin: 0; line-height: 1.15; }
p { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
s { color: var(--muted); }
:focus-visible { outline: 2px solid var(--amx-red); outline-offset: 2px; border-radius: 6px; }
.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-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--amx-red); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); font-weight: 600; }
.skip-link:focus { top: 12px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.muted { color: var(--muted); font-weight: 500; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ico .fill, .ico path.fill { fill: currentColor; stroke: none; }
.ico--xs { width: 14px; height: 14px; }
.ico--lg { width: 24px; height: 24px; }
.ico--accent { color: var(--amx-red); }
/* Iconos de marca rellenos */
svg.ico use[href="#i-facebook"], svg.ico use[href="#i-whatsapp"] { fill: currentColor; stroke: none; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 24px; border-radius: var(--pill);
  font: 600 15px/1 var(--font-title); letter-spacing: .01em; white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--sm { height: 38px; padding: 0 18px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--accent { background: var(--amx-red); color: #fff; }
.btn--accent:hover { background: var(--amx-red-dark); box-shadow: 0 10px 22px -10px rgba(227, 6, 19, .7); }
.btn--primary { background: var(--amx-indigo); color: #fff; }
.btn--primary:hover { background: var(--amx-indigo-600); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--amx-indigo-soft); color: var(--amx-indigo); }
.btn--outline { border: 1.5px solid var(--line); color: var(--ink); }
.btn--outline:hover { border-color: var(--amx-indigo); color: var(--amx-indigo); }
.btn--ghost { background: var(--amx-indigo-soft); color: var(--amx-indigo); }
.btn--ghost:hover { background: var(--amx-indigo); color: #fff; }
.btn--whatsapp { background: var(--whatsapp); color: #fff; }
.btn--whatsapp:hover { background: #19944c; }
.btn--whatsapp .ico { fill: currentColor; stroke: none; }

.icon-plain { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; transition: background-color .2s; }
.icon-plain:hover { background: rgba(127, 120, 160, .14); }

.eyebrow { display: inline-block; font: 600 13px/1.2 var(--font-text); letter-spacing: .04em; text-transform: uppercase; color: var(--amx-red); }

.count-badge {
  position: absolute; top: -6px; right: -8px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: var(--pill); background: var(--amx-red); color: #fff;
  font: 700 11px/18px var(--font-text); text-align: center;
}
.pill-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: var(--pill); background: rgba(255,255,255,.22); font-size: 12px; font-weight: 700; }

/* ---------- Encabezados de sección ---------- */
.sec-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.sec-title { display: flex; align-items: center; gap: 8px; font-size: 24px; font-weight: 700; letter-spacing: -.01em; }
.sec-title--sm { font-size: 19px; }
.link-more { position: relative; font: 600 14px/1 var(--font-title); color: var(--ink); padding-bottom: 4px; white-space: nowrap; }
.link-more::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--amx-red); border-radius: 2px; transform-origin: left; transition: transform .25s var(--ease); }
.link-more:hover::after { transform: scaleX(.4); }

.card { background: var(--surface); border-radius: var(--r-xl); padding: 22px; box-shadow: var(--shadow-sm); }

/* ==========================================================================
   Cabecera
   ========================================================================== */
.topbar { background: var(--amx-indigo-ink); color: rgba(255,255,255,.72); font-size: 13px; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 38px; }
.topbar__links { display: flex; gap: 22px; margin: 0; padding: 0; list-style: none; }
.topbar__links a:hover { color: #fff; }
.topbar__note { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 500; }
.topbar__note .ico { width: 17px; height: 17px; color: var(--amx-red-bright); }

.header { position: sticky; top: 0; z-index: 60; background: var(--amx-indigo); color: #fff; transition: box-shadow .3s; }
.header.is-stuck { box-shadow: 0 10px 30px -12px rgba(18, 4, 47, .6); }
.header__inner { display: flex; align-items: center; gap: 36px; height: 86px; transition: height .3s var(--ease); }
.header.is-stuck .header__inner { height: 72px; }
.header__burger { display: none; color: #fff; }
.header__logo img { width: 172px; height: auto; }

.search { position: relative; flex: 1; max-width: 680px; }
.search__input {
  width: 100%; height: 48px; padding: 0 60px 0 24px; border: 0; border-radius: var(--pill);
  background: #fff; color: var(--ink); font-size: 15px; outline: none;
  box-shadow: inset 0 0 0 2px transparent; transition: box-shadow .2s;
}
.search__input::placeholder { color: #9895A8; }
.search__input:focus { box-shadow: inset 0 0 0 2px var(--amx-red); }
.search__input::-webkit-search-cancel-button { display: none; }
.search__btn { position: absolute; right: 5px; top: 5px; width: 38px; height: 38px; border-radius: 50%; background: var(--amx-red); color: #fff; display: grid; place-items: center; transition: background-color .2s; }
.search__btn:hover { background: var(--amx-red-dark); }
.search__btn .ico { width: 18px; height: 18px; stroke-width: 2.2; }
.search__panel {
  position: absolute; left: 0; right: 0; top: calc(100% + 10px); z-index: 80;
  background: #fff; color: var(--ink); border-radius: var(--r-lg); box-shadow: 0 24px 60px -20px rgba(18, 4, 47, .45);
  padding: 10px; max-height: 70vh; overflow: auto;
}
.search__label { padding: 8px 10px 6px; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.search__chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 10px 10px; }
.search__chips button { padding: 7px 14px; border-radius: var(--pill); background: var(--amx-indigo-wash); color: var(--amx-indigo); font-size: 14px; font-weight: 500; transition: background-color .2s, color .2s; }
.search__chips button:hover { background: var(--amx-indigo); color: #fff; }
.search__item { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 12px; padding: 8px 10px; border-radius: var(--r); cursor: pointer; }
.search__item img { width: 52px; height: 52px; object-fit: contain; border-radius: 10px; background: #fff; border: 1px solid var(--line); }
.search__item strong { display: block; font: 600 14.5px/1.3 var(--font-title); }
.search__item small { color: var(--muted); font-size: 13px; }
.search__item .price { font-size: 15px; flex-direction: column; align-items: flex-end; gap: 0; }
.search__item .price del { font-size: 12px; }
.search__all { display: block; margin: 4px 0 2px; padding: 12px; border-radius: var(--r); text-align: center; font: 600 14px/1 var(--font-title); color: var(--amx-indigo); background: var(--amx-indigo-wash); }
.search__all:hover { background: var(--amx-indigo); color: #fff; }
.search__item.is-active, .search__item:hover { background: var(--amx-indigo-wash); }
.search__empty { padding: 18px 12px; color: var(--muted); }
.search mark { background: none; color: var(--amx-red); }

.header__actions { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.hotline { display: flex; align-items: center; gap: 12px; }
.hotline__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.22); transition: border-color .2s, background-color .2s; }
.hotline:hover .hotline__icon { border-color: var(--amx-red-bright); background: rgba(255,255,255,.06); }
.hotline__text, .cart-btn__text { display: flex; flex-direction: column; line-height: 1.25; text-align: left; }
.hotline__text small, .cart-btn__text small { font-size: 12.5px; color: rgba(255,255,255,.66); }
.hotline__text strong { font: 700 16px/1.25 var(--font-title); letter-spacing: .02em; }
.cart-btn { display: flex; align-items: center; gap: 14px; color: #fff; }
.cart-btn__icon { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.08); transition: background-color .2s; }
.cart-btn:hover .cart-btn__icon { background: rgba(255,255,255,.16); }
.cart-btn__text strong { font: 700 16px/1.25 var(--font-title); color: #fff; }
.cart-btn.is-bump .cart-btn__icon { animation: bump .45s var(--ease); }
@keyframes bump { 30% { transform: scale(1.18); } 60% { transform: scale(.94); } }

/* ---------- Barra de categorías ---------- */
.catnav { position: relative; z-index: 55; background: var(--amx-red); color: #fff; }
.catnav__inner { position: relative; display: flex; align-items: center; justify-content: space-between; height: 52px; }
.catnav__list, .catnav__aside { display: flex; align-items: center; gap: 2px; height: 100%; }
.catnav__item { height: 100%; display: flex; align-items: center; }
.catnav__link {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px; border-radius: var(--r-sm);
  font: 600 15px/1 var(--font-title); color: #fff; white-space: nowrap; transition: background-color .2s;
}
.catnav__link:hover, .catnav__item:hover > .catnav__link, .catnav__item:focus-within > .catnav__link { background: rgba(18, 4, 47, .16); }
.catnav__link .ico { width: 18px; height: 18px; }
.catnav__link .ico--xs { width: 14px; height: 14px; opacity: .8; transition: transform .2s; }
.catnav__item:hover .ico--xs { transform: rotate(180deg); }
.catnav__link--hot { background: rgba(255,255,255,.14); }

.mega {
  position: absolute; left: var(--gutter); right: var(--gutter); top: 100%;
  display: grid; grid-template-columns: 1fr 280px; gap: 28px;
  padding: 28px; background: #fff; color: var(--text);
  border-radius: 0 0 var(--r-xl) var(--r-xl); box-shadow: 0 30px 60px -24px rgba(18, 4, 47, .45);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s .2s;
}
.catnav__item:hover > .mega, .catnav__item:focus-within > .mega {
  opacity: 1; visibility: visible; transform: none; transition-delay: .06s, .06s, 0s;
}
.mega__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 24px; align-content: start; }
.mega--no-promo { grid-template-columns: 1fr; }
.mega__col { display: flex; flex-direction: column; gap: 9px; }
.mega__col a { font-size: 14.5px; transition: color .15s, transform .15s; }
.mega__col a:hover { color: var(--amx-red); transform: translateX(3px); }
.mega__title { font: 700 15.5px/1.3 var(--font-title); color: var(--ink); margin-top: 2px; }
.mega__title + .mega__title { margin-top: 10px; }
.mega__promo {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 8px;
  min-height: 250px; padding: 22px; border-radius: var(--r-lg); overflow: hidden; color: #fff;
  background-color: var(--amx-indigo); background-size: cover; background-position: 70% center;
}
.mega__promo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(18,4,47,.85), rgba(18,4,47,.05) 70%); }
.mega__promo > * { position: relative; }
.mega__promo .eyebrow { color: #fff; opacity: .85; }
.mega__promo strong { font: 700 22px/1.15 var(--font-title); }
.mega__promo--light { color: var(--ink); background-color: var(--amx-indigo-soft); background-size: 72%; background-repeat: no-repeat; background-position: center 20%; background-blend-mode: multiply; }
.mega__promo--light::before { background: linear-gradient(to top, var(--amx-indigo-soft) 30%, transparent 62%); }
.mega__promo--light .eyebrow { color: var(--amx-red); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero-grid {
  display: grid; gap: var(--gap); margin-top: 24px;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .62fr) minmax(0, 1.08fr);
  grid-template-areas: "slider promo cats" "slider picks picks";
}
.hero-grid > * { min-width: 0; }
.hero { grid-area: slider; position: relative; min-height: 520px; border-radius: var(--r-xl); overflow: hidden; isolation: isolate; }
.slide {
  position: absolute; inset: 0; display: flex; flex-direction: column; padding: 40px 40px 0;
  opacity: 0; visibility: hidden; transition: opacity .7s var(--ease), visibility 0s .7s;
}
.slide.is-active { opacity: 1; visibility: visible; transition: opacity .7s var(--ease), visibility 0s; z-index: 1; }
.slide__content { position: relative; z-index: 2; max-width: 360px; }
.slide__content > * { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.slide.is-active .slide__content > * { opacity: 1; transform: none; }
.slide.is-active .slide__content > :nth-child(2) { transition-delay: .08s; }
.slide.is-active .slide__content > :nth-child(3) { transition-delay: .16s; }
.slide.is-active .slide__content > :nth-child(4) { transition-delay: .22s; }
.slide.is-active .slide__content > :nth-child(5) { transition-delay: .28s; }
.slide__title { margin: 10px 0 12px; font-size: clamp(32px, 3.2vw, 46px); font-weight: 800; letter-spacing: -.02em; line-height: 1.02; }
.slide__text { font-size: 15.5px; max-width: 280px; }
.slide__price { margin: 14px 0 20px; font-size: 22px; font-weight: 800; color: var(--amx-red); }
.slide__price del { font-size: 14px; }
.slide__img { position: absolute; z-index: 1; transition: transform 1s var(--ease), opacity 1s var(--ease); opacity: 0; transform: translateX(40px) scale(.97); }
.slide.is-active .slide__img { opacity: 1; transform: none; }
.slide--dark .slide__title { margin-bottom: 22px; }
.slide__img--console { width: 78%; max-width: 470px; right: -7%; bottom: 7%; filter: drop-shadow(0 30px 40px rgba(0,0,0,.45)); }
.slide__chip {
  position: absolute; z-index: 2; left: 24px; bottom: 22px; padding: 10px 16px; border-radius: var(--pill);
  background: #fff; box-shadow: 0 12px 28px -12px rgba(0,0,0,.5);
  opacity: 0; transform: translateY(10px); transition: opacity .6s var(--ease) .35s, transform .6s var(--ease) .35s;
}
.slide__chip.price { font: 800 17px/1 var(--font-title); color: var(--amx-red); }
.slide__chip del { font-size: 13px; }
.slide.is-active .slide__chip { opacity: 1; transform: none; }
.slide__img--blend { mix-blend-mode: multiply; width: 54%; max-width: 330px; right: 0; bottom: 0; }
.slide__img--tall { width: 50%; right: 3%; bottom: 2%; }

.slide--dark { background: radial-gradient(120% 90% at 85% 85%, #4A21B4 0%, var(--amx-indigo) 42%, var(--amx-indigo-ink) 100%); color: rgba(255,255,255,.78); }
.slide--dark .slide__title { color: #fff; }
.slide--dark .slide__price { color: #fff; }
.slide--dark .eyebrow { color: var(--amx-red-bright); }
.slide--dark .price del { color: rgba(255,255,255,.55); }
.slide--lavender { background: linear-gradient(160deg, #F4F1FC 0%, #E4DDF6 100%); }
.slide--rose { background: linear-gradient(160deg, #FFF3F1 0%, #F9DEDC 100%); }

.slider-arrow {
  position: absolute; top: 50%; z-index: 3; display: grid; place-items: center; width: 42px; height: 42px; margin-top: -21px;
  border-radius: 50%; background: rgba(255,255,255,.92); color: var(--ink); box-shadow: var(--shadow);
  opacity: 0; transition: opacity .25s, transform .25s, background-color .2s;
}
.slider-arrow--prev { left: 14px; transform: translateX(-6px); }
.slider-arrow--next { right: 14px; transform: translateX(6px); }
.hero:hover .slider-arrow, .hero:focus-within .slider-arrow { opacity: 1; transform: none; }
.slider-arrow:hover { background: var(--amx-red); color: #fff; }
.slider-dots { position: absolute; z-index: 3; right: 18px; bottom: 18px; display: flex; gap: 6px; padding: 8px 10px; border-radius: var(--pill); background: rgba(255,255,255,.92); }
.slider-dots button { width: 9px; height: 9px; border-radius: var(--pill); background: #C9C5D6; transition: width .3s var(--ease), background-color .3s; }
.slider-dots button[aria-selected="true"] { width: 24px; background: var(--amx-red); }

.promo-tall {
  grid-area: promo; position: relative; display: flex; flex-direction: column; align-items: center; text-align: center;
  min-height: 330px; padding: 30px 20px; border-radius: var(--r-xl); overflow: hidden; color: #fff;
  background-color: var(--amx-indigo); background-size: cover; background-position: 64% center;
  isolation: isolate;
}
.promo-tall::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, rgba(18,4,47,.85) 0%, rgba(18,4,47,.35) 38%, rgba(18,4,47,0) 60%, rgba(18,4,47,.55) 100%); }
.promo-tall .eyebrow { color: #fff; opacity: .85; }
.promo-tall__title { margin-top: 8px; font: 700 26px/1.1 var(--font-title); }
.promo-tall__text { margin-top: 8px; font-size: 14px; opacity: .85; max-width: 220px; }
.promo-tall .btn { margin-top: auto; }
.promo-tall:hover { box-shadow: var(--shadow-hover); }

.hot-cats { grid-area: cats; padding: 4px 0 0; }
.hot-cats .sec-title { margin-bottom: 16px; }
.hot-cats__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 10px; }
.hot-cats__list a, .shop-cats__list a { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; font: 600 14px/1.2 var(--font-title); color: var(--ink); }
.circle { display: grid; place-items: center; width: 100%; max-width: 104px; aspect-ratio: 1; border-radius: 50%; background: #fff; overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.circle img { width: 74%; height: 74%; object-fit: contain; transition: transform .4s var(--ease); }
.hot-cats__list a:hover .circle, .shop-cats__list a:hover .circle { box-shadow: 0 0 0 2px var(--amx-red), var(--shadow); }
.hot-cats__list a:hover img, .shop-cats__list a:hover img { transform: scale(1.08); }

.week-picks { grid-area: picks; padding: 18px 22px; }
.week-picks .sec-head { margin-bottom: 12px; }
.week-picks__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.pick { display: grid; grid-template-columns: 58px 1fr; gap: 10px; align-items: center; cursor: pointer; }
.pick img { width: 58px; height: 58px; object-fit: contain; border-radius: 10px; transition: transform .3s var(--ease); }
.pick:hover img { transform: scale(1.06); }
.pick strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font: 600 13.5px/1.25 var(--font-title); color: var(--ink); }
.pick:hover strong { color: var(--amx-red); }
.pick .price { margin-top: 4px; font-size: 14px; gap: 0 6px; }
.pick .price del { font-size: 12.5px; flex-basis: 100%; }

/* ---------- Precios ---------- */
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; font: 700 16px/1.2 var(--font-title); color: var(--amx-indigo); }
.price del { order: -1; font: 400 13.5px/1.2 var(--font-text); color: var(--muted); opacity: 1; }
.price ins { text-decoration: none; color: var(--amx-red); background: none; font-weight: 700; }
.price .woocommerce-Price-amount { white-space: nowrap; }

/* ==========================================================================
   Beneficios
   ========================================================================== */
.perks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); margin-top: var(--gap); }
.perk { display: flex; align-items: center; gap: 14px; padding: 18px 20px; background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.perk__icon { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--amx-indigo-soft); color: var(--amx-indigo); }
.perk__icon .ico { width: 24px; height: 24px; }
.perk strong { display: block; font: 700 15.5px/1.25 var(--font-title); color: var(--ink); }
.perk span { font-size: 13.5px; color: var(--muted); }

/* ==========================================================================
   Layout con barra lateral
   ========================================================================== */
.layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: var(--gap); margin-top: 40px; align-items: start; }
.sidebar { display: flex; flex-direction: column; gap: var(--gap); }
.layout__main { display: flex; flex-direction: column; gap: var(--gap); min-width: 0; }

.promo-poster { position: relative; display: block; border-radius: var(--r-xl); overflow: hidden; background: #000; }
.promo-poster img { width: 100%; aspect-ratio: 9 / 13; object-fit: cover; object-position: center 30%; transition: transform .8s var(--ease); }
.promo-poster:hover img { transform: scale(1.04); }
.promo-poster__body { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 70px 22px 22px; color: #fff; background: linear-gradient(to top, rgba(18,4,47,.95) 30%, transparent); }
.promo-poster__body .eyebrow { color: var(--amx-red-bright); }
.promo-poster__body strong { font: 700 22px/1.15 var(--font-title); margin-bottom: 6px; }

.stores { display: flex; flex-direction: column; gap: 16px; }
.store { display: grid; grid-template-columns: 40px 1fr; gap: 12px; }
.store__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--amx-red-soft); color: var(--amx-red); }
.store strong { display: block; font: 700 15px/1.3 var(--font-title); color: var(--ink); }
.store span { display: block; font-size: 14px; }
.store a { display: inline-block; margin-top: 2px; font-size: 13.5px; font-weight: 600; color: var(--amx-indigo); border-bottom: 1.5px solid currentColor; }
.store a:hover { color: var(--amx-red); }

.promo-mini {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 24px 22px;
  border-radius: var(--r-xl); overflow: hidden; background: linear-gradient(160deg, #F4F1FC 0%, #E2DAF6 100%);
}
.promo-mini strong { font: 700 22px/1.15 var(--font-title); color: var(--ink); }
.promo-mini__text { font-size: 14px; }
.promo-mini img { align-self: center; width: 52%; margin: 12px 0 16px; filter: drop-shadow(0 20px 22px rgba(41, 11, 106, .3)); transition: transform .5s var(--ease); }
.promo-mini:hover img { transform: translateY(-5px) rotate(-2deg); }
.mini-list { display: flex; flex-direction: column; gap: 14px; margin-top: 16px; }
.mini { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; cursor: pointer; }
.mini img { width: 64px; height: 64px; object-fit: contain; border-radius: 12px; background: #fff; border: 1px solid var(--line); transition: border-color .2s; }
.mini:hover img { border-color: var(--amx-red); }
.mini strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font: 600 14px/1.3 var(--font-title); color: var(--ink); }
.mini:hover strong { color: var(--amx-red); }
.mini small { display: block; font-size: 12.5px; color: var(--muted); }
.mini .price { margin-top: 3px; }
.mini .price { font-size: 15px; }

/* ---------- Marcas ---------- */
.brands__list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.brand {
  display: grid; place-items: center; height: 64px; border-radius: var(--r); border: 1px solid var(--line);
  font: 800 19px/1 var(--font-title); color: #7D7990; letter-spacing: -.01em;
  transition: color .2s, border-color .2s, background-color .2s;
}
.brand:hover { color: var(--amx-indigo); border-color: var(--amx-indigo); background: var(--amx-indigo-wash); }
.brand img { max-width: 78%; max-height: 40px; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .2s, opacity .2s; }
.brand:hover img { filter: none; opacity: 1; }
.brand--presonus { font-weight: 700; letter-spacing: .01em; }
.brand--jbl { font-size: 24px; font-weight: 800; font-style: italic; letter-spacing: .02em; }
.brand--akg { font-size: 22px; letter-spacing: .08em; }
.brand--behringer { font-family: var(--font-text); font-weight: 700; letter-spacing: -.02em; }
.brand--fender { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: 22px; font-weight: 700; }
.brand--ovation { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: .06em; }
.brand--kohlt { letter-spacing: .12em; font-size: 17px; }
.brand--amx { font-size: 22px; font-style: italic; letter-spacing: .04em; }
.brand--ev { font-size: 16px; font-weight: 700; }
.brand--morley { letter-spacing: .1em; font-size: 17px; }

/* ---------- Pestañas ---------- */
.tabs-block { display: flex; flex-direction: column; gap: 18px; }
.tabs-block__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.tabs { display: flex; gap: 6px; padding: 5px; background: #fff; border-radius: var(--pill); box-shadow: var(--shadow-sm); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { height: 40px; padding: 0 20px; border-radius: var(--pill); font: 600 15px/1 var(--font-title); color: var(--text); white-space: nowrap; transition: background-color .2s, color .2s; }
.tab:hover { color: var(--ink); background: var(--amx-indigo-wash); }
.tab.is-active { background: var(--amx-indigo); color: #fff; }

/* ==========================================================================
   Tarjeta de producto
   ========================================================================== */
.p-grid { display: grid; gap: 16px; }
.p-grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.p-grid--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
[data-tab-panel]:not([hidden]) { animation: fadeUp .35s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } }

.p-card {
  position: relative; display: flex; flex-direction: column; padding: 14px 14px 16px;
  background: #fff; border-radius: var(--r-lg); text-align: center;
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.p-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.p-head { position: relative; }
.p-media { position: relative; display: grid; place-items: center; aspect-ratio: 1; border-radius: var(--r); overflow: hidden; }
.p-media img { width: 90%; height: 90%; object-fit: contain; transition: transform .5s var(--ease); }
.p-card:hover .p-media img { transform: scale(1.05); }
.p-badges { position: absolute; top: 0; left: 0; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.badge { padding: 5px 9px; border-radius: var(--pill); font: 700 12px/1 var(--font-title); letter-spacing: .02em; }
.badge--sale { background: var(--amx-red); color: #fff; }
.badge--new { background: var(--amx-indigo); color: #fff; }
.badge--hot { background: #FFF0D9; color: #8A4B00; }
.p-actions { position: absolute; top: 0; right: 0; z-index: 2; display: flex; flex-direction: column; gap: 6px; }
.p-actions .act {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: #fff; color: var(--ink); box-shadow: 0 4px 14px -4px rgba(26,20,48,.25);
  opacity: 0; transform: translateX(10px); transition: opacity .25s var(--ease), transform .25s var(--ease), background-color .2s, color .2s;
}
.p-actions .act .ico { width: 17px; height: 17px; }
.p-actions .act:nth-child(2) { transition-delay: .04s; }
.p-actions .act:nth-child(3) { transition-delay: .08s; }
.p-card:hover .act, .p-card:focus-within .act, .p-actions .act.is-on { opacity: 1; transform: none; }
.p-actions .act:hover { background: var(--amx-indigo); color: #fff; }
.act.is-on { color: var(--amx-red); }
.act.is-on .ico { fill: currentColor; }
.p-body { display: flex; flex-direction: column; align-items: center; gap: 4px; flex: 1; padding-top: 12px; }
.p-cat { font-size: 12.5px; color: var(--muted); }
.p-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; margin: 0; font: 600 14.5px/1.3 var(--font-title); color: var(--ink); }
.p-title a:hover { color: var(--amx-red); }
.p-card .star-rating { margin: 2px auto; font-size: 12px; }
.p-stock { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ok); }
.p-stock::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.p-card .price { justify-content: center; margin-top: 2px; }
.p-add {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 40px; margin-top: 12px;
  border-radius: var(--pill); background: var(--amx-indigo-soft); color: var(--amx-indigo);
  font: 600 14px/1 var(--font-title); transition: background-color .2s, color .2s;
}
.p-add .ico { width: 17px; height: 17px; }
.p-add:hover, .p-card:hover .p-add { background: var(--amx-indigo); color: #fff; }
.p-add:hover { background: var(--amx-red); }
.p-add.is-added, .p-add.added { background: var(--ok); color: #fff; }
.p-add.loading { opacity: .75; pointer-events: none; }
.p-add.loading .ico { animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.p-card .added_to_cart, .qv .added_to_cart, .line .added_to_cart { display: none !important; }

/* ==========================================================================
   Promoción con cuenta regresiva
   ========================================================================== */
.deal {
  position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.5fr); gap: 28px; align-items: center;
  padding: 36px; border-radius: var(--r-xl); overflow: hidden; color: rgba(255,255,255,.8); isolation: isolate;
  background: radial-gradient(90% 120% at 0% 100%, #5A2BD0 0%, transparent 55%), linear-gradient(120deg, var(--amx-indigo) 0%, #3A1495 55%, #4B1FB8 100%);
}
.deal::after {
  content: attr(data-badge); position: absolute; z-index: -1; right: -20px; bottom: -70px;
  font: 800 260px/1 var(--font-title); letter-spacing: -.06em; color: rgba(255,255,255,.05); pointer-events: none;
}
.deal__tag { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: var(--pill); background: rgba(0,0,0,.28); color: #fff; font: 700 13px/1 var(--font-title); letter-spacing: .06em; text-transform: uppercase; }
.deal__tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--amx-red-bright); box-shadow: 0 0 0 4px rgba(255,75,85,.25); }
.deal__title { margin-top: 16px; font-size: clamp(28px, 2.6vw, 38px); font-weight: 800; color: #fff; letter-spacing: -.02em; }
.deal__badge { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; width: 78px; height: 78px; margin-top: 16px; border-radius: 50%; background: var(--amx-red); color: #fff; font: 800 24px/1 var(--font-title); transform: rotate(-8deg); box-shadow: 0 12px 26px -10px rgba(227,6,19,.8); }
.deal__badge small { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 2px; }
.deal__text { margin-top: 14px; max-width: 340px; }
.countdown { display: flex; gap: 8px; margin: 18px 0 22px; }
.countdown div { display: flex; flex-direction: column; align-items: center; min-width: 58px; padding: 9px 6px; border-radius: 12px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.14); }
.countdown b { font: 800 22px/1 var(--font-title); color: #fff; font-variant-numeric: tabular-nums; }
.countdown span { margin-top: 4px; font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: rgba(255,255,255,.65); }
.deal__products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }

/* ---------- Dúo (spotlight + lista) ---------- */
.duo { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: var(--gap); }
.spotlight { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; padding: 0; overflow: hidden; }
.spotlight__slider { position: relative; padding: 22px; }
.spotlight__track { display: grid; }
.spotlight__track > * { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateX(16px); transition: opacity .5s var(--ease), transform .5s var(--ease), visibility 0s .5s; }
.spotlight__track > .is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.spotlight .p-card { padding: 0; }
.spotlight .p-card:hover { box-shadow: none; transform: none; }
.spotlight__dots { display: flex; justify-content: center; gap: 6px; margin-top: 14px; }
.spotlight__dots button { width: 8px; height: 8px; border-radius: var(--pill); background: #D6D3E0; transition: width .3s, background-color .3s; }
.spotlight__dots button[aria-selected="true"] { width: 22px; background: var(--amx-red); }
.spotlight__photo {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 24px; min-height: 380px; color: #fff;
  background-size: cover; background-position: 94% center; background-color: var(--amx-indigo);
}
.spotlight__photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(18,4,47,.85), transparent 60%); }
.spotlight__photo > * { position: relative; }
.spotlight__photo .eyebrow { color: #fff; opacity: .8; }
.spotlight__photo strong { font: 700 22px/1.15 var(--font-title); }

.top-list__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.top-list .mini img { width: 58px; height: 58px; }
.top-list .mini { grid-template-columns: 58px 1fr; }

/* ==========================================================================
   Compra por categorías
   ========================================================================== */
.shop-cats { margin-top: 48px; }
.shop-cats .sec-title { margin-bottom: 22px; }
.shop-cats__list { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.shop-cats__list small { margin-top: -6px; font: 400 12.5px/1.2 var(--font-text); color: var(--muted); }
.shop-cats .circle { max-width: 112px; }

/* ==========================================================================
   Tarjetas de colección
   ========================================================================== */
.showcase { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin-top: 48px; }
.show-card {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px;
  padding: 26px 30px 32px; background: #fff; border-radius: var(--r-xl); overflow: hidden;
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.show-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.show-card img { width: 100%; max-width: 300px; aspect-ratio: 1; object-fit: contain; margin-bottom: 6px; transition: transform .6s var(--ease); }
.show-card:hover img { transform: scale(1.04); }
.show-card h3 { font-size: 28px; font-weight: 700; letter-spacing: -.01em; }
.show-card p { max-width: 340px; font-size: 14.5px; }
.show-card .btn { margin-top: 8px; }
.show-card--dark { background: var(--amx-indigo-ink); color: rgba(255,255,255,.72); }
.show-card--dark h3 { color: #fff; }
.show-card--dark .eyebrow { color: var(--amx-red-bright); }
.show-card__wide { max-width: none !important; width: calc(100% + 60px) !important; margin: -26px -30px 10px; aspect-ratio: 900 / 470 !important; object-fit: cover !important; object-position: 75% center; }

/* ---------- Recomendados ---------- */
.recommended { margin-top: 48px; }

/* ---------- Texto SEO ---------- */
.about { margin-top: 48px; }
.about .sec-title { font-size: 21px; margin-bottom: 14px; }
.about__text { position: relative; max-height: 4.8em; overflow: hidden; transition: max-height .5s var(--ease); max-width: 1100px; }
.about__text p + p { margin-top: 10px; }
.about__text::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3em; background: linear-gradient(to bottom, rgba(243,242,247,0), var(--bg)); transition: opacity .3s; }
.about__text.is-open { max-height: 30em; }
.about__text.is-open::after { opacity: 0; }
.about .btn { margin-top: 14px; }
[data-toggle-about] .ico { transition: transform .3s; }
[data-toggle-about][aria-expanded="true"] .ico { transform: rotate(180deg); }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { margin-top: 56px; background: #fff; border-top: 1px solid var(--line); }
.footer__top { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 30px 0 26px; border-bottom: 1px solid var(--line); }
.socials { display: flex; align-items: center; gap: 8px; }
.socials span { margin-right: 6px; font: 600 14px/1 var(--font-title); color: var(--ink); }
.socials a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--amx-indigo); color: #fff; transition: background-color .2s, transform .2s; }
.socials a:hover { background: var(--amx-red); transform: translateY(-2px); }
.socials .ico { width: 18px; height: 18px; }
.footer__grid { display: grid; grid-template-columns: repeat(3, minmax(0, .7fr)) minmax(0, 1.5fr); gap: 32px; padding: 34px 0; }
.footer__col { display: flex; flex-direction: column; gap: 11px; font-size: 14.5px; }
.footer h3 { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; font-size: 16.5px; font-weight: 700; }
.footer__links { display: flex; flex-direction: column; gap: 11px; margin: 0; padding: 0; list-style: none; }
.footer__col a:hover { color: var(--amx-red); }
.footer__logo-img { width: 150px; height: auto; }
.footer__col p strong { display: block; font: 600 14.5px/1.3 var(--font-title); color: var(--ink); }
.footer__phone { display: inline-flex; align-items: center; gap: 8px; font: 700 16px/1 var(--font-title); color: var(--amx-indigo); }
.footer__news { display: flex; flex-direction: column; gap: 22px; }
.news { padding: 22px 24px; border-radius: var(--r-xl); background: var(--amx-indigo-wash); }
.news h3 { color: var(--amx-red); font-size: 19px; }
.news p { font-size: 14px; }
.news__form { display: flex; gap: 8px; margin-top: 14px; }
.news__form input { flex: 1; min-width: 0; height: 46px; padding: 0 18px; border: 1.5px solid var(--line); border-radius: var(--pill); background: #fff; color: var(--ink); outline: none; transition: border-color .2s; }
.news__form input:focus { border-color: var(--amx-indigo); }
.pay h3 .ico { width: 17px; height: 17px; color: var(--ok); }
.pay__list { display: flex; flex-wrap: wrap; gap: 8px; }
.pay__list li { display: grid; place-items: center; height: 34px; min-width: 56px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--line); background: #fff; font: 800 14px/1 var(--font-title); }
.pay--visa { color: #1A1F71; font-style: italic; letter-spacing: .04em; }
.pay--mc { position: relative; grid-auto-flow: column; gap: 0 !important; }
.pay--mc i { width: 20px; height: 20px; border-radius: 50%; background: #EB001B; }
.pay--mc i + i { margin-left: -8px; background: #F79E1B; mix-blend-mode: multiply; }
.pay--amex { color: #fff; background: #1F72CD !important; border-color: #1F72CD !important; letter-spacing: .06em; font-size: 12.5px !important; }
.pay--diners { color: #0079BE; font-size: 12.5px !important; }
.pay--yape { color: #fff; background: #742284 !important; border-color: #742284 !important; font-size: 15px !important; }
.pay--plin { color: #fff; background: linear-gradient(120deg, #00C3C6, #3A6CE0) !important; border: 0 !important; font-size: 15px !important; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 84px 24px 0; border-top: 1px solid var(--line); font-size: 13.5px; }
.claims img { width: 102px; height: auto; }

/* ==========================================================================
   Flotantes, paneles y modal
   ========================================================================== */
.fab-whatsapp, .to-top { position: fixed; right: 20px; z-index: 70; display: grid; place-items: center; border-radius: 50%; transition: transform .25s var(--ease), opacity .25s, background-color .2s; }
.fab-whatsapp { bottom: 22px; width: 56px; height: 56px; background: var(--whatsapp); color: #fff; box-shadow: 0 12px 26px -8px rgba(31,175,90,.65); }
.fab-whatsapp .ico { width: 28px; height: 28px; fill: currentColor; stroke: none; }
.fab-whatsapp:hover { transform: scale(1.06); }
.to-top { bottom: 90px; width: 44px; height: 44px; background: #fff; color: var(--ink); box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translateY(10px); }
.to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { background: var(--amx-indigo); color: #fff; }

.mobile-bar { display: none; }

.overlay { position: fixed; inset: 0; z-index: 90; background: rgba(18, 4, 47, .5); opacity: 0; transition: opacity .3s var(--ease); }
.overlay.is-visible { opacity: 1; }
.drawer {
  position: fixed; top: 0; bottom: 0; z-index: 100; display: flex; flex-direction: column;
  width: min(410px, 92vw); background: #fff; box-shadow: 0 0 60px rgba(18,4,47,.25);
  transition: transform .4s var(--ease); visibility: hidden;
}
.drawer--right { right: 0; transform: translateX(100%); }
.drawer--left { left: 0; transform: translateX(-100%); width: min(340px, 88vw); }
.drawer.is-open { transform: none; visibility: visible; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-size: 20px; font-weight: 700; }
.drawer__head--brand { background: var(--amx-indigo); color: #fff; border: 0; }
.drawer__head--brand img { width: 120px; }
.drawer__body { flex: 1; overflow-y: auto; padding: 16px 20px; }
.drawer__foot { padding: 18px 20px 22px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.amx-cart-content { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.amx-cart-content.is-busy { opacity: .6; pointer-events: none; transition: opacity .2s; }
.cart-total { display: flex; align-items: center; justify-content: space-between; font: 600 16px/1 var(--font-title); color: var(--ink); }
.cart-total strong { font-size: 22px; color: var(--amx-red); }
.cart-note { font-size: 12.5px; color: var(--muted); margin-bottom: 4px; }

.line { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); animation: lineIn .35s var(--ease); }
@keyframes lineIn { from { opacity: 0; transform: translateX(12px); } }
.line img { width: 72px; height: 72px; object-fit: contain; border-radius: 12px; border: 1px solid var(--line); }
.line__name { display: block; font: 600 14px/1.3 var(--font-title); color: var(--ink); }
a.line__name:hover { color: var(--amx-red); }
.line .variation { margin: 4px 0 0; font-size: 12.5px; color: var(--muted); }
.line .variation dt, .line .variation dd { display: inline; margin: 0; }
.line .variation p { display: inline; margin: 0; }
.line__qty-fixed { display: block; margin-top: 6px; font-size: 13px; color: var(--muted); }
.line__add { margin-top: 8px; }
.qty button:disabled { opacity: .35; cursor: not-allowed; }
.line .price { font-size: 14.5px; margin-top: 2px; }
.line__remove { align-self: start; color: var(--muted); width: 32px; height: 32px; }
.line__remove:hover { color: var(--amx-red); }
.qty { display: inline-flex; align-items: center; margin-top: 8px; border: 1.5px solid var(--line); border-radius: var(--pill); }
.qty button { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: var(--ink); }
.qty button:hover { color: var(--amx-red); }
.qty .ico { width: 14px; height: 14px; }
.qty output, .qty input { width: 30px; border: 0; text-align: center; font-weight: 600; color: var(--ink); background: none; }
.empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 50px 10px; }
.empty__icon { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--amx-indigo-wash); color: var(--amx-indigo); }
.empty__icon .ico { width: 36px; height: 36px; }
.empty strong { font: 700 18px/1.2 var(--font-title); color: var(--ink); }

.m-nav { display: flex; flex-direction: column; }
.m-nav details { border-bottom: 1px solid var(--line); }
.m-nav summary, .m-nav__link { display: flex; align-items: center; gap: 12px; padding: 14px 2px; font: 600 15.5px/1.2 var(--font-title); color: var(--ink); cursor: pointer; list-style: none; }
.m-nav summary::-webkit-details-marker { display: none; }
.m-nav summary .ico, .m-nav__link .ico { color: var(--amx-indigo); }
.m-nav .chev { margin-left: auto; color: var(--muted) !important; transition: transform .25s; }
.m-nav details[open] .chev { transform: rotate(180deg); }
.m-nav details a { display: block; padding: 9px 0 9px 34px; font-size: 14.5px; }
.m-nav details a:last-child { padding-bottom: 16px; }
.m-nav details a:hover { color: var(--amx-red); }
.m-nav details .m-nav__all { font-weight: 600; color: var(--amx-indigo); }
.m-nav__link { border-bottom: 1px solid var(--line); }
.m-nav__link--hot, .m-nav__link--hot .ico { color: var(--amx-red) !important; }
.m-extra { margin: 20px 0; }
.m-extra__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0 0 10px; padding: 0; list-style: none; }
.m-extra__list a { display: block; padding: 12px; border-radius: var(--r); background: var(--amx-indigo-wash); font-size: 14px; font-weight: 500; text-align: center; color: var(--ink); }

.modal { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: 20px; visibility: hidden; pointer-events: none; }
.modal.is-open { visibility: visible; pointer-events: auto; }
.modal__box {
  position: relative; width: min(920px, 100%); max-height: calc(100vh - 40px); overflow: auto;
  background: #fff; border-radius: var(--r-xl); box-shadow: 0 40px 90px -30px rgba(18,4,47,.6);
  opacity: 0; transform: translateY(18px) scale(.98); transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.modal.is-open .modal__box { opacity: 1; transform: none; }
.modal__close { position: absolute; top: 12px; right: 12px; z-index: 2; background: var(--amx-indigo-wash); }
.qv { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.qv__media { position: relative; display: grid; place-items: center; padding: 30px; background: #fff; border-right: 1px solid var(--line); }
.qv__media img { width: 100%; max-width: 380px; aspect-ratio: 1; object-fit: contain; }
.qv__media .p-badges { top: 20px; left: 20px; }
.qv__info { display: flex; flex-direction: column; gap: 12px; padding: 34px 32px; }
.qv__info h2 { font-size: 26px; font-weight: 700; letter-spacing: -.01em; padding-right: 30px; }
.qv__info h2 a:hover { color: var(--amx-red); }
.qv__meta .is-in { color: var(--ok); }
.qv__meta .is-out { color: var(--amx-red); }
.qv__desc { font-size: 14.5px; }
.qv__desc p + p { margin-top: 8px; }
.qv__add { flex: 1; }
.qv__list a:hover { color: var(--amx-red); }
.qv-loading { display: grid; place-items: center; min-height: 320px; color: var(--muted); }
.qv__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13.5px; color: var(--muted); }
.qv__meta b { color: var(--ink); font-weight: 600; }
.qv__price .price { font-size: 28px; gap: 4px 12px; }
.qv__price .price del { font-size: 16px; }
.qv__save { display: inline-block; align-self: flex-start; padding: 6px 12px; border-radius: var(--pill); background: var(--amx-red-soft); color: var(--amx-red-dark); font-size: 13.5px; font-weight: 600; }
.qv__buy { display: flex; gap: 10px; align-items: center; margin-top: 6px; }
.qv__buy .qty { margin: 0; height: 46px; }
.qv__buy .qty button { width: 38px; height: 38px; }
.qv__wish { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; flex: none; transition: border-color .2s, color .2s; }
.qv__wish:hover, .qv__wish.is-on { border-color: var(--amx-red); color: var(--amx-red); }
.qv__wish.is-on .ico { fill: currentColor; }
.qv__list { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; }
.qv__list li { display: flex; gap: 10px; align-items: flex-start; }
.qv__list .ico { width: 18px; height: 18px; color: var(--amx-indigo); margin-top: 1px; }
.qv__wa { color: var(--whatsapp); font-weight: 600; }

.toast {
  position: fixed; left: 50%; bottom: 26px; z-index: 120; display: flex; align-items: center; gap: 12px;
  max-width: calc(100vw - 40px); padding: 12px 18px 12px 12px; border-radius: var(--pill);
  background: var(--amx-indigo-ink); color: #fff; font-size: 14.5px; box-shadow: 0 18px 40px -16px rgba(18,4,47,.6);
  opacity: 0; transform: translate(-50%, 20px); pointer-events: none; transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.toast img { width: 38px; height: 38px; border-radius: 50%; object-fit: contain; background: #fff; }
.toast .ico { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--ok); stroke-width: 3; }

body.is-locked { overflow: hidden; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1360px) {
  .header__inner { gap: 28px; }
  .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .6fr) minmax(0, 1fr); }
  .p-grid--6 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .p-grid--6 > :nth-child(n + 11) { display: none; }
  .shop-cats__list { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .catnav__link { padding: 0 10px; font-size: 14.5px; }
  .catnav__list .catnav__link > .ico:not(.ico--xs) { display: none; }
}

@media (max-width: 1100px) {
  .catnav__txt { display: none; }
  .catnav__link { padding: 0 9px; font-size: 14px; gap: 6px; }
}

@media (max-width: 1240px) {
  .hero-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); grid-template-areas: "slider cats" "slider picks"; }
  .promo-tall { display: none; }
  .week-picks__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .layout { grid-template-columns: 270px minmax(0, 1fr); }
  .p-grid--5 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .p-grid--5 > :nth-child(n + 9) { display: none; }
  .deal { grid-template-columns: minmax(0, 1fr); }
  .duo { grid-template-columns: minmax(0, 1fr); }
  .hotline__text small { display: none; }
  .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__news { grid-column: 1 / -1; display: grid; grid-template-columns: 1.2fr 1fr; align-items: start; }
}

@media (max-width: 1024px) {
  :root { --gap: 16px; }
  .topbar__links:first-child { display: none; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "slider" "cats" "picks"; }
  .hero { min-height: 440px; }
  .hot-cats__list { display: flex; overflow-x: auto; gap: 14px; padding-bottom: 6px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .hot-cats__list::-webkit-scrollbar { display: none; }
  .hot-cats__list li { flex: 0 0 96px; scroll-snap-align: start; }
  .week-picks__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .perks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .layout { grid-template-columns: minmax(0, 1fr); }
  .sidebar { order: 2; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
  .promo-poster img { aspect-ratio: 4 / 5; }
  .brands__list { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .showcase { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .showcase .show-card--dark { grid-column: 1 / -1; order: -1; }
  .show-card__wide { aspect-ratio: 900 / 360 !important; }
}

@media (max-width: 960px) {
  .topbar { display: none; }
  .catnav { display: none; }
  .header__inner { display: grid; grid-template-columns: 44px 1fr 44px; gap: 10px 8px; height: auto !important; padding-top: 10px; padding-bottom: 12px; }
  .header__burger { display: inline-grid; }
  .header__logo { justify-self: center; }
  .header__logo img { width: 128px; }
  .search { grid-column: 1 / -1; grid-row: 2; max-width: none; }
  .search__input { height: 44px; }
  .search__btn { width: 34px; height: 34px; }
  .header__actions { gap: 0; }
  .hotline, .cart-btn__text { display: none; }
  .cart-btn__icon { background: none; }
  .header.is-stuck .header__logo { display: none; }
  .header.is-stuck .header__inner { grid-template-rows: auto; padding-top: 10px; }
  .header.is-stuck .header__burger, .header.is-stuck .header__actions { display: none; }
  .header.is-stuck .search { grid-row: 1; }

  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 75; display: grid; grid-template-columns: repeat(4, 1fr);
    height: 62px; padding-bottom: env(safe-area-inset-bottom); background: #fff; border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px -16px rgba(18,4,47,.3);
  }
  .mobile-bar > * { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font: 600 11.5px/1 var(--font-title); color: var(--ink); }
  .mobile-bar__icon { position: relative; }
  .mobile-bar .ico { width: 22px; height: 22px; }
  body { padding-bottom: 62px; }
  .fab-whatsapp { bottom: 78px; width: 50px; height: 50px; right: 16px; }
  .to-top { bottom: 138px; right: 19px; }
  .toast { bottom: 80px; }

  .slide { padding: 28px 24px 0; }
  .slide__content { max-width: 300px; }
  .p-grid--5, .p-grid--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .p-grid--5 > :nth-child(n + 7), .p-grid--6 > :nth-child(n + 10) { display: none; }
  .p-grid--5 > :nth-child(-n + 6) { display: flex; }
  .sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sidebar .promo-poster { display: none; }
  .brands__list { display: flex; overflow-x: auto; scrollbar-width: none; }
  .brands__list::-webkit-scrollbar { display: none; }
  .brands__list li { flex: 0 0 140px; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__news { grid-template-columns: minmax(0, 1fr); }
  .qv { grid-template-columns: minmax(0, 1fr); }
  .qv__media { border-right: 0; border-bottom: 1px solid var(--line); padding: 24px; }
  .qv__media img { max-width: 260px; }
  .qv__info { padding: 24px; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; --gap: 14px; }
  .sec-title { font-size: 20px; }
  .card { padding: 18px; border-radius: var(--r-lg); }
  .hero { min-height: 470px; border-radius: var(--r-lg); }
  .slide__title { font-size: 32px; }
  .slide__text { font-size: 14.5px; }
  .slide__img--console { width: 120%; right: -30%; bottom: 3%; }
  .slide__img--blend { width: 58%; }
  .slide__img--tall { width: 52%; }
  .slider-arrow { display: none; }
  .week-picks { padding: 16px; }
  .week-picks__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; }
  .perks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .perk { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; }
  .perk__icon { width: 40px; height: 40px; border-radius: 12px; }
  .perk__icon .ico { width: 20px; height: 20px; }
  .perk strong { font-size: 14.5px; }
  .perk span { font-size: 12.5px; }
  .layout { margin-top: 28px; }
  .sidebar { grid-template-columns: minmax(0, 1fr); }
  .sidebar__musicians { display: none; }
  .footer__bottom { padding-right: 0; }
  .tabs-block__head { margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); overflow: hidden; }
  .tabs { width: 100%; }
  .tab { padding: 0 16px; font-size: 14.5px; }
  .p-grid { gap: 10px; }
  .p-grid--5, .p-grid--6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .p-grid--5 > :nth-child(n + 7) { display: none; }
  .p-grid--6 > :nth-child(n + 9) { display: none; }
  .p-grid--6 > :nth-child(-n + 8) { display: flex; }
  .p-card { padding: 10px 10px 12px; border-radius: var(--r); }
  .p-title { font-size: 13.5px; }
  .p-cat { font-size: 12px; }
  .p-add { height: 38px; font-size: 13px; }
  .p-actions .act { opacity: 1; transform: none; width: 32px; height: 32px; }
  .p-actions .act:not(:first-child) { display: none; }
  .badge { font-size: 11px; padding: 4px 7px; }
  .deal { padding: 24px 18px; border-radius: var(--r-lg); }
  .deal::after { font-size: 160px; bottom: -40px; }
  .deal__products { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; margin-inline: -18px; padding-inline: 18px; scrollbar-width: none; }
  .deal__products::-webkit-scrollbar { display: none; }
  .deal__products > * { flex: 0 0 62%; scroll-snap-align: start; }
  .countdown div { min-width: 0; flex: 1; }
  .spotlight { grid-template-columns: minmax(0, 1fr); }
  .spotlight__photo { min-height: 220px; }
  .top-list__grid { grid-template-columns: minmax(0, 1fr); }
  .shop-cats, .showcase, .recommended, .about { margin-top: 36px; }
  .shop-cats__list { display: flex; overflow-x: auto; gap: 12px; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .shop-cats__list::-webkit-scrollbar { display: none; }
  .shop-cats__list li { flex: 0 0 92px; scroll-snap-align: start; }
  .shop-cats__list a { font-size: 13px; }
  .showcase { grid-template-columns: minmax(0, 1fr); }
  .show-card { padding: 22px 20px 26px; }
  .show-card img { max-width: 220px; }
  .show-card__wide { width: calc(100% + 40px) !important; margin: -22px -20px 8px; }
  .show-card h3 { font-size: 24px; }
  .footer__top { flex-direction: column; align-items: flex-start; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 18px; }
  .footer__col:nth-child(3) { grid-column: 1 / -1; }
  .news { padding: 18px; }
  .news__form { flex-direction: column; }
  .news__form input { flex: none; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .modal { padding: 0; align-items: end; }
  .modal__box { border-radius: var(--r-xl) var(--r-xl) 0 0; max-height: 92vh; }
}

@media (hover: none) {
  .p-actions .act { opacity: 1; transform: none; }
  .slider-arrow { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   WordPress: barra de administración, páginas, blog y contenido
   ========================================================================== */
.admin-bar .header { top: 32px; }
@media (max-width: 782px) { .admin-bar .header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .header { top: 0; } }

.page-wrap { margin-top: 28px; }
.page-head { margin-bottom: 22px; }
.page-head__title { font-size: clamp(26px, 3vw, 36px); font-weight: 800; letter-spacing: -.02em; margin-top: 6px; }
.page-article { background: #fff; border-radius: var(--r-xl); padding: clamp(20px, 3vw, 40px); }
.post-cover { margin: 0 0 24px; border-radius: var(--r-lg); overflow: hidden; }
.post-cover img { width: 100%; }

.entry-content { color: var(--text); font-size: 16px; line-height: 1.7; }
.entry-content > * + * { margin-top: 1em; }
.entry-content h2, .entry-content h3, .entry-content h4 { margin-top: 1.6em; }
.entry-content h2 { font-size: 26px; }
.entry-content h3 { font-size: 21px; }
.entry-content a { color: var(--amx-indigo); text-decoration: underline; text-underline-offset: 3px; }
.entry-content a:hover { color: var(--amx-red); }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content ul { list-style: disc; }
.entry-content img { border-radius: var(--r); }
.entry-content blockquote { margin-left: 0; padding: 14px 20px; border-left: 4px solid var(--amx-red); background: var(--amx-indigo-wash); border-radius: 0 var(--r) var(--r) 0; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.alignwide { max-width: 1200px; }
.alignfull { width: 100%; }
.aligncenter { margin-inline: auto; }
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.wp-caption-text, figcaption { font-size: 13.5px; color: var(--muted); margin-top: 6px; }
.wp-block-button__link, .wp-element-button { border-radius: var(--pill); background: var(--amx-red); color: #fff; font: 600 15px/1 var(--font-title); padding: 14px 24px; }
.home-content { margin-top: 40px; }

.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: var(--gap); }
.post-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--r-xl); overflow: hidden; transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.post-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.post-card__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.post-card__body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 24px; font-size: 14.5px; }
.post-card__title { font-size: 20px; font-weight: 700; }
.post-card__title a:hover { color: var(--amx-red); }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 30px; }
.nav-links .page-numbers { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: var(--pill); background: #fff; font-weight: 600; color: var(--ink); }
.nav-links .page-numbers.current, .nav-links .page-numbers:hover { background: var(--amx-indigo); color: #fff; }
.post-navigation { margin-top: 20px; }
.post-navigation .nav-links { justify-content: space-between; }
.post-navigation a { display: block; padding: 14px 18px; border-radius: var(--r); background: #fff; font-weight: 600; color: var(--ink); }

.notice-box { max-width: 720px; display: flex; flex-direction: column; gap: 14px; }
.notice-box .search { max-width: none; }
.notice-box .search__input, .error-404 .search__input { box-shadow: inset 0 0 0 1.5px var(--line); }
.error-404 { max-width: 680px; margin: 20px auto 0; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 40px 28px; }
.error-404__code { font: 800 96px/1 var(--font-title); color: var(--amx-indigo); letter-spacing: -.04em; }
.error-404 .search { width: 100%; max-width: 480px; flex: none; }

.comments-area { margin-top: 30px; background: #fff; border-radius: var(--r-xl); padding: 28px; }
.comment-list { list-style: none; padding: 0; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: var(--r); font: inherit; }
.comment-form .submit { height: 46px; padding: 0 24px; border: 0; border-radius: var(--pill); background: var(--amx-red); color: #fff; font: 600 15px/1 var(--font-title); cursor: pointer; }

.widget ul { margin: 0; padding: 0; list-style: none; }
.widget li { padding: 6px 0; }
.widget a:hover { color: var(--amx-red); }
