/*
 Theme Name:     Akumulatornikoli Child Theme
 Theme URI:      https://akumulatornikoli.bg/
 Description:    Akumulatornikoli Child Theme
 Author:  DRTSWebWorks
 Author URI: https://drtswebworks.com
 Template:       Divi
 Version:        1.0.0
*/
 
@import url("../Divi/style.css");
 
/* =Theme customization starts here
------------------------------------------------------- */
/* 🟨 AJAX PRODUCT SEARCH DROPDOWN STYLING */
/* ======================================================
   🟨 FIXED AJAX SEARCH DROPDOWN STYLING
   ====================================================== */

.ajax-product-search {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 650px !important;
}

.ajax-search-results {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  z-index: 99999;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  margin-top: 5px;
  overflow: hidden;
}

.ajax-search-list {
  list-style: none;
  margin: 0;
  padding: 10px 10px;
}

.ajax-search-list li {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid #eee;
  transition: background 0.2s ease-in-out;
}

.ajax-search-list li:last-child {
  border-bottom: none;
}

.ajax-search-list li:hover {
  background: #f8f8f8;
}

.ajax-search-list li img {
  width: 65px;
  height: 65px;
  object-fit: cover;
  border-radius: 6px;
  margin-right: 10px;
  flex-shrink: 0;
}

.ajax-search-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-decoration: none;
  color: #222;
  font-size: 14px;
  font-weight: 500;
}

.ajax-search-list li .title {
  flex: 1;
  margin-right: 50px;
  line-height: 1.3;
	text-align: left;
}

.ajax-search-list li .price {
  font-weight: 600;
  color: #111;
  white-space: nowrap;
}

.ajax-search-list li .no-results {
  padding: 12px;
  text-align: center;
  color: #888;
}
.ajax-search-results .yith-wcbm-badge {
  display: none !important;
}

@media (max-width: 600px) {
	.ajax-search-list li img {
		width: 36px;
		height: 36px;
 }
	.ajax-search-list li .title {
		margin-right: 30px;
		font-size: 12px;
	}
	.ajax-search-list li .price {
		font-size: 12px;
	}
}


@media (max-width: 468px) {
	.ajax-search-list li img {
		display: none;
	}
	.ajax-search-list li .title {
		margin-right: 20px;
		font-size: 12px;
	}
	.ajax-search-list li .price {
		font-size: 12px;
	}
}
/* View All Button */
.ajax-view-all {
    text-align: center;
    padding: 10px 0 5px;
    border-top: 1px solid #eee;
    margin: 0 10px;
}
.ajax-view-all .view-all-btn {
    display: inline-block;
    background: #3EB347;
    color: #fff;
    padding: 15px 17px;
    border-radius: 4px;
    font-size: 14px;
    text-decoration: none;
}
.ajax-view-all .view-all-btn:hover {
    background: #DAC8ED;
	color: #000;
}