@charset "UTF-8";

/* header */
.cp-header-top {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99;
  width: 100%;
}

/*  */
.cp-quick-link {
  position: relative;
  z-index: 2;
  height: 35px;
  line-height: 35px;
  background-color: var(--color-bg-body);
}

.cp-quick-link .cp-container.flex {
  justify-content: space-between;
}

.cp-quick-link ul li {
  position: relative;
  z-index: 1;
  padding: 0 10px;
}

.cp-quick-link ul li:first-child::before {
  display: none;
  padding-left: 0;
}

.cp-quick-link ul li::before {
  position: absolute;
  top: 10px;
  left: 0;
  content: "";
  width: 1px;
  height: 14px;
  background-color: #dedede;
}

.cp-quick-link .cp-top-left ul li:first-child {
  padding-left: 0;
}
.cp-quick-link .cp-top-right ul li:last-child {
  padding-right: 0;
}

@media (max-width: 768px) {
  .cp-quick-link {
    display: none;
  }
}

/*  */
.cp-header-bottom {
  position: relative;
  z-index: 1;
  background-color: var(--color-secondary-white);
}
.cp-header-bottom .cp-container.flex {
  position: relative;
  z-index: 1;
  justify-content: space-between;
  align-items: center;
}
/*  */
.cp-header-bottom .cp-left.flex {
  align-items: center;
}
/* navbar */
.cp-header-navBar {
  display: none;
}
/* logo */
.cp-header-logo img {
  height: 28px;
}

/* mycart */
.cp-header-mycart a {
  position: relative;
  z-index: 1;
  display: flex;
  line-height: 40px;
  height: 40px;
  padding: 0 20px;
  background-color: var(--color-bg-body);
  border-radius: 40px;
  overflow: hidden;
}
.cp-header-mycart a i {
  display: inline-block;
  margin-right: 12px;
  font-size: 24px;
}
.cp-header-mycart a span {
  position: absolute;
  top: 5px;
  left: 37px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  background-color: var(--color-primary);
  color: #fff;
  border-radius: 30px;
  font-size: 0.6rem;
}

/*  */
.cp-header-search {
  margin-right: 15px;
}
.cp-header-search a {
  position: relative;
  z-index: 1;
  display: flex;
  line-height: 40px;
  height: 40px;
  padding: 0 20px;
  background-color: var(--color-primary);
  color: #fff;
  border-radius: 40px;
  overflow: hidden;
}
.cp-header-search a i {
  display: inline-block;
  margin-right: 5px;
  font-size: 18px;
  color: #fff;
}

/*  */
.cp-header-space {
  height: 95px;
}

/*  */
@media (max-width: 1480px) {
  .cp-quick-link .cp-container.flex,
  .cp-header-bottom .cp-container.flex {
    width: 100%;
  }
}

@media (max-width: 985px) {
  /* mycart */
  .cp-header-mycart a {
    padding: 0 10px;
  }

  .cp-header-mycart a i {
    margin-right: 8px;
    font-size: 18px;
  }

  .cp-header-mycart a span {
    left: 21px;
  }

  .cp-header-search {
    margin-right: 10px;
  }
  .cp-header-search a {
    padding: 0 10px;
  }
  .cp-header-search a i {
    margin-right: 5px;
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .cp-header-navBar {
    position: relative;
    z-index: 1;
    display: flex;
    width: 25px;
    height: 50px;
    margin-right: 15px;
    border: none;
    background-color: transparent;
  }

  .cp-header-navBar span {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--color-text-title);
  }

  .cp-header-navBar span::before,
  .cp-header-navBar span::after {
    position: absolute;
    top: 50%;
    left: 0;
    content: "";
    width: 100%;
    height: 1px;
    background-color: var(--color-text-title);
  }

  .cp-header-navBar span::before {
    top: -8px;
  }
  .cp-header-navBar span::after {
    top: 8px;
  }
  .cp-header-mycart {
    display: none;
  }

  .cp-header-search {
    margin-right: 0;
  }
  .cp-header-search a {
    line-height: 32px;
    height: 32px;
  }

  .cp-header-search a i {
    font-size: 14px;
  }

  .cp-header-space {
    height: 50px;
  }
}

/* burger */
.cp-burger-popup {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 3378;
  width: 100%;
  height: 100%;
  padding: 60px 10px 100px 15px;
  background-color: #fff;
  opacity: 0;
  transform: translateX(120px);
  visibility: hidden;
  transition: 0.3s;
}

/*  */
.cp-burger-head {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50px;
  padding: 0 15px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e5e5e5;
}

/* close */
.cp-burger-close {
  position: relative;
  z-index: 1;
  width: 32px;
  height: 100%;
  margin-right: 15px;
  border: none;
  background-color: transparent;
}

.cp-burger-close span {
  position: absolute;
  top: 24px;
  left: 0;
  width: 25px;
  height: 1px;
  background-color: #000;
}

.cp-burger-close span:first-child {
  transform: rotate(45deg);
}

.cp-burger-close span:last-child {
  transform: rotate(-45deg);
}

/*  */
.cp-burger-link ul li {
  margin-left: 10px;
}
.cp-burger-link ul li a {
  display: inline-flex;
  align-items: center;
  line-height: 24px;
}

.cp-burger-link ul li a i {
  display: inline-block;
  margin-right: 4px;
}

/*  */
.cp-burger-body {
  height: 100%;
  overflow-y: auto;
}

/* cp-burger-menus */
.cp-burger-menus {
  position: relative;
  height: 100%;
  padding-right: 5px;
}

.cp-burger-menus > ul > li {
  position: relative;
  border-bottom: 1px solid #eee;
}
.cp-burger-menus > ul > li > a {
  font-size: 16px;
  line-height: 45px;
  text-transform: uppercase;
}

.cp-burger-menus > ul > li:last-child {
  border-bottom: none;
}

/*  */

.cp-burger-menus > ul ul.sub-menu {
  display: none;
}

.cp-burger-menus > ul ul.sub-menu li a {
  display: flex;
  align-items: center;
  line-height: 35px;
  font-size: 12px;
}

.cp-burger-menus > ul ul.sub-menu li a img {
  width: 30px;
}

/*  */
.cp-burger-menus li.menu-item-has-children {
  position: relative;
}
.cp-burger-menus li.menu-item-has-children::before,
.cp-burger-menus li.menu-item-has-children::after {
  position: absolute;
  right: 0;
  content: "";
  background-color: var(--color-text-title);
}

.cp-burger-menus li.menu-item-has-children::before {
  top: 21px;
  right: 0;
  width: 13px;
  height: 1px;
}
.cp-burger-menus li.menu-item-has-children::after {
  top: 21px;
  right: 6px;
  width: 1px;
  height: 13px;
  margin-top: -6px;
}

.cp-burger-menus li.menu-item-has-children.active::after {
  height: 0;
}

/* cp-burger-footer */

.cp-burger-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 10px 0;
}

.cp-burger-footer ul li {
  flex: 1;
  text-align: center;
}

.cp-burger-footer ul li i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: 20px;
  border-radius: 50%;
  background-color: var(--color-bg-body);
  overflow: hidden;
}

.cp-burger-footer ul li i img {
  width: 100%;
}

.cp-burger-footer ul li p {
  margin-top: 6px;
}

/* active */
.cp-burger-popup.active {
  opacity: 1;
  transform: translateX(0);
  visibility: visible;
}
