.live-search-container {
    position: absolute;
    top: 100%;
    width: 450px;
    max-width: calc(100vw - 30px); /* Mobile safety */
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 9999;
    max-height: none;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    border: 2px solid #fabd05; /* Full border */
    margin-top: 10px;
}

@media (max-width: 768px) {
    .live-search-container {
        width: calc(100vw - 40px);
    }
}

.live-search-results li {
    transition: all 0.2s ease;
    border-bottom: none; /* Removed border as requested */
}

.live-search-results li:hover {
    background-color: #f9f9f9;   
    transform: translateX(2px); 
}

.live-search-results .search-img img {
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
    transition: transform 0.2s ease;
}

.live-search-results li:hover .search-img img {
    transform: scale(1.03); 
}

.live-search-results .search-title {
    color: #222;
    font-weight: 600;
    font-size: 13px;
    line-height: 1.2;
}

.live-search-results li:hover .search-title {
    color: #fabd05;
}

.live-search-results .search-arrow {
    color: #ccc;
    font-size: 16px;
    transition: all 0.2s;
    padding-right: 5px;
}

.live-search-results li:hover .search-arrow {
    color: #fabd05;
    transform: translateX(1px);
}

.view-all {
    background: #fabd05;
    color: #fff !important;
    display: block;
    margin: 10px;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.3s;
}

.view-all:hover {
    background: #fabd05;
}

.fixed_src > div {
    overflow: visible !important;
}

/* Product Page Secondary Search */
.product-page-search {
    margin-bottom: 40px;
}

.search-wrapper {
    position: relative;
    max-width: 100%;
}

.product-page-search .search-input {
    width: 100%;
    padding: 18px 25px;
    padding-right: 60px;
    border: 2px solid #eee;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

[lang="ar"] .product-page-search .search-input {
    padding-right: 25px;
    padding-left: 60px;
}

.product-page-search .search-input:focus {
    border-color: #fabd05;
    outline: none;
    box-shadow: 0 6px 20px rgba(247, 148, 29, 0.15);
}

.product-page-search button {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #fabd05;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-page-search .clear-btn {
    right: 45px;
    color: #999;
    font-size: 16px;
}

[lang="ar"] .product-page-search button {
    right: auto;
    left: 15px;
}

[lang="ar"] .product-page-search .clear-btn {
    left: 45px;
}

.product-page-search button:hover {
    color: #e68510;
    transform: translateY(-50%) scale(1.1);
}

.product-page-search .clear-btn:hover {
    color: #fabd05;
}

@media (max-width: 768px) {
    .product-page-search .search-input {
        padding: 12px 20px;
        font-size: 14px;
    }
}

/* Pagination Dots Styling */
.pagination .page-item.dots .page-link {
    background: transparent !important;
    border: none !important;
    color: #999 !important;
    font-size: 24px !important;
    letter-spacing: 3px;
    padding: 0 10px;
    cursor: default;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 45px; /* Match standard renius pagination height */
}
