/* =============================================================
   Ewan (إيوان) — Arabic + right-to-left layout fixes only.
   This file does NOT change the template's design, structure or
   copy — it only mirrors positioning so RTL renders correctly,
   and sizes the logo image. Edit colors in style.css (:root).
   ============================================================= */

html[dir="rtl"] body {
  font-family: 'Cairo', var(--font-body);
}
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3,
html[dir="rtl"] h4, html[dir="rtl"] h5, html[dir="rtl"] h6 {
  font-family: 'Cairo', var(--font-display);
  font-weight: 700;
}

/* Logo image sizing (navbar + footer) */
.brand-logo-img { display: inline-flex; align-items: center; }
.brand-logo-img img { height: 52px; width: auto; }
.footer-brocele .brand-logo-img img { height: 60px; filter: none; }
@media (max-width: 991.98px) {
  .brand-logo-img img { height: 44px; }
}

/* Eyebrow / buttons: undo LTR letter-spacing + uppercase, awkward for Arabic */
html[dir="rtl"] .eyebrow { letter-spacing: 0; text-transform: none; }
html[dir="rtl"] .btn { letter-spacing: 0; }

/* Button arrow icon: sits after the text, mirror it for RTL reading direction */
html[dir="rtl"] .btn-arrow { margin-right: 0.4rem; margin-left: 0; transform: scaleX(-1); display: inline-block; }

/* Input icons: move from left side to right side of the field */
html[dir="rtl"] .input-icon i { left: auto; right: 1.1rem; }
html[dir="rtl"] .input-icon .form-control { padding-left: 1rem; padding-right: 2.6rem; }

/* Newsletter pill form */
html[dir="rtl"] .newsletter-form .form-control {
  border-radius: 0 50rem 50rem 0;
  border-right: 1px solid var(--tan-light);
  border-left: none;
}
html[dir="rtl"] .newsletter-form .btn {
  border-radius: 50rem 0 0 50rem;
}

/* Hero gift card: mirror to the other side of the cup */
html[dir="rtl"] .gift-card { right: auto; left: -1rem; text-align: right; }

/* Carousel controls */
html[dir="rtl"] .drink-band .carousel-control-prev { left: auto; right: 0.5rem; }
html[dir="rtl"] .drink-band .carousel-control-next { right: auto; left: 0.5rem; }

/* Back-to-top button */
html[dir="rtl"] .back-to-top { right: auto; left: 1.5rem; }

/* ============ Full menu grid (tabs + item cards) ============ */
.menu-tabs .nav-link {
  font-family: 'Cairo', var(--font-body);
  font-weight: 700;
  color: var(--brown);
  background: #fff;
  border: 1px solid var(--tan-light);
  border-radius: 50rem;
  padding: 0.6rem 1.6rem;
  margin: 0 0.35rem;
}
.menu-tabs .nav-link.active {
  background: var(--brown);
  color: #fff;
  border-color: var(--brown);
}

/* ============ Menu Header ============ */
.menu-header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: relative;
  z-index: 1000;
}
.menu-header .brand-logo-img img {
  height: 52px;
  width: auto;
}
.back-link-pill {
  font-family: 'Cairo', var(--font-body);
  transition: background-color 0.2s ease;
}
.back-link-pill:hover {
  background: rgba(139, 69, 19, 0.15);
}
@media (max-width: 767.98px) {
  .menu-header .brand-logo-img img {
    height: 44px;
  }
  .menu-header .back-link-pill {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }
}

.menu-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-soft);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.menu-card img { width: 100%; height: auto; object-fit: contain; }
.menu-card-body { padding: 1.25rem; flex-grow: 1; display: flex; flex-direction: column; }
.menu-card-body h6 { font-family: 'Cairo', var(--font-display); font-weight: 700; color: var(--brown); font-size: 1.05rem; }
.menu-card-body p { color: var(--ink-soft); font-size: 0.88rem; }
.menu-price {
  font-family: 'Cairo', var(--font-body);
  font-weight: 800;
  color: var(--brown-deep, var(--brown));
  white-space: nowrap;
}

/* Placeholder cards: obvious "drop your own photo here" slots */
.menu-card.placeholder-card { background: var(--tan-light, #f4ece1); border: 1.5px dashed var(--brown); }
.menu-card-photo-placeholder {
  height: 190px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  color: var(--brown);
  opacity: 0.6;
}
.menu-card-photo-placeholder i { font-size: 2rem; }
.menu-card-photo-placeholder span { font-size: 0.8rem; font-weight: 600; }
.placeholder-card .menu-card-body h6,
.placeholder-card .menu-card-body p,
.placeholder-card .menu-price { opacity: 0.55; }

/* ============ Price list (no-photo categories: milkshake / cold drinks) ============ */
.price-list {
  max-width: 640px;
  background: #fff;
  border: 1px solid var(--tan-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 2rem 2.25rem;
  text-align: right;
}
.price-list-title {
  font-family: 'Cairo', var(--font-display);
  font-weight: 800;
  color: var(--brown);
  font-size: 1.4rem;
  text-align: center;
  margin-bottom: 1.5rem;
  padding-bottom: 0.9rem;
  border-bottom: 2px solid var(--tan-light);
}
.price-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.55rem 0;
  font-family: 'Cairo', var(--font-body);
}
.price-name {
  color: var(--brown);
  font-weight: 700;
  font-size: 1.02rem;
  white-space: nowrap;
}
.price-leader {
  flex: 1 1 auto;
  border-bottom: 2px dotted var(--tan-light);
  transform: translateY(-0.25rem);
}
.price-value {
  color: var(--brown-deep, var(--brown));
  font-weight: 800;
  font-size: 1.02rem;
  white-space: nowrap;
}

/* ============ Process Steps - Premium Mobile Design ============ */
.process-card {
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  transition: transform 0.3s ease;
  border: none;
  text-align: center;
}

.process-card:hover {
  transform: translateY(-5px);
}

.process-icon-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 1rem;
}

.process-num {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--brown, #8B5E3C);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cairo', var(--font-display);
  font-weight: 800;
  font-size: 0.9rem;
  box-shadow: 0 2px 8px rgba(139, 94, 60, 0.4);
  z-index: 2;
}

.process-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.process-image img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.process-card:hover .process-image img {
  transform: scale(1.05);
}

.process-title {
  font-family: 'Cairo', var(--font-display);
  font-weight: 700;
  color: var(--brown, #8B5E3C);
  font-size: 1.25rem;
  margin: 1rem 0 0.5rem;
}

.process-desc {
  font-family: 'Cairo', var(--font-body);
  color: var(--ink-soft, #666);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

.process-arrow {
  position: absolute;
  top: 50%;
  left: -20px;
  transform: translateY(-50%);
  color: var(--brown, #8B5E3C);
  font-size: 1.5rem;
  opacity: 0.3;
}

/* Mobile-specific adjustments */
@media (max-width: 767.98px) {
  .process-card {
    margin-bottom: 1.5rem;
  }

  .process-num {
    width: 32px;
    height: 32px;
    font-size: 0.8rem;
    top: 10px;
    right: 10px;
  }

  .process-image img {
    height: 150px;
  }

  .process-title {
    font-size: 1.1rem;
  }

  .process-desc {
    font-size: 0.9rem;
  }
}

/* Tablet adjustments */
@media (min-width: 768px) and (max-width: 991.98px) {
  .process-image img {
    height: 160px;
  }
}

