/* ===== Geral ===== */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #faf6f2;
}

header {
    background: #4d2d1a;
    color: white;
    padding: 20px;
    text-align: center;
}

nav a {
    margin: 0 15px;
    text-decoration: none;
    color: #ffddaa;
    font-weight: bold;
}

nav a:hover {
    color: white;
}

main {
    padding: 20px;
}

footer {
    margin-top: 40px;
    background: #4d2d1a;
    color: white;
    text-align: center;
    padding: 15px;
}

footer a {
    color: #ffddaa;
}

/* ===== Produtos ===== */
.products {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Espaço entre os produtos */
    justify-content: center; /* Centraliza na página */
    padding: 20px 0;
}

.product {
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 10px;
    width: 220px; /* Largura fixa para cada produto */
    text-align: center;
    background-color: #f9f9f9;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.product:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.product img {
    width: 200px; /* Ajusta o tamanho da imagem */
    height: auto; /* Mantém proporção */
    border-radius: 5px;
}

.product h2 {
    font-size: 18px;
    margin: 10px 0 5px 0;
}

.product p {
    margin: 5px 0;
    font-size: 14px;
}

/* ===== Produtos detalhes ===== */
.product .price {
    font-weight: bold;
    color: #4d2d1a;
    font-size: 16px;
    margin: 8px 0;
}

.cart-btn {
    background-color: #4d2d1a;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.2s, transform 0.2s;
}

.cart-btn:hover {
    background-color: #6e3f23;
    transform: translateY(-2px);
}

/* ===== Carrinho ===== */
.cart {
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 15px;
    margin: 20px auto;
    width: 320px;
    background-color: #f9f9f9;
    text-align: left;
}

.cart h2 {
    margin-top: 0;
    font-size: 20px;
    color: #4d2d1a;
}

.cart ul {
    list-style-type: none;
    padding-left: 0;
    margin: 10px 0;
}

.cart li {
    margin: 5px 0;
}

.remove-btn {
    background-color: #aa3f3f;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 3px 7px;
    margin-left: 5px;
    cursor: pointer;
    font-size: 12px;
}

.remove-btn:hover {
    background-color: #d65a5a;
}

.cart-total {
    font-weight: bold;
    margin-top: 10px;
}

/* ===== Responsividade ===== */
@media screen and (max-width: 768px) {
    .products {
        flex-direction: column;
        align-items: center;
    }

    .product {
        width: 90%;
        max-width: 300px;
    }

    .cart {
        width: 90%;
        max-width: 350px;
    }
}

.checkout-cart {
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 15px;
    margin: 20px auto;
    width: 320px;
    background-color: #f9f9f9;
}

.checkout-cart ul {
    list-style-type: none;
    padding-left: 0;
}

.checkout-cart li {
    margin: 5px 0;
}

.checkout-form {
    width: 320px;
    margin: 20px auto;
    display: flex;
    flex-direction: column;
}

.checkout-form label {
    margin-top: 10px;
    font-weight: bold;
}

.checkout-form input,
.checkout-form textarea {
    padding: 8px;
    margin-top: 5px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

.checkout-form textarea {
    resize: vertical;
}

.success-message {
    text-align: center;
    font-size: 18px;
    color: green;
    margin: 20px;
}

.checkout-btn {
    margin-top: 10px;
}

.checkout-btn {
    display: inline-block;
    background-color: #4CAF50; /* Verde */
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    margin-top: 15px;
    transition: background-color 0.3s, transform 0.2s;
}

.checkout-btn:hover {
    background-color: #45a049; /* Verde mais escuro ao passar o mouse */
    transform: translateY(-2px);
}

.careers-container {
    max-width: 900px;
    margin: 20px auto;
    padding: 0 15px;
    text-align: center;
}

.job-listings {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin: 20px 0;
}

.job {
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 15px;
    width: 250px;
    background-color: #f9f9f9;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    text-align: left;
}

.job:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.job h2 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #4d2d1a;
}

.career-form {
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 20px;
    margin: 30px auto;
    max-width: 500px;
    background-color: #f9f9f9;
    text-align: left;
}

.career-form h2 {
    text-align: center;
    color: #4d2d1a;
}

.career-form label {
    display: block;
    margin-top: 10px;
    font-weight: bold;
}

.career-form input,
.career-form select {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

.career-form button {
    display: block;
    background-color: #4CAF50; /* verde */
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    margin: 20px auto 0;
    transition: background-color 0.3s, transform 0.2s;
}

.career-form button:hover {
    background-color: #45a049;
    transform: translateY(-2px);
}

/* Responsividade */
@media screen and (max-width: 768px) {
    .job-listings {
        flex-direction: column;
        align-items: center;
    }

    .job {
        width: 90%;
    }

    .career-form {
        width: 90%;
    }
}

.bread-container {
    max-width: 1000px;
    margin: 20px auto;
    padding: 0 15px;
    text-align: center;
}

.bread-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}

.bread-box {
    border: 2px solid #4d2d1a;
    border-radius: 12px;
    padding: 20px;
    width: 260px;
    background: #f5f2eb;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.bread-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.bread-box h2 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #4d2d1a;
}

.bread-box img {
    width: 200px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 12px;
}

.bread-box p {
    font-size: 14px;
    line-height: 1.5;
}

/* Responsividade */
@media screen and (max-width: 768px) {
    .bread-list {
        flex-direction: column;
        align-items: center;
    }

    .bread-box {
        width: 90%;
    }
}
