/* Page Background & Font */
body {
    background-color: #f5f5f5;
    font-family: Arial, sans-serif;
    margin: 0;
}

/* CATEGORY FILTER - small, neat, top right */
/* CATEGORY FILTER - Professional look */
.category-filter-wrapper {
    background-color: #4d000f;  /* deep red/maroon background */
    padding: 10px 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    position: sticky;
    top: 112px;
    z-index: 100;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* Label styling */
.category-label {
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
}

/* Select styling */
.category-select {
    background-color: #fff;
    color: #333;
    border: none;
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 0.9rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    outline: none;
    transition: all 0.2s ease;
}

/* Hover/Focus effect for select */
.category-select:hover,
.category-select:focus {
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}


/* PRODUCT GRID */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 15px;
    padding: 10px 15px 80px; /* bottom padding so bottom bar doesn't cover cards */
}

/* PRODUCT CARD */
.product-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    padding: 10px;
    text-align: center;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

/* PRODUCT IMAGE */
.product-img {
    height: 140px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 8px;
    width: 100%;
}

/* PRODUCT NAME */
.product-name {
    font-weight: 600;
    font-size: 0.92rem;
    margin-bottom: 5px;
    color: #333;
}

/* PRICE STYLES */
.price-tags {
    margin-bottom: 8px;
}

.price-old {
    text-decoration: line-through;
    color: #e74c3c;
    margin-right: 5px;
    font-size: 0.8rem;
}

.price-new {
    color: #28a745;
    font-weight: bold;
    font-size: 0.95rem;
}

/* QUANTITY BUTTONS */
.quantity-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
}

.quantity-wrapper button {
    border: none;
    background: #ff9933;
    color: #fff;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
}

.quantity-wrapper input {
    width: 36px;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 0.85rem;
}

/* FIXED BOTTOM BAR */
.bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    border-top: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 15px;
    box-shadow: 0 -2px 6px rgba(0,0,0,0.08);
}

.btn-clear {
    background: #ccc;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    color: #333;
    font-size: 0.85rem;
}

.btn-checkout {
    background: #28a745;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    color: #fff;
    font-size: 0.85rem;
}
