* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background-color: #f6f6f6;
  color: #333;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.top-bar {
  background-color: #ffa500;
  color: white;
  padding: 8px 0;
  font-size: 14px;
}

.account-links {
  float: right;
}

.account-links a {
  color: white;
  text-decoration: none;
  margin-left: 10px;
}

header {
  background-color: white;
  padding: 15px 0;
  border-bottom: 1px solid #ddd;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: #ff6600;
}

header input[type="text"] {
  flex: 1;
  margin: 0 10px;
  padding: 8px;
}

.containerthanhtoan {
  max-width: 1200px;
  margin: 50px auto;
  padding: 30px;
  background-color: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  border-radius: 16px;
  font-family: "Segoe UI", Tahoma, Verdana, sans-serif;
}

.checkout__form h4 {
  font-size: 28px;
  font-weight: bold;
  color: #111;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.checkout__input {
  margin-bottom: 20px;
}

.checkout__input p {
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
}

.checkout__input input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.checkout__input input:focus {
  border-color: #e74c3c;
  box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.2);
  outline: none;
}

.error-message {
  color: #e74c3c;
  font-size: 14px;
  margin-top: 5px;
}

.checkout__input__checkbox {
  margin: 20px 0;
}

.checkout__input__checkbox label {
  position: relative;
  padding-left: 30px;
  cursor: pointer;
  user-select: none;
  font-size: 15px;
  color: #333;
}

.checkout__input__checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.checkout__input__checkbox .checkmark {
  position: absolute;
  top: 1px;
  left: 0;
  height: 18px;
  width: 18px;
  background-color: #eee;
  border-radius: 4px;
}

.checkout__input__checkbox input:checked ~ .checkmark {
  background-color: #e74c3c;
}

.checkout__input__checkbox .checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.checkout__input__checkbox input:checked ~ .checkmark:after {
  display: block;
}

.checkout__input__checkbox .checkmark:after {
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkout__order {
  background: #fafafa;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.checkout__order h4 {
  font-size: 24px;
  color: #111;
  margin-bottom: 20px;
}

.checkout__order__products,
.checkout__order__subtotal,
.checkout__order__total {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  margin-bottom: 15px;
  color: #444;
}

.checkout__order__total {
  font-weight: bold;
  font-size: 18px;
  color: #e74c3c;
}

.site-btn {
  width: 100%;
  background-color: #e74c3c;
  color: #fff;
  border: none;
  padding: 14px 0;
  font-size: 16px;
  text-transform: uppercase;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
}

.site-btn:hover {
  background-color: #c0392b;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .row {
    flex-direction: column;
  }

  .col-lg-8,
  .col-lg-4,
  .col-md-6 {
    width: 100%;
  }

  .checkout__order {
    margin-top: 30px;
  }
}

footer {
  background-color: #1a1a1a;
  color: white;
  padding: 30px 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-column {
  flex: 1;
  margin: 10px;
}

.footer-column h4 {
  margin-bottom: 10px;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 6px;
}

.footer-column ul li a {
  color: #ccc;
  text-decoration: none;
}

.footer-column ul li a:hover {
  color: white;
}
@media (max-width: 768px) {
  body {
    font-size: 14px;
  }

  .container {
    padding: 0 10px;
  }

  .header-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-container input[type="text"] {
    width: 100%;
    margin: 10px 0;
  }

  .nav-menu {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-menu li a {
    padding: 10px;
    width: 100%;
  }

  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
  }

  .product-card {
    padding: 10px;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-column {
    margin: 10px 0;
  }
}
