/* Header */
/* Header */
.header {
  position: fixed;
  width: 100%;
  z-index: 999;
  box-shadow: 2px 1px 3px 2px rgba(0, 0, 0, 0.356);
  border-top: 1px var(--color-main) solid;
}

.header .hd-voucher {
  background: var(--color-main);
  color: #fff;
  padding: 3px;
  justify-content: space-between;
  display: flex;
}

.header .hd-voucher .hd-voucher-content {
  font-size: 15px;
  margin: auto;
}

.header .hd-voucher .hd-voucher-icon {
  color: black;
  font-size: 18px;
}

.header .hd-voucher .hd-voucher-icon:hover {
  cursor: pointer;
  color: #fff;
  transition: all 0.3s;
}

.header .container {
  max-width: 1120px;
  margin-inline: 1.5rem;
}

/*=============== HEADER ===============*/
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  /* font-family: var(--body-font); */
  background-color: #fff;
  box-shadow: 0 2px 16px hsla(220, 32%, 8%, .3);
  z-index: var(--z-fixed);
  border-top: #43766c78 1px solid;
}

/*=============== NAV ===============*/
.header .nav {
  height: var(--header-height);
}

.header .nav__logo, 
.nav__burger, 
.nav__close {
  color: #43766C;
}

.header .nav__data {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header .nav__logo img {
  height: 35px;
  width: auto;
  margin-left: -25px;
  /* Color highlighting when pressed on mobile devices */
  /*-webkit-tap-highlight-color: transparent;*/
}


.header .nav__toggle {
  position: relative;
  width: 32px;
  height: 32px;
}

.header .nav__burger {
  position: absolute;
  width: max-content;
  height: max-content;
  inset: 0;
  margin: auto;
  font-size: 1.5rem;
  cursor: pointer;
  transition: opacity .1s, transform .4s;
}
.header .nav__close {
  position: absolute;
  width: max-content;
  height: max-content;
  inset: 0;
  margin: auto;
  font-size: 1.5rem;
  cursor: pointer;
  transition: opacity .1s, transform .4s;
}

.header .nav__close {
  opacity: 0;
}

/* Navigation for mobile devices */
@media screen and (max-width: 1118px) {
  .header .nav__menu {
  background: #fff;
    position: absolute;
    left: 0;
    top: 2.5rem;
    width: 100%;
    height: calc(100vh - 3.5rem);
    overflow: auto;
    pointer-events: none;
    opacity: 0;
    transition: top .4s, opacity .3s;
  }
  .header .nav__menu::-webkit-scrollbar {
    width: 0;
  }
  .header .nav__list {
    background-color: var(--black-color);
    padding-top: 1rem;
  }
}

.header .nav__link {
  font-size: 20px;
  color: #000;
  font-weight: var(--font-semi-bold);
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color .3s;
}

.header .nav__link:hover {
  color: #43766C;
}

/* Show menu */
.header .show-menu {
  opacity: 1;
  top: 3.5rem;
  pointer-events: initial;
}

/* Show icon */
.header .show-icon .nav__burger {
  opacity: 0;
  transform: rotate(90deg);
  color: #43766C;
}
.header .show-icon .nav__close {
  opacity: 1;
  transform: rotate(90deg);
  color: #43766C;
}

/*=============== DROPDOWN ===============*/
.header .dropdown__item {
  cursor: pointer;
}

.header .dropdown__arrow {
  font-size: 1.25rem;
  font-weight: initial;
  transition: transform .4s;
}

.header .dropdown__link, 
.dropdown__sublink {
  padding: 10px;
  width: 220px;
  color: #fff;
  background-color: #43766C;
  display: flex;
  align-items: center;
  column-gap: 0.5rem;
  font-weight: var(--font-semi-bold);
  transition: background-color .3s;
}

.header .dropdown__link i, 
.dropdown__sublink i {
  font-size: 1.25rem;
  font-weight: initial;
}

.header .dropdown__link:hover, 
.dropdown__sublink:hover {
  background-color: #a7bbb7;
}

.header .dropdown__menu, 
.dropdown__submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease-out;
}

/* Show dropdown menu & submenu */
.header .dropdown__item:hover .dropdown__menu, 
.dropdown__subitem:hover > .dropdown__submenu {
  max-height: 1000px;
  transition: max-height .4s ease-in;
}

/* Rotate dropdown icon */
.header .dropdown__item:hover .dropdown__arrow {
  transform: rotate(180deg);
}

/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 575.99px) {
  .header .container {
    margin-inline: 1rem;
  }

  .header .nav__link {
    padding-inline: 1rem;
  }

  .header .hd-voucher {
      display: none;
  }
}

/* For large devices */
@media screen and (min-width: 1118px) {
  .header .container {
    margin-inline: auto;
  }

  .header .nav {
    height: calc(var(--header-height) + 2rem);
    display: flex;
    justify-content: space-between;
  }
  .header .nav__toggle {
    display: none;
  }
  .header .nav__list {
    height: 100%;
    display: flex;
    column-gap: 3rem;
  }
  .header .nav__link {
    height: 100%;
    padding: 0;
    justify-content: initial;
    column-gap: .25rem;
  }
  .header .nav__link:hover {
    background-color: transparent;
  }

  .header .dropdown__item, 
  .dropdown__subitem {
    position: relative;
  }

  .header .dropdown__menu, 
  .dropdown__submenu {
    max-height: initial;
    overflow: initial;
    position: absolute;
    left: 0;
    top: 6rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s, top .3s;
  }

  .header .dropdown__link, 
  .dropdown__sublink {
    padding-inline: 1rem 3.5rem;
  }

  .header .dropdown__subitem .dropdown__link {
    padding-inline: 1rem;
  }

  .header .dropdown__submenu {
    position: absolute;
    left: 100%;
    top: .5rem;
  }

  /* Show dropdown menu */
  .header .dropdown__item:hover .dropdown__menu {
    opacity: 1;
    top: 5.5rem;
    pointer-events: initial;
    transition: top .3s;
  }

  /* Show dropdown submenu */
  .header .dropdown__subitem:hover > .dropdown__submenu {
    opacity: 1;
    top: 0;
    pointer-events: initial;
    transition: top .3s;
  }
}

/* End Header */
.hehe {
  height: 93px;
}

/* section 1 */
.background {
  background-image: url(../images/background.png);
  background-size: cover;
  width: 100%;
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-position: center;
  color: var(--color-text-2);
  font-size: 80px;
  flex-direction: column;
}

.gach_duoi {
  border-top: 5px solid var(--color-text-2);
  width: 70px;
}

/* end section 1 */

/* section 2 */
.bo_loc_nhanh {
  display: flex;
  justify-content: space-between;
  box-shadow: 0 0 5px 0;
  margin-bottom: 70px;
  max-height: 40px;
  align-items: center;
}

.ten {
  padding-left: 0;
  display: flex;
  font-size: 24px;
  margin: 0px 15px;
}

.lua_chon_loc {
  list-style: none;
  margin: 5px 10px;
  font-size: 24px;
}

.lua_chon_loc:hover {
  color: var(--color-main);
}


.dropdownn {
  display: inline-block;
  border: none;
}


.dropdownn input {
  display: block;
  color: black;
  text-decoration: none;
  padding: 10px 15px;
  width: 110px;
  margin-top: 2px;
  border-radius: 8px;

}

.dropdownn button {
  background-color: hsl(0, 0%, 100%);
  border: none;
  margin: auto;
}

.dropdownn button:hover {
  color: var(--color-main)
}

.dropdownn .content {
  display: none;
  position: absolute;
  background-color: none;
  min-width: 50px;
  box-shadow: 0 0 5px 0;
  padding: 3px;
  border-radius: 8px;
  margin-top: 3px;
}

.search-bar button{
  border-radius: 100%;
  height: 40px;
  border: none;
  background-color: #fff;
}

.search-bar button :hover{
  color: var(--color-main);

}

.search-barhaha{
  padding-left: 20px;
  border-radius: 30px;
  height: 30px;
  display: none;
}
/* 

/* end section 2 */

/* section 3-sảm phẩm */
.product {
  width: 280px;
  display: flex;
  flex-direction: column;
}

.box {
  transition: all 0.5s;
  margin: 45px auto;
  display: flex;
  flex-direction: column;
}

.box:hover {
  margin-top: -10px;
}

.box .nd {
  width: 100%;
  width: 280px;
}

.box img {
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  width: 280px;
}

.inner-title {
  font-size: 25px;
  font-weight: 400;
}

.inner-desc {
  font-size: 15px;
  font-weight: 400;
  margin-bottom: 5px;
  margin-top: 10px;
}

.nd {
  text-align: center;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  box-shadow: 0 0 5px 0;
  height: 100px;
  columns: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.product-name {
  font-size: 25px;
  color: var(--color-text-1);
}

.so-sp {
  font-size: 15px;
  color: #00000071;
}

/* end section 3 */

/* section 4 */
.so-trang {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 50px;
}

.next-previous {
  border-radius: 7px;
  border: 1px solid black;
  margin: 0 20px;
  padding: 0 10px;
}

/* end section 4 */
/* Footer */
.footer {
  position: relative;
  background: var(--color-main);
  padding: 10px;
}

.footer .footer-box-1 {
  margin-left: 100px;
}

.footer .footer-box-1 .footer-box-1-img {
  background: #fff;
  padding: 10px;
  display: inline-block;
  margin-top: 30px;
}

.footer .footer-box-1 .footer-box-1-img img {
  width: auto;
  height: 30px;
}

.footer .footer-box-1 .footer-box-1-content-1 {
  color: var(--color-text-2);
  font-size: 24px;
  opacity: 0.85;
  font-weight: 500;
  font-family: var(--font);
  margin-top: 30px;
  margin-bottom: 5px;
}

.footer .footer-box-1 .footer-box-1-content-2 {
  color: var(--color-text-2);
  font-size: 18px;
  opacity: 0.85;
  font-family: var(--font);
}

.footer .footer-box-1 .footer-box-1-signup-button {
  border: 1px #ffffff89 solid;
  border-radius: 12px;
  padding: 10px 30px;
  background: var(--color-text-2);
  text-align: center;
  display: inline;
  align-items: center;
  transition: all 0.3s;
}

.footer .footer-box-1 .footer-box-1-signup-button a {
  text-align: center;
  color: var(--color-text-1);
  font-size: 20px;
}

.footer .footer-box-1 .footer-box-1-signup-button:hover {
  background: var(--color-highlight);
}

.footer .footer-box-2 {
  margin-left: 70px;
  margin-top: 20px;
}

.footer .footer-box-2 .footer-box-2-inner {
  margin-right: 50px;
}

.footer .footer-box-2 .footer-box-2-inner p {
  color: var(--color-text-2);
  font-size: 18px;
}

.footer .footer-box-2 .footer-box-2-inner p a {
  color: var(--color-text-2);
  font-size: 18px;
}

.footer .footer-box-2 .footer-box-2-inner .underline {
  text-decoration: underline;
}

.footer .footer-box-2 .footer-box-2-inner .footer-box-2-title {
  color: var(--color-text-2);
  font-size: 30px;
  font-weight: 600;
}

.footer .footer-box-2 .footer-box-2-inner .footer-box-2-icon a {
  font-size: 22px;
  margin-right: 15px;
  color: var(--color-text-2);
}

.footer .footer-navbar {
  content: "";
  background: var(--color-text-2);
  width: calc(100% - 170px);
  height: 0.5px;
  position: absolute;
  bottom: 35px;
  margin-left: 100px;
}

.footer .footer-cs {
  color: var(--color-text-2);
  margin-left: 100px;
}

/* End Footer */

.haha{
  display: none;
}

@media (max-width: 1199.98px) {
  
}

@media (max-width: 991.98px) {
  
}

@media (max-width: 850.98px) {
  .lua_chon_loc{
    font-size: 20px;
  }
}

@media (max-width: 767.98px) {
  .background{
    font-size: 70px;
  
  }
  .ten{
    font-size: 15px;
  }
  .lua_chon_loc{
    font-size: 18px;
  }
}


@media (max-width: 657.98px) {
  .acd{
    display: none;
  }
  .haha{
    display: inline;
  }
}

@media (max-width: 575.98px) {
  .background{
    font-size: 60px;
  
  }
  .acd{
    display: none;
  }
  .hehe{
    height: 55px;
  }
  .haha{
    display: inline;
  }
}



.chat-box {
  width: 300px;
  height: 350px;
  background-color: #fff;
  overflow: hidden;
  border-radius: 10px;
  position: relative;
  margin-left: 84%;
  margin-bottom: 50px;
  z-index: 99;
  box-shadow: 2px 1px 3px 2px rgba(0, 0, 0, 0.356);
  display: none;
}


/* about client */

.client {
  display: flex;
  justify-content: start;
  align-items: center;
  height: 80px;
  background-color: #77b3d4;
  padding: 15px;
}

.client img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

.client-info {
  color: #fff;
  padding: 12px;
}

.client-info p {
  color: #008000;
  font-weight: bold;
  font-size: 0.8em;
}


/* chat section */

.chats {
  width: 100%;
  padding: 0 12px;
  color: #fff;
  position: relative;
  font-size: 0.9em;
}

.client-chat {
  width: 60%;
  word-wrap: break-word;
  background-color: #4f5d73c7;
  padding: 7px 10px;
  border-radius: 10px 10px 10px 0;
  margin: 10px 0;
}

.my-chat {
  width: 60%;
  word-wrap: break-word;
  background-color: #77b3d4c7;
  padding: 7px 10px;
  border-radius: 10px 10px 0 10px;
  margin: 5px 0 5px auto;
}


/* input section */

.chat-input {
  display: flex;
  align-items: center;
  width: 100%;
  height: 65px;
  background-color: #fff;
  padding: 15px;
  overflow: hidden;
  position: absolute;
  bottom: 0;
}

.chat-input input {
  width: calc(100% - 40px);
  height: 100%;
  background-color: #4f5d7321;
  border-radius: 50px;
  color: #000;
  font-size: 12px;
  padding: 0 15px;
  border: none;
}

.send-btn {
  width: 40px;
  height: 40px;
  background-color: transparent;
  overflow: hidden;
  position: relative;
  margin-left: 5px;
  cursor: pointer;
  transition: 0.4s ease-in-out;
  border: none;
}

.send-btn:active {
  transform: scale(0.85);
}

.send-btn img {
  width: 100%;
  height: 100%;
}


/* chat box button section */

.chat-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #fff;
  cursor: pointer;
  overflow: hidden;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
}

.chat-btn img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  position: absolute;
  top: 0;
  left: 0;
  padding: 5px;
  transition: 0.4s ease-in-out;
}

.chat-btn:hover img {
  transform: rotate(30deg);
}