﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #fff8f7;
    color: #4a3f3f;
    font-family: Arial, Helvetica, sans-serif;
}

/* HERO ANTIGO */
.hero {
    min-height: 52vh;
    background: linear-gradient(rgba(110, 72, 72, 0.45), rgba(110, 72, 72, 0.45)), url('https://images.unsplash.com/photo-1519741497674-611481863552?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
    color: white;
}

.hero-content {
    max-width: 860px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(4px);
    padding: 35px;
    border-radius: 24px;
}

.hero-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: white;
    padding: 8px 14px;
    border-radius: 999px;
    margin-bottom: 18px;
    font-size: 0.95rem;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.1rem;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 22px;
}

.btn-admin-link {
    display: inline-block;
    text-decoration: none;
}

/* ÁREA PRINCIPAL ANTIGA */
.produtos {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px 40px;
}

.intro-lista {
    margin-bottom: 10px;
}

.secao-titulo {
    text-align: center;
    margin-bottom: 35px;
}

    .secao-titulo h2 {
        font-size: 2rem;
        color: #8c5c5c;
        margin-bottom: 10px;
    }

    .secao-titulo p {
        color: #7a6a6a;
        line-height: 1.7;
    }

.acoes-topo {
    text-align: center;
    margin-bottom: 25px;
}

/* CARDS ANTIGOS */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 25px;
}

.card-produto {
    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

    .card-produto:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    }

    .card-produto img {
        width: 100%;
        height: 220px;
        object-fit: cover;
        background: #f3ecec;
    }

.card-body {
    padding: 18px;
}

    .card-body h3 {
        color: #6b4f4f;
        margin-bottom: 10px;
        font-size: 1.3rem;
    }

.descricao {
    color: #6f6464;
    line-height: 1.6;
    margin-bottom: 10px;
    min-height: 72px;
}

.valor {
    font-size: 1.1rem;
    font-weight: bold;
    color: #b06b6b;
    margin-bottom: 10px;
}

.quantidade {
    margin-bottom: 12px;
    color: #5d5252;
}

.tag-doado {
    background: #d4edda;
    color: #2f6b42;
    padding: 12px;
    border-radius: 10px;
    text-align: center;
    font-weight: bold;
    margin-top: 10px;
    line-height: 1.5;
}

/* FORMULÁRIOS */
.pagina-formulario,
.pagina-login {
    min-height: calc(100vh - 190px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.form-container,
.login-box {
    width: 100%;
    max-width: 720px;
    background: white;
    border-radius: 22px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
    padding: 35px;
}

.login-box {
    max-width: 480px;
}

.login-brand {
    text-align: center;
    margin-bottom: 26px;
}

.login-badge {
    display: inline-block;
    padding: 7px 14px;
    border-radius: 999px;
    background: #fff4f4;
    color: #9a6464;
    border: 1px solid #eadada;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 14px;
}

.login-brand h1 {
    color: #8c5c5c;
    margin-bottom: 10px;
    font-size: 2rem;
}

.login-brand p {
    color: #7a6a6a;
    line-height: 1.6;
}

.login-codigo-box {
    background: #fff8f8;
    border: 1px solid #f0dede;
    border-radius: 18px;
    padding: 18px;
}

.input-codigo {
    text-align: center;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.acoes-login {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.acoes-login .btn-principal,
.acoes-login .btn-secundario {
    width: 100%;
}

.login-voltar {
    color: #8c5c5c;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
}

.login-voltar:hover {
    color: #6f4b4b;
    text-decoration: underline;
}

.topo-formulario {
    text-align: center;
    margin-bottom: 25px;
}

    .topo-formulario h1,
    .login-box h1 {
        color: #8c5c5c;
        margin-bottom: 10px;
        font-size: 2rem;
    }

    .topo-formulario p,
    .login-box p {
        color: #7a6a6a;
        line-height: 1.6;
    }

.formulario-produto,
.formulario-login,
.form-doacao {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.grupo-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

    .grupo-form label {
        font-weight: bold;
        color: #6b4f4f;
    }

.input-form {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid #e4cfcf;
    border-radius: 12px;
    font-size: 1rem;
    background: #fffdfd;
    outline: none;
    transition: 0.2s ease;
}

    .input-form:focus {
        border-color: #b06b6b;
        box-shadow: 0 0 0 3px rgba(176, 107, 107, 0.12);
    }

.textarea-form {
    min-height: 120px;
    resize: vertical;
}

.linha-dupla {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.grupo-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .grupo-checkbox input {
        width: auto;
        transform: scale(1.1);
    }

.acoes-formulario {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 10px;
}

/* BOTÕES */
.btn-principal,
.btn-secundario,
.btn-excluir {
    border: none;
    padding: 12px 18px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s ease;
    text-align: center;
    display: inline-block;
}

.btn-principal {
    background: #b06b6b;
    color: white;
}

    .btn-principal:hover {
        background: #965757;
        color: white;
    }

.btn-secundario {
    background: #f3e1e1;
    color: #7b4e4e;
}

    .btn-secundario:hover {
        background: #ead1d1;
        color: #7b4e4e;
    }

.btn-excluir {
    background: #c94b4b;
    color: white;
}

    .btn-excluir:hover {
        background: #ad3838;
        color: white;
    }

/* MENSAGENS */
.mensagem-erro,
.texto-validacao {
    color: #b00020;
    font-size: 0.92rem;
}

/* LOGIN */
.link-codigo-area {
    margin-top: 12px;
    text-align: center;
}

.link-enviar-codigo {
    background: transparent;
    border: none;
    padding: 0;
    color: #9a7a7a;
    font-size: 0.92rem;
    text-decoration: underline;
    cursor: pointer;
    transition: 0.2s ease;
}

    .link-enviar-codigo:hover {
        color: #7f5a5a;
    }

/* DELETE */
.card-preview-delete {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: #fff8f8;
    border: 1px solid #f0dede;
    border-radius: 18px;
    padding: 18px;
    margin-bottom: 25px;
}

.imagem-preview-delete {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 16px;
    background: #f3ecec;
    flex-shrink: 0;
}

.preview-delete-info {
    flex: 1;
}

    .preview-delete-info h3 {
        color: #8c5c5c;
        margin-bottom: 10px;
    }

    .preview-delete-info p {
        color: #6f6464;
        line-height: 1.7;
        margin-bottom: 8px;
    }

/* DETAILS */
.card-details-produto {
    display: flex;
    gap: 24px;
    background: #fffdfd;
    border: 1px solid #f0dede;
    border-radius: 20px;
    padding: 22px;
    margin-bottom: 25px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.05);
}

.details-imagem-area {
    flex: 0 0 280px;
}

.details-imagem {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 18px;
    background: #f3ecec;
}

.details-info-area {
    flex: 1;
}

    .details-info-area h2 {
        color: #8c5c5c;
        margin-bottom: 12px;
        font-size: 1.8rem;
    }

.details-descricao {
    color: #6f6464;
    line-height: 1.8;
    margin-bottom: 20px;
}

.details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.details-item {
    background: #fff7f7;
    border: 1px solid #f0dede;
    border-radius: 14px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.details-item-full {
    grid-column: 1 / -1;
}

.details-label {
    font-size: 0.9rem;
    font-weight: bold;
    color: #8c5c5c;
}

.details-value {
    color: #5a4f4f;
    line-height: 1.6;
}

.url-break {
    word-break: break-word;
}

.info-entrega-simples {
    margin-top: 16px;
    padding-left: 4px;
    font-size: 0.90rem;
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.80);
}

    .info-entrega-simples p {
        margin-bottom: 6px;
    }

    .info-entrega-simples strong {
        font-weight: 600;
        color: rgba(0, 0, 0, 0.88);
    }

/* BLOCO ENTREGA / PIX */
.bloco-entrega-pix {
    background: #fffdfd;
    border: 1px solid #f0dede;
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 25px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.05);
}

    .bloco-entrega-pix h3 {
        color: #8c5c5c;
        margin-bottom: 18px;
        font-size: 1.5rem;
    }

.entrega-pix-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 24px;
    align-items: center;
}

.entrega-pix-info {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.info-fixa-item {
    background: #fff7f7;
    border: 1px solid #f0dede;
    border-radius: 14px;
    padding: 16px;
}

.info-fixa-label {
    display: block;
    font-size: 0.95rem;
    font-weight: bold;
    color: #8c5c5c;
    margin-bottom: 8px;
}

.info-fixa-item p {
    color: #5a4f4f;
    line-height: 1.7;
    margin: 0;
}

.qrcode-area {
    background: #fff7f7;
    border: 1px solid #f0dede;
    border-radius: 14px;
    padding: 16px;
    text-align: center;
}

.qrcode-pix-img {
    width: 100%;
    max-width: 190px;
    border-radius: 12px;
    background: white;
    padding: 8px;
    margin-top: 10px;
    border: 1px solid #eadada;
}

/* BLOCO DOAÇÃO */
.bloco-doacao {
    background: #fffdfd;
    border: 1px solid #f0dede;
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 25px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.05);
}

    .bloco-doacao h3 {
        color: #8c5c5c;
        margin-bottom: 20px;
        font-size: 1.5rem;
    }

.form-doacao select.input-form {
    appearance: none;
    background: #fffdfd;
}

/* TOGGLE DOAÇÃO */
.toggle-doacao {
    width: 100%;
    background: transparent;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #8c5c5c;
    cursor: pointer;
    padding: 0;
}

.painel-doacao {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.35s ease;
    margin-top: 0;
}

    .painel-doacao.aberto {
        max-height: 700px;
        opacity: 1;
        margin-top: 20px;
    }

#icone-doacao {
    font-size: 2rem;
    line-height: 1;
    color: #b06b6b;
}

/* INDEX NOVO */
.hero-lista {
    position: relative;
    background: linear-gradient(135deg, #f8f2f2 0%, #f5eded 100%);
    padding: 70px 20px 55px;
    border-bottom: 1px solid #eadada;
    overflow: hidden;
}

.admin-home-area {
    position: absolute;
    top: 18px;
    right: 20px;
    z-index: 2;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.admin-home-link {
    display: inline-block;
    padding: 10px 14px;
    background: #ffffff;
    color: #8c5b5b;
    border: 1px solid #eadada;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.92rem;
    box-shadow: 0 8px 22px rgba(123, 82, 82, 0.08);
}

.admin-home-link:hover {
    background: #fff4f4;
    color: #744b4b;
}

.admin-home-link-outline {
    background: transparent;
}

.hero-lista-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(186, 117, 117, 0.10), transparent 35%);
    pointer-events: none;
}

.hero-lista-content {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    margin-bottom: 18px;
    padding: 8px 18px;
    background: #ffffff;
    border: 1px solid #eadada;
    border-radius: 999px;
    color: #9a6464;
    font-weight: 600;
    font-size: 0.95rem;
}

.hero-lista h1 {
    font-size: 2.6rem;
    font-weight: 700;
    color: #8c5b5b;
    margin-bottom: 16px;
}

.hero-descricao {
    max-width: 760px;
    margin: 0 auto 30px;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #6e5b5b;
}

.hero-mini-info {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.mini-info-card {
    min-width: 180px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid #eddede;
    border-radius: 18px;
    padding: 18px 22px;
    box-shadow: 0 8px 25px rgba(140, 91, 91, 0.06);
}

.mini-info-numero {
    display: block;
    font-size: 1.7rem;
    font-weight: 700;
    color: #b86e6e;
    line-height: 1;
    margin-bottom: 8px;
}

.mini-info-texto {
    color: #6d5a5a;
    font-size: 0.95rem;
}

.pagina-lista-presentes {
    background: #fcf8f8;
    padding: 45px 20px 70px;
}

.secao-topo-lista {
    max-width: 1100px;
    margin: 0 auto 35px;
}

.secao-titulo-central {
    text-align: center;
}

.secao-subtitulo {
    display: inline-block;
    font-size: 0.90rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #c28787;
    margin-bottom: 10px;
}

.secao-titulo-central h2 {
    font-size: 2.1rem;
    color: #8c5b5b;
    margin-bottom: 10px;
}

.secao-titulo-central p {
    color: #6e5b5b;
    font-size: 1rem;
    margin-bottom: 0;
}

.filtros-lista {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) 160px 160px 130px auto auto;
    gap: 12px;
    align-items: center;
    margin: 28px auto 0;
    max-width: 1100px;
}

.cards-presentes {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 28px;
}

.card-presente {
    background: #ffffff;
    border: 1px solid #f0dfdf;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 14px 34px rgba(123, 82, 82, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
    min-height: 540px;
}

    .card-presente:hover {
        transform: translateY(-6px);
        box-shadow: 0 20px 38px rgba(123, 82, 82, 0.12);
    }

.card-presente-imagem-area {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #f8f4f4;
    overflow: hidden;
}

.card-presente-imagem {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.status-flutuante {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.status-doado {
    background: #dff2e3;
    color: #2f7a45;
}

.status-disponivel {
    background: #fff1f1;
    color: #b86e6e;
}

.card-presente-conteudo {
    padding: 22px 20px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

    .card-presente-conteudo h3 {
        color: #744b4b;
        font-size: 1.35rem;
        margin-bottom: 10px;
    }

.descricao-produto {
    color: #6e5b5b;
    font-size: 0.97rem;
    line-height: 1.6;
    min-height: 52px;
    margin-bottom: 18px;
}

.card-presente-infos {
    border-top: 1px solid #f3e5e5;
    border-bottom: 1px solid #f3e5e5;
    padding: 14px 0;
    margin-bottom: 18px;
}

.info-linha {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

    .info-linha:last-child {
        margin-bottom: 0;
    }

.info-label {
    font-size: 0.90rem;
    color: #8a7676;
    font-weight: 600;
}

.info-valor {
    font-size: 1.2rem;
    color: #b86e6e;
    font-weight: 700;
}

.info-texto {
    font-size: 0.95rem;
    color: #5f4f4f;
    text-align: right;
}

.box-doador {
    background: #e5e5e5;
    border: 1px solid #d6d6d6;
    color: #555555;
    border-radius: 14px;
    padding: 14px;
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 18px;
}

.acoes-card {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.btn-card {
    flex: 1 1 auto;
    text-align: center;
    text-decoration: none;
    border-radius: 12px;
    padding: 11px 14px;
    font-weight: 600;
    transition: 0.2s ease;
}

.btn-card-detalhes {
    background: #b86e6e;
    color: #fff;
}

    .btn-card-detalhes:hover {
        background: #a85e5e;
        color: #fff;
    }

.btn-card-doar {
    background: #6f9f7b;
    color: #fff;
}

    .btn-card-doar:hover {
        background: #5f8f6d;
        color: #fff;
    }

.btn-card-admin {
    background: #f4ebeb;
    color: #7d5a5a;
    border: 1px solid #e7d6d6;
}

    .btn-card-admin:hover {
        background: #ebdede;
        color: #6b4a4a;
    }

.btn-card-excluir {
    background: #fff4f4;
    color: #b35b5b;
    border: 1px solid #f0d2d2;
}

    .btn-card-excluir:hover {
        background: #fae7e7;
        color: #a24e4e;
    }

.card-presente-doado {
    background: #f1f1f1;
    opacity: 0.92;
    filter: grayscale(20%);
}

    .card-presente-doado .card-presente-imagem {
        filter: grayscale(35%);
    }

    .card-presente-doado .card-presente-conteudo h3,
    .card-presente-doado .descricao-produto,
    .card-presente-doado .info-label,
    .card-presente-doado .info-texto,
    .card-presente-doado .info-valor {
        color: #6f6f6f;
    }

    .card-presente-doado .btn-card-detalhes {
        background: #8e8e8e;
        color: #fff;
    }

        .card-presente-doado .btn-card-detalhes:hover {
            background: #7a7a7a;
        }

    .card-presente-doado .box-doador {
        background: #e9e9e9;
        border: 1px solid #d8d8d8;
        color: #5f5f5f;
    }

.estado-vazio {
    grid-column: 1 / -1;
    background: #fff;
    border: 1px solid #f0dfdf;
    border-radius: 22px;
    padding: 50px 25px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(123, 82, 82, 0.05);
}

    .estado-vazio h3 {
        color: #8c5b5b;
        margin-bottom: 12px;
    }

    .estado-vazio p {
        color: #6e5b5b;
        margin-bottom: 20px;
    }

/* FOOTER */
.footer-site {
    background: #6f4b4b;
    color: #fff6f6;
    margin-top: 0;
}

.footer-conteudo {
    max-width: 1200px;
    margin: 0 auto;
    padding: 42px 20px 28px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 34px;
    align-items: start;
}

.footer-coluna h4 {
    font-size: 1.05rem;
    margin-bottom: 12px;
    color: #ffffff;
    font-weight: 700;
}

.footer-coluna p {
    color: #f3dddd;
    line-height: 1.7;
    margin-bottom: 8px;
    max-width: 420px;
}

.footer-coluna a {
    display: inline;
    color: #ffeaea;
    text-decoration: none;
    transition: 0.2s ease;
    overflow-wrap: anywhere;
}

.footer-contato-linha {
    white-space: normal;
}

    .footer-coluna a:hover {
        color: #ffffff;
        text-decoration: underline;
    }

.footer-copy {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    text-align: center;
    padding: 16px 20px;
    color: #f5dede;
    font-size: 0.9rem;
}

.footer-copy p {
    margin: 0;
}

/* ADMIN */
.admin-painel {
    max-width: 1180px;
    margin: 0 auto;
}

.admin-painel-topo {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    margin-bottom: 28px;
}

.admin-painel-topo h1 {
    color: #8c5b5b;
    font-size: 2rem;
    margin: 0;
}

.admin-resumo {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}

.admin-tabela-wrap {
    overflow-x: auto;
    background: #fff;
    border: 1px solid #f0dfdf;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(123, 82, 82, 0.06);
}

.admin-tabela {
    width: 100%;
    border-collapse: collapse;
    min-width: 820px;
}

.admin-tabela th,
.admin-tabela td {
    padding: 14px 16px;
    border-bottom: 1px solid #f1e3e3;
    text-align: left;
    color: #5f4f4f;
}

.admin-tabela th {
    color: #8c5b5b;
    background: #fff8f8;
    font-size: 0.92rem;
}

.admin-tabela tr:last-child td {
    border-bottom: none;
}

.admin-acoes {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.admin-acoes a {
    color: #9a6464;
    font-weight: 700;
    text-decoration: none;
}

.admin-acoes a:hover {
    text-decoration: underline;
}

.preview-imagem-produto {
    border: 1px dashed #e4cfcf;
    border-radius: 16px;
    padding: 12px;
    background: #fff8f8;
}

.preview-imagem-produto img {
    display: block;
    width: 100%;
    max-height: 260px;
    object-fit: cover;
    border-radius: 12px;
    background: #f3ecec;
}

.preview-imagem-produto img[src=""],
.preview-imagem-produto img:not([src]) {
    display: none;
}

.obrigado-container {
    max-width: 680px;
}

.obrigado-card {
    display: flex;
    gap: 18px;
    align-items: center;
    background: #fff8f8;
    border: 1px solid #f0dede;
    border-radius: 18px;
    padding: 18px;
}

.obrigado-card img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 14px;
    background: #f3ecec;
}

.obrigado-card h2 {
    color: #8c5c5c;
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.obrigado-card p {
    color: #6e5b5b;
    line-height: 1.6;
    margin: 0;
}

/* RESPONSIVO */
@media (max-width: 900px) {
    .footer-conteudo {
        grid-template-columns: 1fr 1fr;
    }

    .footer-coluna-principal {
        grid-column: 1 / -1;
    }

    .footer-coluna p {
        max-width: none;
    }

    .card-details-produto {
        flex-direction: column;
    }

    .details-imagem-area {
        flex: 1 1 auto;
    }

    .details-imagem {
        height: 240px;
    }

    .details-grid {
        grid-template-columns: 1fr;
    }

    .entrega-pix-grid {
        grid-template-columns: 1fr;
    }

    .qrcode-area {
        text-align: center;
    }

    .admin-resumo {
        grid-template-columns: repeat(2, 1fr);
    }

    .admin-painel-topo {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }

    .pagina-formulario,
    .pagina-login {
        min-height: auto;
        padding: 24px 14px;
        align-items: flex-start;
    }

    .hero-content {
        padding: 25px;
    }

        .hero-content h1 {
            font-size: 2.2rem;
        }

        .hero-content p {
            font-size: 1rem;
        }

    .linha-dupla {
        grid-template-columns: 1fr;
    }

    .form-container,
    .login-box {
        padding: 22px;
        border-radius: 18px;
    }

    .acoes-login {
        grid-template-columns: 1fr;
    }

    .acoes-card {
        flex-direction: column;
    }

    .btn-card {
        width: 100%;
    }

    .card-preview-delete {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .imagem-preview-delete {
        width: 100%;
        max-width: 260px;
        height: 220px;
    }

    .hero-lista {
        padding: 74px 16px 34px;
    }

    .admin-home-area {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        margin: 0 auto 18px;
        max-width: 440px;
        width: 100%;
    }

    .admin-home-link {
        flex: 1 1 100%;
        text-align: center;
        padding: 9px 12px;
        font-size: 0.88rem;
    }

        .hero-lista h1 {
            font-size: 1.75rem;
            line-height: 1.2;
            margin-bottom: 12px;
        }

    .hero-descricao {
        font-size: 1rem;
        line-height: 1.55;
        margin-bottom: 22px;
        max-width: 440px;
    }

    .hero-badge {
        max-width: 240px;
        width: 100%;
        padding: 7px 14px;
        margin-bottom: 14px;
    }

    .hero-mini-info {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
        max-width: 280px;
        margin: 0 auto;
    }

    .mini-info-card {
        min-width: 0;
        padding: 14px 16px;
        border-radius: 14px;
    }

    .mini-info-numero {
        font-size: 1.35rem;
    }

    .pagina-lista-presentes {
        padding: 34px 16px 46px;
    }

    .secao-topo-lista {
        margin-bottom: 24px;
        max-width: 460px;
    }

    .secao-subtitulo {
        font-size: 0.78rem;
    }

    .secao-titulo-central h2 {
        font-size: 1.65rem;
    }

    .secao-titulo-central p {
        font-size: 1rem;
        line-height: 1.5;
    }

    .cards-presentes {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 460px;
    }

    .filtros-lista {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 20px;
        max-width: 460px;
    }

    .filtros-lista .input-form,
    .filtros-lista .btn-principal,
    .filtros-lista .btn-secundario {
        width: 100%;
        min-height: 46px;
        border-radius: 12px;
    }

    .filtros-lista .btn-principal,
    .filtros-lista .btn-secundario {
        display: block;
    }

    .filtros-lista .btn-secundario {
        display: none;
    }

    .admin-resumo {
        grid-template-columns: 1fr;
    }

    .obrigado-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .obrigado-card img {
        width: 100%;
        height: 220px;
    }

    .card-presente {
        min-height: auto;
        border-radius: 18px;
    }

    .card-presente-conteudo {
        padding: 18px;
    }

    .card-presente-conteudo h3 {
        font-size: 1.18rem;
    }

    .descricao-produto {
        min-height: auto;
    }

    .info-linha {
        align-items: flex-start;
        flex-direction: column;
    }

    .info-texto {
        text-align: left;
    }

    .footer-conteudo {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 34px 18px 24px;
        text-align: left;
    }

    .footer-coluna h4 {
        margin-bottom: 8px;
    }

    .footer-contato-linha {
        display: flex;
        flex-wrap: wrap;
        column-gap: 6px;
        row-gap: 2px;
        font-size: 0.95rem;
    }

    .footer-copy {
        text-align: left;
        padding: 14px 18px;
    }
}

@media (max-width: 420px) {
    .hero-lista {
        padding: 68px 14px 30px;
    }

    .hero-lista h1 {
        font-size: 1.55rem;
    }

    .hero-descricao {
        font-size: 0.95rem;
    }

    .secao-titulo-central h2 {
        font-size: 1.48rem;
    }

    .estado-vazio {
        padding: 32px 18px;
        border-radius: 16px;
    }

    .estado-vazio h3 {
        font-size: 1.2rem;
    }

    .estado-vazio p {
        font-size: 0.98rem;
    }

    .footer-coluna h4 {
        font-size: 1rem;
    }
}
