* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background: #f5f5f5;
}

.banner {
    max-width: 1400px;
    margin: 25px auto;
    height: 350px;
    border-radius: 20px;
    overflow: hidden;

    background:
        linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
        url('../../img/me04-launch-169-br.png');

    background-size: cover;
    background-position: center;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    color: white;
    text-align: center;
}

.banner h1 {
    font-size: 50px;
    margin-bottom: 10px;
}

.banner button {
    margin-top: 20px;
    background: #ef4444;
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 18px;
}

.categorias {
    max-width: 1400px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.categoria {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    cursor: pointer;
}

.categoria img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.categoria h3 {
    padding: 20px;
    text-align: center;
}

.secao {
    max-width: 1400px;
    margin: 50px auto;
}

.secao h2 {
    margin-bottom: 25px;
    font-size: 30px;
}

.produtos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.produto {
    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: 0.3s;
}

.produto:hover {
    transform: translateY(-5px);
}

.produto img {
    width: 100%;
    height: 300px;
    object-fit: contain;
    background: white;
}

.produto-info {
    padding: 15px;
}

.colecao {
    color: #777;
    font-size: 13px;
}

.produto h4 {
    margin-top: 10px;
    margin-bottom: 10px;
    min-height: 50px;
}

.preco {
    font-size: 24px;
    color: #ef4444;
    font-weight: bold;
}

.comprar {
    width: 100%;
    margin-top: 15px;
    border: none;
    background: #ef4444;
    color: white;
    padding: 12px;
    border-radius: 10px;
    cursor: pointer;
}

.produto-page {
    max-width: 1400px;

    margin: auto;

    padding: 40px 20px;
}

.produto-container {
    display: grid;

    grid-template-columns: 1fr 500px;

    gap: 60px;

    align-items: start;
}

.produto-galeria {
    background: white;

    border-radius: 20px;

    padding: 30px;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.imagem-principal {
    width: 100%;

    max-height: 700px;

    object-fit: contain;
}

.produto-detalhes {
    background: white;

    border-radius: 20px;

    padding: 30px;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.produto-colecao {
    color: #666;

    font-size: 14px;
}

.produto-detalhes h1 {
    margin-top: 10px;

    margin-bottom: 20px;

    font-size: 34px;
}

.estoque {
    margin-bottom: 20px;

    color: #16a34a;

    font-weight: bold;
}

.preco-produto {
    font-size: 42px;

    font-weight: bold;

    color: #ef4444;

    margin-bottom: 25px;
}

.quantidade-box {
    margin-bottom: 25px;
}

.quantidade-box input {
    width: 90px;

    height: 45px;

    border: 1px solid #ddd;

    border-radius: 10px;

    text-align: center;
}

.btn-comprar {
    width: 100%;

    height: 60px;

    border: none;

    border-radius: 12px;

    background: #ef4444;

    color: white;

    font-size: 18px;

    font-weight: bold;

    cursor: pointer;

    margin-bottom: 15px;
}

.btn-comprar:hover {
    background: #dc2626;
}

.btn-carrinho {
    width: 100%;

    height: 60px;

    border: none;

    border-radius: 12px;

    background: #3466af;

    color: white;

    font-size: 18px;

    font-weight: bold;

    cursor: pointer;
}

.btn-carrinho:hover {
    background: #234b87;
}

.descricao-produto {
    margin-top: 50px;

    background: white;

    border-radius: 20px;

    padding: 30px;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.descricao-produto h2 {
    margin-bottom: 20px;
}

.toast {
    position: fixed;

    top: 90px;
    right: 20px;

    padding: 15px 25px;

    border-radius: 12px;

    color: white;

    font-weight: bold;

    z-index: 9999;

    opacity: 0;

    transform: translateX(120%);

    transition:
        opacity 0.3s ease,
        transform 0.3s ease;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.toast.show {
    opacity: 1;

    transform: translateX(0);
}

.toast.success {
    background: #16a34a;
}

.toast.error {
    background: #dc2626;
}

.btn-indisponivel {
    width: 100%;

    padding: 15px;

    border: none;

    border-radius: 12px;

    background: #bdbdbd;

    color: white;

    font-size: 16px;

    font-weight: bold;

    cursor: not-allowed;
}
