/* ----------------------------------------------------------------
	Fonts

	Replace your Fonts as necessary
-----------------------------------------------------------------*/

body {
  font-family: "Noto Sans Thai", sans-serif !important;
}

h1,
h2,
h3 {
  font-family: 'Charm', cursive, Arial, sans-serif !important;
}



.simple-search .btn {
  border-color: #383f45 #383f45 #212529 !important;
  border: 0px solid #eee;
}

/* ----------------------------------------------------------------
	Custom CSS

	Add all your Custom Styled CSS here for New Styles or
	Overwriting Default Theme Styles for Better Handling Updates
-----------------------------------------------------------------*/

#page-title h1 {
  font-size: 1.6rem;
}

.sidebar-shop {
  font-size: 0.875rem;
}

.sidebar-shop .widget {
  padding: 1rem;
  border: 1px solid #e7e7e7;
}

.sidebar-shop .widget:after {
  display: block;
  clear: both;
  content: "";
}

.sidebar-shop .widget:not(:last-child) {
  border-bottom: 0;
}

.sidebar-shop .widget .config-swatch-list {
  margin-top: 0.3rem;
}

.sidebar-shop .widget .config-swatch-list li {
  display: -ms-flexbox;
  display: -webkit-box;
  display: flex;
  -ms-flex-align: center;
  -webkit-box-align: center;
  align-items: center;
  margin-right: 0;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.sidebar-shop .widget .config-swatch-list li:last-child {
  margin-bottom: 0;
}

.sidebar-shop .widget .config-swatch-list li a {
  margin-right: 1.5rem;
}

.sidebar-shop .widget-title {
  margin: 0;
  color: #313131;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: "Noto Sans Thai", sans-serif;
  line-height: 1.4;
  text-transform: uppercase;
}

.sidebar-shop .widget-title a {
  display: block;
  position: relative;
  color: inherit;
}

.sidebar-shop .widget-title a:hover,
.sidebar-shop .widget-title a:focus {
  text-decoration: none;
}

.sidebar-shop .widget-title a:before,
.sidebar-shop .widget-title a:after {
  display: inline-block;
  position: absolute;
  top: 50%;
  right: 0;
  width: 10px;
  height: 2px;
  margin-top: -1px;
  -webkit-transition: all 0.35s;
  transition: all 0.35s;
  background: #222529;
  content: "";
}

.sidebar-shop .widget-title a.collapsed:after {
  -webkit-transform: rotate(-90deg);
  transform: rotate(-90deg);
}

.sidebar-shop .widget-featured {
  position: relative;
}

.sidebar-shop .widget-featured .product-sm:last-child {
  margin-bottom: 0;
}

.mobile-sidebar.sidebar-home {
  padding: 2rem 1.5rem;
}

.filter-sorts .mobile-sidebar.sidebar-shop {
  left: 0;
  padding: 0;
  visibility: visible;
  z-index: 2;
}

@media (max-width: 991px) {
  .mobile-sidebar {
    display: block;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: 260px;
    padding: 2rem;
    margin: 0;
    -webkit-transform: translate(-260px);
    transform: translate(-260px);
    -webkit-transition: -webkit-transform 0.2s ease-in-out 0s;
    transition: -webkit-transform 0.2s ease-in-out 0s;
    transition: transform 0.2s ease-in-out 0s;
    transition: transform 0.2s ease-in-out 0s,
      -webkit-transform 0.2s ease-in-out 0s;
    background-color: #fff;
    z-index: 9999;
    overflow-y: auto;
  }

  .sidebar-opened .mobile-sidebar {
    -webkit-transform: none;
    transform: none;
  }

  .sidebar-opened .sidebar-overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: #000;
    opacity: 0.35;
    z-index: 8999;
  }
}

.modal-title {
  font-size: 1rem;
}

header .social-icon {
  border-radius: 50%;
  font-size: 1rem;
  width: 1.5rem;
  height: 1.5rem;
  line-height: 1.5rem;
}

header .header-top {
  font-size: 1rem;
}

.badge-circle {
  width: 1.25rem;
  font-size: 0.75rem;
  line-height: 1.25rem;
}

.select2-container--default .select2-selection--single {
  height: 30px;
  font-size: 0.875rem;
  border: 1px solid #ced4da !important;
  border-radius: 0.2rem !important;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.select2-results__option {
  padding: 5px;
  font-size: 0.875rem;
  color: #495057;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
  border: 1px solid #ced4da;
  height: 30px;
  color: #495057;
}

.select2-search--dropdown .select2-search__field {
  /* padding: .375rem .75rem; */
  border: 1px solid #495057;
  border-radius: 0.25rem;
}

.select2-search--dropdown .select2-search__field {
  padding: 4px;
  width: 100%;
  box-sizing: border-box;
}

.select2-dropdown {
  border: 1px solid #ced4da;
}

.noUi-horizontal .noUi-handle {
  top: -0.5em;
}

.noUi-connect {
  background: #6079c7;
}

.noUi-horizontal .noUi-handle,
.noUi-vertical .noUi-handle {
  background: #6079c7;
}

.noUi-target.noUi-horizontal .noUi-tooltip {
  background-color: #6079c7;
}

.cart-percent {
  width: 63px;
  height: 30px;
  position: absolute;
  background: rgba(255, 0, 0, 0.5);
  color: #fff;
  border-radius: 3px;
  display: flex;
  justify-content: center;
  align-items: center;
  right: 0;
  border-bottom-left-radius: 15px;
  padding: 10px;
  z-index: 200;
}

.cart-title {
  height: 3rem;
  overflow: hidden;
}

.cart-title h3 {
  font-size: 0.875rem;
  line-height: 1rem;
  font-weight: 400;
  word-wrap: break-word;
  display: -webkit-box;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.cart-title h3:hover {
  color: #6079c7;
}

.cart-price span {
  font-weight: 600;
  font-size: 1rem;
}

.cart-price sup {
  font-weight: 600;
  font-size: 0.7rem;
  top: -3px;
}

.cart-details {
  border-radius: 20px;
  width: 110px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn-wishlist {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #de5e73;
  background: #f4f4f4;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: 0.5s all;
  font-size: 1rem;
}

.btn-wishlist:hover {
  color: #f4f4f4;
  background: #de5e73;
}

.btn-cart {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #6079c7;
  background: #f4f4f4;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: 0.5s all;
  margin-left: 5px;
  font-size: 1rem;
}

.btn-cart:hover {
  color: #fff;
  background: #6079c7;
}

.cart-image {
  width: auto;
  object-fit: cover;
}

.btn-compare {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #6079c7;
  background: #f4f4f4;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: 0.5s all;
  font-size: 1rem;
}

.btn-compare:hover {
  color: #f4f4f4;
  background: #6079c7;
}

.btn-share {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #6079c7;
  background: #f4f4f4;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: 0.5s all;
  font-size: 1rem;
}

.btn-share:hover {
  background: #ccc;
}

.icon-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  font-size: 1.5rem;
  background: none;
  border: none;
  outline: none;
  border-radius: 50%;
}

.icon-button:hover {
  background: #f4f4f4;
}

.icon-button_badge {
  position: absolute;
  top: 0px;
  right: 0px;
  width: 17px;
  height: 17px;
  background: #ff5b5b;
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  font-size: 0.75rem;
}

.product-thumbnail .active img,
.prod-thumbnail img:hover {
  border: 2px solid #e7e7e7;
}

.breadcrumb-item {
  font-size: 0.75rem;
}

.header-icon i {
  font-size: 1.5rem;
}

.header-search-wrapper {
  border: 1px solid #e7e7e7;
}

.badge-sale {
  width: 8rem;
  height: 8rem;
  margin-top: 2.5rem;
  font-size: 1rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  letter-spacing: 0.05em;
}

.badge-sale em {
  font-size: 2rem;
}

.scroll-filter {
  max-height: 250px;
  overflow-y: scroll;
}

.cart-outofstock {
  width: 100px;
  height: 100px;
  position: absolute;
  background-color: rgba(0, 0, 0, 0.45);
  color: #fff;
  border-radius: 3px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  padding: 5px;
}

.spinner-grow-sm {
  margin-bottom: 3px;
}

.spinner-grow {
  margin-bottom: 5px;
}

.outofstock {
  height: 30px;
  position: absolute;
  background: rgb(99 96 96 / 50%);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  right: 0;
  width: 100%;
  padding: 10px;
}

.navcolor>li>a {
  background-color: #ffffff !important;
  color: #f2b705 !important;
}

.navcolor>li>a.active {
  background-color: #f2b705 !important;
  color: #ffffff !important;
}

.navcolor>li>a:hover {
  background-color: #f2b705 !important;
  color: #ffffff !important;
}

.icheck-primary>input:first-child:not(:checked):not(:disabled):hover+label::before,
.icheck-primary>input:first-child:not(:checked):not(:disabled):hover+input[type="hidden"]+label::before {
  border-color: #ab8b65;
}

.icheck-primary>input:first-child:checked+label::before,
.icheck-primary>input:first-child:checked+input[type="hidden"]+label::before {
  background-color: #ab8b65;
  border-color: #ab8b65;
}