/*
  Abou Karim Chicken — main.css
  Externalized from the original single-file prototype.
  Next optimization step: split this into tokens.css, base.css, components.css, checkout.css, animations.css.
*/

/* =========================================================
       Abou Karim responsive rebuild
       - clean CSS cascade
       - static product cards first, JavaScript enhancement second
       - no fragile visibility/rendering shortcuts
       - grid with flex/block fallbacks
       ========================================================= */

    * {
      box-sizing: border-box;
    }

    *::before,
    *::after {
      box-sizing: border-box;
    }

    html {
      min-height: 100%;
      -webkit-text-size-adjust: 100%;
      text-size-adjust: 100%;
      scroll-behavior: smooth;
      background: #ffffff;
    }

    body {
      min-height: 100%;
      margin: 0;
      overflow-x: hidden;
      background: #ffffff;
      color: #181311;
      font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
      line-height: 1.45;
      text-rendering: optimizeLegibility;
      -webkit-font-smoothing: antialiased;
    }

    :root {
      --red: #c90c12;
      --red-dark: #a5070c;
      --yellow: #f6c62a;
      --green: #18a84a;
      --ink: #181311;
      --muted: #7b726c;
      --line: #eee3d9;
      --soft: #fff7f0;
      --shadow-card: 0 1px 2px rgba(24,18,14,.04), 0 12px 28px rgba(24,18,14,.075), 0 28px 64px rgba(24,18,14,.08);
      --shadow-card-hover: 0 2px 4px rgba(24,18,14,.05), 0 18px 38px rgba(24,18,14,.11), 0 38px 82px rgba(24,18,14,.12);
      --radius-xl: 28px;
      --radius-lg: 22px;
      --max: 1360px;
    }

    img,
    svg,
    video,
    canvas {
      max-width: 100%;
    }

    img {
      display: block;
      height: auto;
      opacity: 1;
      visibility: visible;
      border: 0;
      backface-visibility: hidden;
      -webkit-backface-visibility: hidden;
    }

    button,
    input,
    textarea {
      font: inherit;
    }

    button {
      cursor: pointer;
      -webkit-tap-highlight-color: transparent;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    .shell {
      width: calc(100% - 32px);
      max-width: 1360px;
      max-width: var(--max);
      margin-left: auto;
      margin-right: auto;
    }

    @supports (width: min(100%, 1px)) {
      .shell {
        width: min(var(--max), calc(100% - 32px));
      }
    }

    .navbar-wrap {
      position: sticky;
      top: 0;
      z-index: 50;
      background: rgba(255,255,255,.96);
      border-bottom: 1px solid #eee3d9;
      border-bottom-color: var(--line);
      box-shadow: 0 8px 28px rgba(24,18,14,.04);
      -webkit-backdrop-filter: blur(16px);
      backdrop-filter: blur(16px);
    }

    .navbar {
      min-height: 82px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      padding-top: max(0px, env(safe-area-inset-top));
    }

    .brand {
      min-width: 0;
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .brand-mark {
      width: 58px;
      height: 58px;
      min-width: 58px;
      border-radius: 18px;
      overflow: hidden;
      background: #c90c12;
      background: var(--red);
      border: 2px solid #ffffff;
      box-shadow: 0 12px 26px rgba(201,12,18,.18);
    }

    .brand-mark img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .brand-copy strong {
      display: block;
      color: #c90c12;
      color: var(--red);
      font-size: 18px;
      line-height: .95;
      font-weight: 900;
      letter-spacing: -.045em;
    }

    .brand-copy span {
      display: block;
      margin-top: 4px;
      color: #181311;
      color: var(--ink);
      font-size: 10px;
      font-weight: 900;
      letter-spacing: .22em;
      text-transform: uppercase;
      white-space: nowrap;
    }

    .nav-links {
      display: none;
      align-items: center;
      gap: 6px;
      padding: 6px;
      border: 1px solid #eee3d9;
      border-color: var(--line);
      border-radius: 999px;
      background: #ffffff;
      box-shadow: 0 8px 22px rgba(24,18,14,.045);
    }

    .nav-links a {
      padding: 10px 14px;
      border-radius: 999px;
      font-size: 13px;
      font-weight: 850;
      color: #4f4642;
      white-space: nowrap;
    }

    .nav-links a:hover {
      background: #fff4ee;
      color: #c90c12;
      color: var(--red);
    }

    .nav-actions {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 10px;
      min-width: 0;
    }

    .location-chip,
    .cart-chip,
    .small-chip {
      min-height: 46px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 0 14px;
      border: 1px solid #eee3d9;
      border-color: var(--line);
      border-radius: 16px;
      background: #ffffff;
      box-shadow: 0 8px 22px rgba(24,18,14,.045);
      font-size: 13px;
      font-weight: 850;
      white-space: nowrap;
    }

    .cart-chip {
      background: #c90c12;
      background: var(--red);
      border-color: #c90c12;
      border-color: var(--red);
      color: #ffffff;
      box-shadow: 0 14px 30px rgba(201,12,18,.20);
    }

    .cart-badge {
      min-width: 23px;
      height: 23px;
      display: inline-grid;
      place-items: center;
      padding: 0 7px;
      border-radius: 999px;
      background: #f6c62a;
      background: var(--yellow);
      color: #6c1100;
      font-size: 11px;
      font-weight: 900;
    }

    .layout {
      display: block;
      padding: 24px 0 44px;
    }

    .main-column {
      width: 100%;
      min-width: 0;
    }

    .right-cart {
      display: none;
    }

    .hero {
      position: relative;
      overflow: hidden;
      isolation: isolate;
      border-radius: 30px;
      background: #c90c12;
      background: linear-gradient(135deg, #a5070c 0%, #c90c12 54%, #820005 100%);
      box-shadow: 0 22px 54px rgba(160,10,12,.18);
    }

    .hero::before {
      content: "";
      position: absolute;
      inset: 0;
      z-index: -2;
      background:
        radial-gradient(circle at 16% 12%, rgba(255,255,255,.15), transparent 24rem),
        radial-gradient(circle at 86% 78%, rgba(246,198,42,.20), transparent 22rem);
    }

    .hero::after {
      content: "";
      position: absolute;
      inset: 0;
      z-index: -1;
      opacity: .34;
      background-image: radial-gradient(circle at 2px 2px, rgba(255,255,255,.18) 1px, transparent 0);
      background-size: 26px 26px;
    }

    .hero-inner {
      display: block;
      padding: 28px 22px 30px;
    }

    .hero-kicker {
      width: max-content;
      max-width: 100%;
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 10px 13px;
      border-radius: 999px;
      border: 1px solid rgba(255,255,255,.18);
      background: rgba(255,255,255,.12);
      color: #ffffff;
      font-size: 11px;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: .16em;
    }

    .hero h1 {
      max-width: 780px;
      margin: 18px 0 0;
      color: #ffffff;
      font-size: 42px;
      line-height: .9;
      letter-spacing: -.07em;
      font-weight: 950;
      text-transform: uppercase;
    }

    .hero h1 em {
      color: #f6c62a;
      color: var(--yellow);
      font-style: normal;
    }

    .hero p {
      max-width: 540px;
      margin: 16px 0 0;
      color: rgba(255,255,255,.84);
      font-size: 15px;
      font-weight: 750;
    }

    .hero-cta {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 22px;
    }

    .btn {
      min-height: 44px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 12px 15px;
      border: 0;
      border-radius: 15px;
      font-weight: 900;
      white-space: nowrap;
      transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
    }

    .btn-primary {
      background: #f6c62a;
      background: var(--yellow);
      color: #620b00;
      box-shadow: 0 14px 28px rgba(0,0,0,.14);
    }

    .btn-ghost {
      border: 1px solid rgba(255,255,255,.20);
      background: rgba(255,255,255,.12);
      color: #ffffff;
    }

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

    .hero-visual {
      position: relative;
      min-height: 230px;
      margin-top: 24px;
      overflow: hidden;
      border: 1px solid rgba(255,255,255,.18);
      border-radius: 24px;
      background: #ffffff;
      box-shadow: 0 22px 50px rgba(25,0,0,.24);
    }

    .hero-visual img {
      width: 100%;
      height: 100%;
      min-height: 230px;
      object-fit: cover;
      object-position: center;
    }

    @supports (aspect-ratio: 16 / 10) {
      .hero-visual {
        min-height: 0;
        aspect-ratio: 16 / 10;
      }
      .hero-visual img {
        height: 100%;
        min-height: 0;
      }
    }

    .fresh-seal {
      position: absolute;
      top: 16px;
      right: 16px;
      width: 82px;
      height: 82px;
      display: grid;
      place-items: center;
      border-radius: 999px;
      background: #ffffff;
      color: #c90c12;
      color: var(--red);
      text-align: center;
      font-size: 12px;
      line-height: 1.05;
      font-weight: 900;
      box-shadow: 0 12px 26px rgba(0,0,0,.18);
    }

    .section {
      margin-top: 28px;
    }

    .section-head {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 12px;
      margin-bottom: 15px;
    }

    .eyebrow {
      margin: 0 0 5px;
      color: #c90c12;
      color: var(--red);
      font-size: 12px;
      font-weight: 900;
      letter-spacing: .18em;
      text-transform: uppercase;
    }

    .section-title {
      margin: 0;
      color: #181311;
      color: var(--ink);
      font-size: 25px;
      line-height: 1.08;
      letter-spacing: -.045em;
      font-weight: 950;
    }

    .view-all {
      border: 0;
      border-radius: 999px;
      background: #fff4ee;
      color: #c90c12;
      color: var(--red);
      padding: 10px 14px;
      font-size: 12px;
      font-weight: 900;
    }

    .category-strip {
      display: flex;
      gap: 10px;
      overflow-x: auto;
      overscroll-behavior-inline: contain;
      -webkit-overflow-scrolling: touch;
      scroll-snap-type: x proximity;
      padding: 2px 2px 14px;
      scrollbar-width: none;
    }

    .category-strip::-webkit-scrollbar {
      display: none;
    }

    .cat-btn {
      min-width: max-content;
      scroll-snap-align: start;
      display: inline-flex;
      align-items: center;
      gap: 9px;
      border: 1px solid #eee3d9;
      border-color: var(--line);
      border-radius: 18px;
      background: #ffffff;
      color: #463d37;
      padding: 12px 15px;
      font-weight: 900;
      box-shadow: 0 1px 2px rgba(24,18,14,.035), 0 8px 22px rgba(24,18,14,.045);
    }

    .cat-btn.active {
      border-color: #c90c12;
      border-color: var(--red);
      background: #c90c12;
      background: var(--red);
      color: #ffffff;
      box-shadow: 0 14px 28px rgba(201,12,18,.18);
    }

    .cat-icon {
      width: 34px;
      height: 34px;
      display: grid;
      place-items: center;
      border-radius: 999px;
      background: #fff7f3;
      color: #c90c12;
      color: var(--red);
      font-size: 17px;
    }

    .cat-btn.active .cat-icon {
      background: #ffffff;
    }

    .search-wrap {
      width: 100%;
      max-width: 420px;
      display: flex;
      align-items: center;
      gap: 8px;
      border: 1px solid #eee3d9;
      border-color: var(--line);
      border-radius: 16px;
      background: #ffffff;
      padding: 0 13px;
      box-shadow: 0 1px 2px rgba(24,18,14,.035), 0 10px 28px rgba(24,18,14,.055);
    }

    .search-wrap input {
      width: 100%;
      min-width: 0;
      height: 46px;
      border: 0;
      outline: 0;
      background: transparent;
      color: #181311;
      color: var(--ink);
      font-weight: 750;
    }

    .product-grid {
      display: block;
    }

    .product-card {
      display: block;
      position: relative;
      overflow: hidden;
      isolation: isolate;
      margin-bottom: 16px;
      border: 1px solid #eee3d9;
      border-color: var(--line);
      border-radius: 24px;
      background: #ffffff;
      box-shadow: 0 1px 2px rgba(24,18,14,.04), 0 12px 28px rgba(24,18,14,.075), 0 28px 64px rgba(24,18,14,.08);
      box-shadow: var(--shadow-card);
      opacity: 1;
      visibility: visible;
      contain: none;
    }

    .product-card.is-hidden {
      display: none !important;
    }

    .product-card::before,
    .product-card::after {
      display: none !important;
      content: none !important;
    }

    .product-card:hover {
      box-shadow: 0 2px 4px rgba(24,18,14,.05), 0 18px 38px rgba(24,18,14,.11), 0 38px 82px rgba(24,18,14,.12);
      box-shadow: var(--shadow-card-hover);
    }

    .product-media {
      position: relative;
      height: 170px;
      min-height: 150px;
      overflow: hidden;
      background: #ffffff;
      border-bottom: 1px solid #f0e6dc;
      isolation: isolate;
    }

    .product-media::before {
      content: "";
      position: absolute;
      left: 18px;
      right: 18px;
      bottom: 10px;
      z-index: 0;
      height: 18px;
      border-radius: 999px;
      background: rgba(35,22,16,.07);
      filter: blur(10px);
      pointer-events: none;
    }

    .product-media img {
      position: relative;
      z-index: 1;
      width: 100%;
      height: 100%;
      max-width: none;
      object-fit: cover;
      object-position: center;
      transform: none;
      filter: none;
    }

    @supports (aspect-ratio: 4 / 3) {
      .product-media {
        height: auto;
        min-height: 0;
        aspect-ratio: 4 / 3;
      }
    }

    .product-tag {
      position: absolute;
      top: 12px;
      left: 12px;
      z-index: 2;
      border-radius: 999px;
      background: #ffffff;
      color: #c90c12;
      color: var(--red);
      padding: 7px 10px;
      font-size: 11px;
      font-weight: 900;
      box-shadow: 0 8px 18px rgba(0,0,0,.10);
    }

    .product-info {
      position: relative;
      z-index: 2;
      padding: 15px;
      background: #ffffff;
    }

    .product-info h3 {
      margin: 0;
      color: #181311;
      color: var(--ink);
      font-size: 16px;
      font-weight: 950;
      letter-spacing: -.03em;
    }

    .product-info .ar {
      direction: rtl;
      text-align: left;
      margin: 3px 0 0;
      color: #c90c12;
      color: var(--red);
      font-size: 13px;
      font-weight: 850;
    }

    .product-info .desc {
      min-height: 36px;
      margin: 8px 0 0;
      color: #7b726c;
      color: var(--muted);
      font-size: 12px;
      font-weight: 700;
      line-height: 1.45;
    }

    .price-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      margin-top: 13px;
    }

    .price {
      color: #c90c12;
      color: var(--red);
      font-size: 18px;
      font-weight: 950;
      white-space: nowrap;
    }

    .qty {
      height: 34px;
      display: inline-flex;
      align-items: center;
      overflow: hidden;
      border: 1px solid #eee3d9;
      border-color: var(--line);
      border-radius: 999px;
      background: #ffffff;
    }

    .qty button {
      width: 32px;
      height: 100%;
      border: 0;
      background: #ffffff;
      color: #635852;
      font-weight: 900;
    }

    .qty span {
      min-width: 28px;
      text-align: center;
      font-size: 13px;
      font-weight: 900;
    }

    .card-actions {
      display: grid;
      grid-template-columns: 1fr;
      gap: 8px;
      margin-top: 12px;
    }

    .card-actions .btn {
      min-height: 42px;
      padding: 10px 9px;
      border-radius: 14px;
      font-size: 12px;
    }

    .add-btn {
      background: #c90c12;
      background: var(--red);
      color: #ffffff;
    }

    .custom-btn {
      border: 1px solid #eee3d9;
      border-color: var(--line);
      background: #ffffff;
      color: #463b36;
    }

    .empty-state {
      display: none;
      border: 1px dashed #ead5ca;
      border-radius: 22px;
      background: #ffffff;
      padding: 24px;
      color: #7b726c;
      color: var(--muted);
      text-align: center;
      font-weight: 800;
    }

    .stats {
      display: block;
      overflow: hidden;
      border-radius: 24px;
      background: #c90c12;
      background: linear-gradient(90deg, #ad090e, #c90c12, #ad090e);
      color: #ffffff;
      box-shadow: 0 18px 38px rgba(176,12,15,.18);
    }

    .stat {
      padding: 24px 14px;
      text-align: center;
      border-top: 1px solid rgba(255,255,255,.16);
    }

    .stat:first-child {
      border-top: 0;
    }

    .stat strong {
      display: block;
      font-size: 32px;
      line-height: 1;
      font-weight: 950;
      letter-spacing: -.04em;
    }

    .stat span {
      display: block;
      margin-top: 8px;
      color: rgba(255,255,255,.82);
      font-size: 12px;
      font-weight: 850;
    }

    .cart-panel {
      border: 1px solid #eee3d9;
      border-color: var(--line);
      border-radius: 26px;
      background: #ffffff;
      box-shadow: 0 1px 2px rgba(24,18,14,.04), 0 12px 28px rgba(24,18,14,.075), 0 28px 64px rgba(24,18,14,.08);
      box-shadow: var(--shadow-card);
      padding: 18px;
    }

    .cart-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      margin-bottom: 14px;
    }

    .cart-head h3 {
      margin: 0;
      font-size: 21px;
      font-weight: 950;
      letter-spacing: -.04em;
    }

    .cart-count {
      min-width: 30px;
      height: 30px;
      display: grid;
      place-items: center;
      padding: 0 9px;
      border-radius: 999px;
      background: #c90c12;
      background: var(--red);
      color: #ffffff;
      font-size: 13px;
      font-weight: 900;
    }

    .cart-items {
      display: grid;
      gap: 11px;
      max-height: 46vh;
      overflow: auto;
      padding-right: 2px;
      -webkit-overflow-scrolling: touch;
    }

    .cart-empty {
      padding: 30px 12px;
      border: 1px dashed #f0c9c3;
      border-radius: 20px;
      background: #fffafa;
      text-align: center;
    }

    .cart-empty b {
      display: block;
      margin-bottom: 6px;
    }

    .cart-empty span {
      color: #7b726c;
      color: var(--muted);
      font-size: 13px;
      font-weight: 700;
    }

    .cart-item {
      display: grid;
      grid-template-columns: 58px minmax(0,1fr) auto;
      gap: 10px;
      align-items: center;
      padding: 9px;
      border: 1px solid #eee3d9;
      border-color: var(--line);
      border-radius: 18px;
      background: #ffffff;
      box-shadow: 0 6px 16px rgba(24,18,14,.04);
    }

    .cart-item img {
      width: 58px;
      height: 56px;
      object-fit: cover;
      border-radius: 14px;
    }

    .cart-item h4 {
      margin: 0;
      overflow: hidden;
      color: #181311;
      color: var(--ink);
      font-size: 13px;
      font-weight: 900;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .cart-item small {
      display: block;
      margin-top: 3px;
      color: #7b726c;
      color: var(--muted);
      font-size: 11px;
      font-weight: 750;
    }

    .cart-remove {
      width: 29px;
      height: 29px;
      border: 0;
      border-radius: 10px;
      background: #fff1ed;
      color: #c90c12;
      color: var(--red);
      font-weight: 900;
    }

    .cart-totals {
      display: grid;
      gap: 8px;
      margin-top: 16px;
      padding-top: 14px;
      border-top: 1px solid #eee3d9;
      border-top-color: var(--line);
    }

    .total-line {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      color: #7b726c;
      color: var(--muted);
      font-size: 14px;
      font-weight: 800;
    }

    .total-line.grand {
      color: #181311;
      color: var(--ink);
      font-size: 19px;
      font-weight: 950;
    }

    .total-line.grand strong {
      color: #c90c12;
      color: var(--red);
    }

    .whatsapp-btn {
      width: 100%;
      min-height: 48px;
      margin-top: 14px;
      border: 0;
      border-radius: 16px;
      background: #18a84a;
      background: var(--green);
      color: #ffffff;
      padding: 13px 16px;
      font-weight: 900;
      box-shadow: 0 14px 30px rgba(24,168,74,.20);
    }

    .note {
      margin: 9px 0 0;
      color: #9c918c;
      font-size: 11px;
      font-weight: 750;
      text-align: center;
    }

    .mobile-cart-toggle {
      position: fixed;
      right: 16px;
      bottom: 16px;
      bottom: max(16px, env(safe-area-inset-bottom));
      z-index: 60;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      border: 0;
      border-radius: 999px;
      background: #c90c12;
      background: var(--red);
      color: #ffffff;
      padding: 14px 18px;
      font-weight: 900;
      box-shadow: 0 18px 40px rgba(201,12,18,.32);
    }

    .mobile-drawer {
      position: fixed;
      inset: 0;
      z-index: 75;
      display: none;
      align-items: flex-end;
      background: rgba(24,18,14,.42);
      padding: 14px;
      padding-bottom: max(14px, env(safe-area-inset-bottom));
    }

    .mobile-drawer.show {
      display: flex;
    }

    .drawer-inner {
      width: 100%;
      max-height: 86vh;
      overflow: auto;
      -webkit-overflow-scrolling: touch;
    }

    @supports (height: 100dvh) {
      .drawer-inner {
        max-height: 86dvh;
      }
    }

    .drawer-close {
      float: right;
      width: 42px;
      height: 42px;
      margin-bottom: 8px;
      border: 0;
      border-radius: 999px;
      background: #ffffff;
      color: #181311;
      font-weight: 900;
      box-shadow: 0 8px 22px rgba(24,18,14,.12);
    }

    .modal {
      position: fixed;
      inset: 0;
      z-index: 80;
      display: none;
      place-items: center;
      overflow: auto;
      background: rgba(24,18,14,.44);
      padding: 18px;
      padding-bottom: max(18px, env(safe-area-inset-bottom));
      -webkit-backdrop-filter: blur(8px);
      backdrop-filter: blur(8px);
    }

    .modal.show {
      display: grid;
    }

    .modal-card {
      width: 100%;
      max-width: 900px;
      overflow: hidden;
      border-radius: 28px;
      background: #ffffff;
      box-shadow: 0 40px 90px rgba(0,0,0,.25);
    }

    .modal-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      padding: 18px 20px;
      border-bottom: 1px solid #eee3d9;
      border-bottom-color: var(--line);
    }

    .modal-top h3 {
      margin: 0;
      color: #181311;
      color: var(--ink);
      font-size: 22px;
      font-weight: 950;
    }

    .close-btn {
      width: 42px;
      height: 42px;
      min-width: 42px;
      border: 0;
      border-radius: 999px;
      background: #f5eee8;
      color: #453a35;
      font-weight: 900;
    }

    .modal-body {
      display: block;
    }

    .modal-photo {
      padding: 18px;
      background: #fff7f0;
      background: var(--soft);
    }

    .modal-photo img {
      width: 100%;
      height: 220px;
      object-fit: cover;
      border-radius: 22px;
    }

    .options {
      display: grid;
      gap: 15px;
      padding: 18px;
    }

    .option-group label {
      display: block;
      margin-bottom: 9px;
      color: #181311;
      color: var(--ink);
      font-size: 13px;
      font-weight: 900;
    }

    .pills {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    .pill {
      border: 1px solid #eee3d9;
      border-color: var(--line);
      border-radius: 999px;
      background: #ffffff;
      color: #5d524d;
      padding: 9px 12px;
      font-size: 12px;
      font-weight: 900;
    }

    .pill.active {
      border-color: #c90c12;
      border-color: var(--red);
      background: #fff1ed;
      color: #c90c12;
      color: var(--red);
    }

    .textarea {
      width: 100%;
      min-height: 78px;
      resize: vertical;
      border: 1px solid #eee3d9;
      border-color: var(--line);
      border-radius: 16px;
      outline: 0;
      padding: 12px;
    }

    .modal-actions {
      display: grid;
      gap: 12px;
    }

    .modal-add {
      border: 0;
      border-radius: 16px;
      background: #c90c12;
      background: var(--red);
      color: #ffffff;
      padding: 14px 18px;
      font-weight: 900;
    }

    .menu-image {
      max-height: 82vh;
      width: auto;
      margin: 0 auto;
      object-fit: contain;
      background: #ffffff;
    }

    .footer {
      margin-top: 30px;
      border-top: 1px solid #eee3d9;
      border-top-color: var(--line);
      background: #ffffff;
    }

    .footer-inner {
      display: grid;
      grid-template-columns: 1fr;
      gap: 22px;
      padding: 30px 0;
    }

    .footer h4 {
      margin: 0 0 12px;
      color: #181311;
      color: var(--ink);
      font-size: 14px;
      font-weight: 950;
    }

    .footer p,
    .footer li {
      color: #7b726c;
      color: var(--muted);
      font-size: 13px;
      line-height: 1.65;
      font-weight: 700;
    }

    .footer ul {
      display: grid;
      gap: 4px;
      list-style: none;
      margin: 0;
      padding: 0;
    }

    .socials {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 14px;
    }

    .socials span {
      width: 34px;
      height: 34px;
      display: grid;
      place-items: center;
      border-radius: 999px;
      background: #fff1ed;
      color: #c90c12;
      color: var(--red);
      font-weight: 900;
    }

    @supports (display: grid) {
      .product-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
        gap: 16px;
        align-items: stretch;
        width: 100%;
      }

      .product-card {
        margin-bottom: 0;
      }

      .stats {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .stat {
        border-top: 0;
        border-left: 1px solid rgba(255,255,255,.16);
      }

      .stat:nth-child(odd) {
        border-left: 0;
      }
    }

    @media (min-width: 560px) {
      .section-head {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
      }

      .card-actions {
        grid-template-columns: 1fr 1fr;
      }

      .footer-inner {
        grid-template-columns: 1.25fr 1fr;
      }
    }

    @media (min-width: 760px) {
      .hero-inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(280px, .92fr);
        align-items: center;
        gap: 26px;
        padding: 38px 42px;
      }

      .hero h1 {
        font-size: clamp(52px, 6vw, 82px);
      }

      .hero p {
        font-size: 17px;
      }

      .hero-visual {
        margin-top: 0;
      }

      .section-title {
        font-size: 28px;
      }

      .stats {
        grid-template-columns: repeat(4, minmax(0, 1fr));
      }

      .stat,
      .stat:nth-child(odd) {
        border-left: 1px solid rgba(255,255,255,.16);
      }

      .stat:first-child {
        border-left: 0;
      }

      .modal-body {
        display: grid;
        grid-template-columns: minmax(260px, .9fr) minmax(0, 1.1fr);
      }

      .modal-photo img {
        height: 290px;
      }

      .modal-actions {
        grid-template-columns: auto 1fr;
        align-items: center;
      }

      .footer-inner {
        grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
      }
    }

    @media (min-width: 960px) {
      .nav-links {
        display: flex;
      }
    }

    @media (min-width: 1180px) {
      .layout {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 360px;
        gap: 24px;
        align-items: start;
      }

      .right-cart {
        display: block;
        position: sticky;
        top: 106px;
        z-index: 20;
      }

      .mobile-cart-toggle {
        display: none;
      }
    }

    @media (max-width: 760px) {
      .shell {
        width: calc(100% - 22px);
      }

      .navbar {
        min-height: 74px;
      }

      .brand-mark {
        width: 50px;
        height: 50px;
        min-width: 50px;
      }

      .brand-copy strong {
        font-size: 16px;
      }

      .location-chip {
        display: none;
      }

      .cart-chip {
        min-height: 42px;
        padding: 0 12px;
      }

      .cart-chip .label {
        display: none;
      }

      .hero {
        border-radius: 24px;
      }

      .section {
        margin-top: 24px;
      }

      .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
      }

      .product-media {
        height: 150px;
      }

      .product-info {
        padding: 13px;
      }

      .product-info .desc {
        min-height: 0;
      }
    }

    @media (max-width: 540px) {
      .product-grid {
        display: block;
      }

      .product-card {
        margin-bottom: 14px;
      }

      .product-media {
        height: 210px;
      }

      .hero h1 {
        font-size: 42px;
      }

      .hero p {
        font-size: 15px;
      }

      .stats {
        display: block;
      }

      .stat {
        border-left: 0 !important;
        border-top: 1px solid rgba(255,255,255,.16);
      }

      .stat:first-child {
        border-top: 0;
      }
    }

    @media (max-width: 340px) {
      .shell {
        width: calc(100% - 16px);
      }

      .brand-copy span {
        display: none;
      }

      .hero-inner {
        padding: 22px 16px 24px;
      }

      .hero h1 {
        font-size: 36px;
      }

      .btn {
        width: 100%;
      }

      .product-media {
        height: 180px;
      }

      .cart-item {
        grid-template-columns: 48px minmax(0,1fr) auto;
      }

      .cart-item img {
        width: 48px;
        height: 48px;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      *,
      *::before,
      *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
      }

      .btn:hover,
      .product-card:hover {
        transform: none !important;
      }
    }

    @supports not (display: grid) {
      .layout,
      .footer-inner,
      .stats,
      .modal-body {
        display: block;
      }

      .product-card,
      .stat,
      .footer-inner > div {
        margin-bottom: 16px;
      }
    }

    /* === Image fit + smoother section navigation update === */
    html{
      scroll-padding-top: 98px;
    }

    section,
    #top,
    #recommended,
    #categories,
    #food-list,
    #footer{
      scroll-margin-top: 98px;
    }

    .nav-links a{
      position: relative;
      transition: background-color .18s ease, color .18s ease, box-shadow .18s ease;
    }

    .nav-links a.is-active{
      background:#fff1ed;
      color:var(--red);
      box-shadow: inset 0 0 0 1px rgba(201,12,18,.08);
    }

    .product-media{
      display:grid;
      place-items:center;
      background:#ffffff !important;
    }

    .product-media img{
      width:100% !important;
      height:100% !important;
      object-fit:contain !important;
      object-position:center center !important;
      padding:10px !important;
      background:#ffffff !important;
    }

    .hero-visual{
      display:grid;
      place-items:center;
      background:#ffffff !important;
    }

    .hero-visual img{
      width:100% !important;
      height:100% !important;
      min-height:inherit;
      object-fit:contain !important;
      object-position:center center !important;
      padding:10px !important;
      background:#ffffff !important;
    }

    .modal-photo img,
    .cart-item img,
    .brand-mark img,
    .menu-image{
      object-fit:contain !important;
      object-position:center center !important;
      background:#ffffff !important;
    }

    .cart-item img{
      padding:4px !important;
    }

    .brand-mark img{
      padding:3px !important;
    }

    .product-card{
      will-change:transform;
    }

    .section{
      transition: opacity .18s ease, transform .18s ease;
    }

    .section.section-focus{
      animation: sectionPulse .55s ease both;
    }

    @keyframes sectionPulse{
      0%{transform:translateY(8px);opacity:.78}
      100%{transform:translateY(0);opacity:1}
    }

    @media (max-width:760px){
      html{
        scroll-padding-top: 84px;
      }

      section,
      #top,
      #recommended,
      #categories,
      #food-list,
      #footer{
        scroll-margin-top: 84px;
      }

      .product-media img{
        padding:8px !important;
      }

      .hero-visual img{
        padding:8px !important;
      }
    }

    @media (prefers-reduced-motion: reduce){
      .section.section-focus{
        animation:none !important;
      }
    }


    /* === Full menu update: all menu items from both supplied menu boards === */
    .product-grid{
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
    .product-media img{
      object-fit: contain !important;
      padding: 10px !important;
      background: #fff !important;
    }
    .product-info .ar{
      min-height: 1.35em;
    }
    .product-info .desc{
      min-height: 40px;
    }
    .category-strip{
      scroll-padding-inline: 12px;
    }
    @media (min-width:1180px){
      .product-grid{
        grid-template-columns: repeat(4, minmax(0, 1fr));
      }
    }
    @media (max-width:760px){
      .product-grid{
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }
    @media (max-width:540px){
      .product-grid{
        display: block;
      }
    }


    /* === SVG placeholders for menu items without real photos === */
    .product-media img[src^="data:image/svg+xml"]{
      object-fit: contain !important;
      padding: 0 !important;
      background: #ffffff !important;
    }


    /* === Warm contrast cards applied again === */
    :root{
      --card-contrast:#fff8f0;
      --card-contrast-strong:#fff3e6;
      --card-border:#eadfd4;
      --card-shadow:0 1px 2px rgba(34,20,12,.04), 0 14px 32px rgba(34,20,12,.085), 0 30px 70px rgba(34,20,12,.075);
      --card-shadow-hover:0 2px 5px rgba(34,20,12,.055), 0 20px 44px rgba(34,20,12,.12), 0 40px 86px rgba(34,20,12,.11);
    }

    html,
    body{
      background:#ffffff !important;
      background-image:none !important;
    }

    .navbar-wrap{
      background:rgba(255,255,255,.96) !important;
      border-bottom:1px solid #eee3d9 !important;
    }

    .product-card,
    .cart-panel,
    .cat-btn,
    .cart-item,
    .modal-card,
    .search-wrap,
    .location-chip,
    .nav-links,
    .small-chip,
    .footer,
    .empty-state{
      background:var(--card-contrast) !important;
      border-color:var(--card-border) !important;
      box-shadow:var(--card-shadow) !important;
    }

    .product-card:hover,
    .cat-btn:hover{
      box-shadow:var(--card-shadow-hover) !important;
    }

    .right-cart .cart-panel,
    #mobileCart .cart-panel{
      background:#fff6ec !important;
    }

    .product-info{
      background:var(--card-contrast) !important;
    }

    .product-media,
    .product-media img,
    .qty,
    .qty button,
    .cat-icon,
    .brand-mark,
    .cart-item img,
    .modal-photo img,
    input,
    textarea{
      background:#ffffff !important;
    }

    .footer{
      background:var(--card-contrast) !important;
      border-top:1px solid var(--card-border) !important;
    }

    .footer-inner{
      background:transparent !important;
      box-shadow:none !important;
      border:0 !important;
    }

    .custom-btn,
    .view-all{
      background:#ffffff !important;
      border-color:var(--card-border) !important;
    }

    .cart-empty{
      background:#fffaf6 !important;
      border-color:#efd5cc !important;
    }

    .modal-photo{
      background:var(--card-contrast-strong) !important;
    }

    .product-media img[src^="data:image/svg+xml"]{
      background:#ffffff !important;
    }


    /* === Final section system + 4:3 image container ratio === */

    html{
      scroll-padding-top:96px;
    }

    section[id],
    #recommended,
    #categories,
    #food-list,
    #footer{
      scroll-margin-top:96px;
    }

    .section{
      margin-top:44px !important;
      padding-top:0 !important;
      position:relative;
    }

    .section::before{
      content:"";
      display:block;
      width:100%;
      height:12px;
      margin-bottom:18px;
      border-radius:999px;
      background:linear-gradient(90deg, transparent, rgba(201,12,18,.20), rgba(246,198,42,.55), rgba(201,12,18,.20), transparent);
    }

    /*
      Section headers are intentionally NOT card-colored.
      They are red/yellow brand headers so each section feels clearly different.
    */
    .section-head{
      margin-bottom:0 !important;
      padding:20px 22px !important;
      display:flex !important;
      flex-direction:column !important;
      align-items:center !important;
      justify-content:center !important;
      text-align:center !important;
      gap:10px !important;
      border:1px solid #b9000c !important;
      border-radius:26px 26px 0 0 !important;
      background:
        radial-gradient(circle at 18% 10%, rgba(255,255,255,.16), transparent 190px),
        linear-gradient(135deg, #a5070c 0%, #c90c12 55%, #870006 100%) !important;
      color:#ffffff !important;
      box-shadow:0 18px 44px rgba(201,12,18,.18) !important;
      overflow:hidden;
    }

    .section-head::before{
      display:none !important;
      content:none !important;
    }

    .section-head .eyebrow{
      margin:0 !important;
      display:inline-flex !important;
      align-items:center !important;
      justify-content:center !important;
      gap:8px !important;
      color:#f6c62a !important;
      letter-spacing:.26em !important;
      text-align:center !important;
    }

    .section-head .eyebrow::before,
    .section-head .eyebrow::after{
      content:"";
      width:9px;
      height:9px;
      border-radius:999px;
      background:#f6c62a;
      box-shadow:0 0 0 5px rgba(246,198,42,.16);
    }

    .section-head .section-title{
      margin:0 !important;
      color:#ffffff !important;
      text-align:center !important;
      width:100%;
      font-size:clamp(26px, 4.5vw, 42px) !important;
      line-height:1.05 !important;
    }

    .section-head .view-all,
    .section-head button.view-all{
      margin-top:6px !important;
      background:#f6c62a !important;
      color:#650900 !important;
      box-shadow:0 10px 24px rgba(0,0,0,.16) !important;
      border:0 !important;
    }

    .section-head .search-wrap{
      margin:6px auto 0 !important;
      max-width:680px !important;
      width:min(100%, 680px) !important;
      background:#ffffff !important;
      border-color:#fff0db !important;
      box-shadow:0 14px 30px rgba(0,0,0,.14) !important;
    }

    /*
      Attach each section title/header directly to the content below it.
      No floating title card separated from the list.
    */
    .section-head + .product-grid,
    .section-head + .category-strip,
    .section-head + .stats,
    #food-list .section-head + .product-grid{
      margin-top:0 !important;
      border:1px solid var(--card-border, #eadfd4);
      border-top:0 !important;
      border-radius:0 0 26px 26px !important;
      background:#fff8f0 !important;
      box-shadow:0 18px 42px rgba(34,20,12,.085) !important;
      padding:18px !important;
    }

    .section-head + .category-strip{
      display:flex !important;
      overflow-x:auto !important;
      gap:12px !important;
      -webkit-overflow-scrolling:touch;
      scroll-padding-inline:18px;
    }

    .section-head + .product-grid{
      align-items:stretch !important;
    }

    .section.section-focus .section-head{
      animation:sectionHeaderPulse .75s ease both;
    }

    @keyframes sectionHeaderPulse{
      0%{
        filter:saturate(.85);
        box-shadow:0 0 0 0 rgba(201,12,18,0), 0 18px 44px rgba(201,12,18,.18);
      }
      45%{
        filter:saturate(1.15);
        box-shadow:0 0 0 7px rgba(246,198,42,.22), 0 24px 62px rgba(201,12,18,.30);
      }
      100%{
        filter:saturate(1);
        box-shadow:0 18px 44px rgba(201,12,18,.18);
      }
    }

    .section-indicator{
      position:fixed;
      left:50%;
      bottom:max(84px, calc(74px + env(safe-area-inset-bottom)));
      z-index:80;
      display:flex;
      align-items:center;
      justify-content:center;
      gap:9px;
      padding:12px 16px;
      border-radius:999px;
      border:1px solid rgba(255,255,255,.24);
      background:linear-gradient(135deg, #a5070c, #c90c12);
      color:#ffffff;
      box-shadow:0 18px 42px rgba(201,12,18,.30);
      -webkit-backdrop-filter:blur(12px);
      backdrop-filter:blur(12px);
      font-size:13px;
      font-weight:950;
      opacity:0;
      pointer-events:none;
      transform:translate(-50%, 14px);
      transition:opacity .22s ease, transform .22s ease;
      white-space:nowrap;
    }

    .section-indicator.show{
      opacity:1;
      transform:translate(-50%, 0);
    }

    .section-indicator .dot{
      width:10px;
      height:10px;
      border-radius:999px;
      background:#f6c62a;
      box-shadow:0 0 0 5px rgba(246,198,42,.18);
    }

    /*
      Product image container ratio:
      4:3 responsive container.
      Recommended image exports: 800x600, 1200x900, or 1600x1200.
      When the source image is also 4:3, object-fit: cover fills the container with no crop and no distortion.
    */
    .product-media{
      width:100% !important;
      height:auto !important;
      min-height:0 !important;
      aspect-ratio:4 / 3 !important;
      display:block !important;
      position:relative !important;
      overflow:hidden !important;
      background:#ffffff !important;
      border-bottom:1px solid #eadfd4 !important;
    }

    .product-media img{
      display:block !important;
      width:100% !important;
      height:100% !important;
      max-width:none !important;
      max-height:none !important;
      object-fit:cover !important;
      object-position:center center !important;
      padding:0 !important;
      margin:0 !important;
      background:#ffffff !important;
      transform:none !important;
    }

    .product-media img[src^="data:image/svg+xml"]{
      object-fit:cover !important;
      padding:0 !important;
      background:#ffffff !important;
    }

    .hero-visual{
      height:auto !important;
      min-height:0 !important;
      aspect-ratio:16 / 10 !important;
      display:block !important;
      overflow:hidden !important;
      background:#ffffff !important;
    }

    .hero-visual img{
      display:block !important;
      width:100% !important;
      height:100% !important;
      min-height:0 !important;
      max-width:none !important;
      max-height:none !important;
      object-fit:cover !important;
      object-position:center center !important;
      padding:0 !important;
      margin:0 !important;
      background:#ffffff !important;
      transform:none !important;
    }

    .cart-item img,
    .modal-photo img{
      object-fit:cover !important;
      object-position:center center !important;
      padding:0 !important;
      background:#ffffff !important;
    }

    /* Mobile customization modal: visible, scrollable, and bottom-sheet style. */
    .modal{
      align-items:center !important;
    }

    .modal-card{
      max-height:calc(100vh - 32px);
      max-height:calc(100dvh - 32px);
      display:flex;
      flex-direction:column;
    }

    .modal-top{
      position:sticky;
      top:0;
      z-index:5;
      background:#ffffff;
    }

    .modal-body{
      min-height:0;
      overflow:auto;
      -webkit-overflow-scrolling:touch;
    }

    .modal-actions{
      position:sticky;
      bottom:0;
      z-index:5;
      padding-top:12px;
      background:linear-gradient(180deg, rgba(255,248,240,0), #fff8f0 28%);
    }

    @media (max-width:760px){
      html{
        scroll-padding-top:84px;
      }

      section[id],
      #recommended,
      #categories,
      #food-list,
      #footer{
        scroll-margin-top:84px;
      }

      .section{
        margin-top:34px !important;
      }

      .section::before{
        margin-bottom:14px;
      }

      .section-head{
        padding:18px 16px !important;
        border-radius:24px 24px 0 0 !important;
      }

      .section-head + .product-grid,
      .section-head + .category-strip,
      #food-list .section-head + .product-grid{
        padding:14px !important;
        border-radius:0 0 24px 24px !important;
      }

      .modal{
        display:none;
        align-items:flex-end !important;
        padding:10px !important;
        padding-bottom:max(10px, env(safe-area-inset-bottom)) !important;
      }

      .modal.show{
        display:flex !important;
      }

      .modal-card{
        width:100% !important;
        max-width:none !important;
        max-height:calc(100vh - 22px) !important;
        max-height:calc(100dvh - 22px) !important;
        border-radius:26px 26px 18px 18px !important;
      }

      .modal-body{
        display:block !important;
        overflow:auto !important;
        max-height:calc(100vh - 104px) !important;
        max-height:calc(100dvh - 104px) !important;
      }

      .modal-photo{
        padding:14px !important;
      }

      .modal-photo img{
        height:235px !important;
        border-radius:20px !important;
      }

      .options{
        padding:16px !important;
        padding-bottom:22px !important;
      }

      .modal-actions{
        display:grid !important;
        grid-template-columns:1fr !important;
        gap:10px !important;
        margin-top:8px !important;
        padding-bottom:max(10px, env(safe-area-inset-bottom)) !important;
      }

      .modal-add{
        width:100% !important;
        min-height:52px !important;
      }
    }

    @media (max-width:540px){
      .section-indicator{
        bottom:max(82px, calc(72px + env(safe-area-inset-bottom)));
        max-width:calc(100% - 32px);
      }
    }

    @media (prefers-reduced-motion: reduce){
      .section.section-focus .section-head{
        animation:none !important;
      }

      .section-indicator{
        transition:none !important;
      }
    }


    /* === User update: attach categories/search/products + active category readable + map === */

    .section::before{
      height:6px !important;
      margin-bottom:14px !important;
      opacity:.55 !important;
    }

    /* Hide the separate selected-category title block; keep only search + products. */
    #food-list{
      margin-top:0 !important;
      padding-top:0 !important;
    }

    #food-list::before{
      display:none !important;
      content:none !important;
    }

    #food-list .section-head{
      margin:0 !important;
      padding:0 18px 16px !important;
      border:1px solid var(--card-border, #eadfd4) !important;
      border-top:0 !important;
      border-radius:0 !important;
      background:#fff8f0 !important;
      box-shadow:0 18px 42px rgba(34,20,12,.085) !important;
      text-align:left !important;
      align-items:stretch !important;
    }

    #food-list .section-head .eyebrow,
    #food-list .section-head .section-title{
      display:none !important;
    }

    #food-list .section-head .search-wrap{
      margin:0 !important;
      width:100% !important;
      max-width:none !important;
      border-radius:18px !important;
      background:#ffffff !important;
      border-color:var(--card-border, #eadfd4) !important;
      box-shadow:0 10px 24px rgba(34,20,12,.075) !important;
    }

    #food-list .section-head + .product-grid{
      margin-top:0 !important;
      border-radius:0 0 26px 26px !important;
      border-top:0 !important;
      padding-top:0 !important;
    }

    /* Attach category strip directly to search area below it. */
    #categories{
      margin-bottom:0 !important;
    }

    #categories .section-head + .category-strip{
      border-radius:0 !important;
      border-bottom:0 !important;
      padding-bottom:12px !important;
      margin-bottom:0 !important;
      box-shadow:0 12px 28px rgba(34,20,12,.06) !important;
    }

    /* Active category text must remain visible. */
    .cat-btn.active,
    .category-strip .cat-btn.active{
      background:#fff8f0 !important;
      color:#181311 !important;
      border-color:var(--red, #c90c12) !important;
      box-shadow:
        inset 0 0 0 2px rgba(201,12,18,.18),
        0 12px 26px rgba(34,20,12,.09) !important;
    }

    .cat-btn.active span,
    .category-strip .cat-btn.active span{
      color:#181311 !important;
    }

    .cat-btn.active .cat-icon,
    .category-strip .cat-btn.active .cat-icon{
      background:#ffffff !important;
      color:var(--red, #c90c12) !important;
      box-shadow:0 0 0 5px rgba(201,12,18,.08) !important;
    }

    .cat-btn.active::after{
      content:"";
      width:8px;
      height:8px;
      margin-left:2px;
      border-radius:999px;
      background:var(--red, #c90c12);
      box-shadow:0 0 0 4px rgba(201,12,18,.10);
    }

    /* Location map under stats */
    .location-section{
      margin-top:30px !important;
    }

    .location-section::before{
      display:none !important;
      content:none !important;
    }

    .location-card{
      overflow:hidden;
      border:1px solid var(--card-border, #eadfd4);
      border-radius:28px;
      background:#fff8f0;
      box-shadow:0 18px 42px rgba(34,20,12,.085);
    }

    .location-copy{
      padding:22px;
      text-align:center;
      background:
        radial-gradient(circle at 85% 12%, rgba(246,198,42,.22), transparent 180px),
        linear-gradient(135deg, #fff8f0, #ffffff);
    }

    .location-copy .eyebrow{
      justify-content:center;
      color:var(--red, #c90c12);
      letter-spacing:.24em;
    }

    .location-copy .section-title{
      color:#181311 !important;
      text-align:center !important;
    }

    .location-copy p{
      margin:10px auto 0;
      max-width:620px;
      color:#7b726c;
      font-weight:750;
    }

    .map-link{
      display:inline-flex;
      align-items:center;
      justify-content:center;
      min-height:46px;
      margin-top:16px;
      padding:0 18px;
      border-radius:999px;
      background:var(--red, #c90c12);
      color:#ffffff;
      font-weight:950;
      box-shadow:0 14px 30px rgba(201,12,18,.18);
    }

    .map-frame{
      width:100%;
      height:360px;
      background:#ffffff;
      border-top:1px solid var(--card-border, #eadfd4);
    }

    .map-frame iframe{
      width:100%;
      height:100%;
      display:block;
      border:0;
    }

    @media (max-width:760px){
      #food-list .section-head{
        padding:0 14px 14px !important;
      }

      #food-list .section-head + .product-grid{
        border-radius:0 0 24px 24px !important;
      }

      .map-frame{
        height:300px;
      }
    }

    @media (max-width:420px){
      .map-frame{
        height:260px;
      }
    }


    /* === Sticky category bar + 3-item recommended grid + drinks/nav update === */
    .floating-category-bar{position:fixed;left:0;right:0;top:82px;z-index:49;display:none;background:rgba(255,248,240,.96);border-bottom:1px solid var(--card-border,#eadfd4);box-shadow:0 12px 30px rgba(34,20,12,.10);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);transform:translateY(-110%);opacity:0;transition:transform .22s ease,opacity .22s ease}
    .floating-category-bar.show{display:block;transform:translateY(0);opacity:1}
    .floating-category-inner{width:min(var(--max,1360px),calc(100% - 24px));margin:0 auto;display:flex;gap:10px;overflow-x:auto;padding:10px 0;scrollbar-width:none;-webkit-overflow-scrolling:touch}
    .floating-category-inner::-webkit-scrollbar{display:none}
    .floating-category-inner .cat-btn{flex:0 0 auto;min-height:54px;background:#fff!important}
    .floating-category-inner .cat-btn.active{background:#fff8f0!important;color:#181311!important}

    .recommended-feature-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:16px;width:100%;border:1px solid var(--card-border,#eadfd4);border-top:0;border-radius:0 0 26px 26px;background:#fff8f0;box-shadow:0 18px 42px rgba(34,20,12,.085);padding:18px}
    .rec-side{display:grid;gap:16px}
    .rec-card{overflow:hidden;border:1px solid var(--card-border,#eadfd4);border-radius:24px;background:#fff;box-shadow:0 12px 30px rgba(34,20,12,.08);display:grid;grid-template-columns:42% 1fr;min-height:210px}
    .rec-large{grid-template-columns:1fr;min-height:436px}
    .rec-image{overflow:hidden;background:#fff}.rec-image img{width:100%;height:100%;object-fit:cover;display:block}.rec-large .rec-image{height:260px}
    .rec-content{padding:18px;display:flex;flex-direction:column;justify-content:center;gap:8px}
    .rec-tag{width:max-content;max-width:100%;padding:7px 10px;border-radius:999px;background:#fff4ee;color:var(--red,#c90c12);font-size:11px;font-weight:950}
    .rec-content h3{margin:0;font-size:clamp(20px,2.2vw,34px);line-height:1.02;letter-spacing:-.045em;font-weight:950;color:#181311}
    .rec-content p{margin:0;color:var(--red,#c90c12);font-weight:850}.rec-content strong{color:var(--red,#c90c12);font-size:22px;font-weight:950}
    .rec-order-btn{margin-top:6px;background:var(--red,#c90c12);color:#fff;border-radius:16px;width:max-content;min-width:140px}
    .nav-links a[data-nav-category]{background:#fff8f0;color:#c90c12}

    @media(max-width:1180px){.floating-category-bar{top:74px}}
    @media(max-width:760px){
      .floating-category-bar{top:74px}.floating-category-inner{width:calc(100% - 20px)}
      .recommended-feature-grid{grid-template-columns:1fr;padding:14px;gap:14px}.rec-side{grid-template-columns:1fr 1fr;gap:12px}
      .rec-card,.rec-large{display:block;min-height:0}.rec-card .rec-image{height:160px}.rec-large .rec-image{height:220px}
      .rec-content{padding:14px}.rec-content h3{font-size:20px}.rec-order-btn{width:100%}
    }
    @media(max-width:520px){.rec-side{grid-template-columns:1fr}.rec-card .rec-image,.rec-large .rec-image{height:210px}}


    /* === Final responsive repair: visible nav, sticky categories, cleaner recommendations === */

    .navbar-wrap{
      z-index:80 !important;
    }

    .navbar{
      flex-wrap:wrap !important;
      gap:10px 14px !important;
    }

    .nav-links{
      display:flex !important;
      flex:1 1 auto !important;
      min-width:0 !important;
      overflow-x:auto !important;
      -webkit-overflow-scrolling:touch !important;
      scrollbar-width:none !important;
      white-space:nowrap !important;
    }

    .nav-links::-webkit-scrollbar{
      display:none !important;
    }

    .nav-links a[data-nav-category]{
      background:#fff8f0 !important;
      color:var(--red,#c90c12) !important;
      border:1px solid rgba(201,12,18,.10) !important;
    }

    @media(max-width:760px){
      .navbar{
        min-height:118px !important;
        padding-bottom:10px !important;
      }

      .brand{
        flex:1 1 auto !important;
      }

      .nav-actions{
        flex:0 0 auto !important;
      }

      .nav-links{
        order:3 !important;
        flex:1 0 100% !important;
        width:100% !important;
        padding:5px !important;
        border-radius:18px !important;
      }

      .nav-links a{
        padding:10px 13px !important;
        font-size:12px !important;
      }
    }

    /* Recommended 3-card layout */
    #recommended .section-head + .recommended-feature-grid{
      margin-top:0 !important;
    }

    .recommended-feature-grid{
      display:grid !important;
      grid-template-columns:minmax(0, 1.15fr) minmax(280px, .85fr) !important;
      gap:16px !important;
      width:100% !important;
      border:1px solid var(--card-border,#eadfd4) !important;
      border-top:0 !important;
      border-radius:0 0 26px 26px !important;
      background:#fff8f0 !important;
      box-shadow:0 18px 42px rgba(34,20,12,.085) !important;
      padding:18px !important;
    }

    .rec-side{
      display:grid !important;
      grid-template-rows:1fr 1fr !important;
      gap:16px !important;
      min-width:0 !important;
    }

    .rec-card{
      overflow:hidden !important;
      border:1px solid var(--card-border,#eadfd4) !important;
      border-radius:24px !important;
      background:#ffffff !important;
      box-shadow:0 12px 30px rgba(34,20,12,.08) !important;
      display:grid !important;
      grid-template-columns:44% minmax(0,1fr) !important;
      min-height:210px !important;
    }

    .rec-large{
      grid-template-columns:1fr !important;
      min-height:436px !important;
    }

    .rec-image{
      overflow:hidden !important;
      background:#fff !important;
      min-height:0 !important;
    }

    .rec-image img{
      width:100% !important;
      height:100% !important;
      object-fit:cover !important;
      object-position:center !important;
      display:block !important;
    }

    .rec-large .rec-image{
      height:260px !important;
    }

    .rec-content{
      padding:16px !important;
      display:flex !important;
      flex-direction:column !important;
      justify-content:center !important;
      gap:8px !important;
      min-width:0 !important;
    }

    .rec-tag{
      width:max-content !important;
      max-width:100% !important;
      padding:7px 10px !important;
      border-radius:999px !important;
      background:#fff4ee !important;
      color:var(--red,#c90c12) !important;
      font-size:11px !important;
      font-weight:950 !important;
    }

    .rec-content h3{
      margin:0 !important;
      color:#181311 !important;
      font-size:clamp(19px,2vw,32px) !important;
      line-height:1.05 !important;
      letter-spacing:-.045em !important;
      font-weight:950 !important;
    }

    .rec-content p{
      margin:0 !important;
      color:var(--red,#c90c12) !important;
      font-weight:850 !important;
    }

    .rec-content strong{
      color:var(--red,#c90c12) !important;
      font-size:22px !important;
      font-weight:950 !important;
    }

    .rec-order-btn{
      margin-top:4px !important;
      background:var(--red,#c90c12) !important;
      color:#fff !important;
      border-radius:15px !important;
      width:max-content !important;
      min-width:132px !important;
    }

    /* Keep product images correct: fill container without distortion */
    .product-media{
      aspect-ratio:4 / 3 !important;
      height:auto !important;
      min-height:0 !important;
      overflow:hidden !important;
      background:#fff !important;
    }

    .product-media img{
      width:100% !important;
      height:100% !important;
      object-fit:cover !important;
      object-position:center center !important;
      padding:0 !important;
      margin:0 !important;
      display:block !important;
      transform:none !important;
    }

    .product-media img[src^="data:image/svg+xml"]{
      object-fit:cover !important;
    }

    /* Sticky category bar */
    .floating-category-bar{
      position:fixed !important;
      left:0 !important;
      right:0 !important;
      z-index:79 !important;
      display:block !important;
      background:rgba(255,248,240,.96) !important;
      border-bottom:1px solid var(--card-border,#eadfd4) !important;
      box-shadow:0 12px 30px rgba(34,20,12,.10) !important;
      -webkit-backdrop-filter:blur(12px) !important;
      backdrop-filter:blur(12px) !important;
      transform:translateY(-120%) !important;
      opacity:0 !important;
      pointer-events:none !important;
      transition:transform .22s ease, opacity .22s ease !important;
    }

    .floating-category-bar.show{
      transform:translateY(0) !important;
      opacity:1 !important;
      pointer-events:auto !important;
    }

    .floating-category-inner{
      width:min(var(--max,1360px), calc(100% - 22px)) !important;
      margin:0 auto !important;
      display:flex !important;
      gap:10px !important;
      overflow-x:auto !important;
      padding:10px 0 !important;
      scrollbar-width:none !important;
      -webkit-overflow-scrolling:touch !important;
    }

    .floating-category-inner::-webkit-scrollbar{
      display:none !important;
    }

    .floating-category-inner .cat-btn{
      flex:0 0 auto !important;
      min-height:52px !important;
      background:#fff !important;
      color:#181311 !important;
    }

    .cat-btn.active,
    .floating-category-inner .cat-btn.active{
      background:#fff8f0 !important;
      color:#181311 !important;
      border-color:var(--red,#c90c12) !important;
      box-shadow:inset 0 0 0 2px rgba(201,12,18,.18), 0 12px 26px rgba(34,20,12,.09) !important;
    }

    .cat-btn.active span,
    .floating-category-inner .cat-btn.active span{
      color:#181311 !important;
    }

    .cat-btn.active .cat-icon{
      background:#fff !important;
      color:var(--red,#c90c12) !important;
    }

    /* Attach categories, search, product list cleanly */
    #categories .section-head + .category-strip{
      border-radius:0 !important;
      border-bottom:0 !important;
      margin-bottom:0 !important;
    }

    #food-list{
      margin-top:0 !important;
      padding-top:0 !important;
    }

    #food-list::before{
      display:none !important;
    }

    #food-list .section-head{
      margin:0 !important;
      padding:0 18px 16px !important;
      border:1px solid var(--card-border,#eadfd4) !important;
      border-top:0 !important;
      border-radius:0 !important;
      background:#fff8f0 !important;
      box-shadow:0 18px 42px rgba(34,20,12,.085) !important;
      align-items:stretch !important;
    }

    #food-list .section-head .eyebrow,
    #food-list .section-head .section-title{
      display:none !important;
    }

    #food-list .section-head .search-wrap{
      width:100% !important;
      max-width:none !important;
      margin:0 !important;
      background:#fff !important;
      border-color:var(--card-border,#eadfd4) !important;
      box-shadow:0 10px 24px rgba(34,20,12,.075) !important;
    }

    #food-list .section-head + .product-grid{
      margin-top:0 !important;
      border-top:0 !important;
      border-radius:0 0 26px 26px !important;
    }

    @media(max-width:900px){
      .recommended-feature-grid{
        grid-template-columns:1fr !important;
      }

      .rec-side{
        grid-template-columns:1fr 1fr !important;
        grid-template-rows:auto !important;
      }

      .rec-card,
      .rec-large{
        display:block !important;
        min-height:0 !important;
      }

      .rec-card .rec-image{
        height:180px !important;
      }

      .rec-large .rec-image{
        height:240px !important;
      }

      .rec-order-btn{
        width:100% !important;
      }
    }

    @media(max-width:540px){
      .recommended-feature-grid{
        padding:14px !important;
      }

      .rec-side{
        grid-template-columns:1fr !important;
      }

      .rec-card .rec-image,
      .rec-large .rec-image{
        height:210px !important;
      }

      #food-list .section-head{
        padding:0 14px 14px !important;
      }
    }


    /* === Mobile: replace top links with hamburger + compact Recommended === */
    .hamburger-btn{
      display:none;
      width:46px;
      height:46px;
      align-items:center;
      justify-content:center;
      flex-direction:column;
      gap:5px;
      border:1px solid var(--card-border,#eadfd4);
      border-radius:15px;
      background:#ffffff;
      box-shadow:0 8px 22px rgba(34,20,12,.07);
    }
    .hamburger-btn span{
      width:21px;
      height:2px;
      border-radius:999px;
      background:#181311;
      display:block;
    }
    .mobile-nav-drawer{
      position:fixed;
      inset:0;
      z-index:120;
      display:none;
      background:rgba(24,18,14,.42);
      padding:12px;
      padding-top:max(12px, env(safe-area-inset-top));
      padding-bottom:max(12px, env(safe-area-inset-bottom));
    }
    .mobile-nav-drawer.show{
      display:flex;
      justify-content:flex-end;
    }
    .mobile-nav-panel{
      width:min(86vw, 340px);
      height:100%;
      overflow:auto;
      border-radius:26px;
      background:#fff8f0;
      border:1px solid var(--card-border,#eadfd4);
      box-shadow:0 30px 80px rgba(0,0,0,.25);
      padding:16px;
      display:grid;
      align-content:start;
      gap:10px;
    }
    .mobile-nav-head{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:12px;
      margin-bottom:6px;
      padding-bottom:12px;
      border-bottom:1px solid var(--card-border,#eadfd4);
    }
    .mobile-nav-head strong{
      font-size:22px;
      font-weight:950;
      color:#181311;
    }
    .mobile-nav-close{
      width:42px;
      height:42px;
      border:0;
      border-radius:999px;
      background:#ffffff;
      color:#c90c12;
      font-size:26px;
      line-height:1;
      font-weight:950;
      box-shadow:0 8px 20px rgba(34,20,12,.08);
    }
    .mobile-nav-panel a{
      min-height:52px;
      display:flex;
      align-items:center;
      padding:0 16px;
      border-radius:17px;
      background:#ffffff;
      color:#181311;
      font-weight:950;
      border:1px solid var(--card-border,#eadfd4);
      box-shadow:0 8px 20px rgba(34,20,12,.05);
    }
    .mobile-nav-panel a[data-nav-category]{
      color:#c90c12;
      background:#fff4ee;
    }

    @media(max-width:760px){
      /* Hide the circled link bar; use hamburger instead */
      .navbar{
        min-height:78px !important;
        flex-wrap:nowrap !important;
        padding-bottom:0 !important;
      }
      .nav-links{
        display:none !important;
      }
      .hamburger-btn{
        display:inline-flex !important;
      }
      .brand{
        flex:1 1 auto !important;
      }
      .nav-actions{
        flex:0 0 auto !important;
        gap:8px !important;
      }

      /* Compact mobile recommended: 1 wide + 2 small, no huge vertical space */
      #recommended .section-head{
        border-radius:24px 24px 0 0 !important;
        padding:16px !important;
      }
      .recommended-feature-grid{
        grid-template-columns:1fr 1fr !important;
        gap:10px !important;
        padding:12px !important;
        border-radius:0 0 24px 24px !important;
      }
      .rec-side{
        display:contents !important;
      }
      .rec-card,
      .rec-large{
        display:block !important;
        min-height:0 !important;
        border-radius:20px !important;
      }
      .rec-large{
        grid-column:1 / -1 !important;
      }
      .rec-card .rec-image,
      .rec-large .rec-image{
        height:128px !important;
      }
      .rec-content{
        padding:11px !important;
        gap:5px !important;
      }
      .rec-tag{
        padding:5px 8px !important;
        font-size:10px !important;
      }
      .rec-content h3{
        font-size:16px !important;
        line-height:1.08 !important;
        display:-webkit-box;
        -webkit-line-clamp:2;
        -webkit-box-orient:vertical;
        overflow:hidden;
      }
      .rec-content p{
        font-size:12px !important;
        line-height:1.2 !important;
        white-space:nowrap;
        overflow:hidden;
        text-overflow:ellipsis;
      }
      .rec-content strong{
        font-size:17px !important;
      }
      .rec-order-btn{
        width:100% !important;
        min-width:0 !important;
        min-height:38px !important;
        padding:8px 10px !important;
        border-radius:13px !important;
        font-size:12px !important;
      }
    }
    @media(max-width:380px){
      .rec-card .rec-image,
      .rec-large .rec-image{
        height:112px !important;
      }
      .rec-content h3{
        font-size:15px !important;
      }
    }


    /* === Remove drawer category shortcuts + Arabic language button === */
    .language-toggle{
      min-height:46px;
      display:inline-flex;
      align-items:center;
      justify-content:center;
      padding:0 13px;
      border:1px solid var(--card-border,#eadfd4);
      border-radius:15px;
      background:#fff8f0;
      color:var(--red,#c90c12);
      font-weight:950;
      box-shadow:0 8px 22px rgba(34,20,12,.07);
      white-space:nowrap;
    }

    .drawer-language-toggle{
      width:100%;
      min-height:52px;
      border:0;
      border-radius:17px;
      background:var(--red,#c90c12);
      color:#ffffff;
      font-weight:950;
      font-size:17px;
      box-shadow:0 14px 30px rgba(201,12,18,.18);
      margin-bottom:2px;
    }

    body.is-arabic .brand-copy span{
      letter-spacing:.12em;
    }

    body.is-arabic .mobile-nav-panel{
      direction:rtl;
      text-align:right;
    }

    body.is-arabic .mobile-nav-head{
      direction:rtl;
    }

    body.is-arabic .mobile-nav-panel a{
      justify-content:flex-start;
      font-family:inherit;
    }

    @media(max-width:420px){
      .language-toggle{
        min-height:42px;
        padding:0 10px;
        font-size:12px;
        border-radius:14px;
      }
    }


    /* === Full Arabic version controlled by language button === */
    .language-toggle{
      min-height:46px;
      display:inline-flex;
      align-items:center;
      justify-content:center;
      padding:0 13px;
      border:1px solid var(--card-border,#eadfd4);
      border-radius:15px;
      background:#fff8f0;
      color:var(--red,#c90c12);
      font-weight:950;
      box-shadow:0 8px 22px rgba(34,20,12,.07);
      white-space:nowrap;
    }

    .drawer-language-toggle{
      width:100%;
      min-height:52px;
      border:0;
      border-radius:17px;
      background:var(--red,#c90c12);
      color:#ffffff;
      font-weight:950;
      font-size:17px;
      box-shadow:0 14px 30px rgba(201,12,18,.18);
      margin:0 0 10px;
    }

    body.is-arabic{
      direction:rtl;
    }

    body.is-arabic .navbar,
    body.is-arabic .brand,
    body.is-arabic .nav-actions,
    body.is-arabic .hero-inner,
    body.is-arabic .price-row,
    body.is-arabic .cart-head,
    body.is-arabic .total-line,
    body.is-arabic .footer-inner,
    body.is-arabic .modal-top,
    body.is-arabic .modal-actions,
    body.is-arabic .location-copy{
      direction:rtl;
    }

    body.is-arabic .brand-copy,
    body.is-arabic .product-info,
    body.is-arabic .rec-content,
    body.is-arabic .cart-item,
    body.is-arabic .footer,
    body.is-arabic .modal-card,
    body.is-arabic .location-copy{
      text-align:right;
    }

    body.is-arabic .section-head,
    body.is-arabic .location-copy{
      text-align:center;
    }

    body.is-arabic .product-info .ar{
      text-align:right;
      direction:ltr;
      color:#7b726c !important;
      font-weight:800;
    }

    body.is-arabic .product-info h3{
      direction:rtl;
      text-align:right;
    }

    body.is-arabic .desc{
      direction:rtl;
      text-align:right;
    }

    body.is-arabic .search-wrap{
      direction:rtl;
    }

    body.is-arabic .search-wrap input{
      text-align:right;
      direction:rtl;
    }

    body.is-arabic .mobile-nav-panel,
    body.is-arabic .mobile-nav-head{
      direction:rtl;
      text-align:right;
    }

    body.is-arabic .mobile-nav-panel a{
      justify-content:flex-start;
    }

    body.is-arabic .rec-order-btn,
    body.is-arabic .add-btn,
    body.is-arabic .custom-btn,
    body.is-arabic .whatsapp-btn,
    body.is-arabic .modal-add,
    body.is-arabic .map-link{
      direction:rtl;
    }

    body.is-arabic .cart-item{
      grid-template-columns:auto minmax(0,1fr) 58px;
    }

    body.is-arabic .cart-item img{
      order:3;
    }

    body.is-arabic .cart-remove{
      order:1;
    }

    body.is-arabic .cart-item div{
      order:2;
    }

    @media(max-width:420px){
      .language-toggle{
        min-height:42px;
        padding:0 10px;
        font-size:12px;
        border-radius:14px;
      }
    }


    /* === Arabic category labels polish === */
    body.is-arabic .cat-btn{
      direction:rtl;
      gap:10px;
    }

    body.is-arabic .category-strip .cat-btn span:last-child,
    body.is-arabic .floating-category-inner .cat-btn span:last-child{
      font-weight:950;
      letter-spacing:0;
      white-space:nowrap;
    }

    body.is-arabic .category-strip,
    body.is-arabic .floating-category-inner{
      direction:rtl;
    }


    /* === Final desktop-wide layout + professional navbar + My Order drawer === */
    :root{ --max:100%; }
    html,body{width:100%;max-width:100%;overflow-x:hidden;}
    .shell{width:calc(100% - 40px)!important;max-width:none!important;margin-left:auto!important;margin-right:auto!important;}
    .layout{grid-template-columns:1fr!important;max-width:none!important;width:calc(100% - 40px)!important;margin-left:auto!important;margin-right:auto!important;}
    .main-column{width:100%!important;max-width:none!important;}
    .right-cart{display:none!important;}

    .navbar{min-height:76px!important;display:flex!important;align-items:center!important;gap:16px!important;}
    .brand{flex:0 0 auto!important;gap:0!important;}
    .brand-copy{display:none!important;}
    .brand-mark{width:58px!important;height:58px!important;min-width:58px!important;}

    .nav-links{display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;flex:1 1 auto!important;min-width:0!important;width:auto!important;overflow-x:auto!important;white-space:nowrap!important;padding:6px!important;border-radius:999px!important;background:#fff!important;scrollbar-width:none!important;}
    .nav-links::-webkit-scrollbar{display:none!important;}
    .nav-links a,.nav-links .nav-language-toggle{min-height:42px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;border-radius:999px!important;padding:0 17px!important;font-size:13px!important;font-weight:950!important;border:0!important;box-shadow:none!important;background:transparent!important;color:#181311!important;flex:0 0 auto!important;}
    .nav-links a:hover,.nav-links a.is-active{background:#fff1ed!important;color:var(--red,#c90c12)!important;}
    .nav-links .nav-language-toggle{background:var(--red,#c90c12)!important;color:#fff!important;padding:0 14px!important;margin-left:4px!important;}

    .nav-actions{flex:0 0 auto!important;gap:10px!important;}
    .cart-chip{display:none!important;}

    @media(min-width:1180px){
      .product-grid{grid-template-columns:repeat(auto-fill,minmax(240px,1fr))!important;}
      .recommended-feature-grid{grid-template-columns:minmax(0,1.25fr) minmax(340px,.75fr)!important;}
      .hero-inner{grid-template-columns:minmax(0,1fr) minmax(480px,.78fr)!important;}
    }
    @media(min-width:1600px){
      .shell,.layout{width:calc(100% - 64px)!important;}
      .product-grid{grid-template-columns:repeat(auto-fill,minmax(260px,1fr))!important;}
    }

    .myorder-floating-btn,.mobile-cart-toggle.myorder-floating-btn{position:fixed!important;right:18px!important;top:50%!important;bottom:auto!important;transform:translateY(-50%)!important;z-index:90!important;min-height:58px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;padding:0 18px!important;border-radius:999px!important;background:var(--red,#c90c12)!important;color:#fff!important;font-size:16px!important;font-weight:950!important;box-shadow:0 20px 48px rgba(201,12,18,.34)!important;}
    .myorder-floating-btn .cart-badge{background:#f6c62a!important;color:#6c1100!important;}

    .mobile-drawer{z-index:110!important;align-items:center!important;justify-content:flex-end!important;padding:18px!important;background:rgba(24,18,14,.42)!important;}
    .mobile-drawer.show{display:flex!important;}
    .drawer-inner{width:min(430px,calc(100vw - 30px))!important;max-height:calc(100vh - 36px)!important;max-height:calc(100dvh - 36px)!important;overflow:auto!important;margin-left:auto!important;}
    .drawer-close{float:none!important;margin:0 0 10px auto!important;display:grid!important;}

    body.is-arabic .myorder-floating-btn{right:auto!important;left:18px!important;direction:rtl;}
    body.is-arabic .nav-links .nav-language-toggle{margin-left:0!important;margin-right:4px!important;}

    @media(max-width:760px){
      .shell,.layout{width:calc(100% - 22px)!important;}
      .navbar{min-height:78px!important;flex-wrap:nowrap!important;padding-bottom:0!important;}
      .nav-links{display:none!important;}
      .hamburger-btn{display:inline-flex!important;}
      .brand-mark{width:52px!important;height:52px!important;min-width:52px!important;}
      .myorder-floating-btn,.mobile-cart-toggle.myorder-floating-btn{top:auto!important;right:16px!important;bottom:max(16px,env(safe-area-inset-bottom))!important;transform:none!important;min-height:56px!important;padding:0 18px!important;}
      body.is-arabic .myorder-floating-btn{left:16px!important;right:auto!important;}
      .mobile-drawer{align-items:flex-end!important;padding:12px!important;padding-bottom:max(12px,env(safe-area-inset-bottom))!important;}
      .drawer-inner{width:100%!important;max-height:86vh!important;max-height:86dvh!important;}
    }


    /* === Final polish: fixed content width, compact navbar, restored brand, edge cart badge === */

    :root{
      --max: 1480px !important;
      --nav-compact-bg:#ffffff;
      --cart-edge:#0f9f5a;
      --cart-edge-dark:#087243;
    }

    .shell,
    .layout{
      width:min(var(--max), calc(100% - 40px)) !important;
      max-width:var(--max) !important;
      margin-left:auto !important;
      margin-right:auto !important;
    }

    .main-column{
      max-width:100% !important;
    }

    @media(min-width:1600px){
      .shell,
      .layout{
        width:min(var(--max), calc(100% - 64px)) !important;
        max-width:var(--max) !important;
      }
    }

    .navbar{
      justify-content:space-between !important;
      gap:14px !important;
    }

    .brand{
      gap:12px !important;
      flex:0 0 auto !important;
      min-width:max-content !important;
    }

    .brand-copy{
      display:block !important;
    }

    .brand-copy strong{
      display:block !important;
      color:var(--red,#c90c12) !important;
      font-size:18px !important;
      line-height:.95 !important;
      font-weight:950 !important;
      letter-spacing:-.045em !important;
    }

    .brand-copy span{
      display:block !important;
      margin-top:4px !important;
      color:#181311 !important;
      font-size:10px !important;
      font-weight:950 !important;
      letter-spacing:.22em !important;
      text-transform:uppercase !important;
      white-space:nowrap !important;
    }

    /* Remove geographic location from navbar */
    .location-chip{
      display:none !important;
    }

    /* Compact nav pill: no full-width pill on desktop */
    .nav-links{
      flex:0 1 auto !important;
      width:auto !important;
      min-width:0 !important;
      justify-content:center !important;
      padding:4px !important;
      gap:4px !important;
      border-radius:999px !important;
      background:var(--nav-compact-bg) !important;
      box-shadow:0 8px 22px rgba(34,20,12,.055) !important;
    }

    .nav-links a,
    .nav-links .nav-language-toggle{
      min-height:38px !important;
      padding:0 14px !important;
      font-size:12px !important;
      border-radius:999px !important;
    }

    .nav-links .nav-language-toggle{
      margin-left:4px !important;
      padding:0 13px !important;
    }

    .nav-actions{
      flex:0 0 auto !important;
    }

    /*
      Cart trigger: attached to the edge, not red, compact, icon + badge only.
      It opens the same order drawer.
    */
    .myorder-floating-btn,
    .mobile-cart-toggle.myorder-floating-btn{
      position:fixed !important;
      right:0 !important;
      top:50% !important;
      bottom:auto !important;
      transform:translateY(-50%) !important;
      z-index:96 !important;
      min-width:74px !important;
      width:74px !important;
      min-height:64px !important;
      height:64px !important;
      padding:0 !important;
      border-radius:22px 0 0 22px !important;
      background:linear-gradient(135deg, var(--cart-edge), var(--cart-edge-dark)) !important;
      color:#ffffff !important;
      display:flex !important;
      align-items:center !important;
      justify-content:center !important;
      gap:0 !important;
      font-size:24px !important;
      box-shadow:0 18px 42px rgba(15,159,90,.34) !important;
      border:1px solid rgba(255,255,255,.22) !important;
      border-right:0 !important;
    }

    .myorder-floating-btn .cart-badge{
      position:absolute !important;
      top:7px !important;
      right:7px !important;
      min-width:22px !important;
      height:22px !important;
      padding:0 6px !important;
      background:#f6c62a !important;
      color:#5b2300 !important;
      font-size:11px !important;
      font-weight:950 !important;
      box-shadow:0 4px 10px rgba(0,0,0,.18) !important;
    }

    body.is-arabic .myorder-floating-btn{
      right:auto !important;
      left:0 !important;
      border-radius:0 22px 22px 0 !important;
      border-right:1px solid rgba(255,255,255,.22) !important;
      border-left:0 !important;
    }

    body.is-arabic .myorder-floating-btn .cart-badge{
      right:auto !important;
      left:7px !important;
    }

    /* Sticky categories must touch the navbar directly, no gap. */
    .floating-category-bar{
      margin:0 !important;
      border-top:0 !important;
      box-shadow:0 12px 26px rgba(34,20,12,.10) !important;
    }

    .floating-category-inner{
      padding:8px 0 !important;
    }

    @media(max-width:760px){
      .shell,
      .layout{
        width:calc(100% - 22px) !important;
        max-width:none !important;
      }

      .brand-copy{
        display:block !important;
      }

      .brand-copy strong{
        font-size:16px !important;
      }

      .brand-copy span{
        font-size:9px !important;
        letter-spacing:.18em !important;
      }

      .nav-links{
        display:none !important;
      }

      .myorder-floating-btn,
      .mobile-cart-toggle.myorder-floating-btn{
        top:50% !important;
        right:0 !important;
        bottom:auto !important;
        transform:translateY(-50%) !important;
        width:64px !important;
        min-width:64px !important;
        height:58px !important;
        min-height:58px !important;
        border-radius:20px 0 0 20px !important;
        font-size:22px !important;
      }

      body.is-arabic .myorder-floating-btn{
        left:0 !important;
        right:auto !important;
        border-radius:0 20px 20px 0 !important;
      }

      .myorder-floating-btn .cart-badge{
        top:6px !important;
        right:5px !important;
      }

      body.is-arabic .myorder-floating-btn .cart-badge{
        left:5px !important;
        right:auto !important;
      }
    }

    @media(max-width:380px){
      .brand-copy strong{
        font-size:14px !important;
      }

      .brand-copy span{
        display:none !important;
      }
    }


    /* === Final fix: category bar sticks to the very top with no visible gap === */

    .floating-category-bar{
      top:0 !important;
      margin-top:0 !important;
      z-index:140 !important;
      transform:translateY(-110%) !important;
      border-top:0 !important;
      background:#fff8f0 !important;
      box-shadow:0 10px 28px rgba(34,20,12,.16) !important;
    }

    .floating-category-bar.show{
      top:0 !important;
      transform:translateY(0) !important;
      opacity:1 !important;
      pointer-events:auto !important;
    }

    .floating-category-inner{
      padding:8px 0 !important;
    }

    /* When the floating category bar is visible, it becomes the top navigation layer. */
    body.categories-floating-active .navbar-wrap{
      transform:translateY(-110%) !important;
      opacity:0 !important;
      pointer-events:none !important;
      transition:transform .18s ease, opacity .18s ease !important;
    }

    body:not(.categories-floating-active) .navbar-wrap{
      transform:translateY(0) !important;
      opacity:1 !important;
      transition:transform .18s ease, opacity .18s ease !important;
    }

    /* Prevent the anchored product area from hiding behind the fixed categories bar. */
    body.categories-floating-active #food-list{
      scroll-margin-top:78px !important;
    }

    @media(max-width:760px){
      .floating-category-inner{
        width:calc(100% - 18px) !important;
        padding:7px 0 !important;
      }

      body.categories-floating-active #food-list{
        scroll-margin-top:72px !important;
      }
    }


    /* === Customization modal always above sticky bars === */

    /* The customization drawer/modal must always be the top visual layer. */
    .modal,
    #customModal,
    #menuModal{
      z-index:500 !important;
    }

    #customModal.show,
    #menuModal.show{
      z-index:520 !important;
    }

    #customModal .modal-card,
    #menuModal .modal-card{
      position:relative !important;
      z-index:530 !important;
      max-height:calc(100vh - 48px) !important;
      max-height:calc(100dvh - 48px) !important;
      overflow:hidden !important;
    }

    #customModal .modal-body{
      min-height:0 !important;
      overflow:auto !important;
      -webkit-overflow-scrolling:touch !important;
    }

    /* When any modal is open, hide sticky/floating elements that can cover it. */
    body.modal-layer-open .floating-category-bar,
    body.modal-layer-open .myorder-floating-btn,
    body.modal-layer-open .mobile-cart-toggle.myorder-floating-btn{
      opacity:0 !important;
      visibility:hidden !important;
      pointer-events:none !important;
    }

    body.modal-layer-open .navbar-wrap{
      transform:translateY(-110%) !important;
      opacity:0 !important;
      pointer-events:none !important;
    }

    /* Extra safe desktop spacing so the modal is centered and fully visible. */
    @media(min-width:761px){
      #customModal{
        align-items:center !important;
        justify-items:center !important;
        padding:24px !important;
      }

      #customModal .modal-card{
        width:min(980px, calc(100vw - 48px)) !important;
      }

      #customModal .modal-photo img{
        max-height:360px !important;
      }
    }

    /* Mobile bottom sheet remains scrollable and never hidden by browser safe area. */
    @media(max-width:760px){
      #customModal{
        z-index:520 !important;
        align-items:flex-end !important;
        padding:10px !important;
        padding-bottom:max(10px, env(safe-area-inset-bottom)) !important;
      }

      #customModal .modal-card{
        width:100% !important;
        max-height:calc(100vh - 22px) !important;
        max-height:calc(100dvh - 22px) !important;
        border-radius:26px 26px 18px 18px !important;
      }

      #customModal .modal-body{
        max-height:calc(100vh - 104px) !important;
        max-height:calc(100dvh - 104px) !important;
      }

      #customModal .modal-actions{
        position:sticky !important;
        bottom:0 !important;
        z-index:10 !important;
      }
    }


    /* === Professional fix: prevent duplicate category bars === */

    /*
      The floating category bar should only appear after the original category bar
      has fully left the viewport. This prevents seeing two category bars at once.
    */
    .floating-category-bar{
      top:0 !important;
      z-index:140 !important;
    }

    .floating-category-bar:not(.show){
      opacity:0 !important;
      visibility:hidden !important;
      pointer-events:none !important;
      transform:translateY(-110%) !important;
    }

    .floating-category-bar.show{
      opacity:1 !important;
      visibility:visible !important;
      pointer-events:auto !important;
      transform:translateY(0) !important;
    }

    /* Extra safety: if floating bar is active, the original category strip should not duplicate visually. */
    body.floating-categories-visible #categories .category-strip{
      opacity:0 !important;
      visibility:hidden !important;
      pointer-events:none !important;
    }

    /* But keep the original layout height so the page does not jump while scrolling. */
    body.floating-categories-visible #categories .category-strip{
      min-height:72px !important;
    }

    @media(max-width:760px){
      body.floating-categories-visible #categories .category-strip{
        min-height:68px !important;
      }
    }


    /* === Premium scrollbar styling for cart and drawers === */

    /*
      Make the order drawer feel intentional:
      - one clean inner scroll area for cart items
      - thin rounded scrollbar
      - soft track matching the card background
      - stronger thumb that is visible but not distracting
    */

    .mobile-drawer.show{
      overflow:hidden !important;
    }

    .drawer-inner{
      overflow:hidden !important;
      border-radius:28px !important;
    }

    .drawer-inner .cart-panel,
    #mobileCart .cart-panel{
      max-height:calc(100vh - 72px) !important;
      max-height:calc(100dvh - 72px) !important;
      display:flex !important;
      flex-direction:column !important;
      overflow:hidden !important;
    }

    .cart-items{
      flex:1 1 auto !important;
      min-height:0 !important;
      max-height:none !important;
      overflow-y:auto !important;
      overflow-x:hidden !important;
      padding-right:10px !important;
      margin-right:-4px !important;
      scrollbar-gutter:stable !important;
      -webkit-overflow-scrolling:touch !important;
      scrollbar-width:thin !important;
      scrollbar-color:#c90c12 #fff1e8 !important;
    }

    .cart-items::-webkit-scrollbar,
    .modal-body::-webkit-scrollbar,
    .drawer-inner::-webkit-scrollbar,
    .mobile-nav-panel::-webkit-scrollbar{
      width:8px;
      height:8px;
    }

    .cart-items::-webkit-scrollbar-track,
    .modal-body::-webkit-scrollbar-track,
    .drawer-inner::-webkit-scrollbar-track,
    .mobile-nav-panel::-webkit-scrollbar-track{
      background:#fff1e8;
      border-radius:999px;
      margin:8px 0;
    }

    .cart-items::-webkit-scrollbar-thumb,
    .modal-body::-webkit-scrollbar-thumb,
    .drawer-inner::-webkit-scrollbar-thumb,
    .mobile-nav-panel::-webkit-scrollbar-thumb{
      background:linear-gradient(180deg, #c90c12, #8f0509);
      border-radius:999px;
      border:2px solid #fff1e8;
      min-height:42px;
    }

    .cart-items::-webkit-scrollbar-thumb:hover,
    .modal-body::-webkit-scrollbar-thumb:hover,
    .drawer-inner::-webkit-scrollbar-thumb:hover,
    .mobile-nav-panel::-webkit-scrollbar-thumb:hover{
      background:linear-gradient(180deg, #e0181f, #a5070c);
    }

    .cart-items::-webkit-scrollbar-corner,
    .modal-body::-webkit-scrollbar-corner,
    .drawer-inner::-webkit-scrollbar-corner,
    .mobile-nav-panel::-webkit-scrollbar-corner{
      background:transparent;
    }

    /* A soft fade at the bottom/top of the scrollable cart list for a cleaner visual edge. */
    .cart-items{
      mask-image:linear-gradient(to bottom, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%);
      -webkit-mask-image:linear-gradient(to bottom, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%);
    }

    .cart-item{
      margin-right:2px !important;
    }

    /* Keep totals and WhatsApp button fixed at bottom of the drawer while only items scroll. */
    .cart-totals,
    .whatsapp-btn,
    .note{
      flex:0 0 auto !important;
    }

    /* Improve page scrollbar too, so the whole website feels consistent on desktop. */
    html{
      scrollbar-width:thin;
      scrollbar-color:#c90c12 #fff8f0;
    }

    body::-webkit-scrollbar{
      width:10px;
    }

    body::-webkit-scrollbar-track{
      background:#fff8f0;
    }

    body::-webkit-scrollbar-thumb{
      background:linear-gradient(180deg, #c90c12, #8f0509);
      border-radius:999px;
      border:2px solid #fff8f0;
    }

    @media(max-width:760px){
      .drawer-inner .cart-panel,
      #mobileCart .cart-panel{
        max-height:calc(86vh - 16px) !important;
        max-height:calc(86dvh - 16px) !important;
      }

      .cart-items{
        padding-right:8px !important;
      }
    }

    body.is-arabic .cart-items{
      padding-right:0 !important;
      padding-left:10px !important;
      margin-right:0 !important;
      margin-left:-4px !important;
    }


    /* === Three-step checkout flow inspired by the reference screenshots === */
    .ak-checkout{
      position:fixed;
      inset:0;
      z-index:900;
      display:none;
      background:#ffffff;
      color:#0f1c2b;
      font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    }

    .ak-checkout.show{
      display:block;
    }

    .ak-checkout-shell{
      width:100%;
      height:100%;
      display:grid;
      grid-template-rows:auto auto minmax(0,1fr) auto;
      background:#fff;
    }

    .ak-checkout-topbar{
      min-height:58px;
      display:flex;
      align-items:center;
      gap:12px;
      padding:0 min(6vw, 180px);
      background:#7b4a35;
      color:#fff;
      box-shadow:0 2px 12px rgba(0,0,0,.08);
    }

    .ak-checkout-back,
    .ak-checkout-close{
      width:40px;
      height:40px;
      border:0;
      border-radius:999px;
      background:rgba(255,255,255,.12);
      color:#fff;
      font-size:22px;
      font-weight:900;
    }

    .ak-checkout-close{
      margin-left:auto;
      background:#fff;
      color:#c9254a;
    }

    .ak-checkout-area{
      min-height:30px;
      display:inline-flex;
      align-items:center;
      padding:0 12px;
      border:1px solid rgba(255,255,255,.8);
      border-radius:999px;
      font-size:13px;
      font-weight:850;
    }

    .ak-checkout-topbar strong{
      font-size:17px;
      font-weight:950;
    }

    .ak-stepper{
      position:relative;
      display:grid;
      grid-template-columns:repeat(3, 1fr);
      align-items:start;
      gap:10px;
      padding:18px min(6vw, 180px) 26px;
      background:#fff;
      border-bottom:1px solid #eef0f2;
    }

    .ak-stepper::before{
      content:"";
      position:absolute;
      left:0;
      right:0;
      top:36px;
      height:4px;
      background:#d2274f;
      transform:translateY(-50%);
      z-index:0;
    }

    .ak-step{
      position:relative;
      z-index:1;
      display:grid;
      justify-items:center;
      gap:8px;
      color:#c8cdd3;
      font-size:14px;
      font-weight:850;
      text-align:center;
    }

    .ak-step span{
      width:42px;
      height:42px;
      display:grid;
      place-items:center;
      border:3px solid #f2eee8;
      border-radius:999px;
      background:#fff;
      color:#111;
      box-shadow:0 4px 14px rgba(0,0,0,.06);
    }

    .ak-step.is-active,
    .ak-step.is-complete{
      color:#d2274f;
    }

    .ak-step.is-active span,
    .ak-step.is-complete span{
      background:#d2274f;
      border-color:#d2274f;
      color:#fff;
    }

    .ak-checkout-body{
      overflow:auto;
      padding:28px min(6vw, 180px);
      -webkit-overflow-scrolling:touch;
    }

    .ak-checkout-step{
      display:none;
    }

    .ak-checkout-step.is-active{
      display:block;
    }

    .ak-checkout-step h2{
      margin:0 0 24px;
      color:#17202a;
      font-size:26px;
      line-height:1.1;
      font-weight:950;
      letter-spacing:-.04em;
    }

    .ak-form-grid{
      display:grid;
      gap:18px;
    }

    .ak-field{
      display:grid;
      gap:8px;
      color:#557082;
      font-size:14px;
      font-weight:750;
    }

    .ak-field input,
    .ak-field textarea,
    .ak-phone{
      width:100%;
      min-height:50px;
      border:0;
      outline:0;
      border-radius:12px;
      background:#eaf1f6;
      color:#111;
      font-size:16px;
      padding:0 13px;
    }

    .ak-field textarea{
      min-height:86px;
      padding:14px;
      resize:vertical;
    }

    .ak-phone{
      display:grid;
      grid-template-columns:88px 1fr;
      padding:0;
      overflow:hidden;
    }

    .ak-phone select{
      border:0;
      outline:0;
      background:#dfe9f0;
      padding:0 10px;
      font:inherit;
    }

    .ak-phone input{
      min-height:50px;
      border-radius:0;
      background:transparent;
    }

    .ak-field small{
      display:none;
      color:#bd5d38;
      font-size:14px;
      font-weight:700;
    }

    .ak-field.has-error small{
      display:block;
    }

    .ak-field-full{
      grid-column:1 / -1;
    }

    .ak-map-card{
      position:relative;
      min-height:350px;
      overflow:hidden;
      border-radius:16px;
      background:#eaf1f6;
      box-shadow:0 1px 0 rgba(0,0,0,.05);
    }

    .ak-map-card iframe{
      width:100%;
      height:420px;
      display:block;
      border:0;
    }

    .ak-current-location{
      position:absolute;
      top:16px;
      left:50%;
      transform:translateX(-50%);
      z-index:2;
      min-height:46px;
      border:0;
      border-radius:10px;
      padding:0 18px;
      background:#d2274f;
      color:#fff;
      font-weight:950;
      box-shadow:0 12px 26px rgba(210,39,79,.24);
    }

    .ak-location-note{
      margin:14px 0 0;
      color:#607282;
      font-weight:750;
    }

    .ak-summary{
      max-width:1040px;
      margin:0 auto;
      display:grid;
      gap:0;
    }

    .ak-summary-row{
      display:grid;
      grid-template-columns:1fr auto auto;
      align-items:center;
      gap:20px;
      padding:22px 0;
      border-bottom:1px solid #dfe7ee;
    }

    .ak-summary-row h3{
      margin:0 0 10px;
      font-size:15px;
      color:#0f1c2b;
      font-weight:950;
    }

    .ak-summary-row p{
      margin:0;
      color:#6e7d8d;
      font-size:13px;
      font-weight:750;
    }

    .ak-summary-price{
      min-width:90px;
      text-align:right;
      font-size:18px;
      font-weight:950;
      color:#121820;
    }

    .ak-summary-qty{
      height:42px;
      display:inline-flex;
      align-items:center;
      gap:16px;
    }

    .ak-summary-qty button{
      width:42px;
      height:42px;
      border:1px solid #dce6ee;
      border-radius:12px;
      background:#fff;
      color:#0f1c2b;
      font-weight:950;
      font-size:18px;
    }

    .ak-promo{
      max-width:1040px;
      min-height:38px;
      margin:28px auto 8px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:16px;
      padding:0 12px;
      border-radius:10px;
      background:#cfe8dc;
      color:#0f1c2b;
      font-size:14px;
    }

    .ak-promo button{
      border:0;
      background:transparent;
      color:#7b4a35;
      text-decoration:underline;
      font-weight:850;
    }

    .ak-summary-totals{
      max-width:1040px;
      margin:0 auto;
      display:grid;
      gap:10px;
      padding-top:10px;
    }

    .ak-summary-totals div{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:14px;
      color:#7787a5;
      font-weight:850;
    }

    .ak-summary-totals .ak-grand{
      color:#0f1c2b;
      font-size:20px;
      font-weight:950;
    }

    .ak-checkout-actions{
      display:grid;
      grid-template-columns:1fr 1fr;
      gap:10px;
      padding:12px min(6vw, 180px) 16px;
      background:#fff;
      border-top:1px solid #edf0f3;
      box-shadow:0 -8px 22px rgba(0,0,0,.06);
    }

    .ak-prev,
    .ak-next,
    .ak-submit{
      min-height:48px;
      border:0;
      border-radius:11px;
      font-weight:950;
    }

    .ak-prev{
      background:#eeeeee;
      color:#7f858b;
    }

    .ak-next,
    .ak-submit{
      background:#7b4a35;
      color:#fff;
    }

    .ak-submit{
      display:none;
      background:#18a84a;
    }

    .ak-checkout[data-step="3"] .ak-next{
      display:none;
    }

    .ak-checkout[data-step="3"] .ak-submit{
      display:block;
    }

    body.checkout-open{
      overflow:hidden !important;
    }

    body.checkout-open .floating-category-bar,
    body.checkout-open .myorder-floating-btn,
    body.checkout-open .mobile-cart-toggle.myorder-floating-btn,
    body.checkout-open .mobile-drawer,
    body.checkout-open .modal{
      display:none !important;
    }

    @media (min-width: 720px){
      .ak-form-grid{
        grid-template-columns:repeat(2, minmax(0,1fr));
      }
    }

    @media (max-width:760px){
      .ak-checkout-topbar,
      .ak-stepper,
      .ak-checkout-body,
      .ak-checkout-actions{
        padding-left:16px;
        padding-right:16px;
      }

      .ak-checkout-topbar{
        min-height:58px;
      }

      .ak-checkout-area{
        display:none;
      }

      .ak-stepper{
        gap:0;
        padding-top:14px;
        padding-bottom:18px;
      }

      .ak-stepper::before{
        top:32px;
      }

      .ak-step span{
        width:38px;
        height:38px;
      }

      .ak-step b{
        font-size:11px;
      }

      .ak-checkout-body{
        padding-top:20px;
        padding-bottom:20px;
      }

      .ak-checkout-step h2{
        font-size:23px;
        margin-bottom:20px;
      }

      .ak-map-card iframe{
        height:360px;
      }

      .ak-summary-row{
        grid-template-columns:1fr;
        gap:10px;
        padding:18px 0;
      }

      .ak-summary-price{
        text-align:left;
      }

      .ak-summary-qty{
        justify-content:flex-start;
      }

      .ak-promo{
        align-items:flex-start;
        flex-direction:column;
        padding:10px 12px;
      }

      .ak-checkout-actions{
        grid-template-columns:1fr 1fr;
      }

      .ak-submit{
        grid-column:1 / -1;
      }
    }

    body.is-arabic .ak-checkout,
    body.is-arabic .ak-checkout-shell{
      direction:rtl;
    }

    body.is-arabic .ak-checkout-close{
      margin-left:0;
      margin-right:auto;
    }

    body.is-arabic .ak-phone{
      grid-template-columns:1fr 88px;
    }

    body.is-arabic .ak-summary-price{
      text-align:left;
    }


    /* === Promo code UX === */
    .ak-promo{
      flex-wrap:wrap;
    }

    .ak-promo-form{
      display:flex;
      align-items:center;
      gap:8px;
      width:100%;
      margin-top:8px;
    }

    .ak-promo-form input{
      flex:1 1 auto;
      min-width:0;
      min-height:38px;
      border:1px solid rgba(123,74,53,.20);
      border-radius:10px;
      background:#ffffff;
      padding:0 12px;
      font-weight:800;
      outline:0;
    }

    .ak-promo-form button{
      min-height:38px;
      border:0;
      border-radius:10px;
      background:#7b4a35;
      color:#ffffff;
      padding:0 14px;
      font-weight:950;
      text-decoration:none;
      white-space:nowrap;
    }

    .ak-promo-message{
      width:100%;
      margin-top:6px;
      font-size:13px;
      font-weight:850;
    }

    .ak-promo-message.ok{ color:#16864a; }
    .ak-promo-message.err{ color:#c90c12; }
    .ak-discount-line{ color:#16864a !important; }

    @media(max-width:760px){
      .ak-promo-form{
        flex-direction:column;
        align-items:stretch;
      }
      .ak-promo-form button{ width:100%; }
    }


    /* === Abou Karim identity checkout + video-style add-to-cart flow === */

    /*
      Checkout identity update:
      The three checkout pages now use the same Abou Karim red / yellow / cream identity
      instead of the brown/pink reference palette.
    */
    .ak-checkout{
      background:#ffffff !important;
      color:#181311 !important;
    }

    .ak-checkout-topbar{
      background:linear-gradient(135deg, #a5070c 0%, #c90c12 58%, #7c0008 100%) !important;
      color:#ffffff !important;
      box-shadow:0 12px 34px rgba(201,12,18,.18) !important;
    }

    .ak-checkout-area{
      border-color:rgba(255,255,255,.65) !important;
      background:rgba(255,255,255,.12) !important;
      color:#ffffff !important;
    }

    .ak-checkout-back{
      background:rgba(255,255,255,.14) !important;
      color:#ffffff !important;
    }

    .ak-checkout-close{
      background:#ffffff !important;
      color:#c90c12 !important;
      box-shadow:0 10px 24px rgba(0,0,0,.15) !important;
    }

    .ak-stepper{
      background:#fff8f0 !important;
      border-bottom:1px solid #eadfd4 !important;
    }

    .ak-stepper::before{
      background:linear-gradient(90deg, #c90c12, #f6c62a, #c90c12) !important;
    }

    .ak-step{
      color:#9c918c !important;
    }

    .ak-step span{
      border-color:#eadfd4 !important;
      background:#ffffff !important;
      color:#c90c12 !important;
      box-shadow:0 8px 20px rgba(34,20,12,.08) !important;
    }

    .ak-step.is-active,
    .ak-step.is-complete{
      color:#c90c12 !important;
    }

    .ak-step.is-active span,
    .ak-step.is-complete span{
      background:#c90c12 !important;
      border-color:#c90c12 !important;
      color:#ffffff !important;
      box-shadow:0 10px 24px rgba(201,12,18,.22) !important;
    }

    .ak-checkout-body{
      background:#ffffff !important;
    }

    .ak-checkout-step h2{
      color:#181311 !important;
    }

    .ak-field{
      color:#7b726c !important;
    }

    .ak-field input,
    .ak-field textarea,
    .ak-phone{
      background:#fff8f0 !important;
      border:1px solid #eadfd4 !important;
      color:#181311 !important;
      box-shadow:0 8px 22px rgba(34,20,12,.045) !important;
    }

    .ak-phone select{
      background:#fff3e6 !important;
      color:#181311 !important;
      border-right:1px solid #eadfd4 !important;
    }

    .ak-field small{
      color:#c90c12 !important;
    }

    .ak-map-card{
      background:#fff8f0 !important;
      border:1px solid #eadfd4 !important;
      box-shadow:0 18px 42px rgba(34,20,12,.085) !important;
    }

    .ak-current-location{
      background:#c90c12 !important;
      color:#ffffff !important;
      border-radius:999px !important;
      box-shadow:0 14px 32px rgba(201,12,18,.28) !important;
    }

    .ak-location-note{
      color:#7b726c !important;
    }

    .ak-summary-row{
      border-bottom-color:#eadfd4 !important;
    }

    .ak-summary-row h3,
    .ak-summary-price,
    .ak-summary-totals .ak-grand{
      color:#181311 !important;
    }

    .ak-summary-row p,
    .ak-summary-totals div{
      color:#7b726c !important;
    }

    .ak-summary-qty button{
      border-color:#eadfd4 !important;
      background:#ffffff !important;
      color:#181311 !important;
      box-shadow:0 8px 20px rgba(34,20,12,.055) !important;
    }

    .ak-promo{
      background:#fff3e6 !important;
      border:1px solid #eadfd4 !important;
      color:#181311 !important;
      box-shadow:0 8px 22px rgba(34,20,12,.045) !important;
    }

    .ak-promo button{
      color:#c90c12 !important;
      font-weight:950 !important;
    }

    .ak-promo-form button{
      background:#c90c12 !important;
      color:#ffffff !important;
    }

    .ak-promo-message.ok,
    .ak-discount-line{
      color:#18a84a !important;
    }

    .ak-promo-message.err{
      color:#c90c12 !important;
    }

    .ak-checkout-actions{
      background:#ffffff !important;
      border-top:1px solid #eadfd4 !important;
      box-shadow:0 -10px 28px rgba(34,20,12,.08) !important;
    }

    .ak-prev{
      background:#fff8f0 !important;
      color:#7b726c !important;
      border:1px solid #eadfd4 !important;
    }

    .ak-next{
      background:#c90c12 !important;
      color:#ffffff !important;
      box-shadow:0 12px 28px rgba(201,12,18,.20) !important;
    }

    .ak-submit{
      background:#18a84a !important;
      color:#ffffff !important;
      box-shadow:0 12px 28px rgba(24,168,74,.20) !important;
    }

    /*
      Video-style add flow:
      Product cards get a small cart button like the reference app.
      Tapping it opens the customization bottom sheet first, then the user confirms "Add to Order".
    */
    .product-card{
      --quick-cart-size:46px;
    }

    .quick-cart-btn{
      position:absolute;
      right:12px;
      bottom:12px;
      z-index:6;
      width:var(--quick-cart-size);
      height:var(--quick-cart-size);
      display:grid;
      place-items:center;
      border:0;
      border-radius:999px;
      background:linear-gradient(135deg, #c90c12, #8f0509);
      color:#ffffff;
      font-size:19px;
      font-weight:950;
      box-shadow:0 14px 26px rgba(201,12,18,.28);
      transition:transform .16s ease, box-shadow .16s ease;
    }

    .quick-cart-btn:hover{
      transform:translateY(-2px) scale(1.03);
      box-shadow:0 18px 34px rgba(201,12,18,.34);
    }

    .quick-cart-btn:active{
      transform:scale(.94);
    }

    .product-card .add-btn{
      background:#c90c12 !important;
      color:#ffffff !important;
    }

    .product-card .add-btn::after{
      content:"";
    }

    .add-flow-toast{
      position:fixed;
      left:50%;
      bottom:max(22px, env(safe-area-inset-bottom));
      z-index:700;
      transform:translate(-50%, 18px);
      opacity:0;
      pointer-events:none;
      display:flex;
      align-items:center;
      gap:10px;
      min-height:48px;
      padding:0 16px;
      border-radius:999px;
      background:#181311;
      color:#ffffff;
      font-weight:950;
      box-shadow:0 18px 42px rgba(24,19,17,.22);
      transition:opacity .22s ease, transform .22s ease;
    }

    .add-flow-toast.show{
      opacity:1;
      transform:translate(-50%, 0);
    }

    .add-flow-toast span{
      width:28px;
      height:28px;
      display:grid;
      place-items:center;
      border-radius:999px;
      background:#18a84a;
    }

    .cart-fly-clone{
      position:fixed;
      z-index:690;
      width:52px;
      height:52px;
      border-radius:999px;
      background:#c90c12;
      color:#ffffff;
      display:grid;
      place-items:center;
      font-size:21px;
      box-shadow:0 18px 36px rgba(201,12,18,.30);
      pointer-events:none;
      transition:transform .62s cubic-bezier(.22,.82,.26,1), opacity .62s ease;
    }

    /* Make the customization dialog feel closer to the video reference but still on-brand. */
    #customModal .modal-card{
      background:#fff8f0 !important;
      border:1px solid #eadfd4 !important;
    }

    #customModal .modal-top{
      background:#ffffff !important;
      border-bottom:1px solid #eadfd4 !important;
    }

    #customModal .modal-top h3{
      color:#181311 !important;
    }

    #customModal .modal-photo{
      background:#fff8f0 !important;
    }

    #customModal .option-group label{
      color:#181311 !important;
    }

    #customModal .pill{
      background:#ffffff !important;
      border-color:#eadfd4 !important;
      color:#5d524d !important;
    }

    #customModal .pill.active{
      background:#fff1ed !important;
      border-color:#c90c12 !important;
      color:#c90c12 !important;
    }

    #customModal .modal-add{
      background:#c90c12 !important;
      color:#ffffff !important;
      box-shadow:0 14px 30px rgba(201,12,18,.20) !important;
    }

    @media(max-width:760px){
      .quick-cart-btn{
        width:42px;
        height:42px;
        right:10px;
        bottom:10px;
        font-size:17px;
      }

      #customModal .modal-card{
        border-radius:28px 28px 18px 18px !important;
      }

      #customModal .modal-actions{
        background:linear-gradient(180deg, rgba(255,248,240,0), #fff8f0 28%) !important;
      }

      .add-flow-toast{
        bottom:max(76px, calc(68px + env(safe-area-inset-bottom)));
        max-width:calc(100% - 28px);
        white-space:nowrap;
      }
    }

    body.is-arabic .quick-cart-btn{
      right:auto;
      left:12px;
    }

    body.is-arabic .add-flow-toast{
      direction:rtl;
    }


    /* === Cart receive animation: badge morph + glow, no flying crumbs === */

    /*
      New add interaction:
      - No crispy crumbs.
      - No flying dot.
      - No message/toast.
      - Cart receives the item visually: glow, lid-open feel, bounce, badge turns to ✓ then returns to count.
    */

    .quick-cart-btn{
      position:absolute;
      right:12px;
      bottom:12px;
      z-index:6;
      width:46px;
      height:46px;
      display:grid;
      place-items:center;
      border:0;
      border-radius:999px;
      background:linear-gradient(135deg, #c90c12, #8f0509);
      color:#ffffff;
      font-size:19px;
      font-weight:950;
      box-shadow:0 14px 26px rgba(201,12,18,.28);
      transition:transform .16s ease, box-shadow .16s ease;
    }

    .quick-cart-btn:hover{
      transform:translateY(-2px) scale(1.03);
      box-shadow:0 18px 34px rgba(201,12,18,.34);
    }

    .quick-cart-btn:active{
      transform:scale(.92);
    }

    .cart-receive-hit{
      overflow:visible !important;
      animation:cartReceiveBounce .58s cubic-bezier(.2,.82,.28,1) both;
      box-shadow:
        0 0 0 8px rgba(246,198,42,.18),
        0 0 0 18px rgba(24,168,74,.10),
        0 20px 48px rgba(15,159,90,.34) !important;
    }

    .cart-receive-hit::before{
      content:"";
      position:absolute;
      inset:-10px;
      border-radius:inherit;
      background:
        radial-gradient(circle at 50% 45%, rgba(246,198,42,.55), transparent 42%),
        radial-gradient(circle at 50% 100%, rgba(255,255,255,.28), transparent 48%);
      opacity:0;
      pointer-events:none;
      animation:cartReceiveGlow .58s ease both;
    }

    .cart-receive-hit::after{
      content:"";
      position:absolute;
      left:22%;
      right:22%;
      top:-7px;
      height:7px;
      border-radius:999px 999px 4px 4px;
      background:#f6c62a;
      transform-origin:50% 100%;
      opacity:0;
      pointer-events:none;
      animation:cartLidOpen .58s ease both;
      box-shadow:0 5px 16px rgba(246,198,42,.32);
    }

    .cart-badge.badge-check{
      background:#ffffff !important;
      color:#18a84a !important;
      animation:badgeCheckPop .62s ease both;
      min-width:25px !important;
    }

    .cart-badge.badge-count-return{
      animation:badgeCountReturn .36s ease both;
    }

    .add-btn.add-press,
    .quick-cart-btn.add-press{
      animation:addButtonCrunch .25s ease both;
    }

    @keyframes cartReceiveBounce{
      0%{ transform:translateY(-50%) scale(1); }
      28%{ transform:translateY(-50%) scale(.93) rotate(-1.5deg); }
      55%{ transform:translateY(-50%) scale(1.14) rotate(1.5deg); }
      100%{ transform:translateY(-50%) scale(1) rotate(0); }
    }

    @keyframes cartReceiveGlow{
      0%{ opacity:0; transform:scale(.82); }
      38%{ opacity:1; transform:scale(1.04); }
      100%{ opacity:0; transform:scale(1.22); }
    }

    @keyframes cartLidOpen{
      0%{ opacity:0; transform:translateY(0) rotate(0deg) scaleX(.65); }
      25%{ opacity:1; transform:translateY(-7px) rotate(-14deg) scaleX(1); }
      58%{ opacity:1; transform:translateY(-5px) rotate(10deg) scaleX(.94); }
      100%{ opacity:0; transform:translateY(0) rotate(0deg) scaleX(.72); }
    }

    @keyframes badgeCheckPop{
      0%{ transform:scale(.78); }
      44%{ transform:scale(1.28); }
      100%{ transform:scale(1); }
    }

    @keyframes badgeCountReturn{
      0%{ transform:scale(.76); }
      70%{ transform:scale(1.16); }
      100%{ transform:scale(1); }
    }

    @keyframes addButtonCrunch{
      0%{ transform:scale(1); }
      45%{ transform:scale(.94); }
      100%{ transform:scale(1); }
    }

    @media(max-width:760px){
      .quick-cart-btn{
        width:42px;
        height:42px;
        right:10px;
        bottom:10px;
        font-size:17px;
      }
    }

    body.is-arabic .quick-cart-btn{
      right:auto;
      left:12px;
    }

    body.is-arabic .cart-receive-hit::after{
      left:22%;
      right:22%;
    }


    /* === Cart lid color test: green lid + yellow glow === */
    .cart-receive-hit::after{
      background:linear-gradient(135deg, #18a84a, #087243) !important;
      box-shadow:
        0 5px 16px rgba(24,168,74,.34),
        0 0 0 3px rgba(255,255,255,.16) !important;
    }

    .cart-receive-hit::before{
      background:
        radial-gradient(circle at 50% 45%, rgba(246,198,42,.55), transparent 42%),
        radial-gradient(circle at 50% 100%, rgba(255,255,255,.28), transparent 48%) !important;
    }

    .cart-badge.badge-check{
      background:#ffffff !important;
      color:#18a84a !important;
    }


    /* === Attached cart lid alignment test === */

    /*
      The cart lid is now positioned directly above the cart icon, inside the button area,
      so it feels attached to the cart instead of floating above the whole button.
    */
    .cart-receive-hit::after{
      left:50% !important;
      right:auto !important;
      top:15px !important;
      width:32px !important;
      height:7px !important;
      border-radius:999px 999px 5px 5px !important;
      background:linear-gradient(135deg, #18a84a, #087243) !important;
      box-shadow:
        0 4px 10px rgba(24,168,74,.34),
        0 0 0 2px rgba(255,255,255,.20) !important;
      transform-origin:50% 100% !important;
      animation:cartLidAttachedOpen .58s ease both !important;
    }

    @keyframes cartLidAttachedOpen{
      0%{
        opacity:0;
        transform:translateX(-50%) translateY(0) rotate(0deg) scaleX(.82);
      }
      18%{
        opacity:1;
        transform:translateX(-50%) translateY(0) rotate(0deg) scaleX(1);
      }
      42%{
        opacity:1;
        transform:translateX(-50%) translateY(-6px) rotate(-12deg) scaleX(1);
      }
      68%{
        opacity:1;
        transform:translateX(-50%) translateY(-3px) rotate(8deg) scaleX(.96);
      }
      100%{
        opacity:0;
        transform:translateX(-50%) translateY(0) rotate(0deg) scaleX(.82);
      }
    }

    @media(max-width:760px){
      .cart-receive-hit::after{
        top:13px !important;
        width:29px !important;
        height:6px !important;
      }
    }

    body.is-arabic .cart-receive-hit::after{
      left:50% !important;
      right:auto !important;
    }


    /* === Refined cart receive: attached green lid, white cart icon, lid-only glow === */

    /*
      Refined direction:
      - The cart button uses a clean white SVG cart icon instead of device emoji rendering.
      - The lid sits directly above the icon, attached visually to the cart.
      - The big button glow is removed.
      - The glow appears around the lid only while it opens.
      - Confirmation remains in the badge: number -> ✓ -> number.
    */

    .myorder-floating-btn,
    .mobile-cart-toggle.myorder-floating-btn{
      overflow:visible !important;
      isolation:isolate !important;
      font-size:0 !important;
      box-shadow:0 18px 42px rgba(15,159,90,.26) !important;
    }

    .cart-icon-visual{
      position:relative;
      z-index:2;
      width:31px;
      height:31px;
      display:grid;
      place-items:center;
      color:#ffffff;
      pointer-events:none;
    }

    .cart-icon-visual svg{
      width:31px;
      height:31px;
      display:block;
      filter:drop-shadow(0 4px 8px rgba(0,0,0,.18));
    }

    .myorder-floating-btn .cart-badge,
    .mobile-cart-toggle.myorder-floating-btn .cart-badge{
      z-index:4 !important;
      font-size:11px !important;
    }

    .cart-receive-hit{
      animation:cartReceiveCleanBounce .52s cubic-bezier(.2,.82,.28,1) both !important;
      box-shadow:0 18px 42px rgba(15,159,90,.30) !important;
    }

    /*
      Before = lid glow only.
      It follows the lid position, not the whole cart button.
    */
    .cart-receive-hit::before{
      content:"" !important;
      position:absolute !important;
      left:50% !important;
      right:auto !important;
      top:10px !important;
      width:43px !important;
      height:21px !important;
      border-radius:999px !important;
      background:
        radial-gradient(circle at 50% 48%, rgba(246,198,42,.72), rgba(246,198,42,.22) 38%, transparent 72%) !important;
      opacity:0 !important;
      transform:translateX(-50%) translateY(0) scale(.82) !important;
      pointer-events:none !important;
      animation:cartLidGlowOnly .58s ease both !important;
      z-index:1 !important;
      filter:blur(.4px) !important;
    }

    /*
      After = the real lid, green and small, visually attached above the SVG cart.
    */
    .cart-receive-hit::after{
      content:"" !important;
      position:absolute !important;
      left:50% !important;
      right:auto !important;
      top:19px !important;
      width:30px !important;
      height:6px !important;
      border-radius:999px 999px 5px 5px !important;
      background:linear-gradient(135deg, #0f9f5a, #087243) !important;
      box-shadow:
        0 3px 8px rgba(0,0,0,.16),
        inset 0 1px 0 rgba(255,255,255,.22) !important;
      transform-origin:50% 100% !important;
      opacity:0 !important;
      pointer-events:none !important;
      animation:cartLidAttachedOpenRefined .58s ease both !important;
      z-index:3 !important;
    }

    .cart-badge.badge-check{
      background:#ffffff !important;
      color:#18a84a !important;
      animation:badgeCheckPop .62s ease both !important;
      min-width:25px !important;
    }

    @keyframes cartReceiveCleanBounce{
      0%{ transform:translateY(-50%) scale(1); }
      32%{ transform:translateY(-50%) scale(.96); }
      58%{ transform:translateY(-50%) scale(1.08); }
      100%{ transform:translateY(-50%) scale(1); }
    }

    @keyframes cartLidGlowOnly{
      0%{
        opacity:0;
        transform:translateX(-50%) translateY(0) scale(.72);
      }
      24%{
        opacity:.92;
        transform:translateX(-50%) translateY(-2px) scale(.96);
      }
      55%{
        opacity:.72;
        transform:translateX(-50%) translateY(-8px) scale(1.08);
      }
      100%{
        opacity:0;
        transform:translateX(-50%) translateY(-2px) scale(1.22);
      }
    }

    @keyframes cartLidAttachedOpenRefined{
      0%{
        opacity:0;
        transform:translateX(-50%) translateY(0) rotate(0deg) scaleX(.78);
      }
      16%{
        opacity:1;
        transform:translateX(-50%) translateY(0) rotate(0deg) scaleX(1);
      }
      42%{
        opacity:1;
        transform:translateX(-50%) translateY(-7px) rotate(-14deg) scaleX(1);
      }
      68%{
        opacity:1;
        transform:translateX(-50%) translateY(-3px) rotate(8deg) scaleX(.96);
      }
      100%{
        opacity:0;
        transform:translateX(-50%) translateY(0) rotate(0deg) scaleX(.80);
      }
    }

    @media(max-width:760px){
      .cart-icon-visual,
      .cart-icon-visual svg{
        width:28px;
        height:28px;
      }

      .cart-receive-hit::before{
        top:8px !important;
        width:39px !important;
        height:19px !important;
      }

      .cart-receive-hit::after{
        top:17px !important;
        width:27px !important;
        height:6px !important;
      }
    }

    body.is-arabic .cart-receive-hit::before,
    body.is-arabic .cart-receive-hit::after{
      left:50% !important;
      right:auto !important;
    }


    /* === Cart receive final correction: big cart glow + visible lid === */

    /*
      Final visual correction:
      - The big glow around the whole cart button is back.
      - The lid is no longer green-on-green.
      - Lid color is warm cream/yellow with a green lower edge, so it is visible but still on-brand.
      - Lid remains attached directly above the cart icon.
    */

    .cart-receive-hit{
      animation:cartReceiveFinalBounce .58s cubic-bezier(.2,.82,.28,1) both !important;
      box-shadow:
        0 0 0 8px rgba(246,198,42,.20),
        0 0 0 20px rgba(24,168,74,.13),
        0 22px 52px rgba(15,159,90,.36) !important;
    }

    /* Big glow around the cart button */
    .cart-receive-hit::before{
      content:"" !important;
      position:absolute !important;
      inset:-14px !important;
      width:auto !important;
      height:auto !important;
      left:-14px !important;
      right:-14px !important;
      top:-14px !important;
      border-radius:inherit !important;
      background:
        radial-gradient(circle at 50% 50%, rgba(246,198,42,.54), rgba(246,198,42,.18) 42%, transparent 72%),
        radial-gradient(circle at 50% 80%, rgba(24,168,74,.24), transparent 68%) !important;
      opacity:0 !important;
      pointer-events:none !important;
      z-index:1 !important;
      filter:blur(.2px) !important;
      animation:cartBigGlowReturn .62s ease both !important;
      transform:none !important;
    }

    /* Visible attached lid above the white SVG cart icon */
    .cart-receive-hit::after{
      content:"" !important;
      position:absolute !important;
      left:50% !important;
      right:auto !important;
      top:18px !important;
      width:32px !important;
      height:7px !important;
      border-radius:999px 999px 5px 5px !important;
      background:
        linear-gradient(180deg, rgba(255,255,255,.75), rgba(255,255,255,0) 46%),
        linear-gradient(135deg, #fff8f0 0%, #f6c62a 58%, #e7a916 100%) !important;
      border:1px solid rgba(6,95,56,.55) !important;
      border-bottom:2px solid #065f38 !important;
      box-shadow:
        0 0 0 4px rgba(246,198,42,.18),
        0 6px 14px rgba(6,95,56,.28),
        inset 0 1px 0 rgba(255,255,255,.70) !important;
      transform-origin:50% 100% !important;
      opacity:0 !important;
      pointer-events:none !important;
      animation:cartVisibleLidOpen .62s ease both !important;
      z-index:5 !important;
    }

    @keyframes cartReceiveFinalBounce{
      0%{ transform:translateY(-50%) scale(1); }
      26%{ transform:translateY(-50%) scale(.94); }
      56%{ transform:translateY(-50%) scale(1.13); }
      100%{ transform:translateY(-50%) scale(1); }
    }

    @keyframes cartBigGlowReturn{
      0%{ opacity:0; transform:scale(.84); }
      28%{ opacity:.95; transform:scale(1.02); }
      64%{ opacity:.55; transform:scale(1.14); }
      100%{ opacity:0; transform:scale(1.28); }
    }

    @keyframes cartVisibleLidOpen{
      0%{
        opacity:0;
        transform:translateX(-50%) translateY(0) rotate(0deg) scaleX(.78);
      }
      14%{
        opacity:1;
        transform:translateX(-50%) translateY(0) rotate(0deg) scaleX(1);
      }
      40%{
        opacity:1;
        transform:translateX(-50%) translateY(-8px) rotate(-15deg) scaleX(1);
      }
      68%{
        opacity:1;
        transform:translateX(-50%) translateY(-4px) rotate(8deg) scaleX(.96);
      }
      100%{
        opacity:0;
        transform:translateX(-50%) translateY(0) rotate(0deg) scaleX(.82);
      }
    }

    @media(max-width:760px){
      .cart-receive-hit::after{
        top:16px !important;
        width:29px !important;
        height:7px !important;
      }
    }

    body.is-arabic .cart-receive-hit::before{
      left:-14px !important;
      right:-14px !important;
    }

    body.is-arabic .cart-receive-hit::after{
      left:50% !important;
      right:auto !important;
    }


/* === Checkout delivery/phone/address update === */
#akPhone{
  direction:ltr;
  text-align:left;
}

body.is-arabic #akPhone{
  direction:ltr;
  text-align:left;
}

/* === Advanced loading states + rendering performance === */
.app-status{position:fixed;left:50%;top:88px;z-index:1000;transform:translateX(-50%) translateY(-8px);opacity:0;pointer-events:none;min-height:38px;display:flex;align-items:center;justify-content:center;padding:0 14px;border-radius:999px;background:#181311;color:#fff;font-size:13px;font-weight:900;box-shadow:0 16px 36px rgba(24,19,17,.18);transition:opacity .22s ease,transform .22s ease}.app-status.show{opacity:1;transform:translateX(-50%) translateY(0)}.app-status.error{background:#c90c12}
.product-skeleton,.skeleton-card,.cat-skeleton,.cart-skeleton-line{position:relative;overflow:hidden;background:#fff3e6!important}.product-skeleton:after,.skeleton-card:after,.cat-skeleton:after,.cart-skeleton-line:after{content:"";position:absolute;inset:0;transform:translateX(-100%);background:linear-gradient(90deg,transparent,rgba(255,255,255,.72),transparent);animation:akShimmer 1.15s infinite}@keyframes akShimmer{100%{transform:translateX(100%)}}
.cat-skeleton{flex:0 0 138px;height:58px;border-radius:18px;border:1px solid #eadfd4}.product-skeleton{min-height:390px;border:1px solid #eadfd4;border-radius:26px;box-shadow:0 14px 32px rgba(34,20,12,.075)}.product-skeleton:before{content:"";position:absolute;left:0;right:0;top:0;height:54%;background:#fff8f0;border-bottom:1px solid #eadfd4}.skeleton-card{min-height:210px;border:1px solid #eadfd4!important;border-radius:24px}.rec-large.skeleton-card{min-height:436px}.cart-skeleton-line{height:64px;border-radius:18px;margin:10px 0;border:1px solid #eadfd4}.cart-skeleton-line.short{width:72%;height:42px}.is-loading{pointer-events:none}
.app-error-card{grid-column:1/-1;padding:28px;border:1px solid #eadfd4;border-radius:24px;background:#fff8f0;color:#181311;box-shadow:0 14px 32px rgba(34,20,12,.075)}.app-error-card strong{display:block;color:#c90c12;font-size:20px;margin-bottom:8px}
.product-card{content-visibility:auto;contain-intrinsic-size:420px}.product-media img,.rec-image img,.hero-visual img,.cart-item img{opacity:0;transition:opacity .24s ease}.product-media img.is-loaded,.rec-image img.is-loaded,.hero-visual img.is-loaded,.cart-item img.is-loaded{opacity:1}
@media(prefers-reduced-motion:reduce){.product-skeleton:after,.skeleton-card:after,.cat-skeleton:after,.cart-skeleton-line:after{animation:none}.product-media img,.rec-image img,.hero-visual img,.cart-item img{transition:none}}body.is-arabic .app-status{direction:rtl}


/* === Full Arabic checkout + Lebanon location polish === */
body.is-arabic .ak-checkout,
body.is-arabic .ak-form-grid,
body.is-arabic .ak-summary,
body.is-arabic .ak-promo,
body.is-arabic .ak-summary-totals,
body.is-arabic .footer{
  direction:rtl;
}

body.is-arabic .ak-field,
body.is-arabic .ak-checkout-step h2,
body.is-arabic .ak-location-note,
body.is-arabic .ak-promo,
body.is-arabic .ak-summary-row,
body.is-arabic .footer{
  text-align:right;
}

body.is-arabic .ak-checkout-topbar{
  direction:rtl;
}

body.is-arabic .ak-checkout-close{
  margin-left:0 !important;
  margin-right:auto !important;
}

body.is-arabic .ak-checkout-back{
  transform:scaleX(-1);
}

#akPhone{
  direction:ltr !important;
  text-align:left !important;
}

body.is-arabic #akPhone{
  direction:ltr !important;
  text-align:left !important;
}

body.is-arabic #akPromoInput{
  direction:ltr;
  text-align:left;
}

body.is-arabic .ak-summary-price{
  text-align:left;
}

/* === Final fixes: status hiding, logo, Arabic checkout labels === */
.app-status:not(.show){
  display:none !important;
}

.app-status.show{
  display:flex !important;
}

.brand-mark img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
}

body.is-arabic .ak-checkout,
body.is-arabic .ak-form-grid,
body.is-arabic .ak-summary,
body.is-arabic .ak-summary-row,
body.is-arabic .ak-promo,
body.is-arabic .ak-summary-totals{
  direction:rtl;
}

body.is-arabic .ak-field,
body.is-arabic .ak-checkout-step h2,
body.is-arabic .ak-location-note,
body.is-arabic .ak-summary-row{
  text-align:right;
}

body.is-arabic .ak-summary-price{
  text-align:left;
}

#akPhone,
body.is-arabic #akPhone,
#akPromoInput,
body.is-arabic #akPromoInput{
  direction:ltr !important;
  text-align:left !important;
}

/* === Fix loading status and logo display === */
.app-status:not(.show){display:none!important}
.app-status.show{display:flex!important}
.brand-mark img{display:block;width:100%;height:100%;object-fit:contain}

/* === Arabic modal + live cart spacing refinements === */
.cart-items{
  padding-top:16px !important;
  padding-bottom:26px !important;
  display:flex !important;
  flex-direction:column !important;
  gap:18px !important;
}

.cart-item{
  margin:0 !important;
  padding:18px 20px !important;
  border-radius:24px !important;
}

.cart-totals{
  margin-top:18px !important;
  padding-top:24px !important;
  border-top:1px solid #eadfd4 !important;
}

.mobile-drawer .drawer-inner{
  padding-top:max(26px, env(safe-area-inset-top)) !important;
}

.mobile-drawer .cart-head{
  margin-bottom:12px !important;
}

.mobile-drawer .cart-items{
  max-height:min(58vh, 620px);
  overflow:auto;
  padding-right:4px !important;
  padding-left:4px !important;
}

body.is-arabic #customModal,
body.is-arabic #customModal .modal-card,
body.is-arabic #customModal .options{
  direction:rtl;
  text-align:right;
}

body.is-arabic #customModal .modal-top{
  direction:rtl;
}

body.is-arabic #customModal .close-btn{
  margin-right:auto;
  margin-left:0;
}

body.is-arabic #customModal .pills{
  justify-content:flex-start;
}

body.is-arabic #specialNote{
  text-align:right;
  direction:rtl;
}

body.is-arabic #modalPrice,
body.is-arabic .price,
body.is-arabic .cart-totals strong{
  direction:ltr;
  unicode-bidi:embed;
}

@media(max-width:760px){
  .cart-items{
    padding-top:18px !important;
    padding-bottom:30px !important;
    gap:20px !important;
  }
  .cart-item{
    padding:18px !important;
    border-radius:26px !important;
  }
  .cart-totals{
    margin-top:20px !important;
  }
}

/* === Global typography: Quicksand EN + Cairo AR === */
html,
body,
button,
input,
textarea,
select,
label,
a,
p,
span,
strong,
small,
h1,h2,h3,h4,h5,h6{
  font-family:"Quicksand", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

body.is-arabic,
body.is-arabic button,
body.is-arabic input,
body.is-arabic textarea,
body.is-arabic select,
body.is-arabic label,
body.is-arabic a,
body.is-arabic p,
body.is-arabic span,
body.is-arabic strong,
body.is-arabic small,
body.is-arabic h1,
body.is-arabic h2,
body.is-arabic h3,
body.is-arabic h4,
body.is-arabic h5,
body.is-arabic h6{
  font-family:"Cairo", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}


/* === Checkout delivery time and instructions === */
.ak-delivery-preferences{
  margin:28px 0 22px;
  padding:22px;
  border:1px solid #eadfd4;
  border-radius:22px;
  background:rgba(255,248,240,.82);
  box-shadow:0 12px 30px rgba(34,20,12,.055);
}

.ak-delivery-preferences h3{
  margin:0 0 14px;
  font-size:18px;
  font-weight:950;
  color:#181311;
}

.ak-pref-group{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-bottom:18px;
}

.ak-pref-stack{
  flex-direction:column;
}

.ak-choice{
  display:flex;
  align-items:center;
  gap:10px;
  min-height:46px;
  padding:10px 14px;
  border:1px solid #eadfd4;
  border-radius:16px;
  background:#fff;
  font-weight:850;
  cursor:pointer;
  box-shadow:0 8px 22px rgba(34,20,12,.045);
}

.ak-choice input{
  width:18px;
  height:18px;
  accent-color:#c90c12;
}

.ak-schedule-field{
  margin:0 0 20px;
}

.ak-schedule-field select{
  width:100%;
  min-height:50px;
  padding:0 14px;
  border:1px solid #eadfd4;
  border-radius:16px;
  background:#fff;
  font-weight:850;
}

#akDeliveryNote{
  min-height:86px;
  resize:vertical;
}

body.is-arabic .ak-delivery-preferences{
  direction:rtl;
  text-align:right;
}

body.is-arabic .ak-choice{
  direction:rtl;
}

/* === FINAL TYPOGRAPHY FORCE: Quicksand English + Cairo Arabic === */
:root{
  --font-en:"Quicksand", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-ar:"Cairo", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html,
body,
body *,
button,
input,
textarea,
select,
option,
label,
a,
p,
span,
strong,
small,
b,
em,
h1,h2,h3,h4,h5,h6,
.ak-checkout *,
.ak-step *,
.ak-checkout-step *,
.mobile-drawer *,
.modal *,
.navbar *,
.product-card *,
.cart-panel *{
  font-family:var(--font-en) !important;
}

html[dir="rtl"],
html[dir="rtl"] body,
html[dir="rtl"] body *,
body.is-arabic,
body.is-arabic *,
body.is-arabic button,
body.is-arabic input,
body.is-arabic textarea,
body.is-arabic select,
body.is-arabic option,
body.is-arabic label,
body.is-arabic a,
body.is-arabic p,
body.is-arabic span,
body.is-arabic strong,
body.is-arabic small,
body.is-arabic b,
body.is-arabic em,
body.is-arabic h1,
body.is-arabic h2,
body.is-arabic h3,
body.is-arabic h4,
body.is-arabic h5,
body.is-arabic h6,
body.is-arabic .ak-checkout *,
body.is-arabic .ak-step *,
body.is-arabic .ak-checkout-step *,
body.is-arabic .mobile-drawer *,
body.is-arabic .modal *,
body.is-arabic .navbar *,
body.is-arabic .product-card *,
body.is-arabic .cart-panel *{
  font-family:var(--font-ar) !important;
}

/* Make hidden fields truly hidden even if previous component CSS is stronger. */
[hidden],
.ak-schedule-field[hidden]{
  display:none !important;
}


/* === 4-second animated intro splash === */
.ak-splash-screen{
  position:fixed;
  inset:0;
  z-index:999999;
  display:grid;
  place-items:center;
  overflow:hidden;
  background:
    radial-gradient(circle at 50% 35%, rgba(255,255,255,.94) 0 18%, rgba(255,248,240,.95) 42%, #fff 100%),
    linear-gradient(135deg, #fff 0%, #fff7ee 100%);
  transition:opacity .65s ease, visibility .65s ease, transform .65s ease;
}

body.splash-active{
  overflow:hidden;
}

.ak-splash-screen.is-hiding{
  opacity:0;
  visibility:hidden;
  transform:scale(1.018);
  pointer-events:none;
}

.ak-splash-bg{
  position:absolute;
  inset:0;
  pointer-events:none;
}

.ak-splash-bg::before{
  content:"";
  position:absolute;
  inset:-20%;
  background:
    radial-gradient(circle at 25% 18%, rgba(201,12,18,.13), transparent 26%),
    radial-gradient(circle at 76% 72%, rgba(246,198,42,.18), transparent 28%),
    radial-gradient(circle at 55% 50%, rgba(201,12,18,.08), transparent 34%);
  animation:akSplashBreath 4s ease-in-out infinite;
}

.ak-splash-orb{
  position:absolute;
  border-radius:999px;
  filter:blur(2px);
  opacity:.78;
}

.ak-splash-orb.orb-one{
  width:190px;
  height:190px;
  left:9%;
  top:15%;
  background:rgba(201,12,18,.10);
  animation:akFloatOne 4s ease-in-out infinite;
}

.ak-splash-orb.orb-two{
  width:140px;
  height:140px;
  right:12%;
  bottom:15%;
  background:rgba(246,198,42,.18);
  animation:akFloatTwo 4.3s ease-in-out infinite;
}

.ak-splash-orb.orb-three{
  width:80px;
  height:80px;
  right:20%;
  top:18%;
  background:rgba(201,12,18,.08);
  animation:akFloatThree 3.7s ease-in-out infinite;
}

.ak-splash-content{
  position:relative;
  z-index:2;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  gap:22px;
  padding:32px;
  transform:translateY(10px);
  animation:akSplashEnter .95s cubic-bezier(.16,1,.3,1) both;
}

.ak-splash-logo-wrap{
  position:relative;
  width:clamp(154px, 20vw, 240px);
  height:clamp(154px, 20vw, 240px);
  display:grid;
  place-items:center;
  border-radius:42px;
  background:rgba(255,255,255,.78);
  box-shadow:
    0 26px 70px rgba(97,37,10,.16),
    inset 0 0 0 1px rgba(201,12,18,.08);
}

.ak-splash-ring{
  position:absolute;
  inset:-14px;
  border-radius:50px;
  background:
    conic-gradient(from 0deg, rgba(201,12,18,0), rgba(201,12,18,.58), rgba(246,198,42,.72), rgba(201,12,18,0));
  filter:blur(.2px);
  animation:akSplashSpin 2.8s linear infinite;
  opacity:.78;
}

.ak-splash-ring::after{
  content:"";
  position:absolute;
  inset:5px;
  border-radius:44px;
  background:#fffaf4;
}

.ak-splash-logo{
  position:relative;
  z-index:2;
  width:86%;
  height:86%;
  object-fit:contain;
  filter:drop-shadow(0 16px 24px rgba(132,23,16,.18));
  animation:akLogoPulse 1.85s ease-in-out infinite;
}

.ak-splash-text{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
}

.ak-splash-kicker{
  color:#c90c12;
  text-transform:uppercase;
  font-size:clamp(11px, 1.2vw, 14px);
  font-weight:950;
  letter-spacing:.24em;
}

.ak-splash-since{
  color:#181311;
  font-size:clamp(24px, 3.4vw, 42px);
  font-weight:950;
  letter-spacing:.04em;
}

.ak-splash-loader{
  display:flex;
  gap:8px;
  align-items:center;
  justify-content:center;
  height:20px;
}

.ak-splash-loader span{
  width:8px;
  height:8px;
  border-radius:999px;
  background:#c90c12;
  animation:akSplashDots .9s ease-in-out infinite;
}

.ak-splash-loader span:nth-child(2){
  animation-delay:.14s;
  background:#f6c62a;
}

.ak-splash-loader span:nth-child(3){
  animation-delay:.28s;
}

@keyframes akSplashEnter{
  from{opacity:0; transform:translateY(28px) scale(.96);}
  to{opacity:1; transform:translateY(0) scale(1);}
}

@keyframes akSplashSpin{
  to{transform:rotate(360deg);}
}

@keyframes akLogoPulse{
  0%,100%{transform:scale(1);}
  50%{transform:scale(1.045);}
}

@keyframes akSplashDots{
  0%,100%{transform:translateY(0); opacity:.48;}
  50%{transform:translateY(-8px); opacity:1;}
}

@keyframes akSplashBreath{
  0%,100%{transform:scale(1) rotate(0deg);}
  50%{transform:scale(1.04) rotate(2deg);}
}

@keyframes akFloatOne{
  0%,100%{transform:translate3d(0,0,0);}
  50%{transform:translate3d(16px,18px,0);}
}

@keyframes akFloatTwo{
  0%,100%{transform:translate3d(0,0,0);}
  50%{transform:translate3d(-20px,-16px,0);}
}

@keyframes akFloatThree{
  0%,100%{transform:translate3d(0,0,0);}
  50%{transform:translate3d(10px,-22px,0);}
}

@media(max-width:760px){
  .ak-splash-logo-wrap{
    border-radius:34px;
  }

  .ak-splash-ring{
    border-radius:42px;
  }

  .ak-splash-ring::after{
    border-radius:36px;
  }

  .ak-splash-kicker{
    letter-spacing:.16em;
  }
}

@media(prefers-reduced-motion:reduce){
  .ak-splash-bg::before,
  .ak-splash-orb,
  .ak-splash-ring,
  .ak-splash-logo,
  .ak-splash-loader span,
  .ak-splash-content{
    animation:none !important;
  }
}

/* === FINAL navbar logo clarity update === */
/*
  The logo was pixelated because an already-small/cropped asset was being scaled.
  It was cut because earlier rules used object-fit: cover and oversized the image.
  This version uses a high-resolution transparent cropped logo + object-fit: contain.
*/
.navbar{
  min-height:104px !important;
}

.brand{
  gap:16px !important;
  min-height:98px !important;
  align-items:center !important;
}

.brand-mark{
  width:89px !important;
  height:97px !important;
  min-width:89px !important;
  border-radius:22px !important;
  background:#ffffff !important;
  display:grid !important;
  place-items:center !important;
  overflow:visible !important;
  border:1px solid rgba(234,223,212,.9) !important;
  box-shadow:0 12px 28px rgba(34,20,12,.11) !important;
}

.brand-mark img{
  width:125% !important;
  height:92% !important;
  max-width:133% !important;
  max-height:92% !important;
  object-fit:contain !important;
  object-position:center center !important;
  display:block !important;
  padding:0 !important;
  margin:0 !important;
  transform:none !important;
  image-rendering:auto !important;
  background:transparent !important;
}

.brand-copy strong{
  font-size:22px !important;
  line-height:.95 !important;
}

.brand-copy span{
  font-size:13px !important;
  letter-spacing:.34em !important;
}

@media(max-width:760px){
  .navbar{
    min-height:94px !important;
  }

  .brand{
    gap:13px !important;
    min-height:88px !important;
  }

  .brand-mark{
    width:78px !important;
    height:86px !important;
    min-width:78px !important;
    border-radius:20px !important;
  }

  .brand-mark img{
    width:92% !important;
    height:92% !important;
    max-width:92% !important;
    max-height:92% !important;
  }

  .brand-copy strong{
    font-size:18px !important;
  }

  .brand-copy span{
    font-size:11px !important;
    letter-spacing:.30em !important;
  }
}

@media(max-width:420px){
  .navbar{
    min-height:86px !important;
  }

  .brand{
    gap:10px !important;
    min-height:80px !important;
  }

  .brand-mark{
    width:70px !important;
    height:78px !important;
    min-width:70px !important;
    border-radius:18px !important;
  }

  .brand-copy strong{
    font-size:16px !important;
  }

  .brand-copy span{
    font-size:10px !important;
    letter-spacing:.26em !important;
  }
}


/* === Recommended grid safe balance update === */
/*
  Goal:
  - Do NOT change the main recommended section/container width.
  - Add only internal breathing space.
  - Make the featured card less dominant.
  - Prevent card content/buttons from being clipped.
*/

#recommended .recommended-feature-grid{
  width:100% !important;
  max-width:100% !important;
  margin-left:0 !important;
  margin-right:0 !important;
  box-sizing:border-box !important;

  display:grid !important;
  grid-template-columns:minmax(0, .92fr) minmax(330px, 1fr) !important;
  gap:18px !important;
  align-items:stretch !important;

  padding:18px 22px 22px !important;
  overflow:visible !important;
}

/* No forced max-height: this was the reason the button/card got cut */
#recommended .rec-card,
#recommended .rec-card.rec-large,
#recommended .rec-side .rec-card{
  height:auto !important;
  min-height:0 !important;
  max-height:none !important;
  overflow:hidden !important;
  box-sizing:border-box !important;
  border-radius:22px !important;
}

/* Featured card: keep it premium, but not huge */
#recommended .rec-card.rec-large{
  display:flex !important;
  flex-direction:column !important;
}

#recommended .rec-card.rec-large .rec-image{
  height:210px !important;
  min-height:210px !important;
  max-height:210px !important;
  flex:0 0 210px !important;
  overflow:hidden !important;
}

#recommended .rec-card.rec-large .rec-body{
  flex:1 1 auto !important;
  padding:18px 20px 20px !important;
  display:flex !important;
  flex-direction:column !important;
  justify-content:flex-start !important;
  gap:8px !important;
}

/* Side cards: larger right column, comfortable horizontal layout */
#recommended .rec-side{
  display:grid !important;
  grid-template-rows:1fr 1fr !important;
  gap:18px !important;
  min-width:0 !important;
}

#recommended .rec-side .rec-card{
  display:grid !important;
  grid-template-columns:minmax(150px, 42%) minmax(0, 1fr) !important;
  align-items:stretch !important;
  min-height:178px !important;
}

#recommended .rec-side .rec-image{
  height:100% !important;
  min-height:178px !important;
  max-height:none !important;
  overflow:hidden !important;
}

#recommended .rec-card img,
#recommended .rec-image img{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  object-position:center !important;
  display:block !important;
}

#recommended .rec-side .rec-body{
  padding:18px 18px 18px !important;
  display:flex !important;
  flex-direction:column !important;
  justify-content:center !important;
  gap:7px !important;
  min-width:0 !important;
}

#recommended .rec-body h3,
#recommended .rec-body p,
#recommended .rec-body strong{
  overflow-wrap:anywhere !important;
}

#recommended .rec-card .order-btn,
#recommended .rec-card button,
#recommended .rec-card a{
  flex:0 0 auto !important;
}

/* Tablet: keep same main container, just stack balanced columns */
@media(max-width:1100px){
  #recommended .recommended-feature-grid{
    grid-template-columns:minmax(0, 1fr) minmax(300px, .95fr) !important;
    gap:16px !important;
    padding:16px 18px 20px !important;
  }

  #recommended .rec-card.rec-large .rec-image{
    height:200px !important;
    min-height:200px !important;
    flex-basis:200px !important;
  }

  #recommended .rec-side .rec-card{
    grid-template-columns:minmax(130px, 40%) minmax(0, 1fr) !important;
    min-height:168px !important;
  }

  #recommended .rec-side .rec-image{
    min-height:168px !important;
  }
}

/* Mobile: no cutting, same section width, cards stack clearly */
@media(max-width:760px){
  #recommended .recommended-feature-grid{
    grid-template-columns:1fr !important;
    gap:14px !important;
    padding:14px !important;
  }

  #recommended .rec-card.rec-large .rec-image{
    height:190px !important;
    min-height:190px !important;
    flex-basis:190px !important;
  }

  #recommended .rec-side{
    grid-template-columns:1fr 1fr !important;
    grid-template-rows:auto !important;
    gap:14px !important;
  }

  #recommended .rec-side .rec-card{
    display:flex !important;
    flex-direction:column !important;
    min-height:0 !important;
  }

  #recommended .rec-side .rec-image{
    height:150px !important;
    min-height:150px !important;
    flex:0 0 150px !important;
  }

  #recommended .rec-side .rec-body{
    padding:14px !important;
    justify-content:flex-start !important;
  }
}

@media(max-width:460px){
  #recommended .rec-side{
    grid-template-columns:1fr !important;
  }

  #recommended .rec-card.rec-large .rec-image,
  #recommended .rec-side .rec-image{
    height:170px !important;
    min-height:170px !important;
    flex-basis:170px !important;
  }
}



