.header {
  height: var(--header-height);
  background-image: linear-gradient(0, #fe6433, #f53e2d);
}

.header__navbar {
  display: flex;
  justify-content: space-between;
}

.header__navbar-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
  display: flex;
  justify-items: center;
  align-items: center;
}

.header__navbar-item--saparate::after {
  content: "";
  display: block;
  position: absolute;
  border-left: 1px solid #fb9086;
  height: 12px;
  right: -9px;
  top: 50%;
  transform: translateY(-50%);
}

.header__navbar-item {
  margin: 0 8px;
  position: relative;
}

.header__navbar-user {
  display: flex;
  align-items: center;
  justify-items: center;
}

.header__navbar-user-img {
  width: 20px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.1);
  position: relative;
  top: -2px;
}

.header__navbar-user-name {
  margin-left: 7px;
  font-size: 1.4rem;
  font-weight: 400;
  top: 1px;
  position: relative;
}

.header__navbar-user:hover .header__navbar-user-menu {
  display: block;
}

.header__navbar-user-menu {
  position: absolute;
  padding-left: 0;
  top: calc(100% + 4px);
  right: 0;
  background-color: #fff;
  border-radius: 2px;
  width: 160px;
  z-index: 2;
  box-shadow: 0 1px 5px #999;
  display: none;
  transform-origin: calc(100% - 20px) top;
  animation: headerNotifyGrowth ease-in 0.2s;
}

.header__navbar-user-menu::before {
  content: "";
  border-width: 20px 28px;
  border-style: solid;
  border-color: transparent transparent var(--white-color) transparent;
  position: absolute;
  right: 9px;
  top: -29px;
}

.header__navbar-logo {
  text-decoration: none;
}

.header__navbar-user-menu::after {
  content: "";
  position: absolute;
  left: 0;
  top: -10px;
  width: 100%;
  height: 20px;
  display: block;
}

.header__navbar-user-item {
  list-style: none;
}

.header__navbar-user-item--separate {
  border-top: 1px solid rgb(0, 0, 0, 0.05);
}

.header__navbar-user-item a {
  text-decoration: none;
  color: var(--text-color);
  font-size: 1.4rem;
  display: block;
  padding: 11px 16px;
}

.header__navbar-user-item a:first-child {
  border-top-left-radius: 2px;
  border-top-right-radius: 2px;
}

.header__navbar-user-item a:last-child {
  border-bottom-left-radius: 2px;
  border-bottom-right-radius: 2px;
}

.header__navbar-user-item a:hover {
  background-color: #fafafa;
}

.header__navbar-icon-link {
  color: var(--white-color);
}

.header__navbar-icon-link:nth-child(2) {
  margin: 0 10px;
}

.header__navbar-item-link,
.header__navbar-item {
  font-size: 1.4rem;
  color: var(--white-color);
  text-decoration: none;
  font-weight: 300;
}

.header__navbar-item-link:hover,
.header__navbar-item:hover,
.header__navbar-icon-link:hover {
  cursor: pointer;
  color: rgba(255, 255, 255, 0.7);
}

.header__navbar-item--has-qr:hover .header__qr {
  display: block;
}

.header__notify {
  z-index: 3;
}

.header__navbar-item--has-notify:hover .header__notify {
  display: block;
}

.header__navbar-item--strong {
  font-weight: 500;
}

.header__navbar-icon {
  font-size: 1.6rem;
  margin: 0 5px;
}

.header__navbar-icon--size {
  font-size: 1.6rem;
}

.header__navbar-item--no-pointor {
  cursor: text;
  color: var(--white-color);
}

/* header QR Code */

.header__qr {
  background-color: var(--white-color);
  width: 186px;
  position: absolute;
  left: 0;
  top: 100%;
  padding: 8px;
  border-radius: 2px;
  margin-top: 8px;
  display: none;
  animation: fadeIn ease-in 0.4s;
  box-shadow: 0 1px 5px #999;
  z-index: 1;
}

.header__qr::before {
  content: "";
  position: absolute;
  left: 0;
  top: -10px;
  width: 100%;
  height: 20px;
  display: block;
}

.header__qr-img {
  width: 100%;
}

.header__qr-apps {
  display: flex;
  justify-content: space-between;
}

.header__qr-download {
  height: 16px;
}

.header__qr-link:nth-child(1) {
  margin-left: 10px;
}

.header__qr-link:nth-child(2) {
  margin-right: 10px;
}

/* Header notification */

.header__notify {
  position: absolute;
  top: 100%;
  width: 404px;
  background-color: var(--white-color);
  right: 0;
  margin-top: 8px;
  border: 1px solid #d3d3d3;
  cursor: default;
  display: none;
  transform-origin: calc(100% - 20px) top; /* thay dổi tâm xuất hiện animation */
  animation: headerNotifyGrowth ease-in 0.2s;
  /* -webkit-animation: headerNotifyGrowth ease-in 0.2s; */ /* sử dụng khi trình duyệt không hỗ trợ -webkit-, -ms-, ..... */
  will-change: opacity, transform; /* tối ưu chuyển động cho opacity và transform */
  box-shadow: 0 1px 2px #999;
}

.header__notify::before {
  content: "";
  border-width: 20px 25px;
  border-style: solid;
  border-color: transparent transparent var(--white-color) transparent;
  position: absolute;
  right: 5px;
  top: -28px;
}

.header__notify::after {
  content: "";
  display: block;
  position: absolute;
  width: 90px;
  height: 20px;
  right: 0;
  top: -16px;
}

@keyframes headerNotifyGrowth {
  from {
    opacity: 0;
    transform: scale(0);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.header__notify-header {
  height: 40px;
  background-color: var(--white-color);
}

.header__notify-header h3 {
  color: #999;
  margin: 0 0 0 12px;
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 40px;
  /* cursor: text; */
  user-select: none; /* không cho copy text */
}

.header__notify-list {
  padding-left: 0;
}

.header__notify-item {
  list-style: none;
  display: flex;
}

.header__notify-item:hover {
  background-color: #f5f5f5;
}

.header__notify-link {
  display: flex;
  width: 100%;
  padding: 12px;
  text-decoration: none;
  background-color: rgba(238, 75, 43, 0.08);
}

.header__notify-view {
  background-color: #fff;
}

.header__notify-img {
  width: 48px;
  object-fit: contain;
}

.header__notify-info {
  margin-left: 12px;
}

.header__notify-name {
  display: block;
  font-size: 1.4rem;
  color: var(--text-color);
  font-weight: 400;
  line-height: 1.8rem;
}

.header__notify-descriotion {
  display: block;
  font-size: 1.2rem;
  color: #756f6e;
  margin-top: 5px;
}

.header__notify-footer {
  display: flex;
}

.header__notify-footer-btn {
  text-decoration: none;
  color: var(--text-color);
  color: var(--black-color);
  padding: 8px 16px;
  margin: auto; /* căn giữa */
  font-weight: 400;
  font-size: 1.4rem;
}

.header__notify-footer-btn:hover {
  opacity: 0.6;
}

.auth-form {
  width: 500px;
  background-color: var(--white-color);
  border-radius: 5px;
  overflow: hidden;
}

.auth-form__container {
  padding: 0 32px;
}

.auth-form__heaader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}

.auth-form__heading {
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--text-color);
}

.auth-form__switch-btn {
  font-size: 1.6rem;
  color: var(--primary-color);
  font-weight: 500;
  cursor: pointer;
}

.auth-form__form {
  margin-top: 16px;
}

.auth-form__input {
  width: 100%;
  height: 34px;
  margin-bottom: 16px;
  padding: 0 12px;
  font-size: 1.4rem;
  border: 1px solid var(--border-color);
  border-radius: 2px;
  outline: none;
}

.auth-form__input:focus {
  border-color: #888;
}

.auth-form__aside {
  margin-top: 16px;
}

.auth-form__help {
  display: flex;
  justify-content: flex-end;
}

.auth-form__help-link {
  text-decoration: none;
  font-size: 1.4rem;
  color: #939393;
  margin-bottom: 20px;
  font-weight: 300;
}

.auth-form__help--orange {
  color: var(--primary-color);
  font-weight: 500;
}

.auth-form__help-separate {
  display: block;
  border-left: 1px solid var(--border-color);
  height: 15px;
  margin: 0 16px;
}

.auth-form__policy-text {
  font-size: 1.2rem;
  text-align: center;
  line-height: 18px;
  padding: 0 12px;
}

.auth-form__policy-link {
  text-decoration: none;
  color: var(--primary-color);
  font-weight: 500;
}

.auth-form__controls-back {
  margin-right: 8px;
}

.auth-form__controls {
  margin-top: 80px;
  display: flex;
  justify-content: flex-end;
  justify-items: center;
}

.auth-form__socials {
  background-color: #f5f5f5;
  display: flex;
  justify-content: space-between;
  padding: 12px 36px;
  align-items: center;
  margin-top: 24px;
}

.auth-form__socials-icons {
  font-size: 1.8rem;
}

.auth-form__socials--facebook {
  background-color: #3a5a98;
}

.auth-form__socials--google {
  background-color: var(--white-color);
  color: var(--black-color) !important;
  font-weight: 200;
}

.auth-form__socials--facebook,
.auth-form__socials--google {
  color: var(--white-color);
}

.auth-form__social-label {
  margin: 0 32px;
}

.header-width-search {
  height: var(--header-with-search-height);
  display: flex;
  align-items: center;
  margin: 0 8px;
}

.header__logo {
  width: 200px;
}

.header__logo-img {
  width: 150px;
}

.header__search {
  flex: 1;
  height: 40px;
  border-radius: 2px;
  background-color: var(--white-color);
  display: flex;
  align-items: center;
}

.header__cart {
  width: 150px;
  text-align: center;
}

.header__cart-icon {
  color: var(--white-color);
  font-size: 2.2rem;
  margin-top: 6px;
}

.header__cart-wrap:hover .header__cart-list {
  display: block;
  cursor: pointer;
}

.header__cart-list {
  position: absolute;
  top: calc(100% + 9px);
  right: -5px;
  background-color: var(--white-color);
  width: 400px;
  border-radius: 3px;
  box-shadow: 0 1px 3.125rem 0 rgba(0, 0, 0, 0.2);
  transform-origin: calc(100% - 20px) top;
  animation: headerNotifyGrowth ease-in 0.2s;
  display: none;
  z-index: 2;
}

.header__cart-list::after {
  content: "";
  position: absolute;
  right: 3px;
  top: -29px;
  border-width: 20px;
  border-style: solid;
  border-color: transparent transparent var(--white-color) transparent;
}

.header__cart-no-cart-img {
  width: 50%;
  display: none;
}

.header__cart-list--no-cart {
  padding: 24px 0;
}

.header__cart-list-no-cart-msg {
  display: none;
  font-size: 1.4rem;
  margin-top: 16px;
  color: var(--text-color);
}

.header__cart-notice {
  top: -4px;
  right: -8px;
  position: absolute;
  padding: 1px 5px;
  background-color: var(--white-color);
  color: var(--primary-color);
  font-size: 1.3rem;
  line-height: 1.4rem;
  border-radius: 12px;
  border: 2px solid #ee4d2d;
}

.header__cart-list--no-cart .header__cart-list-no-cart-msg,
.header__cart-list--no-cart .header__cart-no-cart-img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.header__search-input-wrap {
  flex: 1;
  height: 100%;
  position: relative;
}

.header__cart-wrap {
  position: relative;
  display: inline-block;
  padding: 0 8px;
}

.header__search-input {
  width: 100%;
  height: 100%;
  border: none;
  outline: none;
  font-size: 1.4rem;
  color: var(--text-color);
  padding: 0 16px;
  border-radius: 3px;
}

.header__search-select {
  border-left: 1px solid #e8e8e8;
  padding-left: 16px;
  position: relative;
  cursor: pointer;
}

.header__search-select:hover .header__search-option {
  display: block;
  cursor: pointer;
}

.header__search-select-label {
  font-size: 1.4rem;
  color: var(--text-color);
}

.header__search-select-icon {
  font-size: 1.2rem;
  color: #4a4a4a;
  margin: 0 16px 0 8px;
  position: relative;
  top: 1px;
}

.header__search-btn {
  width: 60px;
  background-color: var(--primary-color);
  border: none;
  height: 34px;
  border-radius: 3px;
  margin-right: 3px;
  outline: none;
}

.header__search-btn:hover {
  background-color: #ec593c;
  cursor: pointer;
}

.header__search-btn-icon {
  font-size: 1.4rem;
  color: var(--white-color);
}

.header__search-option {
  position: absolute;
  right: 0;
  top: calc(100% + 1px);
  width: 130px;
  list-style: none;
  box-shadow: 0 1px 2px #e2e2e2;
  padding-left: 0;
  border-radius: 3px;
  display: none;
  animation: fadeIn ease-in 0.2s;
  margin-top: 15px;
  z-index: 2;
}

.header__search-option::after {
  content: "";
  position: absolute;
  display: block;
  width: 100%;
  height: 22px;
  top: -17px;
  left: 0;
}

.header__search-option-item {
  background-color: var(--white-color);
  padding: 8px 8px;
}

.header__search-option-item:first-child {
  border-top-right-radius: 3px;
  border-top-left-radius: 3px;
}

.header__search-option-item:last-child {
  border-bottom-right-radius: 3px;
  border-bottom-left-radius: 3px;
}

.header__search-option-item:hover {
  background-color: #f0f0f0;
  cursor: pointer;
}

.header__search-option-item span {
  font-size: 1.4rem;
  color: var(--text-color);
  margin-left: 8px;
}

.header__search-option-item i {
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-left: 12px;
  display: none;
}

.header__search-option-item--active i {
  display: inline-block;
}

.header__search-history {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  width: calc(100% - 16px);
  background-color: var(--white-color);
  border-radius: 3px;
  box-shadow: 0 1px 5px #999;
  display: none;
  overflow: hidden;
  z-index: 2;
}

.header__search-input:focus ~ .header__search-history {
  display: block;
}

.header__search-history-heading {
  margin: 12px 12px;
  font-size: 1.4rem;
  color: #999;
  font-weight: 400;
}

.header__search-history-list {
  padding-left: 0;
  list-style: none;
  margin-bottom: 0;
}

.header__search-history-item {
  height: 100%;
  padding: 15px 12px;
}

.header__search-history-item:hover {
  background-color: #fafafa;
  cursor: pointer;
}

.header__search-history-item a {
  text-decoration: none;
  font-size: 1.4rem;
  color: var(--text-color);
}

.header__cart-heading {
  text-align: left;
  margin: 8px 0 8px 12px;
  font-size: 1.4rem;
  color: #999;
  font-weight: 400;
}

.header__cart-list-item {
  padding-left: 0;
  list-style: none;
  margin-top: 18px;
  height: 40vh; /* Bằng 40% tỉ lệ màn hình */
  overflow-y: auto; /* Khhi số lượng vượt quá chiểu cao ẩn tất cả thẻ vượt quá và xuất hiện thanh scroll */
}

.header__cart-item {
  display: flex;
  align-items: center;
}

.header__cart-item:hover {
  background-color: #f8f8f8;
}

.header__cart-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-right: 12px;
}

.header__cart-img {
  width: 42px;
  height: 42px;
  margin: 12px;
  border: 1px solid var(--border-color);
}

.header__cart-item-info {
  width: 100%;
}

.header__cart-item-name {
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--text-color);
  margin: 0;
  line-height: 2rem;
  max-height: 4rem;
  overflow: hidden;
  flex: 1;
  padding-right: 16px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  text-align: left;
}

.header__cart-item-price {
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--primary-color);
}

.header__cart-item-multiply {
  color: #757575;
  font-size: 0.9rem;
  margin: 0 4px;
}

.header__cart-item-qnt {
  font-size: 1.1rem;
  font-weight: 300;
  color: #757575;
}

.header__cart-item-body {
  text-align: left;
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
}

.header__cart-item-description {
  color: #757575;
  font-size: 1.2rem;
}

.header__cart-item-remove {
  margin-right: 12px;
  font-size: 1.3rem;
}

.header__cart-item-remove:hover {
  color: var(--primary-color);
}
.header__cart-view-cart {
  float: right;
  margin-right: 12px;
  margin-bottom: 12px;
}

.header__cart-view-cart:hover {
  background-color: #f05d41;
}

/* App Container */

.app__container {
  background-color: #f5f5f5;
}

.app__content {
  padding-top: 36px;
}

.category {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  padding: 1px 0 13px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.09);
}

.category__heading {
  position: absolute;
}

.category__heading-background {
  position: absolute;
  height: 170px;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: cover;
  filter: blur(0px);
  border-top-right-radius: 3px;
  border-top-left-radius: 3px;
}

.category__heading-mask {
  position: absolute;
  height: 170px;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.4);
  border-top-right-radius: 2px;
  border-top-left-radius: 2px;
}

.category__heding-portrait__avatar {
  position: relative;
  display: block;
}

.category__heding-avatar {
  display: inline-block;
  border: 0.0625rem solid rgba(0, 0, 0, 0.09);
  position: relative;
  width: 9rem;
  height: 9rem;
  border-color: #fff;
  border-width: 0.6rem;
  margin-top: 18px;
  border-radius: 50%;
}

.category__heding-avatar-placeholder {
  width: 100%;
  position: relative;
  padding-top: 100%;
  background-color: #f5f5f5;
  border-radius: 50%;
  overflow: hidden;
}

.category__heding-avatar-img {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  border-radius: 50%;
  overflow: hidden;
}

.category__heding-portrait-name {
  color: #fff;
  z-index: 1;
  margin-top: 1rem;
  width: 100%;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 400;
}

.category__heding-portrait-status {
  color: hsla(0, 0%, 100%, 0.7);
  z-index: 1;
  margin-top: 0.6rem;
  font-weight: 400;
  font-size: 1.1rem;
}

.category__search-page {
  background-color: #fff;
  margin-bottom: 30px;
  border-radius: 3px;
}

.category__search-page-header {
  font-size: 1.4rem;
  font-weight: 400;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.8);
  padding: 16px 0;
  margin-left: 20px;
  cursor: auto;
}

.category__search-page-collection {
  margin-bottom: 30px;
}

.category__search-page-body {
  list-style: none;
  padding: 0;
  margin-left: 20px;
  margin-top: 2px;
  width: 150px;
}

.category__search-page-body-item-link {
  text-decoration: none;
  color: rgba(0, 0, 0, 0.8);
  font-size: 1.3rem;
  font-weight: 400;
}

.category__search-page-body-item--active {
  color: var(--primary-color);
  border-top: none !important;
}

.category__search-page-body-item {
  padding: 10px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.09);
}

.category__search-page-facet {
  margin-bottom: 30px;
}

.category__search-page-facet-body {
  margin-left: 20px;
}

.category-checkBox {
  padding: 5px 0;
}

.checkBox-label {
  position: relative;
  top: -2px;
  margin-left: 6px;
  font-size: 1.4rem;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.54);
  cursor: pointer;
}

.category-dropDown {
  margin-top: 8px;
  margin-left: 22px;
}

.category-dropDown-name {
  font-size: 1.3rem;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.8);
  cursor: pointer;
}

.category-dropDown-icon {
  font-size: 1rem;
  margin-left: 5px;
  color: rgba(0, 0, 0, 0.54);
}

.category__search-page-price-range__edit {
  margin-left: 21px;
  width: 150px;
}

.category__search-page-price-input {
  display: flex;
  justify-content: space-between;
}

.category__search-page-price-range {
  margin-bottom: 30px;
}

.category__search-page-price-range__input {
  max-width: 60px;
  height: 30px;
  border: 1px solid rgba(0, 0, 0, 0.26);
  cursor: pointer;
  padding: 8px;
  outline: none;
  cursor: auto;
}

.category__search-page-price-range-btn {
  margin-top: 10px;
  min-width: 150px;
}

.category__search-page-rating-body {
  margin-left: 30px;
}

.category-rating {
  padding: 5px 0;
}

.category-rating-icon {
  font-size: 1.1rem;
  margin-right: 3px;
  cursor: pointer;
}

.category-rating-text {
  font-size: 1.2rem;
  color: rgba(0, 0, 0, 0.8);
  font-weight: 400;
}

.category-btn {
  margin-left: 20px;
  min-width: 150px;
  margin-bottom: 15px;
}

.category-list {
  padding: 0 0 8px 0;
  margin-left: 16px;
}

.category-item {
  list-style: none;
}

.category-item--active .category-item__link {
  color: var(--primary-color);
  font-weight: 400;
}

.category-item--active .category-item__link::before {
  content: "";
  top: 50%;
  left: 7px;
  position: absolute;
  border: 4px solid;
  transform: translateY(calc(50% - 8px));
  border-color: transparent transparent transparent var(--primary-color);
}

.category-item__link {
  position: relative;
  right: 0;
  font-size: 1.4rem;
  font-weight: 400;
  text-decoration: none;
  color: var(--text-color);
  padding: 8px 16px;
  display: block;
  transition: right linear 0.1s;
}

.category-item__link:hover {
  color: var(--primary-color);
  right: -4px;
}

.home-filter {
  display: flex;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.04);
  padding: 12px 22px;
  border-radius: 2px;
}

.home-filter__label {
  color: #555555;
  font-size: 1.4rem;
  font-weight: 500;
  margin-right: 16px;
}

.home-filter__btn {
  margin-right: 12px;
  min-width: 90px;
}

.home-filter__page {
  display: flex;
  align-items: center;
}

.home-filter__page {
  margin-left: auto;
  display: flex;
  align-items: center;
}

.home-filter__page-num {
  font-size: 1.4rem;
  color: var(--text-color);
  margin-right: 22px;
}

.home-filter__page-current {
  color: var(--primary-color);
}

.home-filter__page-control {
  display: flex;
  width: 72px;
  height: 36px;
  border-radius: 2px;
  overflow: hidden;
}

.home-filter__page-btn {
  flex: 1;
  background-color: var(--white-color);
  display: flex;
  text-decoration: none;
}

.home-filter__page-btn-disable {
  background-color: #f9f9f9;
  cursor: default;
}

.home-filter__page-btn-disable .home-filter__page-icon {
  color: #ccc;
}

.home-filter__page-btn:first-child {
  border-right: 1px solid #eee;
}

.home-filter__page-icon {
  margin: auto;
  font-size: 1.3rem;
  color: #555;
}

.home-product {
  margin-bottom: 20px;
}

.home-product-item {
  display: block;
  text-decoration: none;
  background-color: var(--white-color);
  margin-top: 10px;
  position: relative;
  border-bottom-left-radius: 2px;
  border-bottom-right-radius: 2px;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.1);
  transition: transform linear 0.1s;
  will-change: transform;
}

.home-product-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 1px 20px 0 rgba(0, 0, 0, 0.05);
}

.home-product-item__img {
  position: relative;
  padding-top: 100%;
  background-repeat: no-repeat;
  background-size: contain;
}

.home-product-item__img-top {
  top: 0px;
  height: 192px;
  position: absolute;
  width: 192px;
}

.home-product-item__name {
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--text-color);
  line-height: 1.8rem;
  height: 3.6rem;
  margin: 10px 10px 6px;
  overflow: hidden;
  display: block;
  display: -webkit-box; /* hỗ trợ hiển thị dòng chữ không quá n dòng và có dấu ... */
  -webkit-box-orient: vertical; /* hỗ trợ hiển thị dòng chữ không quá n dòng và có dấu ... */
  -webkit-line-clamp: 2; /* hỗ trợ hiển thị dòng chữ không quá n dòng và có dấu ... */
}

.home-product-item__price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  margin-top: 35px;
}

.home-product-item__price-old {
  font-size: 1.5rem;
  font-weight: 300;
  margin-left: 10px;
  color: #666;
  text-decoration: line-through;
}

.home-product-item__price-current {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-left: 7px;
}

.home-product-item__price-ship {
  margin-left: 14px;
  font-size: 1.4rem;
  color: #40cfbb;
}

.home-product-item__action {
  display: flex;
  margin: 15px 10px 0;
  justify-content: space-between;
}

.home-product-item__like {
  font-size: 1.3rem;
}

i.home-product-item__like-icon-fill {
  color: #f2765d;
  display: none;
}

.home-product-item__like--liked .home-product-item__like-icon-fill {
  display: inline-block;
}

.home-product-item__like--liked .home-product-item__like-icon-empty {
  display: none;
}

.home-product-item__rating {
  font-weight: 300;
  font-size: 0.7rem;
  color: #d5d5d5;
  margin: -1px 0 0 auto;
}

.home-product-item__start-gold {
  color: var(--start-gold-color);
}

.home-product-item__sold {
  font-size: 1.2rem;
  color: var(--text-color);
  margin-left: 8px;
}

.home-product-item__origin {
  display: flex;
  justify-content: flex-end;
  margin: 8px 10px;
}

.home-product-item__origin-name {
  font-size: 1.2rem;
  font-weight: 300;
  color: #878787;
}

.home-product-item__favourite {
  position: absolute;
  top: 10px;
  left: -4px;
  color: var(--primary-color);
  background-color: currentColor;
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.6rem;
  padding-right: 8px;
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
}

.home-product-item__favourite::before {
  content: "";
  position: absolute;
  left: 0px;
  bottom: -4px;
  border-top: 4px solid currentColor;
  border-left: 4px solid transparent;
  filter: brightness(60%);
}

.home-product-item__favourite span {
  color: var(--white-color);
}

.home-product-item__favourite i {
  color: var(--white-color);
  font-size: 0.9rem;
  margin: 0 2px 0 5px;
}

.home-product-item__sale-off {
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  height: 36px;
  background-color: rgba(255, 216, 64, 0.94);
  text-align: center;
}

.home-product-item__sale-off::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  border-width: 0px 20px 6px;
  border-style: solid;
  border-color: transparent rgba(255, 216, 64, 0.94) transparent
    rgba(255, 216, 64, 0.94);
}

.home-product-item__sale-off-percent {
  display: block;
  margin: 6px 0 3px 0;
  color: #ee4d2d;
  font-weight: 600;
  font-size: 1.2rem;
  line-height: 1.2rem;
}

.home-product-item__sale-off-label {
  font-size: 1.3rem;
  line-height: 1.3rem;
  font-weight: 500;
  color: var(--white-color);
}

.home-product__pagination {
  margin: 48px 0 32px 0;
}

.footer {
  border-top: 4px solid var(--primary-color);
  padding-top: 30px;
  background-color: #fbfbfb;
}

.footer__heading {
  font-size: 1.4rem;
  font-weight: 500;
  text-transform: uppercase;
  color: #757575;
}

.footer__heading-visa {
  cursor: pointer;
}

.footer-list {
  padding-left: 0;
  list-style: none;
}

.footer-item__link {
  display: flex;
  text-decoration: none;
  font-size: 1.2rem;
  color: #737373;
  padding: 2px 0;
  align-items: center;
  margin: 7px 0;
}

.footer-item__link:hover {
  color: var(--primary-color);
}

.footer-item__icon {
  font-size: 1.6rem;
  margin-top: -1px;
  margin-right: 8px;
}

.footer__download {
  display: flex;
}

.footer__download-qr {
  width: 80px;
  object-fit: contain;
  border: 1px solid var(--border-color);
}

.footer__download-apps {
  margin-left: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.footer__download-app-img {
  height: 18px;
  margin: 2px 0;
}

.footer__bottom {
  background-color: #f5f5f5;
  padding: 12px 0;
  margin-top: 34px;
}

.footer__text {
  text-align: center;
  margin: 0;
  font-size: 1.4rem;
  color: #737373;
}

.footer__top {
  background-color: #fbfbfb;
}

.footer__bottom-list {
  display: flex;
  justify-content: center;
}

.footer__bottom-item {
  list-style: none;
}

.footer__bottom-item-link {
  position: relative;
  display: block;
  text-decoration: none;
  color: #737373;
  font-size: 1.2rem;
  margin: 20px 30px;
}

.footer__bottom-item-link:last-child {
  border: none;
}

.footer__bottom-item-link--saparate::before {
  content: "";
  display: block;
  position: absolute;
  border-right: 1px solid #cacaca;
  height: 12px;
  right: -30px;
  top: 50%;
  transform: translateY(-50%);
}

.footer__bottom-img-link {
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer__text-bottom {
  margin: 0;
  text-align: center;
  font-size: 1.2rem;
  color: #737373;
}

.footer__text-dif {
  margin: 10px 0;
  text-align: center;
  font-size: 1.2rem;
  color: #737373;
}

.footer__bottom-text {
  margin: 20px 0;
  line-height: 25px;
}
