/* style-produto.css */

.product-detail-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 20px 50px;
    display: flex;
    gap: 60px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* Coluna da Esquerda: Imagens */
.product-images {
    flex: 1;
    max-width: 50%;
}

.main-image-container {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
}

.main-image-container img {
    width: 100%;
    display: block;
}

.thumbnail-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.thumbnail-item {
    border: 2px solid #eee;
    border-radius: 6px;
    cursor: pointer;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.thumbnail-item:hover, .thumbnail-item.active {
    border-color: #D4AF37;
}

.thumbnail-item img {
    width: 100%;
    display: block;
}

/* Coluna da Direita: Informações */
.product-details {
    flex: 1;
    padding-top: 20px;
}

.product-details h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.product-price {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 400;
    color: #555;
    margin-bottom: 25px;
}

.product-description {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 30px;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.btn-add-to-bag {
    background-color: #D4AF37;
    color: #fff;
    border: 2px solid #D4AF37;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-add-to-bag:hover {
    background-color: #c09d34;
    border-color: #c09d34;
}

.product-specs {
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.product-specs h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #555;
}

.product-specs ul {
    list-style: none;
    padding: 0;
    color: #666;
}

.product-specs li {
    margin-bottom: 8px;
}

/* Responsividade */
@media (max-width: 768px) {
    .product-detail-section {
        flex-direction: column;
        padding: 0 20px;
        margin: 30px auto;
        gap: 30px;
    }
    .product-images, .product-details {
        max-width: 100%;
    }
    .product-details h1 {
        font-size: 2.2rem;
    }
    .product-price {
        font-size: 1.5rem;
    }
}

/* --- Notificação "Adicionado à Sacola" --- */
.notification {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px); /* Começa fora da tela */
    background-color: #2c3e50;
    color: #fff;
    padding: 15px 25px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1002;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.4s ease, visibility 0.4s ease;
}

.notification.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    visibility: visible;
}