/*
 * Custom code goes here.
 * A template should always ship with an empty custom.css
 */

@import url('https://fonts.googleapis.com/css2?family=Itim&display=swap');

.lang-th{
  font-family: "Itim", cursive !important;
  font-weight: 400 !important;
  font-style: normal !important;
}

.mm_menus_ul {
  justify-content: center !important;
}
.product-miniature:hover .hook-reviews,
.product-miniature:hover .product-price-and-shipping {
  opacity: 1 !important;
  visibility: visible !important;
}

.product-miniature:hover .product-description .hook-reviews {
  margin-bottom: 32px !important;
}

.ybc-widget-display-home .ybc-widget-item-content {
  flex-direction: column !important;
}

.ybc-widget-display-home .ybc-widget-title {
  color: #fff !important;
  display: inline;
  z-index: 1;
}

.ybc-widget-display-home .ybc-widget-title a {
  color: #fff !important;
}

.ybc-widget-display-home
  .ybc-widget-title
  a:hover
  .ybc-widget-display-home
  .ybc-widget-title {
  background: #fff !important;
}

.ybc-widget-display-home
  .ybc-widget-title
  a:hover
  .ybc-widget-display-home
  .ybc-widget-title
  a {
  background: #fff !important;
}

.ybc-widget-display-home .ybc-widget-description-content {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}
.ybc-widget-display-home .ybc-widget-item {
  padding: 10px !important;
}
.ybc-widget-description-content:before {
  content: "";
  background: rgb(0 0 0 / 50%);
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 0;
  opacity: 1;
  transition: all 0.5s ease;
}

.ybc-widget-item-content:hover .ybc-widget-description-content:before {
  opacity: 0;
}

.ybc-widget-item-content .mor_content {
  display: none !important;
}

.search-contact-wrapper {
  display: flex;
  order: 2;
  flex-direction: row-reverse;
  flex-wrap: nowrap;
  width: 73%;
  justify-content: flex-start;
  align-items: center;
}

.header-top .search-contact-wrapper .search-widget {
  width: 60% !important;
  margin-top: 0;
}

.search-contact-wrapper .contact-number {
  font-size: 23px;
}

.search-contact-wrapper .contact-number a {
  font-weight: 500;
  color: #8bcba2;
}

.search-contact-wrapper .contact-number i {
  font-size: 24px;
  margin: 0px 5px;
  color: #8bcba2;
}

.search-contact-wrapper .user-info {
  margin-left: 20px;
  margin-right: 10px;
}

.search-contact-wrapper .user-info a {
  font-size: 24px;
  font-weight: 500;
  color: #8bcba2;
  padding: 0 !important;
  margin: 0 !important;
}

.search-contact-wrapper .user-info i {
  font-size: 35px;
  color: #8bcba2;
  line-height: 40px;
}

.search-contact-wrapper .search-widget form input[type="text"] {
  border: 3px solid #8bcba2;
  border-radius: 30px !important;
  width: 100%;
  height: 50px;
  max-width: 100% !important;
  min-width: 100%;
}

.search-widget form {
  display: block !important;
}

.search-widget form button[type="submit"] i {
  font-size: 36px !important;
  font-weight: 400 !important;
  color: #8bcba2 !important;
}

.search-widget form button[type="submit"] {
  right: 10px !important;
  top: 8px !important;
}

.box_right .box_contact_header {
  display: none !important;
}
.header_top_content .box_right {
  -webkit-flex: none !important;
  -ms-flex: none !important;
  flex: none !important;
  border: none !important;
  width: auto !important;
}
.header_top_content .box_right #_desktop_cart {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}

#_desktop_cart::before,
#header .user-info > a:first-child::before {
  display: none !important;
}

.menu_and_cattree {
  margin-top: 0 !important;
}

#header .header-top {
  padding-top: 0 !important;
}

.header_top_content ._desktop_logo {
  webkit-flex: none !important;
  -ms-flex: none !important;
  flex: none !important;
  width: 25% !important;
}

#header .nav {
  display: flex;
  justify-content: center;
}

#header .right-nav {
  position: absolute;
  right: 0;
}

#header .container {
  position: relative;
}
.featured-products.ps-specials .group_blog_item {
  display: flex;
  gap: 20px;
}
#search_widget:before {
  display: none;
}
#ybc-mnf-block .ybc-mnf-block-title {
  font-size: 20px !important;
  font-weight: bold;
  position: relative;
  width: 100%;
  text-align: left;
}
#ybc-mnf-block {
  margin: 30px 0px 50px !important;
}

#ybc-mnf-block-ul .ybc-mnf-block-a-img::after {
  background: transparent !important;
}

#ybc-mnf-block-ul .ybc-mnf-block-a-img {
  border: 0 !important;
}

#ybc-mnf-block-ul .ybc-mnf-block-li {
  border: 1px solid #e7e7e7;
}
#ybc-mnf-block-ul .owl-stage-outer {
  border-left: 1px solid #e7e7e7;
}

.block-contact.links.wrapper {
  width: 30%;
}
#block_myaccount_infos {
  padding-left: 40px !important;
  width: 20% !important;
}
.links.link_list.wrapper {
  width: 30% !important;
  display: inline-block !important;
  float: none;
  padding-left: 40px !important;
}
.footer_shop_list {
  width: 20%;
  padding-left: 40px !important;
}
.footer_shop_list .links.link_list.wrapper {
  width: auto !important;
  padding-left: 15px !important;
}
#products .page-not-found .search-contact-wrapper {
  display: none !important;
}
#custom-text {
  padding: 0px 15px;
}
.block-social li {
  overflow: visible !important;
}
.social-icons li i {
  color: #8bcba2;
  font-style: normal;
  font-family: "Font Awesome 6 Brands";
}

.social-icons li i.fa-envelope {
  font-family: "FontAwesome";
}

.block-social li a {
  font-size: inherit !important;
  position: relative;
  text-indent: unset !important;
}
.ybc-widget-display-home .ybc-widget-title a:before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}
.lang-th .ybc-widget-display-home .ybc-widget-title {
  font-size: 24px;
  line-height: 34px;
  white-space: normal;
}
/*404 page*/
.page-pagenotfound .page-header {
  text-align: center;
  margin-top: 5rem !important;
}
.page-not-found {
  text-align: center;
  margin-bottom: 0px !important;
  padding: 2rem !important;
}
.page-not-found .search-contact-wrapper .user-info {
  display: none;
}

.page-not-found .search-contact-wrapper .contact-number {
  display: none;
}

.page-not-found .search-contact-wrapper {
  width: 100% !important;
}
.page-not-found #search_widget {
  position: relative;
  left: 0;
}
.page-not-found .search_icon_toogle {
  display: none;
}
/**/

/* alternate menu*/
.mm_columns_ul .ets_mm_block.mm_block_type_html h4 {
  border-bottom: none;
  line-height: 24px !important;
  padding-bottom: 0;
  margin: 0;
}
.mm_columns_ul .ets_mm_block.mm_block_type_html h4 a {
  color: #717171 !important;
}
.mm_columns_ul .ets_mm_block.mm_block_type_html .ets_mm_block_content {
  display: none;
}
/**/
@media (max-width: 1199.98px) {
  .header-top .search-contact-wrapper .search-widget {
    width: 50% !important;
    margin-top: 0;
  }
}
@media (max-width: 991.98px) {
  .search-contact-wrapper .contact-number {
    font-size: 20px;
  }
  .search-contact-wrapper .contact-number i {
    font-size: 20px;
  }
  .search-contact-wrapper .search-widget form input[type="text"] {
    height: 40px;
  }
  .search-widget form button[type="submit"] i {
    font-size: 24px !important;
  }
  .search-widget form button[type="submit"] {
    width: auto !important;
    height: auto !important;
  }
  .search-contact-wrapper .user-info i {
    font-size: 30px;
    line-height: 30px;
  }
  .blockcart i {
    font-size: 30px !important;
  }

  .blockcart a {
    line-height: 30px;
  }

  .footer_top {
    display: flex;
    flex-wrap: wrap;
  }
  .block-contact.links.wrapper {
    width: 100%;
  }
  #block_myaccount_infos {
    padding-left: 15px !important;
    width: 30% !important;
  }
  .links.link_list.wrapper {
    width: 45% !important;
    padding-left: 15px;
  }
  .footer_shop_list {
    width: 25%;
    padding-left: 0px !important;
  }
}
@media (min-width: 768px) {
  .ets_mm_megamenu .mm_columns_ul {
    background-color: #fff;
    border: 0;
    width: 180px !important;
    min-width: auto !important;
    padding: 10px !important;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    border-radius: 0px 0px 5px 5px;
  }

  .ets_mm_megamenu .mm_columns_ul .mm_columns_li.mm_has_sub .mm_blocks_ul {
    background: #fff;
  }

  .mm_menus_ul .mm_has_sub {
    position: relative;
    width: auto;
    padding: 0px;
  }

  .mm_menus_ul .mm_has_sub .mm_blocks_li {
    padding: 0px !important;
  }

  .mm_menus_ul .mm_has_sub .mm_blocks_li .ets_mm_block_content > ul > li {
    padding-left: 0px !important;
    float: none !important;
  }
  .mm_menus_ul .mm_has_sub .mm_blocks_li .ets_mm_block_content > ul > li a {
    padding-left: 10px;
  }
  .mm_menus_ul
    .mm_has_sub
    .mm_blocks_li
    .ets_mm_block_content
    > ul
    > li
    a:hover {
    color: #8bcba2 !important;
  }
}
@media (max-width: 767.98px) {
  #search_widget {
    position: absolute;
    left: 40px;
  }
  .search-contact-wrapper .user-info i {
    font-size: 20px;
    line-height: 20px;
  }
  .blockcart i {
    font-size: 20px !important;
  }

  .blockcart a {
    line-height: 20px !important;
  }
  .search-contact-wrapper .contact-number {
    font-size: 16px;
    line-height: 24px;
  }
  .search-contact-wrapper .contact-number i {
    font-size: 16px;
  }
  .search_icon_toogle i {
    font-size: 22px !important;
  }
  #header .right-nav {
    position: absolute;
    right: 10px;
  }
  .featured-products.ps-specials .group_blog_item {
    display: flex;
    gap: 20px;
  }
  .featured-products.ps-specials .group_blog_item {
    flex-wrap: wrap;
  }
  .block-contact.links.wrapper {
    width: 100% !important;
  }
  #block_myaccount_infos {
    width: 100% !important;
  }
  .links.link_list.wrapper {
    width: 100% !important;
  }
  .footer_shop_list {
    width: 100% !important;
  }
  .ybc-widget-display-home .ybc-widget-item {
    margin-bottom: 0px;
  }
  .lang-th .ybc-widget-display-home .ybc-widget-title {
    font-size: 20px;
    line-height: 30px;
  }
  .page-not-found {
    max-width: 90% !important;
  }
}
