/* ===========================
   RESET & BASE
=========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  font-size: 14px;
  background: #f0f0f0;
  color: #333;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

#wrapper {
  max-width: 1100px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #ddd;
}

.img-logo {
  width: 70px;
  height: 60px;
  border-radius: 50%;
}

.img-banner-main {
  position: absolute;
  inset: 0;
  background-color: #a8d4f0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left;
}

/* ===========================
   TOPBAR
=========================== */
#topbar {
  background: #f8f8f8;
  border-bottom: 1px solid #e0e0e0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 20px;
  font-size: 12px;
  color: #555;
}

#topbar-left i {
  margin-right: 5px;
  color: #888;
}

#topbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

#topbar-right a {
  color: #555;
}

#topbar-right a:hover {
  color: #e67e22;
}

.divider {
  color: #ccc;
}

#header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
}

#header-logo {
  flex-shrink: 0;
}

/* Menu ngang */
#menu-ngang ul {
  display: flex;
  gap: 5px;
}

#menu-ngang ul li a {
  padding: 8px 12px;
  font-weight: bold;
  font-size: 13px;
  color: #333;
  transition: color 0.2s;
}

#menu-ngang ul li a:hover {
  color: #e67e22;
}

#header-icons {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  color: #333;
}

#header-icons span {
  position: relative;
  cursor: pointer;
}

.badge {
  position: absolute;
  top: -6px;
  right: -8px;
  background: #e67e22;
  color: #fff;
  font-size: 10px;
  border-radius: 50%;
  padding: 1px 4px;
}

#balance {
  font-size: 13px;
  color: #555;
}

/* ===========================
   SEARCH BAR
=========================== */
#searchbar {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  background: #fff;
  border-bottom: 2px solid #eee;
  gap: 10px;
}

#btn-sanpham {
  background: #3cb371;
  color: #fff;
  border: none;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  white-space: nowrap;
  border-radius: 3px;
}

#search-middle {
  display: flex;
  flex: 1;
  border: 1px solid #ddd;
  border-radius: 3px;
  overflow: hidden;
}

#select-category {
  padding: 8px 10px;
  border: none;
  border-right: 1px solid #ddd;
  font-size: 13px;
  outline: none;
  background: #fff;
  cursor: pointer;
}

#search-input {
  flex: 1;
  padding: 8px 12px;
  border: none;
  outline: none;
  font-size: 13px;
}

#btn-search {
  background: #e67e22;
  color: #fff;
  border: none;
  padding: 8px 20px;
  font-weight: bold;
  font-size: 13px;
  cursor: pointer;
}

#btn-search:hover {
  background: #cf6d17;
}

#search-right {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  color: #e67e22;
  font-size: 20px;
}

#search-right div {
  font-size: 13px;
  color: #333;
  line-height: 1.4;
}

/* ===========================
   MAIN (2 cột)
=========================== */
#main {
  display: flex;
  align-items: flex-start;
}

/* ===========================
   MENU DỌC (cột trái)
=========================== */
#menu-doc {
  width: 180px;
  flex-shrink: 0;
  border-right: 1px solid #eee;
}

#menu-doc ul li a {
  display: block;
  padding: 10px 20px;
  color: #444;
  font-size: 13px;
  border-bottom: 1px solid #f0f0f0;
  transition: all 0.2s;
}

#menu-doc ul li a:hover {
  background: #e8f4fb;
  color: #1a7abf;
  font-style: italic;
  padding-left: 28px;
}

/* ===========================
   CỘT PHẢI
=========================== */
#col-right {
  flex: 1;
}

/* ===========================
   BANNER CHÍNH
=========================== */
#banner-main {
  position: relative;
  height: 360px;
  overflow: hidden;
}

#banner-text {
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  text-align: left;
}

#banner-sub {
  font-size: 13px;
  color: #e67e22;
  font-weight: bold;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

#banner-title {
  font-size: 38px;
  font-weight: 900;
  color: #1a1a2e;
  line-height: 1.2;
  margin-bottom: 12px;
}

#banner-desc {
  font-size: 13px;
  color: #555;
  margin-bottom: 20px;
}

#btn-muangay {
  display: inline-block;
  background: #e67e22;
  color: #fff;
  padding: 12px 28px;
  font-weight: bold;
  font-size: 14px;
  border-radius: 3px;
  transition: background 0.2s;
}

#btn-muangay:hover {
  background: #cf6d17;
}