/* Overrides + shop widgets for the Basilico-based home page. Loaded AFTER basilico/app.css. */
html, body { direction: ltr; }               /* keep the template geometry; Arabic text blocks use .rtl */
body { font-family: "Kanit", "Cairo", "Segoe UI", Tahoma, sans-serif; background: #fff; color: #0c0c0c; margin: 0; }
h1,h2,h3,h4,h5,h6,.tf-button,#main-nav .menu li a { font-family: "Kanit", "Cairo", sans-serif; }
.is-hidden { display: none !important; }      /* app.css redefines .hidden as overflow:hidden */
.rtl { direction: rtl; text-align: right; }
.container.w_1200 { max-width: 1200px; } .container.w_1290 { max-width: 1290px; } .container.w_1650 { max-width: 1650px; } .container.w_1920 { max-width: 1920px; }
.footer { background: #0c0c0c !important; color: #fff; }
.footer .list li, .footer .list li span { color: #d8d8d8; }
#page { display: flex; flex-direction: column; }
.sec-hide { display: none !important; }

/* topbar / header bits not in the template */
.topbar .brand-name { font-size: 26px; font-weight: 700; color: var(--brand, #bb0001); font-family: "Cairo", "Kanit", sans-serif; }
.topbar__logo img { max-height: 59px; width: auto; }
.topbar .topbar-info .phone p { direction: rtl; }
.cart .content { direction: rtl; max-height: 70vh; overflow: auto; }
.cart .content .cart-item { text-align: right; }
.cart .content .cart-item .inner { flex: 1; }
.cart-q { display: flex; align-items: center; gap: 8px; margin-top: 4px; direction: ltr; justify-content: flex-end; }
.cart-q button { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--brand, #bb0001); background: #fff; color: var(--brand, #bb0001); font-weight: 700; line-height: 1; }
.cart-total { display: flex; justify-content: space-between; font-weight: 700; font-size: 18px; margin: 14px 0; direction: rtl; }
.track-btn { background: #fff !important; color: var(--brand, #bb0001) !important; margin-right: 12px; animation: tp 1.6s infinite; white-space: nowrap; }
.track-btn:hover { background: #0c0c0c !important; color: #fff !important; }
@keyframes tp { 0%,100% { box-shadow: 0 0 0 0 rgba(245,168,28,.7); } 50% { box-shadow: 0 0 0 9px rgba(245,168,28,0); } }
.header .hamburger .content { direction: rtl; }
.header .hamburger .icon_hamburger { color: #fff; font-size: 26px; display: grid; place-items: center; width: 63px; height: 63px; }
#main-nav .menu li a { font-size: 16px; }
#main-nav-mobi { right: 0; left: auto; direction: rtl; }
.header #site-header.style1 .site-header-inner { display: flex; align-items: center; }
.open-pill { display: inline-block; margin-bottom: 14px; padding: 5px 16px; border-radius: 99px; background: #fff; font-weight: 700; font-size: 14px; }
.open-pill.on { color: #0c5a22; } .open-pill.off { color: #8a1c14; }

/* hero (single slide, no Swiper) */
.slider-page .slide-inner { justify-content: flex-end; }
.hero-img { width: 100%; height: 480px; border-radius: 30px; overflow: hidden; background: linear-gradient(135deg, var(--hero, #3a0000), var(--brand, #bb0001)) center/cover no-repeat; position: relative; }
.hero-img::before { content: ""; position: absolute; inset: 0; background: linear-gradient(270deg, rgba(0,0,0,.65), rgba(0,0,0,.15)); }
.slider-page .slide-inner .content { right: 0; left: auto; padding: 0 68px 28px 16px; direction: rtl; text-align: right; }
.slider-page .slide-inner .content h2, .slider-page .slide-inner .content p { color: #fff; }
.slider-page .slide-inner .content .flex { gap: 10px; flex-wrap: wrap; }
.slider-page { margin-bottom: 48px; }

/* features strip without Swiper */
.mySwiper2 .swiper-wrapper { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.mySwiper2 .swiper-slide { flex: 1 1 200px; }
.about-inner .box { color: #fff; }
.about-inner .box h5 a, .about-inner .box h5 { color: #fff; } .about-inner .box .color-5, .about-inner .box p { color: #ddd; direction: rtl; }
.about-inner .box .inner .icon i { font-size: 36px; color: #fff; }
.about-inner .box h5 { direction: rtl; }
.about-inner .box .hover-effect { width: 100%; }

/* categories (item-box) */
.item-box { cursor: pointer; }
.item-box .image { height: 300px; background: linear-gradient(135deg, var(--hero, #3a0000), var(--brand, #bb0001)); display: grid; place-items: center; font-size: 80px; }
.item-box .image img { width: 100%; height: 100%; object-fit: cover; }
.item-box .image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.65), rgba(0,0,0,.05) 70%); border-radius: 20px; }
.item-box .content { z-index: 2; direction: rtl; text-align: right; right: 0; left: auto; padding: 36px 36px 36px 90px; }
.item-box .content .title, .item-box .content p { color: #fff; }
.item-box .link { z-index: 3; color: var(--brand, #bb0001); font-size: 28px; right: auto; left: 60px; }
.item-box:hover .link { left: 36px; right: auto; }
.item-box .content .title a { color: #fff; }

/* tabs */
.cat-tabs { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 36px; }
.cat-tabs button { border: 2px solid var(--accent, #f5a81c); background: #fff; color: #0c0c0c; border-radius: 30px; height: 46px; padding: 0 26px; font-weight: 600; font-family: "Cairo", "Kanit", sans-serif; transition: .25s; }
.cat-tabs button:hover { background: #fff4ea; }
.cat-tabs button.on { background: var(--accent, #f5a81c); color: #fff; }

/* menu cards (product-item) */
.product-item .inner { min-height: 250px; }
.product-item .content { direction: rtl; text-align: right; width: 56%; }
.product-item .image { width: 44%; min-height: 0; padding-top: 0; }
.product-item .image img { width: 100%; height: 220px; object-fit: cover; border-radius: 20px; }
.product-item .image .ph { height: 220px; border-radius: 20px; background: #fff4ea; display: grid; place-items: center; font-size: 64px; }
.product-item .overlay { background: var(--brand, #bb0001); } .product-item .overlay img { display: none; }
.product-item .price { right: auto; left: 45px; background-image: linear-gradient(90deg, #ca0203, #ff0001); direction: rtl; }
.product-item .content .desc { color: #666; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.product-item .actions { display: flex; align-items: center; gap: 10px; justify-content: flex-end; }
.add-circle { width: 50px; height: 50px; border-radius: 50%; border: 0; background: var(--brand, #bb0001); color: #fff; font-size: 26px; line-height: 1; display: grid; place-items: center; transition: .25s; }
.add-circle:hover { background: #0c0c0c; transform: rotate(90deg); }
.add-circle[disabled] { background: #aaa; cursor: not-allowed; transform: none; }
.product-item.off { opacity: .6; }
.inc-badge { position: absolute; z-index: 9; top: 10px; right: 14px; background: var(--accent, #f5a81c); color: #fff; border-radius: 99px; min-width: 28px; height: 28px; display: grid; place-items: center; font-weight: 700; padding: 0 8px; }
.sold { position: absolute; z-index: 9; bottom: 12px; left: 16px; background: #0c0c0c; color: #fff; border-radius: 99px; padding: 2px 12px; font-size: 13px; }
.pi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 24px; }
.cat-title { margin: 24px 0 4px; direction: rtl; text-align: right; border-right: 6px solid var(--accent, #f5a81c); padding-right: 12px; }
@media (max-width: 991px) { .pi-grid { grid-template-columns: 1fr; } .hero-img { height: 400px; } .slider-page .slide-inner .content { padding-right: 28px; } }
@media (max-width: 575px) { .product-item .inner { padding: 38px 14px 18px; flex-direction: column-reverse; } .product-item .content, .product-item .image { width: 100%; } .product-item .price { left: 24px; } .hero-img { height: 360px; } }

/* stories */
.stories { display: flex; gap: 16px; overflow-x: auto; padding: 8px 2px 18px; }
.story { flex: none; width: 82px; background: none; border: 0; padding: 0; text-align: center; font-size: 12px; color: #0c0c0c; font-family: "Cairo", sans-serif; }
.story i { display: block; width: 76px; height: 76px; border-radius: 50%; padding: 3px; background: linear-gradient(135deg, var(--accent, #f5a81c), var(--brand, #bb0001)); margin-bottom: 4px; }
.story i img, .story i span { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 2px solid #fff; background: #fff; display: grid; place-items: center; }

/* about / branches / hours */
.about-box { margin: 20px 0 30px; }
.about-box .content { padding: 30px 40px; direction: rtl; text-align: right; width: 60%; }
.about-box .image { width: 40%; }
.about-box .image img { max-height: 420px; width: 100%; object-fit: cover; }
.hours-list { margin: 18px 0 0; padding: 0; }
.hours-list li { display: flex; justify-content: space-between; max-width: 340px; padding: 5px 0; border-bottom: 1px dashed #d9c3b0; }
.hours-list li.today { font-weight: 700; color: var(--brand, #bb0001); }
@media (max-width: 991px) { .about-box { flex-direction: column; } .about-box .image, .about-box .content { width: 100%; } .about-box .content { padding: 24px 6px 6px; } }
.location-box { direction: rtl; text-align: right; color: #fff; margin-bottom: 24px; padding: 34px; }
.location-box h4 { color: #fff; margin-bottom: 14px; }
.location-box .tf-button { display: inline-flex; margin-left: 8px; }

/* gallery */
.gal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.product-3 { cursor: pointer; aspect-ratio: 1; background: #eee; }
.product-3 img, .product-3 video { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-3 .action { background: color-mix(in srgb, var(--brand, #bb0001) 78%, transparent); }
.product-3 .action .icon { color: #fff; font-size: 24px; }

/* reviews */
.rv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.product-item-style2 { direction: rtl; text-align: right; }
.product-item-style2 .stars { color: var(--accent, #f5a81c); letter-spacing: 3px; font-size: 18px; }
.product-item-style2 img.rp { width: 100%; max-height: 160px; object-fit: cover; border-radius: 14px; margin-top: 10px; }

.footer .list li a, .footer .list li { direction: rtl; }
.footer h5 { direction: rtl; }
.footer .hours-list { margin: 0 auto 24px; padding: 0; }
.footer .hours-list li { color: #d8d8d8; border-color: #444; margin: 0 auto; }
.footer .hours-list li.today { color: var(--accent, #f5a81c); }

/* floating cart (mobile has no sticky header) */
.fab-cart { position: fixed; bottom: 18px; left: 16px; right: 16px; max-width: 560px; margin: 0 auto; z-index: 90; }

/* ---------- modals (namespaced so they don't fight Bootstrap) ---------- */
.ov { position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 100000; display: flex; align-items: flex-end; justify-content: center; }
.ov.center { align-items: center; }
.sh { background: #fff; width: 100%; max-width: 560px; max-height: 92vh; overflow: auto; border-radius: 18px 18px 0 0; padding: 18px; direction: rtl; text-align: right; font-family: "Cairo", "Kanit", sans-serif; color: #0c0c0c; }
.ov.center .sh { border-radius: 18px; margin: 12px; }
.sh h3 { margin: 0 0 8px; font-size: 22px; }
.cx { float: left; background: none; border: 0; font-size: 1.8rem; line-height: 1; }
.fld { display: block; margin: 0 0 12px; }
.fld > span { display: block; font-weight: 700; margin-bottom: 4px; font-size: .92rem; }
.fld input, .fld select, .fld textarea { width: 100%; padding: 12px; border: 1.5px solid #ddd; border-radius: 10px; background: #fff; font: inherit; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: 2px solid var(--accent, #f5a81c); border-color: var(--accent, #f5a81c); }
.rw { display: flex; gap: 10px; align-items: center; }
.grow { flex: 1; }
.crd { background: #fff; border: 1px solid #e5e5e5; border-radius: 14px; padding: 14px; }
.mut { color: #777; }
.sbtn { border: 0; border-radius: 30px; padding: 8px 16px; font-weight: 600; background: var(--accent, #f5a81c); color: #fff; }
.sbtn.ghost { background: #fff; color: var(--brand, #bb0001); border: 1.5px solid var(--brand, #bb0001); }
.qtyc { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 14px 0 4px; }
.qtyc button { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--brand, #bb0001); background: #fff; color: var(--brand, #bb0001); font-size: 1.4rem; font-weight: 800; }
.qtyc output { min-width: 32px; text-align: center; font-size: 1.3rem; font-weight: 800; }
.cline { display: flex; gap: 8px; align-items: center; padding: 10px 0; border-bottom: 1px solid #eee; }
.tot div { display: flex; justify-content: space-between; padding: 3px 0; }
.tot .grand { font-size: 1.2rem; font-weight: 800; border-top: 2px solid #eee; margin-top: 6px; padding-top: 8px; }
.empty { text-align: center; color: #777; padding: 30px 10px; }

/* REQUIRED: add-to-cart + checkout buttons (fixed brand orange) */
.btn-add-cart { background-color: var(--brand, #e65100) !important; color: var(--on-brand, #ffffff) !important; font-weight: bold; width: 100%; padding: 14px; border-radius: 8px; margin-top: 15px; border: 0; font-size: 1.05rem; }
.btn-add-cart[disabled] { background-color: #b9aaa0 !important; }
.btn-checkout { background: linear-gradient(135deg, var(--brand, #e65100), var(--brand2, #ff6d00)) !important; color: var(--on-brand, #ffffff) !important; font-weight: bold; padding: 16px; border-radius: 10px; width: 100%; border: 0; font-size: 1.1rem; box-shadow: 0 4px 14px rgba(230,81,0,.35); }
.btn-checkout[disabled] { opacity: .6; }
.checkout-bottom { padding-bottom: 95px; padding-bottom: calc(95px + env(safe-area-inset-bottom, 0px)); }

/* toast (Bootstrap also defines .toast) */
body .toast { position: fixed !important; bottom: 110px; left: 50% !important; right: auto !important; transform: translate(-50%, 20px); background: #222; color: #fff; padding: 10px 16px; border-radius: 10px; opacity: 0; transition: .25s; z-index: 200000; max-width: 90vw; width: auto; display: block !important; font-family: "Cairo", sans-serif; direction: rtl; }
body .toast.show { opacity: 1; transform: translate(-50%, 0); }
body .toast.err { background: #c62828; } body .toast.ok { background: #1b8a3a; }

/* viewer */
.viewer { position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 150000; display: flex; align-items: center; justify-content: center; }
.viewer .box { width: min(96vw, 900px); max-height: 90vh; }
.viewer img, .viewer video { width: 100%; max-height: 86vh; object-fit: contain; border-radius: 10px; }
.viewer iframe { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: 10px; }
.viewer .x { position: absolute; top: 14px; right: 18px; color: #fff; font-size: 2rem; background: none; border: 0; }
.top-banners { position: relative; z-index: 1000; }
.paused-bar { background: #fff1f0; color: #5a1a14; text-align: center; padding: 10px; direction: rtl; font-weight: 700; }
/* announcement strip above the header: dark amber, readable, never overlaps the name / buttons (normal flow, not fixed) */
.top-banners .paused-bar { background: rgba(69,26,3,.94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(251,191,36,.4); color: #fef3c7; padding: 9px 16px; text-align: center; font-weight: 700; font-size: .95rem; line-height: 1.6; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.top-banners .paused-bar + .paused-bar { border-top: 1px solid rgba(251,191,36,.25); }
html[dir="ltr"] .top-banners .paused-bar { direction: ltr; }
html[data-theme="dark"] .top-banners .paused-bar { background: rgba(69,26,3,.94); color: #fef3c7; }
/* menu search */
.msearch { position: relative; max-width: 560px; margin: 0 auto 18px; display: flex; align-items: center; direction: rtl; }
.msearch .ms-ico { position: absolute; inset-inline-start: 14px; font-size: 1rem; opacity: .6; pointer-events: none; }
.msearch input { width: 100%; box-sizing: border-box; height: 46px; border-radius: 999px; border: 2px solid rgba(128,128,128,.35); background: rgba(255,255,255,.92); color: #1a1a1a; padding: 0 44px; font: 600 1rem "Cairo", "IBM Plex Sans Arabic", sans-serif; outline: none; -webkit-appearance: none; appearance: none; }
.msearch input::-webkit-search-cancel-button { -webkit-appearance: none; display: none; }
.msearch input:focus { border-color: var(--brand, #d97706); box-shadow: 0 0 0 3px rgba(217,119,6,.2); }
.msearch .ms-x { position: absolute; inset-inline-end: 8px; width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(0,0,0,.12); color: #222; font-size: .95rem; line-height: 1; cursor: pointer; }
.msearch .ms-x:hover { background: rgba(0,0,0,.22); }
html[dir="ltr"] .msearch { direction: ltr; }

@media (max-width: 991px) {

  .track-btn { margin-right: 6px; padding: 6px 14px; }
}

/* fixes found in visual check */
.product-item { position: relative; }
.product-item .inner .content, .product-item .inner .image { position: relative; z-index: 3; }
.product-item .inner { background: #fffaf4; box-shadow: 0 6px 22px rgba(60,20,0,.08); }
.about-box h2, .about-box h5, .about-box p { color: #0c0c0c; }
.location-box ul { padding: 0; list-style: none; margin-bottom: 20px; }
@media (min-width: 992px) { .fab-cart { max-width: 420px; left: auto; right: 24px; margin: 0; } }

/* ---- field-update batch: spacing, soft cards, map picker, custom background, header toggles ---- */
.slider-page { margin-top: 118px; } /* clears the absolutely-positioned red capsule header on tablet/desktop */
.pickmap { height: 260px; border-radius: 14px; overflow: hidden; border: 1.5px solid #ddd; z-index: 0; }
.pickmap .leaflet-control-attribution { font-size: 10px; }
.ui-hd { margin-inline-end: 10px; }
.ui-hd .ui-b { background: rgba(255,255,255,.22); color: #fff; height: 38px; }
.ui-hd .ui-b:hover { background: rgba(255,255,255,.4); }
@media (max-width: 575px) { .ui-hd { margin-inline-end: 4px; gap: 4px; } .ui-hd .ui-b { min-width: 34px; padding: 0 8px; } }

body.has-bg-img { position: relative; background-color: #000; }
body.has-bg-img::before { content: ""; position: fixed; inset: 0; z-index: -2; background: var(--bgimg) center / cover no-repeat; }
body.has-bg-img::after { content: ""; position: fixed; inset: 0; z-index: -1; background: rgba(0,0,0,var(--bgov, .35)); pointer-events: none; }
body.has-bg #wrapper, body.has-bg .main-content { background: transparent !important; }
body.has-bg section, body.has-bg .tf-section, body.has-bg .bg-6 { background: transparent !important; }
body.has-bg .product-item .inner, body.has-bg .about-box, body.has-bg .hours-list, body.has-bg .location-box, body.has-bg .product-item-style2 { background: #fffaf4; }
body.bg-dark .tf-section h1, body.bg-dark .tf-section h2, body.bg-dark .tf-section h3, body.bg-dark .tf-section h4, body.bg-dark .tf-section h5,
body.bg-dark .tf-section > .container > .row > .col-md-12 > p, body.bg-dark #stories, body.bg-dark .heading-section, body.bg-dark .heading-section p { color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.45); }
body.bg-dark .product-item .inner h1, body.bg-dark .product-item .inner h2, body.bg-dark .product-item .inner h3, body.bg-dark .product-item .inner h4, body.bg-dark .product-item .inner h5,
body.bg-dark .about-box h2, body.bg-dark .about-box h5, body.bg-dark .product-item-style2 h5 { color: #0c0c0c; text-shadow: none; }
html[data-theme="dark"] body.has-bg .product-item .inner, html[data-theme="dark"] body.has-bg .about-box, html[data-theme="dark"] body.has-bg .hours-list, html[data-theme="dark"] body.has-bg .location-box, html[data-theme="dark"] body.has-bg .product-item-style2 { background: #1a1a1a; }
html[data-theme="dark"] body.has-bg.bg-dark .product-item .inner h3, html[data-theme="dark"] body.has-bg.bg-dark .product-item .inner h5 { color: #f2f2f2; }
html[data-theme="dark"] .pickmap { border-color: #3a3a3a; }
html[data-theme="dark"] .product-item .inner { box-shadow: none; }

/* =====================================================================
   Mobile overhaul (<768px): flex header, hero info card, 2-col categories,
   compact feature strip, unified gutters, no horizontal scroll.
   ===================================================================== */
html { overflow-x: hidden; }
body, #wrapper { overflow-x: hidden; max-width: 100%; }
/* never yellow text on yellow: dark bold label on the yellow buttons (red .style2 stays white) */
.tf-button:not(.style2) { color: #0c0c0c !important; font-weight: 800; }
.hero-info { display: inline-flex; flex-direction: column; gap: 8px; align-items: flex-start; background: rgba(255,255,255,.1); backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,.18); border-radius: 16px; padding: 16px; margin-bottom: 22px; direction: rtl; }
.hero-info .hi-row { font-size: 1rem; line-height: 1.4; color: #fff; display: flex; gap: 8px; align-items: center; font-weight: 600; }
.hero-info .hi-row i { font-style: normal; }
.hero-info:empty { display: none; }
.brand-branch { display: block; font-size: .72rem; color: var(--accent, #f5a81c); font-weight: 700; line-height: 1.1; }
.header__logo-mobile .brand-name { color: #fff; }

@media (max-width: 991.98px) {
  .container, .container.w_1200, .container.w_1290, .container.w_1650 { padding-left: 15px !important; padding-right: 15px !important; max-width: 100% !important; }
  .row { margin-left: -0 !important; margin-right: -0 !important; }
  .row > * { padding-left: 0; padding-right: 0; }

  /* ---- header: one flex row, 62px, nothing absolutely positioned ---- */
  .topbar.style { display: none !important; }
  #wrapper { padding-top: 62px; }
  #header_main, #header_main.is-fixed, #header_main.is-fixed.is-small { position: fixed !important; top: 0 !important; left: 0; right: 0; width: 100%; opacity: 1 !important; transform: none !important; height: 62px !important; padding: 0 !important; background: #0c0c0c !important; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,.25); }
  #header_main .container { height: 100%; }
  #header_main #site-header { direction: inherit; display: flex !important; align-items: center; justify-content: space-between; height: 62px; padding: 0 !important; position: static; gap: 8px; }
  #header_main #site-header::before { display: none !important; }
  #header_main .site-header-inner { display: contents !important; }
  #header_main #main-nav, #header_main .right > a.tf-button, #header_main .right > .hamburger { display: none !important; }
  #header_main .mobile-button { display: block !important; position: relative !important; top: auto !important; right: auto !important; transform: none !important; order: 1; flex: none; width: 28px; height: 40px; margin: 0 0 0 4px; background: transparent !important; }
  #header_main .mobile-button:before, #header_main .mobile-button:after, #header_main .mobile-button span { background-color: #fff !important; left: 0; width: 100%; height: 3px; border-radius: 2px; }
  #header_main .mobile-button:before { top: 11px; } #header_main .mobile-button span { top: 18px; } #header_main .mobile-button:after { top: 25px; }
  #header_main .mobile-button.active:before { top: 18px; transform: rotate(45deg); } #header_main .mobile-button.active:after { top: 18px; transform: rotate(-45deg); } #header_main .mobile-button.active span { opacity: 0; }
  #header_main .header__logo-mobile { display: block !important; position: static !important; transform: none !important; width: auto !important; left: auto !important; right: auto !important; top: auto !important; order: 2; flex: 1; min-width: 0; padding: 0 !important; text-align: center; }
  #header_main .header__logo-mobile a { display: block; line-height: 1.15; }
  #header_main .header__logo-mobile .brand-name { display: block; font-size: 1.05rem; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  #header_main #hdTools { order: 3; flex: none; display: flex !important; align-items: center; gap: 6px; margin: 0 !important; }
  #hdTools .ui-hd { margin: 0; }
  #hdTools ul.action { display: flex; margin: 0; padding: 0; list-style: none; }
  #hdTools .icon_cart { position: relative; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--accent, #f5a81c); }
  #hdTools .icon_cart .fa-shopping-cart { color: #0c0c0c !important; }
  #hdTools .icon_cart .number { position: absolute; top: -5px; right: -5px; min-width: 18px; height: 18px; line-height: 18px; font-size: 11px; text-align: center; border-radius: 99px; background: var(--brand, #bb0001); color: #fff; }
  #hdTools .cart .content { position: fixed; top: 68px; right: 10px; left: 10px; }
  #main-nav-mobi { left: 0 !important; right: auto !important; width: min(300px, 86vw); }
  #main-nav-mobi .mob-cta { background: var(--accent, #f5a81c); color: #0c0c0c !important; border-radius: 30px; text-align: center; font-weight: 800; }
  .slider-page { margin-top: 14px; }

  /* ---- hero ---- */
  .slider-page .slide-inner .content { padding: 22px 18px !important; }
  .slider-page .slide-inner .content h2 { font-size: 2.1rem; margin-bottom: 14px !important; }
  .slider-page .slide-inner .content p.mb-40 { margin-bottom: 18px !important; }
  .slider-page .slide-inner .content .flex { flex-wrap: wrap; gap: 10px; }
  .slider-page .slide-inner .content .flex .tf-button { flex: 1 1 auto; padding: 6px 18px; }

  /* ---- feature strip: compact horizontal scroller (<= 90px) ---- */
  .about-inner.style1 { padding: 10px !important; border-radius: 18px !important; }
  .about-inner .mySwiper2 .swiper-wrapper { display: flex !important; flex-wrap: nowrap; overflow-x: auto; gap: 10px; transform: none !important; scrollbar-width: none; }
  .about-inner .mySwiper2 .swiper-wrapper::-webkit-scrollbar { display: none; }
  .about-inner .swiper-slide { flex: 0 0 auto !important; width: auto !important; margin: 0 !important; }
  .about-inner .box { padding: 0 !important; margin: 0 !important; }
  .about-inner .box .inner { display: flex !important; flex-direction: row !important; align-items: center; gap: 8px; height: 54px; padding: 0 16px !important; border-radius: 14px; background: rgba(255,255,255,.08); }
  .about-inner .box .inner .icon { margin: 0 !important; width: auto; height: auto; background: none !important; }
  .about-inner .box .inner .icon i { font-size: 20px; }
  .about-inner .box .inner h5 { font-size: .9rem; white-space: nowrap; margin: 0; }
  .about-inner .box *::after, .about-inner .box *::before { display: none !important; }
  .about-inner .box h5 { border: 0 !important; padding: 0 !important; }
  .about-inner .box .hover-effect { display: none !important; }

  /* ---- categories: 2-column grid with compact dark cards ---- */
  #catCards.row { display: grid !important; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 !important; }
  #catCards.row > div { width: auto !important; max-width: none; padding: 0 !important; margin: 0 !important; }
  #catCards .item-box { position: relative; display: flex; flex-direction: column; background: #151515; border-radius: 16px; overflow: hidden; box-shadow: 0 6px 18px rgba(0,0,0,.18); height: 100%; }
  #catCards .item-box .image { position: relative; height: 112px; font-size: 44px; border-radius: 0; }
  #catCards .item-box .image::after { border-radius: 0; background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.35)); }
  #catCards .item-box .content { position: static !important; padding: 10px 12px 12px !important; text-align: center; width: 100%; }
  #catCards .item-box .content .title { font-size: 1rem; margin: 0 0 2px !important; color: #fff; }
  #catCards .item-box .content p { font-size: .8rem; margin: 0; color: #cfcfcf; }
  #catCards .item-box .link { display: none !important; }
}

/* ===== v3: track button, circular category carousel, glass reviews, contrast ===== */
.track-btn { background: #fff !important; color: var(--brand, #bb0001) !important; border: 1.5px solid color-mix(in srgb, var(--brand, #bb0001) 25%, transparent); transition: background .2s, box-shadow .2s, transform .2s, border-color .2s; }
.track-btn i { color: inherit !important; }
.track-btn:hover, .track-btn:focus-visible { background: #fff1ec !important; color: var(--brand, #bb0001) !important; border-color: color-mix(in srgb, var(--brand, #bb0001) 55%, transparent); box-shadow: 0 6px 18px color-mix(in srgb, var(--brand, #bb0001) 28%, transparent); transform: translateY(-1px); }
.track-btn:hover i, .track-btn:hover span { color: var(--brand, #bb0001) !important; }
.track-btn.has-active { border-color: var(--accent, #f5a81c); }
.track-other { background: transparent; border: 0; color: #fff; font-size: 18px; width: 38px; height: 38px; border-radius: 50%; margin-inline: 4px; cursor: pointer; transition: background .2s; }
.track-other:hover { background: rgba(255,255,255,.18); }
html[data-theme="dark"] .track-btn { background: #241616 !important; color: #ff9d9d !important; border-color: rgba(255,138,138,.35); }
html[data-theme="dark"] .track-btn:hover, html[data-theme="dark"] .track-btn:focus-visible { background: #351c1c !important; color: #ffc2c2 !important; box-shadow: 0 6px 18px rgba(255,120,120,.25); }
html[data-theme="dark"] .track-btn:hover i, html[data-theme="dark"] .track-btn:hover span { color: #ffc2c2 !important; }
@media (max-width: 991.98px) { .track-btn { display: none !important; } .track-other { display: none; } }

#catCards, #catCards.row { display: none !important; }
#tabs.cat-tabs { display: flex !important; flex-wrap: nowrap !important; justify-content: flex-start !important; gap: 18px; overflow-x: auto; overflow-y: hidden; padding: 6px 15px 14px; margin: 0 -15px 28px;
  scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scrollbar-width: none; cursor: grab; direction: rtl; user-select: none; }
#tabs.cat-tabs::-webkit-scrollbar { display: none; }
#tabs.cat-tabs.drag { cursor: grabbing; scroll-snap-type: none; }
@media (min-width: 992px) { #tabs.cat-tabs { justify-content: center !important; } }
#tabs.cat-tabs .cat-c { all: unset; box-sizing: border-box; flex: 0 0 auto; width: 92px; display: flex; flex-direction: column; align-items: center; gap: 9px; cursor: pointer; scroll-snap-align: center; font-family: "Cairo", "Kanit", sans-serif; -webkit-tap-highlight-color: transparent; }
#tabs.cat-tabs .cat-c .ring { width: 84px; height: 84px; border-radius: 50%; padding: 3px; background: #e4d9cc; display: grid; place-items: center; overflow: hidden; transition: transform .2s, box-shadow .2s, background .2s; }
#tabs.cat-tabs .cat-c .ring img, .cat-c .ring i { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: grid; place-items: center; font-style: normal; font-size: 32px; background: #fff7ec; border: 2px solid #fff; box-sizing: border-box; pointer-events: none; }
#tabs.cat-tabs .cat-c b { font-size: 14px; font-weight: 700; line-height: 1.25; color: #1a1a1a; text-align: center; max-width: 92px; overflow-wrap: anywhere; }
#tabs.cat-tabs .cat-c:hover .ring { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(0,0,0,.14); }
#tabs.cat-tabs .cat-c.on .ring { background: conic-gradient(from 200deg, var(--accent, #f5a81c), var(--brand, #bb0001), var(--accent, #f5a81c)); box-shadow: 0 0 0 3px rgba(245,168,28,.28), 0 8px 18px color-mix(in srgb, var(--brand, #bb0001) 25%, transparent); transform: scale(1.06); }
#tabs.cat-tabs .cat-c.on b { color: var(--brand, #bb0001); }
#tabs.cat-tabs .cat-c:focus-visible .ring { outline: 3px solid var(--accent, #f5a81c); outline-offset: 2px; }
html[data-theme="dark"] #tabs.cat-tabs .cat-c b { color: #f2f2f2; }
html[data-theme="dark"] #tabs.cat-tabs .cat-c.on b { color: #ffb347; }
html[data-theme="dark"] #tabs.cat-tabs .cat-c .ring { background: #3a3a3a; }
html[data-theme="dark"] #tabs.cat-tabs .cat-c .ring img, html[data-theme="dark"] .cat-c .ring i { background: #262626; border-color: #1a1a1a; }
html[data-theme="dark"] #tabs.cat-tabs .cat-c.on .ring { background: conic-gradient(from 200deg, var(--accent, #f5a81c), #ff4d4d, var(--accent, #f5a81c)); }
@media (max-width: 575.98px) { #tabs.cat-tabs .cat-c { width: 80px; } #tabs.cat-tabs .cat-c .ring { width: 72px; height: 72px; } #tabs.cat-tabs .cat-c b { font-size: 13px; } #tabs.cat-tabs { gap: 14px; } }

/* reviews: glass cards with guaranteed contrast (light #1a1a1a, dark #fff) */
#reviews .rv-grid .product-item-style2, body.has-bg #reviews .product-item-style2 { background: rgba(255,255,255,.72) !important; -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  border: 1px solid rgba(255,255,255,.55); border-radius: 18px; padding: 20px; box-shadow: 0 10px 30px rgba(0,0,0,.12); color: #1a1a1a !important; }
#reviews .product-item-style2 h6, #reviews .product-item-style2 h5, #reviews .product-item-style2 p, #reviews .product-item-style2 .desc { color: #1a1a1a !important; text-shadow: none !important; opacity: 1; }
#reviews .product-item-style2 .stars { color: #e08a00; }
html[data-theme="dark"] #reviews .rv-grid .product-item-style2, html[data-theme="dark"] body.has-bg #reviews .product-item-style2 { background: rgba(20,20,20,.62) !important; border-color: rgba(255,255,255,.14); box-shadow: 0 10px 30px rgba(0,0,0,.45); color: #fff !important; }
html[data-theme="dark"] #reviews .product-item-style2 h6, html[data-theme="dark"] #reviews .product-item-style2 h5, html[data-theme="dark"] #reviews .product-item-style2 p, html[data-theme="dark"] #reviews .product-item-style2 .desc { color: #fff !important; }
html[data-theme="dark"] #reviews .product-item-style2 .stars { color: #ffc247; }
#reviews .tf-title h2, #reviews .tf-title .sub-title { color: #1a1a1a; text-shadow: none; }
html[data-theme="dark"] #reviews .tf-title h2, html[data-theme="dark"] #reviews .tf-title .sub-title { color: #fff; }
/* sections over a custom background image/colour: titles + body copy always readable */
body.has-bg:not(.bg-dark) .tf-title h2, body.has-bg:not(.bg-dark) .tf-title p, body.has-bg:not(.bg-dark) .about-box p { color: #1a1a1a; text-shadow: none; }
html[data-theme="dark"] .about-box p, html[data-theme="dark"] .tf-title p, html[data-theme="dark"] .hours-list li, html[data-theme="dark"] .location-box li, html[data-theme="dark"] .location-box h4 { color: #f2f2f2; }
html[data-theme="dark"] .hours-list li.today { color: #ffb347; }

.sh h3 { color: #1a1a1a; }
html[data-theme="dark"] .sh h3 { color: #f2f2f2; }

/* v4: category rail sits on an isolated glass plate; popups always readable */
#tabs.cat-tabs { background: rgba(255,255,255,.78); -webkit-backdrop-filter: blur(14px) saturate(1.15); backdrop-filter: blur(14px) saturate(1.15);
  border: 1px solid rgba(0,0,0,.06); border-radius: 22px; padding: 16px 16px 12px; margin: 0 0 28px; box-shadow: 0 8px 26px rgba(0,0,0,.08); position: relative; z-index: 1; overscroll-behavior-x: contain; touch-action: pan-x; }
html[data-theme="dark"] #tabs.cat-tabs { background: rgba(22,22,22,.72); border-color: rgba(255,255,255,.1); box-shadow: 0 8px 26px rgba(0,0,0,.45); }
#tabs.cat-tabs .cat-c .ring i { font-weight: 800; color: var(--brand, #bb0001); font-size: 30px; background: linear-gradient(135deg, #fff3df, #ffe0b0); }
html[data-theme="dark"] #tabs.cat-tabs .cat-c .ring i { color: #ffb347; background: linear-gradient(135deg, #2c2c2c, #1f1f1f); }
html[data-theme="dark"] .sh { background: #1a1a1a; color: #ececec; } html[data-theme="dark"] .cx { color: #ececec; } html[data-theme="dark"] .sh .mut, html[data-theme="dark"] .sh .muted { color: #b5b5b5; }
.sh .mut, .sh .muted { color: #555; }
.cx { width: 38px; height: 38px; border-radius: 50%; background: #f1f1f1; color: #1a1a1a; display: grid; place-items: center; font-size: 1.5rem; cursor: pointer; }
html[data-theme="dark"] .cx { background: #2c2c2c; }


.cat-title { color: #1a1a1a; }
html[data-theme="dark"] .cat-title { color: #f2f2f2; }
body.has-bg.bg-dark:not([data-x]) .cat-title { text-shadow: none; }

/* ================= v5: header pill, transparent logo, branch card, steady dark category rail ================= */
.ph-pill { display: inline-flex; align-items: center; gap: 9px; padding: 9px 18px; border-radius: 999px; text-decoration: none; font-family: "Cairo", "Kanit", sans-serif; font-weight: 700; font-size: 16px; letter-spacing: .3px; color: #1a1a1a;
  background: rgba(255,255,255,.55); border: 1px solid color-mix(in srgb, var(--brand, #bb0001) 28%, transparent); -webkit-backdrop-filter: blur(10px) saturate(1.2); backdrop-filter: blur(10px) saturate(1.2); box-shadow: 0 4px 14px rgba(0,0,0,.08); transition: background .2s, box-shadow .2s; white-space: nowrap; }
.ph-pill svg { color: var(--brand, #bb0001); flex: none; }
.ph-pill:hover { background: rgba(255,255,255,.85); box-shadow: 0 6px 18px color-mix(in srgb, var(--brand, #bb0001) 18%, transparent); color: #1a1a1a; }
html[data-theme="dark"] .ph-pill { color: #f2f2f2; background: rgba(40,40,40,.55); border-color: rgba(255,255,255,.2); }
html[data-theme="dark"] .ph-pill svg { color: #ffb347; }
html[data-theme="dark"] .ph-pill:hover { background: rgba(60,60,60,.75); color: #fff; }
.topbar .topbar-info .icon { display: none; }
.hd-logo { background: transparent !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; padding: 0 !important; display: block; object-fit: contain; max-height: 56px; width: auto; }
#header_main .header__logo-mobile a { display: flex; align-items: center; gap: 8px; }
#header_main .header__logo-mobile .hd-logo { max-height: 34px; max-width: 54px; flex: none; }
.hi-btn { all: unset; box-sizing: border-box; cursor: pointer; display: flex; gap: 8px; align-items: center; color: #fff; font-weight: 600; font-size: 1rem; line-height: 1.4; font-family: inherit; }
.hi-btn b { text-decoration: underline; text-decoration-color: rgba(255,255,255,.45); text-underline-offset: 4px; }
.hi-btn:focus-visible { outline: 2px solid var(--accent, #f5a81c); outline-offset: 3px; border-radius: 6px; }
.header .hamburger .content { display: none !important; }
.header .hamburger.toggle .content { display: none !important; }

/* branch card */
.br-sh { padding: 0 !important; background: #fff; color: #1a1a1a; border-radius: 22px !important; max-width: 480px; width: calc(100% - 24px); overflow: hidden; position: relative; }
.br-sh .cx { position: absolute; top: 10px; left: 12px; z-index: 3; color: #fff; width: 34px; height: 34px; border-radius: 50%; background: rgba(0,0,0,.28); display: grid; place-items: center; font-size: 1.5rem; float: none; }
.br-card + .br-card { border-top: 6px solid #f3ece3; }
.br-hd { background: linear-gradient(135deg, var(--brand, #bb0001), #7a0000); color: #fff; padding: 26px 22px 18px; }
.br-hd h3 { margin: 0 0 10px; font-size: 1.55rem; font-weight: 800; color: #fff !important; line-height: 1.3; padding-left: 40px; }
.br-row { display: flex; gap: 14px; padding: 14px 22px; border-bottom: 1px solid #f0e8de; align-items: flex-start; }
.br-ic { flex: none; width: 40px; height: 40px; border-radius: 12px; background: #fff3df; display: grid; place-items: center; font-size: 1.15rem; }
.br-row small { display: block; color: #6b645d; font-weight: 700; font-size: .8rem; margin-bottom: 2px; }
.br-row p { margin: 0; color: #1a1a1a; font-weight: 600; font-size: 1.02rem; line-height: 1.55; }
.br-row p.br-empty { color: #8a8178; font-weight: 500; font-size: .95rem; }
.br-week { list-style: none; margin: 8px 0 0; padding: 0; font-size: .9rem; }
.br-week li { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; color: #4a443e; }
.br-week li.today { color: var(--brand, #bb0001); font-weight: 800; }
.br-act { display: flex; gap: 10px; padding: 16px 22px 22px; flex-wrap: wrap; }
.br-btn { flex: 1 1 180px; text-align: center; padding: 14px 12px; border-radius: 14px; font-weight: 800; font-size: 1rem; text-decoration: none; font-family: inherit; display: block; }
.br-call { background: var(--brand, #bb0001); color: #fff !important; box-shadow: 0 6px 16px color-mix(in srgb, var(--brand, #bb0001) 30%, transparent); }
.br-dir { background: #fff; color: #1a1a1a !important; border: 2px solid var(--accent, #f5a81c); }
.br-btn.off { opacity: .45; pointer-events: none; }
.br-btn:hover { filter: brightness(1.06); }
html[data-theme="dark"] .br-sh { background: #1c1a18; color: #f0e9e1; }
html[data-theme="dark"] .br-row { border-color: #2c2825; }
html[data-theme="dark"] .br-ic { background: #2a2420; }
html[data-theme="dark"] .br-row small { color: #b6a89b; }
html[data-theme="dark"] .br-row p { color: #f2ece5; }
html[data-theme="dark"] .br-row p.br-empty { color: #9a8f84; }
html[data-theme="dark"] .br-week li { color: #cfc4b8; }
html[data-theme="dark"] .br-week li.today { color: #ffb347; }
html[data-theme="dark"] .br-dir { background: #262220; color: #f5f0ea !important; }
html[data-theme="dark"] .br-card + .br-card { border-top-color: #0f0e0d; }

/* menu section: isolated dark panel so nothing from the background logo/photo bleeds through */
#menu.tf-section { background: #121110 !important; position: relative; isolation: isolate; border-radius: 28px; margin: 0 10px; overflow: hidden; box-shadow: 0 10px 34px rgba(0,0,0,.35); }
#menu .tf-title h2, #menu .tf-title p, #menu .cat-title, #menu h3.cat-title { color: #f4ece4 !important; text-shadow: none !important; }
#menu .cat-title { border-bottom: 1px solid rgba(245,168,28,.28); padding-bottom: 8px; }
#menu .product-item .inner { border: 1px solid rgba(255,255,255,.07); }
@media (max-width: 575.98px) { #menu.tf-section { margin: 0 6px; border-radius: 22px; } }

/* category rail: perfectly steady (no snap, no scale/translate on hover/active), dark plate, gold/red rings */
#tabs.cat-tabs { background: rgba(26,23,21,.94) !important; border: 1px solid rgba(245,168,28,.22) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; scroll-snap-type: none !important; box-shadow: inset 0 0 0 1px rgba(255,255,255,.03), 0 8px 22px rgba(0,0,0,.35) !important; }
#tabs.cat-tabs .cat-c { scroll-snap-align: none !important; }
#tabs.cat-tabs .cat-c .ring { background: linear-gradient(135deg, var(--accent, #f5a81c), #8f1d1d) !important; padding: 2.5px !important; transition: box-shadow .2s !important; transform: none !important; }
#tabs.cat-tabs .cat-c:hover .ring, #tabs.cat-tabs .cat-c.on .ring { transform: none !important; }
#tabs.cat-tabs .cat-c:hover .ring { box-shadow: 0 0 0 3px rgba(245,168,28,.18) !important; }
#tabs.cat-tabs .cat-c.on .ring { background: linear-gradient(135deg, #ffd166, #ff3b30) !important; box-shadow: 0 0 0 3px rgba(245,168,28,.3), 0 6px 16px color-mix(in srgb, var(--brand, #bb0001) 35%, transparent) !important; }
#tabs.cat-tabs .cat-c .ring img { border: 0 !important; background: #161412 !important; }
#tabs.cat-tabs .cat-c .ring i.ico { width: 100%; height: 100%; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #2b2623, #131110) !important; color: var(--accent, #f5a81c) !important; border: 0 !important; font-size: 0; }
#tabs.cat-tabs .cat-c.on .ring i.ico { color: #ffd166 !important; }
#tabs.cat-tabs .cat-c b { color: #f2ece5 !important; }
#tabs.cat-tabs .cat-c.on b { color: #ffb347 !important; }

.cash-note { background: #fff3d6; border: 1.5px solid var(--accent, #f5a81c); color: #5a3e00; border-radius: 12px; padding: 10px 12px; font-weight: 700; line-height: 1.55; }
html[data-theme="dark"] .cash-note { background: #3a2c10; border-color: #b8801a; color: #ffd98a; }

/* ===== v6: category rail floats freely (no plate / frame) ===== */
#tabs.cat-tabs { background: transparent !important; border: none !important; box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; border-radius: 0 !important; padding: 10px 4px 14px !important; -webkit-overflow-scrolling: touch; }
#tabs.cat-tabs .cat-c b { color: #f2ece5 !important; text-shadow: 0 1px 3px rgba(0,0,0,.75); }
#tabs.cat-tabs .cat-c.on b { color: #ffb347 !important; }
#tabs.cat-tabs .cat-c .ring { box-shadow: 0 6px 16px rgba(0,0,0,.35) !important; }

/* ===== storefront templates (body.theme-*) — classic keeps the current layout ===== */
body.theme-modern_grid .pi-grid { grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 24px; }
body.theme-modern_grid .product-item .inner { border-radius: 24px; box-shadow: 0 14px 34px rgba(0,0,0,.22); transition: transform .2s, box-shadow .2s; overflow: hidden; flex-direction: column-reverse; padding: 18px; }
body.theme-modern_grid .product-item .inner:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(0,0,0,.3); }
body.theme-modern_grid .product-item .content, body.theme-modern_grid .product-item .image { width: 100%; }
body.theme-modern_grid .product-item .image img, body.theme-modern_grid .product-item .image .ph { height: 190px; border-radius: 18px; }
body.theme-modern_grid .cat-title { border-inline-start: 5px solid var(--accent, #f5a81c); padding-inline-start: 12px; }
body.theme-app_min .pi-grid { grid-template-columns: 1fr; gap: 0; }
body.theme-app_min .product-item .inner { min-height: 0; padding: 12px 14px; border-radius: 16px; margin-bottom: 10px; box-shadow: none; border: 1px solid rgba(127,127,127,.22); }
body.theme-app_min .product-item .image { width: 96px; flex: none; }
body.theme-app_min .product-item .image img, body.theme-app_min .product-item .image .ph { height: 96px; border-radius: 14px; font-size: 34px; }
body.theme-app_min .product-item .content { width: auto; flex: 1; }
body.theme-app_min .product-item .content .desc { -webkit-line-clamp: 2; font-size: .85rem; }
body.theme-app_min .product-item .content .title { margin-bottom: 6px !important; padding-bottom: 6px !important; font-size: 1rem; }
body.theme-app_min .product-item .price { left: 14px; top: 8px; font-size: .8rem; padding: 3px 10px; }
body.theme-app_min .tf-section { padding-top: 28px; padding-bottom: 28px; }
body.theme-app_min .product-item .overlay, body.theme-app_min .product-item .overlay-2 { display: none; }
body.theme-app_min .product-item .inner { flex-direction: row-reverse; align-items: center; gap: 12px; }
body.theme-app_min .product-item .actions { justify-content: flex-start; }
body.theme-modern_grid .product-item .overlay, body.theme-modern_grid .product-item .overlay-2 { opacity: .35; }
body.theme-app_min .product-item { margin: 0 0 10px !important; padding: 0 !important; }
body.theme-app_min .product-item .inner { margin-bottom: 0; min-height: 0 !important; }
body.theme-app_min .product-item .content .tf-button { padding: 6px 14px; font-size: .8rem; }

/* v7: hero status — no wrapper box; only the small pill floats over the banner */
.hero-info { background: none !important; border: none !important; box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; padding: 0 !important; }
.hero-info .hi-row { text-shadow: 0 1px 4px rgba(0,0,0,.7); }
.hero-info .open-pill { box-shadow: 0 4px 14px rgba(0,0,0,.28); }

/* v8: temporary-offline banner + dark matte order lookup */
.offline-bar { background: #2a2113; color: #ffd98a; border-bottom: 1px solid rgba(245,168,28,.35); line-height: 1.6; }
.trk-dark .fld span { color: #aab4c0; font-weight: 700; }
.trk-dark input { background: #0d1117 !important; color: #e6edf3 !important; border: 1px solid rgba(255,255,255,.14) !important; border-radius: 14px !important; padding: 14px 16px !important; text-align: center; letter-spacing: 2px; font-weight: 800; }
.trk-dark input::placeholder { letter-spacing: 0; font-weight: 600; color: #6e7681; }
.trk-dark input:focus { border-color: var(--accent, #f5a81c) !important; outline: none; box-shadow: 0 0 0 3px rgba(245,168,28,.2); }
.trk-msg { background: rgba(250,92,124,.12); border: 1px solid rgba(250,92,124,.3); color: #ffb3c0; border-radius: 12px; padding: 10px 12px; margin: 0 0 12px; font-weight: 700; line-height: 1.55; text-align: center; }
#trkOv .sh { background: #161b22 !important; color: #e6edf3 !important; border: 1px solid rgba(255,255,255,.08); }
#trkOv .sh h3 { color: #f0f6fc !important; }

/* ===== v5: reviews — adaptive dark backdrop, high contrast, rich cards, lightbox ===== */
#reviews { position: relative; isolation: isolate; border-radius: 0; }
#reviews::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(18,18,20,.75) 0%, rgba(18,18,20,.92) 100%); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
body.has-bg #reviews::before, #reviews::before { display: block; }
#reviews .tf-title h2, #reviews .tf-title .sub-title, html[data-theme="dark"] #reviews .tf-title h2, html[data-theme="dark"] #reviews .tf-title .sub-title, body.has-bg:not(.bg-dark) #reviews .tf-title h2, body.has-bg:not(.bg-dark) #reviews .tf-title p { color: #fff !important; text-shadow: 0 2px 4px rgba(0,0,0,.6) !important; }
#reviews .tf-title .sub-title, body.has-bg:not(.bg-dark) #reviews .tf-title p.sub-title { color: #ffd37a !important; }
#reviews .rv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; direction: rtl; }
#reviews .rv-grid .product-item-style2, body.has-bg #reviews .product-item-style2, html[data-theme="dark"] #reviews .rv-grid .product-item-style2, html[data-theme="dark"] body.has-bg #reviews .product-item-style2 { background: rgba(24,24,27,.8) !important; border: 1px solid rgba(63,63,70,.5); border-radius: 18px; padding: 18px; box-shadow: 0 10px 30px rgba(0,0,0,.4); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #f4f4f5 !important; display: flex; flex-direction: column; gap: 10px; text-align: right; }
#reviews .product-item-style2 h6, #reviews .product-item-style2 p, #reviews .product-item-style2 .desc, html[data-theme="dark"] #reviews .product-item-style2 h6, html[data-theme="dark"] #reviews .product-item-style2 p, html[data-theme="dark"] #reviews .product-item-style2 .desc { color: #f4f4f5 !important; text-shadow: none !important; margin: 0; }
#reviews .product-item-style2 .desc { font-size: 15px; line-height: 1.7; color: #e4e4e7 !important; overflow-wrap: anywhere; }
.rv-head { display: flex; align-items: center; gap: 10px; }
.rv-av { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 17px; color: #1a1a1a; background: linear-gradient(135deg, #ffd37a, var(--accent, #f5a81c)); }
.rv-who { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.rv-who h6 { font-size: 16px; font-weight: 700; line-height: 1.2; }
.rv-ago { font-size: 12px; color: #a1a1aa; }
#reviews .stars, html[data-theme="dark"] #reviews .product-item-style2 .stars { flex: 0 0 auto; color: #ffc247; font-size: 16px; letter-spacing: 1px; white-space: nowrap; line-height: 1; }
#reviews .stars i { font-style: normal; color: #52525b; }
.rv-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.rv-tags span { font-size: 12px; padding: 3px 10px; border-radius: 999px; background: rgba(245,168,28,.14); color: #ffd37a; border: 1px solid rgba(245,168,28,.3); }
.rv-ph { all: unset; box-sizing: border-box; display: block; width: 84px; height: 84px; border-radius: 12px; overflow: hidden; cursor: zoom-in; border: 1px solid rgba(63,63,70,.7); transition: transform .2s, border-color .2s; }
.rv-ph:hover, .rv-ph:focus-visible { transform: scale(1.04); border-color: var(--accent, #f5a81c); outline: none; }
.rv-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rv-lb { position: fixed; inset: 0; z-index: 99999; background: rgba(0,0,0,.88); display: grid; place-items: center; padding: 20px; cursor: zoom-out; }
.rv-lb img { max-width: 100%; max-height: 90vh; border-radius: 12px; box-shadow: 0 10px 50px rgba(0,0,0,.6); }
.rv-x { position: absolute; top: 14px; inset-inline-end: 14px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.15); color: #fff; font-size: 20px; cursor: pointer; }

/* ===== v6: footer overhaul ===== */
.footer .ft-namerow { display: flex; align-items: center; gap: 22px; direction: rtl; margin: 4px 0 8px; }
.footer .ft-line { flex: 1 1 0; height: 1px; min-width: 20px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.35)); }
.footer .ft-line:first-child { background: linear-gradient(270deg, transparent, rgba(255,255,255,.35)); }
.footer .ft-name { flex: 0 1 auto; white-space: nowrap; color: #fff; font: 700 30px/1.2 "Cairo", sans-serif; text-align: center; text-decoration: none; }
@media (max-width: 575.98px) { .footer .ft-name { font-size: 22px; white-space: normal; } .footer .ft-namerow { gap: 12px; } }
.footer .hours-list.ft-hours { max-width: 340px; margin: 0 auto 24px; padding: 14px 16px; background: rgba(24,24,27,.6); border: 1px solid #27272a; border-radius: 16px; display: flex; flex-direction: column; gap: 4px; direction: rtl; }
.footer .ft-hours li { display: flex; justify-content: space-between; align-items: center; gap: 12px; max-width: none; margin: 0; padding: 7px 10px; border: 0; border-radius: 10px; color: #d4d4d8; font-size: 14px; }
.footer .ft-hours li .tm { color: #a1a1aa; font-variant-numeric: tabular-nums; direction: ltr; }
.footer .ft-hours li.today { background: rgba(245,168,28,.12); color: #fff; box-shadow: inset 0 0 0 1px rgba(245,168,28,.35); font-weight: 700; }
.footer .ft-hours li.today .tm { color: #ffd37a; }
.footer .ft-hours .nowb { font-style: normal; font-size: 11px; font-weight: 800; padding: 2px 8px; margin-inline-start: 6px; border-radius: 999px; background: linear-gradient(135deg, #ffd37a, var(--accent, #f5a81c)); color: #1a1a1a; }
.footer .ft-call { display: inline-block; direction: ltr; font: 800 24px/1.2 "Cairo", sans-serif; color: #fff !important; padding: 6px 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); text-decoration: none; transition: background .2s, transform .2s, border-color .2s, color .2s; }
.footer .ft-call:hover, .footer .ft-call:focus-visible { background: var(--accent, #f5a81c); color: #1a1a1a !important; border-color: var(--accent, #f5a81c); transform: translateY(-2px); outline: none; }
.footer .ft-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; direction: rtl; margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); }
.footer .ft-bar .copyright { margin: 0; color: #a1a1aa; font-size: 14px; }
.footer .ft-social { display: flex; align-items: center; gap: 10px; margin: 0; padding: 0; list-style: none; direction: ltr; }
.footer .ft-social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); text-decoration: none; transition: background .2s, transform .2s; }
.footer .ft-social a:hover, .footer .ft-social a:focus-visible { background: var(--accent, #f5a81c); color: #1a1a1a; transform: translateY(-2px); outline: none; }
@media (max-width: 575.98px) { .footer .ft-bar { justify-content: center; text-align: center; } }

/* v6: theme colours drive the primary buttons (set by applyColors() from restaurant_settings.theme / theme_color) */
.tf-button { background-color: var(--accent, #f5a81c); }
.tf-button.style2 { background-color: var(--brand, #bb0001); }
.tf-button:hover, .tf-button.style2:hover { background-color: #0c0c0c; }
.tf-button:not(.style2) { color: var(--on-accent, #0c0c0c) !important; }
.tf-button:not(.style2):hover { color: #fff !important; }
.sbtn, .cat-tabs button.on, .inc-badge { color: var(--on-accent, #fff); }
#main-nav-mobi .mob-cta { color: var(--on-accent, #0c0c0c) !important; }

/* item options (modifier groups) in the dish modal + cart */
.dm-g { border: 1px solid #e5ddd3; border-radius: 12px; padding: 8px 12px 10px; margin: 12px 0 0; direction: rtl; text-align: right; }
.dm-g legend { float: none; width: auto; padding: 0 8px; margin: 0; font-size: 1rem; font-weight: 800; color: #1a1a1a; }
.dm-req { color: #b91c1c; font-weight: 700; font-size: .75rem; } .dm-opt { color: #6b7280; font-weight: 600; font-size: .75rem; }
.dm-o { display: flex; align-items: center; gap: 10px; padding: 9px 8px; border-radius: 10px; cursor: pointer; color: #1a1a1a; }
.dm-o.on { background: color-mix(in srgb, var(--brand, #bb0001) 9%, transparent); }
.dm-o input { width: 20px; height: 20px; accent-color: var(--brand, #bb0001); flex: none; }
.dm-n { flex: 1; font-weight: 600; } .dm-p { color: var(--brand, #bb0001); font-weight: 800; font-size: .9rem; white-space: nowrap; }
html[data-theme="dark"] .dm-g { border-color: #3a3a3a; } html[data-theme="dark"] .dm-g legend, html[data-theme="dark"] .dm-o { color: #f2f2f2; }
.btn-add-cart[disabled] { cursor: not-allowed; }
.cart-mods { list-style: none; margin: 4px 0; padding: 0; font-size: .82rem; color: #4b5563; } .cart-mods small { color: #6b7280; }
html[data-theme="dark"] .cart-mods { color: #d1d5db; }
.footer .mobile-mb30 .tf-button { margin-bottom: 24px; }

/* ============ v7 polish: type system, brand-aware cards, allergen chips, smoother rail ============ */
body, input, select, textarea, button, .tf-button, h1, h2, h3, h4, h5, h6, #main-nav .menu li a { font-family: "Cairo", "IBM Plex Sans Arabic", "Inter", "Segoe UI", Tahoma, sans-serif; }
.product-item .price, .dm-price, .dm-d, #addBtn, .cart-q b, #cTotal, #coTotals b, .ft-call, .ft-hours .tm, .num { font-family: "Inter", "Cairo", sans-serif; font-variant-numeric: tabular-nums; }
.tf-title .sub-title { color: var(--brand, #dc0505); font-weight: 700; letter-spacing: .5px; }
.product-item .price { background-image: linear-gradient(90deg, var(--brand2, #ca0203), var(--brand, #ff0001)); color: var(--on-brand, #fff); font-weight: 800; box-shadow: 0 6px 16px color-mix(in srgb, var(--brand, #bb0001) 30%, transparent); }
.product-item .overlay-2 { background-color: var(--brand, #bb0001); opacity: .92; }
.product-item .inner { border-radius: 24px; border: 1px solid rgba(60,20,0,.06); }
.product-item .content .title a { color: #14110f; font-weight: 800; }
.product-item .content .desc { color: #5b534d; line-height: 1.7; }
.dm-price { font-size: 1.25rem; font-weight: 800; color: var(--brand, #bb0001); }
/* allergens: calm chips, never colour-only (icon + label) */
.alg { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 8px 0 12px; direction: rtl; }
.alg-t { font-size: 12px; font-weight: 700; color: #8a5a00; }
.alg-c { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; line-height: 1.5; color: #7a4a00; background: #fff4d6; border: 1px solid #f1d48a; white-space: nowrap; }
.alg-c i { font-style: normal; font-size: 13px; }
html[dir="ltr"] .alg { direction: ltr; }
/* category rail: momentum scrolling, no scrollbar, snap, bigger hit area */
#tabs.cat-tabs { -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; scroll-behavior: smooth; scrollbar-width: none; scroll-snap-type: x proximity !important; scroll-padding-inline: 16px; touch-action: pan-x pan-y; }
#tabs.cat-tabs::-webkit-scrollbar { display: none; }
#tabs.cat-tabs .cat-c { scroll-snap-align: center; min-height: 48px; -webkit-tap-highlight-color: transparent; transition: transform .15s ease; }
#tabs.cat-tabs .cat-c:active { transform: scale(.95); }
/* text over hero / banners always readable */
.hero-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,12,.35), rgba(10,10,12,.72)); pointer-events: none; z-index: 1; }
.hero-img { position: relative; } .hero-img > * { position: relative; z-index: 2; }
.hero-img h1, .hero-img h2, .hero-img p { text-shadow: 0 2px 10px rgba(0,0,0,.55); }
/* cart / checkout clarity */
.sh { border-radius: 22px 22px 0 0; }
.sh h3 { font-weight: 800; }
.sbtn, .btn-checkout, .btn-add-cart, #addBtn, #coSubmit { min-height: 50px; border-radius: 14px; font-weight: 800; }
.cart-mods { font-style: italic; }
@media (max-width: 575px) {
  .product-item .image img, .product-item .image .ph { height: 168px; }
  .product-item .inner { min-height: 0; padding-bottom: 16px; }
  .product-item .content .title { margin-bottom: 10px !important; padding-bottom: 10px !important; }
  .product-item .overlay-2 { opacity: .9; right: -700px; }
}
html[dir="ltr"] .product-item .content { direction: ltr; text-align: left; }
html[dir="ltr"] .product-item .actions { justify-content: flex-start; }

/* ===== v8: systemic RTL/LTR mirroring (header, topbar, hero, track button) =====
   The page geometry stays LTR (template grid); the shell + hero follow <html dir>. */
html[dir="rtl"] .topbar, html[dir="rtl"] #header_main, html[dir="rtl"] .slider-page { direction: rtl; }
html[dir="ltr"] .topbar, html[dir="ltr"] #header_main, html[dir="ltr"] .slider-page { direction: ltr; }
.topbar-inner { align-items: center; }
.topbar-info { display: flex; align-items: center; gap: 14px; }
.topbar-info .pr-30, .topbar-info .mr-25 { padding-inline: 0 !important; margin-inline: 0 !important; }
#header_main .right { margin-inline-start: auto !important; margin-inline-end: 0 !important; gap: 10px; }
#header_main .right > *, #header_main .right .tf-button, #header_main .right .hamburger { margin-inline: 0 !important; }
.main-nav .menu { display: flex; align-items: center; gap: 4px 28px; padding-inline: 0; }
.main-nav .menu .menu-item { margin-inline: 0 !important; }
/* track button: always readable (brand text on white, AR + EN) */
.tf-button.track-btn:not(.style2) { color: var(--brand, #bb0001) !important; background: #fff !important; margin-inline: 0 !important; display: inline-flex; gap: 8px; }
.tf-button.track-btn:not(.style2) i, .tf-button.track-btn:not(.style2) span { color: inherit !important; margin: 0 !important; }
html[data-theme="dark"] .tf-button.track-btn:not(.style2) { background: #241616 !important; color: #ff9d9d !important; }
.tf-button.track-btn:not(.style2):hover, .tf-button.track-btn:not(.style2):focus-visible { color: var(--brand, #bb0001) !important; background: #fff1ec !important; }
html[data-theme="dark"] .tf-button.track-btn:not(.style2):hover { color: #ffc2c2 !important; background: #351c1c !important; }
/* hero mirroring */
html[dir="ltr"] .hero-img::before { background: linear-gradient(90deg, rgba(0,0,0,.65), rgba(0,0,0,.15)); }
html[dir="ltr"] .slider-page .slide-inner { justify-content: flex-start; }
html[dir="ltr"] .slider-page .slide-inner .content { left: 0; right: auto; direction: ltr; text-align: left; padding: 0 16px 28px 68px; }
html[dir="ltr"] .slider-page .slide-inner .content .flex { justify-content: flex-start; }
html[dir="rtl"] .slider-page .slide-inner .content .flex { justify-content: flex-start; }
@media (max-width: 991px) { html[dir="ltr"] .slider-page .slide-inner .content { padding-left: 28px; padding-right: 16px; } }
@media (max-width: 767px) { html[dir="ltr"] .slider-page .slide-inner .content { padding: 22px 18px !important; } }
/* content blocks: Arabic stays RTL, English becomes LTR */
html[dir="ltr"] .rtl, html[dir="ltr"] .cart .content, html[dir="ltr"] .cart .content .cart-item, html[dir="ltr"] .item-box .content,
html[dir="ltr"] .product-item .content, html[dir="ltr"] .about-box .content, html[dir="ltr"] .location-box, html[dir="ltr"] .product-item-style2,
html[dir="ltr"] .sh, html[dir="ltr"] #tabs.cat-tabs, html[dir="ltr"] .cat-title, html[dir="ltr"] .cart-total, html[dir="ltr"] .hero-info { direction: ltr; text-align: left; }
html[dir="ltr"] .cat-title { border-right: 0; padding-right: 0; border-left: 6px solid var(--accent, #f5a81c); padding-left: 12px; }
html[dir="ltr"] .cart-q { justify-content: flex-start; }
@media (min-width: 992px) { #header_main #site-header { padding-inline: 45px !important; } }

/* ===== v8: cart popover + track button width ===== */
#cartDrop { box-sizing: border-box; border: 1px solid rgba(0,0,0,.12); box-shadow: 0 18px 44px rgba(0,0,0,.28); border-radius: 18px; padding: 44px 18px 20px; max-height: min(70vh, 560px); overflow: auto; margin-top: 0; text-align: start; }
html[data-theme="dark"] #cartDrop { border-color: rgba(255,255,255,.14); box-shadow: 0 18px 44px rgba(0,0,0,.6); }
#cartDrop .cart-item .inner { min-width: 0; overflow-wrap: anywhere; }
html[dir="ltr"] #cartDrop .cart-item { text-align: left; }
.tf-button.track-btn { white-space: nowrap !important; min-width: max-content; padding-inline: 22px; flex: none; }
#header_main .right { flex-wrap: nowrap; }

/* ===== v8: section customizer layers (index.html applySectionStyles) ===== */
.sx:not(#header_main) { position: relative; }
.sx { isolation: isolate; }
.sx > .sx-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; border-radius: inherit; pointer-events: none; }
.sx-bg > i { position: absolute; inset: 0; display: block; }
.sx-bg .sx-i { background-size: cover; background-position: center; }
.sx-bg .sx-i.blur { filter: blur(10px); transform: scale(1.12); }
.sx-bg .sx-o { background: linear-gradient(rgba(0,0,0,.52), rgba(0,0,0,.52)); }   /* keeps text readable over any photo */
#header_main.sx { background-image: none !important; }
#header_main.sx > .sx-bg { border-radius: inherit; }
/* text colour follows the resulting backdrop */
.sx-t-light .tf-title h2, .sx-t-light .tf-title .sub-title, .sx-t-light .tf-title p, .sx-t-light .cat-title, .sx-t-light .empty { color: #fff !important; text-shadow: 0 1px 6px rgba(0,0,0,.45); }
.sx-t-dark .tf-title h2, .sx-t-dark .tf-title .sub-title, .sx-t-dark .tf-title p, .sx-t-dark .cat-title { color: #111 !important; text-shadow: none; }
.about-inner.sx-t-dark .box h5, .about-inner.sx-t-dark .box .color-5, .about-inner.sx-t-dark .box p, .about-inner.sx-t-dark .box .icon i { color: #111 !important; }
.about-inner.sx-t-light .box h5, .about-inner.sx-t-light .box .icon i { color: #fff !important; }
#header_main.sx-t-dark .menu a, #header_main.sx-t-dark .brand-name, #header_main.sx-t-dark .track-other { color: #111 !important; }
#header_main.sx-t-dark .mobile-button:before, #header_main.sx-t-dark .mobile-button:after, #header_main.sx-t-dark .mobile-button span { background-color: #111 !important; }
#header_main.sx-t-light .menu a, #header_main.sx-t-light .brand-name { color: #fff !important; }
#about.sx-t-light .about-box { box-shadow: 0 10px 34px rgba(0,0,0,.35); }
.footer.sx > .sx-bg { z-index: -1; }
/* navbar layers: desktop paints the red pill (#site-header), mobile paints the fixed bar (#header_main) */
#site-header.sx { background: transparent !important; }
#site-header.sx::before { display: none !important; }
@media (min-width: 992px) { #header_main > .sx-bg { display: none; } #header_main.sx { background: transparent !important; box-shadow: none; } #site-header.sx > .sx-bg { border-radius: 100px; } }
@media (max-width: 991.98px) { #site-header > .sx-bg { display: none; } #header_main.sx { background: transparent !important; } }
#site-header.sx-t-dark .menu a, #site-header.sx-t-dark .track-other { color: #111 !important; }
#site-header.sx-t-light .menu a { color: #fff !important; }

/* v8: contact chooser sheet */
.ct-list { display: flex; flex-direction: column; gap: 10px; }
.ct-row { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; border: 1.5px solid #e5e5e5; text-decoration: none; color: #111; background: #fff; min-height: 56px; font-size: 1.05rem; }
.ct-row b { flex: 1; font-family: "Inter", "Cairo", sans-serif; font-variant-numeric: tabular-nums; }
.ct-row small { color: #666; font-weight: 700; }
.ct-row:hover { border-color: var(--brand, #bb0001); }
html[data-theme="dark"] .ct-row { background: #1a1a1a; border-color: #333; color: #f2f2f2; }
html[data-theme="dark"] .ct-row small { color: #aaa; }
#ctOv .sh { align-self: center; border-radius: 18px; }
#tbLogo .brand-name, .topbar__logo .brand-name { display: block; max-width: 420px; line-height: 1.15; }

.hrs-ltr { unicode-bidi: isolate; direction: ltr; white-space: nowrap; }

/* ===== v10: navbar edge-to-edge (no coloured pill with gaps). Outer wrappers transparent; content centred in a 1280px inner box ===== */
@media (min-width: 992px) {
  #header_main, #header_main.header.style1 { background: transparent !important; border: 0; outline: 0; }
  #header_main > .container { max-width: none !important; width: 100% !important; margin: 0 !important; padding: 0 !important; }
  #header_main > .container > .row, #header_main > .container .row { margin-inline: 0 !important; }
  #header_main > .container .col-md-12 { padding-inline: 0 !important; }
  #header_main #site-header, #header_main #site-header.style1 { width: 100% !important; border-radius: 0 !important; height: 92px !important; padding-inline: max(24px, calc((100% - 1280px) / 2)) !important; border: 0; outline: 0; }
  #header_main #site-header.style1::before { border-radius: 0 !important; height: 100% !important; top: 0 !important; }
  #header_main #site-header .site-header-inner { margin-top: 0 !important; width: 100%; }
  #site-header.sx > .sx-bg { border-radius: 0 !important; }
}

/* per-item notes (cart + checkout) */
.cart-note { margin: 6px 0 2px; }
.cn-add { background: none; border: 1px dashed #9ca3af; color: #4b5563; border-radius: 8px; padding: 4px 10px; font: 600 .78rem inherit; cursor: pointer; }
.cn-add:hover { border-color: #c62828; color: #c62828; }
.cn-in { width: 100%; box-sizing: border-box; border: 1.5px solid #f0b400; background: #fffbe6; color: #111827; border-radius: 8px; padding: 6px 10px; font-size: .85rem; }
html[data-theme="dark"] .cn-in { background: #2a2410; color: #fff; }
#coLines { margin-bottom: 10px; } .co-line { padding: 8px 0; border-bottom: 1px dashed rgba(120,130,160,.35); } .co-line > b { display: block; margin-bottom: 4px; }

/* track box: recent orders */
.trk-recent { margin: 0 0 14px; display: grid; gap: 8px; }
.trk-recent .trk-h { font-weight: 800; font-size: .88rem; color: #aab4c0; }
.trk-row { display: flex; align-items: center; gap: 10px; width: 100%; padding: 12px 14px; border-radius: 14px; border: 1.5px solid rgba(255,255,255,.18); background: #0d1117; color: #e6edf3; cursor: pointer; font: 700 .95rem "Cairo", sans-serif; text-align: start; }
.trk-row b { letter-spacing: 1px; } .trk-row span { flex: 1; color: #f5a81c; font-size: .85rem; } .trk-row em { font-style: normal; opacity: .8; } .trk-row i { font-style: normal; opacity: .6; }
.trk-row.act { border-color: #f5a81c; box-shadow: 0 0 0 2px rgba(245,168,28,.25); }
.trk-row:active { transform: scale(.98); }

/* promotions */
.promo-badge { display: inline-block; background: linear-gradient(135deg, #dc2626, #f97316); color: #fff; border-radius: 999px; padding: 4px 12px; font-size: .82rem; font-weight: 800; line-height: 1.5; margin: 2px 0; text-shadow: 0 1px 2px rgba(0,0,0,.35); white-space: nowrap; }
.promo-badge.lock { background: linear-gradient(135deg, #7c3aed, #a855f7); }
/* the badge sits in the corner OPPOSITE to the white price capsule (classic: price top-left -> badge top-right; dark/editorial: price at inline-start -> badge at inline-end; fastfood/warm: price is in the bottom caption -> badge top) */
.product-item > .promo-badge { position: absolute; top: 12px; right: 12px; left: auto; z-index: 9; box-shadow: 0 3px 10px rgba(0,0,0,.35); max-width: 62%; overflow: hidden; text-overflow: ellipsis; }
body.tpl-dark_featured .product-item > .promo-badge, body.tpl-editorial_hero .product-item > .promo-badge { top: 22px; right: auto; left: auto; inset-inline-end: 14px; inset-inline-start: auto; }
body.tpl-fastfood_cards .product-item > .promo-badge, body.tpl-warm_cafe .product-item > .promo-badge { top: 14px; right: 16px; left: auto; }
body.theme-app_min .product-item > .promo-badge { top: 8px; right: 10px; font-size: .72rem; padding: 2px 9px; }
.p-old { opacity: .6; font-weight: 500; font-size: .85em; text-decoration: line-through; margin-inline-end: 4px; } .p-new { font-weight: 900; color: inherit; }
.tpl-fc .promo-badge { display: block; width: fit-content; }
.offers-title { color: #f97316; } .offers-c .ring { background: linear-gradient(135deg, #dc2626, #f97316) !important; }
.offers-btn { display: block; width: 100%; margin: 0 0 10px; padding: 12px 16px; border: 0; border-radius: 14px; background: linear-gradient(135deg, #dc2626, #f97316); color: #fff; font: inherit; font-weight: 900; font-size: 1.05rem; cursor: pointer; box-shadow: 0 6px 16px rgba(220,38,38,.35); }
.offers-btn.is-hidden { display: none; }
#promoOv { background: rgba(0,0,0,.8); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); z-index: 120; }
.promo-sh { max-width: 420px; width: calc(100% - 28px); padding: 0; overflow: hidden; border-radius: 24px; background: #171717; color: #fff; border: 2px solid rgba(251,191,36,.5); box-shadow: 0 25px 50px -12px rgba(0,0,0,.75); text-align: center; position: relative; }
.promo-sh .cx { position: absolute; top: 10px; inset-inline-end: 10px; z-index: 3; width: 36px; height: 36px; border-radius: 50%; background: rgba(0,0,0,.6); color: #fff; border: 1px solid rgba(255,255,255,.35); font-size: 1.3rem; line-height: 1; cursor: pointer; }
.promo-img { width: 100%; max-height: 240px; object-fit: cover; display: block; }
.promo-in { padding: 14px 18px 16px; }
.promo-t { margin: 4px 0 6px; color: #fbbf24; } .promo-b { margin: 0 0 14px; opacity: .88; line-height: 1.7; }
.promo-sh .btn-checkout { width: 100%; margin: 4px 0; }
.promo-skip { background: none; border: 0; color: inherit; opacity: .75; text-decoration: underline; cursor: pointer; padding: 8px; font: inherit; }

/* promo popup upgrade */
.promo-pop-badge { display: inline-block; margin: 0 0 8px; padding: 5px 14px; border-radius: 99px; background: rgba(239,68,68,.18); border: 1px solid rgba(248,113,113,.7); color: #fecaca; font-weight: 800; font-size: .85rem; }
.promo-sh .text-white { color: #fff; } .promo-sh .font-extrabold { font-weight: 800; } .promo-sh .text-2xl { font-size: 1.5rem; line-height: 1.35; }
.promo-sh .promo-t { color: #fff; }
#promoOv .promo-sh .promo-cta { background: linear-gradient(90deg, #fbbf24, #f97316) !important; color: #0a0a0a !important; font-weight: 700; border: 0; box-shadow: 0 8px 22px rgba(249,115,22,.4); }
.promo-sh .text-neutral-950 { color: #0a0a0a; } .promo-sh .font-bold { font-weight: 700; }
.promo-never { display: block; width: 100%; background: none; border: 0; color: inherit; opacity: .6; font: inherit; font-size: .85rem; cursor: pointer; padding: 6px; }

/* per-order cap + daily stock badges */
.stock-badge { position: absolute; z-index: 9; bottom: 12px; left: 16px; border-radius: 99px; padding: 3px 12px; font-size: 13px; font-weight: 700; }
.stock-badge.low { background: linear-gradient(90deg, #fbbf24, #f97316); color: #0a0a0a; box-shadow: 0 4px 14px rgba(249,115,22,.35); }
.product-item.off .sold { background: #b91c1c; }
.cap-note { margin-top: 6px; font-size: .82rem; color: #b45309; background: rgba(251,191,36,.15); border: 1px solid rgba(251,191,36,.45); border-radius: 8px; padding: 4px 10px; }
.cart-q button:disabled { opacity: .35; cursor: not-allowed; }
