/* Mejoras para el Store */

/* Header mejorado */
.navbar-landing {
    background: #ffffff;
    border-bottom: 1px solid #dee2e6;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar-landing.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: #495057 !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #0d6efd !important;
}

/* Hero section ajustado */
.nft-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.bg-overlay-pattern {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Productos Grid */
.product-card {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    border: 1px solid #e9ecef;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.product-image-container {
    overflow: hidden;
    border-radius: 0.375rem 0.375rem 0 0;
    position: relative;
}

.product-image {
    transition: transform 0.3s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

/* Product overlay */
.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

/* Badges */
.badge {
    font-size: 0.75rem;
    z-index: 10;
}

/* Stock indicators */
.text-success { color: #198754 !important; }
.text-warning { color: #ffc107 !important; }
.text-danger { color: #dc3545 !important; }

/* Rating stars */
.mdi-star {
    font-size: 0.875rem;
}

/* Price styling */
.text-decoration-line-through {
    text-decoration: line-through !important;
}

/* Vista Lista */
.product-card-list {
    transition: box-shadow 0.2s ease-in-out;
}

.product-card-list:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Filtros */
.filter-section {
    background: #f8f9fa;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 2rem;
}

/* Loading states */
.loading-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

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

/* Mini Carrito */
.dropdown-menu {
    border: none;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.dropdown-header {
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

.dropdown-footer {
    background: #f8f9fa;
    border-top: 1px solid #dee2e6;
}

/* Responsive */
@media (max-width: 768px) {
    .product-card {
        margin-bottom: 1rem;
    }
    
    .filter-section {
        padding: 0.75rem;
    }
    
    .btn-group .btn {
        font-size: 0.875rem;
        padding: 0.375rem 0.5rem;
    }
}

/* Paginación */
.pagination {
    margin-top: 2rem;
}

.page-link {
    border-radius: 0.375rem;
    margin: 0 0.125rem;
    border: 1px solid #dee2e6;
}

.page-item.active .page-link {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

/* Estados vacíos */
.empty-state {
    padding: 3rem 1rem;
    text-align: center;
}

.empty-state i {
    font-size: 4rem;
    color: #6c757d;
    margin-bottom: 1rem;
}

/* Botones de acción */
.btn-action {
    transition: all 0.2s ease;
}

.btn-action:hover {
    transform: translateY(-1px);
}

/* Badges y etiquetas */
.product-badge {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    z-index: 10;
}

/* Animaciones de carga */
.fade-in {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}