/* Componentes Auxiliares */

/* Newsletter Form */
.newsletter form {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Produto Detalhe */
.product-detail img {
    transition: transform 0.3s ease;
}

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

/* Botão Comprar Animado */
.btn-buy {
    position: relative;
    overflow: hidden;
}

.btn-buy::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    transition: all 0.4s ease;
    transform: translate(-50%, -50%);
}

.btn-buy:hover::after {
    width: 300px;
    height: 300px;
}

/* Cards Hover Efeito */
.product-card {
    cursor: pointer;
}

/* Scrollbar Customizada */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #F1F2F6;
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Toast Notifications */
.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--dark);
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: var(--shadow-hover);
    z-index: 9999;
    animation: slideIn 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.toast.success {
    border-left: 4px solid var(--success);
}

.toast.error {
    border-left: 4px solid var(--danger);
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Skeleton Loading */
.skeleton {
    background: linear-gradient(90deg, #F1F2F6 25%, #E8EAF6 50%, #F1F2F6 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 8px;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--gray);
}

.empty-state i {
    font-size: 64px;
    margin-bottom: 20px;
    color: var(--light-gray);
}

.empty-state h3 {
    margin-bottom: 10px;
    color: var(--dark);
}

/* Responsive Tables */
@media (max-width: 768px) {
    .product-detail {
        grid-template-columns: 1fr !important;
    }
}
