/* Custom and updated CSS */

/* Banner (Marquee) */
.banner-container {
    /* Changed background to be more consistent with brand colors (yellow/black) */
    background: linear-gradient(90deg, #ffc107 0%, #ff9800 100%);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.marquee-content {
    display: flex;
    animation: marquee 15s linear infinite;
    gap: 5rem; /* Increased space between messages */
    white-space: nowrap; /* Prevent text wrapping */
}
.marquee-content span a,
.marquee-content span {
    color: #000; /* Changed text color to match yellow background */
    font-weight: 700; /* Make font bolder */
    font-size: 1rem;
    text-decoration: none;
}
@keyframes marquee {
    0%{transform:translateX(100%);}
    100%{transform:translateX(-100%);}
}

/* Filter Section */
.filter-section {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem !important;
    margin-bottom: 2rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.filter-section .form-label {
    color: #333;
    font-size: 0.9rem;
}

/* "No products found" message */
.no-products-message {
    font-size: 1.5rem;
    color: #6c757d;
    padding: 4rem 0;
    width: 100%;
    text-align: center;
}

/* Product Grid View (copied from index.php for consistency) */
.product-grid-view {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Ensure minimum 200px width */
    gap: 20px;
}

/* Product Card Styling (copied from index.php) */
.product-link-card {
    text-decoration: none;
    color: inherit;
    box-sizing: border-box;
    display: block;
    transition: transform 0.2s, box-shadow 0.2s;
}
.product-link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}
.product-card-index {
    box-sizing: border-box;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    padding: 10px;
    height: 100%; /* Ensure uniform height within the Grid */
}
.product-image-placeholder-index {
    height: 150px;
    background-size: cover;
    background-position: center;
    border-radius: 5px;
    margin-bottom: 8px;
    /* Optional: Add a placeholder background color or spinner while loading */
    background-color: #f0f0f0;
}
.product-name-index {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 8px;
    font-weight: bold;
    font-size: 1em;
    line-height: 1.2;
}
.product-price-index {
    margin-top: 5px;
    color: var(--price-color, #a00);
    direction: ltr;
    text-align: left;
    font-weight: 700;
    font-size: 1.1em;
}