.search-box-site {
    position: relative;
    margin-bottom: 20px;
    width: 100%;
}

    .search-box-site input {
        width: 100%;
        padding: 10px 40px 10px 12px; /* More right padding for icon */
        border: 1px solid #ccc;
        border-radius: 4px;
        font-size: 14px;
        transition: border-color 0.3s ease, box-shadow 0.3s ease;
        outline-offset: 2px;
    }

        .search-box-site input:focus {
            border-color: #69a820;
            box-shadow: 0 0 5px #69a820;
            outline: none;
        }

.search-icon-site {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    font-size: 16px;
    color: #777;
    pointer-events: none; /* Icon doesn’t interfere with input */
}


/* ================================
   Search Box Styles
   ================================ */
.search-box {

    position: relative;
    margin-bottom: 20px;
    
    width: 100%;
}

    .search-box input {
        width: 100%;
        padding: 10px 40px 10px 12px; /* More right padding for icon */
        border: 1px solid #ccc;
        border-radius: 4px;
        font-size: 14px;
        transition: border-color 0.3s ease, box-shadow 0.3s ease;
        outline-offset: 2px;
    }

        .search-box input:focus {
            border-color: #69a820;
            box-shadow: 0 0 5px #69a820;
            outline: none;
        }

.search-icon {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    font-size: 16px;
    color: #777;
    pointer-events: none; /* Icon doesn’t interfere with input */
}

/* ================================
   Product Card Styles
   ================================ */
/* Smaller Product Cards */

/* Slightly Larger Product Cards with bigger images */

.plp-item__inner {
    background-color: white !important;
    padding: 15px;
    border-radius: 6px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .plp-item__inner:hover,
    .plp-item__inner:focus-within {
        transform: scale(1.02);
        box-shadow: 0 5px 12px rgba(0, 0, 0, 0.08);
    }

.plp-item__name a {
    font-size: 1.25rem; /* Compact but clear */
    font-weight: 700;
    color: #a8d450;
    margin-bottom: 8px;
    display: inline-block;
}

.plp-item__body {
    gap: 18px;
    align-items: center;
}

.plp-item-img__container {
    width: 140px; /* Increased size */
    height: 140px; /* Increased size */
    border-radius: 6px;
    border: 1px solid #ddd;
    background-color: #fafafa;
    box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: box-shadow 0.3s ease;
}

    .plp-item-img__container:hover,
    .plp-item-img__container:focus-within {
        box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.07);
    }

    .plp-item-img__container img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        border-radius: 4px;
        transition: transform 0.3s ease, opacity 0.6s ease-in-out;
        opacity: 0;
        user-select: none;
    }

        .plp-item-img__container img[src] {
            opacity: 1;
        }

    .plp-item-img__container:hover img,
    .plp-item-img__container:focus-within img {
        transform: scale(1.05);
    }

.plp-item__details {
    flex: 1;
    font-size: 0.85rem; /* Compact details */
}

.plp-item__attributes-list li {
    margin: 4px 0;
}

/* Responsive for smaller screens */
@media (max-width: 768px) {
    .plp-item__body {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .plp-item-img__container {
        width: 90%;
        max-width: 220px;
        height: auto;
    }

        .plp-item-img__container img {
            width: 100%;
            height: auto;
        }
}


/* Make the entire product card clickable */
.product-link {
    display: block; /* Allow block-level behavior */
    color: inherit; /* Inherit text color */
    text-decoration: none; /* Remove underline */
}

    .product-link:hover,
    .product-link:focus {
        text-decoration: none; /* No underline on hover/focus */
        cursor: pointer;
    }

        /* Optional: add a hover effect on the card when hovered via link */
        .product-link:hover .plp-item__inner,
        .product-link:focus .plp-item__inner {
            transform: scale(1.02);
            box-shadow: 0 5px 12px rgba(0, 0, 0, 0.08);
        }
