:root {
  --brand-blue: #2090d0;
  --brand-orange: #f06020;
  --brand-bg: #f3e8e0;
  --brand-text: #1f2937;
}

body {
  background: var(--brand-bg);
  color: var(--brand-text);
  font-family: Inter, sans-serif;
  padding-bottom: 8rem;
}

.edge-shell,
.site-shell {
  width: 100%;
  max-width: 100%;
  margin: 0;
  box-sizing: border-box;
  padding-left: 50px !important;
  padding-right: 50px !important;
}

[dir="ar"] body {
  font-family: Cairo, sans-serif;
}

.text-brand-blue {
  color: var(--brand-blue) !important;
}

.text-brand-orange {
  color: var(--brand-orange) !important;
}

.btn-brand {
  background-color: var(--brand-orange);
  border-color: var(--brand-orange);
  color: #fff;
}

.btn-brand:hover,
.btn-brand:focus {
  background-color: #d84f15;
  border-color: #d84f15;
  color: #fff;
}

.btn-outline-brand {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
  background: #fff;
}

.btn-outline-brand:hover,
.btn-outline-brand:focus {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: #fff;
}

.hero-fodzen {
  background: linear-gradient(135deg, #2090d0 0%, #2c9edc 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-slide-frame {
  position: relative;
  min-height: 220px;
}

.hero-slide-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(0, 0, 0, 0.54) 0%, rgba(0, 0, 0, 0.12) 58%, rgba(0, 0, 0, 0.06) 100%);
  display: flex;
  align-items: center;
}

.hero-slide-content {
  color: #fff;
  width: min(560px, 88%);
  margin-inline-start: 1rem;
}

.hero-slide-title {
  font-size: 1.3rem;
  line-height: 1.25;
  margin-bottom: 0.4rem;
  font-weight: 800;
}

.hero-slide-subtitle {
  margin-bottom: 0.7rem;
  font-size: 0.93rem;
  line-height: 1.5;
}

.hero-slide-btn {
  padding: 0.4rem 0.85rem;
  font-size: 0.85rem;
}

.hero-swiper-prev,
.hero-swiper-next {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.hero-swiper-prev::after,
.hero-swiper-next::after {
  font-size: 13px;
  font-weight: 700;
}

.hero-swiper-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.55);
  opacity: 1;
}

.hero-swiper-pagination .swiper-pagination-bullet-active {
  background: var(--brand-orange);
}

.meal-thumb {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
}

.topbar-wrap {
  position: sticky;
  top: 0;
  z-index: 1100;
  background: #fff;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.18);
}

.topbar {
  min-height: 98px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 0.45rem 0;
}

.topbar__brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.topbar-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.topbar__center {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
}

.topbar-link {
  color: var(--brand-text);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
}

.topbar-link:hover {
  color: var(--brand-blue);
}

.topbar-link--button {
  background: none;
  border: 0;
  padding: 0;
}

.topbar-dropdown {
  border: 1px solid #d7e8f6;
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.2);
  min-width: 220px;
}

.topbar-dropdown .dropdown-item {
  font-weight: 400;
  font-size: 0.92rem;
  padding: 0.52rem 0.75rem;
}

.topbar-dropdown .dropdown-item:hover {
  background: #edf7fd;
  color: var(--brand-blue);
}

.header__heading-link {
  text-decoration: none;
}

.header__heading-logo {
  height: 84px;
  width: auto;
  display: block;
  margin: 0;
  border-radius: 12px;
}

.topbar__end {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.7rem;
}

.topbar-language-form {
  margin: 0;
}

.topbar-language-select {
  min-width: 88px;
  border: 1px solid rgba(32, 144, 208, 0.35);
  color: var(--brand-blue);
  font-weight: 600;
  font-size: 0.82rem;
  border-radius: 10px;
  background-color: #fff;
}

.topbar-language-select:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 0.2rem rgba(32, 144, 208, 0.18);
}

.header__icon {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(32, 144, 208, 0.35);
  background: transparent;
  color: var(--brand-blue);
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-decoration: none;
}

.header__icon:hover {
  background: rgba(32, 144, 208, 0.12);
  color: var(--brand-blue);
}

.header__icon svg {
  width: 18px;
  height: 18px;
}

.topbar-account-toggle::after {
  display: none !important;
}

.topbar-account-menu {
  min-width: 170px;
}

.cart-count-bubble {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--brand-orange);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  border: 2px solid #fff;
  padding: 0 5px;
}

[dir="rtl"] .cart-count-bubble {
  right: auto;
  left: -7px;
}

.topbar-search {
  background: #fff;
  border-top: 1px solid #dceaf6;
}

.topbar-search-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
  padding: 0.6rem 0;
}

.topbar-drawer {
  border-right: 1px solid #deebf6;
}

[dir="rtl"] .topbar-drawer {
  border-right: none;
  border-left: 1px solid #deebf6;
}

.drawer-link {
  display: block;
  color: #1f2937;
  text-decoration: none;
  font-weight: 700;
  padding: 0.7rem 0;
  border-bottom: 1px solid #edf2f7;
}

.drawer-link:hover {
  color: var(--brand-blue);
}

.drawer-accordion-btn {
  padding: 0.7rem 0;
  color: #1f2937;
  font-weight: 700;
  border: 0;
  border-bottom: 1px solid #edf2f7;
  box-shadow: none;
  background: transparent;
}

.drawer-accordion-btn:not(.collapsed) {
  color: var(--brand-blue);
  background: transparent;
  box-shadow: none;
}

.drawer-sub-link {
  color: #4b5563;
  text-decoration: none;
  font-weight: 600;
  padding: 0.45rem 0;
}

.drawer-sub-link:hover {
  color: var(--brand-blue);
}

.drawer-language-form {
  max-width: 220px;
}

.drawer-language-select {
  border-color: #d7e8f6;
  font-weight: 600;
}

.box-plan-btn {
  border: 1px solid #dbe4ee;
  border-radius: 0.8rem;
  background: #fff;
  padding: 0.7rem;
}

.box-plan-active {
  border-color: var(--brand-blue);
  background: #eff8ff;
}

.progress-bar-brand {
  background-color: var(--brand-blue);
}

.meal-simple-card {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid #ebeff5;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.meal-simple-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08) !important;
}

.meal-out-of-stock {
  opacity: 0.65;
}
.meal-out-of-stock:hover {
  transform: none;
  box-shadow: none !important;
}
.meal-oos-badge {
  position: absolute;
  top: 8px;
  inset-inline-start: 8px;
  background: rgba(30, 30, 30, 0.72);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 20px;
  pointer-events: none;
}
.meal-oos-btn {
  background: #e2e8f0;
  color: #94a3b8;
  cursor: not-allowed;
  border: none;
}

.home-meals-swiper {
  padding-bottom: 2rem;
}

.home-meals-swiper .swiper-slide {
  height: auto;
}

.home-meals-swiper .swiper-pagination-bullet {
  background: #98cce9;
  opacity: 1;
}

.home-meals-swiper .swiper-pagination-bullet-active {
  background: var(--brand-orange);
}

.home-meals-swiper .swiper-button-next,
.home-meals-swiper .swiper-button-prev {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(32, 144, 208, 0.14);
  color: var(--brand-blue);
}

.home-meals-swiper .swiper-button-next::after,
.home-meals-swiper .swiper-button-prev::after {
  font-size: 14px;
  font-weight: 700;
}

.meal-qty-pill {
  min-width: 2.25rem;
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
}

.site-footer {
  background: #fff;
  margin-top: 1.5rem;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1030;
  box-shadow: 0 -1px 10px rgba(0, 0, 0, 0.08);
}

.site-footer-top {
  padding-top: 1.25rem;
  padding-bottom: 1rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: center;
}

.site-footer-logo-block {
  display: flex;
  align-items: center;
}

.site-footer-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 8px;
  filter: brightness(0);
}

.site-footer-menus {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-inline-start: auto;
  text-align: end;
}

.site-footer-menu-main,
.site-footer-menu-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  justify-content: flex-end;
}

.site-footer-menu-main a,
.site-footer-menu-legal a {
  color: var(--brand-text);
  text-decoration: none;
  font-size: 0.92rem;
}

.site-footer-menu-main a {
  font-weight: 600;
}

.site-footer-menu-legal a {
  font-weight: 500;
  color: #5b6574;
}

.site-footer-menu-main a:hover,
.site-footer-menu-legal a:hover {
  color: var(--brand-blue);
}

.site-footer-dot {
  color: #99a4b3;
  font-weight: 700;
}

.site-footer-bottom {
  border-top: 1px solid #e4edf4;
}

.site-footer-bottom-inner {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
}

.site-footer-social {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.site-footer-social-link {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(32, 144, 208, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-blue);
  background: #fff;
}

.site-footer-social-link svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.site-footer-social-link:hover {
  background: var(--brand-blue);
  color: #fff;
}

.site-footer-copy {
  color: #6b7280;
  font-size: 0.86rem;
  font-weight: 500;
}

/* ── Sticky FAB (mobile box bar) ── */
.box-sticky-bar {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1040;
}
[dir="ar"] .box-sticky-bar {
  right: auto;
  left: 0;
}

/* FAB wrapper (label + button stacked) */
.sticky-fab-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

/* Expanded panel — absolutely positioned to the left of the FAB */
.sticky-panel {
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  background: #0a2342;
  color: #fff;
  border-radius: 18px 0 0 18px;
  padding: 0.75rem 1rem;
  box-shadow: -4px 0 24px rgba(0,0,0,0.2);
  min-width: 190px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
[dir="ar"] .sticky-panel {
  right: auto;
  left: 100%;
  border-radius: 0 18px 18px 0;
  box-shadow: 4px 0 24px rgba(0,0,0,0.2);
  transform: translateY(-50%) translateX(-10px);
}
.sticky-open .sticky-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%) translateX(0);
}

/* Box circles row */
.sticky-boxes { display: flex; align-items: center; gap: 0.35rem; }
.sticky-box-btn {
  width: 36px; height: 36px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.08);
  color: #fff; font-size: 0.7rem; font-weight: 700;
  cursor: pointer; transition: all 0.15s; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  padding: 0;
}
.sticky-box-btn:hover { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.6); }
.sticky-box-btn--active { background: #f06020; border-color: #f06020; }

/* Info row */
.sticky-panel-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.sticky-pill-label { font-size: 0.78rem; font-weight: 600; opacity: 0.9; }
.sticky-pill-price { font-size: 0.75rem; font-weight: 700; opacity: 0.75; }

/* Checkout CTA inside panel */
.sticky-cta-btn {
  display: block;
  text-align: center;
  background: #16a34a;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.4rem 1rem;
  text-decoration: none;
  transition: background 0.15s;
}
.sticky-cta-btn:hover { background: #15803d; color: #fff; }

/* FAB label above circle */
.sticky-fab-label {
  display: block;
  text-align: center;
  font-size: 0.6rem;
  font-weight: 700;
  color: #fff;
  background: #0a2342;
  border-radius: 999px;
  padding: 0.1rem 0.4rem;
  letter-spacing: 0.03em;
  pointer-events: none;
  white-space: nowrap;
}

/* FAB circle button */
.sticky-fab {
  width: 52px; height: 52px; border-radius: 50% 0 0 50%;
  background: #0a2342;
  border: none;
  box-shadow: -3px 0 12px rgba(0,0,0,0.25);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  transition: background 0.15s;
  flex-shrink: 0;
}
.sticky-fab:active { background: #1e3a5f; }
.sticky-open .sticky-fab { background: #1e3a5f; }
[dir="ar"] .sticky-fab { border-radius: 0 50% 50% 0; box-shadow: 3px 0 12px rgba(0,0,0,0.25); }

/* Done state */
.sticky-fab-done {
  font-size: 1.25rem; font-weight: 800; color: #4ade80;
}

/* FAB SVG ring */
.sticky-fab-svg {
  position: absolute; inset: 5px; width: calc(100% - 10px); height: calc(100% - 10px);
  transform: rotate(-90deg);
}
.sticky-ring-bg { fill: none; stroke: rgba(255,255,255,0.15); stroke-width: 3.5; }
.sticky-ring-fill { fill: none; stroke: #f06020; stroke-width: 3.5; stroke-linecap: round; transition: stroke-dasharray 0.3s ease; }
.sticky-ring-fill--done { stroke: #4ade80; }
.sticky-fab-count {
  position: relative; z-index: 1;
  font-size: 0.95rem; font-weight: 800; color: #fff;
}


@media (max-width: 991.98px) {
  .edge-shell,
  .site-shell {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }

  .topbar {
    min-height: 82px;
    grid-template-columns: auto 1fr;
    gap: 0.85rem;
  }

  .topbar__end {
    margin-inline-start: auto;
  }

  .header__heading-logo {
    height: 62px;
  }

  .hero-slide-frame,
  .hero-slide-image {
    height: 200px;
    min-height: 200px;
  }
}

@media (max-width: 767.98px) {
  .edge-shell,
  .site-shell {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .header__heading-logo {
    height: 56px;
  }

  .hero-slide-content {
    width: 90%;
    margin-inline-start: 0.9rem;
  }

  .hero-slide-title {
    font-size: 1.1rem;
  }

  .hero-slide-subtitle {
    font-size: 0.85rem;
    margin-bottom: 0.55rem;
  }

  .topbar-search-form {
    grid-template-columns: 1fr;
    padding: 0.5rem 0;
  }

  .site-footer {
    box-shadow: 0 -1px 8px rgba(0, 0, 0, 0.06);
  }

  .site-footer-top {
    grid-template-columns: auto 1fr;
    gap: 0.75rem;
    align-items: flex-start;
    padding-top: 0.75rem;
    padding-bottom: 0.7rem;
  }

  .site-footer-menus {
    margin-inline-start: 0;
    gap: 0.35rem;
    text-align: end;
  }

  .site-footer-menu-main,
  .site-footer-menu-legal {
    gap: 0.35rem 0.7rem;
    justify-content: flex-end;
  }

  .site-footer-menu-main a,
  .site-footer-menu-legal a {
    font-size: 0.8rem;
  }

  .site-footer-logo {
    width: 52px;
    height: 52px;
  }

  .site-footer-bottom-inner {
    min-height: 0;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem 0.75rem;
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
  }

  .site-footer-social {
    gap: 0.35rem;
  }

  .site-footer-social-link {
    width: 28px;
    height: 28px;
  }

  .site-footer-social-link svg {
    width: 13px;
    height: 13px;
  }

  .site-footer-copy {
    font-size: 0.75rem;
    line-height: 1.3;
  }
}

@media (max-width: 575.98px) {
  .site-footer-menu-legal {
    display: none;
  }

  .site-footer-copy {
    max-width: 210px;
  }
}

/* ── Meals page mobile bar ── */
.meals-mobile-bar {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(15,23,42,.07);
  padding: 0.75rem;
  margin-bottom: 1rem;
}

.meals-chips-scroll {
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  margin-bottom: 0.5rem;
  scrollbar-width: none;
}
.meals-chips-scroll::-webkit-scrollbar { display: none; }

.meals-chip {
  display: inline-block;
  white-space: nowrap;
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  background: #f1f5f9;
  color: #475569;
  text-decoration: none;
  flex-shrink: 0;
  transition: background 0.15s, color 0.15s;
}
.meals-chip.active {
  background: #0a2342;
  color: #fff;
}

.meals-box-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  font-size: 0.875rem;
  font-weight: 600;
  color: #0a2342;
  cursor: pointer;
}
.meals-box-toggle svg {
  transition: transform 0.2s;
  flex-shrink: 0;
}
.meals-box-panel {
  margin-top: 0.5rem;
}
.meals-box-panel .card {
  margin-bottom: 0.5rem !important;
}

/* ── Meals page sidebar layout ── */
.meals-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .meals-layout {
    grid-template-columns: 240px 1fr;
    align-items: start;
  }
}

.meals-sidebar {
  position: sticky;
  top: 80px;
}

.meals-cat-link {
  display: block;
  padding: 0.35rem 0.6rem;
  border-radius: 8px;
  font-size: 0.875rem;
  color: #4a5568;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.meals-cat-link:hover {
  background: #f1f5f9;
  color: #0a2342;
}

.meals-cat-link.active {
  background: #0a2342;
  color: #fff;
  font-weight: 600;
}

/* ── Delivery slot cards ── */
.slot-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

.slot-card {
  cursor: pointer;
  margin: 0;
}

.slot-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.slot-card-inner {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.6rem 0.75rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  transition: border-color 0.15s, background 0.15s;
}

.slot-card input[type="radio"]:checked + .slot-card-inner {
  border-color: var(--brand-orange);
  background: #fff7f3;
}

.slot-card-date {
  font-size: 0.8rem;
  font-weight: 600;
  color: #1f2937;
  line-height: 1.2;
}

.slot-card-time {
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.2;
}

[dir="ar"] .slot-card-date,
[dir="ar"] .slot-card-time {
  font-family: Cairo, sans-serif;
}

.slot-card--full { cursor: default; }
.slot-card--full .slot-card-inner {
  background: #f8fafc;
  border-color: #e2e8f0;
  opacity: 0.6;
}
.slot-card--full .slot-card-date,
.slot-card--full .slot-card-time {
  color: #94a3b8;
}
.slot-card-full-badge {
  font-size: 0.68rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 0.1rem;
}
