body {
    font-family: 'Proxima Nova', -apple-system, Roboto, Arial, sans-serif;
    background-color: #ededed;
}

/* Container principal do carrinho */
.ml-cart-container {
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px;
    border-radius: 8px;
    
}

.ml-cart-header h2 {
    font-size: 24px;
    color: #333;
    text-align: center;
    padding-top: 50px !important;

}

/* Estilo de cada item no carrinho */
.ml-cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    grid-template-rows: auto auto;
    gap: 15px;
    background-color: #ffffff;
    margin-bottom: 15px;
    padding: 15px;
    border-radius: 5px;
    border: 1px solid #ddd;
    align-items: center;
}

/* Imagem do produto */
.ml-product-image img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    grid-row: span 2;
}

/* Informações do produto */
.ml-product-info {
    display: flex;
    flex-direction: column;
}

.ml-product-title {
    font-size: 16px;
    color: #333;
    margin: 0 0 8px;
}

.ml-price {
    font-size: 14px;
    color: #555;
    margin-top: 5px;
}

.ml-remove {
    margin-top: 5px;
}

.ml-remove a {
    color: #ff6666;
    font-size: 14px;
    text-decoration: none;
}

.ml-remove a:hover {
    text-decoration: underline;
}

/* Campo de Quantidade separado */
.ml-quantity-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
    text-align: center;
}

/* Estilo da label "Quantidade" */
.ml-quantity-section label {
    font-weight: bold;
    font-size: 16px;
    color: #333;
    margin-bottom: 5px;
}

/* Estilo do campo de entrada de quantidade */
.ml-quantity-input {
    width: 60px;
    padding: 5px;
    font-size: 16px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 10px; /* Espaço entre o input e o botão */
}

/* Estilo do botão "Atualizar Carrinho" */
.ml-update-button {
    padding: 8px 15px;
    font-size: 14px;
    color: #fff;
    background-color: #007bff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.ml-update-button:hover {
    background-color: #1c89ff;
}

/* Informação de frete */
.ml-shipping-info {
    grid-column: 1 / -1;
    border-top: 1px solid #ddd;
    padding-top: 10px;
    margin-top: 10px;
}

.ml-shipping-status {
    font-size: 14px;
    margin: 5px 0;
}

.ml-shipping-free {
    color: green;
    font-weight: bold;
}

.ml-shipping-bar {
    width: 100%;
    background-color: #00a650;
    height: 6px;
    border-radius: 3px;
    overflow: hidden;
    margin: 8px 0;
}

.ml-shipping-progress {
    width: 100%;
    height: 100%;
    background-color: green;
}

.ml-shipping-note {
    font-size: 12px;
    color: #555;
}

.ml-shipping-note a {
    color: #3483fa;
    text-decoration: none;
}

.ml-shipping-note a:hover {
    text-decoration: underline;
}

.ml-cart-items {
    flex: 1 1 65%;
}

.ml-cart-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}
/* Resumo do carrinho */
.ml-cart-summary {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    width: 300px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.ml-cart-summary h4 {
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: bold;
}

.ml-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    font-size: 14px;
}

.ml-summary-row span:last-child {
    font-weight: bold;
}

.ml-summary-total {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 16px;
    font-weight: bold;
    border-top: 1px solid #ddd;
}

.ml-coupon-link {
    color: #0073aa;
    text-decoration: none;
    font-size: 14px;
}

.ml-coupon-link:hover {
    text-decoration: underline;
}

.ml-summary-button-container {
    text-align: center;
    margin-top: 10px;
}

.ml-checkout-button {
    display: inline-block;
    background-color: #007bff;
    color: #ffffff;
    padding: 10px 20px;
    text-align: center;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.ml-checkout-button:hover {
    background-color: #1c89ff;
}

.ml-full-products-title {
    display: flex;
    align-items: center;
    font-size: 18px;
    color: #333;
    margin-bottom: 20px;
    font-weight: bold;
}

.ml-full-icon {
    color: #00a650; /* Cor verde ou outra que desejar */
    font-size: 20px;
    margin-left: 8px;
    width: 50px;
}

.ml-full-label {
    color: #00a650; /* Cor verde para o texto "FULL" */
    font-weight: bold;
}

/* Estilo compacto para o container de consulta */
.ml-cep-consulta {
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: Arial, sans-serif;
    margin-bottom: 20px; /* Aumenta o espaço abaixo do input */
}

/* Estilo do label */
.consulta-label {
    font-size: 12px;
    color: #666;
    margin-right: 8px;
}

/* Estilo do campo de entrada do CEP */
.consulta-input {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 5px 10px;
    font-size: 14px;
    width: 120px;
}

/* Estilo do botão de consulta */
.consulta-botao {
    background-color: transparent;
    color: #007bff;
    border: 1px solid #007bff;
    border-radius: 4px;
    padding: 5px 10px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.consulta-botao:hover {
    background-color: #007bff;
    color: #fff;
}

/* Estilo das opções de frete */
#frete-opcoes {
    margin-top: 25px; /* Aumenta o espaço entre o input e o resultado */
    font-size: 14px;
    font-family: Arial, sans-serif;
}

.frete-opcoes div {
    background-color: #3483fa; /* Fundo leve para destacar */
    color: #fff;
    border: 1px solid #ccc; /* Borda suave */
    border-radius: 8px; /* Bordas arredondadas */
    padding: 10px;
    margin-top: 8px; /* Espaço entre cada resultado */
    text-align: left;
    max-width: 300px; /* Define uma largura máxima */
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1); /* Sombra leve */
}


/* Ajustes específicos para dispositivos móveis */
@media (max-width: 768px) {

    /* Define o ml-cart-content para ocupar 100% e alinhar conteúdo em coluna */
    .ml-cart-content {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    /* Faz com que o resumo do carrinho (.ml-cart-summary) vá para a linha de baixo */
    .ml-cart-summary {
        margin-top: 15px;
        background-color: #fff;
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        padding: 15px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        width: 92%; /* Ocupa toda a largura do contêiner no mobile */
        max-width: 100%; /* Garante que o resumo do carrinho não tenha largura fixa */
        text-align: left;
    }

    /* Título do resumo do carrinho */
    .ml-cart-summary h4 {
        font-size: 18px;
        text-align: left;
        margin-bottom: 10px;
        color: #333;
    }

    /* Linhas do resumo, como Produtos, Frete e Total */
    .ml-summary-row {
        display: flex;
        justify-content: space-between;
        padding: 8px 0;
        font-size: 16px;
    }

    /* Estilo da linha total com destaque */
    .ml-summary-total {
        display: flex;
        justify-content: space-between;
        font-size: 18px;
        font-weight: bold;
        padding: 10px 0;
        border-top: 1px solid #e0e0e0;
        margin-top: 10px;
    }

    /* Link para cupons */
    .ml-coupon-link {
        color: #3483fa;
        font-weight: bold;
        text-decoration: none;
    }

    /* Cor verde para o texto de frete grátis */
    .ml-summary-row span[style*="color: green;"] {
        color: #00a650;
        font-weight: bold;
    }

    /* Botão de continuar para o checkout */
    .ml-summary-button-container {
        text-align: center;
        margin-top: 15px;
    }

    /* Estilo do botão de checkout */
    .ml-checkout-button {
        display: inline-block;
        width: 90%;
        background-color: #007bff;
        color: #fff;
        text-align: center;
        padding: 12px;
        font-size: 18px;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        text-decoration: none;
    }

    .ml-shipping-info {
        width: 100%; /* Corrige o contêiner para ocupar toda a largura */
        border-top: 1px solid #ddd;
        padding-top: 10px;
        margin-top: 10px;
        text-align: center;
    }

    .ml-shipping-free {
        color: green;
        font-weight: bold;
    }

    /* Alinha os itens do produto ao centro */
    .ml-cart-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
    }

    .ml-quantity-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 15px;
    }

    .ml-cep-consulta {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        margin-top: 10px;
    }

    .ml-product-info {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom: -20px;
    }

    .consulta-botao:hover {
    background-color: #ff0000;
    color: #fff;
    margin-bottom: -40px;
}

.consulta-botao {
    background-color: #007bff !important;
    color: white;
    border: 1px solid #007bff !important;
    border-radius: 4px;
    padding: 10px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    width: 100%;
}

.consulta-label {
    font-size: 19px;
    font-weight: bold;
    color: #333;
    margin-right: 8px;
}
 .ml-update-button {
    padding: 8px 15px;
    font-size: 14px;
    color: #fff;
    background-color: #007bff !important;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex; 
    margin-bottom: 15px;


}
    .ml-quantity-input {
        width: 50px;
        padding: 5px;
        font-size: 16px;
        text-align: center;
        border: 1px solid #ddd;
        border-radius: 4px;
        margin-bottom: 10px;
        display: flex;
        margin-left: 40px;
        margin-top: 10px;
    }
.ml-quantity-label {
    font-weight: bold;
    font-size: 19px;
    color: #333;
    margin-bottom: 5px;
}
.ml-cart-header h2 {
    font-size: 24px;
    color: #333;
    text-align: center;
    padding-top: 30px !important;
}
}


