/* Generated from the original menu stylesheet cascade. */


/* ============================================
   MENU SECTION
   ============================================ */

.menu-section {
    padding: 3rem 0;
    min-height: 500px;
}


.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}


.menu-item {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: var(--transition-normal);
    cursor: pointer;
}


.menu-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}


.menu-item-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-secondary));
}


.menu-item-content {
    padding: 1.5rem;
}


.menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 0.75rem;
}


.menu-item-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}


.menu-item-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}


.menu-item-category {
    display: inline-block;
    background: rgba(255, 107, 53, 0.2);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}


.menu-item-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}


.menu-item.unavailable {
    opacity: 0.6;
    pointer-events: none;
}


/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {

    .menu-grid {
        grid-template-columns: 1fr;
    }
}


/* BALI MENU — плотная адаптивная сетка каталога.
   Смартфон: 3 карточки; планшет и ПК: 5 карточек в строке. */
.menu-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: clamp(8px, 1.25vw, 16px);
    align-items: stretch;
}


.menu-item {
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
    border-radius: 14px;
    cursor: default;
}

.menu-item-image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.menu-item-content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
    padding: clamp(8px, 1vw, 13px);
}

.menu-item-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: start;
    gap: 5px;
    margin-bottom: 9px;
}

.menu-item-name {
    font-size: clamp(12px, 1.15vw, 16px);
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.menu-item-price {
    font-size: clamp(14px, 1.25vw, 17px);
    line-height: 1.2;
    white-space: nowrap;
}

.menu-item-category {
    max-width: 100%;
    font-size: 10px;
    line-height: 1.3;
    padding: 5px 7px;
    overflow-wrap: anywhere;
    text-transform: none;
}

.menu-item-description {
    flex: 1 1 auto;
    min-width: 0;
    color: var(--text-secondary);
    font-size: 12px;
    line-height: 1.42;
    margin-bottom: 12px;
    overflow-wrap: anywhere;
}


/* На планшетах оставляем ровно пять колонок, уплотняя подписи. */
@media (min-width: 768px) and (max-width: 1024px) {
    .menu-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 9px;
    }

    .menu-item-content { padding: 9px; }

    .menu-item-name { font-size: 12px; }

    .menu-item-price { font-size: 14px; }

    .menu-item-description { font-size: 11px; }

    .menu-item-category { font-size: 9px; }
}


/* Телефон — три карточки в строке даже на узком экране. */
@media (max-width: 767px) {
    .menu-section { padding: 25px 0 36px; min-height: 0; }

    .menu-section > .container { padding-left: 8px; padding-right: 8px; }

    .menu-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 7px;
    }

    .menu-item {
        border-radius: 10px;
    }

    .menu-item:hover { transform: none; }

    .menu-item-image { aspect-ratio: 1 / 1; }

    .menu-item-content { padding: 7px 6px 8px; }

    .menu-item-header { gap: 3px; margin-bottom: 6px; }

    .menu-item-name {
        font-size: 11px;
        line-height: 1.25;
        overflow-wrap: anywhere;
    }

    .menu-item-price { font-size: 13px; }

    .menu-item-category {
        padding: 3px 4px;
        margin-bottom: 6px;
        font-size: 8px;
        line-height: 1.2;
    }

    .menu-item-description {
        font-size: 10px;
        line-height: 1.3;
        margin-bottom: 8px;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        overflow: hidden;
    }
}


/* Очень узкие телефоны: уменьшаем отступы, но сохраняем три колонки. */
@media (max-width: 360px) {
    .menu-grid { gap: 5px; }

    .menu-section > .container { padding-left: 5px; padding-right: 5px; }

    .menu-item-content { padding: 6px 5px 7px; }

    .menu-item-name { font-size: 10px; }

    .menu-item-price { font-size: 12px; }

    .menu-item-description { font-size: 9px; }
}



/* Селектор количества прямо над кнопкой добавления в корзину. */
.menu-purchase-controls {
    display: flex;
    flex-direction: column;
    gap: 7px;
    width: 100%;
    margin-top: auto;
    min-width: 0;
}

.menu-quantity {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(22px, 0.85fr) minmax(0, 1fr);
    gap: 3px;
    width: 100%;
    align-items: center;
}

.menu-quantity-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    min-height: 33px;
    padding: 0;
    border: 1px solid rgba(222, 192, 137, .5);
    border-radius: 7px;
    background: #242c49;
    color: #f5dfb4;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    touch-action: manipulation;
    transition: background .15s ease, border-color .15s ease;
}

.menu-quantity-btn:hover:not(:disabled),
.menu-quantity-btn:focus-visible {
    background: #404663;
    border-color: #e9ca93;
}

.menu-quantity-btn:disabled { opacity: .4; cursor: not-allowed; }

.menu-quantity-value {
    display: block;
    min-width: 0;
    text-align: center;
    color: #fff;
    font-weight: 750;
    font-size: 15px;
    font-variant-numeric: tabular-nums;
}

.menu-purchase-controls .add-to-cart-btn { margin: 0; }

.menu-purchase-controls .add-to-cart-btn.menu-add-success {
    background: #2d855c;
    box-shadow: 0 0 12px rgba(45, 133, 92, .35);
}

@media (max-width: 1024px) {
    .menu-quantity-btn { min-height: 30px; font-size: 18px; }

    .menu-quantity-value { font-size: 13px; }
}

@media (max-width: 767px) {
    .menu-purchase-controls { gap: 5px; }

    .menu-quantity { gap: 2px; grid-template-columns: minmax(0,1fr) minmax(17px,.72fr) minmax(0,1fr); }

    .menu-quantity-btn { min-height: 26px; border-radius: 5px; font-size: 16px; }

    .menu-quantity-value { font-size: 12px; }
}

@media (max-width: 360px) {
    .menu-quantity-btn { min-height: 25px; }

    .menu-quantity-value { font-size: 11px; }
}


/* Desktop: 5 readable cards, never auto-fill to an unpredictable number. */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(12px, 1.4vw, 19px);
  width: 100%;
}

.menu-item {
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  cursor: default;
  border-radius: 15px;
  overflow: hidden;
}

.menu-item-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.menu-item-content {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-width: 0;
  padding: clamp(12px, 1.25vw, 17px);
}

.menu-item-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  margin-bottom: 8px;
}

.menu-item-name {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: clamp(13px, 1.13vw, 17px);
  line-height: 1.37;
}

.menu-item-price {
  white-space: nowrap;
  font-size: clamp(15px, 1.24vw, 19px);
  line-height: 1.25;
  font-variant-numeric: tabular-nums;
}

.menu-item-category {
  max-width: 100%;
  font-size: 10px;
  padding: 5px 8px;
  margin-bottom: 9px;
  line-height: 1.3;
  overflow-wrap: anywhere;
  text-transform: none;
}

.menu-item-description {
  font-size: 12px;
  line-height: 1.48;
  margin-bottom: 12px;
  min-width: 0;
  overflow-wrap: anywhere;
  flex-grow: 1;
}

.menu-purchase-controls {
  display: flex;
  flex-direction: column;
  margin-top: auto;
  gap: 8px;
  min-width: 0;
}

.menu-quantity {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(28px, .85fr) minmax(0, 1fr);
  align-items: center;
  gap: 6px;
}

.menu-quantity-btn {
  width: 100%;
  min-height: 42px;
  border-radius: 9px;
  font-size: 21px;
  touch-action: manipulation;
}

.menu-quantity-value { font-size: 17px; font-variant-numeric: tabular-nums; }

.menu-purchase-controls .add-to-cart-btn {
  width: 100%;
  min-height: 43px;
  padding: 10px 6px;
  margin-top: 0;
  font-size: 13px;
  line-height: 1.25;
  white-space: normal;
}

.menu-item:hover { transform: translateY(-3px); }


/* Tablets in landscape/portrait: 3 columns, comfortable spacing. */
@media (min-width: 768px) and (max-width: 1199px) {
  .menu-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.8vw, 19px); }

  .menu-item-name { font-size: clamp(15px, 1.65vw, 18px); }

  .menu-item-price { font-size: clamp(17px, 1.8vw, 20px); }

  .menu-item-description { font-size: 13px; }

  .menu-item-category { font-size: 11px; }

  .menu-item-content { padding: 15px; }
}


/* Phones: TWO cards across. */
@media (max-width: 767px) {
  .menu-section { padding: 18px 0 44px; min-height: 0; }

  .menu-section > .container { padding-inline: 10px; }

  .menu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }

  .menu-item { border-radius: 12px; }

  .menu-item:hover { transform: none; }

  .menu-item-image { aspect-ratio: 4 / 3; }

  .menu-item-content { padding: 10px 9px 11px; }

  .menu-item-category { font-size: 9px; line-height: 1.25; padding: 4px 6px; margin-bottom: 8px; }

  .menu-item-header { gap: 4px; margin-bottom: 7px; }

  .menu-item-name { font-size: clamp(12px, 3.45vw, 15px); line-height: 1.33; }

  .menu-item-price { font-size: clamp(15px, 4vw, 17px); }

  .menu-item-description {
    font-size: 11px;
    line-height: 1.4;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    overflow: hidden;
  }

  .menu-purchase-controls { gap: 7px; }

  .menu-quantity { grid-template-columns: minmax(0,1fr) minmax(26px,.8fr) minmax(0,1fr); gap: 5px; }

  .menu-quantity-btn { min-height: 38px; font-size: 20px; border-radius: 8px; }

  .menu-quantity-value { font-size: 15px; }

  .menu-purchase-controls .add-to-cart-btn { min-height: 42px; font-size: 12px; border-radius: 9px; padding: 8px 5px; }
}


@media (max-width: 359px) {
  .menu-section > .container { padding-inline: 7px; }

  .menu-grid { gap: 7px; }

  .menu-item-content { padding: 9px 7px; }

  .menu-item-name { font-size: 12px; }

  .menu-item-description { font-size: 10px; }

  .menu-quantity { gap: 3px; }
}

@media (hover: none) {
  .menu-item:hover, .cart-btn:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .menu-item, .menu-quantity-btn, .modal-content { transition: none; }
}

@media(max-width:767px){
  /* Чуть ниже по высоте: компактнее блок названия и категории карточки. */
  .menu-item-content{padding-top:8px}

  .menu-item-category{font-size:9px;line-height:1.15;padding:3px 6px;margin-bottom:5px}

  .menu-item-header{gap:3px;margin-bottom:5px}

  .menu-item-name{font-size:clamp(12px,3.3vw,14px);line-height:1.24}
}

button, a, input, select, textarea, summary,
.menu-item, .menu-purchase-controls, .category-btn {
  touch-action: manipulation;
}


/* Guest menu/event switch and automatic chronological event cards. */
[hidden]{display:none!important}

.event-go-to-menu{width:100%;min-height:40px;border-radius:9px;padding:9px 12px;border:0;background:#e4be81;color:#231d18;font-size:12px;font-weight:700}

@media(max-width:767px){
  .event-go-to-menu{font-size:10px;min-height:35px;padding:7px}
}


/* Mobile header v21: Menu and Events are identical-height tabs on ONE baseline. */
@media(max-width:767px){
  .header-content #menuNavBtn,
  .header-content #eventsNavBtn{
    display:flex;
    align-items:center;
    justify-content:center;
    align-self:stretch;
    justify-self:stretch;
    width:100%;
    height:42px;
    min-height:42px;
    margin:0;
    padding:0 4px;
    border:1px solid transparent;
    border-radius:9px;
    box-sizing:border-box;
    font-size:12px;
    line-height:1;
    font-weight:650;
    text-decoration:none;
    white-space:nowrap;
  }

  .header-content #menuNavBtn{grid-area:menu}

  .header-content #menuNavBtn.active,
  .header-content #eventsNavBtn.active{
    border-color:rgba(232,197,139,.38);
    background:rgba(232,197,139,.12);
    color:#e8c58b;
  }
}

@media(max-width:359px){
  .header-content #menuNavBtn,
  .header-content #eventsNavBtn,
  .header-content #myOrdersBtn,
  .header-content #cartBtn{
    height:40px;min-height:40px;font-size:10px;
  }
}

.header #menuNavBtn::before,
.header #eventsNavBtn::before,
.header #myOrdersBtn::before{
  content:"";
  display:block;
  width:17px;
  height:17px;
  flex:0 0 17px;
  background-position:center;
  background-size:contain;
  background-repeat:no-repeat;
  opacity:.91;
}

.header #menuNavBtn::before{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d8d4cb' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 3v7a3 3 0 0 0 6 0V3M7 3v18M19 3v18M19 3a5 5 0 0 0-5 5v4h5'/%3E%3C/svg%3E");
}

.header #menuNavBtn.active,
.header #eventsNavBtn.active {
  background:linear-gradient(125deg,rgba(236,199,139,.19),rgba(206,163,99,.085));
  border-color:rgba(240,205,147,.42);
  box-shadow:inset 0 1px rgba(255,255,255,.08),0 3px 15px rgba(0,0,0,.12);
  color:#ffe0a6;
}

@media (min-width:768px) and (max-width:1199px) {
  .header #menuNavBtn,.header #eventsNavBtn {
    justify-self:start;
    min-height:41px;
  }
}

@media (max-width:767px) {
  .header #menuNavBtn,.header #eventsNavBtn,.header #myOrdersBtn,.header #cartBtn {
    box-sizing:border-box;
    align-self:stretch;
    justify-self:stretch;
    width:100%;
    min-width:0;
    height:42px;
    min-height:42px;
    margin:0;
    padding:0 3px;
    border-radius:11px;
    font-size:11px;
    line-height:1.15;
    text-align:center;
    white-space:nowrap;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:3px;
  }

  .header #menuNavBtn{grid-area:menu}

  /* All four lower-row controls share the same baseline and dimensions. */
  .header #menuNavBtn::before,
  .header #eventsNavBtn::before,
  .header #myOrdersBtn::before{display:none}
}

@media (max-width:359px) {
  .header #menuNavBtn,.header #eventsNavBtn,.header #myOrdersBtn,.header #cartBtn{
    height:40px;min-height:40px;font-size:10px;padding:0 2px;
  }
}

#menuGrid.menu-categories-layout {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: clamp(27px, 4vw, 45px);
  width: 100%;
}

.menu-category-block {
  display: block;
  min-width: 0;
  width: 100%;
  scroll-margin-top: calc(var(--bali-header-height, 80px) + 80px);
}

.menu-category-heading {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px 14px;
  padding: 0 0 13px;
  margin-bottom: 17px;
  border-bottom: 1px solid rgba(232, 196, 139, .28);
}

.menu-category-heading::before {
  content: "";
  width: 4px;
  height: 25px;
  flex: 0 0 4px;
  background: linear-gradient(#ffdda3, #bb8f53);
  border-radius: 4px;
  align-self: center;
}

.menu-category-title {
  margin: 0;
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 770;
  letter-spacing: -.02em;
  line-height: 1.25;
  color: #faf0df;
  overflow-wrap: anywhere;
}

.menu-category-count {
  margin-left: auto;
  color: #c0bdba;
  font-size: 12px;
  white-space: nowrap;
}

.menu-category-block .menu-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(12px, 1.4vw, 19px);
  align-items: stretch;
}

.menu-category-block .menu-item-category {
  display: none; /* категория уже видна над списком, не повторяем её в каждой карточке */
}

@media (min-width: 768px) and (max-width: 1199px) {
  .menu-category-block .menu-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}

@media (max-width: 767px) {
  #menuGrid.menu-categories-layout { gap: 29px; }

  .menu-category-heading {
    align-items: center;
    gap: 8px;
    padding: 0 0 11px;
    margin: 0 0 12px;
  }

  .menu-category-heading::before { width: 3px; height: 21px; flex-basis: 3px; }

  .menu-category-title { font-size: 18px; }

  .menu-category-count { font-size: 10px; }

  .menu-category-block .menu-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 10px;
  }
}

@media (max-width: 359px) {
  .menu-category-title {font-size: 16px;}

  .menu-category-count {font-size: 9px;}

  .menu-category-block .menu-grid {gap: 7px;}
}

.event-go-to-menu {margin-top:0}

#menuPage .hero{display:none!important}

#menuPage .categories{top:var(--bali-header-height,70px);padding:8px 0 5px}

.bali-menu-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 8px}

.bali-menu-toolbar-title{font-size:13px;font-weight:750;color:#f1d5a4}

.bali-menu-tools{display:flex;gap:8px;align-items:center}

.bali-menu-tools #cartBtn{display:flex;min-height:42px;height:42px;width:auto;max-width:none;min-width:69px;padding:7px 10px;gap:7px;border-radius:11px;align-items:center;justify-content:center}

#menuPage .menu-section{padding-top:25px}

@media(max-width:767px){
 #menuPage .categories{padding:8px 0 5px}

 #menuPage .categories>.container{padding:0}

 .bali-menu-toolbar{padding:0 11px}

 .bali-menu-tools{gap:6px}

 .bali-menu-toolbar-title{font-size:12px}

 .bali-menu-tools #cartBtn{min-height:39px;height:39px;min-width:58px;padding:6px;gap:3px}

 .bali-menu-tools #cartBtn .cart-icon{width:17px;height:17px;flex:0 0 17px}

 .bali-menu-tools #cartBtn .cart-count{width:19px;height:19px;flex:0 0 19px;font-size:10px}
}

@media(max-width:359px){.bali-menu-toolbar-title{font-size:11px}
}

#eventsSection .event-want-to-go,
#eventsSection .event-go-to-menu{
  min-height:34px;
  padding:7px 9px;
  font-size:11px;
  line-height:1.15;
}

@media(max-width:767px){
  #eventsSection .event-want-to-go,
  #eventsSection .event-go-to-menu{min-height:32px;font-size:10px;padding:6px 7px}
}

#eventsSection .event-want-to-go,
#eventsSection .event-go-to-menu{
  min-height:42px;
  padding:10px 12px;
  border-radius:10px;
  font-size:12px;
  font-weight:800;
  line-height:1.2;
  margin-top:1px;
}

#eventsSection .event-go-to-menu{
  color:#241d16;
  background:linear-gradient(125deg,#f0d6a7,#dfb974);
  box-shadow:inset 0 1px rgba(255,255,255,.3);
}

@media(max-width:767px){
  #eventsSection .event-want-to-go,
  #eventsSection .event-go-to-menu{
    min-height:41px;
    padding:9px 10px;
    font-size:12px;
  }
}

@media(max-height:730px){
  #eventsSection .event-want-to-go,#eventsSection .event-go-to-menu{min-height:36px;padding:7px 10px}
}

@media(max-width:767px){
  #eventsSection .event-want-to-go,
  #eventsSection .event-go-to-menu{
    min-height:38px;
    padding:7px 8px;
    font-size:11px;
  }
}

@media(max-height:700px){
  #eventsSection .event-want-to-go,
  #eventsSection .event-go-to-menu{min-height:33px;padding:6px 8px}
}

.bali-home-menu-banner{display:flex;align-items:center;gap:12px;width:100%;min-height:76px;padding:0 12px;border:1px solid rgba(255,191,140,.28);border-radius:13px;background:radial-gradient(circle at 80% 80%,rgba(244,104,47,.44),transparent 32%),radial-gradient(circle at 56% 13%,rgba(206,44,108,.22),transparent 45%),linear-gradient(95deg,#200d1d,#141017 58%,#231212);color:#fff;cursor:pointer;text-align:left}

.bali-menu-banner-icon{display:grid;place-items:center;flex:0 0 57px;height:70px;margin-left:-11px;border-radius:12px;background:linear-gradient(135deg,#421336,#130a18);color:#ff65bb;font-size:35px}

.bali-home-menu-banner span:nth-child(2){flex:1;min-width:0}

.bali-home-menu-banner strong{display:block;font-size:22px;line-height:1.15}

.bali-home-menu-banner small{display:block;margin-top:4px;font-size:12px;color:#d0c6cb}

.bali-menu-banner-arrow{font-size:30px}

#eventsSection .event-go-to-menu{order:6;width:100%;min-height:36px!important;border-radius:9px!important;border:1px solid #cdd2df!important;background:rgba(16,21,31,.90)!important;color:#f2f3f6!important;font-weight:600!important;font-size:12px!important}

/* Menu: original sticky category filters intentionally not changed. */
#menuPage{min-height:calc(100dvh - 75px);background:#06090e;padding-bottom:95px}

#menuPage .categories{background:rgba(6,10,15,.97);border-bottom:1px solid rgba(255,255,255,.13);box-shadow:none;z-index:940}

#menuPage .bali-menu-toolbar-title{font-weight:760;color:#fafafa;font-size:19px}

#menuPage .bali-orders-shortcut{background:#0e141e;border:1px solid #29303b;border-radius:8px;color:#e5dbcf}

#menuPage .bali-menu-tools #cartBtn{background:#131820;border:1px solid #353a46;box-shadow:none}

.bali-menu-search{margin:9px auto 0}

.bali-menu-search-field{display:flex;align-items:center;gap:9px;padding:0 10px;min-height:39px;border:1px solid #2b303a;border-radius:9px;background:#0d131c}

.bali-menu-search-field>span{font-size:26px;color:#c6cbd6;line-height:1}

.bali-menu-search-field input{flex:1;width:100%;outline:none;color:white;background:transparent;border:0;font-family:inherit;font-size:12px;min-height:37px}

.bali-menu-search-field input::placeholder{color:#69798d}

#menuPage .menu-section{padding:10px 0 20px}

#menuPage .menu-item{cursor:default;border-radius:11px;border:1px solid #242a36;background:linear-gradient(115deg,#111722,#0a0f17);box-shadow:none;transform:none!important}

#menuPage .menu-item:hover{border-color:rgba(255,193,99,.38);box-shadow:none}

#menuPage .menu-item-name{color:#fff;font-weight:750}

#menuPage .menu-item-price{font-weight:800;color:var(--bali-ui-gold)}

#menuPage .menu-item-description{color:#aeb7c7}

#menuPage .menu-item-content{min-width:0}

#menuPage .menu-quantity{border-radius:8px;background:#202630}

#menuPage .add-to-cart-btn{background:linear-gradient(#ffe098,#edb34f);color:#221506;border:0;border-radius:8px;box-shadow:none;font-weight:800}

#menuPage .menu-category-block{scroll-margin-top:160px}

@media(min-width:768px){
  #menuPage .menu-section{padding:25px 0}

  #menuPage .menu-category-block .menu-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}

@media(max-width:767px){
  #menuPage .bali-menu-toolbar-title{font-size:17px}

  #menuPage .menu-section>.container{padding:0 9px}

  #menuPage #menuGrid.menu-categories-layout{gap:13px}

  /* Category pills and their logic are intentionally unchanged. */
  #menuPage .menu-category-block .menu-grid{display:flex;flex-direction:column;gap:7px}

  #menuPage .menu-category-heading{margin-bottom:8px;padding:3px 0 8px}

  #menuPage .menu-category-title{font-size:15px}

  #menuPage .menu-category-count{font-size:10px}

  #menuPage .menu-item{display:grid;grid-template-columns:96px minmax(0,1fr);gap:0;min-height:130px}

  #menuPage .menu-item-image{width:96px;height:100%;min-height:130px;aspect-ratio:auto;object-fit:cover}

  #menuPage .menu-item-content{padding:8px 9px 8px;display:flex;flex-direction:column;justify-content:center;gap:5px;overflow:hidden}

  #menuPage .menu-item-header{display:flex;flex-direction:column;gap:4px;margin:0}

  #menuPage .menu-item-name{font-size:12px;line-height:1.25}

  #menuPage .menu-item-price{font-size:12px;line-height:1.2}

  #menuPage .menu-item-description{font-size:10px;line-height:1.25;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin:0}

  #menuPage .menu-purchase-controls{display:flex;align-items:center;gap:6px;margin-top:2px;min-width:0}

  #menuPage .menu-quantity{display:flex;flex:1 1 40%;min-width:0;min-height:30px;align-items:center;justify-content:space-around;padding:0}

  #menuPage .menu-quantity-btn{height:27px;min-height:27px;min-width:24px;width:24px;font-size:14px;padding:0;border:0}

  #menuPage .menu-quantity-value{font-size:11px;min-width:12px}

  #menuPage .add-to-cart-btn{display:grid;place-items:center;flex:1 1 53%;min-height:30px;height:30px;max-width:105px;margin:0;padding:4px;font-size:10px;line-height:1.1;white-space:normal}

  #menuPage .menu-item.unavailable{opacity:.55}
}

@media(max-width:359px){
  #menuPage .menu-item{grid-template-columns:83px minmax(0,1fr)}

  #menuPage .menu-item-image{width:83px}

  #menuPage .menu-item-content{padding:7px}
}


/* BALI v38: self-contained viewport layout on phones.
   All guest screens fixed; only the product list and horizontal carousels scroll. */
@media (max-width:767px) {
  body[data-bali-page]>.bali-home,
  body[data-bali-page]>.events-section,
  body[data-bali-page]>.bali-profile-page,
  body[data-bali-page]>#menuPage{
    height:auto!important;min-height:0!important;
    flex:1 1 auto;overflow:hidden!important;
    padding-top:0!important;padding-bottom:0!important;
  }

  .bali-home-menu-banner{flex:0 0 auto;min-height:48px;height:48px;padding:0 9px;gap:9px}

  .bali-menu-banner-icon{height:46px;flex-basis:44px;font-size:24px;margin-left:-8px}

  .bali-home-menu-banner strong{font-size:17px}

  .bali-home-menu-banner small{font-size:10px;margin-top:1px}

  #eventsSection .event-want-to-go,#eventsSection .event-go-to-menu{
    min-height:30px!important;font-size:10px!important;padding:5px!important;
  }

  /* Menu holds fixed toolbar, category strip and cart; only product rows scroll vertically. */
  #menuPage{display:flex;flex-direction:column;min-height:0!important;overflow:hidden!important;padding:0!important}

  #menuPage[hidden]{display:none!important}

  #menuPage .categories{
    position:relative!important;top:auto!important;
    flex:0 0 auto;margin:0;padding:5px 0 3px!important;z-index:5;
  }

  #menuPage .category-buttons{
    display:flex!important;flex-wrap:nowrap!important;
    overflow-x:auto!important;overflow-y:hidden!important;
    -webkit-overflow-scrolling:touch;touch-action:pan-x pan-y;
    scroll-snap-type:x proximity;
  }

  #menuPage .bali-menu-search{flex:0 0 auto;margin:4px auto 3px;width:100%}

  #menuPage .bali-menu-search-field{min-height:32px}

  #menuPage .bali-menu-search-field input{min-height:30px}

  #menuPage .menu-section{
    flex:1 1 auto;min-height:0!important;max-height:none!important;
    overflow-y:auto!important;overflow-x:hidden!important;
    overscroll-behavior-y:contain;
    -webkit-overflow-scrolling:touch;
    touch-action:pan-y;
    padding:5px 0 9px!important;
    scrollbar-width:thin;
  }

  #menuPage .menu-category-block{scroll-margin-top:10px}

  #menuPage .menu-item{touch-action:pan-y}

  #menuPage .menu-section{padding-bottom:53px!important}
}

@media (max-width:767px) and (max-height:700px){
  .bali-home-menu-banner{height:41px;min-height:41px}

  .bali-menu-banner-icon{height:39px}
}


/* Allow the on-screen keyboard to use normal viewport adjustment without losing app navigation. */
@media(max-width:767px){
  #menuPage .menu-section:focus-within{scroll-behavior:auto}

  .bali-profile-page[hidden],#menuPage[hidden],#eventsSection[hidden],#homeSection[hidden]{display:none!important}
}


/* BALI v40: home screen begins immediately with the calendar.
   Make the menu call-to-action broader and slightly enlarge contact targets.
   Keep the existing fixed-screen mobile layout and horizontal event carousel. */
.bali-home-menu-banner{
  width:calc(100% + 12px);
  margin-left:-6px;
  min-height:82px;
}

@media(max-width:767px){
  .bali-home-menu-banner{
    flex:0 0 auto;
    height:58px;
    min-height:58px!important;
    width:calc(100% + 14px);
    margin-left:-7px;
    padding:0 13px;
    border-radius:12px;
  }

  .bali-menu-banner-icon{height:56px;flex-basis:53px;font-size:27px}

  .bali-home-menu-banner strong{font-size:19px}

  .bali-home-menu-banner small{font-size:11px}
}

@media(max-width:767px) and (max-height:700px){
  .bali-home-menu-banner{height:51px;min-height:51px!important}

  .bali-menu-banner-icon{height:49px}
}


/* BALI v41: compact event calendar above its tabs; shorter posters,
   with all titles, RSVP details and preorder controls readable. */
@media(max-width:767px){
  #eventsSection .event-want-to-go,
  #eventsSection .event-go-to-menu{
    min-height:32px!important;
    padding:6px 9px!important;
    font-size:11px!important;
    flex-shrink:0;
  }
}


/* BALI v42 — compact homepage stories and larger accessible controls.
   Mobile viewport remains locked; gestures and underlying functions unchanged. */
@media (max-width:767px){

  /* Original card-style width, but a taller, easier-to-tap menu button. */
  .bali-home-menu-banner{
    align-self:center;
    position:relative;
    left:auto;
    transform:none;
    width:94%;
    max-width:100%;
    margin-left:0;
    flex:0 0 76px;
    height:76px;
    min-height:76px!important;
    padding-inline:13px;
  }

  .bali-menu-banner-icon{height:72px;flex-basis:58px;font-size:30px}

  .bali-home-menu-banner strong{font-size:20px}
}

@media (max-width:767px) and (max-height:700px){
  .bali-home-menu-banner{flex-basis:66px;height:66px;min-height:66px!important}

  .bali-menu-banner-icon{height:62px}
}


/* BALI v44 — device-responsive guest layout.
   Phones (<=767px) keep their fixed view, tablet (768–1199px) and desktop
   (>=1200px) use spacious but still viewport-bound views. Category labels,
   RSVP, cart and account actions remain driven by existing JavaScript. */

/* Large phones with very short landscape viewports: preserve access to actions. */
@media(max-width:767px) and (max-height:560px){
  .bali-home-menu-banner{height:56px;min-height:56px!important;flex-basis:56px}

  .bali-menu-banner-icon{height:52px}
}


/* Tablets and desktops: fixed application frame, scroll only data lists. */
@media (min-width:768px){

  /* All guest pages get only the space between header and bottom navigation. */
  body[data-bali-page] > #homeSection,
  body[data-bali-page] > #eventsSection,
  body[data-bali-page] > #menuPage,
  body[data-bali-page] > #profileSection,
  body[data-bali-page] > #contactsSection{
    flex:1 1 auto;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    overflow:hidden!important;
    padding-top:0!important;
    padding-bottom:0!important;
  }

  .bali-home-menu-banner{
    flex:0 0 auto;
    align-self:center;
    position:relative;
    left:auto;
    transform:none;
    width:min(94%,880px);
    min-height:78px;
    height:78px;
    margin:0;
    padding:0 18px;
  }

  .bali-menu-banner-icon{height:73px;flex-basis:68px}


  /* Sticky/visible category tabs, stationary cart and separately scrollable products. */
  #menuPage{
    display:flex;
    flex-direction:column;
    width:100%;
    min-height:0!important;
  }

  #menuPage[hidden]{display:none!important}

  #menuPage .categories{
    position:relative;
    top:auto!important;
    flex:0 0 auto;
    z-index:4;
    padding:8px 0 5px;
  }

  #menuPage .categories>.container{max-width:1360px}

  #menuPage .category-buttons{
    flex-wrap:nowrap;
    overflow-x:auto;
    overflow-y:hidden;
    scroll-snap-type:x proximity;
    overscroll-behavior-x:contain;
    touch-action:pan-x pan-y;
    scrollbar-width:thin;
  }

  #menuPage .bali-menu-search{
    flex:0 0 auto;
    width:100%;
    max-width:1360px;
    margin:7px auto 5px;
    padding-inline:clamp(12px,2.8vw,28px);
  }

  #menuPage .menu-section{
    flex:1 1 auto;
    min-height:0!important;
    height:auto;
    max-height:none;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    overscroll-behavior-y:contain;
    -webkit-overflow-scrolling:touch;
    touch-action:pan-y;
    padding:10px 0 95px!important;
    scrollbar-width:thin;
  }

  #menuPage .menu-category-block{scroll-margin-top:12px}
}


/* Portrait tablet: wider cards, compact contact strip, three menu columns. */
@media (min-width:768px) and (max-width:1199px){
  .bali-home-menu-banner{height:73px;min-height:73px}

  .bali-menu-banner-icon{height:69px}

  #menuPage .menu-category-block .menu-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}


/* Large desktop: keep original 5-column catalog and a centered dashboard. */
@media (min-width:1200px){
  .bali-home-menu-banner{max-width:920px}

  #menuPage .menu-category-block .menu-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
}


/* Short laptop/tablet landscape: favor functional controls over decoration. */
@media (min-width:768px) and (max-height:720px){
  .bali-home-menu-banner{height:64px;min-height:64px}

  .bali-menu-banner-icon{height:60px}
}


/* Exception: a very short rotated tablet window must never hide action buttons. */
@media (min-width:768px) and (max-height:520px){
  .bali-home-menu-banner{flex-shrink:0}
}


/* Make touch controls consistent for all three classes of devices. */
@media (pointer:coarse){
  .bali-home-calendar-row button,
  .bali-home-menu-banner,.bali-social-btn,
  .bali-yandex-map,.bali-profile-action{
    -webkit-tap-highlight-color:transparent;
    touch-action:manipulation;
  }
}


/* BALI v45: home alignment and compact single-row menu purchase controls.
   Keep original working item quantity, cart, category and pricing functions. */
.bali-home .bali-home-inner>.bali-home-menu-banner{
  align-self:stretch;
  box-sizing:border-box;
  width:100%;
  max-width:100%;
  margin-inline:0;
  left:auto;
  right:auto;
  transform:none;
}

#menuPage .menu-category-block .menu-item-image{
  aspect-ratio:3/2;
  object-fit:cover;
}

#menuPage .menu-category-block .menu-item-content{
  padding:9px 10px 10px;
  gap:4px;
}

#menuPage .menu-category-block .menu-item-header{
  gap:3px;
  margin-bottom:2px;
}

#menuPage .menu-category-block .menu-item-description{
  flex-grow:0;
  margin-bottom:4px;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  line-clamp:3;
  overflow:hidden;
}

#menuPage .menu-category-block .menu-purchase-controls{
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);
  align-items:center;
  gap:6px;
  min-width:0;
  width:100%;
  margin-top:auto;
}

#menuPage .menu-category-block .menu-quantity{
  display:grid;
  grid-template-columns:minmax(23px,1fr) minmax(16px,.65fr) minmax(23px,1fr);
  align-items:center;
  gap:2px;
  min-width:0;
  width:100%;
  padding:0;
  background:transparent;
}

#menuPage .menu-category-block .menu-quantity-btn{
  width:100%;
  min-width:0;
  height:34px;
  min-height:34px;
  border:1px solid rgba(222,192,137,.45);
  border-radius:7px;
  padding:0;
  font-size:17px;
}

#menuPage .menu-category-block .menu-quantity-value{
  min-width:0;
  font-size:14px;
}

#menuPage .menu-category-block .menu-purchase-controls .add-to-cart-btn{
  width:100%;
  max-width:none;
  min-width:0;
  height:34px;
  min-height:34px;
  margin:0;
  padding:4px;
  font-size:clamp(10px,1.1vw,12px);
  line-height:1.1;
  white-space:nowrap;
}

@media(max-width:767px){
  #menuPage .menu-category-block .menu-item{
    grid-template-columns:90px minmax(0,1fr);
    min-height:113px;
  }

  #menuPage .menu-category-block .menu-item-image{
    width:90px;
    height:100%;
    min-height:113px;
    aspect-ratio:auto;
  }

  #menuPage .menu-category-block .menu-item-content{
    gap:3px;
    padding:6px 7px;
  }

  #menuPage .menu-category-block .menu-item-header{
    gap:2px;
    margin:0;
  }

  #menuPage .menu-category-block .menu-item-description{
    -webkit-line-clamp:2;
    line-clamp:2;
    margin:0 0 2px;
    line-height:1.2;
  }

  #menuPage .menu-category-block .menu-purchase-controls{
    grid-template-columns:minmax(0,1.23fr) minmax(0,1fr);
    gap:4px;
    margin:2px 0 0;
  }

  #menuPage .menu-category-block .menu-quantity{
    grid-template-columns:minmax(23px,1fr) minmax(12px,.58fr) minmax(23px,1fr);
    gap:1px;
  }

  #menuPage .menu-category-block .menu-quantity-btn{
    height:31px;
    min-height:31px;
    font-size:16px;
  }

  #menuPage .menu-category-block .menu-quantity-value{font-size:11px}

  #menuPage .menu-category-block .menu-purchase-controls .add-to-cart-btn{
    height:31px;
    min-height:31px;
    padding:3px 2px;
    font-size:10px;
  }
}

@media(max-width:359px){
  #menuPage .menu-category-block .menu-item{
    grid-template-columns:76px minmax(0,1fr);
    min-height:108px;
  }

  #menuPage .menu-category-block .menu-item-image{
    width:76px;min-height:108px;
  }

  #menuPage .menu-category-block .menu-item-content{padding:5px 6px}

  #menuPage .menu-category-block .menu-purchase-controls{gap:3px}

  #menuPage .menu-category-block .menu-quantity-btn{min-height:30px;height:30px}

  #menuPage .menu-category-block .menu-purchase-controls .add-to-cart-btn{
    min-height:30px;height:30px;font-size:9px;
  }
}

#eventsSection .event-go-to-menu{order:7;flex-shrink:0}


/* BALI v47: mobile viewport slots.
   Header remains topmost; navigation is pinned to the physical viewport bottom.
   The middle is a flexible layout, not a fixed-pixel screenshot. */
@media (max-width:767px){
  body[data-bali-page] > #homeSection,
  body[data-bali-page] > #eventsSection,
  body[data-bali-page] > #menuPage,
  body[data-bali-page] > #profileSection,
  body[data-bali-page] > #contactsSection{
    order:0;
    flex:1 1 0;
    min-height:0!important;
    height:auto!important;
    max-height:none!important;
    overflow:hidden!important;
    padding-top:0!important;
    padding-bottom:0!important;
  }

  #homeSection .bali-home-menu-banner{
    grid-row:3;
    align-self:stretch;
    width:100%!important;
    max-width:100%!important;
    min-height:clamp(47px,9dvh,76px)!important;
    height:clamp(47px,9dvh,76px);
    margin:0!important;
    box-sizing:border-box;
  }

  #homeSection .bali-menu-banner-icon{
    height:calc(clamp(47px,9dvh,76px) - 4px);
  }

  #menuPage .menu-section{
    flex:1 1 auto;
    min-height:0!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    touch-action:pan-y;
    overscroll-behavior-y:contain;
  }

  #menuPage .categories,#menuPage .bali-menu-search{flex:0 0 auto}
}

@media(max-width:767px) and (max-height:610px){
  #homeSection .bali-home-menu-banner{
    min-height:44px!important;height:44px;
  }

  #homeSection .bali-menu-banner-icon{height:41px}
}

#homeSection .bali-home-events-panel,
#homeSection .bali-home-menu-banner,
#homeSection .bali-home-contacts-card{
  position:relative;
  width:100%!important;
  max-width:100%!important;
  min-width:0;
  margin:0!important;
  align-self:stretch;
  box-sizing:border-box;
  border:1px solid var(--bali-premium-edge);
  border-radius:17px;
  box-shadow:0 12px 30px rgba(0,0,0,.28),inset 0 1px rgba(255,255,255,.035);
}


/* Menu occupies its own zone, same outside width as events and contacts. */
#homeSection .bali-home-menu-banner{
  flex:0 0 auto;
  transform:none!important;
  left:auto!important;
  right:auto!important;
  display:flex;
  align-items:center;
  gap:14px;
  min-height:clamp(70px,10dvh,94px)!important;
  height:clamp(70px,10dvh,94px)!important;
  padding:0 clamp(12px,2vw,20px);
  overflow:hidden;
  color:#fff8f2;
  background:
    radial-gradient(ellipse at 91% 50%,rgba(172,83,47,.19),transparent 48%),
    radial-gradient(ellipse at 8% 45%,rgba(175,40,115,.24),transparent 51%),
    linear-gradient(105deg,#281324 0%,#1c111a 45%,#141018 100%);
  transition:border-color .18s ease,filter .18s ease;
}

#homeSection .bali-home-menu-banner:hover{
  border-color:rgba(238,198,130,.55);
  filter:brightness(1.07);
}

#homeSection .bali-menu-banner-icon{
  display:grid;
  place-items:center;
  flex:0 0 clamp(52px,8dvh,66px);
  width:clamp(52px,8dvh,66px);
  height:calc(100% - 10px)!important;
  margin-left:-8px;
  border-radius:13px;
  font-size:clamp(28px,4vw,35px);
  color:#f6a7d3;
  background:linear-gradient(120deg,#421a38,#1a111c);
  border:1px solid rgba(240,150,209,.08);
}

#homeSection .bali-home-menu-banner strong{
  font-size:clamp(20px,2.45vw,26px);
  font-weight:760;
  letter-spacing:-.025em;
}

#homeSection .bali-home-menu-banner small{
  font-size:clamp(11px,1.25vw,13px);
  color:#d2c4cd;
  margin-top:4px;
}

#homeSection .bali-menu-banner-arrow{
  margin-left:auto;
  color:#f2d4a3;
  font-size:clamp(24px,3vw,32px);
}


/* The shell stays framed at the top/bottom and content fills its free space. */
@media(max-width:767px){
  #homeSection .bali-home-menu-banner{grid-row:2}

  #homeSection .bali-home-menu-banner{
    min-height:clamp(57px,9dvh,78px)!important;
    height:clamp(57px,9dvh,78px)!important;
    padding-inline:12px;
  }

  #homeSection .bali-menu-banner-icon{
    flex-basis:clamp(47px,7dvh,57px);
    width:clamp(47px,7dvh,57px);
  }
}

@media(min-width:768px){
  #homeSection .bali-home-menu-banner{grid-row:2}
}

@media(max-width:767px) and (max-height:670px){
  #homeSection .bali-home-menu-banner{
    height:clamp(49px,8.1dvh,61px)!important;
    min-height:clamp(49px,8.1dvh,61px)!important;
  }
}

@media(prefers-reduced-motion:reduce){
  #homeSection .bali-home-menu-banner,
  #homeSection .bali-home-calendar-row button,
  #homeSection .bali-home-contacts-card .bali-social-btn{
    transition:none;
  }
}

#eventsSection .bali-event-actions .event-want-to-go,
#eventsSection .bali-event-actions .event-go-to-menu {
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  min-width:0;
  min-height:clamp(34px,5vh,46px)!important;
  margin:0!important;
  padding:7px 8px!important;
  border-radius:10px!important;
  font-size:clamp(11px,1.5vw,14px)!important;
  line-height:1.18;
  text-align:center;
  font-weight:760;
  flex:none;
  box-sizing:border-box;
  touch-action:manipulation;
}

#eventsSection .bali-event-actions .event-go-to-menu {
  border:1px solid #d6d9e7!important;
  color:#f6f4fb!important;
  background:linear-gradient(145deg,#161a25,#0c1019)!important;
}

@media(max-width:767px){
  #eventsSection .bali-event-actions .event-want-to-go,
  #eventsSection .bali-event-actions .event-go-to-menu{
    min-height:35px!important;
    font-size:12px!important;
  }
}

@media(max-width:767px) and (max-height:680px){
  #eventsSection .bali-event-actions .event-want-to-go,
  #eventsSection .bali-event-actions .event-go-to-menu{min-height:31px!important}
}

/* Original BALI atelier: thin handmade symbols, menu shown as an open book. */
.bali-icon-slot{
  display:inline-flex;align-items:center;justify-content:center;
  vertical-align:middle;flex-shrink:0;
}

.bali-menu-banner-icon .bali-custom-icon{width:clamp(30px,4.6vw,40px);height:clamp(30px,4.6vw,40px)}

.bali-menu-banner-arrow .bali-custom-icon{width:23px;height:23px}

.bali-menu-search-field .bali-custom-icon{width:21px;height:21px}

/* Menu entry is the signature tile: deep blue glass without dated gold gradients. */
body.bali-guest-theme #homeSection .bali-home-menu-banner{
  background:linear-gradient(108deg,#26345b 0%,#1d2747 56%,#171d33 100%)!important;
  border:1px solid rgba(153,176,255,.48)!important;
  border-radius:16px!important;
  padding-inline:15px!important;
  box-shadow:0 8px 22px rgba(0,0,0,.24),inset 0 1px rgba(226,233,255,.12)!important;
  filter:none!important;
}

body.bali-guest-theme #homeSection .bali-menu-banner-icon{
  background:rgba(151,169,255,.17)!important;
  border:1px solid rgba(189,206,255,.27)!important;
  color:#eef1ff!important;
  border-radius:11px!important;
  margin-left:-6px!important;
  box-shadow:none!important;
}

body.bali-guest-theme #homeSection .bali-home-menu-banner strong{
  color:#fff!important;font-weight:760!important;
  font-size:clamp(20px,2.55vw,27px)!important;
  letter-spacing:-.035em!important;text-shadow:none!important;
}

body.bali-guest-theme #homeSection .bali-home-menu-banner small{
  color:#c5cde9!important;
}

body.bali-guest-theme #homeSection .bali-menu-banner-arrow{color:#e7eaff!important}

body.bali-guest-theme #eventsSection .bali-event-actions .event-go-to-menu{
  background:#2a3448!important;color:#f3f5ff!important;
  border:1px solid rgba(196,213,255,.32)!important;
  border-radius:10px!important;box-shadow:none!important;
}

/* Menu cards: platinum type, clear price, single cobalt CTA. */
body.bali-guest-theme #menuPage{background:#0b0f16!important}

body.bali-guest-theme #menuPage .categories{
  background:#111720!important;border-bottom:1px solid var(--bali-hairline)!important;
}

body.bali-guest-theme #menuPage .category-btn{
  color:#b6bed1!important;background:#202735!important;
  border:1px solid transparent!important;border-radius:9px!important;
  box-shadow:none!important;
}

body.bali-guest-theme #menuPage .category-btn.active{
  color:#fff!important;background:#384575!important;
  border:1px solid #6e7ac7!important;
  box-shadow:none!important;
}

body.bali-guest-theme #menuPage .bali-menu-search-field{
  background:#1b2230!important;color:#aeb8d1!important;
  border:1px solid var(--bali-hairline-strong)!important;
  border-radius:11px!important;
}

body.bali-guest-theme #menuPage .menu-item{
  background:#191f29!important;
  border:1px solid var(--bali-hairline)!important;
  border-radius:13px!important;
  box-shadow:none!important;
}

body.bali-guest-theme #menuPage .menu-item-name{
  color:#fbfcff!important;font-weight:760!important;letter-spacing:-.02em;
}

body.bali-guest-theme #menuPage .menu-item-price{
  color:#edf1ff!important;font-weight:800!important;
}

body.bali-guest-theme #menuPage .menu-item-description{color:#a7b0c1!important}

body.bali-guest-theme #menuPage .menu-quantity-btn{
  color:#f1f3fe!important;background:#283142!important;
  border:1px solid var(--bali-hairline-strong)!important;
  border-radius:9px!important;box-shadow:none!important;
}

body.bali-guest-theme #menuPage .add-to-cart-btn{
  color:#fff!important;background:#5265dd!important;
  border:1px solid #6679ee!important;
  border-radius:9px!important;
  font-weight:720!important;
  box-shadow:none!important;text-shadow:none!important;
}

@media(hover:hover){
  body.bali-guest-theme #homeSection .bali-home-menu-banner:hover{
    border-color:rgba(183,199,255,.65)!important;
    filter:brightness(1.06)!important;
  }

  body.bali-guest-theme #menuPage .category-btn:hover{
    border-color:rgba(188,201,255,.36)!important;
  }
}

@media(max-width:767px){
  body.bali-guest-theme #homeSection .bali-home-menu-banner{border-radius:13px!important}
}

body.bali-guest-theme .header #accountBtn,
body.bali-guest-theme #homeSection .bali-home-calendar-btn,
body.bali-guest-theme #homeSection .bali-menu-banner-arrow,
body.bali-guest-theme #homeSection .bali-yandex-pin,
body.bali-guest-theme #homeSection .bali-menu-banner-icon,
body.bali-guest-theme #homeSection .bali-home-event-hours,
body.bali-guest-theme #eventsSection .bali-event-hours,
body.bali-guest-theme #menuPage .menu-item-price,
body.bali-guest-theme .bali-profile-action>span,
body.bali-guest-theme .bali-profile-action>b,
body.bali-guest-theme .bali-contact-card .contact-symbol{
  color:var(--bt-text)!important;
}

body.bali-guest-theme #homeSection .bali-home-calendar-row .is-current,
body.bali-guest-theme #eventsSection .events-view-button.active,
body.bali-guest-theme #menuPage .category-btn.active{
  background:var(--bt-primary)!important;
  color:var(--bt-on-primary)!important;
  border-color:var(--bt-primary)!important;
  box-shadow:none!important;
}

body.bali-guest-theme #homeSection .bali-home-menu-banner{
  /* Accent-only: original tile background is owned by the fixed site design. */
  border-color:var(--bt-stroke)!important;
}

body.bali-guest-theme #homeSection .bali-menu-banner-icon{
  border-color:var(--bt-stroke)!important;
}

body.bali-guest-theme #homeSection .bali-home-menu-banner small{
  color:#c9d0de!important;
}

body.bali-guest-theme #eventsSection .bali-event-actions .event-go-to-menu{
  background:var(--bt-secondary)!important;
  border-color:var(--bt-secondary)!important;
  color:var(--bt-on-secondary)!important;
}

body.bali-guest-theme #menuPage .menu-quantity-btn{
  border-color:var(--bt-stroke)!important;
  color:var(--bt-text)!important;
}

body.bali-guest-theme #menuPage .add-to-cart-btn,
body.bali-guest-theme .checkout-btn,
body.bali-guest-theme .submit-order-btn,
body.bali-guest-theme .bali-cart-dock{
  background:var(--bt-primary)!important;
  color:var(--bt-on-primary)!important;
  border-color:var(--bt-primary)!important;
  box-shadow:none!important;
}

body.bali-guest-theme .bali-profile-action:focus-visible,
body.bali-guest-theme #homeSection .bali-home-menu-banner:focus-visible{
  outline-color:var(--bt-border)!important;
}

/* Intentionally retain red for the RSVP heart and green for live/preorder status.
   They convey state and are not themeable. */


/* Additional themed details — the photo, site background and all card fills stay untouched. */
body.bali-guest-theme #homeSection .bali-home-calendar-row .is-current .bali-custom-icon,
body.bali-guest-theme #eventsSection .events-view-button.active .bali-custom-icon,
body.bali-guest-theme #menuPage .category-btn.active .bali-custom-icon{
  color:var(--bt-on-primary)!important;
  stroke:var(--bt-on-primary)!important;
}

body.bali-guest-theme #menuPage .bali-menu-search-field:focus-within,
body.bali-guest-theme #homeSection .bali-home-contacts-card .bali-social-btn:hover,
body.bali-guest-theme #homeSection .bali-home-contacts-card .bali-yandex-map:hover,
body.bali-guest-theme .bali-profile-action:focus-visible,
body.bali-guest-theme .bali-profile-action:hover{
  border-color:var(--bt-stroke)!important;
}

body.bali-guest-theme #menuPage .menu-quantity-btn:hover,
body.bali-guest-theme #menuPage .category-btn:hover,
body.bali-guest-theme #eventsSection .events-view-button:hover{
  border-color:var(--bt-stroke)!important;
}

/* Signature menu tile — matte graphite, not navy blue. */
:root[data-bali-theme="lime"] body.bali-guest-theme #homeSection .bali-home-menu-banner{
  background:#23252b!important;
  border:1px solid rgba(255,255,255,.19)!important;
  box-shadow:none!important;
}

:root[data-bali-theme="lime"] body.bali-guest-theme #homeSection .bali-menu-banner-icon{
  background:#30333a!important;
  color:var(--bt-primary)!important;
  border-color:rgba(255,255,255,.16)!important;
}

:root[data-bali-theme="lime"] body.bali-guest-theme #homeSection .bali-home-menu-banner strong{
  color:#f7f7f7!important;
}

:root[data-bali-theme="lime"] body.bali-guest-theme #homeSection .bali-home-menu-banner small{
  color:#b7bac1!important;
}

/* Other guest pages: consistent quiet panels and active lime only. */
:root[data-bali-theme="lime"] body.bali-guest-theme #eventsSection .events-view-button:not(.active),
:root[data-bali-theme="lime"] body.bali-guest-theme #menuPage .category-btn:not(.active){
  background:#22252b!important;
  color:#d5d7dc!important;
  border-color:rgba(255,255,255,.11)!important;
}

:root[data-bali-theme="lime"] body.bali-guest-theme #eventsSection #eventsGrid>.event-card,
:root[data-bali-theme="lime"] body.bali-guest-theme #menuPage .menu-item,
:root[data-bali-theme="lime"] body.bali-guest-theme .bali-profile-card,
:root[data-bali-theme="lime"] body.bali-guest-theme .bali-contact-card{
  background:#191b20!important;
  border-color:rgba(255,255,255,.15)!important;
  box-shadow:none!important;
}

:root[data-bali-theme="lime"] body.bali-guest-theme #eventsSection #eventsGrid>.event-card>.event-card-body,
:root[data-bali-theme="lime"] body.bali-guest-theme #menuPage .categories{
  background:#17191e!important;
}

:root[data-bali-theme="lime"] body.bali-guest-theme #menuPage .bali-menu-search-field,
:root[data-bali-theme="lime"] body.bali-guest-theme #menuPage .menu-quantity-btn,
:root[data-bali-theme="lime"] body.bali-guest-theme .bali-profile-action{
  background:#24272d!important;
  border-color:rgba(255,255,255,.15)!important;
  color:#f2f2f3!important;
}

/* iPhone Safari: only the inner intended areas may scroll vertically.
   The outer document cannot restore a vertical offset from another page. */
@media(max-width:767px){
  #homeSection .bali-home-events-panel,
  #homeSection .bali-home-contacts-card,
  #homeSection .bali-home-menu-banner{
    min-height:0;
  }
}


/* Final cobalt leftovers: even dark-navy page tints become neutral ink. */
:root[data-bali-theme="lime"] body.bali-guest-theme #eventsSection,
:root[data-bali-theme="lime"] body.bali-guest-theme #menuPage,
:root[data-bali-theme="lime"] body.bali-guest-theme .bali-profile-page{
  background:transparent!important;
}

:root[data-bali-theme="lime"] body.bali-guest-theme #eventsSection .bali-event-actions .event-go-to-menu{
  background:#292c32!important;
  color:#f4f4f4!important;
  border-color:rgba(255,255,255,.17)!important;
}


/* BALI STUDIO / v64 — modern desktop first, not stretched mobile.
   Desktop and laptop only (>=768px). Mobile CSS and application logic untouched.
   Architectural layout: cinematic event gallery + balanced menu/contact rail.
   Ink, graphite, warm white and the existing theme's single accent. */
@media (min-width:768px){

  /* Compact horizontal menu signpost — no oversized full-width gold button. */
  body.bali-guest-theme #homeSection .bali-home-menu-banner{
    grid-column:1/-1;
    grid-row:2;
    width:100%!important;
    max-width:none!important;
    min-width:0;
    height:74px!important;
    min-height:74px!important;
    max-height:none!important;
    margin:0!important;
    padding:0 18px!important;
    display:flex!important;
    align-items:center;
    gap:15px!important;
    background:#23252a!important;
    border:1px solid var(--studio-stroke-strong)!important;
    border-radius:14px!important;
    box-shadow:none!important;
    transform:none!important;
    filter:none!important;
    transition:background-color .16s ease,border-color .16s ease!important;
  }

  body.bali-guest-theme #homeSection .bali-menu-banner-icon{
    flex:0 0 50px!important;
    width:50px!important;
    height:50px!important;
    max-height:50px!important;
    margin:0!important;
    padding:0!important;
    background:#303339!important;
    border:1px solid var(--studio-stroke)!important;
    border-radius:10px!important;
    color:var(--bt-primary)!important;
  }

  body.bali-guest-theme #homeSection .bali-menu-banner-icon .bali-custom-icon{
    width:28px!important;
    height:28px!important;
  }

  body.bali-guest-theme #homeSection .bali-home-menu-banner strong{
    color:#f7f7f8!important;
    font-size:clamp(22px,2vw,31px)!important;
    font-weight:720!important;
    letter-spacing:-.05em!important;
  }

  body.bali-guest-theme #homeSection .bali-home-menu-banner small{
    color:#afb2b8!important;
    font-size:12px!important;
    margin-top:3px;
  }

  body.bali-guest-theme #homeSection .bali-menu-banner-arrow{
    color:var(--bt-text)!important;
  }


  /* Desktop event and catalog pages also use available width. */
  body.bali-guest-theme #eventsSection > .container,
  body.bali-guest-theme #menuPage .categories > .container,
  body.bali-guest-theme #menuPage .bali-menu-search > .container,
  body.bali-guest-theme #menuPage .menu-section > .container{
    width:100%!important;
    max-width:none!important;
    box-sizing:border-box;
    padding-inline:var(--studio-inset)!important;
  }
}


/* Large display: event gallery left, elegant controls in a side rail. */
@media (min-width:1180px){
  body.bali-guest-theme #homeSection .bali-home-menu-banner{
    grid-column:2;
    grid-row:1;
    height:100%!important;
    min-height:0!important;
    max-height:none!important;
    align-self:stretch;
    padding:clamp(16px,1.8vw,27px)!important;
    gap:clamp(12px,1.1vw,18px)!important;
  }

  body.bali-guest-theme #homeSection .bali-menu-banner-icon{
    flex:0 0 clamp(52px,5vw,70px)!important;
    width:clamp(52px,5vw,70px)!important;
    height:clamp(52px,5vw,70px)!important;
    max-height:70px!important;
  }

  body.bali-guest-theme #homeSection .bali-menu-banner-icon .bali-custom-icon{
    width:35px!important;
    height:35px!important;
  }

  body.bali-guest-theme #homeSection .bali-home-menu-banner strong{
    font-size:clamp(26px,2.3vw,39px)!important;
  }
}

/* Narrow laptop viewports: same content but a calmer, shorter footer. */
@media (min-width:768px) and (max-width:1179px){
  body.bali-guest-theme #homeSection .bali-home-menu-banner{grid-row:2}
}

/* Reduced-height laptop: prevent footer controls from clipping. */
@media (min-width:768px) and (max-height:720px){
  body.bali-guest-theme #homeSection .bali-home-menu-banner{
    height:60px!important;
    min-height:60px!important;
  }
}

@media (min-width:1180px) and (max-height:720px){
  body.bali-guest-theme #homeSection .bali-home-menu-banner{
    height:100%!important;
    min-height:0!important;
  }
}

/* Deliberate, quiet interaction states on devices with a mouse. */
@media (min-width:768px) and (hover:hover){
  body.bali-guest-theme #homeSection .bali-home-menu-banner:hover,
  body.bali-guest-theme #homeSection .bali-home-contacts-card :is(.bali-social-btn,.bali-yandex-map):hover{
    background:#30343a!important;
    border-color:rgba(255,255,255,.35)!important;
    filter:none!important;
  }
}

/* BALI v71 — Kitchen / Bar / Hookah / Tea four-section menu.
   Same monochrome + LIME SHADOW visual language; bar prices are rows, NOT
   sale cards. The disclaimer, portions and prices are informational only. */
#menuPage .bali-menu-mode-switch{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,190px));
  justify-content:center;
  gap:8px;
  flex:0 0 auto;
  width:100%;
  margin:0;
  padding:clamp(11px,1.5vh,17px) 15px;
  box-sizing:border-box;
  background:transparent;
}

#menuPage .bali-menu-mode-btn{
  display:flex;
  justify-content:center;
  align-items:center;
  min-width:0;
  width:100%;
  min-height:47px;
  border:1px solid rgba(255,255,255,.15);
  border-radius:11px;
  background:#22252a;
  color:#eaebee;
  font:700 clamp(12px,1.02vw,15px)/1.1 "Manrope",Inter,sans-serif;
  letter-spacing:-.01em;
  cursor:pointer;
  box-shadow:none;
  transition:background-color .16s ease,color .16s ease,border-color .16s ease;
}

#menuPage .bali-menu-mode-btn.is-active{
  background:var(--bt-primary);
  color:var(--bt-on-primary);
  border-color:var(--bt-primary);
}

#menuPage .bali-menu-mode-btn:focus-visible{
  outline:2px solid var(--bt-border);
  outline-offset:3px;
}

#menuPage .bali-kitchen-content{
  display:flex;
  flex:1 1 auto;
  flex-direction:column;
  min-height:0;
  min-width:0;
  overflow:hidden;
}

#menuPage #baliKitchenContent[hidden],
#menuPage #baliBarContent[hidden],
#menuPage #baliHookahContent[hidden],
#menuPage #baliTeaContent[hidden]{display:none!important}

#menuPage .bali-bar-content{
  flex:1 1 0;
  width:100%;
  max-width:none;
  min-height:0;
  overflow-x:hidden;
  overflow-y:auto;
  overscroll-behavior-y:contain;
  -webkit-overflow-scrolling:touch;
  padding:clamp(16px,2.4vw,35px) clamp(15px,4vw,76px) 36px;
  box-sizing:border-box;
  scrollbar-width:thin;
}

#menuPage .bali-bar-intro{
  max-width:1160px;
  margin:0 auto 21px;
  padding:0 0 23px;
  border-bottom:1px solid rgba(255,255,255,.12);
}

#menuPage .bali-bar-label{
  color:var(--bt-text);
  font-size:10px;
  font-weight:780;
  letter-spacing:.22em;
  text-transform:uppercase;
  margin-bottom:11px;
}

#menuPage .bali-bar-intro h2{
  margin:0 0 11px;
  font:760 clamp(29px,3.2vw,48px)/1.03 "Manrope",Inter,sans-serif;
  letter-spacing:-.055em;
  color:#f6f6f7;
}

#menuPage .bali-bar-intro p{
  max-width:780px;
  margin:0;
  color:#b4b8be;
  font-size:clamp(12px,1.02vw,14px);
  line-height:1.65;
  font-weight:510;
}

#menuPage .bali-bar-category-filter{
  display:flex;
  flex-wrap:nowrap;
  gap:8px;
  max-width:1160px;
  margin:0 auto 21px;
  padding-bottom:8px;
  overflow-x:auto;
  scrollbar-width:thin;
  overscroll-behavior-x:contain;
}

#menuPage .bali-bar-filter{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  white-space:nowrap;
  flex:0 0 auto;
  min-height:39px;
  min-width:0;
  padding:8px 15px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:9px;
  background:#22252a;
  color:#ced0d2;
  font:630 12px/1.2 "Manrope",Inter,sans-serif;
  cursor:pointer;
}

#menuPage .bali-bar-filter.is-active{
  border-color:var(--bt-primary);
  background:var(--bt-tint);
  color:var(--bt-text);
}

#menuPage .bali-bar-filter:focus-visible{
  outline:2px solid var(--bt-border);
  outline-offset:2px;
}

#menuPage .bali-bar-list{
  max-width:1160px;
  margin-inline:auto;
  display:flex;
  flex-direction:column;
  gap:28px;
}

#menuPage .bali-bar-group{
  min-width:0;
}

#menuPage .bali-bar-category-name{
  margin:0 0 11px;
  font:740 clamp(17px,1.55vw,24px)/1.2 "Manrope",Inter,sans-serif;
  letter-spacing:-.035em;
  color:#f0f0f1;
}

#menuPage .bali-bar-table{
  border-top:1px solid rgba(255,255,255,.18);
}

#menuPage .bali-bar-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(230px,36%);
  gap:clamp(9px,2vw,30px);
  align-items:center;
  padding:17px 3px;
  border-bottom:1px solid rgba(255,255,255,.09);
  min-width:0;
}

#menuPage .bali-bar-product-name{
  display:block;
  min-width:0;
  color:#f0f1f1;
  font:650 clamp(13px,1.1vw,16px)/1.4 "Manrope",Inter,sans-serif;
  overflow-wrap:anywhere;
}

#menuPage .bali-bar-portions{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  justify-content:end;
  gap:8px;
  min-width:0;
}

#menuPage .bali-bar-portion{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  justify-content:center;
  gap:3px;
  min-width:0;
}

#menuPage .bali-bar-volume{
  font-size:12px;
  font-weight:520;
  color:#a5a8ae;
  white-space:nowrap;
}

#menuPage .bali-bar-price{
  font-size:clamp(13px,1.05vw,15px);
  font-weight:770;
  color:#f0f0f2;
  white-space:nowrap;
  font-variant-numeric:tabular-nums;
}

#menuPage .bali-bar-empty{
  width:100%;
  padding:38px 15px;
  color:#bfc2c6;
  text-align:center;
  font-size:14px;
  line-height:1.55;
  background:#191b1f;
  border:1px solid rgba(255,255,255,.09);
  border-radius:13px;
}

@media(min-width:768px){
  #menuPage .bali-menu-mode-switch{
    grid-template-columns:repeat(4,minmax(0,190px));
    padding-top:14px;
    padding-bottom:14px;
    border-bottom:1px solid rgba(255,255,255,.095);
  }

  #menuPage .bali-kitchen-content .categories{
    flex:0 0 auto;
  }

  #menuPage .bali-kitchen-content .menu-section{
    flex:1 1 auto;
    min-height:0;
    overflow-y:auto!important;
  }
}

@media(max-width:767px){
  #menuPage .bali-menu-mode-switch{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
    padding:11px 12px 9px;
  }

  #menuPage .bali-menu-mode-btn{
    height:43px;
    min-height:43px;
    font-size:13px;
  }

  #menuPage .bali-bar-content{
    padding:18px 13px 105px;
  }

  #menuPage .bali-bar-intro{
    margin-bottom:15px;
    padding-bottom:15px;
  }

  #menuPage .bali-bar-intro h2{font-size:28px}

  #menuPage .bali-bar-intro p{font-size:12px;line-height:1.6}

  #menuPage .bali-bar-filter{font-size:11px;min-height:36px}

  #menuPage .bali-bar-list{gap:21px}

  #menuPage .bali-bar-row{
    grid-template-columns:minmax(0,1fr) minmax(150px,49%);
    gap:10px;
    padding:13px 1px;
  }

  #menuPage .bali-bar-product-name{font-size:12px;line-height:1.3}

  #menuPage .bali-bar-portions{gap:5px}

  #menuPage .bali-bar-price{font-size:11px}

  #menuPage .bali-bar-volume{font-size:10px}
}

@media(max-width:355px){
  #menuPage .bali-bar-row{grid-template-columns:minmax(0,1fr) minmax(144px,53%)}

  #menuPage .bali-bar-price{font-size:10px}
}


/* The single desktop row holds four equal-width menu category buttons. */
@media(min-width:768px){
  #menuPage .bali-menu-mode-switch{
    grid-template-columns:repeat(4,minmax(0,190px));
    gap:clamp(7px,1vw,13px);
    padding-inline:clamp(14px,2vw,32px);
    width:100%;
  }
}

@media(max-width:767px){
  /* Four touch targets: two tidy rows instead of cramped labels. */
  #menuPage .bali-menu-mode-switch{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  #menuPage .bali-menu-mode-btn{
    white-space:normal;
    line-height:1.2;
    font-size:clamp(11px,3.5vw,13px);
  }
}


/* v72: respect editor visibility flags despite author display:flex rules. */
#menuPage #baliMenuModeSwitch .bali-menu-mode-btn[hidden]{display:none!important}

#menuPage .bali-menu-unavailable{
  max-width:720px;
  width:calc(100% - 24px);
  margin:clamp(15px,2vw,28px) auto;
  padding:20px;
  box-sizing:border-box;
  color:#c4c8cb;
  font:590 13px/1.6 Manrope,Inter,sans-serif;
  text-align:center;
  border:1px solid rgba(255,255,255,.14);
  border-radius:12px;
  background:#181b1f;
}

#menuPage .bali-menu-unavailable[hidden]{display:none!important}

@media(min-width:768px){
  #menuPage .bali-menu-mode-switch{
    display:flex!important;
    justify-content:center;
    flex-wrap:wrap;
  }

  #menuPage .bali-menu-mode-btn{
    flex:0 1 190px;
    width:min(190px,100%);
  }
}


/* v80 — icon-only mobile toolbar: all four cards on ONE ROW.
   Desktop and tablet continue showing the written tab labels. */
#menuPage .bali-menu-mode-btn .bali-menu-mode-icon{display:none}

#menuPage .bali-menu-mode-btn .bali-menu-mode-label{display:inline}

@media(max-width:767px){
  #menuPage #baliMenuModeSwitch.bali-menu-mode-switch{
    display:flex!important;
    flex-flow:row nowrap!important;
    align-items:center!important;
    justify-content:center!important;
    gap:clamp(7px,2.5vw,13px)!important;
    width:100%!important;
    padding:8px 8px 7px!important;
    min-width:0!important;
    overflow:visible!important;
  }

  #menuPage #baliMenuModeSwitch .bali-menu-mode-btn:not([hidden]){
    display:grid!important;
    place-items:center!important;
    flex:0 0 46px!important;
    width:46px!important;
    min-width:46px!important;
    max-width:46px!important;
    height:46px!important;
    min-height:46px!important;
    max-height:46px!important;
    padding:0!important;
    margin:0!important;
    border-radius:12px!important;
    line-height:1!important;
  }

  #menuPage #baliMenuModeSwitch .bali-menu-mode-label{
    display:none!important;
  }

  #menuPage #baliMenuModeSwitch .bali-menu-mode-icon{
    display:grid!important;
    place-items:center!important;
    width:28px!important;
    height:28px!important;
    min-width:0!important;
    color:inherit!important;
    pointer-events:none;
  }

  #menuPage #baliMenuModeSwitch .bali-menu-mode-icon svg{
    display:block;
    width:27px;
    height:27px;
    stroke:currentColor;
  }

  #menuPage #baliMenuModeSwitch .bali-menu-mode-btn.is-active{
    background:var(--bt-primary,#b9ff51)!important;
    border-color:var(--bt-primary,#b9ff51)!important;
    color:var(--bt-on-primary,#10131a)!important;
  }

  #menuPage #baliMenuModeSwitch .bali-menu-mode-btn:not(.is-active){
    background:rgba(255,255,255,.055)!important;
    border-color:rgba(255,255,255,.19)!important;
    color:#e7ebec!important;
  }

  #menuPage #baliMenuModeSwitch .bali-menu-mode-btn:not(.is-active):active{
    background:rgba(185,255,81,.14)!important;
  }
}


/* v83 · BALI МЕНЮ: desktop/tablet editorial heading, never on icon-only phone UI. */
#menuPage .bali-menu-heading-row{display:flex;flex-direction:column;min-width:0;width:100%}

#menuPage .bali-menu-heading{display:none}

@media(min-width:768px){
  #menuPage .bali-menu-heading-row{
    flex:0 0 auto;
    display:flex!important;
    flex-flow:row nowrap!important;
    gap:clamp(12px,1.5vw,24px)!important;
    align-items:flex-start!important;
    padding:clamp(12px,2.5vw,21px) clamp(16px,2vw,30px) 10px!important;
    background:transparent;
  }

  #menuPage #baliMenuHeading{
    display:block!important;
    flex:0 0 auto;
    margin:0!important;
    padding:2px 0 0!important;
    white-space:nowrap!important;
    text-transform:uppercase!important;
    color:#f2f5f1!important;
    font:800 clamp(22px,2.1vw,33px)/1.13 Manrope,Inter,sans-serif!important;
    letter-spacing:.012em;
  }

  #menuPage .bali-menu-heading-row #baliMenuModeSwitch{
    flex:1 1 auto!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:clamp(5px,.7vw,12px)!important;
    min-width:0!important;
    width:auto!important;
    padding:0!important;
    margin:0!important;
    border:0!important;
  }

  #menuPage .bali-menu-heading-row .bali-menu-mode-btn:not([hidden]){
    flex:1 1 0!important;
    max-width:175px!important;
    min-width:0!important;
    min-height:43px!important;
    padding:6px!important;
    white-space:normal!important;
  }
}

@media(min-width:1180px){
  body.bali-guest-theme #menuPage .bali-menu-heading-row{
    padding:0 clamp(16px,1.5vw,30px) 10px!important;
    min-height:48px!important;
    align-items:flex-start!important;
  }

  body.bali-guest-theme #menuPage .bali-menu-heading-row #baliMenuModeSwitch{
    justify-content:flex-end!important;
    padding:0!important;
    border:0!important;
  }

  body.bali-guest-theme #menuPage .bali-menu-heading-row .bali-menu-mode-btn:not([hidden]){
    flex:1 1 0!important;
    max-width:170px!important;
  }
}

@media(max-width:767px){
  #menuPage .bali-menu-heading-row{padding:0!important}

  #menuPage #baliMenuHeading{display:none!important}
}


/* v84 — Four desktop/tablet tab buttons immediately to the RIGHT of BALI МЕНЮ.
   The toolbar is left-packed rather than spread over the entire header width. */
@media(min-width:768px){
  #menuPage .bali-menu-heading-row{
    justify-content:flex-start!important;
    gap:clamp(10px,1.3vw,18px)!important;
  }

  #menuPage .bali-menu-heading-row #baliMenuModeSwitch,
  body.bali-guest-theme #menuPage .bali-menu-heading-row #baliMenuModeSwitch{
    flex:0 1 660px!important;
    width:auto!important;
    justify-content:flex-start!important;
    gap:clamp(5px,.7vw,10px)!important;
    padding:0!important;
    margin:0!important;
  }

  #menuPage .bali-menu-heading-row .bali-menu-mode-btn:not([hidden]),
  body.bali-guest-theme #menuPage .bali-menu-heading-row .bali-menu-mode-btn:not([hidden]){
    flex:0 1 155px!important;
    width:auto!important;
    max-width:155px!important;
    min-width:0!important;
    padding:6px 4px!important;
  }
}

@media(min-width:768px) and (max-width:900px){
  #menuPage .bali-menu-heading-row #baliMenuHeading{
    font-size:clamp(20px,2.5vw,24px)!important;
  }

  #menuPage .bali-menu-heading-row .bali-menu-mode-btn:not([hidden]){
    font-size:clamp(10px,1.4vw,12px)!important;
    min-height:42px!important;
  }
}


/* v85 — ONE shared category strip and search on kitchen, bar, hookah and tea.
   The entire top (title, tabs, categories and search) remains unchanged
   on desktop, tablet and phone; only the contents beneath it switch. */
#menuPage .bali-shared-menu-controls{
  display:flex!important;
  flex:0 0 auto!important;
  flex-direction:column!important;
  min-width:0!important;
  width:100%!important;
  gap:0!important;
}

#menuPage .bali-shared-menu-controls[hidden]{display:none!important}

#menuPage .bali-shared-menu-controls .categories{
  display:block!important;
  width:100%!important;
  position:relative!important;
  inset:auto!important;
  min-height:45px!important;
  flex:0 0 auto!important;
  padding:0!important;
  margin:0!important;
  background:transparent!important;
}

#menuPage .bali-shared-menu-controls .categories .container{
  width:100%!important;max-width:none!important;
  padding-inline:clamp(13px,2.4vw,35px)!important;
  margin:0!important;box-sizing:border-box;
}

#menuPage #baliSharedCategories .bali-shared-category-filter{
  display:flex!important;
  align-items:center!important;
  flex-flow:row nowrap!important;
  gap:clamp(6px,.8vw,12px)!important;
  min-height:43px!important;
  width:100%!important;max-width:none!important;
  overflow-x:auto!important;overflow-y:hidden!important;
  overscroll-behavior-x:contain;
  scrollbar-width:thin;
  margin:0!important;
  padding:0 0 3px!important;
}

#menuPage #baliSharedCategories .bali-shared-category-filter[hidden]{
  display:none!important;
}

#menuPage #baliSharedCategories .bali-bar-filter,
#menuPage #baliSharedCategories .category-btn{
  flex:0 0 auto!important;
  white-space:nowrap!important;
  min-height:35px!important;
  line-height:1.2!important;
  padding:7px 12px!important;
  margin:0!important;
  border-radius:9px!important;
  font-size:clamp(10px,.85vw,12px)!important;
}

#menuPage #baliSharedCategories .bali-bar-filter.is-active{
  background:var(--bt-primary,#b9ff51)!important;
  color:var(--bt-on-primary,#10131a)!important;
  border-color:var(--bt-primary,#b9ff51)!important;
}

#menuPage .bali-shared-menu-controls .bali-menu-search{
  display:block!important;
  width:100%!important;max-width:none!important;
  box-sizing:border-box!important;
  flex:0 0 auto!important;
  margin:5px 0 8px!important;
  padding-inline:clamp(13px,2.4vw,35px)!important;
}

#menuPage .bali-shared-menu-controls .bali-menu-search-field{width:100%!important;max-width:none!important}

#menuPage .bali-bar-content{
  padding-top:clamp(8px,1.2vw,18px)!important;
}

#menuPage .bali-bar-content .bali-bar-intro{
  display:none!important;
}

#menuPage .bali-bar-list{
  margin-top:0!important;
}

@media(min-width:1180px){
  body.bali-guest-theme #menuPage .bali-shared-menu-controls{
    padding-top:0!important;
  }

  body.bali-guest-theme #menuPage .bali-shared-menu-controls .categories{
    position:relative!important;
  }

  body.bali-guest-theme #menuPage .bali-bar-content{
    overflow-y:auto!important;
    flex:1 1 auto!important;
    min-height:0!important;
  }

  body.bali-guest-theme #menuPage .bali-kitchen-content{
    flex:1 1 auto!important;
    min-height:0!important;
  }
}

@media(max-width:767px){
  #menuPage .bali-shared-menu-controls .categories{
    min-height:44px!important;
  }

  #menuPage #baliSharedCategories .bali-bar-filter,
  #menuPage #baliSharedCategories .category-btn{
    font-size:11px!important;
    min-height:36px!important;
    padding:7px 11px!important;
  }

  #menuPage .bali-shared-menu-controls .bali-menu-search{
    margin:6px 0 9px!important;
  }

  #menuPage .bali-bar-content{
    padding:10px 13px 95px!important;
  }
}


/* v86: show bar's legal informational notice without duplicating a large header.
   The category/search toolbar remains identical in all four menus. */
#menuPage #baliBarContent .bali-bar-intro{
  display:block!important;
  margin:0 0 9px!important;
  padding:0 0 8px!important;
  border-bottom:1px solid rgba(255,255,255,.08);
}

#menuPage #baliBarContent .bali-bar-intro .bali-bar-label,
#menuPage #baliBarContent .bali-bar-intro h2{display:none!important}

#menuPage #baliBarContent .bali-bar-intro p{
  font-size:11px!important;line-height:1.5!important;
  margin:0!important;color:#a6afb2!important;
}


/* v98: identical compact informational notice in bar, hookah and tea */
#menuPage #baliHookahContent .bali-bar-intro,
#menuPage #baliTeaContent .bali-bar-intro{
 display:block!important;margin:0 0 9px!important;padding:0 0 8px!important;
 border-bottom:1px solid rgba(255,255,255,.08);
}

#menuPage #baliHookahContent .bali-bar-intro :is(.bali-bar-label,h2),
#menuPage #baliTeaContent .bali-bar-intro :is(.bali-bar-label,h2){display:none!important}

#menuPage #baliHookahContent .bali-bar-intro p,
#menuPage #baliTeaContent .bali-bar-intro p{
 font-size:11px!important;line-height:1.5!important;
 margin:0!important;color:#a6afb2!important;
}


/* BALI desktop reference v66 — PC homepage only.
   Existing dark site background, published event posters, and theme variables are preserved.
   No changes to phone/tablet, ordering, or Firestore logic. */
.bali-pc-sidebar,.bali-pc-hero,.bali-pc-events-title,.bali-pc-right-rail,
.bali-pc-menu-cta,.bali-pc-contact-label,.bali-pc-profile-menu{display:none}

@media(min-width:1180px){
  body.bali-guest-theme #homeSection .bali-home-menu-banner{
    grid-column:1!important;grid-row:5!important;min-height:0!important;max-height:none!important;
    height:93px!important;width:100%!important;padding:14px 20px!important;
    background:linear-gradient(112deg,#171b1e,#0c1012 70%)!important;
    border:1px solid rgba(255,255,255,.18)!important;border-radius:15px!important;
    display:flex!important;gap:20px!important
  }

  body.bali-guest-theme #homeSection .bali-home-menu-banner strong{font-size:23px!important}

  body.bali-guest-theme #homeSection .bali-home-menu-banner small{font-size:12px!important}

  .bali-pc-menu-cta{
    margin-left:auto;display:inline-flex;align-items:center;justify-content:center;
    border:1px solid var(--bt-border,#b2ef5f);border-radius:30px;color:var(--bt-text,#d8ff9f);
    font-size:12px;font-weight:750;padding:11px 18px;white-space:nowrap
  }

  body.bali-guest-theme #homeSection .bali-menu-banner-arrow{display:none!important}
}



/* v67: persistent desktop app shell, profile menu, and cart shortcut. */
@media(min-width:1180px){
  .bali-pc-profile-menu:not([hidden]){
    position:absolute;z-index:59;top:calc(100% + 10px);right:0;
    display:grid!important;grid-template-columns:1fr;gap:3px;
    width:224px;padding:8px;background:#17191d;border:1px solid rgba(255,255,255,.17);
    border-radius:14px;box-shadow:0 14px 45px rgba(0,0,0,.65)
  }

  .bali-pc-profile-menu button{
    display:flex;align-items:center;gap:12px;min-height:44px;text-align:left;
    padding:10px 12px;border:0;border-radius:8px;background:transparent;color:#f5f5f5;
    font:600 12px/1.2 Manrope,sans-serif;white-space:nowrap;cursor:pointer
  }

  .bali-pc-profile-menu button:hover,.bali-pc-profile-menu button:focus-visible{background:#2a3033!important;color:var(--bt-text)!important}

  .bali-pc-profile-menu button span{color:var(--bt-primary,#b9ff51);font-size:19px;width:22px;text-align:center}

  body.bali-guest-theme #homeSection,
  body.bali-guest-theme #eventsSection,
  body.bali-guest-theme #menuPage,
  body.bali-guest-theme #profileSection,
  body.bali-guest-theme #contactsSection{
    box-sizing:border-box!important;
    position:fixed!important;
    top:var(--bali-banner-height,0px)!important;
    bottom:0!important;right:0!important;
    margin:0!important;
    max-height:none!important;min-height:0!important;
    overflow-x:hidden!important;
    overscroll-behavior-y:contain;
    z-index:1;
  }

  body.bali-guest-theme #eventsSection,
  body.bali-guest-theme #menuPage,
  body.bali-guest-theme #profileSection,
  body.bali-guest-theme #contactsSection{
    left:var(--bali-pc-side)!important;
    width:auto!important;height:auto!important;
    padding:86px clamp(22px,2.4vw,38px) 20px!important;
    overflow-y:auto!important;background:transparent!important;
    border:0!important
  }

  body.bali-guest-theme #menuPage{
    display:flex!important;flex-direction:column!important;
    padding-bottom:15px!important
  }

  body.bali-guest-theme #menuPage[hidden],
  body.bali-guest-theme #eventsSection[hidden],
  body.bali-guest-theme #profileSection[hidden],
  body.bali-guest-theme #contactsSection[hidden],
  body.bali-guest-theme #homeSection[hidden]{display:none!important}

  body.bali-guest-theme #menuPage .menu-section{
    min-height:0!important;overflow-y:auto!important;
    padding-bottom:25px!important
  }

  body.bali-guest-theme #menuPage .categories{top:auto!important}
}

@media(max-width:1179px){
  .bali-pc-profile-menu{display:none!important}
}


/* v71 · BALI calendar is the only event-list action; old three-filter
   strip is gone. Preserve promotion hero on PC and mobile event carousel. */
@media(min-width:1180px){
  body.bali-guest-theme #homeSection .bali-home-menu-banner{grid-row:4!important}
}

@media(max-width:767px){
  #homeSection .bali-home-menu-banner{grid-row:2!important}
}


/* v72: homepage contacts move into the persistent PC sidebar.
   Tablet/phone retain the existing homepage contact actions. */
@media(min-width:1180px){
  body.bali-guest-theme #homeSection .bali-home-menu-banner{
    grid-row:4!important;
  }
}


/* v81 — Desktop menu/calendar share the upper baseline of the left BALI logo.
   The profile stays fixed at the upper right, clear of calendar filters. */
@media (min-width:1180px){
  /* BALI wordmark starts at sidebar top (10px) + its upper padding (11px). */
  body.bali-guest-theme[data-bali-page="menu"] #menuPage,
  body.bali-guest-theme[data-bali-page="events"] #eventsSection{
    padding-top:21px!important;
  }

  body.bali-guest-theme #menuPage #baliMenuModeSwitch{
    display:flex!important;
    flex-flow:row nowrap!important;
    justify-content:center!important;
    align-items:flex-start!important;
    gap:clamp(8px,1vw,14px)!important;
    padding:0 0 10px!important;
    margin:0!important;
    min-height:0!important;
    border-bottom:1px solid rgba(255,255,255,.09);
  }

  body.bali-guest-theme #menuPage #baliMenuModeSwitch .bali-menu-mode-btn:not([hidden]){
    flex:0 1 190px;
    min-height:43px!important;
    height:43px!important;
    font-size:clamp(11px,.96vw,14px)!important;
    border-radius:10px!important;
  }

  body.bali-guest-theme #menuPage .bali-kitchen-content .categories{
    padding-top:7px!important;
    padding-bottom:3px!important;
  }

  body.bali-guest-theme #menuPage .bali-menu-search{
    margin-top:4px!important;
    margin-bottom:4px!important;
  }

  body.bali-guest-theme #menuPage .menu-section{
    padding-top:4px!important;
    padding-bottom:15px!important;
  }

  /* Six tiles per dish category, including Cold Starters, Salads, etc. */
  body.bali-guest-theme #menuPage .menu-category-block>.menu-grid,
  body.bali-guest-theme #menuPage .menu-category-block .menu-grid.menu-category-products{
    display:grid!important;
    grid-template-columns:repeat(6,minmax(0,1fr))!important;
    gap:clamp(7px,.72vw,12px)!important;
    align-items:stretch!important;
  }

  body.bali-guest-theme #menuPage .menu-category-block .menu-item{
    display:flex!important;
    flex-direction:column!important;
    min-width:0!important;
    min-height:0!important;
    overflow:hidden!important;
    border-radius:10px!important;
  }

  body.bali-guest-theme #menuPage .menu-category-block .menu-item-image{
    display:block!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    aspect-ratio:5/3!important;
    object-fit:cover!important;
  }

  body.bali-guest-theme #menuPage .menu-category-block .menu-item-content{
    padding:7px 7px 9px!important;
    gap:3px!important;
    min-width:0!important;
  }

  body.bali-guest-theme #menuPage .menu-category-block .menu-item-category{
    font-size:9px!important;
    padding:3px 5px!important;
    margin:0 0 1px!important;
  }

  body.bali-guest-theme #menuPage .menu-category-block .menu-item-header{
    gap:3px!important;
    margin:0!important;
  }

  body.bali-guest-theme #menuPage .menu-category-block .menu-item-name{
    font-size:clamp(10px,.86vw,12px)!important;
    line-height:1.28!important;
    overflow-wrap:anywhere;
  }

  body.bali-guest-theme #menuPage .menu-category-block .menu-item-price{
    font-size:clamp(11px,1vw,14px)!important;
    line-height:1.2!important;
    white-space:nowrap;
  }

  body.bali-guest-theme #menuPage .menu-category-block .menu-item-description{
    font-size:10px!important;
    line-height:1.3!important;
    margin:2px 0 5px!important;
    display:-webkit-box!important;
    -webkit-line-clamp:2!important;
    line-clamp:2!important;
    -webkit-box-orient:vertical!important;
    overflow:hidden!important;
  }

  body.bali-guest-theme #menuPage .menu-category-block .menu-purchase-controls{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:4px!important;
    margin-top:auto!important;
    width:100%!important;
  }

  body.bali-guest-theme #menuPage .menu-category-block .menu-quantity{
    grid-template-columns:minmax(26px,1fr) minmax(20px,.65fr) minmax(26px,1fr)!important;
    gap:4px!important;
  }

  body.bali-guest-theme #menuPage .menu-category-block .menu-quantity-btn{
    height:28px!important;
    min-height:28px!important;
    font-size:15px!important;
  }

  body.bali-guest-theme #menuPage .menu-category-block .menu-quantity-value{
    font-size:11px!important;
  }

  body.bali-guest-theme #menuPage .menu-category-block .menu-purchase-controls .add-to-cart-btn{
    min-height:28px!important;
    height:28px!important;
    width:100%!important;
    padding:3px!important;
    font-size:11px!important;
  }
}

.bali-menu-banner-icon.has-custom-icon{font-size:0!important}

.bali-menu-banner-icon.has-custom-icon>.bali-custom-upload-icon{
  width:clamp(21px,2vw,29px)!important;
  height:clamp(21px,2vw,29px)!important;
  max-width:29px!important;max-height:29px!important;
}


/* BALI desktop viewport shell v87.
   Reference geometry: 1792×852 screenshot, preserving its block order and
   proportions on wider/taller and smaller desktop monitors.
   No vertical document/page scrolling on PC, except the menu catalog. */
@media (min-width:1180px) {
  body.bali-guest-theme #homeSection .bali-home-menu-banner {
    box-sizing:border-box!important;
    display:flex!important;
    grid-column:1!important;
    grid-row:4!important;
    align-self:stretch!important;
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    max-height:none!important;
    margin:0!important;
    padding:clamp(8px,1.2dvh,16px) clamp(11px,1.5vw,26px)!important;
    overflow:hidden!important;
  }

  body.bali-guest-theme #homeSection .bali-home-menu-banner strong {
    font-size:clamp(17px,1.45vw,60px)!important;
  }

  body.bali-guest-theme #homeSection .bali-menu-banner-icon {
    flex:0 0 auto!important;
    width:clamp(40px,4.4vw,180px)!important;
    height:clamp(40px,4.4vw,180px)!important;
    max-height:calc(100% - 2px)!important;
  }

  body.bali-guest-theme #homeSection .bali-pc-menu-cta {
    flex:0 0 auto;
    font-size:clamp(10px,.75vw,32px)!important;
    padding:clamp(7px,.8dvh,12px) clamp(9px,1.2vw,22px)!important;
  }


  /* Other overview sections are viewport-bound too. Only the kitchen/bar
     catalog has a vertical scrolling region. */
  body.bali-guest-theme #eventsSection,
  body.bali-guest-theme #profileSection,
  body.bali-guest-theme #contactsSection,
  body.bali-guest-theme #menuPage {
    box-sizing:border-box!important;
    position:fixed!important;
    top:var(--bali-banner-height,0px)!important;
    bottom:0!important;
    left:var(--bali-pc-side)!important;
    right:0!important;
    width:auto!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    overflow:hidden!important;
    padding:var(--bali-pc-edge-y) var(--bali-pc-edge-right)!important;
    overscroll-behavior:none!important;
  }


  /* Menu: pinned shared toolbar, scrollable FOOD/DRINK entries only. */
  body.bali-guest-theme #menuPage {
    display:flex!important;
    flex-direction:column!important;
    gap:0!important;
  }

  body.bali-guest-theme #menuPage .bali-menu-heading-row,
  body.bali-guest-theme #menuPage #baliSharedMenuControls,
  body.bali-guest-theme #menuPage #baliMenuUnavailableNotice {
    flex:0 0 auto!important;
  }

  body.bali-guest-theme #menuPage #baliKitchenContent,
  body.bali-guest-theme #menuPage #baliBarContent,
  body.bali-guest-theme #menuPage #baliHookahContent,
  body.bali-guest-theme #menuPage #baliTeaContent {
    box-sizing:border-box!important;
    flex:1 1 0!important;
    height:auto!important;
    min-height:0!important;
    max-height:100%!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    overscroll-behavior-y:contain!important;
  }

  body.bali-guest-theme #menuPage #baliKitchenContent:not([hidden]) {
    display:flex!important;
    flex-direction:column!important;
    overflow:hidden!important;
  }

  body.bali-guest-theme #menuPage #baliKitchenContent .menu-section {
    flex:1 1 0!important;
    min-height:0!important;
    max-height:100%!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    overscroll-behavior-y:contain!important;
  }

  body.bali-guest-theme #menuPage #baliBarContent[hidden],
  body.bali-guest-theme #menuPage #baliHookahContent[hidden],
  body.bali-guest-theme #menuPage #baliTeaContent[hidden],
  body.bali-guest-theme #menuPage #baliKitchenContent[hidden] {
    display:none!important;
  }
}

/* Allow the header, dates and tiny controls to fit even short desktop windows,
   instead of introducing the old vertical page scroll. */
@media (min-width:1180px) and (max-height:720px) {
  body.bali-guest-theme #homeSection .bali-home-menu-banner{
    gap:clamp(7px,1vw,13px)!important;
  }
}


/* v88 — Unified graphite-free PC centre: artwork and event cards remain.
   The centre's wrapper, calendar gutter, and big Menu action share the
   single #080b11 canvas instead of creating separate grey rectangles. */
@media (min-width:1180px) {
  :root[data-bali-theme] body.bali-guest-theme #homeSection,
  :root[data-bali-theme] body.bali-guest-theme #homeSection .bali-home-inner,
  :root[data-bali-theme] body.bali-guest-theme #homeSection .bali-home-events-panel,
  :root[data-bali-theme] body.bali-guest-theme #homeSection .bali-pc-events-title,
  :root[data-bali-theme] body.bali-guest-theme #homeSection .bali-home-events,
  :root[data-bali-theme] body.bali-guest-theme #homeSection .bali-home-menu-banner {
    background:#080b11!important;
    background-color:#080b11!important;
    background-image:none!important;
    box-shadow:none!important;
  }

  /* Keep Menu clearly clickable, but remove its grey-filled panel. */
  :root[data-bali-theme] body.bali-guest-theme #homeSection .bali-home-menu-banner {
    border-color:rgba(255,255,255,.12)!important;
  }
}


/* v96 — image-free MENU cards on phone, tablet, and desktop.
   Never preserve a phantom image column or reserved poster height. */
#menuPage .menu-category-block .menu-item.menu-item--no-image{
  display:flex!important;
  flex-direction:column!important;
  grid-template-columns:minmax(0,1fr)!important;
  grid-template-rows:auto!important;
  min-width:0!important;
  min-height:0!important;
  height:auto!important;
  padding:0!important;
}

#menuPage .menu-category-block .menu-item.menu-item--no-image>.menu-item-image{
  display:none!important;
}

#menuPage .menu-category-block .menu-item.menu-item--no-image>.menu-item-content{
  flex:1 1 auto!important;
  width:100%!important;
  max-width:100%!important;
  min-height:0!important;
  box-sizing:border-box!important;
  justify-content:flex-start!important;
}

#menuPage .menu-category-block .menu-item.menu-item--no-image .menu-item-description{
  min-height:0!important;
  flex-grow:0!important;
}

#menuPage .menu-category-block .menu-item.menu-item--no-image .menu-purchase-controls{
  margin-top:auto!important;
}

@media(max-width:767px){
  #menuPage .menu-category-block .menu-item.menu-item--no-image{
    grid-template-columns:minmax(0,1fr)!important;
    min-height:0!important;
  }

  #menuPage .menu-category-block .menu-item.menu-item--no-image>.menu-item-content{
    padding:clamp(9px,2.5vw,13px)!important;
    gap:5px!important;
  }
}

@media(min-width:768px) and (max-width:1179px){
  #menuPage .menu-category-block .menu-item.menu-item--no-image{
    grid-template-columns:minmax(0,1fr)!important;
    min-height:0!important;
  }
}


/* v96 — Image-free kitchen entries are real, compact text cards at ALL
   breakpoints, never a reserved photograph slot. */
#menuPage .menu-item--no-image{
  display:flex!important;
  flex-direction:column!important;
}

#menuPage .menu-item--no-image>.menu-item-image,
#menuPage .menu-item--no-image>.menu-item-image-wrapper,
#menuPage .menu-item--no-image>.menu-item-photo,
#menuPage .menu-item--no-image>.menu-item-placeholder{
  display:none!important;
  height:0!important;
  min-height:0!important;
  aspect-ratio:auto!important;
}

#menuPage .menu-item--no-image>.menu-item-content{
  display:flex!important;
  flex:1 1 auto!important;
  flex-direction:column!important;
  min-height:0!important;
}

#menuPage .menu-item--no-image .menu-item-description{
  flex-grow:0!important;
  white-space:normal!important;
}

#menuPage .menu-item--no-image .menu-purchase-controls{
  margin-top:auto!important;
}

#menuPage .menu-category-block .menu-item .menu-item-weight{
  display:block;color:#aeb4b8;font:650 11px/1.35 Manrope,Inter,sans-serif;
  overflow-wrap:anywhere
}

#menuPage .menu-category-block .menu-item .menu-details-btn{
  flex:0 0 auto;margin:7px 0 0;width:100%;
  min-height:34px;padding:7px 9px;
  border:1px solid rgba(185,255,81,.38);
  border-radius:9px;background:rgba(185,255,81,.09);
  color:#caff83;font:750 clamp(10px,.85vw,12px)/1.2 Manrope,Inter,sans-serif;
  cursor:pointer;transition:background .15s
}

#menuPage .menu-category-block .menu-item .menu-details-btn:hover{
  border-color:#b9ff51;background:rgba(185,255,81,.16)
}

#menuPage .menu-category-block .menu-item .menu-details-btn:focus-visible{
  outline:2px solid #caff83;outline-offset:3px
}

.bali-menu-details-dialog{
  box-sizing:border-box;
  width:min(590px,calc(100vw - 24px));max-width:none;
  max-height:min(92dvh,880px);padding:0;margin:auto;
  overflow:auto;overscroll-behavior:contain;
  border:1px solid rgba(185,255,81,.35);
  border-radius:17px;background:#12171c;color:#f3f6f2;
  box-shadow:0 28px 95px rgba(0,0,0,.75);
}

.bali-menu-details-dialog::backdrop{background:rgba(0,0,0,.8);backdrop-filter:blur(5px)}

.bali-menu-details-head{
  position:sticky;top:0;z-index:2;display:flex;align-items:center;
  justify-content:space-between;gap:10px;
  padding:12px 17px;border-bottom:1px solid rgba(185,255,81,.18);
  background:#192122;color:#d8ffac;
  font:750 11px Manrope,Inter,sans-serif;letter-spacing:.1em
}

.bali-menu-details-head button{
  display:grid;place-items:center;width:38px;height:38px;
  border:1px solid #3d4c45;border-radius:9px;background:#24302b;
  color:#f0f2ed;font-size:18px;cursor:pointer
}

.bali-menu-details-body{display:grid;gap:10px;padding:17px 20px 26px}

.bali-menu-details-photo{
  width:100%;max-height:310px;object-fit:cover;aspect-ratio:4/3;
  border-radius:12px;margin-bottom:5px
}

.bali-menu-details-name{
  margin:0;color:#fff;font:800 clamp(22px,2.4vw,30px)/1.17 Manrope,Inter,sans-serif;
  overflow-wrap:anywhere
}

.bali-menu-details-price{
  color:#d0ff88;font:800 19px/1.25 Manrope,Inter,sans-serif
}

.bali-menu-details-weight{
  margin:0;color:#b2bdba;font:600 13px/1.5 Manrope,Inter,sans-serif
}

.bali-menu-details-label{
  font:750 13px/1.3 Manrope,Inter,sans-serif;
  margin:11px 0 0;color:#dfffbc
}

.bali-menu-details-copy{
  white-space:pre-wrap;overflow-wrap:anywhere;margin:0;
  font:500 13px/1.7 Manrope,Inter,sans-serif;color:#e4ebe7
}

@media(max-width:767px){
  #menuPage .menu-category-block .menu-item .menu-details-btn{
    min-height:31px;padding:5px 7px;font-size:10px;margin-top:5px
  }

  .bali-menu-details-dialog{max-height:92dvh}

  .bali-menu-details-body{padding:13px 15px 24px}

  .bali-menu-details-photo{max-height:220px}
}



/* BALI v110: in-card information icon and preorder controls in the details
   dialog. The icon is always present, but disabled when detailed copy is empty. */
#menuPage .menu-category-block .menu-item{
  position:relative!important;
}

#menuPage .menu-category-block .menu-item .menu-details-btn,
#menuPage .menu-item .menu-details-btn{
  position:absolute!important;
  display:grid!important;
  place-items:center!important;
  top:clamp(7px,1vw,14px)!important;
  right:clamp(7px,1vw,14px)!important;
  z-index:5!important;
  flex:0 0 auto!important;
  width:clamp(30px,3.5vw,39px)!important;
  height:clamp(30px,3.5vw,39px)!important;
  min-width:0!important;
  min-height:0!important;
  padding:5px!important;
  margin:0!important;
  border:1px solid rgba(226,238,229,.74)!important;
  border-radius:50%!important;
  background:rgba(15,20,23,.63)!important;
  color:#f3f5f1!important;
  box-shadow:none!important;
  font-size:0!important;
  line-height:0!important;
  cursor:pointer;
  -webkit-tap-highlight-color:transparent;
  transition:background .15s,border-color .15s,opacity .15s;
}

#menuPage .menu-item .menu-details-btn svg{
  display:block!important;
  width:100%!important;
  height:100%!important;
  flex:0 0 auto;
  pointer-events:none;
}

#menuPage .menu-item .menu-details-btn.has-details:hover{
  color:#d8ffab!important;
  border-color:var(--bt-primary,#b9ff51)!important;
  background:rgba(185,255,81,.12)!important;
}

#menuPage .menu-item .menu-details-btn.no-details:disabled{
  color:#777c7e!important;
  background:rgba(12,16,19,.44)!important;
  border-color:rgba(210,218,212,.20)!important;
  opacity:.43!important;
  cursor:not-allowed!important;
  pointer-events:none!important;
  filter:grayscale(1);
}

#menuPage .menu-item .menu-details-btn:focus-visible{
  outline:2px solid var(--bt-primary,#b9ff51)!important;
  outline-offset:3px!important;
}

/* Keep product names and prices clear of the upper-right information icon
   on cards that have no photograph. */
#menuPage .menu-item.menu-item--no-image .menu-item-content{
  padding-top:clamp(10px,1.3vw,18px)!important;
}

#menuPage .menu-item.menu-item--no-image .menu-item-header{
  padding-right:clamp(30px,3.9vw,49px)!important;
}

.bali-menu-details-dialog[open]{
  position:fixed!important;
  top:50%!important;
  left:50%!important;
  right:auto!important;
  bottom:auto!important;
  transform:translate(-50%,-50%)!important;
  display:flex!important;
  flex-direction:column!important;
  width:min(565px,calc(100vw - 28px))!important;
  max-width:calc(100vw - 28px)!important;
  max-height:calc(100dvh - 30px)!important;
  margin:0!important;
  overflow:hidden!important;
  padding:0!important;
  border:1px solid rgba(217,228,221,.25)!important;
  border-radius:23px!important;
  background:#171a1e!important;
  box-shadow:0 24px 100px rgba(0,0,0,.7)!important;
}

.bali-menu-details-dialog:not([open]){display:none!important}

.bali-menu-details-dialog::backdrop{
  background:rgba(2,3,6,.73)!important;
  backdrop-filter:blur(11px)!important;
  -webkit-backdrop-filter:blur(11px)!important;
}

.bali-menu-details-head{
  position:relative!important;
  display:flex!important;
  flex:0 0 auto;
  align-items:center!important;
  justify-content:space-between!important;
  min-height:57px;
  background:#191c20!important;
  border-bottom:1px solid rgba(255,255,255,.10)!important;
  padding:10px 16px 10px 20px!important;
  color:#cdd2d0!important;
  font:750 11px/1.2 Manrope,Inter,sans-serif!important;
  letter-spacing:.08em!important;
}

.bali-menu-details-head #baliMenuDetailsClose{
  display:grid!important;
  place-items:center!important;
  flex:0 0 40px;
  width:40px!important;height:40px!important;
  margin:0!important;
  padding:0!important;
  background:#25292d!important;
  border:1px solid rgba(232,239,234,.25)!important;
  border-radius:50%!important;
  color:#fff!important;
  font-size:20px!important;
  cursor:pointer;
}

.bali-menu-details-head #baliMenuDetailsClose:hover{
  background:#363c3d!important;
}

.bali-menu-details-body{
  flex:1 1 auto!important;
  min-height:0!important;
  overflow-y:auto!important;
  overscroll-behavior-y:contain;
  display:grid!important;
  align-content:start;
  gap:10px!important;
  padding:20px clamp(17px,3.7vw,26px) 21px!important;
  background:#171a1e;
}

.bali-menu-details-photo{
  display:block!important;
  width:100%!important;
  max-height:300px!important;
  aspect-ratio:auto!important;
  object-fit:contain!important;
  border-radius:14px!important;
  background:#0d1012!important;
  margin-bottom:7px!important;
}

.bali-menu-details-name{
  font:800 clamp(20px,4.3vw,29px)/1.19 Manrope,Inter,sans-serif!important;
  margin:0!important;
}

.bali-menu-details-price{
  color:var(--bt-primary,#b9ff51)!important;
  font:850 clamp(21px,4.2vw,29px)/1.25 Manrope,Inter,sans-serif!important;
  letter-spacing:0!important;
}

.bali-menu-details-weight{
  color:#a8aeb5!important;
  font:550 13px/1.4 Manrope,Inter,sans-serif!important;
}

.bali-menu-details-actions{
  display:grid!important;
  grid-template-columns:minmax(0,1.16fr) minmax(0,1fr)!important;
  gap:12px!important;
  align-items:stretch!important;
  flex:0 0 auto!important;
  width:100%!important;
  padding:14px clamp(13px,3.7vw,25px) calc(15px + env(safe-area-inset-bottom))!important;
  box-sizing:border-box!important;
  background:#1b1e22!important;
  border-top:1px solid rgba(255,255,255,.13)!important;
}

.bali-menu-details-quantity{
  display:grid!important;
  grid-template-columns:minmax(36px,1fr) minmax(27px,.57fr) minmax(36px,1fr)!important;
  gap:7px!important;
  align-items:center!important;
  min-width:0!important;
}

.bali-menu-details-step{
  display:grid!important;
  place-items:center!important;
  width:100%!important;
  height:51px!important;
  min-height:0!important;
  padding:0!important;
  border:1px solid rgba(210,220,215,.28)!important;
  border-radius:12px!important;
  background:#292c31!important;
  color:#f5f5f5!important;
  font:700 26px/1 Manrope,Inter,sans-serif!important;
  cursor:pointer;
}

.bali-menu-details-step:disabled{
  opacity:.33!important;
  cursor:not-allowed!important;
}

.bali-menu-details-count{
  display:grid!important;
  place-items:center!important;
  min-width:0!important;
  color:#fff!important;
  font:800 21px/1.15 Manrope,Inter,sans-serif!important;
  font-variant-numeric:tabular-nums;
}

.bali-menu-details-add{
  display:grid!important;
  place-items:center!important;
  width:100%!important;
  height:51px!important;
  min-height:0!important;
  border:0!important;
  border-radius:13px!important;
  padding:6px!important;
  background:var(--bt-primary,#b9ff51)!important;
  color:#0b1309!important;
  font:850 clamp(13px,3.6vw,17px)/1.2 Manrope,Inter,sans-serif!important;
  cursor:pointer;
}

.bali-menu-details-add:disabled{
  background:#3a3f3d!important;
  color:#a9aaa9!important;
  cursor:not-allowed;
}

@media(max-width:767px){
  .bali-menu-details-dialog[open]{
    width:calc(100vw - 22px)!important;
    max-width:calc(100vw - 22px)!important;
    border-radius:20px!important;
    max-height:calc(100dvh - 24px)!important;
  }

  .bali-menu-details-body{padding:17px 17px 21px!important}

  .bali-menu-details-photo{max-height:240px!important}

  .bali-menu-details-actions{
    gap:8px!important;
    grid-template-columns:minmax(0,1.15fr) minmax(0,.95fr)!important;
    padding:11px 13px calc(12px + env(safe-area-inset-bottom))!important;
  }

  .bali-menu-details-quantity{gap:5px!important}

  .bali-menu-details-step,.bali-menu-details-add{height:47px!important}

  #menuPage .menu-item .menu-details-btn{
    top:7px!important;right:7px!important;
    width:32px!important;height:32px!important;
  }
}

@media(max-width:359px){
  .bali-menu-details-quantity{grid-template-columns:minmax(31px,1fr) 22px minmax(31px,1fr)!important}

  .bali-menu-details-actions{grid-template-columns:minmax(0,1.05fr) minmax(0,.9fr)!important}

  .bali-menu-details-add{font-size:12px!important}
}


/* Match the reference: slightly narrower add button with breathing room
   above the modal footer's bottom edge. */
.bali-menu-details-actions .bali-menu-details-add{
  width:91%!important;
  justify-self:center!important;
  align-self:start!important;
  transform:translateY(-3px);
}

@media(max-width:767px){
  .bali-menu-details-actions .bali-menu-details-add{
    width:90%!important;
  }
}


/* Kitchen cards: information 'i' mirrors the Tea-card icon one-to-one.
   Same circular 25px desktop / 24px phone control, inset and SVG proportions. */
#menuPage #baliKitchenContent .menu-item .menu-details-btn{
  top:4px!important;
  right:4px!important;
  width:25px!important;
  height:25px!important;
  min-width:25px!important;
  min-height:25px!important;
  padding:4px!important;
  margin:0!important;
}

#menuPage #baliKitchenContent .menu-item .menu-details-btn svg{
  width:100%!important;
  height:100%!important;
}

@media(max-width:767px){
  #menuPage #baliKitchenContent .menu-item .menu-details-btn{
    top:3px!important;
    right:5px!important;
    width:24px!important;
    height:24px!important;
    min-width:24px!important;
    min-height:24px!important;
  }
}

@media(max-width:767px){
  body.bali-guest-theme #homeSection .bali-pc-events-title,
  body.bali-guest-theme #homeSection .bali-home-calendar-row,
  body.bali-guest-theme #homeSection .bali-home-menu-banner,
  body.bali-guest-theme #homeSection .bali-pc-right-rail{
    display:none!important;
  }

  body.bali-guest-theme .bali-bottom-nav [data-bali-nav="menu"] .bali-nav-glyph{
    mask-image:url("assets/nav-icons/menu.svg")!important;
    -webkit-mask-image:url("assets/nav-icons/menu.svg")!important;
  }
}


/* BALI menu map selector · 2026-10-19
   Vector silhouettes carefully traced from the four icons supplied by the
   user. Only the presentation changes; route, 18+ confirmation, and Firestore
   availability continue to use their existing data-bali-menu-mode buttons. */
body.bali-guest-theme #menuPage #baliMenuModeSwitch.bali-menu-mode-switch{
  display:flex!important;
  flex-direction:row!important;
  flex-wrap:nowrap!important;
  justify-content:center!important;
  align-items:center!important;
  gap:clamp(8px,1vw,14px)!important;
  width:100%!important;
  max-width:100%!important;
  min-height:0!important;
  box-sizing:border-box!important;
  padding:14px clamp(12px,2vw,30px)!important;
  margin:0 auto!important;
  overflow:visible!important;
}

body.bali-guest-theme #menuPage #baliMenuModeSwitch .bali-menu-mode-btn:not([hidden]){
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:9px!important;
  flex:0 1 190px!important;
  width:min(190px,100%)!important;
  min-width:0!important;
  max-width:190px!important;
  height:43px!important;
  min-height:43px!important;
  max-height:43px!important;
  aspect-ratio:auto!important;
  box-sizing:border-box!important;
  padding:7px 12px!important;
  margin:0!important;
  border:1px solid rgba(229,232,240,.23)!important;
  border-radius:10px!important;
  background:linear-gradient(145deg,#101016 0%,#080a11 100%)!important;
  color:#fff!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.025)!important;
  -webkit-tap-highlight-color:transparent;
  cursor:pointer;
  transition:background-color .16s ease,border-color .16s ease,transform .16s ease;
}

body.bali-guest-theme #menuPage #baliMenuModeSwitch .bali-menu-mode-btn[hidden]{
  display:none!important;
}

body.bali-guest-theme #menuPage #baliMenuModeSwitch .bali-menu-mode-icon{
  display:grid!important;
  place-items:center!important;
  width:28px!important;
  height:28px!important;
  min-width:28px!important;
  flex:0 0 28px!important;
  overflow:visible!important;
  pointer-events:none!important;
}

body.bali-guest-theme #menuPage #baliMenuModeSwitch .bali-menu-mode-icon img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
  object-position:center!important;
  filter:brightness(0) invert(1)!important;
  pointer-events:none!important;
  user-select:none;
}

body.bali-guest-theme #menuPage #baliMenuModeSwitch .bali-menu-mode-label{
  display:inline!important;
  font:700 clamp(11px,1vw,14px)/1.2 Manrope,Inter,sans-serif!important;
  white-space:nowrap!important;
}

body.bali-guest-theme #menuPage #baliMenuModeSwitch .bali-menu-mode-btn.is-active:not([hidden]),
body.bali-guest-theme #menuPage #baliMenuModeSwitch .bali-menu-mode-btn[aria-pressed="true"]:not([hidden]){
  border-color:#b9ff51!important;
  background:#b9ff51!important;
  color:#090b0e!important;
  box-shadow:0 0 17px rgba(185,255,81,.16)!important;
}

body.bali-guest-theme #menuPage #baliMenuModeSwitch .bali-menu-mode-btn.is-active .bali-menu-mode-icon img,
body.bali-guest-theme #menuPage #baliMenuModeSwitch .bali-menu-mode-btn[aria-pressed="true"] .bali-menu-mode-icon img{
  filter:brightness(0)!important;
}

body.bali-guest-theme #menuPage #baliMenuModeSwitch .bali-menu-mode-btn:not(.is-active):hover:not([hidden]){
  border-color:rgba(185,255,81,.58)!important;
  transform:translateY(-1px);
}

body.bali-guest-theme #menuPage #baliMenuModeSwitch .bali-menu-mode-btn:focus-visible{
  outline:2px solid #b9ff51!important;
  outline-offset:4px!important;
}

/* Search remains in the DOM for existing filter listeners, but disappears
   from the guest interface on phone, tablet and desktop. */
body.bali-guest-theme #menuPage .bali-menu-search{
  display:none!important;
}

@media(max-width:767px){
  body.bali-guest-theme #menuPage #baliMenuModeSwitch.bali-menu-mode-switch{
    gap:clamp(7px,2.5vw,13px)!important;
    padding:8px 8px 7px!important;
    border-bottom:1px solid rgba(255,255,255,.08)!important;
  }

  body.bali-guest-theme #menuPage #baliMenuModeSwitch .bali-menu-mode-btn:not([hidden]){
    display:grid!important;
    place-items:center!important;
    flex:0 0 46px!important;
    width:46px!important;
    min-width:46px!important;
    max-width:46px!important;
    height:46px!important;
    min-height:46px!important;
    max-height:46px!important;
    aspect-ratio:1/1!important;
    padding:6px!important;
    border-radius:12px!important;
  }

  body.bali-guest-theme #menuPage #baliMenuModeSwitch .bali-menu-mode-icon{
    width:28px!important;
    height:28px!important;
    min-width:0!important;
    flex:none!important;
  }

  body.bali-guest-theme #menuPage #baliMenuModeSwitch .bali-menu-mode-icon img{
    width:100%!important;
    height:100%!important;
  }

  body.bali-guest-theme #menuPage #baliMenuModeSwitch .bali-menu-mode-label{
    display:none!important;
  }
}

@media(min-width:1180px){
  body.bali-guest-theme #menuPage #baliMenuModeSwitch.bali-menu-mode-switch{
    padding:0 0 10px!important;
    border-bottom:1px solid rgba(255,255,255,.09)!important;
  }
}

@media(prefers-reduced-motion:reduce){
  body.bali-guest-theme #menuPage #baliMenuModeSwitch .bali-menu-mode-btn{
    transition:none!important;
  }

  body.bali-guest-theme #menuPage #baliMenuModeSwitch .bali-menu-mode-btn:hover{
    transform:none!important;
  }
}


/* A route is a separate page: hidden canvases never paint through BALI ID. */
:root[data-bali-theme] body.bali-guest-theme :is(#homeSection,#menuPage,#eventsSection,#profileSection,#baliIdSection,#contactsSection,#baliAboutSection)[hidden]{display:none!important}

:root[data-bali-theme] body.bali-guest-theme[data-bali-page="id"] :is(#homeSection,#menuPage,#eventsSection,#profileSection,#contactsSection,#baliAboutSection){display:none!important}


/* Shared informational dialogs; catalog cards live in bali-menu-cards.css. */
.bali-catalog-details-dialog .bali-menu-details-body{padding-bottom:32px!important}

.bali-catalog-details-dialog .bali-menu-details-label{margin-top:13px}

#baliTeaDetailsDialog .bali-tea-details-source{
  margin:19px 0 0;
  padding-top:13px;
  border-top:1px solid rgba(255,255,255,.12);
  color:#929b9e;
  font:500 11px/1.55 Manrope,Inter,sans-serif
}

.bali-catalog-details-dialog .bali-menu-details-head .bali-catalog-details-close{
  display:grid!important;place-items:center!important;
  width:40px!important;height:40px!important;
  flex:0 0 40px;
  padding:0!important;margin:0!important;
  background:#25292d!important;border:1px solid rgba(232,239,234,.25)!important;
  border-radius:50%!important;color:#fff!important;font-size:20px!important;cursor:pointer;
}

.bali-catalog-details-dialog .bali-menu-details-head .bali-catalog-details-close:hover{background:#363c3d!important}


/* BALI Mobile Glass Navigation — no dark plates/underlays.
   This file is loaded after all legacy guest styles and applies ONLY on phones. */
@media(max-width:767px){
 body.bali-guest-theme[data-bali-page="menu"] .bali-bottom-nav,
 body.bali-guest-theme[data-bali-page="about"] .bali-bottom-nav,
 body.bali-guest-theme[data-bali-page="contacts"] .bali-bottom-nav{
   background:rgba(243,250,255,.025)!important;
 }
}


/* BALI brand system. Loaded last: existing phone/PC compositions remain the base.
   New visual changes belong here instead of another versioned theme override. */
@font-face{font-family:Manrope;src:url('assets/fonts/manrope-variable.woff2') format('woff2');font-weight:400 800;font-style:normal;font-display:swap}

@font-face{font-family:Unbounded;src:url('assets/fonts/unbounded-variable.woff2') format('woff2');font-weight:500 700;font-style:normal;font-display:swap}

body.bali-guest-theme :is(.cart-total,.menu-item-price,#baliDockTotal,.bali-calendar-clock){font-variant-numeric:tabular-nums}

body.bali-guest-theme #menuPage #baliMenuModeSwitch .bali-menu-mode-btn{box-shadow:none!important}

body.bali-guest-theme #menuPage #baliSharedCategories :is(.category-btn,.bali-bar-filter){font-size:12px!important;min-height:40px!important}

body.bali-guest-theme #menuPage #menuGrid .menu-category-block .menu-category-heading{
  border-bottom:1px solid var(--bali-line)!important;margin-bottom:16px!important;padding-bottom:12px!important;
}

body.bali-guest-theme #menuPage #menuGrid .menu-category-block .menu-category-title{
  color:#f3f4ef!important;font-size:clamp(18px,1.65vw,25px)!important;line-height:1.25!important;letter-spacing:-.035em!important;
}

body.bali-guest-theme #menuPage .menu-category-title::before{background:var(--bt-primary)!important;width:3px!important}

body.bali-guest-theme #menuPage .menu-category-count{font-size:12px!important;color:var(--bali-muted)!important}

body.bali-guest-theme #menuPage #menuGrid .menu-category-block .menu-item{
  border:1px solid var(--bali-line)!important;background:var(--bali-surface)!important;border-radius:14px!important;
  padding:0!important;box-shadow:none!important;transition:border-color .18s ease,background-color .18s ease;
}

body.bali-guest-theme #menuPage #menuGrid .menu-category-block .menu-item-content{padding:10px!important;gap:6px!important}

body.bali-guest-theme #menuPage #menuGrid .menu-category-block .menu-item-name{
  font-size:13px!important;font-weight:750!important;line-height:1.4!important;letter-spacing:-.025em!important;padding-right:14px!important;
}

body.bali-guest-theme #menuPage #menuGrid .menu-category-block .menu-item-price{font-size:15px!important;line-height:1.4!important;font-weight:800!important}

body.bali-guest-theme #menuPage #menuGrid .menu-category-block .menu-item-description{
  color:var(--bali-muted)!important;font-size:12px!important;line-height:1.6!important;

}

body.bali-guest-theme #menuPage #menuGrid .menu-category-block .menu-item-weight{color:#d1d7d9!important;font-size:12px!important;line-height:1.5!important}

body.bali-guest-theme #menuPage #menuGrid .menu-category-block .menu-purchase-controls{margin-top:auto!important;padding-top:9px!important;gap:8px!important}

body.bali-guest-theme #menuPage #menuGrid .menu-category-block :is(.menu-quantity-btn,.add-to-cart-btn){min-height:38px!important;font-size:13px!important;border-radius:9px!important}

body.bali-guest-theme #menuPage #menuGrid .menu-category-block .menu-quantity-value{font-size:14px!important}

body.bali-guest-theme #menuPage .loading-state{color:var(--bali-muted);padding:32px 20px!important;line-height:1.7}

body.bali-guest-theme #menuPage .loading-state button{margin-top:14px}

body.bali-guest-theme #homeSection .bali-home-menu-banner{border-color:var(--bali-line)!important}

body.bali-guest-theme #homeSection .bali-home-menu-banner strong{font-family:var(--bali-font-display)!important;font-size:21px!important;font-weight:500!important}

@media(hover:hover){
  body.bali-guest-theme #menuPage #menuGrid .menu-category-block .menu-item:hover{border-color:rgba(242,245,240,.35)!important;background:#1a1f25!important}
}

@media(min-width:1180px){
  body.bali-guest-theme #menuPage #menuGrid .menu-category-block{margin-bottom:34px!important}

  body.bali-guest-theme #menuPage .bali-menu-heading-row #baliMenuHeading{font-size:24px!important}
}

@media(max-width:767px){

  body.bali-guest-theme #menuPage #menuGrid .menu-category-block .menu-item-content{padding:13px!important}

  body.bali-guest-theme #menuPage #menuGrid .menu-category-block .menu-item-description{font-size:12px!important}

  body.bali-guest-theme #menuPage #menuGrid .menu-category-block :is(.menu-quantity-btn,.add-to-cart-btn){min-height:40px!important}

  body.bali-guest-theme #menuPage #menuGrid .menu-category-block .menu-purchase-controls{grid-template-columns:minmax(0,1fr) minmax(0,1.25fr)!important}
}


/* One catalog language: six desktop columns, mobile list, quiet prices.
   Shared surfaces never imply that informational products can be ordered. */
body.bali-guest-theme #menuPage :is(#baliBarContent,#baliHookahContent,#baliTeaContent){padding:8px 0 105px!important}

body.bali-guest-theme #menuPage :is(#baliBarContent,#baliHookahContent,#baliTeaContent) .bali-bar-intro{margin-inline:clamp(12px,2.8vw,28px)!important}

body.bali-guest-theme #menuPage :is(#baliBarList,#baliHookahList,#baliTeaList){
  display:flex!important;flex-direction:column!important;box-sizing:border-box;width:100%;max-width:1360px;
  margin:0 auto!important;padding-inline:clamp(12px,2.8vw,28px);gap:28px!important;
}

body.bali-guest-theme #menuPage :is(#menuGrid,#baliBarList,#baliHookahList,#baliTeaList) .menu-category-block{margin-bottom:0!important}

body.bali-guest-theme #menuPage :is(#menuGrid,#baliBarList,#baliHookahList,#baliTeaList) .menu-category-block .menu-category-heading{
  border-color:rgba(237,243,236,.12)!important;padding-bottom:12px!important;margin-bottom:13px!important;
}

body.bali-guest-theme #menuPage :is(#menuGrid,#baliBarList,#baliHookahList,#baliTeaList) .menu-category-block .menu-category-title{
  font:650 clamp(18px,1.5vw,23px)/1.3 Manrope,Arial,sans-serif!important;
  text-transform:none!important;letter-spacing:-.025em!important;color:#eff1eb!important;
}

body.bali-guest-theme #menuPage .menu-category-heading::before{background:var(--bt-primary,#b9ff51)!important;opacity:.6}

body.bali-guest-theme #menuPage :is(#menuGrid,#baliBarList,#baliHookahList,#baliTeaList) .menu-category-block .bali-catalog-card{
  position:relative!important;display:flex!important;flex-direction:column!important;box-sizing:border-box!important;
  width:100%!important;min-width:0!important;max-width:none!important;min-height:108px!important;height:auto!important;
  margin:0!important;padding:0!important;overflow:hidden!important;border-radius:13px!important;
  background:#12191c!important;border:1px solid rgba(236,244,231,.13)!important;box-shadow:none!important;
}

body.bali-guest-theme #menuPage :is(#menuGrid,#baliBarList,#baliHookahList,#baliTeaList) .menu-category-block .bali-catalog-card .menu-item-content{
  display:flex!important;flex-direction:column!important;flex:1!important;min-width:0!important;height:100%!important;
  padding:15px 13px!important;justify-content:flex-start!important;gap:9px!important;
}

body.bali-guest-theme #menuPage :is(#menuGrid,#baliBarList,#baliHookahList,#baliTeaList) .menu-category-block .bali-catalog-card .menu-item-header{
  display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:space-between!important;
  gap:12px!important;min-height:76px!important;padding:0!important;margin:0!important;width:100%!important;
}

body.bali-guest-theme #menuPage :is(#menuGrid,#baliBarList,#baliHookahList,#baliTeaList) .menu-category-block .bali-catalog-card .menu-item-name{
  font:650 13px/1.5 Manrope,Arial,sans-serif!important;letter-spacing:-.01em!important;margin:0!important;padding:0!important;
  color:#ecf0e9!important;text-transform:none!important;overflow-wrap:anywhere!important;word-break:normal!important;hyphens:none!important;
}

body.bali-guest-theme #menuPage :is(#menuGrid,#baliBarList,#baliHookahList,#baliTeaList) .menu-category-block .bali-catalog-card .menu-item-price{
  display:flex!important;align-items:baseline!important;gap:5px!important;color:#edf4e4!important;
  font:750 17px/1.3 Manrope,Arial,sans-serif!important;font-variant-numeric:tabular-nums;margin:0!important;white-space:nowrap;
}

body.bali-guest-theme #menuPage .bali-catalog-card .bali-menu-currency{font-size:10px;font-weight:550;color:#9ba99f;letter-spacing:.04em}

body.bali-guest-theme #menuPage .bali-menu-portions{display:flex;flex-direction:column;gap:9px;width:100%;min-width:0}

body.bali-guest-theme #menuPage .bali-menu-portion{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:baseline;gap:3px 7px}

body.bali-guest-theme #menuPage .bali-menu-volume{color:#a7b4ac;font:500 11px/1.5 Manrope,Arial,sans-serif;overflow-wrap:anywhere;min-width:0}

body.bali-guest-theme #menuPage .bali-catalog-card .bali-tea-footer-space{display:block;min-height:22px}

body.bali-guest-theme #menuPage .bali-catalog-card .menu-item-category{display:none!important}

body.bali-guest-theme #menuPage .bali-catalog-card .bali-menu-readmore{
  display:inline-flex!important;align-items:center!important;justify-content:flex-start!important;gap:8px!important;
  width:fit-content!important;margin:0!important;padding:0!important;min-height:24px!important;
  border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;
  color:#b5c5b3!important;font:550 11px/1.4 Manrope,Arial,sans-serif!important;cursor:pointer;
}

body.bali-guest-theme #menuPage .bali-catalog-card .bali-menu-readmore span{font-size:15px;color:#cfe7b9}

body.bali-guest-theme #menuPage .bali-catalog-card .bali-catalog-readmore::after{content:"";position:absolute;inset:0;border-radius:13px}

body.bali-guest-theme #menuPage .bali-catalog-card:focus-within{outline:2px solid var(--bt-primary,#b9ff51)!important;outline-offset:2px!important}

body.bali-guest-theme #menuPage .bali-catalog-card .bali-menu-readmore:focus-visible{outline:2px solid #b9ff51!important;outline-offset:3px!important}

@media(hover:hover){
  body.bali-guest-theme #menuPage :is(#menuGrid,#baliBarList,#baliHookahList,#baliTeaList) .menu-category-block .bali-catalog-card:hover{border-color:rgba(210,232,197,.4)!important;background:#18201f!important}
}

body.bali-guest-theme #menuPage #menuGrid.menu-categories-layout{gap:28px!important}

@media(min-width:768px){
  body.bali-guest-theme #menuPage #baliKitchenContent .menu-section>.container{
    width:100%!important;max-width:1360px!important;margin-inline:auto!important;padding-inline:clamp(12px,2.8vw,28px)!important;
  }

  body.bali-guest-theme #menuPage :is(#menuGrid,#baliBarList,#baliHookahList,#baliTeaList) .menu-category-block .menu-grid.menu-category-products{
    display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:clamp(7px,.72vw,12px)!important;align-items:stretch!important;
  }
}

@media(min-width:1180px){
  body.bali-guest-theme #menuPage :is(#menuGrid,#baliBarList,#baliHookahList,#baliTeaList) .menu-category-block .menu-grid.menu-category-products{grid-template-columns:repeat(6,minmax(0,1fr))!important}
}

@media(max-width:767px){
  body.bali-guest-theme #menuPage :is(#baliBarList,#baliHookahList,#baliTeaList){padding-inline:9px;gap:20px!important}

  body.bali-guest-theme #menuPage :is(#menuGrid,#baliBarList,#baliHookahList,#baliTeaList) .menu-category-block .menu-grid.menu-category-products{
    display:flex!important;flex-direction:column!important;gap:9px!important;
  }

  body.bali-guest-theme #menuPage :is(#menuGrid,#baliBarList,#baliHookahList,#baliTeaList) .menu-category-block .bali-catalog-card{min-height:82px!important}

  body.bali-guest-theme #menuPage :is(#menuGrid,#baliBarList,#baliHookahList,#baliTeaList) .menu-category-block .bali-catalog-card .menu-item-content{padding:13px 15px!important;gap:3px!important}

  body.bali-guest-theme #menuPage :is(#menuGrid,#baliBarList,#baliHookahList,#baliTeaList) .menu-category-block .bali-catalog-card .menu-item-header{
    display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;
    gap:16px!important;min-height:38px!important;
  }

  body.bali-guest-theme #menuPage :is(#menuGrid,#baliBarList,#baliHookahList,#baliTeaList) .menu-category-block .bali-catalog-card .menu-item-name{font-size:15px!important;font-weight:600!important}

  body.bali-guest-theme #menuPage .bali-menu-portions{max-width:145px;gap:7px}

  body.bali-guest-theme #menuPage .bali-menu-portion{justify-content:flex-end}

  body.bali-guest-theme #menuPage .bali-menu-portion:has(.bali-menu-volume){display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px}

  body.bali-guest-theme #menuPage .bali-menu-volume{text-align:right;align-self:center}

  body.bali-guest-theme #menuPage :is(#menuGrid,#baliBarList,#baliHookahList,#baliTeaList) .menu-category-block .bali-catalog-card .menu-item-price{flex-direction:column!important;gap:1px!important;align-items:flex-end!important}

  body.bali-guest-theme #menuPage .bali-catalog-card .bali-menu-currency{font-size:9px;line-height:1.2}
}


/* Wide, shallow restaurant menu cards. Shared visual language for kitchen,
   bar, hookah and tea. Only the kitchen has order controls. */
body.bali-guest-theme #menuPage :is(#menuGrid,#baliBarList,#baliHookahList,#baliTeaList)
  .menu-category-block .menu-grid.menu-category-products{
  display:grid!important;
  grid-template-columns:repeat(auto-fill,minmax(min(100%,310px),1fr))!important;
  gap:clamp(10px,1vw,16px)!important;
  align-items:stretch!important;
}

body.bali-guest-theme #menuPage :is(#menuGrid,#baliBarList,#baliHookahList,#baliTeaList)
  .menu-category-block .bali-catalog-card{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  grid-auto-flow:row!important;
  align-content:center!important;
  min-height:96px!important;
  height:auto!important;
  max-height:none!important;
  padding:0!important;
  border-radius:12px!important;
  overflow:hidden!important;
}

body.bali-guest-theme #menuPage :is(#menuGrid,#baliBarList,#baliHookahList,#baliTeaList)
  .menu-category-block .bali-catalog-card:has(> .menu-item-image){
  grid-template-columns:clamp(86px,8vw,116px) minmax(0,1fr)!important;
  align-content:stretch!important;
}

body.bali-guest-theme #menuPage .menu-category-block .bali-catalog-card>.menu-item-image{
  display:block!important;
  grid-column:1!important;
  grid-row:1!important;
  align-self:stretch!important;
  width:100%!important;
  height:100%!important;
  min-height:100%!important;
  max-height:none!important;
  aspect-ratio:auto!important;
  object-fit:cover!important;
  object-position:center!important;
}

body.bali-guest-theme #menuPage :is(#menuGrid,#baliBarList,#baliHookahList,#baliTeaList)
  .menu-category-block .bali-catalog-card>.menu-item-content{
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  gap:clamp(4px,.48vw,7px)!important;
  min-width:0!important;
  min-height:0!important;
  height:auto!important;
  margin:0!important;
  padding:clamp(9px,.85vw,14px)!important;
}

body.bali-guest-theme #menuPage :is(#menuGrid,#baliBarList,#baliHookahList,#baliTeaList)
  .menu-category-block .bali-catalog-card .menu-item-header{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:start!important;
  justify-content:space-between!important;
  gap:4px 10px!important;
  min-height:0!important;
  width:100%!important;
  padding:0!important;
  margin:0!important;
}

body.bali-guest-theme #menuPage :is(#menuGrid,#baliBarList,#baliHookahList,#baliTeaList)
  .menu-category-block .bali-catalog-card .menu-item-name{
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:2;
  overflow:hidden!important;
  font:700 clamp(12px,.85vw,15px)/1.25 Manrope,Arial,sans-serif!important;
  letter-spacing:-.01em!important;
}

body.bali-guest-theme #menuPage :is(#menuGrid,#baliBarList,#baliHookahList,#baliTeaList)
  .menu-category-block .bali-catalog-card .menu-item-price{
  display:flex!important;
  flex-direction:row!important;
  align-items:baseline!important;
  justify-content:flex-end!important;
  flex-wrap:nowrap!important;
  gap:4px!important;
  font:800 clamp(13px,1vw,18px)/1.2 Manrope,Arial,sans-serif!important;
  margin:0!important;
}

body.bali-guest-theme #menuPage .menu-category-block .bali-catalog-card .menu-item-description{
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:2!important;
  overflow:hidden!important;
  margin:0!important;
  font:500 11px/1.3 Manrope,Arial,sans-serif!important;
  color:#aebcb3!important;
}

body.bali-guest-theme #menuPage .menu-category-block .bali-catalog-card .menu-item-weight{
  font:600 10px/1.2 Manrope,Arial,sans-serif!important;
  color:#a7ada9!important;
}

body.bali-guest-theme #menuPage .menu-category-block .bali-catalog-card .menu-purchase-controls{
  display:grid!important;
  grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)!important;
  align-items:center!important;
  gap:7px!important;
  margin:3px 0 0!important;
  min-width:0!important;
}

body.bali-guest-theme #menuPage .menu-category-block .bali-catalog-card .menu-quantity{
  display:grid!important;
  grid-template-columns:minmax(24px,1fr) minmax(18px,.55fr) minmax(24px,1fr)!important;
  min-width:0!important;
  gap:1px!important;
}

body.bali-guest-theme #menuPage .menu-category-block .bali-catalog-card .menu-quantity-btn{
  width:100%!important;min-width:0!important;
  height:32px!important;min-height:32px!important;
  font-size:18px!important;
}

body.bali-guest-theme #menuPage .menu-category-block .bali-catalog-card .add-to-cart-btn{
  width:100%!important;max-width:none!important;
  height:32px!important;min-height:32px!important;
  margin:0!important;padding:3px 5px!important;
  font-size:11px!important;white-space:nowrap!important;
}

body.bali-guest-theme #menuPage .menu-category-block .bali-catalog-card .bali-menu-portions{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  width:100%!important;max-width:none!important;
  gap:5px!important;
}

body.bali-guest-theme #menuPage .menu-category-block .bali-catalog-card .bali-menu-portion{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  gap:6px!important;
  align-items:center!important;
}

body.bali-guest-theme #menuPage .menu-category-block .bali-catalog-card .bali-tea-footer-space{
  display:none!important;
}

body.bali-guest-theme #menuPage .menu-category-block .bali-catalog-card .bali-menu-readmore{
  min-height:20px!important;
  font-size:10px!important;
  line-height:1.2!important;
}

/* Informational icon occupies the top-right corner; no overlapping prices. */
body.bali-guest-theme #menuPage .menu-category-block .bali-catalog-card .menu-details-btn{
  top:6px!important;right:6px!important;
  width:28px!important;height:28px!important;
}

body.bali-guest-theme #menuPage .menu-category-block .bali-catalog-card:has(.menu-details-btn) .menu-item-header{
  padding-right:28px!important;
}

@media(min-width:768px) and (max-width:1179px){
  body.bali-guest-theme #menuPage :is(#menuGrid,#baliBarList,#baliHookahList,#baliTeaList)
    .menu-category-block .menu-grid.menu-category-products{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}

@media(min-width:1180px){
  body.bali-guest-theme #menuPage :is(#menuGrid,#baliBarList,#baliHookahList,#baliTeaList)
    .menu-category-block .menu-grid.menu-category-products{
    grid-template-columns:repeat(auto-fill,minmax(min(100%,310px),1fr))!important;
  }
}

@media(max-width:767px){
  body.bali-guest-theme #menuPage :is(#menuGrid,#baliBarList,#baliHookahList,#baliTeaList)
    .menu-category-block .menu-grid.menu-category-products{
    display:flex!important;flex-direction:column!important;gap:9px!important;
  }

  body.bali-guest-theme #menuPage :is(#menuGrid,#baliBarList,#baliHookahList,#baliTeaList)
    .menu-category-block .bali-catalog-card{
    min-height:78px!important;
  }

  body.bali-guest-theme #menuPage :is(#menuGrid,#baliBarList,#baliHookahList,#baliTeaList)
    .menu-category-block .bali-catalog-card:has(> .menu-item-image){
    grid-template-columns:clamp(74px,22vw,96px) minmax(0,1fr)!important;
  }

  body.bali-guest-theme #menuPage :is(#menuGrid,#baliBarList,#baliHookahList,#baliTeaList)
    .menu-category-block .bali-catalog-card>.menu-item-content{
    padding:9px 10px!important;gap:4px!important;
  }

  body.bali-guest-theme #menuPage :is(#menuGrid,#baliBarList,#baliHookahList,#baliTeaList)
    .menu-category-block .bali-catalog-card .menu-item-header{
    min-height:0!important;
    gap:5px!important;
  }

  body.bali-guest-theme #menuPage :is(#menuGrid,#baliBarList,#baliHookahList,#baliTeaList)
    .menu-category-block .bali-catalog-card .menu-item-name{
    font-size:13px!important;
  }

  body.bali-guest-theme #menuPage .menu-category-block .bali-catalog-card .menu-item-price{
    flex-direction:row!important;align-items:baseline!important;
  }

  body.bali-guest-theme #menuPage .menu-category-block .bali-catalog-card .menu-item-description{
    -webkit-line-clamp:1!important;
  }

  body.bali-guest-theme #menuPage .menu-category-block .bali-catalog-card .menu-purchase-controls{
    gap:5px!important;
  }

  body.bali-guest-theme #menuPage .menu-category-block .bali-catalog-card .menu-quantity-btn,
  body.bali-guest-theme #menuPage .menu-category-block .bali-catalog-card .add-to-cart-btn{
    height:31px!important;min-height:31px!important;
  }
}

@media(max-width:380px){
  body.bali-guest-theme #menuPage .menu-category-block .bali-catalog-card .menu-item-header{
    grid-template-columns:minmax(0,1fr)!important;
    gap:2px!important;
  }

  body.bali-guest-theme #menuPage .menu-category-block .bali-catalog-card .menu-item-price{
    justify-content:flex-start!important;
  }
}


/* Tea is the approved compact six-across information catalogue on desktop.
   Other catalogues keep wide/shallow three-across cards for scanability. */
@media (min-width:1180px) {
  body.bali-guest-theme #menuPage #baliTeaList
    .menu-category-block .menu-grid.menu-category-products {
    grid-template-columns:repeat(6,minmax(0,1fr))!important;
  }

  body.bali-guest-theme #menuPage #baliTeaList
    .menu-category-block .bali-catalog-card .menu-item-name {
    overflow-wrap:anywhere!important;
  }
}

/* Shared BALI icon silhouettes across desktop sidebar, desktop account
   and mobile header. Uses the same original SVG masks as the phone dock. */
@media(min-width:1180px){
  body.bali-guest-theme>.bali-pc-sidebar .bali-pc-navigation
  [data-bali-nav="menu"] .bali-pc-nav-icon:not(.has-custom-icon)::before{
    mask-image:url("assets/nav-icons/menu.svg")!important;
    -webkit-mask-image:url("assets/nav-icons/menu.svg")!important;
  }
}

/* Shared BALI navigation art: PC uses the mobile hand-drawn silhouettes. */
@media (min-width:1180px){
  body.bali-guest-theme>.bali-pc-sidebar [data-bali-nav="menu"] .bali-pc-nav-icon:not(.has-custom-icon)::before{
    mask-image:url("assets/nav-icons/menu.svg");
    -webkit-mask-image:url("assets/nav-icons/menu.svg");
  }
}

body.bali-guest-theme :is(#homeSection,#eventsSection,#menuPage,#baliIdSection,#profileSection,#contactsSection) :is(h1,h2,h3),
body .admin-shell :is(h1,h2,h3) {
  text-wrap:balance;
}

body.bali-guest-theme :is(#homeSection,#eventsSection,#menuPage,#baliIdSection,#profileSection,#contactsSection) :is(p,small),
body .admin-shell :is(p,small) {
  overflow-wrap:break-word;
}

body.bali-guest-theme #homeSection .bali-home-menu-banner,
body.bali-guest-theme #homeSection .bali-pc-id-card,
body.bali-guest-theme #homeSection .bali-home-event-card{
  border-color:var(--bali-x-line)!important;
}


/* Food-first scanning: one hierarchy from card name to price to action.
   Card widths and six-column tea layout stay owned by the menu CSS. */
body.bali-guest-theme #menuPage .bali-experience-purpose {
  position:relative;
  box-sizing:border-box;
  display:flex;
  align-items:center;
  width:min(100% - 24px,1200px);
  margin:clamp(4px,.6dvh,9px) auto 0!important;
  padding:5px 11px 5px 13px!important;
  color:#cdd9cb!important;
  background:linear-gradient(90deg,rgba(185,255,81,.065),transparent 75%)!important;
  border-left:2px solid var(--bali-x-accent)!important;
  border-radius:0 7px 7px 0;
  font:570 clamp(11px,1vw,13px)/1.35 Manrope,Arial,sans-serif!important;
}

body.bali-guest-theme #menuPage .bali-menu-heading {
  letter-spacing:-.045em!important;
}

body.bali-guest-theme #menuPage :is(#menuGrid,#baliBarList,#baliHookahList,#baliTeaList)
  .menu-category-block .bali-catalog-card {
  border-color:var(--bali-x-line)!important;
  background:linear-gradient(136deg,#16201d,#111819)!important;
  transition:border-color .22s var(--bali-x-ease),transform .22s var(--bali-x-ease)!important;
}

body.bali-guest-theme #menuPage :is(#menuGrid,#baliBarList,#baliHookahList,#baliTeaList)
  .menu-category-block .bali-catalog-card .menu-item-name {
  color:var(--bali-x-ink)!important;
  letter-spacing:-.027em!important;
  text-wrap:pretty;
}

body.bali-guest-theme #menuPage :is(#menuGrid,#baliBarList,#baliHookahList,#baliTeaList)
  .menu-category-block .bali-catalog-card .menu-item-price {
  color:#f2f7ec!important;
  font-variant-numeric:tabular-nums;
}

body.bali-guest-theme #menuPage :is(#menuGrid,#baliBarList,#baliHookahList,#baliTeaList)
  .menu-category-block .bali-catalog-card .menu-item-description {
  color:var(--bali-x-muted)!important;
}

body.bali-guest-theme #menuPage :is(.menu-details-btn,.add-to-cart-btn,.menu-quantity-btn):focus-visible {
  outline:2px solid var(--bali-x-accent)!important;
  outline-offset:2px!important;
}

@media(min-width:1180px) and (hover:hover) and (pointer:fine){
  body.bali-guest-theme #menuPage :is(#menuGrid,#baliBarList,#baliHookahList,#baliTeaList)
    .menu-category-block .bali-catalog-card:hover {
    border-color:rgba(211,236,196,.45)!important;
    transform:translateY(-2px)!important;
  }
}

@media(max-width:767px){
  body.bali-guest-theme #menuPage .bali-experience-purpose{
    width:calc(100% - 20px);
    margin-top:2px!important;
    font-size:11px!important;
    padding:5px 9px!important;
  }
}


/* Accessibility and power use: decorative motion is opt-in when motion
   is reduced, but never disable functional keyboard/touch interaction. */
@media(prefers-reduced-motion:reduce){
  body.bali-guest-theme :is(.bali-home-event-card,.bali-catalog-card,.bali-pc-about-links>button,.bali-profile-action),
  body .admin-shell .admin-tab {
    transition:none!important;
    animation:none!important;
    transform:none!important;
  }
}

@media(max-width:1179px){
  body.bali-guest-theme #homeSection .bali-pc-events-title,
  body.bali-guest-theme #homeSection .bali-home-calendar-row,
  body.bali-guest-theme #homeSection .bali-home-menu-banner,
  body.bali-guest-theme #homeSection .bali-pc-right-rail{
    display:none!important;
  }

  body.bali-guest-theme .bali-bottom-nav [data-bali-nav="menu"] .bali-nav-glyph{
    mask-image:url("assets/nav-icons/menu.svg")!important;
    -webkit-mask-image:url("assets/nav-icons/menu.svg")!important;
  }
}


/* DESKTOP HOME — align the full advertisement and all five square posters
   precisely to the left/right edges of the large Menu button.
   No tablet/phone geometry is changed. */
@media(min-width:1180px){
  :root[data-bali-theme] body.bali-guest-theme #homeSection #menuNavBtn.bali-home-menu-banner{
    box-sizing:border-box!important;
    justify-self:stretch!important;
    width:100%!important;
    max-width:100%!important;
    margin-inline:0!important;
  }
}


/* BALI HOME / Desktop: one measured rhythm for the sidebar, hero,
   five square posters, the right About rail and the Menu block.
   Every inter-block/inter-poster gutter uses --bali-pc-gap.
   The seasonal artwork keeps its exact uploaded aspect ratio (1024:353).
   Only >=1180px: tablet and phone compositions are unchanged. */
@media (min-width:1180px) {

  /* Three real content tracks: advertisement, squares, menu.
     The old unused heading track created a spurious second gap. */
  :root[data-bali-theme] body.bali-guest-theme #homeSection .bali-home-inner {
    grid-template-columns:minmax(0,1fr) var(--bali-pc-right)!important;
    grid-template-rows:
      minmax(0,var(--bali-home-promo-height))
      minmax(0,var(--bali-home-poster-side))
      minmax(0,var(--bali-home-menu-height))!important;
    column-gap:var(--bali-pc-gap)!important;
    row-gap:var(--bali-pc-gap)!important;
    align-content:center!important;
    justify-content:stretch!important;
  }


  :root[data-bali-theme] body.bali-guest-theme #homeSection
    #menuNavBtn.bali-home-menu-banner {
    grid-column:1!important;
    grid-row:3!important;
    width:100%!important;
    height:100%!important;
    min-width:0!important;
    margin:0!important;
    justify-self:stretch!important;
  }
}


/* 21 Oct | Exact desktop frame, measured against the real sidebar controls.
   This rule only activates after the logo/address geometry is available.
   Both desktop columns start at the logo's upper edge and finish exactly
   at the lower edge of the Minsk / Kirova 13 map button. */
@media(min-width:1180px){
  :root[data-bali-theme] body.bali-guest-theme[data-bali-page="home"] #homeSection
  .bali-home-inner.bali-pc-edge-aligned #menuNavBtn.bali-home-menu-banner{
    grid-row:3!important;
    align-self:end!important;
    height:var(--bali-home-fit-menu)!important;
    min-height:0!important;
  }
}


@media (min-width:1180px) and (max-width:1500px) and (pointer:coarse) {
@media (min-width:1180px) and (max-width:1500px) and (pointer:coarse){
  :root[data-bali-device="mobile"] body.bali-guest-theme #homeSection .bali-pc-events-title,
  :root[data-bali-device="mobile"] body.bali-guest-theme #homeSection .bali-home-calendar-row,
  :root[data-bali-device="mobile"] body.bali-guest-theme #homeSection .bali-home-menu-banner,
  :root[data-bali-device="mobile"] body.bali-guest-theme #homeSection .bali-pc-right-rail{
    display:none!important;
  }

  :root[data-bali-device="mobile"] body.bali-guest-theme .bali-bottom-nav [data-bali-nav="menu"] .bali-nav-glyph{
    mask-image:url("assets/nav-icons/menu.svg")!important;
    -webkit-mask-image:url("assets/nav-icons/menu.svg")!important;
  }
}
}
