/* Two compact horizontal rows replace the previous tall product cards. */
.customer-menu .category-product-list {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
    gap: 12px;
}
.customer-menu .campaign-menu-list {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
    gap: 12px;
    align-items: start;
}
.customer-menu .customer-campaign-card { min-width: 0; }
.customer-menu .customer-campaign-card .customer-campaign-image {
    display: block;
    width: 100%;
    height: 140px;
    max-height: 140px;
    margin: 0 0 12px;
    border-radius: 10px;
    object-fit: contain !important;
    object-position: center;
    background: transparent !important;
}
.customer-menu .category-product-list .menu-item {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    grid-template-rows: auto 1fr auto;
    column-gap: 14px;
    row-gap: 5px;
    min-width: 0;
    min-height: 152px;
    padding: 12px !important;
    box-sizing: border-box;
    align-content: start;
}
.customer-menu .category-product-list .menu-item > img {
    grid-column: 1;
    grid-row: 1 / 4;
    align-self: stretch;
    width: 104px !important;
    height: 126px !important;
    margin: 0 !important;
    border-radius: 10px;
    object-fit: contain !important;
    object-position: center;
    background: transparent !important;
}
.customer-menu .category-product-list .menu-item > :is(h3, p, .item-footer) {
    grid-column: 2;
    min-width: 0;
    margin: 0;
}
.customer-menu .category-product-list .menu-item:not(:has(> img)) > :is(h3, p, .item-footer) { grid-column: 1 / -1; }
.customer-menu .category-product-list .menu-item h3 { font-size: 1rem; line-height: 1.25; overflow-wrap: anywhere; }
.customer-menu .category-product-list .menu-item p {
    min-height: 0;
    font-size: .82rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
.customer-menu .category-product-list .item-footer {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 6px;
}
.customer-menu .category-product-list .item-footer strong { font-size: 1.05rem; white-space: nowrap; }
.customer-menu .category-product-list .item-footer .qty-control { grid-template-columns: 32px 36px 32px !important; margin: 0; }
.customer-menu .category-product-list .qty-control input[type=number] { width: 36px !important; }
@media (max-width: 760px) {
    .customer-menu .category-product-list { grid-template-columns: 1fr; }
    .customer-menu .campaign-menu-list { grid-template-columns: 1fr; }
}
@media (max-width: 380px) {
    .customer-menu .category-product-list .menu-item { grid-template-columns: 76px minmax(0, 1fr); column-gap: 10px; }
    .customer-menu .category-product-list .menu-item > img { width: 76px !important; }
}
