/* ==========================================================================
   LOUNGE ASIA — ЭЛЕКТРОНДУК МЕНЮ
   ========================================================================== */

:root{
  --bg:            #081210;
  --bg-soft:       #0c1916;
  --surface:       #10201b;
  --surface-2:     #142a23;
  --border:        #24433a;

  --gold:          #cfa855;
  --gold-bright:   #eccb84;
  --gold-dim:      #8c6f37;

  --emerald:       #1f6f54;
  --emerald-bright:#3ba884;
  --emerald-dim:   #123a2c;

  --silver:        #b9c7c2;
  --red:           #b3423a;
  --text:          #eef5f1;
  --text-dim:      #a3b8b0;
  --text-faint:    #62766f;

  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Manrope', sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow-soft: 0 10px 30px rgba(0,0,0,.5);
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin:0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-tap-highlight-color: transparent;
  padding-bottom: 40px;
}

::selection{ background: var(--gold-dim); color:#fff; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.header{
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, var(--bg) 70%, rgba(11,11,13,.94));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 14px 16px 12px;
}

.header__top{
  display:flex;
  align-items:center;
  justify-content: space-between;
}

.logo{ display:flex; align-items:center; gap:10px; }

.logo__ring{
  width: 34px; height:34px;
  border-radius:50%;
  border: 1.4px solid var(--gold);
  position: relative;
  flex-shrink:0;
  box-shadow: 0 0 0 1px var(--emerald-dim);
}
.logo__ring::after{
  content:"";
  position:absolute; inset:6px;
  border-radius:50%;
  background: radial-gradient(circle at 35% 30%, var(--gold-bright), var(--emerald));
}

.logo__text{ display:flex; flex-direction:column; line-height:1; }
.logo__title{
  font-family: var(--font-display);
  font-weight:600;
  font-size: 19px;
  letter-spacing: 3px;
  color: var(--text);
}
.logo__subtitle{
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 5px;
  color: var(--gold);
  margin-top:1px;
}

.cart-btn{
  position:relative;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--gold-bright);
  width:42px; height:42px;
  border-radius: 50%;
  display:flex; align-items:center; justify-content:center;
  cursor:pointer;
  transition: transform .15s ease, border-color .2s ease;
}
.cart-btn:active{ transform: scale(.92); }
.cart-btn:hover{ border-color: var(--emerald-bright); }

.cart-btn__count{
  position:absolute;
  top:-6px; right:-6px;
  background: var(--red);
  color:#fff;
  font-size: 11px;
  font-weight:700;
  min-width:18px; height:18px;
  border-radius:9px;
  display:flex; align-items:center; justify-content:center;
  padding: 0 4px;
  border: 2px solid var(--bg);
}

.table-select{
  margin-top:14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
}
.table-select__label{
  font-size:13px;
  color: var(--text-dim);
  font-weight:600;
  letter-spacing:.3px;
}
.table-select__input{
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 7px 10px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight:600;
  outline:none;
}
.table-select__input:focus{ border-color: var(--emerald-bright); }
.table-select.is-warning{ border-color: var(--red); animation: pulseWarn .6s ease 2; }
.table-select.is-locked-by-qr{ border-color: var(--emerald-bright, #2ecc71); }

/* ==========================================================================
   СТОЛ ТАНДОО — ЫҢГАЙЛАШТЫРЫЛГАН DROPDOWN (телефондо да, компьютерде да
   бирдей көрүнүшү үчүн, системанын өздүк select тизмесинин ордуна)
   ========================================================================== */
.table-select__custom{
  position: relative;
}
.table-select__trigger{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  min-width: 92px;
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 7px 10px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight:600;
  cursor:pointer;
  -webkit-tap-highlight-color: transparent;
}
.table-select__trigger:focus-visible,
.table-select__trigger.is-open{ border-color: var(--emerald-bright); outline:none; }
.table-select__chevron{
  flex-shrink:0;
  transition: transform .15s ease;
  color: var(--text-dim);
}
.table-select__trigger.is-open .table-select__chevron{ transform: rotate(180deg); }

.table-select__dropdown{
  position:absolute;
  top: calc(100% + 6px);
  right:0;
  min-width: 190px;
  max-height: 320px;
  overflow-y:auto;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
  list-style:none;
  margin:0;
  padding:6px;
  z-index: 60;
}
.table-select__option{
  padding: 9px 10px;
  border-radius: 6px;
  font-size:14px;
  font-weight:600;
  color: var(--text);
  cursor:pointer;
  white-space:nowrap;
}
.table-select__option:hover,
.table-select__option.is-active{
  background: var(--emerald-dim);
}
.table-select__option.is-selected{
  color: var(--emerald-bright);
}
.table-select__option.is-disabled{
  color: var(--red);
  opacity:.6;
  font-style: italic;
  cursor:not-allowed;
}
.table-select__option.is-disabled:hover{ background:transparent; }
@keyframes pulseWarn{
  0%,100%{ box-shadow: 0 0 0 0 rgba(179,66,58,0); }
  50%{ box-shadow: 0 0 0 4px rgba(179,66,58,.25); }
}

.table-select__input option:disabled{
  color: var(--red);
  opacity: 0.6;
  font-style: italic;
}

/* ==========================================================================
   КАТЕГОРИЯ ТАБДАРЫ
   ========================================================================== */
.cat-nav{
  position: sticky;
  top: var(--nav-offset, 96px);
  z-index: 35;
  display:flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 16px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  scrollbar-width: none;
}
.cat-nav::-webkit-scrollbar{ display:none; }

.cat-nav__btn{
  flex-shrink:0;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-dim);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight:600;
  white-space:nowrap;
  cursor:pointer;
  transition: all .2s ease;
}
.cat-nav__btn.active{
  background: linear-gradient(135deg, var(--emerald), var(--emerald-bright));
  color: var(--gold-bright);
  border-color: var(--gold-dim);
  box-shadow: inset 0 0 0 1px rgba(207,168,85,.25);
}

/* ==========================================================================
   ИЗДӨӨ ЖАНА ФИЛЬТР
   ========================================================================== */
.filter-bar{
  position: sticky;
  top: var(--filter-offset, 140px);
  z-index: 34;
  background: var(--bg);
  padding: 10px 16px 12px;
  border-bottom: 1px solid var(--border);
}
.search-box{
  position:relative;
  display:flex;
  align-items:center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 9px 14px;
  gap: 8px;
}
.search-box__icon{ color: var(--text-faint); flex-shrink:0; }
.search-box__input{
  flex:1;
  background:none;
  border:none;
  outline:none;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  min-width:0;
}
.search-box__input::placeholder{ color: var(--text-faint); }
.search-box__input::-webkit-search-cancel-button{ display:none; }
.search-box__clear{
  background: var(--surface-2);
  border: none;
  color: var(--text-dim);
  width: 20px; height:20px;
  border-radius:50%;
  font-size: 14px;
  line-height:1;
  cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0;
}

.tag-filters{
  display:flex;
  gap: 8px;
  overflow-x:auto;
  margin-top: 10px;
  scrollbar-width: none;
}
.tag-filters::-webkit-scrollbar{ display:none; }
.tag-chip{
  flex-shrink:0;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-dim);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight:600;
  white-space:nowrap;
  cursor:pointer;
  transition: all .2s ease;
}
.tag-chip.active{
  background: linear-gradient(135deg, var(--emerald), var(--emerald-bright));
  color: var(--gold-bright);
  border-color: var(--gold-dim);
}

.no-results{
  text-align:center;
  color: var(--text-faint);
  padding: 60px 20px;
  font-size: 14px;
}

/* ==========================================================================
   МЕНЮ БӨЛҮМДӨРҮ
   ========================================================================== */
.menu{ padding: 6px 16px 30px; max-width: 900px; margin: 0 auto; }

.section{ padding-top: 26px; scroll-margin-top: var(--scroll-offset, 150px); }

.section__title{
  font-family: var(--font-display);
  font-size: 28px;
  font-weight:600;
  color: var(--gold-bright);
  letter-spacing: .5px;
  position:relative;
  margin: 0 0 16px;
  padding-bottom:10px;
}
.section__title::after{
  content:"";
  position:absolute; left:0; bottom:0;
  width: 54px; height:3px;
  background: linear-gradient(90deg, var(--gold), var(--emerald-bright));
  border-radius: 2px;
}

.grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 640px){
  .grid{ grid-template-columns: 1fr 1fr; }
}

.card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  display:flex;
  gap: 12px;
  position:relative;
  overflow:hidden;
  transition: border-color .25s ease, transform .25s ease;
}
.card:hover{
  border-color: var(--emerald-bright);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0,0,0,.35);
}
.card.is-unavailable{ opacity: .55; }
.card.no-photo{ padding: 14px 16px; }

@media (max-width: 380px){
  .card__photo{ width: 76px; height: 76px; }
}

.card__photo{
  width: 92px;
  height: 92px;
  flex-shrink:0;
  border-radius: 10px;
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--border);
  position: relative;
}
.card__photo img{
  width:100%; height:100%;
  object-fit: cover;
  display:block;
  transition: transform .4s ease, filter .3s ease;
}
.card:hover .card__photo img{ transform: scale(1.07); }
.card.is-unavailable .card__photo img{ filter: grayscale(.7) brightness(.6); }

.card__body{ flex:1; min-width:0; }

.card__top{
  display:flex; justify-content:space-between; align-items:flex-start; gap:8px;
}
.card__name{
  font-family: var(--font-display);
  font-size: 19px;
  font-weight:600;
  color: var(--text);
  margin:0;
}
.card__desc{
  font-size: 12.5px;
  color: var(--silver);
  opacity: .75;
  margin: 4px 0 10px;
  line-height:1.45;
}

.badge-out{
  display:inline-block;
  background: rgba(179,66,58,.16);
  color:#e8877e;
  border: 1px solid var(--red);
  font-size: 11px;
  font-weight:700;
  letter-spacing:.3px;
  padding: 3px 9px;
  border-radius: 999px;
  margin-bottom: 8px;
  white-space:nowrap;
}

.card__bottom{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.price{
  font-family: var(--font-display);
  font-weight:700;
  font-size: 18px;
  color: var(--gold-bright);
}
.price small{
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--text-faint);
  font-weight:500;
  margin-left:3px;
}

.price-options{
  display:flex;
  gap:6px;
  flex-wrap:wrap;
}
.price-options button{
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 12px;
  font-weight:600;
  padding: 6px 10px;
  border-radius: 8px;
  cursor:pointer;
}
.price-options button.selected{
  border-color: var(--gold);
  color: var(--gold-bright);
}

.add-btn{
  background: transparent;
  border: 1px solid var(--emerald-bright);
  color: var(--gold-bright);
  width: 34px; height:34px;
  border-radius: 50%;
  font-size: 19px;
  line-height:1;
  cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  transition: background .2s ease, transform .15s ease, border-color .2s ease;
  flex-shrink:0;
}
.add-btn:hover{ background: rgba(59,168,132,.16); border-color: var(--gold); }
.add-btn:active{ transform: scale(.88); }
.add-btn:disabled{
  border-color: var(--text-faint);
  color: var(--text-faint);
  cursor: not-allowed;
}

.stepper{
  display:flex; align-items:center; gap:10px;
  background: var(--surface-2);
  border: 1px solid var(--emerald-bright);
  border-radius: 999px;
  padding: 4px 6px;
}
.stepper button{
  width:26px; height:26px;
  border-radius:50%;
  border:none;
  background: linear-gradient(135deg, var(--emerald), var(--gold-dim));
  color:#fff;
  font-weight:800;
  cursor:pointer;
  display:flex; align-items:center; justify-content:center;
}
.stepper span{ font-weight:700; min-width:16px; text-align:center; }

/* ==========================================================================
   ТИП ЗАКАЗА
   ========================================================================== */
.order-type{
  padding: 14px 20px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.order-type__label{
  display:block;
  font-size: 12px;
  color: var(--text-dim);
  font-weight:600;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.order-type__options{
  display:flex;
  gap: 10px;
}
.order-type__btn{
  flex:1;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-dim);
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight:600;
  cursor:pointer;
  transition: all .2s ease;
}
.order-type__btn.active{
  background: linear-gradient(135deg, var(--emerald), var(--emerald-bright));
  color: var(--gold-bright);
  border-color: var(--gold-dim);
}

/* ==========================================================================
   ТӨЛӨМ ЫКМАСЫ
   ========================================================================== */
.payment-method{
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
}
.payment-method__label{
  display:block;
  font-size: 12px;
  color: var(--text-dim);
  font-weight:600;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.payment-method__options{
  display:flex;
  gap: 10px;
}
.payment-method__btn{
  flex:1;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-dim);
  padding: 10px 10px;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight:600;
  cursor:pointer;
  transition: all .2s ease;
}
.payment-method__btn.active{
  background: linear-gradient(135deg, var(--emerald), var(--gold));
  color: #08130f;
  border-color: var(--gold-dim);
}

.online-payment-info{
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.online-payment-info__hint{
  color: var(--text-dim);
  font-size: 12.5px;
  line-height: 1.5;
  margin: 0 0 12px;
}
.online-payment-info__row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13.5px;
  color: var(--text);
  margin-bottom: 10px;
}
.online-payment-info__links{
  display:flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.online-payment-info__links a{
  flex:1;
  text-align:center;
  background: var(--surface-2);
  border: 1px solid var(--gold-dim);
  color: var(--gold-bright);
  text-decoration:none;
  padding: 9px 10px;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight:700;
}
.online-payment-info__qr{
  display:block;
  width: 160px;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 10px;
  border: 1px solid var(--border);
}

/* ==========================================================================
   ЖЕТКИРҮҮ (ДОСТАВКА) МААЛЫМАТЫ
   ========================================================================== */
.delivery-info{
  padding: 14px 20px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.delivery-info__note{
  color: var(--gold-bright);
  font-size: 12.5px;
  font-weight: 600;
  margin: 0 0 12px;
  line-height: 1.4;
}
.delivery-info__textarea{
  resize: vertical;
  min-height: 56px;
  font-family: inherit;
}
.delivery-info #deliveryInfoError{ margin-top: -4px; }

/* ==========================================================================
   ПАРОЛДУ ӨЗГӨРТҮҮ (АДМИН)
   ========================================================================== */
.password-change-block{
  padding: 10px 4px 20px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}
.password-change-block:last-child{
  border-bottom: none;
  margin-bottom: 0;
}
.password-change-block h3{
  font-family: var(--font-display);
  font-size: 17px;
  margin: 0 0 6px;
  color: var(--text);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer{
  text-align:center;
  padding: 30px 16px 10px;
  color: var(--text-faint);
  font-size: 12px;
}
.footer p{ letter-spacing:1px; text-transform:uppercase; margin-bottom:10px;}
.admin-link{
  background:none; border:none;
  color: var(--text-faint);
  font-size: 11px;
  text-decoration: underline;
  cursor:pointer;
}

/* ==========================================================================
   OVERLAY / SHEET
   ========================================================================== */
.overlay{
  position: fixed; inset:0;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(3px);
  display:flex; align-items:flex-end; justify-content:center;
  opacity:0; pointer-events:none;
  transition: opacity .25s ease;
  z-index: 100;
}
.overlay.open{ opacity:1; pointer-events:auto; }

.sheet{
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-bottom:none;
  width: 100%;
  max-width: 560px;
  max-height: 86vh;
  border-radius: 22px 22px 0 0;
  display:flex; flex-direction:column;
  transform: translateY(100%);
  transition: transform .3s cubic-bezier(.2,.8,.3,1);
  box-shadow: var(--shadow-soft);
}
.overlay.open .sheet{ transform: translateY(0); }

.sheet__handle{
  width: 40px; height:4px;
  background: var(--border);
  border-radius:2px;
  margin: 10px auto 0;
}
.sheet__header{
  display:flex; align-items:center; justify-content:space-between;
  padding: 12px 20px;
  border-bottom: 1px solid var(--border);
}
.sheet__header h2{
  font-family: var(--font-display);
  color: var(--gold-bright);
  font-size: 22px;
  margin:0;
}
.sheet__close{
  background:none; border:none;
  color: var(--text-dim);
  font-size: 26px;
  cursor:pointer;
  line-height:1;
}
.sheet__body{
  padding: 10px 20px;
  overflow-y: auto;
  flex:1;
}
.sheet__footer{
  padding: 14px 20px 22px;
  border-top: 1px solid var(--border);
}
.sheet__total{
  display:flex; justify-content:space-between;
  font-size:15px; font-weight:700;
  margin-bottom: 12px;
  color: var(--text);
}
.sheet__total span:last-child{ color: var(--gold-bright); font-size:19px; font-family: var(--font-display);}

.empty-note{
  text-align:center;
  color: var(--text-faint);
  padding: 40px 10px;
  font-size: 14px;
}

.cart-row{
  display:flex; align-items:center; gap:12px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--border);
}
.cart-row__info{ flex:1; min-width:0; }
.cart-row__name{ font-weight:700; font-size:14.5px; color:var(--text); }
.cart-row__meta{ font-size:12px; color: var(--text-faint); margin-top:2px; }
.cart-row__remove{
  background:none; border:none; color: var(--text-faint);
  font-size:18px; cursor:pointer; padding:4px;
}
.cart-row__remove:hover{ color: var(--red); }

.btn{
  width:100%;
  padding: 14px;
  border-radius: 12px;
  border: none;
  font-family: var(--font-body);
  font-weight:800;
  font-size: 15px;
  letter-spacing:.3px;
  cursor:pointer;
  transition: transform .15s ease, opacity .2s ease;
}
.btn:active{ transform: scale(.98); }
.btn--primary{
  background: linear-gradient(135deg, var(--emerald), var(--gold));
  color: #08130f;
}
.btn--primary:disabled{
  opacity:.4;
  cursor:not-allowed;
}

.success-box{
  background: var(--bg-soft);
  border: 1px solid var(--gold-dim);
  border-radius: 20px;
  padding: 34px 26px;
  margin: auto 16px;
  text-align:center;
  max-width: 360px;
  box-shadow: var(--shadow-soft);
}
.success-box__icon{
  width:56px; height:56px;
  border-radius:50%;
  border: 2px solid var(--gold);
  color: var(--gold-bright);
  font-size: 26px;
  display:flex; align-items:center; justify-content:center;
  margin: 0 auto 16px;
}
.success-box h3{
  font-family: var(--font-display);
  color: var(--text);
  font-size: 22px;
  margin: 0 0 8px;
}
.success-box p{
  color: var(--text-dim);
  font-size: 13.5px;
  margin: 0 0 20px;
}

.success-actions{
  display: flex;
  margin-top: 4px;
}
.success-actions .btn{
  flex: 1;
  width: auto;
}

/* ==========================================================================
   АДМИН ПАНЕЛИ
   ========================================================================== */
.admin-login{
  padding: 24px 20px;
  text-align:center;
}
.admin-login__hint{
  color: var(--text-dim);
  font-size: 13px;
  margin-bottom: 16px;
}
.admin-login__input{
  width:100%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 12px 14px;
  border-radius: 10px;
  margin-bottom: 12px;
  font-size:14px;
  outline:none;
}
.admin-login__input:focus{ border-color: var(--emerald-bright); }
.admin-login__error{
  color: var(--red);
  font-size: 12.5px;
  margin-top: 10px;
  min-height:16px;
}

.admin-body{ padding-top:6px; }
.admin-cat-title{
  font-family: var(--font-display);
  color: var(--gold-bright);
  font-size: 17px;
  margin: 16px 0 8px;
}
.admin-row{
  display:flex; align-items:center; justify-content:space-between;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  gap: 10px;
}
.admin-row__name{ font-size: 13.5px; color: var(--text); }

.switch{
  position:relative;
  width: 44px; height: 24px;
  flex-shrink:0;
}
.switch input{ opacity:0; width:0; height:0; }
.switch__track{
  position:absolute; inset:0;
  background: var(--red);
  border-radius: 999px;
  cursor:pointer;
  transition: background .2s ease;
}
.switch__track::before{
  content:"";
  position:absolute;
  width:18px; height:18px;
  left:3px; top:3px;
  background:#fff;
  border-radius:50%;
  transition: transform .2s ease;
}
.switch input:checked + .switch__track{ background: linear-gradient(135deg, var(--emerald), var(--emerald-bright)); }
.switch input:checked + .switch__track::before{ transform: translateX(20px); }

/* Админ табдары */
.admin-tabs{
  display:flex;
  gap: 8px;
  padding: 0 20px 10px;
  border-bottom: 1px solid var(--border);
}
.admin-tab{
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-dim);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight:600;
  cursor:pointer;
  transition: all .2s ease;
}
.admin-tab.active{
  background: linear-gradient(135deg, var(--emerald), var(--emerald-bright));
  color: var(--gold-bright);
  border-color: var(--gold-dim);
}

/* Столдор */
.admin-table-actions{
  padding: 10px 0;
  text-align: center;
}
.admin-table-header,
.admin-table-row{
  display:grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items:center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.admin-table-header{
  font-weight:700;
  color: var(--gold-bright);
  border-bottom: 2px solid var(--border);
  margin-bottom: 4px;
}
.admin-table-row.is-occupied{
  opacity: 0.7;
}
.admin-table-row .table-status{
  font-weight:600;
}
.admin-table-row.is-occupied .table-status{
  color: var(--red);
}
.admin-table-row:not(.is-occupied) .table-status{
  color: var(--emerald-bright);
}

/* Тамак сабындагы иш-аракет баскычтары (түзөтүү/өчүрүү/которгуч) */
.admin-row__actions{
  display:flex;
  align-items:center;
  gap: 8px;
  flex-shrink:0;
}
.icon-btn{
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-dim);
  width: 30px; height: 30px;
  border-radius: 8px;
  font-size: 14px;
  line-height:1;
  cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  transition: all .15s ease;
}
.icon-btn:hover{ border-color: var(--gold-dim); color: var(--gold-bright); }
.icon-btn--danger:hover{ border-color: var(--red); color: var(--red); }

/* Жаңы тамак кошуу баскычы */
.admin-items-actions{
  padding: 4px 0 14px;
}
.admin-items-actions .btn{ width:auto; }

/* Тамак кошуу/түзөтүү формасы */
.item-form{
  background: var(--surface-2, var(--bg-soft));
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin-bottom: 18px;
}
.item-form__title{
  font-family: var(--font-display);
  color: var(--gold-bright);
  font-size: 16px;
  margin: 0 0 12px;
}
.item-form__label{
  display:block;
  color: var(--text-dim);
  font-size: 12.5px;
  margin: 0 0 6px;
}
.item-form__textarea{
  min-height: 60px;
  resize: vertical;
  font-family: var(--font-body);
}
.item-form__tags{
  display:flex;
  flex-wrap:wrap;
  gap: 14px;
  margin-bottom: 12px;
}
.item-form__tag-chk{
  display:flex;
  align-items:center;
  gap: 6px;
  font-size: 13px;
  color: var(--text);
  cursor:pointer;
}
.item-form__row{
  display:flex;
  gap: 10px;
  margin-top: 4px;
}
.item-form__row .btn{ width:auto; flex:1; }

/* Кичине баскычтар */
.btn--small{
  width:auto;
  padding: 6px 14px;
  font-size: 12px;
  border-radius: 8px;
}
.btn--outline{
  background: transparent;
  border: 1px solid var(--emerald-bright);
  color: var(--emerald-bright);
}

/* ==========================================================================
   ОТЧЕТ ПАРОЛЬ ФОРМАСЫ
   ========================================================================== */
.report-login{
  padding: 30px 20px;
  text-align:center;
}
.report-login__hint{
  color: var(--text-dim);
  font-size: 13px;
  margin-bottom: 16px;
}

/* ==========================================================================
   ОТЧЕТ КОНТЕНТИ
   ========================================================================== */
.report-header{
  padding: 10px 0 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 12px;
}
.report-header h3{
  font-family: var(--font-display);
  color: var(--gold-bright);
  font-size: 18px;
  margin: 0 0 12px;
}
.report-stats{
  display:flex;
  gap: 20px;
}
.report-stat{
  display:flex;
  flex-direction:column;
  gap: 2px;
}
.report-stat__label{
  font-size: 11px;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.report-stat__value{
  font-size: 18px;
  font-weight:700;
  color: var(--gold-bright);
  font-family: var(--font-display);
}

.report-actions{
  display:flex;
  gap: 10px;
  margin-bottom: 16px;
}
.report-actions .btn{
  flex:1;
}

.report-table-wrap{
  overflow-x: auto;
}
.report-table{
  width:100%;
  border-collapse: collapse;
  font-size: 13px;
}
.report-table th{
  text-align: left;
  padding: 8px 6px;
  color: var(--text-dim);
  font-weight:600;
  border-bottom: 2px solid var(--border);
  white-space: nowrap;
}
.report-table td{
  padding: 8px 6px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  white-space: nowrap;
}
.report-table tr:hover td{
  background: rgba(31,111,84,.08);
}
.report-empty{
  text-align:center;
  color: var(--text-faint);
  padding: 30px 10px;
}

/* Заказдын ичин ачып, тамактарды түзөтүү/өчүрүү сабы */
.report-table td.report-expand-cell{
  white-space:normal;
  background: rgba(31,111,84,.06);
  padding: 10px 8px;
}
.order-detail-row:hover td{ background: rgba(31,111,84,.06); }
.order-detail{
  display:flex;
  flex-direction:column;
  gap: 8px;
}
.order-detail__item{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--border);
}
.order-detail__item:last-child{ border-bottom:none; padding-bottom:0; }
.order-detail__info{
  display:flex;
  flex-direction:column;
  gap: 2px;
  min-width:0;
}
.order-detail__name{
  font-size: 13.5px;
  color: var(--text);
  white-space: normal;
}
.order-detail__meta{
  font-size: 12px;
  color: var(--text-dim);
}

/* ==========================================================================
   ЖООПКЕР ДИЗАЙН
   ========================================================================== */
@media (min-width: 860px){
  .header{ padding: 18px 40px 14px; }
  .header__top{ max-width: 900px; margin: 0 auto; }
  .table-select{ max-width: 900px; margin: 14px auto 0; }
  .cat-nav{ padding: 12px 40px; justify-content:center; }
  .menu{ padding-top: 10px; }
  .grid{ grid-template-columns: 1fr 1fr; }
  .logo__title{ font-size:22px; }
  .section__title{ font-size:32px; }
}

@media (min-width:1100px){
  .grid{ grid-template-columns: 1fr 1fr 1fr; }
  .menu{ max-width: 1180px; }
}

@keyframes fadeUp{
  from{ opacity:0; transform: translateY(10px); }
  to{ opacity:1; transform: translateY(0); }
}
.card{ animation: fadeUp .35s ease both; }