/* Screens: only one visible; never force display on .products-list/.category-screen
   (that broke jQuery .hide() and left products scrolling under categories). */
.screens {
  position: relative;
  isolation: isolate;
  z-index: 1;
}
.screens .screen {
  overflow-x: hidden;
}

/* Keep header (and language dropdown) above menu screens */
.header.page {
  position: relative;
  z-index: 50;
  overflow: visible;
  align-items: stretch;
}
.header .header-left {
  align-self: stretch;
  min-height: 56px;
}
/* Маса десно од логото; логото ја полни висината на навбарот */
.header .logo {
  flex-direction: row !important;
  align-items: center !important;
  align-self: center !important;
  gap: 8px !important;
  line-height: 1;
  height: auto !important;
  max-height: none !important;
  padding-top: 4px !important;
  padding-bottom: 4px !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  box-sizing: border-box;
}
.header .logo img {
  display: block;
  width: auto !important;
  height: auto !important;
  max-height: 45px !important;
  max-width: 100px !important;
  object-fit: contain;
  object-position: left center;
}
.header .header-masa {
  display: inline-block;
  margin: 0;
  padding: 0;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0.02em;
  opacity: 0.72;
  text-transform: none;
  white-space: nowrap;
  color: inherit;
  flex: 0 0 auto;
  align-self: center;
}

/*
 * Category cards: same height in a grid row; image does NOT shrink when
 * the title wraps — extra height goes to the text area below.
 */
.category-screen .category,
.category {
  align-self: stretch;
  height: auto !important;
  min-height: 100%;
  display: flex !important;
  flex-direction: column !important;
}
.category__img {
  flex: 0 0 auto !important;
  flex-shrink: 0 !important;
  min-height: 112px;
  align-items: center;
  justify-content: center;
}
.category__img img,
.category__img .category__photo {
  flex-shrink: 0 !important;
  height: auto !important;
  max-height: 128px;
  width: 100% !important;
  max-width: 100% !important;
  object-fit: contain;
}
.category__bottom {
  flex: 1 1 auto !important;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.category__bottom p {
  overflow-wrap: anywhere;
  word-break: break-word;
  margin-bottom: 0;
}

/* Category images: avoid h-100 collapse so placeholders are visible */
.category__img img.menu-ph,
.product__img img.menu-ph,
.product-img img.menu-ph {
  object-fit: contain !important;
  padding: 12px;
  background: #e8f2f3;
  border-radius: 14px;
}
.category__img img.menu-ph {
  min-height: 96px;
  width: 100% !important;
  max-width: 100% !important;
  max-height: 120px;
}

/* Enforce 100% image width across all category and product cards */
.category__img img,
.category__img .category__photo,
.product__img img,
.product-img img {
  width: 100% !important;
  max-width: 100% !important;
}

/*
 * Layer stack (low → high):
 * screens 1 · header 50 · cart backdrop 80 · opened cart 95 · lang menu 80 · product modal 85 · svc dialog 90 · toast 100
 * Opened cart is above the dark overlay so checkout stays interactive.
 */
body.overlay {
  overflow: hidden;
}
body.overlay::before {
  z-index: 84;
}
.product-modal {
  z-index: 85 !important;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.product-modal.is-open {
  display: block;
}
.product-modal .close-modal {
  z-index: 86;
}
.product-modal__head {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 12px 12px 16px;
  margin: 0;
  background: rgb(var(--high-soft-color, 252, 252, 252));
  border-bottom: 1px solid rgba(var(--primary-color, 28, 25, 23), .18);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .06);
}
.product-modal__title,
.product-modal__head p,
.product-modal__head .product-modal__title {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0 !important;
  padding-right: 4px;
  font-size: 1.2rem !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  letter-spacing: -.01em;
  color: rgb(var(--main-txt-color, 28, 25, 23)) !important;
}
.product-modal .close-modal {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  background: rgba(0, 0, 0, .06);
  color: rgb(var(--main-txt-color, 28, 25, 23));
  box-shadow: none;
}
.product-modal .close-modal span {
  font-size: 18px !important;
  line-height: 1;
  color: inherit !important;
}
.product-modal .close-modal:active {
  background: rgba(0, 0, 0, .12);
}
.product-modal__product {
  overflow: visible;
  padding-bottom: 80px;
}
body.dark .product-modal__head {
  background: rgb(var(--high-soft-color, 35, 35, 35));
  border-bottom-color: rgba(255, 255, 255, .12);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
}
body.dark .product-modal .close-modal {
  background: rgba(255, 255, 255, .1);
  color: #f5f2eb;
}

/* Collapsed cart bar stays above content; opened sheet is a shorter bottom panel */
.cart-bottom__fixed {
  z-index: 45 !important;
}
.cart-bottom__fixed.opened {
  z-index: 95 !important;
  top: auto !important;
  bottom: 0 !important;
  left: 0;
  right: 0;
  width: 100%;
  height: auto !important;
  min-height: 0 !important;
  max-height: min(78svh, 78dvh, 78vh) !important;
  margin-bottom: 0 !important;
  padding-bottom: max(10px, env(safe-area-inset-bottom, 0px)) !important;
  box-sizing: border-box !important;
  overflow: hidden;
}
.cart-bottom__fixed.opened .cart-mid,
.cart-bottom__fixed.opened .cart-content-wrap {
  min-height: 0;
  flex: 1 1 auto;
  overflow: hidden;
}
.cart-bottom__fixed.opened .cart-content {
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.cart-bottom__fixed.opened .cart-bottom__btn {
  flex: 0 0 auto;
  margin-top: auto;
  position: relative;
  z-index: 2;
}
body.overlay .cart-bottom__fixed.opened,
body.cart-open .cart-bottom__fixed.opened {
  z-index: 95 !important;
}

/* Dim page behind open cart; keep sheet above the dimmer */
body.cart-open {
  overflow: hidden;
}
.cart-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 90;
}
body.cart-open .cart-backdrop {
  display: block;
}
body.overlay.cart-open::before {
  z-index: 84;
}

.cart-bottom__fixed.opened ~ .copy,
body:has(.cart-bottom__fixed.opened) .copy {
  visibility: hidden;
  pointer-events: none;
}

/* Pinned menu footer / copyright: strictly centered on all screens */
.copy {
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  margin: 0 auto !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  z-index: 20 !important;
  box-sizing: border-box !important;
}

.copy p {
  text-align: center !important;
  margin: 0 auto !important;
  width: 100% !important;
  max-width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 4px;
}

/* Category images: avoid h-100 collapse so placeholders are visible */
.category__img {
  min-height: 112px;
  align-items: center;
  justify-content: center;
}
.category__img img,
.category__img .category__photo {
  height: auto !important;
  max-height: 128px;
  width: 100% !important;
  max-width: 100% !important;
  object-fit: contain;
}
.category__img img.menu-ph,
.product__img img.menu-ph,
.product-img img.menu-ph {
  object-fit: contain !important;
  padding: 12px;
  background: #e8f2f3;
  border-radius: 14px;
}
.category__img img.menu-ph {
  min-height: 96px;
  width: 100% !important;
  max-width: 100% !important;
  max-height: 120px;
}

/* Enforce 100% image width across all category and product cards */
.category__img img,
.category__img .category__photo,
.product__img img,
.product-img img {
  width: 100% !important;
  max-width: 100% !important;
}

/* ── Classic: tight 2-col grid + compact product list ─ */
body[data-menu-design="classic"] {
  --primary-color: 25, 83, 92;
  --primary-color-h: #19535C;
}
body[data-menu-design="classic"] .header {
  background: rgb(var(--bg-color-1));
  border-bottom: 2px solid rgba(25, 83, 92, .12) !important;
}
body[data-menu-design="classic"] .bg-primary {
  background: #19535C !important;
}
body[data-menu-design="classic"] .text-primary-col,
body[data-menu-design="classic"] .products-list .product__right .product-title span {
  color: #19535C !important;
}
body[data-menu-design="classic"] .category-screen {
  gap: 0 !important;
}
body[data-menu-design="classic"] .category {
  border-radius: 0 !important;
  padding: 8px 6px !important;
}
body[data-menu-design="classic"] .products-list .product {
  border-radius: 0 !important;
  padding-top: 6px !important;
  padding-bottom: 6px !important;
}

/* ── Modern: airy cards, soft shadows, more padding ── */
body[data-menu-design="modern"] {
  --primary-color: 25, 83, 92;
  --primary-color-h: #19535C;
  letter-spacing: -.01em;
  background: #f4f8f9 !important;
}
body[data-menu-design="modern"] .header {
  border: 0 !important;
  box-shadow: none !important;
  background: #fff !important;
  padding-top: 8px;
  padding-bottom: 8px;
}
body[data-menu-design="modern"] .logo img {
  max-height: 52px;
  width: auto;
}
body[data-menu-design="modern"] .bg-primary {
  background: linear-gradient(135deg, #19535c, #2a8a96) !important;
}
body[data-menu-design="modern"] .text-primary-col,
body[data-menu-design="modern"] .products-list .product__right .product-title span {
  color: #2a8a96 !important;
}
body[data-menu-design="modern"] .page-title p,
body[data-menu-design="modern"] #naslovSection {
  font-size: 1.35rem !important;
  letter-spacing: -.03em;
}
body[data-menu-design="modern"] .category-screen {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px !important;
  padding: 16px !important;
  background: #f4f8f9 !important;
  align-content: start;
}
body[data-menu-design="modern"] .category {
  border: 0 !important;
  border-radius: 18px !important;
  padding: 16px 12px !important;
  box-shadow: 0 8px 28px rgba(25, 83, 92, .08) !important;
  overflow: hidden;
  gap: 10px;
}
body[data-menu-design="modern"] .category__img img {
  width: 100% !important;
  max-width: 100% !important;
}
body[data-menu-design="modern"] .category__bottom {
  margin-top: 6px !important;
}
body[data-menu-design="modern"] .category__bottom p {
  font-size: 1.05rem !important;
  letter-spacing: -.02em;
}
body[data-menu-design="modern"] .products-list {
  grid-template-columns: 1fr !important;
  gap: 12px !important;
  padding: 16px !important;
  background: #f4f8f9 !important;
  align-content: start;
}
body[data-menu-design="modern"] .products-list .product {
  border: 0 !important;
  border-radius: 18px !important;
  padding: 14px 12px !important;
  box-shadow: 0 8px 28px rgba(25, 83, 92, .08) !important;
  overflow: hidden;
  gap: 10px;
}
body[data-menu-design="modern"] .products-list .product__img {
  width: 28% !important;
  border-radius: 12px;
  overflow: hidden;
}
body[data-menu-design="modern"] .products-list .product__img img {
  border-radius: 12px;
  object-fit: cover;
}
body[data-menu-design="modern"] .products-list .product__right {
  width: 54% !important;
  padding-left: 8px !important;
}
body[data-menu-design="modern"] .product-title p {
  font-size: 1.05rem !important;
}
body[data-menu-design="modern"].dark {
  --primary-color: 61, 176, 188;
  --primary-color-h: #3db0bc;
  background: #1a2224 !important;
}
body[data-menu-design="modern"].dark .header {
  background: #243033 !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .35) !important;
  border-bottom: 1px solid rgba(255, 255, 255, .06) !important;
}
body[data-menu-design="modern"].dark .category-screen,
body[data-menu-design="modern"].dark .products-list {
  background: #1a2224 !important;
}
body[data-menu-design="modern"].dark .category,
body[data-menu-design="modern"].dark .products-list .product {
  background: #243033 !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .35) !important;
}

/* ── Elegant: single-column list rows, warm paper ──── */
body[data-menu-design="elegant"] {
  --primary-color: 92, 64, 51;
  --primary-color-h: #5c4033;
  --main-bg-color: 250, 247, 242;
  --bg-color-1: 245, 240, 232;
  --elegant-serif: "Cormorant Garamond", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --elegant-ui: "Gilroy", "Segoe UI", system-ui, sans-serif;
  background: #faf7f2 !important;
}
body[data-menu-design="elegant"] .header {
  background: #f5f0e8 !important;
  border-bottom: 1px solid rgba(92, 64, 51, .18) !important;
  box-shadow: none !important;
}
body[data-menu-design="elegant"] .bg-primary {
  background: #5c4033 !important;
}
body[data-menu-design="elegant"] .text-primary-col,
body[data-menu-design="elegant"] .products-list .product__right .product-title span {
  color: #5c4033 !important;
}
body[data-menu-design="elegant"] .category-screen {
  grid-template-columns: 1fr !important;
  gap: 0 !important;
  padding: 8px 16px 24px !important;
  background: #faf7f2 !important;
}
body[data-menu-design="elegant"] .category {
  flex-direction: row !important;
  justify-content: flex-start !important;
  align-items: center !important;
  gap: 16px !important;
  padding: 14px 8px !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(92, 64, 51, .16) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
body[data-menu-design="elegant"] .category__img {
  width: 78px !important;
  flex: 0 0 78px;
  justify-content: flex-start !important;
}
body[data-menu-design="elegant"] .category__img img {
  width: 100% !important;
  max-height: 78px;
  object-fit: cover;
  border-radius: 4px;
}
body[data-menu-design="elegant"] .category__bottom {
  margin-top: 0 !important;
  text-align: left;
  flex: 1;
}
body[data-menu-design="elegant"] .category__bottom p {
  font-family: var(--elegant-serif) !important;
  text-align: left !important;
  font-size: 1.45rem !important;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: .03em;
}
body[data-menu-design="elegant"] .products-list {
  grid-template-columns: 1fr !important;
  gap: 0 !important;
  padding: 8px 16px 24px !important;
  background: #faf7f2 !important;
  align-content: start;
}
body[data-menu-design="elegant"] .products-list .product {
  border: 0 !important;
  border-bottom: 1px solid rgba(92, 64, 51, .14) !important;
  border-radius: 0 !important;
  padding: 16px 4px !important;
  background: transparent !important;
  box-shadow: none !important;
  gap: 14px;
}
body[data-menu-design="elegant"] .products-list .product .product-bg {
  display: none !important;
}
body[data-menu-design="elegant"] .products-list .product__img {
  width: 22% !important;
  border-radius: 4px;
  overflow: hidden;
}
body[data-menu-design="elegant"] .products-list .product__right {
  width: 58% !important;
  padding-left: 6px !important;
}
body[data-menu-design="elegant"] .product-title p {
  font-family: var(--elegant-serif) !important;
  font-size: 1.15rem !important;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: .02em;
}
body[data-menu-design="elegant"] .product-title span {
  font-family: var(--elegant-ui) !important;
  font-size: .92rem !important;
  font-weight: 600;
  letter-spacing: .01em;
}
body[data-menu-design="elegant"] .product-short p {
  font-family: var(--elegant-ui) !important;
  font-size: .82rem !important;
  line-height: 1.45;
  opacity: .72;
  font-style: italic;
}
body[data-menu-design="elegant"] #naslovSection,
body[data-menu-design="elegant"] .page-title p {
  font-family: var(--elegant-serif) !important;
  font-weight: 600;
  letter-spacing: .04em;
}
body[data-menu-design="elegant"] .header .header-btn p,
body[data-menu-design="elegant"] .header-lang,
body[data-menu-design="elegant"] .header-lang__opt-name,
body[data-menu-design="elegant"] .product-actions,
body[data-menu-design="elegant"] .product-note textarea,
body[data-menu-design="elegant"] .svc-dialog__hint,
body[data-menu-design="elegant"] .svc-dialog__btn {
  font-family: var(--elegant-ui) !important;
  letter-spacing: normal;
  font-style: normal;
}
/* Keep Font Awesome / emoji flags readable inside elegant UI font override */
body[data-menu-design="elegant"] .header-lang .fas,
body[data-menu-design="elegant"] .header-lang .fa,
body[data-menu-design="elegant"] .header-lang .far,
body[data-menu-design="elegant"] .header-lang .fab {
  font-family: "Font Awesome 5 Free" !important;
  font-weight: 900 !important;
}
body[data-menu-design="elegant"] .header-lang__flag,
body[data-menu-design="elegant"] .header-lang__globe-svg {
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif !important;
}
body[data-menu-design="elegant"] .header .header-btn p {
  font-size: .78rem !important;
  letter-spacing: .06em;
  text-transform: uppercase;
  opacity: .85;
}
body[data-menu-design="elegant"] .product-modal__head,
body[data-menu-design="elegant"] .product-modal__head p,
body[data-menu-design="elegant"] .svc-dialog__title {
  font-family: var(--elegant-serif) !important;
  font-weight: 600;
  letter-spacing: .03em;
}
body[data-menu-design="elegant"] .svc-dialog__title {
  font-size: 1.65rem !important;
}
body[data-menu-design="elegant"] .svc-dialog__sheet {
  border-radius: 12px;
  border: 1px solid rgba(92, 64, 51, .12);
}
body[data-menu-design="elegant"].dark {
  --primary-color: 212, 165, 116;
  --primary-color-h: #d4a574;
  --main-bg-color: 28, 24, 20;
  --bg-color-1: 36, 30, 26;
  background: #1c1814 !important;
}
body[data-menu-design="elegant"].dark .header {
  background: #241e1a !important;
  border-bottom-color: rgba(212, 165, 116, .22) !important;
}
body[data-menu-design="elegant"].dark .category-screen,
body[data-menu-design="elegant"].dark .products-list {
  background: #1c1814 !important;
}
body[data-menu-design="elegant"].dark .category,
body[data-menu-design="elegant"].dark .products-list .product {
  border-bottom-color: rgba(212, 165, 116, .2) !important;
}
body[data-menu-design="elegant"].dark .products-list .product__right .product-title span {
  color: #d4a574 !important;
}
body[data-menu-design="elegant"].dark .svc-dialog__sheet {
  border-color: rgba(212, 165, 116, .18);
}

/* ── Bold: chunky tiles, high contrast, strong prices ─ */
body[data-menu-design="bold"] {
  --primary-color: 15, 23, 42;
  --primary-color-h: #0f172a;
  --secondary-color: 225, 29, 72;
  background: #eef1f5 !important;
}
body[data-menu-design="bold"] .header {
  background: #0f172a !important;
  color: #fff !important;
  box-shadow: none !important;
}
body[data-menu-design="bold"] .header p,
body[data-menu-design="bold"] .header .text-primary-col,
body[data-menu-design="bold"] .header .header-btn,
body[data-menu-design="bold"] .header .header-btn i,
body[data-menu-design="bold"] .header .header-btn .fas,
body[data-menu-design="bold"] .header .header-chip,
body[data-menu-design="bold"] .header .header-chip i,
body[data-menu-design="bold"] .header-left span,
body[data-menu-design="bold"] .header .logo span {
  color: #fff !important;
}
body[data-menu-design="bold"] .header svg,
body[data-menu-design="bold"] .header .header-chip svg,
body[data-menu-design="bold"] .header .feather {
  stroke: #fff !important;
  color: #fff !important;
}
body[data-menu-design="bold"] .header .header-chip i {
  color: #fff !important;
}
body[data-menu-design="bold"] .header .header-chip--bill i {
  color: #fcd34d !important;
}
body[data-menu-design="bold"] .bg-primary {
  background: #e11d48 !important;
}
body[data-menu-design="bold"] .text-primary-col,
body[data-menu-design="bold"] .products-list .product__right .product-title span {
  color: #e11d48 !important;
}
body[data-menu-design="bold"] .category-screen {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
  padding: 12px !important;
  background: #eef1f5 !important;
}
body[data-menu-design="bold"] .category {
  border: 3px solid #0f172a !important;
  border-radius: 4px !important;
  padding: 18px 10px !important;
  background: #fff !important;
  box-shadow: 4px 4px 0 #0f172a !important;
}
body[data-menu-design="bold"] .category__bottom p {
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  letter-spacing: -.04em;
  text-transform: uppercase;
}
body[data-menu-design="bold"] .products-list {
  grid-template-columns: 1fr !important;
  gap: 10px !important;
  padding: 12px !important;
  background: #eef1f5 !important;
  align-content: start;
}
body[data-menu-design="bold"] .products-list .product {
  border: 3px solid #0f172a !important;
  border-radius: 4px !important;
  padding: 12px 10px !important;
  background: #fff !important;
  box-shadow: 4px 4px 0 #0f172a !important;
  gap: 10px;
}
body[data-menu-design="bold"] .products-list .product .product-bg {
  display: none !important;
}
body[data-menu-design="bold"] .products-list .product__img {
  width: 26% !important;
}
body[data-menu-design="bold"] .products-list .product__right {
  width: 54% !important;
}
body[data-menu-design="bold"] .product-title p {
  font-size: 1.1rem !important;
  font-weight: 800 !important;
  letter-spacing: -.03em;
}
body[data-menu-design="bold"] .products-list .product__right .product-title span {
  font-size: 1.2em !important;
  font-weight: 800 !important;
}
body[data-menu-design="bold"].dark {
  --primary-color: 251, 113, 133;
  --primary-color-h: #fb7185;
  background: #0b1220 !important;
}
body[data-menu-design="bold"].dark .category-screen,
body[data-menu-design="bold"].dark .products-list {
  background: #0b1220 !important;
}
body[data-menu-design="bold"].dark .category,
body[data-menu-design="bold"].dark .products-list .product {
  background: #111827 !important;
  border-color: #e11d48 !important;
  box-shadow: 4px 4px 0 #e11d48 !important;
}

/* ── Soft: pastel rounded cards, generous spacing ──── */
body[data-menu-design="soft"] {
  --primary-color: 14, 116, 144;
  --primary-color-h: #0e7490;
  --main-bg-color: 240, 249, 255;
  --bg-color-1: 224, 242, 254;
  background: #f0f9ff !important;
}
body[data-menu-design="soft"] .header {
  background: rgba(255, 255, 255, .86) !important;
  backdrop-filter: blur(10px);
  border-bottom: 0 !important;
  box-shadow: 0 8px 24px rgba(14, 116, 144, .08) !important;
  border-radius: 0 0 24px 24px;
}
body[data-menu-design="soft"] .bg-primary {
  background: #0e7490 !important;
  border-radius: 999px !important;
}
body[data-menu-design="soft"] .text-primary-col,
body[data-menu-design="soft"] .products-list .product__right .product-title span {
  color: #0e7490 !important;
}
body[data-menu-design="soft"] .header-btn,
body[data-menu-design="soft"] .lang-circle {
  border-radius: 999px !important;
}
body[data-menu-design="soft"] .category-screen {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 18px !important;
  padding: 20px 16px 28px !important;
  background: #f0f9ff !important;
}
body[data-menu-design="soft"] .category {
  border: 0 !important;
  border-radius: 24px !important;
  padding: 22px 14px !important;
  background: #fff !important;
  box-shadow: 0 12px 32px rgba(14, 116, 144, .12) !important;
  gap: 12px;
}
body[data-menu-design="soft"] .category__img img {
  width: 100% !important;
  max-width: 100% !important;
  border-radius: 16px;
}
body[data-menu-design="soft"] .category__bottom {
  margin-top: 8px !important;
}
body[data-menu-design="soft"] .category__bottom p {
  font-size: 1.05rem !important;
}
body[data-menu-design="soft"] .products-list {
  grid-template-columns: 1fr !important;
  gap: 16px !important;
  padding: 20px 16px 28px !important;
  background: #f0f9ff !important;
  align-content: start;
}
body[data-menu-design="soft"] .products-list .product {
  flex-wrap: wrap;
  border: 0 !important;
  border-radius: 24px !important;
  padding: 18px 16px !important;
  background: #fff !important;
  box-shadow: 0 12px 32px rgba(14, 116, 144, .12) !important;
  gap: 12px;
}
body[data-menu-design="soft"] .products-list .product .product-bg {
  display: none !important;
}
body[data-menu-design="soft"] .products-list .product__img {
  width: 30% !important;
  border-radius: 18px;
  overflow: hidden;
}
body[data-menu-design="soft"] .products-list .product__img img {
  border-radius: 18px;
  object-fit: cover;
}
body[data-menu-design="soft"] .products-list .product__right {
  width: 50% !important;
  padding-left: 4px !important;
}
body[data-menu-design="soft"] .product-actions .product-action {
  border-radius: 999px !important;
}
body[data-menu-design="soft"].dark {
  --primary-color: 56, 189, 248;
  --primary-color-h: #38bdf8;
  --main-bg-color: 15, 23, 42;
  background: #0f172a !important;
}
body[data-menu-design="soft"].dark .header {
  background: rgba(30, 41, 59, .92) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .4) !important;
}
body[data-menu-design="soft"].dark .category-screen,
body[data-menu-design="soft"].dark .products-list {
  background: #0f172a !important;
}
body[data-menu-design="soft"].dark .category,
body[data-menu-design="soft"].dark .products-list .product {
  background: #1e293b !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .35) !important;
}

/* ── List: list categories + list products ──────────── */
body[data-menu-design="list"] {
  --primary-color: 31, 111, 120;
  --primary-color-h: #1f6f78;
  background: #f7fafb !important;
}
body[data-menu-design="list"] .header {
  background: #fff !important;
  border-bottom: 1px solid rgba(31, 111, 120, .12) !important;
  box-shadow: none !important;
}
body[data-menu-design="list"] .bg-primary {
  background: #1f6f78 !important;
}
body[data-menu-design="list"] .text-primary-col,
body[data-menu-design="list"] .products-list .product__right .product-title span {
  color: #1f6f78 !important;
}
body[data-menu-design="list"] .category-screen {
  grid-template-columns: 1fr !important;
  gap: 0 !important;
  padding: 8px 12px 20px !important;
  background: #f7fafb !important;
}
body[data-menu-design="list"] .category {
  flex-direction: row !important;
  justify-content: flex-start !important;
  align-items: center !important;
  gap: 14px !important;
  padding: 12px 8px !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(31, 111, 120, .12) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
body[data-menu-design="list"] .category__img {
  width: 64px !important;
  flex: 0 0 64px;
  min-height: 0 !important;
  justify-content: flex-start !important;
}
body[data-menu-design="list"] .category__img img {
  width: 100% !important;
  max-height: 64px;
  min-height: 0 !important;
  object-fit: cover;
  border-radius: 14px;
}
body[data-menu-design="list"] .category__bottom {
  margin-top: 0 !important;
  text-align: left;
  flex: 1;
}
body[data-menu-design="list"] .category__bottom p {
  font-size: 1.05rem !important;
  text-align: left !important;
  font-weight: 700 !important;
}
body[data-menu-design="list"] .products-list {
  grid-template-columns: 1fr !important;
  gap: 0 !important;
  padding: 8px 12px 20px !important;
  background: #f7fafb !important;
  align-content: start;
}
body[data-menu-design="list"] .products-list .product {
  border: 0 !important;
  border-bottom: 1px solid rgba(31, 111, 120, .12) !important;
  border-radius: 0 !important;
  padding: 12px 6px !important;
  background: transparent !important;
  box-shadow: none !important;
  gap: 10px;
}
body[data-menu-design="list"] .products-list .product .product-bg {
  display: none !important;
}
body[data-menu-design="list"] .products-list .product__img {
  width: 72px !important;
  border-radius: 16px;
  overflow: hidden;
}
body[data-menu-design="list"] .products-list .product__img img {
  border-radius: 16px;
  object-fit: cover;
}
body[data-menu-design="list"] .products-list .product__right {
  width: auto !important;
  flex: 1 1 auto;
  padding-left: 4px !important;
}
body[data-menu-design="list"].dark {
  --primary-color: 94, 184, 194;
  --primary-color-h: #5eb8c2;
  background: #152022 !important;
}
body[data-menu-design="list"].dark .header {
  background: #1c2a2c !important;
  border-bottom-color: rgba(255, 255, 255, .08) !important;
}
body[data-menu-design="list"].dark .category-screen,
body[data-menu-design="list"].dark .products-list {
  background: #152022 !important;
}
body[data-menu-design="list"].dark .category,
body[data-menu-design="list"].dark .products-list .product {
  border-bottom-color: rgba(255, 255, 255, .1) !important;
}

/* ── Catalog: list categories + grid products ───────── */
body[data-menu-design="catalog"] {
  --primary-color: 15, 118, 110;
  --primary-color-h: #0f766e;
  background: #f3faf9 !important;
}
body[data-menu-design="catalog"] .header {
  background: #fff !important;
  border-bottom: 1px solid rgba(15, 118, 110, .12) !important;
  box-shadow: none !important;
}
body[data-menu-design="catalog"] .bg-primary {
  background: #0f766e !important;
}
body[data-menu-design="catalog"] .text-primary-col,
body[data-menu-design="catalog"] .products-list .product__right .product-title span {
  color: #0f766e !important;
}
body[data-menu-design="catalog"] .category-screen {
  grid-template-columns: 1fr !important;
  gap: 8px !important;
  padding: 12px !important;
  background: #f3faf9 !important;
}
body[data-menu-design="catalog"] .category {
  flex-direction: row !important;
  justify-content: flex-start !important;
  align-items: center !important;
  gap: 14px !important;
  padding: 12px 14px !important;
  border: 0 !important;
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: 0 4px 16px rgba(15, 118, 110, .08) !important;
}
body[data-menu-design="catalog"] .category__img {
  width: 58px !important;
  flex: 0 0 58px;
  min-height: 0 !important;
  justify-content: flex-start !important;
}
body[data-menu-design="catalog"] .category__img img {
  width: 100% !important;
  max-height: 58px;
  min-height: 0 !important;
  object-fit: cover;
  border-radius: 14px;
}
body[data-menu-design="catalog"] .category__bottom {
  margin-top: 0 !important;
  text-align: left;
  flex: 1;
}
body[data-menu-design="catalog"] .category__bottom p {
  font-size: 1.02rem !important;
  text-align: left !important;
  font-weight: 700 !important;
}
body[data-menu-design="catalog"] .products-list {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
  padding: 12px !important;
  background: #f3faf9 !important;
  align-content: start;
}
body[data-menu-design="catalog"] .products-list .product {
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  border: 0 !important;
  border-radius: 16px !important;
  padding: 10px !important;
  background: #fff !important;
  box-shadow: 0 6px 20px rgba(15, 118, 110, .1) !important;
  gap: 8px !important;
  min-width: 0;
}
body[data-menu-design="catalog"] .products-list .product .product-bg {
  display: none !important;
}
body[data-menu-design="catalog"] .products-list .product__img {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  flex: 0 0 auto !important;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  overflow: hidden;
}
body[data-menu-design="catalog"] .products-list .product__img img {
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: cover !important;
  border-radius: 18px;
}
body[data-menu-design="catalog"] .products-list .product__right {
  width: 100% !important;
  max-width: none !important;
  flex: 1 1 auto !important;
  padding-left: 0 !important;
  min-width: 0;
}
body[data-menu-design="catalog"] .product-title p {
  font-size: .95rem !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 2px;
}
body[data-menu-design="catalog"] .products-list .product-actions {
  flex-direction: row !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  flex: 0 0 auto !important;
  justify-content: space-between;
  gap: 6px;
  margin-top: 4px !important;
}
body[data-menu-design="catalog"] .products-list .product-actions .product-action {
  flex: 1 1 0;
  width: auto !important;
  min-height: 36px;
}
body[data-menu-design="catalog"] .products-list .product .product-note {
  width: 100%;
}
body[data-menu-design="catalog"].dark {
  --primary-color: 45, 212, 191;
  --primary-color-h: #2dd4bf;
  background: #0f1c1b !important;
}
body[data-menu-design="catalog"].dark .header {
  background: #162625 !important;
}
body[data-menu-design="catalog"].dark .category-screen,
body[data-menu-design="catalog"].dark .products-list {
  background: #0f1c1b !important;
}
body[data-menu-design="catalog"].dark .category,
body[data-menu-design="catalog"].dark .products-list .product {
  background: #1a2e2c !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .35) !important;
}

/* ── Tiles: grid categories + grid products ─────────── */
body[data-menu-design="tiles"] {
  --primary-color: 3, 105, 161;
  --primary-color-h: #0369a1;
  background: #f0f7fc !important;
}
body[data-menu-design="tiles"] .header {
  background: #fff !important;
  border-bottom: 1px solid rgba(3, 105, 161, .12) !important;
  box-shadow: none !important;
}
body[data-menu-design="tiles"] .bg-primary {
  background: #0369a1 !important;
}
body[data-menu-design="tiles"] .text-primary-col,
body[data-menu-design="tiles"] .products-list .product__right .product-title span {
  color: #0369a1 !important;
}
body[data-menu-design="tiles"] .category-screen {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
  padding: 12px !important;
  background: #f0f7fc !important;
  align-content: start;
}
body[data-menu-design="tiles"] .category {
  border: 0 !important;
  border-radius: 16px !important;
  padding: 14px 10px !important;
  background: #fff !important;
  box-shadow: 0 6px 20px rgba(3, 105, 161, .1) !important;
  gap: 8px;
  overflow: hidden;
}
body[data-menu-design="tiles"] .category__img {
  min-height: 0 !important;
}
body[data-menu-design="tiles"] .category__img img {
  width: 100% !important;
  max-width: 100% !important;
  max-height: 96px;
  min-height: 0 !important;
  object-fit: contain;
}
body[data-menu-design="tiles"] .category__bottom p {
  font-size: .98rem !important;
  font-weight: 700 !important;
}
body[data-menu-design="tiles"] .products-list {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
  padding: 12px !important;
  background: #f0f7fc !important;
  align-content: start;
}
body[data-menu-design="tiles"] .products-list .product {
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  border: 0 !important;
  border-radius: 16px !important;
  padding: 10px !important;
  background: #fff !important;
  box-shadow: 0 6px 20px rgba(3, 105, 161, .1) !important;
  gap: 8px !important;
  min-width: 0;
}
body[data-menu-design="tiles"] .products-list .product .product-bg {
  display: none !important;
}
body[data-menu-design="tiles"] .products-list .product__img {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  flex: 0 0 auto !important;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  overflow: hidden;
}
body[data-menu-design="tiles"] .products-list .product__img img {
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: cover !important;
  border-radius: 18px;
}
body[data-menu-design="tiles"] .products-list .product__right {
  width: 100% !important;
  max-width: none !important;
  flex: 1 1 auto !important;
  padding-left: 0 !important;
  min-width: 0;
}
body[data-menu-design="tiles"] .product-title p {
  font-size: .95rem !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 2px;
}
body[data-menu-design="tiles"] .products-list .product-actions {
  flex-direction: row !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  flex: 0 0 auto !important;
  justify-content: space-between;
  gap: 6px;
  margin-top: 4px !important;
}
body[data-menu-design="tiles"] .products-list .product-actions .product-action {
  flex: 1 1 0;
  width: auto !important;
  min-height: 36px;
}
body[data-menu-design="tiles"] .products-list .product .product-note {
  width: 100%;
}
body[data-menu-design="tiles"].dark {
  --primary-color: 56, 189, 248;
  --primary-color-h: #38bdf8;
  background: #0b1722 !important;
}
body[data-menu-design="tiles"].dark .header {
  background: #122433 !important;
}
body[data-menu-design="tiles"].dark .category-screen,
body[data-menu-design="tiles"].dark .products-list {
  background: #0b1722 !important;
}
body[data-menu-design="tiles"].dark .category,
body[data-menu-design="tiles"].dark .products-list .product {
  background: #163044 !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .35) !important;
}

/* ── Text: list products without photos ─────────────── */
body[data-menu-design="text"] {
  --primary-color: 51, 65, 85;
  --primary-color-h: #334155;
  background: #f8fafc !important;
}
body[data-menu-design="text"] .header {
  background: #fff !important;
  border-bottom: 1px solid rgba(51, 65, 85, .12) !important;
  box-shadow: none !important;
}
body[data-menu-design="text"] .bg-primary {
  background: #334155 !important;
}
body[data-menu-design="text"] .text-primary-col {
  color: #0d9488 !important;
}
body[data-menu-design="text"] .products-list .product__right .product-title span {
  color: #0d9488 !important;
  -webkit-text-fill-color: #0d9488 !important;
}
body[data-menu-design="text"] .category-screen {
  grid-template-columns: 1fr !important;
  gap: 0 !important;
  padding: 8px 14px 20px !important;
  background: #f8fafc !important;
}
body[data-menu-design="text"] .category {
  flex-direction: row !important;
  justify-content: flex-start !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 12px 4px !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(51, 65, 85, .12) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
body[data-menu-design="text"] .category__img {
  display: none !important;
}
body[data-menu-design="text"] .category__bottom {
  margin-top: 0 !important;
  text-align: left;
  flex: 1;
  width: 100%;
}
body[data-menu-design="text"] .category__bottom p {
  font-size: 1.05rem !important;
  text-align: left !important;
  font-weight: 700 !important;
}
body[data-menu-design="text"] .products-list {
  grid-template-columns: 1fr !important;
  gap: 0 !important;
  padding: 8px 14px 20px !important;
  background: #f8fafc !important;
  align-content: start;
}
body[data-menu-design="text"] .products-list .product {
  border: 0 !important;
  border-bottom: 1px solid rgba(51, 65, 85, .12) !important;
  border-radius: 0 !important;
  padding: 12px 2px !important;
  background: transparent !important;
  box-shadow: none !important;
  gap: 8px;
  align-items: flex-start !important;
}
body[data-menu-design="text"] .products-list .product .product-bg,
body[data-menu-design="text"] .products-list .product__img {
  display: none !important;
}
body[data-menu-design="text"] .products-list .product__right {
  width: auto !important;
  flex: 1 1 auto !important;
  max-width: none !important;
  min-width: 0 !important;
  padding-left: 0 !important;
}
body[data-menu-design="text"] .product-title p {
  font-size: 1rem !important;
  justify-content: space-between !important;
  width: 100%;
  gap: 10px;
}
body[data-menu-design="text"] .products-list .product__right .product-title span {
  margin-left: auto;
  white-space: nowrap;
  font-size: 13px !important;
  font-weight: 600 !important;
  font-variant-numeric: tabular-nums;
}
body[data-menu-design="text"] .products-list .product__right .product-title span del,
body[data-menu-design="text"] .products-list .product__right .product-title span:has(del) {
  color: #94a3b8 !important;
  -webkit-text-fill-color: #94a3b8 !important;
  font-weight: 600 !important;
}
body[data-menu-design="text"] .product-short p {
  font-size: 13px !important;
  opacity: .75;
}
body[data-menu-design="text"].dark {
  --primary-color: 148, 163, 184;
  --primary-color-h: #94a3b8;
  background: #0f172a !important;
}
body[data-menu-design="text"].dark .header {
  background: #1e293b !important;
  border-bottom-color: rgba(255, 255, 255, .08) !important;
}
body[data-menu-design="text"].dark .category-screen,
body[data-menu-design="text"].dark .products-list {
  background: #0f172a !important;
}
body[data-menu-design="text"].dark .category,
body[data-menu-design="text"].dark .products-list .product {
  border-bottom-color: rgba(255, 255, 255, .1) !important;
}
body[data-menu-design="text"].dark .text-primary-col,
body[data-menu-design="text"].dark .products-list .product__right .product-title span {
  color: #2dd4bf !important;
  -webkit-text-fill-color: #2dd4bf !important;
}

/* ── Sheet: printed menu, no images at all ──────────── */
body[data-menu-design="sheet"] {
  --primary-color: 68, 64, 60;
  --primary-color-h: #44403c;
  --sheet-line: rgba(68, 64, 60, .18);
  background: #faf8f5 !important;
}
body[data-menu-design="sheet"] .header {
  background: #f5f2ec !important;
  border-bottom: 1px solid var(--sheet-line) !important;
  box-shadow: none !important;
}
body[data-menu-design="sheet"] .bg-primary {
  background: #44403c !important;
}
body[data-menu-design="sheet"] .text-primary-col {
  color: #c2410c !important;
}
body[data-menu-design="sheet"] .products-list .product__right .product-title span {
  color: #c2410c !important;
  -webkit-text-fill-color: #c2410c !important;
}
body[data-menu-design="sheet"] .page-title p,
body[data-menu-design="sheet"] #naslovSection {
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: .95rem !important;
}
body[data-menu-design="sheet"] .category-screen {
  grid-template-columns: 1fr !important;
  gap: 0 !important;
  padding: 10px 18px 24px !important;
  background: #faf8f5 !important;
}
body[data-menu-design="sheet"] .category {
  flex-direction: row !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 14px 0 !important;
  border: 0 !important;
  border-bottom: 1px solid var(--sheet-line) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
body[data-menu-design="sheet"] .category__img {
  display: none !important;
}
body[data-menu-design="sheet"] .category__bottom {
  margin-top: 0 !important;
  text-align: left;
  flex: 1;
  width: 100%;
}
body[data-menu-design="sheet"] .category__bottom p {
  font-size: 1.15rem !important;
  text-align: left !important;
  font-weight: 700 !important;
  letter-spacing: .02em;
}
body[data-menu-design="sheet"] .products-list {
  grid-template-columns: 1fr !important;
  gap: 0 !important;
  padding: 10px 18px 24px !important;
  background: #faf8f5 !important;
  align-content: start;
}
body[data-menu-design="sheet"] .products-list .product {
  border: 0 !important;
  border-bottom: 1px dotted var(--sheet-line) !important;
  border-radius: 0 !important;
  padding: 14px 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  gap: 8px;
  align-items: flex-start !important;
}
body[data-menu-design="sheet"] .products-list .product .product-bg,
body[data-menu-design="sheet"] .products-list .product__img {
  display: none !important;
}
body[data-menu-design="sheet"] .products-list .product__right {
  width: auto !important;
  flex: 1 1 auto !important;
  max-width: none !important;
  min-width: 0 !important;
  padding-left: 0 !important;
}
body[data-menu-design="sheet"] .product-title p {
  font-size: 1.05rem !important;
  font-weight: 600 !important;
  justify-content: space-between !important;
  width: 100%;
  gap: 12px;
  align-items: baseline !important;
}
body[data-menu-design="sheet"] .products-list .product__right .product-title span {
  margin-left: auto;
  white-space: nowrap;
  font-size: 13px !important;
  font-weight: 600 !important;
  font-variant-numeric: tabular-nums;
}
body[data-menu-design="sheet"] .products-list .product__right .product-title span del,
body[data-menu-design="sheet"] .products-list .product__right .product-title span:has(del) {
  color: #a8a29e !important;
  -webkit-text-fill-color: #a8a29e !important;
  font-weight: 600 !important;
}
body[data-menu-design="sheet"] .product-short {
  padding-top: 2px !important;
}
body[data-menu-design="sheet"] .product-short p {
  font-size: 13px !important;
  font-style: italic;
  opacity: .7;
  line-height: 1.35;
}
body[data-menu-design="sheet"].dark {
  --primary-color: 214, 211, 209;
  --primary-color-h: #d6d3d1;
  --sheet-line: rgba(255, 255, 255, .14);
  background: #1c1917 !important;
}
body[data-menu-design="sheet"].dark .header {
  background: #292524 !important;
}
body[data-menu-design="sheet"].dark .category-screen,
body[data-menu-design="sheet"].dark .products-list {
  background: #1c1917 !important;
}
body[data-menu-design="sheet"].dark .text-primary-col,
body[data-menu-design="sheet"].dark .products-list .product__right .product-title span {
  color: #fb923c !important;
  -webkit-text-fill-color: #fb923c !important;
}

/* Classic: ensure header follows dark tokens (bg-lighter can stay light) */
body[data-menu-design="classic"].dark .header {
  background: rgb(var(--bg-color-1)) !important;
  border-bottom-color: rgba(255, 255, 255, .08) !important;
}

/* Bold stays dark-nav in both modes; keep icons readable in light too */
body[data-menu-design="bold"].dark .header {
  background: #020617 !important;
}

/* Shared QR badge helper (admin preview) */
.qr-with-logo { position: relative; }
.qr-logo-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 22%;
  height: 22%;
  min-width: 40px;
  min-height: 40px;
  border-radius: 10px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 3px #fff;
  overflow: hidden;
  z-index: 2;
  pointer-events: none;
}
.qr-logo-badge img {
  width: 86%;
  height: 86%;
  object-fit: contain;
}

body[data-menu-design="elegant"] .category__img {
  min-height: 78px;
}
body[data-menu-design="elegant"] .category__img img.menu-ph,
body[data-menu-design="elegant"] .product__img img.menu-ph {
  background: #efe6d8;
  border-radius: 4px;
  min-height: 64px;
  width: 100% !important;
  padding: 8px;
}
body[data-menu-design="soft"] .category__img img.menu-ph,
body[data-menu-design="soft"] .product__img img.menu-ph {
  background: #e0f2fe;
  border-radius: 18px;
}
body[data-menu-design="list"] .category__img img.menu-ph,
body[data-menu-design="list"] .product__img img.menu-ph {
  background: #e4f1f3;
  border-radius: 16px;
  min-height: 0 !important;
  padding: 0 !important;
}
body[data-menu-design="catalog"] .category__img img.menu-ph,
body[data-menu-design="catalog"] .product__img img.menu-ph {
  background: #dcf5f1;
  border-radius: 18px;
  min-height: 0 !important;
  padding: 0 !important;
}
body[data-menu-design="tiles"] .category__img img.menu-ph,
body[data-menu-design="tiles"] .product__img img.menu-ph {
  background: #dbeafe;
  border-radius: 18px;
  min-height: 0 !important;
  padding: 0 !important;
}
body[data-menu-design="list"] .category__img img,
body[data-menu-design="list"] .product__img img,
body[data-menu-design="catalog"] .category__img img,
body[data-menu-design="catalog"] .product__img img,
body[data-menu-design="tiles"] .category__img img,
body[data-menu-design="tiles"] .product__img img,
body[data-menu-design="text"] .category__img img,
body[data-menu-design="text"] .product__img img,
body[data-menu-design="sheet"] .category__img img,
body[data-menu-design="sheet"] .product__img img,
body[data-menu-design="text"] .category__img img.menu-ph,
body[data-menu-design="text"] .product__img img.menu-ph,
body[data-menu-design="sheet"] .category__img img.menu-ph,
body[data-menu-design="sheet"] .product__img img.menu-ph {
  padding: 0 !important;
}

body[data-menu-design="bold"] .category__img img.menu-ph,
body[data-menu-design="bold"] .product__img img.menu-ph {
  background: #e2e8f0;
  border-radius: 4px;
}

/* ── Call waiter / ask bill dialogs ─────────────────── */
body.svc-overlay {
  overflow: hidden;
}
.svc-dialog {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}
.svc-dialog.is-open {
  display: flex;
}
.svc-dialog__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 18, 22, .48);
  backdrop-filter: blur(4px);
}
.svc-dialog__sheet {
  position: relative;
  z-index: 1;
  width: min(100%, 380px);
  background: rgb(var(--high-soft-color, 252, 252, 252));
  color: rgb(var(--main-txt-color, 51, 51, 51));
  border-radius: 22px;
  padding: 28px 22px 20px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, .28);
  text-align: center;
  animation: svcSheetIn .22s ease-out;
}
@keyframes svcSheetIn {
  from { opacity: 0; transform: translateY(18px) scale(.98); }
  to { opacity: 1; transform: none; }
}
.svc-dialog__x {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  opacity: .55;
}
.svc-dialog__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--primary-color, 25, 83, 92), .12);
  color: var(--primary-color-h, #19535c);
  font-size: 26px;
}
.svc-dialog__icon--bill {
  background: rgba(225, 29, 72, .12);
  color: #e11d48;
}
.svc-dialog__icon--waiter {
  background: rgba(var(--primary-color, 25, 83, 92), .14);
  color: var(--primary-color-h, #19535c);
}
.svc-dialog__title {
  margin: 0 0 8px;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.25;
}
.svc-dialog__hint {
  margin: 0 0 22px;
  font-size: .95rem;
  line-height: 1.45;
  opacity: .72;
}
.svc-dialog__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.svc-dialog__actions:has(> .svc-dialog__btn:only-child),
.svc-dialog__actions--single {
  grid-template-columns: 1fr;
}
.svc-dialog__btn {
  appearance: none;
  border: 0;
  border-radius: 14px;
  padding: 14px 12px;
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .12s ease, opacity .12s ease;
}
.svc-dialog__btn:active {
  transform: scale(.98);
}
.svc-dialog__btn--ghost {
  background: rgba(var(--main-txt-color, 51, 51, 51), .08);
  color: inherit;
}
.svc-dialog__btn--primary {
  background: var(--primary-color-h, #19535c);
  color: #fff !important;
}
.svc-dialog__btn--block {
  width: 100%;
  margin-top: 12px;
  display: block;
}
.svc-dialog__pay {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.svc-pay-opt {
  appearance: none;
  border: 1px solid rgba(var(--main-txt-color, 51, 51, 51), .12);
  background: rgba(var(--main-txt-color, 51, 51, 51), .04);
  border-radius: 16px;
  padding: 18px 12px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: inherit;
  transition: border-color .15s ease, background .15s ease, transform .12s ease;
}
.svc-pay-opt i {
  font-size: 1.45rem;
  color: var(--primary-color-h, #19535c);
}
.svc-pay-opt:active {
  transform: scale(.98);
}
.svc-pay-opt:hover {
  border-color: var(--primary-color-h, #19535c);
  background: rgba(var(--primary-color, 25, 83, 92), .08);
}
.svc-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 100;
  max-width: min(90vw, 340px);
  padding: 12px 18px;
  border-radius: 999px;
  background: #123f47;
  color: #fff !important;
  font-size: .92rem;
  font-weight: 600;
  text-align: center;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .28);
}
.svc-toast.is-error {
  background: #9f1239;
}
body.dark .svc-dialog__sheet {
  background: #1c2426;
  color: #f3f6f7;
}
body.dark .svc-pay-opt {
  background: rgba(255, 255, 255, .04);
  border-color: rgba(255, 255, 255, .1);
}

/* ── Product note / quantity layout ─────────────────── */
.products-list .product .product__right,
.product-modal .product-note,
.product-modal .product-note-actions {
  min-width: 0;
}
.products-list .product .product-note .input-note,
.product-modal .product-note .input-note {
  width: 100%;
  align-items: stretch;
}
.products-list .product .product-note .note-icon,
.product-modal .product-note .note-icon {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 32px;
  height: 100%;
  padding-top: 10px !important;
  left: 0;
  top: 0;
  z-index: 1;
  pointer-events: none;
}
.products-list .product .product-note .note-icon i,
.product-modal .product-note .note-icon i {
  color: rgba(18, 63, 71, .45);
  font-size: 15px;
  line-height: 1;
}
body.dark .products-list .product .product-note .note-icon i,
body.dark .product-modal .product-note .note-icon i {
  color: rgba(255, 255, 255, .45);
}

@media (max-width: 640px) {
  /* Flex keeps +/− on the same row without stealing space from image/title.
     (Grid was wrong: .product-bg counted as a column and collapsed the layout.) */
  body[data-menu-design] .products-list .product,
  .products-list .product {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    gap: 10px !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
  body[data-menu-design] .products-list .product .product-bg,
  .products-list .product .product-bg {
    position: absolute !important;
    inset: 0 !important;
    z-index: 0 !important;
    pointer-events: none !important;
  }
  body[data-menu-design] .products-list .product__img,
  .products-list .product__img {
    flex: 0 0 100px !important;
    width: 100px !important;
    max-width: 100px !important;
    min-width: 100px !important;
    position: relative;
    z-index: 1;
  }
  body[data-menu-design] .products-list .product__img img,
  .products-list .product__img img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-height: 100px !important;
    object-fit: cover !important;
  }
  body[data-menu-design] .products-list .product__right,
  .products-list .product__right {
    flex: 1 1 auto !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    padding-left: 0 !important;
    position: relative;
    z-index: 1;
  }
  .products-list .product .product-title p {
    line-height: 1.25;
  }
  body[data-menu-design] .products-list .product-actions,
  .products-list .product-actions {
    flex: 0 0 52px !important;
    width: 52px !important;
    min-width: 52px !important;
    max-width: 52px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-top: 0 !important;
    position: relative;
    z-index: 1;
  }
  .products-list .product-actions .product-action {
    width: 100%;
  }
  .products-list .product .product-note textarea {
    min-height: 52px;
    padding-left: 34px !important;
    padding-right: 8px !important;
    font-size: 13px;
  }

  /* Product grids: keep vertical cards (override list-row flex above) */
  body[data-menu-design="catalog"] .products-list .product,
  body[data-menu-design="tiles"] .products-list .product {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  body[data-menu-design="catalog"] .products-list .product__img,
  body[data-menu-design="tiles"] .products-list .product__img {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    aspect-ratio: 1 / 1;
  }
  body[data-menu-design="catalog"] .products-list .product__img img,
  body[data-menu-design="tiles"] .products-list .product__img img {
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    object-fit: cover !important;
  }
  body[data-menu-design="catalog"] .products-list .product__right,
  body[data-menu-design="tiles"] .products-list .product__right {
    width: 100% !important;
    flex: 1 1 auto !important;
  }
  body[data-menu-design="catalog"] .products-list .product-actions,
  body[data-menu-design="tiles"] .products-list .product-actions {
    flex: 0 0 auto !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    flex-direction: row !important;
  }

  /* Text-only lists: no image columns */
  body[data-menu-design="text"] .products-list .product__img,
  body[data-menu-design="text"] .category__img,
  body[data-menu-design="sheet"] .products-list .product__img,
  body[data-menu-design="sheet"] .category__img {
    display: none !important;
    flex: 0 0 0 !important;
    width: 0 !important;
    min-width: 0 !important;
    max-width: 0 !important;
  }
  body[data-menu-design="text"] .products-list .product__right,
  body[data-menu-design="sheet"] .products-list .product__right {
    flex: 1 1 auto !important;
    width: auto !important;
    max-width: none !important;
  }


  .product-modal .product-note-actions {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 10px;
    width: 100%;
    align-items: stretch;
  }
  .product-modal .product-note {
    flex: 1 1 auto;
    min-width: 0;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .product-modal .product-note textarea {
    min-height: 88px;
    padding-left: 34px !important;
    padding-right: 8px !important;
  }
  .product-modal .product-actions {
    flex: 0 0 52px;
    width: 52px !important;
    min-width: 52px;
    padding: 0 !important;
    margin: 0 !important;
  }
}

/* Header language switcher + action chips (theme, bill, waiter) */
.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-shrink: 0;
  min-width: 0;
}

.header-lang {
  position: relative;
  margin-right: 0;
  flex-shrink: 0;
  z-index: 60;
}

.header-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  padding: 0;
  margin: 0;
  border: 1px solid rgba(25, 83, 92, .16);
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  color: rgb(var(--main-txt-color));
  box-shadow: 0 4px 14px rgba(15, 28, 36, .06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  line-height: 1;
  transition: background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .15s ease;
}

.header-chip:hover,
.header-chip:focus-visible {
  background: #fff;
  border-color: rgba(25, 83, 92, .28);
  box-shadow: 0 8px 22px rgba(15, 28, 36, .1);
  outline: none;
}

.header-chip:active {
  transform: scale(.96);
}

.header-chip svg {
  width: 20px;
  height: 20px;
  stroke: rgb(var(--primary-color));
  flex-shrink: 0;
}

.header-chip i {
  font-size: 18px;
  color: rgb(var(--primary-color));
  line-height: 1;
}

.header-chip--bill i {
  color: #b45309;
}

.header-lang.is-open {
  z-index: 70;
}

.header-lang__trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 40px;
  padding: 0 12px 0 11px;
  border-radius: 999px;
  border: 1px solid rgba(25, 83, 92, .16);
  background: rgba(255, 255, 255, .72);
  color: rgb(var(--main-txt-color));
  box-shadow: 0 4px 14px rgba(15, 28, 36, .06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .15s ease;
}

.header-lang__trigger:hover,
.header-lang.is-open .header-lang__trigger {
  background: #fff;
  border-color: rgba(25, 83, 92, .28);
  box-shadow: 0 8px 22px rgba(15, 28, 36, .1);
}

.header-lang__globe {
  font-size: 13px;
  color: rgb(var(--primary-color));
  opacity: .95;
}

.header-lang__globe-svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: rgb(var(--primary-color));
  display: block;
}

.header-lang__flag {
  font-size: 20px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.header-lang__opt .header-lang__flag {
  font-size: 28px;
  width: 1.45em;
}

/* PDF / image menu language chooser — larger flag pills */
.langs-outer .lang-circle,
.langs-menu .lang-menu {
  width: clamp(52px, 14vw, 72px);
  height: clamp(52px, 14vw, 72px);
}

.lang-flag-emoji {
  font-size: clamp(30px, 7vw, 48px);
  line-height: 1;
  display: block;
  filter: none !important;
}

.lang-circle .lang-globe-svg {
  width: 55%;
  height: 55%;
  color: #fff;
  stroke: #fff;
  filter: none !important;
}

.header-lang__code {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  line-height: 1;
}

.header-lang__chev {
  font-size: 10px;
  opacity: .55;
  transition: transform .18s ease;
}

.header-lang.is-open .header-lang__chev {
  transform: rotate(180deg);
}

.header-lang__menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 196px;
  padding: 8px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(25, 83, 92, .1);
  box-shadow: 0 18px 44px rgba(15, 28, 36, .16);
  animation: headerLangIn .16s ease both;
  z-index: 80;
}

.header-lang__menu[hidden] {
  display: none !important;
}

@keyframes headerLangIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

.header-lang__title {
  margin: 0 0 6px;
  padding: 4px 10px 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(15, 28, 36, .45);
  border-bottom: 1px solid rgba(25, 83, 92, .08);
}

.header-lang__opt {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 42px;
  padding: 8px 10px;
  border-radius: 12px;
  text-decoration: none;
  color: rgb(var(--main-txt-color));
  transition: background .15s ease;
}

.header-lang__opt:hover {
  background: rgba(25, 83, 92, .06);
}

.header-lang__opt.is-active {
  background: rgba(25, 83, 92, .1);
}

.header-lang__opt-code {
  flex: 0 0 auto;
  min-width: 34px;
  height: 26px;
  padding: 0 7px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  background: rgba(25, 83, 92, .08);
  color: #19535c;
}

.header-lang__opt.is-active .header-lang__opt-code {
  background: #19535c;
  color: #fff;
}

.header-lang__opt-name {
  flex: 1 1 auto;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}

.header-lang__check {
  font-size: 11px;
  color: #19535c;
  opacity: .9;
}

/* Design themes (light) */
body[data-menu-design="modern"] .header-lang__trigger,
body[data-menu-design="modern"] .header-chip {
  border-radius: 14px;
  border-color: rgba(42, 138, 150, .18);
}

body[data-menu-design="elegant"] .header-lang__trigger,
body[data-menu-design="elegant"] .header-chip {
  border-radius: 10px;
  border-color: rgba(92, 64, 51, .18);
}

body[data-menu-design="elegant"] .header-lang__globe,
body[data-menu-design="elegant"] .header-lang__opt.is-active .header-lang__opt-code,
body[data-menu-design="elegant"] .header-lang__check {
  color: #5c4033;
}

body[data-menu-design="elegant"] .header-lang__opt.is-active .header-lang__opt-code {
  background: #5c4033;
  color: #fff;
}

body[data-menu-design="bold"] .header-lang__trigger,
body[data-menu-design="bold"] .header-chip {
  border-radius: 8px;
  border-width: 2px;
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .35);
  color: #fff;
}

body[data-menu-design="bold"] .header-lang__globe,
body[data-menu-design="bold"] .header-lang__code,
body[data-menu-design="bold"] .header-lang__chev {
  color: #fff;
}

body[data-menu-design="soft"] .header-lang__trigger,
body[data-menu-design="soft"] .header-chip {
  border-radius: 999px;
  border-color: rgba(14, 116, 144, .16);
  background: rgba(255, 255, 255, .85);
}

body[data-menu-design="soft"] .header-lang__globe {
  color: #0e7490;
}

body[data-menu-design="soft"] .header-lang__opt.is-active .header-lang__opt-code {
  background: #0e7490;
}

/* ── Dark theme (must follow design light rules) ── */
body.dark .header-lang__trigger,
body.dark .header-chip {
  background: rgba(32, 36, 40, .92);
  border-color: rgba(255, 255, 255, .14);
  color: rgb(var(--main-txt-color));
  box-shadow: 0 4px 16px rgba(0, 0, 0, .28);
}

body.dark .header-lang__trigger:hover,
body.dark .header-lang.is-open .header-lang__trigger,
body.dark .header-chip:hover,
body.dark .header-chip:focus-visible {
  background: rgba(42, 48, 54, .98);
  border-color: rgba(255, 255, 255, .22);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
}

body.dark .header-chip svg {
  stroke: #6ecad3;
}

body.dark .header-chip i {
  color: #6ecad3;
}

body.dark .header-chip--bill i {
  color: #fbbf24;
}

body.dark .header-lang__globe {
  color: #6ecad3;
}

body.dark .header-lang__code,
body.dark .header-lang__chev {
  color: rgb(var(--main-txt-color));
}

body.dark .header-lang__chev {
  opacity: .65;
}

body.dark .header-lang__menu {
  background: #1e2228;
  border-color: rgba(255, 255, 255, .1);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .5);
}

body.dark .header-lang__title {
  color: rgba(255, 255, 255, .42);
  border-bottom-color: rgba(255, 255, 255, .08);
}

body.dark .header-lang__opt {
  color: rgb(var(--main-txt-color));
}

body.dark .header-lang__opt:hover {
  background: rgba(255, 255, 255, .06);
}

body.dark .header-lang__opt.is-active {
  background: rgba(42, 138, 150, .16);
}

body.dark .header-lang__opt-code {
  background: rgba(255, 255, 255, .08);
  color: #c8e8ec;
}

body.dark .header-lang__opt.is-active .header-lang__opt-code {
  background: #2a8a96;
  color: #fff;
}

body.dark .header-lang__opt-name {
  color: rgb(var(--main-txt-color));
}

body.dark .header-lang__check {
  color: #6ecad3;
}

/* Dark + menu design variants */
body.dark[data-menu-design="modern"] .header-lang__trigger,
body.dark[data-menu-design="modern"] .header-chip {
  border-color: rgba(42, 138, 150, .28);
}

body.dark[data-menu-design="modern"] .header-lang__globe {
  color: #5ec4d0;
}

body.dark[data-menu-design="elegant"] .header-lang__trigger,
body.dark[data-menu-design="elegant"] .header-chip {
  border-color: rgba(196, 168, 148, .22);
}

body.dark[data-menu-design="elegant"] .header-lang__globe,
body.dark[data-menu-design="elegant"] .header-lang__check {
  color: #c4a894;
}

body.dark[data-menu-design="elegant"] .header-lang__opt.is-active .header-lang__opt-code {
  background: #8b6f5c;
  color: #fff;
}

body.dark[data-menu-design="bold"] .header-lang__trigger,
body.dark[data-menu-design="bold"] .header-chip {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .28);
  color: #f1f5f9;
}

body.dark[data-menu-design="bold"] .header-lang__globe,
body.dark[data-menu-design="bold"] .header-lang__code,
body.dark[data-menu-design="bold"] .header-lang__chev {
  color: #f1f5f9;
}

body.dark[data-menu-design="soft"] .header-lang__trigger,
body.dark[data-menu-design="soft"] .header-chip {
  background: rgba(30, 41, 59, .92);
  border-color: rgba(14, 116, 144, .28);
}

body.dark[data-menu-design="soft"] .header-lang__globe {
  color: #38bdf8;
}

body.dark[data-menu-design="soft"] .header-lang__opt.is-active .header-lang__opt-code {
  background: #0e7490;
}

body.dark[data-menu-design="classic"] .header-lang__trigger,
body.dark[data-menu-design="classic"] .header-chip {
  background: rgba(34, 34, 34, .92);
  border-color: rgba(255, 255, 255, .12);
}

/* Bold: dark nav even in light mode — dropdown must match (inside .header) */
body[data-menu-design="bold"] .header-lang__trigger:hover,
body[data-menu-design="bold"] .header-lang.is-open .header-lang__trigger,
body[data-menu-design="bold"] .header-chip:hover,
body[data-menu-design="bold"] .header-chip:focus-visible {
  background: rgba(255, 255, 255, .14) !important;
  border-color: rgba(255, 255, 255, .45) !important;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .35) !important;
  color: #fff !important;
}

body[data-menu-design="bold"] .header .header-lang__menu {
  background: #1e2228 !important;
  border-color: rgba(255, 255, 255, .1) !important;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .5) !important;
}

body[data-menu-design="bold"] .header .header-lang__title {
  color: rgba(255, 255, 255, .42) !important;
  border-bottom-color: rgba(255, 255, 255, .08) !important;
}

body[data-menu-design="bold"] .header .header-lang__opt {
  color: #f1f5f9 !important;
}

body[data-menu-design="bold"] .header .header-lang__opt:hover {
  background: rgba(255, 255, 255, .06) !important;
}

body[data-menu-design="bold"] .header .header-lang__opt.is-active {
  background: rgba(255, 255, 255, .1) !important;
}

body[data-menu-design="bold"] .header .header-lang__opt-code {
  background: rgba(255, 255, 255, .08) !important;
  color: #e2e8f0 !important;
}

body[data-menu-design="bold"] .header .header-lang__opt.is-active .header-lang__opt-code {
  background: #334155 !important;
  color: #fff !important;
}

body[data-menu-design="bold"] .header .header-lang__opt-name {
  color: #f1f5f9 !important;
}

body[data-menu-design="bold"] .header .header-lang__check {
  color: #94a3b8 !important;
}

/* Dark mode + design themes: reinforce dropdown (beats base white menu) */
body.dark[data-menu-design="modern"] .header-lang__menu,
body.dark[data-menu-design="elegant"] .header-lang__menu,
body.dark[data-menu-design="soft"] .header-lang__menu,
body.dark[data-menu-design="classic"] .header-lang__menu,
body.dark[data-menu-design="bold"] .header-lang__menu {
  background: #1e2228;
  border-color: rgba(255, 255, 255, .1);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .5);
}

body.dark[data-menu-design="modern"] .header-lang__title,
body.dark[data-menu-design="elegant"] .header-lang__title,
body.dark[data-menu-design="soft"] .header-lang__title,
body.dark[data-menu-design="classic"] .header-lang__title,
body.dark[data-menu-design="bold"] .header-lang__title {
  color: rgba(255, 255, 255, .42);
  border-bottom-color: rgba(255, 255, 255, .08);
}

body.dark[data-menu-design="modern"] .header-lang__opt:hover,
body.dark[data-menu-design="elegant"] .header-lang__opt:hover,
body.dark[data-menu-design="soft"] .header-lang__opt:hover,
body.dark[data-menu-design="classic"] .header-lang__opt:hover,
body.dark[data-menu-design="bold"] .header-lang__opt:hover {
  background: rgba(255, 255, 255, .06);
}

body.dark[data-menu-design="modern"] .header-lang__opt-code,
body.dark[data-menu-design="elegant"] .header-lang__opt-code,
body.dark[data-menu-design="soft"] .header-lang__opt-code,
body.dark[data-menu-design="classic"] .header-lang__opt-code,
body.dark[data-menu-design="bold"] .header-lang__opt-code {
  background: rgba(255, 255, 255, .08);
  color: #c8e8ec;
}

body.dark[data-menu-design="modern"] .header-lang__trigger:hover,
body.dark[data-menu-design="modern"] .header-lang.is-open .header-lang__trigger,
body.dark[data-menu-design="modern"] .header-chip:hover,
body.dark[data-menu-design="elegant"] .header-lang__trigger:hover,
body.dark[data-menu-design="elegant"] .header-lang.is-open .header-lang__trigger,
body.dark[data-menu-design="elegant"] .header-chip:hover,
body.dark[data-menu-design="soft"] .header-lang__trigger:hover,
body.dark[data-menu-design="soft"] .header-lang.is-open .header-lang__trigger,
body.dark[data-menu-design="soft"] .header-chip:hover,
body.dark[data-menu-design="classic"] .header-lang__trigger:hover,
body.dark[data-menu-design="classic"] .header-lang.is-open .header-lang__trigger,
body.dark[data-menu-design="classic"] .header-chip:hover,
body.dark[data-menu-design="bold"] .header-lang__trigger:hover,
body.dark[data-menu-design="bold"] .header-lang.is-open .header-lang__trigger,
body.dark[data-menu-design="bold"] .header-chip:hover {
  background: rgba(42, 48, 54, .98);
  border-color: rgba(255, 255, 255, .22);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
}

/* Image/PDF menu: floating call waiter / request bill (icon-only chips) */
.pdf-service-bar {
  position: fixed;
  top: max(10px, env(safe-area-inset-top, 0px));
  right: max(10px, env(safe-area-inset-right, 0px));
  z-index: 60;
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  max-width: calc(100vw - 20px);
  pointer-events: none;
}
.pdf-service-bar .header-chip {
  pointer-events: auto;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  max-width: 44px;
  max-height: 44px;
  padding: 0;
  gap: 0;
  overflow: hidden;
  border-radius: 999px;
  border: 1px solid rgba(25, 83, 92, .16);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 8px 24px rgba(15, 28, 36, .14);
  color: #123f47;
  font-size: 0;
  line-height: 0;
}
.pdf-service-bar .header-chip span {
  display: none;
}
.pdf-service-bar .header-chip i {
  font-size: 16px;
  line-height: 1;
  width: auto;
  height: auto;
  display: block;
}
/* Category row chevron — list-style themes (right side was empty) */
.category__chevron {
  display: none;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  width: 28px;
  height: 28px;
  color: rgba(var(--primary-color), .55);
  font-size: 14px;
  line-height: 1;
  pointer-events: none;
}
body[data-menu-design="elegant"] .category__chevron,
body[data-menu-design="list"] .category__chevron,
body[data-menu-design="catalog"] .category__chevron,
body[data-menu-design="text"] .category__chevron,
body[data-menu-design="sheet"] .category__chevron {
  display: inline-flex;
}
body[data-menu-design="elegant"] .category__chevron { color: rgba(92, 64, 51, .45); }
body[data-menu-design="list"] .category__chevron { color: rgba(31, 111, 120, .45); }
body[data-menu-design="catalog"] .category__chevron { color: rgba(15, 118, 110, .45); }
body[data-menu-design="text"] .category__chevron { color: rgba(51, 65, 85, .4); }
body[data-menu-design="sheet"] .category__chevron { color: rgba(68, 64, 60, .4); }
body.dark[data-menu-design="elegant"] .category__chevron,
body.dark[data-menu-design="list"] .category__chevron,
body.dark[data-menu-design="catalog"] .category__chevron,
body.dark[data-menu-design="text"] .category__chevron,
body.dark[data-menu-design="sheet"] .category__chevron {
  color: rgba(255, 255, 255, .4);
}

/* Desktop Viewport Constraint: keep guest menus in a sleek phone width on large displays */
@media screen and (min-width: 601px) {
  html {
    min-height: 100%;
    background-color: #f1f6f8 !important;
    background-image:
      radial-gradient(ellipse 70% 50% at 20% 10%, rgba(42, 138, 150, 0.16), transparent 60%),
      radial-gradient(ellipse 65% 55% at 80% 20%, rgba(20, 184, 166, 0.14), transparent 60%),
      radial-gradient(ellipse 75% 60% at 50% 85%, rgba(56, 189, 248, 0.15), transparent 65%),
      radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.8), transparent 75%),
      linear-gradient(145deg, #f4f8fa 0%, #e8f0f3 50%, #dfe9ed 100%) !important;
    background-attachment: fixed !important;
  }

  /* Ambient light glass backdrop overlay and subtle blur */
  html::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
      radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.6) 0%, transparent 70%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.45) 0%, rgba(235, 243, 246, 0.25) 100%);
    backdrop-filter: blur(24px) saturate(140%);
    -webkit-backdrop-filter: blur(24px) saturate(140%);
    z-index: 0;
  }

  body[data-menu-design],
  body.pv-fixed-body {
    /* Потесно од поранешните 480px — на таблет/десктоп изгледа како телефон, не како широк панел. */
    max-width: 430px !important;
    margin: 24px auto 48px auto !important;
    height: auto !important;
    /* Кратки менија (2 категории) да не се „сплескани" — минимална телефонска висина. */
    min-height: min(720px, calc(100vh - 72px)) !important;
    /* Фиксна горница на екранот: долгите менија / големи слики скролаат ВНАТРЕ. */
    max-height: calc(100vh - 72px) !important;
    border-radius: 32px !important;
    border: 7px solid rgba(255, 255, 255, 0.8) !important;
    outline: 1px solid rgba(25, 83, 92, 0.12) !important;
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.9) inset,
      0 20px 60px -15px rgba(18, 63, 71, 0.22),
      0 35px 80px -20px rgba(0, 0, 0, 0.14),
      0 0 60px rgba(42, 138, 150, 0.12) !important;
    position: relative;
    z-index: 1;
    /* НЕ overflow:hidden + transform — го кршеа скролот (особено производ само со слика). */
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    background: rgb(var(--main-bg-color, 255, 255, 255));
    display: flex !important;
    flex-direction: column !important;
  }

  body[data-menu-design] .header,
  body.pv-fixed-body .pv-fixed-bar {
    border-top-left-radius: 24px !important;
    border-top-right-radius: 24px !important;
  }

  /* Главната содржина да го пополни минимумот на висина */
  body[data-menu-design] > .main,
  body[data-menu-design] > main,
  body[data-menu-design] .page-content,
  body[data-menu-design] #app {
    flex: 1 1 auto;
    min-height: 0;
  }

  body.pv-fixed-body {
    height: min(780px, calc(100vh - 72px)) !important;
    min-height: min(720px, calc(100vh - 72px)) !important;
    max-height: calc(100vh - 72px) !important;
  }

  body.pv-fixed-body .pv-fixed {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }

  body.pv-fixed-body .pv-fixed-scroll {
    flex: 1 1 auto;
    min-height: 0;
  }

  body.dark[data-menu-design],
  body.dark.pv-fixed-body {
    border-color: rgba(255, 255, 255, 0.15) !important;
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.12) inset,
      0 20px 60px -15px rgba(0, 0, 0, 0.6),
      0 0 60px rgba(42, 138, 150, 0.18) !important;
  }

  /* Overlay-ите мора да се врзат за телефонскиот frame (body), не за целиот екран —
     инаку на desktop излегуваат надвор од wrapper-от. */
  body[data-menu-design] .svc-dialog {
    position: absolute !important;
    inset: 0 !important;
    left: 0 !important;
    right: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
    width: auto !important;
    max-width: none !important;
    transform: none !important;
    align-items: flex-end !important;
    padding: 16px !important;
    box-sizing: border-box;
    border-radius: 25px;
    overflow: hidden;
  }

  body[data-menu-design] .pdf-service-bar {
    position: absolute;
    top: 14px;
    right: 14px;
    left: auto;
    max-width: calc(100% - 28px);
  }

  .product-modal {
    max-width: 400px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    max-height: min(78vh, calc(100vh - 96px)) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  body.page-tema .product-modal,
  body[data-menu-design="page"] .product-modal,
  body[data-menu-design="pagegrid"] .product-modal {
    max-width: min(92vw, 640px) !important;
    width: min(92vw, 640px) !important;
  }

  /* Полна слика без опис: ограничи ја висината за да се стигне до цена/акции. */
  .product-modal .product-img.fullsized img {
    max-height: min(52vh, 460px);
    width: 100%;
    object-fit: contain;
    display: block;
  }

  .cart-bottom__fixed {
    max-width: 430px !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    border-radius: 24px 24px 0 0 !important;
  }

  .copy {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-top: 1px solid rgba(25, 83, 92, 0.08) !important;
    padding: 8px 16px !important;
    margin-top: auto;
  }

  body.dark .copy {
    background: rgba(25, 25, 25, 0.85) !important;
    border-top-color: rgba(255, 255, 255, 0.1) !important;
  }

  body.dark .copy p {
    color: #ccc !important;
  }
}

body[data-menu-design="page"],
body[data-menu-design="pagegrid"] {
  --primary-color: 28, 25, 23;
  --primary-color-h: #1c1917;
  background: #ffffff !important;
}
body[data-menu-design="page"] .header,
body[data-menu-design="pagegrid"] .header {
  background: rgba(255, 255, 255, .94) !important;
  border-bottom: 1px solid rgba(28, 25, 23, .08) !important;
  backdrop-filter: blur(10px);
}
body[data-menu-design="page"] .category-screen,
body[data-menu-design="page"] .products-list,
body[data-menu-design="pagegrid"] .category-screen,
body[data-menu-design="pagegrid"] .products-list {
  display: none !important;
}
body[data-menu-design="page"] .page-menu,
body[data-menu-design="pagegrid"] .page-menu {
  display: block !important;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}
.page-menu__hero {
  min-height: min(72vh, 560px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background-color: #1c1917;
  background-size: cover;
  background-position: center;
  color: #faf7f2;
  padding: 48px 24px 56px;
  text-align: center;
}
.page-menu__hero--solo {
  min-height: min(42vh, 320px);
  padding: 0;
}
.page-menu__hero-inner {
  max-width: 36rem;
  margin: 0 auto;
}
.page-menu__hero-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  margin: 0 auto 18px;
  display: block;
}
.page-menu__hero-title {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: clamp(2.4rem, 8vw, 3.6rem);
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1.05;
  margin: 0 0 22px;
  color: #faf7f2 !important;
}
.page-menu__hero-title:last-child,
.page-menu__hero-logo:last-child {
  margin-bottom: 0;
}
.page-menu__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  background: #ffffff;
  color: #1c1917 !important;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none !important;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.page-menu__body {
  max-width: 42rem;
  margin: 0 auto;
  padding: 28px 20px 24px;
}
.page-menu__panel {
  display: contents;
}
body[data-menu-design="pagegrid"] .page-menu__body {
  max-width: 56rem;
}

/* Advanced: банер како позадина на целото мени */
.page-menu.page-menu--bg {
  background-color: #1c1917;
  background-position: center top;
}
.page-menu.page-menu--bg-cover {
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: scroll;
}
.page-menu.page-menu--bg-repeat {
  background-size: 100% auto;
  background-repeat: repeat-y;
  background-attachment: scroll;
}
/* Позадина: една полупрозрачна површина со blur врз банерот */
.page-menu.page-menu--bg .page-menu__body {
  background: transparent;
  padding: 16px 14px 20px;
  margin: 0 auto;
  box-shadow: none;
  border-radius: 0;
}
.page-menu.page-menu--bg .page-menu__panel {
  display: block;
  background: rgba(255, 255, 255, .72);
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.page-menu.page-menu--bg .page-menu__intro {
  background: transparent;
  border-radius: 0;
  padding: 0;
  margin: 0 0 6px;
  box-shadow: none;
}
.page-menu.page-menu--bg .page-menu__intro-title {
  margin: 0;
}
.page-menu.page-menu--bg .page-menu__tabs-bar {
  background: transparent;
  border-radius: 0;
  margin: 0 0 8px;
  padding: 2px 0 6px;
  box-shadow: none;
  position: relative;
  top: auto;
  z-index: 5;
}
.page-menu.page-menu--bg .page-menu__tabs-bar.is-sticky {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  margin-left: -16px;
  margin-right: -16px;
  padding: 10px 16px;
  border-radius: 0 0 14px 14px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
}
.page-menu.page-menu--bg .page-menu__section {
  background: transparent;
  border-radius: 0;
  padding: 0;
  margin-bottom: 28px;
  box-shadow: none;
}
.page-menu.page-menu--bg .page-menu__section:last-of-type {
  margin-bottom: 0;
}
.page-menu.page-menu--bg .page-menu__section-title {
  border-bottom-color: rgba(28, 25, 23, .1);
  background: transparent;
  box-shadow: none;
  padding: 0 0 4px;
  margin: 0 0 8px;
  border-radius: 0;
}
.page-menu.page-menu--bg .page-menu__item {
  background: transparent;
  box-shadow: none;
  margin: 0;
  border-radius: 0;
}
.page-menu.page-menu--bg .page-menu__item:not(.page-menu__item--card) {
  padding: 14px 0;
  border-bottom: 1px solid rgba(28, 25, 23, .08);
}
.page-menu.page-menu--bg .page-menu__item:not(.page-menu__item--card):last-child {
  border-bottom: 0;
  margin-bottom: 0;
}
body[data-menu-design="pagegrid"] .page-menu.page-menu--bg .page-menu__item--card {
  background: rgba(255, 255, 255, .55);
  box-shadow: none;
  border-color: rgba(28, 25, 23, .1);
}
.page-menu__intro-title {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 600;
  margin: 0 0 8px;
  letter-spacing: -.02em;
  color: #1c1917 !important;
}
.page-menu__tabs-bar {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0 -20px 14px;
  position: relative;
  top: auto;
  z-index: 5;
  padding: 4px 20px 8px;
  background: #ffffff;
}
.page-menu__tabs-bar.is-sticky {
  position: sticky;
  top: 0;
}
.page-menu__tabs-bar.is-preliva {
  padding-left: 16px;
  padding-right: 16px;
}
.page-menu__tabs {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  padding: 0;
  background: transparent;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.page-menu__tabs::-webkit-scrollbar {
  display: none;
}
.page-menu__tabs-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(28, 25, 23, .38);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  cursor: default;
  pointer-events: none;
  font-size: .45rem;
  line-height: 1;
  box-shadow: none;
  opacity: .7;
}
.page-menu__tabs-btn--l {
  left: 4px;
}
.page-menu__tabs-btn--r {
  right: 4px;
}
.page-menu__tabs-btn[hidden] {
  display: none !important;
}
.page-menu__tabs-btn.is-kraj {
  opacity: .22;
}
.page-menu__tab {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(28, 25, 23, .14);
  background: #fff;
  color: #1c1917 !important;
  text-decoration: none !important;
  font-size: .86rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.page-menu__tab.is-active {
  background: #1c1917;
  border-color: #1c1917;
  color: #ffffff !important;
}
.page-menu__section {
  margin: 0 0 28px;
  scroll-margin-top: 52px;
}
.page-menu__section-title {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: 1.65rem;
  font-weight: 600;
  margin: 0 0 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(28, 25, 23, .12);
  color: #1c1917 !important;
}
.page-menu__item {
  padding: 14px 0;
  border-bottom: 1px solid rgba(28, 25, 23, .08);
  cursor: pointer;
}
.page-menu__item:last-child {
  border-bottom: 0;
}
.page-menu__item-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}
.page-menu__item-name {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 650;
  line-height: 1.3;
  color: #1c1917 !important;
}
.page-menu__item-price {
  flex: 0 0 auto;
  font-weight: 650;
  font-size: .98rem;
  white-space: nowrap;
  color: #1c1917 !important;
}
.page-menu__item-old {
  opacity: .45;
  font-weight: 500;
  margin-left: 4px;
}
.page-menu__item-desc {
  margin: 6px 0 0;
  font-size: .92rem;
  line-height: 1.45;
  opacity: .72;
  color: #44403c !important;
}
.page-menu__item-desc ul,
.page-menu__item-desc ol,
.product-opis-rich ul,
.product-opis-rich ol {
  margin: 0.35em 0;
  padding-left: 1.35em;
}
.page-menu__item-desc p,
.product-opis-rich p {
  margin: 0 0 0.35em;
}
.page-menu__item-desc p:last-child,
.product-opis-rich p:last-child {
  margin-bottom: 0;
}
.page-menu__item-desc b,
.page-menu__item-desc strong,
.product-opis-rich b,
.product-opis-rich strong {
  font-weight: 700;
  opacity: 1;
}
.page-menu__item-desc table,
.product-opis-rich table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.45em 0;
  table-layout: fixed;
  font-size: inherit;
}
.page-menu__item-desc th,
.page-menu__item-desc td,
.product-opis-rich th,
.product-opis-rich td {
  border: 1px solid currentColor;
  border-color: color-mix(in srgb, currentColor 28%, transparent);
  padding: 4px 6px;
  vertical-align: top;
  word-break: break-word;
}
.page-menu__item-desc th,
.product-opis-rich th {
  font-weight: 700;
}

/* pagegrid: мрежа со слика горе */
.page-menu__items--grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 6px;
  row-gap: 12px;
}
.page-menu__item--card {
  padding: 0;
  border: 1px solid rgba(28, 25, 23, .1);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.page-menu__item--card:last-child {
  border-bottom: 1px solid rgba(28, 25, 23, .1);
}
.page-menu__item-img {
  aspect-ratio: 4 / 3;
  background: #e7e5e4;
  overflow: hidden;
}
.page-menu__item-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.page-menu__item-photo.menu-ph {
  object-fit: contain;
  padding: 18%;
  opacity: .55;
}
.page-menu__item-body {
  padding: 12px 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.page-menu__item--card .page-menu__item-name {
  font-size: .98rem;
}
.page-menu__item--card .page-menu__item-price {
  font-size: .92rem;
}
.page-menu__item--card .page-menu__item-desc {
  font-size: .82rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.dark[data-menu-design="page"],
body.dark[data-menu-design="pagegrid"] {
  background: #1c1917 !important;
}
body.dark[data-menu-design="page"] .header,
body.dark[data-menu-design="pagegrid"] .header {
  background: rgba(28, 25, 23, .92) !important;
  border-bottom-color: rgba(255,255,255,.08) !important;
}
body.dark[data-menu-design="page"] .page-menu__intro-title,
body.dark[data-menu-design="page"] .page-menu__section-title,
body.dark[data-menu-design="page"] .page-menu__item-name,
body.dark[data-menu-design="page"] .page-menu__item-price,
body.dark[data-menu-design="page"] .page-menu__tab,
body.dark[data-menu-design="pagegrid"] .page-menu__intro-title,
body.dark[data-menu-design="pagegrid"] .page-menu__section-title,
body.dark[data-menu-design="pagegrid"] .page-menu__item-name,
body.dark[data-menu-design="pagegrid"] .page-menu__item-price,
body.dark[data-menu-design="pagegrid"] .page-menu__tab {
  color: #f5f2eb !important;
}
body.dark[data-menu-design="page"] .page-menu__tabs-bar,
body.dark[data-menu-design="pagegrid"] .page-menu__tabs-bar {
  background: #1c1917;
}
body.dark[data-menu-design="page"] .page-menu__tabs-btn,
body.dark[data-menu-design="pagegrid"] .page-menu__tabs-btn {
  background: transparent;
  border: 0;
  color: rgba(245, 242, 235, .45);
}
body.dark[data-menu-design="page"] .page-menu__tabs,
body.dark[data-menu-design="pagegrid"] .page-menu__tabs {
  background: transparent;
}
body.dark[data-menu-design="page"] .page-menu__tab,
body.dark[data-menu-design="pagegrid"] .page-menu__tab {
  background: #292524;
  border-color: rgba(255,255,255,.14);
}
body.dark[data-menu-design="page"] .page-menu__tab.is-active,
body.dark[data-menu-design="pagegrid"] .page-menu__tab.is-active {
  background: #f5f2eb;
  border-color: #f5f2eb;
  color: #1c1917 !important;
}
body.dark[data-menu-design="page"] .page-menu__section-title,
body.dark[data-menu-design="page"] .page-menu__item,
body.dark[data-menu-design="pagegrid"] .page-menu__section-title,
body.dark[data-menu-design="pagegrid"] .page-menu__item--card {
  border-color: rgba(255,255,255,.12);
}
body.dark[data-menu-design="page"] .page-menu__item-desc,
body.dark[data-menu-design="pagegrid"] .page-menu__item-desc {
  color: #c4bfb8 !important;
  opacity: 1;
}
body.dark[data-menu-design="pagegrid"] .page-menu__item--card {
  background: #292524;
}
body.dark[data-menu-design="pagegrid"] .page-menu__item-img {
  background: #1c1917;
}

/* Dark + позадина: полупрозрачен panel со blur */
body.dark[data-menu-design="page"] .page-menu--bg .page-menu__body,
body.dark[data-menu-design="pagegrid"] .page-menu--bg .page-menu__body {
  background: transparent;
  box-shadow: none;
}
body.dark[data-menu-design="page"] .page-menu--bg .page-menu__panel,
body.dark[data-menu-design="pagegrid"] .page-menu--bg .page-menu__panel {
  background: rgba(41, 37, 36, .78);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .4);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
body.dark[data-menu-design="page"] .page-menu--bg .page-menu__intro,
body.dark[data-menu-design="page"] .page-menu--bg .page-menu__section,
body.dark[data-menu-design="page"] .page-menu--bg .page-menu__section-title,
body.dark[data-menu-design="pagegrid"] .page-menu--bg .page-menu__intro,
body.dark[data-menu-design="pagegrid"] .page-menu--bg .page-menu__section,
body.dark[data-menu-design="pagegrid"] .page-menu--bg .page-menu__section-title {
  background: transparent;
  box-shadow: none;
}
body.dark[data-menu-design="page"] .page-menu--bg .page-menu__tabs-bar,
body.dark[data-menu-design="pagegrid"] .page-menu--bg .page-menu__tabs-bar {
  background: transparent;
  box-shadow: none;
}
body.dark[data-menu-design="page"] .page-menu--bg .page-menu__tabs-bar.is-sticky,
body.dark[data-menu-design="pagegrid"] .page-menu--bg .page-menu__tabs-bar.is-sticky {
  background: rgba(41, 37, 36, .88);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .3);
}
body.dark[data-menu-design="page"] .page-menu--bg .page-menu__item,
body.dark[data-menu-design="pagegrid"] .page-menu--bg .page-menu__item {
  background: transparent;
  box-shadow: none;
}
body.dark[data-menu-design="pagegrid"] .page-menu--bg .page-menu__item--card {
  background: rgba(28, 25, 23, .55);
  box-shadow: none;
  border-color: rgba(255, 255, 255, .1);
}
body.dark[data-menu-design="page"] .page-menu--bg .page-menu__section-title,
body.dark[data-menu-design="pagegrid"] .page-menu--bg .page-menu__section-title {
  border-bottom-color: rgba(255, 255, 255, .12);
}

/* Copyright: во page теми — на крај од скрол, не fixed */
body.page-tema .copy,
body[data-menu-design="page"] .copy,
body[data-menu-design="pagegrid"] .copy {
  position: relative !important;
  bottom: auto !important;
  left: auto !important;
  right: auto !important;
  width: 100% !important;
  margin: 12px 0 0 !important;
  padding: 14px 16px 20px !important;
  z-index: 1 !important;
  background: rgba(255, 255, 255, .92) !important;
  border-top: 1px solid rgba(28, 25, 23, .08) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
body.page-tema .page-menu--bg .copy,
body[data-menu-design="page"] .page-menu--bg .copy,
body[data-menu-design="pagegrid"] .page-menu--bg .copy {
  background: transparent !important;
  border-radius: 0;
  border-top: 1px solid rgba(28, 25, 23, .08) !important;
  box-shadow: none;
  margin: 16px 0 0 !important;
  padding: 12px 0 4px !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
body.dark.page-tema .page-menu--bg .copy,
body.dark[data-menu-design="page"] .page-menu--bg .copy,
body.dark[data-menu-design="pagegrid"] .page-menu--bg .copy {
  background: transparent !important;
  border-top-color: rgba(255, 255, 255, .1) !important;
  box-shadow: none;
}
body.dark.page-tema .copy,
body.dark[data-menu-design="page"] .copy,
body.dark[data-menu-design="pagegrid"] .copy {
  background: rgba(41, 37, 36, .96) !important;
  border-top-color: rgba(255, 255, 255, .1) !important;
}
body.dark.page-tema .copy p,
body.dark[data-menu-design="page"] .copy p,
body.dark[data-menu-design="pagegrid"] .copy p {
  color: #c4bfb8 !important;
}

@media screen and (min-width: 601px) {
  body[data-menu-design="page"] {
    max-width: 720px !important;
  }
  body[data-menu-design="pagegrid"] {
    max-width: 920px !important;
  }
  body[data-menu-design="page"] .page-menu__hero,
  body[data-menu-design="pagegrid"] .page-menu__hero {
    min-height: 420px;
    border-radius: 24px 24px 0 0;
  }
  body[data-menu-design="pagegrid"] .page-menu__items--grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 8px;
    row-gap: 14px;
  }
}

/* Таблет: уште малку потесно за да не изгледа како „широк телефон" */
@media screen and (min-width: 601px) and (max-width: 1024px) {
  body[data-menu-design]:not([data-menu-design="page"]):not([data-menu-design="pagegrid"]),
  body.pv-fixed-body {
    max-width: 400px !important;
  }

  body[data-menu-design="page"] {
    max-width: 720px !important;
  }
  body[data-menu-design="pagegrid"] {
    max-width: 920px !important;
  }

  .cart-bottom__fixed {
    max-width: 400px !important;
  }

  body[data-menu-design="page"] ~ .cart-bottom__fixed,
  body[data-menu-design="page"] .cart-bottom__fixed {
    max-width: 720px !important;
  }
  body[data-menu-design="pagegrid"] ~ .cart-bottom__fixed,
  body[data-menu-design="pagegrid"] .cart-bottom__fixed {
    max-width: 920px !important;
  }

  .product-modal {
    max-width: 400px !important;
  }

  body.page-tema .product-modal,
  body[data-menu-design="page"] .product-modal,
  body[data-menu-design="pagegrid"] .product-modal {
    max-width: min(92vw, 640px) !important;
    width: min(92vw, 640px) !important;
  }
}

/* Page теми: поширок popup + sticky header + упаден наслов */
body.page-tema .product-modal,
body[data-menu-design="page"] .product-modal,
body[data-menu-design="pagegrid"] .product-modal {
  width: min(94vw, 640px) !important;
  max-width: min(94vw, 640px) !important;
  max-height: min(86vh, calc(100vh - 48px)) !important;
  font-size: .86rem;
  line-height: 1.4;
}
body.page-tema .product-modal__head,
body[data-menu-design="page"] .product-modal__head,
body[data-menu-design="pagegrid"] .product-modal__head {
  padding: 14px 12px 14px 18px !important;
  background: #fff !important;
  border-bottom: 1px solid rgba(28, 25, 23, .1) !important;
}
body.page-tema .product-modal__title,
body.page-tema .product-modal__head p,
body[data-menu-design="page"] .product-modal__title,
body[data-menu-design="page"] .product-modal__head p,
body[data-menu-design="pagegrid"] .product-modal__title,
body[data-menu-design="pagegrid"] .product-modal__head p {
  font-family: inherit !important;
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  letter-spacing: -.01em !important;
  color: #1c1917 !important;
}
body.page-tema .product-modal .product-opis-rich,
body.page-tema .product-modal .product-desc,
body[data-menu-design="page"] .product-modal .product-opis-rich,
body[data-menu-design="page"] .product-modal .product-desc,
body[data-menu-design="pagegrid"] .product-modal .product-opis-rich,
body[data-menu-design="pagegrid"] .product-modal .product-desc {
  font-size: .84rem !important;
  line-height: 1.4 !important;
  text-align: left !important;
}
body.page-tema .product-modal .product-price p,
body[data-menu-design="page"] .product-modal .product-price p,
body[data-menu-design="pagegrid"] .product-modal .product-price p {
  font-size: .95rem !important;
}
body.page-tema .product-modal .product-img.fullsized img,
body[data-menu-design="page"] .product-modal .product-img.fullsized img,
body[data-menu-design="pagegrid"] .product-modal .product-img.fullsized img {
  max-height: min(36vh, 280px) !important;
}
body.page-tema .product-modal .close-modal,
body[data-menu-design="page"] .product-modal .close-modal,
body[data-menu-design="pagegrid"] .product-modal .close-modal {
  width: 34px;
  height: 34px;
  background: #f5f5f4;
  color: #1c1917;
}
body.page-tema .product-modal .close-modal span,
body[data-menu-design="page"] .product-modal .close-modal span,
body[data-menu-design="pagegrid"] .product-modal .close-modal span {
  font-size: 16px !important;
}
body.dark.page-tema .product-modal__head,
body.dark[data-menu-design="page"] .product-modal__head,
body.dark[data-menu-design="pagegrid"] .product-modal__head {
  background: #292524 !important;
  border-bottom-color: rgba(255, 255, 255, .12) !important;
}
body.dark.page-tema .product-modal__title,
body.dark.page-tema .product-modal__head p,
body.dark[data-menu-design="page"] .product-modal__title,
body.dark[data-menu-design="page"] .product-modal__head p,
body.dark[data-menu-design="pagegrid"] .product-modal__title,
body.dark[data-menu-design="pagegrid"] .product-modal__head p {
  color: #f5f2eb !important;
}
body.dark.page-tema .product-modal .close-modal,
body.dark[data-menu-design="page"] .product-modal .close-modal,
body.dark[data-menu-design="pagegrid"] .product-modal .close-modal {
  background: rgba(255, 255, 255, .1);
  color: #f5f2eb;
}

