.cookie-consent {
    position: fixed;
    z-index: 10000;
    right: 20px;
    bottom: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    max-width: 920px;
    margin-inline: auto;
    padding: 18px 20px;
    border: 1px solid #d7c4b6;
    border-radius: 16px;
    background: #fffdf9;
    color: #2f211b;
    box-shadow: 0 12px 40px rgba(47, 33, 27, .18);
    direction: rtl;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .2s ease, transform .2s ease;
}

.cookie-consent[hidden] { display: none; }
.cookie-consent.is-visible { opacity: 1; transform: translateY(0); }
.cookie-consent__content { display: flex; align-items: flex-start; gap: 12px; }
.cookie-consent__icon { display: grid; place-items: center; flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%; background: #f1e6dd; color: #663f2b; font-weight: 800; }
.cookie-consent strong { display: block; margin-bottom: 5px; font-size: 1rem; }
.cookie-consent p { margin: 0; line-height: 1.8; font-size: .88rem; }
.cookie-consent__privacy { display: inline-block; margin-top: 5px; color: #663f2b; font-size: .82rem; text-decoration: underline; text-underline-offset: 3px; }
.cookie-consent__status:empty { display: none; }
.cookie-consent__status { margin-top: 5px !important; color: #8a3f2a; }
.cookie-consent__actions { display: flex; flex: 0 0 auto; gap: 8px; }
.cookie-consent button { min-height: 42px; padding: 8px 15px; border-radius: 10px; cursor: pointer; white-space: nowrap; }
.cookie-consent button:focus-visible, .cookie-consent__privacy:focus-visible { outline: 3px solid rgba(102, 63, 43, .28); outline-offset: 2px; }
.cookie-consent button:disabled { cursor: wait; opacity: .65; }
.cookie-consent__accept { border: 1px solid #663f2b; background: #663f2b; color: #fff; }
.cookie-consent__reject { border: 1px solid #9b877a; background: transparent; color: #49372e; }

@media (max-width: 720px) {
    .cookie-consent { right: 10px; bottom: 10px; left: 10px; display: block; padding: 15px; }
    .cookie-consent__actions { margin-top: 12px; flex-direction: column; }
    .cookie-consent button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .cookie-consent { transition: none; }
}
