/* ===== storefront templates: dark_featured · editorial_hero · fastfood_cards · warm_cafe  (classic = no rules here apply) =====
   Everything is scoped to body.tpl-<id>; the classic page is untouched. Layout uses logical properties so Arabic RTL and English LTR both work. */
.tpl-cap { display: none; }
.tpl-hide { display: none !important; }

/* ---------- shared structure of the 4 templates ---------- */
body.tpl-on .topbar, body.tpl-on #header_main, body.tpl-on section[data-sec="hero"]:not(#tplHero), body.tpl-on #main-nav-mobi { display: none !important; }
body.tpl-on { font-family: "Cairo", "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif; }
.tpl-head { position: sticky; top: 0; z-index: 900; }
.tpl-head .th-in { max-width: 1320px; margin: 0 auto; display: flex; align-items: center; gap: 16px; padding: 12px 22px; direction: rtl; }
.tpl-head .th-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.tpl-head .th-logo img { max-height: 46px; width: auto; border-radius: 8px; }
.tpl-head .th-name { font-weight: 800; font-size: 1.25rem; line-height: 1.1; }
.tpl-head .th-nav { display: flex; gap: 4px; flex: 1; overflow-x: auto; scrollbar-width: none; align-items: center; }
.tpl-head .th-nav::-webkit-scrollbar { display: none; }
.tpl-head .th-nav a { padding: 7px 16px; border-radius: 999px; white-space: nowrap; text-decoration: none; border: 2px solid transparent; font-weight: 600; font-size: .95rem; transition: .2s; }
.tpl-head .th-tools { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; flex: none; }
.tpl-head .th-tools > * { margin: 0 !important; }
.tpl-head #cartBox { list-style: none; position: relative; }
.tpl-head #cartIcon { position: relative; width: 46px; height: 46px; border-radius: 50%; display: grid !important; place-items: center; text-decoration: none; background: var(--tpl-accent); color: #fff !important; box-shadow: none; }
.tpl-head #cartIcon i { color: inherit !important; font-size: 18px; }
.tpl-head #cartIcon .number { position: absolute; top: -5px; inset-inline-end: -5px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px; background: #fff; color: #111; font: 800 .72rem/20px "Cairo", sans-serif; text-align: center; border: 2px solid var(--tpl-accent); box-sizing: content-box; }
.tpl-head #myOrder { padding: 8px 14px !important; height: auto !important; line-height: 1.2 !important; font-size: .82rem !important; border-radius: 999px !important; background: transparent !important; color: inherit !important; border: 1.5px solid currentColor !important; white-space: nowrap; }
.tpl-head #trkOther { background: transparent; border: 0; font-size: 1.1rem; cursor: pointer; padding: 4px; }
.tpl-head #tbPhoneA { font-size: .85rem; white-space: nowrap; }
.tpl-head .uislot { display: flex; gap: 6px; align-items: center; }
.tpl-hero .th-info { display: block; }
.tpl-hero .hero-info { margin: 14px 0 0; direction: rtl; }
.tpl-hero .th-title { margin: 0 0 14px; line-height: 1.12; font-weight: 800; }
.tpl-hero .th-sub { margin: 0 0 20px; line-height: 1.8; }
.tpl-hero a { text-decoration: none; }
.tpl-hero .th-wrap { max-width: 1320px; margin: 0 auto; padding: 36px 22px 24px; direction: rtl; }
body.tpl-on #page { display: flex; flex-direction: column; }
body.tpl-on .tf-section { padding-top: 56px; padding-bottom: 56px; }
@media (max-width: 860px) {
  .tpl-head .th-in { flex-wrap: wrap; gap: 8px 12px; padding: 10px 14px; }
  .tpl-head .th-nav { order: 3; flex: 1 0 100%; padding-bottom: 2px; }
  .tpl-head .th-name { font-size: 1.05rem; }
  .tpl-head #tbPhoneA, .tpl-head #trkOther { display: none; }
  .tpl-hero .th-wrap { padding: 22px 14px 18px; }
}

/* ============================================================ dark_featured ============================================================ */
body.tpl-dark_featured { --tpl-accent: #F59E0B; background: #121212 !important; color: #fff; }
body.tpl-dark_featured #wrapper, body.tpl-dark_featured .tf-section, body.tpl-dark_featured .bg-6, body.tpl-dark_featured .main-content { background: transparent !important; }
.tpl-dark_featured .tpl-head, body.tpl-dark_featured .tpl-head { background: #121212; border-bottom: 1px solid rgba(245,158,11,.18); }
body.tpl-dark_featured .th-name { color: #F59E0B; }
body.tpl-dark_featured .th-nav a { color: #fff; }
body.tpl-dark_featured .th-nav a.on, body.tpl-dark_featured .th-nav a:hover { color: #F59E0B; border-color: #F59E0B; }
body.tpl-dark_featured .th-tools, body.tpl-dark_featured .th-tools a { color: #fff; }
body.tpl-dark_featured #cartIcon .number { border-color: #F59E0B; }
body.tpl-dark_featured .tpl-hero { background: radial-gradient(1100px 500px at 85% 10%, rgba(245,158,11,.10), transparent 60%), #121212; }
body.tpl-dark_featured .tpl-hero .th-wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 28px; align-items: center; }
body.tpl-dark_featured .th-title { font-size: clamp(2.3rem, 5.2vw, 4.4rem); color: #fff; }
body.tpl-dark_featured .th-title em { color: #F59E0B; font-style: normal; }
body.tpl-dark_featured .th-sub { color: #d6d6d6; max-width: 520px; }
body.tpl-dark_featured .th-go { display: inline-flex; align-items: center; gap: 8px; color: #F59E0B; font-weight: 800; font-size: 1.05rem; border-bottom: 2px solid transparent; }
body.tpl-dark_featured .th-go:hover { border-color: #F59E0B; }
body.tpl-dark_featured .tpl-feat { display: grid; gap: 14px; margin-top: 26px; max-width: 520px; }
body.tpl-dark_featured .th-img { position: relative; min-height: 280px; }
body.tpl-dark_featured .th-img img { width: min(100%, 500px); display: block; margin-inline: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 50%; border: 6px solid rgba(245,158,11,.25); box-shadow: 0 30px 70px rgba(0,0,0,.6); position: relative; z-index: 1; }
body.tpl-dark_featured .sw { position: absolute; border: 7px solid #F59E0B; border-radius: 50%; border-color: #F59E0B transparent transparent transparent; opacity: .9; }
body.tpl-dark_featured .sw1 { width: 62%; aspect-ratio: 1; top: -4%; inset-inline-end: -2%; transform: rotate(18deg); }
body.tpl-dark_featured .sw2 { width: 44%; aspect-ratio: 1; bottom: 2%; inset-inline-start: -4%; transform: rotate(205deg); }
/* featured dish cards (shared look) */
.tpl-fc { display: grid; grid-template-columns: 92px 1fr auto; gap: 12px; align-items: center; padding: 10px 14px 10px 10px; border-radius: 22px; cursor: pointer; text-align: right; direction: rtl; }
.tpl-fc .fc-img { width: 92px; height: 92px; border-radius: 16px; overflow: hidden; display: grid; place-items: center; font-size: 34px; background: rgba(255,255,255,.06); }
.tpl-fc .fc-img img { width: 100%; height: 100%; object-fit: cover; }
.tpl-fc .fc-t { display: grid; gap: 3px; min-width: 0; }
.tpl-fc .fc-t b { font-size: 1.05rem; }
.tpl-fc .fc-t small { opacity: .75; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: .78rem; }
.tpl-fc .fc-t em { font-style: normal; font-weight: 800; }
.tpl-fc .fc-add { width: 40px; height: 40px; border-radius: 50%; border: 0; font-size: 1.5rem; line-height: 1; font-weight: 700; cursor: pointer; }
.tpl-fc.off { opacity: .55; }
body.tpl-dark_featured .tpl-fc { background: #1d1d1d; border: 1px solid rgba(245,158,11,.45); color: #fff; }
body.tpl-dark_featured .tpl-fc .fc-t em { color: #F59E0B; }
body.tpl-dark_featured .tpl-fc .fc-add { background: #F59E0B; color: #111; }
/* menu (dark) */
body.tpl-dark_featured .tf-title h2, body.tpl-dark_featured .tf-title .sub-title, body.tpl-dark_featured .tf-section h2 { color: #F59E0B; }
body.tpl-dark_featured .tf-section p, body.tpl-dark_featured .tf-section h3, body.tpl-dark_featured .tf-section h4, body.tpl-dark_featured .tf-section h5, body.tpl-dark_featured .fz-17 { color: #e9e9e9; }
body.tpl-dark_featured .cat-c, body.tpl-dark_featured .cat-c span { color: #fff; }
body.tpl-dark_featured .cat-c .ring { border-color: rgba(245,158,11,.55); }
body.tpl-dark_featured .cat-c.on .ring { border-color: #F59E0B; box-shadow: 0 0 0 3px rgba(245,158,11,.3); }
body.tpl-dark_featured .cat-title { color: #F59E0B; border-color: #F59E0B; }
body.tpl-dark_featured #menuBody .pi-grid, body.tpl-dark_featured #hlGrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
body.tpl-dark_featured .product-item .inner { background: #1b1b1b !important; border: 1px solid rgba(245,158,11,.28); box-shadow: none; }
body.tpl-dark_featured .product-item .inner h5, body.tpl-dark_featured .product-item .inner h5 a { color: #fff !important; }
body.tpl-dark_featured .product-item .content .desc { color: #b5b5b5; }
body.tpl-dark_featured .product-item .price { background: #F59E0B !important; color: #111 !important; }
body.tpl-dark_featured .product-item .overlay, body.tpl-dark_featured .product-item .overlay-2 { display: none; }
body.tpl-dark_featured .about-box, body.tpl-dark_featured .hours-list, body.tpl-dark_featured .location-box, body.tpl-dark_featured .product-item-style2 { background: #1b1b1b !important; color: #e9e9e9; border: 1px solid rgba(245,158,11,.2); }
body.tpl-dark_featured .about-box *, body.tpl-dark_featured .hours-list *, body.tpl-dark_featured .location-box *, body.tpl-dark_featured .product-item-style2 * { color: inherit; }
@media (max-width: 960px) {
  body.tpl-dark_featured .tpl-hero .th-wrap { grid-template-columns: 1fr; }
  body.tpl-dark_featured .th-img { order: -1; max-width: 360px; margin: 0 auto; width: 100%; }
  body.tpl-dark_featured #menuBody .pi-grid, body.tpl-dark_featured #hlGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) { body.tpl-dark_featured #menuBody .pi-grid, body.tpl-dark_featured #hlGrid { grid-template-columns: 1fr; } .tpl-fc { grid-template-columns: 76px 1fr auto; } .tpl-fc .fc-img { width: 76px; height: 76px; } }

/* ============================================================ editorial_hero ============================================================ */
body.tpl-editorial_hero { --tpl-accent: #E5372E; background: #0a0a0a !important; color: #fff; }
body.tpl-editorial_hero #wrapper, body.tpl-editorial_hero .tf-section, body.tpl-editorial_hero .bg-6, body.tpl-editorial_hero .main-content { background: transparent !important; }
body.tpl-editorial_hero .tpl-head { background: linear-gradient(180deg, rgba(0,0,0,.78), rgba(0,0,0,0)); margin-bottom: -76px; }
body.tpl-editorial_hero .th-name { color: #fff; }
body.tpl-editorial_hero .th-nav a { color: #fff; }
body.tpl-editorial_hero .th-nav a.on, body.tpl-editorial_hero .th-nav a:hover { border-color: rgba(255,255,255,.7); }
body.tpl-editorial_hero .th-tools, body.tpl-editorial_hero .th-tools a { color: #fff; }
body.tpl-editorial_hero .th-search { flex: 0 0 auto; margin: 0; display: flex; align-items: center; gap: 0; border-radius: 999px; background: transparent; transition: background .25s; }
body.tpl-editorial_hero .th-search.open { background: #fff; box-shadow: 0 6px 20px rgba(0,0,0,.35); }
body.tpl-editorial_hero .th-sbtn { width: 42px; height: 42px; flex: 0 0 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.55); background: rgba(0,0,0,.35); color: #fff; display: grid; place-items: center; cursor: pointer; padding: 0; }
body.tpl-editorial_hero .th-search.open .th-sbtn { background: transparent; color: #111; border-color: transparent; }
body.tpl-editorial_hero .th-search input { width: 0; padding: 0 !important; opacity: 0; transition: width .3s ease, opacity .2s; border: 0; outline: 0; border-radius: 999px; padding: 11px 20px; background: #fff; color: #111; font: 600 .95rem "Cairo", sans-serif; direction: rtl; box-shadow: 0 6px 20px rgba(0,0,0,.35); }
body.tpl-editorial_hero .th-search.open input { width: min(240px, 52vw); padding: 10px 6px 10px 16px !important; opacity: 1; }
body.tpl-editorial_hero .tpl-hero { position: relative; min-height: min(92vh, 860px); display: flex; align-items: flex-end; overflow: hidden; }
body.tpl-editorial_hero .th-bg { position: absolute; inset: 0; background: #1a1a1a center / cover no-repeat; }
body.tpl-editorial_hero .th-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.25) 45%, rgba(0,0,0,.85) 100%), linear-gradient(90deg, rgba(0,0,0,.55), transparent 70%); }
body.tpl-editorial_hero .tpl-hero .th-wrap { position: relative; width: 100%; padding: 130px 22px 44px; }
body.tpl-editorial_hero .th-title { font-size: clamp(2.8rem, 8.5vw, 7rem); font-weight: 900; color: #fff; max-width: 900px; text-shadow: 0 6px 30px rgba(0,0,0,.5); }
body.tpl-editorial_hero .hand { font-family: "Aref Ruqaa", "Cairo", cursive; font-weight: 400; font-style: italic; letter-spacing: 0; }
body.tpl-editorial_hero .th-glass { max-width: 560px; margin-bottom: 4px; padding: 22px 26px; border-radius: 28px 28px 28px 84px; background: rgba(18,18,18,.55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.18); }
body.tpl-editorial_hero .th-sub { color: #f1f1f1; margin: 0; }
body.tpl-editorial_hero .th-arrow { position: absolute; inset-inline-end: 22px; bottom: 44px; width: 66px; height: 66px; border-radius: 50%; background: #fff; color: #E5372E; display: grid; place-items: center; font-size: 2.2rem; font-weight: 800; line-height: 1; box-shadow: 0 10px 30px rgba(0,0,0,.45); transition: transform .2s; }
body.tpl-editorial_hero .th-arrow:hover { transform: scale(1.08); }
body.tpl-editorial_hero .tf-title h2, body.tpl-editorial_hero .tf-section h2 { color: #fff; }
body.tpl-editorial_hero .tf-title .sub-title { color: #ff8a6b; }
body.tpl-editorial_hero .tf-section p, body.tpl-editorial_hero .tf-section h3, body.tpl-editorial_hero .tf-section h4, body.tpl-editorial_hero .tf-section h5, body.tpl-editorial_hero .fz-17 { color: #ececec; }
body.tpl-editorial_hero #catCar { position: sticky; top: 64px; z-index: 5; }
body.tpl-editorial_hero .cat-c, body.tpl-editorial_hero .cat-c span { color: #fff; }
body.tpl-editorial_hero .cat-c .ring { border-color: rgba(255,255,255,.45); }
body.tpl-editorial_hero .cat-c.on .ring { border-color: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.28); }
body.tpl-editorial_hero .cat-title { color: #fff; border-color: #E5372E; }
body.tpl-editorial_hero #menuBody .pi-grid, body.tpl-editorial_hero #hlGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
body.tpl-editorial_hero .product-item .inner { background: rgba(255,255,255,.07) !important; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.14); border-radius: 26px; box-shadow: none; }
body.tpl-editorial_hero .product-item .inner h5, body.tpl-editorial_hero .product-item .inner h5 a { color: #fff !important; }
body.tpl-editorial_hero .product-item .content .desc { color: #cfcfcf; }
body.tpl-editorial_hero .product-item .price { background: #fff !important; color: #111 !important; }
body.tpl-editorial_hero .product-item .overlay, body.tpl-editorial_hero .product-item .overlay-2 { display: none; }
body.tpl-editorial_hero .about-box, body.tpl-editorial_hero .hours-list, body.tpl-editorial_hero .location-box, body.tpl-editorial_hero .product-item-style2 { background: rgba(255,255,255,.07) !important; color: #eee; border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(10px); }
body.tpl-editorial_hero .about-box *, body.tpl-editorial_hero .hours-list *, body.tpl-editorial_hero .location-box *, body.tpl-editorial_hero .product-item-style2 * { color: inherit; }
@media (max-width: 860px) {
  body.tpl-editorial_hero .tpl-head { margin-bottom: -120px; }
  body.tpl-editorial_hero .tpl-hero .th-wrap { padding-top: 170px; }
  body.tpl-editorial_hero .th-arrow { width: 52px; height: 52px; font-size: 1.7rem; bottom: 24px; }
  body.tpl-editorial_hero #menuBody .pi-grid, body.tpl-editorial_hero #hlGrid { grid-template-columns: 1fr; }
}

/* ============================================================ fastfood_cards ============================================================ */
body.tpl-fastfood_cards { --tpl-accent: #D9232E; background: #F8F9FA !important; color: #1A1A1A; }
body.tpl-fastfood_cards #wrapper, body.tpl-fastfood_cards .tf-section, body.tpl-fastfood_cards .bg-6, body.tpl-fastfood_cards .main-content { background: transparent !important; }
body.tpl-fastfood_cards .tpl-head { background: #1A1A1A; }
body.tpl-fastfood_cards .th-name { color: #fff; }
body.tpl-fastfood_cards .th-nav a { color: #F59E0B; }
body.tpl-fastfood_cards .th-nav a.on, body.tpl-fastfood_cards .th-nav a:hover { color: #fff; }
body.tpl-fastfood_cards .th-tools, body.tpl-fastfood_cards .th-tools a { color: #fff; }
body.tpl-fastfood_cards .tpl-hero { background: #fff; border-bottom: 1px solid #ececec; }
body.tpl-fastfood_cards .tpl-hero .th-wrap { padding: 8px 22px; }
body.tpl-fastfood_cards .tpl-hero .hero-info { background: transparent; border: 0; backdrop-filter: none; padding: 4px 0; flex-direction: row; flex-wrap: wrap; gap: 6px 18px; margin: 0; }
body.tpl-fastfood_cards .tpl-hero .hero-info .hi-row { color: #444; font-size: .9rem; }
body.tpl-fastfood_cards .tpl-hero .hero-info .hi-btn { background: transparent; border: 0; color: #444; }
body.tpl-fastfood_cards #menu .tf-title { text-align: start !important; display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; direction: rtl; margin-bottom: 18px !important; }
body.tpl-fastfood_cards #menu .tf-title h2 { font-family: "Lalezar", "Cairo", sans-serif; font-size: clamp(2.6rem, 7vw, 5rem); color: #D9232E; margin: 0 !important; line-height: 1; letter-spacing: 0; order: 1; }
body.tpl-fastfood_cards #menu .tf-title .sub-title { font-family: "Aref Ruqaa", "Cairo", cursive; color: #F59E0B; font-size: 1.5rem; margin: 0; order: 2; text-transform: none; }
body.tpl-fastfood_cards #menu .tf-title .fz-17 { flex: 1 0 100%; order: 3; color: #666; }
body.tpl-fastfood_cards #tabs { justify-content: flex-start; }
body.tpl-fastfood_cards .cat-c, body.tpl-fastfood_cards .cat-c span { color: #1A1A1A; }
body.tpl-fastfood_cards .cat-c.on .ring { border-color: #D9232E; box-shadow: 0 0 0 3px rgba(217,35,46,.25); }
body.tpl-fastfood_cards .cat-title { font-family: "Lalezar", "Cairo", sans-serif; color: #D9232E; border-color: #F59E0B; font-size: 2rem; }
body.tpl-fastfood_cards #menuBody .pi-grid, body.tpl-fastfood_cards #hlGrid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
body.tpl-fastfood_cards .product-item { display: flex; flex-direction: column; }
body.tpl-fastfood_cards .product-item .inner { background: #F59E0B !important; border-radius: 34px; padding: 14px 14px 74px !important; min-height: 0; flex: 1; display: flex; flex-direction: column; box-shadow: 0 10px 24px rgba(245,158,11,.28); border: 0; overflow: hidden; }
body.tpl-fastfood_cards .product-item .inner::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle, rgba(255,255,255,.35) 1.4px, transparent 1.6px) 0 0 / 14px 14px; -webkit-mask: linear-gradient(135deg, #000 0, transparent 40%); mask: linear-gradient(135deg, #000 0, transparent 40%); z-index: 1; }
body.tpl-fastfood_cards .product-item .overlay, body.tpl-fastfood_cards .product-item .overlay-2, body.tpl-fastfood_cards .product-item .actions, body.tpl-fastfood_cards .product-item .price { display: none !important; }
body.tpl-fastfood_cards .product-item .image { width: 100% !important; }
body.tpl-fastfood_cards .product-item .image img, body.tpl-fastfood_cards .product-item .image .ph { height: 170px !important; border-radius: 26px; object-fit: cover; }
body.tpl-fastfood_cards .product-item .image .ph { background: rgba(255,255,255,.3); }
body.tpl-fastfood_cards .product-item .content { width: 100% !important; padding: 12px 4px 0; position: relative; z-index: 3; }
body.tpl-fastfood_cards .product-item .inner h5, body.tpl-fastfood_cards .product-item .inner h5 a { color: #fff !important; font-weight: 800; font-size: 1.2rem; text-shadow: 0 2px 0 rgba(0,0,0,.14); }
body.tpl-fastfood_cards .product-item .inner h5 { border: 0 !important; padding-bottom: 0 !important; margin-bottom: 6px !important; }
body.tpl-fastfood_cards .product-item .content .desc { color: rgba(255,255,255,.95); font-size: .84rem; -webkit-line-clamp: 2; }
body.tpl-fastfood_cards .product-item .tpl-cap { display: flex; align-items: center; gap: 10px; position: absolute; inset-inline-end: 12px; bottom: 12px; z-index: 6; padding: 6px 8px 6px 14px; border-radius: 18px; background: #A81D24; color: #fff; box-shadow: 0 6px 14px rgba(120,0,0,.35); direction: rtl; }
body.tpl-fastfood_cards .tpl-cap b { font-size: 1.05rem; font-weight: 800; white-space: nowrap; }
body.tpl-fastfood_cards .tpl-cap .tpl-add { width: 38px; height: 38px; border-radius: 12px; border: 0; background: rgba(255,255,255,.18); color: #fff; display: grid; place-items: center; cursor: pointer; border-inline-start: 0; }
body.tpl-fastfood_cards .tpl-cap .tpl-add:disabled { opacity: .4; cursor: not-allowed; }
body.tpl-fastfood_cards .product-item.off .inner { filter: grayscale(.6); }
body.tpl-fastfood_cards .tf-section p, body.tpl-fastfood_cards .tf-section h2 { color: #1A1A1A; }
@media (max-width: 1100px) { body.tpl-fastfood_cards #menuBody .pi-grid, body.tpl-fastfood_cards #hlGrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { body.tpl-fastfood_cards #menuBody .pi-grid, body.tpl-fastfood_cards #hlGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  body.tpl-fastfood_cards .product-item .inner { padding: 10px 10px 66px !important; border-radius: 26px; }
  body.tpl-fastfood_cards .product-item .image img, body.tpl-fastfood_cards .product-item .image .ph { height: 120px !important; }
  body.tpl-fastfood_cards .product-item .inner h5, body.tpl-fastfood_cards .product-item .inner h5 a { font-size: 1rem; }
  body.tpl-fastfood_cards .product-item .tpl-cap { inset-inline-end: 8px; bottom: 8px; padding: 4px 6px 4px 10px; gap: 6px; } body.tpl-fastfood_cards .tpl-cap b { font-size: .9rem; } body.tpl-fastfood_cards .tpl-cap .tpl-add { width: 32px; height: 32px; } }

/* ============================================================ warm_cafe ============================================================ */
body.tpl-warm_cafe { --tpl-accent: #E76F51; background: #FDF6EC !important; color: #4a3326; }
body.tpl-warm_cafe #wrapper, body.tpl-warm_cafe .tf-section, body.tpl-warm_cafe .bg-6, body.tpl-warm_cafe .main-content { background: transparent !important; }
body.tpl-warm_cafe .tpl-head { background: rgba(253,246,236,.94); backdrop-filter: blur(8px); border-bottom: 1px solid #f0dfc9; }
body.tpl-warm_cafe .th-in { padding-top: 8px; padding-bottom: 8px; position: relative; }
body.tpl-warm_cafe .th-nav { justify-content: center; flex: 1; }
body.tpl-warm_cafe .th-nav a { color: #7a4a2b; }
body.tpl-warm_cafe .th-nav a[data-mo] { display: none; }
body.tpl-warm_cafe .th-nav a.on, body.tpl-warm_cafe .th-nav a:hover { color: #E76F51; border-color: #F4A261; }
body.tpl-warm_cafe .th-badge { flex: none; width: 92px; height: 92px; margin-bottom: -34px; border-radius: 50%; background: #F4A261; color: #fff; border: 5px solid #FDF6EC; box-shadow: 0 10px 24px rgba(231,111,81,.35); display: grid; place-items: center; text-align: center; font-weight: 800; font-size: .95rem; line-height: 1.15; padding: 8px; overflow: hidden; text-decoration: none; position: relative; z-index: 2; }
body.tpl-warm_cafe .th-badge img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
body.tpl-warm_cafe .th-tools, body.tpl-warm_cafe .th-tools a { color: #7a4a2b; }
body.tpl-warm_cafe .tpl-hero { position: relative; overflow: hidden; padding-top: 24px; }
body.tpl-warm_cafe .tpl-hero::before { content: ""; position: absolute; inset-inline-start: -120px; top: -80px; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(244,162,97,.28), transparent 68%); }
body.tpl-warm_cafe .tpl-hero::after { content: ""; position: absolute; inset-inline-end: -60px; bottom: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(231,111,81,.16), transparent 68%); }
body.tpl-warm_cafe .tpl-hero .th-wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; padding-top: 56px; }
body.tpl-warm_cafe .th-title { font-size: clamp(2.4rem, 5.6vw, 4.6rem); color: #E76F51; font-weight: 800; }
body.tpl-warm_cafe .th-title em { color: #4a3326; font-style: normal; }
body.tpl-warm_cafe .th-sub { color: #7b6150; max-width: 480px; }
body.tpl-warm_cafe .th-btns { display: flex; gap: 12px; flex-wrap: wrap; }
body.tpl-warm_cafe .th-go { background: #F4A261; color: #fff; border-radius: 999px; padding: 14px 38px; font-weight: 800; font-size: 1.05rem; box-shadow: 0 10px 22px rgba(244,162,97,.45); transition: transform .2s; }
body.tpl-warm_cafe .th-go:hover { transform: translateY(-2px); }
body.tpl-warm_cafe .th-ghost { border: 2px solid #F4A261; color: #b9692c; border-radius: 999px; padding: 12px 30px; font-weight: 700; background: #fff8ee; }
body.tpl-warm_cafe .th-img { position: relative; width: min(100%, 460px); margin-inline: auto; }
body.tpl-warm_cafe .th-img .ring { display: grid; place-items: center; aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 10px solid #fff; outline: 3px dashed #F4A261; outline-offset: 12px; background: #f6e4cd; box-shadow: 0 24px 50px rgba(120,70,30,.25); font-size: 5rem; }
body.tpl-warm_cafe .th-img .ring img { width: 100%; height: 100%; object-fit: cover; }
body.tpl-warm_cafe .th-plus { position: absolute; top: 6%; inset-inline-end: 4%; width: 58px; height: 58px; border-radius: 50%; border: 5px solid #fff; background: #E76F51; color: #fff; font-size: 2rem; line-height: 1; font-weight: 600; cursor: pointer; box-shadow: 0 10px 22px rgba(231,111,81,.45); }
body.tpl-warm_cafe .tpl-hero .hero-info { background: #fff; border: 1px solid #f0dfc9; backdrop-filter: none; }
body.tpl-warm_cafe .tpl-hero .hero-info .hi-row, body.tpl-warm_cafe .tpl-hero .hero-info .hi-btn { color: #6b4a36; background: transparent; border: 0; }
body.tpl-warm_cafe .tf-title h2, body.tpl-warm_cafe .tf-section h2 { color: #E76F51; }
body.tpl-warm_cafe .tf-title .sub-title { color: #F4A261; }
body.tpl-warm_cafe .tf-section p, body.tpl-warm_cafe .tf-section h3, body.tpl-warm_cafe .tf-section h4, body.tpl-warm_cafe .tf-section h5, body.tpl-warm_cafe .fz-17 { color: #5a4030; }
body.tpl-warm_cafe .cat-c, body.tpl-warm_cafe .cat-c span { color: #5a4030; }
body.tpl-warm_cafe .cat-c .ring { border-color: #f0cfa6; }
body.tpl-warm_cafe .cat-c.on .ring { border-color: #E76F51; box-shadow: 0 0 0 3px rgba(231,111,81,.25); }
body.tpl-warm_cafe .cat-title { color: #E76F51; border-color: #F4A261; }
body.tpl-warm_cafe #menuBody .pi-grid, body.tpl-warm_cafe #hlGrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
body.tpl-warm_cafe .product-item { display: flex; flex-direction: column; background: #fff; border-radius: 30px; border: 1px solid #f1e0cc; box-shadow: 0 12px 26px rgba(231,111,81,.12); overflow: hidden; margin-bottom: 0; }
body.tpl-warm_cafe .product-item .inner { background: transparent !important; box-shadow: none !important; border: 0; min-height: 0; padding: 14px 14px 4px !important; flex: 1; display: flex; flex-direction: column; }
body.tpl-warm_cafe .product-item .overlay, body.tpl-warm_cafe .product-item .overlay-2, body.tpl-warm_cafe .product-item .actions, body.tpl-warm_cafe .product-item .price { display: none !important; }
body.tpl-warm_cafe .product-item .image { width: 100% !important; }
body.tpl-warm_cafe .product-item .image img, body.tpl-warm_cafe .product-item .image .ph { height: 190px !important; border-radius: 22px; object-fit: cover; }
body.tpl-warm_cafe .product-item .image .ph { background: #fbeedc; }
body.tpl-warm_cafe .product-item .content { width: 100% !important; padding: 12px 4px 0; }
body.tpl-warm_cafe .product-item .inner h5, body.tpl-warm_cafe .product-item .inner h5 a { color: #4a3326 !important; font-weight: 800; }
body.tpl-warm_cafe .product-item .inner h5 { border: 0 !important; padding-bottom: 0 !important; margin-bottom: 6px !important; }
body.tpl-warm_cafe .product-item .content .desc { color: #8b6f5c; font-size: .86rem; }
body.tpl-warm_cafe .product-item .tpl-cap { display: flex; align-items: center; justify-content: space-between; margin: 4px 14px 14px; padding: 6px 6px 6px 16px; border-radius: 999px; background: #FDF0DE; direction: rtl; }
body.tpl-warm_cafe .tpl-cap b { color: #E76F51; font-size: 1.1rem; font-weight: 800; }
body.tpl-warm_cafe .tpl-cap .tpl-add { width: 42px; height: 42px; border-radius: 50%; border: 0; background: #E76F51; color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 6px 14px rgba(231,111,81,.4); }
body.tpl-warm_cafe .tpl-cap .tpl-add:disabled { opacity: .4; cursor: not-allowed; }
body.tpl-warm_cafe .product-item.off { opacity: .6; }
body.tpl-warm_cafe .about-box, body.tpl-warm_cafe .hours-list, body.tpl-warm_cafe .location-box, body.tpl-warm_cafe .product-item-style2 { background: #fff !important; border: 1px solid #f1e0cc; border-radius: 26px; }
@media (max-width: 960px) {
  body.tpl-warm_cafe .tpl-hero .th-wrap { grid-template-columns: 1fr; text-align: center; }
  body.tpl-warm_cafe .th-img { order: -1; width: min(78%, 340px); }
  body.tpl-warm_cafe .th-btns { justify-content: center; } body.tpl-warm_cafe .th-sub { margin-inline: auto; }
  body.tpl-warm_cafe #menuBody .pi-grid, body.tpl-warm_cafe #hlGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  body.tpl-warm_cafe .th-in { justify-content: center; }
  body.tpl-warm_cafe .th-badge { order: 0; margin-bottom: 0; width: 64px; height: 64px; font-size: .75rem; }
  body.tpl-warm_cafe .th-nav-a, body.tpl-warm_cafe .th-nav-b { order: 3; flex: 1 0 100%; justify-content: flex-start; }
  body.tpl-warm_cafe .th-nav-b { display: none; }
  body.tpl-warm_cafe .th-nav a[data-mo] { display: inline-block; }
}
@media (max-width: 560px) { body.tpl-warm_cafe #menuBody .pi-grid, body.tpl-warm_cafe #hlGrid { grid-template-columns: 1fr; } }

/* ---------- the classic page paints #menu as a dark panel with fixed colours: neutralise it for the 4 templates ---------- */
body.tpl-on #menu.tf-section { background: transparent !important; box-shadow: none !important; border-radius: 0 !important; margin: 0 !important; overflow: visible !important; }
body.tpl-on #menu .product-item .inner { border-width: 1px; }
body.tpl-on #tabs.cat-tabs .cat-c b { text-shadow: none !important; }
body.tpl-on .tpl-head .rkc-btn { color: inherit !important; background: transparent !important; border: 1.5px solid currentColor !important; border-radius: 999px !important; padding: 7px 14px !important; font-size: .82rem !important; white-space: nowrap; }
body.tpl-on .tpl-head .ph-pill { background: transparent !important; color: inherit !important; border: 1.5px solid currentColor !important; box-shadow: none !important; padding: 7px 14px !important; height: auto !important; border-radius: 999px !important; }
body.tpl-on .tpl-head .ph-pill svg { stroke: currentColor; }
body.tpl-on .tpl-head .uislot button, body.tpl-on .tpl-head .uislot a { color: inherit !important; background: rgba(127,127,127,.2) !important; border: 0 !important; }
/* dark_featured */
body.tpl-dark_featured #menu .tf-title h2, body.tpl-dark_featured #menu h3.cat-title { color: #F59E0B !important; }
body.tpl-dark_featured #menu .tf-title p, body.tpl-dark_featured #menu .tf-title .fz-17 { color: #e6e6e6 !important; }
body.tpl-dark_featured #tabs.cat-tabs .cat-c b { color: #fff !important; } body.tpl-dark_featured #tabs.cat-tabs .cat-c.on b { color: #F59E0B !important; }
body.tpl-dark_featured #tabs.cat-tabs .cat-c .ring, body.tpl-dark_featured #tabs.cat-tabs .cat-c.on .ring { background: #F59E0B !important; }
body.tpl-dark_featured .tf-button, body.tpl-dark_featured .product-item .add-circle { background: #F59E0B !important; color: #111 !important; border-color: #F59E0B !important; }
body.tpl-dark_featured #menu .tf-title { color: #fff; }
/* editorial_hero */
body.tpl-editorial_hero #menu .tf-title h2, body.tpl-editorial_hero #menu h3.cat-title { color: #fff !important; }
body.tpl-editorial_hero #menu .tf-title p { color: #ececec !important; }
body.tpl-editorial_hero #tabs.cat-tabs .cat-c b { color: #fff !important; } body.tpl-editorial_hero #tabs.cat-tabs .cat-c.on b { color: #fff !important; text-decoration: underline; }
body.tpl-editorial_hero #tabs.cat-tabs .cat-c .ring, body.tpl-editorial_hero #tabs.cat-tabs .cat-c.on .ring { background: linear-gradient(135deg, #fff, #E5372E) !important; }
body.tpl-editorial_hero .tf-button, body.tpl-editorial_hero .product-item .add-circle { background: #fff !important; color: #111 !important; border-color: #fff !important; }
/* fastfood_cards */
body.tpl-fastfood_cards #menu .tf-title h2 { color: #D9232E !important; } body.tpl-fastfood_cards #menu h3.cat-title { color: #D9232E !important; border-bottom-color: #f0d9b8 !important; }
body.tpl-fastfood_cards #menu .tf-title p { color: #666 !important; } body.tpl-fastfood_cards #menu .tf-title .sub-title { color: #F59E0B !important; }
body.tpl-fastfood_cards #tabs.cat-tabs .cat-c b { color: #1A1A1A !important; } body.tpl-fastfood_cards #tabs.cat-tabs .cat-c.on b { color: #D9232E !important; }
body.tpl-fastfood_cards #tabs.cat-tabs .cat-c .ring { background: linear-gradient(135deg, #F59E0B, #D9232E) !important; box-shadow: 0 4px 10px rgba(0,0,0,.18) !important; }
body.tpl-fastfood_cards .tf-button { background: #D9232E !important; color: #fff !important; }
/* warm_cafe */
body.tpl-warm_cafe #menu .tf-title h2, body.tpl-warm_cafe #menu h3.cat-title { color: #E76F51 !important; }
body.tpl-warm_cafe #menu .tf-title p { color: #5a4030 !important; } body.tpl-warm_cafe #menu .tf-title .sub-title { color: #F4A261 !important; }
body.tpl-warm_cafe #tabs.cat-tabs .cat-c b { color: #5a4030 !important; } body.tpl-warm_cafe #tabs.cat-tabs .cat-c.on b { color: #E76F51 !important; }
body.tpl-warm_cafe #tabs.cat-tabs .cat-c .ring { background: linear-gradient(135deg, #F4A261, #E76F51) !important; box-shadow: 0 4px 10px rgba(231,111,81,.25) !important; }
body.tpl-warm_cafe .tf-button { background: #F4A261 !important; color: #fff !important; }
/* the other sections (about / gallery / reviews / footer) take the template's page colour */
body.tpl-dark_featured .tf-section, body.tpl-editorial_hero .tf-section { color: #eee; }
body.tpl-on .footer, body.tpl-on footer { position: relative; z-index: 1; }

/* dark_featured + editorial_hero: vertical dish cards (picture on top) */
body.tpl-dark_featured .product-item .inner, body.tpl-editorial_hero .product-item .inner { display: flex !important; flex-direction: column; padding: 14px 14px 16px !important; min-height: 0; }
body.tpl-dark_featured .product-item .image, body.tpl-editorial_hero .product-item .image { width: 100% !important; }
body.tpl-dark_featured .product-item .image img, body.tpl-dark_featured .product-item .image .ph, body.tpl-editorial_hero .product-item .image img, body.tpl-editorial_hero .product-item .image .ph { height: 190px !important; border-radius: 20px; object-fit: cover; }
body.tpl-dark_featured .product-item .image .ph, body.tpl-editorial_hero .product-item .image .ph { background: rgba(255,255,255,.07); }
body.tpl-dark_featured .product-item .content, body.tpl-editorial_hero .product-item .content { width: 100% !important; padding: 12px 4px 0; }
body.tpl-dark_featured .product-item .price, body.tpl-editorial_hero .product-item .price { top: 22px !important; inset-inline-start: 22px !important; left: auto !important; right: auto !important; z-index: 6; padding: 6px 14px; border-radius: 99px; font-weight: 800; }
body.tpl-dark_featured .product-item .inner h5, body.tpl-editorial_hero .product-item .inner h5 { border: 0 !important; padding-bottom: 0 !important; margin-bottom: 6px !important; }
body.tpl-on #hlGrid { max-width: 1320px; margin-inline: auto; padding-inline: 22px; }
body.tpl-on #highlights { padding-top: 40px; padding-bottom: 20px; }

body.tpl-on .product-item .image { order: -1; }
body.tpl-on .product-item .image { height: auto !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important; display: block; }
body.tpl-on .product-item { margin-top: 0; margin-bottom: 0; }
body.tpl-warm_cafe .th-badge .th-name { font-size: .8rem; line-height: 1.2; }

/* ============================================================ circular category carousel (all templates) ============================================================ */
#catCar { position: relative; max-width: 1280px; margin: 0 auto; padding: 0 44px; overflow: hidden; box-sizing: border-box; }
#catCar #tabs.cat-tabs { max-width: 100%; margin-bottom: 0; }
#catCar.cc-on #tabs.cat-tabs { justify-content: flex-start !important; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22px, #000 calc(100% - 22px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 22px, #000 calc(100% - 22px), transparent 100%); }
#catCar .cc-arrow { display: none; position: absolute; top: 42%; transform: translateY(-50%); z-index: 3; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(0,0,0,.72); color: #fff; font: 700 26px/1 Arial, sans-serif; padding: 0 0 4px; cursor: pointer; place-items: center; box-shadow: 0 4px 12px rgba(0,0,0,.35); }
#catCar.cc-on .cc-arrow { display: grid; }
#catCar .cc-arrow:hover { background: #000; }
#catCar .cc-l { left: 2px; } #catCar .cc-r { right: 2px; }
@media (max-width: 575.98px) { #catCar { padding: 0 34px; } #catCar .cc-arrow { width: 30px; height: 30px; font-size: 22px; } }
/* readable names under the circles on any background */
#tabs.cat-tabs .cat-c b { background: rgba(0,0,0,.65) !important; color: #fff !important; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); padding: 2px 10px !important; border-radius: 999px; text-shadow: none !important; }
#tabs.cat-tabs .cat-c.on b { background: rgba(0,0,0,.88) !important; color: #fff !important; box-shadow: 0 0 0 2px var(--accent, #F59E0B); }
/* hero text always readable over any banner/dish photo */
.hero-img::before { background: linear-gradient(to top, rgba(0,0,0,.82), rgba(0,0,0,.45) 55%, rgba(0,0,0,.3)) !important; }
.slider-page .slide-inner .content h2, .slider-page .slide-inner .content p { text-shadow: 0 2px 10px rgba(0,0,0,.65); }
body.tpl-editorial_hero .th-bg::after { background: linear-gradient(to top, rgba(0,0,0,.85), rgba(0,0,0,.5) 45%, rgba(0,0,0,.32)) !important; }
body.tpl-editorial_hero .tpl-head .th-nav a, body.tpl-editorial_hero .th-name { text-shadow: 0 1px 8px rgba(0,0,0,.7); }
body.tpl-editorial_hero #tabs.cat-tabs, body.tpl-editorial_hero #catCar { background: transparent; }
body.tpl-dark_featured .th-title, body.tpl-editorial_hero .th-title { text-shadow: 0 3px 14px rgba(0,0,0,.6); }
/* editorial header: all links always fully visible — below ~1440px the links take their own row under logo + tools */
@media (max-width: 1440px) {
  body.tpl-editorial_hero .tpl-head .th-in { flex-wrap: wrap; gap: 6px 12px; }
  body.tpl-editorial_hero .tpl-head .th-nav { order: 3; flex: 1 1 calc(100% - 60px); justify-content: flex-start; overflow: visible; flex-wrap: wrap; }
  body.tpl-editorial_hero .th-search { order: 3; }
  body.tpl-editorial_hero .tpl-head { margin-bottom: -118px; }
  body.tpl-editorial_hero .tpl-hero .th-wrap { padding-top: 168px; }
}

/* ============================================================ polish pass: hairlines, corners, glass, contrast ============================================================ */
/* no hairlines at the top of the page: header / hero / wrapper carry no borders */
.tpl-head, .tpl-head .th-in, .tpl-hero, #wrapper { border-top: 0 !important; border-bottom: 0 !important; }
.tpl-head::before, .tpl-head::after { content: none !important; }
body.tpl-warm_cafe .tpl-head { box-shadow: 0 6px 18px rgba(120,70,30,.08); }
body.tpl-dark_featured .tpl-head { box-shadow: 0 8px 22px rgba(0,0,0,.45); }
/* header links never clipped (dark + fast-food): links take their own row on narrower desktops */
@media (max-width: 1440px) {
  body.tpl-dark_featured .tpl-head .th-in, body.tpl-fastfood_cards .tpl-head .th-in { flex-wrap: wrap; gap: 6px 12px; }
  body.tpl-dark_featured .tpl-head .th-nav, body.tpl-fastfood_cards .tpl-head .th-nav { order: 3; flex: 1 0 100%; overflow: visible; flex-wrap: wrap; }
}
/* clean card edges, no side overhang */
body.tpl-on #wrapper { overflow-x: clip; }
body.tpl-on #menuBody .pi-grid, body.tpl-on #hlGrid { margin: 0; padding-left: 0; padding-right: 0; overflow: visible; }
body.tpl-on .product-item .inner { overflow: hidden; }
body.tpl-fastfood_cards .product-item, body.tpl-fastfood_cards .pi-grid > * { background: transparent !important; border: 0 !important; box-shadow: none !important; outline: 0 !important; border-radius: 28px; }
body.tpl-fastfood_cards .product-item .inner { border-radius: 28px !important; overflow: hidden; }
body.tpl-dark_featured .product-item, body.tpl-editorial_hero .product-item, body.tpl-warm_cafe .product-item { background: transparent !important; border: 0 !important; box-shadow: none !important; border-radius: 22px; }
body.tpl-dark_featured .product-item .inner, body.tpl-editorial_hero .product-item .inner { border-radius: 22px !important; }
/* glass panels (dark + editorial): items, opening hours, our story, location */
body.tpl-dark_featured .product-item .inner, body.tpl-editorial_hero .product-item .inner,
body.tpl-dark_featured .about-box, body.tpl-editorial_hero .about-box,
body.tpl-dark_featured #about .hours-list, body.tpl-editorial_hero #about .hours-list,
body.tpl-dark_featured .location-box, body.tpl-editorial_hero .location-box {
  background: rgba(0,0,0,.45) !important; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.15) !important; box-shadow: 0 18px 40px rgba(0,0,0,.35) !important; border-radius: 24px !important; overflow: hidden; color: #fff;
}
body.tpl-dark_featured .about-box *, body.tpl-editorial_hero .about-box *, body.tpl-dark_featured #about .hours-list *, body.tpl-editorial_hero #about .hours-list * { color: #f5f5f5; }
/* buttons on glass: white pill, dark bold text */
body.tpl-editorial_hero .product-item .tf-button, body.tpl-editorial_hero .product-item .add-circle { background: #fff !important; color: #0f172a !important; font-weight: 800 !important; border-color: #fff !important; }
body.tpl-dark_featured .product-item .tf-button, body.tpl-dark_featured .product-item .add-circle { color: #0f172a !important; font-weight: 800 !important; }
/* hero text over any photo: gradient behind the copy + glass capsule under the description */
body.tpl-dark_featured .tpl-hero .th-txt { position: relative; isolation: isolate; }
body.tpl-dark_featured .tpl-hero .th-txt::before { content: ""; position: absolute; inset: -18px -22px; z-index: -1; background: linear-gradient(to left, rgba(0,0,0,.7), rgba(0,0,0,.42) 55%, transparent); }
body.tpl-dark_featured .th-sub, body.tpl-editorial_hero .th-sub { display: block; width: fit-content; max-width: 100%; background: rgba(0,0,0,.45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); padding: 8px 16px; border-radius: 16px; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
body.tpl-editorial_hero .th-glass .th-sub { background: transparent; padding: 0; backdrop-filter: none; -webkit-backdrop-filter: none; }
/* section / category titles: dark glass capsule, amber text (dark + editorial) */
body.tpl-dark_featured .cat-title, body.tpl-editorial_hero .cat-title { border: 0 !important; padding: 0 !important; margin-bottom: 16px; }
body.tpl-dark_featured .cat-title > span, body.tpl-editorial_hero .cat-title > span { display: inline-block; background: rgba(0,0,0,.6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fcd34d !important; padding: 6px 18px; border-radius: 999px; font-size: 1.35rem; text-shadow: none; }
body.tpl-dark_featured .tf-title .sub-title, body.tpl-editorial_hero .tf-title .sub-title, body.tpl-dark_featured #about .tf-title h2, body.tpl-editorial_hero #about .tf-title h2 { display: inline-block; background: rgba(0,0,0,.6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fcd34d !important; padding: 6px 18px; border-radius: 999px; text-shadow: none; }
body.tpl-on #tabs.cat-tabs .cat-c b, body.tpl-on #tabs.cat-tabs .cat-c:hover b { color: #fff !important; background: rgba(0,0,0,.65) !important; }
body.tpl-on #tabs.cat-tabs .cat-c.on b { color: #fff !important; background: rgba(0,0,0,.88) !important; }

/* ============================================================ final pass: one glass capsule language for every template ============================================================ */
/* titles, sub-titles and side texts on any background */
.tf-title h2, .tf-title .sub-title, .tf-title p, #menu .cat-title > span, #highlights .tf-title h2 {
  display: table; max-width: 100%; box-sizing: border-box; margin-left: auto !important; margin-right: auto !important; margin-bottom: 10px !important;
  background: rgba(0,0,0,.65) !important; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.2); border-radius: 999px; box-shadow: 0 8px 22px rgba(0,0,0,.28);
  padding: 7px 22px !important; text-shadow: none !important; line-height: 1.5; letter-spacing: 0;
}
.tf-title h2, #menu .cat-title > span { color: #fcd34d !important; padding: 6px 28px !important; }
.tf-title .sub-title, .tf-title p { color: #fff !important; font-size: .95rem; }
.tf-title p.fz-17 { font-size: 1rem; border-radius: 22px; }
body.tpl-fastfood_cards #menu .tf-title h2, body.tpl-fastfood_cards #menu .tf-title .sub-title, body.tpl-fastfood_cards #menu .tf-title p, body.tpl-fastfood_cards #menu .cat-title > span { margin-left: 0 !important; margin-right: 0 !important; }
.cat-title { border: 0 !important; padding: 0 !important; background: none !important; }
/* branch / location badge */
.hero-info .hi-btn, .brand-branch:not(:empty) { display: inline-flex !important; align-items: center; gap: 8px; background: rgba(0,0,0,.7) !important; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.2) !important; color: #fff !important; padding: 4px 14px !important; border-radius: 999px; text-shadow: none; }
.hero-info .hi-btn b { color: #fff !important; text-decoration: none; }
/* opening hours + story + location: dark glass, white text, today highlighted */
.about-box, .location-box, #about .hours-list { background: rgba(0,0,0,.6) !important; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.2) !important; border-radius: 24px !important; box-shadow: 0 18px 40px rgba(0,0,0,.35) !important; color: #fff !important; overflow: hidden; }
#about .hours-list { padding: 14px 18px !important; }
.about-box *, .location-box *, #about .hours-list, #about .hours-list li, #about .hours-list li span { color: #fff !important; }
#about .hours-list li { max-width: none !important; border-bottom: 1px dashed rgba(255,255,255,.22) !important; padding: 6px 12px !important; }
#about .hours-list li:last-child { border-bottom: 0 !important; }
#about .hours-list li.today { background: #fbbf24 !important; border-radius: 999px; border-bottom-color: transparent !important; font-weight: 800; }
#about .hours-list li.today, #about .hours-list li.today span { color: #0f172a !important; }
/* fast-food: page background is fixed (light), never follows the theme toggle / section colours; hero strip blends in */
html:has(body.tpl-fastfood_cards) { background: #F8F9FA !important; color-scheme: light; }
body.tpl-fastfood_cards, html[data-theme="dark"] body.tpl-fastfood_cards { background: #F8F9FA !important; }
body.tpl-fastfood_cards .tf-section, body.tpl-fastfood_cards #menu, body.tpl-fastfood_cards #highlights, body.tpl-fastfood_cards #about, body.tpl-fastfood_cards #reviews, body.tpl-fastfood_cards .main-content { background: #F8F9FA !important; background-image: none !important; }
body.tpl-fastfood_cards .tpl-hero { background: #F8F9FA !important; }
body.tpl-fastfood_cards .tpl-hero .th-wrap { padding: 10px 22px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; }
body.tpl-fastfood_cards .product-item .inner, html[data-theme="dark"] body.tpl-fastfood_cards .product-item .inner { background: #F59E0B !important; border: 0 !important; box-shadow: 0 10px 24px rgba(0,0,0,.14) !important; padding-top: 14px !important; }
body.tpl-fastfood_cards .product-item .inner h5, body.tpl-fastfood_cards .product-item .inner h5 a, body.tpl-fastfood_cards .product-item .inner .desc { color: #fff !important; }
/* warm cafe: the hero dish is completely static, no sway; nothing may widen the page */
body.tpl-warm_cafe .th-img, body.tpl-warm_cafe .th-img *, body.tpl-warm_cafe .tpl-hero * { animation: none !important; }
body.tpl-warm_cafe .th-img, body.tpl-warm_cafe .th-img .ring { transform: none !important; transition: none !important; will-change: auto; }
html:has(body.tpl-on), body.tpl-on { overflow-x: clip; }
@media (max-width: 760px) { body.tpl-warm_cafe .th-img { width: min(72%, 320px); } body.tpl-warm_cafe .th-img .ring { outline-offset: 8px; } }

/* beat the per-section / per-template colour rules (ID selectors) with equal specificity, later in the cascade */
:is(#menu, #highlights, #about, #reviews, #contact, #wrapper) .tf-title h2, :is(#menu, #highlights, #about, #reviews, #contact, #wrapper) .cat-title > span { color: #fcd34d !important; background: rgba(0,0,0,.65) !important; font-family: inherit; }
:is(#menu, #highlights, #about, #reviews, #contact, #wrapper) .tf-title .sub-title, :is(#menu, #highlights, #about, #reviews, #contact, #wrapper) .tf-title p { color: #fff !important; background: rgba(0,0,0,.65) !important; }
:is(#menu, #highlights, #about, #reviews, #contact, #wrapper) .tf-title h2 { font-size: clamp(1.6rem, 4vw, 2.6rem); }
body.tpl-fastfood_cards #menu .tf-title { text-align: start !important; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; direction: rtl; }
body.tpl-fastfood_cards #menu .tf-title .fz-17 { flex: 0 1 auto; }
body.tpl-on #highlights { padding-top: 34px; }
body.tpl-on :is(#menu, #highlights, #about, #reviews, #contact, #wrapper) .tf-title h2, body.tpl-on :is(#menu, #highlights, #about, #reviews, #contact, #wrapper) .cat-title > span { color: #fcd34d !important; background: rgba(0,0,0,.65) !important; }
body.tpl-on :is(#menu, #highlights, #about, #reviews, #contact, #wrapper) .tf-title .sub-title, body.tpl-on :is(#menu, #highlights, #about, #reviews, #contact, #wrapper) .tf-title p { color: #fff !important; background: rgba(0,0,0,.65) !important; }
body.tpl-on :is(#menu, #highlights, #about, #reviews, #contact, #wrapper) .tf-title h2 { font-family: inherit !important; font-size: clamp(1.6rem, 4vw, 2.6rem) !important; }
:is(#highlights, #about, #reviews, #contact) .tf-title { display: flex !important; flex-direction: column; align-items: center; }
body:not(.tpl-fastfood_cards) #menu .tf-title { display: flex; flex-direction: column; align-items: center; }
/* the classic fixed header reserved 62px at the top of the wrapper: the template header is sticky, so no gap above it */
body.tpl-on #wrapper { padding-top: 0 !important; margin-top: 0 !important; }
@media (max-width: 760px) { body.tpl-warm_cafe .th-badge .th-name { font-size: .62rem; line-height: 1.15; } }

/* ============================================================ warm cafe: glass item cards; hours everywhere (middle + footer) ============================================================ */
body.tpl-warm_cafe .product-item .inner { background: rgba(0,0,0,.65) !important; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.2) !important; border-radius: 24px !important; padding: 14px !important; box-shadow: 0 14px 30px rgba(0,0,0,.28) !important; color: #fff !important; overflow: hidden; }
body.tpl-warm_cafe .product-item .inner h5, body.tpl-warm_cafe .product-item .inner h5 a { color: #fff !important; font-weight: 800 !important; text-shadow: none !important; }
body.tpl-warm_cafe .product-item .inner .desc, body.tpl-warm_cafe .product-item .inner .content p { color: rgba(255,255,255,.85) !important; }
body.tpl-warm_cafe .product-item .inner .content { color: #fff; }
body.tpl-warm_cafe .product-item .tf-button, body.tpl-warm_cafe .product-item .add-circle { background: #fff !important; color: #0f172a !important; font-weight: 800 !important; border-color: #fff !important; }
body.tpl-warm_cafe .product-item .price { background: #fbbf24 !important; color: #0f172a !important; font-weight: 800; }
.footer .hours-list, .ft-hours, #fHours { background: rgba(0,0,0,.65) !important; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.2) !important; border-radius: 18px !important; padding: 12px 16px !important; color: #fff !important; max-width: 420px; }
.footer .hours-list li, .footer .hours-list li span, #fHours li, #fHours li span { color: #fff !important; }
.footer .hours-list li, #fHours li { max-width: none !important; border-bottom: 1px dashed rgba(255,255,255,.22) !important; padding: 5px 10px !important; margin: 0 !important; }
.footer .hours-list li:last-child, #fHours li:last-child { border-bottom: 0 !important; }
.footer .hours-list li.today, #fHours li.today { background: #fbbf24 !important; border-radius: 999px; border-bottom-color: transparent !important; font-weight: 800; }
.footer .hours-list li.today, .footer .hours-list li.today span, #fHours li.today, #fHours li.today span { color: #0f172a !important; }
/* beat the per-template light boxes: story / location / hours are always dark glass (all templates) */
body.tpl-on .about-box, body.tpl-on .location-box, body.tpl-on #about .hours-list, body.tpl-warm_cafe .about-box, body.tpl-warm_cafe .location-box, body.tpl-warm_cafe #about .hours-list { background: rgba(0,0,0,.6) !important; border: 1px solid rgba(255,255,255,.2) !important; border-radius: 24px !important; color: #fff !important; }
body.tpl-warm_cafe .about-box *, body.tpl-warm_cafe .location-box * { color: #fff !important; }
body.tpl-warm_cafe #about .hours-list li.today, body.tpl-warm_cafe #about .hours-list li.today span { color: #0f172a !important; }
/* warm cafe item card: ONE glass card around image + name + description + price/cart */
body.tpl-warm_cafe .product-item { background: rgba(0,0,0,.65) !important; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.2) !important; border-radius: 24px !important; padding: 14px !important; box-shadow: 0 14px 30px rgba(0,0,0,.28) !important; overflow: hidden; color: #fff; }
body.tpl-warm_cafe .product-item .inner { background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; -webkit-backdrop-filter: none; backdrop-filter: none; border-radius: 0 !important; }
body.tpl-warm_cafe .product-item .tpl-cap { background: transparent !important; color: #fff !important; box-shadow: none !important; border: 0 !important; }
body.tpl-warm_cafe .product-item .tpl-cap b { color: #fbbf24 !important; }

/* ============================================================ English / LTR: the whole layout mirrors ============================================================ */
html[dir="ltr"] .tpl-head .th-in, html[dir="ltr"] .tpl-hero .th-wrap, html[dir="ltr"] .tpl-hero .hero-info, html[dir="ltr"] .tpl-fc, html[dir="ltr"] .tpl-head, html[dir="ltr"] .tpl-hero,
html[dir="ltr"] body.tpl-fastfood_cards #menu .tf-title, html[dir="ltr"] body.tpl-warm_cafe .product-item .tpl-cap { direction: ltr; }
html[dir="ltr"] .tpl-fc { text-align: left; }
html[dir="ltr"] .tpl-head .th-nav, html[dir="ltr"] .tpl-hero .th-txt, html[dir="ltr"] .tpl-hero .th-title, html[dir="ltr"] .tpl-hero .th-sub { text-align: left; }
html[dir="rtl"] .tpl-hero .th-txt, html[dir="rtl"] .tpl-hero .th-title { text-align: right; }
html[dir="ltr"] body.tpl-dark_featured .tpl-hero .th-txt::before { background: linear-gradient(to right, rgba(0,0,0,.7), rgba(0,0,0,.42) 55%, transparent); }
html[dir="ltr"] body.tpl-editorial_hero .th-glass { border-radius: 28px 28px 84px 28px; }
html[dir="ltr"] body.tpl-editorial_hero .th-bg::after { background: linear-gradient(to top, rgba(0,0,0,.85), rgba(0,0,0,.5) 45%, rgba(0,0,0,.32)), linear-gradient(270deg, rgba(0,0,0,.55), transparent 70%) !important; }
html[dir="ltr"] .tpl-hero .hero-info, html[dir="ltr"] .tpl-hero .hero-info .hi-row { justify-content: flex-start; align-items: flex-start; text-align: left; }
html[dir="ltr"] .tf-title, html[dir="ltr"] #menu .cat-title { text-align: center; }
html[dir="ltr"] body.tpl-fastfood_cards #menu .tf-title, html[dir="ltr"] body.tpl-fastfood_cards #menu .cat-title { text-align: left !important; }
html[dir="ltr"] .product-item .inner, html[dir="ltr"] .product-item .content, html[dir="ltr"] .about-box .content { direction: ltr; text-align: left; }
html[dir="ltr"] #about .hours-list, html[dir="ltr"] .footer .hours-list { direction: ltr; }
html[dir="ltr"] .th-search { direction: ltr; }
html[dir="ltr"] body.tpl-editorial_hero .th-search.open input { padding: 10px 16px 10px 6px !important; }

/* warm_cafe header: English labels are longer — never clip the links, wrap the tools row instead */
body.tpl-warm_cafe .th-nav a { white-space: nowrap; flex: none; }
body.tpl-warm_cafe .th-nav { min-width: 0; }
@media (max-width: 1500px) { html[dir="ltr"] body.tpl-warm_cafe .th-in { flex-wrap: wrap; justify-content: center; row-gap: 6px; padding-bottom: 8px; } html[dir="ltr"] body.tpl-warm_cafe .th-tools { flex: 1 1 100%; justify-content: center; } html[dir="ltr"] body.tpl-warm_cafe .th-badge { margin-bottom: 0; width: 72px; height: 72px; } }
@media (max-width:1500px){ html[dir="ltr"] body.tpl-warm_cafe .th-badge { font-size: .56rem; padding: 4px; } }
