.pantry-inventory-page {
    max-width: 100%;
}

.pantry-inventory-tool {
    align-items: flex-start;
}

.pantry-inventory-panel {
    background: #fff;
    border: 1px solid #dfe5dc;
    border-radius: 0.5rem;
    padding: 1.1rem 1.15rem 1.25rem;
}

.pantry-inventory-panel .pantry-suggest-list {
    left: 0;
    right: 0;
    z-index: 20;
    display: none;
    max-height: 14rem;
    overflow: auto;
    margin-top: 0.15rem;
}

.pantry-inventory-demo {
    background: #f7f9f5;
    border: 1px solid #dfe5dc;
    border-radius: 0.5rem;
    padding: 1.1rem 1.15rem 1.25rem;
    min-height: 100%;
}

.pantry-demo-list {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.pantry-demo-line {
    display: grid;
    grid-template-columns: 7.5rem 1fr auto;
    gap: 0.5rem;
    align-items: center;
    padding: 0.45rem 0.6rem;
    background: #fff;
    border: 1px solid #e4eae1;
    border-radius: 0.35rem;
    font-size: 0.92rem;
}

.pantry-demo-line__cat {
    color: #6c757d;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    font-weight: 600;
}

.pantry-demo-line__status {
    font-size: 0.72rem;
    font-weight: 600;
    color: #56962f;
    white-space: nowrap;
}

.pantry-demo-line--in-pantry {
    opacity: 0.72;
    background: #eef5e8;
    border-color: #c9dbc0;
}

.pantry-demo-line--in-pantry .pantry-demo-line__name {
    text-decoration: line-through;
    color: #6c757d;
}

.pantry-demo-line--in-pantry .pantry-demo-line__status {
    display: inline !important;
}

@media (max-width: 575.98px) {
    .pantry-demo-line {
        grid-template-columns: 1fr auto;
        grid-template-rows: auto auto;
    }

    .pantry-demo-line__cat {
        grid-column: 1 / -1;
    }
}
