/* Estilos para la tienda */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.store-product-card {
    transition: all 0.3s ease;
}

.store-product-card:hover {
    transform: translateY(-2px);
}

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

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

/* Estilos para productos agotados */
.store-product-card.sold-out {
    opacity: 0.8;
}

.store-product-card.sold-out .store-product-image {
    filter: grayscale(30%) brightness(0.8);
}

.store-product-card.sold-out .sold-out-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.1) 0%,
        rgba(0, 0, 0, 0.05) 50%,
        rgba(0, 0, 0, 0.1) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.store-product-card.sold-out .sold-out-badge {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.store-product-card.sold-out .price {
    color: #9ca3af !important;
    text-decoration: line-through;
}

.store-product-card.sold-out .add-to-cart-btn {
    background-color: #9ca3af !important;
    color: white !important;
    cursor: not-allowed !important;
    opacity: 0.7;
}

.store-product-card.sold-out .add-to-cart-btn:hover {
    background-color: #9ca3af !important;
    transform: none !important;
}

/* Responsive adjustments for store */
@media (max-width: 768px) {
    .store-product-card {
        margin-bottom: 1rem;
    }
    
    .store-product-card.sold-out .sold-out-badge {
        font-size: 0.75rem;
        padding: 0.375rem 0.75rem;
    }
}
