body {
    font-family: Arial, sans-serif;
    margin: 0;
    display: flex;
    height: 100dvh;
    background-color: #f0f2f5;
    overflow: auto; /* Evita scroll na pgina principal */
}

/* Main PDV Screen */
.main-pdv-screen {
    display: flex;
    width: 100%;
    height: 100dvh;
}

/* Finalize Order Screen (Initial State: Hidden) */
.finalize-order-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100dvh;
    background-color: #f0f2f5; /* Fundo similar ao do corpo */
    display: none; /* Oculta por padro */
    flex-direction: column;
    z-index: 1000; /* Garante que fique acima de tudo */
}

.finalize-header {
    background-color: #4CAF50; /* Verde do cabealho da imagem */
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2em;
    font-weight: bold;
}

.finalize-header .finalize-title {
    font-size: 1.5em;
}

.finalize-header .header-buttons {
    display: flex;
    align-items: center;
}

.finalize-header .header-buttons button {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    margin-left: 10px;
    transition: background-color 0.3s ease;
}
.finalize-header .header-buttons button:hover {
    background-color: rgba(255, 255, 255, 0.4);
}
.finalize-header .header-buttons .back-button {
    background-color: #6a1b9a; /* Roxo para o boto voltar */
    padding: 8px 15px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.finalize-header .header-buttons .back-button:hover {
    background-color: #7b29ad;
}

.finalize-header .header-buttons .finalize-button {
    font-size: 1.3em;
    padding: 15px 30px;
    font-weight: bold;
    background-color: #0d47a1; /* Azul Escuro */
}

.finalize-header .header-buttons .finalize-button:hover {
    background-color: #0b3a82; /* Azul Escuro (Hover) */
}

.finalize-content {
    display: flex;
    flex-grow: 1;
    padding: 20px;
    gap: 20px; /* Espaamento entre os painis */
}

.finalize-items-panel {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.finalize-items-panel .panel-title {
    background-color: #fcf8e3; /* Cor de fundo */
    color: #4a4a4a;
    font-size: 1.2em;
    font-weight: bold;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #f5c6cb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.toggle-items-button {
    display: none;
}
.items-table-header {
    display: grid;
    grid-template-columns: 2fr 0.5fr 0.8fr;
    font-weight: bold;
    padding-bottom: 5px;
    border-bottom: 1px solid #ddd;
}
.finalize-item-list {
    flex-grow: 1;
    overflow-y: auto;
    margin-bottom: 15px;
    max-height: 20vh;
}
.finalize-item-row {
    display: grid;
    grid-template-columns: 2fr 0.5fr 0.8fr;
    padding: 8px 0;
    border-bottom: 1px dotted #e0e0e0;
}
.finalize-item-row:last-child {
    border-bottom: none;
}
.finalize-summary {
    border-top: 1px solid #e0e0e0;
    padding-top: 15px;
}
.summary-table {
    width: 100%;
    margin-bottom: 10px;
    background-color: #fcf8e3;
    padding: 10px;
    border-radius: 8px;
}
.summary-table td {
    padding: 8px;
    font-size: 1.1em;
}
.summary-table td:last-child {
    text-align: right;
    font-weight: bold;
}

.summary-table .total-label,
.summary-table .total-value {
    font-size: 1.4em;
    color: #0d47a1;
}

.finalize-payment-panel {
    flex: 1; /* Mdio */
    background-color: white;
    padding: 15px;
    display: flex;
    flex-direction: column;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    gap: 15px;
}
.payment-method-title {
    display: flex;
    justify-content: space-between;
    background-color: white;
    color: #4a4a4a !important;
    font-size: 1.2em;
    font-weight: bold;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #eee;
}
.payment-methods button {
    display: block;
    width: 100%;
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    padding: 10px;
    margin-bottom: 5px;
    cursor: pointer;
    font-size: 1em;
    text-align: left;
    border-radius: 3px;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}
.payment-methods button:hover {
    background-color: #e0e0e0;
}
.payment-methods button.selected {
    background-color: #6a1b9a; /* Roxo para selecionado */
    color: white;
    border-color: #6a1b9a;
}

.edit-payment-button {
    display: none; /* Escondido no desktop */
}

.finalize-details-panel {
    flex: 1.5; /* Mais estreito */
    background-color: white;
    padding: 15px;
    display: flex;
    gap: 5px;
    min-width: 70%;
    /* flex-direction: column; */
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.finalize-details-panel .panel-title {
    color: #4a4a4a !important;
    font-size: 1em;
    font-weight: bold;
    padding: 8px 0;
    margin-bottom: 5px;
    border-bottom: 1px solid #eee;
}

.panel-section-top, .panel-section-middle, .panel-section-bottom {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #eee;
}
.panel-section-bottom {
    border-bottom: none;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Alinha os botes ao final */
}

.parcels-section, .observation-section, .discount-section, .received-section, .change-section {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 1.1em;
}
.parcels-section span, .observation-section span, .discount-section span, .received-section span, .change-section span {
    font-weight: bold;
    margin-right: 10px;
}

.parcel-options {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
}
.quit-button {
    background-color: #e7e7e7;
    border: 1px solid #ccc;
    padding: 5px 10px;
    border-radius: 3px;
    cursor: pointer;
}
.obs-input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 1em;
}

.discount-section input[type="number"] {
    width: 60px;
    text-align: center;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 3px;
    margin-right: 5px;
}
.discount-value {
    margin-left: auto; /* Empurra o valor para a direita */
    font-weight: bold;
    color: #f44336; /* Vermelho para desconto */
}

.received-section input[type="number"] {
    flex-grow: 1;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 1.2em;
    font-weight: bold;
    text-align: right;
    color: #4CAF50;
}
.change-section {
    justify-content: space-between;
    font-size: 1.5em;
    color: #2196f3; /* Azul para troco */
}
#change-value {
    font-weight: bold;
}

.client-info {
    margin-top: 0;
    margin-bottom: 10px;
}
.client-info .input-group {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 48%; /* Para duas colunas */
}
.client-info .input-group.full-width {
    width: 100%;
    flex: none; /* Desativa o flex para ocupar 100% */
}
.client-info .input-label {
    font-size: 0.9em;
    color: #555;
    margin-bottom: 3px;
    font-weight: bold;
}
.client-info input {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 1em;
}

.action-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 15px;
    margin-top: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: white;
    transition: background-color 0.3s ease;
}
.action-button span {
    margin-right: 8px;
}
.nfc-e-button {
    background-color: #03a9f4; /* Azul claro */
}
.nfc-e-button:hover {
    background-color: #039be5;
}
.finalize-button {
    background-color: #4caf50;
    color: white;
}
.finalize-button:hover {
    background-color: #45a049;
}


/* --- Existing PDV Screen Styles (keep as is or adjust slightly) --- */

/* Painel Esquerdo - Produtos */
.left-panel {
    width: 40%;
    background-color: #ffffff;
    border-right: 1px solid #dcdcdc;
    display: flex;
    flex-direction: column;
    padding: 0 20px 20px 20px;
    box-sizing: border-box;
}

.panel-title-container {
    padding: 15px 0;
    margin: 0 -20px 15px -20px;
    background-color: #6a1b9a;
    text-align: center;
}

.panel-title {
    color: white;
    font-size: 1.2em;
    font-weight: bold;
    margin: 0;
}

.product-search {
    display: flex;
    margin-bottom: 15px;
}

.product-search input {
    flex-grow: 1;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px 0 0 5px;
    font-size: 1em;
}

.product-search button {
    background-color: #6a1b9a; /* Cor similar ao da imagem */
    color: white;
    border: none;
    padding: 10px 15px;
    margin-left: 5px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.product-search button.search {
    background-color: #6a1b9a;
}

.product-search button.search:hover {
    background-color: #7b29ad;
}


.product-search button.f8 {
    background-color: #4CAF50; /* Verde */
}
.product-search button.f8:hover {
    background-color: #45a049;
}

.product-search button.clear {
    background-color: #f44336; /* Vermelho */
}
.product-search button.clear:hover {
    background-color: #d32f2f;
}

.product-list {
    /* flex-grow: 1; */
    overflow-y: auto;
    padding-right: 5px; /* Para dar espao ao scrollbar */
}

.product-list::-webkit-scrollbar {
    width: 8px;
}

.product-list::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 4px;
}

.product-item {
    background-color: #f9f9f9;
    border: 1px solid #eee;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
}

.product-item .product-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Alinha topo para nomes longos */
    margin-bottom: 10px;
}

.product-item .product-name {
    font-weight: bold;
    font-size: 1.1em;
    color: #333;
    flex: 1; /* Permite que o nome ocupe espao */
}

.product-item .product-price {
    font-size: 1.2em;
    color: #28a745; /* Verde para preos */
    font-weight: bold;
    margin-left: 15px; /* Espao entre nome e preo */
    white-space: nowrap; /* Evita quebra de linha no preo */
}

.product-item .quantity-control {
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Alinha os controles  direita */
}

.quantity-control button {
    background-color: #007bff; /* Azul */
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s ease;
}
.quantity-control button:hover {
    background-color: #0056b3;
}

.quantity-control input {
    width: 40px; /* Reduzi um pouco */
    text-align: center;
    border: 1px solid #ccc;
    margin: 0 5px;
    padding: 5px;
    border-radius: 3px;
    font-size: 1em;
}

.product-item .add-button {
    background-color: #6a1b9a; /* Cor similar ao da imagem */
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    margin-left: 10px; /* Espao entre quantidade e boto */
    transition: background-color 0.3s ease;
}

.product-item .add-button:hover {
    background-color: #7b29ad;
}

.loading-message {
    text-align: center;
    padding: 20px;
    color: #666;
    font-size: 1.2em;
}

/* Painel Direito - Carrinho */
.right-panel {
    flex: 1.5; /* Um pouco maior que o esquerdo */
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    position: relative; /* Adicionado para ser a referncia do rodap */
}

.cart-header {
    background-color: #007bff; /* Azul similar ao da imagem */
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2em;
    font-weight: bold;
}

.cart-header-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-header .setup-button {
    background: none;
    border: 2px solid white;
    color: white;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    font-size: 1.2em;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.cart-header .setup-button:hover {
    background-color: white;
    color: #007bff;
}

.cart-header .evasor-button {
    background-color: #f44336; /* Vermelho */
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9em;
    transition: background-color 0.3s ease;
}
.cart-header .evasor-button:hover {
    background-color: #d32f2f;
}

.cart-content {
    flex-grow: 1;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    color: #d0d0d0; /* Cinza claro para o texto grande */
    font-size: 3em;
    text-align: center;
    overflow-y: auto; /* Para permitir scroll nos itens do carrinho */
    padding: 10px;
}

.cart-content .cart-icon {
    font-size: 2em; /* Tamanho do cone do carrinho */
    margin-bottom: 10px;
}

.cart-items {
    width: 100%;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 12px 10px;
    border-bottom: 1px solid #eee;
    background-color: #fff; /* Cor padro (branco) */
}

.cart-item:nth-child(odd) {
    background-color: #F5F5DC; /* Cor bege para itens mpares */
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.cart-item .item-details {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.cart-item .item-name {
    font-weight: bold;
    font-size: 1em; 
    color: #000;
    margin-bottom: 4px;
}

.cart-item .item-qty-price {
    white-space: nowrap;
    color: #555;
    font-size: 0.9em;
}

.cart-item .item-total {
    font-weight: bold;
    color: #0d47a1;
    font-size: 1.1em;
    margin-top: 4px;
}

.cart-item .remove-item {
    background-color: #f44336;
    color: white;
    border: none;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    font-size: 0.8em;
    cursor: pointer;
    margin-left: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease;
}
.cart-item .remove-item:hover {
    background-color: #d32f2f;
}


.cart-footer {
    background-color: #28a745; /* Verde similar ao da imagem */
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.5em;
    font-weight: bold;
    /* As regras de position: absolute foram movidas para .main-pdv-screen > .cart-footer */
}

.right-panel > .cart-footer {
    position: sticky;
    bottom: 0;
    right: 0;
    box-sizing: border-box;
    width: 100%; /* Ocupa o espao do painel direito */
}

.cart-footer .total-label {
    margin-left: auto; /* Empurra o total para a direita */
    margin-right: 10px;
}

.cart-footer .total-value {
    font-size: 1.8em;
}

.cart-footer .f2-button {
    background-color: #6a1b9a; /* Cor similar ao da imagem */
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    margin-left: 20px; /* Espao para o boto */
    transition: background-color 0.3s ease;
}
.cart-footer .f2-button:hover {
    background-color: #7b29ad;
}

.sync-button-container {
    margin-bottom: 20px;
    text-align: center;
}

.sync-data-button {
    background-color: #ff9800; /* Laranja para destaque */
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    font-weight: bold;
    transition: background-color 0.3s ease;
    width: 100%; /* Ocupa a largura total */
}

.sync-data-button:hover {
    background-color: #fb8c00;
}

/* Mensagens de feedback (Movido para o final do body no HTML) */
.feedback-message {
    position: fixed;
    bottom: 40px; /* Aumentado para subir mais */
    left: 20px;   /* Alinhado  esquerda */
    transform: none; /* Remove a centralizao horizontal */
    background-color: #fcf8e3; /* Fundo amarelo claro */
    color: #8a6d3b; /* Cor do texto para contraste */
    border: 1px solid #faebcc; /* Borda sutil */
    padding: 10px 20px;
    border-radius: 5px;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    z-index: 1000;
    min-width: 250px;
    text-align: left; /* Alinhado  esquerda */
}

.feedback-message.show {
    opacity: 1;
}

.feedback-message.success {
    background-color: #ebedb9;
}

.feedback-message.error {
    background-color: #040150;
}

.feedback-message.info {
    background-color: #17a2b8;
}

/* --- Finalize Footer --- */
.finalize-footer {
    position: absolute;
    bottom: 0;
    right: 0;
    margin: 15px;
    display: flex;
    justify-content: flex-end; /* Alinha o boto  direita */
    box-sizing: border-box;
}

.finalize-button .total-value {
    padding-left: 5px;
}

.finalize-footer .finalize-button {
    background-color: #6a1b9a; /* Cor roxa */
    padding: 15px 30px; /* Padding generoso */
    font-size: 1.2em;
}
.finalize-footer .finalize-button:hover {
    background-color: #7b29ad; /* Roxo mais claro no hover */
}

@media (max-width: 768px) {
    .main-pdv-screen {
        flex-direction: column;
        height: auto;
    }

    .left-panel, .right-panel {
        width: 100%;
        min-height: 50vh; /* Para telas menores, cada painel ocupa metade */
        box-shadow: none;
        border-bottom: 5px solid #f0f2f5;
    }

    .right-panel {
        min-height: 40vh; /* Ajuste para o carrinho */
    }

    .cart-footer {
        flex-wrap: wrap; /* Permite quebrar linha em telas pequenas */
        justify-content: center;
    }

    .cart-footer span, .cart-footer button {
        margin: 5px;
    }

    .cart-footer .total-value {
        width: 100%;
        text-align: center;
    }

    .finalize-content {
        flex-direction: column;
        padding: 10px;
        gap: 10px;
    }
    .finalize-items-panel, .finalize-payment-panel, .finalize-details-panel {
        flex: none; /* Desativa o flex-grow */
        width: 100%;
        margin-bottom: 10px;
    }
    .client-info .input-group {
        min-width: 100%; /* Uma coluna em telas pequenas */
    }
}

.details-table {
    width: 100%;
    border-collapse: collapse;
}
.details-table td {
    padding: 4px 5px;
    vertical-align: middle;
}
.details-table .label-cell {
    width: 100px;
    font-weight: 500;
}
.client-table {
    width: 100%;
}
.client-table td {
    padding: 4px 0;
}
.client-table .input-label {
    width: 80px;
    display: inline-block;
}

.finalize-actions {
    margin-top: 15px;
}

.details-section {
    margin-bottom: 5px;
}

.details-section:last-child {
    margin-bottom: 0;
}

.details-table input {
    width: 100%;
    padding: 12px;
    font-size: 1.4em;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.client-table .input-label {
    font-weight: bold;
    color: #555;
}

/* New Order Details Form Styles */
.order-details-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 15px;
}

.form-row, .form-row-grid {
    display: flex;
    gap: 20px;
    align-items: flex-end;
}

.form-row-grid {
    display: flex;
    flex-wrap: wrap;
    /* grid-template-columns: repeat(4, 1fr); */
    gap: 15px;
    align-items: stretch; /* Garante que os itens se estiquem */
}

.form-group, .form-group.vertical-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    height: 100%; /* Fora os itens a terem a mesma altura */
    box-sizing: border-box; /* Garante que padding no afete a altura final */
}

.form-group-vertical label,
.form-group label {
    font-size: 1.3em;
    color: #333;
    font-weight: bold;
}

.form-group-vertical input,
.form-group-vertical #change-value,
.full-width-group input,
.styled-select {
    font-size: 1.8em;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-weight: bold;
}

.form-group-vertical .input-group {
    display: flex;
    align-items: center;
}

.form-group-vertical .input-group input {
    flex: 1;
    border-right: none;
    border-radius: 4px 0 0 4px;
}
.form-group-vertical .input-group span {
    padding: 10px;
    background-color: #eee;
    border: 1px solid #ccc;
    border-left: none;
    border-radius: 0 4px 4px 0;
}
.form-group-vertical .discount-value {
    font-size: 0.9em;
    color: #f44336;
    font-weight: bold;
    text-align: right;
    margin-top: 5px;
}

.form-group.checkbox-group {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    flex: 0.5;
}

.styled-checkbox {
    display: none; /* Hide original checkbox */
}

.styled-checkbox + label {
    position: relative;
    padding-left: 35px;
    cursor: pointer;
    font-size: 1.1em;
    user-select: none;
    display: inline-block;
    line-height: 25px;
}

.styled-checkbox + label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 25px;
    height: 25px;
    border: 2px solid #ccc;
    background-color: #fff;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.styled-checkbox:checked + label::before {
    background-color: #0d47a1;
    border-color: #0d47a1;
}

.styled-checkbox + label::after {
    content: '';
    position: absolute;
    left: 9px;
    top: 5px;
    width: 8px;
    height: 15px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.styled-checkbox:checked + label::after {
    opacity: 1;
}


.full-width-group {
    flex: 1 1 100%;
}

.form-row-grid .form-group.vertical-group:nth-child(1) { background-color: #e3f2fd; } /* Azul Claro */
.form-row-grid .form-group.vertical-group:nth-child(2) { background-color: #e8f5e9; } /* Verde Claro */
.form-row-grid .form-group.vertical-group:nth-child(3) { background-color: #fff3e0; } /* Laranja Claro */
.form-row-grid .form-group.vertical-group:nth-child(4) { background-color: #fffde7; } /* Amarelo Pastel */

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.modal-content {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    width: 90%;
    max-width: 400px;
    text-align: center;
    position: relative;
}

.modal-title {
    margin-top: 0;
    color: #333;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.modal-form input {
    padding: 12px;
    font-size: 1em;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.login-button {
    padding: 12px;
    font-size: 1.1em;
    color: white;
    background-color: #0d47a1;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.login-button:hover {
    background-color: #0b3a82;
}

.close-modal-button {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
    color: #999;
}

.login-error-message {
    color: #dc3545;
    margin-bottom: 10px;
    font-weight: bold;
}

.show-cart-mobile, .back-button-mobile {
    display: none;
}

.total-value-header {
    display: none; /* Escondido no desktop */
}

.edit-payment-button {
    display: none; /* Escondido no desktop */
}