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

.block_newsletter .alert:before {
    left: 10px;
    top: 8px;
}
.popup-over .user-info li {
  vertical-align: text-top;
}
#leo_search_block_top form#leosearchtopbox {
    left: 0;
    transition: none;
}
@media (max-width: 576px){
    .header_logo {
    /*padding: 0 !important;*/
    }
    .header_logo img {
      max-width: 120px;
    }
    #leo_search_block_top i {
        font-size: 19px;
    }
    #_desktop_cart .cart-preview .header i, .signin.leo-quicklogin::before {
        font-size: 20px !important;
    }
    #_desktop_cart .header {
        display: flex;
    }
    #_desktop_cart .header .cart-products-count {
        margin-left: 5px;
        width: 18px;
        height: 18px;
        margin-top: 2px;
        line-height: 16px;
    }
    .leo-megamenu .navbar-header button {
        width: 60px;
        height: 50px;
        color: #000 !important;
        font-size: 1.85rem !important;
        font-family: 'Montserrat', sans-serif !important;
    }
    .popup-over .user-info li {
      vertical-align: middle;
    }
}
@media (max-width: 767px){
  .menu-block-mobile > .elementor-container > .elementor-row{
    flex-wrap: nowrap;
    align-items: center;
  }
  .menu-block-mobile .elementor-col-33{
    min-width: 0;
  }
  .elementor-element-163d928 > .elementor-column-wrap > .elementor-widget-wrap{
    flex-wrap: nowrap;
    align-content: center;
    align-items: center;
  }
  #leo_search_block_top .title_block {
    display: flex;
  }
  .menu-block-mobile .elementor-widget-wrap{
    align-items: center;
  }
  .menu-block-mobile .elementor-widget:not(:last-child){
    margin-bottom: 0;
  }
}
#content-wrapper #products {
position: relative;
  padding-top: 100px;
}
#js-product-list-top.products-selection {
  width: 100vw;
  transform: translateX(-50%);
  left: 50%;
  position: absolute;
  top: 0;
  z-index: 999;
}
.filter-bar {
  background: #f4ece6;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  font-family: sans-serif;
  position: relative;
  margin: 0;
}
.sort-button {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f4ece6;
  border: 1px solid #C9BDB4;
  border-radius: 10px;
  padding: 10px 30px;
  font-size: 15px;
  color: #1a1a1a;
  cursor: pointer;
}
.sort-button:hover {
  background: #EDE1D9;
}
.sort-button:focus {
  outline: none;
}
.sort-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  border: 1px solid #D8CFC7;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  min-width: 220px;
  z-index: 10;
  width: 100%;
  background: #f4ece6;
  padding: 15px;
  max-width: 1380px;
}
.sort-menu-item {
  padding: 10px 16px;
  font-size: 14px;
  color: #1a1a1a;
  cursor: pointer;
  white-space: nowrap;
}
.sort-menu-item:hover {
  background: #f4ece6;
}
.products-sort-order.dropdown {
  max-width: 300px;
}

/* B: wishlist icon */
.images-container {
  position: relative;
}
.images-container .wishlist {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 999;
}
.thumbnail-container .functional-buttons .leo-wishlist-button,
.images-container .leo-wishlist-button{
  pointer-events: auto;
  width: 40px;
  height: 40px;
  -moz-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
  -webkit-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
  -o-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
  -ms-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
  box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
  border: 0;
  line-height: 40px;
  text-align: center;
  padding: 0 10px;
  background: var(--product-button-bg);
  margin-top: 0;
  border-radius: 0;
  display: block;
  color: var(--product-button-color);
  transition: all .4s;
  position: relative;
}
.images-container .leo-wishlist-button {
  background: none;
  box-shadow: none;
  width: 50px;
  height: 50px;
}
.images-container .leo-wishlist-button .icon-wishlist {
  width: 30px;
  height: 30px;
}
.images-container i::before {
  font-size: 30px;
}
.images-container .leo-wishlist-button .leo-wishlist-bt-content {
  display: flex;
  -webkit-box-align: center;
  -moz-box-align: center;
  box-align: center;
  -webkit-align-items: center;
  -moz-align-items: center;
  -ms-align-items: center;
  -o-align-items: center;
  align-items: center;
  -ms-flex-align: center;
  margin: auto;
  height: 100%;
}
.images-container .leo-wishlist-button .leo-wishlist-bt-content span {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 7px;
  color: #000;
  background: var(--product-button-bg-hover);
  font-size: 8px;
  padding: 5px 10px;
  transition: all .4s;
  opacity: 0;
  visibility: hidden;
  line-height: 15px;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 300;
  border-radius: 11px;
  pointer-events: none;
}
.images-container .leo-wishlist-button .leo-wishlist-bt-content span::before {
  content: "";
  border: 5px solid transparent;
    border-top-color: transparent;
  border-top-color: #000;
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
}
.images-container .leo-wishlist-button:hover .leo-wishlist-bt-content span {
  opacity: 1;
  filter: alpha(opacity=100);
  visibility: visible;
}
/* E: wishlist icon */
.product-add-to-cart .product-quantity {
  display: block;
}
.product-actions-row {
margin-top: 15px;
}