/* Estilos Globais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {

    min-height: 100vh;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background: #002664;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

/* Header */
.header {
    background: #002664;
    color: #fff;
    padding: 10px 20px;
}

.header .container {
    display: flex;
    justify-content: space-between;
    padding: inherit;
    align-items: center;
    flex-wrap: wrap;
}

.header .logo {
    font-size: 32px;
    font-weight: bold;
}

.header a {
    color: #fff;
}

.header .nav ul {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header .nav a {
    color: #fff;
    font-size: 14px;
    padding: 5px 10px;
}

.header .nav .btn {
    background: #4caf50;
    color: #fff;
    border-radius: 5px;
}

.header .nav .btn-login {
    background: #ff0000;
    color: #fff;
    border-radius: 5px;
    padding: 10px 15px;
}

.header .no-auth {
    display: flex;
    flex-direction: row;
    gap: 15px;
}

.header .auth {
    display: none;
    flex-direction: row;
    gap: 15px;
}

/* Main */
.main {
    border-radius: 50px;
    padding: 20px 10%;
    background: #ffffff;
}

/* Alert */
.alert {
    background: #ff0000;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    font-size: 16px;
    border-radius: 20px;
}

.alert p {
    font-size: 1.5vw;
}

/* Banner */

.banner {
    text-align: center;
    padding: 20px;
}

.banner img {
    width: 100%;
    height: auto;
    display: block;

}

/* Conversion */
.conversion {
    background: #ffd700;
    text-align: center;
    padding: 15px 0;
    font-size: 18px;
    font-weight: bold;
}

/* Produtos */
.products {
    margin-top: 10vw;
    text-align: center;
}

.products h2 {
    display: flex;
    font-size: 24px;
    margin-bottom: 20px;
}

.product-list {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
}

.product {
    width: 300px;
    text-align: center;
}

.product img {
    width: 100%;
    height: auto;
    max-width: 300px; /* Ajuste conforme necessário */
    max-height: 300px; /* Ajuste conforme necessário */
    object-fit: cover;
}

.product p {
    font-size: 14px;
}

.footer {
    display: flex;
    background: #002664;
    color: #fff;
    padding: 20px 5%;
    line-height: 1.6;
    justify-content: space-between;
    align-items: flex-start;
    font-size: 14px;
    flex-direction: column;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 20px;
    margin-top: 40px;
    gap: 20px;
    border-top: 1px solid grey;
    padding-top: inherit;
    padding-bottom: inherit;

}

.contact-info, .contact-methods {
    flex: 1;
    min-width: 250px;
    text-align: left;
}

.contact-info p, .contact-methods p {
    margin-bottom: 5px;
}

.certificates img {
    max-width: 100%;
    margin-right: 10px;
    object-fit: cover;
    height: auto;
}

.social-icons a {
    margin-right: 10px;
}

.social-icons img {
    width: 30px;
    height: 30px;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.participants {
    margin-top: 20px;
}

.participants .logos {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.participants img {
    max-width: 160px;
    height: auto;
    object-fit: contain;
}

.participants div{
    display: flex;
    justify-content: center;
}


.auth-section {
    display: flex;
    justify-content: space-between;
    margin: 20px auto;
    max-width: 800px;
}

.register, .login {
    width: 48%;
    padding: 20px;
    background-color: transparent;
}

.register h2, .login h2 {
    text-align: left;
    margin-bottom: 20px;
    color: #333;
}

.register label, .login label {
    display: block;
    margin-bottom: 5px;
    color: #555;
}

.register input, .login input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

.register button, .login button {
    width: 100%;
    padding: 10px;
    background-color: #002664;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.register button:hover, .login button:hover {
    background-color: #002664;
}

.user-info {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    gap: 20px;
    display: flex;
}

.user-info p {
    margin: 5px 0;
}

.user-info button {
    padding: 5px 10px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.user-info button:hover {
    background-color: #45a049;
}

.product-cart {
    border-radius: 30px;
    border: 2px solid  #cccccc;
    display: flex;
    align-items: center;
    gap: 10px; /* Adjust the gap as needed */
    padding: 10px;
}

.product-info {
    display: flex;
    flex-direction: column;
}

.product-cart-list{
    display: flex;
    flex-direction: column;
    gap: 30px;
    flex: 2; /* Ocupa mais espaço */
    max-width: 70%; /* Limita o tamanho da lista de produtos */
}

.product-cart img {
    width: 100px; /* Adjust the size as needed */
    height: auto;
}

.product-cart p {
    margin: 0;
}

.cart-top{
    min-height: 30px;
    border-bottom: #cccccc 2px solid;
    margin-bottom: 30px;
}

.cart-top h2 {
    margin-top: 20px;
    font-size: 32px;
    color: #001062;
}

.cart-container {
    display: flex; /* Torna os filhos lado a lado */
    justify-content: space-between; /* Dá espaço entre os elementos */
    align-items: flex-start; /* Alinha os itens ao topo */
    gap: 20px; /* Espaço entre os elementos */
    margin-bottom: 50px;
    flex-wrap: wrap;
}


.product-cart-details {
    border: 2px solid  #cccccc;
    flex: 1; /* Ocupa menos espaço */
    max-width: 30%; /* Limita o tamanho do resumo */
    padding: 20px; /* Espaçamento interno */
    border-radius: 30px; /* Cantos arredondados */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Sombra para destaque */
}

.product-cart-total p{
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.add-to-cart {
    margin-top: 20px;
    background-color: #001A72; /* Cor azul escura */
    color: #ffffff; /* Cor branca para o texto */
    font-size: 16px; /* Tamanho do texto */
    font-weight: bold; /* Texto em negrito */
    border: none; /* Remove bordas padrão */
    border-radius: 8px; /* Bordas arredondadas */
    padding: 12px 24px; /* Espaçamento interno */
    width: 100%; /* Ocupa 100% do container */
    max-width: 300px; /* Limita a largura máxima */
    text-align: center; /* Centraliza o texto */
    display: flex; /* Flexbox para alinhas o ícone */
    justify-content: space-between; /* Espaça o texto e o ícone */
    align-items: center; /* Alinha o conteúdo verticalmente */
    cursor: pointer; /* Mostra o ponteiro ao passar */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Sombra sutil */
    transition: background-color 0.3s ease; /* Efeito suave ao passar o mouse */
}

.add-to-cart:hover {
    background-color: #0025A0; /* Cor mais clara ao passar o mouse */
}

/* Estilo do ícone da seta */
.add-to-cart::after {
    content: '→'; /* Ícone da seta */
    font-size: 18px; /* Tamanho da seta */
    margin-left: 8px; /* Espaço entre o texto e a seta */
    font-weight: bold; /* Negrito */
}

#checkout {
    margin-top: 20px;
    background-color: #001A72; /* Cor azul escura */
    color: #ffffff; /* Cor branca para o texto */
    font-size: 16px; /* Tamanho do texto */
    font-weight: bold; /* Texto em negrito */
    border: none; /* Remove bordas padrão */
    border-radius: 8px; /* Bordas arredondadas */
    padding: 12px 24px; /* Espaçamento interno */
    width: 100%; /* Ocupa 100% do container */
    max-width: 300px; /* Limita a largura máxima */
    text-align: center; /* Centraliza o texto */
    display: flex; /* Flexbox para alinhas o ícone */
    justify-content: space-between; /* Espaça o texto e o ícone */
    align-items: center; /* Alinha o conteúdo verticalmente */
    cursor: pointer; /* Mostra o ponteiro ao passar */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Sombra sutil */
    transition: background-color 0.3s ease; /* Efeito suave ao passar o mouse */
}

#checkout:hover {
    background-color: #0025A0; /* Cor mais clara ao passar o mouse */
}

/* Estilo do ícone da seta */
#checkout::after {
    content: '→'; /* Ícone da seta */
    font-size: 18px; /* Tamanho da seta */
    margin-left: 8px; /* Espaço entre o texto e a seta */
    font-weight: bold; /* Negrito */
}

.view-cart-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #001A72;
    color: #ffffff;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

.view-cart-button:hover {
    background-color: #0025A0;
}

.product-canje-list {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.product-cart button {
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    text-align: left; /* Alinha o texto à esquerda */
}

.product-cart button::before {
    content: '\1F5D1'; /* Unicode para o ícone de lixeira */
    font-size: 24px; /* Tamanho do ícone */
    color: #001A72; /* Cor do ícone */
}

@media (max-width: 450px){
    .product-cart-details {
        max-width: 100%; /* Limita o tamanho do resumo */

    }

    .product-cart-list{
        max-width: 100%; /* Limita o tamanho da lista de produtos */
    }

    .register, .login {
        width: 100%;
    }

    .auth-section {
        flex-direction: column;
    }

    .product {
        width: 150px;
        text-align: center;
    }
}