/** Shopify CDN: Minification failed

Line 7:0 Unexpected "<"
Line 211:0 Unexpected "<"

**/
<style id="mini_cart_full_final">

:root{
  --main-accent:#d24418;
}

/* =========================
   HEADER
========================= */
.mini-cart-header{
  background:#fff;
  color:#1d1d1f;
  border-bottom:1px solid #eee;
  padding:14px 20px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-family:-apple-system, BlinkMacSystemFont, "SF Pro Display", Arial, sans-serif;
  position:relative;
}

/* CLOSE */
.mini-cart-header .modal-header .close{
  position:absolute;
  right:14px;
  top:50%;
  transform:translateY(-50%);
  width:34px;
  height:34px;
  border-radius:10px;
  border:1px solid #eee;
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition:.2s ease;
}

.mini-cart-header .modal-header .close:hover{
  background:#f5f5f7;
}

/* =========================
   CONTENT
========================= */
.js-mini-cart-content{
  background:#fff;
  flex-grow:1;
  overflow-y:auto;
  overflow-x:hidden;
  padding:0 16px;
}

/* =========================
   ITEM (COMPACTO)
========================= */
.mini-cart-item{
  display:flex;
  gap:10px;
  padding:8px 0;
  border-bottom:1px solid #f2f2f2;
  align-items:center;
}

.js-mini-cart-content .mini-cart-image{
  flex:0 0 58px;
}

.mini-cart-img img{
  width:58px;
  height:58px;
  object-fit:cover;
  border-radius:10px;
  background:#f5f5f7;
}

.js-mini-cart-content .mini-cart-meta{
  flex:1;
}

.mini-cart-meta p{
  font-size:12.5px;
  margin:0;
  color:#1d1d1f;
  line-height:1.2;
}

.mini-cart-meta .price{
  font-size:11.5px;
  color:#6e6e73;
  margin-top:3px;
}

/* =========================
   REMOVE (ROJO)
========================= */
.js-remove-mini-cart{
  font-size:11px;
  color:#d10000;
  cursor:pointer;
  transition:.2s ease;
}

.js-remove-mini-cart:hover{
  color:#8b0000;
}

/* =========================
   FOOTER
========================= */
.mini-cart-footer{
  background:#fff;
  padding:14px 16px;
  border-top:1px solid #eee;
}

/* =========================
   CHECKOUT (BLOQUEADO POR DEFECTO)
========================= */
.mini-cart-footer .checkout{
  display:block;
  width:100%;
  padding:13px;
  border-radius:10px;
  text-align:center;
  font-weight:500;
  text-decoration:none;

  background:#e5e5e5;
  border:1px solid #e5e5e5;
  color:#999 !important;

  pointer-events:none;
  transition:.25s ease;
}

/* ACTIVO (NARANJA) */
.mini-cart-footer .checkout.active{
  background:var(--main-accent) !important;
  border-color:var(--main-accent) !important;
  color:#fff !important;
  pointer-events:auto;
  cursor:pointer;
}

.mini-cart-footer .checkout.active:hover{
  background:#b83a14 !important;
  border-color:#b83a14 !important;
  transform:translateY(-2px);
  box-shadow:0 10px 20px rgba(210,68,24,0.25);
}

/* =========================
   TERMS CHECKBOX
========================= */
.cart-terms{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:12px;
  color:#6e6e73;
  margin-bottom:10px;
}

.cart-terms input{
  width:14px;
  height:14px;
  accent-color:var(--main-accent);
}

/* =========================
   SCROLL CLEAN
========================= */
.js-mini-cart-content::-webkit-scrollbar{
  width:5px;
}

.js-mini-cart-content::-webkit-scrollbar-thumb{
  background:#ddd;
  border-radius:10px;
}

/* =========================
   MOBILE
========================= */
@media(max-width:749px){

  .mini-cart-item{
    padding:6px 0;
    gap:8px;
  }

  .mini-cart-img img{
    width:52px;
    height:52px;
  }

  .mini-cart-meta p{
    font-size:12px;
  }

}

</style>

<!-- =========================
     HTML (FOOTER + TERMS)
========================= -->
<div class="mini-cart-footer">

  <!-- TERMS -->
  <label class="cart-terms">
    <input type="checkbox" id="accept_terms">
    Acepto las condiciones de compra
  </label>

  <!-- CHECKOUT -->
  <a href="/checkout" class="checkout">
    Finalizar compra
  </a>

</div>

<!-- =========================
     JS LOGIC
========================= -->
<script>
document.addEventListener('DOMContentLoaded', () => {

  const checkbox = document.querySelector('#accept_terms');
  const checkout = document.querySelector('.checkout');

  if(!checkbox || !checkout) return;

  function updateState(){
    if(checkbox.checked){
      checkout.classList.add('active');
    }else{
      checkout.classList.remove('active');
    }
  }

  checkbox.addEventListener('change', updateState);
  updateState();

});
</script>