/* Cook Habibi web UI. Spec: docs/cook_habibi/cook_habibi_web_design.md */

:root {
  /* Accent = the store header colour (admin → base_color / base_hov_color, set as --primary / --hov-primary
     by the store layout), so Cook Habibi follows the Dokan header. Fallbacks = current Dokan red. */
  --ch-primary: var(--primary, #EC1D23);
  --ch-primary-light: #F25A5F;
  --ch-dark: var(--hov-primary, #D30407);
  --ch-soft: #FDE8E8;
  --ch-softer: #FEF4F4;
  --ch-ink: #122A3D;
  --ch-muted: #64748B;
  --ch-bg: #F8FAFC;
  --ch-border: #EEF2F6;
  --ch-green: #16A34A;
  --ch-gold: #F5B301;
  --ch-red: #E11D48;
  --ch-blue: #2563EB;
  --ch-navy: #1E1B4B;
  --ch-premium-gold: #FCD34D;
  --ch-chip-border: #E2E8F0;
  --ch-body-text: #475569;
  --ch-brand: linear-gradient(90deg, var(--ch-primary), var(--ch-dark));
  --ch-home: linear-gradient(135deg, var(--ch-primary), var(--ch-dark));
  --ch-glow: rgba(236, 29, 35, .28);
  --ch-max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
.ch-body { background: var(--ch-bg); color: var(--ch-ink); font-size: 14px; line-height: 1.4; overflow-x: hidden; }
.ch-body a { color: inherit; text-decoration: none; }
.ch-body :where(button) { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.ch-body img { display: block; max-width: 100%; }
.ch-body h1, .ch-body h2, .ch-body h3, .ch-body h4, .ch-body p, .ch-body ul, .ch-body label { margin: 0; }
.ch-body a:hover { text-decoration: none; }
.msr { font-family: 'Material Symbols Rounded'; font-weight: normal; font-style: normal; font-size: 20px; line-height: 1; letter-spacing: normal; text-transform: none; display: inline-block; white-space: nowrap; direction: ltr; -webkit-font-smoothing: antialiased; font-variation-settings: 'FILL' 1, 'wght' 500, 'GRAD' 0, 'opsz' 24; vertical-align: middle; }
.msr.o { font-variation-settings: 'FILL' 0, 'wght' 500, 'GRAD' 0, 'opsz' 24; }
[dir="rtl"] .ch-flip { transform: scaleX(-1); }
.ch-muted { color: var(--ch-muted); }
.ch-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ch-wrap { max-width: var(--ch-max); margin: 0 auto; }
.ch-main { padding-bottom: 32px; }
.ch-px { padding-inline: 16px; }

/* ---------- Cook Habibi bar (under the Dokan header) ---------- */
.ch-titlebar { background: #fff; border-bottom: 1px solid var(--ch-border); }
.ch-titlebar .ch-wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 16px; }
.ch-brand { display: flex; align-items: center; gap: 10px; white-space: nowrap; flex: 0 0 auto; color: var(--ch-ink); }
.ch-brand-mark { width: 36px; height: 36px; border-radius: 11px; background: var(--ch-brand); display: grid; place-items: center; color: #fff; box-shadow: 0 3px 10px var(--ch-glow); }
.ch-brand-mark .msr { font-size: 22px; }
.ch-brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.ch-brand-text b { font-size: 16px; font-weight: 900; }
.ch-brand-text small { font-size: 12px; color: var(--ch-muted); font-weight: 600; }
.ch-tb-actions { display: flex; align-items: center; gap: 6px; }
.ch-tb-btn { display: flex; flex-direction: column; align-items: center; gap: 2px; color: var(--ch-muted); min-width: 44px; }
.ch-tb-ico { position: relative; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--ch-softer); transition: background .2s, color .2s; }
.ch-tb-ico .msr { font-size: 21px; }
.ch-tb-ico .ch-badge-count { position: absolute; top: -3px; inset-inline-end: -3px; }
.ch-tb-label { font-size: 11px; font-weight: 700; }
.ch-tb-btn:hover .ch-tb-ico { background: var(--ch-soft); color: var(--ch-dark); }
.ch-tb-btn.on { color: var(--ch-dark); }
.ch-tb-btn.on .ch-tb-ico { background: var(--ch-brand); color: #fff; box-shadow: 0 3px 10px var(--ch-glow); }
/* Desktop (store red bar visible from 992px): the module menu lives in the red bar instead. */
@media (min-width: 992px) { .ch-titlebar { display: none; } }
.ch-redbar-link .msr { font-family: 'Material Symbols Rounded'; font-size: 19px; line-height: 1; font-weight: normal; }
@media (max-width: 767.98px) { .ch-tb-label { display: none; } .ch-tb-ico { width: 38px; height: 38px; } .ch-brand-text small { display: none; } }
.ch-iconbtn { position: relative; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; }
.ch-badge-count { position: absolute; top: 2px; inset-inline-end: 0; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--ch-primary); color: #fff; font-size: 10px; font-weight: 900; display: grid; place-items: center; }
.ch-badge-count[hidden] { display: none; }

/* The dish order bar covers Dokan's mobile bottom nav on phones */
@media (max-width: 767.98px) { body:has(.ch-has-orderbar) .aiz-mobile-bottom-nav { display: none !important; } }

/* ---------- App bar (inner pages) ---------- */
.ch-appbar { position: sticky; top: 0; z-index: 30; background: #fff; display: flex; align-items: center; gap: 8px; height: 56px; padding-inline: 8px 12px; }
.ch-appbar h1 { font-size: 18px; font-weight: 700; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ch-appbar .ch-iconbtn { width: 40px; height: 40px; }

/* ---------- Home header ---------- */
.ch-homehead { position: sticky; top: 0; z-index: 30; background: var(--ch-home); color: #fff; padding: 10px 8px 14px; }
.ch-homehead .ch-row { display: flex; align-items: center; gap: 4px; }
.ch-homehead .ch-addr { flex: 1; min-width: 0; text-align: start; padding: 4px; }
.ch-homehead .ch-addr small { display: block; font-size: 11.5px; color: rgba(255,255,255,.7); }
.ch-homehead .ch-addr b { font-size: 16px; font-weight: 800; display: inline-flex; align-items: center; }
.ch-homehead .ch-iconbtn { color: #fff; }
.ch-homehead .ch-badge-count { background: #fff; color: var(--ch-primary); }
.ch-search { margin: 10px 8px 0; height: 46px; background: #fff; border-radius: 24px; display: flex; align-items: center; gap: 8px; padding-inline: 16px 12px; color: var(--ch-muted); }
.ch-search input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: 13.5px; color: var(--ch-ink); background: transparent; }
.ch-search .msr { color: var(--ch-muted); }
.ch-search .ch-tune { color: var(--ch-dark); }

/* ---------- Section title ---------- */
.ch-sec { display: flex; align-items: baseline; justify-content: space-between; padding: 20px 16px 10px; }
.ch-sec h2 { font-size: 16px; font-weight: 700; }
.ch-sec a, .ch-sec button { font-size: 13px; font-weight: 600; color: var(--ch-dark); }

/* ---------- Generic card, tag, buttons ---------- */
.ch-card { background: #fff; border: 1px solid var(--ch-border); border-radius: 16px; padding: 14px; }
:where(a.ch-card, .ch-card.ch-click) { display: block; }
a.ch-card, .ch-card.ch-click { transition: box-shadow .2s, transform .2s; cursor: pointer; }
a.ch-card:hover, .ch-card.ch-click:hover { box-shadow: 0 6px 18px rgba(15,23,42,.08); }
.ch-tag { display: inline-flex; align-items: center; gap: 3px; padding: 3px 8px; border-radius: 6px; font-size: 10.5px; font-weight: 700; color: var(--c, var(--ch-dark)); background: color-mix(in srgb, var(--c, var(--ch-dark)) 10%, transparent); white-space: nowrap; }
.ch-tag .msr { font-size: 12px; }
.ch-btn { height: 50px; border-radius: 14px; background: var(--ch-brand); color: #fff !important; font-size: 15px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding-inline: 20px; box-shadow: 0 4px 12px var(--ch-glow); }
.ch-btn:disabled, .ch-btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.ch-btn-outline { height: 50px; border-radius: 14px; border: 1.5px solid var(--ch-primary) !important; color: var(--ch-dark) !important; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: #fff; padding-inline: 18px; }
.ch-chip { height: 36px; padding: 0 14px; border-radius: 20px; border: 1px solid var(--ch-chip-border); background: #fff; font-size: 12.5px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.ch-chip.on { background: var(--ch-ink); border-color: var(--ch-ink); color: #fff; }
.ch-sort { height: 36px; padding: 0 14px; border-radius: 20px; border: 1px solid var(--ch-chip-border); background: #fff; font-size: 12.5px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.ch-sort.on { background: var(--ch-soft); border-color: var(--ch-primary); color: var(--ch-dark); }
.ch-price { font-weight: 900; color: var(--ch-dark); }
.ch-old { font-size: 11px; color: var(--ch-muted); text-decoration: line-through; font-weight: 400; }
.ch-verified { color: var(--ch-blue); font-size: 16px; }
.ch-star { color: var(--ch-gold); font-size: 16px; }

/* ---------- Horizontal scrollers ---------- */
.ch-hs { position: relative; }
.ch-hs-track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 16px 6px; scrollbar-width: none; scroll-padding-inline: 16px; }
.ch-hs-track::-webkit-scrollbar { display: none; }
.ch-hs-track > * { scroll-snap-align: start; flex: 0 0 auto; }
.ch-hs-arrow { display: none; position: absolute; top: 40%; width: 36px; height: 36px; border-radius: 50%; background: #fff; box-shadow: 0 2px 10px rgba(15,23,42,.15); place-items: center; z-index: 2; color: var(--ch-ink); }
.ch-hs-arrow.prev { inset-inline-start: 4px; }
.ch-hs-arrow.next { inset-inline-end: 4px; }

/* ---------- Banner carousel ---------- */
.ch-banners { display: flex; gap: 5px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 14px 4% 0; scroll-behavior: smooth; }
.ch-banners::-webkit-scrollbar { display: none; }
.ch-banner { flex: 0 0 92%; scroll-snap-align: center; height: 150px; border-radius: 20px; position: relative; overflow: hidden; color: #fff; padding: 16px; display: flex; flex-direction: column; align-items: flex-start; }
.ch-banner::before { content: ""; position: absolute; width: 150px; height: 150px; border-radius: 50%; background: rgba(255,255,255,.12); top: -30px; inset-inline-end: -30px; }
.ch-banner .ch-btag { position: relative; background: #fff; border-radius: 20px; padding: 3px 9px; font-size: 10px; font-weight: 900; letter-spacing: .8px; }
.ch-banner h3 { position: relative; color: #fff; font-size: 19px; font-weight: 900; line-height: 1.15; margin-top: 8px; white-space: pre-line; max-width: 65%; }
.ch-banner p { position: relative; color: rgba(255,255,255,.92); font-size: 11.5px; margin-top: auto; max-width: 70%; }
.ch-banner .ch-bemoji { position: absolute; font-size: 76px; line-height: 1; bottom: 6px; inset-inline-end: 12px; }
.ch-dots { display: flex; justify-content: center; gap: 6px; padding-top: 10px; }
.ch-dots span { width: 6px; height: 6px; border-radius: 3px; background: var(--ch-chip-border); transition: width .25s, background .25s; }
.ch-dots span.on { width: 18px; background: var(--ch-primary); }

/* ---------- Service tiles ---------- */
.ch-tiles { padding: 16px 16px 0; display: grid; gap: 10px; }
/* Dokan services strip exclusive styling on Cook Habibi */
.ch-dokan-services { padding: 28px 0 16px; overflow: hidden; }
.ch-dokan-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; padding: 0 16px; }
.ch-dokan-title-group { display: flex; flex-direction: column; gap: 5px; }
.ch-dokan-pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 20px; background: color-mix(in srgb, var(--ch-primary) 10%, #fff); border: 1px solid color-mix(in srgb, var(--ch-primary) 20%, transparent); color: var(--ch-primary); font-size: 11.5px; font-weight: 800; letter-spacing: .4px; text-transform: uppercase; width: fit-content; }
.ch-dokan-pill .msr { font-size: 14px; }
.ch-dokan-heading { font-size: 21px; font-weight: 800; color: var(--ch-ink, #0f172a); margin: 0; letter-spacing: -0.4px; }
.ch-dokan-hint { font-size: 13px; color: var(--ch-muted, #64748b); font-weight: 500; margin-bottom: 4px; }

@media (max-width: 575.98px) {
  .ch-dokan-heading { font-size: 19px; }
  .ch-dokan-hint { font-size: 12px; }
}

@media (min-width: 1024px) {
  .ch-dokan-services { padding: 36px 0 20px; }
  .ch-dokan-head { padding: 0; }
  .ch-dokan-heading { font-size: 24px; }
}

/* Exclusive User-Focused Styling for .carousel-box on Cook Habibi */
.ch-dokan-services .beyond-slider-services { position: relative; padding: 4px 0 12px; }
.ch-dokan-services .beyond-slider-services .aiz-carousel { padding-top: 8px !important; padding-bottom: 16px !important; }
.ch-dokan-services .beyond-slider-services .slick-track { display: flex !important; align-items: stretch !important; }
.ch-dokan-services .beyond-slider-services .slick-slide { height: inherit !important; display: flex !important; }
.ch-dokan-services .beyond-slider-services .slick-slide > div { width: 100%; display: flex; }
.ch-dokan-services .beyond-slider-services .carousel-box {
  padding: 6px 8px 14px !important;
  height: 100% !important;
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
}

.ch-dokan-services .service-feature-card {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  text-align: center !important;
  background: #ffffff !important;
  border-radius: 20px !important;
  padding: 24px 18px 20px !important;
  min-height: 224px !important;
  border: 1.5px solid var(--ch-border, #E2E8F0) !important;
  box-shadow: 0 4px 20px -4px rgba(15,23,42,.06), 0 2px 6px rgba(15,23,42,.03) !important;
  transition: transform .28s cubic-bezier(.16,1,.3,1), box-shadow .28s ease, border-color .28s ease !important;
  height: 100% !important;
  width: 100% !important;
  text-decoration: none !important;
  overflow: hidden !important;
}

/* Elegant top accent indicator with animated gradient flow */
.ch-dokan-services .service-feature-card::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: auto !important;
  width: 100% !important;
  height: 3.5px !important;
  background: linear-gradient(90deg, var(--ch-primary), #e11d48, #f59e0b, var(--ch-primary)) !important;
  background-size: 250% 100% !important;
  opacity: .75 !important;
  animation: ch-bar-flow 4s ease infinite !important;
  transition: opacity .25s ease, height .25s ease !important;
}

@keyframes ch-bar-flow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Floating bobbing lucrative icon badge */
@keyframes ch-icon-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes ch-halo-pulse {
  0%, 100% { transform: scale(0.96); opacity: 0.45; }
  50% { transform: scale(1.10); opacity: 0.8; }
}

.ch-dokan-services .service-feature-icon {
  position: relative !important;
  width: 72px !important;
  height: 72px !important;
  min-width: 72px !important;
  border-radius: 22px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto 16px auto !important;
  flex-shrink: 0 !important;
  border: 2px solid rgba(255, 255, 255, 0.95) !important;
  box-shadow: 
    0 12px 24px -6px rgba(15, 23, 42, 0.12),
    0 4px 8px -2px rgba(15, 23, 42, 0.06),
    inset 0 2px 4px rgba(255, 255, 255, 0.95),
    inset 0 -3px 6px rgba(0, 0, 0, 0.05) !important;
  animation: ch-icon-float 3.8s ease-in-out infinite !important;
  transition: transform .35s cubic-bezier(.34,1.56,.64,1), box-shadow .35s ease, border-color .3s ease !important;
  isolation: isolate;
}

/* Lucrative luminous halo that matches each card's inherited service color */
.ch-dokan-services .service-feature-icon::before {
  content: "" !important;
  position: absolute !important;
  inset: -6px !important;
  border-radius: 26px !important;
  background: inherit !important;
  filter: blur(10px) !important;
  opacity: 0.55 !important;
  z-index: -1 !important;
  animation: ch-halo-pulse 3.6s ease-in-out infinite !important;
  transition: inset .35s ease, opacity .35s ease, filter .35s ease !important;
  pointer-events: none !important;
}

/* Enameled 3D glass gloss sheen reflection on upper half of icon */
.ch-dokan-services .service-feature-icon::after {
  content: "" !important;
  position: absolute !important;
  top: 3px !important;
  left: 12% !important;
  right: 12% !important;
  height: 40% !important;
  border-radius: 12px 12px 18px 18px !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.05) 100%) !important;
  pointer-events: none !important;
  z-index: 2 !important;
  transition: opacity .3s ease !important;
}

.ch-dokan-services .slick-slide:nth-child(2n) .service-feature-icon,
.ch-dokan-services .carousel-box:nth-child(2n) .service-feature-icon {
  animation-delay: -1.9s !important;
}
.ch-dokan-services .slick-slide:nth-child(2n) .service-feature-icon::before,
.ch-dokan-services .carousel-box:nth-child(2n) .service-feature-icon::before {
  animation-delay: -1.9s !important;
}

.ch-dokan-services .slick-slide:nth-child(3n) .service-feature-icon,
.ch-dokan-services .carousel-box:nth-child(3n) .service-feature-icon {
  animation-delay: -0.9s !important;
}
.ch-dokan-services .slick-slide:nth-child(3n) .service-feature-icon::before,
.ch-dokan-services .carousel-box:nth-child(3n) .service-feature-icon::before {
  animation-delay: -0.9s !important;
}

.ch-dokan-services .service-feature-icon img {
  width: 42px !important;
  height: 42px !important;
  object-fit: contain !important;
  display: block !important;
  position: relative !important;
  z-index: 1 !important;
  filter: drop-shadow(0 4px 6px rgba(15, 23, 42, 0.16)) drop-shadow(0 1px 2px rgba(15, 23, 42, 0.08)) !important;
  transition: transform .35s cubic-bezier(.34,1.56,.64,1), filter .35s ease !important;
}

.ch-dokan-services .service-feature-info {
  flex: 1 1 auto !important;
  width: 100% !important;
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 6px !important;
}

.ch-dokan-services .service-feature-title {
  font-size: 16px !important;
  font-weight: 800 !important;
  color: var(--ch-ink, #0f172a) !important;
  margin: 0 !important;
  line-height: 1.3 !important;
  white-space: normal !important;
  text-align: center !important;
  letter-spacing: -.2px !important;
  transition: color .2s ease !important;
}

.ch-dokan-services .service-feature-subtitle {
  font-size: 12.5px !important;
  font-weight: 500 !important;
  color: var(--ch-muted, #64748b) !important;
  margin: 0 !important;
  line-height: 1.4 !important;
  text-align: center !important;
  white-space: normal !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

/* Focused "Explore" CTA Pill at bottom with animated arrow nudge */
@keyframes ch-cta-nudge {
  0%, 100% { transform: translateY(-1px) translateX(0); }
  50% { transform: translateY(-1px) translateX(4px); }
}
[dir="rtl"] @keyframes ch-cta-nudge {
  0%, 100% { transform: translateY(-1px) translateX(0); }
  50% { transform: translateY(-1px) translateX(-4px); }
}

.ch-dokan-services .service-feature-card::after {
  content: "Explore →" !important;
  font-family: inherit !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  color: var(--ch-primary) !important;
  background: color-mix(in srgb, var(--ch-primary) 8%, #f8fafc) !important;
  border: 1px solid color-mix(in srgb, var(--ch-primary) 18%, transparent) !important;
  padding: 5px 14px !important;
  border-radius: 20px !important;
  margin-top: 14px !important;
  margin-inline-start: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  letter-spacing: .2px !important;
  opacity: 1 !important;
  transition: all .25s ease !important;
  flex-shrink: 0 !important;
}
[dir="rtl"] .ch-dokan-services .service-feature-card::after {
  content: "← استكشف" !important;
}

/* Card Springy Hover & Elevation Physics */
.ch-dokan-services .service-feature-card {
  transition: transform .32s cubic-bezier(.34,1.56,.64,1), box-shadow .32s ease, border-color .28s ease !important;
}

.ch-dokan-services .service-feature-card:hover {
  transform: translateY(-8px) scale(1.02) !important;
  border-color: color-mix(in srgb, var(--ch-primary) 45%, transparent) !important;
  box-shadow: 0 20px 38px -8px color-mix(in srgb, var(--ch-primary) 26%, transparent), 0 6px 14px rgba(15,23,42,.08) !important;
}

.ch-dokan-services .service-feature-card:hover::before {
  opacity: 1 !important;
  height: 4.5px !important;
}

.ch-dokan-services .service-feature-card:hover .service-feature-icon {
  animation-play-state: paused !important;
  transform: translateY(-8px) scale(1.15) !important;
  border-color: #ffffff !important;
  box-shadow: 
    0 18px 32px -6px rgba(15, 23, 42, 0.22),
    0 6px 12px -2px rgba(15, 23, 42, 0.1),
    inset 0 2px 5px rgba(255, 255, 255, 1) !important;
}

.ch-dokan-services .service-feature-card:hover .service-feature-icon::before {
  inset: -9px !important;
  opacity: 0.9 !important;
  filter: blur(14px) !important;
  animation-play-state: paused !important;
}

.ch-dokan-services .service-feature-card:hover .service-feature-icon img {
  transform: scale(1.15) translateY(-2px) rotate(4deg) !important;
  filter: drop-shadow(0 8px 14px rgba(15, 23, 42, 0.24)) drop-shadow(0 2px 4px rgba(15, 23, 42, 0.12)) !important;
}

.ch-dokan-services .service-feature-card:hover .service-feature-title {
  color: var(--ch-primary) !important;
}

.ch-dokan-services .service-feature-card:hover::after {
  background: var(--ch-primary) !important;
  border-color: var(--ch-primary) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px -2px color-mix(in srgb, var(--ch-primary) 45%, transparent) !important;
  animation: ch-cta-nudge 1.1s ease-in-out infinite !important;
}
.ch-tiles-r1 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; height: 156px; }
.ch-tiles-r1 .ch-col { display: grid; gap: 10px; }
.ch-tiles-r2 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; height: 74px; }
.ch-tile { position: relative; overflow: hidden; border-radius: 18px; padding: 12px; display: block; transition: transform .2s; }
.ch-tile:hover { transform: translateY(-2px); }
.ch-tile b { display: block; font-size: 13.5px; font-weight: 900; }
.ch-tile small { display: block; font-size: 11px; color: var(--ch-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 75%; }
.ch-tile i { position: absolute; font-style: normal; font-size: 26px; bottom: 6px; inset-inline-end: 8px; line-height: 1; }
.ch-tile.big b { font-size: 17px; }
.ch-tile.big small { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.ch-tile.big i { font-size: 58px; }

/* ---------- Coupon ticket ---------- */
.ch-coupon { position: relative; width: 300px; min-height: 116px; display: flex; border-radius: 14px; background: #fff; border: 1px solid var(--ch-border); overflow: hidden; }
.ch-coupon.full { width: 100%; }
/* Ticket notches: two "bites" centred on the stub edge */
.ch-coupon::before, .ch-coupon::after { content: ""; position: absolute; inset-inline-start: 79px; width: 18px; height: 18px; border-radius: 50%; background: var(--ch-page, var(--ch-bg)); border: 1px solid var(--ch-border); z-index: 2; }
.ch-coupon::before { top: -10px; }
.ch-coupon::after { bottom: -10px; }
.ch-coupon .ch-stub { width: 88px; flex: 0 0 88px; color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.ch-coupon .ch-stub b { font-size: 24px; font-weight: 900; line-height: 1; }
.ch-coupon .ch-stub span { font-size: 11px; font-weight: 800; letter-spacing: 2px; opacity: .95; }
.ch-coupon .ch-cbody { flex: 1; min-width: 0; padding: 11px 12px 10px 14px; display: flex; flex-direction: column; gap: 2px; border-inline-start: 1.5px dashed var(--ch-chip-border); }
.ch-coupon .ch-cbody h4 { margin: 0; font-size: 14px; font-weight: 800; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ch-coupon .ch-cterms { font-size: 11.5px; color: var(--ch-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ch-coupon .ch-exp { display: flex; align-items: center; gap: 3px; font-size: 11px; color: var(--ch-muted); white-space: nowrap; }
.ch-coupon .ch-exp .msr { font-size: 13px; }
.ch-coupon .ch-crow { margin-top: auto; padding-top: 6px; display: flex; align-items: center; gap: 8px; min-width: 0; }
.ch-code { min-width: 0; font-size: 11px; font-weight: 800; letter-spacing: .5px; padding: 4px 8px; border-radius: 6px; border: 1px dashed var(--ch-dark); color: var(--ch-dark); background: var(--ch-softer); display: inline-flex; align-items: center; gap: 4px; }
.ch-code span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ch-code .msr { font-size: 13px; flex: 0 0 auto; }
.ch-code:hover { background: var(--ch-soft); }
.ch-cact { margin-inline-start: auto; flex: 0 0 auto; white-space: nowrap; font-size: 12px; font-weight: 800; padding: 7px 14px; border-radius: 20px; background: var(--ch-brand); color: #fff !important; box-shadow: 0 2px 8px var(--ch-glow); }
.ch-cact.done { background: #F1F5F9; color: var(--ch-muted) !important; box-shadow: none; }
.ch-cact.min { background: #F1F5F9; color: var(--ch-muted) !important; cursor: default; box-shadow: none; }

/* ---------- Cuisines ---------- */
.ch-cuisines { display: flex; gap: 14px; overflow-x: auto; padding: 0 16px 4px; scrollbar-width: none; }
.ch-cuisines::-webkit-scrollbar { display: none; }
.ch-cuisine { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 62px; font-size: 12px; }
.ch-cuisine span:first-child { width: 62px; height: 62px; border-radius: 50%; background: #F1F5F9; display: grid; place-items: center; font-size: 28px; border: 2px solid transparent; transition: background .2s; }
.ch-cuisine.on span:first-child { background: var(--ch-soft); border-color: var(--ch-primary); }
.ch-cuisine.on { font-weight: 800; color: var(--ch-dark); }

/* ---------- Dish thumb + fallback ---------- */
.ch-thumb { position: relative; overflow: hidden; border-radius: 14px; background: linear-gradient(135deg, var(--c1, #FFBF1A), var(--c2, #FF7E00)); display: grid; place-items: center; aspect-ratio: 1; }
.ch-thumb .ch-emoji { font-size: var(--es, 48px); line-height: 1; }
.ch-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .25s; }
.ch-thumb img.ok { opacity: 1; }

/* ---------- Deal card ---------- */
.ch-deal { width: 158px; display: block; }
.ch-deal .ch-thumb { width: 158px; height: 158px; border-radius: 16px; }
.ch-ribbon { position: absolute; top: 12px; inset-inline-start: 0; z-index: 1; background: var(--ch-red); color: #fff; font-size: 11px; font-weight: 800; padding: 4px 9px; border-radius: 0 8px 8px 0; display: inline-flex; align-items: center; gap: 3px; }
[dir="rtl"] .ch-ribbon { border-radius: 8px 0 0 8px; }
.ch-plus { position: absolute; bottom: 8px; inset-inline-end: 8px; z-index: 1; width: 30px; height: 30px; border-radius: 50%; background: #fff; color: var(--ch-primary); display: grid; place-items: center; box-shadow: 0 2px 6px rgba(0,0,0,.15); }
.ch-deal h3 { font-size: 13.5px; font-weight: 800; margin-top: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ch-deal .ch-kn { font-size: 11px; color: var(--ch-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ch-deal .ch-pr { display: flex; align-items: baseline; gap: 6px; margin-top: 2px; }
.ch-deal .ch-pr b { font-size: 13px; font-weight: 900; color: var(--ch-red); }

/* ---------- Premium cook card ---------- */
.ch-prem { width: 150px; height: 196px; border-radius: 18px; padding: 12px; background: linear-gradient(180deg, #FFFBEB, #FFFFFF); border: 1.4px solid #FDE68A; display: flex; flex-direction: column; align-items: center; text-align: center; }
.ch-prem .ch-ring { position: relative; width: 66px; height: 66px; border-radius: 50%; padding: 3px; background: linear-gradient(90deg, #FCD34D, #D97706); }
.ch-prem .ch-ring .ch-crown { position: absolute; top: -8px; inset-inline-end: -6px; font-size: 20px; }
.ch-prem h3 { font-size: 13.5px; font-weight: 800; margin-top: 8px; width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ch-prem small { font-size: 11px; color: var(--ch-muted); }
.ch-prem .ch-rt { font-size: 12px; font-weight: 800; display: flex; align-items: center; gap: 2px; margin-top: 2px; }
.ch-prem .ch-rt span { font-weight: 400; color: var(--ch-muted); }
.ch-pinfo { display: contents; }
.ch-offer-pill { margin-top: auto; font-size: 10.5px; font-weight: 800; color: var(--ch-red); background: rgba(225,29,72,.08); padding: 4px 8px; border-radius: 20px; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Avatar ---------- */
.ch-avatar { position: relative; border-radius: 50%; background: var(--ch-soft); display: grid; place-items: center; overflow: hidden; flex: 0 0 auto; }
.ch-avatar .ch-emoji { line-height: 1; }
.ch-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .25s; }
.ch-avatar img.ok { opacity: 1; }
.ch-avatar.b2 { border: 2px solid #fff; }
.ch-avatar.b4 { border: 4px solid #fff; }

/* ---------- Filter chips row ---------- */
.ch-chips { display: flex; gap: 8px; overflow-x: auto; padding: 0 16px 2px; scrollbar-width: none; }
.ch-chips::-webkit-scrollbar { display: none; }

/* ---------- Kitchen card ---------- */
.ch-kgrid, .ch-list, .ch-menu, .ch-vlist { grid-template-columns: minmax(0, 1fr); }
.ch-kgrid { display: grid; gap: 14px; padding: 14px 16px 0; }
.ch-kcard { display: block; background: #fff; border: 1px solid var(--ch-border); border-radius: 18px; overflow: hidden; box-shadow: 0 4px 14px rgba(15,23,42,.06); transition: transform .2s, box-shadow .2s; }
.ch-kcard:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(15,23,42,.1); }
.ch-kcover { position: relative; height: 150px; background: linear-gradient(135deg, var(--c1), var(--c2)); display: grid; place-items: center; }
.ch-kcover .ch-emoji { font-size: 56px; }
.ch-kcover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .25s; }
.ch-kcover img.ok { opacity: 1; }
.ch-kcover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.33) 100%); }
.ch-kcover > :not(img):not(.ch-emoji) { z-index: 1; }
.ch-kribbon { position: absolute; top: 12px; inset-inline-start: 0; background: var(--ch-red); color: #fff; font-size: 11.5px; font-weight: 800; padding: 5px 10px; border-radius: 0 10px 10px 0; display: inline-flex; align-items: center; gap: 4px; max-width: 70%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
[dir="rtl"] .ch-kribbon { border-radius: 10px 0 0 10px; }
.ch-fav { position: absolute; top: 10px; inset-inline-end: 10px; width: 34px; height: 34px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--ch-muted); box-shadow: 0 2px 6px rgba(0,0,0,.12); }
.ch-fav.on { color: var(--ch-red); }
.ch-fav .msr { font-size: 19px; }
.ch-premium { position: absolute; bottom: 10px; inset-inline-start: 10px; background: var(--ch-navy); color: var(--ch-premium-gold); font-size: 10px; font-weight: 900; padding: 4px 8px; border-radius: 8px; letter-spacing: .3px; }
.ch-closed { position: absolute; inset: 0; z-index: 2 !important; background: rgba(0,0,0,.55); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.ch-closed b { font-size: 16px; font-weight: 900; }
.ch-closed small { font-size: 12px; color: rgba(255,255,255,.7); }
.ch-kbody { padding: 12px 14px 14px; }
.ch-krow { display: flex; align-items: center; gap: 4px; }
.ch-krow h3 { font-size: 15.5px; font-weight: 900; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ch-krow .ch-rate { margin-inline-start: auto; display: inline-flex; align-items: center; gap: 2px; font-size: 13px; font-weight: 800; white-space: nowrap; }
.ch-krow .ch-rate span { font-weight: 400; color: var(--ch-muted); font-size: 12px; }
.ch-kmeta { font-size: 12px; color: var(--ch-muted); margin-top: 2px; }
.ch-kfoot { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: 12px; color: var(--ch-muted); }
.ch-kfoot .msr { font-size: 16px; }
.ch-kfoot .free { color: var(--ch-green); font-weight: 700; }
.ch-kfoot .ch-tag { margin-inline-start: auto; }
.ch-empty { text-align: center; color: var(--ch-muted); padding: 40px 16px; }

/* ---------- Trust banner ---------- */
.ch-trust { margin: 20px 16px 0; background: var(--ch-softer); border: 1px solid var(--ch-soft); border-radius: 18px; padding: 16px; }
.ch-trust h3 { font-size: 15px; font-weight: 800; margin-bottom: 10px; }
.ch-trust li { display: flex; align-items: center; gap: 10px; font-size: 13px; padding: 5px 0; }
.ch-trust ul { list-style: none; margin: 0; padding: 0; }
.ch-trust .msr { color: var(--ch-dark); font-size: 18px; }

/* ---------- Cooks list ---------- */
.ch-list { display: grid; gap: 10px; padding: 0 16px; }
.ch-cookrow { display: flex; align-items: center; gap: 12px; }
.ch-cookrow .ch-info { flex: 1; min-width: 0; }
.ch-cookrow .ch-info b { font-size: 14.5px; font-weight: 700; display: flex; align-items: center; gap: 4px; }
.ch-cookrow .ch-info small { display: block; font-size: 12px; color: var(--ch-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ch-cookrow .ch-side { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }

/* ---------- Kitchen profile ---------- */
.ch-khead { position: relative; margin: 12px 16px 0; border-radius: 20px; background: var(--ch-brand); color: #fff; padding: 16px 52px 16px 16px; overflow: hidden; }
[dir="rtl"] .ch-khead { padding: 16px 16px 16px 52px; }
.ch-khead .ch-avatar { background: #fff; }
.ch-khead h2 { font-size: 18px; font-weight: 800; display: flex; align-items: center; gap: 4px; margin-top: 10px; }
.ch-khead p { font-size: 12.5px; }
.ch-khead .ch-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.ch-khead .ch-tag { --c: #fff; background: rgba(255,255,255,.22); color: #fff; }
.ch-bio-btn { position: absolute; top: 10px; inset-inline-end: 10px; width: 40px; height: 40px; display: grid; place-items: center; }
.ch-bio-btn::before { content: ""; position: absolute; width: 34px; height: 34px; border-radius: 50%; background: #fff; animation: ch-ring 1.6s linear infinite; }
.ch-bio-btn .ch-avatar { width: 32px; height: 32px; border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.12); animation: ch-bob 1.6s ease-in-out infinite; }
@keyframes ch-ring { from { transform: scale(.8); opacity: .5; } to { transform: scale(1.25); opacity: 0; } }
@keyframes ch-bob { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
.ch-offerstrip { margin: 12px 16px 0; background: #FFF1F2; border: 1px solid #FECDD3; border-radius: 14px; padding: 10px 12px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ch-offerstrip b { color: var(--ch-red); font-weight: 800; font-size: 13px; display: inline-flex; align-items: center; gap: 4px; }
.ch-offerstrip small { margin-inline-start: auto; font-size: 12px; color: var(--ch-muted); }
.ch-stats { margin: 12px 16px 0; display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; }
.ch-stats b { display: block; font-size: 15px; font-weight: 800; }
.ch-stats small { font-size: 11px; color: var(--ch-muted); }
.ch-stats > div + div { border-inline-start: 1px solid var(--ch-border); }
.ch-box { margin: 12px 16px 0; }
.ch-box h3 { font-size: 14px; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.ch-checks { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 8px; }
.ch-checks li { display: flex; align-items: center; gap: 8px; font-size: 12.5px; }
.ch-checks .msr { color: var(--ch-green); font-size: 18px; }
.ch-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-top: 10px; }
.ch-days span { text-align: center; font-size: 12px; font-weight: 700; padding: 8px 0; border-radius: 10px; background: #F1F5F9; color: var(--ch-muted); }
.ch-days span.on { background: var(--ch-soft); color: var(--ch-dark); }
.ch-menu { display: grid; gap: 10px; padding: 0 16px; }
.ch-mitem { display: flex; gap: 12px; padding: 10px; }
.ch-mitem .ch-thumb { width: 104px; height: 104px; flex: 0 0 104px; }
.ch-mitem .ch-mi { flex: 1; min-width: 0; min-height: 104px; display: flex; flex-direction: column; }
.ch-mitem h4 { margin: 0; font-size: 15px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ch-mitem p { font-size: 12px; color: var(--ch-muted); line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 2px; }
.ch-mitem .ch-mmeta { font-size: 11px; color: var(--ch-muted); margin-top: 4px; }
.ch-mitem .ch-mprice { margin-top: auto; display: flex; align-items: baseline; gap: 6px; padding-top: 4px; }
.ch-mitem .ch-mprice b { font-size: 14px; }
.ch-mbadge { position: absolute; top: 6px; inset-inline-start: 6px; z-index: 1; display: inline-flex; align-items: center; gap: 2px; padding: 3px 7px 3px 5px; border-radius: 20px; background: var(--c); color: #fff; font-size: 9.5px; font-weight: 800; box-shadow: 0 1px 4px rgba(0,0,0,.18); }
.ch-mbadge .msr { font-size: 12px; }
.ch-review .ch-rh { display: flex; align-items: center; gap: 10px; }
.ch-review .ch-rh b { font-size: 13px; font-weight: 700; display: block; }
.ch-review .ch-rh small { font-size: 11px; color: var(--ch-muted); }
.ch-review .ch-rh .ch-rate { margin-inline-start: auto; font-size: 13px; font-weight: 800; display: flex; align-items: center; gap: 2px; }
.ch-review p { font-size: 13px; line-height: 1.4; margin-top: 8px; }

/* ---------- Owner bio ---------- */
.ch-ohead { margin: 12px 16px 0; border-radius: 20px; color: #fff; padding: 24px 16px; text-align: center; display: flex; flex-direction: column; align-items: center; background: linear-gradient(135deg, var(--c1), var(--c2)); }
.ch-ohead h2 { font-size: 20px; font-weight: 900; display: flex; align-items: center; gap: 4px; margin-top: 12px; }
.ch-ohead p { font-size: 13px; }
.ch-ohead small { font-size: 12.5px; margin-top: 4px; }
.ch-facts { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; }
.ch-facts b { display: block; font-size: 15px; font-weight: 800; }
.ch-facts small { font-size: 11px; color: var(--ch-muted); }
.ch-langs { border-top: 1px solid var(--ch-border); margin-top: 12px; padding-top: 12px; font-size: 13px; display: flex; align-items: center; gap: 8px; }
.ch-contact { display: flex; align-items: center; gap: 12px; padding: 8px 0; }
.ch-contact + .ch-contact { border-top: 1px solid var(--ch-border); }
.ch-contact .ch-ci { width: 38px; height: 38px; border-radius: 12px; background: var(--ch-soft); color: var(--ch-dark); display: grid; place-items: center; }
.ch-contact small { display: block; font-size: 11px; color: var(--ch-muted); }
.ch-contact b { font-size: 13.5px; font-weight: 700; }
.ch-contact .chev { margin-inline-start: auto; color: var(--ch-muted); }

/* ---------- Dish detail ---------- */
.ch-hero { position: relative; height: 240px; background: linear-gradient(135deg, var(--c1), var(--c2)); display: grid; place-items: center; overflow: hidden; }
.ch-hero .ch-emoji { font-size: 110px; }
.ch-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .25s; }
.ch-hero img.ok { opacity: 1; }
.ch-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.4) 0%, transparent 50%); pointer-events: none; }
.ch-hero-bar { position: absolute; top: 0; inset-inline: 0; z-index: 2; display: flex; justify-content: space-between; padding: 8px; color: #fff; }
.ch-hero-bar .ch-iconbtn { background: rgba(0,0,0,.25); border-radius: 50%; color: #fff; }
.ch-dpad { padding: 16px; }
.ch-dpad h1 { font-size: 22px; font-weight: 800; }
.ch-cookline { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--ch-dark); }
.ch-desc { font-size: 14px; line-height: 1.45; color: var(--ch-body-text); margin-top: 10px !important; }
.ch-dprice { display: flex; align-items: baseline; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.ch-dprice b { font-size: 20px; }
.ch-dprice .ch-old { font-size: 13px; }
.ch-info4 { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; margin-top: 16px; }
.ch-info4 .msr { color: var(--ch-primary); font-size: 22px; }
.ch-info4 b { display: block; font-size: 13px; font-weight: 800; margin-top: 4px; }
.ch-info4 small { font-size: 11px; color: var(--ch-muted); }
.ch-group { margin-top: 18px; }
.ch-group > h3 { font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.ch-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.ch-seg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.ch-seg.two { grid-template-columns: 1fr 1fr; }
.ch-seg label { border: 1.5px solid var(--ch-chip-border); background: #fff; border-radius: 12px; padding: 9px 4px; text-align: center; font-size: 12.5px; font-weight: 700; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.ch-seg label small { font-size: 10.5px; font-weight: 500; color: var(--ch-muted); }
.ch-seg input { position: absolute; opacity: 0; pointer-events: none; }
.ch-seg label:has(input:checked) { background: var(--ch-soft); border-color: var(--ch-primary); color: var(--ch-dark); }
.ch-seg label:has(input:disabled) { opacity: .45; cursor: not-allowed; }
.ch-seg label:has(input:focus-visible) { outline: 2px solid var(--ch-primary); outline-offset: 2px; }
.ch-fs { border: 0; padding: 0; margin-inline: 0; min-width: 0; }
.ch-fs legend { font-size: 14px; font-weight: 700; margin-bottom: 8px; padding: 0; }
.ch-radios { display: grid; gap: 8px; }
.ch-radios label { display: flex; align-items: center; gap: 10px; padding: 12px; border: 1px solid var(--ch-border); border-radius: 12px; background: #fff; cursor: pointer; font-size: 13.5px; font-weight: 600; }
.ch-radios input { accent-color: var(--ch-primary); width: 18px; height: 18px; margin: 0; }
.ch-radios label:has(input:checked) { border-color: var(--ch-primary); }
.ch-note { font-size: 12px; color: var(--ch-muted); }
.ch-vrow { display: flex; align-items: center; gap: 12px; width: 100%; text-align: start; }
.ch-vrow .ch-vi { width: 40px; height: 40px; border-radius: 10px; background: #FFE4E6; color: var(--ch-red); display: grid; place-items: center; flex: 0 0 auto; }
.ch-vrow b { display: block; font-size: 13.5px; font-weight: 700; }
.ch-vrow small { font-size: 12px; color: var(--ch-muted); }
.ch-vrow small.save { color: var(--ch-green); font-weight: 600; }
.ch-vrow .ch-remove { margin-inline-start: auto; color: var(--ch-red); font-size: 13px; font-weight: 700; }
.ch-vrow .chev { margin-inline-start: auto; color: var(--ch-muted); }
.ch-bill { display: grid; gap: 8px; font-size: 13.5px; }
.ch-bill > div { display: flex; justify-content: space-between; gap: 8px; }
.ch-bill > div[hidden] { display: none; }
.ch-bill .neg { color: var(--ch-red); }
.ch-bill .free { color: var(--ch-green); font-weight: 700; }
.ch-bill hr { border: 0; border-top: 1px solid var(--ch-border); margin: 4px 0; }
.ch-bill .tot { font-size: 15px; font-weight: 900; }
.ch-escrow { background: #EFF6FF; border-radius: 14px; padding: 12px; display: flex; gap: 10px; font-size: 12.5px; line-height: 1.45; margin-top: 14px; }
.ch-escrow .msr { color: var(--ch-blue); }
.ch-orderbar { position: fixed; inset-inline: 0; bottom: 0; z-index: 45; background: #fff; border-top: 1px solid var(--ch-border); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); display: flex; gap: 12px; align-items: center; }
.ch-orderbar .ch-btn { flex: 1; }
.ch-qty { display: flex; align-items: center; gap: 10px; }
.ch-qty button { width: 38px; height: 38px; border-radius: 10px; background: var(--ch-softer); border: 1px solid var(--ch-soft); color: var(--ch-primary); display: grid; place-items: center; }
.ch-qty button:disabled { opacity: .4; }
.ch-qty output { font-size: 18px; font-weight: 800; min-width: 22px; text-align: center; }
.ch-disabled-note { font-size: 12px; color: var(--ch-red); margin-top: 6px; }

/* ---------- Modal / bottom sheet ---------- */
.ch-sheet { position: fixed; inset: 0; z-index: 60; display: none; }
.ch-sheet.open { display: block; }
.ch-sheet .ch-scrim { position: absolute; inset: 0; background: rgba(15,23,42,.45); }
.ch-sheet .ch-panel { position: absolute; inset-inline: 0; bottom: 0; max-height: 80vh; overflow: auto; background: var(--ch-bg); border-radius: 20px 20px 0 0; padding: 8px 16px calc(16px + env(safe-area-inset-bottom)); animation: ch-up .25s ease-out; }
.ch-sheet .ch-grab { width: 40px; height: 4px; border-radius: 2px; background: var(--ch-chip-border); margin: 4px auto 12px; }
.ch-sheet h3 { font-size: 16px; font-weight: 700; display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.ch-sheet .ch-coupon.inel { opacity: .55; }
@keyframes ch-up { from { transform: translateY(30px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- Toast ---------- */
.ch-toast { position: fixed; inset-inline: 16px; bottom: 88px; z-index: 80; margin: 0 auto; max-width: 420px; background: var(--ch-ink); color: #fff; padding: 12px 16px; border-radius: 12px; font-size: 13.5px; box-shadow: 0 8px 24px rgba(0,0,0,.2); opacity: 0; transform: translateY(10px); transition: opacity .2s, transform .2s; pointer-events: none; }
.ch-toast.show { opacity: 1; transform: none; }

/* ---------- Vouchers page ---------- */
.ch-codeinput { display: flex; align-items: center; gap: 10px; }
.ch-codeinput .msr { color: var(--ch-red); }
.ch-codeinput input { flex: 1; min-width: 0; height: 44px; border: 1px solid var(--ch-chip-border); border-radius: 12px; padding: 0 12px; font: inherit; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; outline: none; }
.ch-codeinput input:focus { border-color: var(--ch-primary); }
.ch-codeinput button { height: 44px; padding: 0 18px; border-radius: 12px; background: var(--ch-ink); color: #fff; font-weight: 700; }
.ch-vlist { display: grid; gap: 12px; padding: 0 16px; }

/* ---------- Orders ---------- */
.ch-tabs { display: flex; background: #fff; border-bottom: 1px solid var(--ch-border); position: sticky; top: 56px; z-index: 20; }
.ch-tabs a { flex: 1; text-align: center; padding: 12px 0; font-size: 14px; font-weight: 600; color: var(--ch-muted); border-bottom: 2.5px solid transparent; }
.ch-tabs a.on { color: var(--ch-dark); font-weight: 700; border-bottom-color: var(--ch-primary); }
.ch-orow { display: flex; align-items: center; gap: 12px; }
.ch-orow .ch-thumb { width: 52px; height: 52px; flex: 0 0 52px; border-radius: 12px; --es: 26px; }
.ch-orow .ch-oi { flex: 1; min-width: 0; }
.ch-orow .ch-oi b { display: block; font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ch-orow .ch-oi small { display: block; font-size: 11.5px; color: var(--ch-muted); margin-bottom: 4px; }
.ch-orow .ch-oside { text-align: end; display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.ch-orow .ch-oside b { font-weight: 800; color: var(--ch-dark); white-space: nowrap; }
.ch-orow .ch-oside span { font-size: 12.5px; font-weight: 700; color: var(--ch-dark); }

/* ---------- Order tracking ---------- */
.ch-status { margin: 12px 16px 0; border-radius: 20px; background: var(--ch-brand); color: #fff; padding: 18px 16px; display: flex; align-items: center; gap: 14px; }
.ch-status.cancel { background: linear-gradient(90deg, #FB7185, #E11D48); }
.ch-status .ch-se { font-size: 42px; line-height: 1; }
.ch-status h2 { font-size: 18px; font-weight: 800; }
.ch-status p { font-size: 12.5px; margin-top: 2px; }
.ch-tl { list-style: none; margin: 0; padding: 0; }
.ch-tl li { position: relative; display: flex; gap: 12px; padding-bottom: 18px; }
.ch-tl li:last-child { padding-bottom: 0; }
.ch-tl li::before { content: ""; position: absolute; top: 28px; bottom: 2px; inset-inline-start: 12px; width: 2px; background: var(--ch-chip-border); }
.ch-tl li:last-child::before { display: none; }
.ch-tl li.done::before { background: var(--ch-green); }
.ch-tl .ch-dot { width: 26px; height: 26px; border-radius: 50%; flex: 0 0 26px; background: var(--ch-chip-border); display: grid; place-items: center; color: #fff; position: relative; z-index: 1; }
.ch-tl .ch-dot::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; }
.ch-tl li.done .ch-dot { background: var(--ch-green); }
.ch-tl li.on .ch-dot { background: var(--ch-primary); }
.ch-tl li.done .ch-dot::after, .ch-tl li.on .ch-dot::after { display: none; }
.ch-tl .ch-dot .msr { font-size: 16px; }
.ch-tl b { font-size: 13.5px; font-weight: 700; padding-top: 3px; }
.ch-tl li.todo b { color: var(--ch-muted); font-weight: 600; }
.ch-tl small { display: block; font-size: 11.5px; color: var(--ch-muted); }
.ch-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 14px 16px 0; }
.ch-preview { margin: 16px; font-size: 12px; color: var(--ch-muted); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.ch-preview a { padding: 4px 10px; border-radius: 20px; border: 1px solid var(--ch-chip-border); background: #fff; }
.ch-preview a.on { background: var(--ch-ink); color: #fff; border-color: var(--ch-ink); }

/* ---------- Desktop ---------- */
@media (min-width: 768px) {
  .ch-main { padding-bottom: 48px; }
  .ch-appbar { top: 0; max-width: var(--ch-max); margin: 0 auto; background: transparent; padding-inline: 8px; }
  .ch-appbar .ch-mob { display: none; }
  .ch-homehead { position: relative; top: 0; border-radius: 0 0 24px 24px; padding: 18px 16px 22px; max-width: var(--ch-max); margin: 0 auto; }
  .ch-homehead .ch-mob { display: none; }
  .ch-search { max-width: 640px; }
  .ch-banner { flex-basis: calc((100% - 10px) / 3 * 1.4); }
  .ch-banners { padding-inline: 16px; }
  .ch-hs-arrow { display: grid; }
  .ch-kgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ch-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ch-vlist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ch-menu { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ch-tiles-r1 { grid-template-columns: 2fr 1fr 1fr; height: 156px; }
  .ch-tiles-r1 .ch-col { display: contents; }
  .ch-tiles { grid-template-columns: 1fr; }
  .ch-tabs { top: 56px; max-width: var(--ch-max); margin: 0 auto; }
  .ch-toast { bottom: 24px; }
  .ch-sheet .ch-panel { inset: auto; top: 50%; left: 50%; transform: translate(-50%, -50%); width: min(520px, 92vw); border-radius: 20px; animation: none; }
  .ch-orderbar { position: static; border: 0; padding: 0; margin-top: 18px; background: transparent; }
  .ch-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 12px; align-items: start; }
  .ch-cols > .full { grid-column: 1 / -1; }
}

/* ---------- Mobile/tablet dish order: hero, head, info, order (the aside wrapper is transparent) ---------- */
.ch-dish { display: flex; flex-direction: column; }
.ch-dish .ch-hero { order: 1; }
.ch-daside { display: contents; }
.ch-dhead { order: 2; padding-bottom: 0; }
.ch-dinfo { order: 3; padding-block: 0; }
.ch-dinfo .ch-info4 { margin-top: 16px; }
.ch-dorder { order: 4; padding-top: 0; }
.ch-dmore { order: 5; }
.ch-narrow { max-width: 760px; }
.ch-narrow-o { max-width: 720px; }

@media (max-width: 1023.98px) { .ch-dk { display: none !important; } }

/* =====================================================================
   Desktop web (>= 1024px): inspired by the app, laid out as a website
   ===================================================================== */
@media (min-width: 1024px) {
  .ch-mb { display: none !important; }
  :root { --ch-max: 1140px; }
  .ch-body { font-size: 15px; }
  .ch-wrap { padding-inline: 15px; }
  .ch-narrow, .ch-narrow-o { max-width: var(--ch-max); }
  .ch-main { padding-bottom: 64px; min-height: 50vh; }
  .ch-appbar { display: none; }
  .ch-sec { padding: 36px 0 14px; }
  .ch-sec h2 { font-size: 22px; font-weight: 800; letter-spacing: -.2px; }
  .ch-sec a { font-size: 14px; }
  .ch-px, .ch-chips, .ch-cuisines, .ch-hs-track, .ch-kgrid, .ch-list, .ch-menu, .ch-vlist { padding-inline: 0; }
  .ch-hs-track { padding-block: 4px 10px; scroll-padding-inline: 0; }
  .ch-hs-arrow { top: calc(50% - 26px); }
  .ch-hs-arrow.prev { inset-inline-start: -18px; }
  .ch-hs-arrow.next { inset-inline-end: -18px; }
  .ch-card, .ch-box, .ch-stats, .ch-offerstrip, .ch-trust, .ch-khead, .ch-ohead, .ch-status, .ch-two { margin-inline: 0; }

  /* Cook Habibi bar */
  .ch-titlebar .ch-wrap { padding: 10px 16px; }
  .ch-tb-actions { gap: 14px; }

  /* Breadcrumbs + page header */
  .ch-crumbs { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; font-size: 13px; color: var(--ch-muted); }
  .ch-crumbs a:hover { color: var(--ch-dark); }
  .ch-crumbs .msr { font-size: 16px; }
  .ch-crumbs span[aria-current] { color: var(--ch-ink); font-weight: 600; }
  .ch-crumbs.light, .ch-crumbs.light span[aria-current] { color: rgba(255,255,255,.85); }
  .ch-phead { padding: 28px 0 8px; }
  .ch-phead-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-top: 10px; }
  .ch-phead h1 { font-size: 30px; font-weight: 900; letter-spacing: -.4px; }
  .ch-phead p { color: var(--ch-muted); margin-top: 4px; }

  /* Home hero */
  /* Banner-first hero: one full-width promo slide at a time, like the store home slider. */
  .ch-dhero { padding: 24px 0 0; }
  .ch-dhero-slides { min-width: 0; }
  .ch-dhero .ch-banners { padding: 0; gap: 0; border-radius: 20px; clip-path: inset(0 3px 0 0 round 20px); }
  .ch-dhero .ch-banner { flex: 0 0 100%; height: 240px; border-radius: 20px; padding: 28px 36px; box-shadow: none !important; }
  .ch-dhero .ch-banner::before { width: 320px; height: 320px; top: -110px; inset-inline-end: 6%; }
  .ch-dhero .ch-banner .ch-btag { font-size: 11.5px; padding: 4px 12px; }
  .ch-dhero .ch-banner h3 { font-size: 34px; max-width: 60%; margin-top: 14px; }
  .ch-dhero .ch-banner p { font-size: 15px; }
  .ch-dhero .ch-banner .ch-bemoji { font-size: 140px; bottom: 20px; inset-inline-end: 9%; }

  /* Service tiles: one row of six */
  .ch-tiles { padding: 32px 0 0; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
  .ch-dokan-services { padding: 28px 0 0; overflow: visible; }
  .ch-tiles-r1, .ch-tiles-r2, .ch-tiles-r1 .ch-col { display: contents; }
  .ch-tile, .ch-tile.big { height: 132px; padding: 16px; border-radius: 20px; }
  .ch-tile b, .ch-tile.big b { font-size: 16px; }
  .ch-tile small, .ch-tile.big small { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; max-width: 100%; font-size: 12.5px; margin-top: 2px; }
  .ch-tile i, .ch-tile.big i { font-size: 40px; bottom: 10px; inset-inline-end: 12px; }
  .ch-tile:hover { box-shadow: 0 10px 24px rgba(15,23,42,.08); }

  /* Vouchers for you: a 4-column grid instead of a scroller */
  .ch-hs-grid .ch-hs-track { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; overflow: visible; padding-block: 2px; }
  .ch-hs-grid .ch-hs-arrow { display: none; }
  .ch-hs-grid .ch-hs-track > * { display: flex; }
  .ch-hs-grid .ch-coupon { width: 100%; }
  .ch-hs-grid .ch-coupon .ch-crow { gap: 6px; }
  .ch-hs-grid .ch-code { letter-spacing: .2px; padding: 4px 6px; }
  .ch-hs-grid .ch-cact { padding: 7px 12px; }
  .ch-hs-grid .ch-coupon .ch-cbody h4, .ch-hs-grid .ch-coupon .ch-cterms { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .ch-coupon:hover { box-shadow: 0 8px 20px rgba(15,23,42,.07); }

  /* Cuisines as a centered rail */
  .ch-cuisines { gap: 28px; }
  .ch-cuisine { min-width: 76px; font-size: 13.5px; }
  .ch-cuisine span:first-child { width: 76px; height: 76px; font-size: 34px; }
  .ch-cuisine:hover span:first-child { background: var(--ch-softer); }

  /* Deals + premium rails */
  .ch-deal { width: 216px; }
  .ch-deal .ch-thumb { width: 216px; height: 176px; aspect-ratio: auto; }
  .ch-deal h3 { font-size: 15px; }
  .ch-deal .ch-kn { font-size: 12.5px; }
  .ch-deal .ch-pr b { font-size: 15px; }
  .ch-deal:hover .ch-thumb img { transform: scale(1.04); }
  .ch-thumb img { transition: opacity .25s, transform .4s; }
  .ch-prem { width: 300px; height: auto; flex-direction: row; align-items: center; text-align: start; gap: 14px; padding: 16px; }
  .ch-prem .ch-ring { flex: 0 0 66px; }
  .ch-prem > :not(.ch-ring) { min-width: 0; }
  .ch-prem h3 { margin-top: 0; font-size: 15px; }
  .ch-prem .ch-pinfo { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
  .ch-prem .ch-offer-pill { margin-top: 8px; }

  /* Browse: filter sidebar + kitchen grid */
  .ch-browse { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 32px; align-items: start; }
  .ch-filters { position: sticky; top: 20px; margin-top: 36px; background: #fff; border: 1px solid var(--ch-border); border-radius: 18px; padding: 18px; }
  .ch-fhead { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 6px; }
  .ch-fhead h3 { font-size: 17px; font-weight: 800; }
  .ch-fhead a { font-size: 13px; font-weight: 700; color: var(--ch-dark); }
  .ch-filters h4 { margin: 16px 0 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .6px; color: var(--ch-muted); font-weight: 800; }
  .ch-fopt { display: flex; align-items: center; gap: 10px; padding: 7px 8px; margin-inline: -8px; border-radius: 10px; font-size: 14px; font-weight: 500; }
  .ch-fopt:hover { background: var(--ch-softer); }
  .ch-fopt small { margin-inline-start: auto; font-size: 12px; color: var(--ch-muted); }
  .ch-fopt.on { font-weight: 700; color: var(--ch-dark); }
  .ch-radio { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--ch-chip-border); flex: 0 0 18px; }
  .ch-fopt.on .ch-radio { border: 5px solid var(--ch-primary); }
  .ch-check { width: 18px; height: 18px; border-radius: 5px; border: 2px solid var(--ch-chip-border); flex: 0 0 18px; display: grid; place-items: center; color: #fff; }
  .ch-check .msr { font-size: 14px; opacity: 0; }
  .ch-fopt.on .ch-check { background: var(--ch-primary); border-color: var(--ch-primary); }
  .ch-fopt.on .ch-check .msr { opacity: 1; }
  .ch-kgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding-top: 0; }
  .ch-browse .ch-kgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ch-kcover { height: 170px; }
  .ch-kcard:hover .ch-kcover img { transform: scale(1.04); }
  .ch-kcover img { transition: opacity .25s, transform .4s; }
  .ch-empty { background: #fff; border: 1px dashed var(--ch-chip-border); border-radius: 18px; }

  /* Trust band */
  .ch-trust { margin: 48px 0 0; padding: 28px 32px; border-radius: 24px; display: grid; grid-template-columns: 1fr 3fr; align-items: center; gap: 24px; }
  .ch-trust h3 { font-size: 22px; font-weight: 900; margin: 0; }
  .ch-trust ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .ch-trust li { flex-direction: column; align-items: flex-start; gap: 8px; font-size: 14px; font-weight: 600; padding: 0; }
  .ch-trust li .msr { width: 44px; height: 44px; border-radius: 14px; background: #fff; display: grid; place-items: center; font-size: 24px; }

  /* Cooks page */
  .ch-chips { flex-wrap: wrap; overflow: visible; }

  /* Kitchen profile */
  .ch-kbanner { position: relative; margin-top: 20px; border-radius: 24px; overflow: hidden; min-height: 300px; background: linear-gradient(135deg, var(--c1), var(--c2)); color: #fff; display: flex; }
  .ch-kbanner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .3s; }
  .ch-kbanner > img.ok { opacity: 1; }
  .ch-kbanner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,23,42,.25) 0%, rgba(15,23,42,.15) 35%, rgba(15,23,42,.82) 100%); }
  .ch-kbanner-in { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: space-between; width: 100%; padding: 22px 28px 26px; gap: 60px; }
  .ch-kbanner-row { display: flex; align-items: flex-end; gap: 20px; }
  .ch-kbanner-txt { flex: 1; min-width: 0; }
  .ch-kbanner h1 { font-size: 34px; font-weight: 900; letter-spacing: -.5px; display: flex; align-items: center; gap: 8px; }
  .ch-kbanner h1 .msr { font-size: 26px; color: #60A5FA; }
  .ch-kbanner p { font-size: 15px; color: rgba(255,255,255,.85); margin-top: 4px; }
  .ch-kbanner .ch-tags { margin-top: 12px; }
  .ch-kbanner .ch-tag { --c: #fff; background: rgba(255,255,255,.18); color: var(--c); font-size: 12px; padding: 5px 10px; backdrop-filter: blur(6px); }
  .ch-kbanner .ch-tag-solid { background: #fff; color: var(--ch-ink); }
  .ch-kbanner .ch-tag-premium { background: var(--ch-navy); color: var(--ch-premium-gold); }
  .ch-kbanner-act { display: flex; gap: 10px; flex: 0 0 auto; }
  .ch-btn-ghost { height: 50px; padding-inline: 18px; border-radius: 14px; background: rgba(255,255,255,.16) !important; color: #fff !important; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.3) !important; }
  .ch-btn-ghost.on .msr { color: #FB7185; }
  .ch-kbanner-act .ch-avatar { border-color: #fff; }
  .ch-ktabs { position: sticky; top: 0; z-index: 20; display: flex; gap: 6px; background: var(--ch-bg); padding: 14px 0 10px; border-bottom: 1px solid var(--ch-border); }
  .ch-ktabs a { padding: 9px 16px; border-radius: 12px; font-weight: 700; font-size: 14px; color: var(--ch-muted); }
  .ch-ktabs a:hover, .ch-ktabs a.on { background: var(--ch-soft); color: var(--ch-dark); }
  .ch-klayout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 0 32px; align-items: start; }
  .ch-klayout .ch-kmain { grid-column: 1; grid-row: 1; }
  .ch-klayout .ch-kside { grid-column: 2; grid-row: 1; position: sticky; top: 68px; padding-top: 24px; }
  .ch-kside .ch-offerstrip:first-child, .ch-kside > :first-child { margin-top: 0; }
  .ch-kside .ch-offerstrip { flex-direction: column; align-items: flex-start; }
  .ch-kside .ch-offerstrip small { margin-inline-start: 0; }
  .ch-menu-k { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .ch-mitem { padding: 12px; }
  .ch-mitem .ch-thumb { width: 116px; height: 116px; flex-basis: 116px; }
  .ch-sheet-wide .ch-panel { width: min(720px, 92vw); max-height: 88vh; }
  .ch-sheet-wide .ch-ohead { margin-top: 0; }

  /* Dish page: product layout */
  .ch-dish { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-areas: "hero aside" "info aside" "more more"; grid-template-rows: auto 1fr auto; gap: 0 40px; padding-top: 28px; align-items: start; }
  .ch-dish .ch-hero { grid-area: hero; height: auto; aspect-ratio: 4 / 3; border-radius: 24px; }
  .ch-dish .ch-hero-bar { display: none; }
  .ch-dish .ch-hero::after { display: none; }
  .ch-daside { grid-area: aside; display: block; position: sticky; top: 20px; background: #fff; border: 1px solid var(--ch-border); border-radius: 24px; padding: 24px; box-shadow: 0 12px 32px rgba(15,23,42,.06); }
  .ch-daside .ch-dpad { padding: 0; }
  .ch-dhead .ch-crumbs { margin-bottom: 12px; }
  .ch-dhead h1 { font-size: 30px; font-weight: 900; letter-spacing: -.4px; }
  .ch-dorder .ch-group:first-child { margin-top: 18px; }
  .ch-dinfo { grid-area: info; padding: 0; align-self: start; }
  .ch-dinfo .ch-info4 { margin-top: 24px; padding: 18px; }
  .ch-dinfo .ch-group { margin-top: 24px; }
  .ch-dinfo .ch-group > h3 { font-size: 16px; }
  .ch-dmore { grid-area: more; }
  .ch-dgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
  .ch-dgrid .ch-deal, .ch-dgrid .ch-deal .ch-thumb { width: 100%; }
  .ch-dgrid .ch-deal .ch-thumb { height: auto; aspect-ratio: 4 / 3; }
  .ch-orderbar { margin-top: 20px; }
  .ch-escrow { margin-top: 12px; }

  /* Vouchers */
  .ch-codeinput { max-width: 640px; }
  .ch-vlist { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }

  /* Orders table */
  .ch-tabs { position: static; background: transparent; max-width: none; margin: 16px 0 0; justify-content: flex-start; gap: 4px; border-bottom: 1px solid var(--ch-border); }
  .ch-tabs a { flex: 0 0 auto; padding: 12px 18px; }
  .ch-otable { margin-top: 20px; padding: 0; overflow: hidden; }
  .ch-otable table { width: 100%; border-collapse: collapse; font-size: 14px; }
  .ch-otable th { text-align: start; font-size: 12px; text-transform: uppercase; letter-spacing: .5px; color: var(--ch-muted); font-weight: 800; padding: 14px 18px; background: #FBFCFE; border-bottom: 1px solid var(--ch-border); }
  .ch-otable td { padding: 14px 18px; border-bottom: 1px solid var(--ch-border); vertical-align: middle; }
  .ch-otable tr:last-child td { border-bottom: 0; }
  .ch-otable tbody tr:hover { background: #FFFDF8; }
  .ch-otable .num { text-align: end; white-space: nowrap; }
  .ch-otable .ch-orow .ch-thumb { width: 56px; height: 56px; flex-basis: 56px; }
  .ch-link { font-weight: 700; }
  .ch-link:hover { color: var(--ch-dark); }
  .ch-btn-sm { height: 38px !important; font-size: 13px !important; padding-inline: 14px !important; border-radius: 10px !important; box-shadow: none !important; }

  /* Order tracking */
  .ch-status { padding: 26px 28px; margin-top: 8px; }
  .ch-status .ch-se { font-size: 56px; }
  .ch-status h2 { font-size: 24px; }
  .ch-status p { font-size: 14px; }
  .ch-hsteps { list-style: none; margin: 18px 0 0; padding: 22px 24px; background: #fff; border: 1px solid var(--ch-border); border-radius: 20px; display: flex; }
  .ch-hsteps li { flex: 1; position: relative; text-align: center; font-size: 12.5px; font-weight: 600; color: var(--ch-muted); padding-top: 34px; }
  .ch-hsteps li span { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 24px; height: 24px; border-radius: 50%; background: var(--ch-chip-border); z-index: 1; box-shadow: 0 0 0 4px #fff; }
  .ch-hsteps li::before { content: ""; position: absolute; top: 11px; left: -50%; width: 100%; height: 3px; background: var(--ch-chip-border); }
  .ch-hsteps li:first-child::before { display: none; }
  .ch-hsteps li.done, .ch-hsteps li.on { color: var(--ch-ink); }
  .ch-hsteps li.done span { background: var(--ch-green); }
  .ch-hsteps li.done::before, .ch-hsteps li.on::before { background: var(--ch-green); }
  .ch-hsteps li.on span { background: var(--ch-primary); box-shadow: 0 0 0 4px #fff, 0 0 0 8px var(--ch-glow); }
  [dir="rtl"] .ch-hsteps li::before { left: auto; right: -50%; }
  .ch-trk { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 24px; align-items: start; }
  .ch-trk-side { position: sticky; top: 20px; }
  .ch-trk-side .ch-two { margin-top: 14px; }
  .ch-preview { margin-inline: 0; }
  .ch-odetails { margin-top: 0; padding: 22px; }
  .ch-odetails h3 { font-size: 17px; font-weight: 800; }
  .ch-odetails dl { margin: 14px 0 0; display: grid; gap: 0; }
  .ch-odetails dl > div { display: grid; grid-template-columns: 180px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--ch-border); }
  .ch-odetails dt { display: flex; align-items: center; gap: 8px; color: var(--ch-muted); font-size: 14px; }
  .ch-odetails dt .msr { color: var(--ch-primary); font-size: 20px; }
  .ch-odetails dd { margin: 0; font-weight: 600; }
  .ch-trk { margin-top: 18px; }
}
@media (min-width: 1024px) and (max-width: 1199.98px) {
  :root { --ch-max: 960px; }
  .ch-browse { grid-template-columns: 230px minmax(0, 1fr); gap: 24px; }
  .ch-browse .ch-kgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ch-klayout { grid-template-columns: minmax(0, 1fr) 320px; gap: 0 24px; }
  .ch-menu-k { grid-template-columns: minmax(0, 1fr); }
  .ch-trk { grid-template-columns: minmax(0, 1fr) 340px; }
  .ch-hs-grid .ch-hs-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  .ch-bio-btn::before, .ch-bio-btn .ch-avatar { animation: none; }
  .ch-banners { scroll-behavior: auto; }
  .ch-sheet .ch-panel, .ch-toast, .ch-kcard, .ch-tile { animation: none; transition: none; }
}

/* =====================================================================
   Home revamp (2026-10-28): services, rails, vouchers, cuisines, deals,
   premium cooks, kitchen card info row, why-us. Mobile first.
   ===================================================================== */

/* Section header with tools (title · See all · arrows) */
.ch-rail { position: relative; }
.ch-rail-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 22px 16px 10px; }
.ch-rail-head h2 { font-size: 17px; font-weight: 800; margin: 0; }
.ch-rail-tools { display: flex; align-items: center; gap: 8px; }
.ch-rail .ch-rail-more { font-size: 13px; font-weight: 700; color: var(--ch-primary); }
.ch-rail .ch-hs-arrow { position: static; display: none; width: 34px; height: 34px; border: 1px solid var(--ch-border); box-shadow: none; }
.ch-rail .ch-hs-arrow:hover { background: var(--ch-soft); border-color: var(--ch-soft); color: var(--ch-dark); }

/* 4. Voucher tickets */
.ch-vt { width: 300px; display: flex; background: #fff; border: 1px solid var(--ch-border); border-radius: 16px; overflow: hidden; position: relative; }
.ch-vt-stub { flex: 0 0 92px; color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; }
.ch-vt-stub b { font-size: 26px; font-weight: 900; line-height: 1; }
.ch-vt-stub span { font-size: 11px; font-weight: 800; letter-spacing: 2px; margin-top: 4px; opacity: .95; }
.ch-vt-stub::after { content: ""; position: absolute; top: 8px; bottom: 8px; inset-inline-end: -1px; border-inline-end: 2px dashed rgba(255,255,255,.55); }
.ch-vt-body { flex: 1; min-width: 0; padding: 12px 14px; display: flex; flex-direction: column; gap: 3px; }
.ch-vt-body h3 { font-size: 14px; font-weight: 800; line-height: 1.3; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ch-vt-body p { font-size: 11.5px; color: var(--ch-muted); margin: 0; }
.ch-vt-body small { display: flex; align-items: center; gap: 4px; font-size: 11.5px; color: var(--ch-muted); }
.ch-vt-body small .msr { font-size: 14px; }
.ch-vt-row { margin-top: auto; padding-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ch-vt-code { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 800; letter-spacing: .6px; color: var(--ch-dark); background: var(--ch-softer); border: 1px dashed var(--ch-dark); border-radius: 8px; padding: 5px 8px; white-space: nowrap; }
.ch-vt-code .msr { font-size: 14px; }
.ch-vt-btn { font-size: 12px; font-weight: 800; padding: 7px 14px; border-radius: 20px; background: var(--ch-brand); color: #fff; white-space: nowrap; box-shadow: 0 2px 8px var(--ch-glow); }
.ch-vt-btn.done { background: var(--ch-softer); color: var(--ch-dark); box-shadow: none; }

/* 5. Cuisines grid */
.ch-cgrid { display: flex; gap: 10px; overflow-x: auto; padding: 0 16px 4px; scrollbar-width: none; }
.ch-cgrid::-webkit-scrollbar { display: none; }
.ch-cg { flex: 0 0 84px; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 6px 10px; background: #fff; border: 1.5px solid var(--ch-border); border-radius: 16px; color: var(--ch-ink); transition: border-color .2s, transform .2s, box-shadow .2s; }
.ch-cg:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(15,23,42,.07); }
.ch-cg-emoji { width: 48px; height: 48px; border-radius: 50%; background: #F1F5F9; display: grid; place-items: center; font-size: 26px; margin-bottom: 4px; }
.ch-cg b { font-size: 13px; font-weight: 800; }
.ch-cg small { font-size: 11px; color: var(--ch-muted); }
.ch-cg.on { background: var(--ch-brand); border-color: transparent; color: #fff; box-shadow: 0 6px 16px var(--ch-glow); }
.ch-cg.on .ch-cg-emoji { background: rgba(255,255,255,.25); }
.ch-cg.on small { color: rgba(255,255,255,.9); }

/* 6. Deals: kitchen line with avatar */
.ch-rail-deals .ch-deal .ch-kn { display: flex; align-items: center; gap: 6px; margin-top: 2px; }
.ch-rail-deals .ch-deal .ch-kn span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ch-rail-deals .ch-deal .ch-kn .ch-avatar { flex: 0 0 auto; }

/* 7. Premium cooks */
.ch-pc { width: 270px; display: flex; flex-direction: column; background: #fff; border: 1.4px solid #FDE68A; border-radius: 18px; overflow: hidden; color: var(--ch-ink); transition: transform .2s, box-shadow .2s; }
.ch-pc:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(217,119,6,.14); }
.ch-pc-cover { position: relative; height: 110px; background: linear-gradient(135deg, var(--c1), var(--c2)); display: grid; place-items: center; overflow: hidden; }
.ch-pc-cover .ch-emoji { font-size: 44px; }
.ch-pc-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ch-pc-badge { position: absolute; top: 10px; inset-inline-start: 10px; background: var(--ch-navy); color: var(--ch-premium-gold); font-size: 10px; font-weight: 900; padding: 4px 8px; border-radius: 8px; letter-spacing: .4px; }
.ch-pc-body { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 34px 14px 14px; flex: 1; }
.ch-pc-avatar { position: absolute; top: -30px; inset-inline-start: 14px; border-radius: 50%; padding: 3px; background: linear-gradient(90deg, #FCD34D, #D97706); line-height: 0; }
.ch-pc-avatar .ch-avatar { border: 2px solid #fff; }
.ch-pc h3 { font-size: 15px; font-weight: 800; margin: 0; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ch-pc small { font-size: 12px; color: var(--ch-muted); max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ch-pc-meta { display: flex; align-items: center; gap: 12px; font-size: 12.5px; color: var(--ch-muted); margin-top: 4px; }
.ch-pc-meta > span { display: inline-flex; align-items: center; gap: 3px; white-space: nowrap; }
.ch-pc-meta .msr { font-size: 16px; }
.ch-pc-rate { color: var(--ch-ink); font-weight: 800; }
.ch-pc-rate .ch-star { color: var(--ch-gold); }
.ch-pc-rate em { font-style: normal; font-weight: 400; color: var(--ch-muted); }
.ch-pc .ch-offer-pill { margin-top: 10px; }

/* 8. Kitchen card info row: no wrapping inside items */
.ch-kfoot { flex-wrap: wrap; row-gap: 6px; min-width: 0; }
.ch-kfoot > span { display: inline-flex; align-items: center; gap: 3px; white-space: nowrap; }

@media (min-width: 1024px) {
  .ch-rail-head { padding: 36px 0 14px; }
  .ch-rail-head h2 { font-size: 22px; letter-spacing: -.2px; }
  .ch-rail .ch-rail-more { font-size: 14px; margin-inline-end: 6px; }
  .ch-rail .ch-hs-arrow { display: grid; }
  .ch-rail .ch-hs-track { padding-inline: 0; }

  .ch-rail-vouchers .ch-vt { width: calc((100% - 32px) / 3); min-height: 132px; }
  .ch-vt-stub { flex-basis: 104px; }
  .ch-vt-stub b { font-size: 30px; }
  .ch-vt-body { padding: 14px 16px; }
  .ch-vt-body h3 { font-size: 15px; }
  .ch-vt:hover { box-shadow: 0 8px 20px rgba(15,23,42,.07); }

  .ch-cgrid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 14px; padding: 0; overflow: visible; }
  .ch-cg { padding: 16px 8px 14px; }
  .ch-cg-emoji { width: 60px; height: 60px; font-size: 32px; }
  .ch-cg b { font-size: 14px; }

  .ch-rail-prem .ch-pc { width: calc((100% - 32px) / 3); }
  .ch-pc-cover { height: 130px; }

}

/* =====================================================================
   Home: clean marketplace (2026-10-28, docs/cook_habibi/home_revamp_wireframe.md)
   White page, photo-first cards, brand colour only for actions and deal prices,
   subtle hover + one-time fade-in. Mobile first.
   ===================================================================== */
.ch-body.ch-home { background: #fff; }

/* One-time fade-in (switched on by JS) */
.ch-reveal-on [data-reveal] { opacity: 0; translate: 0 16px; transition: opacity .5s ease, translate .5s ease; }
.ch-reveal-on [data-reveal].is-in { opacity: 1; translate: 0 0; }

/* Shared card hover */
.ch-home .ch-kcard, .mk-dish { transition: transform .25s ease, box-shadow .25s ease; }
.ch-home .ch-kcard:hover, .mk-dish:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(15,23,42,.08); }
.ch-kcover img, .mk-dish-thumb img { transition: opacity .25s, transform .4s ease; }
.ch-kcard:hover .ch-kcover img, .mk-dish:hover .mk-dish-thumb img { transform: scale(1.04); }

/* Section titles */
.ch-home .ch-rail-head h2, .mk-head h2, .mk-why h2 { font-size: 18px; font-weight: 800; color: var(--ch-ink); }
.ch-home .ch-rail .ch-rail-more, .mk-head a { font-size: 13px; font-weight: 700; color: var(--ch-primary); }
.ch-home .ch-rail .ch-hs-arrow { background: #fff; }

/* 4–5. Kitchens near you */
.mk-browse { position: relative; padding-top: 14px; }
.mk-browse.is-loading .mk-kgrid,
.mk-browse.is-loading .mk-empty-box,
.mk-browse.is-loading .ch-empty {
  opacity: 0.55;
  transition: opacity .15s ease;
  pointer-events: none;
}
.mk-browse.is-loading .mk-cuisine-pill,
.mk-browse.is-loading .mk-chip,
.mk-browse.is-loading .mk-browse-clear {
  pointer-events: none;
}
.mk-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 16px 12px;
}
.mk-head-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.mk-head h2 {
  font-size: 19px;
  font-weight: 800;
  color: var(--ch-ink, #0F172A);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.mk-head-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 9px;
  font-size: 12px;
  font-weight: 800;
  color: var(--ch-primary, #FF5E00);
  background: rgba(255, 94, 0, 0.1);
  border-radius: 999px;
}
.mk-head-sub {
  font-size: 12.5px;
  color: #64748B;
  font-weight: 500;
}
.mk-browse-clear {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 700;
  color: #DC2626 !important;
  background: #FEF2F2;
  border: 1px solid #FEE2E2;
  padding: 6px 12px;
  border-radius: 20px;
  text-decoration: none !important;
  transition: all .2s ease;
  white-space: nowrap;
}
.mk-browse-clear:hover {
  background: #FEE2E2;
  color: #B91C1C !important;
  transform: translateY(-1px);
}
.mk-browse-clear .msr {
  font-size: 15px;
}
.mk-see-all-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ch-primary, #FF5E00) !important;
  text-decoration: none !important;
  transition: opacity .15s ease, transform .15s ease;
  white-space: nowrap;
}
.mk-see-all-link:hover {
  opacity: .85;
  transform: translateX(2px);
}
[dir="rtl"] .mk-see-all-link:hover {
  transform: translateX(-2px);
}
.mk-see-all-link .msr { font-size: 17px; }

/* 1. Primary Category Bar: Cuisines Segmented Rail */
.mk-cuisines-bar { position: relative; width: 100%; margin: 4px 0 12px; }
.mk-cuisines-track {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 4px 16px 8px;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}
.mk-cuisines-track::-webkit-scrollbar { display: none; }

.mk-cuisine-pill {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border-radius: 12px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  color: #334155 !important;
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(15,23,42,.04);
  transition: all .2s cubic-bezier(.16,1,.3,1);
  text-decoration: none !important;
  cursor: pointer;
}
.mk-cuisine-pill:hover {
  background: #F1F5F9;
  border-color: #CBD5E1;
  color: #0F172A !important;
  transform: translateY(-1px);
}
.mk-cuisine-pill:active { transform: translateY(0); }

.mk-cuisine-label { letter-spacing: -.1px; }
.mk-cuisine-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
  background: #E2E8F0;
  color: #64748B;
  transition: all .2s ease;
}

/* Active Category Pill: Solid Navy Slate Theme */
.mk-cuisine-pill.on {
  background: #0F172A;
  border-color: #0F172A;
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(15,23,42,.25);
  font-weight: 700;
}
.mk-cuisine-pill.on .mk-cuisine-count {
  background: rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
}

/* 2. Secondary Preference Filter Tags */
.mk-filters-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px 8px;
  overflow: hidden;
}
.mk-filter-lead {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: #64748B;
  background: #F1F5F9;
  border-radius: 8px;
  border: 1px dashed #CBD5E1;
  user-select: none;
}
.mk-filter-lead .msr {
  font-size: 15px;
  color: #475569;
}
.mk-chips-track {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  flex: 1;
}
.mk-chips-track::-webkit-scrollbar { display: none; }

.mk-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px 0 10px;
  border-radius: 18px;
  border: 1px solid #E2E8F0;
  background: #FFFFFF;
  color: #475569;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(15,23,42,.03);
  transition: all .2s ease;
  text-decoration: none !important;
  cursor: pointer;
}
.mk-chip:hover {
  border-color: #CBD5E1;
  background: #F8FAFC;
  color: #0F172A;
}
.mk-chip-ico {
  font-size: 15px;
  color: #64748B;
  transition: color .2s ease;
}

/* Active Attribute Chip: Warm Brand Highlight */
.mk-chip.on {
  background: #FFF7ED;
  border-color: #F97316;
  color: #EA580C !important;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(249,115,22,.18);
}
.mk-chip.on .mk-chip-ico {
  color: #EA580C;
}
.mk-chip-check {
  font-size: 14px;
  color: #EA580C;
  font-weight: 900;
  margin-inline-start: -2px;
}

/* Empty State Box */
.mk-empty-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 20px;
  background: #F8FAFC;
  border: 1px dashed #CBD5E1;
  border-radius: 18px;
  margin: 16px 16px 0;
}
.mk-empty-ico {
  font-size: 46px;
  color: #94A3B8;
  margin-bottom: 12px;
}
.mk-empty-box h3 {
  font-size: 16.5px;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 6px;
}
.mk-empty-box p {
  font-size: 13.5px;
  color: #64748B;
  margin: 0 0 18px;
  max-width: 380px;
  line-height: 1.5;
}

.mk-kgrid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 14px 16px 0; }

/* Kitchen card (clean) */
.ch-kcard { border-radius: 14px; border-color: var(--ch-border); box-shadow: none; }
.ch-kcover { height: 160px; overflow: hidden; }
.ch-kcover::after { display: none; }
.ch-kribbon { top: 10px; inset-inline-start: 10px; max-width: calc(100% - 64px); padding: 4px 8px; border-radius: 6px; background: var(--ch-primary); font-size: 11.5px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
.ch-fav { width: 32px; height: 32px; box-shadow: 0 1px 4px rgba(0,0,0,.15); }
.ch-closed { background: rgba(15,23,42,.55); }
.ch-kcard.is-closed .ch-kcover img { filter: grayscale(.4); }
.ch-kbody { padding: 12px 14px 14px; }
.ch-krow h3 { font-size: 15.5px; font-weight: 800; }
.ch-kmeta { font-size: 12.5px; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ch-kfoot { gap: 12px; margin-top: 8px; font-size: 12.5px; color: var(--ch-body-text); }
.ch-kfoot .msr { font-size: 15px; color: var(--ch-muted); }
.ch-kfoot .ch-rate { display: inline-flex; align-items: center; gap: 3px; color: var(--ch-muted); }
.ch-kfoot .ch-rate b { color: var(--ch-ink); font-weight: 800; }
.ch-kfoot .ch-rate .ch-star { color: var(--ch-gold); }
.ch-kfoot .free { color: var(--ch-green); font-weight: 700; }

/* 6. Dish deal card */
.mk-dish { width: 200px; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--ch-border); border-radius: 14px; overflow: hidden; color: var(--ch-ink); }
.mk-dish .mk-dish-thumb { width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: 0; }
.mk-off { position: absolute; z-index: 1; top: 10px; inset-inline-start: 10px; padding: 3px 7px; border-radius: 6px; background: var(--ch-primary); color: #fff; font-size: 12px; font-weight: 800; }
.mk-dish-body { flex: 1; display: flex; flex-direction: column; gap: 2px; padding: 10px 12px 12px; }
.mk-dish h3 { font-size: 14.5px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-dish-body > small { font-size: 12px; color: var(--ch-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-price { display: flex; align-items: baseline; gap: 6px; margin-top: 6px; }
.mk-price b { font-size: 15px; font-weight: 800; color: var(--ch-primary); }
.mk-price s { font-size: 12px; color: var(--ch-muted); }
.mk-dish-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 8px; font-size: 12px; color: var(--ch-muted); }
.mk-go { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--ch-chip-border); color: var(--ch-primary); transition: background-color .2s, color .2s, border-color .2s; }
.mk-go .msr { font-size: 20px; }
.mk-dish:hover .mk-go { background: var(--ch-primary); border-color: var(--ch-primary); color: #fff; }
.mk-dish.is-out .mk-dish-thumb img { filter: grayscale(.5); }

/* 7. Top rated cooks rail */
.mk-rail-cooks .ch-hs-track > div { width: 280px; display: flex; }
.mk-rail-cooks .ch-kcard { width: 100%; }

/* 8. Vouchers: calm */
.ch-home .ch-vt-btn { box-shadow: none; }

/* 9. Why Cook Habibi */
.mk-why { margin: 28px 16px 0; padding: 20px 16px; border-radius: 16px; background: var(--ch-primary); color: #fff; scroll-margin-top: 20px; }
.ch-home .mk-why h2 { color: #fff; }
.mk-why ul { list-style: none; margin: 14px 0 0 !important; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
.mk-why li { display: flex; flex-direction: column; gap: 3px; }
.mk-why li > .msr { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--ch-primary); font-size: 22px; margin-bottom: 6px; box-shadow: none; }
.mk-why b { font-size: 14px; font-weight: 800; color: #fff; }
.mk-why small { font-size: 12.5px; color: rgba(255,255,255,.75); line-height: 1.45; }

/* 10. Become a cook */
.mk-join { display: flex; align-items: center; gap: 14px; margin: 16px 16px 8px; padding: 16px; border: 1px solid var(--ch-border); border-radius: 16px; background: #fff; }
.mk-join-ico { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--ch-primary) 8%, #fff); font-size: 26px; }
.mk-join > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.mk-join b { font-size: 15px; font-weight: 800; }
.mk-join small { font-size: 12.5px; color: var(--ch-muted); }
.mk-join-btn { flex: 0 0 auto; height: 42px; padding: 0 18px; border-radius: 10px; display: inline-flex; align-items: center; background: var(--ch-primary); color: #fff !important; font-weight: 700; font-size: 14px; transition: background-color .2s; }
.mk-join-btn:hover { background: var(--ch-dark); }

@media (max-width: 575.98px) {
  .mk-join { flex-wrap: wrap; }
  .mk-join-btn { width: 100%; justify-content: center; }
}

@media (min-width: 768px) {
  .mk-kgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mk-why ul { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .mk-browse { display: block; padding-top: 24px; }
  .mk-head { padding: 22px 0 14px; }
  .mk-head h2 { font-size: 23px; }
  .mk-cuisines-bar { margin: 6px 0 16px; }
  .mk-cuisines-track { padding-inline: 0; gap: 10px; }
  .mk-cuisine-pill { height: 42px; padding: 0 18px; font-size: 14px; }
  .mk-filters-row { padding: 0 0 12px; }
  .mk-chips-track { gap: 10px; flex-wrap: wrap; overflow: visible; }
  .mk-chip { height: 34px; padding: 0 14px 0 12px; font-size: 13px; }
  .mk-kgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; padding: 18px 0 0; }
  .ch-kcover { height: 170px; }

  .mk-rail-deals .mk-dish { width: calc((100% - 36px) / 4); }
  .mk-rail-cooks .ch-hs-track > div { width: calc((100% - 24px) / 3); }

  .mk-why { margin: 44px 0 0; padding: 28px 32px; }
  .mk-why ul { gap: 24px; margin-top: 18px !important; }
  .mk-why b { font-size: 15px; }
  .mk-why small { font-size: 13px; }

  .mk-join { margin: 20px 0 8px; padding: 20px 24px; gap: 18px; }
  .mk-join b { font-size: 17px; }
  .mk-join small { font-size: 14px; }
}

@media (min-width: 1400px) {
  .mk-kgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  .ch-reveal-on [data-reveal] { opacity: 1; translate: none; transition: none; }
  .ch-home .ch-kcard, .mk-dish, .ch-kcover img, .mk-dish-thumb img, .mk-go { transition: none; }
}

/* =====================================================================
   Home hero + red "Best selling" band (reference: FoodBulk-style landing)
   ===================================================================== */
/* Whole page follows the Dokan header colour (--primary). */
.ch-home { --mk-red: var(--ch-primary); --mk-red-dark: var(--ch-dark); }

/* Shared red buttons */
.mk-btn { display: inline-flex; align-items: center; justify-content: center; height: 46px; padding: 0 26px; border-radius: 8px; background: var(--mk-red); color: #fff !important; font-weight: 700; font-size: 15px; box-shadow: 0 8px 18px -8px color-mix(in srgb, var(--ch-primary) 70%, transparent); transition: background-color .2s, transform .2s; }
.mk-btn:hover { background: var(--mk-red-dark); transform: translateY(-1px); }
.mk-btn-sm { height: 34px; padding: 0 16px; font-size: 13px; border-radius: 7px; box-shadow: none; }

/* Hero */
.mk-hero { display: grid; gap: 24px; padding: 24px 16px 8px; align-items: center; }
.mk-hero-copy { max-width: 100%; }
.mk-hero h1 { display: flex; flex-direction: column; font-size: clamp(25px, 7.4vw, 34px); line-height: 1.12; font-weight: 800; letter-spacing: -.5px; color: var(--ch-ink); }
.mk-red { color: color-mix(in srgb, var(--ch-primary) 55%, #3B82F6); }
.mk-hero-sub { margin: 12px 0 0; font-size: 15px; line-height: 1.5; color: var(--ch-body-text); max-width: 500px; }

.mk-hero-cta { display: flex; align-items: center; gap: 18px; margin-top: 20px; flex-wrap: wrap; }
.mk-play { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14.5px; color: var(--ch-ink) !important; }
.mk-play-ico { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 3px solid var(--mk-red); border-inline-end-color: transparent; color: var(--mk-red); transition: transform .3s; }
.mk-play-ico .msr { font-size: 24px; font-variation-settings: 'FILL' 1; }
.mk-play:hover .mk-play-ico { transform: rotate(-20deg); }

/* Hero Trust Strip */
.mk-hero-trust { display: flex; align-items: center; gap: 8px; margin-top: 14px; flex-wrap: wrap; font-size: 12px; font-weight: 600; color: var(--ch-muted); }
.mk-trust-item { display: inline-flex; align-items: center; gap: 5px; }
.mk-trust-item .msr { font-size: 16px; color: var(--ch-green); font-variation-settings: 'FILL' 1; }
.mk-trust-dot { color: var(--ch-chip-border); font-size: 10px; }

/* Hero Quote / Testimonial Box */
.mk-quote { margin: 18px 0 0; padding: 12px 16px; border-radius: 12px; background: #fff; border: 1px solid var(--ch-border); box-shadow: 0 4px 18px -6px rgba(15,23,42,.07); max-width: 480px; }
.mk-quote blockquote { margin: 0; font-size: 13.5px; font-style: italic; line-height: 1.5; color: var(--ch-body-text); }
.mk-quote figcaption { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--ch-border); }
.mk-quote-av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--ch-primary) 12%, #fff); color: var(--mk-red); font-weight: 800; font-size: 13px; }
.mk-quote b { display: block; font-size: 13px; font-weight: 800; }
.mk-quote small { display: block; font-size: 11.5px; color: var(--ch-muted); }
.mk-hero-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; max-width: 480px; flex-wrap: wrap; }
.mk-more { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 600; color: var(--ch-ink) !important; }
.mk-more .msr { font-size: 17px; color: var(--mk-red); transition: translate .2s; }
.mk-more:hover .msr { translate: 3px 0; }
[dir="rtl"] .mk-more:hover .msr { translate: -3px 0; }
.mk-avs { display: flex; align-items: center; }
.mk-avs > * { margin-inline-end: -8px; border: 2px solid #fff; border-radius: 50%; }
.mk-avs-n { width: 28px; height: 28px; display: grid; place-items: center; background: var(--mk-red); color: #fff; font-size: 10px; font-weight: 800; }

/* =====================================================================
   Hero Middle: Floating Most Reviewed Dishes (max 3)
   ===================================================================== */
.mk-hero-middle { display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 100%; margin: 0 auto; z-index: 2; }
.mk-float-header { display: flex; align-items: center; justify-content: flex-start; }
.mk-float-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 20px; background: color-mix(in srgb, var(--ch-primary) 10%, #fff); border: 1px solid color-mix(in srgb, var(--ch-primary) 22%, transparent); color: var(--mk-red); font-size: 11px; font-weight: 800; letter-spacing: .3px; text-transform: uppercase; }
.mk-float-pill .msr { font-size: 14px; font-variation-settings: 'FILL' 1; }

.mk-float-list { display: flex; flex-direction: column; gap: 12px; position: relative; }

/* Floating Card with smooth gentle animation */
.mk-float-card { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: #fff; border-radius: 14px; border: 1.5px solid var(--ch-border); box-shadow: 0 8px 24px -8px rgba(15,23,42,.09); position: relative; text-decoration: none !important; color: var(--ch-ink) !important; transition: transform .25s cubic-bezier(.16,1,.3,1), box-shadow .25s, border-color .2s; will-change: transform; }

@keyframes mk-card-float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

.mk-float-card-1 { animation: mk-card-float 4.4s ease-in-out infinite; animation-delay: 0s; }
.mk-float-card-2 { animation: mk-card-float 5.2s ease-in-out infinite; animation-delay: -1.8s; }
.mk-float-card-3 { animation: mk-card-float 4.8s ease-in-out infinite; animation-delay: -3.4s; }

.mk-float-card:hover { transform: translateY(-5px) scale(1.02); box-shadow: 0 16px 32px -10px color-mix(in srgb, var(--ch-primary) 24%, transparent), 0 8px 16px -6px rgba(15,23,42,.08); border-color: var(--ch-primary); animation-play-state: paused; z-index: 3; }

.mk-float-rank { position: absolute; top: -6px; left: 10px; background: var(--mk-red); color: #fff; font-size: 9.5px; font-weight: 800; padding: 1px 6px; border-radius: 6px; box-shadow: 0 3px 8px -2px rgba(0,0,0,.25); }
[dir="rtl"] .mk-float-rank { left: auto; right: 10px; }

.mk-float-media { flex: 0 0 52px; width: 52px; height: 52px; border-radius: 10px; overflow: hidden; background: color-mix(in srgb, var(--ch-primary) 8%, #fff); border: 1px solid var(--ch-border); display: grid; place-items: center; }
.mk-float-media img { width: 100%; height: 100%; object-fit: cover; }
.mk-float-emoji { font-size: 24px; line-height: 1; }

.mk-float-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.mk-float-name { font-size: 13px; font-weight: 800; color: var(--ch-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-float-meta { display: flex; align-items: center; gap: 4px; font-size: 11px; color: var(--ch-muted); }
.mk-float-star { display: inline-flex; align-items: center; gap: 2px; color: var(--ch-gold); font-weight: 800; }
.mk-float-star .msr { font-size: 13px; font-variation-settings: 'FILL' 1; }
.mk-float-count { font-size: 10.5px; color: var(--ch-muted); }
.mk-float-sep { color: var(--ch-chip-border); font-size: 9px; }
.mk-float-cook { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100px; }
.mk-float-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 3px; }
.mk-float-price { font-size: 12.5px; font-weight: 800; color: var(--mk-red); }
.mk-float-cta { font-size: 11px; font-weight: 700; color: var(--ch-muted); display: inline-flex; align-items: center; gap: 2px; transition: color .2s, translate .2s; }
.mk-float-cta .msr { font-size: 14px; }
.mk-float-card:hover .mk-float-cta { color: var(--mk-red); translate: 3px 0; }
[dir="rtl"] .mk-float-card:hover .mk-float-cta { translate: -3px 0; }

/* Hero art: dotted map, round dish photo, area pins */
.mk-hero-art { position: relative; aspect-ratio: 1 / 1; max-width: 440px; width: 100%; margin: 0 auto; }
.mk-hero-map { position: absolute; inset: 0; background-image: radial-gradient(#CBD5E1 1.3px, transparent 1.6px); background-size: 11px 11px; -webkit-mask: radial-gradient(closest-side, #000 60%, transparent); mask: radial-gradient(closest-side, #000 60%, transparent); opacity: .8; }
.mk-hero-plate { position: absolute; inset: 10%; border-radius: 50%; overflow: hidden; background: color-mix(in srgb, var(--ch-primary) 12%, #fff); border: 8px solid #fff; box-shadow: 0 32px 64px -20px rgba(15,23,42,.42); }
.mk-hero-plate img { width: 100%; height: 100%; object-fit: cover; }
.mk-pin { position: absolute; z-index: 1; padding: 4px 10px; border-radius: 4px; background: var(--mk-red); color: #fff; font-size: 11px; font-weight: 700; white-space: nowrap; box-shadow: 0 6px 14px -6px color-mix(in srgb, var(--ch-primary) 80%, transparent); }
.mk-pin::after { content: ""; position: absolute; left: 50%; bottom: -14px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: #fff; border: 3px solid var(--mk-red); }
.mk-pin.p1 { top: 4%; left: 14%; }
.mk-pin.p2 { top: 11%; right: 1%; }
.mk-pin.p3 { top: 50%; left: 0%; }
.mk-pin.p4 { bottom: 12%; right: 1%; }
.mk-pin.p5 { bottom: 2%; left: 32%; }

/* Red band / Best Selling Dishes Carousel */
.mk-band { margin-top: 28px; background: var(--mk-red); color: #fff; overflow: hidden; border-radius: 20px; }
.mk-band-in { padding: 36px 20px 28px; }
.mk-band-head-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
@media (min-width: 768px) {
  .mk-band-head-top { align-items: center; }
}
.mk-band-pill { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 20px; background: rgba(255,255,255,.18); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .4px; text-transform: uppercase; margin-bottom: 6px; }
.mk-band-pill .msr { font-size: 14px; color: var(--ch-gold); }
.mk-band-head h2 { font-size: 26px; font-weight: 800; color: #fff; line-height: 1.2; margin: 0; }
.mk-band-head p { font-size: 14px; color: rgba(255,255,255,.9); margin-top: 6px !important; max-width: 540px; margin-bottom: 0; }
.mk-band-arrows { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.mk-arrow-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  border: 1.5px solid rgba(255,255,255,.3);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all .2s ease;
  padding: 0;
  user-select: none;
}
.mk-arrow-btn:hover { background: #fff; color: var(--mk-red); transform: scale(1.06); }
.mk-arrow-btn:active { transform: scale(0.92); }
.mk-arrow-btn .msr { font-size: 20px; line-height: 1; pointer-events: none; }
.mk-arrow-btn.is-disabled {
  opacity: 0.28;
  cursor: not-allowed;
  transform: none !important;
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.15);
}

.mk-offers { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-top: 14px; }
.mk-offers::-webkit-scrollbar { display: none; }
.mk-offer { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 20px; background: rgba(255,255,255,.14); color: #fff !important; font-size: 12.5px; font-weight: 600; white-space: nowrap; transition: background-color .2s; }
.mk-offer b { padding: 2px 8px; border-radius: 12px; background: #fff; color: var(--mk-red); font-size: 10.5px; font-weight: 800; letter-spacing: .4px; }
.mk-offer:hover { background: rgba(255,255,255,.24); }

.mk-band-track {
  position: relative;
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  margin-top: 24px;
  padding: 6px 2px 14px;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: auto;
  cursor: grab;
}
.mk-band-track::-webkit-scrollbar { display: none; }
.mk-band-track.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  scroll-snap-type: none;
  user-select: none;
}
.mk-band-track.is-dragging * {
  user-select: none;
  pointer-events: none;
}

.mk-best-wrap { flex: 0 0 82%; scroll-snap-align: start; scroll-snap-stop: normal; display: flex; flex-direction: column; }
.mk-best { display: flex; flex-direction: column; background: #fff; border-radius: 18px; overflow: hidden; color: var(--ch-ink) !important; text-decoration: none !important; box-shadow: 0 12px 30px -10px rgba(0,0,0,.35), 0 2px 6px rgba(0,0,0,.08); transition: transform .35s cubic-bezier(.34,1.56,.64,1), box-shadow .35s ease, border-color .25s ease; height: 100%; border: 1px solid rgba(255,255,255,.4); }
.mk-best:hover { transform: translateY(-8px) scale(1.02); box-shadow: 0 24px 44px -12px rgba(0,0,0,.45), 0 8px 18px rgba(0,0,0,.15); text-decoration: none !important; }

.mk-best-media { position: relative; width: 100%; height: 180px; overflow: hidden; background: #f1f5f9; }
.mk-best .mk-best-img { width: 100% !important; height: 100% !important; border: 0 !important; border-radius: 0 !important; }
.mk-best-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .38s cubic-bezier(.16,1,.3,1) ease; }
.mk-best:hover .mk-best-media img { transform: scale(1.1); }

/* Glass shimmer light sweep across food image on hover */
.mk-best-media::after {
  content: "";
  position: absolute;
  top: 0;
  left: -130%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-22deg);
  transition: none;
  pointer-events: none;
  z-index: 2;
}
.mk-best:hover .mk-best-media::after {
  left: 170%;
  transition: left .8s cubic-bezier(.16,1,.3,1);
}

/* "Best Seller" Floating Badge with Twinkling Star */
@keyframes ch-badge-float {
  0%, 100% { transform: translateY(0); box-shadow: 0 2px 8px rgba(0,0,0,.25); }
  50% { transform: translateY(-3px); box-shadow: 0 6px 14px rgba(0,0,0,.35); }
}
@keyframes ch-star-twinkle {
  0%, 100% { transform: scale(1) rotate(0deg); color: var(--ch-gold); }
  25% { transform: scale(1.35) rotate(25deg); color: #fbbf24; }
  50% { transform: scale(1) rotate(0deg); color: var(--ch-gold); }
}

.mk-best-tag { position: absolute; z-index: 3; top: 10px; left: 10px; display: inline-flex; align-items: center; gap: 4px; padding: 4px 9px; border-radius: 8px; background: rgba(15,23,42,.85); backdrop-filter: blur(6px); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .2px; animation: ch-badge-float 3.5s ease-in-out infinite; }
.mk-best-tag .msr { font-size: 13px; color: var(--ch-gold); font-variation-settings: 'FILL' 1; display: inline-block; animation: ch-star-twinkle 4s ease-in-out infinite; }
[dir="rtl"] .mk-best-tag { left: auto; right: 10px; }

/* Animated Discount Badge */
@keyframes ch-disc-beat {
  0%, 100% { transform: scale(1); }
  14% { transform: scale(1.1); }
  28% { transform: scale(1); }
  42% { transform: scale(1.1); }
  70% { transform: scale(1); }
}

.mk-best-disc { position: absolute; z-index: 3; top: 10px; right: 10px; padding: 3px 8px; border-radius: 8px; background: #e11d48; color: #fff; font-size: 11.5px; font-weight: 800; animation: ch-disc-beat 3.2s ease-in-out infinite; }
[dir="rtl"] .mk-best-disc { right: auto; left: 10px; }

.mk-best-body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.mk-best-title { font-size: 16.5px; font-weight: 800; color: var(--ch-ink); line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.mk-best-meta { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ch-muted); white-space: nowrap; overflow: hidden; }
.mk-best-rating { display: inline-flex; align-items: center; gap: 3px; font-weight: 700; color: var(--ch-ink); }
.mk-best-rating .ch-star { font-size: 14px; color: var(--ch-gold); }
.mk-best-sep { color: var(--ch-chip-border); font-size: 10px; }
.mk-best-cook { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 170px; font-weight: 600; color: var(--ch-muted); }

.mk-best-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--ch-border); }
.mk-best-price { display: flex; flex-direction: column; line-height: 1.1; }
.mk-best-price-val { font-size: 17.5px; font-weight: 900; color: var(--mk-red); }
.mk-best-price-orig { font-size: 11.5px; color: var(--ch-muted); font-weight: 500; text-decoration: line-through; }
.mk-best-foot .mk-btn { height: 36px; padding: 0 14px; font-size: 12.5px; gap: 4px; border-radius: 8px; flex-shrink: 0; transition: transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .25s ease; }
.mk-best-foot .mk-btn .msr { display: inline-block; transition: transform .25s cubic-bezier(.34,1.56,.64,1); }
.mk-best:hover .mk-btn { transform: translateY(-1px); box-shadow: 0 6px 16px -2px color-mix(in srgb, var(--mk-red) 50%, transparent); }
.mk-best:hover .mk-btn .msr { transform: translateX(4px); }
[dir="rtl"] .mk-best:hover .mk-btn .msr { transform: translateX(-4px); }

.mk-band-dots { display: flex; justify-content: center; gap: 6px; margin-top: 14px; }
.mk-band-dots span { width: 8px; height: 8px; border-radius: 4px; background: rgba(255,255,255,.45); transition: all .2s; }
.mk-band-dots span.on { width: 22px; background: #fff; }

/* Staggered Scroll-Entrance Animation for Carousel Cards */
.ch-reveal-on .mk-band:not(.is-in) .carousel-box,
.ch-reveal-on .ch-dokan-services:not(.is-in) .carousel-box {
  opacity: 0;
  transform: translateY(22px) scale(.98);
}
.ch-reveal-on .mk-band.is-in .carousel-box,
.ch-reveal-on .ch-dokan-services.is-in .carousel-box {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: opacity .5s cubic-bezier(.16,1,.3,1), transform .5s cubic-bezier(.16,1,.3,1);
}
.ch-reveal-on .mk-band.is-in .carousel-box:nth-child(1),
.ch-reveal-on .ch-dokan-services.is-in .carousel-box:nth-child(1) { transition-delay: .04s; }
.ch-reveal-on .mk-band.is-in .carousel-box:nth-child(2),
.ch-reveal-on .ch-dokan-services.is-in .carousel-box:nth-child(2) { transition-delay: .10s; }
.ch-reveal-on .mk-band.is-in .carousel-box:nth-child(3),
.ch-reveal-on .ch-dokan-services.is-in .carousel-box:nth-child(3) { transition-delay: .16s; }
.ch-reveal-on .mk-band.is-in .carousel-box:nth-child(4),
.ch-reveal-on .ch-dokan-services.is-in .carousel-box:nth-child(4) { transition-delay: .22s; }
.ch-reveal-on .mk-band.is-in .carousel-box:nth-child(5),
.ch-reveal-on .ch-dokan-services.is-in .carousel-box:nth-child(5) { transition-delay: .28s; }
.ch-reveal-on .mk-band.is-in .carousel-box:nth-child(6),
.ch-reveal-on .ch-dokan-services.is-in .carousel-box:nth-child(6) { transition-delay: .34s; }
.ch-reveal-on .mk-band.is-in .carousel-box:nth-child(7),
.ch-reveal-on .ch-dokan-services.is-in .carousel-box:nth-child(7) { transition-delay: .40s; }

@media (max-width: 767.98px) {
  .mk-hero {
    gap: 20px;
    padding: 18px 16px 8px;
    overflow: hidden;
  }
  .mk-hero-copy { width: 100%; max-width: 100%; }
  .mk-hero h1 { font-size: clamp(24px, 6.8vw, 32px); }
  .mk-hero-sub { font-size: 14px; margin-top: 10px; }
  .mk-hero-cta { gap: 12px; margin-top: 16px; }
  .mk-hero-middle { max-width: 100%; width: 100%; margin: 4px 0 0; }
  .mk-float-list { gap: 10px; width: 100%; }
  .mk-float-card { padding: 9px 12px; border-radius: 12px; }
  .mk-float-media { flex: 0 0 46px; width: 46px; height: 46px; }
  .mk-float-name { font-size: 12.5px; }
  .mk-float-price { font-size: 12px; }
  .mk-hero-art { max-width: 320px; width: 100%; margin: 12px auto 0; }
  .mk-pin { font-size: 10.5px; padding: 3px 8px; }

  .mk-band { border-radius: 0; margin-top: 20px; }
  .mk-band-in { padding: 28px 16px 22px; }
  .mk-band-head h2 { font-size: 22px; }
  .mk-band-head p { font-size: 13px; }
  .mk-band-track { gap: 12px; margin-top: 16px; padding: 4px 0 10px; }
  .mk-best-wrap { flex: 0 0 84%; }
  .mk-best-media { height: 165px; }
  .mk-best-body { padding: 14px 14px 16px; }
  .mk-best-title { font-size: 15px; }
  .mk-best-price-val { font-size: 16px; }
}

@media (max-width: 480px) {
  .mk-band-arrows { gap: 6px; }
  .mk-arrow-btn { width: 34px; height: 34px; }
  .mk-arrow-btn .msr { font-size: 18px; }
  .mk-hero-art { max-width: 270px; }
  .mk-pin { font-size: 10px; padding: 3px 7px; }
  .mk-pin::after { bottom: -11px; width: 8px; height: 8px; margin-left: -4px; border-width: 2px; }
  .mk-best-wrap { flex: 0 0 88%; }
  .mk-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .mk-head-actions { width: 100%; display: flex; justify-content: flex-end; }
  .mk-filter-lead { padding: 4px 7px; font-size: 10.5px; }
  .mk-chip { height: 30px; padding: 0 10px 0 8px; font-size: 11.5px; gap: 5px; }
  .mk-chip-ico { font-size: 14px; }
  .mk-cuisine-pill { height: 36px; padding: 0 12px; font-size: 12.5px; gap: 6px; }
  .mk-cuisine-count { min-width: 18px; height: 18px; font-size: 10px; }
  .mk-why ul { grid-template-columns: 1fr; gap: 14px; }
  .mk-why li { flex-direction: row; align-items: flex-start; gap: 12px; }
  .mk-why li > .msr { flex-shrink: 0; margin-bottom: 0; width: 36px; height: 36px; font-size: 20px; }
  .mk-why b { font-size: 13.5px; }
  .mk-why small { font-size: 12px; }
  .ch-rail-vouchers .ch-vt { width: 270px; }
  .ch-vt-stub { flex-basis: 76px; }
  .ch-vt-stub b { font-size: 22px; }
}

@media (min-width: 768px) and (max-width: 1023.98px) {
  .mk-stories-track { gap: 12px; padding: 4px 16px 8px; }
  .mk-story { flex: 0 0 112px; height: 218px; border-radius: 17px !important; }
  .mk-story::before { width: 25px; height: 3.5px; }
  .mk-hero h1 > span { white-space: nowrap; }
  .mk-hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 380px);
    gap: 24px;
    align-items: center;
    width: 100%;
    padding: 24px 16px 12px;
  }
  .mk-hero-art { max-width: 380px; width: 100%; margin-inline-start: auto; margin-inline-end: 0; }
  .mk-hero-middle { grid-column: 1 / -1; max-width: 100%; margin-top: 8px; }
  .mk-float-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .mk-float-card-2 { margin-inline-start: 0; }
  .mk-best-wrap { flex: 0 0 calc((100% - 18px) / 2); }
  .mk-best-media { height: 185px; }
}

@media (min-width: 1024px) {
  .mk-hero h1 > span { white-space: nowrap; }
  .mk-hero {
    display: grid;
    grid-template-columns: minmax(320px, 1fr) minmax(270px, 305px) minmax(360px, 460px);
    justify-content: space-between;
    gap: 24px;
    padding: 28px 0 16px;
    align-items: center;
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
  }
  .mk-hero-copy { max-width: 460px; width: 100%; }
  .mk-hero h1 { font-size: 42px; letter-spacing: -1px; }
  .mk-hero-middle { max-width: 305px; width: 100%; margin: 0 auto; }
  .mk-float-card-2 { margin-inline-start: 10px; }
  .mk-hero-art { max-width: 460px; width: 100%; margin-inline-start: auto; margin-inline-end: 0; }
  .mk-pin { font-size: 12px; padding: 5px 11px; }
  .mk-band { margin-top: 36px; }
  .mk-band-in { padding: 48px 15px 32px; }
  .mk-band-head h2 { font-size: 34px; }
  .mk-band-head p { font-size: 15px; }
  .mk-best-wrap { flex: 0 0 calc((100% - 36px) / 3); }
  .mk-best-media { height: 195px; }
}

@media (min-width: 1280px) {
  .mk-hero {
    grid-template-columns: minmax(360px, 1.05fr) 315px 500px;
    gap: 28px;
    padding: 32px 0 20px;
  }
  .mk-hero-copy { max-width: 490px; }
  .mk-hero h1 { font-size: 46px; }
  .mk-hero-middle { max-width: 315px; }
  .mk-hero-art { max-width: 500px; }
  .mk-pin { font-size: 12.5px; padding: 5px 12px; }
  .mk-best-wrap { flex: 0 0 calc((100% - 54px) / 4); }
  .mk-best-media { height: 180px; }
}

@media (min-width: 1440px) {
  .mk-hero {
    grid-template-columns: minmax(400px, 1.15fr) 325px 540px;
    gap: 36px;
    padding: 36px 0 24px;
  }
  .mk-hero-copy { max-width: 520px; }
  .mk-hero h1 { font-size: 48px; }
  .mk-hero-art { max-width: 540px; }
}

@media (prefers-reduced-motion: reduce) {
  .mk-btn, .mk-play-ico, .mk-best, .mk-offer, .mk-more .msr,
  .ch-dokan-services .service-feature-card,
  .ch-dokan-services .service-feature-icon,
  .ch-dokan-services .service-feature-icon img,
  .mk-arrow-btn, .mk-best-media::after { transition: none !important; }
  .mk-float-card, .mk-float-card-1, .mk-float-card-2, .mk-float-card-3,
  .ch-dokan-services .service-feature-card::before,
  .ch-dokan-services .service-feature-card::after,
  .ch-dokan-services .service-feature-icon,
  .ch-dokan-services .service-feature-icon::before,
  .ch-dokan-services .service-feature-icon::after,
  .mk-best-tag, .mk-best-tag .msr, .mk-best-disc { animation: none !important; }
}

/* =====================================================================
   Home stories (Slider) + full-screen story viewer
   ===================================================================== */
.mk-stories { position: relative; padding: 14px 0 0; }
.mk-stories-slider-wrap { position: relative; width: 100%; }
.mk-stories-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 4px 2px 8px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}
.mk-stories-track::-webkit-scrollbar { display: none; }

/* Slider navigation arrows */
.mk-stories-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid rgba(15,23,42,.08);
  box-shadow: 0 4px 14px rgba(15,23,42,.18), 0 1px 3px rgba(15,23,42,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #0f172a;
  transition: opacity .25s ease, transform .25s ease, background-color .2s ease, box-shadow .2s ease, color .2s ease;
  padding: 0;
}
.mk-stories-arrow:hover {
  background: #ffffff;
  color: var(--ch-primary, #FF5E00);
  box-shadow: 0 8px 22px rgba(15,23,42,.24);
  transform: translateY(-50%) scale(1.1);
}
.mk-stories-arrow:active {
  transform: translateY(-50%) scale(0.95);
}
.mk-stories-arrow .msr {
  font-size: 26px;
  line-height: 1;
}
.mk-stories-arrow.prev {
  inset-inline-start: 6px;
}
.mk-stories-arrow.next {
  inset-inline-end: 6px;
}
.mk-stories-arrow.is-disabled {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) scale(0.8);
}

@media (max-width: 767.98px) {
  .mk-stories-arrow { display: none !important; }
  .mk-stories-track { padding-inline: 16px; margin-inline: 0; gap: 10px; }
}

/* Previous clean story card design */
.mk-story {
  position: relative;
  flex: 0 0 98px;
  height: 196px;
  padding: 0 !important;
  border-radius: 16px !important;
  overflow: hidden;
  scroll-snap-align: start;
  background: #0f172a !important;
  text-align: start;
  border: 2px solid #fff;
  box-shadow: 0 4px 12px -3px rgba(15,23,42,.18), 0 1px 3px rgba(15,23,42,.08);
  transition: transform .28s cubic-bezier(.16,1,.3,1), box-shadow .28s ease;
  cursor: pointer;
  flex-shrink: 0;
}
/* Mobile phone display top notch */
.mk-story::before {
  content: "";
  position: absolute;
  z-index: 3;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 3px;
  border-radius: 2px;
  background: rgba(0,0,0,.45);
  box-shadow: 0 0 0 .5px rgba(255,255,255,.2);
  pointer-events: none;
}
.mk-story img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.mk-story::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, rgba(0,0,0,.38) 0%, transparent 28%, transparent 55%, rgba(0,0,0,.85) 100%); transition: background-color .2s; pointer-events: none; }
.mk-story:hover { transform: translateY(-4px) scale(1.02); box-shadow: 0 10px 22px -5px rgba(15,23,42,.25), 0 2px 6px rgba(15,23,42,.1); }
.mk-story:hover img { transform: scale(1.07); }
.mk-story:hover::after { background-color: rgba(0,0,0,.06); }
.mk-story-av { position: absolute; z-index: 3; top: 8px; left: 8px; padding: 2px; border-radius: 50%; background: linear-gradient(135deg, var(--ch-primary) 0%, #F59E0B 50%, var(--mk-red, var(--ch-primary)) 100%); line-height: 0; box-shadow: 0 2px 6px rgba(0,0,0,.35); }
[dir="rtl"] .mk-story-av { left: auto; right: 8px; }
.mk-story-av .ch-avatar { border: 2px solid #fff; }
.mk-story.seen .mk-story-av { background: #CBD5E1; box-shadow: none; }
.mk-story-name { position: absolute; z-index: 3; left: 8px; right: 8px; bottom: 8px; color: #fff; font-size: 11.5px; font-weight: 700; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-shadow: 0 1px 3px rgba(0,0,0,.8); }

@media (max-width: 480px) {
  .mk-story { flex: 0 0 92px; height: 184px; }
  .mk-story-name { font-size: 11px; }
}

/* Viewer */
.mk-sv { position: fixed; inset: 0; z-index: 1100; background: rgba(10,12,16,.92); display: grid; place-items: center; }
.mk-sv[hidden] { display: none; }
.mk-sv-box { position: relative; width: min(420px, 100vw); height: min(92vh, 760px); border-radius: 14px; overflow: hidden; background: #000; }
.mk-sv-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mk-sv-bars { position: absolute; z-index: 3; top: 10px; left: 10px; right: 10px; display: flex; gap: 4px; }
.mk-sv-bars span { flex: 1; height: 3px; border-radius: 2px; background: rgba(255,255,255,.35); overflow: hidden; }
.mk-sv-bars span.done { background: #fff; }
.mk-sv-bars i { display: block; height: 100%; width: 0; background: #fff; }
.mk-sv-bars i.run { animation: mk-sv-fill 5s linear forwards; }
@keyframes mk-sv-fill { to { width: 100%; } }
.mk-sv-head { position: absolute; z-index: 3; top: 22px; left: 12px; right: 8px; display: flex; align-items: center; gap: 8px; color: #fff; }
.mk-sv-head .ch-avatar { width: 34px !important; height: 34px !important; border: 2px solid #fff; }
.mk-sv-head b { font-size: 14px; font-weight: 700; }
.mk-sv-head small { font-size: 12px; color: rgba(255,255,255,.75); }
.mk-sv-close { margin-inline-start: auto; width: 38px; height: 38px; border-radius: 50%; color: #fff !important; display: grid; place-items: center; }
.mk-sv-close:hover { background: rgba(255,255,255,.15) !important; }
.mk-sv-box::before, .mk-sv-box::after { content: ""; position: absolute; z-index: 2; left: 0; right: 0; pointer-events: none; }
.mk-sv-box::before { top: 0; height: 110px; background: linear-gradient(180deg, rgba(0,0,0,.55), transparent); }
.mk-sv-box::after { bottom: 0; height: 160px; background: linear-gradient(0deg, rgba(0,0,0,.7), transparent); }
.mk-sv-tap { position: absolute; z-index: 2; top: 70px; bottom: 90px; width: 40%; background: transparent !important; }
.mk-sv-tap.prev { left: 0; }
.mk-sv-tap.next { right: 0; }
.mk-sv-foot { position: absolute; z-index: 3; left: 16px; right: 16px; bottom: 18px; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; color: #fff; }
.mk-sv-foot b { display: block; font-size: 18px; font-weight: 800; }
.mk-sv-foot small { font-size: 14px; color: rgba(255,255,255,.85); }

@media (max-width: 575.98px) {
  .mk-sv-box { width: 100vw; height: 100dvh; border-radius: 0; }
}

@media (min-width: 1024px) {
  .mk-stories { padding-top: 20px; }
  .mk-stories-track { padding-inline: 0; gap: 14px; }
  .mk-story { flex: 0 0 136px; height: 250px; border-radius: 18px !important; }
  .mk-story::before { width: 28px; height: 3.5px; top: 7px; border-radius: 2.5px; }
  .mk-story-av { top: 9px; left: 9px; }
  [dir="rtl"] .mk-story-av { left: auto; right: 9px; }
  .mk-story-name { font-size: 12.5px; left: 10px; right: 10px; bottom: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .mk-story, .mk-story img { transition: none; }
  .mk-sv-bars i.run { animation: none; width: 100%; }
}

/* Hero art motion: slowly turning plate, ripples, pins that drop in, bob and ping */
.mk-ripple { position: absolute; inset: 10%; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--ch-primary) 35%, transparent); animation: mk-ripple 3.6s ease-out infinite; pointer-events: none; }
.mk-ripple.r2 { animation-delay: 1.8s; }
@keyframes mk-ripple { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.32); opacity: 0; } }
.mk-hero-plate { animation: mk-float 6s ease-in-out infinite; }
.mk-hero-plate img { animation: mk-spin 60s linear infinite; }
@keyframes mk-spin { to { transform: rotate(360deg); } }
@keyframes mk-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
.mk-pin { animation: mk-pin-drop .6s cubic-bezier(.3,1.6,.5,1) backwards, mk-pin-bob 3.2s ease-in-out infinite; animation-delay: calc(var(--i, 0) * .15s + .2s), calc(var(--i, 0) * -.6s); }
.mk-pin::after { animation: mk-ping 2s ease-out infinite; animation-delay: calc(var(--i, 0) * .4s); }
@keyframes mk-pin-drop { from { opacity: 0; translate: 0 -24px; scale: .6; } }
@keyframes mk-pin-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes mk-ping { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ch-primary) 50%, transparent); } 100% { box-shadow: 0 0 0 10px transparent; } }
/* Hover speed-up is done in cook_habibi.js with updatePlaybackRate(): changing animation-duration here
   makes the browser recompute the angle, so the plate jumps and looks like it stopped. */

@media (prefers-reduced-motion: reduce) {
  .mk-ripple, .mk-hero-plate, .mk-hero-plate img, .mk-pin, .mk-pin::after { animation: none; }
  .mk-ripple { display: none; }
}

/* Content width follows Dokan's .container at every breakpoint (Bootstrap 720/960/1140 + aiz-core 1400 from 1500px),
   so Cook Habibi lines up with the Categories bar of the Dokan header. */
@media (min-width: 768px) and (max-width: 991.98px) { :root { --ch-max: 720px; } }
@media (min-width: 992px) and (max-width: 1023.98px) { :root { --ch-max: 960px; } }
@media (min-width: 1500px) { :root { --ch-max: 1400px; } }

/* =====================================================================
   Club Points & Loyalty System (Cook Habibi)
   ===================================================================== */
.ch-loyalty-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--ch-line, #e2e8f0);
  border-radius: var(--ch-r, 12px);
}
.ch-loyalty-info {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}
.ch-loyalty-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fef3c7;
  color: #d97706;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ch-loyalty-icon .msr {
  font-size: 20px;
}
.ch-loyalty-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.ch-loyalty-text b {
  font-size: 14px;
  color: var(--ch-dark, #1e293b);
  line-height: 1.25;
}
.ch-loyalty-text small {
  font-size: 12px;
  color: var(--ch-muted, #64748b);
  margin-top: 2px;
}
.ch-loyalty-earn-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 6px 12px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #065f46;
}
.ch-loyalty-earn-badge .msr {
  font-size: 16px;
  color: #059669;
}

/* Switch toggle */
.ch-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
  cursor: pointer;
  margin-bottom: 0;
}
.ch-switch input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}
.ch-switch .ch-switch-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #cbd5e1;
  transition: 0.25s ease;
  border-radius: 24px;
}
.ch-switch .ch-switch-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.25s ease;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
.ch-switch input:checked + .ch-switch-slider {
  background-color: var(--ch-primary, #ff5722);
}
.ch-switch input:checked + .ch-switch-slider:before {
  transform: translateX(20px);
}
.ch-switch input:disabled + .ch-switch-slider {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Remove core store Last Viewed Products section from Cook Habibi */
#section_last_viewed_products {
  display: none !important;
}

/* Remove Get In Touch section from Cook Habibi */
.ham-footer-contact-section {
  display: none !important;
}
