/* ══════════════════════════════════════════════════════════════════
   Tienda de CREW — vidriera, ficha y carrito lateral.

   Mismo lenguaje que las tiendas de clubes (clubes/tienda.php): manda la foto y el
   cromo desaparece. Con la marca de CREW: fondo negro, turquesa para comprar y lima
   para lo que tiene que saltar a la vista (como en la página de inicio).

   Los tokens (--acc, --bg, --txt, --tenue, --linea…) los emite club_estilo_head()
   desde lib/tienda_vidriera.php. Cambiar un color acá no alcanza: va allá.
   ══════════════════════════════════════════════════════════════════ */

:root { --lima: #c8f535; --radio: 14px; --radio-sm: 10px; }

* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--bg); color: var(--txt); min-height: 100vh; -webkit-font-smoothing: antialiased;
       font-family: 'Barlow', system-ui, sans-serif; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
.tv-wrap { max-width: 1440px; margin: 0 auto; padding: 0 64px; }
/* Títulos con la letra de la web (Barlow Condensed, como la home) */
.tv-disp { font-family: 'Barlow Condensed', 'Barlow', sans-serif; font-weight: 800; text-transform: uppercase; letter-spacing: -0.01em; line-height: 0.9; }

/* ── Franja ── */
.tv-anuncio { background: var(--lima); color: #0b0b0b; text-align: center; font-size: 12.5px; font-weight: 700;
              letter-spacing: 0.3px; padding: 9px 16px; line-height: 1.4; }
.tv-anuncio a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* ── Carrito (el header es el de toda la web: css/web.css) ── */
.tv-cart { position: relative; width: 48px; height: 48px; border-radius: 999px; background: #fff; color: #0b0b0b !important;
           display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.tv-cart svg { width: 20px; height: 20px; display: block; }
.tv-cart-n { position: absolute; top: -2px; right: -2px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px;
             background: var(--acc); color: var(--acc-txt); font-size: 12px; font-weight: 700; line-height: 20px; text-align: center; }
.tv-cart:not(.lleno) .tv-cart-n { background: #d9d9d9; color: #0b0b0b; }
@media (max-width: 1040px) { .tv-cart { width: 44px; height: 44px; } }

/* ── Portada / carrusel ── */
.tv-portada { position: relative; overflow: hidden; display: grid; }
.pslide { grid-area: 1 / 1; position: relative; opacity: 0; transition: opacity .7s ease; pointer-events: none; }
.pslide.on { opacity: 1; pointer-events: auto; }
/* La foto va absoluta: si fluyera, una foto más alta que el bloque estiraba la diapositiva
   y el título y el botón (pegados abajo) quedaban en la parte recortada, sin verse. */
.pslide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.pslide::after { content: ''; position: absolute; inset: 0;
                 background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, transparent 40%, rgba(0,0,0,0.66) 100%); }
.portada-txt { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding-bottom: 50px; color: #fff; }
.portada-txt .portada-h { font-family: 'Barlow Condensed', 'Barlow', sans-serif; text-transform: uppercase; font-size: clamp(44px, 6.4vw, 92px);
                         font-weight: 800; letter-spacing: -0.01em; line-height: 0.9; max-width: 14ch; }
.portada-txt p { font-size: 15px; color: rgba(255,255,255,0.84); margin-top: 14px; max-width: 46ch; line-height: 1.6; }
.portada-cta { display: inline-flex; align-items: center; height: 54px; margin-top: 24px; background: var(--acc); color: var(--acc-txt); border-radius: 999px;
               font-size: 17px; font-weight: 700; padding: 0 28px; transition: transform .15s; }
.portada-cta:hover { transform: translateY(-2px); }
.p-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; background: rgba(0,0,0,0.34);
         border: 1px solid rgba(255,255,255,0.28); color: #fff; width: 44px; height: 44px; cursor: pointer;
         font-size: 18px; line-height: 1; display: flex; align-items: center; justify-content: center; border-radius: 50%; padding: 0; }
.p-nav:hover { background: rgba(0,0,0,0.6); }
.p-nav.prev { left: 22px; } .p-nav.next { right: 22px; }
.p-dots { position: absolute; bottom: 20px; left: 0; right: 0; z-index: 3; display: flex; gap: 8px; justify-content: center; }
.p-dot { width: 26px; height: 4px; border-radius: 4px; background: rgba(255,255,255,0.34); border: none; cursor: pointer; padding: 0; }
.p-dot.on { background: #fff; }

/* Sin portada: el título enorme, como el resto de la web */
.tv-cabecera { padding-top: 72px; display: flex; flex-direction: column; gap: 16px; }
.tv-cabecera h1 { font-family: 'Barlow Condensed', 'Barlow', sans-serif; font-weight: 800; text-transform: uppercase;
                  letter-spacing: -0.01em; line-height: 0.9; font-size: clamp(76px, 9vw, 128px); color: var(--txt); }
.tv-cabecera p { font-size: 19px; color: #a8a8a8; max-width: 52ch; line-height: 1.5; }

/* ── Filtros ── */
.tv-filtros { position: sticky; top: 88px; z-index: 40; background: var(--bg); margin-top: 40px; }
.tv-filtros-in { display: flex; align-items: center; gap: 16px; padding-top: 10px; padding-bottom: 10px; }
.tv-cats { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.tv-cats::-webkit-scrollbar { display: none; }
.cat { flex-shrink: 0; height: 46px; padding: 0 22px; border-radius: 999px; border: 1px solid #2c2c2c; background: transparent;
       color: #d6d6d6; font: 500 16px 'Barlow', sans-serif; cursor: pointer; white-space: nowrap; display: inline-flex; align-items: center;
       transition: border-color .15s; }
.cat:hover { border-color: #666; }
.cat.on { background: #fff; border-color: #fff; color: #0b0b0b; font-weight: 600; }
.tv-buscar { margin-left: auto; flex-shrink: 0; }
.tv-buscar input { width: 340px; height: 50px; padding: 0 20px 0 46px; font: 400 16px 'Barlow', sans-serif; color: var(--txt);
                   background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%238a8a8a' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-4-4'/%3E%3C/svg%3E") no-repeat 18px center;
                   border: 1px solid #2c2c2c; border-radius: 999px; }
.tv-buscar input::placeholder { color: #8a8a8a; }
.tv-buscar input:focus { outline: none; border-color: var(--acc); }

/* ── Grilla de productos ── */
.tv-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 24px; padding-top: 32px; }
.prod { display: flex; flex-direction: column; gap: 6px; }
.prod-foto { position: relative; aspect-ratio: 3/4; background: #e8e8e8; overflow: hidden; margin-bottom: 10px; border-radius: 24px; }
.prod-foto img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s cubic-bezier(.2,.7,.3,1); }
@media (hover: hover) { .prod:hover .prod-foto img { transform: scale(1.04); } }
.prod-foto .nada { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
                   color: #8a8a8a; font-size: 13px; letter-spacing: 0.06em; background: #161616; }
.tag { position: absolute; top: 14px; left: 14px; z-index: 2; font-size: 13px; font-weight: 700;
       padding: 6px 12px; border-radius: 999px; background: var(--lima); color: #0b0b0b; }
.tag.neutro { background: #0b0b0b; color: #fff; }
.tag.sin { background: rgba(255,255,255,0.94); color: #000; }
.tag-quedan { position: absolute; top: 14px; right: 14px; z-index: 2; font-size: 13px; font-weight: 600;
              padding: 6px 12px; border-radius: 999px; background: #0b0b0b; color: #fff; }
.prod-cat { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #6f6f6f; }
.prod-nom { font-size: 18px; font-weight: 600; line-height: 1.3; }
.prod-precio { font-size: 21px; font-weight: 700; display: flex; align-items: baseline; gap: 10px; color: var(--txt); flex-direction: row-reverse; justify-content: flex-end; }
.prod-antes { font-weight: 400; color: #7a7a7a; text-decoration: line-through; font-size: 15px; }
.prod-transfer { font-size: 14px; color: var(--acc); display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.prod-transfer b { color: var(--acc); font-weight: 600; }
.prod-transfer-off { font-size: 11px; font-weight: 700; color: #0b0b0b; background: var(--lima); border-radius: 999px; padding: 2px 8px; }
.prod-nota { font-size: 13px; color: var(--tenue); }

/* ── ¿Lo querés con tu escudo? ── */
.tv-escudo { margin-top: 96px; height: 340px; border-radius: 32px; overflow: hidden; background: var(--acc); color: #0b0b0b;
             display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tv-escudo-txt { padding: 56px 64px; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.tv-escudo-txt .tv-disp { font-size: 72px; }
.tv-escudo-txt a { align-self: flex-start; height: 56px; padding: 0 28px; border-radius: 999px; background: #0b0b0b; color: #fff;
                   display: inline-flex; align-items: center; font-weight: 700; font-size: 17px; }
.tv-escudo img { width: 100%; height: 340px; object-fit: cover; object-position: center 40%; }
/* El pie de la web no trae margen: en la tienda se lo damos acá */
.footer { margin-top: 110px; }

.tv-vacio { padding: 90px 0; text-align: center; }
.tv-vacio h2 { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.tv-vacio p { color: var(--tenue); font-size: 14.5px; margin: 12px auto 0; max-width: 40ch; line-height: 1.6; }
.tv-avisos { margin-top: 56px; padding: 22px 0; border-top: 1px solid var(--linea); border-bottom: 1px solid var(--linea);
             font-size: 13.5px; color: var(--tenue); text-align: center; line-height: 1.6; }

/* ── Botón flotante de WhatsApp (el pie es el de toda la web) ── */
.tv-wa { position: fixed; right: 18px; bottom: 18px; z-index: 60; background: #25d366; color: #0b1f13; font-size: 13px; font-weight: 800;
         letter-spacing: 0.3px; padding: 13px 18px; border-radius: 40px; box-shadow: 0 6px 22px rgba(0,0,0,0.4); transition: transform .15s; }
.tv-wa:hover { transform: translateY(-2px); }

/* ══════════════════ Ficha de producto ══════════════════ */
.volver { padding-top: 40px; font-size: 14px; color: #8a8a8a; }
.volver a:hover { color: var(--txt); }
.volver .sep { margin: 0 8px; opacity: .5; }
.layout { display: grid; grid-template-columns: minmax(0, 736px) minmax(0, 1fr); gap: 72px; padding-top: 24px; align-items: start; }

.gal { position: sticky; top: 112px; display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 20px; align-items: start; }
.gal:not(:has(.gal-tira)) { grid-template-columns: minmax(0, 1fr); }
.gal-main { grid-column: -2; grid-row: 1; aspect-ratio: 4/5; background: #e8e8e8; overflow: hidden; position: relative; border-radius: 28px;
            display: flex; align-items: center; justify-content: center; touch-action: pan-y; }
.gal-main img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; display: block; }
.gal-main iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.gal-main .nada { color: var(--muy-tenue); font-size: 12.5px; letter-spacing: 0.06em; }
.gal-cont { position: absolute; right: 14px; bottom: 14px; background: rgba(0,0,0,0.6); color: #fff; font-size: 11px;
            font-weight: 700; padding: 5px 10px; border-radius: 999px; pointer-events: none; }
.gal-tira { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; gap: 12px; overflow-y: auto; scrollbar-width: none; max-height: 780px; }
.gal-tira::-webkit-scrollbar { display: none; }
.th { position: relative; flex: 0 0 120px; height: 120px; background: #e8e8e8; overflow: hidden; border-radius: 14px;
      cursor: pointer; border: 0; padding: 0; width: 96px; opacity: 0.55; transition: opacity .15s; }
.th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.th:hover { opacity: 0.85; }
.th.on { opacity: 1; box-shadow: inset 0 0 0 2px var(--acc); }
.th-vid { display: flex; align-items: center; justify-content: center; font-size: 9.5px; font-weight: 800; letter-spacing: 0.12em; color: var(--txt); }
.th-vid span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.45); color: #fff; }

.lb { position: fixed; inset: 0; background: rgba(0,0,0,0.94); z-index: 100; padding: 30px; display: none;
      align-items: center; justify-content: center; cursor: zoom-out; }
.lb.open { display: flex; }
.lb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lb .cerrar { position: absolute; top: 20px; right: 26px; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.7); }

.info .eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--acc); }
.info .eyebrow .sep { opacity: .45; margin: 0 7px; }
.info h1 { font-family: 'Barlow Condensed', 'Barlow', sans-serif; font-weight: 800; text-transform: uppercase; letter-spacing: -0.01em;
           line-height: 0.9; font-size: clamp(50px, 5.8vw, 84px); margin: 14px 0 28px; }
.precio { font-size: 40px; font-weight: 700; display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; color: var(--txt); }
.precio .antes { order: 2; font-size: 20px; font-weight: 400; color: #7a7a7a; text-decoration: line-through; }
.precio .off { order: 3; font-size: 13px; font-weight: 700; color: #0b0b0b; background: var(--lima); border-radius: 999px; padding: 5px 11px; align-self: center; }
.transfer { display: inline-block; margin-top: 12px; padding: 12px 16px; border-radius: 14px; background: #0f2a27; color: var(--acc); font-size: 16px; font-weight: 600; }
.transfer b { color: var(--acc); font-weight: 700; }
.quedan { font-size: 16px; color: #bdbdbd; margin-top: 20px; display: flex; align-items: center; gap: 10px; }
.quedan::before { content: ''; width: 8px; height: 8px; border-radius: 999px; background: var(--lima); }
.desc { font-size: 16px; color: #bdbdbd; line-height: 1.65; white-space: pre-line; margin-top: 20px; }

.grupo { margin-top: 28px; }
.grupo-lbl { font-size: 11px; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: var(--muy-tenue);
             margin-bottom: 12px; display: flex; align-items: baseline; justify-content: space-between; gap: 14px; }
.grupo-lbl b { color: var(--txt); letter-spacing: 0.04em; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt-btn { min-width: 56px; height: 48px; padding: 0 18px; border: 1px solid #2c2c2c; background: none; color: var(--txt); border-radius: 999px;
           font-size: 15px; font-weight: 600; cursor: pointer; transition: border-color .14s, background .14s; }
.opt-btn:hover:not(:disabled) { border-color: var(--tenue); }
.opt-btn.activo { border-color: var(--txt); background: var(--txt); color: var(--bg); }
.opt-btn.sin-stock { opacity: 0.28; text-decoration: line-through; cursor: not-allowed; }
.opt-btn .sw { display: inline-block; width: 11px; height: 11px; border-radius: 50%; margin-right: 7px; vertical-align: -1px; border: 1px solid var(--linea-2); }

.guia-link { background: none; border: none; padding: 0; cursor: pointer; flex-shrink: 0; font-size: 11px; font-weight: 700;
             letter-spacing: 0.09em; text-transform: uppercase; color: var(--acc); text-decoration: underline; text-underline-offset: 3px; }
.guia-ov { position: fixed; inset: 0; background: rgba(0,0,0,0.72); z-index: 110; display: none; align-items: center; justify-content: center; padding: 22px; }
.guia-ov.open { display: flex; }
.guia-box { background: var(--bg); border: 1px solid var(--linea-2); width: 100%; max-width: 560px; max-height: 86vh; display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; }
.guia-hd { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 24px 26px 18px; border-bottom: 1px solid var(--linea); }
.guia-t { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; margin-top: 8px; }
.guia-x { background: none; border: none; padding: 0; cursor: pointer; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--tenue); }
.guia-x:hover { color: var(--txt); }
.guia-scroll { overflow: auto; padding: 0 26px; }
.guia-tabla { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.guia-tabla th { text-align: left; font-size: 10.5px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muy-tenue); padding: 16px 10px 10px; white-space: nowrap; }
.guia-tabla td { padding: 11px 10px; border-top: 1px solid var(--linea); font-variant-numeric: tabular-nums; }
.guia-tabla th:first-child, .guia-tabla td:first-child { padding-left: 0; }
.guia-talle { font-weight: 700; }
.guia-pie { padding: 18px 26px 24px; font-size: 12.5px; color: var(--tenue); line-height: 1.6; }

.cant-ctrl { display: inline-flex; align-items: center; flex-shrink: 0; height: 60px; border: 1px solid #2c2c2c; border-radius: 999px; overflow: hidden; }
.cant-ctrl button { width: 56px; height: 58px; background: none; color: var(--txt); border: none; font: 500 22px 'Barlow', sans-serif; cursor: pointer; }
.cant-ctrl button:hover { background: #161616; }
.cant-num { min-width: 28px; text-align: center; font-weight: 700; font-size: 18px; }
/* Cantidad y botón en la misma fila */
.comprar { display: flex; gap: 12px; margin-top: 32px; }
.comprar .btn-add { margin-top: 0; }

.pers { margin-top: 28px; padding: 20px; border: 1px solid var(--linea-2); border-radius: var(--radio); }
.pers-t { font-size: 11px; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; color: var(--acc); }
.pers-s { font-size: 13px; color: var(--tenue); margin-top: 6px; line-height: 1.55; }
.pers-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.pers-campo label { display: block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muy-tenue); margin-bottom: 7px; }
.pers-campo input { width: 100%; padding: 12px 13px; border: 1px solid var(--linea-2); background: var(--lienzo); color: var(--txt);
                    font-size: 14px; font-family: inherit; border-radius: var(--radio-sm); }
.pers-campo input:focus { outline: none; border-color: var(--acc); }
.pers-campo.ancho { grid-column: 1 / -1; }

.btn-add { width: 100%; margin-top: 32px; height: 60px; padding: 0 20px; border: none; cursor: pointer; border-radius: 999px;
           background: var(--acc); color: var(--acc-txt); font: 700 18px 'Barlow', sans-serif; transition: filter .15s; }
.btn-add:hover:not(:disabled) { filter: brightness(1.08); }
.btn-add:disabled { opacity: 0.4; cursor: not-allowed; }
.add-msg { margin-top: 14px; font-size: 13px; font-weight: 600; min-height: 18px; }
.garantias { margin-top: 24px; border-top: 1px solid #222; }
.garantias div { padding: 18px 0; border-bottom: 1px solid #222; font-size: 15px; color: #bdbdbd; line-height: 1.55; }
.garantias a { color: var(--acc); font-weight: 600; }

/* ── Seguí mirando ── */
.mas-prod { padding-top: 120px; display: flex; flex-direction: column; gap: 32px; }
.mas-prod h2 { font-size: 56px; }
.mas-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.mas-card { display: flex; flex-direction: column; gap: 14px; }
.mas-foto { aspect-ratio: 1; border-radius: 22px; overflow: hidden; background: #e8e8e8; }
.mas-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mas-fila { display: flex; justify-content: space-between; gap: 10px; font-size: 17px; }
.mas-fila span:first-child { font-weight: 600; }
.mas-fila span:last-child { font-weight: 700; white-space: nowrap; }
.a-medida-prod { border-radius: 22px; border: 1.5px dashed #333; padding: 44px 48px; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.a-medida-prod .tv-disp { font-size: 60px; }
.a-medida-prod .tv-disp span { color: var(--acc); }
.a-medida-prod a { flex-shrink: 0; height: 54px; padding: 0 26px; border-radius: 999px; background: #fff; color: #0b0b0b; display: inline-flex; align-items: center; font-weight: 700; font-size: 16px; }
.garantias b { color: var(--txt); font-weight: 700; }

/* ══════════════════ Carrito lateral ══════════════════ */
.dr-bg { position: fixed; inset: 0; z-index: 90; background: rgba(0,0,0,0.6); opacity: 0; visibility: hidden; transition: opacity .22s, visibility .22s; }
.dr-bg.open { opacity: 1; visibility: visible; }
.dr { position: fixed; top: 0; right: 0; bottom: 0; z-index: 91; width: 420px; max-width: 92vw; background: var(--bg); color: var(--txt);
      border-left: 1px solid var(--linea); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .26s cubic-bezier(.4,0,.2,1); }
.dr.open { transform: translateX(0); }
.dr-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--linea); }
.dr-tit { font-size: 15px; font-weight: 800; }
.dr-x { background: none; border: none; padding: 4px; cursor: pointer; color: var(--txt); line-height: 0; }
.dr-x svg { width: 20px; height: 20px; display: block; }
.dr-body { flex: 1; overflow-y: auto; padding: 6px 22px; }
.dr-vacio { padding: 56px 0; text-align: center; color: var(--txt-2); font-size: 14px; }
.dr-item { display: grid; grid-template-columns: 64px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--linea); }
.dr-img { width: 64px; height: 80px; border-radius: 10px; overflow: hidden; background: var(--lienzo); }
.dr-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dr-fila { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.dr-nom { font-size: 13.5px; font-weight: 700; line-height: 1.35; }
.dr-var { font-size: 12px; color: var(--txt-2); margin-top: 3px; }
.dr-del { background: none; border: none; padding: 0; cursor: pointer; font-size: 12px; color: var(--txt-2); text-decoration: underline; flex: none; }
.dr-del:hover { color: var(--txt); }
.dr-pie { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; gap: 10px; }
.dr-cant { display: inline-flex; align-items: center; border: 1px solid var(--linea-2); border-radius: 9px; }
.dr-cant button { background: none; border: none; width: 32px; height: 32px; padding: 0; cursor: pointer; color: var(--txt); font-size: 15px; }
.dr-cant button:disabled { opacity: .35; cursor: default; }
.dr-cant span { min-width: 26px; text-align: center; font-size: 13px; font-weight: 700; }
.dr-precio { font-size: 14px; font-weight: 800; }
.dr-precio s { font-weight: 400; color: var(--muy-tenue); margin-right: 6px; font-size: 12px; }
.dr-foot { padding: 20px 22px; border-top: 1px solid var(--linea); }
.dr-tot { display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--txt-2); margin-bottom: 8px; }
.dr-tot.grande { font-size: 18px; font-weight: 800; color: var(--txt); margin-bottom: 6px; }
.dr-transf { font-size: 12.5px; color: var(--tenue); margin-bottom: 16px; }
.dr-transf b { color: var(--txt); }
.dr-cta { display: block; width: 100%; padding: 16px; border: none; border-radius: 12px; background: var(--acc); color: var(--acc-txt);
          text-align: center; cursor: pointer; font-size: 14px; font-weight: 800; letter-spacing: 0.04em; }
.dr-cta:hover { filter: brightness(1.08); }
.dr-seguir { display: block; width: 100%; margin-top: 12px; padding: 4px; background: none; border: none; cursor: pointer; color: var(--txt-2); font-size: 13px; }
.dr-seguir:hover { color: var(--txt); text-decoration: underline; }
.dr-err { font-size: 12.5px; color: var(--alerta); margin-bottom: 10px; display: none; }

@media (max-width: 1240px) {
  .tv-wrap { padding: 0 40px; }
  .tv-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .layout { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; }
  .mas-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .a-medida-prod { grid-column: 1 / -1 !important; }
  .tv-escudo-txt .tv-disp { font-size: 56px; }
}
@media (max-width: 1040px) {
  .tv-filtros { top: 64px; }
  .layout { grid-template-columns: 1fr; gap: 30px; }
  .gal { position: static; }
  .tv-escudo { grid-template-columns: 1fr; height: auto; }
  .tv-escudo img { min-height: 0; height: 260px; order: -1; }
  .a-medida-prod { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 760px) {
  .tv-wrap { padding: 0 20px; }
  .tv-portada .pslide { max-height: 70vh; }
  .tv-cabecera { padding-top: 32px; gap: 10px; }
  .tv-cabecera h1 { font-size: 76px; }
  .tv-cabecera p { font-size: 16px; }
  .tv-filtros { margin-top: 24px; }
  .tv-filtros-in { flex-direction: column-reverse; align-items: stretch; gap: 12px; }
  .tv-buscar { margin-left: 0; }
  .tv-buscar input { width: 100%; height: 46px; }
  .cat { height: 42px; padding: 0 18px; font-size: 15px; }
  .tv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; padding-top: 20px; }
  .prod-foto { border-radius: 18px; margin-bottom: 6px; }
  .tag, .tag-quedan { top: 10px; font-size: 11px; padding: 4px 9px; }
  .tag { left: 10px; } .tag-quedan { right: 10px; }
  .prod-cat { font-size: 11px; }
  .prod-nom { font-size: 15px; }
  .prod-precio { font-size: 17px; gap: 8px; flex-wrap: wrap; }
  .prod-antes { font-size: 13px; }
  .prod-transfer { font-size: 12px; }
  .tv-escudo { margin-top: 56px; border-radius: 24px; }
  .footer { margin-top: 64px; }
  .tv-escudo img { height: 200px; }
  .tv-escudo-txt { padding: 24px 22px; gap: 18px; }
  .tv-escudo-txt .tv-disp { font-size: 42px; }
  .tv-escudo-txt a { align-self: stretch; justify-content: center; height: 52px; font-size: 16px; }
  .volver { padding-top: 20px; font-size: 13px; }
  .gal { grid-template-columns: 1fr; gap: 10px; }
  .gal-main { grid-column: 1; border-radius: 22px; }
  .gal-tira { grid-row: 2; flex-direction: row; overflow-x: auto; overflow-y: visible; max-height: none; }
  .th { flex: 0 0 64px; width: 64px; height: 80px; border-radius: 10px; }
  .info h1 { font-size: 50px; margin: 10px 0 20px; }
  .precio { font-size: 32px; }
  .precio .antes { font-size: 17px; }
  .transfer { font-size: 14px; }
  .comprar { margin-top: 24px; }
  .cant-ctrl { height: 56px; }
  .cant-ctrl button { width: 48px; height: 54px; }
  .btn-add { height: 56px; font-size: 17px; }
  .pers-grid { grid-template-columns: 1fr; }
  .p-nav { display: none; }
  .mas-prod { padding-top: 56px; gap: 20px; }
  .mas-prod h2 { font-size: 40px; }
  .mas-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .mas-foto { border-radius: 18px; }
  .mas-fila { flex-direction: column; gap: 2px; font-size: 15px; }
  .a-medida-prod { grid-column: 1 / -1 !important; padding: 22px; border-radius: 18px; gap: 14px; }
  .a-medida-prod .tv-disp { font-size: 30px; }
  .a-medida-prod a { height: 46px; padding: 0 20px; font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
