/* AVENSCI COMMERCE UI — consolidated stylesheet */

.shop-grid,
.checkout-layout{
  display:grid;
  grid-template-columns:1fr 330px;
  gap:35px;
  padding:36px 0 60px;
}

.cart-row{
  display:flex;
  justify-content:space-between;
  padding:18px 0;
  border-top:1px solid var(--fmp-line);
}

.cart-remove{
  font-size:11px;
  color:#a12626;
  font-weight:700;
}

.checkout-box{
  border:1px solid var(--fmp-line);
  border-radius:7px;
  padding:20px;
  align-self:start;
}

.checkout-box .fmp-btn{
  width:100%;
}

.checkout-form{
  border:1px solid var(--fmp-line);
  border-radius:7px;
  padding:25px;
}

.payment-placeholder{
  background:#f5f8fb;
  padding:18px;
  margin:15px 0 20px;
  border-radius:5px;
}

.confirmation{
  text-align:center;
  padding:90px 0;
}

.confirmation-mark{
  width:72px;
  height:72px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#e4f5ec;
  color:#0b6c50;
  font-size:34px;
  font-weight:900;
  margin:auto;
}

/* Downloads */
.download-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  padding:16px;
  border-top:1px solid var(--fmp-line);
}

.download-row small{
  display:block;
  color:var(--fmp-muted);
  margin-top:3px;
}

.download-row .fmp-btn{
  min-height:32px;
  padding:5px 9px;
  font-size:11px;
  margin-left:4px;
}

@media(max-width:900px){
  .shop-grid,
  .checkout-layout{
    grid-template-columns:1fr;
  }
}

/* =========================================================
   Checkout totals / errors / confirmation
   ========================================================= */

.checkout-total{
  font-size:17px;
  color:var(--fmp-navy);
  padding-top:8px;
  border-top:1px solid var(--fmp-line);
}

.price-right{
  float:right;
}

.checkout-error{
  padding:14px;
  border:1px solid #ef4444;
  border-radius:9px;
  margin-bottom:18px;
  background:#fff7f7;
}

.confirmation-page{
  padding:70px 0;
}

.confirmation-card{
  max-width:650px;
  margin:auto;
  text-align:center;
  border:1px solid #dbe3ee;
  padding:40px;
  border-radius:16px;
}

.confirmation-page .confirmation-mark{
  width:auto;
  height:auto;
  display:inline-block;
  background:transparent;
  color:#0b6c50;
  font-size:40px;
  margin:0 0 12px;
}
