html, body {
    height: 100%;
}

.container-fluid {
    min-height: 100vh; /* full viewport height */
    display: flex;
    flex-direction: column;
}

.container-fluid > .row {
    flex: 1;
}

#liveResults {
    width: 100%;
    max-height: 250px;
    overflow-y: auto;
}

#liveResults li a {
    text-decoration: none;
    color: inherit;
}

#liveResults li:hover {
    background-color: #f1f1f1;
}

/* Header */


/* Logo */
.logo-img{
    display:inline-block;
    height:28px;   /* controls visual size */
    width:auto;
    vertical-align:middle;
}

/* === Product Page Card Styling === */
.product-list .card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

/* Structure */
.product-list .product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* --- Image --- */
.product-img-container {
    height: 220px; /* uniform height for all product images */
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    border-bottom: 1px solid #ddd;
    overflow: hidden;
}

.product-img-container img.product-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* --- Body --- */
.product-list .card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 180px; /* same space for info on all cards */
}

.product-list .card-body p.card-text {
    flex-grow: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    /* -webkit-line-clamp: 3; */
    -webkit-box-orient: vertical;
}

/* --- Footer --- */
.product-list .card-footer {
    margin-top: auto;
}


/* Panel filtering */
th.asc::after {
    content: " ▲";
}
th.desc::after {
    content: " ▼";
}
