/* Home page groups and the group page: title bar, item rows, prices */
/* Main container for the list inside left-item */
.left-item {
    min-width: 0;
    padding: 2px 20px;
    color: #30232D;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

/* Styling for the heading */
.left-item h4 {
    background-color: rgba(26, 29, 41, 0.75);
    font-size: 1.2rem;
    color: #EDEAE0;
    margin: 15px;
    padding: 5px 15px 5px 25px;   
    border-radius: 16px 5px 5px 5px;
    font-weight: 600;
}

/* Removes default list styling (bullets, padding) */
.product-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

/* Styling for each link item */
.product-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 5px;
    text-decoration: none;
    color: #30232D;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.2s ease;
}

/* 1. Brighter alternating row color */
.product-list li:nth-child(even) a {
    background-color: rgba(0, 0, 0, 0.1); /* Was 0.05, now twice as visible */
}

/* 2. Brighter and more noticeable hover effect */
.product-list li a:hover {
    background-color: rgba(249, 53, 9, 0.5);    
}

/* Styling for the product name */
/* Two lines of the description, then "..." */
.product-name {
    min-width: 0;
    font-size: 0.9rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-right: 10px;
    font-weight: 600;
}

/* Styling for the price */
.product-price {
    font-size: 0.9rem;
    font-weight: bold;
    color: #30232D;
    background-color: #D0C3BA;
    padding: 3px 6px;
    border-radius: 4px;
    white-space: nowrap; /* Prevents the text from wrapping */
}

/* Styling for the "no products" message */
.no-products {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    padding: 15px 5px;
}

/* A group title that opens the whole group */
.left-item h4 a {
    display: block;
    color: inherit;
    text-decoration: none;
}

.left-item h4 a::after {
    content: " \203A";
}

.left-item h4 a:hover {
    color: #D4AF37;
}
