.patro {}

.patro ul {
    padding: 0;
    font-size: 0.9em;
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}

.patro>ul {
    padding: 0.5em;
}

.patro li {
    background-color: var(--surface-color);
    padding: 0.5em;
    border-radius: 0.5em;
}

.patro li.cota {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}

.patro li.cota ul {
    min-height: 2rem;
}

.patro li.cota ul:empty::before {
    content: "Nenhum item para esta categoria.";
    font-size: 1rem;
}

.patro li h4 {
    margin-right: auto;
    font-size: 1.4em;
    font-weight: 600;
}

.patro .actions {
    display: flex;
    gap: 0.25em;
    font-size: 0.8rem;
}

.patro li header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.25em 0;
}

.patro-lista li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1em;
}

.patro-lista figure {
    flex: 0 0 5em;
    height: 3em;
    width: 5em;
    margin: 0;
    background-color: var(--surface-color);
}

.patro-lista figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.25rem;
}

.patro-lista li h5 {
    flex: 1;
    font-size: 1.2em;
    font-weight: 500;
}

.dragging {
    background-color: var(--surface-color);
}

.dragover {
    cursor: grabbing;
    border: 1px dashed var(--text-color-weak);
    background-color: var(--surface-color);
}

li[draggable="true"] {
    background-color: var(--surface-color);
    transition: background-color 0.5s;
}

li[draggable="true"].destacado {
    background-color: var(--text-color-weak);
    transition: background-color 0.5s;
    opacity: 0.8;
}

.toggle-ocultar-cota img,
.toggle-ocultar-patrocinador img {
    width: 1em;
}

.list.patro button {
    padding: 0.5em 0.75em;
}

.list.patro .actions button {
    font-size: 0.92em;
    padding: 0em 0em;
    width: 2.5em;
    height: 2.5em;
}

li.oculto {
    filter: opacity(0.75) grayscale(1) brightness(0.5) contrast(0.75);
    transition: 0.2s;
}

.list.patro .oculto h4,
.list.patro .oculto h5 {
    text-decoration: line-through;
}