html, body {
  margin: 0; padding: 0; width: 100%; height: 100%; color-scheme: light dark;
  font-size: 10px;
}


/* Typography & theme */
h1 {
   color:#ffffff; text-rendering: optimizeLegibility;
}


/* Layout containers */
.wide { max-width: 1400px; }
.narrow { max-width: 800px; }
.light-gray { background-color: #f1f1f1; }

/* Header */
.s-header {
  z-index: 500; width: 100%; height: 96px; background-color: transparent; position: absolute; top: 24px;
}
.header-logo {
  z-index: 501; display: inline-block; margin: 0; padding: 0; position: absolute; left: 110px; top: 50%;
  transform: translateY(-50%);
}
.header-logo a {
  display: block; padding: 0; outline: 0; border: none; transition: all 0.3s ease-in-out;
}
.header-logo img { width: 200px; height: 38px; }




/* Responsive header */

/* Default: Desktop (≥1601px) */
.header-logo {
  left: 60px;
}

/* Medium Screens: ≤800px */
@media (max-width: 800px) {
  .header-logo {
    left: 30px;
  }
}

/* Small Screens: ≤600px */
@media (max-width: 600px) {
  .s-header {
    height: 90px;
    top: 12px;
  }
  .header-logo {
    left: 30px;
  }
  .header-logo img {
    width: 110px;
    height: 40px;
  }
}


/* Home section */
.s-home {
  width: 100%;
  height: calc(var(--vh, 1vh) * 100); /* Full screen height that works in PWAs */
  background-color: transparent;
  position: relative;
  display: table;
}

.s-home .shadow-overlay {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0.5;
  background: linear-gradient(to bottom, black 1%, transparent 45%, transparent 84%);
}
.s-home::before {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0.4; background-color: #000;
}
.no-js .s-home { background: #000; }

/* Home content */
.home-content {
  display: table-cell; width: 100%; height: 100%; vertical-align: middle; padding-bottom: 15.6rem; overflow: visible; position: relative;
}
.home-content h1 {
  font-family: Tajawal, sans-serif; font-size: 4rem; line-height: 1.1; margin-top: 0; color: #fff;
}


.home-content__main {
  padding-top: 15rem; margin: 0 auto; position: relative; text-align: center; max-width: 1000px; padding-right: 0;
}
html.cl-preload .home-content__main { opacity: 0; }
html.cl-loaded .home-content__main {
  animation-duration: 2s; animation-name: fadeIn;
}
html.no-csstransitions .home-content__main { opacity: 1; }




/* Responsive home */
/* Desktop styles: ≥800px */
@media (min-width: 800px) {
  .home-content h1 {
    font-size: 4rem;
    font-weight: bold;
  }

  .home-content h1 + p {
    font-size: 3rem;
    color: white;
    font-family: Tajawal, sans-serif;
  }

  .home-content__main {
    padding-top: 18rem;
    max-width: 85%;

  }
}

/* Mobile styles: <800px */
@media (max-width: 800px) {
  .home-content h1 {
    font-size: 3.1rem;
    line-height: 1.2;
    font-weight: bold;
  }

  .home-content h1 + p {
    font-size: 2.2rem;
    color: white;
    font-family: Tajawal, sans-serif;
    line-height: 1.4;
  }

  .home-content__main {
    padding-top: 18rem;
    max-width: 85%;
  }
}

/* Image slideshow */
.image-slideshow {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; overflow: hidden;
}
.image-slideshow .slide {
  position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: top center;
  opacity: 0; transition: opacity 1.5s ease-in-out;
}
.image-slideshow .slide.active { opacity: 1; }
@media (min-width:768px) {
  .image-slideshow {
    display: flex; flex-direction: row;
  }
  .image-slideshow .slide {
    position: relative; flex: 1; opacity: 1 !important; transition: none;
  }
}

@media (min-width: 768px) {
  .image-slideshow {
    overflow: hidden;
  }

.image-slideshow .slide-track {
  display: flex;
  width: calc(10 * 40vw); /* 10 slides * 40vw each */
  animation: scrollSlides 120s linear infinite;
}


  .image-slideshow .slide {
    position: relative;
    width: 40vw; /* adjust to fit screen nicely */
    height: 100vh;
    flex-shrink: 0;
    object-fit: cover;
    object-position: center;
    opacity: 1 !important;
    transition: none;
  }

  @keyframes scrollSlides {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }
}


/* Word fade animation */
.word {
  opacity: 0; display: inline-block; animation: fadeIn 0.6s ease forwards; margin-right: 6px;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Logo floating animation */
.site-logo img {
  animation: logoFloat 4s ease-in-out infinite; will-change: transform;
}
@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}




#installAppBtn {
  display: none;
  width: 200px;
  height: auto;
  cursor: pointer;
  border: none !important;
  background: transparent !important;
  outline: none !important;
  box-shadow: none !important;
  padding: 0;
  margin: 0;
}

#installAppBtn:focus {
  outline: none;
  box-shadow: none;
  border: none;
}


.android-badge {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}



/* talk to sara */

.talk-to-sara-wrapper {
  margin-top: 24px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.talk-to-sara-button {
  padding: 10px 25px 10px 25px;
  font-size: 22px;
  font-family: Tajawal, sans-serif;
  font-weight: 700;
  color: white;
  background: linear-gradient(85deg, #c14000, #ff6d43, #c14000);
  background-size: 200% 200%;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  animation: sweepDiagonal 8s ease-in-out infinite;
  transition: transform 0.6s ease;
  display: inline-flex;
  align-items: center;
  line-height: 1;
  will-change: transform;
}


.talk-to-sara-icon {
  margin-right: 9px;
}

.talk-to-sara-text {
  display: inline-block;
  line-height: 1;
  margin-top: 5px;
}

@keyframes sweepDiagonal {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.orbit1 {
  transform-origin: 12px 12px;
  animation: orbit1 2s linear infinite;
}

.orbit2 {
  transform-origin: 12px 12px;
  animation: orbit2 3s linear infinite reverse;
}

@keyframes orbit1 {
  0% { transform: rotate(0deg) translateX(4px) rotate(0deg); }
  100% { transform: rotate(360deg) translateX(4px) rotate(-360deg); }
}

@keyframes orbit2 {
  0% { transform: rotate(0deg) translateX(4px) rotate(0deg); }
  100% { transform: rotate(360deg) translateX(4px) rotate(-360deg); }
}


/* Promo sticker */
#promoSticker {
  position: fixed;
  top: 35px;
  right: 0;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.5),
    rgba(255, 255, 255, 0.9),
    rgba(255, 255, 255, 0.5)
  );
  background-size: 300% 300%;
  animation: promoBGAnim 4s ease-in-out infinite;

  font-family: 'Tajawal', sans-serif;
  padding: 5px 18px;
  padding-right: 10px;
  border-top-left-radius: 25px;
  border-bottom-left-radius: 25px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
  user-select: none;
  z-index: 1000;
  cursor: default;
  white-space: nowrap;
  display: none;
  flex-direction: column;
  align-items: center;
  line-height: 0.8;
}

@keyframes promoBGAnim {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}



.promo-label {
  font-weight: 400; /* normal */
  font-size: 17px;
  padding-top: 5px;
   color: black;
}

.promo-code {
  font-weight: 700; /* bold */
  font-size: 27px;
   color: #d26138;
   padding-top: 8px;
}

.promo-timer {
  font-weight: 400; 
  width: 55px;
  font-size: 15px;
  color: #525252; 
  padding-top: 5px;
}

.promo-inline {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  direction: rtl;
}


/* skeleton effect */
.skeleton {
  background: linear-gradient(90deg, #8f8f8f 25%, #afafaf 37%, #8f8f8f 63%);
  animation: shimmer 3.2s infinite;
  background-size: 1000px 100%;
}

@keyframes shimmer {
  0% { background-position: -1000px 0; }
  100% { background-position: 1000px 0; }
}


.skeleton-text {
  height: 16px;
  width: 80%;
  margin-bottom: 8px;
  border-radius: 4px;
}

.skeleton-img {
  height: 180px;
  width: 100%;
  border-radius: 8px;
}

.skeleton-wrapper {
  position: relative;
  width: 100%;
  height: 220px;
  border-radius: 8px;
  overflow: hidden;
}

.skeleton-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #8f8f8f 25%, #afafaf 37%, #8f8f8f 63%);
  background-size: 1000px 100%;
  animation: shimmer 3.4s infinite linear;
  z-index: 1;
}

/* When image has loaded, remove skeleton using :has() (new CSS selector!) */
.skeleton-wrapper:has(img.loaded)::before {
  display: none;
}

/* Optional fade-in for image */
.slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
  position: relative;
  z-index: 2;
}

.slide-image.loaded {
  opacity: 1;
}


/* homepage sub-title animated*/

.subtitle-container {
  transition: opacity 0.7s ease-in-out;
  opacity: 1;
  direction: rtl;
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 3rem;
}

.subtitle-container.fade-out {
  opacity: 0;
}


/* homepage main-title animated*/

#home-title {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s ease;
}

#home-title.animate-in {
  opacity: 1;
  transform: translateY(0);
}



/* talktosara button animated*/

#talkToSara {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s ease;
}

#talkToSara.animate-in {
  opacity: 1;
  transform: translateY(0);
}



/* social icons animated*/

.footer-socials {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  gap: 24px;
  font-size: 20px;
  z-index: 100; /* optional: ensure it's above background elements */
}


.footer-socials a {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.footer-socials a.animate-in {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 640px){
  .footer-socials {
    position: fixed;
    left: 16px;  /* anchor to bottom-left */
    transform: none;
    bottom: calc(16px + env(safe-area-inset-bottom));
    display: flex;
    flex-direction: column;   /* stack vertically */
    align-items: flex-start;  /* align left */
    gap: 12px;                /* space between icons */
    z-index: 200;
  }
}




/* AppStore badge */

#appstore-badge a img {
  width: 200px;
  height: 62px;
  vertical-align: middle;
  object-fit: contain;
  display: block;
}

/* Initial state: hidden and slightly moved down */
#appstore-badge {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s ease;
}

/* When animated in: visible and moved to place */
#appstore-badge.animate-in {
  opacity: 1;
  transform: translateY(0);
}


/* pos badge */

#pos-badge a img {
  width: 225px;
  height: 82px;
  object-fit: contain;
  justify-content: center;
   text-align: center;
  position: relative;
  margin-top: 15px;
}

/* Initial state: hidden and slightly moved down */
#pos-badge {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s ease;
}

/* When animated in: visible and moved to place */
#pos-badge.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* waves use two expanding rings */
#pos-badge.waves{ position:relative; }
#pos-badge.waves::before,
#pos-badge.waves::after{
  content:""; position:absolute; left:50%; top:50%;
  width:140%; height:180%;
  transform: translate(-50%,-50%) scale(0.85);
  border-radius: 16px;
  background: radial-gradient(ellipse at center,
    rgba(37,211,102,.22) 0%,
    rgba(37,211,102,.12) 35%,
    rgba(37,211,102,0) 70%);
  opacity:0; pointer-events:none; filter: blur(6px);
  animation: posWaves 4.5s ease-out infinite;
}
#pos-badge.waves::after{ animation-delay: 2.25s; } /* stagger */
@keyframes posWaves{
  0%   { transform: translate(-50%,-50%) scale(0.85); opacity: .0; }
  10%  { opacity:.65; }
  60%  { opacity:.18; }
  100% { transform: translate(-50%,-50%) scale(1.15); opacity:0; }
}



#installAppBtn a img {
  width: 200px;
  height: 82px;
  vertical-align: middle;
  object-fit: contain;
  margin-top: 10px;
  display: block;
}

/* Initial state: hidden and slightly moved down */
#installAppBtn {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s ease;
}

/* When animated in: visible and moved to place */
#installAppBtn.animate-in {
  opacity: 1;
  transform: translateY(0);
}



/* --- Quick Order Modal (Tajawal font & UI) --- */
.qo-modal[hidden]{display:none}
.qo-modal{
  position:fixed;inset:0;z-index:9999;
  /* Use Tajawal everywhere inside the modal */
  font-family:'Tajawal', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}
.qo-modal *{
  font-family:inherit;  /* inherit Tajawal for all children */
}

/* Replace your existing .qo-backdrop rule with this */
.qo-backdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.65);   /* darker overlay */
  backdrop-filter: blur(2px);     /* optional: frosted effect */
  transition: background .2s ease, backdrop-filter .2s ease;
}

body.qo-no-scroll { overflow: hidden; }

.qo-card{
  position: relative;
  /* 16px gap left & right on small screens, capped at 520px */
  width: calc(100% - 72px);
  max-width: 350px;

  margin: 3vh auto;
  background: rgba(255, 255, 255, 0.95); /* 95% white */
  border-radius: 25px;
  padding: 18px;
  line-height: 1.7;
  font-weight: 400;
}

.qo-card h3{font-size:18px;margin:6px 0 14px;font-weight:700}

/* Inputs: keep them inside the card */
.qo-card input,
.qo-card textarea,
.qo-card select {
  display: block;
  color: #000000;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;        /* ← prevents overflow */
  border: 1px solid #e2e2e2;
  border-radius: 12px;
  padding: 10px;
  margin: 6px 0;
  font-weight: 400;
  font-size: 1rem;
}



/* Textarea specifics */
.qo-card textarea {
  min-height: 110px;            /* adjust height as you like */
  resize: vertical;              /* allow vertical resize only */
  -webkit-appearance: none;      /* iOS cosmetic fix */
  background-clip: padding-box;  /* keep background inside rounded corners */
}

/* (Optional) If you still see a tiny overhang on iOS, uncomment this: */
/* .qo-card { overflow: hidden; } */


.qo-close{
  color: #000000;position:absolute;left:10px;top:10px;border:0;background:transparent;
  font-size:40px;cursor:pointer;line-height:1
}

.qo-services{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.qo-service{
  background:#f5f5f5;border:2px solid #e9e9e9;border-radius:20px;padding:14px 10px;
  font-size:18px;color: #000000;cursor:pointer;font-weight:700;letter-spacing:.15px
}
.qo-service small{font-size:18px;display:block;font-weight:400;opacity:.85;margin-top:4px}
.qo-service.active{border-color:#ea5c31;background:#fff1eb}

.qo-qty button {
  align-items: center;       /* vertical center */
  justify-content: center;   /* horizontal center */
  width: 42px;               /* circle */
  height: 42px;
  border-radius: 50%;
  color: #000000;
  background: #ffffff;
  font-size: 17px;
  border: 1px solid #ddd;
  margin: 4px;
  cursor: pointer;
  font-weight: 700;
  line-height: 2.7;            /* reset default */
  padding: 0;                /* remove padding influence */
}


.qo-toggle button {
  align-items: center;       /* vertical center */
  justify-content: center;   /* horizontal center */
  width: 62px;               /* circle */
  height: 42px;
  border-radius: 20%;
  color: #000000;
  background: #ffffff;
  font-size: 17px;
  border: 1px solid #ddd;
  margin: 4px;
  cursor: pointer;
  font-weight: 700;
  line-height: 2.7;            /* reset default */
  padding: 0px;     
          /* remove padding influence */
}

.qo-coupon-verify {
  background: #FFF;  
  color: #000;
  border: 1px solid #cccccc;
  border-radius: 15px;
  padding: 12px 12px;
  font-size: 12px;
  font-weight: 400;
  cursor: pointer;
}
.qo-coupon-verify:hover {
  opacity: 0.9;
}





.qo-qty button.active,.qo-toggle button.active{border-color:#ea5c31;background:#fff1eb}

.qo-nav{display:flex;gap:10px;justify-content:space-between;margin-top:14px}

.qo-primary,.qo-next{
  font-size:1.5rem;background:#ea5c31;color:#fff;border:0;border-radius:14px;padding:12px 18px;cursor:pointer;
  font-weight:700;letter-spacing:.15px
}
.qo-primary[disabled],.qo-next[disabled]{opacity:.5;cursor:not-allowed}

.qo-back{
  color: #000000;background:#ffffff;border:0;border-radius:14px;padding:12px 18px;cursor:pointer;
  font-weight:700
}

.qo-text-xl{ font-size:1.5rem}   

.qo-error{ font-size:1.5rem;color:#b00020 }

.qo-summary{
  color: #000000;font-size:15px;background:#fafafa;border:1px solid #eee;border-radius:12px;padding:12px;line-height:1.8
}

.qo-status{font-size:1.5rem;margin-top:8px}
.qo-hint{font-size:1.5rem;color:#777}

.qo-card input,.qo-card textarea,.qo-card select{
  width:100%;border:1px solid #e2e2e2;border-radius:12px;padding:10px;margin:6px 0;
  font-weight:400;font-size:1.5rem
}
.qo-card ::placeholder{font-family:inherit}

/* Optional: nicer focus rings for accessibility */
.qo-card input:focus,.qo-card textarea:focus,.qo-card select:focus,
.qo-service:focus,.qo-qty button:focus,.qo-toggle button:focus,
.qo-primary:focus,.qo-next:focus,.qo-back:focus{
  outline:3px solid rgba(255,111,61,.25);outline-offset:2px
}


/* service icons */
.qo-service-icon{
  display:block;
  width:52px; height:52px;
  object-fit:contain;
  margin:0 auto 8px auto;
  pointer-events:none;
}

/* service title line inside card */
.qo-service-title{
  font-weight:700;
  margin-bottom:2px;
  font-size: 25px;
}

/* description area shown after selecting a service */
.qo-service-info{
  margin-top:14px;
  border-radius:12px;
  padding:10px 12px;
  font-size:15px;
  line-height:1.7;
}

/* express fee note */
.qo-fee-note{
  margin-top:12px;
  background:#fff8f4;
  border:1px dashed #ffb89f;
  border-radius:12px;
  padding:10px 12px;
  font-size:1.5rem;
}

/* Mini map container */
#qoMiniMap{
  height: 160px;
  border-radius: 12px;
  overflow: hidden;
  margin: 6px 0 6px;
  background: #eee;
}

.qo-map-actions{
  display: flex;
  align-items: center;
  justify-content: center;   /* center the children horizontally */
  gap: 10px;
  margin: 6px auto;          /* center the whole row inside the card */
  width: 100%;
  flex-wrap: wrap;           /* allow wrapping on small screens */
  text-align: center;        /* center the hint text */
}

/* (Optional) push the hint to its own line when wrapping */
.qo-map-actions .qo-hint{
  flex: 1 1 100%;
  margin-top: 4px;
}


/* "تحديد موقعي" button — styled, with icon & spinner */
#qoUseMyLocation{
  --accent: #ea5c31;

  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 14px;

  border: 2px solid var(--accent);
  background: #fff;
  color: var(--accent);

  font-family: 'Tajawal', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  font-weight: 700;
  letter-spacing: .15px;

  box-shadow: 0 2px 10px rgba(255,111,61,.12);
  cursor: pointer;
  transition: transform .05s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}

/* pin icon (uses currentColor so it matches the text) */
#qoUseMyLocation::before{
  content: "";
  width: 18px; height: 18px;
  display: inline-block;
  background: currentColor;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="%23000" viewBox="0 0 24 24"><path d="M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6a2.5 2.5 0 0 1 0 5.5z"/></svg>') center/contain no-repeat;
          mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="%23000" viewBox="0 0 24 24"><path d="M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6a2.5 2.5 0 0 1 0 5.5z"/></svg>') center/contain no-repeat;
}

/* hover/active/focus states */
#qoUseMyLocation:hover{
  background: #fff1eb;
  box-shadow: 0 3px 12px rgba(255,111,61,.18);
  transform: translateY(-1px);
}
#qoUseMyLocation:active{
  transform: translateY(0);
  box-shadow: 0 1px 6px rgba(255,111,61,.16);
}
#qoUseMyLocation:focus{
  outline: 3px solid rgba(255,111,61,.25);
  outline-offset: 2px;
}

/* disabled + spinner when locating */
#qoUseMyLocation[disabled]{
  opacity: .6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
#qoUseMyLocation[disabled]::after{
  content: "";
  width: 16px; height: 16px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  margin-inline-start: 6px;
  animation: qoSpin .8s linear infinite;
}

@keyframes qoSpin { to { transform: rotate(360deg); } }

.qo-status.qo-error{font-size:1.5rem;color:#b00020}
.qo-status.qo-success{font-size:1.5rem;color:#0a7a3c}


.qo-success{ text-align:center; padding:24px 6px; }
.qo-success-icon{ width:140px; height:auto; margin:8px auto 18px; display:block; }
.qo-success-title{ font-size:26px; margin:0 0 8px; font-weight:800; }
.qo-success-text{ font-size:16px;color:#666; margin:0 auto; max-width:30ch; line-height:1.9; }

/* ===== Step 6 polish ===== */
.qo-form{display:flex;flex-direction:column;gap:14px;margin-top:6px}

.qo-field{display:flex;flex-direction:column;gap:8px}
.qo-field label{font-weight:700;font-size:1.5rem;color:#111}

.qo-input{
  height:56px;border:1.5px solid #e8e8e8;border-radius:16px;
  padding:0 16px;background:#fff;font-size:1.5rem
}
.qo-input::placeholder{color:#bbb}
.qo-input:focus{outline:none;border-color:#ff6f3d;box-shadow:0 0 0 3px rgba(255,111,61,.12)}

.qo-block{width:100%;padding:16px 18px;border-radius:18px;font-weight:800;font-size:1.5rem}

.qo-otp-row{
  display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center;margin-top:6px
}
.qo-otp-actions{display:flex;gap:10px;align-items:center}
.qo-otp-input{height:56px;text-align:center;font-size:22px;letter-spacing:4px;direction:ltr}

.qo-link{
  background:transparent;border:0;color:#ff6f3d;font-weight:700;padding:10px 0;cursor:pointer
}
.qo-link[disabled]{opacity:.5;cursor:not-allowed}

.qo-status{margin-top:6px;font-size:.95rem}

.qo-nav--step6{margin-top:14px;gap:12px}
.qo-nav--step6 .qo-next{flex:1}
@media (max-width:480px){
  .qo-otp-row{grid-template-columns:1fr}
  .qo-otp-actions{justify-content:space-between}
}



/* Phone field with inline action button */
.qo-field-inline{position:relative}
.qo-input-with-btn{padding-inline-end:104px} /* leave room for button (RTL-safe) */

.qo-inline-btn{
  position:absolute; inset-inline-end:8px; top:50%; transform:translateY(-50%);
  height:40px; padding:0 14px; border:0; border-radius:12px;
  background:#ff6f3d; color:#fff; font-weight:800; cursor:pointer;
}
.qo-inline-btn[disabled]{opacity:.6; cursor:not-allowed}

/* OTP row (only the input now) */
.qo-otp-row{margin-top:8px}
.qo-otp-input{height:52px; text-align:center; font-size:22px; letter-spacing:4px; direction:ltr}

/* Optional: keep footer tight on phones */
@media (max-width:420px){
  .qo-input{height:50px}
  .qo-otp-input{height:50px; font-size:20px}
}

/* Center text inside name & phone inputs (Step 6) */
#qoFullName,
#qoPhone{
  text-align: center;
}

/* Keep phone digits LTR but still centered */
#qoPhone{
  direction: ltr;          /* shows 966 / 05 in the natural order */
  letter-spacing: .5px;    /* optional: a bit clearer */
}

/* (optional) center placeholders too */
#qoFullName::placeholder,
#qoPhone::placeholder{
  text-align: center;
}


/* Inline action buttons inside inputs */
.qo-inline{ position:relative; }

/* put button at the *start* side (left in RTL) */
.qo-inbtn--start{ inset-inline-start:8px; }
.qo-inbtn{
  position:absolute; top:50%; transform:translateY(-50%);
  height:40px; padding:0 14px; border:0; border-radius:12px;
  font-weight:800; cursor:pointer;
}
.qo-inbtn--primary{ background:#ff6f3d; color:#fff; }
.qo-inbtn--dark{ background:#000; color:#fff; }
.qo-inbtn[disabled]{ opacity:.6; cursor:not-allowed; }

/* add padding on the *start* so text doesn't sit under the button */
.qo-input-pad-start{ padding-inline-start:104px; }

/* OTP input look */
.qo-otp-input{ text-align:center; font-size:22px; letter-spacing:4px; direction:ltr; height:52px; }

/* center name & phone text as you wanted */
#qoFullName, #qoPhone{ text-align:center; }
#qoPhone{ direction:ltr; letter-spacing:.5px; }

/* small-screen tweaks */
@media (max-width:420px){
  .qo-inbtn{ height:36px; padding:0 12px; }
  .qo-input-pad-start{ padding-inline-start:96px; }
  .qo-otp-input{ height:48px; font-size:20px; }
}


.qo-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;             /* space between spinner and text */
}

.qo-loading p {
  margin: 0;
  color: #777;
  font-size: 16px;
}

/* Spinner style */
.qo-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid #ccc;
  border-top: 2px solid #ea5c31; /* accent color */
  border-radius: 50%;
  animation: qoSpin 0.8s linear infinite;
}

@keyframes qoSpin {
  to { transform: rotate(360deg); }
}


/* Attach bubble to the existing button */
.talk-to-sara-button { position: relative; }

/* Nudge bubble */
.qo-nudge {
  position: absolute;
  bottom: 100%;                 /* sit above the button */
  right: 50%;                   /* center over button in RTL */
  transform: translate(50%, -6px) scale(.96);
  background: #fff;
  color: #000;
  direction: rtl;
  font-size: 16px;
  font-weight: 400;
  padding: 17px 15px;
  border-radius: 24px;
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;         /* never block button clicks */
  transition: opacity .35s ease, transform .35s ease;
  z-index: 20;
}
.qo-nudge::after {
  content: "";
  position: absolute;
  top: 100%;
  right: 50%;
  transform: translateX(50%);
  border: 7px solid transparent;
  border-top-color: #fff;       /* little tail */
}

/* show state */
.qo-nudge.show {
  opacity: 1;
  transform: translate(50%, -14px) scale(1);
}

/* subtle pulse to draw the eye */
.qo-nudge.show { animation: qoPulse 1.4s ease-out 1; }
@keyframes qoPulse {
  0% { box-shadow: 0 0 0 0 rgba(234,92,49,.35); }
  100% { box-shadow: 0 0 0 16px rgba(234,92,49,0); }
}

/* typing dots (optional) */
.qo-nudge .dots {
  display: inline-block;
  width: 1.4em;
  text-align: center;
}
.qo-nudge .dots span { opacity: .2; animation: dot 1.2s infinite; }
.qo-nudge .dots span:nth-child(2){ animation-delay: .2s; }
.qo-nudge .dots span:nth-child(3){ animation-delay: .4s; }
@keyframes dot { 0%,20%{opacity:.2} 50%{opacity:1} 100%{opacity:.2} }

/* motion-respect */
@media (prefers-reduced-motion: reduce){
  .qo-nudge, .qo-nudge.show { transition: none; animation: none; }
}


/* Whatsapp */
.wa-fab{
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: calc(16px + env(safe-area-inset-bottom));
  width: 65px;
  height: 65px;
  border-radius: 9999px;
  background: #25D366; /* WhatsApp green */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
  z-index: 9999;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}
.wa-fab:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,0,0,.24); }
.wa-fab:active { transform: translateY(0); }
@media (prefers-reduced-motion: reduce){
  .wa-fab{ transition: none; }
}


.qo-label {
  display: block;
  margin-top: 6px;
  font-weight: 600;
  font-size: 14px;
  color: #838383;
}


/* --- Quick Order: visual progress bar (no logic) --- */
.qo-progress {
  position: sticky;
  top: 0;
  background: #fff;
  padding: 10px 14px;
  border-bottom: 1px solid #eee;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  margin: -18px -18px 12px -18px; /* align with card padding */
  z-index: 5;
}
.qo-track { height: 4px; background: #eee; border-radius: 4px; overflow: hidden; }
.qo-bar { height: 4px; width: 0; background: #ea5c31; transition: width .25s ease; }
.qo-progress-text { font-size: 1.3rem; color: #777; margin-top: 8px; text-align: center; }


/* --- Quick Order: sticky running total (visual only) --- */
.qo-sticky{
  position: sticky;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #fff;
  border-top: 1px solid #eee;
  padding: .75rem 1rem;
  z-index: 5;
}
.qo-sticky strong{ font-size: 1.1rem; }
.qo-sticky small{ color:#777; display:block; margin-top:2px; }
.qo-sticky-next{
  padding: .6rem 1rem;
  border-radius: 12px;
  border: 0;
  background: #ea5c31;
  color: #fff;
  cursor: pointer;
}


/* Divider text between map and manual input */
.qo-or {
  text-align: center;
  color: #777;
  font-size: 1.3rem;
  margin: 6px 0 2px;
}

/* Manual address textarea sizing (inherits core input styles) */
#qoManualAddress {
  min-height: 35px;
  resize: vertical;
}

