/* ===== METFI Cart Bottom Sheet ===== */
#metfi-cart-sheet-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
#metfi-cart-sheet-overlay.active {
  opacity: 1;
  visibility: visible;
}
#metfi-cart-sheet {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10001;
  background: #fff;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -4px 24px rgba(0,0,0,.2);
  transform: translateY(100%);
  transition: transform .3s ease-out;
  max-height: 80vh;
  overflow-y: auto;
}
#metfi-cart-sheet.active {
  transform: translateY(0);
}
.metfi-cs-handle {
  display: flex;
  justify-content: center;
  padding: 8px 0 4px;
}
.metfi-cs-handle span {
  width: 40px;
  height: 4px;
  background: #ddd;
  border-radius: 2px;
}
.metfi-cs-header {
  padding: 0 16px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #f0f0f0;
}
.metfi-cs-check {
  width: 28px;
  height: 28px;
  background: #2ecc71;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  flex-shrink: 0;
}
.metfi-cs-title {
  font-weight: 600;
  font-size: 14px;
  color: #222;
  flex: 1;
}
.metfi-cs-close {
  background: none;
  border: none;
  font-size: 20px;
  color: #999;
  cursor: pointer;
  padding: 4px;
}
.metfi-cs-product {
  padding: 12px 16px;
  display: flex;
  gap: 10px;
  border-bottom: 1px solid #f0f0f0;
}
.metfi-cs-product img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
  background: #f5f5f5;
}
.metfi-cs-product-info {
  flex: 1;
}
.metfi-cs-product-name {
  font-size: 13px;
  font-weight: 500;
  color: #222;
  line-height: 1.3;
}
.metfi-cs-product-price {
  font-size: 14px;
  font-weight: 700;
  color: #B80C09;
  margin-top: 3px;
}
.metfi-cs-total {
  padding: 10px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.metfi-cs-total-label {
  font-size: 13px;
  color: #666;
}
.metfi-cs-total-value {
  font-size: 16px;
  font-weight: 700;
  color: #222;
}
.metfi-cs-actions {
  padding: 8px 16px 16px;
  display: flex;
  gap: 8px;
}
.metfi-cs-actions a {
  flex: 1;
  padding: 12px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  display: block;
}
.metfi-cs-btn-cart {
  background: #fff;
  color: #222;
  border: 2px solid #222;
}
.metfi-cs-btn-checkout {
  background: #B80C09;
  color: #fff !important;
  border: none;
}
.metfi-cs-btn-checkout:hover {
  background: #8B0000;
}
