.search-page-container {
    max-width: 1260px;
    margin: 0 auto;
}
.search-input-group {
    margin: 64px auto;
    width: 64%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f5f5f5;
    border-radius: 4px;
}
button.search-submit {
    padding-left: 5px !important;
    padding: 0;
}
.yith-wcwl-add-to-wishlist .yith-wcwl-add-button {
    display: flex;
    align-items: center;
    flex-direction: row;
}
button.search-submit svg {
    color: #000;
    padding: 5px;
    height: 29px;
    width: 23px;
}

.search-input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 14px;
    text-transform: capitalize;
    line-height: 20px;
    letter-spacing: 0.35px;
}

.search-input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 14px;
    height: 42px !important;
    padding-left: 10px;
    border: 1px solid transparent;
     color: #9b9b9b !important;  
}

.search-input::placeholder {
    color: #9b9b9b ;     
    font-size: 13px;    
}

.search-input:focus-within {
    border-color: #000;
}

.search-input:focus {
    border-color: #000;
}

.search-input:focus::placeholder {
    color: #9b9b9b !important; 
}

.search-results-header {
    margin-bottom: 36px;
}

h1.search-results-title {
    font-size: clamp(24px, 4vw, 48px);
    letter-spacing: clamp(0.8px, 0.2vw, 2.4px);
    font-weight: 400;
    display: flex;
    justify-content: flex-start;
    line-height: 120%;
}

.search-page-container .container {
    width: 100%;
    max-width: 100% !important;
    padding-inline: 28px !important;
}
.header-bar {
    position: sticky;
    top: 96px;
    background: #fff !IMPORTANT;
    padding-bottom: 28px;
    z-index: 995;
}

button.filter-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    color: #000;
    padding-inline: 0 !IMPORTANT;
}

div#matched-products-row , .products-row {
    max-width: 1896px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: .75rem;
    row-gap: 2.75rem;
    display: grid;
}



.product-info {
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0 !IMPORTANT;
}
img.product-image-hover {
    object-position: left !IMPORTANT;
    object-fit: cover !IMPORTANT;
}

h3.product-title {
    font-size: 16px;
    line-height: 1.25;
    letter-spacing: 0.4px;
    font-weight: 400;
    margin-bottom: 0;
}


h3.section-title {
    font-size: 12px;
    color: #767676;
    margin-bottom: 24px;
    letter-spacing: 0.3px;
    margin-top: 24px;
}

.product-image img {
    width: 100%;
    height: 200px;
    display: block;
    transition: transform 0.3s ease;
    object-fit: contain;
}
.load-more-container.random-load-more {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-block: 64px;
    flex-direction: column;
}
.load-more-btn {
    color: #000;
    text-decoration: underline;
    padding: 12px 16px !important;
}
.uppercase{
    text-transform: uppercase;
}

.product-image-container {
    height: 250px;
}
.product-image-container img {
    height: 100%;
     aspect-ratio: 1/1; 
    width: 100% !important;
    object-fit: contain;
    object-position: center !important;
}

.lock-icon {
    padding: 7px !important;
    width: 27px !important;
    height: 27px !important;
    box-shadow: none !important;
    bottom: 0 !IMPORTANT;
    right: 0 !IMPORTANT;
}
 .product-category {
        font-size: 12px !important;
 }

.product-image-container .product-image-hover {
    object-fit: contain !IMPORTANT;
}

span.product-count {
    font-size: 24px;
    line-height: 32px;
    margin-left: 12px;
    letter-spacing: 0.6px;
}
@media (max-width: 768px) {
    div#matched-products-row,
    .products-row {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
    h1.search-results-title {
    font-size: 20px;
    line-height: 100%;
    }
    .search-input-group {
        width: 100%;
    }

    .header-bar {
        top: 72px;
    }
    h3.product-title {
    font-size: 12px;
}
.product-price  span {
    font-size: 9px;
}
.search-page-container .container {
    padding-inline: 16px !important;
}
.product-info {
    gap: 0;
}
}
/* Product Image Hover Effects */
.product-image-container {
    position: relative;
    overflow: hidden;
    display: block;
    cursor: pointer;
}

.product-image-main,
.product-image-hover {
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.3s ease-in-out;
}

.product-image-hover {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

/* Hover effect only when hovering over the image container */
.product-image-container:hover .product-image-main {
    opacity: 0;
}

.product-image-container:hover .product-image-hover {
    opacity: 1;
}

/* Ensure proper sizing for product cards */
.search-result-item {
    position: relative;
}

.search-result-item a {
    text-decoration: none;
    color: inherit;
}

.product-info {
    margin-top: 10px;
}

.product-category {
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 5px;
}

.product-price {
    font-weight: bold;
    margin-top: 5px;
}

.lock-icon {
    position: absolute;
    bottom: 10px;
    right: 10px;
    cursor: pointer;
    background: white;
    border-radius: 50%;
    padding: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
