/* A1 aprobado por Javier · 2026-10-02. Compartido por todas las tiendas. */
.contenedor-productos,#js-product-list .contenedor-productos,.products.contenedor-productos,
.tic-home .tdc-featured-products .products,.tic-home .tdc-featured-products .contenedor-productos{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:26px 24px!important;align-items:start;
}
.pcard,.contenedor-productos .cardProducto,.contenedor-productos .cardProducto:hover,.pcard:hover{
  min-height:0;height:auto;border:0!important;border-radius:0;background:transparent;box-shadow:none!important;overflow:visible;transform:none!important;color:var(--ink,#182434);text-decoration:none;
}
.pcard .pcard-form,.pcard .p-details,.pcard .p-badges,.pcard .p-turn,
.cardProducto .cardProducto__cta,.cardProducto .cardProducto__flag,.cardProducto .cardProducto__offer-image,
.cardProducto .cardProducto__badges,.cardProducto .cardProducto_tallas,.cardProducto .cardProducto__delivery{display:none!important}
.tdc-card .tdc-card__media,.pcard .p-media,.contenedor-productos .cardProducto__media-wrap{
  display:block;position:relative;width:100%;height:auto;aspect-ratio:1.2;background:#fff;padding:0;border:0;border-radius:0;perspective:none;overflow:visible;
}
.tdc-card__frame{position:absolute;inset:0;overflow:hidden;display:block;background:#fff}
.pcard .p-media>img{width:100%;height:100%;object-fit:contain}
.tdc-card .tdc-card__frame>img{
  position:absolute;inset:auto;left:0;top:0;display:block;width:100%;height:100%;max-width:none;max-height:none;padding:0!important;margin:0!important;object-fit:contain;transform:none!important;transition:none;
}
.pcard .p-body,.contenedor-productos .cardProducto__content{
  display:flex;flex-direction:column;gap:0;padding:8px 1px 0;margin:0;flex:none;min-height:0;
}
.tdc-card__identity{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;min-height:25px}
.tdc-card .p-brand,.tdc-card .logo_marca,.contenedor-productos .tdc-card .cardProducto__content .logo_marca{
  position:static;display:flex;align-items:center;flex:1 0 min-content;min-width:0;max-width:100%;min-height:24px;height:auto;width:auto;margin:0;padding:0;background:transparent;border:0;box-shadow:none;transform:none;
}
.tdc-card .p-brand img,.tdc-card .logo_marca img,.contenedor-productos .tdc-card .cardProducto__content .cardProducto__marca-image{
  display:block;max-width:71px;max-height:23px;width:auto;height:auto;object-fit:contain;object-position:left center;filter:none;
}
.tdc-card .p-brand,.tdc-card .tdc-card__brand-name{font-size:12px;font-weight:700;letter-spacing:.6px;line-height:1.2;color:var(--ink,#182434)}
.tdc-card .tdc-card__brand-name{min-width:0;max-width:100%;overflow-wrap:break-word}
.tdc-card .tdc-card__brand-name[hidden],.tdc-card img[hidden]{display:none!important}
/* El buscador heredaba width:100% en el precio y dejaba la marca sin espacio. */
.pcard .p-price-row,.contenedor-productos .cardProducto__pvp-ref{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:baseline;gap:2px 8px;margin:0 0 0 auto;padding:0;width:auto;min-width:0;max-width:100%;flex:none}
.pcard .p-price,.contenedor-productos .cardProducto__price{font-size:18px;line-height:1.2;font-weight:700;letter-spacing:-.55px;margin:0;color:var(--ink,#182434);white-space:nowrap}
.pcard .price-old{font-size:10px;font-weight:400;color:#818892;white-space:nowrap}
.pcard .p-name,.contenedor-productos .cardProducto__title{
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:34px;max-height:34px;margin:5px 0 0;padding:0;font-size:12px;line-height:17px;font-weight:400;letter-spacing:0;color:var(--ink,#182434);text-align:left;text-decoration:none;
}
.tdc-card .p-name:hover{color:var(--accent,#174c92)}
.tdc-card__express{position:absolute;top:4px;right:4px;z-index:8;display:inline-flex}
.tdc-card__express-button{display:grid;place-items:center;width:32px;height:32px;padding:7px;border:0;border-radius:50%;background:#fffffff2;color:#94701b;cursor:pointer;touch-action:manipulation}
.tdc-card__express-button svg{width:17px;height:17px;fill:currentColor;pointer-events:none}
.tdc-card__tooltip{position:absolute;display:none;top:calc(100% + 4px);right:0;width:max-content;max-width:180px;padding:7px 10px;background:#223043;color:#fff;border-radius:4px;box-shadow:0 3px 12px #142c4d20;font-size:11px;line-height:1.4;font-weight:400;white-space:normal;pointer-events:none}
.tdc-card__express:hover .tdc-card__tooltip,.tdc-card__express:focus-within .tdc-card__tooltip,.tdc-card__express.is-open .tdc-card__tooltip{display:block}
.tdc-card__express.is-dismissed .tdc-card__tooltip{display:none}
.tdc-card__turn{position:absolute;bottom:6px;right:6px;width:30px;height:30px;display:grid;place-items:center;z-index:4;border:1px solid #e5e8ec;border-radius:50%;background:#fffffff2;color:#647386;cursor:pointer;opacity:0;touch-action:manipulation}
.tdc-card__turn svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8}
.tdc-card:hover .tdc-card__turn,.tdc-card__turn:focus-visible{opacity:1}
.tdc-card__express-button:focus-visible,.tdc-card__turn:focus-visible{outline:3px solid var(--accent,#174c92);outline-offset:2px}
@media(hover:none){.tdc-card__turn{opacity:1}}
@media(max-width:1000px) and (min-width:701px){
  .contenedor-productos,#js-product-list .contenedor-productos,.products.contenedor-productos,.tic-home .tdc-featured-products .products,.tic-home .tdc-featured-products .contenedor-productos{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:24px 18px!important}
}
@media(max-width:700px){
  .contenedor-productos,#js-product-list .contenedor-productos,.products.contenedor-productos,.tic-home .tdc-featured-products .products,.tic-home .tdc-featured-products .contenedor-productos{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:24px 14px!important}
  .tdc-card .tdc-card__media,.pcard .p-media,.contenedor-productos .cardProducto__media-wrap{aspect-ratio:1.08}
  .pcard .p-body,.contenedor-productos .cardProducto__content{padding-top:6px}
  .tdc-card__identity{gap:3px 5px;min-height:24px}
  .tdc-card .p-brand img,.tdc-card .logo_marca img,.contenedor-productos .tdc-card .cardProducto__content .cardProducto__marca-image{max-width:45px;max-height:18px}
  .tdc-card .p-brand,.tdc-card .tdc-card__brand-name{font-size:10px;letter-spacing:.3px}
  .pcard .p-price-row,.contenedor-productos .cardProducto__pvp-ref{gap:2px}
  .pcard .p-price,.contenedor-productos .cardProducto__price{font-size:15px;letter-spacing:-.4px}
  .pcard .price-old{font-size:9px}
  .pcard .p-name,.contenedor-productos .cardProducto__title{font-size:11px;line-height:15px;min-height:30px;max-height:30px}
  .tdc-card__express{top:1px;right:1px}
}
@media(prefers-reduced-motion:reduce){.tdc-card,.tdc-card *{transition:none!important;animation:none!important}}
