.card strong, .card .nome-categoria, .card h3, .card h2 {
    margin-bottom: 8px !important;
}
body {
    margin: 0;
    font-family: Arial;
    background: #111;
    color: white;
    scroll-behavior: smooth;
}

html {
    width: 100%;
    height: auto;
}

body {
    width: 100%;
    height: auto;
}

* {
    box-sizing: border-box;
}

/* HEADER */

.topo {

    background: black;
    padding: 15px 0;

}

.topo-container {

    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 90%;
    max-width: 1200px;

    margin: auto;

}

.logo {
    color: #ff2b2b;
    font-size: 34px;
    text-align: center;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
}

.logo-img {
    height: 9rem;
    max-width: 100%;
    width: auto;
    display: block;
    margin: 0 auto;
    border-radius: 16px;
    padding: 0;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    object-fit: cover;
    object-position: top;
    overflow: hidden;
}

.icone-esquerda,
.icone-direita {

    width: 50px;
    text-align: center;
    position: relative;

}

.icone-esquerda i,
.icone-direita i {

    font-size: 22px;
    color: white;

}

.status-login {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 12px;
    height: 12px;
    background: #44ff44;
    border-radius: 50%;
    border: 2px solid black;
    display: none;
}

.status-login.ativo {
    display: block;
}


/* BANNER */

.banner {

    text-align: center;
    padding: 40px 20px;
    background: #1c1c1c;

}

.banner h2 {

    color: #ff2b2b;

}


/* CATEGORIAS */

.categorias {

    padding: 20px;
    text-align: center;

}

.cards {


    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;


}

.card {

    background: #1c1c1c;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    max-width: 250px;
    width: 100%;
    margin: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;

}

.card img {

    max-width: 100%;
    height: 150px;
    object-fit: contain;
    background-color: #000;
    border-radius: 8px;
    margin-bottom: 10px;
}

.categoria-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    background-color: #000;
    border-radius: 8px;
    margin-bottom: 10px;
}

.categoria-img-placeholder {
    width: 100%;
    height: 150px;
    background-color: #333;
    border-radius: 8px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 14px;
}

@media (max-width: 768px) {

    html,
    body {
        height: auto !important;
        min-height: auto !important;
        overflow-y: auto !important;
    }

    .cards {
        gap: 15px;
        padding: 15px;
    }

    .card {
        max-width: 200px;
        margin: 5px;
        padding: 12px;
    }

    .card img {
        height: 200px;
        object-fit: cover;
        margin-bottom: 8px;
    }


    .categoria-img {
        height: 200px;
        margin-bottom: 8px;
    }


    .categoria-img-placeholder {
        height: 200px;
        margin-bottom: 8px;
    }

    .banner {
        padding: 25px 15px;
    }

    .banner h2 {
        font-size: 24px;
    }

    .banner p {
        font-size: 16px;
    }

    .topo {
        padding: 10px 0;
    }

    .logo-img {
        height: 6rem;
    }
}

@media (max-width: 600px) {
    .cards {
        gap: 10px;
        padding: 10px;
    }

    .card {
        max-width: 150px;
        margin: 5px;
        padding: 10px;
    }

    .card img {
        height: 100px;
    }

    .categoria-img {
        height: 100px;
    }

    .categoria-img-placeholder {
        height: 100px;
    }

    .banner {
        padding: 20px 10px;
    }

    .banner h2 {
        font-size: 20px;
    }

    .banner p {
        font-size: 14px;
    }

    .logo-img {
        height: 8rem;
    }

    .rodape {
        bottom: 5px;
        right: 5px;
    }

    .rodape i {
        font-size: 24px;
    }
}



/* RODAPÉ */

.rodape {

    position: fixed;
    bottom: 10px;
    right: 10px;

    display: flex;
    flex-direction: column;
    gap: 10px;

}

.rodape i {

    font-size: 28px;
    color: #25D366;

}

.produto {

    background: #1c1c1c;
    padding: 10px;
    border-radius: 10px;

}

.preco {

    color: #ff4444;
    font-weight: bold;

}

.pedido {

    background: #1c1c1c;
    margin: 10px;
    padding: 15px;
    border-radius: 10px;

}

.pedido-card {
    background: #1c1c1c;
    margin: 15px 0;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #ff2b2b;
    word-break: break-word;
}

.pedido-card h3 {
    color: #ff2b2b;
    margin: 0 0 15px 0;
}

.pedido-card ul {
    list-style: none;
    padding: 0;
    margin: 10px 0;
    color: #ccc;
}

.pedido-card ul li {
    padding: 8px 0;
    border-bottom: 1px solid #333;
}

.pedido-card ul li:last-child {
    border-bottom: none;
}

.pedido-card p {
    color: #aaa;
    font-size: 16px;
    margin: 10px 0;
}

.pedido-card strong {
    color: white;
}

.acoes {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 20px;
    width: 100%;
}

.btn-status {
    background: #333;
    color: white;
    border: 2px solid #555;
    padding: 10px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: bold;
    transition: all 0.3s;
    white-space: nowrap;
}

.btn-status:hover {
    background: #444;
    border-color: #ff2b2b;
    color: #ff2b2b;
}

.btn-finalizar {
    background: linear-gradient(135deg, #ff2b2b, #cc2222);
    color: white;
    border: none;
    padding: 10px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: bold;
    transition: all 0.3s;
    white-space: nowrap;
}

.btn-finalizar:hover {
    background: linear-gradient(135deg, #ff4444, #ff2b2b);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 43, 43, 0.4);
}

.btn-cancelar-pedido {
    background: #8b0000;
    color: white;
    border: none;
    padding: 10px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: bold;
    transition: all 0.3s;
    white-space: nowrap;
}

.btn-cancelar-pedido:hover {
    background: #cc0000;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.4);
}

.btn-editar-pedido {
    background: linear-gradient(135deg, #ffa500, #ff8800);
    color: white;
    border: none;
    padding: 10px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: bold;
    transition: all 0.3s;
    white-space: nowrap;
}

.btn-editar-pedido:hover {
    background: linear-gradient(135deg, #ffb82e, #ffa500);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 165, 0, 0.4);
}

.form-admin {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
    background: #222;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    height: auto;
    min-height: auto;
}

.form-admin input,
.form-admin textarea,
.form-admin select {
    padding: 12px;
    border-radius: 5px;
    border: none;
    background: #333;
    color: white;
    height: auto;
    min-height: 45px;
}

.form-admin textarea {
    grid-column: span 3;
    height: 100px;
}

.btn-salvar {
    grid-column: span 3;
    background: #ff2b2b;
    color: white;
    font-weight: bold;
    padding: 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

.card-admin {
    background: #222;
    width: 200px;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
}

.card-admin img,
.produto img {
    width: 100%;
    height: 120px;
    object-fit: contain;
    background-color: #222;
    border-radius: 8px;
}

.card-admin-acoes {
    margin-top: 10px;
    display: flex;
    justify-content: space-around;
}

.card-admin-acoes button {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
}

.card-admin-acoes .fa-trash {
    color: #ff4444;
}

.card-admin-acoes .fa-edit {
    color: #44ff44;
}

.cards-admin {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 20px;
}

@media (max-width: 768px) {
    .form-admin {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 10px;
    }

    .form-admin textarea,
    .form-admin button,
    .form-admin input {
        grid-column: span 1;
    }

    .cards-admin {
        flex-direction: column;
        align-items: center;
    }

    .card-admin {
        width: 90%;
    }
}

.topo-container {
    width: 95%;
    padding: 0 10px;
}

/* Estilos para Categorias */
.card-categoria-admin {
    background: #222;
    padding: 15px;
    border-radius: 8px;
    margin: 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-categoria-admin strong {
    color: #ff2b2b;
    font-size: 16px;
}

.card-categoria-admin p {
    color: #aaa;
    margin: 5px 0 0 0;
    font-size: 12px;
}

.btn-categoria {
    background: #ff2b2b;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    margin-top: 10px;
    width: 100%;
    transition: background 0.3s;
}

.btn-categoria:hover {
    background: #ff4444;
}

.btn-carrinho {
    background: #ff2b2b;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
    width: 100%;
}

.btn-carrinho:hover {
    background: #ff4444;
}

/* MODAL DE IMAGEM */
.modal-imagem {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s;
}

.modal-imagem.ativo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-conteudo {
    position: relative;
    background: #000;
    padding: 20px;
    border-radius: 10px;
    max-width: 90%;
    max-height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-conteudo img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
}

.fechar-modal {
    position: absolute;
    top: 15px;
    right: 25px;
    color: #ff2b2b;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.fechar-modal:hover,
.fechar-modal:focus {
    color: #ff6666;
}

.btn-excluir-cat {
    background: none;
    border: none;
    color: #ff4444;
    font-size: 18px;
    cursor: pointer;
}

.painel-categorias {
    background: #1c1c1c;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 200px;
    overflow: visible;
}

.painel-categorias h2 {
    color: #ff2b2b;
}

.admin-navigation {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: #222;
    margin-bottom: 30px;
    border-radius: 10px;
    flex-wrap: wrap;
}

.btn-nav {
    flex: 1;
    min-width: 250px;
    background: #ff2b2b;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-nav:hover {
    background: #ff4444;
}

/* Estilos para Abas do Admin */
.btn-nav.active {
    background: linear-gradient(135deg, #ff2b2b, #cc2222);
    box-shadow: 0 4px 15px rgba(255, 43, 43, 0.4);
}

.admin-secao {
    display: none;
    animation: fadeIn 0.3s ease-in;
    min-height: auto;
    height: auto;
    overflow: visible;
}

.admin-secao.active {
    display: block;
    overflow-y: visible;
    overflow-x: hidden;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body {
    scroll-behavior: smooth;
}

/* Force scroll on admin sections */
#secao-categorias,
#secao-pedidos {
    overflow: visible !important;
    position: relative;
    z-index: 1;
}

.pedidos-section {
    padding: 20px;
    max-width: 1400px;
    margin: 0 auto;
    padding-bottom: 200px;
    overflow: visible;
}

.pedidos-section h2 {
    color: #ff2b2b;
    margin-top: 0;
}

.painel-cadastro {
    padding: 20px;
    max-width: 1400px;
    margin: 0 auto;
    padding-bottom: 200px;
    overflow: visible;
}

.lista-admin-section {
    padding: 20px;
    max-width: 1400px;
    margin: 0 auto;
    padding-bottom: 200px;
    overflow: visible;
}

.admin-secao>div {
    overflow: visible;
    height: auto;
    min-height: auto;
}

.painel-categorias,
.painel-cadastro,
.lista-admin-section,
.pedidos-section {
    overflow: visible;
    height: auto;
    min-height: auto;
}

/* Dashboard de Vendas */
.dashboard-container {
    max-width: 1400px;
    margin: 30px auto;
    padding: 0 20px;
}

.dashboard-filtros {
    background: #222;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.dashboard-filtros h2 {
    color: #ff2b2b;
    margin-top: 0;
}

.filtro-group {
    margin: 15px 0;
}

.filtro-group label {
    display: block;
    margin-bottom: 8px;
    color: #aaa;
    font-weight: bold;
}

.filtro-group input {
    width: 100%;
    max-width: 300px;
    padding: 10px;
    background: #333;
    color: white;
    border: 1px solid #444;
    border-radius: 5px;
    font-size: 14px;
}

.btn-filtrar {
    background: #ff2b2b;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    margin-right: 10px;
    margin-top: 10px;
    transition: background 0.3s;
}

.btn-filtrar:hover {
    background: #ff4444;
}

.btn-limpar {
    background: #666;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    margin-top: 10px;
    transition: background 0.3s;
}

.btn-limpar:hover {
    background: #777;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: #222;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    border-left: 4px solid #ff2b2b;
}

.stat-card h3 {
    color: #aaa;
    margin: 0 0 15px 0;
    font-size: 14px;
    text-transform: uppercase;
}

.stat-value {
    color: #ff2b2b;
    font-size: 32px;
    font-weight: bold;
    margin: 0;
}

.vendas-list-section {
    margin-bottom: 40px;
}

.vendas-list-section h2 {
    color: #ff2b2b;
    margin-top: 0;
}

.vendas-table {
    width: 100%;
    border-collapse: collapse;
    background: #222;
    border-radius: 10px;
    overflow: hidden;
}

.vendas-table thead {
    background: #111;
}

.vendas-table th {
    color: #ff2b2b;
    padding: 15px;
    text-align: left;
    font-weight: bold;
    border-bottom: 2px solid #ff2b2b;
}

.vendas-table td {
    color: #ccc;
    padding: 12px 15px;
    border-bottom: 1px solid #333;
}

.vendas-table tbody tr:hover {
    background: #2a2a2a;
}

.produtos-mais-vendidos {
    background: #222;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.produtos-mais-vendidos h2 {
    color: #ff2b2b;
    margin-top: 0;
}

#produtos-ranking {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ranking-item {
    background: #1c1c1c;
    padding: 15px;
    border-radius: 8px;
}

.ranking-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.ranking-pos {
    background: #ff2b2b;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
}

.ranking-nome {
    flex: 1;
    color: white;
    font-weight: bold;
}

.ranking-stats {
    color: #aaa;
    font-size: 14px;
}

.ranking-barra {
    background: #333;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
}

.ranking-fill {
    background: linear-gradient(90deg, #ff2b2b, #ff6666);
    height: 100%;
    border-radius: 4px;
    transition: width 0.3s;
}

@media (max-width: 768px) {
    .dashboard-stats {
        grid-template-columns: 1fr;
    }

    .vendas-table {
        font-size: 12px;
    }

    .vendas-table th,
    .vendas-table td {
        padding: 8px 10px;
    }

    .stat-value {
        font-size: 24px;
    }
}

/* Estilos Carrinho */
.carrinho-items {
    padding: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.carrinho-item {
    background: #1c1c1c;
    padding: 50px;
    border-radius: 10px;
    margin-bottom: 36px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-left: 4px solid #ff2b2b;
}

.item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.item-nome {
    font-size: 44px;
    color: white;
}

.item-preco {
    font-size: 48px;
    font-weight: bold;
}

.btn-remover {
    background: #ff2b2b;
    color: white;
    border: none;
    padding: 28px 56px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 36px;
    font-weight: bold;
    transition: background 0.3s;
    margin-left: 30px;
}

.btn-remover:hover {
    background: #ff4444;
}

.carrinho-resumo {
    background: #222;
    padding: 40px;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    border-radius: 10px;
}

.carrinho-resumo h2 {
    font-size: 56px;
    color: #ff2b2b;
    margin: 0 0 40px 0;
}

.carrinho-resumo #total-carrinho {
    color: #ff2b2b;
    font-weight: bold;
}

.btn-carrinho-finalizar {
    background: #ff2b2b;
    color: white;
    border: none;
    padding: 30px 80px;
    font-size: 36px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    width: 100%;
    max-width: 500px;
    transition: background 0.3s;
}

.btn-carrinho-finalizar:hover {
    background: #ff4444;
}

@media (max-width: 768px) {
    .acoes {
        grid-template-columns: repeat(2, 1fr);
    }

    .btn-status,
    .btn-finalizar,
    .btn-cancelar-pedido {
        font-size: 14px;
        padding: 12px 15px;
    }
}

@media (max-width: 600px) {
    .carrinho-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .btn-remover {
        margin-left: 0;
        margin-top: 15px;
        width: 100%;
    }

    .carrinho-resumo {
        padding: 20px;
    }

    .carrinho-resumo h2 {
        font-size: 24px;
    }

    .item-nome {
        font-size: 18px;
    }

    .item-preco {
        font-size: 16px;
    }
}

/* Login Styles */
.login-container {
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: linear-gradient(135deg, #111 0%, #1a1a1a 100%);
}

.login-box {
    background: #222;
    padding: 40px;
    border-radius: 15px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid #333;
}

.login-box h2 {
    color: #ff2b2b;
    font-size: 28px;
    margin: 0 0 10px 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.login-subtitle {
    color: #aaa;
    text-align: center;
    font-size: 14px;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
}

.form-group input {
    width: 100%;
    padding: 15px;
    border: 2px solid #333;
    border-radius: 8px;
    background: #1a1a1a;
    color: white;
    font-size: 16px;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #ff2b2b;
    box-shadow: 0 0 10px rgba(255, 43, 43, 0.3);
}

.form-group input::placeholder {
    color: #666;
}

.btn-login {
    width: 100%;
    padding: 15px;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.btn-primary {
    background: #ff2b2b;
    color: white;
}

.btn-primary:hover {
    background: #ff4444;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 43, 43, 0.4);
}

.btn-secondary {
    background: #333;
    color: white;
    border: 2px solid #555;
}

.btn-secondary:hover {
    background: #444;
    border-color: #ff2b2b;
}

.btn-admin {
    background: linear-gradient(135deg, #ff2b2b, #ff4444);
    color: white;
}

.btn-admin:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 43, 43, 0.5);
}

.divider {
    text-align: center;
    color: #666;
    margin: 25px 0;
    font-size: 14px;
    font-weight: bold;
}

.login-footer {
    text-align: center;
    margin-top: 30px;
    color: #aaa;
    font-size: 14px;
}

.login-footer p {
    margin: 10px 0;
}

.btn-link {
    background: none;
    border: none;
    color: #ff2b2b;
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
    padding: 0;
    transition: color 0.3s;
}

.btn-link:hover {
    color: #ff4444;
}

@media (max-width: 600px) {
    .login-box {
        padding: 30px 20px;
    }

    .login-box h2 {
        font-size: 24px;
    }

    .form-group input {
        padding: 12px;
        font-size: 16px;
    }

    .btn-login {
        padding: 12px;
        font-size: 16px;
    }
}

/* FOOTER CREDITO */
.rodape-credito {
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    border-top: 1px solid #333;
    color: #999;
    font-size: 12px;
}

.rodape-credito p {
    margin: 0;
}

.rodape-credito a {
    color: #ff2b2b;
    text-decoration: none;
    transition: color 0.3s;
}

.rodape-credito a:hover {
    color: #ff4444;
}

/* PÁGINA DE PAGAMENTO */
.pagamento-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    overflow: visible;
}

.pagamento-box {
    background: transparent;
    border-radius: 15px;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    overflow: visible;
}

.pedido-resumo,
.endereco-entrega,
.forma-pagamento {
    background: #222;
    padding: 15px;
    border-radius: 10px;
    border-left: 4px solid #ff2b2b;
    overflow: visible;
}

.pedido-resumo h2,
.endereco-entrega h2,
.forma-pagamento h2 {
    color: #ff2b2b;
    margin: 0 0 20px 0;
    font-size: 18px;
}

#items-resumo {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #333;
}

.item-resumo {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: #ccc;
    font-size: 14px;
}

.item-resumo strong {
    color: white;
}

.resumo-totais {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.linha-total {
    display: flex;
    justify-content: space-between;
    color: #aaa;
    font-size: 13px;
}

.linha-total.total-final {
    border-top: 2px solid #333;
    padding-top: 10px;
    color: white;
    font-weight: bold;
    font-size: 16px;
}

.form-pagamento {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.form-pagamento input {
    padding: 12px;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 5px;
    color: white;
    font-size: 14px;
}

.form-pagamento input::placeholder {
    color: #666;
}

.form-pagamento input:focus {
    outline: none;
    border-color: #ff2b2b;
    box-shadow: 0 0 10px rgba(255, 43, 43, 0.2);
}

.opcoes-pagamento {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.opcao-pagamento {
    position: relative;
}

.opcao-pagamento input {
    display: none;
}

.opcao-pagamento input:checked+.pagamento-card {
    background: #ff2b2b;
    border-color: #ff2b2b;
    color: white;
}

.pagamento-card {
    background: #1a1a1a;
    border: 2px solid #333;
    border-radius: 8px;
    padding: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-height: auto;
}

.pagamento-card:hover {
    border-color: #ff2b2b;
}

.pagamento-card i {
    font-size: 22px;
}

.pagamento-card span {
    font-size: 11px;
    font-weight: bold;
}

.btn-finalizar-pagamento {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #ff2b2b, #ff4444);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.btn-finalizar-pagamento:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 43, 43, 0.4);
}

/* ESTILO PARA RETIRADA NA LOJA */
.pagamento-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    overflow: visible;
}

.retirada-loja-container {
    background: #222;
    padding: 15px;
    border-radius: 10px;
    border-left: 4px solid #44ff44;
    overflow: visible;
}

.opcao-retirada {
    position: relative;
}

.opcao-retirada input {
    display: none;
}

.opcao-retirada input:checked+.retirada-card {
    background: #44ff44;
    border-color: #44ff44;
    color: black;
}

.opcao-retirada input:checked+.retirada-card .retirada-header,
.opcao-retirada input:checked+.retirada-card .endereco-label,
.opcao-retirada input:checked+.retirada-card .economia-label {
    color: black;
}

.opcao-retirada input:checked+.retirada-card .endereco-texto,
.opcao-retirada input:checked+.retirada-card p {
    color: #222;
}

.retirada-card {
    background: #1a1a1a;
    border: 2px solid #333;
    border-radius: 8px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: auto;
}

.retirada-card:hover {
    border-color: #44ff44;
}

.retirada-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    font-size: 14px;
    color: white;
}

.retirada-header i {
    font-size: 20px;
}

.retirada-endereco {
    background: rgba(0, 0, 0, 0.2);
    padding: 10px;
    border-radius: 5px;
}

.endereco-label {
    margin: 0;
    color: #aaa;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.endereco-texto {
    margin: 5px 0 0 0;
    color: #ccc;
    font-size: 13px;
    line-height: 1.4;
}

.retirada-economia {
    background: rgba(68, 255, 68, 0.1);
    padding: 10px;
    border-radius: 5px;
    border-left: 3px solid #44ff44;
}

.economia-label {
    margin: 0;
    color: #aaa;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: bold;
}

.economia-valor {
    margin: 8px 0 0 0;
    color: #44ff44;
    font-size: 18px;
    font-weight: bold;
}

@media (max-width: 768px) {
    .pagamento-wrapper {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .retirada-loja-container {
        padding: 12px;
    }

    .retirada-card {
        padding: 12px;
    }
    .pagamento-container {
        overflow: visible;
    }

    .pagamento-box {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 0;
        overflow: visible;
    }

    .pedido-resumo,
    .endereco-entrega,
    .forma-pagamento {
        padding: 12px;
        border-left: 4px solid #ff2b2b;
        overflow: visible;
        height: auto;
        min-height: auto;
    }

    .btn-finalizar-pagamento {
        grid-column: 1;
        margin-top: 8px;
        padding: 10px;
        font-size: 13px;
    }

    .opcoes-pagamento {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
        width: 100%;
        overflow: visible;
    }

    .opcao-pagamento {
        width: 100%;
        display: block;
        overflow: visible;
    }

    .pagamento-card {
        padding: 10px;
        flex-direction: row;
        gap: 10px;
        justify-content: flex-start;
        width: 100%;
        min-height: auto;
    }

    .pagamento-card i {
        font-size: 18px;
    }

    .pagamento-card span {
        font-size: 12px;
    }
}

@media (max-width: 600px) {
    .pagamento-container {
        padding: 10px;
        overflow: visible;
    }

    .pagamento-box {
        gap: 8px;
        overflow: visible;
    }

    .pedido-resumo,
    .endereco-entrega,
    .forma-pagamento {
        padding: 10px;
        overflow: visible;
    }

    .form-pagamento input {
        padding: 9px;
        font-size: 12px;
    }

    .pagamento-card {
        padding: 8px;
        gap: 8px;
    }

    .pagamento-card i {
        font-size: 16px;
    }

    .pagamento-card span {
        font-size: 11px;
    }

    .btn-finalizar-pagamento {
        padding: 10px;
        font-size: 12px;
    }
}