* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #f4eee3;
    color: #1f1f1f;
}

.topo {
    background: linear-gradient(135deg, #C94A2D, #D96A3A);
    text-align: center;
    padding: 25px 20px 80px 20px;
}

.logo-topo {
    width: 100%;
    max-width: 480px;
    height: auto;
    display: block;
    margin: 0 auto 20px auto;
}

.topo h1 {
    font-size: 30px;
    font-weight: 800;
}

.topo p {
    margin-top: 8px;
    font-size: 16px;
}

.topo span {
    display: inline-block;
    margin-top: 12px;
    background: #ffe6cf;
    color: #8d110e;
    padding: 8px 18px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 14px;
}

.container {
    max-width: 760px;
    margin: -42px auto 50px;
    padding: 0 15px;
}

.abas {
    max-width: 720px;
    margin: -40px auto 20px auto;
    display: flex;
    gap: 8px;
}

.aba {
    border: none;
    padding: 14px;
    border-radius: 12px;
    font-weight: bold;
    cursor: pointer;
    background: #f5f5f5;
    color: #000;
}

    .aba.ativa {
        background: #971414;
        color: white;
    }

.conteudo-aba {
    display: none;
}

    .conteudo-aba.ativo {
        display: block;
    }

.card {
    background: white;
    border-radius: 18px;
    padding: 20px 18px;
    margin-bottom: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

    .card h2 {
        color: #8d000b;
        font-size: 22px;
        margin-bottom: 14px;
    }

    .card h3 {
        margin: 22px 0 10px;
        font-size: 17px;
    }

.aviso p {
    margin-bottom: 16px;
    line-height: 1.5;
}

.aviso strong {
    color: #008000;
}

label {
    display: block;
    margin: 14px 0 6px;
    font-weight: bold;
}

input,
textarea {
    width: 100%;
    border: 1px solid #d7bca6;
    border-radius: 12px;
    padding: 13px;
    font-size: 15px;
    outline: none;
}

textarea {
    min-height: 90px;
    resize: vertical;
}

.lista-itens {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.item-card {
    display: flex;
    align-items: center;
    gap: 14px;
    border: 1px solid #e5e5e5;
    border-radius: 15px;
    padding: 14px 16px;
    background: white;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

    .item-card:hover {
        border-color: #9d1c18;
    }

    .item-card input {
        width: 20px;
        height: 20px;
    }

    .item-card div {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .item-card strong {
        font-size: 16px;
    }

    .item-card span {
        color: #5f4b45;
        font-size: 14px;
    }

    .item-card small {
        color: #777;
    }

.indisponivel {
    opacity: 0.45;
    cursor: not-allowed;
}

    .indisponivel span:first-child {
        width: 20px;
        height: 20px;
        border: 1px solid #ccc;
        border-radius: 50%;
    }

.resumo {
    margin-top: 20px;
    padding: 16px;
    background: #fff7ec;
    border-radius: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .resumo p {
        font-weight: bold;
    }

    .resumo strong {
        color: #8d000b;
        font-size: 24px;
    }

.btn-whatsapp,
.btn-salvar {
    width: 100%;
    margin-top: 18px;
    border: none;
    border-radius: 12px;
    padding: 15px;
    font-size: 17px;
    font-weight: bold;
    cursor: pointer;
}

.btn-whatsapp {
    background: #25d366;
    color: white;
}

    .btn-whatsapp:hover {
        background: #1ebc59;
    }

.btn-salvar {
    background: #971414;
    color: white;
}

.texto-ajuda {
    color: #555;
    margin-bottom: 15px;
}

.itens-editados {
    margin-top: 18px;
}

.item-editado {
    padding: 12px;
    background: #fff7ec;
    border-radius: 12px;
    margin-bottom: 8px;
}

@media (max-width: 600px) {

    .logo-topo {
        width: 90%;
        max-width: 280px;
        height: auto;
    }

    .topo {
        padding: 20px 10px 50px 10px;
    }

        .topo h1 {
            font-size: 24px;
        }

    .container {
        width: 100%;
        max-width: 100%;
        margin-top: -30px;
        padding: 0 10px;
    }

    .card {
        padding: 18px 15px;
    }

    .abas {
        width: 100%;
    }

    .item-card {
        padding: 12px;
    }

    .titulo-secao {
        font-size: 20px;
    }

    .resumo strong {
        font-size: 20px;
    }
}

.admin-item {
    display: grid;
    grid-template-columns: 1.6fr 120px 100px 90px;
    gap: 12px;
    align-items: center;
    background: #fff7ec;
    border: 1px solid #ead3bf;
    border-radius: 14px;
    padding: 14px;
    margin-bottom: 12px;
}

    .admin-item input {
        margin: 0;
    }

.admin-check {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-weight: bold;
}

    .admin-check input {
        width: 18px;
        height: 18px;
    }

.admin-item button {
    border: none;
    background: #c62828;
    color: white;
    padding: 11px 12px;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
}

    .admin-item button:hover {
        background: #a51d1d;
    }

.admin-preco-box {
    position: relative;
}

    .admin-preco-box::before {
        content: "R$";
        position: absolute;
        left: 12px;
        top: 50%;
        transform: translateY(-50%);
        color: #8d000b;
        font-weight: bold;
    }

    .admin-preco-box input {
        padding-left: 42px;
    }

@media (max-width: 700px) {
    .admin-item {
        grid-template-columns: 1fr;
    }
}
.acompanhamento-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    margin-bottom: 12px;
    border: 1px solid #ddd;
    border-radius: 14px;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s;
}

    .acompanhamento-card:hover {
        background: #f8f8f8;
        border-color: #b71c1c;
    }

    .acompanhamento-card input[type="checkbox"] {
        width: 20px;
        height: 20px;
        cursor: pointer;
    }

    .acompanhamento-card strong {
        font-size: 18px;
        color: #222;
    }

.titulo-secao {
    color: #8d000b;
    font-size: 22px;
    font-weight: 800;
    margin: 28px 0 14px 0;
    line-height: 1.2;
}