/* Раздел стилей 1: перенесён из styles.css. */
:where([class^="ri-"])::before {
            content: "\f3c2";
        }
        
        .menu-scroll {
            scrollbar-width: none;
            -ms-overflow-style: none;
        }
        
        .menu-scroll::-webkit-scrollbar {
            display: none;
        }
        
        .modal {
              position: fixed;
              top: 0;
              left: 0;
              width: 100vw;
              height: 100vh;
              background: rgba(0, 0, 0, 0.8);
              display: none;            
              align-items: center;
              justify-content: center;
              z-index: 9999;
        }

        .modal.active {
              display: flex;             
        }

        .modal img {
            max-width: 90vw;
            max-height: 90vh;
            border-radius: 8px;
        }

        .modal .close-rtn {
            position:absolute;
            top: 20px;
            right: 30px;
            font-size: 2rem;
            font-weight: bold;
            color:white;
            cursor: pointer;
            z-index: 10000;
        }
        
        .sticky-header {
            z-index: 100;
        }
        
        .sticky-nav {
            z-index: 90;
        }
        
        .sticky-section {
            z-index: 80;
        }

        /* Для Chrome, Edge, Safari */
        .menu-scroll::-webkit-scrollbar {
        height: 6px;              /* высота горизонтального скроллбара */
        }

        .menu-scroll::-webkit-scrollbar-track {
        background: transparent;  /* фон дорожки */
        }

        .menu-scroll::-webkit-scrollbar-thumb {
        background: #cbd5e1;      /* серый (Tailwind gray-300) */
        border-radius: 9999px;    /* круглые края */
        }

        .menu-scroll::-webkit-scrollbar-thumb:hover {
        background: #94a3b8;      /* темнее при наведении (Tailwind gray-400) */
        }

        /* Для Firefox */
        .menu-scroll {
        scrollbar-width: thin;          /* тонкий скроллбар */
        scrollbar-color: #cbd5e1 transparent; /* цвет ползунка и трека */
        }
        
        body {
            font-family: 'Inter', sans-serif;
        }

        h1, h2, h3, h4, h5, h6, p, span {
            user-select: none;
            cursor: default;
        }

    

        /* Pibim-style photo menu cards, dish names and prices preserved */
        .pibim-menu-grid { gap: 1.25rem 2rem; }
        .pibim-dish-card {
            border: 1px solid rgba(26,26,26,.08);
            border-radius: 22px;
            background: #fff;
            overflow: hidden;
            min-height: 132px;
            box-shadow: 0 10px 28px rgba(0,0,0,.045);
            transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
            cursor: pointer;
        }
        .pibim-dish-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 18px 42px rgba(0,0,0,.08);
            border-color: rgba(212,184,150,.42);
        }
        .pibim-dish-photo {
            width: 112px;
            height: 96px;
            object-fit: cover;
            border-radius: 18px;
            background: #f4f1ec;
            flex: 0 0 auto;
        }
        .pibim-dish-name {
            display: block;
            font-weight: 600;
            line-height: 1.28;
            color: #1a1a1a;
        }
        .pibim-dish-price {
            font-weight: 700;
            color: #1a1a1a;
            white-space: nowrap;
        }
        .pibim-photo-placeholder {
            background: linear-gradient(135deg, #f6f2eb, #ded1c1);
            display: grid;
            place-items: center;
            color: rgba(26,26,26,.36);
            font-size: 12px;
            text-align: center;
            padding: 8px;
        }
        @media (max-width: 640px) {
            .pibim-menu-grid { gap: .75rem; }
            .pibim-dish-card {
                min-height: 106px;
                border-radius: 18px;
                padding: 12px !important;
            }
            .pibim-dish-photo {
                width: 86px;
                height: 76px;
                border-radius: 14px;
            }
            .pibim-dish-name { font-size: 14px; }
            .pibim-dish-price { font-size: 14px; }
        }


/* === Electronic order menu === */
body { padding-bottom: 96px; }
.pibim-dish-card { position: relative; align-items: center; padding-right: 76px !important; }
.pibim-dish-card .min-w-0 { min-width: 0; }
.pibim-dish-photo { width: 132px; height: 106px; }
.dish-add-btn {
  position: absolute; right: 18px; bottom: 18px; width: 42px; height: 42px; border-radius: 999px;
  background: #1a1a1a; color: #fff; font-size: 24px; line-height: 1; font-weight: 500;
  display: flex; align-items: center; justify-content: center; transition: transform .18s ease, background .18s ease;
}
.dish-add-btn:hover { transform: scale(1.06); background: #B3916A; color: #111; }
.order-fab {
  position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 9998;
  background: #1a1a1a; color: #fff; border-radius: 999px; padding: 14px 22px;
  box-shadow: 0 18px 44px rgba(0,0,0,.24); display: flex; align-items: center; gap: 10px;
  font-weight: 700; letter-spacing: .01em;
}
.order-fab span { color: inherit; cursor: pointer; }
.order-modal { position: fixed; inset: 0; z-index: 9999; background: rgba(0,0,0,.58); display: none; align-items: flex-end; justify-content: center; }
.order-modal.active { display: flex; }
.order-sheet { width: min(720px, 100%); max-height: 92svh; overflow: auto; background: #fff; border-radius: 28px 28px 0 0; padding: 22px; box-shadow: 0 -20px 60px rgba(0,0,0,.22); }
.order-close { width: 40px; height: 40px; border-radius: 999px; background: #f1f1f1; font-size: 24px; }
.product-modal-card img { width: 100%; height: 280px; object-fit: cover; border-radius: 22px; background: #f4f1ec; }
.product-title { font-size: 24px; font-weight: 800; line-height: 1.18; margin-top: 18px; color: #111; }
.product-desc { margin-top: 10px; color: #5f5f5f; line-height: 1.55; }
.product-price { font-size: 22px; font-weight: 800; margin-top: 14px; color: #111; }
.qty-control { display:flex; align-items:center; gap:14px; margin-top: 18px; }
.qty-btn { width: 42px; height:42px; border-radius:999px; background:#f1f1f1; font-size:22px; font-weight:700; display:flex; align-items:center; justify-content:center; }
.qty-value { min-width: 24px; text-align:center; font-weight:800; }
.add-to-order-btn, .send-order-btn { width:100%; border-radius:16px; background:#1a1a1a; color:#fff; padding:15px 18px; font-weight:800; margin-top:18px; }
.clear-order-btn { width:100%; border-radius:16px; background:#f3f3f3; color:#111; padding:13px 18px; font-weight:700; margin-top:10px; }
.cart-row { display:flex; gap:12px; justify-content:space-between; align-items:center; padding:14px 0; border-bottom:1px solid #eee; }
.cart-row-name { font-weight:700; line-height:1.25; }
.cart-row-meta { color:#666; font-size:14px; margin-top:4px; }
.cart-row-actions { display:flex; align-items:center; gap:8px; }
.cart-total { display:flex; justify-content:space-between; align-items:center; font-size:22px; font-weight:900; padding-top:18px; }
@media (max-width: 640px) {
  body { padding-bottom: 86px; }
  .pibim-dish-card { padding: 12px 58px 12px 12px !important; min-height: 118px; }
  .pibim-dish-photo { width: 92px; height: 82px; }
  .dish-add-btn { width: 36px; height: 36px; right: 12px; bottom: 12px; font-size: 22px; }
  .order-fab { width: calc(100% - 28px); justify-content:center; bottom: 14px; }
  .product-modal-card img { height: 230px; }
}


/* === KAI premium order refinement === */
.pibim-dish-card {
  box-shadow: 0 8px 26px rgba(0,0,0,.035);
  border-color: rgba(26,26,26,.07);
}
.pibim-dish-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 38px rgba(0,0,0,.065);
}
.pibim-dish-name { font-weight: 500; letter-spacing: .01em; }
.pibim-dish-price { font-weight: 500; }
.dish-add-btn {
  font-weight: 400;
  background: #1a1a1a;
  color: #fff;
}
.order-fab {
  font-weight: 400;
  letter-spacing: .01em;
  box-shadow: 0 16px 40px rgba(0,0,0,.22);
}
.order-modal {
  background: rgba(10,10,10,.68);
  backdrop-filter: blur(10px);
}
.order-sheet {
  font-family: 'Raleway', 'Montserrat', sans-serif;
  font-weight: 400;
  border: 1px solid rgba(255,255,255,.18);
}
.product-modal-card {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  grid-template-areas:
    'image head'
    'image body'
    'image actions';
  gap: 0 42px;
  width: min(1180px, calc(100vw - 72px));
  min-height: min(760px, calc(100svh - 72px));
  max-height: calc(100svh - 72px);
  border-radius: 30px;
  padding: 30px;
  align-items: start;
}
.product-modal-card > .flex { grid-area: head; margin-bottom: 18px; }
.modal-kicker { font-size: 13px; text-transform: uppercase; letter-spacing: .18em; color: #8a8076; font-weight: 300; }
.product-modal-card img {
  grid-area: image;
  width: 100%;
  height: calc(100svh - 132px);
  max-height: 700px;
  min-height: 520px;
  border-radius: 24px;
}
.product-title {
  grid-area: body;
  font-size: clamp(30px, 3vw, 54px);
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -.035em;
  color: #111;
  margin: 8px 0 22px;
}
.product-desc {
  grid-area: body;
  align-self: end;
  margin-top: 150px;
  color: #6b6258;
  font-size: 17px;
  line-height: 1.65;
  font-weight: 300;
}
.product-price {
  grid-area: actions;
  font-size: 24px;
  font-weight: 400;
  margin: 18px 0 0;
}
.qty-control { grid-area: actions; margin-top: 72px; }
.qty-btn {
  font-weight: 300;
  background: #f5f2ee;
}
.qty-value { font-weight: 400; }
.add-to-order-btn, .clear-order-btn {
  font-weight: 400;
  letter-spacing: .01em;
}
.add-to-order-btn { grid-area: actions; align-self: end; margin-top: 142px; }
.order-close {
  font-weight: 300;
  background: #f5f2ee;
}
.cart-order-sheet {
  width: min(920px, calc(100vw - 56px));
  border-radius: 30px;
  padding: 34px;
  max-height: calc(100svh - 72px);
}
.cart-title {
  font-size: 34px;
  line-height: 1;
  font-weight: 400;
  letter-spacing: -.025em;
}
.cart-note {
  margin-top: 10px;
  color: #7a7066;
  font-size: 16px;
  font-weight: 300;
}
.cart-row-name { font-weight: 400; }
.cart-row-meta { font-weight: 300; }
.cart-row-actions b { font-weight: 400; min-width: 110px; text-align:right; }
.cart-total { font-size: 24px; font-weight: 400; }
.clear-order-btn { background: #f5f2ee; color:#1a1a1a; }
@media (min-width: 1024px) {
  .order-modal { align-items: center; }
  .order-sheet { border-radius: 30px; }
  .cart-order-sheet #cartItems { max-height: calc(100svh - 300px); overflow:auto; padding-right: 6px; }
}
@media (max-width: 900px) {
  .order-modal { align-items: flex-end; }
  .product-modal-card {
    display: block;
    width: 100%;
    min-height: 0;
    max-height: 92svh;
    border-radius: 28px 28px 0 0;
    padding: 20px;
  }
  .product-modal-card img {
    height: 255px;
    min-height: 0;
    max-height: none;
    border-radius: 20px;
  }
  .product-title { font-size: 28px; margin: 18px 0 10px; }
  .product-desc { margin-top: 0; font-size: 15px; }
  .product-price { font-size: 20px; margin-top: 14px; }
  .qty-control { margin-top: 18px; }
  .add-to-order-btn { margin-top: 18px; }
  .cart-order-sheet {
    width: 100%;
    border-radius: 28px 28px 0 0;
    padding: 22px;
    max-height: 92svh;
  }
  .cart-title { font-size: 28px; }
  .cart-row { align-items:flex-start; }
  .cart-row-actions { gap: 6px; }
  .cart-row-actions b { min-width: 78px; font-size: 14px; }
}


/* === KAI category bar final refinement === */
/* Убираем дублирующий заголовок группы внутри страницы: название раздела остаётся только в верхней панели */
.sticky-section { display: none !important; }
main section.font-base { padding-top: 22px !important; }
main section.font-base > .bg-white:first-of-type { padding-top: 18px !important; }

.sticky-nav {
  border-bottom: 1px solid rgba(26,26,26,.08) !important;
  box-shadow: 0 10px 28px rgba(0,0,0,.035);
}
#menuScroll {
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  gap: 14px !important;
  padding-top: 16px !important;
  padding-bottom: 16px !important;
}
.menu-category-btn {
  scroll-snap-align: center;
  border-radius: 14px !important;
  background: #f5f5f6 !important;
  color: #30343b !important;
  font-weight: 400 !important;
  letter-spacing: .01em;
  box-shadow: none !important;
  border: 1px solid rgba(26,26,26,.035);
  transition: background-color .28s ease, color .28s ease, transform .28s ease, border-color .28s ease;
}
.menu-category-btn:hover {
  background: #efe7dc !important;
  color: #1a1a1a !important;
}
.menu-category-btn.active-category,
.menu-category-btn.bg-primary,
.menu-category-btn.text-white {
  background: #d4b896 !important;
  color: #1a1a1a !important;
  border-color: rgba(179,145,106,.45) !important;
  transform: translateY(-1px);
}
@media (max-width: 640px) {
  .sticky-nav { top: 80px !important; }
  #menuScroll { gap: 12px !important; padding-left: 30px !important; padding-right: 30px !important; }
  .menu-category-btn { font-size: 16px !important; padding: 11px 24px !important; }
  main section.font-base { padding-top: 18px !important; }
}



/* === KAI thin gold category tabs === */
.sticky-nav {
  background: rgba(255,255,255,.96) !important;
  border-bottom: 1px solid rgba(179,145,106,.16) !important;
  box-shadow: 0 10px 26px rgba(0,0,0,.025) !important;
}
#menuScroll {
  gap: 14px !important;
  padding-top: 14px !important;
  padding-bottom: 14px !important;
  align-items: center;
}
.menu-category-btn {
  min-height: 42px !important;
  padding: 9px 22px !important;
  border-radius: 12px !important;
  background: rgba(255,255,255,.72) !important;
  color: rgba(26,26,26,.78) !important;
  border: 1px solid rgba(179,145,106,.28) !important;
  box-shadow: none !important;
  font-size: 15px !important;
  font-weight: 300 !important;
  letter-spacing: .015em !important;
  line-height: 1.2 !important;
  transform: none !important;
}
.menu-category-btn:hover {
  background: rgba(212,184,150,.10) !important;
  border-color: rgba(179,145,106,.42) !important;
  color: #1a1a1a !important;
}
.menu-category-btn.active-category,
.menu-category-btn.bg-primary,
.menu-category-btn.text-white {
  background: linear-gradient(180deg, rgba(212,184,150,.23), rgba(212,184,150,.13)) !important;
  color: #1a1a1a !important;
  border: 1px solid rgba(179,145,106,.62) !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.45), 0 8px 18px rgba(179,145,106,.12) !important;
  font-weight: 400 !important;
  transform: none !important;
}
@media (max-width: 640px) {
  #menuScroll {
    gap: 12px !important;
    padding-left: 28px !important;
    padding-right: 28px !important;
    padding-top: 13px !important;
    padding-bottom: 13px !important;
  }
  .menu-category-btn {
    min-height: 40px !important;
    padding: 8px 20px !important;
    font-size: 15px !important;
    border-radius: 11px !important;
    font-weight: 300 !important;
  }
  .menu-category-btn.active-category,
  .menu-category-btn.bg-primary,
  .menu-category-btn.text-white {
    font-weight: 400 !important;
  }
}



/* === KAI / NOBU premium category typography === */
.sticky-nav {
  background: rgba(255,255,255,.985) !important;
  border-bottom: 1px solid rgba(26,26,26,.055) !important;
  box-shadow: 0 12px 28px rgba(0,0,0,.018) !important;
}
#menuScroll {
  gap: 30px !important;
  padding: 18px 28px 15px !important;
  align-items: center !important;
  scroll-behavior: smooth !important;
}
.menu-category-btn,
.menu-category-btn:hover,
.menu-category-btn.active-category,
.menu-category-btn.bg-primary,
.menu-category-btn.text-white {
  position: relative !important;
  min-height: auto !important;
  padding: 0 0 9px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
  color: rgba(26,26,26,.58) !important;
  font-family: Montserrat, Raleway, sans-serif !important;
  font-size: 12px !important;
  line-height: 1.15 !important;
  font-weight: 300 !important;
  letter-spacing: .13em !important;
  text-transform: uppercase !important;
  transition: color .28s ease, letter-spacing .28s ease !important;
}
.menu-category-btn::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 1px;
  background: #B3916A;
  transform: translateX(-50%);
  transition: width .32s ease;
}
.menu-category-btn:hover {
  color: rgba(26,26,26,.86) !important;
}
.menu-category-btn.active-category,
.menu-category-btn.bg-primary,
.menu-category-btn.text-white {
  color: #B3916A !important;
  font-weight: 400 !important;
  letter-spacing: .15em !important;
}
.menu-category-btn.active-category::after,
.menu-category-btn.bg-primary::after,
.menu-category-btn.text-white::after {
  width: 100%;
}
main section.font-base > .bg-white h3 {
  font-weight: 400 !important;
  font-size: clamp(26px, 5.2vw, 44px) !important;
  letter-spacing: -.025em !important;
  line-height: 1.05 !important;
}
.pibim-dish-name {
  font-weight: 400 !important;
  letter-spacing: -.01em !important;
}
.pibim-dish-price {
  font-weight: 400 !important;
}
@media (max-width: 640px) {
  #menuScroll {
    gap: 28px !important;
    padding-left: 30px !important;
    padding-right: 30px !important;
    padding-top: 17px !important;
    padding-bottom: 14px !important;
  }
  .menu-category-btn,
  .menu-category-btn:hover,
  .menu-category-btn.active-category,
  .menu-category-btn.bg-primary,
  .menu-category-btn.text-white {
    font-size: 11px !important;
    letter-spacing: .12em !important;
    padding-bottom: 8px !important;
    white-space: nowrap !important;
  }
  .menu-category-btn.active-category,
  .menu-category-btn.bg-primary,
  .menu-category-btn.text-white {
    letter-spacing: .135em !important;
  }
}


/* Final modal polish: no dish-card label, centered close icon */
.order-close {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  line-height: 1 !important;
  text-align: center !important;
  font-family: Arial, sans-serif !important;
  font-weight: 300 !important;
}
.product-modal-card > .flex { justify-content: flex-end !important; }


/* KAI refined search and stable menu cards */
.kai-search-wrap{position:sticky;top:132px;z-index:88;background:rgba(255,255,255,.92);backdrop-filter:blur(12px);border-bottom:1px solid rgba(179,145,106,.14);padding:10px 16px 12px}.kai-search-box{max-width:520px;margin:0 auto;display:flex;align-items:center;gap:10px;height:38px;border:1px solid rgba(179,145,106,.38);border-radius:999px;background:#fff;padding:0 14px;box-shadow:0 10px 30px rgba(0,0,0,.025)}.kai-search-icon{font-family:Georgia,serif;color:#B3916A;font-size:18px;line-height:1}.kai-search-box input{width:100%;border:0;outline:none;background:transparent;font-family:Montserrat,Arial,sans-serif;font-weight:300;font-size:13px;letter-spacing:.04em;color:#1a1a1a}.kai-search-box input::placeholder{color:rgba(26,26,26,.42)}.kai-search-clear{border:0;background:transparent;color:rgba(26,26,26,.36);font-size:20px;line-height:1;display:none;cursor:pointer}.kai-search-clear.visible{display:block}.kai-search-empty{max-width:760px;margin:34px auto 0;padding:24px 18px;text-align:center;color:rgba(26,26,26,.52);font-family:Montserrat,Arial,sans-serif;font-weight:300;letter-spacing:.04em;border:1px solid rgba(179,145,106,.22);border-radius:18px}.pibim-dish-card.search-hidden{display:none!important}section.search-section-hidden{display:none!important}.kai-card-desc{display:block;margin-top:7px;font-size:12px;line-height:1.45;font-weight:300;color:rgba(26,26,26,.52);letter-spacing:.015em}.lunch-section-title{font-family:Montserrat,Arial,sans-serif;font-weight:300;text-transform:uppercase;letter-spacing:.12em;font-size:13px;color:#B3916A;margin-bottom:12px}.lunch-dish-card{align-items:flex-start!important}.lunch-card-copy .pibim-dish-name{font-weight:400;letter-spacing:.02em}@media(max-width:640px){.kai-search-wrap{top:128px;padding:8px 14px 10px}.kai-search-box{height:36px}.kai-search-box input{font-size:12px}.kai-card-desc{display:none}}


/* KAI section structure fix: visible premium headers, separators and roll cards */
.kai-menu-section{
  position: relative;
  padding-top: 42px !important;
  padding-bottom: 52px !important;
}
.kai-menu-section + .kai-menu-section{
  border-top: 1px solid rgba(179,145,106,.22);
}
.kai-section-heading{
  position: relative !important;
  top: auto !important;
  z-index: 1 !important;
  background: #fff !important;
  border: 0 !important;
  padding: 0 0 26px !important;
  backdrop-filter: none !important;
}
.kai-section-heading::before{
  content:"";
  display:block;
  width: 72px;
  height: 1px;
  margin: 0 0 24px 1rem;
  background: rgba(179,145,106,.58);
}
@media (min-width:1024px){.kai-section-heading::before{margin-left:2rem}}
.kai-section-title{
  font-family: Montserrat, Arial, sans-serif !important;
  font-size: clamp(23px, 2.1vw, 34px) !important;
  line-height: 1.15 !important;
  font-weight: 300 !important;
  letter-spacing: .085em !important;
  text-transform: uppercase !important;
  color: #1a1a1a !important;
}
.kai-menu-section h3{
  font-family: Montserrat, Arial, sans-serif !important;
  font-size: clamp(15px, 1.2vw, 18px) !important;
  font-weight: 300 !important;
  letter-spacing: .09em !important;
  text-transform: uppercase !important;
  color: #B3916A !important;
  margin-top: 12px !important;
  margin-bottom: 10px !important;
}
.kai-menu-section .pibim-menu-grid{
  margin-top: 18px !important;
}
#rolls .pibim-dish-photo,
#lunch .pibim-dish-photo,
#kids-menu .pibim-dish-photo{
  display: grid;
  place-items:center;
}
.roll-dish-card .pibim-dish-price{
  font-size: 12px !important;
  line-height: 1.35 !important;
  font-weight: 400 !important;
  color: rgba(26,26,26,.72) !important;
}
#waguy .kai-section-title::after{
  content:"A5 · Japan";
  display:block;
  margin-top: 8px;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: .18em;
  color: rgba(179,145,106,.75);
  text-transform: uppercase;
}
@media(max-width:640px){
  .kai-menu-section{padding-top:32px!important;padding-bottom:38px!important}
  .kai-section-heading{padding-bottom:18px!important}
  .kai-section-heading::before{width:54px;margin-bottom:18px}
  .kai-section-title{font-size:21px!important;letter-spacing:.065em!important}
}

/* fix relative photo paths and graceful image fallback */
.pibim-dish-photo img, img.pibim-dish-photo { display:block; }
.pibim-dish-photo { overflow:hidden; }


/* KAI premium headings: remove black banner look, keep only elegant gold titles */
.kai-menu-section{
  padding-top: 34px !important;
  padding-bottom: 54px !important;
}
.kai-section-heading{
  position: static !important;
  background: transparent !important;
  border: 0 !important;
  padding: 0 0 8px !important;
  margin: 0 !important;
  backdrop-filter: none !important;
}
.kai-section-heading::before,
.kai-subtitle-wrap::before{
  content:"";
  display:block;
  width: 58px;
  height: 1px;
  margin: 0 0 20px 0;
  background: rgba(179,145,106,.58);
}
.kai-section-heading > .w-full,
.kai-subtitle-wrap > .w-full{
  padding-left: 1.5rem !important;
  padding-right: 1.5rem !important;
}
.kai-section-title{
  color:#B3916A !important;
  font-size: clamp(15px, 1.05vw, 19px) !important;
  font-weight: 300 !important;
  letter-spacing: .15em !important;
  line-height: 1.35 !important;
  text-transform: uppercase !important;
}
.kai-main-gold-title,
.kai-subsection-title,
.kai-menu-section h3{
  font-family: Montserrat, Arial, sans-serif !important;
  color:#B3916A !important;
  font-size: clamp(15px, 1.05vw, 19px) !important;
  font-weight: 300 !important;
  letter-spacing: .15em !important;
  line-height: 1.35 !important;
  text-transform: uppercase !important;
  margin: 0 0 22px !important;
}
.kai-subsection-title{
  display:block;
}
.kai-menu-section h3::before{
  content:"";
  display:block;
  width: 58px;
  height: 1px;
  margin: 0 0 20px 0;
  background: rgba(179,145,106,.58);
}
.kai-section-heading .kai-main-gold-title::before{
  display:none !important;
}
.kai-menu-section h3.kai-main-gold-title::before{
  display:none !important;
}
/* remove old A5 Japan subtitle under marble beef */
#waguy .kai-section-title::after,
#waguy .kai-main-gold-title::after{
  content:none !important;
  display:none !important;
}
.kai-menu-section .bg-white.py-3,
.kai-menu-section .bg-white.py-5,
.kai-menu-section .bg-white{
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  background: transparent !important;
}
.kai-menu-section .pibim-menu-grid{
  margin-top: 12px !important;
  margin-bottom: 34px !important;
}
.kai-menu-section p.text-gray-500{
  margin-top: -10px !important;
  margin-bottom: 18px !important;
}
@media (min-width:1024px){
  .kai-section-heading > .w-full,
  .kai-subtitle-wrap > .w-full{padding-left:2rem!important;padding-right:2rem!important}
  .kai-menu-section h3::before{margin-left:0}
}
@media(max-width:640px){
  .kai-menu-section{padding-top:26px!important;padding-bottom:42px!important}
  .kai-main-gold-title,.kai-subsection-title,.kai-menu-section h3,.kai-section-title{
    font-size:14px!important;
    letter-spacing:.13em!important;
    margin-bottom:18px!important;
  }
  .kai-menu-section h3::before,.kai-section-heading::before{width:48px;margin-bottom:16px}
}

/* Extracted inline style attributes */
.extracted-inline-style-1 { position:absolute; left:-9999px; }

/* Раздел стилей 2: перенесён из styles-2.css. */
/* ЕДИНЫЙ маленький премиальный стиль для всех золотых заголовков меню */
body main .kai-menu-section h3,
body main .kai-menu-section h3.kai-subsection-title,
body main .kai-menu-section h3.kai-main-gold-title,
body main .kai-subsection-title,
body main .kai-main-gold-title {
    font-family: Montserrat, Arial, sans-serif !important;
    font-size: 16px !important;
    line-height: 1.35 !important;
    font-weight: 300 !important;
    letter-spacing: 0.105em !important;
    color: #b8946d !important;
    text-transform: uppercase !important;
    margin: 0 0 16px 0 !important;
    padding: 0 !important;
}

/* Тонкая золотая линия над каждым подзаголовком */
body main .kai-menu-section h3::before,
body main .kai-subsection-title::before,
body main .kai-main-gold-title::before {
    content: "" !important;
    display: block !important;
    width: 46px !important;
    height: 1px !important;
    margin: 0 0 14px 0 !important;
    background: rgba(184,148,109,.62) !important;
}

/* Отступы самих блоков */
body main .kai-menu-section {
    padding-top: 30px !important;
    padding-bottom: 38px !important;
}

/* Мобильная версия — ещё аккуратнее */
@media (max-width: 640px) {
    body main .kai-menu-section h3,
    body main .kai-menu-section h3.kai-subsection-title,
    body main .kai-menu-section h3.kai-main-gold-title,
    body main .kai-subsection-title,
    body main .kai-main-gold-title {
        font-size: 14px !important;
        line-height: 1.35 !important;
        font-weight: 300 !important;
        letter-spacing: 0.095em !important;
        margin-bottom: 14px !important;
    }

    body main .kai-menu-section h3::before,
    body main .kai-subsection-title::before,
    body main .kai-main-gold-title::before {
        width: 38px !important;
        margin-bottom: 12px !important;
    }

    body main .kai-menu-section {
        padding-top: 24px !important;
        padding-bottom: 34px !important;
    }
}

/* Раздел стилей 3: перенесён из styles-3.css. */
.kai-photo-fullscreen {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0,0,0,.94);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    overflow: hidden;
    touch-action: none;
    overscroll-behavior: contain;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .22s ease, visibility 0s linear .22s;
}

.kai-photo-fullscreen.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity .22s ease;
}

.kai-photo-fullscreen.closing {
    opacity: 0;
    visibility: visible;
    pointer-events: none;
    transition: opacity .20s ease;
}

.kai-photo-fullscreen img {
    max-width: 96vw;
    max-height: 92vh;
    object-fit: contain;
    border-radius: 14px;
    cursor: zoom-out;
    transform: translate3d(0,0,0) scale(1);
    transform-origin: center center;
    transition: transform .18s ease, opacity .18s ease;
    opacity: 1;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
}

.kai-photo-fullscreen.closing img {
    transform: translate3d(0,0,0) scale(.985);
    opacity: .92;
}

.kai-photo-fullscreen-close {
    position: fixed;
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,.12);
    color: #fff;
    border: 1px solid rgba(255,255,255,.22);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    line-height: 1;
    z-index: 100000;
    transition: opacity .16s ease;
}

.kai-photo-fullscreen.closing .kai-photo-fullscreen-close {
    opacity: 0;
}

/* Раздел стилей 4: перенесён из styles-4.css. */
/* Безопасное взбалтывание: сохраняет исходный transform кнопки заказа */
@keyframes kaiCartSafeShake {
    0%   { transform: var(--kai-cart-base-transform, translate3d(0,0,0)) translate3d(0,0,0) scale(1); }
    14%  { transform: var(--kai-cart-base-transform, translate3d(0,0,0)) translate3d(-3px,0,0) scale(1.012); }
    28%  { transform: var(--kai-cart-base-transform, translate3d(0,0,0)) translate3d(3px,0,0) scale(1.012); }
    42%  { transform: var(--kai-cart-base-transform, translate3d(0,0,0)) translate3d(-2px,0,0) scale(1.008); }
    56%  { transform: var(--kai-cart-base-transform, translate3d(0,0,0)) translate3d(2px,0,0) scale(1.008); }
    72%  { transform: var(--kai-cart-base-transform, translate3d(0,0,0)) translate3d(-1px,0,0) scale(1.004); }
    100% { transform: var(--kai-cart-base-transform, translate3d(0,0,0)) translate3d(0,0,0) scale(1); }
}

@keyframes kaiCartSafeGlow {
    0%   { filter: brightness(1); }
    35%  { filter: brightness(1.13); }
    100% { filter: brightness(1); }
}

.kai-cart-shake {
    animation:
        kaiCartSafeShake .46s cubic-bezier(.36,.07,.19,.97) both,
        kaiCartSafeGlow .46s ease both !important;
    transform-origin: center center !important;
    will-change: transform, filter;
}

/* Раздел стилей 5: перенесён из styles-5.css. */
.cart-row-name {
    cursor: pointer !important;
}
.cart-row-name:hover {
    color: #B3916A;
}

.kai-cart-photo-viewer {
    position: fixed;
    inset: 0;
    z-index: 100001;
    background: rgba(0,0,0,.94);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    overflow: hidden;
    touch-action: none;
    overscroll-behavior: contain;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .22s ease, visibility 0s linear .22s;
}

.kai-cart-photo-viewer.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity .22s ease;
}

.kai-cart-photo-viewer.closing {
    opacity: 0;
    visibility: visible;
    pointer-events: none;
    transition: opacity .20s ease;
}

.kai-cart-photo-viewer img {
    max-width: 96vw;
    max-height: 92vh;
    object-fit: contain;
    border-radius: 14px;
    cursor: zoom-out;
    transform: translate3d(0,0,0) scale(1);
    transform-origin: center center;
    transition: transform .18s ease, opacity .18s ease;
    opacity: 1;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
}

.kai-cart-photo-viewer.closing img {
    transform: translate3d(0,0,0) scale(.985);
    opacity: .92;
}

/* Раздел стилей 6: перенесён из styles-6.css. */
/* === KAI final heading line cleanup === */
body main .kai-section-heading::before,
body main .kai-subtitle-wrap::before {
    content: none !important;
    display: none !important;
}

body main .kai-menu-section h3::before,
body main .kai-menu-section h3.kai-subsection-title::before,
body main .kai-menu-section h3.kai-main-gold-title::before,
body main .kai-subsection-title::before,
body main .kai-main-gold-title::before {
    content: "" !important;
    display: block !important;
    width: 46px !important;
    height: 1px !important;
    margin: 0 0 14px 0 !important;
    background: rgba(184,148,109,.62) !important;
}

body main .kai-menu-section h3,
body main .kai-menu-section h3.kai-subsection-title,
body main .kai-menu-section h3.kai-main-gold-title,
body main .kai-subsection-title,
body main .kai-main-gold-title {
    font-family: Montserrat, Arial, sans-serif !important;
    font-size: 16px !important;
    line-height: 1.35 !important;
    font-weight: 300 !important;
    letter-spacing: 0.105em !important;
    color: #b8946d !important;
    text-transform: uppercase !important;
    margin: 0 0 16px 0 !important;
    padding: 0 !important;
}

body main .kai-menu-section .h-px.bg-gradient-to-r,
body main .kai-menu-section div[class*="bg-gradient-to-r"][class*="h-px"] {
    display: none !important;
}

body main .kai-menu-section {
    padding-top: 30px !important;
    padding-bottom: 38px !important;
}

body main .kai-menu-section .pibim-menu-grid {
    margin-top: 18px !important;
}

@media (max-width: 640px) {
    body main .kai-menu-section h3,
    body main .kai-menu-section h3.kai-subsection-title,
    body main .kai-menu-section h3.kai-main-gold-title,
    body main .kai-subsection-title,
    body main .kai-main-gold-title {
        font-size: 14px !important;
        line-height: 1.35 !important;
        font-weight: 300 !important;
        letter-spacing: 0.095em !important;
        margin-bottom: 14px !important;
    }

    body main .kai-menu-section h3::before,
    body main .kai-menu-section h3.kai-subsection-title::before,
    body main .kai-menu-section h3.kai-main-gold-title::before,
    body main .kai-subsection-title::before,
    body main .kai-main-gold-title::before {
        width: 38px !important;
        margin-bottom: 12px !important;
    }

    body main .kai-menu-section {
        padding-top: 24px !important;
        padding-bottom: 34px !important;
    }

    body main .kai-menu-section .pibim-menu-grid {
        margin-top: 16px !important;
    }
}

/* Раздел стилей 7: перенесён из styles-7.css. */
.kai-levelup-logo-gold,
.kai-levelup-logo-active {
    color: #d4b896 !important;
    text-shadow:
        0 0 8px rgba(212,184,150,.55),
        0 0 22px rgba(212,184,150,.30);
    transition: color .25s ease, text-shadow .25s ease;
}

.kai-levelup-ring {
    position: fixed;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(212,184,150,.86);
    border-radius: 999px;
    left: 0;
    top: 0;
    z-index: 100500;
    pointer-events: none;
    opacity: 0;
    transform: translate(-50%, -50%) scale(.25);
    box-shadow:
        0 0 10px rgba(212,184,150,.36),
        inset 0 0 8px rgba(212,184,150,.18);
}

.kai-levelup-ring.r1 { animation: kaiLevelRing 1.55s ease-out forwards; }
.kai-levelup-ring.r2 { animation: kaiLevelRing 1.55s ease-out .22s forwards; }
.kai-levelup-ring.r3 { animation: kaiLevelRing 1.55s ease-out .44s forwards; }

@keyframes kaiLevelRing {
    0% {
        opacity: .95;
        transform: translate(-50%, -50%) scale(.28);
    }
    55% {
        opacity: .48;
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(4.8);
    }
}

.kai-levelup-spark {
    position: fixed;
    width: 4px;
    height: 4px;
    border-radius: 999px;
    background: #d4b896;
    box-shadow: 0 0 10px rgba(212,184,150,.75);
    z-index: 100501;
    pointer-events: none;
    opacity: 0;
    transform: translate(-50%, -50%) scale(.6);
    animation: kaiLevelSpark 1.25s ease-out forwards;
}

@keyframes kaiLevelSpark {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(.6);
    }
    18% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translate(var(--dx), var(--dy)) scale(.2);
    }
}

/* Раздел стилей 8: перенесён из styles-8.css. */
#kaiLandscapeLock {
    display: none;
}

/* Только телефон в горизонтальном режиме */
@media screen and (orientation: landscape) and (max-height: 520px) and (max-width: 980px) {
    html,
    body {
        overflow: hidden !important;
        background: #1a1a1a !important;
    }

    body > *:not(#kaiLandscapeLock) {
        visibility: hidden !important;
        pointer-events: none !important;
    }

    #kaiLandscapeLock {
        visibility: visible !important;
        pointer-events: auto !important;
        position: fixed;
        inset: 0;
        z-index: 2147483647;
        display: flex !important;
        align-items: center;
        justify-content: center;
        background:
            radial-gradient(circle at center, rgba(212,184,150,.10), transparent 38%),
            #1a1a1a;
        color: #fff;
        padding: 28px;
        text-align: center;
        font-family: Montserrat, Raleway, Arial, sans-serif;
    }

    #kaiLandscapeLock .kai-landscape-inner {
        max-width: 420px;
    }

    #kaiLandscapeLock .kai-landscape-logo {
        font-family: "Prosto One", Montserrat, Arial, sans-serif;
        font-size: 42px;
        line-height: 1;
        color: #d4b896;
        letter-spacing: .03em;
        margin-bottom: 22px;
        text-shadow: 0 0 18px rgba(212,184,150,.26);
    }

    #kaiLandscapeLock .kai-landscape-title {
        font-size: 18px;
        line-height: 1.35;
        font-weight: 300;
        letter-spacing: .08em;
        text-transform: uppercase;
        color: #fff;
        margin-bottom: 12px;
    }

    #kaiLandscapeLock .kai-landscape-text {
        font-size: 14px;
        line-height: 1.55;
        font-weight: 300;
        color: rgba(255,255,255,.64);
    }

    #kaiLandscapeLock .kai-landscape-line {
        width: 54px;
        height: 1px;
        background: rgba(212,184,150,.7);
        margin: 0 auto 20px;
    }
}

/* Раздел стилей 9: перенесён из styles-9.css. */
.order-fab {
    bottom: 24px !important;
    z-index: 9998 !important;
}
@media (max-width: 640px) {
    .order-fab {
        bottom: 18px !important;
    }
}

/* Раздел стилей 10: перенесён из styles-10.css. */
.cart-row-section {
    display:block;
    margin-top:4px;
    font-family:Montserrat,Raleway,Arial,sans-serif;
    font-size:11px;
    line-height:1.25;
    font-weight:300;
    letter-spacing:.08em;
    text-transform:uppercase;
    color:#B3916A;
}

/* Раздел стилей 11: перенесён из styles-11.css. */
/* Единая сетка меню: карточки идут строго по порядку без пустых ячеек. */
.pibim-menu-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-auto-flow: row dense;
    align-items: stretch;
    gap: 1.25rem;
}

.pibim-menu-grid > .pibim-dish-card {
    width: 100%;
    height: 100%;
    margin: 0;
}

@media (min-width: 768px) {
    .pibim-menu-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 3rem;
    }
}

@media (max-width: 767px) {
    .pibim-menu-grid {
        row-gap: 0.75rem;
    }
}

/* Critical navigation and footer styles: independent from Tailwind CDN configuration. */
body,
.font-mont,
.font-base {
    font-family: "Montserrat", "Raleway", sans-serif;
}

.font-heading,
.font-prosto {
    font-family: "Prosto One", sans-serif;
}

header.sticky-header,
header .bg-primary,
#mobile-menu.bg-primary {
    background-color: #1a1a1a !important;
}

header.sticky-header {
    color: #fff;
}

header nav a,
#mobile-menu a {
    color: #fff;
    transition: color .2s ease;
}

header nav a:hover,
#mobile-menu a:hover {
    color: #d4b896 !important;
}

header .bg-secondary {
    background-color: #d4b896 !important;
    color: #111 !important;
    border: 1px solid #d4b896 !important;
}

header .bg-secondary:hover {
    background-color: #B3916A !important;
    border-color: #B3916A !important;
}

footer {
    background-color: #000 !important;
    color: #fff;
}

footer a {
    transition: color .2s ease, background-color .2s ease;
}

footer a:hover {
    color: #B3916A !important;
}

footer a[class*="hover:bg-beige"]:hover {
    background-color: #B3916A !important;
    color: #111 !important;
}

.text-beige {
    color: #B3916A !important;
}

/* Explicit category states keep their color and underline without Tailwind custom utilities. */
.menu-category-btn {
    color: rgba(26, 26, 26, .58) !important;
}

.menu-category-btn:hover {
    color: #1a1a1a !important;
}

.menu-category-btn.active-category {
    color: #B3916A !important;
}

.menu-category-btn.active-category::after {
    width: 100% !important;
}

.dish-add-btn {
    border: 1px solid #1a1a1a;
}

.dish-add-btn:hover {
    border-color: #B3916A;
}

/* Language switcher shared with the other site pages. */
.language-switcher {
    position: fixed;
    right: 20px;
    bottom: 86px;
    z-index: 9999;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
}

.language-current {
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 999px;
    background: #fff;
    color: #111;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
    transition: transform .25s ease;
}

.language-current:hover {
    transform: translateY(-2px);
}

.language-dropdown {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 10px;
    padding: 8px 0;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
}

.language-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    border-radius: 999px;
}

.language-dropdown a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 38px;
    border-radius: 999px;
    color: #222;
    font-weight: 600;
    text-decoration: none;
}

.language-dropdown a:hover {
    background: #f4f4f4;
}

.language-dropdown a.active {
    color: #B3916A;
}

@media (max-width: 768px) {
    .language-switcher {
        right: 14px;
        bottom: 78px;
    }

    .language-current {
        width: 42px;
        height: 42px;
        font-size: 14px;
    }

    .language-dropdown a {
        width: 42px;
        height: 36px;
        font-size: 14px;
    }
}
