.search-page {
    min-height: 70vh;
    background: #f8f5ed;
    padding: 80px 6%;
}


/* HEADING */

.search-heading {
    text-align: center;
    margin-bottom: 35px;
}

.search-heading span {
    color: #9a762f;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    letter-spacing: 3px;
    font-weight: 600;
}

.search-heading h1 {
    margin: 10px 0 0;
    color: #023020;
    font-family: 'Cormorant Garamond', serif;
    font-size: 52px;
    font-weight: 500;
}

.search-heading em {
    color: #9a762f;
}


/* SEARCH FORM */

.search-form {
    max-width: 650px;
    margin: auto;
    display: flex;
    border-bottom: 1px solid #b8aa8f;
}

.search-form input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    padding: 15px 5px;
    color: #023020;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
}

.search-form button {
    width: 50px;
    border: none;
    background: transparent;
    color: #9a762f;
    font-size: 17px;
    cursor: pointer;
}


/* RESULT */

.search-result-title {
    max-width: 1100px;
    margin: 50px auto 25px;
}

.search-result-title p {
    color: #777;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
}

.search-result-title strong {
    color: #023020;
}


/* PRODUCTS */

.search-products {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.search-product-card {
    background: #fff;
    transition: .3s ease;
}

.search-product-card:hover {
    transform: translateY(-5px);
}

.search-image {
    position: relative;
    height: 300px;
    overflow: hidden;
    background: #f1eee6;
}

.search-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .5s ease;
}

.search-product-card:hover img {
    transform: scale(1.04);
}


/* HEART */

.search-heart {
    position: absolute;
    top: 15px;
    right: 15px;

    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background: rgba(255,255,255,.92);

    color: #023020;
    text-decoration: none;

    transition: .3s ease;
}

.search-heart:hover {
    background: #023020;
    color: #d7bc70;
}


/* INFO */

.search-product-info {
    padding: 17px;
    text-align: center;
}

.search-product-info span {
    color: #9a762f;
    font-family: 'Montserrat', sans-serif;
    font-size: 7px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.search-product-info h3 {
    margin: 7px 0;
    color: #023020;
    font-family: 'Cormorant Garamond', serif;
    font-size: 23px;
    font-weight: 500;
}

.search-product-info p {
    margin: 0;
    color: #555;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
}


/* EMPTY */

.search-empty,
.no-results {
    text-align: center;
    padding: 90px 20px;
}

.search-empty i,
.no-results i {
    color: #b08a45;
    font-size: 35px;
}

.search-empty h2,
.no-results h2 {
    color: #023020;
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    font-weight: 500;
}

.search-empty p,
.no-results p {
    color: #888;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
}


/* RESPONSIVE */

@media (max-width: 900px) {

    .search-products {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 550px) {

    .search-page {
        padding: 55px 18px;
    }

    .search-heading h1 {
        font-size: 40px;
    }

    .search-products {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .search-image {
        height: 210px;
    }

    .search-product-info h3 {
        font-size: 19px;
    }

}

/* ===== search + wishlist cards ===== */
.search-products .product-image-wrap,
.wishlist-products .product-image-wrap {
    position: relative;
}

.search-products .product-image,
.wishlist-products .product-image {
    width: 100%;
    height: 320px;           /* shop page value podunga */
    object-fit: cover;
    display: block;
}

/* heart / remove button hover image mela irukanum */
.search-products .search-heart,
.wishlist-products .remove-wishlist {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
}

.search-products .search-heart {
    border: none;
    cursor: pointer;
}

@media (max-width: 550px) {
    .search-products .product-image,
    .wishlist-products .product-image {
        height: 220px;
    }

    .product-card .product-info {
        padding: 16px 44px 16px 10px;
    }

    .product-card .product-name {
        font-size: 19px;
    }
}