/*
Theme Name: Sugandhwale
Theme URI: https://sugandhwale.com
Author: Sugandhwale
Description: Custom WordPress theme for Sugandhwale.
Version: 1.0
*/

/* =========================================
   GLOBAL RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: auto;
    scroll-padding-top: 90px;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: #1f2a22;
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition:
        color 0.25s ease,
        opacity 0.25s ease,
        transform 0.25s ease;
}

button {
    font-family: inherit;
    transition:
        transform 0.25s ease,
        background-color 0.25s ease,
        border-color 0.25s ease;
}


/* =========================================
   REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

}


/* =========================================
   SEARCH RESULTS
========================================= */

.search-page {
    background: #f8f6f1;
    min-height: 70vh;
    padding: 80px 35px 100px;
}

.search-page-container {
    max-width: 1400px;
    margin: 0 auto;
}

.search-page-heading {
    margin-bottom: 55px;
}

.search-page-heading span {
    display: block;

    margin-bottom: 14px;

    font-size: 10px;
    font-weight: 600;

    letter-spacing: 2px;
    text-transform: uppercase;

    color: #8c6a2f;
}

.search-page-heading h1 {
    margin: 0;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 42px;
    font-weight: 400;

    color: #17382c;
}


/* =========================================
   SEARCH PRODUCTS
========================================= */

.search-products {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 35px;
}

.search-product-image {
    display: block;

    background: #f1eee7;

    aspect-ratio: 1 / 1;

    overflow: hidden;
}

.search-product-image img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    transition: transform .3s ease;
}

.search-product:hover .search-product-image img {
    transform: scale(1.03);
}


.search-product-info {
    padding-top: 18px;
}

.search-product-info h2 {
    margin: 0 0 8px;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 21px;
    font-weight: 400;

    color: #17382c;
}

.search-product-info h2 a {
    color: inherit;
}

.search-product-price {
    font-size: 14px;

    color: #17382c;

    margin-bottom: 15px;
}

.search-product-link {
    font-size: 10px;
    font-weight: 600;

    letter-spacing: 1.5px;

    color: #8c6a2f;
}


/* =========================================
   NO RESULTS
========================================= */

.search-no-results {
    padding: 80px 0;

    text-align: center;
}

.search-no-results h2 {
    margin: 0 0 15px;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 32px;
    font-weight: 400;

    color: #17382c;
}

.search-no-results p {
    margin-bottom: 25px;

    font-size: 14px;

    color: #666;
}

.search-no-results a {
    font-size: 10px;
    font-weight: 600;

    letter-spacing: 1.5px;

    color: #8c6a2f;
}

/* =========================================
   FLOATING WHATSAPP CHAT
========================================= */

.sugandhwale-whatsapp {
    position: fixed;

    right: 24px;
    bottom: 24px;

    z-index: 9999;

    display: flex;
    align-items: center;
    gap: 10px;

    padding: 12px 18px 12px 14px;

    background: #5f8f72;
    color: #ffffff;

    border-radius: 999px;

    font-size: 12px;
    font-weight: 600;

    letter-spacing: 0.3px;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.14);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background-color 0.3s ease;
}

.sugandhwale-whatsapp:hover {
    color: #ffffff;

    background: #4f7d62;

    transform: translateY(-3px);

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.18);
}


/* =========================================
   WHATSAPP ICON
========================================= */

.sugandhwale-whatsapp-icon {
    width: 25px;
    height: 25px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 50%;

    background: #ffffff;

    color: #5f8f72;
}

.sugandhwale-whatsapp-icon svg {
    width: 16px;
    height: 16px;

    display: block;

    fill: currentColor;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

    .sugandhwale-whatsapp {
        right: 16px;
        bottom: 16px;

        padding: 11px 15px 11px 12px;

        font-size: 11px;

        gap: 8px;
    }

    .sugandhwale-whatsapp-icon {
        width: 23px;
        height: 23px;
    }

    .sugandhwale-whatsapp-icon svg {
        width: 15px;
        height: 15px;
    }

}

/* Mobile */

@media (max-width: 600px) {

    .sugandhwale-whatsapp {
        right: 16px;
        bottom: 16px;

        padding: 11px 15px 11px 12px;

        font-size: 11px;

        gap: 8px;
    }

    .sugandhwale-whatsapp-icon {
        width: 23px;
        height: 23px;

        font-size: 14px;
    }

}


/* =========================================
   TABLET
========================================= */

@media (max-width: 900px) {

    .search-products {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

    .search-page {
        padding: 55px 20px 70px;
    }

    .search-page-heading {
        margin-bottom: 35px;
    }

    .search-page-heading h1 {
        font-size: 32px;
    }

    .search-products {
        gap: 25px 15px;
    }

    .search-product-info h2 {
        font-size: 18px;
    }

}