/* Definindo as fontes */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500&family=Lora:wght@700&display=swap');

/* Resetando margens e padding padrão */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Corpo do site */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #FFFFFF;
    color: #333333;
    line-height: 1.6;
}

/* ===== HEADER ===== */
header {
    background-color: #F0F4F8;
    color: #333;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}

/* Centralizar o login na página */
.login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh; /* Centraliza verticalmente */
    background: #111;
}

/* Caixa do login com efeito futurista */
.login-container {
    background: rgba(10, 10, 20, 0.9);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0px 0px 20px rgba(0, 255, 255, 0.5);
    text-align: center;
    width: 320px;
}

/* Estilo do título */
.login-container, h2 {
    margin-bottom: 20px;
    font-size: 26px;
    color: cyan;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Inputs do formulário */
.input-group {
    text-align: left;
    margin-bottom: 15px;
}

.input-group label {
    display: block;
    font-size: 14px;
    color: cyan;
    margin-bottom: 5px;
    text-align: left;
}

.login-form input {
    width: 100%;
    padding: 12px;
    border: 1px solid cyan;
    border-radius: 6px;
    background: rgba(0, 0, 20, 0.8);
    color: cyan;
    font-size: 16px;
    outline: none;
    transition: 0.3s;
}

.login-form input:focus {
    border-color: #00ffff;
    box-shadow: 0px 0px 8px cyan;
}

/* Botão de login */
.btn-login {
    width: 100%;
    padding: 12px;
    background: linear-gradient(45deg, #00ffff, #0066ff);
    color: white;
    font-size: 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
    text-transform: uppercase;
    font-weight: bold;
}

.btn-login:hover {
    background: linear-gradient(45deg, #0066ff, #00ffff);
    box-shadow: 0px 0px 15px cyan;
    transform: scale(1.05);
}

/* Link para registro */
.register-link {
    font-size: 14px; /* Reduz o tamanho do texto */
    text-align: center; /* Centraliza o texto */
    white-space: nowrap; /* Impede que quebre para outra linha */
    margin-top: 1rem;
}

.register-link a {
    font-size: 14px; /* Reduz um pouco o tamanho do texto */
    display: inline-flex;
    align-items: center;
    gap: 5px; /* Espaço entre o ícone e o texto */
}

.register-link a:hover {
    color: #00f;
    text-decoration: underline;
}

.register-link i {
    font-size: 16px; /* Tamanho do ícone */
}

/* Logo */
.logo {
    font-family: 'Lora', serif;
    font-size: 28px;
    color: #1A3E6A;
    font-weight: bold;
    text-decoration: none;
    display: flex;
    align-items: center;
    padding-left: 15px;
}

.logo img {
    height: 60px; /* Ajusta conforme o tamanho do header */
    width: auto; /* Mantém a proporção original */
    max-width: 100%; /* Evita que fique muito largo */
    object-fit: contain; /* Garante que a imagem não seja cortada */
}

/* Menu normal no desktop */
.main-nav {
    display: flex;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

.main-nav ul li a {
    text-decoration: none;
    color: #1A3E6A;
    font-weight: 500;
    font-size: 16px;
}

.main-nav ul li a:hover {
    color: #4A90E2; /* Azul claro para hover */
}

/* Formulário de busca dentro do menu (desktop) */
.search-menu {
    display: inline-block;
}

.search-menu .search-form {
    display: none; /* Escondido por padrão */
    align-items: center;
    border: 2px solid #1A3E6A;
    border-radius: 25px;
    padding: 5px 10px;
    background-color: #FFFFFF;
}

.search-menu .search-form input {
    border: none;
    outline: none;
    padding: 8px;
    font-size: 16px;
    flex-grow: 1;
    border-radius: 25px;
}

.search-menu .search-form button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px 10px;
}

.search-menu .search-form button i {
    font-size: 18px;
    color: #1A3E6A;
}

/* Botão hambúrguer */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

/* ===== MENU MOBILE ===== */
@media (max-width: 768px) {
    header {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .logo {
        flex-grow: 1;
        text-align: left;
    }

    .logo img {
        height: 45px; /* Reduz o tamanho em telas menores */
        max-width: 120px;
    }

    /* Esconde o menu tradicional */
    .main-nav {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: #F0F4F8;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        text-align: center;
        padding: 20px 0;
        transition: transform 0.3s ease;  /* Adicionando transição */
        transform: translateY(-100%);  /* Começa fora da tela */
    }

    /* Mostra o menu quando o hambúrguer for clicado */
    .main-nav.active {
        display: flex;
        transform: translateY(0); /* Desliza para baixo */
    }

    .main-nav ul {
        flex-direction: column;
        gap: 10px;
    }

    .main-nav ul li {
        padding: 10px 0;
    }

    /* Mostra o botão hambúrguer */
    .menu-toggle {
        display: block;
        background: #FF7F50; /* Cor laranja */
    }

    /* Formulário de busca separado do header */
    .search-container {
        margin-top: 10px;
        padding: 10px;
        text-align: center;
    }

    /* Esconde o formulário dentro do menu no mobile */
    .search-menu {
        display: none;
    }

    .promo-text h2 {
        font-size: 18px;
    }

    .promo-text p {
        font-size: 14px;
    }

    .newsletter form {
        flex-direction: column; /* Empilha os elementos no mobile */
        gap: 5px;
    }

    .newsletter input {
        width: 100%; /* Faz o campo ocupar toda a largura */
    }
}

/* ===== FORMULÁRIO DE PESQUISA ===== */
.search-form {
    display: flex;
    align-items: center;
    border: 2px solid #1A3E6A;
    border-radius: 25px;
    padding: 5px 10px;
    background-color: #FFFFFF;
}

.search-form input {
    border: none;
    outline: none;
    padding: 8px;
    font-size: 16px;
    flex-grow: 1;
    border-radius: 25px;
}

.search-form button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px 10px;
}

.search-form button i {
    font-size: 18px;
    color: #1A3E6A;
}

/* ===== Ocultar o formulário externo no desktop ===== */
@media (min-width: 769px) {
    /* Esconde o formulário de busca por padrão no desktop */
    .search-container {
        display: none;
    }

    /* Exibe o formulário de busca no desktop quando acionado */
    .search-menu.active .search-form {
        display: flex;
    }
}

/* ===== PRODUTOS EM DESTAQUE ===== */
.featured-products .product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.featured-products .product-item {
    background-color: #f4f4f4;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.featured-products .product-item img {
    width: 100%;
    border-radius: 5px;
}

.featured-products .product-item h3 {
    font-family: 'Lora', serif;
    color: #333333;
    margin-top: 10px;
}

/* ===== FOOTER ===== */
footer {
    background: #1A3E6A;
    color: white;
    padding: 20px;
    text-align: center;
}

.footer-links {
    margin-bottom: 15px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
    font-size: 16px;
    transition: color 0.3s ease;
}

.footer-links a i {
    margin-right: 5px;
}

.footer-links a:hover {
    color: #f39c12;
}

/* Ícones das redes sociais */
.footer-social a {
    color: white;
    font-size: 20px;
    margin: 0 8px;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: #f39c12;
}

/* ===== BOTÕES E CTA ===== */
button {
    background-color: #FF7F50;
    color: white;
    border: none;
    cursor: pointer;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #FF6347;
    transform: scale(1.05); /* Dá um efeito de crescimento ao passar o mouse */
}

.cta-button {
    background-color: #FF7F50;
    color: white;
    padding: 15px 25px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    text-align: center;
}

.cta-button:hover {
    background-color: #FF6347;
}

/* ===== ALERTAS ===== */
.messages {
    list-style-type: none;
    margin-top: 20px;
    background-color: #f8d7da;
    color: #721c24;
    padding: 10px;
    border-radius: 5px;
}

.messages li {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

/* ===== CAROUSEL ===== */
.carousel {
    position: relative;
    width: 100%;
    height: 300px; /* Defina a altura conforme necessário */
    overflow: hidden;
}

.carousel-item {
    display: block;  /* Tornamos visível o item */
    width: 100%;
    text-align: center;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transition: opacity 0.5s ease;
    opacity: 0;  /* Começa invisível */
    z-index: -1; /* Coloca os itens por trás inicialmente */
}

/* Quando o item está visível, alteramos a opacidade para 1 */
.carousel-item.active {
    opacity: 1;
    z-index: 1;  /* Coloca o item ativo acima dos outros */
}

.carousel-item img {
    width: 100%;  /* A imagem ocupa toda a largura da tela */
    height: 100%;  /* A imagem ocupa toda a altura disponível */
    object-fit: cover;  /* Faz a imagem cobrir a área disponível sem distorcer */
}

/* ===== Estilos para promoções ===== */
.promo-text {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
    font-size: 18px;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 10px;
    border-radius: 5px;
}

.promo-text h2 {
    font-size: 22px;
    margin-bottom: 5px;
}

.promo-text p {
    font-size: 16px;
}

/* ===== Estilos para as setas de navegação ===== */
.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%); /* Para centralizar verticalmente */
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 15px;
    font-size: 24px;
    cursor: pointer;
    z-index: 2;
    transition: background 0.3s;
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: rgba(0, 0, 0, 0.7);
}

/* ===== PRODUTOS EM DESTAQUE ===== */
.featured-products {
    padding: 50px 20px;
    text-align: center;
    background: linear-gradient(to right, #f8f9fa, #e9ecef);
}

.featured-products h2 {
    font-size: 28px;
    color: #1A3E6A;
    margin-bottom: 30px;
    font-weight: bold;
}

/* Grid Responsivo */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Cartão de Produto */
.product-item {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.product-item:hover {
    transform: translateY(-10px);
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.15);
}

/* Imagem do Produto */
.product-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.product-item:hover img {
    transform: scale(1.05);
}

/* Nome do Produto */
.product-item h3 {
    font-size: 18px;
    color: #333;
    margin: 15px 0;
    font-weight: bold;
}

/* Preço do Produto */
.product-item p {
    font-size: 16px;
    color: #FF7F50;
    font-weight: bold;
    margin-bottom: 10px;
}

@media (max-width: 767px) {
    .featured-products .product-grid {
        grid-template-columns: 1fr; /* 1 coluna em telas pequenas */
    }

    .featured-products h2 {
        font-size: 24px;
    }

    .product-item {
        padding: 15px;
    }

    .product-item h3 {
        font-size: 16px;
    }

    .product-item p {
        font-size: 14px;
    }
}

/* Para telas médias (tablets) */
@media (min-width: 768px) and (max-width: 1023px) {
    .featured-products .product-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 colunas em tablets */
    }

    .featured-products h2 {
        font-size: 26px;
    }

    .product-item h3 {
        font-size: 17px;
    }

    .product-item p {
        font-size: 15px;
    }
}

/* Botão de "Ver Detalhes" */
.btn {
    display: inline-block;
    padding: 10px 15px;
    background: linear-gradient(to right, #FF7F50, #FF6347);
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background 0.3s ease, transform 0.2s ease;
}

.btn:hover {
    background: linear-gradient(to right, #FF6347, #FF4500);
    transform: scale(1.05);
}

/* ===== CATEGORIAS ===== */
.categories {
    padding: 50px 20px;
    text-align: center;
    background: #f8f9fa;
}

.categories h2 {
    font-size: 28px;
    color: #1A3E6A;
    margin-bottom: 30px;
    font-weight: bold;
}

.categories .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px; /* Adiciona espaçamento entre colunas e linhas */
}

.category-item {
    display: block;
    text-align: center;
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-item:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.15);
}

.category-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.category-item:hover img {
    transform: scale(1.05);
}

.category-overlay h3 {
    font-size: 18px;
    color: #333;
    margin-top: 15px;
    font-weight: bold;
}

.testimonial-form {
    margin: 30px auto;
    text-align: center;
    max-width: 500px;
    background-color: #F9FAFB;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.testimonial-form h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

/* Estilos para as estrelas */
.star-rating {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 10px;
    margin-bottom: 20px;
}

.star {
    font-size: 30px;
    cursor: pointer;
    color: #ccc; /* Cinza padrão */
    transition: color 0.2s ease-in-out;
}

/* Estrelas ao passar o mouse */
.star:hover,
.star:hover ~ .star {
    color: #FFD700; /* Dourado */
}

/* Estrelas selecionadas */
.star.selected {
    color: #FFD700 !important; /* Mantém a cor dourada */
}

/* Centralização do texto e melhoria no estilo do formulário */
textarea {
    width: 100%;
    height: 100px;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ddd;
    margin-bottom: 20px;
    font-size: 16px;
    resize: vertical;
}



/* ===== Estilo dos Depoimentos ===== */
.testimonial-item {
    background: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.testimonial-item p {
    font-style: italic;
    color: #555;
}

.testimonial-item h4 {
    margin: 10px 0;
    font-size: 18px;
    color: #333;
}

.testimonial-item h4 span {
    font-weight: bold;
}

.testimonial-item small {
    font-size: 14px;
    color: #888;
}

/* ===== Botão de "Ver Mais" ===== */
#verMais {
    display: block;
    width: 200px;
    margin: 30px auto;
    background-color: #FF7F50;
    color: white;
    padding: 10px 0;
    border-radius: 5px;
    text-align: center;
    font-size: 16px;
    cursor: pointer;
    border: none;
}

#verMais:hover {
    background-color: #FF6347;
}

/* ===== Newsletter ===== */
.newsletter {
    background: #1A3E6A;
    color: white;
    padding: 40px 20px;
    text-align: center;
}

.newsletter h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.newsletter p {
    font-size: 16px;
    margin-bottom: 20px;
}

.newsletter form {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    max-width: 500px; /* Evita que fique muito largo */
    margin: 0 auto;
}

.newsletter input {
    padding: 10px;
    width: 75%;
    border: none;
    border-radius: 5px;
    font-size: 16px;
}

.newsletter button {
    background: #f39c12;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
    width: 25%;
    min-width: 80px;
}

.newsletter button:hover {
    background: #e67e22;
}

@media (max-width: 480px) {
    .newsletter form {
        flex-direction: row;
        width: 100%;
        max-width: 90%;
    }

    .newsletter input {
        width: 70%; /* Para garantir que o botão não fique grande demais */
    }

    .newsletter button {
        width: 30%;
        padding: 10px;
    }
}

/* Container Principal */
.container-produtos {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Layout em colunas (Sidebar + Produtos) */
.layout-colunas {
    display: flex;
    gap: 20px;
    align-items: flex-start; /* Garante o alinhamento ao topo */
}

/* Sidebar */
.sidebar {
    width: 250px;
    background: #1a1a2e;
    color: #eaeaea;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
    position: sticky;
    top: 20px; /* Fixa o sidebar ao rolar a página */
    height: fit-content;
}

.sidebar h3, .sidebar h4 {
    color: #00b4d8;
    margin-bottom: 10px;
}

.sidebar input[type="checkbox"] {
    accent-color: #00b4d8;
}

.sidebar button {
    background: #00b4d8;
    color: #fff;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: 10px;
}

.sidebar button:hover {
    background: #0077b6;
}

/* Área de Produtos */
.produtos-area {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Ordenação */
.ordenar-por {
    text-align: right;
    margin-bottom: 15px;
}

.ordenar-por select {
    padding: 5px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

/* Grid de Produtos */
.produtos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

/* Cartão de Produto */
.produto-card {
    background: #ffffff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.produto-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 180, 216, 0.5);
}

.produto-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
}

/* Botão de Detalhes */
.btn-detalhes {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #00bcd4;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn-detalhes:hover {
    background-color: #0097a7;
}

/* Paginação */
.pagination {
    text-align: center;
    margin-top: 20px;
}

.pagination a {
    margin: 0 5px;
    padding: 5px 10px;
    background: #00b4d8;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.pagination a:hover {
    background: #0077b6;
}

/* Responsividade */
@media (max-width: 992px) {
    .layout-colunas {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        position: static;
    }

    .ordenar-por {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .produto-card {
        padding: 10px;
    }

    .produto-card img {
        height: 150px;
    }
}

/* Container do formulário de registo */
.register-container {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0px 0px 15px rgba(0, 255, 255, 0.3);
    text-align: center;
    width: 350px;
    margin: 50px auto;
}

/* Título */
.register-container h2 {
    margin-bottom: 20px;
    font-size: 24px;
    color: cyan;
}

/* Estilo do formulário */
.register-form {
    display: flex;
    flex-direction: column;
}

.register-form input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #0ff;
    border-radius: 6px;
    background: #222;
    color: #0ff;
}

/* Botão de registo */
.btn-register {
    background: linear-gradient(45deg, #0ff, #00f);
    color: #fff;
    border: none;
    padding: 10px;
    font-size: 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-register:hover {
    background: linear-gradient(45deg, #00f, #0ff);
    transform: scale(1.05);
}

/* Link para login */
.login-link {
    margin-top: 1rem;
    font-size: 14px;
}

.login-link a {
    color: #0ff;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.login-link a:hover {
    color: #00f;
    text-decoration: underline;
}

.login-link i {
    margin-right: 5px;
}

/* Responsividade */
@media (max-width: 400px) {
    .register-container {
        width: 90%;
    }
}

.btn-voltar {
    display: flex;
    align-items: center; /* Alinha o conteúdo (a seta) verticalmente */
    justify-content: center; /* Alinha o conteúdo (a seta) horizontalmente */
    padding: 10px;
    background-color: #f1f1f1;
    color: #333;
    text-decoration: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 20px; /* Tamanho do ícone */
    text-align: center;
    vertical-align: middle;
}

.btn-voltar i {
    font-size: 20px; /* Ajuste o tamanho do ícone, se necessário */
    transition: transform 0.2s ease-in-out;
}

.btn-voltar:hover {
    background-color: #ddd;
    transform: scale(1.1); /* Leve aumento ao passar o mouse */
}

.btn-voltar:hover i {
    transform: translateX(-5px); /* Efeito de movimento ao passar o mouse */
}

.hidden {
    display: none;
}

.produtos-botoes {
    display: flex;               /* Utiliza flexbox para alinhar os botões */
    gap: 10px;                   /* Adiciona um espaçamento entre os botões */
    align-items: center;         /* Alinha os itens verticalmente no centro */
    justify-content: center;     /* Centraliza os botões horizontalmente */
}

.btn-detalhes:hover, .btn-adicionar-carrinho:hover {
    opacity: 0.8;                /* Diminui a opacidade ao passar o mouse */
}

/* Container da página de detalhes */
.produto-detalhes-container {
    background-color: #1e1e1e;
    color: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

/* Seção de informações do produto */
.produto-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    gap: 30px;
}

.produto-imagem img {
    width: 100%;
    max-width: 500px;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.produto-texto {
    max-width: 600px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 15px;
}

.produto-nome {
    font-size: 2.5em;
    margin-bottom: 20px;
    font-family: 'Roboto', sans-serif;
    text-transform: uppercase;
    color: #00f0ff;
}

.produto-descricao {
    font-size: 1.2em;
    color: #dcdcdc;
    margin-bottom: 20px;
}

.preco-estoque p {
    font-size: 1.2em;
    color: #f7f7f7;
}

.preco {
    color: #ff4d4d;
    font-weight: bold;
}

.estoque {
    color: #66ff66;
    font-weight: bold;
}

/* Botão Adicionar ao Carrinho */
.btn-adicionar-carrinho {
    background-color: #ff4d4d;
    color: white;
    font-size: 18px;
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    display: flex;
    justify-content: center;
    text-decoration: none;
    align-items: center;
}

.btn-adicionar-carrinho i {
    margin-right: 10px;
}

.btn-adicionar-carrinho:hover {
    background-color: #ff3333;
    transform: scale(1.05);
}

/* Efeito de animação */
@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

.produto-detalhes-container {
    animation: fadeIn 1s ease-in;
}

/* Dispositivos móveis (smartphones) */
@media (max-width: 768px) {
    .produto-info {
        flex-direction: column;
        gap: 20px;
    }

    .produto-imagem img {
        max-width: 80%;
        margin: 0 auto;
    }

    .produto-texto {
        max-width: 100%;
        padding: 20px;
    }

    .produto-nome {
        font-size: 2em;
    }

    .produto-descricao {
        font-size: 1em;
    }

    .preco-estoque p {
        font-size: 1em;
    }

    .btn-adicionar-carrinho {
        font-size: 16px;
        padding: 12px 25px;
    }
}

/* Dispositivos tablet (entre 768px e 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
    .produto-info {
        flex-direction: row;
        justify-content: space-around;
    }

    .produto-imagem img {
        max-width: 50%;
    }

    .produto-texto {
        max-width: 45%;
    }

    .produto-nome {
        font-size: 2.2em;
    }

    .produto-descricao {
        font-size: 1.1em;
    }

    .preco-estoque p {
        font-size: 1.1em;
    }

    .btn-adicionar-carrinho {
        font-size: 18px;
        padding: 14px 30px;
    }
}

/* Dispositivos desktop */
@media (min-width: 1025px) {
    .produto-info {
        flex-direction: row;
        justify-content: space-between;
    }

    .produto-imagem img {
        max-width: 50%;
    }

    .produto-texto {
        max-width: 45%;
    }
}

/* Estilo geral do carrinho */
.carrinho-container {
    max-width: 900px;
    margin: auto;
    padding: 20px;
    background: #111;
    color: #fff;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
    text-align: center;
}

/* Título */
.titulo-carrinho {
    font-size: 2rem;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: #00f0ff;
}

/* Estilo dos produtos */
.produtos-carrinho {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.produto-carrinho {
    display: flex;
    align-items: center;
    background: #222;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
    transition: transform 0.3s ease;
}

.produto-carrinho:hover {
    transform: scale(1.02);
}

/* Imagem do produto */
.imagem-produto {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    margin-right: 15px;
}

/* Informações do produto */
.info-produto {
    flex-grow: 1;
    text-align: left;
}

/* Formulário de quantidade */
.form-quantidade {
    display: flex;
    align-items: center;
}

.input-quantidade {
    width: 50px;
    padding: 5px;
    text-align: center;
    border-radius: 5px;
    border: 1px solid #00f0ff;
    background: #333;
    color: #fff;
}

/* Botões */
.btn-atualizar, .btn-remover {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    margin-left: 10px;
    color: #00f0ff;
    transition: color 0.3s ease, transform 0.2s ease;
}

.btn-remover {
    color: #ff4d4d;
}

.btn-atualizar:hover {
    color: #00ff99;
    transform: rotate(15deg);
}

.btn-remover:hover {
    color: #ff0000;
    transform: scale(1.1);
}

/* Resumo do carrinho */
.resumo-carrinho {
    margin-top: 20px;
    padding: 15px;
    background: #222;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.btn-finalizar {
    display: inline-block;
    padding: 12px 20px;
    background: #00f0ff;
    color: #111;
    border-radius: 10px;
    text-transform: uppercase;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.2s ease;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
}

.btn-finalizar:hover {
    background: #00ff99;
    transform: scale(1.05);
}

/* Carrinho vazio */
.carrinho-vazio {
    font-size: 1.2rem;
    color: #ccc;
    padding: 20px;
}

/* Responsividade */
@media (max-width: 768px) {
    .produto-carrinho {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .imagem-produto {
        margin-bottom: 10px;
    }
}

/* 🌌 Estilo Geral */
.checkout-container {
    max-width: 800px;
    margin: auto;
    padding: 20px;
    background: #111;
    color: #fff;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
    font-family: 'Segoe UI', sans-serif;
    box-sizing: border-box; /* Garante que o padding não afete o tamanho total */
}

/* Título */
.checkout-title {
    text-align: center;
    font-size: 2rem;
    color: #00f0ff;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Seções do Formulário */
.sectionn {
    margin-bottom: 30px;
    padding: 20px;
    background: #222;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
    box-sizing: border-box; /* Garante que o padding da seção não afete a largura total */
}

/* Labels e Inputs */
.sectionn-label {
    display: block;
    margin-top: 10px;
    font-weight: bold;
    color: #00f0ff;
}

.sectionn-input, .sectionn-select {
    width: 100%;  /* Garante que os inputs ocupem 100% da largura do contêiner */
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #00f0ff;
    background: #333;
    color: #fff;
    border-radius: 8px;
    outline: none;
    transition: border 0.3s ease;
    box-sizing: border-box; /* Garante que o padding não afete o tamanho total */
}

.sectionn-input:focus, .sectionn-select:focus {
    border-color: #00ff99;
}

/* Opções de Envio */
.opcoes-envio, .sectionn-label {
    display: block;
    padding: 10px;
    background: #333;
    margin: 10px 0;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.opcoes-envio, .sectionn-label:hover {
    background: #00f0ff;
    color: #111;
    transform: scale(1.02);
}

.sectionn-input {
    margin-right: 10px;
}

/* Resumo da Encomenda */
.resumo-encomenda {
    background: #222;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
    text-align: left;
}

.resumo-encomenda p {
    margin: 10px 0;
    font-size: 1.1rem;
}

.resumo-encomenda .total {
    font-size: 1.5rem;
    color: #00ff99;
}

/* Responsivo */
@media (max-width: 768px) {
    .checkout-container {
        padding: 15px;
    }

    .btn-finalizar {
        font-size: 1rem;
    }
}

#valor-total {
    transition: color 0.3s ease, transform 0.3s ease;
}

#valor-total.updated {
    color: #00ff99;
    transform: scale(1.1);
}

.btn-container {
    text-align: right;
}

.perfil-container {
    background: linear-gradient(145deg, #1e1e1e, #282828);
    border-radius: 15px;
    padding: 20px;
    width: 80%;
    max-width: 900px;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.6);
    margin: auto;
}

.perfil-secoes section {
    background: white;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.perfil-secoes h3 {
    margin-bottom: 10px;
    color: #333;
}

/* Título do Perfil */
.perfil-h2 {
    text-align: center;
    font-size: 2rem;
    color: #00ff7f; /* Verde neon */
    margin-bottom: 20px;
}

/* Seções */
.perfil-secoes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* Cards e Botões */
.perfil-section {
    background: #333;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.5);
}

.perfil-button {
    background-color: #00ff7f;
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none !important; /* Remove o sublinhado dos links */
}

.perfil-button:hover {
    background-color: #00cc66; /* Efeito de hover com cor mais escura */
    transform: translateY(-2px);
}

/* Estilo para os Cards de Moradas */
.morada-card {
    background-color: #222;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.4);
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.morada-card p {
    font-size: 1rem;
    color: #aaa;
}

.morada-card button {
    background-color: #ff007f; /* Cor rosa neon para editar */
}

.morada-card form button {
    background-color: #ff3b30; /* Cor vermelho para remover */
}

/* Efeito de Hover nos Cards */
.morada-card:hover {
    transform: scale(1.05);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.6);
}

/* Links e Formulários */
.perfil-a {
    color: #00bfff; /* Azul claro */
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.perfil-a:hover {
    color: #ff00ff; /* Cor rosa neon */
}

.form-perfil {
    display: inline-block;
    width: 100%;
}

.form-perfil .btn-container-detalhes {
    display: flex;
    justify-content: center; /* Centraliza o botão horizontalmente */
    align-items: center; /* Centraliza o botão verticalmente */
}

/* Responsividade */
@media (max-width: 768px) {
    .perfil-secoes {
        grid-template-columns: 1fr; /* Muda para uma coluna em telas menores */
    }

    .perfil-container {
        width: 95%;
    }
}

.search-title {
    font-size: 24px;
    margin-bottom: 20px;
}

.resultados-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.nenhum-produto {
    font-size: 18px;
    color: #888;
}

/* Estilização do container */
.form-container {
    max-width: 500px;
    margin: 40px auto;
    padding: 20px;
    background: #1e1e2e; /* Fundo escuro futurista */
    border-radius: 12px;
    box-shadow: 0px 4px 10px rgba(0, 255, 191, 0.3);
    text-align: center;
    color: white;
}

/* Título */
.dados-h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #00ffbf; /* Neon */
    text-shadow: 0 0 8px rgba(0, 255, 191, 0.8);
}

/* Formulário */
.form-dados {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/* Labels */
.form-dados label {
    display: block;
    font-size: 1rem;
    color: #00ffbf;
    margin-bottom: 5px;
    text-align: left;
    width: 100%;
}

/* Inputs */
.form-dados input {
    width: 100%;
    max-width: 400px;
    padding: 12px;
    font-size: 1rem;
    border: 2px solid #00ffbf;
    border-radius: 8px;
    background-color: #2b2b3b;
    color: white;
    margin-bottom: 15px;
    transition: all 0.3s ease-in-out;
}

/* Efeito ao focar */
.form-dados input:focus {
    outline: none;
    border-color: #00ffaa;
    box-shadow: 0 0 10px rgba(0, 255, 191, 0.5);
}

/* Labels */
.label-morada {
    font-weight: bold;
    margin-top: 10px;
    display: block;
}

/* Inputs modernos */
.input-morada {
    width: 90%;
    padding: 12px;
    margin: 8px 0;
    border: 2px solid #00ffbf;
    border-radius: 8px;
    background: #2b2b3c;
    color: white;
    font-size: 1rem;
}

.botoes-container {
    display: flex; /* Alinha os botões lado a lado */
    justify-content: center; /* Centraliza horizontalmente */
    gap: 10px; /* Dá um espaçamento entre os botões */
    margin-top: 15px; /* Dá um respiro acima dos botões */
}

.button-dados, .cancelar {
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 1rem;
    text-decoration: none;
    transition: 0.3s ease-in-out;
}

.button-dados {
    background-color: #00ff7f;
    color: white;
    border: none;
    cursor: pointer;
}

.button-dados:hover {
    background-color: #00cc66;
}

.cancelar {
    background-color: #ff4d4d;
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cancelar:hover {
    background-color: #cc0000;
}

.error-message {
    color: red;
    font-size: 14px;
    margin-top: 10px;
}

/* Container de pedidos */
.pedidos-container {
    padding: 20px;
    background-color: #f4f4f4;
}

/* Cabeçalho do Pedido */
.pedido-header h3 {
    color: #333;
    font-size: 1.5rem;
}

.pedido-header p {
    color: #555;
    font-size: 1rem;
}

/* Linha do Tempo */
.timeline-item {
    display: flex;
    align-items: center;
    margin: 10px 0;
    padding: 5px 0;
    opacity: 0.6;
}

.timeline-item.ativo {
    opacity: 1;
    font-weight: bold;
}

.timeline-item.pendente {
    background-color: #f0ad4e;
}

.timeline-item.processando {
    background-color: #5bc0de;
}

.timeline-item.enviado {
    background-color: #0275d8;
}

.timeline-item.entregue {
    background-color: #5cb85c;
}

.timeline-item.cancelado {
    background-color: #d9534f;
}

.timeline-item i {
    margin-right: 10px;
}

/* Confirmacao de Compra */
.confirmacao-compra {
    background: #282c34;
    color: #ffffff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.title {
    font-size: 36px;
    font-family: 'Orbitron', sans-serif;
    color: #00bcd4;
    animation: fadeIn 1s ease;
}

.subtitulo {
    font-size: 24px;
    color: #ff4081;
    margin-top: 20px;
}

.info, .detalhes p {
    font-size: 18px;
    color: #e0e0e0;
    margin-bottom: 10px;
}

.btn-historico {
    margin-top: 20px;
    padding: 12px 20px;
    background: #00bcd4;
    border: none;
    border-radius: 30px;
    color: white;
    font-size: 18px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.btn-historico:hover {
    background: #00acc1;
    transform: scale(1.05);
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

/* Histórico de Pedidos */
.historico-pedidos {
    background: #e3f2fd;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.pedido-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.pedido-card:hover {
    transform: scale(1.05);
}

.pedido-info {
    font-size: 20px;
    font-weight: bold;
}

.status {
    color: #ff4081;
}

.sobre-nos {
    background: linear-gradient(135deg, #00bcd4, #4caf50); /* Gradiente futurista */
    padding: 80px 20px;
    color: #fff;
    font-family: 'Roboto', sans-serif;
    text-align: center;
    animation: fadeIn 1.5s ease-in-out;
}

.sobre-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    padding: 20px;
}

.sobre-texto {
    flex: 1;
    font-size: 18px;
    line-height: 1.6;
    max-width: 600px;
}

.sobre-texto p {
    margin-bottom: 20px;
    color: #e0e0e0;
}

.sobre-texto h1 {
    font-size: 42px;
    margin-bottom: 30px;
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: slideIn 1.5s ease-out;
}

.sobre-imagem {
    flex: 1;
    max-width: 500px;
    margin-top: 30px;
    animation: fadeInImage 1.5s ease-in-out;
}

.sobre-imagem img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.sobre-imagem img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* Animações */
@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes fadeInImage {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(0); }
}

/* Responsividade */
@media (max-width: 768px) {
    .sobre-container {
        flex-direction: column; /* Empilha o conteúdo (texto e imagem) em telas menores */
        gap: 20px;
    }

    .sobre-texto {
        font-size: 16px; /* Ajusta o tamanho da fonte para telas menores */
        max-width: 100%; /* Remove o limite de 600px para que ocupe mais largura */
    }

    .sobre-imagem {
        max-width: 100%; /* Deixa a imagem ocupar a largura total disponível */
        margin-top: 20px;
    }

    .sobre-texto h1 {
        font-size: 32px; /* Diminui o tamanho do título para telas menores */
        margin-bottom: 20px; /* Ajusta o espaçamento do título */
    }
}

@media (max-width: 480px) {
    .sobre-texto {
        font-size: 14px; /* Ajusta mais ainda para telas muito pequenas */
    }

    .sobre-texto h1 {
        font-size: 28px;
    }

    .sobre-container {
        padding: 10px; /* Menos padding em telas muito pequenas */
    }

    .sobre-texto p {
        margin-bottom: 15px; /* Reduz o espaçamento entre os parágrafos */
    }
}

.politica-privacidade {
    background: linear-gradient(135deg, #6a1b9a, #00bcd4); /* Gradiente elegante e moderno */
    padding: 80px 20px;
    color: #fff;
    font-family: 'Roboto', sans-serif;
    text-align: center;
    animation: fadeIn 1.5s ease-in-out;
}

.politica-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.politica-texto {
    text-align: left;
    font-size: 18px;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

.politica-texto h1 {
    font-size: 42px;
    margin-bottom: 30px;
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: slideIn 1.5s ease-out;
}

.politica-texto h2 {
    font-size: 28px;
    margin-top: 20px;
    color: #f5f5f5;
    font-weight: 600;
}

.politica-texto p {
    margin-bottom: 20px;
    color: #e0e0e0;
}

/* Animações */
@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes slideIn {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(0); }
}

/* Isolamento completo do código para evitar interferências */
.div-unico{
    background: linear-gradient(135deg, #9c27b0, #00bcd4) !important;
}

.contato-unico {
    background: linear-gradient(135deg, #9c27b0, #00bcd4);
    padding: 80px 20px;
    color: #fff;
    font-family: 'Roboto', sans-serif;
    text-align: center;
    animation: fadeIn 1.5s ease-in-out;
}

.contato-container-unico {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.contato-unico h1 {
    font-size: 40px;
    margin-bottom: 30px;
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: slideIn 1.5s ease-out;
}

.contato-unico p {
    font-size: 18px;
    margin-bottom: 40px;
    color: #e0e0e0;
    max-width: 800px;
    margin: 0 auto;
}

.form-group-contato-unico {
    margin-bottom: 20px;
    text-align: left;
}

.form-group-contato-unico label {
    font-size: 16px;
    color: #ffffff;
    display: block;
    margin-bottom: 8px;
    text-transform: uppercase;
}

/* Agora os inputs e textarea ocupam 60% da largura do ecrã */
.input-contato-unico {
    width: 60vw; /* Largura exata de 60% do ecrã */
    padding: 15px;
    border-radius: 8px;
    border: 2px solid #ffffff;
    background: #333;
    color: #fff;
    font-size: 16px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    display: block; /* Garante que ocupa o espaço corretamente */
    margin: 0 auto;
}

.input-contato-unico:focus {
    border-color: #00bcd4;
    outline: none;
    background-color: #444;
}

/* Mantém a altura do textarea e faz ele ter o mesmo comprimento dos inputs */
.input-contato-unico[type="text"],
.input-contato-unico[type="email"],
.input-contato-unico {
    height: 50px; /* Altura padrão para os inputs */
}

.input-contato-unico[type="textarea"],
textarea.input-contato-unico {
    height: 200px !important; /* Mantém sempre 200px */
    resize: none; /* Evita que o usuário redimensione */
}

/* Botão de envio estilizado */
.btn-submit-contato-unico {
    background-color: #00bcd4;
    color: #fff;
    padding: 18px 50px;
    border: none;
    border-radius: 30px;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-submit-contato-unico:hover {
    background-color: #0097a7;
}

/* Responsividade */
@media (max-width: 768px) {
    .contato-unico h1 {
        font-size: 32px;
    }

    .input-contato-unico {
        width: 100%; /* Nos tablets e telas menores, ocupa 80% da tela */
        margin-left: auto; /* Garante margem automática à esquerda */
        margin-right: auto; /* Garante margem automática à direita */
    }

    .btn-submit-contato-unico {
        font-size: 16px;
        padding: 15px 40px;
    }
}

@media (max-width: 480px) {
    .contato-unico {
        padding: 60px 20px;
    }

    .contato-unico h1 {
        font-size: 28px;
    }

    .input-contato-unico {
        width: 100%; /* Largura de 80% para smartphones */
        font-size: 14px;
        padding: 12px;
        margin-left: auto; /* Garante margem automática à esquerda */
        margin-right: auto; /* Garante margem automática à direita */
    }

    .btn-submit-contato-unico {
        font-size: 14px;
        padding: 12px 30px;
    }
}

@font-face {
    font-family: 'MinhaFonte';
    src: url('minhafonte.woff2') format('woff2');
    font-display: swap; /* Usar fonte de fallback enquanto a fonte personalizada não estiver disponível */
}

.preco-normal {
    color: #888;
    font-size: 16px;
}

.preco-normal s {
    color: red;
}

.preco-desconto {
    color: green;
    font-size: 20px;
    font-weight: bold;
}

.product-item {
    position: relative; /* Adiciona position: relative para os filhos com posição absoluta */
    padding: 20px;
    border: 1px solid #ddd;
    text-align: center;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
}

.produto-card {
    position: relative;
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.produto-imagem {
    position: relative;
}

.desconto-badge {
    background-color: red;
    color: white;
    font-size: 14px;
    font-weight: bold;
    width: 50px; /* Define a largura do círculo */
    height: 50px; /* Define a altura do círculo */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%; /* Isso transforma o quadrado em um círculo */
    position: absolute;
    top: 10px;
    right: 10px; /* Alterado de left para right */
    z-index: 10;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2); /* Dá um efeito sutil de sombra */
}

/* Estilo para a tabela e conteúdo */
.title-acesso {
    text-align: center;
    font-family: 'Arial', sans-serif;
    font-size: 2rem;
    color: #333;
    margin-bottom: 20px;
    animation: fadeIn 1s ease-in-out;
}

.table-container-acesso {
    margin: 20px auto;
    max-width: 1000px;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow-x: auto;
}

.search-input-acesso {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    box-sizing: border-box;
    transition: border 0.3s ease;
}

.search-input-acesso:focus {
    border-color: #6c63ff;
}

.table-acesso {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Arial', sans-serif;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

th, td {
    padding: 12px;
    text-align: left;
    font-size: 1rem;
}

th {
    background-color: #6c63ff;
    color: #fff;
}

tr:nth-child(even) {
    background-color: #f4f4f4;
}

tr:hover {
    background-color: #ddd;
    transform: scale(1.02);
    transition: all 0.3s ease;
}

/* Mensagem para quando não houver registros */
.no-access-message {
    text-align: center;
    font-size: 1.2rem;
    color: #777;
}

/* Animação para o título */
@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

#formMessage {
    display: none;
}

/* Ícone de chat flutuante */
#chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    cursor: pointer;
    z-index: 1000;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #007bff, #00d4ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

#chat-widget:hover {
    transform: scale(1.1);
    background: linear-gradient(135deg, #0056b3, #0099cc);
}

#chat-widget img {
    width: 70%;
    height: 70%;
}

/* Painel de chat */
#chat-panel {
    display: none; /* Inicialmente escondido */
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 350px;
    max-width: 90%;
    height: 450px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    overflow: hidden;
    transform: scale(0.9); /* Inicia com o painel reduzido */
    opacity: 0; /* Inicia com o painel invisível */
    transition: all 0.3s ease-in-out;
}

#chat-panel.active {
    display: block; /* Exibe o painel */
    transform: scale(1); /* Expande o painel para seu tamanho real */
    opacity: 1; /* Torna o painel visível */
}

/* Cabeçalho do chat */
#chat-header {
    background: linear-gradient(135deg, #007bff, #00d4ff);
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: bold;
}

#chat-header button {
    background: transparent;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: color 0.2s;
}

#chat-header button:hover {
    color: #ff5757;
}

/* Log de mensagens */
#chat-log {
    padding: 15px;
    height: 320px;
    overflow-y: auto;
    font-size: 14px;
    background: #f9f9f9;
}

#chat-log p {
    margin: 10px 0;
    padding: 10px;
    border-radius: 8px;
    background: #e6f7ff;
    max-width: 75%;
}

/* Campo de entrada */
#chat-input-area {
    display: flex;
    padding: 10px;
    background: #fff;
    border-top: 1px solid #ddd;
}

#chat-message-input {
    flex: 1;
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
}

#chat-message-input:focus {
    border-color: #007bff;
}

.button-chat {
    background: #007bff;
    color: white;
    border: none;
    padding: 10px 15px;
    margin-left: 5px;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.3s;
}

.button-chat:hover {
    background: #0056b3;
}

/* Responsividade */
@media (max-width: 768px) {
    #chat-widget {
        width: 55px;
        height: 55px;
    }

    #chat-panel {
        width: 90%;
        height: 70vh;
    }

    #chat-header {
        font-size: 14px;
    }
}

/* Estilização do formulário de identificação */
#chat-identification {
    display: flex;
    flex-direction: column;
    padding: 20px;
    background: #f1f1f1;
    border-bottom: 1px solid #ddd;
    border-radius: 0 0 15px 15px;
}

#chat-identification input {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#chat-identification input:focus {
    border-color: #007bff;
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.2);
}

/* Botão do formulário */
#start-chat {
    background: linear-gradient(135deg, #007bff, #00d4ff);
    color: white;
    border: none;
    padding: 12px;
    margin-top: 10px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s, transform 0.2s ease-in-out;
}

#start-chat:hover {
    background: linear-gradient(135deg, #0056b3, #0099cc);
    transform: scale(1.05);
}

#start-chat:active {
    transform: scale(0.98);
}
