/* Estilos Gerais */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Permanent+Marker&display=swap');
body {
    font-family: "Montserrat", sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
}

h1, h2, h3 {
    color: #333;
}

h2, h1{
    color: #08bdbd;
    font-family: "Permanent Marker", cursive;
}

a {
    color: #28a745;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

button {
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.rem{
    padding: 10px 20px;
    /*background-color: red;*/
    color: #fff;
    border: none;
    border-radius: 10px;
}

/* Container Principal */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Página de Produtos (produtos.php) */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.product-item {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
}

.product-item img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 10px;
}

.product-item h2 {
    font-size: 18px;
    margin-bottom: 5px;
}

.product-item p {
    color: #08bdbd;
    font-size: 16px;
}

/* Página do Produto Individual (produto1.php, produto2.php, produto3.php) */
.product-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.gallery {
    flex: 1;
    min-width: 300px;
}

.main-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.thumbnails img {
    width: 80px;
    height: 80px;
    border-radius: 5px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.thumbnails img:hover {
    border-color: #28a745;
}

.product-details {
    flex: 1;
    min-width: 300px;
}

.product-details h1 {
    font-size: 24px;
    margin-bottom: 10px;
}

.product-details .price {
    font-size: 20px;
    color: #000;
    margin-bottom: 20px;
}

.product-details .description {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
}

.size-selector, .color-selector {
    margin-bottom: 20px;
}

.size-selector label, .color-selector label {
    font-size: 16px;
    margin-right: 10px;
}

.size-selector select, .color-selector select {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 5px;
    width: 100%;
    max-width: 200px;
}

#buy-now, #add-to-cart {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    margin-bottom: 10px;
}

#buy-now {
    background-color: #29bf12;
    color: white;
}

#buy-now:hover {
    background-color: #abff4f;
}

#add-to-cart {
    background-color: #08bdbd;
    color: white;
}

#add-to-cart:hover {
    background-color: #08bdbd;
}

/* Página do Carrinho */
.cart-container {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.cart-item {
    display: flex;
    gap: 20px;
    padding: 15px 0;
    border-bottom: 1px solid #ddd;
}

.cart-item img {
    width: 100px;
    height: 100px;
    border-radius: 5px;
}

.item-details {
    flex: 1;
}

.item-details h3 {
    margin: 0;
    font-size: 18px;
}

.item-details p {
    margin: 5px 0;
    font-size: 14px;
    color: #555;
}

.coupon-section {
    margin: 20px 0;
}

.coupon-section input {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 5px;
    width: calc(100% - 120px);
    max-width: 300px;
}

.coupon-section button {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #08bdbd;
    color: white;
    border: none;
    border-radius: 5px;
    margin-left: 10px;
}

.coupon-section button:hover {
    background-color: #08bdbd;
}

#applied-coupon {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    margin: 20px 0;
    border: 1px solid #ddd;
}

#applied-coupon p {
    margin: 5px 0;
    font-size: 16px;
}

#applied-coupon strong {
    color: #28a745;
}

#free-shipping {
    /*background-color: #28a745;*/
    /*color: white;*/
    color: #28a745;
    padding: 10px;
    text-align: center;
    margin: 20px 0;
    border-radius: 5px;
    display: none;
}

.total-section {
    text-align: right;
    font-size: 18px;
    margin: 20px 0;
}

#checkout-button {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    background-color: #29bf12;
    color: white;
    border: none;
    border-radius: 5px;
}

#checkout-button:hover {
    background-color: #29bf12;
}

/* Página de Finalização da Compra */
.checkout-container {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.checkout-container h1 {
    font-size: 24px;
    margin-bottom: 20px;
}

.product-info {
    margin-bottom: 20px;
}

.product-info h2 {
    font-size: 20px;
    margin-bottom: 10px;
}

.product-info p {
    font-size: 16px;
    color: #555;
    margin: 5px 0;
}

#delivery-form label {
    display: block;
    font-size: 16px;
    margin-bottom: 5px;
}

#delivery-form input {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 15px;
}

#payment-button {
    margin-top: 20px;
}

/* Estilos para index.php */
#countdown {
    font-size: 2em;
    margin: 20px 0;
}

#email-form {
    margin: 20px 0;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#email-form input[type="email"] {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 5px;
    width: calc(100% - 120px);
    max-width: 300px;
    margin-bottom: 10px;
}

#email-form button {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
}

#email-form button:hover {
    background-color: #218838;
}

#loja-link {
    display: block;
    margin-top: 20px;
    padding: 15px 20px;
    background-color: #007bff;
    color: white;
    text-align: center;
    border-radius: 5px;
    text-decoration: none;
}

#loja-link:hover {
    background-color: #0056b3;
}

/* Estilos para questionario.php */
form {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 20px auto;
}

form p {
    margin-bottom: 15px;
}

form select {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 5px;
    width: 100%;
    max-width: 300px;
}

form button {
    padding: 15px 20px;
    font-size: 16px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    width: 100%;
}

form button:hover {
    background-color: #218838;
}

/* Estilos para jogo.php */
#bolinhas {
    background-color: #f0f0f0;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

#tempo-jogo, #pontuacao-jogo {
    font-size: 1.2em;
    margin: 10px 0;
}

#iniciar-jogo {
    padding: 15px 20px;
    font-size: 16px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    margin-top: 20px;
}

#iniciar-jogo:hover {
    background-color: #0056b3;
}

main {
    min-height: calc(100vh - 160px); /* Ajuste o valor 160px conforme a altura do header e footer */
}

footer {
    background-color: #000;
    padding: 20px 0;
    text-align: center;
    width: 100%;
    color: #f1f1f1;
    margin-top: auto; /* Empurra o footer para baixo */
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-nav a {
    margin: 0 10px;
    color: #ccc;
    text-decoration: none;
}

footer-nav a:hover {
    text-decoration: underline;
}

/* Responsividade */
@media (max-width: 768px) {
    .product-container {
        flex-direction: column;
    }

    .thumbnails {
        flex-wrap: wrap;
    }

    .thumbnails img {
        width: 60px;
        height: 60px;
    }

    .size-selector select, .color-selector select {
        max-width: 100%;
    }

    .cart-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .cart-item img {
        margin-bottom: 10px;
    }

    .coupon-section input {
        width: 100%;
        max-width: none;
        margin-bottom: 10px;
    }

    .coupon-section button {
        width: 100%;
        margin-left: 0;
    }
    
    .product-grid {
        grid-template-columns: repeat(2, 1fr); /* Define 2 colunas */
        gap: 10px; /* Reduz o espaçamento entre os itens */
    }

    .product-item {
        padding: 10px; /* Reduz o padding interno dos itens */
    }
}









header {
    background-color: #fff;
    padding: 20px 0;
}

.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo img {
    max-height: 50px;
}

.carrinho {
    position: relative;
}

.carrinho img {
    max-height: 30px;
}

#quantidade-carrinho {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: #f21b3f;
    color: white;
    border-radius: 50%;
    padding: 5px;
    font-size: 12px;
}

.comments-section {
    margin-top: 20px;
}

.comments-section input, .comments-section textarea{
    border: 1px solid #ccc;
    padding: 5px;
    font-size: 18px;
}

.comments-section form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.comment {
    border: 3px solid #FF9914;
    padding: 10px;
    margin-bottom: 10px;
}
.stars, .product-item .stars{
    color: #FF9914;
    margin: 0;
    font-size: 30px;
    padding: -8px;
}