@charset "utf-8";
/* Tienda · inicio (index.html + js/inicio.js): toda la tienda por pieza, in the look of «Dos caminos 2».
   Loaded after nueva.css, which owns the tokens, the tones (.k-*), the header, the footer, the notice, the search results and
   the shared cards (.fc .x-tile .h-card .key .s-head .explore). This file adds the shop page's own layout and the parts of its
   cards that differ. Everything here only applies to this page (body.p-tienda or its own class names). */
.p-tienda [hidden]{display:none!important}
.pt{padding-bottom:30px}
/* :where() keeps this reset at the weight of a plain button, so nueva.css's tile buttons (.poner, .al-carrito) keep their look */
:where(.pt) button{font:inherit;color:inherit;background:none;border:0;cursor:pointer;padding:0}

/* Photos in this page's cards: the frame sets the size; a missing photo keeps nueva.css's quiet cube */
.p-tienda .pt .foto{position:relative;display:grid;place-items:center;width:100%;height:100%}
.p-tienda .pt .foto img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}

/* Section heads */
.ceja{display:flex;align-items:center;color:var(--ink)!important}
.ver-hoy{border-bottom:1px solid currentColor;padding-bottom:2px;white-space:nowrap}

/* Swap mode: one slot of Su PC */
.banner{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:18px;padding:16px 20px;border-radius:20px;background:var(--ink);color:#fff}
.banner .lbl{color:rgba(255,255,255,.66)}
.ban-x{min-width:0}
.ban-t{font:800 24px/1.1 var(--sans);font-stretch:106%;letter-spacing:-.03em;margin-top:6px}
.ban-p{margin-top:6px;font-size:14px;color:rgba(255,255,255,.85)}
.ban-p b{font-weight:650;color:#fff}
.ban-pr{font-family:var(--mono);white-space:nowrap}
.ban-v{flex:none;display:inline-flex;align-items:center;height:44px;padding:0 18px;border-radius:999px;background:#fff;color:var(--ink);font-weight:700;font-size:14.5px;white-space:nowrap}
body.para .exp-sec,body.para .hoy-sec{display:none}
body.para .tienda{margin-top:22px}

/* Explore por pieza: the eight PC kinds in big cards, the rest of the store in small ones */
.exp-sec{padding-top:22px}
.explore{grid-template-columns:repeat(4,minmax(0,1fr))}
.explore.mas{grid-template-columns:repeat(6,minmax(0,1fr))}
.sub-exp{margin:16px 0 9px}
.x-tile{height:188px;align-items:flex-start}
.x-tile b{margin-top:12px;max-width:60%;font-size:19px}
.x-tile .sp{max-width:56%;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.x-tile .desde:not(.si){visibility:hidden}
.x-tile .xi{position:absolute;right:12px;bottom:12px;width:44%;height:62%;display:flex;align-items:flex-end;justify-content:flex-end}
.x-tile .xi img{max-width:100%;max-height:100%;object-fit:contain;mix-blend-mode:multiply}
.explore.mas .x-tile{height:138px;padding:12px 13px;border-radius:18px}
.explore.mas .x-tile b{font-size:15px;margin-top:8px;max-width:100%;padding-right:22px}
.explore.mas .x-tile .sp{display:none}
.explore.mas .x-tile .desde>span{font-size:16px}
.explore.mas .x-tile .xi{width:46%;height:52%;right:10px;bottom:10px}
.explore.mas .x-tile .go{width:26px;height:26px;right:9px;top:9px}

/* Disponible hoy: one row that scrolls sideways */
.hoy-sec{margin-top:36px}
.fila-x{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 50px) / 6);gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin;padding-bottom:8px}
#hoy{min-height:300px}
.h-card{scroll-snap-align:start;border-radius:20px;transition:transform .2s ease}
.h-card:hover{transform:translateY(-2px)}
.h-card .h-pic{display:block;height:138px;margin:6px 6px 0;padding:0;border-radius:15px}
.h-card .h-pic .foto{position:absolute;inset:28px 12px 8px;width:auto;height:auto}
.h-card .h-pic .lbl{right:12px}
.h-card .h-body{padding:10px 12px 12px}
.h-m,.fc-m{display:block;font-size:9.5px!important;color:var(--k)!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.h-card .h-name{margin:4px 0 10px;font-size:13.5px}
.h-card .h-foot{align-items:baseline;padding-top:9px}
.h-card .h-price{font-size:18px}
.isv{font:500 9px/1 var(--mono);letter-spacing:.06em;text-transform:uppercase;color:var(--ink3);white-space:nowrap}
.key{display:block;margin-bottom:5px}

/* The shop */
.tienda{margin-top:40px}
.chips{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:16px}
.pt .chip{flex:none;height:34px;padding:0 13px;border-radius:999px;border:1px solid var(--line);background:var(--white);font:600 13px/1 var(--sans);white-space:nowrap}
.pt .chip:hover{border-color:var(--ink)}
.pt .chip.on{background:var(--ink);border-color:var(--ink);color:#fff}
.shop{display:grid;grid-template-columns:250px minmax(0,1fr);gap:22px;align-items:start}
.filtros{position:sticky;top:16px;max-height:calc(100vh - 32px);display:flex;flex-direction:column;background:var(--white);border:1px solid var(--line);border-radius:20px;overflow:hidden}
.f-cab{display:flex;align-items:center;justify-content:space-between;padding:14px 16px 0}
.f-cab h3{font:800 20px/1 var(--sans);letter-spacing:-.03em}
.pt #cerrarFiltros{display:none;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--paper)}
.f-cuerpo{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:0 16px 16px;scrollbar-width:thin}
.f-g{margin:14px 0 0;padding:12px 0 0;border-top:1px solid var(--hair)}
.f-g h4{margin-bottom:8px}
.radio{display:flex;align-items:center;gap:9px;padding:5px 0;font-size:14px;cursor:pointer}
.radio input{width:17px;height:17px;margin:0;accent-color:var(--ink);flex:none}
.marcas{display:flex;flex-wrap:wrap;gap:6px}
.pt .marcas button{max-width:100%;height:30px;padding:0 11px;border-radius:999px;border:1px solid var(--line);font-size:12.5px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pt .marcas button:hover{border-color:var(--ink)}
.pt .marcas button.si{background:var(--ink);border-color:var(--ink);color:#fff}
.pt .marcas button.ver{border-style:dashed;color:var(--ink2)}
.precio-f{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.precio-f label{display:flex;flex-direction:column;gap:4px;min-width:0;font-size:12px;color:var(--ink2)}
.precio-f input{width:100%;min-width:0;height:38px;padding:0 10px;border:1px solid var(--line);border-radius:10px;background:var(--white);font:500 14px/1 var(--mono);color:var(--ink)}
.pt .aplicar,.pt .limpiar{display:flex;align-items:center;justify-content:center;width:100%;height:38px;margin-top:9px;border-radius:10px;border:1px solid var(--ink);font-weight:700;font-size:13.5px}
.pt .aplicar:hover{background:var(--ink);color:#fff}
.pt .limpiar{margin-top:14px;border-style:dashed}
.f-pie{display:none}
.res{min-width:0}
.res-cab{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-bottom:12px}
.pt #abrirFiltros{display:none;align-items:center;gap:8px;height:40px;padding:0 16px;border-radius:999px;border:1px solid var(--ink);background:var(--white);font-weight:700;font-size:14px}
.orden{display:flex;align-items:center;gap:8px}
.orden select{height:40px;padding:0 12px;border:1px solid var(--line);border-radius:999px;background:var(--white);font:600 13.5px/1 var(--sans);color:var(--ink)}
.rejilla{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;transition:opacity .2s}
.res.cargando .rejilla{opacity:.55}
.sub-para{margin:0 0 9px}
#gridPara{margin-bottom:22px}
.fc-a{display:flex;flex-direction:column;flex:1;min-width:0}
.rejilla .fc .ph{display:block;height:168px;padding:0}
.rejilla .fc .ph .foto{position:absolute;inset:28px 12px 10px;width:auto;height:auto}
.rejilla .fc .fb{padding:10px 12px 0;min-width:0}
.fc .nom{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin-top:4px;font:600 13px/1.28 var(--sans);letter-spacing:-.01em}
.rejilla .fc .pr{display:flex;align-items:baseline;gap:7px;margin-top:auto;padding-top:9px;font-size:19px}
/* Availability as in «Arme su PC» (nueva.css .fc .av and .meter): the four squares and the delivery words */
.rejilla .fc .av{margin:7px 0 0;font-size:9.5px}
.fit{display:block;margin:9px 12px 0;padding:6px 8px;border-radius:8px;background:var(--green-soft,#dcf5e5);color:var(--green-ink);font:650 12px/1.25 var(--sans)}
.fit.nofit{background:var(--red-soft,#ffe3ea);color:var(--red-ink)}
/* The tile's actions are the builder's (nueva.css .fc-acts, .poner, .al-carrito); only the padding is this grid's */
.rejilla .fc-acts{gap:6px;margin-top:0;padding:10px 12px 12px}
.pt .mas-b{display:flex;align-items:center;margin:20px auto 0;height:46px;padding:0 28px;border-radius:999px;border:1px solid var(--ink);background:var(--white);font:700 14.5px/1 var(--sans)}
.pt .mas-b:hover{background:var(--ink);color:#fff}
.vacio{padding:34px 20px;border:1.5px dashed var(--line);border-radius:20px;text-align:center}
.vacio h3{font:800 22px/1.15 var(--sans);letter-spacing:-.03em}
.vacio p{margin-top:8px;color:var(--ink2)}
.vacio-a{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:14px}
.pt .vacio-a>*{display:inline-flex;align-items:center;height:42px;padding:0 18px;border-radius:999px;border:1px solid var(--ink);font-weight:700}
.velo{position:fixed;inset:0;z-index:65;background:rgba(20,20,20,.35)}

/* Narrow desktop and tablet */
@media (max-width:1240px){
  .rejilla{grid-template-columns:repeat(3,minmax(0,1fr))}
  .explore.mas{grid-template-columns:repeat(4,minmax(0,1fr))}
  .fila-x{grid-auto-columns:calc((100% - 40px) / 5)}
}
/* Phone and small tablet: the filters open as a sheet */
@media (max-width:900px){
  .shop{display:block}
  .filtros{position:fixed;left:0;right:0;bottom:0;top:auto;z-index:70;max-height:86vh;max-height:86dvh;border-radius:22px 22px 0 0;border-bottom:0;transform:translateY(104%);visibility:hidden;transition:transform .3s cubic-bezier(.2,.8,.2,1),visibility 0s linear .3s;box-shadow:0 -24px 60px -20px rgba(20,20,20,.35)}
  .filtros.abierta{transform:none;visibility:visible;transition:transform .3s cubic-bezier(.2,.8,.2,1)}
  .f-cab{padding:14px 16px 12px;border-bottom:1px solid var(--hair)}
  .pt #cerrarFiltros{display:grid}
  .f-g:first-child{border-top:0;margin-top:4px}
  .f-pie{display:block;padding:10px 16px calc(12px + env(safe-area-inset-bottom));border-top:1px solid var(--hair)}
  .pt #verRes{display:flex;align-items:center;justify-content:center;width:100%;height:46px;border-radius:14px;background:var(--ink);color:#fff;font-weight:700;font-size:15px}
  .res-cab{justify-content:space-between}
  .pt #abrirFiltros{display:inline-flex}
  body.bloq{overflow:hidden}
}
/* Phone: the card rows scroll sideways, the shop has two columns */
@media (max-width:760px){
  .exp-sec{padding-top:14px}
  .explore,.explore.mas{grid-auto-flow:column;grid-template-columns:none;grid-template-rows:repeat(2,auto);grid-auto-columns:44%;gap:8px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;margin:0 calc(-1 * var(--pad));padding:0 var(--pad);scroll-padding-inline:var(--pad)}
  .explore::-webkit-scrollbar,.fila-x::-webkit-scrollbar,.chips::-webkit-scrollbar{display:none}
  .explore.mas{grid-template-rows:auto;grid-auto-columns:38%}
  .x-tile{height:158px;padding:12px;border-radius:18px;scroll-snap-align:start}
  .x-tile b{font-size:15.5px;margin-top:8px;max-width:72%}
  .x-tile .sp{font-size:9px;max-width:62%;-webkit-line-clamp:2}
  .x-tile .xi{width:46%;height:46%;right:8px;bottom:8px}
  .explore.mas .x-tile{height:118px}
  .explore.mas .x-tile b{font-size:14px}
  .hoy-sec{margin-top:28px}
  .fila-x{grid-auto-columns:46%;gap:8px;margin:0 calc(-1 * var(--pad));padding:0 var(--pad) 6px;scroll-padding-inline:var(--pad);scrollbar-width:none}
  #hoy{min-height:268px}
  .h-card .h-pic{height:112px}
  .h-card .h-name{font-size:13px}
  .h-card .h-price{font-size:16px}
  .tienda{margin-top:30px}
  .chips{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin:0 calc(-1 * var(--pad)) 12px;padding:0 var(--pad)}
  .rejilla{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .rejilla .fc{border-radius:16px}
  .rejilla .fc .ph{height:126px}
  .rejilla .fc .ph .foto{inset:26px 8px 8px}
  .rejilla .fc .fb{padding:9px 10px 0}
  .rejilla .key b{font-size:22px}
  .rejilla .key b.m{font-size:17px}
  .fc .nom{font-size:12.5px}
  .rejilla .fc .pr{font-size:17px;gap:5px}
  .fit{margin:8px 10px 0;font-size:11.5px}
  .rejilla .fc-acts{padding:9px 10px 10px}
  .banner{flex-direction:column;align-items:flex-start;padding:14px 16px}
  .ban-t{font-size:20px}
}
@media (prefers-reduced-motion:reduce){
  .h-card,.filtros{transition:none}
}
/* Dark theme (nueva.css section 8): ink fills under white text get dark text, the swap banner becomes a raised dark sheet,
   and a category tile's photo sits on a light rounded tile like every .foto */
[data-tema="oscuro"] .banner{background:var(--white);box-shadow:inset 0 0 0 1px var(--line)}
[data-tema="oscuro"] .ban-v{background:var(--ink);color:var(--paper)}
[data-tema="oscuro"] .pt .chip.on,[data-tema="oscuro"] .pt .marcas button.si,[data-tema="oscuro"] .pt .aplicar:hover,[data-tema="oscuro"] .pt .mas-b:hover,[data-tema="oscuro"] .pt #verRes{color:var(--paper)}
[data-tema="oscuro"] .x-tile .xi:not(:empty){align-items:center;justify-content:center;padding:6px;border-radius:12px;background:var(--photo)}
[data-tema="oscuro"] .velo{background:rgba(0,0,0,.55)}
[data-tema="oscuro"] .precio-f input::placeholder{color:var(--ink3);opacity:1}
/* Import search: only for a search with no match in the store (owner, 2026-11-22). Cards quote by WhatsApp. */
.importa{margin-top:18px}
.importa>.lbl{color:var(--ink2)}
.importa h3{margin:6px 0 14px;font-size:15px;font-weight:600;line-height:1.35;color:var(--ink)}
.importada .fc-acts .al-carrito{display:flex;align-items:center;justify-content:center;text-decoration:none}
