﻿.card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cart-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: #e92227;
    color: white;
    border-radius: 50%;
    font-size: 0.75rem;
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.price {
    color: #e27a43;
}

.pagination-link.is-current {
    background-color: #00394c;
    border-color: #00394c;
    color: #fff;
}

.tagCat {
    cursor: pointer;
}

    .tagCat:hover {
        background-color: #e92227;
        color: white;
    }

.tags.are-medium .tag:not(.is-normal):not(.is-large) {
    font-size: 0.8rem;
}

.tagactive {
    background-color: #e5383b !important;
    color: white !important;
}

.image-wrapper {
    position: relative;
    background-color: #eee;
    overflow: hidden;
    cursor: pointer;
}

.image-placeholder {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #eee 25%, #ddd 50%, #eee 75%);
    background-size: 200% 100%;
    animation: shimmer 1.2s infinite;
    z-index: 1;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 2;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.image-wrapper img.loaded + .image-placeholder {
    display: none;
}

/* Caja con fondo negro degradado */
.credit-line-box {
    background: linear-gradient(135deg, #000000, #1a1a1a);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 6px 18px rgba(0,0,0,0.6);
    font-size: 1.3rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.5px;
}

/* Texto CrediDunas en colores cálidos del logo */
.brand-gradient {
    background: linear-gradient(90deg, #ff6600, #ffcc00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    font-size: 1.4rem;
}

/* Texto monto en verdes */
.amount-gradient {
    background: linear-gradient(90deg, #00ff7f, #00cc66, #006400);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    font-size: 1.5rem;
}