* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background-color: #e5e5e5;
    color: #333;
}

/* Cabeçalho */
header {
    background-image: url('../header.jpg'); /* sua arte do cabeçalho */
     box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    background-size: cover;
    background-position: center;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
}

header h1 {
    color: #fff;
    font-size: 52px;
    text-shadow: 0 2px 4px rgba(0,0,1,1);
}

.search-box input {
    padding: 10px 14px;
    border-radius: 6px;
    border: none;
    outline: none;
    width: 220px;
}

/* Corpo */
main {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
}

.about {
    background-color: #f2f2f2;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 40px;
}

.about h2 {
    margin-bottom: 15px;
}

.about p {
    line-height: 1.6;
    color: #555;
}

/* Produtos */
.products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.product-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card img {
    width: 100%;
    height: 310px;
    object-fit: cover;
}

.product-card h3 {
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    padding: 15px;
    font-size: 18px;
    text-align: center;
}

.product-link {
    text-decoration: none;
    color: inherit;
}

/* Rodapé */
footer {
    margin-top: 60px;
    padding: 20px;
    text-align: center;
    background-color: #ccc;
    color: #333;
}

/* Parte JavaScript*/
.product-page {
    display: flex;
    gap: 40px;
    background-color: #f2f2f2;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.product-page img {
    width: 350px;
    border-radius: 10px;
}

.product-info h2 {
    margin-bottom: 15px;
}

.product-info p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.price {
    display: block;
    margin-top: 10px;
    margin-bottom: 20px; /* distância entre preço e botão */
    font-size: 28px;
    font-weight: bold;
}


/* Botão Voltar Pagina Principal*/
.back-button {
    display: inline-block;
    margin-bottom: 20px;
    text-decoration: none;
    color: #333;
    font-weight: bold;
    background-color: #ddd;
    padding: 10px 18px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    transition: background-color 0.3s, transform 0.2s;
}

.back-button:hover {
    background-color: #ccc;
    transform: translateY(-2px);
}

/* Botão Whatsapp*/
.whatsapp-button {
    margin-top: 25px;
    padding: 14px 14px;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    background-color: #25D366;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.4);
    transition: transform 0.2s, background-color 0.3s;
}

.whatsapp-button:hover {
    background-color: #1ebe5d;
    transform: translateY(-2px);
}

/* Opção de receber o produto*/
.delivery-options {
    margin-top: 15px;
    margin-bottom: 20px;
}

.delivery-options p {
    font-weight: bold;
    margin-bottom: 8px;
}

.delivery-options label {
    display: block;
    margin-bottom: 6px;
    cursor: pointer;
}

/*Botão Instagram*/
.instagram-container {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

.instagram-button {
    text-decoration: none;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    background: linear-gradient(
        45deg,
        #f09433,
        #e6683c,
        #dc2743,
        #cc2366,
        #bc1888
    );
    border-radius: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.4);
    transition: transform 0.2s, box-shadow 0.3s;
}

.instagram-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.5);
}

.no-select {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}




/*Ajuste do Site para Celular*/
@media (max-width: 768px) {

     .instagram-button {
        width: 90%;
        text-align: center;
    }

    header {
        height: 220px;
        padding: 0 20px;
    }

    header h1 {
        font-size: 36px;
    }

    .product-page {
        flex-direction: column;
        align-items: center;
    }

    .product-page img {
        width: 100%;
        max-width: 320px;
    }

    .product-info {
        width: 100%;
        text-align: center;
    }

    .price {
        font-size: 24px;
    }

    .whatsapp-button {
        width: 100%;
        max-width: none;
    }

    .back-button {
        width: 100%;
        text-align: center;
    }

      .products {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .product-card img {
        height: 220px;
    }

    .product-card h3 {
        font-size: 14px;
        padding: 10px;
    }
}






