:root {
    --product-fallback-bg:
        radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.12), transparent 20%),
        radial-gradient(circle at 82% 24%, rgba(120, 169, 255, 0.14), transparent 22%),
        linear-gradient(145deg, #0a1226 0%, #14305a 40%, #1a4d83 72%, #5f8fd4 100%);
}

.card-img-top-wrapper > a {
    display: flex;
    width: 100%;
    height: 100%;
}

.card-img-fallback {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    padding: 1.2rem;
    color: #ffffff;
    background: var(--product-fallback-bg);
    overflow: hidden;
}

.card-img-fallback::before {
    content: "";
    position: absolute;
    inset: auto auto -18% -8%;
    width: 150px;
    height: 150px;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(255,255,255,0.09) 0%, rgba(255,255,255,0.01) 100%);
    transform: rotate(18deg);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.card-img-fallback::after {
    content: "";
    position: absolute;
    inset: auto 14px 16px auto;
    width: 88px;
    height: 88px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: radial-gradient(circle at 35% 35%, rgba(255,255,255,0.14), rgba(255,255,255,0.02));
    filter: blur(0.5px);
}

.card-img-fallback-label,
.card-img-fallback-title {
    position: relative;
    z-index: 1;
}

.card-img-fallback-label {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    margin-bottom: 0.7rem;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.card-img-fallback-title {
    display: -webkit-box;
    max-width: 88%;
    font-size: 1.12rem;
    line-height: 1.28;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-wrap: balance;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 5px 16px rgba(5, 10, 25, 0.2);
}
