/* Estilos para a Página de Detalhes do Produto Premium */

.product-detail-container {
    padding-top: 40px;
    padding-bottom: 80px;
}

.product-image-section img {
    border-radius: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.product-image-section img:hover {
    transform: scale(1.02);
}

.product-info-section {
    padding-left: 30px;
}

.product-title-premium {
    font-size: 2.5rem;
    font-weight: 800;
    color: #250f55;
    margin-bottom: 20px;
    line-height: 1.2;
}

.price-box-premium {
    background: #fff;
    padding: 25px;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin-bottom: 30px;
    border-left: 5px solid #6b2278;
}

.old-price-detalhe {
    font-size: 1.1rem;
    color: #999;
    text-decoration: line-through;
    margin-bottom: 5px;
}

.current-price-detalhe {
    font-size: 2.8rem;
    font-weight: 800;
    color: #250f55;
    line-height: 1;
}

.discount-badge-premium {
    display: inline-block;
    background: #e74c3c;
    color: #fff;
    padding: 5px 12px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-top: 10px;
}

.section-title-premium {
    font-size: 1.2rem;
    font-weight: 700;
    color: #250f55;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.section-title-premium i {
    margin-right: 10px;
    color: #6b2278;
}

.variation-card-premium {
    border-radius: 20px;
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

.variation-card-premium .card-header {
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
    border-radius: 20px 20px 0 0 !important;
    padding: 12px 20px;
}

.btn-buy-premium {
    background: linear-gradient(135deg, #6b2278 0%, #4a207a 100%);
    color: #fff;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 800;
    box-shadow: 0 10px 20px rgba(107, 34, 120, 0.3);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-buy-premium:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(107, 34, 120, 0.4);
    color: #fff;
}

.store-card-premium {
    background: #fff;
    border-radius: 25px;
    padding: 20px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-top: 30px;
    transition: all 0.3s ease;
}

.store-card-premium:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.store-logo-detalhe {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    object-fit: cover;
    margin-right: 15px;
}

.description-section-premium {
    background: #fff;
    padding: 40px;
    border-radius: 30px;
    margin-top: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
}

/* Responsividade */
@media (max-width: 991px) {
    .product-info-section {
        padding-left: 0;
        margin-top: 30px;
    }
    .product-title-premium {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    .product-detail-container {
        padding-top: 20px;
        padding-bottom: 40px;
    }
    
    .product-image-section {
        text-align: center;
    }
    
    .product-image-section img {
        border-radius: 20px;
        width: 100%;
        max-width: 500px;
    }

    .product-title-premium {
        font-size: 1.8rem;
        text-align: left !important;
        margin-top: 15px;
    }

    .price-box-premium {
        text-align: left !important;
        padding: 20px;
        border-left: 5px solid #6b2278 !important;
        border-bottom: none !important;
        border-radius: 20px;
    }

    .current-price-detalhe {
        font-size: 2.4rem;
    }

    .product-info-section span.badge {
        display: inline-block;
        margin: 0 0 15px;
        width: fit-content;
    }

    .btn-buy-premium {
        width: 100%;
        padding: 12px 20px;
        font-size: 1.1rem;
    }

    .description-section-premium {
        padding: 25px 20px;
        margin-top: 30px;
        border-radius: 20px;
    }

    .description-section-premium .nav-pills {
        justify-content: center;
    }

    .store-card-premium {
        justify-content: flex-start !important;
        text-align: left !important;
    }

    .variation-card-premium .card-header {
        display: block !important;
        position: relative !important;
        text-align: left !important;
        padding: 12px 10px !important;
        padding-right: 85px !important; /* Espaço reservado para o badge no canto */
        min-height: 50px;
    }

    .variation-card-premium .card-header .badge {
        position: absolute !important;
        right: 8px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        margin: 0 !important;
        padding: 4px 8px !important;
        font-size: 0.7rem !important;
        white-space: nowrap;
    }
}

/* Novo Botão de Favoritos Premium */
.btn-premium-fav {
    background: #fff !important;
    border: 2px solid #6b2278 !important;
    color: #6b2278 !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    transition: all 0.3s ease !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    height: 100%;
}

.btn-premium-fav:hover {
    background: #6b2278 !important;
    color: #fff !important;
    box-shadow: 0 5px 15px rgba(107, 34, 120, 0.2);
}

.btn-premium-fav svg {
    fill: #6b2278;
    transition: all 0.3s ease;
}

.btn-premium-fav:hover svg {
    fill: #fff;
}

/* Estado Selecionado (Roxo com Letras Brancas) */
.btn-premium-fav-active {
    background: #6b2278 !important;
    border: 2px solid #6b2278 !important;
    color: #fff !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    transition: all 0.3s ease !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    height: 100%;
}

.btn-premium-fav-active svg {
    fill: #fff !important;
}

.btn-premium-fav-active:hover {
    background: #4a207a !important;
    box-shadow: 0 5px 15px rgba(107, 34, 120, 0.3);
}

