/* V85.49 — unified entry-choice modals for Dalili, showrooms and fuel */
body.entry-gate-open-v8549{overflow:hidden!important}
.entry-gate-v8549[hidden]{display:none!important}
.entry-gate-v8549{
  position:fixed;
  inset:0;
  z-index:7200;
  display:grid;
  place-items:center;
  padding:18px;
  direction:rtl;
}
.entry-gate-v8549__backdrop{
  position:absolute;
  inset:0;
  border:0;
  background:rgba(8,22,43,.60);
  backdrop-filter:blur(9px);
  -webkit-backdrop-filter:blur(9px);
}
.entry-gate-v8549__dialog{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-rows:auto minmax(0,1fr);
  width:min(680px,100%);
  max-height:min(84dvh,760px);
  overflow:hidden;
  border:1px solid rgba(255,255,255,.92);
  border-radius:30px;
  background:#fff;
  box-shadow:0 32px 90px rgba(4,21,48,.30),0 10px 28px rgba(4,21,48,.16);
}
.entry-gate-v8549__head{
  display:grid;
  grid-template-columns:minmax(0,1fr) 48px;
  align-items:center;
  gap:14px;
  padding:20px 22px 16px;
  border-bottom:1px solid #e6edf7;
}
.entry-gate-v8549__head small{
  display:block;
  margin-bottom:3px;
  color:#74839a;
  font-size:12px;
  font-weight:900;
}
.entry-gate-v8549__head h2{
  margin:0;
  color:#10203b;
  font-size:clamp(25px,4vw,34px);
  font-weight:1000;
  line-height:1.15;
}
.entry-gate-v8549__close{
  display:grid;
  place-items:center;
  width:48px;
  height:48px;
  padding:0;
  border:0;
  border-radius:16px;
  background:#edf4ff;
  color:#0b63f6;
  font-size:31px;
  line-height:1;
  cursor:pointer;
}
.entry-gate-v8549__body{
  min-height:0;
  overflow:auto;
  padding:18px 20px 22px;
  overscroll-behavior:contain;
}
.entry-gate-v8549__grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:13px;
}
.entry-gate-v8549__grid.is-governorates{grid-template-columns:repeat(3,minmax(0,1fr))}
.entry-gate-v8549__choice{
  display:grid;
  place-items:center;
  align-content:center;
  gap:10px;
  min-width:0;
  min-height:156px;
  padding:15px 12px;
  border:1.5px solid #d5e2f3;
  border-radius:22px;
  background:linear-gradient(180deg,#fff 0%,#f7faff 100%);
  color:#142542;
  text-decoration:none;
  text-align:center;
  box-shadow:0 8px 22px rgba(24,63,112,.055);
  transition:transform .15s ease,border-color .15s ease,box-shadow .15s ease,background .15s ease;
}
button.entry-gate-v8549__choice{width:100%;font:inherit;cursor:pointer}
.entry-gate-v8549__choice:hover,
.entry-gate-v8549__choice:focus-visible{
  transform:translateY(-2px);
  border-color:#8ab8fb;
  background:#f4f8ff;
  box-shadow:0 14px 28px rgba(17,92,207,.11);
  outline:none;
}
.entry-gate-v8549__choice-icon{
  display:grid;
  place-items:center;
  width:82px;
  height:82px;
  border-radius:22px;
  background:#f0f5ff;
  overflow:hidden;
  font-size:45px;
}
.entry-gate-v8549__choice-icon img{
  width:78px;
  height:78px;
  object-fit:contain;
}
.entry-gate-v8549__choice strong{
  display:block;
  color:inherit;
  font-size:17px;
  font-weight:1000;
  line-height:1.3;
}
.entry-gate-v8549__choice small{
  display:block;
  color:#76869c;
  font-size:10px;
  font-weight:800;
  line-height:1.35;
}
.entry-gate-v8549__choice.is-hotel{border-color:#c7dcff;background:#f7faff;color:#155fd4}
.entry-gate-v8549__choice.is-tourism{border-color:#bfead9;background:#f5fcf9;color:#087b62}
.entry-gate-v8549__choice.is-religious{border-color:#f0d9a8;background:#fffaf0;color:#9a6500}
.entry-gate-v8549__choice.is-fuel{border-color:#ffd2b5;background:#fff8f2;color:#d45914}
.entry-gate-v8549__choice.is-lpg{border-color:#bce9d0;background:#f3fcf7;color:#0b8148}
.entry-gate-v8549__choice.is-charging{border-color:#c9d9ff;background:#f5f7ff;color:#5143d7}
.entry-gate-v8549__grid.is-governorates .entry-gate-v8549__choice{
  min-height:82px;
  gap:5px;
  padding:12px 10px;
  border-radius:17px;
}
.entry-gate-v8549__grid.is-governorates .entry-gate-v8549__choice-icon{
  width:38px;
  height:38px;
  border-radius:12px;
  background:#eef5ff;
  color:#0b63f6;
  font-size:22px;
}
.entry-gate-v8549__grid.is-governorates .entry-gate-v8549__choice strong{font-size:14px}
@media(max-width:620px){
  .entry-gate-v8549{padding:10px;align-items:end}
  .entry-gate-v8549__dialog{
    width:100%;
    max-height:88dvh;
    border-radius:26px 26px 18px 18px;
  }
  .entry-gate-v8549__head{grid-template-columns:minmax(0,1fr) 44px;padding:17px 16px 13px}
  .entry-gate-v8549__head h2{font-size:25px}
  .entry-gate-v8549__close{width:44px;height:44px;border-radius:14px;font-size:28px}
  .entry-gate-v8549__body{padding:14px 14px calc(18px + env(safe-area-inset-bottom))}
  .entry-gate-v8549__grid{grid-template-columns:1fr;gap:10px}
  .entry-gate-v8549__choice{
    grid-template-columns:74px minmax(0,1fr);
    justify-items:start;
    min-height:98px;
    padding:10px 13px;
    text-align:right;
  }
  .entry-gate-v8549__choice-icon{grid-row:1/3;width:70px;height:70px;border-radius:19px}
  .entry-gate-v8549__choice-icon img{width:66px;height:66px}
  .entry-gate-v8549__choice strong{align-self:end;font-size:17px}
  .entry-gate-v8549__choice small{align-self:start;font-size:10px}
  .entry-gate-v8549__grid.is-governorates{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .entry-gate-v8549__grid.is-governorates .entry-gate-v8549__choice{
    display:grid;
    grid-template-columns:34px minmax(0,1fr);
    justify-items:start;
    min-height:62px;
    padding:8px 9px;
    text-align:right;
  }
  .entry-gate-v8549__grid.is-governorates .entry-gate-v8549__choice-icon{grid-row:auto;width:34px;height:34px;font-size:19px}
  .entry-gate-v8549__grid.is-governorates .entry-gate-v8549__choice strong{align-self:center;font-size:12px}
}


/* V85.54 — accident/sonar entry gate */
.entry-gate-v8549__grid.is-vehicle-check{
  grid-template-columns:repeat(2,minmax(0,1fr));
}
.entry-gate-v8549__choice.is-car-check{
  border-color:#c7dcff;
  background:#f7faff;
  color:#155fd4;
}
.entry-gate-v8549__choice.is-sonar{
  border-color:#d4ccff;
  background:#faf8ff;
  color:#6046d8;
}
@media(max-width:620px){
  .entry-gate-v8549__grid.is-vehicle-check{grid-template-columns:1fr}
}

/* V85.61 — car-care and rental entry choices */
.entry-gate-v8549__grid.is-car-care{grid-template-columns:repeat(2,minmax(0,1fr))}
.entry-gate-v8549__choice.is-tires{border-color:#c8d7e9;background:#f7f9fc;color:#334a67}
.entry-gate-v8549__choice.is-accessories{border-color:#e7c9f3;background:#fdf7ff;color:#a23ac2}
.entry-gate-v8549__choice.is-oils{border-color:#f2ccb8;background:#fff8f4;color:#cf5d28}
.entry-gate-v8549__choice.is-wash{border-color:#bae7de;background:#f3fcfa;color:#0d8a78}
.entry-gate-v8549__grid.is-rentals{grid-template-columns:repeat(3,minmax(0,1fr))}
.entry-gate-v8549__grid.is-rentals .entry-gate-v8549__choice{min-height:148px}
.entry-gate-v8549__choice.is-rental-sedan{border-color:#f6d88b;background:#fffaf0;color:#a66a00}
.entry-gate-v8549__choice.is-rental-bus{border-color:#d9c8ff;background:#faf7ff;color:#6846c7}
.entry-gate-v8549__choice.is-rental-minibus{border-color:#c8dcff;background:#f6f9ff;color:#2e63bd}
.entry-gate-v8549__choice.is-rental-commute{border-color:#c3e6f5;background:#f5fbfe;color:#217795}
.entry-gate-v8549__choice.is-rental-truck{border-color:#f5cfab;background:#fff8f1;color:#b65d17}
.entry-gate-v8549__choice.is-rental-tow{border-color:#f3c8c8;background:#fff7f7;color:#b54242}
@media(max-width:620px){
  .entry-gate-v8549__grid.is-car-care,
  .entry-gate-v8549__grid.is-rentals{grid-template-columns:1fr}
  .entry-gate-v8549__grid.is-rentals .entry-gate-v8549__choice{min-height:98px}
}


/* V85.62 — restore a proper in-dialog close button for all entry gates */
.entry-gate-v8549__head{
  grid-template-columns:minmax(0,1fr) 48px!important;
}
.entry-gate-v8549__close{
  display:grid!important;
  place-items:center!important;
  align-self:center!important;
  justify-self:end!important;
  width:48px!important;
  height:48px!important;
  min-width:48px!important;
  padding:0!important;
  border:1px solid #d7e5fb!important;
  border-radius:16px!important;
  background:#edf4ff!important;
  color:#0b63f6!important;
  box-shadow:0 7px 18px rgba(11,99,246,.10)!important;
  font-size:31px!important;
  font-family:Arial,sans-serif!important;
  font-weight:500!important;
  line-height:1!important;
  cursor:pointer!important;
  appearance:none!important;
  -webkit-appearance:none!important;
}
.entry-gate-v8549__close:hover,
.entry-gate-v8549__close:focus-visible{
  border-color:#a9c9fb!important;
  background:#e3efff!important;
  color:#0757d9!important;
  outline:none!important;
  box-shadow:0 0 0 4px rgba(11,99,246,.10),0 8px 20px rgba(11,99,246,.12)!important;
}
@media(max-width:620px){
  .entry-gate-v8549__head{
    grid-template-columns:minmax(0,1fr) 44px!important;
    gap:10px!important;
  }
  .entry-gate-v8549__close{
    width:44px!important;
    height:44px!important;
    min-width:44px!important;
    border-radius:14px!important;
    font-size:28px!important;
  }
}
