.mcwc-carrinho-wrapper {
  max-width: 850px;
  margin: 40px auto 0 auto;
  padding: 28px 22px 22px 22px;
  background: #f9f9f9;
  border-radius: 16px;
  box-shadow: 0 2px 14px rgba(0,0,0,0.07);
  font-family: 'Segoe UI', Arial, sans-serif;
}

.mcwc-title {
  font-size: 28px;
  text-align: center;
  margin-bottom: 22px;
  color: #313148;
  letter-spacing: 1px;
}

.mcwc-cart {
  border-top: 2px solid #e4e4e4;
  margin-bottom: 24px;
  margin-top: 20px;
}

.mcwc-cart-header,
.mcwc-cart-item {
  display: grid;
  grid-template-columns: 60px 1fr 110px 45px;
  align-items: center;
  padding: 12px 0;
  gap: 8px;
}

.mcwc-cart-header {
  background: #f1f3f8;
  font-weight: bold;
  border-radius: 8px 8px 0 0;
  font-size: 15px;
}

.mcwc-cart-item {
  background: #fff;
  border-bottom: 1px solid #eaeaea;
  transition: background 0.2s;
}

.mcwc-cart-item:last-child {
  border-radius: 0 0 8px 8px;
  border-bottom: none;
}

.mcwc-col--thumb img {
  border-radius: 6px;
  width: 54px !important;
  height: 54px !important;
  object-fit: cover;
  box-shadow: 0 1px 5px #d9d9d9;
}

.mcwc-col--prod {
  font-size: 15px;
  color: #222;
  line-height: 1.2;
}

.mcwc-col--qty {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}

.mcwc-qty-btn {
  width: 32px;
  height: 32px;
  border: none;
  background: #f1f3f8;
  font-size: 20px;
  border-radius: 8px;
  cursor: pointer;
  color: #444;
  transition: background .2s;
  font-weight: 700;
  outline: none;
  box-shadow: 0 0.5px 0.5px #e0e0e0;
}
.mcwc-qty-btn:hover {
  background: #e2e8f0;
}

.mcwc-input--qty {
  width: 48px;
  text-align: center;
  padding: 7px 2px;
  border: 1px solid #d5d8e0;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  outline: none;
  background: #f8fafc;
  color: #222;
}

.mcwc-col--actions {
  text-align: center;
}
.mcwc-btn--remove {
  background: #ef4444 !important;
  color: #fff !important;
  border: none;
  font-size: 22px;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
  transition: background .2s;
}
.mcwc-btn--remove:hover {
  background: #b91c1c !important;
}

.mcwc-btn {
  display: block;
  width: 100%;
  padding: 13px 0;
  font-weight: 600;
  border: none;
  border-radius: 9px;
  color: #fff;
  cursor: pointer;
  transition: opacity .3s, background .2s;
  margin-bottom: 12px;
  text-align: center;
  text-decoration: none !important;
  font-size: 16px;
  box-shadow: 0 2px 7px rgba(41,73,119,0.07);
}
.mcwc-btn--ghost {
  background: transparent;
  color: #313148;
  border: 2px solid #bfc8e4;
}
.mcwc-btn--continue {
  margin-bottom: 24px;
}
.mcwc-btn--whats {
  background: #25d366;
}
.mcwc-btns-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}
.mcwc-btns-row .mcwc-btn {
  flex: 1 1 0;
  min-width: 150px;
  max-width: 100%;
  margin-bottom: 0;
  text-align: center;
}

/* BOTÕES LADO A LADO NA LISTAGEM E SINGLE */
.mcwc-btn-cotacao-wrap {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}
.mcwc-btn-cotacao-wrap .add_to_cart_button,
.mcwc-btn-cotacao-wrap .single_add_to_cart_button,
.mcwc-btn-cotacao-wrap .mcwc-btn--whats {
  flex: 1 1 0;
  min-width: 0;
  max-width: 100%;
  margin-bottom: 0;
  text-align: center;
}
@media (max-width: 700px) {
  .mcwc-cart-header,
  .mcwc-cart-item {
    grid-template-columns: 40px 1fr 80px 35px;
    font-size: 13px;
  }
  .mcwc-col--prod {
    font-size: 13px;
  }
}
@media (max-width: 500px) {
  .mcwc-cart-header,
  .mcwc-cart-item {
    grid-template-columns: 34px 1fr 55px 27px;
    font-size: 11.5px;
    padding: 8px 0;
  }
  .mcwc-cart-item .mcwc-col--prod {
    font-size: 11.5px;
  }
  .mcwc-carrinho-wrapper {
    padding: 10px 2px 8px 2px;
  }
  .mcwc-title {
    font-size: 20px;
    margin-bottom: 14px;
  }
}
@media (max-width: 600px) {
  .mcwc-btns-row,
  .mcwc-btn-cotacao-wrap {
    flex-direction: column;
    gap: 8px;
  }
  .mcwc-btns-row .mcwc-btn,
  .mcwc-btn-cotacao-wrap .add_to_cart_button,
  .mcwc-btn-cotacao-wrap .single_add_to_cart_button,
  .mcwc-btn-cotacao-wrap .mcwc-btn--whats {
    min-width: 0;
    width: 100%;
  }
}
.mcwc-messages .mcwc-msg {
  background: #d4edda;
  color: #155724;
  padding: 8px;
  border-radius: 4px;
  margin-bottom: 12px;
  font-size: 15px;
}
.mcwc-empty {
  text-align: center;
  padding: 40px 0;
  color: #666;
}
