
		@font-face {
		  font-family: 'Varela Rounded';
		  src: url('var.ttf') format('truetype');
		}
		

/* Reset some default styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

 
/* Body styles */
body {
  /*font-family: Arial, sans-serif; */
  font-family: 'Varela Rounded', sans-serif;
  line-height: 1.6;
}

.menu-scroll {
    position: fixed;
    inset: 0;
    background: radial-gradient(1200px 800px at 80% -10%, rgba(67, 28, 124, .45), transparent 60%), radial-gradient(900px 700px at -10% 110%, rgba(67, 28, 124, .55), transparent 60%), linear-gradient(180deg, #350a55, #121215);
    overflow-y: auto;
    z-index: 999;
	  
}



/* הקונטיינר החיצוני – לא נוגע בפריסה */
.menu-modal {
    padding: 0;
}

.menu-modal.menu-mode {
    padding: 40px 0;
}


.menu-modal-content {
    /* background: linear-gradient(to left, #431C7C 0%, #431C7C 50%, #d5d5d5 50% 100%);*/
	background:rgb (0,0,0,0%);
    max-width: 720px;
    width: calc(100% - 32px);
    margin: 0 auto;

    border-radius: 24px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.35);

    padding-bottom: 24px;
}

/* כפתור סגירה – לא מזיז layout */
.close-button {
    font-size: 45px;
    padding-right: 20px;
    cursor: pointer;
	color: white;
}

.close-button:hover {
    color: #ddd;
}

.menu-container {
	margin-top: 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
	padding-top: 0;
    box-sizing: border-box;
	margin-left: auto;
	margin-right: auto;
	margin-top: 20px;
	
}

.menu-item {
    display: flex;
    align-items: center;
    justify-content: center; /* Center content horizontally */
    background-color: #fff;
    border-radius: 25px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    margin: 20px 0;
    width: 90%;
    padding: 10px 10px 10px 20px;
    cursor: pointer;
     transition: transform 0.2s, box-shadow 0.2s;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.3s ease-out forwards;
    animation-delay: var(--animation-delay);
	min-height: 100px;
}

.menu-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.4);
	background-color: #e7dafd;
}

.menu-image {
    position: absolute;
    right: -15px;

    /* responsive size, never too small or too big */
    width: clamp(60px, 19%, 110px);
    aspect-ratio: 1 / 1;   /* תמיד עגול */

    border-radius: 50%;
    overflow: hidden;
    background-color: #fff;

    /* vertical centering */
    top: 50%;
    transform: translateY(-50%);

    box-shadow: 0 12px 15px rgb(0 0 0 / 54%);
    z-index: 1;

    display: flex;
    align-items: center;
    justify-content: center;
}


.menu-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


.menu-content {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center content vertically */
    text-align: center;
    flex-grow: 1;
    z-index: 0;
}

.menu-content h2 {
    margin: 0;
    color: #431c7c;
    font-size: 1.3em;
}

.menu-content p {
    margin: 5px 0 0;
    color: #777;
}

.menu-arrow {
    font-size: 1.5em;
    color: #431c7c;
    margin-right: 10px;
    flex-shrink: 0;
    z-index: 0;
}



.dishes-container {
    width: 90%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(to right, #f0f0f0 50%, #431c7c 50%);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    max-height: 80vh;
}

.info-bar {
	height: 35px;
	border-radius: 10px;              /* קצוות עגולים יותר ונעימים */
	background: linear-gradient(
	  180deg,
	  #5a1aa0 0%,
	  #431C7C 100%
	);                                /* עומק עדין */
	color: #fff;
	padding: 10px 20px;
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 16px;
	text-align: center;
	position: relative;

	/* בורדר */
	border: 1px solid rgba(255, 255, 255, 0.15);

	/* צל "מרחף" */
	box-shadow:
	  0 4px 10px rgba(0, 0, 0, 0.25),
	  inset 0 1px 0 rgba(255, 255, 255, 0.15);

	/* טאץ' */
	transition: box-shadow 0.2s ease, transform 0.15s ease;

}

.back-button {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.2em;
    cursor: pointer;
    position: absolute;
    right: 20px; /* Flip the position to the right */
    
}

.dishes-list {
    flex-grow: 1;
    overflow-y: auto;
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
}

.dish-item {
    display: flex;
    align-items: center;
    background-color: #fff;
    border-radius: 15px;
    margin: 15px 0;
    padding: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
	opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.4s ease-out forwards;
    animation-delay: var(--animation-delay);
}


.dish-item:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.dish-image {
    flex-shrink: 0;

    /* responsive but stable size */
    width: clamp(70px, 14%, 95px);
    aspect-ratio: 1 / 1;

    border-radius: 50%;
    overflow: hidden;
    background-color: #fff;

    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);

    display: flex;
    align-items: center;
    justify-content: center;
	margin-left: 20px;
}

.dish-image img {
    width: 100%;
    height: 100%;
   object-fit: cover;
    display: block;
}

.dish-content {
    flex: 1;
    text-align: right;
}

.dish-content h2 {
    margin: 0;
    color: #431c7c;
    font-size: 1.2em;
}

.dish-content p {
    margin: 5px 0;
    color: #555;
    font-size: 0.9em;
}

.dish-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.dish-price {
    font-size: 1em;
    color: #333;
    font-weight: bold;
}

.order-button {
    background-color: #431c7c;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 10px 20px; /* Increased width */
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 1em; /* Adjusted for better readability */
}

.order-button:hover {
    background-color: #341656;
}

/* For WebKit browsers (Chrome, Safari, etc.) */
.dishes-list::-webkit-scrollbar {
    width: 8px; /* Adjust the width of the scrollbar */
}

.dishes-list::-webkit-scrollbar-thumb {
    background-color: #888; /* Color of the scrollbar thumb */
    border-radius: 10px; /* Rounded edges for the scrollbar thumb */
}

.dishes-list::-webkit-scrollbar-thumb:hover {
    background-color: #555; /* Color when hovering over the scrollbar thumb */
}

.dishes-list::-webkit-scrollbar-track {
    background-color: #f0f0f0; /* Color of the scrollbar track */
}

/* For Firefox */
.dishes-list {
    scrollbar-width: thin; /* Make the scrollbar thin */
    scrollbar-color: #888 #f0f0f0; /* Set the thumb and track colors */
}

.order-popup {
    display: none; /* Hidden by default */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    animation: fadeInPopup 0.4s ease-out forwards;
    border: 3px solid #431c7c; /* Purple border */
    text-align: center; /* Center-align text */
    max-width: 400px; /* Set a maximum width for larger screens */
    width: 90%; /* Ensure it fits within smaller screens */
}

.popup-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    color: #431c7c;
    font-size: 1.1em;
    border-radius: 12px;
}


/* Media query for laptop screens */
@media (min-width: 1100px) {
    .dishes-container {
        max-width: 800px; /* Larger max width for laptops */
    }
}


/* Animation definitions */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Popup fade-in animation */
@keyframes fadeInPopup {
    from {
        opacity: 0;
        transform: translate(-50%, -60%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}



/* מעטפת של כל השלב */
.step-entry {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 30px 16px;
  box-sizing: border-box;
}

/* הבועה */
.entry-bubble {
  width: 100%;
  max-width: 720px;
  background: #fff;
  border: 2px solid #000;
  border-radius: 28px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
  padding: 28px 24px 34px;
  justify-content: space-between; /* ⬅️ קריטי */
  min-height: 420px; 
}

/* כותרת */
.entry-title {
  margin: 0 0 28px 0;
  text-align: center;
  font-size: 46px;
  font-weight: 900;
  color: #696969;
}

/* קונטיינר לאופציות */
.entry-options {
  display: flex;
  gap: 24px;
}

/* אופציה בודדת */
.entry-option {
  flex: 1;
  border: 2px solid #000;
  border-radius: 20px;
  padding: 28px 16px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.entry-option:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.25);
}

.entry-option.disabled {
  opacity: 0.4;
  pointer-events: none;
  filter: grayscale(1);
}

/* אייקון */
.entry-icon {
  font-size: 64px;
  margin-bottom: 16px;
  color: #431C7C;
}

/* טקסט */
.entry-text {
  font-size: 26px;
  font-weight: 900;
  color: #000;
}

/* מובייל */
@media (max-width: 600px) {
  

.entry-bubble {
    padding: 20px 14px 24px;
  }

  .entry-options {
    gap: 12px;
  }

  .entry-option {
    padding: 18px 10px;
  }

  .entry-icon {
    font-size: 48px;
    margin-bottom: 10px;
  }

  .entry-text {
    font-size: 20px;
  }

  .entry-title {
    font-size: 30px;
    margin-bottom: 18px;
  }
}

/* Fade-in לבועה הראשית */
.entry-bubble {
  opacity: 0;
  animation: bubbleFadeIn 1.8s ease-out forwards;
}

@keyframes bubbleFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.entry-option {
  opacity: 0;
  transform: translateY(20px);
  animation: optionEnter 0.35s ease-out forwards;
}

.entry-option:nth-child(1) {
  animation-delay: 0.15s;
}

.entry-option:nth-child(2) {
  animation-delay: 0.25s;
}

@keyframes optionEnter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.entry-warning-text {
  text-align: center;
  font-size: 22px;
  font-weight: 600;
  color: #000;
  margin-bottom: 32px;
  line-height: 1.4;
}

/* הבדלה קלה בין הכפתורים */
.entry-option.primary {
  background: #f5efff;
}

.entry-option.secondary {
  background: #ffffff;
}


.delivery-image {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.delivery-icon {
  text-align: center;
  font-size: 72px;
  margin-bottom: 12px;
  line-height: 1;
  
  /* טאצ’ ויזואלי */
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.35));
}

/* === Form layout === */
.delivery-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-input input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  font-size: 16px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-family: inherit;
}
.vs-input {
  width: 100%;
}

/* המעטפת של VirtualSelect */
.vs-input .vscomp-wrapper {
  width: 100%;
}

/* ה-input עצמו */
.vs-input .vscomp-toggle-button {
  height: 48px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid #ccc;
  background: #fff;
  font-size: 16px;
  font-family: inherit;
  display: flex;
  align-items: center;
}

/* placeholder */
.vs-input .vscomp-placeholder {
  color: #888;
  font-size: 16px;
}

/* ערך נבחר */
.vs-input .vscomp-value {
  font-size: 16px;
  color: #000;
}

/* חץ */
.vs-input .vscomp-arrow {
  margin-right: auto;
}

/* focus */
.vs-input .vscomp-wrapper.vscomp-active .vscomp-toggle-button {
  border-color: #431C7C;
  box-shadow: 0 0 0 2px rgba(67, 28, 124, 0.15);
}


.vs-input .vscomp-ele {
  max-width: none !important;
  width: 100% !important;
}
/* === Primary button === */
.primary-button {
  margin-top: 10px;
  padding: 16px;
  font-size: 18px;
  font-weight: 700;
  border-radius: 14px;
  border: none;
  background: #431C7C;
  color: #fff;
  cursor: pointer;
}

/* בלוק הסיכום */
.summary-block {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
}

.summary-row .label {
  color: #666;
}

.summary-row .value {
  font-weight: 600;
}

/* כפתורים */
.summary-actions {
  margin-top: 30px;
  display: flex;
  gap: 12px;
}

.action-button {
  flex: 1; /* ⬅️ זה מה שמבטיח אותו גודל */
  padding: 16px 0;
  font-size: 17px;
  border-radius: 14px;
  cursor: pointer;
  font-weight: 600;
}

/* ראשי */
.action-button.primary {
  background: #431C7C;
  color: #fff;
  border: none;
}

/* משני */
.action-button.secondary {
  background: transparent;
  border: 1px solid #ccc;
  color: #333;
}

/* כפתור עגלת קניות*/
.cart-summary-bar {
  width: 100%;
  margin-bottom: 12px;
  max-width: 520px;      /* ⬅️ שליטה על הרוחב */
  margin: 10px auto 12px;  /* ⬅️ מרכז אופקית */

  background: linear-gradient(
    90deg,
    #431C7C 0%,
    #8B2FC9 35%,
    #C13584 65%,
    #E53935 100%
  );
  color: #fff;

  border-radius: 14px;
  padding: 14px 16px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  font-size: 18px;
  font-weight: 600;
  cursor: pointer;

  box-shadow: 0 6px 14px rgba(0,0,0,0.2);
}

.cart-summary-bar.hidden {
  display: none;
}

.cart-icon {
  font-size: 22px;
}


.welcome-step {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
}

.welcome-content {
  text-align: center;
}

.welcome-logo {
  max-width: 160px;
  margin-bottom: 16px;
}

.welcome-title {
  font-size: 24px;
  margin-bottom: 24px;
}

.primary-btn {
  padding: 14px 28px;
  font-size: 18px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(to right, black, #431C7C);
  color: #fff;
}

.welcome-logo-wrapper {
  width: 140px;
  height: 140px;
  margin: 0 auto 20px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  background: #fff;
  overflow: hidden; /* ⬅️ חובה */

  box-shadow: 0 8px 18px rgba(0,0,0,0.25);
}


.welcome-logo-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;   /* ⬅️ במקום contain */
  border-radius: 50%;  /* ⬅️ ביטחון כפול */
  display: block;
}


.order-type-footer {
  margin-top: 32px;
  text-align: center;
}

.order-type-footer.hidden {
  display: none;
}

.order-type-hint {
  margin-bottom: 12px;
  font-size: 14px;
  opacity: 0.75;
}

.view-menu-wide {
  width: 100%;
  max-width: 420px;   /* כמעט כל הבועה, לא קצה לקצה */
  margin: 0 auto;
  padding: 16px 0;
  font-size: 16px;
}


/* Overlay */
.alert-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  direction: rtl;
}

/* Hide */
.alert-overlay.hidden {
  display: none;
}

/* Card */
.alert-card {
  background: #ffffff;
  width: 90%;
  max-width: 380px;
  border-radius: 18px;
  padding: 28px 22px 24px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0,0,0,0.35);
  animation: alertPop 0.25s ease-out;
}
/* ORDER Failed ALERTS */
/* Error variant */
.alert-card.error {
  border-top: 6px solid #e53935;
}

/* Icon wrapper */
.alert-icon-wrapper {
  display: flex;
  justify-content: center;
  margin-top: -60px;
  margin-bottom: 12px;
}

/* Icon circle */
.alert-icon {
  width: 72px;
  height: 72px;
  background: #e53935;
  color: #fff;
  font-size: 36px;
  font-weight: bold;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(229, 57, 53, 0.5);
}

/* Title */
.alert-title {
  font-size: 22px;
  margin: 10px 0 12px;
  color: #2c2c2c;
}

/* Body text */
.alert-body {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 22px;
}

/* Button */
.alert-button {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: none;
  font-size: 16px;
  cursor: pointer;
}

/* Error button */
.alert-button.error {
  background: #e53935;
  color: #fff;
}

.alert-button.error:hover {
  background: #d32f2f;
}

/* Animation */
@keyframes alertPop {
  from {
    transform: scale(0.85);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}


/* Success variant */
.alert-card.success {
  border-top: 6px solid #2e7d32;
}

/* Success icon */
.alert-icon.success {
  background: #2e7d32;
  box-shadow: 0 8px 20px rgba(46, 125, 50, 0.45);
}

/* Success button */
.alert-button.success {
  background: #2e7d32;
  color: #fff;
}

.alert-button.success:hover {
  background: #1b5e20;
}

/* Info Alert */
.alert-box.info {
  border-top: 4px solid #6a4bc3; /* סגול רגוע */
}

.alert-box.info .alert-icon {
  font-size: 36px;
  margin-bottom: 10px;
}

.alert-btn.primary {
  background: linear-gradient(to right, black, #431C7C);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;
}

/* Progress Bar Loader  */
.processing-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.processing-overlay.hidden {
  display: none;
}

.processing-box {
  background: linear-gradient(145deg, #1a1a1a, #2b124c);
  padding: 28px 32px;
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 0 40px rgba(0,0,0,0.6);
  color: white;
  width: 280px;
}

.spinner {
  width: 54px;
  height: 54px;
  margin: 0 auto 16px;
  border-radius: 50%;
  border: 4px solid rgba(255,255,255,0.2);
  border-top-color: #9b6dff;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.processing-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
}

.processing-subtitle {
  font-size: 14px;
  opacity: 0.85;
}

/* End Progress bar*/

/* Modal Leave Menu */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal-overlay.hidden {
  display: none;
}

.modal-card {
  background: linear-gradient(145deg, #0d0d0d, #2b114f);
  color: #fff;
  width: 90%;
  max-width: 380px;
  border-radius: 18px;
  padding: 24px;
  text-align: center;
  animation: modalIn 0.25s ease-out;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.modal-icon {
  font-size: 36px;
  margin-bottom: 12px;
}

.modal-title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
}

.modal-text {
  font-size: 15px;
  line-height: 1.5;
  opacity: 0.9;
}

.modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.modal-btn {
  flex: 1;
  border: none;
  border-radius: 12px;
  padding: 12px 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.modal-btn.cancel {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

.modal-btn.confirm {
  background: linear-gradient(90deg, #7c3aed, #a855f7);
  color: #fff;
}

.modal-btn:active {
  transform: scale(0.97);
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* end Modal */

/* Media query for laptop screens */
@media (min-width: 800px) {
    .menu-modal-content,
    .order-summary-modal {
        width: 70%;          /* אותו רוחב כמו התפריט */
        max-width: 800px;    /* גבול עליון */
        margin-left: auto;
        margin-right: auto; /* מִרכוז אמיתי */
    }
	.menu-container {
         /* Larger max width for laptops */
        width: 70%; /* Adjust width to provide larger margins */
        margin-left: auto;
        margin-right: auto; /* Center container */
    }
	.cart-summary-bar {
		width: 70%;
	}
	
    
}