body {
  background: #f5f5f5;
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: #333;
  font-size: 14px;
}

/* ===== Các khối ===== */
.checkout-address,
.checkout-products,
.checkout-payment,
.checkout-summary {
  background: #fff;
  margin: 20px auto;
  padding: 24px 40px;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  max-width: 1000px;
}
.wrap-input {
    display: flex;
    margin-bottom: 10px;
}
    .wrap-input label {
        display: flex;
        flex: 1;
    }
    .wrap-input input[type=text] {
        display: flex;
        flex: 5;
        height: 26px;
        gap: 10px;
        border: solid 1px #cecece;
    }
/* ===== Địa chỉ ===== */
.checkout-address h3 {
    color: #ee4d2d;
    font-size: 1.6rem;
    margin-bottom: 12px;
}
.address-info {
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.address-info .btn-change {
  margin-left: auto;
  background: none;
  border: none;
  color: #05a;
  cursor: pointer;
  font-size: 1.3rem;
}

/* ===== Bảng sản phẩm ===== */
.checkout-products__header,
.checkout-item {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  align-items: center;
  text-align: center;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}
.checkout-products__header {
  background: #fb5533;
  font-weight: 500;
  color: #fff;
}
.checkout-item__info {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
}
.checkout-item__info img {
  width: 60px;
  height: 60px;
  border: 1px solid #eee;
  border-radius: 4px;
}

/* ===== Voucher + Vận chuyển ===== */
.checkout-voucher,
.checkout-shipping {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid #f0f0f0;
  color: #555;
}
.checkout-voucher a {
  color: #05a;
  text-decoration: none;
}
.checkout-shipping p {
  margin: 4px 0 0 0;
  color: #666;
  font-size: 1.3rem;
}

/* ===== Thanh toán ===== */
.checkout-payment h3 {
  margin-bottom: 14px;
  font-size: 1.6rem;
}
.payment-options label {
  margin-right: 15px;
  padding: 6px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  cursor: pointer;
}
.payment-options label.active {
  border-color: #ee4d2d;
  background: #fff3ef;
}

/* ===== Tổng cộng ===== */
.checkout-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.summary-info p {
  margin: 6px 0;
  color: #555;
  font-size: 1.4rem;
}
.highlight {
  color: #ee4d2d;
  font-size: 2rem;
  font-weight: 600;
}
.btn--primary {
  background: #ee4d2d;
  color: white;
  border: none;
  padding: 10px 28px;
  border-radius: 4px;
  font-size: 1.6rem;
  cursor: pointer;
  transition: 0.2s;
}
.btn--primary:hover {
  background: #d73211;
}

/* ===== Popup đặt hàng thành công ===== */
/* Popup xác nhận */
.order-popup {
  display: none; /* ẩn mặc định */
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  justify-content: center;
  align-items: center;
  z-index: 9999;
  animation: fadeIn 0.3s ease;
}

.popup-content {
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 50px 70px;
  border-radius: 16px;
  text-align: center;
  animation: scaleIn 0.25s ease;
  font-size: 2rem;
}

.popup-icon {
  width: 120px;
  height: 120px;
  background-color: #2dd36f;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 10px;
}

.popup-icon i {
  font-size: 60px;
  color: white;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
