/* Tienda: catálogo y ficha de producto */

.shop-hero .cats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.shop-hero .cats a { display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 20px 0 14px; background: rgba(4, 5, 26, .35); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%); font-family: var(--display); font-style: italic; font-weight: 800; font-size: 18px; text-transform: uppercase; transition: background .3s; }
.shop-hero .cats a:hover { background: rgba(255, 255, 255, .14); }
.shop-hero .cats b { font-family: var(--tech); font-style: normal; font-size: 11px; padding: 2px 6px; border-radius: 5px; background: var(--cyan); color: var(--n950); }

.toolbar { position: sticky; top: calc(var(--nav) + var(--live)); z-index: 30; display: grid; gap: 10px; padding: 14px 0; margin-bottom: 22px; transition: top .45s var(--ease); }
.nav-hide .toolbar { top: var(--live); }
.toolbar::before { content: ''; position: absolute; inset: 0 calc(50% - 50vw); z-index: -1; background: #05061D; border-bottom: 1px solid var(--line); opacity: 0; transition: opacity .3s; }
.toolbar.stuck::before { opacity: 1; }
.tb-row { display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; min-width: 0; }
.tb-row > * { min-width: 0; }
.tb-row .chips { flex: 1 1 auto; }
.search { position: relative; flex: 1 1 260px; max-width: 380px; }
.search input { width: 100%; height: 46px; padding: 0 16px 0 44px; border: 0; border-radius: 12px; background: var(--n850); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--text); font-size: 16px; outline: none; transition: box-shadow .25s; }
.search input:focus { box-shadow: inset 0 0 0 1.5px var(--cyan); }
.search .i { position: absolute; left: 14px; top: 13px; color: var(--muted); }
.sel { position: relative; }
.sel select { appearance: none; -webkit-appearance: none; height: 46px; padding: 0 40px 0 16px; border: 0; border-radius: 12px; background: var(--n850); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--text); font-size: 16px; font-family: var(--tech); font-weight: 600; cursor: pointer; }
.sel::after { content: ''; position: absolute; right: 16px; top: 50%; width: 7px; height: 7px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.tb-tools { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.count { font-family: var(--tech); font-size: 13px; color: var(--muted); }
.count b { color: var(--text); font-size: 18px; }
.chk { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); font-family: var(--tech); font-size: 13px; font-weight: 600; color: var(--muted); cursor: pointer; user-select: none; }
.chk input { accent-color: var(--cyan); width: 16px; height: 16px; }
.chk:has(input:checked) { color: var(--text); box-shadow: inset 0 0 0 1.5px var(--cyan); }
.ver-mas { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 30px; color: var(--muted); font-family: var(--tech); font-size: 13px; }
.pasos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: p; position: relative; }
.paso { text-align: center; position: relative; }
.paso b { display: inline-grid; place-items: center; width: 52px; height: 52px; background: linear-gradient(100deg, var(--blue-2), var(--blue)); clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%); font-family: var(--display); font-style: italic; font-weight: 900; font-size: 28px; color: #fff; }
.paso h3 { margin-top: 14px; font-family: var(--display); font-style: italic; font-weight: 800; font-size: 22px; text-transform: uppercase; }
.paso p { color: var(--muted); font-size: 14px; margin-top: 4px; }
.paso:not(:last-child)::after { content: ''; position: absolute; top: 26px; left: calc(50% + 40px); right: calc(-50% + 40px); height: 2px; background: linear-gradient(90deg, var(--blue-2), transparent); }

/* promociones */
.promos-sec { position: relative; z-index: 2; margin-top: -48px; }
.promos { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.promo { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 18px; background: var(--n850); box-shadow: inset 0 0 0 1px var(--line-2), 0 20px 40px -30px #000; }
.promo > b { flex: none; min-width: 74px; font-size: 34px; color: var(--cyan); text-align: center; }
.promo h3 { font-family: var(--display); font-style: italic; font-weight: 800; font-size: 20px; text-transform: uppercase; line-height: 1.05; }
.promo p { color: var(--muted); font-size: 13.5px; margin-top: 3px; line-height: 1.4; }
.promo.on { background: linear-gradient(120deg, #C8102E, var(--red)); box-shadow: 0 20px 40px -24px rgba(255, 46, 77, .8); }
.promo.on > b { color: #fff; } .promo.on p { color: rgba(255, 255, 255, .88); }

/* embajadores */
.emb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.emb { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; background: var(--n800); box-shadow: inset 0 0 0 1px var(--line); isolation: isolate; }
.emb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform 1s var(--ease); }
.emb:hover img { transform: scale(1.05); }
.emb::after { content: ''; position: absolute; inset: 40% 0 0; z-index: -1; background: linear-gradient(transparent, rgba(4, 5, 26, .92)); }
.emb-txt { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px; display: flex; flex-direction: column; gap: 2px; }
.emb-txt q { font-size: 14px; color: rgba(255, 255, 255, .85); margin-bottom: 8px; line-height: 1.4; }
.emb-txt b { font-family: var(--display); font-style: italic; font-weight: 900; font-size: 26px; text-transform: uppercase; line-height: 1; }
.emb-txt small { font-family: var(--tech); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); }
.emb-txt em { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-style: normal; font-size: 13px; color: var(--muted); }
.emb-txt em svg { width: 14px; height: 14px; fill: currentColor; }

/* ───────── ficha de producto ───────── */
.pd { padding: 30px 0 80px; }
.pd-crumbs { font-family: var(--tech); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.pd-crumbs a:hover { color: var(--text); }
.pd-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(26px, 4vw, 56px); align-items: start; }
.pd-gal, .pd-info { min-width: 0; }
.pd-gal { position: sticky; top: calc(var(--nav) + var(--live) + 16px); }
.pd-stage { position: relative; aspect-ratio: 1 / .86; border-radius: 26px; overflow: hidden; display: grid; place-items: center;
  background: radial-gradient(62% 56% at 50% 46%, color-mix(in srgb, var(--g) 36%, transparent), transparent 74%), linear-gradient(180deg, #111C62, var(--n850)); box-shadow: inset 0 0 0 1px var(--line); transition: --g .8s; }
.pd-stage::after { content: ''; position: absolute; left: 50%; top: 46%; width: 70%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; border: 1px dashed rgba(210, 225, 255, .14); pointer-events: none; }
.pd-track { position: absolute; inset: 0; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.pd-track::-webkit-scrollbar { display: none; }
.pd-slide { flex: 0 0 100%; scroll-snap-align: center; display: grid; place-items: center; padding: 6% 8%; }
.pd-slide img { width: 100%; height: 100%; object-fit: contain; }
.pd-slide img.cut { filter: drop-shadow(0 34px 30px rgba(0, 0, 0, .5)); animation: entra .7s var(--ease); }
.pd-slide img.foto { border-radius: 16px; background: #fff; height: auto; max-height: 100%; }
@keyframes entra { from { opacity: 0; transform: translateX(8%) rotate(4deg) scale(.95); } }
.pd-thumbs { display: flex; gap: 8px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.pd-thumbs::-webkit-scrollbar { display: none; }
.pd-thumbs button { flex: none; width: 72px; height: 72px; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: inset 0 0 0 2px transparent; opacity: .65; transition: opacity .25s, box-shadow .25s; }
.pd-thumbs button.cut { background: var(--n800); }
.pd-thumbs button[aria-current="true"] { opacity: 1; box-shadow: 0 0 0 2px var(--cyan); }
.pd-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pd-info .marca { font-family: var(--tech); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--cyan); display: flex; gap: 10px; align-items: center; }
.pd-info .marca span { color: var(--muted); }
.pd-info h1 { font-size: clamp(42px, 5vw, 72px); margin-top: 10px; }
.pd-price { display: flex; align-items: baseline; gap: 12px; margin-top: 14px; }
.pd-price b { font-family: var(--tech); font-size: 34px; }
.pd-price s { font-family: var(--tech); color: var(--dim); font-size: 18px; }
.pd-price em { font-style: normal; font-family: var(--tech); font-size: 12px; font-weight: 700; padding: 3px 8px; background: var(--red); color: #fff; clip-path: polygon(5px 0, 100% 0, calc(100% - 5px) 100%, 0 100%); }
.pd-desc { color: var(--muted); margin-top: 16px; font-size: 15.5px; }
.pd-block { margin-top: 24px; }
.pd-block h3 { font-family: var(--tech); font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; display: flex; justify-content: space-between; align-items: baseline; }
.pd-block h3 b { color: var(--text); letter-spacing: .04em; text-transform: none; font-family: var(--body); font-size: 15px; }
.pd-block h3 a { color: var(--cyan); letter-spacing: .06em; text-transform: none; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.colores { display: flex; flex-wrap: wrap; gap: 8px; max-height: 196px; overflow-y: auto; padding: 2px; }
.colores button { width: 62px; height: 62px; border-radius: 14px; background: radial-gradient(closest-side, color-mix(in srgb, var(--c) 40%, transparent), transparent), var(--n800); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .25s, transform .3s var(--spring); }
.colores button:hover { transform: translateY(-2px); }
.colores button[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--cyan); }
.colores img { width: 88%; height: 88%; object-fit: contain; margin: auto; }
.tallas { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 8px; }
.talla { height: 58px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line-2); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1; transition: background .2s, color .2s, box-shadow .2s, transform .3s var(--spring); }
.talla b { font-family: var(--tech); font-size: 18px; }
.talla small { font-size: 10px; color: var(--muted); font-family: var(--tech); }
.talla:hover:not(:disabled) { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .6); }
.talla[aria-pressed="true"] { background: var(--text); color: var(--n950); transform: scale(1.04); }
.talla[aria-pressed="true"] small { color: var(--ink-2); }
.talla:disabled { opacity: .3; cursor: not-allowed; text-decoration: line-through; }
.msg { margin-top: 10px; color: #FF8A9A; font-size: 13px; font-weight: 600; }
.pd-actions { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-top: 24px; }
.pd-actions .btn-wa { width: 60px; padding: 0; }
.pd-actions .btn-wa svg { width: 24px; height: 24px; fill: currentColor; }
.pd-notas { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 8px; font-size: 14px; color: var(--muted); }
.pd-notas li { display: flex; gap: 10px; align-items: center; }
.pd-notas .i { color: var(--cyan); width: 18px; height: 18px; }
.specs { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; margin-top: 22px; border-radius: 16px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.specs div { padding: 12px 14px; border-left: 1px solid var(--line); }
.specs div:first-child { border-left: 0; }
.specs small { display: block; font-family: var(--tech); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.specs b { font-size: 15px; }
.shake { animation: shake .5s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

/* guía de tallas rápida */
.gt { position: fixed; inset: 0; z-index: 85; display: grid; place-items: center; padding: 20px; }
.gt[hidden] { display: none; }
.gt-scrim { position: absolute; inset: 0; background: rgba(2, 3, 16, .75); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.gt-panel { position: relative; width: min(520px, 100%); border-radius: 24px; padding: 26px; background: var(--n900); box-shadow: inset 0 0 0 1px var(--line-2), 0 40px 80px -30px #000; }
.gt-panel table { width: 100%; border-collapse: collapse; margin-top: 14px; font-family: var(--tech); font-size: 14px; text-align: center; }
.gt-panel th { color: var(--cyan); font-size: 11px; letter-spacing: .14em; padding: 8px; }
.gt-panel td { padding: 9px; border-top: 1px solid var(--line); }

@media (max-width: 1000px) {
  .pd-grid { grid-template-columns: minmax(0, 1fr); }
  .pd-gal { position: static; }
  .pasos { grid-template-columns: 1fr 1fr; gap: 26px 14px; }
  .paso::after { display: none; }
}
@media (max-width: 760px) {
  .emb-grid { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 72%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(var(--gut) * -1); padding: 2px var(--gut) 10px; }
  .emb-grid::-webkit-scrollbar { display: none; }
  .emb { scroll-snap-align: start; }
  .toolbar { padding: 10px 0; gap: 8px; }
  .search { max-width: none; flex-basis: 100%; }
  .tb-row > .tabs { flex: 1 1 100%; }
  .tb-row .chips { flex: 1 1 100%; }
  .tb-tools { width: 100%; justify-content: space-between; }
  .pd { padding-top: 16px; }
  .pd-stage { border-radius: 20px; margin: 0 calc(var(--gut) * -1); border-radius: 0; }
  .pd-actions { position: sticky; bottom: 0; z-index: 5; margin: 20px calc(var(--gut) * -1) 0; padding: 12px var(--gut) max(12px, env(safe-area-inset-bottom)); background: linear-gradient(180deg, rgba(4, 5, 26, 0), var(--n950) 24%); }
  .specs div { padding: 10px; }
  .colores button { width: 56px; height: 56px; }
}
