/* Pressidium owns the UI and text; the theme supplies its RTL layout and brand styling. */
#cc--main{direction:rtl;font-family:var(--f-body,Rubik,Arial,sans-serif)}
#cc--main .cc_div{font-family:inherit;font-size:16px;text-align:right;line-height:1.7}
#cc--main .cc_div :is(div,p){text-align:start}
#cc--main #cm{width:560px;max-width:calc(100vw - 48px);padding:26px;border:1px solid var(--c-line-2);border-top:3px solid var(--c-accent-2);border-radius:20px;box-shadow:0 14px 50px -16px rgba(38,67,58,.3)}
#cc--main #cm.box{max-height:calc(100vh - 40px);max-height:calc(100dvh - 40px);overflow-y:auto}
#cc--main #c-ttl,#cc--main #s-ttl{font-size:1.25rem;font-weight:600;line-height:1.4;color:var(--c-accent-2)}
#cc--main #c-txt{margin-top:12px;font-size:.95rem;line-height:1.8}
#cc--main #c-bns{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}
#cc--main .c-bn{min-height:44px;padding:11px 20px;border-radius:999px;font-family:inherit;font-size:.9rem;font-weight:500;line-height:1.5}
#cc--main #c-bns .c-bn{float:none;flex:1;margin:0;border:1px solid transparent}
#cc--main .cc-link{color:var(--c-accent-ink);text-decoration:underline;text-underline-offset:3px;font-weight:500}
#cc--main #s-inr{display:flex;flex-direction:column;padding:0;border:1px solid var(--c-line-2);border-radius:20px;box-shadow:0 24px 60px -20px rgba(38,67,58,.3)}
#cc--main #s-hdr{position:static;flex:none;height:auto;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 24px}
#cc--main #s-ttl{margin:0;max-width:calc(100% - 60px)}
#cc--main #s-c-bnc{position:static;float:none;flex:none}
#cc--main #s-c-bn{width:44px;height:44px;padding:0;border-radius:12px}
#cc--main #s-c-bn::before,#cc--main #s-c-bn::after{left:50%;top:50%;width:2px;height:16px;margin:-8px 0 0 -1px}
#cc--main #s-bl{position:static;flex:1;min-height:0;height:auto;margin:0;padding:20px 24px;overflow-y:auto}
#cc--main .b-tl{font-size:1rem;font-weight:600;line-height:1.5;text-align:right}
#cc--main .c-bl{border-radius:14px}
#cc--main .b-bn .b-tl{min-height:64px;padding:18px 40px 18px 82px;border-radius:12px}
#cc--main .b-tg{left:16px;right:auto;top:50%;bottom:auto;transform:translateY(-50%);width:48px;height:44px;margin:0;direction:ltr}
#cc--main .b-tg .c-tgl{inset:0;width:48px;height:44px;opacity:0;z-index:1}
#cc--main .b-tg .c-tg{position:absolute;left:0;right:auto;top:8px;width:48px;height:28px;border-radius:999px}
#cc--main .b-tg .c-tg::after{position:absolute;left:3px;right:auto;top:3px;width:22px;height:22px;box-sizing:border-box;transform:none}
#cc--main .b-tg .c-tgl:checked ~ .c-tg::after{transform:translateX(20px)}
#cc--main .b-tg .on-i,#cc--main .b-tg .off-i{display:none}
#cc--main .b-tg .c-tgl:focus-visible ~ .c-tg{outline:3px solid var(--c-focus);outline-offset:3px}
#cc--main .b-tl.exp::before{left:auto;right:18px;margin:0;display:block}
#cc--main .p{font-size:.94rem;line-height:1.85}
#cc--main #s-bns{position:static;flex:none;height:auto;display:flex;flex-wrap:wrap;gap:10px;padding:16px 24px}
#cc--main #s-bns .c-bn{float:none;margin:0;flex:1}
#cc--main #s-bns :is(#s-all-bn,#s-rall-bn){background:var(--c-sage);color:var(--c-accent-2);border:1px solid var(--c-line)}
#cc--main #s-bns :is(#s-all-bn,#s-rall-bn):hover{background:#CBD8C8;color:var(--c-accent-2)}
/* With only necessary storage there is no optional category to accept or refuse. */
#cc--main #s-inr:not(:has(.c-tgl:not(:disabled))) :is(#s-all-bn,#s-rall-bn){display:none}
#cc--main #s-sv-bn{order:-1;background:var(--c-accent);color:var(--c-on-accent)}
#cc--main #s-sv-bn:hover{background:var(--c-accent-hover);color:var(--c-on-accent)}
#cc--main .cookie-table{font-size:.85rem;line-height:1.7}
#cc--main th,#cc--main td{text-align:right;overflow-wrap:anywhere}
#cc--main td[data-column="שם העוגייה או הרשומה"],#cc--main td[data-column="אתר"]{direction:ltr;unicode-bidi:isolate;text-align:right}
#cc--main :is(button,a):focus-visible{outline:3px solid var(--c-focus);outline-offset:3px}
@media(max-width:767px){
 #cc--main #cm{max-width:calc(100vw - 24px);width:auto;left:12px;right:12px;bottom:12px;max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);padding:22px;border-radius:18px}
 #cc--main #c-bns{flex-direction:column;gap:8px;margin-top:18px}
 #cc--main #c-bns .c-bn{width:100%;flex:none}
 #cc--main #s-hdr{padding:14px 18px}
 #cc--main #s-bl{padding:16px 18px}
 #cc--main #s-bns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:14px 18px;gap:8px}
 #cc--main #s-bns .c-bn{width:100%;padding:11px 10px}
 #cc--main #s-sv-bn{grid-column:1 / -1}
 #cc--main #s-inr{border-radius:18px}
}
@media(max-width:688px){
 #cc--main #s-bl td{padding:12px 40% 12px 12px;min-height:44px;line-height:1.65}
 #cc--main #s-bl td::before{left:auto;right:12px;width:34%;padding:0;white-space:normal;direction:rtl;text-align:right;line-height:1.65}
}
@media(prefers-reduced-motion:reduce){#cc--main *{transition:none!important;animation:none!important}}
