.cookie-card {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 1140px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12), 0 0 1px rgba(0, 0, 0, 0.2);
    z-index: 999999;
    padding: 16px 24px;
    font-family: inherit;
    box-sizing: border-box;
}

.cookie-card__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cookie-card__text {
    font-size: 14px;
    line-height: 1.45;
    color: #333333;
    flex-grow: 1;
}

.cookie-card__text-desktop {
    display: inline;
}

.cookie-card__text-mobile {
    display: none;
}

.cookie-card__text a {
    color: #ff6e00;
    text-decoration: underline;
    font-weight: 500;
}

.cookie-card__text a:hover {
    text-decoration: none;
}

.cookie-card__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    min-width: 120px;
    height: 40px;
    padding: 0 16px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease-in-out;
}

.cookie-btn--decline {
    background: #ffffff;
    color: #ff6e00;
    border: 1px solid #ff6e00;
}

.cookie-btn--decline:hover {
    background: #fff6f0;
}

.cookie-btn--accept {
    background: #ff6600;
    color: #ffffff;
    border: 1px solid #ff6e00;
}

.cookie-btn--accept:hover {
    background: #e65c00;
    border-color: #e65c00;
}

@media (max-width: 768px) {
    .cookie-card {
        bottom: 16px;
        width: calc(100% - 24px);
        max-width: 360px;
        padding: 18px 16px;
        border: 2px solid #ff6600; /* оранжевая окантовка как на мобильном скрине */
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    }

    .cookie-card__inner {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .cookie-card__text-desktop {
        display: none;
    }

    .cookie-card__text-mobile {
        display: inline;
        font-size: 13px;
        line-height: 1.4;
    }

    .cookie-card__actions {
        display: flex;
        flex-direction: row; /* кнопки в ряд */
        gap: 10px;
        width: 100%;
    }

    .cookie-btn {
        flex: 1;
        min-width: 0;
        height: 38px;
        font-size: 13px;
        padding: 0 8px;
    }

}