/* ==========================================
   PÁGINA DO PRODUTO
========================================== */

.produto-detalhes {
    padding: 80px 0;
    min-height: 70vh;
}


/* ==========================================
   BOTÃO VOLTAR AOS PRODUTOS
========================================== */

.botao-voltar-produtos {
    display: inline-flex;
    align-items: center;

    margin-bottom: 35px;

    color: #d4af37;

    font-size: 14px;
    font-weight: 600;

    text-decoration: none;

    transition: all 0.25s ease;
}

.botao-voltar-produtos:hover {
    color: #ffffff;
    transform: translateX(-4px);
}


/* ==========================================
   GRID DO PRODUTO
========================================== */

.produto-detalhes-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 70px;

    align-items: center;
}


/* ==========================================
   IMAGEM DO PRODUTO
========================================== */

.produto-detalhes-imagem {
    width: 100%;
    min-height: 450px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #071426;

    border: 1px solid rgba(212, 175, 55, 0.25);

    border-radius: 16px;

    padding: 40px;

    box-sizing: border-box;
}

.produto-detalhes-imagem img {
    width: 100%;
    max-width: 420px;

    max-height: 450px;

    object-fit: contain;

    display: block;
}


/* ==========================================
   INFORMAÇÕES DO PRODUTO
========================================== */

.produto-detalhes-info {
    max-width: 550px;
}

.produto-detalhes-info .produto-categoria {
    display: inline-block;

    margin-bottom: 12px;

    color: #d4af37;

    font-size: 13px;
    font-weight: 600;

    letter-spacing: 1.5px;
}

.produto-detalhes-info h1 {
    margin: 0 0 15px;

    color: #ffffff;

    font-size: 42px;
    line-height: 1.15;
}

.produto-detalhes-preco {
    margin: 0 0 25px;

    color: #d4af37;

    font-size: 28px;
    font-weight: 700;
}

.produto-descricao {
    margin-bottom: 30px;

    color: rgba(255, 255, 255, 0.75);

    font-size: 16px;

    line-height: 1.7;
}


/* ==========================================
   OPÇÕES DO PRODUTO
========================================== */

.produto-opcoes {
    margin: 25px 0;
}

.produto-opcoes-titulo {
    color: #d4af37;

    font-size: 14px;
    font-weight: 600;

    margin-bottom: 12px;

    text-transform: uppercase;

    letter-spacing: 1px;
}

.produto-opcoes-lista {
    display: flex;

    gap: 12px;

    flex-wrap: wrap;
}

.opcao-produto {
    position: relative;

    cursor: pointer;
}

.opcao-produto input {
    position: absolute;

    opacity: 0;

    pointer-events: none;
}

.opcao-produto span {
    display: block;

    padding: 12px 20px;

    background: #071426;

    border: 1px solid rgba(212, 175, 55, 0.35);

    border-radius: 8px;

    color: #ffffff;

    font-size: 14px;

    transition: all 0.25s ease;
}

.opcao-produto:hover span {
    border-color: #d4af37;

    transform: translateY(-2px);
}

.opcao-produto input:checked + span {
    background: #d4af37;

    border-color: #d4af37;

    color: #071426;

    font-weight: 600;

    box-shadow:
        0 5px 15px rgba(212, 175, 55, 0.2);
}


/* ==========================================
   QUANTIDADE
========================================== */

.produto-quantidade {
    display: flex;

    align-items: center;

    gap: 15px;

    margin: 25px 0;
}

.produto-quantidade button {
    width: 42px;
    height: 42px;

    border: 1px solid rgba(212, 175, 55, 0.4);

    border-radius: 8px;

    background: #071426;

    color: #d4af37;

    font-size: 22px;

    cursor: pointer;

    transition: all 0.25s ease;
}

.produto-quantidade button:hover {
    background: #d4af37;

    color: #071426;

    border-color: #d4af37;
}

.produto-quantidade span {
    min-width: 25px;

    text-align: center;

    color: #ffffff;

    font-size: 18px;

    font-weight: 600;
}


/* ==========================================
   BOTÃO COMPRAR
========================================== */

.botao-comprar {
    width: 100%;

    padding: 16px 25px;

    border: none;

    border-radius: 8px;

    background: linear-gradient(
        135deg,
        #d4af37,
        #b89225
    );

    color: #071426;

    font-size: 15px;

    font-weight: 700;

    cursor: pointer;

    transition: all 0.25s ease;
}

.botao-comprar:hover {
    transform: translateY(-2px);

    box-shadow:
        0 10px 25px rgba(212, 175, 55, 0.25);
}


/* ==========================================
   NOTIFICAÇÃO DO CARRINHO
========================================== */

.notificacao-carrinho {
    position: fixed;

    top: 100px;
    right: 30px;

    width: 340px;

    padding: 20px;

    background: #071426;

    border: 1px solid rgba(212, 175, 55, 0.45);

    border-radius: 12px;

    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.4);

    opacity: 0;

    visibility: hidden;

    transform: translateX(30px);

    transition: all 0.3s ease;

    z-index: 1000;

    box-sizing: border-box;
}

.notificacao-carrinho.ativa {
    opacity: 1;

    visibility: visible;

    transform: translateX(0);
}


/* ==========================================
   FECHAR NOTIFICAÇÃO
========================================== */

.fechar-notificacao {
    position: absolute;

    top: 10px;
    right: 12px;

    border: none;

    background: transparent;

    color: rgba(255, 255, 255, 0.6);

    font-size: 22px;

    cursor: pointer;
}

.fechar-notificacao:hover {
    color: #ffffff;
}


/* ==========================================
   TOPO DA NOTIFICAÇÃO
========================================== */

.notificacao-topo {
    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 18px;

    color: #ffffff;
}

.notificacao-check {
    width: 28px;
    height: 28px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #d4af37;

    color: #071426;

    font-weight: 700;
}


/* ==========================================
   PRODUTO DA NOTIFICAÇÃO
========================================== */

.notificacao-produto {
    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 18px;
}

.notificacao-produto img {
    width: 65px;
    height: 65px;

    object-fit: contain;

    background: #071426;

    border: 1px solid rgba(212, 175, 55, 0.35);

    border-radius: 7px;

    padding: 5px;

    box-sizing: border-box;
}

.notificacao-produto-info {
    display: flex;

    flex-direction: column;

    gap: 4px;
}

.notificacao-produto-info strong {
    color: #ffffff;

    font-size: 14px;
}

.notificacao-produto-info span {
    color: rgba(255, 255, 255, 0.65);

    font-size: 12px;
}

.notificacao-produto-info span:last-child {
    color: #d4af37;

    font-weight: 600;
}


/* ==========================================
   BOTÃO VER CARRINHO
========================================== */

.botao-ver-carrinho {
    display: block;

    width: 100%;

    padding: 12px;

    box-sizing: border-box;

    text-align: center;

    border: 1px solid #d4af37;

    border-radius: 7px;

    color: #d4af37;

    text-decoration: none;

    font-size: 14px;

    font-weight: 600;

    transition: all 0.25s ease;
}

.botao-ver-carrinho:hover {
    background: #d4af37;

    color: #071426;
}


/* ==========================================
   RESPONSIVO
========================================== */

@media (max-width: 768px) {

    .produto-detalhes {
        padding: 50px 0;
    }

    .produto-detalhes-grid {
        grid-template-columns: 1fr;

        gap: 40px;
    }

    .produto-detalhes-imagem {
        min-height: 350px;

        padding: 25px;
    }

    .produto-detalhes-info h1 {
        font-size: 32px;
    }

    .notificacao-carrinho {
        left: 20px;
        right: 20px;

        width: auto;

        top: 80px;
    }

}