/* Shaham Orlan – Cookie Banner (RTL) */
.scb,
.scb *{box-sizing:border-box}

.scb{
	position:fixed;
	z-index:999999;
	font-family:"Assistant","Rubik","Heebo",Arial,sans-serif;
	direction:rtl;
	text-align:right;
}

.scb--bottom{inset:auto 0 0 0}
.scb--center{
	inset:0;
	display:flex;
	align-items:center;
	justify-content:center;
	background:rgba(15,23,42,.55);
	padding:16px;
}

.scb__box{
	background:#fff;
	color:#1f2937;
	line-height:1.5;
}

/* --- bottom bar: horizontal, compact --- */
.scb--bottom .scb__box{
	max-width:1180px;
	margin:0 auto;
	padding:14px 22px;
	border-top:3px solid #1d4ed8;
	box-shadow:0 -4px 20px rgba(0,0,0,.14);
	display:flex;
	flex-wrap:wrap;
	align-items:center;
	gap:10px 22px;
}
.scb--bottom .scb__content{flex:1 1 360px;min-width:240px;order:1}
.scb--bottom .scb__actions{flex:0 0 auto;order:2}
.scb--bottom .scb__prefs{flex:1 1 100%;order:3}

/* --- center modal: stacked card --- */
.scb--center .scb__box{
	max-width:480px;
	width:100%;
	padding:22px 24px;
	border-radius:14px;
	box-shadow:0 12px 40px rgba(0,0,0,.25);
}
.scb--center .scb__actions{margin-top:14px}

.scb__title{
	margin:0 0 3px;
	font-size:16px;
	font-weight:700;
	color:#111827;
}
.scb__text{
	margin:0;
	font-size:13.5px;
	color:#4b5563;
}
.scb__link{color:#1d4ed8;text-decoration:underline;white-space:nowrap}

.scb__prefs{
	margin-top:4px;
	border-top:1px solid #e5e7eb;
	padding-top:10px;
	display:grid;
	grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
	gap:8px 18px;
}
.scb__cat{
	display:flex;
	gap:8px;
	align-items:flex-start;
	margin:0;
	font-size:13px;
	color:#374151;
	cursor:pointer;
}
.scb__cat input{margin-top:2px;flex:0 0 auto}
.scb__cat input:disabled{accent-color:#9ca3af}

.scb__actions{
	display:flex;
	flex-wrap:wrap;
	gap:8px;
}
.scb__btn{
	font:inherit;
	font-size:13.5px;
	font-weight:600;
	padding:8px 16px;
	border-radius:7px;
	border:1px solid transparent;
	cursor:pointer;
	white-space:nowrap;
	transition:filter .15s,background .15s;
}
.scb__btn--primary{background:#1d4ed8;color:#fff}
.scb__btn--primary:hover{filter:brightness(1.08)}
.scb__btn--ghost{background:#fff;color:#374151;border-color:#cbd5e1}
.scb__btn--ghost:hover{background:#f1f5f9}

.scb-reopen{
	position:fixed;
	inset:auto auto 18px 18px;
	z-index:999998;
	width:44px;height:44px;
	border-radius:50%;
	border:none;
	background:#1d4ed8;
	color:#fff;
	font-size:21px;
	line-height:1;
	cursor:pointer;
	box-shadow:0 4px 14px rgba(0,0,0,.25);
	opacity:.5;
	transition:opacity .2s,filter .15s;
}
.scb-reopen:hover,
.scb-reopen:focus-visible{opacity:1;filter:brightness(1.08)}

@media (max-width:640px){
	.scb--bottom .scb__box{padding:14px 16px}
	.scb__actions{width:100%}
	.scb__btn{flex:1 1 auto;text-align:center}
}
