@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
:root{
  --white-color: #fff;
  --black-color: #000;
  --link-color: #356997;
  --gray-color: #5F6D7A;
  --green-color: #07772D ;
  --blue-color: #0935DB;
  --background-color: #F8F8F8;
  --border-color: #EBEDEF;
  --main-green-color: #34D599;
  --light-green-color: #D3FFEE;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  outline: none;
  text-decoration: none;
}

html {
  box-sizing: border-box;
  scroll-behavior: smooth;
  scrollbar-width: none;
  font-family: "Inter", sans-serif;
  /* user-select: none; */
  font-size: 62.5%;
}

a {
  color: inherit;
}
a:visited {
  color: inherit;
}

/* ---------------------------------------------------------------- */
/* PRELOADER */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.boxes {
  --size: 32px;
  --duration: 800ms;
  height: calc(var(--size) * 2);
  width: calc(var(--size) * 3);
  position: relative;
  transform-style: preserve-3d;
  transform-origin: 50% 50%;
  margin-top: calc(var(--size) * 1.5 * -1);
  transform: rotateX(60deg) rotateZ(45deg) rotateY(0deg) translateZ(0px);
}

.boxes .box {
  width: var(--size);
  height: var(--size);
  top: 0;
  left: 0;
  position: absolute;
  transform-style: preserve-3d;
}

.boxes .box:nth-child(1) {
  transform: translate(100%, 0);
  animation: box1 var(--duration) linear infinite;
}

.boxes .box:nth-child(2) {
  transform: translate(0, 100%);
  animation: box2 var(--duration) linear infinite;
}

.boxes .box:nth-child(3) {
  transform: translate(100%, 100%);
  animation: box3 var(--duration) linear infinite;
}

.boxes .box:nth-child(4) {
  transform: translate(200%, 0);
  animation: box4 var(--duration) linear infinite;
}

.boxes .box>div {
  --background: #5C8DF6;
  --top: auto;
  --right: auto;
  --bottom: auto;
  --left: auto;
  --translateZ: calc(var(--size) / 2);
  --rotateY: 0deg;
  --rotateX: 0deg;
  position: absolute;
  width: 100%;
  height: 100%;
  background: var(--background);
  top: var(--top);
  right: var(--right);
  bottom: var(--bottom);
  left: var(--left);
  transform: rotateY(var(--rotateY)) rotateX(var(--rotateX)) translateZ(var(--translateZ));
}

.boxes .box>div:nth-child(1) {
  --top: 0;
  --left: 0;
}

.boxes .box>div:nth-child(2) {
  --background: #145af2;
  --right: 0;
  --rotateY: 90deg;
}

.boxes .box>div:nth-child(3) {
  --background: #447cf5;
  --rotateX: -90deg;
}

.boxes .box>div:nth-child(4) {
  --background: #DBE3F4;
  --top: 0;
  --left: 0;
  --translateZ: calc(var(--size) * 3 * -1);
}

@keyframes box1 {

  0%,
  50% {
    transform: translate(100%, 0);
  }

  100% {
    transform: translate(200%, 0);
  }
}

@keyframes box2 {
  0% {
    transform: translate(0, 100%);
  }

  50% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(100%, 0);
  }
}

@keyframes box3 {

  0%,
  50% {
    transform: translate(100%, 100%);
  }

  100% {
    transform: translate(0, 100%);
  }
}

@keyframes box4 {
  0% {
    transform: translate(200%, 0);
  }

  50% {
    transform: translate(200%, 100%);
  }

  100% {
    transform: translate(100%, 100%);
  }
}

/* ---------------------------------------------------------------- */
/* ---------------------------------------------------------------- */
/* ---------------------------------------------------------------- */
/* HEADER */
header{
  width: 100%;
}

#overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  display: none;
  z-index: 997;
}

/* HEADER CONTENT */
.header__content{
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 32px;
  z-index: 999;
  background-color: var(--white-color);
}

.header__logo img{
  width: 160px;
}

/* HEADER SEARCH */
.header__search{
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 32px;
  width: 70%;
  font-size: 1.6rem;
  margin:0 10px;
}

.header__search select{
  padding: 0 16px;
  cursor: pointer;
  height: 100%;
  border: none;
  border-radius: 4px 0 0 4px;
  box-shadow: 0 0 1px 0 rgba(0, 0, 0, 0.5);
}

.header__search input{
  position: relative;
  cursor: pointer;
  padding: 0 20px;
  height: 100%;
  width: 100%;
  border: none;
  border-radius: 0 4px 4px 0;
  box-shadow: 0 0 1px 0 rgba(0, 0, 0, 0.5);
}
.header__search input::placeholder{
  color: #C2C5C7;
}

.header__search>i{
  position: absolute;
  right: 10px;
  cursor: pointer;
  border-radius: 0 4px 4px 0;
}

.search-results {
  margin-top: 2px;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: white;
  border: 1px solid var(--border-color);
  max-height: 300px;
  overflow-y: auto;
  display: none;
  z-index: 1000 ;
}

.search-result {
  display: flex;
  align-items: center;
  padding: 10px 50px;
  cursor: pointer;
}

.search-result:hover {
  background-color: #f0f0f0;
}

.search-result img {
  width: 50px;
  height: 70px;
  object-fit: cover;
  margin-right: 10px;
}

.search-result-info {
  display: flex;
  flex-direction: column;
}

.card-name {
  font-weight: bold;
}

.card-details {
  font-size: 0.8em;
  color: #666;
}
.search-result.active {
  background-color: #f0f0f0;
}


/* ---------------------------------------------- */
/* HEADER ACTION */
.header__action{
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: right;
  font-size: 1.2rem;
  font-weight: 600;
  min-width: 360px;
}
.header__welcome {
  color: var(--gray-color);
  margin-right: 10px;
}
.header__welcome p{
  color: var(--black-color);
}
.header__signin{
  padding: 6px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  border-radius: 4px;
  background-color: #1A65A5;
  color: var(--white-color) !important;
  cursor: pointer;
  margin-right: 10px;
}
.header__signin:hover{
  opacity: 0.95;
}

/* HEADER USER */
.header__user{
  position: relative;
  cursor: pointer;
  height: 100%;
  width: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  border: 1px solid rgb(0, 0, 0, 0.1);
  margin-right: 10px;
}
.header__user:hover{
  border: 1px solid rgb(0, 0, 0, 0.3);
}
.header__user-menu{
  display: none;
  position: absolute;
  top: calc(100% + 5px);
  right: 0;
  background-color: var(--white-color);
  padding: 15px;
  border-radius: 4px;
  border: 1px solid var(--border-color);
}
.header__user-menu>span>p{
  color: #698FB1 !important;
}

.user__menu__list{
  display: flex;
}

.user__menu__list h4{
  margin-bottom: 10px;
  font-size: 1.6rem;
}
.user__menu__list ul{
  width: 200px;
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
}
.user__menu__list ul li { 
  color: #0f0f0f ;
  font-weight: normal;
  margin-bottom: 10px;
  font-size: 1.38rem;
}
.user__menu__list a:hover {
  text-decoration: underline;
  color: var(--link-color);
}
.user__menu__right{
  border-left: 1px solid var(--border-color);
  padding-left: 15px;
}


.header__sell{
  cursor: pointer;
  padding: 6px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  border-radius: 4px;
  margin-right: 10px;
}
.header__sell:hover{
  background-color: var(--background-color);
}

.header__cart{
  height: 32px;
  cursor: pointer;
  border-radius: 4px;
  border: 1px solid rgb(0, 0, 0, 0);
}
.header__cart a{
  height: 100%;
  width: 32px;
  padding: 7px 26px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.header__cart:hover{
  border: 1px solid rgb(0, 0, 0, 0.2);
  opacity: 0.95;
}
.header__cart #cart-count{
  background-color: var(--blue-color);
  color: var(--white-color);
  padding:2px 7px;
  border-radius: 45%;
  margin-left: 5px;
}


/* ---------------------------------------------- */
/* HEADER NAVBAR */
.header__navbar{
  padding: 5px 32px 0 12px;
  width: 100%;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: left;
  background-color: var(--black-color);
  position: relative;
  z-index: 998;
}

.header__list{
  display: flex;
  height: 100%;
}

.header__list>li{
  padding: 0 25px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--white-color);
  font-size: 1.4rem;
  font-weight: 600;
  white-space: nowrap;
  font-size: 1.6rem;
  position: relative;
  border-radius: 4px 4px 0 0;
}
.header__list>li:hover{
  opacity: 0.9;  
}

.header__list>li i{
  font-size: 1.1rem;
  margin-left: 10px;
  color: var(--main-green-color);
}
.header__list > li.active {
  opacity: 1;
  background-color: var(--background-color);
  color: var(--black-color);
}

.header__list > li.active i {
  color: var(--black-color);
}

.header__list > li {
  position: relative;
  z-index: 999;
}

.header__list > li.custom-position {
  position: relative;
}

.header__list > li.custom-position .header__submenu {
  right: 0;
  left: auto;
}

.header__list > li.custom-position:nth-child(5) .header__submenu {
  right: -100px;
}

.header__list > li.custom-position:nth-child(6) .header__submenu {
  right: -200px;
}

.header__list > li.custom-position:nth-child(7) .header__submenu {
  right: -300px;
}

.header__list > li.custom-position:nth-child(8) .header__submenu {
  right: -300px;
}
/* ---------------------------------------------- */
/* HEADER SUBMENU */
.header__submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--white-color);
  min-width: 400px;
  border-radius: 0 0 4px 4px;
  display: none;
  z-index: 1000;
  color: var(--black-color);
  cursor: text;
}
.header__sub__title{
  background-color: var(--background-color);
  padding: 25px 25px 15px 25px;
  display:flex;
  align-items: flex-end; 
}
.header__sub__title h3{
  margin-right: 25px;
}

.header__sub__cnt{
  padding: 0  0 0 25px;
  display: flex;
}

.header__sub__cnt__left{
  width: 250px;
  padding: 10px 25px 50px 0;
}
.header__sub__cnt__left h4{
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
}
.header__sub__cnt__left li a {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.4rem;
  text-decoration: none;
  display: block;
  line-height: 35px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.header__sub__cnt__left li a:hover{
  text-decoration: underline;
  color: var(--link-color);
}

.header__sub__cnt__mid{
  width: 250px;
  padding: 10px 25px 50px 0;
  border-right: 1px solid var(--border-color);
}
.header__sub__cnt__mid h4{
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
}

.header__sub__cnt__mid li a {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.4rem;
  text-decoration: none;
  display: block;
  line-height: 35px;
}

.header__sub__cnt__right{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.header__sub__cnt__right--top{
  padding: 10px 20px 0 20px;
}

.header__sub__cnt__right--img{
  width: 250px;
  object-fit: cover;
  border-radius: 4px;
}
.header__sub__cnt__right--img img{
  width: 100%;
  object-fit: cover;
  border-radius: 4px;
}
.header__sub__cnt__right h4{
 margin-top: 5px;
}
.header__sub__cnt__right--top button{
  margin: 20px 0;
  width: 100%;
  padding: 8px 16px;
  border-radius: 2px;
  font-size: 1.2rem;
  font-weight: 600;
  border: 1px solid var(--border-color);
  cursor: pointer;
  color: var(--white-color);
  background-color:#13725b;
  border: 1px solid #13725b;
}
.header__sub__cnt__right--top button:hover{
 background-color: #095546;
}

.header__sub__cnt__right--bottom{
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.header__sub__cnt__right--bottom button{
  text-align: center;
  cursor: pointer;
  width: 100%;
  padding: 8px 16px;
  border-radius: 2px;
  font-size: 1.2rem;
  font-weight: 600;
}
.header__sub__cnt__right--bottom button:hover, 
.header__sub__cnt__right--bottom button:hover i {
  color: var(--white-color) !important;
}
.header__sub__cnt__right--bottom--price i{
  position: absolute;
  top: 50%;
  left: 67px;
  transform: translate(-50%, -50%);
  color: #13725b !important;
  margin-right: 10px;
}
.header__sub__cnt__right--bottom--search i{
  position: absolute;
  top: 50%;
  left: 50px;
  transform: translate(-50%, -50%);
  color: #145488 !important;
  margin-right: 10px;
}

.header__sub__cnt__right--bottom--price{
  position: relative;
  border: 1px solid #13725b;
  color: #13725b;
}
.header__sub__cnt__right--bottom--search{
  position: relative;
  margin-top: 5px;
  border: 1px solid #145488;
  color: #145488;
}
.header__sub__cnt__right--bottom--price:hover{
  background-color: #095546;
}
.header__sub__cnt__right--bottom--search:hover{
  background-color: #135488;
}

/* --------------------------------------------------- */
/* --------------------------------------------------- */
/* --------------------------------------------------- */
/* FOOTER */
footer{
  width: 100%;
}

.footer__banner{
  height: 65px;
  background-color: #1A65A5;
  color: var(--white-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer__banner-content{
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.footer__banner-content span{
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.footer__banner-content p{
  font-weight: 600;
  font-size: 2.2rem;
}
.footer__banner i{
  font-size: 3.4rem;
  padding: 10px;
}

/* FOOTER CONTENT */
.footer__content{
  display: flex;
  padding: 32px;
}

.footer__content-item{
  line-height: 24px;
  font-size: 1.3rem;
  display: flex;
  flex-direction: column;
  width: 16%;
}

.footer__content-item span{
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer__content-item h2{
  margin-bottom: 16px;
  font-size: 1.6rem !important;
}

/* FOOTER CONNECT */
.footer__connect{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px;
}
.footer__connect-item{
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.3rem;
  color: #7B7F87;
  opacity: 0.8;
}
.footer__connect-social i{
  margin-right: 10px;
  cursor: pointer;
}

.footer__connect-social i:hover{
  opacity: 1;
}

.footer__connect-payment i{
  cursor: pointer;
  margin-left: 10px;
  color: var(--white-color);
  background-color: #7B7F87;
  padding: 0 16px;
  border-radius: 4px;
}

.footer__copyright{
  border-top: 1px solid  var(--border-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px;
}

.footer__copyright span{
  font-size: 1rem;
}

/* ---------------------------------------------------------------- */
/* ---------------------------------------------------------------- */
/* ---------------------------------------------------------------- */
/* HEADER RESPONSIVE */
@media (max-width: 1024px) {
  .header__content {
    flex-direction: column;
    align-items: stretch;
  }
  .header__navbar{
    display: none;
  }
  .header__search {
    width: 100%;
    margin: 10px 0;
  }
  .header__action {
    width: 100%;
    justify-content: space-around;
  }
  .header__list {
    flex-wrap: wrap;
  }
  .header__list li {
    padding: 10px 20px;
  }
}


@media (max-width: 768px) {
  .header__mobile-menu {
    padding: 2px 6px;
    display: block;
    position: absolute;
    top: 20px;
    right: 36px;
    border: 1px solid transparent;
    border-radius: 4px;
  }
  .header__mobile-menu:hover{
    border: 1px solid rgb(0, 0, 0, 0.2);
  }
}
.header__mobile-menu {
  display: none;
  font-size: 2rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  .header__notice {
    font-size: 1.2rem;
  }
  .header__logo img {
    width: 120px;
  }
  .header__search select {
    display: none;
  } 
  .header__action {
    flex-wrap: wrap;
  } 
  .header__list {
    display: none;
  }
  .footer__connect {
    flex-direction: column;
    align-items: center;
  }
  .footer__connect-item {
    margin-bottom: 20px;
  }
  .header__navbar{
    display: none;
  }
  .footer__content{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}
