.cookie-banner,.cookie-preferences{font-family:Heebo,Arial,sans-serif;color:#211a1e;direction:rtl;box-sizing:border-box;text-align:right}
.cookie-banner{position:fixed;z-index:8800;bottom:16px;left:50%;transform:translateX(-50%);width:min(760px,calc(100% - 32px));max-height:calc(100dvh - 40px);overflow:auto;background:#fffafc;border:1px solid #e9bdcd;box-shadow:0 12px 60px #211a1e33;border-radius:22px;padding:22px 26px}
.cookie-banner[hidden]{display:none!important}
.cookie-banner h2,.cookie-preferences h2{font:700 28px/1.25 Heebo,Arial,sans-serif;text-wrap:balance;margin:0 0 10px;color:#211a1e}
.cookie-banner p,.cookie-preferences p{font-size:14px;line-height:1.8;margin:0 0 14px;overflow-wrap:anywhere}
.cookie-banner a,.cookie-preferences a{color:#8e3a5b;text-decoration:underline;text-underline-offset:3px}
.cookie-actions,.cookie-panel-actions{display:flex;gap:10px;align-items:stretch;flex-wrap:wrap}
.cookie-choice,.cookie-custom,.cookie-close,.cookie-settings-link{font:inherit;cursor:pointer;box-sizing:border-box;touch-action:manipulation}
.cookie-choice,.cookie-custom{min-height:46px;padding:10px 16px;line-height:1.45;font-size:14px;border-radius:999px;display:inline-flex;justify-content:center;align-items:center;text-align:center}
.cookie-choice{background:#a4466a;color:#fff;border:1px solid #a4466a;flex:1;font-weight:700}
.cookie-essential{background:#fff;color:#8e3a5b;border-color:#a4466a}
.cookie-custom{color:#8e3a5b;background:#fce8ee;border:1px solid #efb6c8;flex:1}
.cookie-choice:hover{background:#8e3a5b;color:#fff}.cookie-essential:hover{background:#fce8ee;color:#8e3a5b}.cookie-custom:hover{background:#f8d9e3}
.cookie-banner button:focus-visible,.cookie-banner a:focus-visible,.cookie-preferences button:focus-visible,.cookie-preferences input:focus-visible,.cookie-preferences a:focus-visible,.cookie-settings-link:focus-visible{outline:3px solid #a4466a;outline-offset:4px}
.cookie-preferences{background:#fffafc;border:1px solid #e9bdcd;border-radius:24px;padding:40px 28px 26px;width:min(570px,calc(100% - 32px));max-height:calc(100dvh - 40px);overflow:auto;box-shadow:0 24px 90px #211a1e33}
.cookie-preferences::backdrop{background:#211a1e99}
.cookie-preferences h2:focus{outline:none}
.cookie-close{position:absolute;left:10px;top:8px;width:44px;height:44px;border:0;border-radius:50%;background:transparent;color:#8e3a5b;font-size:30px;line-height:1}
.cookie-option{display:flex;align-items:flex-start;gap:12px;padding:18px 0;border-block-start:1px solid #efb6c8;cursor:pointer}
.cookie-option input{width:22px;height:22px;flex:0 0 22px;margin:4px 0 0;accent-color:#a4466a}
.cookie-option strong{display:block;font-size:15px;line-height:1.6}.cookie-option small{display:block;font-size:13px;line-height:1.8;margin-top:5px;color:#6a5a62}
.cookie-preferences .cookie-refresh-note{font-size:12px;color:#6a5a62}
.cookie-settings-link{display:inline-block;min-height:44px;padding:8px 0;color:inherit;background:transparent;border:0;text-decoration:underline;text-underline-offset:4px;font-size:inherit;line-height:1.7}
.cookie-banner-open .demo-sticky{visibility:hidden}
@media(max-width:700px){
 .cookie-banner{bottom:12px;width:calc(100% - 24px);padding:18px 16px;border-radius:18px}
 .cookie-banner h2{font-size:23px}.cookie-banner p{font-size:13px;line-height:1.7}
 .cookie-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.cookie-actions .cookie-custom{grid-column:1/-1}
 .cookie-choice,.cookie-custom{font-size:13px;padding:10px 12px}
 .cookie-preferences{padding:44px 22px 22px}.cookie-preferences h2{font-size:25px}
 .cookie-banner-open .demo-access{bottom:calc(var(--lian-cookie-banner-height,260px) + 28px)}
}
@media(prefers-reduced-motion:reduce){.cookie-banner,.cookie-preferences{scroll-behavior:auto!important}}
