/* Rent-li — quick quotation window. Mobile first. */
.rlq { --q-primary: var(--rl-primary, #1f2a44); --q-accent: var(--rl-accent, #c9a46a); --q-soft: var(--rl-soft, #f6f2ec); --q-r: var(--rl-radius, 10px); position: fixed; inset: 0; z-index: 9999; direction: rtl; font-family: inherit; color: #222; }
.rlq[hidden] { display: none; }
html.rlq-open, html.rlq-open body { overflow: hidden; }
.rlq__backdrop { position: absolute; inset: 0; background: rgba(15, 20, 35, .55); animation: rlqFade .2s ease; }
.rlq__dialog { position: absolute; inset: 0; background: #fff; display: flex; flex-direction: column; animation: rlqUp .25s ease; }
@media (min-width: 768px) {
	.rlq__dialog { inset: auto; top: 50%; left: 50%; transform: translate(-50%, -50%); width: min(720px, 94vw); height: min(88vh, 860px); border-radius: calc(var(--q-r) * 1.6); box-shadow: 0 24px 80px rgba(0,0,0,.3); animation: rlqFade .2s ease; }
}
@keyframes rlqFade { from { opacity: 0 } }
@keyframes rlqUp { from { transform: translateY(24px); opacity: 0 } }

.rlq__head { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid #eee; background: #fff; }
.rlq__head > div { flex: 1; min-width: 0; }
.rlq__title { margin: 0; font-size: 1.15rem; color: var(--q-primary); }
.rlq__steps { display: flex; gap: 6px; list-style: none; margin: 6px 0 0; padding: 0; font-size: .75rem; color: #999; }
.rlq__steps li { flex: 1; border-top: 3px solid #e5e5e5; padding-top: 4px; color: #6b6b6b; }
.rlq__steps li.is-on { border-color: var(--q-accent); color: var(--q-primary); font-weight: 600; }
.rlq__close, .rlq__back { flex: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--q-soft); font-size: 26px; line-height: 1; cursor: pointer; color: var(--q-primary); }
.rlq__back { font-size: 22px; }

.rlq__body { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 12px 16px 24px; overscroll-behavior: contain; }
.rlq__intro { margin: 0 0 10px; color: #555; font-size: .95rem; }
.rlq__loading, .rlq__error { padding: 40px 0; text-align: center; color: #666; }

.rlq__tools { position: sticky; top: -12px; background: #fff; padding: 8px 0 6px; z-index: 2; margin-top: -4px; }
.rlq__search { width: 100%; box-sizing: border-box; height: 44px; border: 1px solid #ddd; border-radius: var(--q-r); padding: 0 12px; font: inherit; font-size: 16px; }
.rlq__chips { display: flex; gap: 6px; overflow-x: auto; padding: 8px 0 2px; scrollbar-width: none; }
.rlq__chips::-webkit-scrollbar { display: none; }
.rlq__chips button { flex: none; border: 1px solid #ddd; background: #fff; border-radius: 999px; padding: 6px 12px; font: inherit; font-size: .85rem; cursor: pointer; white-space: nowrap; }

.rlq__group { margin-top: 14px; scroll-margin-top: 100px; }
.rlq__group h3 { font-size: 1rem; margin: 0 0 6px; color: var(--q-primary); }
.rlq__list { list-style: none; margin: 0; padding: 0; }
.rlq__item { display: flex; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid #f0f0f0; }
.rlq__item.is-flash { animation: rlqFlash 1.6s ease; border-radius: 8px; }
@keyframes rlqFlash { 0%, 40% { background: #fff6e2 } }
.rlq__img { flex: none; width: 64px; height: 64px; border-radius: 8px; overflow: hidden; background: var(--q-soft); align-self: flex-start; }
.rlq__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rlq__info { flex: 1; min-width: 0; }
.rlq__name { display: block; color: #222; text-decoration: none; font-weight: 600; font-size: .95rem; line-height: 1.3; }
.rlq__price { color: #555; font-size: .9rem; margin-top: 2px; }
.rlq__opts { margin-top: 6px; display: grid; gap: 6px; }
.rlq__opt { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.rlq__optlabel { font-size: .85rem; color: #444; line-height: 1.3; }
.rlq__optlabel b { display: block; color: #222; }

.rlq__stepper { flex: none; display: inline-flex; align-items: center; border: 1px solid #ddd; border-radius: 999px; overflow: hidden; background: #fff; }
.rlq__stepper.has { border-color: var(--q-accent); box-shadow: 0 0 0 1px var(--q-accent); }
.rlq__stepper button { width: 38px; height: 38px; border: 0; background: transparent; font-size: 20px; cursor: pointer; color: var(--q-primary); }
.rlq__stepper input { width: 42px; height: 38px; border: 0; text-align: center; font: inherit; font-size: 16px; font-weight: 600; -moz-appearance: textfield; background: transparent; }
.rlq__stepper input::-webkit-outer-spin-button, .rlq__stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.rlq__foot { display: flex; align-items: center; gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid #eee; background: #fff; box-shadow: 0 -6px 20px rgba(0,0,0,.05); }
.rlq__sum { flex: 1; display: flex; flex-direction: column; line-height: 1.2; font-size: .85rem; color: #666; }
.rlq__sum strong { font-size: 1.35rem; color: var(--q-primary); }
.rlq__sum small { color: #d63638; }
.rlq__primary, .rlq__secondary { height: 50px; border: 0; border-radius: var(--q-r); padding: 0 20px; font: inherit; font-size: 1rem; font-weight: 700; cursor: pointer; background: var(--q-accent); color: #fff; }
.rlq__primary[disabled] { opacity: .45; cursor: not-allowed; }
.rlq__secondary { background: var(--q-soft); color: var(--q-primary); flex: 1; }

.rlq__form { display: grid; gap: 14px; }
.rlq__f { display: grid; gap: 6px; }
.rlq__f[hidden] { display: none; }
.rlq__f label, .rlq__lbl { font-weight: 600; font-size: .9rem; }
.rlq__f input, .rlq__f select, .rlq__f textarea { width: 100%; box-sizing: border-box; min-height: 46px; border: 1px solid #ccc; border-radius: var(--q-r); padding: 10px 12px; font: inherit; font-size: 16px; background: #fff; }
.rlq__f input:focus, .rlq__f select:focus, .rlq__f textarea:focus, .rlq__search:focus { outline: 2px solid var(--q-accent); outline-offset: 1px; border-color: transparent; }
.rlq__row2 { display: grid; gap: 14px; }
@media (min-width: 560px) { .rlq__row2 { grid-template-columns: 1fr 1fr; } }
.rlq__radios { display: grid; gap: 6px; }
.rlq__radio { display: flex; align-items: center; gap: 8px; border: 1px solid #ddd; border-radius: var(--q-r); padding: 10px 12px; font-weight: 400 !important; cursor: pointer; }
.rlq__radio:has(input:checked) { border-color: var(--q-accent); background: #fffaf1; }
.rlq__radio input { width: 18px; height: 18px; min-height: 0; margin: 0; }
.rlq__hp { position: absolute !important; width: 1px !important; height: 1px !important; min-height: 0 !important; padding: 0 !important; border: 0 !important; opacity: 0; clip-path: inset(50%); overflow: hidden; pointer-events: none; }
.rlq__privacy { margin: 0; font-size: .85rem; line-height: 1.5; color: #555; }
.rlq__privacy a { color: inherit; text-decoration: underline; }
.rlq__err { margin: 0; color: #b32d2e; background: #fcf0f1; padding: 10px 12px; border-radius: var(--q-r); }

.rlq__summary { background: var(--q-soft); border-radius: var(--q-r); padding: 12px 14px; }
.rlq__summary summary { cursor: pointer; font-size: .9rem; }
.rlq__summary summary u { color: var(--q-primary); margin-inline-start: 6px; }
.rlq__summary ul { list-style: none; margin: 8px 0; padding: 0; font-size: .85rem; }
.rlq__summary li { display: flex; justify-content: space-between; gap: 8px; padding: 3px 0; border-bottom: 1px dashed #ddd; }
.rlq__summary dl { margin: 10px 0 0; display: grid; gap: 4px; }
.rlq__summary dl div { display: flex; justify-content: space-between; }
.rlq__summary dt, .rlq__summary dd { margin: 0; }
.rlq__summary .is-total { border-top: 1px solid #d9d2c5; padding-top: 6px; margin-top: 4px; font-size: 1.15rem; font-weight: 700; color: var(--q-primary); }
.rlq__note { margin: 8px 0 0; font-size: .8rem; color: #666; }
.rlq__link { background: none; border: 0; padding: 0; color: var(--q-primary); text-decoration: underline; font: inherit; font-size: .85rem; cursor: pointer; }

.rlq__done { text-align: center; padding: 24px 4px; }
.rlq__check { width: 64px; height: 64px; margin: 0 auto 12px; border-radius: 50%; background: #e7f6ec; color: #1a7f37; font-size: 34px; line-height: 64px; }
.rlq__done h3 { margin: 0; font-size: 1.3rem; color: var(--q-primary); }
.rlq__big { font-size: 2rem; font-weight: 800; margin: 8px 0; color: var(--q-primary); }
.rlq__wa { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; max-width: 380px; height: 56px; margin-top: 12px; border-radius: var(--q-r); background: #25d366; color: #fff; font-weight: 700; font-size: 1.05rem; text-decoration: none; }
.rlq__small { font-size: .8rem; color: #777; }

/* Toast after "+ הוספה להצעת מחיר" */
.rlq-toast { position: fixed; left: 12px; right: 12px; margin: 0 auto; width: max-content; max-width: calc(100vw - 24px); bottom: calc(86px + env(safe-area-inset-bottom)); transform: translateY(20px); z-index: 95; display: flex; align-items: center; justify-content: space-between; gap: 10px; background: #1d1d1f; color: #fff; padding: 8px 8px 8px 14px; border-radius: 999px; box-shadow: 0 6px 24px rgba(0,0,0,.25); font-size: .92rem; direction: rtl; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.rlq-toast.is-on { opacity: 1; transform: translateY(0); pointer-events: auto; }
.rlq-toast button { flex: none; white-space: nowrap; }
.rlq-toast button { border: 0; border-radius: 999px; background: var(--rl-primary, #3075ae); color: #fff; font: inherit; font-size: .92rem; padding: 7px 14px; cursor: pointer; }
.rlq-toast span:only-child { padding: 4px 6px; }
@media (min-width: 900px) { .rlq-toast { bottom: 40px; } }
[data-options].needs-choice .rl-pill { animation: rlqShake .4s; border-width: 2px; }
@keyframes rlqShake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }

/* Product cards inside the quote window: picture, name, price, then − / + */
.rlq__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 560px) { .rlq__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 768px) { .rlq__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; } }
.rlq__card { display: flex; flex-direction: column; align-items: center; text-align: center; background: #fff; border: 1px solid #ddd; border-radius: 14px; padding: 8px 8px 10px; transition: border-color .15s, box-shadow .15s; }
.rlq__card[hidden] { display: none; }
.rlq__card.has { border-color: var(--q-primary); box-shadow: 0 0 0 1px var(--q-primary); }
.rlq__card.is-flash { animation: rlqFlash 1.6s ease; }
.rlq__cimg { width: 100%; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: #fff; margin-bottom: 6px; }
.rlq__cimg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rlq__cname { font-size: .9rem; line-height: 1.25; color: var(--q-primary); min-height: 2.5em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rlq__copt { font-size: .78rem; line-height: 1.25; color: #555; margin-top: 2px; }
.rlq__cprice { font-size: .95rem; font-weight: 600; color: #222; margin: 4px 0 8px; }
.rlq__cprice small { font-weight: 400; color: #777; }
.rlq__card .rlq__stepper { margin-top: auto; width: 100%; justify-content: space-between; }
.rlq__card .rlq__stepper button { width: 36px; height: 36px; }
.rlq__card .rlq__stepper input { flex: 1; min-width: 0; width: auto; }
.rlq__card.has .rlq__stepper { border-color: var(--q-primary); box-shadow: none; background: #f2f7fc; }

/* City search suggestions */
.rlq__city { position: relative; }
.rlq__sugg { position: absolute; top: 100%; left: 0; right: 0; z-index: 5; list-style: none; margin: 4px 0 0; padding: 4px; background: #fff; border: 1px solid #ddd; border-radius: var(--q-r); box-shadow: 0 10px 30px rgba(0,0,0,.15); max-height: 300px; overflow-y: auto; }
.rlq__sugg[hidden] { display: none; }
.rlq__sugg li { display: flex; justify-content: space-between; gap: 10px; padding: 11px 12px; border-radius: 8px; cursor: pointer; }
.rlq__sugg li:hover, .rlq__sugg li:active { background: #f2f7fc; }
.rlq__sugg li b { font-weight: 500; color: var(--q-primary); white-space: nowrap; font-size: .9rem; }
.rlq__cityhint { color: #8a6d00; min-height: 1em; }
.rlq__cityhint:empty { display: none; }

/* Access to the venue: parking / ground floor / stairs (+ how many) / elevator / notes */
.rlq__access { border: 0; margin: 0; padding: 0; min-width: 0; }
.rlq__access legend { padding: 0; margin-bottom: 4px; }
.rlq__hint { margin: 0 0 4px; font-size: .82rem; line-height: 1.5; color: #555; font-weight: 400; }
.rlq__datenote { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 2px; }
.rlq__datenote li { position: relative; padding-inline-start: 12px; }
.rlq__datenote li::before { content: "•"; position: absolute; inset-inline-start: 0; color: var(--q-accent); }
.rlq__acc { display: grid; gap: 8px; }
.rlq__yn { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.rlq__ynl { min-width: 64px; font-size: .95rem; }
.rlq__yn .rlq__radio { flex: 0 0 auto; padding: 8px 16px; }
.rlq__cb { display: flex; align-items: center; gap: 10px; border: 1px solid #ddd; border-radius: var(--q-r); padding: 10px 12px; font-weight: 400 !important; cursor: pointer; }
.rlq__cb:has(input:checked) { border-color: var(--q-accent); background: #fffaf1; }
.rlq__cb input { width: 18px; height: 18px; min-height: 0; margin: 0; accent-color: var(--q-accent); }
.rlq__stepsrow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.rlq__count { display: flex; align-items: center; gap: 8px; font-weight: 400 !important; font-size: .9rem; }
.rlq__count[hidden] { display: none; }
.rlq__count input { width: 84px; min-height: 40px; border: 1px solid #ccc; border-radius: var(--q-r); padding: 6px 10px; font: inherit; font-size: 16px; }
.rlq__accnotes { display: grid; gap: 6px; margin-top: 4px; }
.rlq__accnotes textarea { width: 100%; box-sizing: border-box; min-height: 60px; border: 1px solid #ccc; border-radius: var(--q-r); padding: 10px 12px; font: inherit; font-size: 16px; }
.rlq__access .rlq__radio input, .rlq__access .rlq__cb input { width: 18px; height: 18px; min-height: 0; padding: 0; flex: none; border: 0; }
.rlq__access .rlq__count input { width: 84px; min-height: 40px; flex: none; }
.rlq__access .rlq__cb { width: 100%; box-sizing: border-box; }
.rlq__access .rlq__cb { background: #fff; color: inherit; padding: 9px 12px; }
.rlq__access .rlq__cb:has(input:checked) { background: #fffaf1; border-color: var(--q-accent); }

.rlq__cprod { font-size: .78rem; color: #6b6b6b; line-height: 1.3; margin-bottom: 2px; }
.rlq__cprod + .rlq__cname { min-height: 0; font-size: 1.05rem; font-weight: 600; }
.rlq__cprod ~ .rlq__copt { font-size: .85rem; color: #333; min-height: 2.5em; }

/* Ready screen: send to us on WhatsApp / email, or download the PDF */
.rlq__next { font-size: 1.05rem; line-height: 1.6; margin: 6px auto 4px; max-width: 420px; }
.rlq__share { display: grid; gap: 10px; justify-items: center; margin-top: 8px; }
.rlq__share .rlq__wa { margin-top: 0; }
.rlq__mail, .rlq__pdf { border: 0; font-family: inherit; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; max-width: 380px; height: 52px; border-radius: var(--q-r); font-weight: 700; font-size: 1rem; text-decoration: none; box-sizing: border-box; }
.rlq__mail { background: var(--q-primary); color: #fff; }
.rlq__pdf { background: #fff; color: var(--q-primary); border: 1.5px solid var(--q-primary); }

.rlq__mailopts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; max-width: 380px; padding: 10px; border: 1px solid #dde5ee; border-radius: var(--q-r); background: #f6f9fc; box-sizing: border-box; }
.rlq__mailopts[hidden] { display: none; }
.rlq__mailopts a, .rlq__mailopts button { display: flex; align-items: center; justify-content: center; min-height: 44px; border-radius: var(--q-r); background: #fff; border: 1px solid var(--q-primary); color: var(--q-primary); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; }
.rlq__mailopts button { grid-column: 1 / -1; }
.rlq__mailopts small { grid-column: 1 / -1; color: #555; font-size: .78rem; text-align: center; direction: rtl; }

/* Item counter on the floating quote buttons */
.rl-quote-float, .rl-actionbar .is-quote { position: relative; }
.rlq-badge { position: absolute; top: -4px; inset-inline-end: -4px; min-width: 20px; height: 20px; padding: 0 5px; box-sizing: border-box; border-radius: 999px; background: #e0245e; color: #fff; font-size: 12px; font-weight: 700; line-height: 20px; text-align: center; box-shadow: 0 0 0 2px #fff; pointer-events: none; animation: rlqPop .25s ease; }
.rl-actionbar .is-quote .rlq-badge { top: 4px; inset-inline-end: calc(50% - 22px); }
@keyframes rlqPop { from { transform: scale(.4); } }
@media (prefers-reduced-motion: reduce) { .rlq-badge { animation: none; } }
