* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: rgb(0, 0, 0, 0);
  /* دا بسبب اللون اللي بيظهر عند الضغط على اي عنصر */
}

body {
  font-family: "Tajawal", sans-serif;
  /* للغة العربية */
}

section.all-project {
  position: relative;
  max-width: 768px;
  margin: auto;
}
.bottom-header {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  max-width: 768px;
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 -2px 10px #0002;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  padding: 10px 0 8px 0;
  z-index: 9999;
  transition: transform 0.3s, opacity 0.3s;
}

.bottom-header.hide {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}

.header-btn {
  background: #f3f3f3;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #2f4031;
  box-shadow: 0 1px 4px #0001;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.header-btn:hover {
  background: #e0ffe5;
  color: #222;
}

@media (max-width: 768px) {
  .bottom-header {
    width: 100vw;
    left: 0;
    right: 0;
  }
}
/* ////////// Start Load \\\\\\\\\\ */
.shadow-portal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

#loader-text {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  font-size: 2.5em;
  font-weight: bold;
  letter-spacing: 2px;
  color: #eefff0;
  height: 80px;
}

/* /* إخفاء اللودر بعد انتهاء التحميل  */
.vanish-mode {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#loader-text span.wave-arabic {
  display: inline-block;
  animation: wave-arabic 1.2s infinite ease-in-out;
  transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

@keyframes wave-arabic {
  0%,
  100% {
    transform: translateY(0);
  }

  20% {
    transform: translateY(-12px);
  }

  40% {
    transform: translateY(0);
  }

  60% {
    transform: translateY(12px);
  }

  80% {
    transform: translateY(0);
  }
}

@media (max-width: 501px) {
  #loader-text {
    font-size: 2em;
  }
}

@media (max-width: 316px) {
  #loader-text {
    font-size: 1.5em;
  }
}

/* ////////// End Load \\\\\\\\\\ */

/* ////////// Start carousel \\\\\\\\\\ */
.overlay_ads {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.carousel-modal {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  /* background: white; */
  max-width: 600px;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  /* padding: 0 0 20px; */
  position: relative;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  animation: scaleIn 0.4s ease;
}

@keyframes scaleIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.carousel-container {
  position: relative;
  width: 100%;
  height: 100%;
  /* perspective: 1200px; */
  overflow: hidden;
}

.carousel {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  transform-style: preserve-3d;
  transition: transform 0.6s ease-in-out;
  position: relative;
}

.slide_ads {
  position: absolute;
  /* max-width: 550px; */
  height: 100%;
  width: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  font-weight: bold;
  transition: transform 1s ease, opacity 1s ease;
  opacity: 0;
  /* Hide all slides initially */
}

.slide_ads img {
  width: 100%;
  height: 100%;
  border-radius: 20px;
}

@media (max-width: 600px) {
  .carousel-modal,
  .slide_ads img {
    border-radius: 0;
  }
}

.text-buttons {
  display: flex;
  /* margin-top: 20px; */
  /* gap: 20px; */
  align-items: center;
  position: absolute;
  width: 100%;
  justify-content: space-between;
}

.text-buttons button {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  background-color: #a14bef;
  color: white;
  border: none;
  padding: 10px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 100%;
  cursor: pointer;
  transition: background 0.3s ease;
}

.text-buttons button:hover {
  background-color: #7e38c7;
}

.text-buttons button svg.arrow-next,
.text-buttons button svg.arrow-prev {
  width: 22px;
  height: 22px;
}

.close-button-ads,
.close-icon {
  position: absolute;
  top: 8px;
  right: 5px;
  font-size: 22px;
  /* background: #EDE0D4; */
  cursor: pointer;
  border: none;
  overflow: hidden;
  width: 50px;
  height: 31px;
  display: flex;
  align-items: center;
  border-radius: 19px;
  /* color: #8D6F5A; */
  justify-content: center;
  z-index: 1;
  transition: background 0.3sease;
}
.close-button-ads {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
.close-button-ads {
  background: #dbcfb7;
  color: #381710;
}
/* ////////// End carousel \\\\\\\\\\ */

/* ////////// End Slider \\\\\\\\\\ */
article.slider {
  width: 100%;
  height: 280px;
  overflow: hidden;
}

.slides {
  width: calc(var(--slide-count, 1) * 100%);
  height: 280px;
  display: flex;
  transition: transform 0.8s ease;
  will-change: transform;
}

.slide {
  width: calc(100% / var(--slide-count, 1));
  flex-shrink: 0;
  height: 280px;
}

.slide img {
  width: 100%;
  height: 100%;
}

/*css for automatic navigation*/
.navigation-auto {
  position: absolute;
  display: flex;
  width: 800px;
  justify-content: center;
  margin-top: 460px;
}

.navigation-auto article {
  border: 2px solid #40d3dc;
  padding: 5px;
  border-radius: 10px;
  transition: 1s;
}

.navigation-auto article:not(:last-child) {
  margin-right: 40px;
}

@media (max-width: 455px) {
  article.slider,
  .slides,
  .slide {
    height: 230px;
  }
}

@media (max-width: 390px) {
  article.slider,
  .slides,
  .slide {
    height: 200px;
  }
}

/* ////////// End Slider \\\\\\\\\\ */
#popup_ads {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* background: white; */
  padding: 20px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
  border-radius: 5px;
  z-index: 1001;
}

#popup_ads .close-ads {
  cursor: pointer;
  display: block;
  text-align: right;
  font-size: 20px;
  font-weight: bold;
}

.overlay_ads {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1001;
  display: none;
}

/* ////////// Start Language \\\\\\\\\\ */
article.button-and-icon-globe {
  flex-direction: row;
  display: flex;
  gap: 5px;
  align-items: center;
  position: absolute;
  left: 10px;
  cursor: pointer;
}

#languagespan {
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 5px;
}

#overlay_language {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 1001;
}

#overlay_language.active {
  display: block;
}

#languageMenu {
  position: fixed;
  bottom: 0;
  left: 50%;
  width: 100%;
  max-width: 768px;
  box-shadow: 0 4px 6px rgb(0, 0, 0);
  transform: translateY(100%);
  transition: transform 0.3sease;
  z-index: 10000;
  border-radius: 20px 20px 0 0;
}

#languageMenu.visible {
  transform: translateX(-50%) translateY(0);
}

.menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  border-bottom: 1px solid rgb(241, 205, 171);
}

.menu-header span {
  font-size: 18px;
  font-weight: bold;
}

.menu-header i {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
}

button:focus,
#languageMenu {
  outline: none;
}

ul.name-lang {
  list-style: none;
  margin: 0;
  padding: 0;
}

ul.name-lang li {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  border-bottom: 1px solid rgb(241, 205, 171);
  list-style: none;
  cursor: pointer;
}

ul.name-lang li a {
  text-align: center;
  font-size: 16px;
  text-decoration: none;
}

/* ////////// End Language \\\\\\\\\\ */

/* ////////// Start \\\\\\\\\\ */
.icon-heart-and-profile-and-discription-and-button-and-icon-globe {
  display: flex;
  flex-direction: row;
  padding: 10px;
  position: relative;
}

.profile-and-discription {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin: auto;
  gap: 10px;
}

.profile-pic {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  box-shadow: 0 0 5px;
  margin-top: -56px;
  transition: transform 0.2s;
  cursor: pointer;
}

.profile-pic:hover {
  transform: scale(1.1);
}

.overlay,
.popup-overlay {
  position: fixed;
  top: 0;
  margin: auto;
  width: 768px;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

@media (max-width: 768px) {
  .overlay,
  .popup-overlay {
    width: 100%;
  }
}

.popup.popup2 {
  padding: 0;
  max-height: 90vh;
  min-width: 320px;
  max-width: 400px;
  width: 90vw;
  overflow-y: auto;
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255,255,255,0.08);
  transform: scale(0.8);
  transition: transform 0.3s ease-in-out;
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: column;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.overlay img {
  width: 280px;
  height: 280px;
  border-radius: 10px;
}

.modal-open {
  overflow: hidden;
  height: 100vh;
}

article.overlay-card,
.overlay-card-gride {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(0 0 0 / 70%);
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #dbcfb7;
  z-index: 1;
}

.overlay-card-gride-img {
  background-color: rgb(0 0 0 / 70%);
  z-index: 1;
}

.product,
article.overlay-card {
  border-radius: 25px 0 10px 10px;
}

.overlay-card-gride {
  border-radius: 10px 10px 25px 10px;
}

button.close-share-branch {
  background: rgb(241, 205, 171);
  padding: 5px 10px;
  font-size: 15px;
  border-radius: 12px;
}

.content-share-branch {
  padding: 20px;
  border-radius: 10px;
  display: flex;
  text-align: center;
  overflow-y: auto;
  gap: 10px;
  flex-direction: row;
  width: 100%;
  position: relative;
}

.btn-copy-link-and-copied-link {
  display: flex;
  flex-direction: column;
}

.btn-copy-link-and-copied-link svg {
  width: 50px;
  height: 50px;
}

.close-profile,
.close-btn {
  position: absolute;
  top: 20px;
  right: 10px;
  font-size: 22px;
  cursor: pointer;
  border: none;
  overflow: hidden;
  width: 50px;
  height: 31px;
  display: flex;
  align-items: center;
  border-radius: 19px;
  justify-content: center;
  z-index: 1;
  transition: background 0.3sease;
}

.copy-notification {
  display: none;
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #4caf50;
  color: white;
  padding: 12px 20px;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  transition: opacity 0.3s ease-in-out;
}

@media (max-width: 425px) {
  .profile-pic {
    width: 90px;
    height: 90px;
    margin-top: -57px;
  }
}
span.price-addition {
  font-size: 13px;
}
h1.place-name {
  font-family: sans-serif;
  font-size: 18px;
  font-family: "montserrat", sans-serif;
}
h1.place-name.description {
  font-size: 12px !important;
}

h1.place-name.description.is-empty,
h1.place-name.description:empty {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 0 !important;
  min-height: 0 !important;
  overflow: hidden;
}

.profile-and-discription:not(:has(.place-name.description:not(.is-empty))) {
  gap: 6px;
}
.socialmedia {
  display: flex;
  flex-direction: row;
  gap: 15px;
  align-items: center;
}

.socialmedia a {
  text-decoration: none;
}

.socialmedia a i,
svg.lucide.lucide-phone-call-icon.lucide-phone-call,
svg.lucide.lucide-map-pin-icon.lucide-map-pin,
.icon-clock,
.icon-facebook,
svg.icon-tiktok {
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  width: 21px;
  height: 21px;
}

.icon-clock {
  position: absolute;
  right: 10px;
  top: 50px;
}

section.img_slider {
  position: relative;
}

.slider-top-actions {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
}

.slider-top-actions > * {
  pointer-events: auto;
}

.openPopup.place-status-trigger.place-status-inline {
  position: static;
  right: auto;
  top: auto;
  margin: 4px 0 10px;
  justify-content: center;
}

.openPopup.place-status-trigger.place-status-inline i {
  position: static;
}

.pwa-install-trigger-btn.slider-pwa-btn {
  position: static;
  width: auto;
  height: auto;
  padding: 4px 13px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgb(0, 0, 0);
  background: #ede0d4;
  color: #8d6f5a;
  font-size: 15px;
  display: inline-flex;
  gap: 5px;
  align-items: center;
}

.slider-top-actions button.openPopup.branch {
  position: static;
  margin: 0;
}

/* ===== حالة مفتوح/مغلق تحت الوصف ===== */
.profile-status-row {
  display: flex;
  justify-content: center;
  margin: 4px 0 12px;
}

.profile-status-row .place-status-dot {
  display: inline-flex;
}

/* ===== صف اللغة وأوقات العمل (قديم) ===== */
.profile-actions-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 100%;
  padding: 0 12px;
  margin: 6px 0 12px;
  box-sizing: border-box;
  position: relative;
  z-index: 5;
  direction: ltr;
}

.profile-actions-row .lang-trigger-btn,
.profile-actions-row .place-status-trigger.place-status-inline {
  position: static;
  margin: 0;
}

.popup.popup2 {
  direction: rtl;
  text-align: right;
}

html[lang="ar"] .popup.popup2,
html[lang="ar"] .work-timings,
html[lang="ar"] .hours-list,
html[lang="ar"] .time-popup {
  direction: rtl;
  flex-direction: row;
}

html[lang="ar"] .time-popup .day {
  text-align: right;
  order: 1;
}

html[lang="ar"] .time-popup .data-time {
  text-align: left;
  order: 2;
}

/* ===== زر اللغة على اليسار ===== */
.lang-trigger-btn {
  position: absolute;
  left: 10px;
  top: 10px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  transition: background 0.2s, transform 0.2s;
  z-index: 5;
}

.lang-trigger-btn:hover {
  background: rgba(0,0,0,0.07);
  transform: scale(1.1);
}

.pwa-install-trigger-btn {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  font-size: 15px;
  background: rgba(0,0,0,0.06);
  border: none;
  color: inherit;
  z-index: 6;
  transition: background 0.2s, transform 0.2s;
}

.pwa-install-trigger-btn:hover {
  background: rgba(0,0,0,0.12);
  transform: scale(1.08);
}

.openPopup.place-status-trigger {
  position: absolute;
  right: 10px;
  top: 50px;
  z-index: 5;
}

.profile-actions-row .openPopup.place-status-trigger {
  position: static;
}

.checkout-address-block {
  margin-bottom: 14px;
}

.checkout-address-block label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #333;
}

.checkout-address-block label .req {
  color: #e74c3c;
}

.checkout-address-block input,
.checkout-address-block select,
.checkout-address-block textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #ccc;
  background: #fff;
  font-size: 14px;
  box-sizing: border-box;
}

.checkout-address-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

#checkout-summary .summary-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  font-size: 14px;
}

#checkout-summary .summary-total {
  border-top: 1px solid #ddd;
  margin-top: 6px;
  padding-top: 10px;
  font-size: 1.15em;
  font-weight: 700;
}

.work-timings {
  font-size: 18px;
  font-weight: 700;
  padding: 24px 24px 0;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
}

.work-timings-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  flex-shrink: 0;
}

.hours-list {
  padding: 16px 20px 20px;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.time-popup {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 14px;
  border-radius: 12px;
  transition: all 0.25s ease;
  position: relative;
  animation: fadeSlideUp 0.4s ease forwards;
  opacity: 0;
}

.time-popup:nth-child(1) { animation-delay: 0.05s; }
.time-popup:nth-child(2) { animation-delay: 0.1s; }
.time-popup:nth-child(3) { animation-delay: 0.15s; }
.time-popup:nth-child(4) { animation-delay: 0.2s; }
.time-popup:nth-child(5) { animation-delay: 0.25s; }
.time-popup:nth-child(6) { animation-delay: 0.3s; }
.time-popup:nth-child(7) { animation-delay: 0.35s; }

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.time-popup:hover {
  background: rgba(0,0,0,0.04);
}

.time-popup.today-row {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.08) 100%);
  border: 1px solid rgba(102, 126, 234, 0.2);
}

.time-popup .day {
  text-align: right;
  font-weight: 600;
  font-size: 14px;
  min-width: 60px;
}

.time-popup.today-row .day {
  color: #667eea;
}

.data-time {
  direction: rtl;
  display: flex;
  gap: 6px;
  font-size: 13px;
  color: #666;
  align-items: center;
}

.data-time .closed-text {
  color: #e74c3c;
  font-weight: 600;
  font-size: 12px;
  background: rgba(231, 76, 60, 0.08);
  padding: 3px 10px;
  border-radius: 20px;
}

.today-badge {
  font-size: 10px;
  font-weight: 700;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
  padding: 2px 8px;
  border-radius: 20px;
  margin-right: 6px;
}

body.modal-open {
  overflow: hidden;
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.popup.popup1 {
  padding: 20px;
  width: 570px;
  height: 100vh;
  overflow-y: auto;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  transform: scale(0.8);
  transition: transform 0.3sease-in-out;
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: column;
}

@media (max-width: 598px) {
  .popup.popup1 {
    width: 100%;
    padding: 5px;
    border-radius: 0;
  }
}

button.openPopup.branch {
  position: absolute;
  top: 0;
  margin: 10px;
  padding: 4px 13px;
  font-size: 15px;
  box-shadow: 0 4px 6px rgb(0, 0, 0);
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

#install-btn,
#ios-install-btn {
  position: absolute;
  top: 0;
  right: 0;
  margin: 10px;
  padding: 4px 13px;
  background-color: #ede0d4;
  color: #8d6f5a;
  font-size: 15px;
  box-shadow: 0 4px 6px rgb(0, 0, 0);
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

article.profile-pic-branch-and-place-name {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 15px;
  margin-top: 46px;
  gap: 10px;
}

img.profile-pic-branch {
  width: 100px;
  border-radius: 50%;
  height: 100px;
}

h2.name-branches {
  font-size: 15px;
}

article.branches-all {
  display: flex;
  align-items: center;
  width: 100%;
  height: 100vh;
  overflow-y: auto;
  flex-direction: column;
  padding: 10px;
  gap: 13px;
  margin-bottom: 45px;
}

article.branches-place {
  width: 100%;
  height: 75px;
  flex-direction: row;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.5);
  border-radius: 12px;
  padding: 10px 0 10px 10px;
}

a.img-place-description-place {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 10px;
  text-decoration: none;
}

article.img-place {
  width: 80px;
  height: 60px;
}

article.img-place img {
  width: 100%;
  height: 100%;
  border-radius: 6px;
}

article.description-place {
  font-size: 12px;
  width: 237px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  direction: rtl;
  margin: auto;
  text-align: center;
}

@media (max-width: 768px) {
  article.description-place {
    font-size: 14px;
  }
}

@media (max-width: 412px) {
  article.description-place {
    width: 163px;
    font-size: 12px;
  }

  article.img-place {
    width: 64px;
  }
}

.menu-container-branch {
  display: inline-block;
  margin: 20px;
  position: relative;
}

.menu-icon-branch {
  cursor: pointer;
  font-size: 24px;
  justify-content: center;
  align-items: center;
  display: inline-block;
  text-align: center;
}

.dropdown-branch {
  position: absolute;
  top: 23px;
  right: 9px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  border-radius: 5px;
  overflow: hidden;
  z-index: 1000;
  width: 139px;
  opacity: 0;
  transform: translateY(-20px);
  pointer-events: none;
  transition: opacity 0.4sease, transform 0.4sease;
}

.dropdown-branch ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.dropdown-branch li {
  padding: 10px;
  cursor: pointer;
  text-align: center;
  transition: background 0.3s ease;
}

.menu-icon-branch.active .dropdown-branch {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

li.item-share-branch,
li.item-place-branch {
  border-bottom: rgb(241, 205, 171) solid 1px;
}

span.share-branch,
a.place-branch,
a.menu-branch {
  color: #8d6f5a;
  display: flex;
  align-items: center;
  flex-direction: row;
  text-decoration: none;
  gap: 10px;
  justify-content: right;
  font-size: 15px;
}

a.menu-branch {
  margin-right: 30px;
}

a.place-branch svg {
  width: 20px;
}

.btn-copy-link {
  display: block;
  margin: 10px auto;
  padding: 10px;
  color: rgb(0, 0, 0);
  text-decoration: none;
  width: max-content;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  gap: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.btn-copy-link:hover {
  background: #0056b3;
  color: white;
}

.popup-share-branch {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10060;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.branch-share-modal {
  width: min(380px, calc(100vw - 32px));
  background: #f7f7f7;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  direction: rtl;
}

.branch-share-modal .share-via-label {
  margin: 0 20px 12px;
}

.branch-share-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 0 20px 12px;
  direction: rtl;
}

.branch-share-copy {
  width: calc(100% - 40px);
  margin: 0 20px 20px;
  border: 0;
  background: #111;
  color: #fff;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* ////////// End \\\\\\\\\\ */

/* ////////// Start \\\\\\\\\\ */
.menu-container {
  position: sticky;
  overflow-x: scroll;
  display: flex;
  flex-direction: row;
  direction: rtl;
  width: 100%;
  top: 0;
  justify-content: space-around;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  gap: 5px;
  z-index: 1000;
}

.menu-container a {
      padding: 3px 3px 3px 8px;
      border-radius: 30px;
      white-space: nowrap;
  text-decoration: none;
      font-weight: 700;
    font-size: 13px;
    cursor: pointer;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  text-transform: capitalize;
      box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
}
.menu-container a span {
  text-align: center;
}
.menu-container a img {
  width: 40px;
  height: 40px;
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

::-webkit-scrollbar {
  display: none;
}

/* ////////// End \\\\\\\\\\ */

/* ////////// Start \\\\\\\\\\ */
.toggle-container {
  margin-top: 10px;
  gap: 10px;
  border-radius: 25px;
  border: 2px solid transparent;
  border: rgb(241, 205, 171) solid 2px;
  margin: auto;
  width: 90px;
  flex-direction: row;
  display: flex;
}

.random1 {
  display: flex;
  justify-content: center;
  margin-top: 15px;
  margin-bottom: 15px;
  cursor: pointer;
}

.random2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 80px;
  height: 35px;
  border: #8d6f5a solid 2px;
  border-radius: 25px;
  position: relative;
  padding: 10px;
}

.random2 i {
  font-size: 20px;
}

.random3 {
  width: 35px;
  height: 35px;
  border: #876e5f solid 2px;
  border-radius: 50%;
  position: absolute;
  transition: 0.3s;
  margin-left: -11px;
}

.random2.active .random3 {
  transform: translateX(43px);
}

.random4 {
  display: none;
  font-size: 18px;
  margin-bottom: 20px;
}

.random4.active {
    display: block;
    padding: 0px 0px 42px;
}

/* ////////// End \\\\\\\\\\ */

/* ////////// Start According \\\\\\\\\\ */

article.countainer-item {
  max-width: 768px;
  margin: auto;
}

article.relative {
  display: flex;
  width: 49%;
  /* background: aliceblue; */
}

@media (max-width: 642px) {
  article.relative {
    width: 100%;
  }
}

.custom-container {
  margin: 0 auto;
}

.custom-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* background: #f8e1e7; */
  border-radius: 8px;
  width: 96%;
  margin: auto;
  padding: 5px 10px;
  height: 65px;
  margin-top: 10px;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  text-transform: capitalize;
  transition: background-color 0.3s;
}

.custom-box-product {
  display: flex;
  align-items: center;
  box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.5);
  gap: 10px;
  /* background: #f8e1e7; */
  direction: rtl;
  height: 85px;
  cursor: pointer;
  position: relative;
  text-transform: capitalize;
  /*    justify-content: space-between;*/
  width: 100%;
  padding: 5px;
}

.custom-box-product,
article.overlay-card {
  border-radius: 25px 0 10px 10px;
}

.custom-heading {
  font-size: 20px;
  font-weight: bold;
  text-align: right;
}

.accordion-content {
  padding: 16px;
  border-radius: 8px;
  margin-top: 8px;
  box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease;
  padding: 0;
  margin: 0;
}

.accordion-content.active {
  display: block;
  opacity: 1;
  transition: max-height 0.4s ease-in, opacity 0.3s ease-in-out;
}

.custom-spacing > * + * {
  margin-top: 12px;
}

.custom-spacing {
  margin: 10px;
  gap: 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  direction: rtl;
  align-items: end;
}

.img-product {
  width: 78px;
  height: 100%;
}

.img-product img {
  width: 100%;
  height: 97%;
  border-radius: 3px;
  display: flex;
  align-items: center;
}

.custom-text {
  font-size: 14px;
}

.img-main-product {
  display: flex;
  align-items: center;
  gap: 10px;
}

.img-main-product i,
.img-main-product img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.heading-text-share {
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 35px 0 10px;
  font-size: 15px;
}

.image-name-container-share {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin: auto;
}

.image-name-container-share #shareImage {
  border-radius: 12px;
  width: 200px;
  height: 200px;
}

.image-name-container-share .product-name-share {
  color: #0056b3;
}

.button-container {
  display: flex;
  gap: 10px;
  margin-top: 8px;
  overflow-x: scroll;
  scrollbar-width: none;
  flex-direction: row;
  align-items: center;
  direction: rtl;
  white-space: nowrap;
  scroll-behavior: smooth;
}

.copy-button,
.whatsapp-button,
.telegram-button,
.facebook-button,
.messenger-button,
.twitter-button,
.tiktok-button,
.snapchat-button,
.linkedin-button {
  padding: 8px 16px;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  display: flex;
  gap: 5px;
}

.copy-button i,
.whatsapp-button img,
.telegram-button img,
.facebook-button img,
.messenger-button img,
.tiktok-button img,
.twitter-button img,
.snapchat-button img,
.linkedin-button img {
  width: 45px;
  font-size: 20px;
}

.copy-button i {
  border-radius: 50%;
  /* border: #0056b3 solid 2px; */
  padding: 10px;
}

body.popup-open {
  overflow: hidden;
}

.popup-container {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 1001;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  background: rgba(0, 0, 0, 0.5);
}

.popup-container.active {
  visibility: visible;
  opacity: 1;
}

.popup_content {
  width: 100%;
  max-width: 768px;
  border-radius: 20px 20px 0 0;
  text-align: center;
  padding: 20px;
  position: relative;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  max-height: 59vh;
  display: flex;
  flex-direction: column;
}

.popup-container.active .popup_content {
  transform: translateY(0);
}

.share-popup-container {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.share-popup-container.active {
  visibility: visible;
  opacity: 1;
  z-index: 10100;
}

.share-popup {
  background: #f7f7f7;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.2);
  position: relative;
  text-align: right;
  padding: 0;
  width: min(380px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  overflow: hidden;
}

@media (min-width: 570px) {
  .share-popup {
    width: 380px;
  }
}

@media (max-width: 570px) {
  .share-popup {
    width: calc(100vw - 24px);
    border-radius: 16px;
  }
}

.share-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 0;
  color: #151515;
  font-size: 16px;
  font-weight: 600;
}

.share-modal-close {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: #ffffff;
  color: #3a3a3a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
}

.share-product-card {
  margin: 16px 20px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  direction: rtl;
}

.share-product-thumb {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  background: #efe7d7;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #b57a2b;
}

.share-product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.share-product-thumb img[style*="none"] + i {
  display: block;
}

.share-product-thumb i {
  font-size: 24px;
  display: none;
}

.share-product-info {
  flex: 1;
  min-width: 0;
}

.image-name-container-share .product-name-share,
.share-product-info .product-name-share {
  margin: 0;
  color: #151515;
  font-size: 15px;
  font-weight: 600;
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.share-product-price {
  margin: 4px 0 0;
  color: #777;
  font-size: 13px;
}

.share-copy-row {
  margin: 0 20px 16px;
  display: flex;
  gap: 8px;
  direction: rtl;
}

.share-link-text {
  flex: 1;
  min-width: 0;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  padding: 10px 12px;
  color: #777;
  font-size: 13px;
  direction: ltr;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.share-copy-button {
  border: 0;
  background: #111111;
  color: #ffffff;
  border-radius: 10px;
  padding: 10px 14px;
  cursor: pointer;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.share-copy-button i {
  width: auto;
  padding: 0;
  border-radius: 0;
  font-size: 15px;
}

.share-copy-button span {
  color: inherit;
  font-size: inherit;
}

.share-divider {
  margin: 0 20px 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.share-via-label {
  margin: 0 20px 12px;
  color: #777;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.share-popup .button-container {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 0 20px 20px;
  margin: 0;
  overflow: visible;
  direction: rtl;
  white-space: normal;
}

.share-popup .share-channel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 6px;
  min-width: 0;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  color: #555;
  text-decoration: none;
  font-size: 11px;
}

.share-channel-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #fff;
}

.share-wa .share-channel-icon { background: #25d366; }
.share-tg .share-channel-icon { background: #229ed9; }
.share-fb .share-channel-icon { background: #1877f2; }
.share-msgr .share-channel-icon { background: #0084ff; }
.share-tt .share-channel-icon { background: #111; }
.share-x .share-channel-icon { background: #000; }
.share-sc .share-channel-icon { background: #fffc00; color: #111; }
.share-li .share-channel-icon { background: #0a66c2; }

.share-popup .share-channel img {
  display: none;
}

.share-popup .share-copy-button.copy-button {
  flex-direction: row;
  padding: 10px 14px;
  border-radius: 10px;
  background: #111;
  color: #fff;
  gap: 6px;
}

.share-popup .share-copy-button.copy-button i {
  width: auto;
  padding: 0;
  border-radius: 0;
  font-size: 15px;
}

.accordion-icon {
  display: inline-block;
  transition: transform 0.3s ease-in-out;
}

.icon-rotated {
  transform: rotate(180deg);
}

.menu-container {
  position: sticky;
  overflow-x: scroll;
  display: flex;
  flex-direction: row;
  direction: rtl;
  width: 100%;
  top: 0;
  padding: 10px;
  justify-content: space-around;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  gap: 5px;
  z-index: 1000;
}

article.content-product {
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 10px;
  justify-content: center;
}

.content-product h3 {
  margin: 0;
  font-size: 13px;
  overflow: hidden;
  text-transform: capitalize;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.description_text {
  font-size: 12px;
  width: 237px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

@media (max-width: 768px) {
  .content-product h3,
  .description_text {
    width: 225px;
  }
}

@media (max-width: 715px) {
  .content-product h3,
  .description_text {
    width: 199px;
  }
}

@media (max-width: 642px) {
  .content-product h3,
  .description_text {
    width: 411px;
  }
}

@media (max-width: 562px) {
  .content-product h3,
  .description_text {
    width: 394px;
  }
}

@media (max-width: 510px) {
  .content-product h3,
  .description_text {
    width: 345px;
  }
}

@media (max-width: 480px) {
  .content-product h3,
  .description_text {
    width: 334px;
  }
}

@media (max-width: 460px) {
  .content-product h3,
  .description_text {
    width: 296px;
  }
}

@media (max-width: 429px) {
  .content-product h3,
  .description_text {
    width: 280px;
  }
}

@media (max-width: 408px) {
  .content-product h3,
  .description_text {
    width: 262px;
  }
}

@media (max-width: 379px) {
  .content-product h3,
  .description_text {
    width: 237px;
  }
}

@media (max-width: 367px) {
  .content-product h3,
  .description_text {
    width: 222px;
  }
}

@media (max-width: 353px) {
  .content-product h3,
  .description_text {
    width: 206px;
  }
}

@media (max-width: 335px) {
  .content-product h3,
  .description_text {
    width: 194px;
  }
}

@media (max-width: 319px) {
  .content-product h3,
  .description_text {
    width: 190px;
  }
}

@media (max-width: 308px) {
  .content-product h3,
  .description_text {
    width: 170px;
  }
}

article.calories-all {
  direction: rtl;
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 3px;
}
.unit-according {
  display: flex;
  align-items: center;
  padding: 0 5px;
  border-radius: 0 0 0 5px;
  gap: 5px;
  font-size: 14px;
  flex-direction: row;
  position: absolute;
  bottom: 4px;
  font-style: italic;
  font-weight: bold;
}

.icon-plus-calories-all-price i.fa-solid.fa-cart-shopping {
  /* width: 35px;
    height: 35px; */
  padding: 9px;
  gap: 5px;
  top: 0;
  position: absolute;
  background: #dbcfb7;
  color: #381710;
  align-items: center;
  border-radius: 25px 0 10px 0;
  display: flex;
  justify-content: center;
  font-size: 15px;
}

span.number-calories {
  display: flex;
  flex-direction: row;
  align-items: center;
}
article.stickyHeader {
  margin-bottom: 62px;
}
.stickyHeader img {
  width: 210px;
  height: 210px;
  border-radius: 10px;
  transform: translate(-50%);
  -webkit-transform: translate(-50%);
  position: absolute;
  top: -185px;
  left: 50%;
}

.stickyHeader h2 {
  text-transform: capitalize;
}

.stickyHeader .content {
  flex-grow: 1;
  overflow-y: auto;
  padding: 0 10px;
  text-align: right;
  max-height: 35vh;
  margin: 5px 0 33px;
}

.share-btn i.fa-solid.fa-share {
  position: absolute;
  top: 8px;
  left: 5px;
  font-size: 22px;
  /* background: #EDE0D4; */
  cursor: pointer;
  border: none;
  overflow: hidden;
  width: 50px;
  height: 31px;
  display: flex;
  align-items: center;
  border-radius: 19px;
  justify-content: center;
  z-index: 1;
  transition: background 0.3sease;
}

.title-name-and-desc {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin: 10px 0 0px;
}

article.pound-description-and-calories-all-popframe {
  display: flex;
  align-items: center;
  position: absolute;
  flex-direction: column;
  right: 0px;
  bottom: 7px;
  justify-content: space-between;
  width: 100%;
}

span.pound-description {
  font-weight: bold;
  gap: 5px;
  direction: rtl;
  border-radius: 10px 0 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 12px;
  margin-left: -10px;
}

article.size-options {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 18px;
  margin-bottom: 13px;
}
article.size-options button {
  padding: 5px;
  border-radius: 10px;
  border: none;
  background: none;
  box-shadow: 0 0 5px black;
}
.size-options button.active {
  font-weight: bold;
}

.close-btn-share {
  box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.5);
  padding: 10px;
  border: none;
  border-radius: 5px;
  width: 80%;
  margin-top: 10px;
  cursor: pointer;
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
}

.text-additional {
  font-size: 16px;
  font-weight: 600;
  display: flex;
  direction: rtl;
  margin: 10px 0 5px 0;
}

article.checkbox-and-name-item-add {
  display: flex;
  align-items: center;
  gap: 10px;
}

label.checkbox-and-name-item-add-and-price-additional {
  width: 100%;
  display: flex;
  padding-bottom: 10px;
  align-items: center;
  justify-content: space-between;
  border-bottom: solid 1px rgb(241, 205, 171);
}

input[type="checkbox"]:checked::before {
  content: "✔";
  /* إضافة علامة صح */
  position: absolute;
  font-size: 18px;
  font-weight: 700;
  top: -2px;
  left: 4px;
}

input[type="checkbox"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 25px;
  height: 25px;
  border-radius: 4px;
  cursor: pointer;
  position: relative;
}
input[type="checkbox"]:checked {
  border-color: white;
}
.name-item-add {
  font-size: 14px;
}

article.calories-all-popframe {
  direction: rtl;
  color: #8d6f5a;
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 3px;
}

span.price-addition {
  display: flex;
  align-items: center;
}

article.overlay-card,
.overlay-card-gride {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(0 0 0 / 70%);
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

/* ////////// End According \\\\\\\\\\ */

/* ////////// Start Gride \\\\\\\\\\ */
/* .content.hidden {} */
.item-product-all {
  display: flex;
  flex-direction: column;
}

.cards-gride {
  padding: 10px;
  flex-wrap: wrap;
  display: flex;
  gap: 60px 15px;
  align-items: center;
  justify-content: center;
}

article.grid-item-product {
  width: 160px;
  height: 194px;
  box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.5);
  border-radius: 10px 10px 25px;
  position: relative;
  flex-direction: column;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  cursor: pointer;
}

@media (max-width: 320px) {
  article.grid-item-product {
    width: 152px;
  }

  .cards-gride {
    padding: 5px;
    gap: 60px 6px;
  }
}

h1.name-items-gride {
  display: flex;
  align-items: center;
  direction: rtl;
  margin: 20px 20px 55px;
  font-size: 15px;
  justify-content: center;
}

.unit-gride-offer {
  position: absolute;
  bottom: 4px;
  display: flex;
  flex-direction: row;
  gap: 4px;
}

.unit-gride-collect img.offer {
  width: 50px;
  height: 50px;
  position: absolute;
  top: -8px;
  right: -4px;
}

img.image-product-gride {
  box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.5);
}

img.image-product-gride,
.overlay-card-gride-img {
  height: 100px;
  width: 100px;
  border-radius: 50%;
  align-items: center;
  display: flex;
  top: -52px;
  position: absolute;
  justify-content: center;
}

h1.name-product-gride {
  font-size: 13px;
  direction: rtl;
  margin-top: 53px;
  text-transform: capitalize;
  display: flex;
  align-items: center;
  justify-content: center;
}

article.calories-all-gride {
  display: flex;
  align-items: center;
  direction: rtl;
  font-size: 12px;
  gap: 3px;
}

.plus-grid i.fa-solid.fa-cart-shopping {
  position: absolute;
  /* width: 35px; */
  /* height: 35px; */
  padding: 8px 10px;
  bottom: 0;
  background: #dbcfb7;
  color: #381710;
  align-items: center;
  border-radius: 10px 0 25px 0;
  display: flex;
  justify-content: center;
  direction: rtl;
  gap: 5px;
  font-size: 15px;
}

.unit-grid {
  display: flex;
  align-items: center;
  padding: 0 5px;
  border-radius: 0 0 0 5px;
  gap: 5px;
  font-size: 12px;
  flex-direction: row;
  position: absolute;
  bottom: 4px;
}
del.discount-gride,
span.pound-gride {
  direction: rtl;
  display: flex;
  align-items: center;
  padding-top: 10px;
}
.pound-gride {
  font-weight: bold;
  font-size: 15px;
  font-style: italic;
}
del.discount-gride {
  padding-top: 10px;
  font-size: 10px;
}

span.pound-gride {
  gap: 4px;
  font-size: 12px;
}
.unit-gride-size {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  color: #fff;
  flex-direction: row;
  position: absolute;
  bottom: 0;
  gap: 5px;
  direction: rtl;
}

/* ////////// End Gride \\\\\\\\\\ */

/* //////////  Start Description \\\\\\\\\\ */

.stickyHeader h2,
.image-name-container-share .product-name-share {
  font-size: 13px;
  line-height: 25px;
  letter-spacing: 0.38px;
  margin: 0 16px 7px;
}

.stickyHeader p {
  font-size: 16px;
  line-height: 23px;
  letter-spacing: 0.32px;
  margin-bottom: 10px;
  text-align: center;
}

.popFrame .content {
  flex-grow: 1;
  overflow-y: auto;
  padding: 0 10px;
  text-align: right;
  max-height: 50vh;
  /* تحديد أقصى ارتفاع لمحتوى النص */
  margin: 5px 0 5px;
}

.item-add {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  direction: rtl;
  gap: 10px;
}

.text-additional {
  font-size: 16px;
  font-weight: 600;
  display: flex;
  margin: 10px 0 5px 0;
}

label.checkbox-and-name-item-add-and-price-additional {
  width: 100%;
  display: flex;
  padding: 10px;
  align-items: center;
  justify-content: space-between;
  border-bottom: solid 1px rgb(241, 205, 171);
}

article.checkbox-and-name-item-add {
  display: flex;
  align-items: center;
  gap: 10px;
}

article.name-item-add-and-calories-all-popframe {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

article.calories-all-popframe {
  direction: rtl;
  display: flex;
  align-items: center;
  gap: 3px;
}

input[type="checkbox"] {
  /* إخفاء الـ checkbox الأصلي */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 25px;
  height: 25px;
  border: 2px solid rgb(241, 205, 171);
  /* تحديد الحدود */
  border-radius: 4px;
  cursor: pointer;
  position: relative;
}

input[type="checkbox"]:checked::before {
  content: "✔";
  /* إضافة علامة صح */
  position: absolute;
  font-size: 18px;
  font-weight: 700;
  top: -2px;
  left: 4px;
}

.plus-grid i.fa-solid.fa-cart-shopping:hover,
.icon-plus-calories-all-price i.fa-solid.fa-cart-shopping:hover {
  background: white;
}

.price-discription {
  font-size: 20px;
  margin-top: 20px;
}

article.pound-description-and-calories-all-popframe
  article.calories-all-popframe {
  direction: rtl;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  flex-wrap: wrap;
  font-weight: bold;
  margin-right: -10px;
}

span.unit-description {
  display: flex;
  flex-direction: row;
  align-items: center;
  box-shadow: 0 4px 6px rgb(0, 0, 0);
}

del.discount-description {
  padding: 5px;
  height: 30px;
  direction: rtl;
  border-radius: 0 0 10px 0;
  display: flex;
  align-items: center;
  font-size: 15px;
}

.goBack {
  box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.5);
  padding: 10px;
  border: none;
  border-radius: 5px;
  width: 100%;
  margin-top: 10px;
  cursor: pointer;
}

/* //////////  End Description \\\\\\\\\\ */

/* //////////  Start Footer \\\\\\\\\\ */
footer {
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.5);
  padding: 10px;
  border-radius: 12px 12px 0 0;
}

.popup.popup3 {
  padding: 20px;
  max-height: 100vh;
  overflow-y: auto;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  transform: scale(0.8);
  transition: transform 0.3sease-in-out;
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: column;
}

span.open-popup-footer {
  font-size: 17px;
  cursor: pointer;
  /* تغيير المؤشر عند المرور فوق النص */
  color: #fff;
}

.click-here {
  text-decoration: underline;
  font-weight: 600;
}

img.logo-quick-menu {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  box-shadow: 0 0 5px;
}

h2.content-our {
  font-size: 18px;
}

.socialmedia-our {
  display: flex;
  flex-direction: row;
  gap: 10px;
  margin-top: 20px;
  align-items: center;
  justify-content: center;
}

.socialmedia-our a {
  text-decoration: none;
}

.socialmedia-our a svg.gmail-activity,
svg.instagram-activity,
svg.facebook-acticity,
svg.whatssapp-activity,
svg.phone-activity {
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  display: flex;
}

/* //////////  End Footer \\\\\\\\\\ */
article.name-product-gride-and-detailts-product-gride {
  text-align: center;
}
/*  */
.order-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100% !important;
  background: #f97316;
  color: #fff;
  font-weight: 700;
  font-size: 1em;
  border: none;
  border-radius: 50px;
  padding: 14px 18px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 4px 18px rgba(249,115,22,0.35);
  direction: rtl;
  margin-top: 10px;
  gap: 12px;
}

.order-btn:hover {
  background: #ea6c0a;
  transform: scale(1.02);
}

.order-btn:active {
  transform: scale(0.98);
}

/* الجانب الأيمن - النص وأيقونة السلة */
.order-btn-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
}

.order-btn-cart {
  font-size: 17px;
}

/* الجانب الأيسر - السعر والسهم */
.order-btn-price {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  font-weight: 700;
  opacity: 0.92;
  direction: ltr;
}

.order-btn-currency {
  font-size: 12px;
  opacity: 0.85;
}

.order-btn-arrow {
  font-size: 12px;
  opacity: 0.8;
}

article.orderNow-back {
  display: flex;
  flex-direction: row;
  width: 100%;
  padding: 0 12px 12px;
  direction: rtl;
}

.stickyHeader .back-btn,
.close-btn-share {
  box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.5);
  padding: 10px;
  border: none;
  border-radius: 5px;
  width: 100%;
  margin-top: 10px;
  cursor: pointer;
}

/* إخفاء الأسهم من input[type="number"] الخاص بالكمية في جميع المتصفحات */
.quantity-input::-webkit-inner-spin-button,
.quantity-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* تنسيق العداد */
.quantity-control {
  border-radius: 20px;
  padding: 4px 10px;
  margin: 0 8px;
  font-size: 1.1em;
  display: inline-flex;
  align-items: center;
}

.quantity-label {
  font-weight: bold;
  color: #2f4031;
  margin-right: 6px;
  font-size: 1em;
}

.quantity-btn:hover {
  transform: scale(1.1);
}

.quantity-input {
  border: none;
  background: transparent;
  width: 38px;
  text-align: center;
  font-size: 1.1em;
  font-weight: bold;
  outline: none;
}

.quantity-input {
  -moz-appearance: textfield;
}

button.quantity-btn,
.quantity-btn-plus {
  background: none;
  border: none;
  box-shadow: 0 0 5px black;
  border-radius: 50%;
  padding: 6px;
  font-size: 14px;
  font-weight: 500;
}

.quantity-btn-plus {
  background-color: #222;
  color: white;
}

/*  */
button.cart-plus-btn {
  background: red;
  border: none;
  border-radius: 3px;
  color: white;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
}

button.cart-minus-btn {
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  border-radius: 3px;
  background: none;
  border: solid 1.5px #ccc;
}

.count-productqqq {
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.title-product-and-count-shop {
  display: flex;
  /* align-items: center; */
  justify-content: center;
  gap: 7px;
  flex-direction: column;
}

.cart-comment {
  width: 100%;
  margin-top: 10px;
  padding: 6px;
  border-radius: 0 0 12px 12px;
  border: 1px solid #ccc;
  position: absolute;
  bottom: 0;
  right: 0;
}

article.popup.popup7 {
  border-radius: 12px;
  height: 100%;
  width: 100%;
}

article.popup.popup7 b {
  direction: rtl;
  display: flex;
}

.edit-extras-list {
  display: flex;
  /* flex-wrap: wrap; */
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-top: 11px;
  /* padding: 26px; */
  max-height: 100%;
  overflow-x: auto;
}

/* أضف هذا في style.css أو داخل <style> في رأس الصفحة لتحسين الشكل */
.cart-extras-toggle {
  font-weight: bold;
  color: #40c351;
  margin-right: -73px;
  cursor: pointer;
  user-select: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.cart-extras-list {
  text-align: right;
  /* padding-right: 10px; */
  margin-right: -78px;
  margin-bottom: 30px;
}

#cart-title {
  text-align: center;
  font-size: 22px;
  font-weight: bold;
  padding: 15px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

span.cart-count {
  display: flex;
  align-items: center;
  justify-content: center;
}

.imgpoduct-andtitile-edit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 15px;
  direction: rtl;
}

#apply-extras-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.4);
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

.apply-extras-modal-content {
  background: #fff;
  padding: 30px 20px;
  border-radius: 12px;
  max-width: 320px;
  margin: auto;
  text-align: center;
}

.apply-extras-modal-content p {
  font-size: 18px;
  margin-bottom: 20px;
}

#apply-extras-yes {
  margin: 0 10px 0 0;
  padding: 8px 24px;
  background: #40c351;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

#apply-extras-no {
  margin: 0 10px 0 0;
  padding: 8px 24px;
  background: #ccc;
  color: #333;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

/*  */
.navigation {
  width: 100%;
  max-width: 735px;
  height: 60px;
  /* background: #ffffff; */
  position: relative;
  bottom: 0;
  position: fixed;
  z-index: 1001;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  margin: 0 16px;
  transition: transform 0.3s, opacity 0.3s;
  box-shadow: 0 0 5px black;
}

.navigation.hide {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}

.navigation ul {
  display: flex;
  width: 100%;
  justify-content: space-between;
}

.navigation ul li {
  position: relative;
  list-style: none;
  width: 25%;
  min-width: 50px;
  height: 60px;
  z-index: 2;
}

#cart-icon-count {
  position: absolute;
  top: 2px;
  right: 2px;
  background: #e74c3c;
  color: #fff;
  font-size: 12px;
  padding: 0 6px;
  border-radius: 50%;
  min-width: 18px;
  height: 18px;
  line-height: 18px;
  text-align: center;
  display: none;
  box-shadow: 0 1px 4px #0002;
  font-weight: bold;
  z-index: 10;
}

.navigation ul li span.group-home-nav,
.navigation ul li span.group-cart-icon-nav {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  text-align: center;
  font-weight: 500;
  cursor: pointer;
  transition: 0.5s;
}

.navigation ul li span.group-home-nav .cart-icon,
.navigation ul li span.group-cart-icon-nav .cart-icon,
.navigation ul li span.group-home-nav .icon,
.navigation ul li span.group-cart-icon-nav .icon {
  position: relative;
  display: block;
  line-height: 65px;
  font-size: 1.5em;
  text-align: center;
  transition: 0.5s;
  color: #222327;
}

.navigation ul li span.group-home-nav .cart-icon i,
.navigation ul li span.group-cart-icon-nav .cart-icon i,
.navigation ul li span.group-home-nav .icon i,
.navigation ul li span.group-cart-icon-nav .icon i {
  padding: 10px;
  border-radius: 50%;
  /* box-shadow: 0 0 5px black; */
}

.navigation ul li.active span .cart-icon,
.navigation ul li.active span .cart-icon,
.navigation ul li.active span .icon,
.navigation ul li.active span .icon {
  transform: translateY(-32px);
  /* color: #2196f3; */
}

.navigation ul li span.group-home-nav .text,
.navigation ul li span.group-cart-icon-nav .text {
  position: absolute;
  background: #2196f3;
  color: #fff;
  padding: 2px 7px;
  border-radius: 12px;
  font-weight: 400;
  font-size: 0.75em;
  letter-spacing: 0.05em;
  transition: 0.5s;
  opacity: 0;
  transform: translateY(15px);
}

.navigation ul li.active span .text,
.navigation ul li.active span .text {
  opacity: 1;
  transform: translateY(-4px);
}

@media (max-width: 500px) {
  .navigation {
    max-width: 100%;
    height: 55px;
    margin: 0 5px;
  }

  .navigation ul {
    max-width: 100%;
    width: 100%;
    padding: 0 5px;
  }

  .navigation ul li {
    width: 25%;
    min-width: 40px;
    height: 55px;
  }

  .navigation ul li span.group-home-nav .cart-icon,
  .navigation ul li span.group-cart-icon-nav .cart-icon,
  .navigation ul li span.group-home-nav .icon,
  .navigation ul li span.group-cart-icon-nav .icon {
    line-height: 56px;
  }
}

@media (max-width: 768px) {
  .navigation {
    max-width: 100%;
    margin: auto;
    border-radius: 12px 12px 0 0;
  }
}
.floating-cart-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
    /* background: #fff; */
    border-radius: 50%;
    box-shadow: 0 2px 8px #0002;
    width: 60px;
    height: 60px;
    justify-content: center;
    align-items: center;
    display: flex;
    cursor: pointer;
    transition: box-shadow 0.2s, background 0.2s;
}

.floating-cart-btn:hover {
    box-shadow: 0 4px 16px #0003;
    background: #f3f3f3;
}

.dragging-cart-item {
    transition: transform 0.2s;
    z-index: 10;
    position: relative;
}

/*  */
.menu-container a.active-section {
    background: #000000;
    color: #fff !important;
    border-radius: 30px;
    font-weight: bold;
    transition: background 0.3s, color 0.3s;
}

/* ...existing code... */
.cart-flip-container {
    perspective: 1200px;
    position: relative;
    min-height: 300px;
}

.cart-flip-inner {
    transition: transform 0.6s cubic-bezier(.4, 2, .6, 1);
    transform-style: preserve-3d;
    position: relative;
    width: 100%;
    min-height: 300px;
}

.cart-flip-front,
.cart-flip-back {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    backface-visibility: hidden;
}

.cart-flip-back {
    transform: rotateY(180deg);
}

.cart-flip-inner.flipped {
    transform: rotateY(180deg);
}
/*  */
.check-in-edit {
  /* background: #f3f3f3; */
  padding: 6px 12px;
  direction: rtl;
  display: flex;
  align-items: center;
  border-radius: 8px;
  gap: 5px;
  /* display: inline-block; */
  cursor: pointer;
}

.total-price-in-edit {
  margin-bottom: 20px;
  display: flex;
  direction: rtl;
  align-items: center;
  justify-content: center;
}

.countity-in-edit {
  margin-bottom: 15px;
  display: flex;
  direction: rtl;
  gap: 5px;
}

#checkout-summary {
  background: #fff;
  padding: 15px 10px 10px 10px;
  border-radius: 10px;
  margin-bottom: 18px;
  text-align: right;
  box-shadow: 0 2px 8px #0001;
  direction: rtl;
  display: flex;
  flex-direction: column;
}
/*  */
html[lang="ar"] .menu-header {
  direction: ltr; /* محاذاة النصوص من اليمين لليسار */
  display: flex;
}

/* عند تحديد اللغة الإنجليزية */
html[lang="en"] .menu-header {
  direction: rtl; /* محاذاة النصوص من اليسار لليمين */
  display: flex;
}
/* يمكنك وضعه في ملف style.css أو داخل <style> في رأس الصفحة */
.dragging-cart-item {
  transition: transform 0.2s;
  z-index: 10;
  position: relative;
}

/*  */
.menu-container a.active-section {
  background: #000000;
  color: #fff !important;
  border-radius: 30px;
  font-weight: bold;
  transition: background 0.3s, color 0.3s;
}

/* ...existing code... */
.cart-flip-container {
  perspective: 1200px;
  position: relative;
  min-height: 300px;
}

.cart-flip-inner {
  transition: transform 0.6s cubic-bezier(0.4, 2, 0.6, 1);
  transform-style: preserve-3d;
  position: relative;
  width: 100%;
  min-height: 300px;
}

.cart-flip-front,
.cart-flip-back {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  backface-visibility: hidden;
}

.cart-flip-back {
  transform: rotateY(180deg);
}

.cart-flip-inner.flipped {
  transform: rotateY(180deg);
}

/*  */

article.popup.popup6.cart-page-v2 {
  width: 100%;
  max-width: 480px;
  height: 100%;
  background: #f8f8f8;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
  display: flex;
  padding-bottom: 0;
  flex-direction: column;
  align-items: stretch;
  overflow: hidden;
  direction: rtl;
}

.cart-v2-header {
  padding: 18px 20px 14px;
  border-bottom: 0.5px solid #e5e5e5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  flex-shrink: 0;
}

.cart-v2-back {
  background: none;
  border: none;
  cursor: pointer;
  color: #666;
  font-size: 20px;
  padding: 4px;
  position: static;
  width: auto;
  height: auto;
  box-shadow: none;
}

.cart-v2-header-text {
  text-align: center;
  flex: 1;
}

.cart-v2-title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #222;
}

.cart-v2-subtitle {
  margin: 2px 0 0;
  font-size: 12px;
  color: #888;
}

.cart-v2-header-spacer {
  width: 28px;
}

.cart-v2-items {
  flex: 1;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
  width: 100%;
  height: auto;
  margin: 0;
}

.cart-page-v2 .cart-v2-card.cart-item {
  display: block;
  background: #fff;
  border: 0.5px solid #e5e5e5;
  border-radius: 14px;
  overflow: hidden;
  margin: 0;
  padding: 0;
  box-shadow: none;
}

.cart-v2-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
}

.cart-v2-img-wrap {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  background: #f3f3f3;
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-v2-img-wrap .cart-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cart-v2-info {
  flex: 1;
  min-width: 0;
}

.cart-v2-info .cart-name {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: #222;
}

.cart-v2-price {
  margin: 4px 0 0;
  font-size: 13px;
  color: #16a34a;
  font-weight: 600;
  text-align: right;
}

.cart-v2-card-top .cart-edit-btn {
  background: none;
  border: none;
  color: #888;
  font-size: 16px;
  cursor: pointer;
  padding: 6px;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cart-v2-card-top .cart-edit-btn:hover {
  background: #f0f0f0;
  color: #16a34a;
}

.cart-v2-card-bottom {
  border-top: 0.5px solid #e5e5e5;
  padding: 10px 14px 38px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-v2-qty {
  display: flex;
  align-items: center;
  background: #f3f3f3;
  border: 0.5px solid #e5e5e5;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.cart-v2-qty .cart-minus-btn,
.cart-v2-qty .cart-plus-btn {
  background: none;
  border: none;
  width: 34px;
  height: 34px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  padding: 0;
}

.cart-v2-qty .cart-plus-btn {
  background: #16a34a;
  color: #fff;
  border-radius: 0 8px 8px 0;
}

.cart-v2-qty .cart-count {
  min-width: 28px;
  text-align: center;
  font-size: 15px;
  font-weight: 500;
}

.cart-v2-card-bottom .cart-comment {
  flex: 1;
  background: #f3f3f3;
  border: 0.5px solid #e5e5e5;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 12px;
  text-align: right;
  outline: none;
  min-width: 0;
}

.cart-v2-add-more {
  background: none;
  border: 1.5px dashed #ccc;
  border-radius: 14px;
  padding: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #666;
  font-size: 13px;
  margin: 0 20px 12px;
}

.cart-v2-empty {
  text-align: center;
  color: #888;
  font-size: 16px;
  margin: 40px 20px;
  position: static;
  transform: none;
  width: auto;
}

.cart-v2-footer {
  border-top: 0.5px solid #e5e5e5;
  padding: 16px 20px 20px;
  background: #fff;
  flex-shrink: 0;
}

.cart-v2-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  font-size: 15px;
  padding-bottom: 2px;
}

.cart-v2-total-row span:first-child {
  color: #444;
  font-weight: 500;
}

.cart-v2-total-row span:last-child {
  font-weight: 600;
  font-size: 16px;
}

.cart-v2-checkout-btn {
  width: 100%;
  background: #16a34a;
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 15px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

#popup6 .checkout-form,
#popup6 #checkout-form,
#popup6 .cart-checkout-v2 {
  flex: 1;
  min-height: 0;
  display: none;
  flex-direction: column;
  overflow: hidden;
}

#popup6 .cart-checkout-v2[style*="block"],
#popup6 #checkout-form[style*="block"] {
  display: flex !important;
}

.cart-checkout-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
  background: #f8f8f8;
}

.cart-checkout-body .checkout-address-block input,
.cart-checkout-body .checkout-address-block select {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14px;
  width: 100%;
  box-sizing: border-box;
}

.cart-checkout-body #checkout-summary {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 14px 16px;
  margin-top: 8px;
  box-shadow: none;
}

.cart-checkout-footer {
  flex-shrink: 0;
  display: flex;
  gap: 10px;
  padding: 16px 20px 20px;
  background: #fff;
  border-top: 1px solid #e5e5e5;
}

.cart-checkout-back {
  flex: 0 0 auto;
  background: #f3f3f3;
  color: #333;
  border: none;
  border-radius: 12px;
  padding: 14px 20px;
  font-size: 15px;
  cursor: pointer;
}

.cart-checkout-submit {
  flex: 1;
  background: #16a34a;
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.cart-page-v2 article#cart-items,
.cart-page-v2 .cart-v2-items {
  height: auto;
  flex: 1;
  min-height: 0;
  margin: 0;
}

article.popup.popup6 {
  width: 100%;
  max-width: 768px;
  height: 100%;
  background: #fff;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
  display: flex;
  padding-bottom: 0;
  flex-direction: column;
  align-items: stretch;
  overflow: hidden;
}

#empty-cart-message {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  width: 100%;
  text-align: center;
  font-size: 20px;
  color: #888;
  z-index: 2;
  background: transparent;
  font-weight: 600;
  letter-spacing: 1px;
}

/* تنسيق الأحجام في السلة */
.cart-size {
  display: inline-block;
  padding: 4px 10px;
  margin: 2px;
  border-radius: 6px;
  background: #eee;
  color: #222;
  font-weight: normal;
  border: 1px solid #ccc;
  transition: background 0.2s, color 0.2s;
}

.cart-size.selected {
  background: #40c351;
  color: #fff;
  font-weight: bold;
}

/*  */
article#cart-items {
  width: 100%;
  height: 100vh;
  overflow-y: auto;
  padding: 0 10px;
  margin-top: 16px;
  margin-bottom: 8px;
}

.cart-item {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  background: #f9f9f9;
  border-radius: 12px;
  margin-bottom: 12px;
  padding: 10px 8px 10px 8px;
  box-shadow: 0 2px 8px #0001;
  position: relative;
  direction: rtl;
  user-select: none;
  cursor: grab;
  transition: transform 0.3s;
  padding-bottom: 33px;
}

img.cart-img {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 1px 4px #0001;
}

i.fa-solid.fa-pen-to-square {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 18px;
  color: #40c351;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 4px #0002;
  padding: 4px;
  cursor: pointer;
  transition: background 0.2s;
}

i.fa-solid.fa-pen-to-square:hover {
  background: #f3f3f3;
}

p.cart-total {
  position: absolute;
  bottom: 33px;
  left: 0px;
  font-size: 15px;
  color: #40c351;
  font-weight: bold;
  background: #fff;
  border-radius: 8px;
  padding: 2px 10px;
  box-shadow: 0 1px 4px #0001;
}

.cart-extras span {
  display: inline-flex;
  align-items: center;
  background: #f3f3f3;
  border-radius: 6px;
  padding: 2px 8px;
  /* margin: 2px 2px 2px 0; */
  font-size: 13px;
}

.cart-extras button {
  background: none;
  border: none;
  color: #40c351;
  font-size: 15px;
  margin: 0 2px;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.2s;
}

.cart-extras button:hover {
  background: #e6fbe6;
}

.cart-qty,
.cart-sizes {
  margin-bottom: 6px;
}

.cart-qty button,
.cart-qty .cart-count {
  font-size: 16px;
  margin: 0 2px;
}

.cart-qty button {
  background: #eee;
  border: none;
  border-radius: 6px;
  width: 28px;
  height: 28px;
  color: #222;
  font-weight: bold;
  transition: background 0.2s;
  cursor: pointer;
}

.cart-qty button:hover {
  background: #d2f5d2;
}

.cart-name {
  font-size: 1.1em;
  font-weight: bold;
  color: #222;
  margin-bottom: 4px;
  margin-top: 2px;
  text-align: right;
}

/* يمكنك وضعه في style.css */
.toggle-comment-btn {
  box-shadow: 0 1px 4px #0001;
}

.toggle-comment-btn.active {
  background: #40c351 !important;
  color: #fff !important;
}

#cart-total {
  text-align: center;
  /* font-size: 20px; */
  /* color: #40c351; */
  /* margin: 20px 0; */
  font-weight: bold;
  margin: 0;
  display: none;
  direction: rtl;
  /* position: fixed; */
  bottom: 64px;
  right: 5px;
}

#checkout-btn {
  display: none;
}

.cart-v2-footer #checkout-btn {
  position: static;
  bottom: auto;
  left: auto;
  right: auto;
  width: 100%;
  margin: 0;
  padding: 15px;
  border-radius: 12px;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

select#governorate-select,
#city-select,
#address-name,
#address-phone,
#address-detail {
  display: flex;
  direction: rtl;
  padding: 16px 2px !important;
  width: 100%;
  padding: 8px;
  border-radius: 8px;
}

h1 {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
/* ...existing code... */
#undo-delete-toast {
  display: none;
  position: fixed;
  bottom: 24px;
  left: 50%;
  max-width: 768px;
  width: 100%;
  transform: translateX(-50%);
  background: #fff;
  padding: 8px 28px;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 2px 16px #0002;
  z-index: 99999;
  text-align: center;
}

#undo-delete-btn {
  background: #40c351;
  color: #fff;
  padding: 6px 22px;
  border: none;
  border-radius: 6px;
  margin: 0 10px;
  cursor: pointer;
  font-size: 16px;
}

#undo-success-toast {
  display: none;
  position: fixed;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  padding: 18px 28px;
  border-radius: 12px;
  box-shadow: 0 2px 16px #0002;
  z-index: 99999;
  text-align: center;
}

/*  */
.popup.popup7 {
  background-color: #fff;
}

/* Improved branches modal */
#popup1 > .close-btn {
  display: none;
}

#popup1.popup-overlay {
  background: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
}

#popup1 .popup.popup1 {
  width: min(400px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  height: auto;
  min-height: 0;
  background: #f7f7f7;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 0;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
  overflow: hidden;
  transform: none;
  display: flex;
  flex-direction: column;
}

.branches-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 14px;
  color: #151515;
  font-size: 16px;
  font-weight: 700;
}

.branches-modal-close {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 50%;
  background: #fff;
  color: #555;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.branch-identity {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 20px 16px;
  direction: rtl;
}

.branch-identity-logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #efe7d7;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.branch-identity-logo img,
img.profile-pic-branch {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  object-fit: cover;
}

.branch-identity-copy {
  min-width: 0;
  text-align: right;
}

.branch-identity-copy .place-name {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #151515;
}

.branch-identity-copy p {
  margin: 2px 0 0;
  font-size: 13px;
  color: #777;
}

.branches-divider {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  margin: 0 20px;
}

#popup1 article.branches-all {
  height: auto;
  flex: 1;
  min-height: 0;
  max-height: none;
  width: 100%;
  overflow-y: auto;
  overflow-x: visible;
  padding: 12px 20px 20px;
  margin: 0;
  gap: 10px;
}

#popup1 article.branches-place {
  width: 100%;
  min-height: 70px;
  height: auto;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  box-shadow: none;
  gap: 10px;
  direction: rtl;
}

#popup1 article.branches-place:first-of-type {
  border-color: #c48a34;
  box-shadow: 0 0 0 1px rgba(196, 138, 52, 0.18);
}

#popup1 .branch-card-main {
  justify-content: flex-start;
  flex: 1;
  min-width: 0;
  gap: 12px;
  direction: rtl;
}

#popup1 article.img-place {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #efe7d7;
  flex-shrink: 0;
  overflow: hidden;
}

#popup1 article.img-place img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  object-fit: cover;
}

#popup1 article.description-place {
  flex: 1;
  width: auto;
  margin: 0;
  text-align: right;
  font-size: 14px;
  line-height: 1.45;
  color: #222;
}

#popup1 article.description-place span span {
  color: #151515;
}

#popup1 .menu-container-branch {
  margin: 0;
  flex-shrink: 0;
}

#popup1 .menu-icon-branch {
  width: 28px;
  color: #a9782d;
}

@media (max-width: 570px) {
  #popup1 .popup.popup1 {
    width: calc(100vw - 24px);
    border-radius: 16px;
  }
}
/* Branch actions dropdown fix */
#popup1 article.branches-place {
  overflow: visible;
}

#popup1 .menu-container-branch {
  position: relative;
  z-index: 5;
}

#popup1 .menu-icon-branch {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #a9782d;
  background: transparent;
}

#popup1 .menu-icon-branch.active {
  background: #f5ead8;
}

#popup1 .dropdown-branch {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: auto;
  width: 148px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
  overflow: hidden;
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

#popup1 .dropdown-branch ul {
  padding: 4px;
}

#popup1 .dropdown-branch li {
  padding: 0;
  border-bottom: 0;
}

#popup1 .dropdown-branch li + li {
  margin-top: 2px;
}

#popup1 .dropdown-branch a,
#popup1 .dropdown-branch span {
  width: 100%;
  min-height: 38px;
  padding: 9px 10px;
  border-radius: 9px;
  color: #222;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: row-reverse;
  gap: 8px;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

#popup1 .dropdown-branch a:hover,
#popup1 .dropdown-branch span:hover {
  background: #f5ead8;
  color: #8b5f1e;
}

#popup1 .menu-icon-branch.active .dropdown-branch {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ============================================
   Language Bottom Sheet
   ============================================ */
.lang-sheet-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 19000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  width: 768px;
  margin: auto;
  left: 50%;
  transform: translateX(-50%);
}

@media (max-width: 768px) {
  .lang-sheet-overlay {
    width: 100%;
    left: 0;
    transform: none;
  }
}

.lang-sheet-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.lang-sheet {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  width: 100%;
  max-width: 768px;
  background: #fff;
  border-radius: 24px 24px 0 0;
  z-index: 19100;
  padding-bottom: env(safe-area-inset-bottom, 16px);
  box-shadow: 0 -8px 40px rgba(0,0,0,0.18);
  transition: transform 0.38s cubic-bezier(0.32, 0.72, 0, 1);
}

.lang-sheet.active {
  transform: translateX(-50%) translateY(0);
}

.lang-sheet-handle {
  width: 44px;
  height: 4px;
  background: #ddd;
  border-radius: 4px;
  margin: 12px auto 0;
}

.lang-sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 12px;
  border-bottom: 1px solid #f0f0f0;
}

.lang-sheet-title {
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #222;
}

.lang-sheet-title i {
  color: #6366f1;
  font-size: 18px;
}

.lang-sheet-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: #f3f3f3;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: #555;
  transition: background 0.2s;
}

.lang-sheet-close:hover {
  background: #e0e0e0;
}

.lang-sheet-list {
  padding: 8px 0 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.lang-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: right;
  width: 100%;
  border-radius: 12px;
  margin: 0 8px;
  width: calc(100% - 16px);
  transition: background 0.18s;
  position: relative;
}

.lang-item:hover {
  background: #f7f7f7;
}

.lang-item.selected {
  background: #eef2ff;
}

.lang-flag {
  font-size: 28px;
  line-height: 1;
  flex-shrink: 0;
}

.lang-name {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
  flex: 1;
  text-align: right;
}

.lang-native {
  font-size: 13px;
  color: #888;
  min-width: 48px;
  text-align: center;
}

.lang-check {
  color: #6366f1;
  font-size: 16px;
  opacity: 0;
  transition: opacity 0.2s;
}

.lang-item.selected .lang-check {
  opacity: 1;
}

.site-ui-hidden {
  display: none !important;
}

.socialmedia--legacy {
  display: none !important;
}

/* ===== English layout overrides only — Arabic (html[lang="ar"]) unchanged ===== */
html[lang="en"] .popup.popup2 {
  direction: ltr;
  text-align: left;
}

html[lang="en"] .work-timings {
  direction: ltr;
  flex-direction: row;
}

html[lang="en"] .hours-list {
  direction: ltr;
}

html[lang="en"] .time-popup {
  flex-direction: row;
}

html[lang="en"] .time-popup .day {
  text-align: left;
  direction: ltr;
}

html[lang="en"] .time-popup.today-row .day {
  color: #667eea;
  direction: ltr;
}

html[lang="en"] .data-time {
  direction: ltr;
}

html[lang="en"] .pwa-sheet {
  direction: ltr;
}

html[lang="en"] .custom-spacing {
  direction: ltr;
}

html[lang="en"] .custom-box-product {
  direction: ltr;
}

html[lang="en"] .custom-box-product,
html[lang="en"] article.overlay-card {
  border-radius: 0 25px 10px 10px;
}

html[lang="en"] .icon-plus-calories-all-price i.fa-solid.fa-cart-shopping {
  left: auto !important;
  right: 0;
  border-radius: 0 25px 10px 0;
}

html[lang="en"] .custom-spacing .fa-cart-shopping[style*="left: 0"],
html[lang="en"] .custom-box-product .fa-cart-shopping {
  left: auto !important;
  right: 0;
}

html[lang="en"] .unit-according {
  left: auto !important;
  right: 0;
  border-radius: 0 0 5px 0;
}

html[lang="en"] .text-additional {
  direction: ltr;
}

html[lang="en"] label.checkbox-and-name-item-add-and-price-additional {
  direction: ltr;
}

html[lang="en"] .share-popup {
  text-align: left;
}

html[lang="en"] .share-popup .button-container {
  direction: ltr;
}

html[lang="en"] .share-product-card {
  direction: ltr;
}

html[lang="en"] .share-copy-row {
  direction: ltr;
}

html[lang="en"] .image-name-container-share .product-name-share,
html[lang="en"] .share-product-info .product-name-share {
  text-align: left;
}

html[lang="en"] .stickyHeader .content {
  text-align: left;
}

html[lang="en"] article.size-options {
  direction: rtl;
}

html[lang="en"] article.popup.popup6.cart-page-v2 {
  direction: ltr;
}

html[lang="en"] .cart-checkout-body #checkout-summary {
  direction: ltr;
}