@font-face {
	font-family: IRANSans;
	src: url('fonts/IRANSansWeb.eot');
	src: url('fonts/IRANSansWeb.eot') format('embedded-opentype'), url('fonts/IRANSansWeb%28FaNum%29.woff') format('woff'), url('fonts/IRANSansWeb.ttf') format('truetype');
	font-weight: 400;
	font-style: normal
}
@font-face {
	font-family: dana;
	src: url('fonts/dana-fanum-medium.eot');
	src: url('fonts/dana-fanum-medium.eot') format('embedded-opentype'), url('fonts/dana-fanum-medium.woff') format('woff'), url('fonts/dana/dana-fanum-medium.ttf') format('truetype');
	font-weight: 400;
	font-style: normal
}


@font-face {
	font-family: IRANYekanX;
	font-style: normal;
	font-weight: 300;
	src: url('fonts/IRANYekanX/woff/IRANYekanX-Light.woff') format('woff'),   
	url('fonts/IRANYekanX/woff2/IRANYekanX-Light.woff2') format('woff2');		 
}

@font-face {
	font-family: IRANYekanX;
	font-style: normal;
	font-weight: 900;
	src: url('fonts/IRANYekanX/woff/IRANYekanX-Black.woff') format('woff'),   
	url('fonts/IRANYekanX/woff2/IRANYekanX-Black.woff2') format('woff2');		 
}
@font-face {
	font-family: IRANYekanX;
	font-style: normal;
	font-weight: 950;
	src: url('fonts/IRANYekanX/woff/IRANYekanX-ExtraBlack.woff') format('woff'),   
	url('fonts/IRANYekanX/woff2/IRANYekanX-ExtraBlack.woff2') format('woff2');		 
}



@font-face {
	font-family: IRANYekanX;
	font-style: normal;
	font-weight: bold;
	src: url('fonts/IRANYekanX/woff/IRANYekanX-Bold.woff') format('woff'),   
	url('fonts/IRANYekanX/woff2/IRANYekanX-Bold.woff2') format('woff2');	 
}

@font-face {
	font-family: IRANYekanX;
	font-style: normal;
	font-weight: normal;
	src: url('fonts/IRANYekanX/woff/IRANYekanX-Regular.woff') format('woff'),   
	url('fonts/IRANYekanX/woff2/IRANYekanX-Regular.woff2') format('woff2');	
}


body {
	font-family: IRANYekanX,system-ui, -apple-system, sans-serif;
	font-size: 12px;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: dana;
}

 
  body {margin:0 0 70px; background:var(--body-bg); font-family:'dana'; color:var(--text);max-width: 450px;
    margin: auto;
    margin-bottom: 80px;}
  header {position: relative;
    background-color: var(--header-bg);
    color: var(--header-text);
    text-align: center;
    /* padding: 20px 5px; */
    background-repeat: no-repeat!important;
    background-position: center!important;
    background-size: 100%!important;
    margin: 0;
    height: 100px;}
  .restaurant-name {
	background: linear-gradient(0deg, var(--header-bg) 34% , transparent 100%);
    font-size: 1.1rem;
    font-weight: bold;
    position: absolute;
    padding: 7px 33px;
    left: 0;
    right: 0;
    bottom: -12px;
    margin: auto;
  }
 .logo-store {position: absolute;
    bottom: 25px;
    right: 0;
    left: 0;
    margin: auto;
    background: var(--body-bg);
    height: 35px;
    width: 35px;
    border: 2px solid var(--tab-bg-active);
    padding: 2px;
    /* box-shadow: 0 0 0px 1px #ffffff; */
    border-radius: 5pc;}
  .tab-buttons {display: flex;
    overflow-x: auto;
    background: var(--card-bg);
    padding: 22px 10px 9px;
    gap: 2px;}
  .tab-buttons::-webkit-scrollbar {display:none;}
  .tab-btn {    font-family: iranyekanx;
    display: flex;
    padding: 8px;
    background: none;
    border: none;
    color: var(--tab-bg);
    font-size: 0.75rem;
	    min-width: 70px;
    border-radius: 5px;
    white-space: nowrap;
    align-items: center;
    flex-direction: column;}
  .tab-btn.active, .tab-btn:hover {background:var(--tab-bg-active); font-weight:bold;color:var(--tab-text);}

  .container {margin:0; padding:0;}
  .tab-pane {display:none;}
  .tab-pane.active {display:block;}

  .menu-item {position: relative;
    background: var(--card-bg);
	overflow: hidden;
    border-radius: 0;
    margin: 0; 
    padding: 0;
    display: flex;
    gap: 5px;
    transition: all .3s;
	flex-direction: row-reverse;
	justify-content: space-between;}
  .menu-item.out-of-stock {opacity:0.55; filter:grayscale(70%);}

  .slider {width:130px; height:115px; overflow:hidden; flex-shrink:0;}
  .slides {display:flex; height:100%; width:max-content;} /* دقیقاً مثل کد اصلی تو */
  .slides img {width: 127px;
    height: 106px;
    border-radius: 10px;
    /* padding: 5px; */
    object-fit: cover;
    margin-top: 4px;
	}
.badge-bestseller {
	position: absolute;
    top: 10px;
    left: -27px;
    background: var(--badge-bestseller);
    transform: rotate(321deg);
    width: 70px;
    color: #fff;
    font-size: 0.6rem;
    text-align: center;
    letter-spacing: 0.5px;
    padding: 1px 14px;
    border-radius: 5px;
    text-transform: uppercase;
    z-index: 10;
}

  .item-info h3 {    font-weight: 100;margin:0; font-size:1.3em; color:var(--primary);}
  .item-info p {font-family: iranyekanx;margin:5px; }
  .price {font-weight:bold; color:var(--price); font-size:0.85rem; display:flex; gap:12px; align-items:center;}

  .bottom-nav {
    position:fixed; bottom:0; left:0; right:0; background:var(--navigation-bg); color:var(--navigation-text);
    display:flex; padding:12px 0; box-shadow:0 4px 15px rgba(0,0,0,0.25); z-index:100; justify-content:space-around;
	max-width: 450px;margin: auto;
  }
  .bottom-nav a {color:var(--navigation-text); text-decoration:none; text-align:center; flex:1;}
  .bottom-nav i {font-size:1rem; display:block; margin-bottom:1px;}

/* اختیاری: آیتم‌ها به هم بچسبن و فقط اولین و آخرین گرد باشن */
.tab-pane > .menu-item {
    margin-bottom: 0;
    border-radius: 0;
	border-bottom: 2px dashed #cecccc69; /* خط جداکننده ظریف بین آیتم‌ها */
}

/* استایل مودال */
.modal-overlay {
  display:none; position:fixed; top:0; left:0; width:100%; height:100%; background:rgba(0,0,0,0.7); z-index:1000; justify-content:center; align-items:center;
}
.modal-content {
  background:white; border-radius:20px; width:90%; max-width:380px; position:relative; animation:modalShow .4s;
}
.modal-close {
  position:absolute; top:12px; left:12px; font-size:1.8rem; cursor:pointer; color:#999; font-weight:bold;
}
.modal-close:hover {color:#333;}
@keyframes modalShow {
  from {transform:scale(0.7); opacity:0;}
  to {transform:scale(1); opacity:1;}
}

.form-check-input {
    width: 2.5em !important;
    height: 1.5em;
}

.item-info {
	padding: 15px 10px 15px 0;
	display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.mb-2 {
	margin-bottom: 0.5rem;
}

.alert {
	background: var(--navigation-bg);
    margin: 10px;
    padding: 5px 10px;
    color: var(--navigation-text);
    border-radius: 5px;
}

  .modal-overlay{display:none;position:fixed;inset:0;background:rgba(0,0,0,0.75);backdrop-filter:blur(8px);align-items:center;justify-content:center;z-index:9999;}
  .modal-overlay.active{display:flex;}
  .modal-content{max-width:340px;width:92%;background:#fff;border-radius:20px;overflow:hidden;box-shadow:0 15px 40px rgba(0,0,0,0.3);}
  .modal-close{position:absolute;top:12px;right:12px;width:36px;height:36px;background:rgba(255,255,255,0.25);border:none;border-radius:50%;color:#fff;font-size:24px;cursor:pointer;z-index:10;}
  
.designer-card {
  padding: 32px 24px;
  text-align: center;
  color: #fff;
  background: #4a4a4c;
  position: relative;
  overflow: hidden;
}

.designer-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 95%, #009688 100%);
  animation: burn 4s ease-in-out;
  pointer-events: none;
}

@keyframes burn {
  0%   { transform: translateY(-100%); }
  50%  { transform: translateY(0); }
  100% { transform: translateY(0%); }
}
  .lang-switch{position:absolute;top:12px;left:60px;transform:translateX(-50%);display:flex;gap:4px;background:rgba(255,255,255,0.2);padding:4px 8px;border-radius:30px;}
  .lang-btn{font-family: 'IRANYekanX';background:none;border:none;color:#fff;padding:6px 12px;border-radius:30px;font-size:0.85rem;cursor:pointer;}
  .lang-btn.active{background:#fff;color:#667eea;font-weight:600;}

  .lang-content:not(.active){display:none;}
  [data-lang="en"] .designer-card{direction:ltr;}

  .designer-title{font-size:1.5rem;font-weight:800;margin:40px 0 4px;}
  .designer-subtitle{font-size:0.95rem;opacity:0.9;margin-bottom:16px;}
  .designer-avatar{width:80px;height:80px;margin:0 auto 16px;background:rgba(255,255,255,0.25);border:4px solid rgba(255,255,255,0.3);border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:1.8rem;font-weight:900;}
  .designer-specialties{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin:16px 0;}
  .tag{background:rgba(255,255,255,0.2);padding:6px 12px;border-radius:30px;font-size:0.8rem;}
  .designer-contact{display:flex;gap:12px;justify-content:center;margin:20px 0;}
  .btn{display:flex;align-items:center;gap:8px;padding:10px 20px;border-radius:50px;font-size:0.9rem;font-weight:600;text-decoration:none;}
  .btn-whatsapp{background:#25d366;color:#fff;}
  .btn-call{background:rgba(255,255,255,0.2);color:#fff;border:2px solid rgba(255,255,255,0.3);}
  .designer-footer{font-size:0.85rem;opacity:0.9;}
  .bi-grip-vertical::before {
    cursor: grab;
}