/** Shopify CDN: Minification failed

Line 658:0 Expected "}" to go with "{"

**/
.cart-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  opacity: 0;
  transform: translateY(15px);
  animation: fadeCart .6s ease forwards;
}

.cart-empty{
  text-align:center;
  padding:60px 20px;
}

.cart-empty h2{
  font-size:22px;
  margin-bottom:20px;
}

.continue-shopping{
  background:#000;
  color:#fff;
  padding:12px 24px;
  border-radius:8px;
  text-decoration:none;
  display:inline-block;
}

@keyframes fadeCart {
  to { opacity: 1; transform: translateY(0); }
}

/* ENVÍO GRATIS */
.free-ship-banner {
  background: #f9fafb;
  padding: 25px;
  border-radius: 18px;
  margin-bottom: 50px;
  border: 1px solid #f0f0f0;
}

.progress-bar {
  height: 8px;
  background: #e5e5e5;
  border-radius: 20px;
  overflow: hidden;
  margin-top: 12px;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg,#000,#333);
  width: 0%;
  transition: width .5s ease;
}

/* LAYOUT */
.cart-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
}

/* PRODUCTO */
.cart-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 25px;
  padding: 22px 0;
  border-bottom: 1px solid #f1f1f1;
}

.cart-item img {
  width: 100%;
  border-radius: 16px;
}

.cart-item-title {
  font-weight: 600;
  font-size: 17px;
}

.cart-variant{
  font-size:13px;
  color:#6b7280;
  margin-top:4px;
  font-weight:400;
}

.cart-item-price {
  font-weight: 600;
  margin-top: 6px;
}

/* QUANTITY PREMIUM */
.quantity-box{
  display:flex;
  align-items:center;
  background:#f3f4f6;
  border-radius:16px;
  width:fit-content;
  padding:4px;
  margin-top:18px;
  transition:all .25s ease;
}

/* ===============================
   WRAPPER STOCK + QUANTITY
=================================*/

.qty-wrapper{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:12px;
}

/* ===============================
   BOTÓN ELIMINAR – ESTILO COMERCIAL
=================================*/

.remove-link{
  margin-top:12px;
  background:#fff5f5;
  border:1px solid #ffdddd;
  color:#d32f2f;
  font-size:13px;
  font-weight:600;
  cursor:pointer;
  padding:8px 14px;
  border-radius:10px;
  display:inline-flex;
  align-items:center;
  gap:6px;
  transition:all .2s ease;
}

.remove-link:hover{
  background:#ffe5e5;
  border-color:#ffbdbd;
}

.remove-link:active{
  transform:scale(.96);
}

.remove-link svg{
  width:14px;
  height:14px;
}

.quantity-box:focus-within{
  box-shadow:0 0 0 2px #000;
}

.qty-btn{
  width:38px;
  height:38px;
  border:none;
  background:transparent;
  font-size:18px;
  font-weight:600;
  cursor:pointer;
  border-radius:12px;
  transition:all .2s ease;
  display:flex;
  align-items:center;
  justify-content:center;
}

.qty-btn:hover{
  background:#e5e7eb;
}

.qty-btn:active{
  transform:scale(.9);
}

.qty-input{
  width:60px;
  text-align:center;
  border:none;
  background:transparent;
  font-weight:600;
  font-size:16px;
  outline:none;
}

/* Quitar flechas del input number */
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button{
  -webkit-appearance:none;
  margin:0;
}

.qty-input[type=number]{
  -moz-appearance:textfield;
}

/* Estado loading */
.quantity-box.loading{
  opacity:.6;
  pointer-events:none;
}

/* CONTROL PESO */
.weight-control {
  background: #f9fafb;
  padding: 25px;
  border-radius: 18px;
  margin-top: 0px;
  border: 1px solid #f0f0f0;
}

.weight-header {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  margin-bottom: 10px;
}

.weight-bar {
  height: 10px;
  background: #e5e5e5;
  border-radius: 20px;
  overflow: hidden;
}

.weight-fill {
  height: 100%;
  background: black;
  width: 0%;
  transition: width .4s ease;
}

.weight-alert {
  margin-top: 12px;
  font-size: 14px;
  color: #b00020;
  display: none;
}

/* NOTAS */
.cart-notes{
  margin-top:30px;
  width:100%;
}

.cart-notes label{
  display:block;
  font-weight:600;
  margin-bottom:12px;
}

.cart-notes textarea{
  width:100%;
  max-width:100%;
  min-height:120px;
  padding:18px;
  border-radius:16px;
  border:1px solid #e5e7eb;
  background:#f9fafb;
  font-family:inherit; /* 👈 usa la misma fuente del sitio */
  font-size:14px;
  resize:vertical;
  box-sizing:border-box;
}

/* RESUMEN PREMIUM */
.cart-summary {
  background: #ffffff;
  padding: 40px;
  padding-bottom: 100px; /* 👈 espacio extra inferior */
  border-radius: 24px;
  position: sticky;
  top: 100px;
  height: fit-content;
  box-shadow: 0 20px 60px rgba(0,0,0,0.06);
  border: 1px solid #f2f2f2;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: 15px;
}

.cart-total {
  font-size: 24px;
  font-weight: 700;
  margin: 25px 0 10px 0;
}

.legal-text {
  font-size: 13px;
  color: #888;
  margin-bottom: 20px;
}

/* BOTÓN */
.checkout-btn {
  width: 100%;
  padding: 20px;
  background: linear-gradient(135deg,#000,#1a1a1a);
  color: white;
  border-radius: 16px;
  border: none;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all .3s ease;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.checkout-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 50px rgba(0,0,0,0.3);
}

.checkout-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
}

.whatsapp-btn {
  margin-top: 14px;
  display: block;
  text-align: center;
  padding: 16px;
  background: #25D366;
  color: white;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 600;
}

/* DESPACHO */
.shipping-estimator {
  margin: 30px 0;
}

.shipping-estimator select {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid #e5e5e5;
  margin-top: 8px;
}
/* ANIMACIÓN PRECIO */
.price-updated {
  animation: priceFlash .35s ease;
}

@keyframes priceFlash {
  0% { transform: scale(1); opacity: .6; }
  50% { transform: scale(1.08); opacity: 1; }
  100% { transform: scale(1); }
}

/* FEEDBACK BOTONES + - */
.qty-btn:active {
  transform: scale(.9);

}
/* ===============================
   CROSS SELL OPTIMIZADO
=================================*/

.cart-cross-sell{
  width:100%;
  max-width:100%;
  margin-top:10px;
  padding-top:15px;
  border-top:1px solid #eee;
}

.cross-title{
  font-size:18px;
  font-weight:600;
  margin-bottom:20px;
}

/* Desktop grid compacto */
.cross-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:16px;
}

.cross-card{
  background:#fff;
  border-radius:12px;
  padding:14px;
  box-shadow:0 4px 15px rgba(0,0,0,.04);
  transition:.25s ease;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}

.cross-card:hover{
  transform:translateY(-4px);
}

.cross-card img{
  width:100%;
  border-radius:8px;
  margin-bottom:10px;
}

.cross-name{
  font-size:13px;
  line-height:1.3;
  margin-bottom:6px;
  min-height:34px;
}

.cross-price{
  font-size:14px;
  font-weight:600;
  margin-bottom:10px;
}

.cross-add-btn{
  width:100%;
  padding:8px;
  font-size:13px;
  background:#111;
  color:#fff;
  border:none;
  border-radius:8px;
  cursor:pointer;
  transition:.2s;
}

.cross-add-btn:hover{
  background:#333;
}

*,
*::before,
*::after{
  box-sizing:border-box;
}

html, body{
  overflow-x:hidden;
}

.mobile-cross{
  display:none;
}

.desktop-cross{
  display:block;
}
/* ===================================
   BARRAS ENVÍO + PESO EN MISMA FILA
===================================*/

.cart-progress-row{
  display:flex;
  gap:30px;
  align-items:stretch;
  margin-bottom:30px;
}

.cart-progress-row .free-ship-banner,
.cart-progress-row .weight-control{
  flex:1;
  margin-bottom:0;
  margin-top:0;
}

/* ===============================
   STOCK ERROR GLOBAL
=================================*/

.qty-wrapper .stock-error-inline{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:12px !important;
  font-weight:600;
  color:#d32f2f !important;
  line-height:1.3;
  white-space:normal;
}

.qty-wrapper .stock-error-inline .stock-icon{
  color:#fbc02d !important;
  font-size:12px;
  line-height:1;
}

/* =========================================
   MOBILE RESPONSIVE REAL – ADAPTADO DESKTOP
=========================================*/

@media (max-width: 900px){

  .desktop-cross{
    display:none;
  }

  .mobile-cross{
    display:block;
  }

  /* Layout principal pasa a 1 columna */
  .cart-layout{
  grid-template-columns: 1fr;
  row-gap: 0px;
}

  .cart-progress-row{
  flex-direction:column;
}

  /* El summary deja de ser sticky */
  .cart-summary{
    position: relative;
    top: auto;
    padding: 30px;
  }

  /* Producto más compacto */
  .cart-item{
    grid-template-columns: 90px 1fr;
    gap: 18px;
  }

  .cart-item-title{
    font-size: 15px;
    line-height: 1.3;
    word-break: break-word;
  }

  .cart-item-price{
    font-size: 14px;
  }

  /* Evita que el grid colapse */
  .cart-item > div{
    min-width: 0;
  }

  /* Quantity más compacto */
  .quantity-box{
    gap: 10px;
    margin-top: 12px;
  }

  .qty-btn{
    width: 30px;
    height: 30px;
    font-size: 16px;
  }

  .qty-input{
    width: 40px;
    font-size: 14px;
  }

  /* Banners ajustados */
  .free-ship-banner{
    padding: 20px;
  }

  .weight-control{
    padding: 20px;
  }

  /* Cross sell en 1 columna */
  .cross-grid{
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}

  .cross-card{
    padding: 12px;
  }

  /* Sticky checkout mobile */
  .mobile-sticky-checkout{
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    border-top: 1px solid #eee;
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 999;
    box-shadow: 0 -5px 25px rgba(0,0,0,.08);
  }

  .mobile-total{
    font-weight: 700;
    font-size: 16px;
  }

  .mobile-checkout-btn{
    background: black;
    color: white;
    border: none;
    padding: 12px 18px;
    border-radius: 12px;
    font-weight: 600;
  }

  /* Espacio inferior para que no tape contenido */
  .cart-wrapper{
    padding-bottom: 120px;
  }

.cart-cross-sell{
  overflow:hidden;
}

/* =====================================
   ELIMINAR ESPACIO EXCESIVO SOBRE CROSS-SELL
=====================================*/

/* Quita margen inferior del último producto */
.cart-item:last-of-type{
  margin-bottom:0 !important;
  padding-bottom:15px !important;
  border-bottom:none !important;
}

/* Reduce espacio superior del cross sell */
.cart-cross-sell{
  margin-top:0 !important;
  padding-top:15px !important;
}

.cross-card{
  min-width:0;
}

.qty-wrapper{
  flex-wrap:wrap;
}

.qty-wrapper .stock-error-inline{
  font-size:11px;
  margin-top:6px;
}
