/*
 * Custom code goes here.
 * A template should always ship with an empty custom.css
 */
 .activenow {
    background-color: #eb7025; }

/* Custom css for product page */
@media screen and (max-width: 480px) {
  #product .product-add-to-cart .add button {
      width: 100%;
  }

  #product .leo-compare-wishlist-button {
      display: block;
      margin-top: 30px;
  }
}
.product-miniature .product-thumbnail {
  position: static!important;
}
.leoproductsearch-result .all-search-product {
display:none!important;
}
/*
body#checkout section.checkout-step .payment-options .payment-option {
  background: #f6f6f6;
  padding: 15px 10px;
  margin: 0 0 25px;
  display: flex;
  align-items: center;
  min-height: 70px;
}
*/
body#checkout section.checkout-step .payment-options .payment-option {
  padding: 0px 10px;
  display: flex;
  align-items: center;
  min-height: 30px;
}
body#checkout section.checkout-step .payment-options .custom-radio {
  margin-right: 10px;
  margin-top: -7px;
}
@media (max-width: 767px) {
.highlighted-informations.hidden-sm-down {
  display: block!important;
}
}

#product-accessories-scroll .owl-theme .owl-buttons div:before {
  font-size: 23px;
}
@media (min-width: 980px) {
#product-accessories-scroll  .owl-theme .owl-buttons div.owl-prev {
  left: 15px;
}
#product-accessories-scroll   .owl-theme .owl-buttons div.owl-next {
  right: 15px;
}
}
@media (max-width: 480px) and (min-width:320px){
.ajax_block_product.col-sp-12  {
width:50%!important
}
.thumbnail-container .product-title a {
  height: 105px;
}
.plist-modern .thumbnail-container .product-meta {
  padding: 10px;
}
}

@media (max-width: 768px) and (min-width:320px){
.product_list.grid .row .ajax_block_product:nth-child(2n+1) {
  clear: both!important;
} 
}
.sidebar>div.contact-rich  {
  padding: 20px 10px;
}
.sidebar>div.contact-rich .block  {
  padding: 0;
  border: 0;
}

#subcategories {
margin-top: 15px;
}
.subcategories-list {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 15px;
text-align: center;
}
.subcategories-list li {
box-shadow: 0 1px 4px 1px rgba(0,0,0,.06),0 4px 4px 2px rgba(0,0,0,.04);
padding-bottom: 20px;
}
.back-block-category {
text-transform: none;
position: relative;
padding-left: 15px;
}
.back-block-category::before {
content: "\f104";
font-size: 21px;
font-family: "FontAwesome";
top: 0px;
position: absolute;
left: 0px;
}


@media (max-width: 768px) {
  .subcategories-list {
      display: block;
  }
  #subcategories .subcategory-image .img-fluid {
    max-width: 100px;
  }
  #subcategories li {
    display: flex;
    padding: 0;
    margin-bottom: 10px;
  }
  #subcategories li h5 {
    margin: auto 0 auto 10px;
  }
}

/* SuperCheckout: minimal header */
#module-supercheckout-supercheckout #header {
  position: relative;
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
}
.checkout-header {
  display: flex;
  align-items: center;
  padding: 15px 0;
}
.checkout-header__logo {
  flex-shrink: 0;
}
.checkout-header__title {
  flex: 1;
  text-align: center;
  margin: 0;
  font-size: 20px;
  font-family: "Eina03-600";
  font-weight: 600;
  color: #222;
}

/* Fix quickview modal centering — modal-dialog-centered class has no CSS in this theme */
.modal-dialog-centered {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  min-height: calc(100% - 60px);
}
.modal-dialog-centered .modal-content {
  width: 100%;
}
.modal-dialog-centered::before {
  display: block;
  height: calc(100vh - 60px);
  content: "";
}
.quickview .modal-dialog {
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Product page — dot carousel (no thumbnails) */
.detail-2274270314 .images-container {
  position: relative;
}
.detail-2274270314 #thumb-gallery {
}
.detail-2274270314 .product-thumb-images .slick-track {
  display: flex;
  align-items: center;
}
.detail-2274270314 .product-thumb-images .thumb-container {
  outline: none;
  text-align: center;
}
.detail-2274270314 .product-thumb-images img {
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  display: block;
}
/* Slick dots — match muresta style */
.detail-2274270314 .product-thumb-images .slick-dots {
  position: static;
  bottom: auto;
  margin-top: 10px;
  display: flex !important;
  justify-content: center;
  list-style: none;
  padding: 0;
  gap: 6px;
}
.detail-2274270314 .product-thumb-images .slick-dots li {
  margin: 0;
  width: 10px;
  height: 10px;
}
.detail-2274270314 .product-thumb-images .slick-dots li button {
  width: 10px;
  height: 10px;
  padding: 0;
}
.detail-2274270314 .product-thumb-images .slick-dots li button:before {
  font-size: 10px;
  width: 10px;
  height: 10px;
  line-height: 10px;
  color: #ccc;
  opacity: 1;
}
.detail-2274270314 .product-thumb-images .slick-dots li.slick-active button:before {
  color: #333;
  opacity: 1;
}


/* Quickview modal — dot carousel */
.quickview .qv-carousel {
  width: 100%;
}
.quickview .qv-carousel .slick-track {
  display: flex;
  align-items: center;
}
.quickview .qv-carousel .thumb-container {
  outline: none;
  text-align: center;
}
.quickview .qv-carousel img {
  max-width: 100%;
  max-height: 50vh;
  width: auto;
  height: auto;
  display: block;
  margin: 0 auto;
  object-fit: contain;
}
.quickview .qv-carousel .slick-dots {
  position: static;
  bottom: auto;
  margin-top: 10px;
  display: flex !important;
  justify-content: center;
  list-style: none;
  padding: 0;
  gap: 6px;
}
.quickview .qv-carousel .slick-dots li {
  margin: 0;
  width: 10px;
  height: 10px;
}
.quickview .qv-carousel .slick-dots li button {
  width: 10px;
  height: 10px;
  padding: 0;
}
.quickview .qv-carousel .slick-dots li button:before {
  font-size: 10px;
  width: 10px;
  height: 10px;
  line-height: 10px;
  color: #ccc;
  opacity: 1;
}
.quickview .qv-carousel .slick-dots li.slick-active button:before {
  color: #333;
  opacity: 1;
}

/* === Search bar — muresta-inspired styling === */
#leo_search_block_top {
  background: #f3f4f6;
}
#leo_search_block_top .form-control {
  background: #f3f4f6;
  box-shadow: none;
}
#leo_search_block_top:focus-within {
  background: #fff;
}
#leo_search_block_top:focus-within .form-control {
  background: #fff;
}
#leo_search_block_top .form-control::placeholder {
  color: #9ca3af;
  font-size: 14px;
}

/* === Search results page — suggestion/category section === */
/* Module CSS uses .head-leosearch-product.ac_results (two classes) which never matches
   on the search results page. Override here without requiring .ac_results. */
.head-leosearch-product {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  padding: 16px 20px 6px;
  margin-bottom: 20px;
}
.head-leosearch-product .search-value-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #888;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.head-leosearch-product ul {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
}
.head-leosearch-product li {
  padding: 3px 0;
}
.head-leosearch-product a {
  color: #333;
  font-size: 14px;
  text-decoration: none;
}
.head-leosearch-product a:hover {
  color: #eb7025;
  text-decoration: underline;
}

/* Search autocomplete — appear above sidebar */
.leoproductsearch-result .ac_results {
  position: absolute;
  z-index: 9999;
  width: 100%;
  background: #fff;
}

/* === Autocomplete dropdown — layout fixes === */

/* Scrollbar: clip within dropdown bounds, auto-height instead of fixed */
.leoproductsearch-result .ac_results {
  overflow: hidden;
}
.ac_results.lps_results > div:first-child {
  overflow-y: auto !important;
  height: auto !important;
  max-height: 380px;
}

/* Section headers */
#leo_search_block_top .ac_results .search-value-title {
  padding: 7px 14px;
  background: #f5f5f5;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #888;
}

/* Suggestion + category list items */
#leo_search_block_top .ac_results li {
  padding: 0;
}
#leo_search_block_top .ac_results .search-in-suggest li a,
#leo_search_block_top .ac_results .search-in-cat li a {
  display: block;
  padding: 7px 14px;
  font-size: 13px;
  color: #333;
}

/* Product items — one-line flex: image | title + price */
#leo_search_block_top .ac_results .search-in-product ul li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  text-decoration: none;
}
#leo_search_block_top .ac_results .lps-result-img {
  flex: 0 0 40px;
  width: 40px;
}
#leo_search_block_top .ac_results .lps-result-img img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
}
#leo_search_block_top .ac_results .lps-result-content {
  flex: 1;
  min-width: 0;
  position: static;
  left: auto;
  width: auto;
  padding-left: 0;
}
#leo_search_block_top .ac_results .lps-result-title {
  font-size: 13px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #222;
}
#leo_search_block_top .ac_results .lps-result-price {
  font-size: 12px;
  color: #555;
  margin-top: 2px;
}
