:root {
    --primary: #2c3e50;
    --secondary: #e74c3c;
    --light: #ecf0f1;
    --dark: #1a252f;
    --accent: #3498db;
}

 /* Estilos Gerais */
 .cart-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
    z-index: 1;
}

.cart-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    overflow: hidden;
    z-index: 1;
}

.cart-items{
    max-width: 100% !important;
    overflow: hidden;
    z-index: 1;
}

@media (min-width: 992px) {
    .cart-grid {
        grid-template-columns: 2fr 1fr;
    }
}


@media (max-width: 768px) {

    .cart-container {
        max-width: 100% ;
    }


}

/* Cabeçalhos */
.cart-header, .summary-header {
    background: #2c3e50;
    color: white;
    padding: 1rem;
    border-radius: 8px 8px 0 0;
}

.cart-header h2, .summary-header h2 {
    margin: 0;
    font-size: 1.25rem;
}

.cart-header i, .summary-header i {
    margin-right: 0.5rem;
}

/* Tabela de Itens */
.cart-table {
    background: white;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

.cart-table table {
    width: 100%;
    border-collapse: collapse;
}

.cart-table th {
    text-align: left;
    padding: 1rem;
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

.cart-table td {
    padding: 1rem;
    border-bottom: 1px solid #dee2e6;
    vertical-align: middle;
}

.cart-table tr:last-child td {
    border-bottom: none;
}

/* Carrinho Vazio */
.empty-cart td {
    text-align: center;
    padding: 3rem 1rem !important;
}

.empty-cart-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.empty-cart i {
    font-size: 3rem;
    color: #6c757d;
}

.empty-cart p {
    margin: 0;
    font-size: 1.1rem;
    color: #6c757d;
}

/* Resumo do Pedido */
.summary-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 1rem;
}

.summary-body {
    padding: 1.5rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.summary-divider {
    height: 1px;
    background: #dee2e6;
    margin: 1rem 0;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

/* Botões */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid transparent;
    gap: 0.5rem;
}

.btn-primary {
    background: #28a745;
    color: white;
    width: 100%;
}

.btn-primary:hover {
    background: #218838;
}

.btn-outline {
    background: transparent;
    color: #2c3e50;
    border-color: #2c3e50;
    width: 100%;
    margin: 0 !important;
}

.btn-outline:hover {
    background: var(--secondary);
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
}

.btn-danger {
    background: #dc3545;
    color: white;
}

.btn-danger:hover {
    background: #c82333;
}


/* Badges */
.badge {
    display: inline-block;
    padding: 0.35em 0.65em;
    font-size: 0.75em;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.25rem;
}

.bg-success {
    background-color: #28a745;
    color: white;
}

.bg-warning {
    background-color: #ffc107;
    color: #212529;
}

.bg-danger {
    background-color: #dc3545;
    color: white;
}

#itens-carrinho .img{
    display: flex;
    align-items: center;
    justify-self: center;

    img{
        width: 40px;
        height: 40px;
    }

}


.imgQrCodeModal{
    width: 290px;
    max-height: 290px;
}

.divLoadingModalPix{
    display: inline-block;
    margin: 10px;
}


.divLoadingModalPix .imgLoadingModalPix{
    display: inline-block;
    width: 50px;
}

.divLoadingModalPix h2{
    display: inline-block;
    margin: 10px;
    height: 30px;
}


.btnModoPrint{
    width: 130px;
    height: auto;
    margin: 5px;
    padding: 5px;
    display: inline-block;
    border: none;
    border-radius: 10px;
}
    .btnModoPrint:hover{
        box-shadow: 5px 5px 10px lightgray;
        border: 0.5px solid rgb(226, 226, 226);
        cursor: pointer;
    }
    .btnModoPrint img{
        max-width: 120px;
        margin: 0px;
        text-align: center;
    }


.btnUrl{
    margin: 5px 10px;
    width: calc(100% - 20px);
    height: calc(100% - 10px);
    padding: 5px;
    text-align: center;
    font-weight: bold;
    
}


.legenda ul{
    list-style-type: none;
}

.legenda ul li{
    font-size: 16px;
}


#divNewPagtoNormal{
    overflow: hidden;
}