/* JERSIX — carrito lateral global */
body.fs-cart-lock{overflow:hidden}
.fs-global-cart-overlay{position:fixed;inset:0;background:rgba(3,6,10,.68);backdrop-filter:blur(4px);opacity:0;visibility:hidden;transition:opacity .25s ease,visibility .25s ease;z-index:110000}
.fs-global-cart-overlay.is-open{opacity:1;visibility:visible}
.fs-global-cart-drawer{position:fixed;top:0;right:0;width:min(440px,100%);height:100dvh;background:#090d13;border-left:1px solid rgba(255,255,255,.1);box-shadow:-24px 0 70px rgba(0,0,0,.55);transform:translateX(105%);transition:transform .3s cubic-bezier(.22,.8,.25,1);z-index:110001;display:flex;flex-direction:column;color:#f5f7fb;font-family:'DM Sans',Arial,sans-serif}
.fs-global-cart-drawer.is-open{transform:translateX(0)}
.fs-gcart-head{display:flex;align-items:center;justify-content:space-between;padding:20px 22px;border-bottom:1px solid rgba(255,255,255,.1)}
.fs-gcart-title{display:flex;align-items:center;gap:10px;font:700 25px/1 'Oswald',Arial,sans-serif;text-transform:uppercase}
.fs-gcart-count{min-width:25px;height:25px;padding:0 7px;border-radius:999px;background:#e3222e;color:#080b0f;display:grid;place-items:center;font:900 12px/1 'DM Sans',Arial,sans-serif}
.fs-gcart-close{width:40px;height:40px;border:1px solid rgba(255,255,255,.13);border-radius:50%;background:#111720;color:#fff;font-size:23px;line-height:1;cursor:pointer}
.fs-gcart-items{flex:1;overflow:auto;padding:10px 22px}
.fs-gcart-empty{height:100%;min-height:250px;display:grid;place-items:center;text-align:center;color:#98a2b1;line-height:1.65}
.fs-gcart-empty b{display:block;color:#fff;font:600 23px/1.1 'Oswald',Arial,sans-serif;text-transform:uppercase;margin-bottom:8px}
.fs-gcart-item{display:grid;grid-template-columns:82px minmax(0,1fr) auto;gap:13px;padding:17px 0;border-bottom:1px solid rgba(255,255,255,.09);align-items:start}
.fs-gcart-item>img{width:82px;height:98px;object-fit:cover;border-radius:12px;background:#111720}
.fs-gcart-name{font-size:13px;font-weight:800;line-height:1.35;margin-bottom:6px}
.fs-gcart-meta,.fs-gcart-stamp{color:#8f99a7;font-size:11px;line-height:1.45}
.fs-gcart-qty{display:inline-grid;grid-template-columns:30px 34px 30px;align-items:center;margin-top:10px;border:1px solid rgba(255,255,255,.13);border-radius:9px;overflow:hidden;background:#0d1219}
.fs-gcart-qty button{height:30px;border:0;background:transparent;color:#fff;cursor:pointer;font-size:17px}
.fs-gcart-qty button:hover{background:rgba(255,255,255,.06)}
.fs-gcart-qty span{text-align:center;font-size:12px;font-weight:800}
.fs-gcart-price{text-align:right;font-size:13px;font-weight:900;white-space:nowrap}
.fs-gcart-remove{display:block;margin:10px 0 0 auto;padding:0;border:0;background:transparent;color:#8e98a6;text-decoration:underline;font-size:10px;cursor:pointer}
.fs-gcart-foot{padding:17px 22px 22px;border-top:1px solid rgba(255,255,255,.1);background:#090d13}
.fs-gcart-progress-top{display:flex;justify-content:space-between;gap:12px;margin-bottom:8px;font-size:11px;font-weight:800}
.fs-gcart-progress-top strong{color:#e3222e}
.fs-gcart-progress{height:7px;border-radius:999px;background:rgba(255,255,255,.09);overflow:hidden;margin-bottom:15px}
.fs-gcart-progress span{display:block;height:100%;background:#e3222e;border-radius:inherit;transition:width .25s ease}
.fs-gcart-total{display:flex;align-items:end;justify-content:space-between;gap:16px;padding-top:14px;border-top:1px solid rgba(255,255,255,.09)}
.fs-gcart-total span{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}
.fs-gcart-total strong{font:700 30px/1 'Oswald',Arial,sans-serif;color:#e3222e}
.fs-gcart-promo{margin-top:8px;color:#9aa4b2;font-size:10px;line-height:1.45}
.fs-gcart-actions{display:grid;grid-template-columns:1fr 1.12fr;gap:10px;margin-top:16px}
.fs-gcart-btn{min-height:50px;border-radius:14px;display:flex;align-items:center;justify-content:center;text-decoration:none;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.04em}
.fs-gcart-btn.secondary{border:1px solid rgba(255,255,255,.16);color:#fff;background:#10151d}
.fs-gcart-btn.primary{background:#e3222e;color:#080b0f}
@media(max-width:520px){.fs-global-cart-drawer{width:100%}.fs-gcart-head{padding:17px 16px}.fs-gcart-items{padding:8px 16px}.fs-gcart-foot{padding:15px 16px 18px}.fs-gcart-item{grid-template-columns:72px minmax(0,1fr) auto}.fs-gcart-item>img{width:72px;height:88px}.fs-gcart-actions{grid-template-columns:1fr 1fr}}


/* Paso 59 — fotos reales del carrito */
.fs-gcart-item>img{
  object-fit:contain!important;
  object-position:center!important;
  padding:3px!important;
  box-sizing:border-box!important;
  background:#10151d!important;
}
@media(max-width:520px){
  .fs-gcart-item{
    grid-template-columns:68px minmax(0,1fr) auto!important;
    gap:10px!important;
  }
  .fs-gcart-item>img{
    width:68px!important;
    height:84px!important;
    border-radius:10px!important;
  }
}


/* ============================================================
   PASO 60 — PROGRESO 4X3 EN CARRITO
   ============================================================ */
.fs-gcart-progress-block{
  padding:0 0 14px;
}
.fs-gcart-4x3-card{
  position:relative;
  margin:2px 0 17px;
  padding:13px 14px 12px;
  overflow:hidden;
  border:1px solid rgba(227,34,46,.22);
  border-radius:14px;
  background:
    linear-gradient(145deg,rgba(227,34,46,.075),rgba(255,255,255,.018));
}
.fs-gcart-4x3-card:after{
  content:"4X3";
  position:absolute;
  right:-5px;
  top:-12px;
  color:rgba(227,34,46,.055);
  font:700 58px/1 Oswald,Arial,sans-serif;
  pointer-events:none;
}
.fs-gcart-4x3-head{
  position:relative;
  z-index:1;
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:16px;
}
.fs-gcart-4x3-head small{
  display:block;
  margin-bottom:3px;
  color:#e3222e;
  font-size:7px;
  font-weight:900;
  letter-spacing:.14em;
}
.fs-gcart-4x3-head b{
  display:block;
  color:#f6f8fb;
  font:700 16px/1 Oswald,Arial,sans-serif;
  letter-spacing:.025em;
}
.fs-gcart-4x3-head>strong{
  color:#e3222e;
  font:700 20px/1 Oswald,Arial,sans-serif;
}
.fs-gcart-4x3-card p{
  position:relative;
  z-index:1;
  margin:7px 0 10px;
  color:#9ca6b3;
  font-size:8px;
  font-weight:700;
  line-height:1.45;
  letter-spacing:.025em;
}
.fs-gcart-4x3-track{
  position:relative;
  z-index:1;
  height:7px;
  overflow:hidden;
  border-radius:999px;
  background:rgba(255,255,255,.08);
}
.fs-gcart-4x3-track span{
  display:block;
  height:100%;
  border-radius:inherit;
  background:#e3222e;
  transition:width .3s ease;
}
.fs-gcart-4x3-steps{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:5px;
  margin-top:7px;
}
.fs-gcart-4x3-steps i{
  height:3px;
  border-radius:999px;
  background:rgba(255,255,255,.08);
}
.fs-gcart-4x3-steps i.on{background:#e3222e}
.fs-gcart-4x3-card.is-complete{
  border-color:rgba(227,34,46,.48);
  background:
    linear-gradient(145deg,rgba(227,34,46,.13),rgba(227,34,46,.035));
}
.fs-gcart-4x3-card.is-complete .fs-gcart-4x3-head b{
  color:#fff;
}

@media(max-width:520px){
  .fs-gcart-4x3-card{
    padding:12px;
    margin-bottom:14px;
    border-radius:12px;
  }
  .fs-gcart-4x3-head b{font-size:15px}
}

/* PASO 84 — carrito mayorista independiente */
.fs-gcart-promo.is-wholesale{
  margin-top:10px;
  padding:10px 11px;
  border:1px solid rgba(227,34,46,.18);
  border-radius:10px;
  background:rgba(227,34,46,.045);
  color:#b9c1cc;
  font-size:9px;
  font-weight:800;
  line-height:1.5;
  letter-spacing:.025em;
}


/* PASO 85 · VACIAR CARRITO + LEGIBILIDAD MOBILE */
.fs-gcart-clear{
  width:100%;
  min-height:38px;
  margin-top:12px;
  border:1px solid rgba(255,255,255,.11);
  border-radius:10px;
  background:transparent;
  color:#909aa7;
  font-size:9px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
  cursor:pointer;
  transition:.2s ease;
}
.fs-gcart-clear:hover{
  border-color:rgba(227,34,46,.42);
  color:#fff;
  background:rgba(227,34,46,.07);
}
.fs-gcart-clear[hidden]{display:none!important}

@media(max-width:520px){
  .fs-gcart-title{font-size:27px!important}
  .fs-gcart-name{font-size:13px!important;line-height:1.3!important}
  .fs-gcart-meta{font-size:10px!important}
  .fs-gcart-price{font-size:15px!important}
  .fs-gcart-remove{font-size:9px!important}
  .fs-gcart-qty{height:36px!important}
  .fs-gcart-qty button{font-size:17px!important}
  .fs-gcart-qty span{font-size:12px!important}
  .fs-gcart-progress-top{font-size:10px!important}
  .fs-gcart-4x3-head small{font-size:8px!important}
  .fs-gcart-4x3-head b{font-size:17px!important}
  .fs-gcart-4x3-card p{font-size:9px!important}
  .fs-gcart-promo.is-wholesale,.fs-gcart-promo{font-size:10px!important;line-height:1.55!important}
  .fs-gcart-total span{font-size:11px!important}
  .fs-gcart-total strong{font-size:31px!important}
  .fs-gcart-btn{font-size:10px!important}
  .fs-gcart-clear{min-height:42px;font-size:10px}
}
