.banner-img {
    width: 100%;
    height: 160px;

    /* desktop */
    object-fit: contain;
}

#results a {
    color: #fff;
    left: 50%;
}

#results a:hover {
    text-decoration: underline;
    opacity: 0.85;
    left: 50%;
}

/* Tablet */
@media (max-width: 991px) {
    .banner-img {
        height: 120px;
    }
}

/* Phone */
@media (max-width: 576px) {
    .banner-img {
        height: 70px;

        /* much smaller */
        object-fit: contain;
    }
}

.product-card {
    height: auto;
}

.product-card .card-img-top {
    object-fit: contain;

    /* or cover if you prefer */
    max-height: 180px;

    /* controls image height */
}

.product-card .card-body {
    padding: 0.75rem;

    /* smaller padding */
}

.product-card .card-title {
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.product-card .card-text {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

 {
}

.product-card {
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.product-card:active {
    transform: scale(0.98);
}

#basketBtn {
    position: fixed;
    top: 15px;
    right: 15px;
    background: #16a34a;
    color: #fff;
    padding: 10px 16px;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
    z-index: 9999;
}

#basketBtn:hover {
    background: #15803d;
}

/* ===== Basket Menu ===== */
#basketBtn {
    position: fixed;
    top: 90%;
    right: 16px;
    background: #16a34a;
    color: #fff;
    padding: 8px 14px;
    border-radius: 24px;
    font-weight: 600;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    z-index: 10000;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

#basketBtn:hover {
    background: #15803d;
}

#miniCart {
    position: fixed;
    bottom: 56px;

    /* sits above the button */
    right: 16px;
    background: #fff;
    border: 1px solid #ccc;
    width: 260px;
    padding: 10px;
    z-index: 9999;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.hidden {
    display: none;
}

#miniCartItems {
    list-style: none;
    padding: 0;
    margin: 0 0 10px 0;
}

#miniCartItems li {
    padding: 4px 6px;
    cursor: pointer;
    transition: background 0.2s;
}

#miniCartItems li:hover {
    background: #dc2626;
    color: #fff;
}

#miniCartTotal {
    font-weight: 600;
    margin-top: 8px;
    text-align: right;
}





