.device-frame {
    position: relative;
    z-index: 1;
}
.menu-hamburguer {
    width: 2rem;
    height: 3rem;
    margin-right: 5%;
    cursor: pointer;
}

#tela-compras main {
    padding: 15px;
}

.total-bar {
    font-weight: 600;
    color: #333;
    font-size: 1.7rem;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.btn-finish {
    width: 50%;
    background-color: #bf5d4e; /* Vermelho queimado */
    height: 32px;
    border: 1px black solid;
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
    cursor: pointer;
    text-transform: none;
}

.inputs-section {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px 0 30px;
}

input {
    border-radius: 9px;
    border: 1px black solid;
    margin: 0 5px 0 7px;
    height: 1.7rem;
    width: 5rem;
    padding: 12px;
}

.input-quantidade {
    width: 3.3rem;
    margin-right: 20px;
}

.btn-add {
    padding: 7px;
    background-color: #69db7c;
    flex: 1;
    height: 32px;
    border-radius: 16px;
    border: 1px black solid;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
    cursor: pointer;
    text-transform: none;
}

.btn-add:active {
    background-color: red;
}

/* Lista de Compras Ativa */
.shopping-list {
    background-color: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0px 5px 15px rgba(0,0,0,0.05);
}


/* Seção de Concluídos */
.completed-divider {
    text-align: center;
    font-size: 0.75rem;
    color: #6a7c93;
    padding: 15px 0 8px;
    margin: 0 15px;
    border-bottom: 1px solid #f1f1f1;
}

.completed-item {
    padding: 8px 15px;
    margin: 8px 5px;
    background-color: #cdd4da;
    border-radius: 8px;
    color: #1e3a5f;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 8px;
    
}

.completed-item i { font-size: 0.7rem; }

.lixeira {
    margin-left: auto;
}

.lixeira:active {
    background-color: gray;
}

.capitalize {
    text-transform: capitalize;
}

.finalizar {
    position: fixed;
    top: 19%;
    left: 11%;
    width: 300px;
    height: 22%;
    background: #69db7c;
    color: black;
    border: 0.1px black solid;
    border-radius: 10%;
    z-index: 1000;
    display: grid;
    justify-content: center;
    align-items: center;
    transform: translatey(-200%); 
    transition: transform .3s ease;
}

@media (max-width: 376px) {
    #form-item {
        display: flex;
    }
}

@media (min-width: 327px) and (max-width: 364px) {
    #form-item {
        margin-left: 25px;
        display: block;
    }
    .btn-add {
        width: 90%;
        margin-top: 20px;
    }
}

@media (max-width: 326px) {
    #form-item {
        margin-left: 25px;
        display: flex;
        flex-wrap: wrap;
    }
    .btn-add {
        width: 90%;
        margin-top: 20px;
    }
}