/* ===== Shell compartido (header + footer): Mi cuenta, Mi carrito, categorías, logo blanco =====
   Incluido por index, comparador, comprar y que-es-reacondicionado. Solo front-end (prototipo). */

/* Íconos del header: ahora son botones */
button.icon-button{appearance:none;-webkit-appearance:none;background:transparent;border:0;padding:0;margin:0;font:inherit;color:var(--ink,#161632);cursor:pointer;display:grid;place-items:center;position:relative;border-radius:10px}
button.icon-button svg{stroke:currentColor;fill:none;stroke-width:1.8}
button.icon-button:hover,button.icon-button[aria-expanded="true"]{color:var(--orange,#6600ff)}
button.icon-button:focus-visible{outline:3px solid var(--orange,#6600ff);outline-offset:2px}
.icon-button .sh-dot{position:absolute;right:2px;top:5px;width:8px;height:8px;border-radius:50%;background:var(--green,#33c188);box-shadow:0 0 0 2px var(--cream,#fbfbff)}
.cart-count.sh-bump{animation:shBump .45s cubic-bezier(.3,1.6,.5,1)}
@keyframes shBump{0%{transform:scale(1)}40%{transform:scale(1.45)}100%{transform:scale(1)}}
.site-header .actions{position:relative}

/* Categoría activa (barra de categorías) */
.categorybar a[aria-current="page"]{color:var(--orange,#6600ff);position:relative}
.categorybar a[aria-current="page"]:after{content:'';position:absolute;left:0;right:0;bottom:-8px;height:2.5px;border-radius:2px;background:var(--orange,#6600ff)}

/* Footer: logo blanco real (PNG con alfa), sin filtros */
footer .footer-brand img{filter:none!important;width:96px!important;height:auto}
/* El PNG blanco no trae margen propio: en móvil, aire entre el logo y la primera columna */
@media(max-width:900px){footer .footer-brand{margin-bottom:14px}}

/* ---------- Mi cuenta: menú ---------- */
.sh-menu{position:absolute;top:calc(100% + 10px);right:0;z-index:60;width:304px;background:#fff;border:1px solid var(--line,#dedeea);border-radius:16px;box-shadow:0 22px 48px rgba(22,22,50,.16);padding:10px;font-family:Manrope,Arial,sans-serif;color:var(--ink,#161632);animation:shPop .16s ease-out}
.sh-menu[hidden]{display:none}
@keyframes shPop{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
.sh-menu-head{padding:8px 10px 12px;border-bottom:1px solid var(--line,#dedeea);margin-bottom:6px}
.sh-menu-head b{display:block;font-size:15px;font-weight:800}
.sh-menu-head small{display:block;font-size:12.5px;color:var(--muted,#66667b);margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sh-menu-cta{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}
.sh-menu-head.sh-guest{padding:4px;border-bottom:0;margin:0}.sh-guest .sh-menu-cta{margin-top:0} /* Kar 17 nov: sin sesión solo los dos botones */
.sh-btn{appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:11px;padding:11px 12px;font:800 13.5px Manrope,Arial,sans-serif;cursor:pointer;border:1.5px solid var(--orange,#6600ff);background:var(--orange,#6600ff);color:#fff;text-decoration:none;transition:background .2s,color .2s,border-color .2s,box-shadow .2s}
.sh-btn:hover{box-shadow:0 10px 22px rgba(102,0,255,.28)}
.sh-btn.ghost{background:#fff;color:var(--ink,#161632);border-color:var(--line,#dedeea)}
.sh-btn.ghost:hover{border-color:var(--ink,#161632);box-shadow:none}
.sh-btn.block{width:100%;padding:14px 16px;font-size:15px}
.sh-btn:focus-visible{outline:3px solid var(--orange,#6600ff);outline-offset:2px}
.sh-item{appearance:none;width:100%;display:flex;align-items:center;gap:12px;padding:11px 10px;border:0;background:transparent;border-radius:10px;font:700 14px Manrope,Arial,sans-serif;color:var(--ink,#161632);cursor:pointer;text-align:left;text-decoration:none}
.sh-item:hover,.sh-item:focus-visible{background:var(--soft,#f3f1ff);outline:none}
.sh-item .sh-ic{width:34px;height:34px;flex:none;border-radius:10px;background:#efe9ff;color:var(--orange,#6600ff);display:grid;place-items:center}
.sh-item .sh-ic svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.sh-item span{display:flex;flex-direction:column;min-width:0}
.sh-item small{font-weight:500;font-size:12px;color:var(--muted,#66667b)}
.sh-menu-foot{border-top:1px solid var(--line,#dedeea);margin-top:6px;padding:10px 10px 4px;font-size:11.5px;color:var(--muted,#66667b);line-height:1.45}

/* ---------- Diálogos (cuenta, pedidos, Purple Protection) ---------- */
.sh-dlg{border:0;padding:0;border-radius:22px;width:min(440px,calc(100vw - 32px));max-height:calc(100dvh - 32px);box-shadow:0 30px 80px rgba(22,22,50,.3);color:var(--ink,#161632);font-family:Manrope,Arial,sans-serif;background:#fff}
.sh-dlg::backdrop{background:rgba(22,22,50,.45);backdrop-filter:blur(3px)}
.sh-dlg-in{padding:28px 28px 24px;position:relative}
.sh-x{appearance:none;position:absolute;top:14px;right:14px;width:38px;height:38px;border-radius:50%;border:0;background:var(--soft,#f3f1ff);color:var(--ink,#161632);cursor:pointer;display:grid;place-items:center}
.sh-x svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.sh-x:hover{background:#e7e1ff}
.sh-dlg .sh-mark{width:44px;height:44px;border-radius:12px;display:block;margin-bottom:16px}
.sh-dlg h2{font-size:24px;line-height:1.15;letter-spacing:-.03em;margin:0 40px 6px 0;font-weight:800}
.sh-dlg h2 i{font-family:'Playfair Display',Georgia,serif;font-style:italic;font-weight:600}
.sh-dlg p.sh-lead{margin:0 0 20px;color:var(--body,#4a4a63);font-size:14.5px;line-height:1.5}
.sh-google{appearance:none;width:100%;display:flex;align-items:center;justify-content:center;gap:10px;padding:13px 16px;border-radius:12px;border:1.5px solid var(--line,#dedeea);background:#fff;font:700 15px Manrope,Arial,sans-serif;color:var(--ink,#161632);cursor:pointer;transition:border-color .2s}
.sh-google:hover{border-color:var(--ink,#161632)}
.sh-google svg{width:20px;height:20px}
.sh-or{display:flex;align-items:center;gap:12px;margin:18px 0;color:var(--muted,#66667b);font-size:12.5px;font-weight:700}
.sh-or:before,.sh-or:after{content:'';flex:1;height:1px;background:var(--line,#dedeea)}
.sh-field{display:block;margin-bottom:14px}
.sh-field label{display:block;font-size:13px;font-weight:800;margin-bottom:6px}
.sh-field input{width:100%;box-sizing:border-box;border:1.5px solid var(--line,#dedeea);border-radius:12px;padding:13px 14px;font:500 15px Manrope,Arial,sans-serif;color:var(--ink,#161632);background:#fff}
.sh-field input:focus{outline:none;border-color:var(--orange,#6600ff);box-shadow:0 0 0 4px rgba(102,0,255,.12)}
.sh-field input[aria-invalid="true"]{border-color:#d93a3a}
.sh-err{display:block;min-height:16px;margin-top:6px;font-size:12.5px;font-weight:700;color:#c62828}
.sh-switch{margin:16px 0 0;font-size:13.5px;color:var(--body,#4a4a63);text-align:center}
.sh-link{appearance:none;border:0;background:none;padding:0;font:800 13.5px Manrope,Arial,sans-serif;color:var(--orange,#6600ff);cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.sh-proto{display:flex;gap:10px;align-items:flex-start;margin-top:18px;padding:12px 14px;border-radius:12px;background:#f6f5fb;color:var(--body,#4a4a63);font-size:12.5px;line-height:1.45}
.sh-proto svg{width:16px;height:16px;flex:none;margin-top:1px;fill:none;stroke:var(--orange,#6600ff);stroke-width:2;stroke-linecap:round}
.sh-note{margin:12px 0 0;padding:12px 14px;border-radius:12px;background:#efe9ff;color:#2d1670;font-size:13px;line-height:1.45;font-weight:600}
.sh-note[hidden]{display:none}
.sh-ok{display:flex;gap:12px;align-items:center;padding:14px;border-radius:14px;background:#ebfbf3;color:#0b3d27;font-size:14px;font-weight:700;margin-bottom:16px}
.sh-ok svg{width:22px;height:22px;flex:none;fill:none;stroke:#0f8a57;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.sh-order{display:flex;gap:14px;align-items:center;padding:14px;border:1px solid var(--line,#dedeea);border-radius:14px;margin-bottom:12px}
.sh-order img{width:54px;height:54px;object-fit:contain;flex:none}
.sh-order b{display:block;font-size:15px}
.sh-order small{display:block;font-size:12.5px;color:var(--muted,#66667b);margin-top:2px}
.sh-pp{display:grid;gap:10px;margin:0 0 6px;padding:0;list-style:none}
.sh-pp li{display:flex;gap:10px;align-items:flex-start;font-size:14px;line-height:1.45;color:var(--body,#4a4a63)}
.sh-pp li svg{width:18px;height:18px;flex:none;margin-top:1px;fill:none;stroke:var(--orange,#6600ff);stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.sh-pp b{color:var(--ink,#161632)}

/* ---------- Mi carrito: panel lateral ---------- */
.sh-scrim{position:fixed;inset:0;z-index:90;background:rgba(22,22,50,.42);backdrop-filter:blur(2px);opacity:0;transition:opacity .25s}
.sh-scrim.on{opacity:1}
.sh-scrim[hidden]{display:none}
.sh-cart{position:fixed;top:0;right:0;bottom:0;z-index:91;width:min(420px,100vw);background:#fff;display:flex;flex-direction:column;box-shadow:-24px 0 60px rgba(22,22,50,.18);transform:translateX(105%);transition:transform .3s cubic-bezier(.2,.8,.2,1);font-family:Manrope,Arial,sans-serif;color:var(--ink,#161632)}
.sh-cart.on{transform:none}
.sh-cart[hidden]{display:none}
.sh-cart-h{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px 22px 16px;border-bottom:1px solid var(--line,#dedeea)}
.sh-cart-h h2{margin:0;font-size:21px;font-weight:800;letter-spacing:-.02em}
.sh-cart-h h2 small{font-size:13px;font-weight:700;color:var(--muted,#66667b);margin-left:6px}
.sh-cart-h .sh-x{position:static}
.sh-cart-b{flex:1;overflow-y:auto;padding:14px 22px}
.sh-line{display:grid;grid-template-columns:76px 1fr;gap:14px;padding:14px 0;border-bottom:1px solid var(--line,#dedeea)}
.sh-line:last-child{border-bottom:0}
.sh-line-fig{width:76px;height:86px;border-radius:12px;background:var(--sand,#eeeff8);display:grid;place-items:center;overflow:hidden}
.sh-line-fig img{max-width:80%;max-height:80%;object-fit:contain}
.sh-line-b{min-width:0;display:flex;flex-direction:column;gap:4px}
.sh-line-b b{font-size:15.5px;line-height:1.25}
.sh-line-meta{display:flex;flex-wrap:wrap;gap:5px 6px;align-items:center;font-size:12.5px;color:var(--muted,#66667b);font-weight:600}
.sh-tag{display:inline-flex;align-items:center;gap:4px;padding:3px 8px;border-radius:999px;font-size:11.5px;font-weight:800}
.sh-tag.ex{background:#efe9ff;color:#4a00b8}
.sh-tag.vg{background:#e3f0ff;color:#0b4a80}
.sh-tag svg{width:12px;height:12px}
.sh-line-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:6px}
.sh-line-row strong{font-size:17px;font-weight:800}
.sh-line-acts{display:flex;gap:14px;align-items:center}
.sh-line-acts a{font-size:13px;font-weight:800;color:var(--orange,#6600ff)}
.sh-rm{appearance:none;border:0;background:none;padding:4px 0;font:700 13px Manrope,Arial,sans-serif;color:var(--muted,#66667b);cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.sh-rm:hover{color:#c62828}
/* Cantidad por equipo (20 nov): − n + compacto, tope = stock disponible */
.sh-qty-row{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin-top:4px}
.sh-qty{display:inline-flex;align-items:center;border:1.5px solid var(--line,#dedeea);border-radius:10px;background:#fff;overflow:hidden}
.sh-qty-b{appearance:none;-webkit-appearance:none;border:0;background:none;width:34px;height:32px;display:grid;place-items:center;font:700 18px/1 Manrope,Arial,sans-serif;color:var(--ink,#161632);cursor:pointer;padding:0}
.sh-qty-b:hover:not(:disabled){background:var(--sand,#eeeff8);color:var(--orange,#6600ff)}
.sh-qty-b:disabled{color:#b9b9c8;cursor:not-allowed}
.sh-qty-b:focus-visible{outline:3px solid var(--orange,#6600ff);outline-offset:-3px;border-radius:8px}
.sh-qty-n{min-width:30px;text-align:center;font:800 14.5px Manrope,Arial,sans-serif;font-variant-numeric:tabular-nums;color:var(--ink,#161632)}
.sh-each{font-size:12px;font-weight:600;color:var(--muted,#66667b)}
.sh-qty-max{font-size:12px;font-weight:700;color:#8a5a00}
.sh-sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}
.sh-empty{display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;padding:48px 10px}
.sh-empty .sh-ic{width:64px;height:64px;border-radius:50%;background:var(--soft,#f3f1ff);color:var(--orange,#6600ff);display:grid;place-items:center}
.sh-empty .sh-ic svg{width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:1.7}
.sh-empty b{font-size:17px}
.sh-empty p{margin:0 0 8px;color:var(--body,#4a4a63);font-size:14px;line-height:1.5}
.sh-cart-f{border-top:1px solid var(--line,#dedeea);padding:16px 22px calc(18px + env(safe-area-inset-bottom,0px));background:#fff}
.sh-sub{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:4px}
.sh-sub span{font-size:14px;font-weight:800}
.sh-sub b{font-size:22px;font-weight:800}
.sh-cart-f p{margin:0 0 14px;font-size:12.5px;color:var(--muted,#66667b);line-height:1.45}
.sh-cart-f p.sh-cart-msg{color:#b42318;font-weight:700;font-size:13px}
.sh-addr{border:0;margin:0 0 14px;padding:0;display:grid;gap:8px;max-height:210px;overflow-y:auto}
.sh-addr legend{padding:0;margin:0 0 8px;font-size:13px;font-weight:800;color:var(--ink,#161632)}
.sh-addr label{display:flex;gap:10px;align-items:flex-start;padding:10px 12px;border:1px solid var(--line,#dedeea);border-radius:12px;cursor:pointer;transition:border-color .15s,background .15s}
.sh-addr label:has(input:checked){border-color:var(--orange,#6600ff);background:#f3f1ff}
.sh-addr input{margin:3px 0 0;accent-color:var(--orange,#6600ff);flex:none}
.sh-pay{max-height:none}
/* Paso de dirección + forma de pago: el equipo siempre se ve; el pie se desplaza y el botón queda fijo abajo */
.sh-cart-b{min-height:132px}
.sh-cart-f{flex:0 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain}
.sh-cart-f #shCheckout{position:sticky;bottom:0;box-shadow:0 -12px 16px 4px #fff}
.sh-addr .sh-pay-logos{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}
.sh-pay-logos img{height:18px;width:auto;display:block}
.sh-addr span{display:grid;gap:2px;min-width:0}
.sh-addr b{font-size:13.5px;line-height:1.35;color:var(--ink,#161632);overflow-wrap:anywhere}
.sh-addr small{font-size:12px;color:var(--muted,#66667b);overflow-wrap:anywhere}
.sh-addr-add{display:inline-block;margin:0 0 14px;padding:0;border:0;background:none;font:inherit;font-size:13px;font-weight:800;color:var(--orange,#6600ff);cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.sh-addr-new{display:grid;gap:6px;margin:0 0 14px;padding:12px;border:1px solid var(--line,#dedeea);border-radius:12px}
.sh-addr-new>b{font-size:13px;font-weight:800;color:var(--ink,#161632);margin-bottom:2px}
.sh-addr-new label{font-size:12px;font-weight:700;color:var(--muted,#66667b);margin-top:4px}
.sh-addr-new input{width:100%;box-sizing:border-box;padding:10px 12px;border:1px solid var(--line,#dedeea);border-radius:10px;font:inherit;font-size:14px;color:var(--ink,#161632);background:#fff}
.sh-addr-new input:focus{outline:2px solid var(--orange,#6600ff);outline-offset:1px;border-color:transparent}
.sh-addr-sugs{display:grid;gap:4px}
.sh-addr-sugs button{text-align:left;padding:9px 12px;border:1px solid var(--line,#dedeea);border-radius:10px;background:#fff;font:inherit;font-size:13px;line-height:1.35;color:var(--ink,#161632);cursor:pointer;overflow-wrap:anywhere}
.sh-addr-sugs button:hover,.sh-addr-sugs button:focus-visible{border-color:var(--orange,#6600ff);background:#f3f1ff}
.sh-addr-sugs p,.sh-addr-new p.sh-cart-msg{margin:2px 0 0}
.sh-addr-acts{display:flex;gap:14px;align-items:center;margin-top:8px}
.sh-addr-acts .sh-addr-add{margin:0}
.sh-dev{display:grid;gap:8px;margin:12px 0;padding:10px 12px;border:1px dashed #b45309;border-radius:12px;background:#fffbeb}
.sh-dev b{font-size:11px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:#92400e}
.sh-dev button{padding:8px 10px;border:1px solid #b45309;border-radius:9px;background:#fff;font:inherit;font-size:12.5px;font-weight:700;color:#92400e;cursor:pointer}
.sh-dev button:hover{background:#fef3c7}
.sh-devp{position:fixed;right:12px;top:132px;z-index:60;width:300px;max-height:calc(100vh - 150px);overflow-y:auto;display:grid;gap:8px;padding:12px;border:1px dashed #b45309;border-radius:14px;background:#fffbeb;box-shadow:0 10px 30px rgba(0,0,0,.14);font-size:12.5px;line-height:1.35;color:#451a03}
.sh-devp.min{width:auto;top:auto;bottom:12px;padding:8px 10px}
.sh-devp button{font:inherit;cursor:pointer}
.sh-devp button:disabled{opacity:.55;cursor:not-allowed}
.sh-devp-h{display:flex;align-items:center;justify-content:space-between;gap:10px}
.sh-devp-h b{font-size:11px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:#92400e}
.sh-devp-h button{width:24px;height:24px;border:1px solid #b45309;border-radius:7px;background:#fff;color:#92400e;font-weight:800;line-height:1}
.sh-devp-t{margin:0;color:#92400e}
.sh-devp-orders{display:flex;flex-wrap:wrap;gap:6px}
.sh-devp-orders button{padding:5px 8px;border:1px solid #d6b98a;border-radius:8px;background:#fff;font-size:12px;font-weight:700;color:#92400e}
.sh-devp-orders button.on{border-color:#b45309;background:#fef3c7}
.sh-devp-steps{list-style:none;margin:0;padding:0;display:grid;gap:5px}
.sh-devp-steps button{width:100%;display:grid;grid-template-columns:22px 1fr auto;gap:8px;align-items:center;text-align:left;padding:7px 8px;border:1px dashed #b45309;border-radius:10px;background:#fff;color:#451a03}
.sh-devp-steps button:hover:not(:disabled){background:#fef3c7}
.sh-devp-steps li.done button{border-style:solid;border-color:#86b99a;background:#f0fdf4}
.sh-devp-steps li.next button{border-style:solid;border-width:2px}
.sh-devp-n{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;font-size:11px;font-weight:800;background:#fde9c2;color:#92400e}
.sh-devp-steps li.done .sh-devp-n{background:#bbf7d0;color:#166534}
.sh-devp-b{display:grid;min-width:0}
.sh-devp-b b{font-size:12.5px;font-weight:700;overflow-wrap:anywhere}
.sh-devp-b small{font-size:11px;color:#92400e}
.sh-devp-steps em{font-style:normal;font-size:10.5px;font-weight:800;padding:2px 6px;border-radius:999px;white-space:nowrap}
.sh-devp-steps em.mail{background:#dbeafe;color:#1e40af}
.sh-devp-steps em.nomail{background:#f1f1f4;color:#66667b}
.sh-devp-msg{margin:0;font-weight:700;color:#92400e}
.sh-devp-acts,.sh-devp-ask span{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.sh-devp-acts button,.sh-devp-ask button{padding:7px 10px;border:1px solid #b45309;border-radius:9px;background:#fff;font-size:12.5px;font-weight:700;color:#92400e}
.sh-devp-acts button.danger,.sh-devp-ask button[data-devyes]{border-color:#b42318;color:#b42318}
.sh-devp .sh-devp-link{border:0;background:none;padding:0;text-decoration:underline;font-weight:700;color:#92400e}
.sh-devp-ask{display:grid;gap:8px;padding:9px;border:1px solid #b42318;border-radius:10px;background:#fff}
.sh-devp-ask p{margin:0}
@media (max-width:1100px){.sh-devp{left:12px;right:12px;top:auto;bottom:12px;width:auto;max-height:55vh}.sh-devp.min{left:auto}}
.cu-chip.off{color:#b42318;background:#fef3f2}
.is-cancelled .tk-list .tk-step{opacity:.5}
.is-cancelled #tkScene{filter:grayscale(1);opacity:.75}
.sh-country{max-width:440px;width:calc(100vw - 32px);border:0;border-radius:18px;padding:24px;color:var(--ink,#161632);box-shadow:0 24px 60px rgba(0,0,0,.25)}
.sh-country::backdrop{background:rgba(22,22,50,.45)}
.sh-country h2{margin:0 0 10px;font-size:19px}
.sh-country p{margin:0 0 10px;font-size:14px;line-height:1.5;color:var(--muted,#66667b)}
.sh-country p b{color:var(--ink,#161632)}
.sh-country-msg{color:#b42318!important;font-weight:700}
.sh-country-acts{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}
.sh-line-gone{margin-top:4px;font-size:12px;font-weight:800;color:#b42318}
.sh-btn:disabled{opacity:.75;cursor:progress}
.sh-toast{position:fixed;left:50%;bottom:24px;z-index:95;transform:translate(-50%,20px);opacity:0;pointer-events:none;background:var(--ink,#161632);color:#fff;padding:12px 18px;border-radius:12px;font:700 14px Manrope,Arial,sans-serif;box-shadow:0 14px 34px rgba(22,22,50,.3);transition:opacity .2s,transform .2s;max-width:calc(100vw - 32px)}
.sh-toast.on{opacity:1;transform:translate(-50%,0)}
body.sh-lock{overflow:hidden}

@media(max-width:620px){
  .sh-menu{position:fixed;top:auto;left:12px;right:12px;width:auto;top:calc(var(--hdr,120px) + 6px)}
  .sh-dlg-in{padding:24px 20px 20px}
  .sh-cart-h,.sh-cart-b,.sh-cart-f{padding-left:16px;padding-right:16px}
}
@media(prefers-reduced-motion:reduce){.sh-cart,.sh-scrim,.sh-toast{transition:none}.sh-menu,.cart-count.sh-bump{animation:none}}

/* ---------- Tienda (comparador.html): chips de categoría ---------- */
.cat-chips{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0 0;font-family:Manrope,Arial,sans-serif}
.cat-chips:empty{display:none}
.cat-chips .chip{display:inline-flex;align-items:center;gap:7px;padding:9px 14px;border-radius:999px;border:1.5px solid var(--line,#dedeea);background:#fff;color:var(--ink,#161632);font-size:14px;font-weight:800;text-decoration:none;transition:border-color .2s,background .2s,color .2s}
.cat-chips .chip:hover{border-color:var(--orange,#6600ff);color:var(--orange,#6600ff)}
.cat-chips .chip[aria-current="page"]{background:var(--orange,#6600ff);border-color:var(--orange,#6600ff);color:#fff}
.cat-chips .chip .n{font:700 11.5px Manrope,Arial,sans-serif;padding:2px 7px;border-radius:999px;background:var(--soft,#f3f1ff);color:var(--orange,#6600ff)}
.cat-chips .chip[aria-current="page"] .n{background:rgba(255,255,255,.2);color:#fff}
.cat-chips .chip .soon{font-size:11px;font-weight:700;color:var(--muted,#66667b)}
.cat-chips .chip[aria-current="page"] .soon{color:#e9dcff}
.picker[hidden]{display:none!important}
@media(max-width:620px){.cat-chips{flex-wrap:nowrap;overflow-x:auto;margin:12px -16px 0;padding:0 16px 4px;scrollbar-width:none}.cat-chips::-webkit-scrollbar{display:none}.cat-chips .chip{flex:none;font-size:13px;padding:8px 12px}}

/* Botón secundario "Agregar al carrito" en comprar.html */
.add-cart{appearance:none;width:100%;display:flex;align-items:center;justify-content:center;gap:10px;margin-top:10px;padding:15px 20px;border-radius:12px;border:1.5px solid var(--ink,#161632);background:#fff;color:var(--ink,#161632);font:800 15px Manrope,Arial,sans-serif;cursor:pointer;transition:background .2s,color .2s}
.add-cart svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8}
.add-cart:hover{background:var(--ink,#161632);color:#fff}
.add-cart.in{border-color:var(--green,#33c188);color:#0b3d27;background:#ebfbf3}
/* Idioma: opción del menú del teléfono (en escritorio se usa el botón ES/EN del encabezado) */
.site-header .navlinks .sh-lang-m{display:none}
@media(max-width:620px){.site-header.nav-open .navlinks .sh-lang-m{display:block;font-weight:700;color:var(--violet,#6600FF)}}
.site-header .language{cursor:pointer}

/* Entrada con código */
.sh-field input.sh-code{font:700 26px Manrope,Arial,sans-serif;letter-spacing:.42em;text-align:center;padding:14px 10px 14px calc(10px + .42em)}
.sh-field input.sh-code::placeholder{color:#c9c7d8;letter-spacing:.3em}
.sh-lead b{color:var(--ink,#161632);overflow-wrap:anywhere}
.sh-resent{color:#0b6b43;font-weight:700}
.sh-democode{font:700 14px Manrope,Arial,sans-serif;letter-spacing:.12em;color:var(--orange,#6600ff);background:#fff;border:1px solid #e0d6ff;border-radius:6px;padding:2px 7px;white-space:nowrap}
.sh-btn.ghost.block{width:100%}

/* Kar 18 nov: header con "Cómo funciona" (4 links). Entre 901 y 1360 px el buscador se achica y los links se juntan para que no haya scroll horizontal */
@media(min-width:901px) and (max-width:1360px){.site-header nav{gap:16px}.site-header .search{min-width:150px}.site-header .navlinks{gap:16px;font-size:13px}}
@media(min-width:901px) and (max-width:1100px){.site-header nav{gap:12px;padding-left:20px;padding-right:20px}.site-header .search{min-width:110px}.site-header .navlinks{gap:12px;font-size:12px}.site-header .brand span{font-size:17px}}
@media(min-width:901px) and (max-width:1000px){.site-header .brand span{display:none}}
@media(max-width:900px){.site-header.nav-open .categorybar{visibility:hidden}} /* el menú móvil no se mezcla con la barra de categorías */
/* Kar 19 nov: los botones ya no llevan flecha; el texto va centrado aunque el botón ocupe todo el ancho */
body .cta,body .cta-ghost,body .hero .cta{justify-content:center;text-align:center}

/* ===== QA 19 nov (Kar) ===== */
/* Buscador: el desplegable crece para que los nombres no se corten en dos líneas ("iPhone 15 / Pro") */
.site-header .search-drop{right:auto;min-width:100%;width:max-content;max-width:min(560px,calc(100vw - 32px))}
.site-header .search-drop .sd-item b{white-space:nowrap}
.site-header .search-drop .sd-btn{white-space:nowrap;flex:none}
/* Mi cuenta: las opciones del menú son botones y van sin íconos */
.sh-menu .sh-item .sh-ic{display:none}
/* Teléfono: el mismo header en todas las páginas (como Tienda y Preguntas frecuentes):
   fila 1 logo + cuenta/carrito/menú, fila 2 buscador; el idioma va dentro del menú. Barra de categorías sin scrollbar. */
@media(max-width:620px){
  .site-header nav{height:auto!important;flex-wrap:wrap!important;padding:12px 16px!important;gap:12px 10px!important}
  .site-header .brand{min-width:0!important;flex:1 1 0!important;overflow:hidden}
  .site-header .brand{gap:6px!important}
  .site-header .brand span{white-space:nowrap;font-size:16px!important}
  .site-header .brand img{width:84px!important}
  .site-header .actions{margin-left:auto!important;gap:8px!important;flex:none!important}
  .site-header .actions .language{display:none!important}
  .site-header .search{display:flex!important;order:3!important;flex:1 0 100%!important;max-width:none!important;min-width:0!important;height:46px!important}
  .site-header .search-drop{width:auto;max-width:none;right:0}
  .site-header .search-drop .sd-item b{white-space:normal}
  .site-header .categorybar{justify-content:space-between!important;gap:14px!important;padding:0 16px!important;overflow-x:auto;scrollbar-width:none;-ms-overflow-style:none;font-size:14px!important}
  .site-header .categorybar::-webkit-scrollbar{display:none}
  .site-header .categorybar a{flex:none;white-space:nowrap}
}

/* ===== checkout.html: Envío y Pago en una sola pantalla (Kar 25 nov) ===== */
.co{max-width:1120px;margin:0 auto;padding:34px 24px 90px;font-family:Manrope,Arial,sans-serif;color:var(--ink,#161632)}
.co-head{margin-bottom:22px}
.co-head h1{margin:6px 0 0;font:800 clamp(28px,3vw,40px)/1.1 Manrope,Arial,sans-serif;letter-spacing:-.035em}
.co-link{appearance:none;border:0;background:none;padding:0;font:800 13.5px Manrope,Arial,sans-serif;color:var(--orange,#6600ff);cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.co-back{display:inline-flex;align-items:center;gap:4px;text-decoration:none}
.co-back svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.co-grid{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:40px;align-items:start}
.co-main{display:grid;gap:18px}
.co-sec{background:#fff;border:1px solid var(--line,#dedeea);border-radius:18px;padding:22px 24px}
.co-sec h2{display:flex;align-items:center;gap:10px;margin:0;font-size:20px;font-weight:800;letter-spacing:-.02em}
.co-n{width:28px;height:28px;border-radius:50%;background:var(--orange,#6600ff);color:#fff;display:grid;place-items:center;font-size:14px;font-weight:800;flex:none}
.co-sub{margin:6px 0 14px 38px;font-size:14px;font-weight:700;color:var(--muted,#66667b)}
.co-p{margin:0 0 0 38px;font-size:14px;color:var(--body,#4a4a63)}
.co-sec .sh-addr{max-height:none;margin-bottom:12px}
.co-sec .sh-addr label{padding:14px 16px}
.co-sec .sh-addr b{font-size:15px}
.co-sec .sh-addr small{font-size:13px}
.co-sec .sh-addr-add,.co-sec .sh-addr-new{margin-bottom:0}
.co-skel{height:62px;border-radius:12px;background:linear-gradient(90deg,#f1f1f7,#f8f8fc,#f1f1f7);background-size:200% 100%;animation:coSk 1.2s linear infinite;margin-bottom:8px}
@keyframes coSk{to{background-position:-200% 0}}
.co-msg{margin:0;padding:12px 14px;border-radius:12px;background:#fff1f0;color:#b42318;font-weight:700;font-size:14px}
.co-go{padding:17px 18px;font-size:16.5px;border-radius:14px}
.co-safe{display:flex;align-items:center;justify-content:center;gap:8px;margin:-4px 0 0;font-size:13px;color:var(--muted,#66667b)}
.co-safe svg{width:18px;height:18px;flex:none;fill:none;stroke:var(--green,#33c188);stroke-width:2}
.co-sum{position:sticky;top:96px;background:#fff;border:1px solid var(--line,#dedeea);border-radius:18px;padding:22px 24px}
.co-sum h2{margin:0 0 14px;font-size:18px;font-weight:800}
.co-items{list-style:none;margin:0;padding:0;display:grid;gap:14px}
.co-it{display:grid;grid-template-columns:60px 1fr auto;gap:12px;align-items:center}
.co-it-fig{position:relative;width:60px;height:66px;border-radius:12px;background:var(--sand,#eeeff8);display:grid;place-items:center}
.co-it-fig img{max-width:78%;max-height:80%;object-fit:contain}
.co-it-fig svg{width:26px;height:26px;fill:none;stroke:var(--muted,#66667b);stroke-width:1.6}
.co-it-fig em{position:absolute;top:-7px;right:-7px;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:var(--ink,#161632);color:#fff;font:800 12px/22px Manrope,Arial,sans-serif;font-style:normal;text-align:center}
.co-it-b{display:grid;gap:3px;min-width:0}
.co-it-b b{font-size:14.5px}
.co-it-b small{font-size:12.5px;color:var(--muted,#66667b)}
.co-it-b .co-gone{color:#b42318;font-weight:800}
.co-it strong{font-size:14.5px;white-space:nowrap}
.co-tot{display:grid;gap:8px;margin-top:18px;padding-top:16px;border-top:1px solid var(--line,#dedeea);font-size:14px}
.co-tot div{display:flex;justify-content:space-between;gap:12px}
.co-tot span{color:var(--body,#4a4a63)}
.co-free{color:#1d7a52}
.co-tot .co-total{margin-top:6px;padding-top:12px;border-top:1px solid var(--line,#dedeea);align-items:baseline}
.co-total span{color:var(--ink,#161632);font-size:16px;font-weight:800}
.co-total b{font-size:24px;font-weight:800;letter-spacing:-.02em}
.co-note{margin:12px 0 10px;font-size:12.5px;line-height:1.45;color:var(--muted,#66667b)}
.co-sum-m{display:none}
.co-empty{max-width:520px;margin:40px auto;text-align:center;display:grid;gap:14px;justify-items:center}
.co-empty h1{margin:0;font:800 clamp(28px,3vw,38px)/1.1 Manrope,Arial,sans-serif;letter-spacing:-.03em}
.co-empty p{margin:0;color:var(--body,#4a4a63);font-size:16px;line-height:1.5}
.co-empty .sh-btn{padding:13px 26px;font-size:15px}
@media(max-width:900px){
  .co{padding:18px 16px 70px}
  .co-head{margin-bottom:14px}
  .co-grid{grid-template-columns:1fr;gap:0}
  .co-sum{display:none}
  .co-sum-m{display:block;margin:0 0 16px;background:#fff;border:1px solid var(--line,#dedeea);border-radius:14px}
  .co-sum-m summary{list-style:none;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 16px;cursor:pointer;font-weight:800;font-size:14.5px;color:var(--orange,#6600ff)}
  .co-sum-m summary::-webkit-details-marker{display:none}
  .co-sum-m summary span::after{content:"";display:inline-block;width:7px;height:7px;margin:0 0 3px 9px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);transition:transform .2s}
  .co-sum-m[open] summary span::after{transform:rotate(-135deg);margin-bottom:-1px}
  .co-sum-m summary small{font-weight:700;color:var(--muted,#66667b);margin-left:4px}
  .co-sum-m summary b{color:var(--ink,#161632);font-size:17px}
  .co-sum-in{padding:2px 16px 14px;border-top:1px solid var(--line,#dedeea);padding-top:14px}
  .co-sec{padding:18px 16px;border-radius:16px}
  .co-sub,.co-p{margin-left:0}
}
@media(prefers-reduced-motion:reduce){.co-skel{animation:none}}
/* Kar 25 nov (v3): logos a color en la sección Pago, red de efectivo y formulario Ciudad/Provincia/Dirección/Referencia/Teléfono */
.co-pay .sh-pay-logos{gap:6px;margin-top:8px}
.co-pay .sh-pay-logos img{height:24px}
.co-pay .sh-pay-logos img.pl-chip{height:30px;padding:6px 8px;border:1px solid var(--line,#dedeea);border-radius:7px;background:#fff;box-sizing:border-box}
.co-pay .sh-pay-logos img.pl-cash{width:54px;height:28px;border-radius:6px;border:1px solid var(--line,#dedeea);background:#fff;object-fit:contain}
.co-new select{width:100%;box-sizing:border-box;padding:10px 12px;border:1px solid var(--line,#dedeea);border-radius:10px;font:inherit;font-size:14px;color:var(--ink,#161632);background:#fff}
.co-new select:focus{outline:2px solid var(--orange,#6600ff);outline-offset:1px;border-color:transparent}
.co-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.co-row>div{display:grid;gap:6px}
@media(max-width:620px){.co-row{grid-template-columns:1fr}}
/* v4 (Kar 25 nov): teléfono con código de país */
.co-tel{display:grid;grid-template-columns:116px 1fr;gap:8px}
/* v5 (Kar 25 nov): flechas de las listas con su propio margen, selector de país con banderas, error del teléfono y "Pago 100% seguro" */
.co-new select{appearance:none;-webkit-appearance:none;padding:12px 44px 12px 14px;min-height:46px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23161632' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 16px center/18px 18px;cursor:pointer}
.co-new input[type=text],.co-new input[type=tel]{min-height:46px;padding:12px 14px}
.co-tel{display:grid;grid-template-columns:auto 1fr;gap:8px}
.co-cc{position:relative}
.co-cc-btn{appearance:none;display:flex;align-items:center;gap:8px;height:100%;min-height:46px;padding:0 14px 0 12px;border:1px solid var(--line,#dedeea);border-radius:10px;background:#fff;font:700 15px Manrope,Arial,sans-serif;color:var(--ink,#161632);cursor:pointer}
.co-cc-btn:hover{border-color:#b9b9c8}
.co-cc-btn:focus-visible{outline:2px solid var(--orange,#6600ff);outline-offset:1px}
.co-cc-btn img,.co-cc-list img{width:24px;height:18px;border-radius:3px;box-shadow:0 0 0 1px rgba(22,22,50,.12);object-fit:cover;flex:none}
.co-cc-btn svg{width:18px;height:18px;margin-left:2px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.co-cc-btn[aria-expanded=true] svg{transform:rotate(180deg)}
.co-cc-list{position:absolute;z-index:5;top:calc(100% + 6px);left:0;min-width:250px;margin:0;padding:6px;list-style:none;background:#fff;border:1px solid var(--line,#dedeea);border-radius:12px;box-shadow:0 16px 40px rgba(22,22,50,.16)}
.co-cc-list[hidden]{display:none}
.co-cc-list li{display:flex;align-items:center;gap:12px;min-height:44px;padding:0 12px;border-radius:8px;font-size:15px;cursor:pointer;color:var(--ink,#161632)}
.co-cc-list li span{flex:1}
.co-cc-list li b{font-weight:700;color:var(--muted,#66667b)}
.co-cc-list li:hover,.co-cc-list li:focus{background:#f3f1ff;outline:none}
.co-cc-list li[aria-selected=true]{background:#efe9ff}
.co-new input[aria-invalid=true]{border-color:#d92d20;outline-color:#d92d20}
.co-field-err{margin:4px 0 0;min-height:0;font-size:13px;font-weight:700;color:#b42318}
.co-field-err:empty{display:none}
.co-secure{display:flex!important;align-items:center;gap:6px;margin-top:8px;color:#1d7a52!important;font-weight:700}
.co-secure svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2;flex:none}

/* Santiago 25 nov: checkout compacto (una columna, sin resumen del pedido; el total en una línea junto al botón) */
.co-compact{max-width:620px;margin:0 auto;display:grid;gap:14px}
.co-compact .co-head{margin-bottom:2px}
.co-compact .co-head h1{font-size:clamp(26px,2.6vw,34px)}
.co-compact .co-sec{padding:18px 20px}
.co-compact .co-sec h2{font-size:18px;margin-bottom:12px}
.co-compact .co-sec .sh-addr{margin-bottom:8px}
.co-compact .co-pay label{padding:12px 14px}
.co-compact .co-pay .sh-pay-logos{margin-top:6px}
.co-compact .co-secure{margin-top:6px}
.co-total-line{display:grid;gap:2px;padding:2px 4px;font-size:15px;color:var(--ink,#161632)}
.co-total-line b{font-size:17px;font-weight:800}
.co-total-line small{font-size:12.5px;color:var(--muted,#66667b)}
.co-total-line .co-link{font-size:13.5px}
.co-compact .co-go{margin-top:2px}
.co-go-note{margin:-4px 4px 0;font-size:13px;line-height:1.45;color:var(--muted,#66667b);text-align:center}
@media(max-width:620px){.co-compact{gap:12px}.co-compact .co-sec{padding:16px 14px}}

/* Kar 26 nov: logos de tarjetas y billeteras en fichas chicas (36x22), como los íconos de pago de Shopify */
.co-pay .sh-pay-logos{gap:5px}
.co-pay .sh-pay-logos img.pl-chip{width:36px;height:22px;padding:3px 4px;border:1px solid var(--line,#dedeea);border-radius:4px;background:#fff;box-sizing:border-box;object-fit:contain}

/* Kar 26 nov: logos iguales 44x28 en todas las formas de pago (tarjetas, billeteras, bancos, Deuna, puntos de pago) */
.co-pay .sh-pay-logos{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px;align-items:center}
.co-pay .sh-pay-logos img,.co-pay .sh-pay-logos img.pl-chip,.co-pay .sh-pay-logos img.pl-cash{width:44px;height:28px;padding:4px 5px;border:1px solid var(--line,#dedeea);border-radius:5px;background:#fff;box-sizing:border-box;object-fit:contain;display:block;flex:none}

/* Kar 26 nov: logos 60x38 (más legibles), mismo tamaño para todas las formas de pago */
.co-pay .sh-pay-logos{gap:8px}
.co-pay .sh-pay-logos img,.co-pay .sh-pay-logos img.pl-chip,.co-pay .sh-pay-logos img.pl-cash{width:60px;height:38px;padding:3px 4px;border-radius:6px}
@media(max-width:380px){.co-pay .sh-pay-logos{gap:6px}.co-pay .sh-pay-logos img,.co-pay .sh-pay-logos img.pl-chip,.co-pay .sh-pay-logos img.pl-cash{width:56px;height:36px}}

/* Kar 26 nov: ficha "+N" de los puntos de pago (mismo tamaño que los logos) */
.co-pay .sh-pay-logos .pl-more{width:60px;height:38px;border:1px solid var(--line,#dedeea);border-radius:6px;background:#f6f3ff;color:var(--orange,#6600ff);font:800 15px Manrope,Arial,sans-serif;cursor:pointer;flex:none}
.co-pay .sh-pay-logos .pl-more:hover{border-color:var(--orange,#6600ff)}
@media(max-width:380px){.co-pay .sh-pay-logos .pl-more{width:56px;height:36px}}

/* Kar 26 nov: logo de tarjetas al 70% dentro de la misma ficha 60x38 (solo tarjetas y billeteras) */
.co-pay .sh-pay-logos img.pl-chip{padding:8px 12px}
@media(max-width:380px){.co-pay .sh-pay-logos img.pl-chip{padding:8px 11px}}
