/* Estilos específicos para Kit Maleta de Ferramentas com 214 Peças */

/* Estilos de fallback caso o Tailwind não carregue */
.tailwind-fallback {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Estilos para a imagem principal */
#mainImage {
    transition: transform 0.3s ease;
    max-height: none !important;
    width: 100%;
    height: auto;
    object-fit: contain;
}

#mainImage:hover {
    transform: scale(1.02);
}

/* Container da imagem para melhor responsividade */
.relative {
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Efeitos de hover para botões */
.btn-primary {
    background: linear-gradient(135deg, #003593 0%, #02013A 100%);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #02013A 0%, #003593 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 53, 147, 0.3);
}

/* Animações para elementos da página */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-info {
    animation: fadeInUp 0.6s ease-out;
}

/* Estilos para o modal de pagamento */
.payment-modal {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Responsividade aprimorada */
@media (max-width: 768px) {
    .product-title {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    .price-display {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* Estilos para avaliações */
.rating-stars {
    display: inline-flex;
    gap: 2px;
}

.rating-stars svg {
    transition: transform 0.2s ease;
}

.rating-stars:hover svg {
    transform: scale(1.1);
}

/* Estilos para benefícios */
.benefit-item {
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateX(8px);
}

.benefit-item:hover .benefit-icon {
    color: #003593;
    transform: scale(1.1);
}

.benefit-icon {
    transition: all 0.3s ease;
}

/* Estilos para descrição do produto */
.product-description {
    line-height: 1.7;
    text-align: justify;
}

.product-description h4 {
    color: #1f2937;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.product-description ul {
    padding-left: 1.5rem;
}

.product-description li {
    margin-bottom: 0.5rem;
    color: #374151;
}

/* Estilos para o botão de compra */
.buy-button {
    background: linear-gradient(135deg, #003593 0%, #02013A 100%);
    border: none;
    color: white;
    font-weight: bold;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.buy-button:hover {
    background: linear-gradient(135deg, #02013A 0%, #003593 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 53, 147, 0.4);
}

.buy-button:active {
    transform: translateY(-1px);
}

/* Estilos para o badge de desconto */
.discount-badge {
    background: linear-gradient(135deg, #003593 0%, #02013A 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-weight: 600;
    font-size: 0.875rem;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 53, 147, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

/* Estilos para o modal de formas de pagamento */
.payment-option {
    transition: all 0.3s ease;
    cursor: pointer;
}

.payment-option:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.payment-option.selected {
    border-color: #003593;
    background-color: #f0f4fa;
}

/* Estilos para informações de entrega */
.delivery-info {
    background: #f8fafc;
    border-left: 4px solid #003593;
    padding: 1rem;
    border-radius: 0.375rem;
    margin-top: 1rem;
}

/* Estilos para o footer específico do produto */
.product-footer {
    background: linear-gradient(135deg, #02013A 0%, #003593 100%);
}

/* Estilos para responsividade em telas muito pequenas */
@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .product-images {
        order: 1;
    }
    
    .product-details {
        order: 2;
    }
    
    .thumbnail {
        width: 3rem;
        height: 3rem;
    }
    
    .main-image {
        height: 16rem;
    }
}

/* Estilos para impressão */
@media print {
    .header,
    .footer,
    .buy-button,
    .payment-modal {
        display: none !important;
    }
    
    .product-info {
        color: black !important;
        background: white !important;
    }
}
