/* R.A.S Accessibility & Compliance | R.A.S Group */
:root { --rac-accent: #17191c; --rac-offset: 20px; --rac-cc-h: 0px; --rac-font: "Assistant", "Arial Hebrew", Arial, sans-serif; }

/* ---------- widget ---------- */
#rac-a11y, #rac-a11y *, #rac-cc, #rac-cc *, #rac-cm, #rac-cm * { box-sizing: border-box; font-family: var(--rac-font) !important; letter-spacing: 0 !important; text-transform: none !important; }
.rac-a11y__btn {
	position: fixed; z-index: 99990; bottom: calc(var(--rac-offset) + var(--rac-cc-h)); width: 56px; height: 56px; padding: 0 !important; margin: 0 !important;
	border: 2px solid #fff !important; border-radius: 50% !important; background: var(--rac-accent) !important; color: #fff !important;
	display: grid !important; place-items: center; cursor: pointer; box-shadow: 0 6px 20px rgba(0, 0, 0, .25) !important; transition: bottom .25s ease, transform .15s ease;
}
.rac-a11y--right .rac-a11y__btn { right: var(--rac-offset); }
.rac-a11y--left .rac-a11y__btn { left: var(--rac-offset); }
.rac-a11y__btn:hover { transform: scale(1.06); }
.rac-a11y__btn:focus-visible, #rac-a11y button:focus-visible, #rac-a11y a:focus-visible, #rac-cc button:focus-visible, #rac-cm button:focus-visible, #rac-cm input:focus-visible { outline: 3px solid #ffbf00 !important; outline-offset: 2px !important; }
.rac-a11y__btn svg { width: 30px; height: 30px; }
/* Metalista redesign: stay above the sticky add to cart bar on mobile */
body:has(.rmr-sticky.is-on) .rac-a11y__btn { bottom: calc(86px + var(--rac-cc-h)); }

.rac-a11y__panel {
	position: fixed; z-index: 99991; bottom: calc(var(--rac-offset) + 70px + var(--rac-cc-h)); width: min(360px, calc(100vw - 24px)); max-height: calc(100vh - 110px - var(--rac-cc-h));
	display: flex; flex-direction: column; background: #fff; color: #17191c; border-radius: 10px; box-shadow: 0 18px 50px rgba(0, 0, 0, .28); overflow: hidden; direction: rtl; text-align: right;
}
.rac-a11y__panel[hidden] { display: none !important; }
.rac-a11y--right .rac-a11y__panel { right: var(--rac-offset); }
.rac-a11y--left .rac-a11y__panel { left: var(--rac-offset); }
.rac-a11y__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; background: var(--rac-accent); color: #fff; }
.rac-a11y__title { margin: 0 !important; font-size: 18px !important; font-weight: 600 !important; color: #fff !important; line-height: 1.2 !important; }
.rac-a11y__close { width: 36px; height: 36px; padding: 0 !important; margin: 0 !important; border: 0 !important; border-radius: 50% !important; background: rgba(255, 255, 255, .14) !important; color: inherit !important; display: grid !important; place-items: center; cursor: pointer; box-shadow: none !important; min-height: 0 !important; }
.rac-cm .rac-a11y__close { background: #f1efea !important; color: #17191c !important; }
.rac-a11y__body { padding: 16px; overflow-y: auto; }
.rac-a11y__size { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border: 1px solid #e3e0da; border-radius: 8px; margin-bottom: 12px; }
.rac-a11y__sizelabel { font-size: 15px; font-weight: 600; }
.rac-a11y__sizelabel output { font-weight: 400; color: #62666b; margin-inline-start: 4px; }
.rac-a11y__sizebtns { display: flex; gap: 6px; }
.rac-a11y__sizebtns button { min-width: 44px; height: 38px; padding: 0 10px !important; margin: 0 !important; border: 1px solid #d8d4cc !important; border-radius: 6px !important; background: #fff !important; color: #17191c !important; font-size: 15px !important; font-weight: 600 !important; cursor: pointer; box-shadow: none !important; line-height: 1 !important; }
.rac-a11y__sizebtns button:hover { border-color: #17191c !important; }
.rac-a11y__sizebtns small { font-size: 12px; margin-inline-start: 1px; }
.rac-a11y__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.rac-a11y__opt {
	display: flex !important; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 72px; padding: 8px 6px !important; margin: 0 !important;
	border: 1px solid #e3e0da !important; border-radius: 8px !important; background: #faf9f7 !important; color: #17191c !important; font-size: 14px !important; font-weight: 500 !important; line-height: 1.25 !important; text-align: center; cursor: pointer; box-shadow: none !important;
}
.rac-a11y__opt:hover { border-color: #17191c !important; }
.rac-a11y__opt[aria-pressed="true"] { background: var(--rac-accent) !important; border-color: var(--rac-accent) !important; color: #fff !important; }
.rac-a11y__opt svg { flex: none; }
.rac-a11y__reset { width: 100%; margin: 12px 0 0 !important; min-height: 44px; padding: 0 12px !important; border: 1px solid #17191c !important; border-radius: 6px !important; background: #fff !important; color: #17191c !important; font-size: 15px !important; font-weight: 600 !important; cursor: pointer; box-shadow: none !important; }
.rac-a11y__reset:hover { background: #17191c !important; color: #fff !important; }
.rac-a11y__links { display: flex; justify-content: center; gap: 18px; margin-top: 12px; }
.rac-a11y__links a, .rac-a11y__links button { background: none !important; border: 0 !important; padding: 0 !important; margin: 0 !important; font-size: 14px !important; color: #17191c !important; text-decoration: underline !important; cursor: pointer; box-shadow: none !important; min-height: 0 !important; }
.rac-a11y__foot { padding: 10px 16px; border-top: 1px solid #ece9e3; font-size: 13px; color: #62666b; text-align: center; background: #faf9f7; }
.rac-a11y__foot a { color: #17191c !important; font-weight: 600; text-decoration: none !important; }
.rac-a11y__foot a:hover { text-decoration: underline !important; }

/* ---------- cookie banner ---------- */
.rac-cc { position: fixed; z-index: 99989; right: 0; left: 0; bottom: 0; padding: 12px; direction: rtl; text-align: right; }
.rac-cc[hidden], .rac-cm[hidden] { display: none !important; }
.rac-cc__inner { max-width: 980px; margin: 0 auto; display: flex; align-items: center; gap: 18px; padding: 16px 20px; background: #fff; color: #17191c; border-radius: 10px; box-shadow: 0 10px 40px rgba(0, 0, 0, .22); border: 1px solid #ece9e3; }
.rac-cc__text { margin: 0 !important; flex: 1; font-size: 14.5px !important; line-height: 1.6 !important; color: #17191c !important; }
.rac-cc__text a { color: #17191c !important; text-decoration: underline !important; font-weight: 600; }
.rac-cc__actions, .rac-cm__actions { display: flex; flex-wrap: wrap; gap: 8px; flex: none; }
.rac-cc__btn {
	min-height: 44px; padding: 0 18px !important; margin: 0 !important; border: 1px solid #17191c !important; border-radius: 6px !important; background: #fff !important; color: #17191c !important;
	font-size: 15px !important; font-weight: 600 !important; cursor: pointer; box-shadow: none !important; line-height: 1 !important; white-space: nowrap;
}
.rac-cc__btn:hover { background: #f1efea !important; }
.rac-cc__btn--primary { background: var(--rac-accent) !important; border-color: var(--rac-accent) !important; color: #fff !important; }
.rac-cc__btn--primary:hover { background: #3a3d42 !important; color: #fff !important; }
.rac-cc__btn--link { border-color: transparent !important; text-decoration: underline !important; padding: 0 8px !important; }
.rac-cc__btn--link:hover { background: transparent !important; }
@media (max-width: 760px) {
	.rac-cc { padding: 8px; }
	.rac-cc__inner { flex-direction: column; align-items: stretch; gap: 12px; padding: 14px; }
	.rac-cc__actions { display: grid; grid-template-columns: 1fr 1fr; }
	.rac-cc__btn--link { grid-column: 1 / -1; }
}

.rac-cm { position: fixed; inset: 0; z-index: 99995; display: grid; place-items: center; padding: 16px; background: rgba(15, 16, 18, .5); direction: rtl; text-align: right; }
.rac-cm__box { width: min(520px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; background: #fff; color: #17191c; border-radius: 12px; padding: 20px 22px; box-shadow: 0 20px 60px rgba(0, 0, 0, .3); }
.rac-cm__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.rac-cm__head h2 { margin: 0 !important; font-size: 20px !important; font-weight: 600 !important; color: #17191c !important; }
.rac-cm__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid #ece9e3; cursor: pointer; }
.rac-cm__row strong { display: block; font-size: 15.5px; }
.rac-cm__row p { margin: 2px 0 0 !important; font-size: 13.5px !important; color: #62666b !important; line-height: 1.5 !important; }
.rac-cm__always { font-size: 13px; color: #62666b; white-space: nowrap; }
.rac-cm__actions { margin-top: 18px; }
.rac-switch { -webkit-appearance: none; appearance: none; flex: none; width: 46px !important; height: 26px !important; margin: 0 !important; border-radius: 13px !important; background: #cfcac1 !important; position: relative; cursor: pointer; transition: background .2s; border: 0 !important; }
.rac-switch::after { content: ""; position: absolute; top: 3px; right: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: right .2s; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); }
.rac-switch:checked { background: var(--rac-accent) !important; }
.rac-switch:checked::after { right: 23px; }

.rac-footlink { background: none !important; border: 0 !important; padding: 0 !important; margin: 0 !important; color: inherit !important; font: inherit !important; text-decoration: underline !important; cursor: pointer; box-shadow: none !important; min-height: 0 !important; }

/* ---------- consent checkbox ---------- */
.rac-consent { margin: 10px 0 14px !important; font-size: 14px; line-height: 1.55; width: 100%; }
.rac-consent__label { display: flex !important; align-items: flex-start; gap: 10px; cursor: pointer; font-weight: 400 !important; margin: 0 !important; }
.rac-consent__box { flex: none; width: 18px !important; height: 18px !important; margin: 2px 0 0 !important; accent-color: var(--rac-accent); cursor: pointer; position: static !important; opacity: 1 !important; }
.rac-consent a { text-decoration: underline !important; color: inherit !important; font-weight: 600; }
.rac-consent abbr.required { text-decoration: none; border: 0; color: #a4322a; }
.rac-consent__error { margin: 6px 0 0 !important; color: #a4322a !important; font-size: 13.5px; font-weight: 600; }
.rac-checkout-consent { margin: 0 0 14px; }
.rmr-contact .rac-consent abbr.required, .rmr-contact .rac-consent__error { color: #ffb4a9 !important; }

/* ==========================================================================
   Accessibility modes
   ========================================================================== */
/* monochrome: filter on the root element keeps fixed elements in place */
html.rac-f-grayscale { filter: grayscale(1); }

/* high contrast */
html.rac-f-contrast body, html.rac-f-contrast body *:not(#rac-a11y):not(#rac-a11y *):not(img):not(video):not(svg):not(svg *):not(picture) {
	background-color: #000 !important; color: #fff !important; border-color: #fff !important; box-shadow: none !important; text-shadow: none !important;
}
html.rac-f-contrast body a:not(#rac-a11y *), html.rac-f-contrast body a:not(#rac-a11y *) * { color: #ffeb3b !important; }
html.rac-f-contrast body *:not(#rac-a11y *) { background-image: none !important; }
html.rac-f-contrast input, html.rac-f-contrast textarea, html.rac-f-contrast select { border: 1px solid #fff !important; }

/* light background */
html.rac-f-light body, html.rac-f-light body *:not(#rac-a11y):not(#rac-a11y *):not(img):not(video):not(svg):not(svg *):not(picture) {
	background-color: #fff !important; color: #000 !important; text-shadow: none !important;
}
html.rac-f-light body *:not(#rac-a11y *) { background-image: none !important; }
html.rac-f-light body a:not(#rac-a11y *) { color: #0b3d91 !important; }

/* highlight links */
html.rac-f-links body a:not(#rac-a11y *) { text-decoration: underline !important; text-underline-offset: 3px; outline: 2px solid #ffbf00 !important; outline-offset: 2px; }

/* highlight headings */
html.rac-f-headings body :is(h1, h2, h3, h4, h5, h6):not(#rac-a11y *):not(#rac-cm *) { outline: 2px dashed #ffbf00 !important; outline-offset: 4px; }

/* readable font */
html.rac-f-font body *:not(#rac-a11y *):not(i):not([class*="icon"]):not([class*="fa-"]):not(svg):not(svg *):not(.dashicons) { font-family: Arial, "Arial Hebrew", Helvetica, sans-serif !important; }

/* text spacing */
html.rac-f-spacing body *:not(#rac-a11y *):not(#rac-cc *):not(#rac-cm *) { line-height: 1.9 !important; letter-spacing: .06em !important; word-spacing: .14em !important; }

/* big cursor */
html.rac-f-cursor, html.rac-f-cursor * { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24'%3E%3Cpath d='M5 2l14 9-6.2 1.6L10 19z' fill='%23000' stroke='%23fff' stroke-width='1.3'/%3E%3C/svg%3E") 4 2, auto !important; }

/* stop animations */
html.rac-f-animations *, html.rac-f-animations *::before, html.rac-f-animations *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }

/* focus highlight */
html.rac-f-focus *:focus { outline: 3px solid #ffbf00 !important; outline-offset: 2px !important; box-shadow: 0 0 0 6px rgba(0, 0, 0, .6) !important; }

@media (prefers-reduced-motion: reduce) {
	.rac-a11y__btn, .rac-switch, .rac-switch::after { transition: none; }
}
@media print { #rac-a11y, #rac-cc, #rac-cm { display: none !important; } }

/* legal links bar (only on sites whose footer does not link the documents) */
.rac-legalbar { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 22px; padding: 14px 16px calc(14px + var(--rac-cc-h)); background: #f4f2ee; border-top: 1px solid #e3e0da; font-family: var(--rac-font); font-size: 14px; direction: rtl; }
.rac-legalbar a { color: #17191c !important; text-decoration: underline !important; }
.rac-cc__actions:has(> :only-child) .rac-cc__btn { min-width: 140px; }
@media (max-width: 760px) { .rac-cc__actions:has(> :only-child) { display: flex; } .rac-cc__actions:has(> :only-child) .rac-cc__btn { flex: 1; } }

/* 1.1.2: on phones the notice is a slim bar, not a third of the screen; the button is smaller */
@media (max-width: 760px) {
	.rac-cc { padding: 6px; }
	.rac-cc__inner { flex-direction: row; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; }
	.rac-cc__text { font-size: 12.5px !important; line-height: 1.45 !important; }
	.rac-cc__actions:has(> :only-child) { display: flex; flex: none; }
	.rac-cc__actions:has(> :only-child) .rac-cc__btn { flex: none; min-width: 0; padding: 8px 16px !important; font-size: 14px !important; min-height: 40px; }
	.rac-a11y__btn { width: 46px; height: 46px; }
	.rac-a11y__btn svg { width: 24px; height: 24px; }
	:root { --rac-offset: 14px; }
}
