/* Rento Offers v0.2.0 – يتبع خط الموقع (Almarai) وألوان رينتو */
.ro-offer {
  --ro-brand: #b02486;
  --ro-brand-d: #8a1b69;
  --ro-brand-l: #fbeff6;
  --ro-brand-m: #f3d9ea;
  --ro-accent: #fb6a27;
  --ro-gold: #ffa100;
  --ro-ink: #1a202c;
  --ro-muted: #5f6b7a;
  --ro-line: #e6e9ef;
  --ro-soft: #f7f8fb;
  --ro-ok: #13804a;
  --ro-err: #b82105;
  --ro-r: 18px;
  --ro-shadow: 0 1px 2px rgba(26, 32, 44, .04), 0 8px 24px rgba(26, 32, 44, .06);
  font-family: inherit;
  color: var(--ro-ink);
  max-width: 1100px;
  margin: 0 auto;
  padding-bottom: 110px;
  line-height: 1.6;
}
.ro-offer *, .ro-offer *::before, .ro-offer *::after { box-sizing: border-box; }
.ro-offer button { font-family: inherit; }
.ro-i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; vertical-align: middle; }

/* الرأس */
.ro-hero { position: relative; overflow: hidden; margin: 0 0 18px; padding: 22px; border-radius: 24px; color: #fff;
  background: radial-gradient(120% 140% at 100% 0%, #d23aa1 0%, var(--ro-brand) 45%, #5e1247 100%); }
.ro-hero::after { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; background: rgba(255, 255, 255, .08); inset-inline-end: -80px; bottom: -120px; }
.ro-hero-title { position: relative; z-index: 1; color: #fff; font-size: 30px; font-weight: 800; line-height: 1.25; margin: 12px 0 0; }
.ro-hero-txt { position: relative; z-index: 2; }
.ro-hero.has-img { min-height: 380px; display: flex; align-items: center; padding: 32px; }
.ro-hero-img { position: absolute; inset: 0; z-index: 0; }
.ro-hero-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ro-hero.has-img::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to right, rgba(78, 12, 60, .94) 0%, rgba(120, 22, 92, .72) 38%, rgba(120, 22, 92, 0) 72%); }
.ro-offer[dir=rtl] .ro-hero.has-img::before { background: linear-gradient(to left, rgba(78, 12, 60, .94) 0%, rgba(120, 22, 92, .72) 38%, rgba(120, 22, 92, 0) 72%); }
.ro-hero.has-img::after { display: none; }
.ro-hero.has-img .ro-hero-txt { max-width: 640px; }
.ro-badge { display: inline-block; background: var(--ro-gold); color: #3b2300; font-weight: 800; padding: 5px 16px; border-radius: 999px; font-size: 16px; box-shadow: 0 6px 16px rgba(0, 0, 0, .15); animation: ro-pop .6s cubic-bezier(.2, 1.4, .4, 1) both; }
.ro-lead { font-size: 19px; margin: 12px 0 6px; color: #fff; position: relative; z-index: 1; }
.ro-features { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 8px; position: relative; z-index: 1; }
.ro-features li { background: rgba(255, 255, 255, .16); color: #fff; padding: 5px 12px; border-radius: 999px; font-size: 14px; backdrop-filter: blur(4px); }
.ro-features li::before { content: "✓ "; font-weight: 800; color: var(--ro-gold); }
.ro-valid { color: rgba(255, 255, 255, .85); font-size: 14px; margin: 12px 0 0; position: relative; z-index: 1; }
.ro-ended { background: var(--ro-soft); border: 1px solid var(--ro-line); padding: 18px; border-radius: var(--ro-r); text-align: center; }
.ro-desc { margin-top: 28px; }

/* شريط التقدم */
.ro-progress { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); padding: 10px 4px 8px; margin: 0 0 14px; border-bottom: 1px solid var(--ro-line); }
.admin-bar .ro-progress { top: 32px; }
.ro-progress-track { height: 4px; background: var(--ro-line); border-radius: 4px; overflow: hidden; margin-bottom: 8px; }
.ro-progress-track span { display: block; height: 100%; background: linear-gradient(90deg, var(--ro-brand), var(--ro-accent)); border-radius: 4px; transition: width .5s cubic-bezier(.2, .8, .2, 1); }
.ro-progress ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.ro-progress button { width: 100%; background: none; border: 0; padding: 4px 2px; display: flex; flex-direction: column; align-items: center; gap: 2px; color: var(--ro-muted); font-size: 12px; cursor: pointer; }
.ro-progress .ro-i { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--ro-soft); box-sizing: content-box; transition: background .25s, color .25s; }
.ro-progress li.is-cur button { color: var(--ro-brand); font-weight: 800; }
.ro-progress li.is-cur .ro-i { background: var(--ro-brand); color: #fff; box-shadow: 0 0 0 4px var(--ro-brand-l); }
.ro-progress li.is-done button { color: var(--ro-ok); }
.ro-progress li.is-done .ro-i { background: var(--ro-ok); color: #fff; stroke-width: 2.6; }

/* الخطوات */
.ro-step { background: #fff; border: 1px solid var(--ro-line); border-radius: var(--ro-r); padding: 20px; margin: 0 0 14px; scroll-margin-top: 110px; box-shadow: var(--ro-shadow); animation: ro-in .35s cubic-bezier(.2, .8, .2, 1) both; transition: border-color .3s; }
.ro-step.is-done { border-color: #cfe9da; }
.ro-step-h { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; }
.ro-step-h h3 { font-size: 19px; margin: 0; font-weight: 800; line-height: 1.3; }
.ro-step-h p { margin: 2px 0 0; color: var(--ro-muted); font-size: 14px; }
.ro-num { width: 34px; height: 34px; border-radius: 12px; background: var(--ro-brand); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 800; flex: none; transition: background .3s, transform .3s; }
.ro-num .ro-i { width: 18px; height: 18px; stroke-width: 3; }
.ro-step.is-done .ro-num { background: var(--ro-ok); animation: ro-pop .45s cubic-bezier(.2, 1.4, .4, 1); }
@keyframes ro-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes ro-pop { 0% { transform: scale(.6); } 100% { transform: scale(1); } }

.ro-note { color: var(--ro-muted); font-size: 14px; margin: 0 0 10px; }
.ro-note-i { display: flex; align-items: center; gap: 6px; }
.ro-note-i .ro-i { color: var(--ro-brand); width: 18px; height: 18px; }
.ro-pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--ro-brand); animation: ro-pulse 1.2s infinite; }
@keyframes ro-pulse { 0% { box-shadow: 0 0 0 0 rgba(176, 36, 134, .5); } 100% { box-shadow: 0 0 0 12px rgba(176, 36, 134, 0); } }
.ro-error { color: var(--ro-err); font-size: 14px; margin: 8px 0 0; }
.ro-empty { background: #fff7ed; color: #8a3b0e; padding: 12px 14px; border-radius: 12px; margin: 0 0 12px; }
.ro-link { background: none; border: 0; color: var(--ro-brand); padding: 0; cursor: pointer; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }

/* المدن والتواريخ */
.ro-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.ro-chip { border: 1.5px solid var(--ro-line); background: #fff; color: var(--ro-ink); padding: 8px 18px; border-radius: 999px; cursor: pointer; font-size: 15px; min-height: 42px; transition: all .2s; }
.ro-chip:hover { border-color: var(--ro-brand); color: var(--ro-brand); }
.ro-chip.is-on { background: var(--ro-brand); border-color: var(--ro-brand); color: #fff; font-weight: 700; box-shadow: 0 6px 14px rgba(176, 36, 134, .25); }
.ro-dates { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: stretch; }
.ro-date { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border: 1.5px solid var(--ro-line); border-radius: 14px; cursor: pointer; transition: border-color .2s, box-shadow .2s; background: #fff; }
.ro-date:hover, .ro-date:focus-within { border-color: var(--ro-brand); box-shadow: 0 0 0 4px var(--ro-brand-l); }
.ro-date-k { display: flex; align-items: center; gap: 6px; color: var(--ro-muted); font-size: 13px; }
.ro-date-k .ro-i { width: 16px; height: 16px; color: var(--ro-brand); }
.ro-date b { font-size: 16px; }
.ro-date input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; border: 0; }
.ro-days { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 74px; border-radius: 14px; background: var(--ro-brand-l); color: var(--ro-brand-d); line-height: 1.1; }
.ro-days b { font-size: 24px; }
.ro-days span { font-size: 12px; }

/* السيارات */
.ro-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; transition: opacity .25s; }
.ro-grid.is-busy { opacity: .5; pointer-events: none; }
.ro-card { position: relative; display: flex; flex-direction: column; gap: 6px; text-align: start; background: #fff; border: 2px solid var(--ro-line); border-radius: var(--ro-r); padding: 14px; cursor: pointer; color: var(--ro-ink); transition: transform .2s, border-color .2s, box-shadow .2s; animation: ro-in .4s calc(var(--i, 0) * 60ms) both; font-size: inherit; }
.ro-card:not(.is-off):hover { transform: translateY(-3px); border-color: var(--ro-brand-m); box-shadow: 0 14px 30px rgba(176, 36, 134, .12); }
.ro-card.is-on { border-color: var(--ro-brand); box-shadow: 0 0 0 4px var(--ro-brand-l), 0 14px 30px rgba(176, 36, 134, .15); }
.ro-card.is-skel { min-height: 300px; background: linear-gradient(90deg, #f2f4f8 25%, #e8ebf1 37%, #f2f4f8 63%); background-size: 400% 100%; animation: ro-skel 1.2s infinite; border-color: transparent; }
@keyframes ro-skel { from { background-position: 100% 0; } to { background-position: 0 0; } }
.ro-card-badge { position: absolute; top: 12px; inset-inline-start: 12px; background: var(--ro-accent); color: #fff; font-size: 13px; font-weight: 800; padding: 3px 12px; border-radius: 999px; z-index: 2; box-shadow: 0 4px 10px rgba(251, 106, 39, .35); }
.ro-card-save { position: absolute; top: 12px; inset-inline-end: 12px; background: #e8f6ee; color: var(--ro-ok); font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 999px; z-index: 2; }
.ro-card-img { display: flex; align-items: center; justify-content: center; height: 140px; margin: 14px 0 4px; border-radius: 12px; background: radial-gradient(70% 60% at 50% 70%, var(--ro-soft) 0%, #fff 70%); }
.ro-card-img img { max-width: 100%; max-height: 100%; object-fit: contain; transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.ro-card:not(.is-off):hover .ro-card-img img, .ro-card.is-on .ro-card-img img { transform: scale(1.06) translateX(calc(var(--ro-dir, 1) * -4px)); }
.ro-i-ph { width: 64px; height: 64px; color: var(--ro-line); }
.ro-card-name { font-weight: 800; font-size: 17px; }
.ro-card-name small { color: var(--ro-muted); font-weight: 400; }
.ro-specs { display: flex; gap: 12px; font-size: 13px; color: var(--ro-muted); flex-wrap: wrap; }
.ro-specs span { display: inline-flex; align-items: center; gap: 4px; }
.ro-specs .ro-i { width: 16px; height: 16px; }
.ro-price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.ro-price del { color: var(--ro-muted); font-size: 15px; }
.ro-price b { font-size: 26px; color: var(--ro-brand); line-height: 1; }
.ro-price small { color: var(--ro-muted); }
.ro-sar { display: inline-block; width: auto; height: .82em; vertical-align: -.08em; fill: currentColor; }
.ro-card-total { font-size: 12px; color: var(--ro-muted); }
.ro-pick { margin-top: auto; display: flex; align-items: center; justify-content: center; gap: 6px; border-radius: 12px; padding: 10px; background: var(--ro-brand-l); font-weight: 800; color: var(--ro-brand); transition: background .2s, color .2s; }
.ro-pick .ro-i { width: 18px; height: 18px; stroke-width: 3; }
.ro-card.is-on .ro-pick { background: var(--ro-brand); color: #fff; }

/* غير متوفرة */
.ro-card.is-off { cursor: default; background: var(--ro-soft); border-style: dashed; }
.ro-card.is-off .ro-card-img img { filter: grayscale(1); opacity: .55; }
.ro-card.is-off .ro-card-name, .ro-card.is-off .ro-specs { opacity: .6; }
.ro-card.is-off .ro-card-badge { background: #9aa3af; box-shadow: none; }
.ro-off-ribbon { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; background: #fdecea; color: var(--ro-err); font-weight: 800; font-size: 13px; padding: 4px 12px; border-radius: 8px; }
.ro-where { font-size: 13px; color: var(--ro-muted); display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: auto; }
.ro-where-c { border: 1px solid var(--ro-brand-m); background: #fff; color: var(--ro-brand); border-radius: 999px; padding: 2px 10px; font-size: 13px; cursor: pointer; }
.ro-where-c:hover { background: var(--ro-brand); color: #fff; }

/* الاستلام */
.ro-modes, .ro-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.ro-mode { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px 10px; border: 2px solid var(--ro-line); background: #fff; border-radius: 16px; cursor: pointer; color: var(--ro-ink); transition: all .2s; text-align: center; }
.ro-mode .ro-i { width: 32px; height: 32px; color: var(--ro-brand); stroke-width: 1.6; }
.ro-mode b { font-size: 16px; }
.ro-mode small { color: var(--ro-muted); font-size: 13px; }
.ro-mode:hover { border-color: var(--ro-brand-m); }
.ro-mode.is-on { border-color: var(--ro-brand); background: var(--ro-brand-l); box-shadow: 0 8px 20px rgba(176, 36, 134, .12); }
.ro-mode.is-on .ro-i { animation: ro-pop .4s cubic-bezier(.2, 1.4, .4, 1); }
.ro-tabs button { min-height: 48px; border: 2px solid var(--ro-line); background: #fff; border-radius: 12px; cursor: pointer; font-size: 15px; font-weight: 700; color: var(--ro-ink); }
.ro-tabs button.is-on { border-color: var(--ro-brand); background: var(--ro-brand-l); color: var(--ro-brand-d); }
.ro-branches, .ro-pay { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; margin-bottom: 14px; }
.ro-radio { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--ro-line); border-radius: 14px; padding: 12px 14px; cursor: pointer; min-height: 54px; transition: all .2s; background: #fff; }
.ro-radio:hover { border-color: var(--ro-brand-m); }
.ro-radio.is-on { border-color: var(--ro-brand); background: var(--ro-brand-l); }
.ro-radio.is-off { opacity: .55; cursor: not-allowed; }
.ro-radio input { accent-color: var(--ro-brand); width: 18px; height: 18px; flex: none; margin: 0; }
.ro-radio > .ro-i { color: var(--ro-brand); }
.ro-payopt span { display: flex; flex-direction: column; line-height: 1.35; }
.ro-payopt small { color: var(--ro-muted); font-size: 12px; }
.ro-field { display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--ro-muted); margin-bottom: 12px; }
.ro-offer input[type=tel], .ro-offer input[type=email], .ro-offer input:not([type]), .ro-offer select, .ro-offer textarea {
  width: 100%; min-height: 48px; border: 1.5px solid var(--ro-line); border-radius: 12px; padding: 8px 12px; font: inherit; font-size: 16px; color: var(--ro-ink); background: #fff; transition: border-color .2s, box-shadow .2s;
}
.ro-offer input:focus, .ro-offer select:focus, .ro-offer textarea:focus { outline: none; border-color: var(--ro-brand); box-shadow: 0 0 0 4px var(--ro-brand-l); }
.ro-addr-hint { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ro-muted); margin: -4px 0 6px; min-height: 18px; }
.ro-addr-hint .ro-i { width: 16px; height: 16px; }
.ro-addr-hint.is-filled { color: var(--ro-ok); }
.ro-addr-hint.is-filled .ro-i { stroke-width: 2.6; }
.ro-addr-hint.is-locating { color: var(--ro-brand); }
.ro-spin-b { width: 14px; height: 14px; border-color: var(--ro-brand-l); border-top-color: var(--ro-brand); }
.ro-locate { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1.5px dashed var(--ro-brand-m); color: var(--ro-brand); border-radius: 12px; padding: 8px 14px; cursor: pointer; font-size: 14px; }
.ro-locate.is-on { border-style: solid; border-color: #bfe5cf; color: var(--ro-ok); background: #f1faf5; }
.ro-locate.is-busy { opacity: .6; }
.ro-times { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 14px; }
.ro-time { min-width: 0; }
.ro-time-k { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--ro-muted); margin-bottom: 8px; }
.ro-time-k .ro-i { width: 17px; height: 17px; color: var(--ro-brand); }
.ro-time-k b { color: var(--ro-ink); }
.ro-slots { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 8px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.ro-slot { flex: none; scroll-snap-align: start; border: 1.5px solid var(--ro-line); background: #fff; color: var(--ro-ink); border-radius: 12px; padding: 9px 14px; font-size: 14px; cursor: pointer; white-space: nowrap; transition: all .15s; direction: ltr; }
.ro-slot:hover { border-color: var(--ro-brand-m); }
.ro-slot.is-on { background: var(--ro-brand); border-color: var(--ro-brand); color: #fff; font-weight: 800; box-shadow: 0 6px 14px rgba(176, 36, 134, .25); }

/* الدخول */
.ro-phone { display: flex; gap: 6px; }
.ro-phone select { width: 104px; flex: none; }
.ro-otp { font-size: 28px !important; letter-spacing: 12px; text-align: center; max-width: 260px; margin-bottom: 12px; font-weight: 800; }
.ro-paste { display: block; width: 100%; margin: -4px 0 12px; font-size: 13px; text-align: center; }
.ro-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.ro-user { display: flex; align-items: center; gap: 12px; background: var(--ro-soft); border-radius: 14px; padding: 12px 14px; }
.ro-user div { flex: 1; display: flex; flex-direction: column; line-height: 1.35; }
.ro-user small { color: var(--ro-muted); text-align: start; }
.ro-avatar { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--ro-brand), var(--ro-accent)); color: #fff; font-weight: 800; font-size: 18px; display: flex; align-items: center; justify-content: center; }
.ro-secure { display: flex; align-items: center; gap: 6px; color: var(--ro-muted); font-size: 13px; margin: 12px 0 0; }
.ro-secure .ro-i { width: 16px; height: 16px; color: var(--ro-ok); }

/* الأزرار */
.ro-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--ro-brand); color: #fff; border: 0; border-radius: 14px; min-height: 50px; padding: 0 24px; font-size: 16px; font-weight: 800; cursor: pointer; transition: background .2s, transform .1s, box-shadow .2s; box-shadow: 0 8px 18px rgba(176, 36, 134, .25); }
.ro-btn:hover:not(:disabled) { background: var(--ro-brand-d); }
.ro-btn:active:not(:disabled) { transform: scale(.97); }
.ro-btn:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.ro-btn-lg { width: 100%; min-height: 58px; font-size: 18px; margin-top: 14px; background: linear-gradient(90deg, var(--ro-brand), #c42f95); }
.ro-spin-s { width: 18px; height: 18px; border: 2.5px solid rgba(255, 255, 255, .4); border-top-color: #fff; border-radius: 50%; animation: ro-spin .7s linear infinite; }

/* الملخص */
.ro-receipt { background: var(--ro-soft); border-radius: 16px; padding: 14px; margin-bottom: 16px; transition: opacity .2s; }
.ro-receipt.is-busy { opacity: .5; }
.ro-receipt-car { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; margin-bottom: 10px; border-bottom: 1px dashed #d5dae3; }
.ro-receipt-car img { width: 88px; height: 56px; object-fit: contain; background: #fff; border-radius: 10px; }
.ro-receipt-car div { display: flex; flex-direction: column; line-height: 1.4; }
.ro-receipt-car small { color: var(--ro-muted); font-size: 13px; }
.ro-lines { display: grid; grid-template-columns: 1fr auto; gap: 7px 12px; margin: 0; }
.ro-lines dt { color: var(--ro-muted); margin: 0; display: flex; align-items: center; gap: 6px; }
.ro-lines dt small { font-size: 12px; }
.ro-lines dd { margin: 0; text-align: end; white-space: nowrap; }
.ro-lines .ro-disc { color: var(--ro-ok); font-weight: 800; }
.ro-lines .ro-disc .ro-i { width: 17px; height: 17px; }
.ro-lines .ro-total { color: var(--ro-ink); font-weight: 800; font-size: 21px; border-top: 1px solid var(--ro-line); padding-top: 10px; margin-top: 4px; }
.ro-saved { margin: 12px 0 0; padding: 8px 12px; border-radius: 10px; background: #e8f6ee; color: var(--ro-ok); font-size: 14px; text-align: center; }
.ro-terms { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; }
.ro-terms input { accent-color: var(--ro-brand); width: 18px; height: 18px; margin-top: 3px; flex: none; }
.ro-terms a { color: var(--ro-brand); }

/* النجاح */
.ro-success { text-align: center; border-color: #bfe5cf; padding: 30px 20px; }
.ro-success h3 { font-size: 24px; margin: 12px 0; }
.ro-check { width: 76px; height: 76px; border-radius: 50%; background: var(--ro-ok); color: #fff; display: inline-flex; align-items: center; justify-content: center; animation: ro-pop .6s cubic-bezier(.2, 1.6, .4, 1); box-shadow: 0 0 0 10px #e8f6ee; }
.ro-check .ro-i { width: 40px; height: 40px; stroke-width: 3; }
.ro-ticket { display: grid; grid-template-columns: 1fr 1fr; max-width: 420px; margin: 16px auto; border: 1.5px dashed var(--ro-brand-m); border-radius: 16px; overflow: hidden; }
.ro-ticket div { padding: 12px; display: flex; flex-direction: column; background: var(--ro-brand-l); }
.ro-ticket div + div { border-inline-start: 1.5px dashed var(--ro-brand-m); }
.ro-ticket small { color: var(--ro-muted); }
.ro-ticket b { font-size: 18px; color: var(--ro-brand-d); }
.ro-confetti { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 100000; }

/* صفحة العرض في ثيم Kadence: بدون عنوان الثيم ولا الصورة البارزة ولا الإطار الأبيض */
.ro-offer-page .entry-header, .ro-offer-page .entry-hero, .ro-offer-page .entry-hero-container-inner,
.ro-offer-page article > .post-thumbnail, .ro-offer-page .entry-footer, .ro-offer-page .post-navigation, .ro-offer-page .comments-area { display: none !important; }
.ro-offer-page .content-area { margin-top: 24px !important; margin-bottom: 24px !important; }
.ro-offer-page .entry.single-entry, .ro-offer-page .content-bg { background: transparent !important; box-shadow: none !important; }
.ro-offer-page .entry-content-wrap { padding: 0 !important; }
.ro-offer-page .entry-content { margin-top: 0 !important; }
@media (max-width: 640px) { .ro-offer-page .content-area { margin-top: 12px !important; } }

/* إخفاء زر واتساب (Joinchat) في صفحة العرض */
.joinchat, .joinchat__button, #joinchat { display: none !important; }

/* الشريط السفلي */
.ro-bar { position: fixed; inset-inline: 0; bottom: 0; z-index: 999; background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); border-top: 1px solid var(--ro-line); box-shadow: 0 -10px 30px rgba(26, 32, 44, .08); padding: 10px max(16px, calc((100vw - 1100px) / 2)); padding-bottom: calc(10px + env(safe-area-inset-bottom)); display: none; align-items: center; gap: 12px; animation: ro-up .35s cubic-bezier(.2, .8, .2, 1); }
@keyframes ro-up { from { transform: translateY(100%); } to { transform: none; } }
.ro-bar.is-on { display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
.ro-bar-row { display: flex; align-items: center; gap: 12px; }
.ro-bar-steps { display: none; list-style: none; margin: 0; padding: 0; grid-template-columns: repeat(5, 1fr); position: relative; }
.ro-bar-steps::before { content: ""; position: absolute; top: 14px; inset-inline: 10%; height: 2px; background: var(--ro-line); }
.ro-bar-steps li { position: relative; }
.ro-bar-steps button { width: 100%; background: none; border: 0; padding: 0; display: flex; flex-direction: column; align-items: center; gap: 2px; color: var(--ro-muted); font-size: 11px; cursor: pointer; line-height: 1.2; }
.ro-bar-steps .ro-i { width: 18px; height: 18px; padding: 5px; box-sizing: content-box; border-radius: 50%; background: #eef0f4; position: relative; z-index: 1; transition: all .25s; }
.ro-bar-steps li.is-cur button { color: var(--ro-brand); font-weight: 800; }
.ro-bar-steps li.is-cur .ro-i { background: var(--ro-brand); color: #fff; box-shadow: 0 0 0 3px var(--ro-brand-l); }
.ro-bar-steps li.is-done button { color: var(--ro-ok); }
.ro-bar-steps li.is-done .ro-i { background: var(--ro-ok); color: #fff; stroke-width: 2.6; }
.ro-bar-price { flex: 1; display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.ro-bar-price b { font-size: 20px; color: var(--ro-brand); }
.ro-bar-price small { color: var(--ro-muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.ro-loading { display: flex; justify-content: center; padding: 30px; }
.ro-spin { width: 36px; height: 36px; border: 3px solid var(--ro-brand-l); border-top-color: var(--ro-brand); border-radius: 50%; animation: ro-spin .8s linear infinite; }
@keyframes ro-spin { to { transform: rotate(360deg); } }

@media (max-width: 640px) {
  .ro-offer { padding-bottom: 170px; }
  .ro-progress { display: none; }
  .ro-bar-steps { display: grid; }
  .ro-bar { padding-top: 10px; }
  .ro-step { scroll-margin-top: 20px; }
  .ro-hero { padding: 18px; border-radius: 20px; }
  .ro-hero-title { font-size: 23px; }
  .ro-hero.has-img { min-height: 0; display: block; padding: 0; background: var(--ro-brand); }
  .ro-hero.has-img::before { display: none; }
  .ro-hero.has-img .ro-hero-img { position: relative; display: block; aspect-ratio: 4 / 3; }
  .ro-hero.has-img .ro-hero-txt { padding: 16px 18px 18px; margin-top: -40px; background: linear-gradient(to bottom, rgba(176, 36, 134, 0), var(--ro-brand) 40px); padding-top: 50px; }
  .ro-step { padding: 16px; border-radius: 16px; }
  .ro-step-h h3 { font-size: 17px; }
  .ro-progress span { font-size: 11px; }
  .ro-dates { grid-template-columns: 1fr 1fr; }
  .ro-days { grid-column: 1 / -1; grid-row: 2; flex-direction: row; gap: 6px; min-height: 36px; }
  .ro-days b { font-size: 18px; }
  .ro-date b { font-size: 14px; }
  .ro-grid { grid-template-columns: 1fr; gap: 10px; }
  .ro-card { display: grid; grid-template-columns: 116px 1fr; grid-template-areas: "img name" "img specs" "img price" "total total" "ladder ladder" "pick pick"; column-gap: 12px; row-gap: 3px; padding: 12px; }
  .ro-card.is-off { grid-template-areas: "img name" "img specs" "img rib" "where where"; }
  .ro-card-img { grid-area: img; height: 86px; margin: 22px 0 0; align-self: start; }
  .ro-card-name { grid-area: name; font-size: 16px; margin-top: 22px; }
  .ro-specs { grid-area: specs; }
  .ro-price { grid-area: price; }
  .ro-price b { font-size: 22px; }
  .ro-card-total { grid-area: total; }
  .ro-ladder { grid-area: ladder; width: 100%; margin: 6px 0 0; }
  .ro-lad-tg { width: 100%; box-sizing: border-box; white-space: nowrap; }
  .ro-off-ribbon { grid-area: rib; }
  .ro-where { grid-area: where; margin-top: 6px; }
  .ro-pick { grid-area: pick; margin-top: 8px; }
  .ro-card-badge, .ro-card-save { top: 10px; }
  .ro-mode { padding: 14px 8px; }
  .ro-ticket { grid-template-columns: 1fr; }
  .ro-ticket div + div { border-inline-start: 0; border-top: 1.5px dashed var(--ro-brand-m); }
  .ro-bar .ro-btn { padding: 0 16px; font-size: 15px; min-height: 48px; }
}
@media (prefers-reduced-motion: reduce) { .ro-offer *, .ro-offer *::before { animation: none !important; transition: none !important; } }

/* v0.4.2: بدون شريط السعر/الزر السفلي. الكمبيوتر: لا شريط سفلي (المسار في الأعلى). الموبايل: المسار فقط في الأسفل */
.ro-offer .ro-bar-row { display: none !important; }
.ro-offer { padding-bottom: 32px; }
@media (min-width: 641px) { .ro-offer .ro-bar { display: none !important; } }
@media (max-width: 640px) {
  .ro-offer { padding-bottom: 90px; }
  .ro-offer .ro-bar { padding-top: 10px; padding-bottom: calc(10px + env(safe-area-inset-bottom)); }
}

/* v0.6.2: حماية أزرار الصفحة من ألوان الثيم (Kadence يلوّن الأزرار بالأزرق عند المرور) */
.ro-offer button { text-transform: none; letter-spacing: normal; line-height: inherit; }
.ro-offer button:focus-visible { outline: 2px solid var(--ro-brand); outline-offset: 2px; }

.ro-offer .ro-mode, .ro-offer .ro-mode:focus { background: #fff !important; color: var(--ro-ink) !important; border-color: var(--ro-line) !important; }
.ro-offer .ro-mode:hover { background: var(--ro-brand-l) !important; color: var(--ro-ink) !important; border-color: var(--ro-brand-m) !important; }
.ro-offer .ro-mode.is-on, .ro-offer .ro-mode.is-on:hover, .ro-offer .ro-mode.is-on:focus { background: var(--ro-brand-l) !important; color: var(--ro-brand-d) !important; border-color: var(--ro-brand) !important; }
.ro-offer .ro-mode small { color: var(--ro-muted) !important; }

.ro-offer .ro-tabs button, .ro-offer .ro-tabs button:focus { background: #fff !important; color: var(--ro-ink) !important; border-color: var(--ro-line) !important; box-shadow: none !important; }
.ro-offer .ro-tabs button:hover { background: var(--ro-brand-l) !important; color: var(--ro-brand-d) !important; border-color: var(--ro-brand-m) !important; }
.ro-offer .ro-tabs button.is-on, .ro-offer .ro-tabs button.is-on:hover { background: var(--ro-brand-l) !important; color: var(--ro-brand-d) !important; border-color: var(--ro-brand) !important; }

.ro-offer .ro-chip, .ro-offer .ro-chip:focus { background: #fff !important; color: var(--ro-ink) !important; border-color: var(--ro-line) !important; }
.ro-offer .ro-chip:hover { background: #fff !important; color: var(--ro-brand) !important; border-color: var(--ro-brand) !important; }
.ro-offer .ro-chip.is-on, .ro-offer .ro-chip.is-on:hover, .ro-offer .ro-chip.is-on:focus { background: var(--ro-brand) !important; color: #fff !important; border-color: var(--ro-brand) !important; }

.ro-offer .ro-slot, .ro-offer .ro-slot:focus { background: #fff !important; color: var(--ro-ink) !important; border-color: var(--ro-line) !important; box-shadow: none !important; }
.ro-offer .ro-slot:hover { background: var(--ro-brand-l) !important; color: var(--ro-brand-d) !important; border-color: var(--ro-brand-m) !important; }
.ro-offer .ro-slot.is-on, .ro-offer .ro-slot.is-on:hover, .ro-offer .ro-slot.is-on:focus { background: var(--ro-brand) !important; color: #fff !important; border-color: var(--ro-brand) !important; box-shadow: 0 6px 14px rgba(176, 36, 134, .25) !important; }

.ro-offer .ro-card, .ro-offer .ro-card:focus, .ro-offer .ro-card:hover { background: #fff !important; color: var(--ro-ink) !important; }
.ro-offer .ro-card.is-off, .ro-offer .ro-card.is-off:hover { background: var(--ro-soft) !important; }

.ro-offer .ro-btn, .ro-offer .ro-btn:focus { background: var(--ro-brand) !important; color: #fff !important; border: 0 !important; }
.ro-offer .ro-btn:hover:not(:disabled) { background: var(--ro-brand-d) !important; color: #fff !important; }
.ro-offer .ro-btn-lg, .ro-offer .ro-btn-lg:focus { background: linear-gradient(90deg, var(--ro-brand), #c42f95) !important; }
.ro-offer .ro-btn-lg:hover:not(:disabled) { background: var(--ro-brand-d) !important; }

.ro-offer .ro-link, .ro-offer .ro-link:hover, .ro-offer .ro-link:focus { background: none !important; color: var(--ro-brand) !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; }
.ro-offer .ro-where-c, .ro-offer .ro-where-c:focus { background: #fff !important; color: var(--ro-brand) !important; border: 1px solid var(--ro-brand-m) !important; }
.ro-offer .ro-where-c:hover { background: var(--ro-brand) !important; color: #fff !important; border-color: var(--ro-brand) !important; }

.ro-offer .ro-progress button, .ro-offer .ro-progress button:hover, .ro-offer .ro-progress button:focus,
.ro-offer .ro-bar-steps button, .ro-offer .ro-bar-steps button:hover, .ro-offer .ro-bar-steps button:focus { background: none !important; border: 0 !important; box-shadow: none !important; }
.ro-offer .ro-progress button:hover, .ro-offer .ro-bar-steps button:hover { color: var(--ro-brand) !important; }

/* v0.6.3: ترتيب الكروت حسب عدد السيارات */
@media (min-width: 641px) {
  .ro-grid.is-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ro-grid.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ro-grid.is-2 .ro-card-img, .ro-grid.is-3 .ro-card-img { height: 170px; }

  /* سيارة واحدة: كارت عريض */
  .ro-grid.is-1 { grid-template-columns: 1fr; }
  .ro-grid.is-1 .ro-card { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); grid-template-areas: "img name" "img specs" "img price" "img total" "img ladder" "img pick" "img where" "img rib"; grid-template-rows: auto auto auto auto auto 1fr; column-gap: 32px; row-gap: 8px; padding: 22px 26px; align-items: start; }
  .ro-grid.is-1 .ro-card-img { grid-area: img; height: 260px; margin: 18px 0 0; align-self: center; }
  .ro-grid.is-1 .ro-card-name { grid-area: name; font-size: 24px; margin-top: 30px; }
  .ro-grid.is-1 .ro-specs { grid-area: specs; font-size: 15px; gap: 18px; }
  .ro-grid.is-1 .ro-specs .ro-i { width: 19px; height: 19px; }
  .ro-grid.is-1 .ro-price { grid-area: price; margin-top: 10px; }
  .ro-grid.is-1 .ro-price b { font-size: 40px; }
  .ro-grid.is-1 .ro-price del { font-size: 18px; }
  .ro-grid.is-1 .ro-card-total { grid-area: total; font-size: 14px; }
  .ro-grid.is-1 .ro-ladder { grid-area: ladder; }
  .ro-grid.is-1 .ro-pick { grid-area: pick; align-self: end; padding: 14px; font-size: 17px; margin-top: 12px; }
  .ro-grid.is-1 .ro-off-ribbon { grid-area: rib; }
  .ro-grid.is-1 .ro-where { grid-area: where; }
  .ro-grid.is-1 .ro-card:not(.is-off):hover { transform: none; }
}

/* v0.6.7: صفحة العرض بدون فوتر الموقع */
.ro-offer-page .site-footer, .ro-offer-page #colophon, .ro-offer-page footer.site-footer,
.ro-offer-page .site-footer-wrap, .ro-offer-page .footer-html, .ro-offer-page #kt-scroll-up, .ro-offer-page .kadence-scroll-to-top { display: none !important; }
.ro-offer-page .site-main, .ro-offer-page .content-area { margin-bottom: 0 !important; }

/* v0.7.3 */
.ro-similar { display: block; font-style: normal; font-weight: 400; font-size: 12px; color: var(--ro-muted); }
.ro-receipt-h { margin: 0 0 8px; font-size: 15px; font-weight: 800; color: var(--ro-ink); }
.ro-offer[dir=rtl] .ro-slot { direction: rtl; unicode-bidi: plaintext; }

/* الإضافات الاختيارية */
.ro-extras { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 10px; margin-bottom: 16px; }
.ro-extra span { display: flex; flex-direction: column; line-height: 1.35; flex: 1; min-width: 0; }
.ro-extra span small { color: var(--ro-muted); font-size: 12px; }
.ro-extra-p { font-style: normal; display: flex; flex-direction: column; align-items: flex-end; line-height: 1.3; white-space: nowrap; }
.ro-extra-p b { color: var(--ro-brand); font-size: 14px; }
.ro-extra-p small { color: var(--ro-muted); font-size: 11px; }
.ro-ex-h { margin-top: 0; }

/* الحجز كضيف */
.ro-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ro-tabs button { padding: 0 6px; }
@media (max-width: 420px) { .ro-tabs button { font-size: 13.5px; } }
.ro-guest-tag { font-style: normal; font-size: 11px; font-weight: 700; background: #eef1f5; color: #4a5568; padding: 1px 8px; border-radius: 99px; margin-inline-start: 6px; vertical-align: middle; }

/* النزول لاختيارات الاستلام بعد اختيار الفرع/التوصيل */
.ro-modes { scroll-margin-top: 90px; }

/* صورة الإعلان من غير نصوص فوقها: تظهر كاملة بمقاسها من غير قص */
.ro-hero.has-img.is-clean { min-height: 0; display: block; padding: 0; background: none; }
.ro-hero.has-img.is-clean::before, .ro-hero.has-img.is-clean::after { display: none; }
.ro-hero.has-img.is-clean .ro-hero-img { position: static; display: block; aspect-ratio: auto; }
.ro-hero.has-img.is-clean .ro-hero-img img { height: auto; object-fit: initial; }
.ro-sr { position: absolute !important; width: 1px; height: 1px; padding: 0 !important; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ===== صفحة الأسطول الجديدة ([rento_fleet]) ===== */
.ro-offer.ro-fleet { max-width: 1320px; }
.ro-fl { display: block; }
.ro-cats { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 12px; }
.ro-offer .ro-cat, .ro-offer .ro-cat:focus { display: inline-flex; align-items: center; gap: 6px; border: 1.5px solid var(--ro-line) !important; background: #fff !important; color: var(--ro-ink) !important; border-radius: 999px; padding: 7px 15px; min-height: 40px; font-size: 14px; cursor: pointer; transition: all .2s; }
.ro-offer .ro-cat small { color: var(--ro-muted); font-size: 12px; }
.ro-offer .ro-cat:hover { border-color: var(--ro-brand) !important; color: var(--ro-brand) !important; }
.ro-offer .ro-cat.is-on, .ro-offer .ro-cat.is-on:hover { background: var(--ro-brand-l) !important; border-color: var(--ro-brand) !important; color: var(--ro-brand) !important; font-weight: 700; }
.ro-offer .ro-cat.is-on small { color: var(--ro-brand); }
.ro-fl-tools { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 0 0 10px; }
.ro-toggle { display: inline-flex; align-items: center; gap: 6px; border: 1.5px dashed var(--ro-line); border-radius: 999px; padding: 5px 12px; font-size: 13px; cursor: pointer; background: #fff; }
.ro-toggle input { accent-color: var(--ro-brand); margin: 0; }
.ro-toggle:has(input:checked) { border-style: solid; border-color: var(--ro-ink); }
.ro-sort { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ro-muted); margin-inline-start: auto; }
.ro-sort select { border: 1.5px solid var(--ro-line); border-radius: 10px; padding: 5px 10px; font: inherit; color: var(--ro-ink); background: #fff; }
.ro-fl-count { font-size: 13px; color: var(--ro-muted); margin: 0 0 10px; }
/* صفحة استكمال الحجز */
.ro-bar-cars { display: none !important; }
.ro-fl-book { max-width: 860px; margin: 0 auto; }
.ro-offer .ro-back { display: inline-flex; align-items: center; gap: 6px; background: none !important; border: 0 !important; color: var(--ro-brand) !important; font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; padding: 6px 2px; margin: 0 0 10px; }
.ro-offer[dir=ltr] .ro-back .ro-i { transform: scaleX(-1); }
.ro-book-car { display: flex; align-items: center; gap: 18px; background: #fff; border: 2px solid var(--ro-brand); border-radius: var(--ro-r); padding: 16px 20px; margin: 0 0 14px; box-shadow: 0 0 0 4px var(--ro-brand-l), var(--ro-shadow); animation: ro-in .35s both; }
.ro-book-car > img { width: 200px; height: 120px; object-fit: contain; flex: none; }
.ro-book-car > .ro-i-ph { width: 90px; height: 90px; color: var(--ro-line); flex: none; }
.ro-book-i { flex: 1; min-width: 0; }
.ro-book-i > b { display: block; font-size: 20px; }
.ro-book-i > b small { color: var(--ro-muted); font-weight: 400; font-size: 14px; }
.ro-book-trip { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 6px 0 0; font-size: 14px; color: var(--ro-muted); }
.ro-book-trip .ro-i { width: 16px; height: 16px; color: var(--ro-brand); }
.ro-book-p { text-align: center; flex: none; }
.ro-book-p b { display: block; font-size: 28px; color: var(--ro-brand); line-height: 1.1; }
.ro-book-p small { color: var(--ro-muted); font-size: 13px; }
@media (max-width: 640px) {
  .ro-book-car { flex-wrap: wrap; gap: 10px; padding: 12px 14px; }
  .ro-book-car > img { width: 120px; height: 76px; }
  .ro-book-i > b { font-size: 17px; }
  .ro-book-p { width: 100%; text-align: start; display: flex; align-items: baseline; gap: 6px; }
  .ro-book-p b { font-size: 22px; }
}
@media (max-width: 1023px) {
  .ro-sort { margin-inline-start: 0; }
  .ro-cats { flex-wrap: nowrap; overflow-x: auto; margin-inline: -4px; padding: 2px 4px 6px; scrollbar-width: none; }
  .ro-cats::-webkit-scrollbar { display: none; }
  .ro-offer .ro-cat { white-space: nowrap; flex: none; }
}
.ro-seats .ro-i { width: 16px; height: 16px; }
.ro-seats { margin-inline-start: 0; }
@media (min-width: 1024px) {
  .ro-fl-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
}

/* ===== الأسطول: بحث وفلاتر مضغوطة ===== */
.ro-fs { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) auto minmax(0, 1fr); gap: 8px; align-items: stretch; background: #fff; border: 1px solid var(--ro-line); border-radius: var(--ro-r); padding: 10px; margin: 0 0 14px; box-shadow: var(--ro-shadow); scroll-margin-top: 90px; }
.ro-fs-f { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 0; min-height: 58px; padding: 6px 12px; border: 1.5px solid var(--ro-line); border-radius: 12px; background: #fff; cursor: pointer; min-width: 0; }
.ro-fs-f:hover, .ro-fs-f:focus-within { border-color: var(--ro-brand); box-shadow: 0 0 0 3px var(--ro-brand-l); }
.ro-fs-k, .ro-fs .ro-date-k { display: flex; align-items: center; gap: 5px; font-size: 12px; color: var(--ro-muted); white-space: nowrap; }
.ro-fs-k .ro-i, .ro-fs .ro-date-k .ro-i { width: 14px; height: 14px; color: var(--ro-brand); }
.ro-fs .ro-date b { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ro-fs-city select { appearance: none; -webkit-appearance: none; border: 0 !important; background: transparent !important; padding: 0 !important; margin: 0; font: inherit; font-weight: 700; font-size: 15px; color: var(--ro-ink); cursor: pointer; width: 100%; min-height: 0 !important; box-shadow: none !important; outline: none; }
.ro-fs-city::after { content: ""; position: absolute; inset-inline-end: 14px; top: 50%; width: 7px; height: 7px; border-right: 2px solid var(--ro-muted); border-bottom: 2px solid var(--ro-muted); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.ro-fs-hint { display: flex; align-items: center; gap: 4px; font-size: 11px; color: var(--ro-ok); white-space: nowrap; }
.ro-fs-hint .ro-i { width: 12px; height: 12px; }
.ro-fs-days { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 58px; padding: 4px 10px; border-radius: 12px; background: var(--ro-brand-l); color: var(--ro-brand); line-height: 1.1; }
.ro-fs-days b { font-size: 20px; }
.ro-fs-days span { font-size: 11px; }
.ro-fcars { scroll-margin-top: 90px; }
.ro-cats { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 2px 2px 4px; margin: 0 0 8px; }
.ro-cats::-webkit-scrollbar { display: none; }
.ro-offer .ro-cat, .ro-offer .ro-cat:focus { white-space: nowrap; flex: none; min-height: 36px; padding: 5px 14px; }
.ro-fl-tools { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 2px 2px 6px; gap: 6px; }
.ro-fl-tools::-webkit-scrollbar { display: none; }
.ro-toggle { flex: none; white-space: nowrap; min-height: 36px; }
.ro-psel { position: relative; flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 30px 0 12px; border: 1.5px solid var(--ro-line); border-radius: 999px; background: #fff; font-size: 13px; cursor: pointer; }
.ro-offer[dir=rtl] .ro-psel { padding: 0 12px 0 30px; }
.ro-psel .ro-i { width: 15px; height: 15px; color: var(--ro-brand); flex: none; }
.ro-psel select { appearance: none; -webkit-appearance: none; border: 0 !important; background: transparent !important; padding: 0 !important; margin: 0; font: inherit; color: var(--ro-ink); cursor: pointer; min-height: 0 !important; box-shadow: none !important; outline: none; white-space: nowrap; }
.ro-psel::after { content: ""; position: absolute; inset-inline-end: 12px; top: 50%; width: 6px; height: 6px; border-right: 1.5px solid var(--ro-muted); border-bottom: 1.5px solid var(--ro-muted); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.ro-psel:hover { border-color: var(--ro-brand); }
.ro-fl-count { margin: 2px 2px 10px; }
@media (max-width: 760px) {
  .ro-fs { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); padding: 8px; gap: 6px; }
  .ro-fs-city { grid-column: 1 / -1; min-height: 52px; }
  .ro-fs-f { min-height: 52px; padding: 5px 10px; }
  .ro-fs .ro-date b { font-size: 14px; }
  .ro-fs-days { min-width: 50px; grid-column: auto; grid-row: auto; flex-direction: column; gap: 0; min-height: 0; }
  .ro-fs-days b { font-size: 18px; }
}

/* صف الفلاتر بنفس شكل البحث */
.ro-ff { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ro-fs-sel select { appearance: none; -webkit-appearance: none; border: 0 !important; background: transparent !important; padding: 0 !important; margin: 0; font: inherit; font-weight: 700; font-size: 15px; color: var(--ro-ink); cursor: pointer; width: 100%; min-height: 0 !important; box-shadow: none !important; outline: none; }
.ro-fs-sel::after { content: ""; position: absolute; inset-inline-end: 14px; top: 50%; width: 7px; height: 7px; border-right: 2px solid var(--ro-muted); border-bottom: 2px solid var(--ro-muted); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
@media (max-width: 760px) {
  .ro-ff { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ro-fs-sel { min-height: 52px; }
  .ro-fs-sel select { font-size: 14px; }
}

/* قوائم منسدلة بتصميم الموقع */
.ro-dd { padding: 0; }
.ro-dd.is-open { z-index: 40; border-color: var(--ro-brand); box-shadow: 0 0 0 3px var(--ro-brand-l); }
.ro-offer .ro-dd-btn, .ro-offer .ro-dd-btn:focus, .ro-offer .ro-dd-btn:hover { all: unset; box-sizing: border-box; display: flex; flex-direction: column; justify-content: center; width: 100%; min-height: inherit; padding: 6px 34px 6px 12px; cursor: pointer; color: var(--ro-ink); text-align: start; }
.ro-offer[dir=rtl] .ro-dd-btn, .ro-offer[dir=rtl] .ro-dd-btn:focus, .ro-offer[dir=rtl] .ro-dd-btn:hover { padding: 6px 12px 6px 34px; }
.ro-dd-btn b { font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ro-dd::after { content: ""; position: absolute; inset-inline-end: 14px; top: 50%; width: 7px; height: 7px; border-right: 2px solid var(--ro-muted); border-bottom: 2px solid var(--ro-muted); transform: translateY(-70%) rotate(45deg); pointer-events: none; transition: transform .2s; }
.ro-dd.is-open::after { transform: translateY(-20%) rotate(-135deg); border-color: var(--ro-brand); }
.ro-dd-list { position: absolute; top: calc(100% + 6px); inset-inline: -1px; z-index: 41; list-style: none; margin: 0; padding: 6px; background: #fff; border: 1px solid var(--ro-line); border-radius: 14px; box-shadow: 0 18px 40px rgba(26, 32, 44, .16); max-height: 300px; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .15s, transform .15s, visibility .15s; }
.ro-dd.is-open .ro-dd-list { opacity: 1; visibility: visible; transform: none; }
.ro-dd-list li { margin: 0; padding: 0; }
.ro-offer .ro-dd-o, .ro-offer .ro-dd-o:focus { all: unset; box-sizing: border-box; display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; padding: 10px 12px; border-radius: 10px; font-size: 15px; color: var(--ro-ink); cursor: pointer; }
.ro-offer .ro-dd-o:hover { background: var(--ro-soft); color: var(--ro-brand); }
.ro-offer .ro-dd-o.is-on { background: var(--ro-brand-l); color: var(--ro-brand); font-weight: 700; }
.ro-dd-o .ro-i { width: 16px; height: 16px; color: var(--ro-brand); }
.ro-offer .ro-dd-btn:focus-visible { outline: 2px solid var(--ro-brand); outline-offset: -2px; border-radius: 12px; }
.ro-offer .ro-dd-o:focus-visible { outline: 2px solid var(--ro-brand); outline-offset: -2px; }

/* خانات التاريخ (أزرار بتفتح تقويم الموقع) */
.ro-offer button.ro-date, .ro-offer button.ro-date:hover, .ro-offer button.ro-date:focus { font: inherit; text-align: start; width: 100%; background: #fff !important; color: var(--ro-ink) !important; box-shadow: none; text-transform: none; letter-spacing: normal; }
.ro-offer button.ro-date:hover, .ro-offer button.ro-date:focus-visible { border-color: var(--ro-brand); box-shadow: 0 0 0 3px var(--ro-brand-l); outline: none; }

/* التقويم */
.ro-cal-wrap { position: fixed; inset: 0; z-index: 100000; font-family: inherit; }
.ro-cal { position: absolute; width: 320px; background: #fff; border: 1px solid #e6e9ef; border-radius: 18px; box-shadow: 0 22px 50px rgba(26, 32, 44, .2); padding: 14px; color: #1a202c; animation: ro-cal-in .16s ease both; line-height: 1.4; }
@keyframes ro-cal-in { from { opacity: 0; transform: translateY(-6px); } }
.ro-cal-wrap.is-sheet { background: rgba(26, 32, 44, .45); }
.ro-cal-wrap.is-sheet .ro-cal { left: 0; right: 0; bottom: 0; top: auto; width: auto; border-radius: 22px 22px 0 0; padding: 16px 16px calc(16px + env(safe-area-inset-bottom)); animation-name: ro-cal-up; }
@keyframes ro-cal-up { from { transform: translateY(100%); } }
.ro-cal-top { display: flex; align-items: center; justify-content: space-between; margin: 0 0 8px; }
.ro-cal-top b { font-size: 15px; }
.ro-cal button { all: unset; box-sizing: border-box; cursor: pointer; font: inherit; }
.ro-cal .ro-cal-x { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; color: #5f6b7a; }
.ro-cal .ro-cal-x:hover { background: #f7f8fb; }
.ro-cal-h { display: flex; align-items: center; justify-content: space-between; margin: 0 0 6px; }
.ro-cal-h b { font-size: 15px; color: #b02486; }
.ro-cal .ro-cal-n { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: 22px; color: #1a202c; border: 1px solid #e6e9ef; }
.ro-cal .ro-cal-n:hover { border-color: #b02486; color: #b02486; }
.ro-cal .ro-cal-n[disabled] { opacity: .3; cursor: default; }
.ro-cal-w, .ro-cal-g { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; }
.ro-cal-w span { font-size: 11px; color: #5f6b7a; padding: 4px 0; }
.ro-cal .ro-cal-d { height: 40px; border-radius: 10px; display: grid; place-items: center; font-size: 14px; font-weight: 700; color: #1a202c; position: relative; }
.ro-cal .ro-cal-d:hover { background: #fbeff6; color: #b02486; }
.ro-cal .ro-cal-d[disabled] { color: #c7ccd6; font-weight: 400; cursor: default; background: none; text-decoration: line-through; text-decoration-color: rgba(199, 204, 214, .6); }
.ro-cal .ro-cal-d.is-in { background: #fbeff6; color: #8a1b69; border-radius: 0; }
.ro-cal .ro-cal-d.is-start, .ro-cal .ro-cal-d.is-end { background: #b02486; color: #fff; box-shadow: 0 6px 14px rgba(176, 36, 134, .3); }
.ro-cal .ro-cal-d.is-today:not(.is-start):not(.is-end)::after { content: ""; position: absolute; bottom: 5px; width: 4px; height: 4px; border-radius: 50%; background: #fb6a27; }
.ro-cal-f { margin: 10px 0 0; padding: 8px 10px; background: #f7f8fb; border-radius: 10px; font-size: 13px; color: #5f6b7a; text-align: center; }
.ro-cal-f b { color: #b02486; }
.ro-cal-wrap.is-sheet .ro-cal-d { height: 44px; }

/* رمز الدولة */
.ro-phone { align-items: stretch; }
.ro-cc { position: relative; flex: none; }
.ro-offer .ro-cc-btn, .ro-offer .ro-cc-btn:hover, .ro-offer .ro-cc-btn:focus { all: unset; box-sizing: border-box; display: flex; align-items: center; gap: 6px; height: 100%; min-height: 48px; padding: 0 28px 0 12px; border: 1.5px solid var(--ro-line); border-radius: 12px; background: #fff; cursor: pointer; color: var(--ro-ink); font-size: 15px; }
.ro-cc.is-open .ro-cc-btn, .ro-offer .ro-cc-btn:focus-visible { border-color: var(--ro-brand); box-shadow: 0 0 0 3px var(--ro-brand-l); }
.ro-cc::after { content: ""; position: absolute; right: 12px; top: 50%; width: 6px; height: 6px; border-right: 1.5px solid var(--ro-muted); border-bottom: 1.5px solid var(--ro-muted); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.ro-cc-f { font-size: 18px; line-height: 1; }
.ro-cc-list { width: 300px; inset-inline: auto; left: 0; padding: 8px; max-height: 340px; display: flex; flex-direction: column; }
.ro-cc-list ul { list-style: none; margin: 6px 0 0; padding: 0; overflow-y: auto; flex: 1; }
.ro-cc-list li[hidden] { display: none; }
.ro-offer .ro-cc-q { width: 100%; min-height: 40px; border: 1.5px solid var(--ro-line); border-radius: 10px; padding: 6px 10px; font: inherit; font-size: 14px; }
.ro-offer .ro-cc-q:focus { border-color: var(--ro-brand); outline: none; }
.ro-cc-n { display: flex; align-items: center; gap: 8px; }
.ro-cc-c { color: var(--ro-muted); font-size: 13px; }
.ro-dd-o.is-on .ro-cc-c { color: var(--ro-brand); }
.ro-cc-none { display: none; margin: 10px 0; text-align: center; font-size: 13px; color: var(--ro-muted); }
.ro-cc-list.is-empty .ro-cc-none { display: block; }
.ro-cc .ro-dd-o { direction: rtl; }
.ro-offer[dir=ltr] .ro-cc .ro-dd-o { direction: ltr; }
@media (max-width: 640px) {
  .ro-cc-list { width: min(300px, calc(100vw - 48px)); }
}

/* التقويم الواحد (استلام + تسليم) */
.ro-cal.is-two { width: 620px; }
.ro-cal-steps { display: flex; gap: 6px; }
.ro-cal-steps span { font-size: 13px; padding: 5px 12px; border-radius: 999px; background: #f7f8fb; color: #5f6b7a; }
.ro-cal-steps span.is-on { background: #b02486; color: #fff; font-weight: 700; }
.ro-cal-steps span.is-done { background: #fbeff6; color: #8a1b69; }
.ro-cal-body { position: relative; display: flex; gap: 22px; padding-top: 2px; }
.ro-cal-m { flex: 1; min-width: 0; }
.ro-cal-mt { display: block; text-align: center; font-size: 15px; color: #b02486; height: 34px; line-height: 34px; margin-bottom: 4px; }
.ro-cal .ro-cal-prev, .ro-cal .ro-cal-next { position: absolute; top: 2px; z-index: 1; }
.ro-cal .ro-cal-prev { inset-inline-start: 0; }
.ro-cal .ro-cal-next { inset-inline-end: 0; }
.ro-cal-f { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; }
/* الوقت في قوائم منسدلة */
.ro-times-dd { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ro-times-dd .ro-fs-f { min-height: 58px; }
.ro-times-dd .ro-dd-list { max-height: 260px; }
@media (max-width: 640px) {
  .ro-times-dd { grid-template-columns: 1fr; }
}

/* القسم اللي فيه قائمة مفتوحة يبقى فوق الأقسام اللي بعده */
.ro-offer .ro-up { position: relative; z-index: 60; }
.ro-offer .ro-step:has(.ro-dd.is-open), .ro-offer .ro-fs:has(.ro-dd.is-open) { position: relative; z-index: 60; }

/* أنواع الحجز في الأسطول: يومي / شهري / باقات */
.ro-btypes { grid-column: 1 / -1; display: inline-flex; justify-self: start; gap: 4px; padding: 4px; background: var(--ro-soft); border-radius: 12px; }
.ro-offer .ro-btype, .ro-offer .ro-btype:focus { all: unset; box-sizing: border-box; cursor: pointer; padding: 7px 18px; border-radius: 9px; font-size: 14px; font-weight: 700; color: var(--ro-muted); }
.ro-offer .ro-btype:hover { color: var(--ro-brand); }
.ro-offer .ro-btype.is-on { background: #fff; color: var(--ro-brand); box-shadow: 0 2px 8px rgba(26, 32, 44, .1); }
.ro-fs.is-pkg { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); }
.ro-fs-f.is-fixed { cursor: default; background: var(--ro-soft); border-style: dashed; }
.ro-fs-f.is-fixed:hover { border-color: var(--ro-line); box-shadow: none; }
@media (max-width: 760px) {
  .ro-btypes { justify-self: stretch; display: grid; grid-template-columns: repeat(3, 1fr); }
  .ro-offer .ro-btype { text-align: center; padding: 7px 6px; font-size: 13px; }
  .ro-fs.is-pkg { grid-template-columns: 1fr 1fr; }
  .ro-fs.is-pkg .is-fixed { grid-column: 1 / -1; }
}

/* بحث الصفحة الرئيسية */
.ro-fs.is-home { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) auto minmax(0, 1fr) auto; box-shadow: 0 20px 50px rgba(26, 32, 44, .16); border-radius: 22px; padding: 14px; margin: 0; }
.ro-fs.is-home.is-pkg { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) auto; }
.ro-offer .ro-fs-go, .ro-offer .ro-fs-go:hover, .ro-offer .ro-fs-go:focus { all: unset; box-sizing: border-box; cursor: pointer; display: grid; place-items: center; padding: 0 28px; min-height: 58px; border-radius: 12px; background: var(--ro-accent); color: #fff; font-weight: 800; font-size: 16px; white-space: nowrap; box-shadow: 0 10px 20px rgba(251, 106, 39, .3); transition: transform .15s; }
.ro-offer .ro-fs-go:hover { transform: translateY(-1px); }
.ro-fs-quick { grid-column: 1 / -1; display: flex; gap: 6px; flex-wrap: wrap; align-items: center; font-size: 13px; color: var(--ro-muted); }
.ro-offer .ro-fs-quick button, .ro-offer .ro-fs-quick button:focus { all: unset; flex: none; white-space: nowrap; cursor: pointer; border: 1px solid var(--ro-line); border-radius: 999px; padding: 4px 12px; color: var(--ro-ink); font-size: 13px; background: #fff; }
.ro-offer .ro-fs-quick button:hover { border-color: var(--ro-brand); color: var(--ro-brand); }
@media (max-width: 760px) {
  .ro-fs.is-home, .ro-fs.is-home.is-pkg { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
  .ro-fs.is-home.is-pkg { grid-template-columns: 1fr 1fr; }
  .ro-offer .ro-fs-go { grid-column: 1 / -1; min-height: 52px; }
  .ro-fs-quick { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .ro-fs-quick button { flex: none; white-space: nowrap; }
}

/* رأس صفحة الأسطول (نفس رأس الصفحات الجديدة) */
.rf-hero .rh-hero-in { padding-top: 52px; padding-bottom: 60px; }
.ro-fleet-head + .ro-offer.ro-fleet { margin-top: 24px; padding-inline: 20px; }
@media (max-width: 700px) { .rf-hero .rh-hero-in { padding-top: 30px; padding-bottom: 34px; } .ro-fleet-head + .ro-offer.ro-fleet { padding-inline: 12px; margin-top: 16px; } }
/* 0.35.0: عرض السيارات 4 ثم 4 */
.ro-more { text-align: center; padding: 14px 0 4px; }
.ro-offer .ro-more .ro-link { font-weight: 800; }
/* 0.35.2: المسافة لكل فرع */
.ro-br-n { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.ro-km { font-size: 12px; font-weight: 400; color: var(--ro-muted); margin-top: 3px; }
.ro-radio.is-on .ro-km { color: var(--ro-brand); }
/* 0.47.5: أقرب فرع ظاهر في كارت كامل، وباقي الفروع في قائمة مقفولة */
.ro-branches.is-list { display: block; }
.ro-branches.is-list .ro-radio { margin: 0 0 10px; padding: 13px 16px; min-height: 58px; }
.ro-br-n b { font-size: 15px; font-weight: 800; }
.ro-br-ck { margin-inline-start: auto; color: var(--ro-brand); display: inline-flex; flex: none; }
.ro-br-ck .ro-i { width: 20px; height: 20px; }
.ro-br-tg { font-family: inherit; margin: 0 0 10px; }
.ro-br-tg .ro-lad-c { display: none; }
.ro-branches.is-open .ro-br-tg .ro-lad-c { display: inline; }
.ro-branches.is-open .ro-br-tg .ro-lad-o { display: none; }
.ro-branches.is-open .ro-br-tg i { transform: rotate(-135deg); margin-top: 3px; }
.ro-br-more { display: none; }
.ro-branches.is-open .ro-br-more { display: block; }
.ro-br-more .ro-radio:last-child { margin-bottom: 0; }
.ro-offer .ro-dates .ro-date.is-fixed { cursor: default; background: var(--ro-soft); border-style: dashed; }

/* عرض السيارات حسب اهتمام الزائر */
.ro-why { position: absolute; bottom: auto; top: 44px; inset-inline-start: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 4px; background: #fff; color: var(--ro-brand); border: 1.5px solid var(--ro-brand); font-size: 11.5px; font-weight: 800; padding: 2px 10px; border-radius: 999px; box-shadow: 0 3px 8px rgba(176, 36, 134, .15); }
.ro-card:not(:has(.ro-card-badge)) .ro-why { top: 12px; }
.ro-reco { background: #fbeff6; border: 1.5px dashed #e3b8d5; border-radius: 20px; padding: 14px; margin: 0 0 16px; }
.ro-reco h4 { margin: 0 0 10px; font-size: 17px; color: var(--ro-ink); }
.ro-reco .ro-card { border-color: var(--ro-brand); }
.ro-resume { display: flex; align-items: center; gap: 14px; background: linear-gradient(120deg, #4e0c3c, #8a1b69 55%, #b02486); color: #fff; border-radius: 18px; padding: 12px 16px; margin: 0 0 14px; box-shadow: 0 10px 26px rgba(138, 27, 105, .25); }
.ro-resume img { width: 104px; height: 62px; object-fit: contain; background: rgba(255, 255, 255, .14); border-radius: 12px; flex: none; }
.ro-resume > div { flex: 1; min-width: 0; }
.ro-resume b { display: block; font-size: 15px; }
.ro-resume small { display: block; opacity: .85; font-size: 12.5px; margin-top: 2px; }
.ro-offer .ro-resume-go { border: 0; background: #fff; color: #8a1b69; font: inherit; font-weight: 800; border-radius: 12px; padding: 10px 16px; cursor: pointer; white-space: nowrap; }
.ro-offer .ro-resume-x { border: 0; background: rgba(255, 255, 255, .15); color: #fff; width: 30px; height: 30px; border-radius: 50%; font-size: 18px; line-height: 1; cursor: pointer; flex: none; padding: 0; }
@media (max-width: 640px) {
  .ro-resume { flex-wrap: wrap; }
  .ro-resume img { width: 80px; height: 50px; }
  .ro-offer .ro-resume-go { flex: 1; }
}

/* سلّم الأسعار في كارت السيارة */
.ro-ladder { display: block; margin: 10px 0 2px; text-align: start; }
.ro-ladder:empty { display: none; }
.ro-lad-t { display: block; font-size: 12px; color: #5f6b7a; margin: 0 0 4px; }
.ro-lad-r { display: grid; grid-template-columns: 62px 1fr auto; align-items: center; gap: 6px; padding: 6px 0; border-top: 1px dashed #e6e9ef; font-size: 13px; }
.ro-lad-l { font-weight: 800; color: #1a202c; }
.ro-lad-p b { font-size: 14px; color: #1a202c; }
.ro-lad-p small { color: #5f6b7a; font-size: 11px; }
.ro-lad-p .ro-lad-d { display: block; }
.ro-lad-s { text-align: end; }
.ro-lad-s em { display: inline-block; font-style: normal; font-weight: 800; font-size: 12px; color: #0a7a3d; background: #e6f6ec; border-radius: 999px; padding: 2px 8px; }
.ro-lad-s small { display: block; color: #5f6b7a; font-size: 11px; margin-top: 2px; }
.ro-lad-tg { display: flex; align-items: center; justify-content: center; gap: 6px; cursor: pointer; font-size: 13px; font-weight: 800; color: #b02486; padding: 8px 10px; border: 1.5px dashed #e8c6dc; border-radius: 12px; background: #fff; }
.ro-lad-tg:hover { background: #fbeff6; }
.ro-lad-tg i { width: 7px; height: 7px; border-inline-end: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-top: -3px; transition: transform .2s; }
.ro-ladder.is-open .ro-lad-tg i { transform: rotate(-135deg); margin-top: 3px; }
.ro-lad-body { display: none; margin-top: 8px; }
.ro-ladder.is-open .ro-lad-body { display: block; }
.ro-lad-c { display: none; }
.ro-ladder.is-open .ro-lad-c { display: inline; }
.ro-ladder.is-open .ro-lad-o { display: none; }
.ro-ladder { align-self: stretch; }
.ro-lad-tg { width: 100%; box-sizing: border-box; }
.ro-lad-r[data-ladpick] { cursor: pointer; border-radius: 10px; padding-inline: 6px; margin-inline: -6px; transition: background .15s; }
.ro-lad-r[data-ladpick]:hover { background: #fbeff6; }
.ro-lad-r[data-ladpick]:active { background: #f5d9ea; }

/* 0.47.24: نصوص خطوة الدخول داخل الحجز في المنتصف */
#ro-s4 .ro-note, #ro-s4 .ro-welcome, #ro-s4 .ro-error, #ro-s4 .ro-secure { text-align: center; justify-content: center; }
#ro-s4 .ro-field > span:first-child, #ro-s4 .ro-field > label { text-align: center; }
#ro-s4 .ro-terms { justify-content: center; text-align: center; align-items: center; }
#ro-s4 .ro-otp { text-align: center; }

/* 0.47.28: بنود مشمولة، إضافة مقفولة، وتنبيه الدفع في الفرع */
.ro-lines .ro-incl { color: var(--ro-ok); font-weight: 700; }
.ro-lines dt.ro-incl .ro-i { width: 16px; height: 16px; }
.ro-extra.is-lock { opacity: .92; cursor: default; background: var(--ro-brand-l); }
.ro-cashwarn { display: flex; flex-direction: column; gap: 4px; margin: 12px 0; padding: 12px 14px; border-radius: 12px; background: #fff7e6; border: 1.5px solid #f2c46d; color: #7a4b00; line-height: 1.7; font-size: 14px; }
.ro-cashwarn b { font-size: 15px; }

/* 0.47.30: رسالة «سجّل دخولك لتكمل الحجز» */
.ro-loginreq { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 14px; padding: 12px 14px; border-radius: 12px; background: var(--ro-brand-l); color: var(--ro-brand-d); line-height: 1.7; font-size: 14px; }
.ro-loginreq .ro-i { flex: none; width: 20px; height: 20px; margin-top: 2px; }
.ro-loginreq span { display: flex; flex-direction: column; gap: 2px; }
.ro-loginreq b { font-size: 15px; }
#ro-s4 .ro-btn[data-otp] { width: 100%; }

/* 0.47.33: مربع رمز التحقق أكبر وفي المنتصف، وزر «متابعة» بعرض الكارت */
#ro-s4 .ro-otp { display: block; width: 100%; max-width: 360px; height: 64px; margin: 8px auto 10px; font-size: 32px !important; letter-spacing: 14px; padding: 0 12px; border-radius: 14px; }
#ro-s4 .ro-paste { margin: 0 auto 14px; width: auto; }
#ro-s4 .ro-row:has([data-verify]) { flex-direction: column; align-items: center; gap: 10px; }
#ro-s4 [data-verify] { width: 100%; max-width: 360px; }
#ro-s4 [data-signup] { width: 100%; }

/* 0.47.41: خانة تواريخ واحدة (الاستلام ← التسليم · عدد الأيام) + التقويم بخطوتين وعدد الأيام */
.ro-fs.is-rg { grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); }
.ro-fs.is-rg.is-home { grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr) auto; }
.ro-offer .ro-fs-range, .ro-offer .ro-fs-range:hover, .ro-offer .ro-fs-range:focus, .ro-offer .ro-fs-range:active, .ro-offer .ro-fs-range:focus-visible { background: #fff !important; background-image: none !important; color: var(--ro-ink) !important; outline: none; text-transform: none; letter-spacing: normal; line-height: inherit; }
.ro-offer .ro-fs-range:hover, .ro-offer .ro-fs-range:focus, .ro-offer .ro-fs-range:active, .ro-offer .ro-fs-range.is-open { border-color: var(--ro-brand); box-shadow: 0 0 0 3px var(--ro-brand-l); }
.ro-offer .ro-fs-range small, .ro-offer .ro-fs-range:hover small, .ro-offer .ro-fs-range:focus small { color: var(--ro-muted); }
.ro-offer .ro-fs-range b { color: var(--ro-ink); }
.ro-offer .ro-fs-range, .ro-offer .ro-fs-range:focus { flex-direction: row; align-items: center; justify-content: flex-start; gap: 12px; text-align: start; font: inherit; color: var(--ro-ink); }
.ro-fs-range .ro-rg-p { display: flex; flex-direction: column; min-width: 0; }
.ro-fs-range .ro-rg-p b { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ro-fs-range .ro-rg-a { color: var(--ro-brand); font-weight: 800; flex: none; }
.ro-fs-range .ro-rg-n { margin-inline-start: auto; flex: none; background: var(--ro-brand-l); color: var(--ro-brand); border-radius: 10px; padding: 6px 12px; font-weight: 800; font-size: 13px; white-space: nowrap; }
.ro-cal-st { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 0 0 10px; }
.ro-cal-st button { all: unset; box-sizing: border-box; cursor: pointer; border-radius: 10px; padding: 7px 8px; text-align: center; background: #f4f5f8; color: #5f6b7a; font-size: 12px; line-height: 1.4; }
.ro-cal-st button b { display: block; color: #1a202c; font-size: 13px; }
.ro-cal-st button.is-on { background: #fbeff6; color: #b02486; box-shadow: inset 0 0 0 1.5px #b02486; }
.ro-cal-dz { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0 0 8px; font-size: 13px; color: #5f6b7a; }
.ro-cal-dz input[type="number"] { width: 70px !important; height: 38px; min-height: 0 !important; border: 1.5px solid #b02486 !important; border-radius: 10px !important; text-align: center; font: inherit; font-size: 16px !important; font-weight: 800; color: #1a202c; padding: 0 6px !important; margin: 0; background: #fff; -moz-appearance: textfield; }
.ro-cal-dz input::-webkit-outer-spin-button, .ro-cal-dz input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.ro-cal-ch { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 10px; }
.ro-cal-ch button { all: unset; box-sizing: border-box; cursor: pointer; border: 1.5px solid #e6e9ef; border-radius: 999px; padding: 4px 11px; font-size: 12.5px; color: #1a202c; background: #fff; }
.ro-cal-ch button:hover { border-color: #b02486; }
.ro-cal-ch button.is-on { border-color: #b02486; background: #fbeff6; color: #b02486; font-weight: 800; }
.ro-cal-hint { margin: -4px 0 8px; font-size: 12px; color: #b45309; }
.ro-cal-f:has(.ro-cal-ok) { display: flex; align-items: center; justify-content: space-between; gap: 10px; text-align: start; flex-wrap: wrap; }
.ro-cal .ro-cal-ok { all: unset; box-sizing: border-box; cursor: pointer; background: #b02486; color: #fff; border-radius: 10px; padding: 7px 18px; font-weight: 800; font-size: 13px; }
.ro-cal .ro-cal-ok:hover { background: #8a1b69; }
@media (max-width: 760px) {
  .ro-fs.is-rg, .ro-fs.is-rg.is-home { grid-template-columns: minmax(0, 1fr); }
  .ro-fs-range { gap: 8px; }
  .ro-fs-range .ro-rg-p b { font-size: 14px; }
  .ro-fs-range .ro-rg-n { padding: 5px 9px; }
}

/* عدد الأيام القابل للكتابة (الكمبيوتر) */
.ro-fs-days.is-edit { cursor: text; }
.ro-fs-days.is-edit:hover, .ro-fs-days.is-edit:focus-within { box-shadow: 0 0 0 2px var(--ro-brand); }
.ro-offer .ro-fs-days input[type="number"] { all: unset; box-sizing: border-box; width: 48px; text-align: center; font-size: 20px; font-weight: 800; color: var(--ro-brand); line-height: 1.1; background: transparent; -moz-appearance: textfield; }
.ro-offer .ro-fs-days input::placeholder { color: var(--ro-brand); opacity: .35; }
.ro-offer .ro-fs-days input::-webkit-outer-spin-button, .ro-offer .ro-fs-days input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.ro-cal-dz input::placeholder { color: #b8bfca; }

/* 0.47.70: صورة العرض بتظهر كاملة بأي مقاس، والفراغ بيتملا بنسخة مموّهة منها */
.ro-hero-img { overflow: hidden; background: #4e0c3c; }
.ro-hero-img::before { content: ""; position: absolute; inset: -60px; background: var(--ro-bg) center / cover no-repeat; filter: blur(26px) brightness(.8); transform: scale(1.05); }
.ro-hero-img img { position: relative; object-fit: contain; }
.ro-hero.has-img.is-clean .ro-hero-img::before { display: none; }
@media (max-width: 640px) {
  .ro-hero-img::before { background-image: var(--ro-bg-m, var(--ro-bg)); }
}
@media (max-width: 640px) {
  .ro-hero.has-img .ro-hero-txt { margin-top: 0; padding-top: 16px; background: var(--ro-brand); }
}
/* 0.47.73: صورة العرض على الجوال بنفس شكل الكمبيوتر (16:7) */
@media (max-width: 640px) {
  .ro-hero.has-img .ro-hero-img { aspect-ratio: 16 / 7; }
}

/* 0.47.75: اختيار الوقت بعد اليوم في التقويم (الاستلام ثم التسليم) */
.ro-fs-t { font-style: normal; color: #b02486; font-weight: 800; white-space: nowrap; }
.ro-cal-tm { padding: 2px 2px 4px; }
.ro-cal-tmh { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 10px; font-size: 14px; }
.ro-cal-tmh button { all: unset; cursor: pointer; color: #b02486; font-size: 12.5px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.ro-cal-tg { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; max-height: 260px; overflow-y: auto; padding: 2px; }
.ro-cal .ro-cal-tg button { all: unset; box-sizing: border-box; cursor: pointer; text-align: center; border: 1.5px solid #e6e9ef; border-radius: 10px; padding: 9px 4px; font-size: 13px; font-weight: 700; color: #1a202c; background: #fff; white-space: nowrap; }
.ro-cal .ro-cal-tg button:hover { border-color: #b02486; color: #b02486; background: #fff; }
.ro-cal .ro-cal-tg button.is-on { background: #b02486; border-color: #b02486; color: #fff; }
@media (max-width: 640px) { .ro-cal-tg { grid-template-columns: repeat(3, minmax(0, 1fr)); max-height: 46vh; } }
