/* RESET CƠ BẢN */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background: #f2f6ff;
  color: #222;
  line-height: 1.6;
}

/* ====================== */
/* THANH THÔNG TIN TRÊN */
/* ====================== */
.top-info-bar {
  background: #ca0000;
  color: white;
  padding: 6px 15px;
  font-size: 13px;
  display: flex;
  gap: 10px;
  align-items: center;
  white-space: nowrap;
  overflow: hidden;
}

/* ====================== */
/* MAIN HEADER */
/* ====================== */
.main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to right, #ff0000, #e10000);
  padding: 12px 20px;
  color: white;
  gap: 20px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-header {
  height: 45px;
  border-radius: 6px;
}

.header-btn {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: white;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
}

.header-btn:hover {
  background: rgba(255, 255, 255, 0.25);
}

.header-search {
  flex: 1;
  position: relative;
  max-width: 600px;
}

.header-search input {
  width: 100%;
  padding: 10px 40px 10px 20px;
  border-radius: 30px;
  border: none;
  outline: none;
  font-size: 15px;
}

.search-icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: #555;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 15px;
}

.cart {
  cursor: pointer;
}

.login-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  padding: 8px 14px;
  border-radius: 8px;
  color: white;
  cursor: pointer;
}

.login-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* ========================= */
/* DANH MỤC SẢN PHẨM */
/* ========================= */
.product-section {
  padding: 40px 20px;
}

.section-title {
  font-size: 28px;
  margin-bottom: 20px;
  color: #36538f;
  text-align: center;
}

.product-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 15px;
  text-align: center;
}

.product-item {
  background: #fff;
  padding: 18px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s;
}

.product-item:hover {
  transform: translateY(-5px);
}

.product-name {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 12px;
}

.product-img {
  width: 120px;
  height: auto;
  margin-bottom: 10px;
}

.product-price {
  font-size: 17px;
  color: #cc0000;
  font-weight: bold;
}

.buy-btn {
  margin-top: 10px;
  padding: 10px 16px;
  background: #ff6600;
  border: none;
  border-radius: 6px;
  color: white;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

.buy-btn:hover {
  background: #cc5200;
}

/* ========================= */
/* ĐẶT HÀNG */
/* ========================= */
.order-section {
  padding: 40px 20px;
  background: #e8efff;
  margin-top: 40px;
}

.order-form {
  width: 90%;
  max-width: 700px;
  margin: auto;
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

fieldset {
  border: 2px solid #0044cc;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 18px;
}

legend {
  padding: 0 10px;
  font-weight: bold;
  color: #0044cc;
}

.input-text {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #666;
  margin-top: 5px;
}

.submit-btn {
  width: 100%;
  padding: 12px;
  background: #0066ff;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 18px;
  cursor: pointer;
  transition: 0.3s;
}

.submit-btn:hover {
  background: #0044cc;
}

/* ========================= */
/* FOOTER */
/* ========================= */
.footer {
  background: #f8f8f8;
  padding: 40px 0;
  color: #333;
}

.footer-container {
  max-width: 1300px;
  margin: auto;
  display: grid;
  grid-template-columns: 28% 22% 25% 25%;
  gap: 30px;
}

.footer-column h3 {
  font-size: 18px;
  margin-bottom: 15px;
}

.footer-column p,
.footer-column li {
  font-size: 15px;
  margin-bottom: 8px;
}

ul {
  padding: 0;
  list-style: none;
}

.payment-icons img {
  height: 32px;
  margin: 5px;
}

.newsletter input {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  margin-bottom: 12px;
}

.checkbox-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0;
}

.signup-btn {
  width: 100%;
  background: #e10000;
  color: white;
  font-size: 16px;
  border: none;
  padding: 12px;
  border-radius: 6px;
  cursor: pointer;
}

.signup-btn:hover {
  background: #c40000;
}

.voucher-box {
  background: #ffe0e0;
  padding: 12px;
  border-radius: 6px;
  margin-bottom: 12px;
  border-left: 4px solid #e10000;
}

.app-box {
  display: flex;
  align-items: center;
  gap: 15px;
}

.qr {
  width: 100px;
}

.store {
  width: 130px;
  margin-bottom: 10px;
}

.social-icons img {
  width: 35px;
  margin-right: 8px;
  cursor: pointer;
}

.members img {
  display: block;
  width: 150px;
  margin-bottom: 12px;
}
