.block-card-sticky {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 50;
    transition: transform var(--transition-base), opacity var(--transition-base);
}

.block-card-sticky.is-hidden {
    transform: translateY(120%);
    opacity: 0;
    pointer-events: none;
}

.card-sticky__inner {
    background-color: var(--color-white);
    box-shadow: 0 8px 32px rgba(0, 48, 79, 0.2);
    padding: 1.5rem;
    width: 280px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
}

.card-sticky__image img {
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.card-sticky__text {
    font-size: var(--font-size-small);
    color: var(--color-secondary);
    line-height: 1.5;
}

.card-sticky__close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-secondary);
    transition: color var(--transition-base);
}

.card-sticky__close::before,
.card-sticky__close::after {
    content: '';
    position: absolute;
    width: 14px;
    height: 1.5px;
    background-color: currentColor;
}

.card-sticky__close::before { transform: rotate(45deg); }
.card-sticky__close::after  { transform: rotate(-45deg); }

.card-sticky__close:hover {
    color: var(--color-primary);
}

@media (max-width: 768px) {
    .block-card-sticky {
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
        width: auto;
    }

    .card-sticky__inner {
        width: 100%;
    }
}
