:root {
  --feFontFamily: 'ManRope';
  --feColorMain: #ea5e55;
  --feColorSub1: #303030;
  --feColorSub2: #ced4da;
}

a {
  color: var(--feColorSub1);
  text-decoration: none;
}

html {
  font-size: 10px;
}

body {
  font-family: var(--feFontFamily);
  font-size: 1.4rem;
  background-color: #fff9f5;
  overflow: overlay;
}

img {
  width: 100%;
  height: auto;
}

input:focus {
  box-shadow: none !important;
}

/* Header **************************************************************/
#header {
  padding: 0;
  background-color: #ffffff;
  box-shadow: inset 0px -2px 0px rgb(199 197 197 / 25%);
}

#header hr {
  margin: 0;
  border-bottom: 2px solid #e4e9f0;
}

#header-cl1 {
  padding: 8px 15px;
}

#header-cl1 ul {
  display: flex;
  padding-left: 0;
  margin-bottom: 0;
  font-size: 1.3rem;
  font-weight: 500;
  list-style-type: none;
}

#header-cl1 ul li:not(:last-of-type) {
  padding-right: 15px;
  margin-right: 15px;
}

#header-cl1 ul li.active a {
  font-weight: 500;
}

#header-cl1 ul li.active a {
  color: var(--feColorMain) !important;
}

#header-cn2.fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #ffffff;
  box-shadow: inset 0px -2px 0px rgb(199 197 197 / 25%);
  z-index: 1500;
}

#header-cl2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0 16px 0;
}

#header-cl2 .logo {
  margin-right: 8px;
}

#header-cl2 .logo img {
  margin-right: 28px;
  width: auto;
  height: 39px;
}

#header-cl2 .cart-quanlity:hover,
#header-cl2 .notification:hover {
  background-color: #cfd4dc;
}

#header-cl2 .middle-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1 0 50%;
}

#header-cl2 .middle-block .tippy-box {
  min-width: 400px;
}

#header-cl2 .middle-block .input-block {
  padding: 2px 0;
}

#header-cl2 .middle-block .search-box {
  width: calc(100% - 170px);
}

#header-cl2 .middle-block .cart-quanlity {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10.5px 14px 10.5px 14px;
  margin-right: 12px;
  width: 155px;
  font-size: 1.2rem;
}

#header-cl2 .middle-block .cart-quanlity img {
  margin-right: 6px;
}

#header-cl2 .right-block {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 210px;
  font-size: 1.3rem;
}

#header-cl2 .right-block .notification {
  padding: 10px 11px;
  margin-right: 12px;
}

#header-cl2 .right-block .account-register {
  cursor: pointer;
}

#header-cl2 .right-block .account-login {
  padding: 9.5px 13px;
  min-width: 150px;
  border: 1px solid #a5adbb;
  border-radius: 10px;
  cursor: pointer;
}

#header-cl2 .right-block .account-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

#header-cl2 .right-block .account-info img {
  margin-right: 4px;
  width: 40px;
  height: 40px;
  border: 1px solid #a5adbb;
  border-radius: 10px;
}

#header-cl2 .right-block .account-info .name {
  width: 85px;
  color: #565f67;
  font-weight: 600;
}

#header-cl2 .right-block .account-info .name:after {
  content: '\f107';
  margin-left: 5px;
  color: #151515;
  font-family: Awesome;
  font-weight: 700;
}

/* Body ****************************************************************/
#body {
  min-height: 100vh;
}

/* Footer **************************************************************/
#footer {
  padding: 60px 15px;
  font-size: 1.6rem;
  background-color: #fff3eb;
}

#footer .title {
  display: block;
  margin-bottom: 20px;
  color: #151515;
  font-weight: 700;
}

#footer ul {
  padding: 0;
  margin: 0;
  list-style-type: none;
}

#footer ul li {
  padding: 4px 0;
}

#footer ul li a {
  display: flex;
  align-items: center;
  color: #565f67 !important;
  font-weight: 500;
}

#footer ul li a .icon {
  margin-right: 10px;
  width: 30px;
  height: 30px;
  line-height: 30px;
  border-radius: 6px;
  text-align: center;
}

#footer ul li a span {
  font-weight: 600;
}

#footer-cl1 {
  display: flex;
  justify-content: space-between;
}

#footer-cl1 img {
  width: 60px;
  height: 80px;
}

#footer-cl1 .menu-block {
  width: calc(100% - 88px);
}

#footer-cl2 {
  display: flex;
  flex-direction: column;
}

#footer-cl2 img {
  margin-top: 8px;
  max-width: 100%;
  width: 160px;
  height: 52px;
}

#footer-cl5 .social-list li {
  display: inline-block;
  padding: 8px 19px;
  background-color: #ffffff;
}

#footer-cl5 .social-list li a {
  color: #565f67 !important;
  font-size: 12px;
  font-weight: 500;
}

#footer-cl5 .social-list li a:before {
  content: '\f09a';
  margin-right: 8px;
  color: #565f67;
  font-family: Awesome;
  font-size: 14px;
}

#footer-cl6 .payment-block {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 130px;
}

#footer-cl6 .payment-block img {
  align-items: flex-start;
  margin-bottom: 8px;
  width: 60px;
  height: 30px;
  border-radius: 4px;
}

/* CopyRight ***********************************************************/
#copyright {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 15px;
  background-color: #ffffff;
}

#copyright img {
  margin-bottom: 25px;
  width: auto;
  height: 59px;
}

#copyright h1 {
  font-size: 1.6rem;
  font-weight: 700;
  text-transform: uppercase;
}

#mobile-home-menu,
#mobile-product-menu,
#mobile-bill-menu,
#mobile-cart-menu {
  display: none;
}

/* Search Result *******************************************************/
#search-dropdown.show {
  display: flex;
  flex-direction: column;
  padding: 19px 0;
  width: calc(100% - 36px);
  max-height: 300px;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.25);
  border-radius: 12px;
  font-size: 1.4rem;
  overflow-y: auto;
}

#search-dropdown .group-title {
  padding: 0 24px;
  margin-bottom: 15px;
  color: #6e798c;
  font-weight: 500;
}

#search-dropdown .group-item {
  display: flex;
  flex-direction: column;
  margin-bottom: 25px;
}

#search-dropdown .group-item:last-of-type {
  margin-bottom: 0;
}

#search-dropdown .group-item .keyword {
  padding: 5px 24px;
  color: #151515;
}

#search-dropdown .group-item .keyword:before {
  content: '\f002';
  margin-right: 14px;
  font-family: Awesome;
  font-size: 18px;
}

#search-dropdown .group-item .keyword:hover {
  background-color: #ced4da;
}

#search-dropdown .group-item .product {
  display: flex;
  align-items: center;
  padding: 5px 24px;
  margin-bottom: 15px;
  color: #151515;
}

#search-dropdown .group-item .product img {
  margin-right: 12px;
  width: 46px;
  height: 46px;
}

/* Account Modal *******************************************************/
#account-modal .modal-content {
  border-radius: 12px;
}

#account-modal .modal-header {
  padding: 0;
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
}

#account-modal .modal-header img {
  border-radius: 12px 12px 0 0;
}

#account-modal .modal-header .close-button {
  position: absolute;
  top: 14px;
  right: 14px;
  color: #ffffff;
  background-color: #565f67;
}

#account-modal .modal-body {
  padding: 20px 0 35px 0;
}

#account-modal .modal-body .login-block {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#account-modal .modal-body .login-block .title {
  font-size: 16px;
  font-weight: 600;
}

#account-modal .modal-body .login-block .title.style-1 {
  position: relative;
  margin-bottom: 25px;
  width: 100%;
  font-weight: 400;
  font-size: 14px;
  text-align: center;
}

#account-modal .modal-body .login-block .title.style-1:before,
#account-modal .modal-body .login-block .title.style-1:after {
  content: '';
  position: absolute;
  top: 11px;
  left: 0;
  width: calc(50% - 100px);
  height: 1px;
  border: 1px solid #eaedf2;
}

#account-modal .modal-body .login-block .title.style-1:after {
  left: auto;
  right: 0;
}

#account-modal .modal-body .login-block .social-list {
  display: flex;
  justify-content: space-between;
  padding: 0 50px;
  margin: 24px 0;
  width: 100%;
}

#account-modal .modal-body .login-block .social-list img {
  width: calc(50% - 6px);
}

#account-modal .modal-body .login-block .prev-step {
  padding: 0 50px;
  margin-bottom: 10px;
  width: 100%;
  color: #4481eb;
  font-weight: 600;
  font-size: 16px;
}

#account-modal .modal-body .login-block .prev-step:before {
  content: '\f177';
  margin-right: 8px;
  font-family: Awesome;
  font-weight: 400;
}

#account-modal .modal-body .login-block .notify-text,
#account-modal .modal-body .forgot-block .notify-text {
  padding: 0 50px;
  margin-bottom: 8px;
  width: 100%;
  color: #6e798c;
}

#account-modal .modal-body .login-block .notify-text b {
  color: var(--feColorMain);
  cursor: pointer;
}

#account-modal .modal-body .login-block .email-form {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 50px;
  margin-bottom: 12px;
  width: 100%;
}

#account-modal .modal-body .login-block .email-form input {
  margin-right: 8px;
  height: 44px;
  font-size: 14px;
  border-radius: 4px;
}

#account-modal .modal-body .login-block .send-timeout {
  padding: 0 50px;
  width: 100%;
  color: #151515;
}

#account-modal .modal-body .login-block .send-timeout b {
  color: #6e798c;
}

#account-modal .modal-body .login-block .send-timeout b:after {
  content: 's';
  margin-left: 2px;
}

#account-modal .modal-body .login-block .forgot-password {
  padding: 0 50px;
  width: 100%;
  color: #4481eb;
  font-weight: 600;
}

#account-modal .modal-body .login-block .email-form .button-style-1 {
  width: 175px;
  text-align: center;
}

#account-modal .modal-body .forgot-block {
  display: flex;
  flex-direction: column;
}

#account-modal .modal-body .forgot-block .email-info {
  position: relative;
  display: flex;
  justify-content: space-between;
  padding: 16px 20px 16px 60px;
  margin: 0 auto;
  margin-bottom: 20px;
  width: calc(100% - 100px);
  background-color: #eaedf2;
}

#account-modal .modal-body .forgot-block .email-info img {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 30px;
}

#account-modal .modal-body .forgot-block .email-info .logout {
  display: flex;
  align-items: center;
  width: 125px;
  font-weight: 700;
}

#account-modal .modal-body .forgot-block .email-info .logout:before {
  content: '\f08b';
  margin-right: 5px;
  font-family: Awesome;
  font-size: 16px;
}

#account-modal .modal-body .forgot-block .input-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 50px;
  width: 100%;
}

#account-modal .modal-body .forgot-block .input-block input {
  padding: 0 16px;
  margin-bottom: 8px;
  width: 100%;
  height: 44px;
  font-size: 14px;
  border-radius: 4px;
}

#account-modal .modal-body .forgot-block .input-block .button-style-1 {
  margin-top: 12px;
}

#account-modal .modal-body .notify-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 50px;
  width: 100%;
}

#account-modal .modal-body .notify-block img {
  padding: 12px;
  margin: 0 auto;
  width: 44px;
  heigh: 44px;
  background-color: #c5daff;
  border-radius: 12px;
}

#account-modal .modal-body .notify-block .text {
  margin-bottom: 12px;
  color: #565f67;
  font-size: 16px;
  font-weight: 600;
}

#account-modal .modal-body .notify-block .black {
  color: #151515;
  font-size: 24px;
}

#account-modal .modal-body .notify-block .button-style-1 {
  margin-top: 8px;
}

/* Cart ****************************************************************/
.tippy-content {
  display: flex;
  flex-direction: column;
}

.tippy-content .cart-notify {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 13px;
  margin-bottom: 19px;
  font-weight: 500;
  background-color: rgba(61, 194, 74, 0.2);
  border-radius: 4px;
}

.tippy-content .cart-notify:before {
  content: '\f058';
  margin-right: 8px;
  color: #27ae60;
  font-family: Awesome;
  font-size: 1.8rem;
}

.tippy-content .cart-content {
  padding-right: 10px;
  margin-bottom: 16px;
  max-height: 260px;
  overflow-x: auto !important;
  overflow-y: overlay !important;
  scrollbar-width: thin !important;
  scrollbar-color: var(--feColorMain) !important;
}

.tippy-content .cart-content::-webkit-scrollbar {
  position: absolute !important;
  width: 5px !important;
  height: 5px !important;
}

.tippy-content .cart-content::-webkit-scrollbar-thumb {
  background-color: var(--feColorMain);
}

.tippy-content .cart-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
}

.tippy-content .cart-item:last-of-type {
  margin-bottom: 0;
}

.tippy-content .cart-item img {
  margin-right: 12px;
  width: 120px;
  height: 120px;
  border: 1px solid #a5adbb;
  border-radius: 8px;
}

.tippy-content .cart-item .info-row {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 0 1 calc(100% - 135px);
  color: #565f67;
}

.tippy-content .cart-item .info-row .name {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tippy-content .cart-item .info-row .order {
  display: flex;
  justify-content: space-between;
}

.tippy-content .cart-item .info-row .order .price {
  color: #151515;
  font-weight: 700;
}

.tippy-content .cart-footer {
  display: flex;
  justify-content: space-between;
}

/* Notification Block **************************************************/
.notification-popover .tippy-box,
.notification-popover .tippy-content {
  padding: 0;
}

.notification-popover .nav-tabs {
  padding: 0 24px;
  border-bottom-color: #c4c4c4;
}

.notification-popover .nav-tabs .nav-item {
  padding-left: 16px;
}

.notification-popover .nav-tabs button {
  padding: 19px 0 10px 0;
  color: #6e798c;
  font-weight: 600;
  border: 0;
  border-bottom: 0 solid #c4c4c4 !important;
}

.notification-popover .nav-tabs button.active {
  color: #151515;
  border-bottom: 2px solid #151515 !important;
}

.notification-popover .tab-content {
  padding-bottom: 16px;
  min-height: 117px;
}

.notification-popover .tab-content .notify-item {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 16px;
  padding-left: 60px;
  border-bottom: 1px solid #eaedf2;
}

.notification-popover .tab-content .notify-item:before {
  content: '\f187';
  position: absolute;
  top: 21px;
  left: 16px;
  width: 32px;
  height: 32px;
  line-height: 32px;
  color: #4481eb;
  font-family: Awesome;
  text-align: center;
  background-color: rgba(68, 129, 235, 0.2);
  border-radius: 100%;
}

.notification-popover .tab-content .notify-item:last-of-type {
  border-bottom: 0;
}

.notification-popover .tab-content .notify-item .content {
  margin-bottom: 12px;
  color: #151515;
}

.notification-popover .tab-content .notify-item .time {
  color: #6e798c;
  font-weight: 500;
}

/* Account Tool ********************************************************/
.tippy-content .tool-item {
  display: flex;
  margin-bottom: 22px;
  font-size: 20px;
  font-weight: 500;
  cursor: pointer;
}

.tippy-content .tool-item:last-of-type {
  margin-bottom: 0;
}

.tippy-content .tool-item img {
  margin-right: 15px;
  width: 20px;
}

/* Responsive **********************************************************/
@media screen and (max-width: 991px) {
  /* start of phone styles */
  #header-cl2 {
    position: absolute;
    top: 0;
    left: 0;
    padding: 12px 16px;
    background-color: transparent;
    box-shadow: none;
    z-index: 100;
  }

  #header-cl2 .border-style-1,
  #header-cl2 .input-block-text,
  #header-cl2 input {
    background-color: #ffffff;
  }

  #header-cl2 .middle-block .input-block {
    padding: 3px 0;
  }

  #header-cl2 .middle-block .search-box {
    max-width: 100%;
    width: 100%;
  }

  #header-cl2 input {
    font-weight: 500;
  }

  #header-cl2 .middle-block .cart-quanlity {
    padding: 0;
    margin: 0 6px 0 22px;
    width: 30px;
    background-color: transparent;
  }

  #header-cl2 .middle-block .cart-quanlity img {
    margin: 0;
    width: 20px;
    height: 20px;
    filter: brightness(0%) saturate(1000%) invert(100%) sepia(97%) hue-rotate(62deg) contrast(104%);
  }

  #header-cl2 .middle-block .cart-quanlity .text {
    display: none;
  }

  #header-cl2 .logo,
  #header-cl2 .right-block {
    display: none;
  }

  #header-cl2.product {
    background-color: #ffffff;
  }

  #header-cl2.product .input-block-text,
  #header-cl2.product input {
    background: #eaedf2;
  }

  #header-cl2.product .middle-block .cart-quanlity img {
    filter: unset;
  }

  #body {
    display: block;
    margin-bottom: 25px;
    min-height: 0;
  }

  #footer {
    position: relative;
    margin-bottom: 50px;
  }

  #footer-cl2 {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin: 30px 0 50px 0;
  }

  #footer-cl2 img {
    margin-right: 5px;
    max-width: 45%;
  }

  #footer-cl2 .title {
    flex: 1 0 100%;
    margin-bottom: 10px;
  }

  #footer-cl6 .payment-block {
    flex-wrap: nowrap;
    justify-content: flex-start;
    width: 100%;
  }

  #footer-cl6 .payment-block img {
    align-self: flex-start;
    margin-right: 5px;
    max-width: 22%;
    width: auto;
    height: 40px;
  }

  #copyright {
    display: none;
  }
}

.flash-message{
    position: fixed;
    top: 80px;
    padding: 2rem 3rem;
    border-radius: 0.5rem;
    margin: 0.5rem;
    z-index: 1000000;
    /* border-bottom-style: groove;
    border-right-style: groove;
    border-color: #fff; */
    font-style: oblique;
    left: 50%;
    transform: translateX(-51%);
    width: fit-content;

    animation-name: fdown;
    animation-duration: 2s;
}
@keyframes fdown {
    /* from { opacity: 0; } */
    /* to   { opacity: 1; } */
    0%  {top:50px;}
    10% {top:55px;}
    20% {top:60px;}
    30% {top:65px;}
    40% {top:70px;}
    50% {top:75px;}
    60% {top:80px;}
    70% {top:85px;}
    80% {top:90px;}
    90% {top:85px;}
    100% {top:80px;}
}
.fl-info{
    color: #055160;
    background-color: #cff4fc;
}
.fl-danger{
    color: #fff;
    background-color: #d44436a3;
}
.fl-warning{
    background-color: #da5f6b;
    color: #fff;
}
