@media (max-width: 768px) {
    .botao-opcoes{
        display: block;
    }
    .content-container {
        width: 100%;
        margin-left: 0%;
    }

    .header {
        height: auto;
        padding: 1rem;
        justify-content: space-between;
    }

    .date-time {
        font-size: 0.9rem;
        text-align: right;
        gap: 2px;
    }

    #botao-opcoes img {
        width: 30px;
    }


    .content-container {
        width: 100%;
        height: auto;
        margin-left: -6%;
        border-radius: 20px 20px 0 0;
        padding-bottom: 2rem;
        height: 110%;
    }

    .containerBotao {
        justify-content: center;
        padding: 1rem;
    }

    #botaoAddPedido {
        width: 45px;
        height: 45px;
        font-size: 2rem;
        margin-left: 5%;
    }

    .gridBrancos {
        display: flex;
        flex-direction: column;
        width: 97%;
        height: auto;
        gap: 1rem;
        padding: 0.5rem;
        overflow-x: hidden;
        overflow-y: visible;
    }

    .caixaEstoque {
        width: 100%;
        border-radius: 12px;
        padding: 1rem 0;
    }

    .tituloCaixa {
        width: 90%;
        font-size: 1.2rem;
        padding: 6px 10px;
    }

    .TipoPeca {
        width: 90%;
        font-size: 1rem;
        padding: 0.7rem;
    }

    .descTecido {
        height: auto;
        margin-bottom: 1rem;
    }

    .descCor p {
        font-size: 1rem;
    }

    .barraCor {
        height: 12px;
        border-radius: 4px;
        margin-top: 0.5rem;
    }

    .TrashIcon {
        height: 1.2rem;
        margin-right: 2%;
    }

    #BotaoAddPeca,
    .BotaoAddCor {
        height: 2rem;
        font-size: 1.5rem;
        margin-left: 5%;
        margin-top: 0.5rem;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    /* POPUPS */
    #PopupAddPeca,
    #PopupAddTecido,
    .PopupAddCor {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) scale(1);
        width: 90%;
        padding: 1rem;
        z-index: 9999;
        box-shadow: 0 0 20px rgba(0,0,0,0.4);
    }

    .popupPeca,
    .popupCor {
        min-width: unset;
        width: 100%;
    }

    .PopupHeader {
        font-size: 1.2rem;
    }

    .PopupBody input[type="text"] {
        font-size: 1rem;
        padding: 0.6rem;
    }

    .ConfirmaPopupCor,
    #ConfirmaPopupPeca,
    #ConfirmaPopupTecido {
        width: 100%;
        font-size: 1rem;
    }

    .RemoverPeca, .Voltar {
        width: 100%;
        font-size: 1rem;
    }
}