* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Tahoma, sans-serif;
  background: #f7f2ea;
  color: #24170f;
  direction: rtl;
}

.header {
  background: linear-gradient(135deg, #1f1712, #3b2417);
  color: white;
  padding: 28px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 5px solid #d89b25;
}

.logo {
  width: 64px;
  height: 64px;
  background: #d89b25;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 32px;
  flex-shrink: 0;
}

.header h1 {
  margin: 0 0 6px;
  font-size: 28px;
}

.header p {
  margin: 0;
  color: #f0dcb7;
  font-size: 15px;
}

.branch-section {
  max-width: 1100px;
  margin: 20px auto 10px;
  padding: 0 15px;
}

.branch-section label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
}

.branch-section select,
.checkout-form input,
.checkout-form select,
.checkout-form textarea {
  width: 100%;
  padding: 13px;
  border: 1px solid #d6c3a5;
  border-radius: 12px;
  font-size: 15px;
  background: white;
}

main {
  max-width: 1100px;
  margin: auto;
  padding: 10px 15px 120px;
}

.categories {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 12px 0;
  margin-bottom: 14px;
}

.category-btn {
  border: none;
  background: white;
  color: #3b2417;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: bold;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.category-btn.active {
  background: #d89b25;
  color: white;
}

.menu {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.product-card {
  background: white;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
  border: 1px solid #ecd9b6;
}

.product-image {
  height: 150px;
  background: linear-gradient(135deg, #d89b25, #743c1f);
  display: grid;
  place-items: center;
  color: white;
  font-size: 42px;
}

.product-content {
  padding: 14px;
}

.product-content h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.price {
  color: #c36b15;
  font-weight: bold;
  margin-bottom: 12px;
}

.add-btn {
  width: 100%;
  border: none;
  background: #1f8f4d;
  color: white;
  padding: 12px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
}

.cart-button {
  position: fixed;
  bottom: 18px;
  right: 18px;
  background: #d89b25;
  color: white;
  border: none;
  border-radius: 16px;
  padding: 15px 20px;
  font-weight: bold;
  font-size: 17px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  cursor: pointer;
  z-index: 20;
}

.cart-button span {
  background: white;
  color: #d89b25;
  padding: 3px 8px;
  border-radius: 999px;
  margin-right: 5px;
}

.cart-panel {
  position: fixed;
  top: 0;
  left: -420px;
  width: 400px;
  max-width: 92%;
  height: 100vh;
  background: white;
  z-index: 30;
  padding: 18px;
  box-shadow: 8px 0 30px rgba(0,0,0,0.25);
  transition: 0.3s ease;
  overflow-y: auto;
}

.cart-panel.open {
  left: 0;
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-header h2 {
  margin: 0;
}

.cart-header button {
  border: none;
  background: #e63946;
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-size: 24px;
  cursor: pointer;
}

.cart-item {
  border-bottom: 1px solid #eee;
  padding: 14px 0;
}

.cart-item-title {
  font-weight: bold;
  margin-bottom: 8px;
}

.qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.qty-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-controls button {
  border: none;
  background: #d89b25;
  color: white;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  font-size: 20px;
  cursor: pointer;
}

.cart-total {
  background: #f7f2ea;
  padding: 15px;
  border-radius: 14px;
  margin: 16px 0;
  font-weight: bold;
  font-size: 18px;
}

.checkout-form {
  display: grid;
  gap: 10px;
}

.checkout-form textarea {
  min-height: 80px;
  resize: vertical;
}

.whatsapp-btn {
  width: 100%;
  margin-top: 14px;
  border: none;
  background: #10b75d;
  color: white;
  padding: 15px;
  border-radius: 14px;
  font-size: 17px;
  font-weight: bold;
  cursor: pointer;
}

.seo-intro {
  max-width: 1100px;
  margin: 22px auto 5px;
  padding: 18px;
  background: #fff7e8;
  border: 1px solid #ead2a5;
  border-radius: 18px;
  line-height: 1.8;
}

.seo-intro h2 {
  margin: 0 0 8px;
  color: #3b2417;
  font-size: 24px;
}

.seo-intro p {
  margin: 0;
  color: #5c4635;
  font-size: 16px;
}

@media (max-width: 850px) {
  .menu {
    grid-template-columns: repeat(2, 1fr);
  }

  .header h1 {
    font-size: 22px;
  }
}

.footer {
  background: #1f1712;
  color: white;
  padding: 30px 18px;
  text-align: center;
  margin-top: 30px;
}

.footer h2 {
  margin: 0 0 10px;
  color: #d89b25;
}

.footer p {
  margin: 8px 0;
  color: #f0dcb7;
  line-height: 1.7;
}

.footer-info {
  margin: 18px auto;
  max-width: 500px;
}

.footer-whatsapp {
  display: inline-block;
  background: #10b75d;
  color: white;
  text-decoration: none;
  padding: 13px 22px;
  border-radius: 14px;
  font-weight: bold;
  margin-top: 10px;
}

.map-btn {
  margin-top: 10px;
  width: 100%;
  border: none;
  background: #3b2417;
  color: white;
  padding: 13px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
}

.address-hint {
  margin: -4px 0 4px;
  font-size: 13px;
  color: #8a6a43;
}

.clear-cart-btn {
  width: 100%;
  border: none;
  background: #e63946;
  color: white;
  padding: 13px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  margin-bottom: 12px;
}


.open-menu {
  border: none;
  background: transparent;
  color: #d89b25;
  font-size: 32px;
  cursor: pointer;
  margin-left: 15px;
}

.side-menu {
  position: fixed;
  top: 0;
  right: -340px;
  width: 320px;
  max-width: 88%;
  height: 100vh;
  background: white;
  z-index: 100;
  padding: 25px;
  box-shadow: -8px 0 25px rgba(0,0,0,0.25);
  transition: 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.side-menu.open {
  right: 0;
}

.close-menu {
  align-self: flex-start;
  border: none;
  background: transparent;
  font-size: 34px;
  cursor: pointer;
  color: #3b2417;
}

.side-logo {
  text-align: center;
  font-size: 42px;
  margin-bottom: 15px;
}

.side-logo h2 {
  font-size: 20px;
  margin: 10px 0 0;
  color: #3b2417;
}

.side-menu a {
  text-decoration: none;
  color: #3b2417;
  border: 1px solid #f0c27a;
  padding: 14px;
  border-radius: 12px;
  font-weight: bold;
  text-align: center;
}

.side-whatsapp {
  background: #10b75d !important;
  color: white !important;
  border: none !important;
  margin-top: 10px;
}

.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 90;
  display: none;
}

.menu-overlay.show {
  display: block;
}

.info-section {
  max-width: 1100px;
  margin: 18px auto;
  padding: 22px;
  background: white;
  border-radius: 18px;
  border: 1px solid #ead2a5;
  line-height: 1.8;
}

.info-section h2 {
  margin: 0 0 8px;
  color: #3b2417;
}

.info-section p {
  margin: 0;
  color: #5c4635;
}

.page-section {
  max-width: 900px;
  margin: 40px auto;
  background: white;
  border: 1px solid #ead2a5;
  border-radius: 18px;
  padding: 28px;
  line-height: 1.9;
}

.page-section h2 {
  margin-top: 0;
  color: #3b2417;
}

.page-section p {
  color: #5c4635;
  font-size: 17px;
}

.back-link {
  color: #d89b25;
  text-decoration: none;
  font-weight: bold;
  border: 1px solid #d89b25;
  padding: 10px 14px;
  border-radius: 12px;
  margin-left: 15px;
}

.page-hero {
  max-width: 1100px;
  margin: 30px auto;
  padding: 28px;
  background: #fff7e8;
  border: 1px solid #ead2a5;
  border-radius: 22px;
  display: grid;
  grid-template-columns: 1.5fr 240px;
  gap: 22px;
  align-items: center;
  line-height: 1.9;
}

.page-hero h2 {
  margin: 0 0 10px;
  color: #3b2417;
  font-size: 30px;
}

.page-hero p {
  color: #5c4635;
  font-size: 17px;
  margin-bottom: 18px;
}

.page-hero-icon {
  height: 210px;
  border-radius: 22px;
  background: linear-gradient(135deg, #d89b25, #4a2417);
  display: grid;
  place-items: center;
  font-size: 82px;
}

.simple-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 18px;
}

.simple-card {
  background: #fff7e8;
  border: 1px solid #ead2a5;
  border-radius: 18px;
  padding: 18px;
}

.simple-card div {
  font-size: 42px;
  margin-bottom: 8px;
}

.simple-card h3 {
  margin: 0 0 8px;
  color: #3b2417;
}

.simple-card p {
  margin: 0;
  color: #5c4635;
  font-size: 15px;
  line-height: 1.7;
}

.steps .simple-card span {
  width: 42px;
  height: 42px;
  background: #d89b25;
  color: white;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: bold;
  margin-bottom: 10px;
}

.page-cta {
  max-width: 1100px;
  margin: 30px auto;
  padding: 30px;
  background: #3b2417;
  color: white;
  border-radius: 22px;
  text-align: center;
}

.page-cta h2 {
  margin-top: 0;
  color: white;
}

.page-cta p {
  color: #f0dcb7;
}

.page-cta a {
  display: inline-block;
  background: #d89b25;
  color: white;
  text-decoration: none;
  padding: 13px 22px;
  border-radius: 14px;
  font-weight: bold;
}

@media (max-width: 850px) {
  .page-hero {
    grid-template-columns: 1fr;
  }

  .simple-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .simple-grid {
    grid-template-columns: 1fr;
  }
}

.branch-list {
  padding-right: 20px;
  color: #5c4635;
  line-height: 2;
  font-size: 16px;
}

@media (max-width: 520px) {
  .menu {
    grid-template-columns: 1fr;
  }

  .header {
    align-items: flex-start;
  }

  .product-image {
    height: 130px;
  }
}

.hidden-address {
  display: none;
}


/* ================================
   PREMIUM BUKHARI THEME OVERRIDE
   كواتم الجزيرة البخاري
================================ */

:root {
  --dark: #24120b;
  --dark-2: #351b10;
  --brown: #5b2d17;
  --gold: #d99a24;
  --gold-2: #f3bd4e;
  --cream: #fbf4e8;
  --cream-2: #fffaf1;
  --card: #ffffff;
  --text: #2a160d;
  --muted: #80654f;
  --green: #0a9b54;
  --red: #d93f35;
  --shadow: 0 18px 45px rgba(54, 26, 12, 0.13);
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at top right, rgba(217, 154, 36, 0.16), transparent 30%),
    radial-gradient(circle at bottom left, rgba(91, 45, 23, 0.10), transparent 35%),
    var(--cream);
  color: var(--text);
}

/* Header */
.header {
  min-height: 118px;
  padding: 24px 38px;
  background:
    linear-gradient(135deg, rgba(36, 18, 11, 0.98), rgba(70, 32, 15, 0.98)),
    radial-gradient(circle at 80% 30%, rgba(217, 154, 36, 0.26), transparent 25%);
  border-bottom: 5px solid var(--gold);
  box-shadow: 0 12px 35px rgba(36, 18, 11, 0.25);
  justify-content: flex-start;
  position: relative;
  overflow: hidden;
}

.header::after {
  content: "";
  position: absolute;
  left: -80px;
  top: -120px;
  width: 260px;
  height: 260px;
  background: rgba(217, 154, 36, 0.08);
  border-radius: 50%;
}

.logo {
  width: 76px;
  height: 76px;
  background: linear-gradient(145deg, var(--gold-2), var(--gold));
  color: white;
  box-shadow: inset 0 -8px 14px rgba(91,45,23,0.2), 0 10px 22px rgba(0,0,0,0.25);
  font-size: 38px;
}

.header h1 {
  font-size: 32px;
  letter-spacing: -0.5px;
}

.header p {
  color: #ffe7b8;
  font-size: 16px;
}

.open-menu {
  background: rgba(217, 154, 36, 0.12);
  border: 1px solid rgba(217, 154, 36, 0.35);
  color: var(--gold-2);
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  transition: 0.2s ease;
}

.open-menu:hover {
  background: var(--gold);
  color: white;
  transform: translateY(-2px);
}

/* Sidebar */
.side-menu {
  background:
    linear-gradient(180deg, #fffaf1, #ffffff);
  border-left: 5px solid var(--gold);
  box-shadow: -20px 0 60px rgba(0,0,0,0.28);
  padding: 28px;
}

.side-logo {
  background: linear-gradient(135deg, var(--dark), var(--brown));
  color: white;
  border-radius: 24px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.side-logo h2 {
  color: white;
}

.close-menu {
  color: var(--dark);
  background: #fff2dc;
  border-radius: 14px;
  width: 44px;
  height: 44px;
}

.side-menu a {
  background: white;
  border: 1px solid #efd2a0;
  color: var(--dark);
  box-shadow: 0 8px 20px rgba(91,45,23,0.08);
  transition: 0.2s ease;
}

.side-menu a:hover {
  background: var(--gold);
  color: white;
  transform: translateX(-4px);
}

.side-whatsapp {
  background: linear-gradient(135deg, #0bbd65, #087d45) !important;
  box-shadow: 0 12px 24px rgba(10,155,84,0.25) !important;
}

/* Main containers */
main,
.branch-section,
.seo-intro,
.home-summary,
.page-hero,
.page-section,
.story-hero,
.story-section {
  max-width: 1180px;
}

/* Intro boxes */
.seo-intro,
.home-summary,
.page-hero,
.page-section,
.info-section,
.story-section,
.story-hero {
  background: rgba(255, 250, 241, 0.86);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(217, 154, 36, 0.35);
  box-shadow: var(--shadow);
  border-radius: 28px;
}

.seo-intro h2,
.home-summary h2,
.page-hero h2,
.page-section h2,
.info-section h2,
.story-section h2 {
  color: var(--dark);
}

/* Branch selector */
.branch-section {
  background: rgba(255, 250, 241, 0.76);
  padding: 22px;
  border-radius: 26px;
  border: 1px solid rgba(217, 154, 36, 0.3);
  box-shadow: var(--shadow);
}

.branch-section label {
  font-size: 20px;
  color: var(--dark);
}

.branch-section select,
.checkout-form input,
.checkout-form select,
.checkout-form textarea,
.search-box input {
  border: 1px solid #e5c48f;
  border-radius: 18px;
  background: #fffdf8;
  color: var(--text);
  box-shadow: inset 0 2px 8px rgba(91,45,23,0.04);
}

.branch-section select:focus,
.checkout-form input:focus,
.checkout-form select:focus,
.checkout-form textarea:focus {
  outline: 2px solid rgba(217, 154, 36, 0.35);
}

.map-btn {
  background: linear-gradient(135deg, var(--dark), var(--brown));
  border-radius: 18px;
  box-shadow: 0 12px 24px rgba(36,18,11,0.18);
  transition: 0.2s ease;
}

.map-btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--brown), var(--gold));
}

/* Categories */
.categories {
  padding: 20px 4px;
  justify-content: center;
}

.category-btn {
  background: rgba(255,255,255,0.9);
  border: 1px solid #efd2a0;
  color: var(--dark);
  padding: 14px 22px;
  border-radius: 18px;
  box-shadow: 0 10px 22px rgba(91,45,23,0.09);
  transition: 0.2s ease;
}

.category-btn:hover {
  transform: translateY(-3px);
}

.category-btn.active {
  background: linear-gradient(135deg, var(--gold), #b86d16);
  color: white;
  box-shadow: 0 14px 28px rgba(217,154,36,0.32);
}

/* Product cards */
.menu {
  gap: 24px;
}

.product-card {
  border-radius: 28px;
  border: 1px solid rgba(217, 154, 36, 0.30);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: 0.25s ease;
  background: var(--card);
}

.product-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 26px 60px rgba(54, 26, 12, 0.18);
}

.product-image {
  height: 190px;
  background:
    radial-gradient(circle at 35% 30%, rgba(255,255,255,0.22), transparent 24%),
    linear-gradient(135deg, var(--gold), var(--brown));
  font-size: 58px;
  position: relative;
}

.product-image::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 40%;
  background: linear-gradient(0deg, rgba(36,18,11,0.22), transparent);
}

.product-content {
  padding: 20px;
}

.product-content h3 {
  font-size: 21px;
  color: var(--dark);
}

.price {
  color: #bd6413;
  font-size: 18px;
}

.add-btn {
  background: linear-gradient(135deg, var(--green), #05713d);
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 12px 22px rgba(10,155,84,0.22);
  transition: 0.2s ease;
}

.add-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

/* Cart floating button */
.cart-button {
  background: linear-gradient(135deg, var(--gold), #b86d16);
  border-radius: 22px;
  padding: 16px 24px;
  box-shadow: 0 18px 42px rgba(217,154,36,0.35);
  bottom: 24px;
  right: 24px;
}

.cart-button span {
  color: var(--dark);
}

/* Cart panel */
.cart-panel {
  background: #fffdf8;
  border-right: 5px solid var(--gold);
  box-shadow: 18px 0 60px rgba(0,0,0,0.25);
}

.cart-header button {
  background: var(--red);
}

.cart-total {
  background: #fff1d6;
  border: 1px solid #efd2a0;
  border-radius: 18px;
}

.whatsapp-btn {
  background: linear-gradient(135deg, #10b75d, #087d45);
  border-radius: 18px;
  box-shadow: 0 14px 28px rgba(16,183,93,0.24);
}

.clear-cart-btn {
  background: linear-gradient(135deg, #d93f35, #9e211b);
}

/* Content cards */
.simple-card,
.story-card,
.step-card {
  background: #fffaf1;
  border: 1px solid rgba(217,154,36,0.35);
  border-radius: 24px;
  box-shadow: 0 12px 28px rgba(91,45,23,0.08);
}

/* CTA */
.page-cta,
.story-cta,
.footer {
  background:
    radial-gradient(circle at top, rgba(217,154,36,0.20), transparent 30%),
    linear-gradient(135deg, var(--dark), var(--brown));
  border-top: 4px solid var(--gold);
}

/* Mobile */
@media (max-width: 850px) {
  .header {
    padding: 20px;
    min-height: auto;
  }

  .header h1 {
    font-size: 24px;
  }

  .logo {
    width: 62px;
    height: 62px;
    font-size: 30px;
  }

  .menu {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-image {
    height: 155px;
  }
}

@media (max-width: 520px) {
  .header {
    gap: 10px;
  }

  .open-menu {
    width: 46px;
    height: 46px;
    font-size: 26px;
  }

  .menu {
    grid-template-columns: 1fr;
  }

  .branch-section,
  .seo-intro,
  .home-summary,
  .page-hero,
  .page-section {
    border-radius: 20px;
  }

  .cart-button {
    right: 14px;
    bottom: 14px;
  }
}

.food-hero {
  max-width: 1180px;
  margin: 35px auto 25px;
  border-radius: 34px;
  overflow: hidden;
  position: relative;
  min-height: 430px;
  background: linear-gradient(135deg, #f3f3f3, #ffffff);
  box-shadow: 0 28px 70px rgba(55, 25, 10, 0.18);
  border: 1px solid rgba(217, 154, 36, 0.35);
}

.food-hero-bg {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.food-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.food-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(36, 18, 11, 0.72),
    rgba(36, 18, 11, 0.15),
    rgba(255, 255, 255, 0.05)
  );
}

.food-hero-text {
  position: relative;
  z-index: 2;
  max-width: 520px;
  padding: 55px;
  color: white;
}

.food-hero-text h2 {
  font-size: 42px;
  margin: 0 0 12px;
  color: white;
}

.food-hero-text p {
  font-size: 18px;
  line-height: 1.9;
  color: #ffe7b8;
  margin: 0;
}

@media (max-width: 700px) {
  .food-hero {
    min-height: 330px;
    margin: 20px 14px;
    border-radius: 24px;
  }

  .food-hero-text {
    padding: 32px;
  }

  .food-hero-text h2 {
    font-size: 30px;
  }

  .food-hero-text p {
    font-size: 15px;
  }
}

/* FULL WIDTH HERO IMAGE - MENU PAGE */

.food-hero {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  border-radius: 0 !important;
  min-height: 620px !important;
  border: none !important;
  box-shadow: none !important;
}

.food-hero-bg img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
}

.food-hero::after {
  background: linear-gradient(
    90deg,
    rgba(36, 18, 11, 0.75),
    rgba(36, 18, 11, 0.25),
    rgba(36, 18, 11, 0.05)
  ) !important;
}

.food-hero-text {
  padding: 90px 80px !important;
  max-width: 680px !important;
}

.food-hero-text h2 {
  font-size: 58px !important;
}

.food-hero-text p {
  font-size: 22px !important;
}

/* Keep branch section nicely below hero */
.branch-section {
  margin-top: 35px !important;
}

@media (max-width: 700px) {
  .food-hero {
    min-height: 480px !important;
  }

  .food-hero-text {
    padding: 55px 25px !important;
  }

  .food-hero-text h2 {
    font-size: 36px !important;
  }

  .food-hero-text p {
    font-size: 16px !important;
  }
}

/* ===============================
   ALBAIK STYLE HERO - INDEX PAGE
================================ */

.albaik-style-hero {
  min-height: 100vh;
  width: 100%;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #d93632 0%, #f08a24 100%);
}

.hero-nav {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 10;
  height: 110px;
  padding: 28px 52px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  color: white;
}

.hero-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-self: start;
}

.hero-logo {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  border: 2px solid rgba(255,255,255,0.35);
  display: grid;
  place-items: center;
  font-size: 34px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.18);
}

.hero-brand h1 {
  margin: 0;
  font-size: 27px;
  color: white;
  text-shadow: 0 4px 18px rgba(0,0,0,0.25);
}

.hero-brand p {
  margin: 4px 0 0;
  color: #ffe7c1;
  font-size: 14px;
}

.hero-links {
  display: flex;
  gap: 36px;
  justify-self: center;
}

.hero-links a {
  color: white;
  text-decoration: none;
  font-size: 20px;
  font-weight: bold;
  text-shadow: 0 3px 12px rgba(0,0,0,0.2);
}

.hero-links a:hover {
  color: #ffe2a8;
}

.hero-menu-button {
  justify-self: end;
  width: 58px !important;
  height: 58px !important;
  border-radius: 18px !important;
  border: 2px solid rgba(255,255,255,0.35) !important;
  color: white !important;
  background: rgba(255,255,255,0.12) !important;
  font-size: 34px !important;
  margin: 0 !important;
}

.hero-center {
  min-height: 100vh;
  display: grid;
  place-items: center;
  position: relative;
  padding-top: 80px;
}

.hero-center img {
  width: min(950px, 92vw);
  max-height: 78vh;
  object-fit: contain;
  filter: drop-shadow(0 35px 65px rgba(0,0,0,0.22));
  animation: heroFloat 4s ease-in-out infinite;
}

.hero-center::before {
  content: "";
  position: absolute;
  width: 850px;
  height: 850px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.22), transparent 64%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero-center::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 48%, transparent 0 28%, rgba(255,255,255,0.10) 29%, transparent 30%),
    radial-gradient(circle at 50% 48%, transparent 0 40%, rgba(255,255,255,0.08) 41%, transparent 42%);
  pointer-events: none;
}

.hero-title-over {
  position: absolute;
  right: 8%;
  bottom: 12%;
  z-index: 4;
  max-width: 560px;
  text-align: right;
  color: white;
}

.hero-title-over span {
  display: inline-block;
  font-size: 22px;
  color: #ffe2a8;
  font-weight: bold;
  margin-bottom: 8px;
}

.hero-title-over h2 {
  margin: 0;
  color: white;
  font-size: 54px;
  line-height: 1.25;
  text-shadow: 0 5px 22px rgba(0,0,0,0.34);
}

.hero-title-over p {
  margin: 12px 0 0;
  font-size: 20px;
  color: #fff3d8;
  text-shadow: 0 4px 15px rgba(0,0,0,0.28);
}

@keyframes heroFloat {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px);
  }
}

/* Move order page below hero */
.branch-section {
  margin-top: 42px !important;
}

/* Hide old food hero if still present */
.food-hero {
  display: none !important;
}

/* Make page background blend after hero */
body {
  background: #fbf4e8 !important;
}

/* Mobile */
@media (max-width: 850px) {
  .hero-nav {
    height: auto;
    padding: 22px;
    grid-template-columns: 1fr auto;
    gap: 14px;
  }

  .hero-links {
    display: none;
  }

  .hero-brand h1 {
    font-size: 21px;
  }

  .hero-brand p {
    font-size: 12px;
  }

  .hero-logo {
    width: 58px;
    height: 58px;
    font-size: 28px;
  }

  .hero-center {
    padding-top: 120px;
  }

  .hero-center img {
    width: 115vw;
    max-height: 62vh;
  }

  .hero-title-over {
    right: 22px;
    left: 22px;
    bottom: 50px;
  }

  .hero-title-over h2 {
    font-size: 34px;
  }

  .hero-title-over p {
    font-size: 15px;
  }
}

/* FIX HERO IMAGE - CLEAN FULL WIDTH */

.albaik-style-hero {
  min-height: auto !important;
  background: #f3f3f3 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

.hero-center {
  min-height: auto !important;
  padding: 0 !important;
  display: block !important;
}

.hero-center::before,
.hero-center::after {
  display: none !important;
}

.hero-center img {
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: cover !important;
  display: block !important;
  filter: none !important;
  animation: none !important;
}

/* remove ugly bottom text */
.hero-title-over {
  display: none !important;
}

/* keep nav over image */
.hero-nav {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  background: transparent !important;
  z-index: 20 !important;
}

/* FIX HERO NAV LINKS POSITION */

.hero-nav {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  height: 110px !important;
  padding: 28px 52px !important;
  direction: rtl !important;
}

/* right side: logo/title */
.hero-brand {
  order: 1 !important;
  margin: 0 !important;
}

/* left side: burger */
.hero-menu-button {
  order: 3 !important;
  margin: 0 !important;
  flex-shrink: 0 !important;
}

/* links stay beside burger, not lower */
.hero-links {
  order: 2 !important;
  display: flex !important;
  align-items: center !important;
  gap: 34px !important;
  margin-right: auto !important;
  margin-left: 24px !important;
  transform: none !important;
  position: static !important;
}

/* only change text color */
.hero-links a {
  color: #d63a2f !important;
  font-weight: 900 !important;
  text-shadow: none !important;
  background: none !important;
  border: none !important;
  padding: 0 !important;
}

.hero-links a:hover {
  color: #ff4a3d !important;
}

/* keep burger clean */
.hero-menu-button {
  color: #d63a2f !important;
  background: rgba(255,255,255,0.45) !important;
  border: 2px solid rgba(214,58,47,0.35) !important;
}


/* LOGO IMAGE REPLACEMENT */

.logo,
.hero-logo {
  overflow: hidden !important;
}

.logo img,
.hero-logo img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  display: block !important;
  padding: 6px !important;
}

.side-logo img {
  width: 95px !important;
  height: auto !important;
  display: block !important;
  margin: 0 auto 12px !important;
}

.logo,
.hero-logo {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

.logo img,
.hero-logo img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

.side-logo img {
  width: 120px !important;
  height: auto !important;
  object-fit: contain !important;
  background: transparent !important;
}

/* CLEAN NAV POSITION FIX */

.hero-nav {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 110px !important;
  padding: 28px 52px !important;
  display: block !important;
  z-index: 50 !important;
  direction: rtl !important;
}

/* logo/title stays on RIGHT */
.hero-brand {
  position: absolute !important;
  top: 28px !important;
  right: 52px !important;
  left: auto !important;
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  direction: rtl !important;
}

/* burger stays on LEFT */
.hero-menu-button {
  position: absolute !important;
  top: 28px !important;
  left: 52px !important;
  right: auto !important;
  margin: 0 !important;
}

/* links beside burger */
.hero-links {
  position: absolute !important;
  top: 45px !important;
  left: 130px !important;
  right: auto !important;
  display: flex !important;
  align-items: center !important;
  gap: 34px !important;
  margin: 0 !important;
}

/* only text color */
.hero-links a {
  color: #d63a2f !important;
  background: none !important;
  border: none !important;
  padding: 0 !important;
  text-shadow: none !important;
  font-weight: 900 !important;
}

.hero-links a:hover {
  color: #ff4a3d !important;
}
/* FINAL NAV ALIGNMENT */

.hero-nav {
  height: 105px !important;
  padding: 35px 70px !important;
  align-items: flex-start !important;
}

/* left navigation group */
.hero-menu-button {
  width: 64px !important;
  height: 64px !important;
  font-size: 36px !important;
  margin-top: 0 !important;
}

.hero-links {
  margin-left: 28px !important;
  margin-top: 16px !important;
  gap: 42px !important;
}

/* link text */
.hero-links a {
  font-size: 24px !important;
  line-height: 1 !important;
}

/* logo right spacing */
.hero-brand {
  margin-top: 6px !important;
  margin-left: auto !important;
}

.hero-logo {
  width: 92px !important;
  height: 92px !important;
}

/* MOBILE HERO NAV FIX */

@media (max-width: 700px) {
  .hero-nav {
    height: 90px !important;
    padding: 18px 22px !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
  }

  .hero-links {
    display: none !important;
  }

  .hero-menu-button {
    width: 58px !important;
    height: 58px !important;
    font-size: 30px !important;
    margin: 0 !important;
  }

  .hero-brand {
    margin: 0 !important;
  }

  .hero-logo {
    width: 72px !important;
    height: 72px !important;
  }

  .hero-center {
    padding-top: 0 !important;
  }

  .hero-center img {
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
  }
}

/* FORCE MOBILE TOP POSITIONS */

@media (max-width: 700px) {
  .hero-nav {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 0 !important;
    padding: 0 !important;
    z-index: 999 !important;
    display: block !important;
  }

  .hero-menu-button {
    position: absolute !important;
    top: 14px !important;
    left: 14px !important;
    right: auto !important;
    width: 44px !important;
    height: 44px !important;
    font-size: 24px !important;
    border-radius: 14px !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 1000 !important;
  }

  .hero-brand {
    position: absolute !important;
    top: 12px !important;
    right: 14px !important;
    left: auto !important;
    margin: 0 !important;
    z-index: 1000 !important;
  }

  .hero-logo {
    width: 56px !important;
    height: 56px !important;
    margin: 0 !important;
  }

  .hero-logo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
  }

  .hero-links {
    display: none !important;
  }
}
.item-option {
  width: 100%;
  padding: 11px;
  border: 1px solid #e5c48f;
  border-radius: 12px;
  margin-bottom: 12px;
  background: #fffdf8;
  font-size: 15px;
}

/* CART OVERLAY LOCK BACKGROUND */

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(2px);
  z-index: 25;
  display: none;
}

.cart-overlay.show {
  display: block;
}

.cart-panel {
  z-index: 35 !important;
}

body.cart-open {
  overflow: hidden;
}

/* ADD TO CART FEEDBACK */

.add-btn.added {
  background: linear-gradient(135deg, #d99a24, #b86d16) !important;
  transform: scale(0.97);
}

.cart-bounce {
  animation: cartBounce 0.45s ease;
}

@keyframes cartBounce {
  0% {
    transform: scale(1);
  }

  35% {
    transform: scale(1.12);
  }

  70% {
    transform: scale(0.96);
  }

  100% {
    transform: scale(1);
  }
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* FIX PRODUCT IMAGE EMPTY SPACE */

.product-image {
  height: 250px !important;
  padding: 0 !important;
  overflow: hidden !important;
  display: block !important;
  background: none !important;
}

.product-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
}

.product-content {
  margin-top: 0 !important;
  padding-top: 18px !important;
}

/* FIX MENU IMAGE INTERNAL EMPTY SPACE */

.product-image {
  height: 250px !important;
  overflow: hidden !important;
  background: #eef1f3 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.product-image img {
  width: 107% !important;
  height: 107% !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block !important;
}

/* PRODUCT IMAGE: zoom and crop from top only */

.product-image {
  height: 250px !important;
  overflow: hidden !important;
  background: #eef1f3 !important;
  display: flex !important;
  align-items: flex-end !important; /* keeps bottom fixed */
  justify-content: center !important;
}

.product-image img {
  width: 108% !important;
  height: auto !important;
  min-height: 108% !important;
  object-fit: cover !important;
  object-position: center bottom !important; /* crop from top */
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* PRODUCT IMAGE: tiny bottom crop to remove black line */

.product-image {
  height: 250px !important;
  overflow: hidden !important;
  background: #eef1f3 !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: center !important;
}

.product-image img {
  width: 110% !important;
  height: auto !important;
  min-height: 112% !important;
  object-fit: cover !important;
  object-position: center 96% !important;
  display: block !important;
  margin-bottom: -4px !important;
}

/* SPACE BETWEEN CART FORM FIELDS */

.checkout-form {
  display: grid !important;
  gap: 14px !important;
}

#cartBranchSelect {
  margin-bottom: 15px !important;
}

/* PROFESSIONAL MENU CARDS */

.menu {
  gap: 22px !important;
}

.product-card {
  background: #ffffff !important;
  border-radius: 22px !important;
  overflow: hidden !important;
  border: 1px solid #ecd8b4 !important;
  box-shadow: 0 8px 24px rgba(60, 30, 12, 0.08) !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease !important;
}

.product-card:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 14px 34px rgba(60, 30, 12, 0.13) !important;
}

.product-image {
  height: 225px !important;
  border-bottom: 1px solid #ead8b8 !important;
}

.product-content {
  padding: 17px 18px 18px !important;
  background: #ffffff !important;
}

.product-content h3 {
  font-size: 21px !important;
  line-height: 1.45 !important;
  color: #25130b !important;
  margin: 0 0 7px !important;
  font-weight: 800 !important;
}

.price {
  color: #b45f15 !important;
  font-size: 19px !important;
  font-weight: 800 !important;
  margin-bottom: 13px !important;
}

.add-btn {
  border-radius: 14px !important;
  padding: 13px !important;
  font-size: 16px !important;
  background: #008a45 !important;
  box-shadow: none !important;
}

.add-btn:hover {
  background: #00753b !important;
  transform: none !important;
}

.item-option {
  margin: 5px 0 13px !important;
  padding: 12px !important;
  border-radius: 13px !important;
  border: 1px solid #e3c99c !important;
  background: #fffdf8 !important;
  font-weight: 700 !important;
}

/* MENU SECTION BANNER */

.menu-banner {
  max-width: 1180px;
  margin: 34px auto 16px;
  padding: 24px 28px;
  border-radius: 22px;
  background: linear-gradient(135deg, #3b1d10, #6a3518);
  border-top: 4px solid #d99a24;
  color: white;
  box-shadow: 0 12px 32px rgba(60, 30, 12, 0.14);
}

.menu-banner span {
  display: inline-block;
  color: #f3bd4e;
  font-weight: 800;
  margin-bottom: 6px;
}

.menu-banner h2 {
  margin: 0 0 6px;
  font-size: 28px;
  color: white;
}

.menu-banner p {
  margin: 0;
  color: #f4ddbb;
  line-height: 1.7;
}

/* CLEAN APP-LIKE MENU STYLE */

main {
  max-width: 1420px !important;
  padding-left: 28px !important;
  padding-right: 28px !important;
}

.menu {
  display: grid !important;
  grid-template-columns repeat(4, 1fr) !important;
  gap: 26px !important;
  align-items: start !important;
}

.product-card {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  overflow: visible !important;
  text-align: right !important;
}

.product-card:hover {
  transform: none !important;
  box-shadow: none !important;
}

.product-image {
  height: 250px !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  background: #f1f1f1 !important;
  border: 1px solid #eeeeee !important;
  box-shadow: none !important;
  position: relative !important;
}

.product-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center 96% !important;
  display: block !important;
}

.product-content {
  background: transparent !important;
  padding: 14px 4px 0 !important;
}

.product-content h3 {
  font-size: 18px !important;
  line-height: 1.5 !important;
  color: #263341 !important;
  font-weight: 700 !important;
  margin: 0 0 5px !important;
}

.price {
  font-size: 16px !important;
  color: #e56b2c !important;
  font-weight: 700 !important;
  margin: 0 0 10px !important;
}

.add-btn {
  width: auto !important;
  min-width: 130px !important;
  background: #ff7a2f !important;
  color: white !important;
  border-radius: 12px !important;
  padding: 10px 18px !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  box-shadow: 0 8px 18px rgba(255, 122, 47, 0.28) !important;
}

.add-btn:hover {
  background: #f0641d !important;
}

.add-btn.added {
  background: #0a9b54 !important;
}

/* category bar like ordering app */
.categories {
  max-width: 1420px !important;
  margin: 0 auto 26px !important;
  padding: 18px 8px !important;
  display: flex !important;
  gap: 14px !important;
  overflow-x: auto !important;
  border-bottom: 4px solid #ff7a2f !important;
  background: rgba(255, 255, 255, 0.7) !important;
}

.category-btn {
  background: #ffffff !important;
  border: 1px solid #eeeeee !important;
  color: #263341 !important;
  padding: 13px 22px !important;
  border-radius: 18px !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06) !important;
  font-size: 15px !important;
  font-weight: 800 !important;
}

.category-btn.active {
  background: #ff7a2f !important;
  color: white !important;
  border-color: #ff7a2f !important;
}

/* hide old dark banner if you added it */
.menu-banner {
  display: none !important;
}

/* mobile */
@media (max-width: 1000px) {
  .menu {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 600px) {
  main {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .menu {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
  }

  .product-image {
    height: 240px !important;
  }

  .categories {
    padding: 14px 6px !important;
    gap: 10px !important;
  }

  .category-btn {
    padding: 11px 16px !important;
    font-size: 14px !important;
  }
}

/* PRODUCT HOVER EFFECT - CLEAN APP STYLE */

.product-card {
  transition: transform 0.22s ease, opacity 0.22s ease !important;
}

.product-card:hover {
  transform: translateY(-8px) !important;
}

.product-card:hover .product-image {
  box-shadow: 0 14px 30px rgba(60, 30, 12, 0.16) !important;
}

.product-card:hover .product-image img {
  transform: scale(1.04) !important;
}

.product-image img {
  transition: transform 0.28s ease !important;
}

/* button becomes slightly stronger on hover */
.product-card:hover .add-btn {
  background: #f0641d !important;
  box-shadow: 0 10px 22px rgba(255, 122, 47, 0.28) !important;
}

/* PROFESSIONAL PRODUCT TILT HOVER */

.product-card {
  transform-style: preserve-3d !important;
  transition: transform 0.18s ease, filter 0.18s ease !important;
  will-change: transform !important;
}

.product-card.tilting {
  transition: transform 0.05s linear !important;
}

.product-card:hover .product-image {
  box-shadow: 0 14px 30px rgba(60, 30, 12, 0.14) !important;
}

.product-card:hover .add-btn {
  background: #f0641d !important;
  box-shadow: 0 10px 22px rgba(255, 122, 47, 0.22) !important;
}


/* FINAL PRODUCT MOUSE TILT */

.product-card {
  --rx: 0deg;
  --ry: 0deg;
  --lift: 0px;
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(var(--lift)) !important;
  transition: transform 0.18s ease, filter 0.18s ease !important;
  will-change: transform !important;
}

.product-card.tilting {
  transition: transform 0.04s linear !important;
}

.product-card:hover {
  --lift: -5px;
}

.product-card:hover .product-image {
  box-shadow: 0 14px 30px rgba(60, 30, 12, 0.16) !important;
}

.product-card:hover .add-btn {
  background: #f0641d !important;
  box-shadow: 0 10px 22px rgba(255, 122, 47, 0.25) !important;
}

/* STRONG PRODUCT TILT SUPPORT */

.product-card {
  transform-style: preserve-3d !important;
  will-change: transform !important;
  transition: transform 0.15s ease !important;
}

.product-card:hover .product-image {
  box-shadow: 0 16px 34px rgba(60, 30, 12, 0.16) !important;
}

.product-card:hover .add-btn {
  background: #f0641d !important;
}

/* MOBILE MENU LAYOUT IMPROVEMENT */

@media (max-width: 700px) {
  .menu {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }

  .product-image {
    height: 145px !important;
    border-radius: 16px !important;
  }

  .product-content {
    padding: 10px 2px 0 !important;
  }

  .product-content h3 {
    font-size: 14px !important;
    line-height: 1.5 !important;
    min-height: 42px !important;
  }

  .price {
    font-size: 14px !important;
    margin-bottom: 8px !important;
  }

  .add-btn {
    width: 100% !important;
    min-width: 0 !important;
    padding: 10px 8px !important;
    font-size: 13px !important;
    border-radius: 12px !important;
  }

  .item-option {
    font-size: 12px !important;
    padding: 9px !important;
    margin-bottom: 8px !important;
  }
}

/* ADD BUTTON: CHANGE COLOR IMMEDIATELY AFTER CLICK */

.add-btn.added,
.product-card:hover .add-btn.added {
  background: #0a9b54 !important;
  color: white !important;
  box-shadow: 0 10px 22px rgba(10, 155, 84, 0.25) !important;
}

/* TILT ONLY FROM IMAGE AREA */

.product-card:hover {
  transform: none;
}

.product-image {
  cursor: pointer;
}
/* PRODUCT TILT: TRIGGER IMAGE ONLY, MOVE WHOLE CARD */

.product-card {
  transform-style: preserve-3d !important;
  will-change: transform !important;
  transition: transform 0.15s ease !important;
}

.product-image {
  cursor: pointer !important;
  transform: none !important;
}

.product-image:hover {
  box-shadow: 0 16px 34px rgba(60, 30, 12, 0.16) !important;
}

/* SAFE PRODUCT TILT - ONLY IMAGE TRIGGERS IT */

.product-card {
  transform-style: preserve-3d !important;
  will-change: transform !important;
  transition: transform 0.16s ease !important;
}

.product-card:hover {
  transform: none;
}

.product-image {
  cursor: pointer !important;
  overflow: hidden !important;
}

.product-image:hover {
  box-shadow: 0 16px 34px rgba(60, 30, 12, 0.16) !important;
}

.product-content,
.add-btn {
  transform: none !important;
}

/* MOBILE MENU IMPROVEMENT */

@media (max-width: 700px) {
  main {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .menu {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px !important;
  }

  .product-image {
    height: 145px !important;
    border-radius: 14px !important;
  }

  .product-content {
    padding: 9px 2px 0 !important;
  }

  .product-content h3 {
    font-size: 13px !important;
    line-height: 1.45 !important;
    min-height: 38px !important;
  }

  .price {
    font-size: 13px !important;
    margin-bottom: 7px !important;
  }

  .item-option {
    font-size: 12px !important;
    padding: 8px !important;
    margin-bottom: 7px !important;
  }

  .add-btn {
    width: 100% !important;
    min-width: 0 !important;
    font-size: 12px !important;
    padding: 9px 6px !important;
    border-radius: 10px !important;
  }

  .categories {
    padding: 12px 6px !important;
    gap: 9px !important;
  }

  .category-btn {
    font-size: 13px !important;
    padding: 10px 14px !important;
    border-radius: 14px !important;
  }
}

/* CLEAN CHECKOUT CART DESIGN */

.cart-panel {
  background: #ffffff !important;
  border-radius: 0 24px 24px 0 !important;
}

.cart-header {
  border-bottom: 1px solid #eee2cd;
  padding-bottom: 14px;
  margin-bottom: 14px;
}

.cart-header h2 {
  color: #24120b;
  font-size: 26px;
}

.cart-item {
  background: #fffaf1;
  border: 1px solid #ead7b5;
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 10px;
}

.cart-item-title {
  color: #24120b;
  font-size: 16px;
}

.qty-row {
  margin-top: 8px;
}

.qty-controls button {
  background: #ff7a2f !important;
  border-radius: 10px !important;
}

.cart-total {
  background: #fff3dd !important;
  border: 1px solid #e8c88d !important;
  color: #24120b !important;
}

.checkout-title {
  margin: 6px 0 2px;
  color: #24120b;
  font-size: 20px;
}

.checkout-form input,
.checkout-form select,
.checkout-form textarea {
  border-radius: 14px !important;
  border: 1px solid #e2c99d !important;
  background: #fffdf8 !important;
}

.whatsapp-btn {
  background: #0a9b54 !important;
  border-radius: 14px !important;
}

.clear-cart-btn {
  border-radius: 14px !important;
}

/* MOBILE CART IMPROVEMENT */

@media (max-width: 700px) {
  .cart-panel {
    width: 100% !important;
    max-width: 100% !important;
    left: -100% !important;
    border-radius: 0 !important;
    padding: 16px !important;
  }

  .cart-panel.open {
    left: 0 !important;
  }

  .cart-header h2 {
    font-size: 24px !important;
  }

  .cart-item {
    padding: 12px !important;
  }

  .cart-item-title {
    font-size: 15px !important;
  }

  .checkout-form input,
  .checkout-form select,
  .checkout-form textarea {
    font-size: 15px !important;
    padding: 12px !important;
  }

  .whatsapp-btn,
  .clear-cart-btn {
    padding: 13px !important;
    font-size: 15px !important;
  }
}

/* STICKY MENU CATEGORIES */

.categories {
  position: sticky !important;
  top: 0 !important;
  z-index: 40 !important;
  backdrop-filter: blur(10px) !important;
  background: rgba(255, 250, 241, 0.92) !important;
  border-bottom: 3px solid #ff7a2f !important;
}

@media (max-width: 700px) {
  .categories {
    top: 0 !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }
}

/* EMERGENCY FIX: SHOW MENU + CATEGORIES AGAIN */

.categories {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow-x: auto !important;
  overflow-y: visible !important;
  margin: 20px auto 28px !important;
  padding: 14px 8px !important;
  position: relative !important;
  top: auto !important;
  z-index: 5 !important;
  background: transparent !important;
}

.category-btn {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.menu {
  display: grid !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 26px !important;
  margin-top: 20px !important;
}

.product-card {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

@media (max-width: 700px) {
  .menu {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px !important;
  }

  .categories {
    position: relative !important;
    top: auto !important;
  }
}


/* RESTORE MENU DISPLAY */

.categories {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  position: relative !important;
  top: auto !important;
  z-index: 5 !important;
}

.menu {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 26px !important;
  opacity: 1 !important;
  visibility: visible !important;
  height: auto !important;
  overflow: visible !important;
}

.product-card {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

@media (max-width: 700px) {
  .menu {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}


/* RESTORE CART BUTTON TOTAL */

.cart-button {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: #ff7a2f !important;
  border-radius: 18px !important;
  padding: 13px 18px !important;
  font-size: 15px !important;
}

.cart-icon {
  font-size: 20px !important;
}

.cart-label {
  font-weight: 800 !important;
}

#cartButtonTotal {
  background: rgba(255,255,255,0.18) !important;
  color: white !important;
  padding: 4px 8px !important;
  border-radius: 10px !important;
  font-size: 13px !important;
}

@media (max-width: 700px) {
  .cart-button {
    right: 12px !important;
    bottom: 12px !important;
    left: 12px !important;
    width: auto !important;
    justify-content: center !important;
  }
}

/* SAFE STICKY CATEGORY BAR */

.categories {
  position: sticky !important;
  top: 0 !important;
  z-index: 25 !important;
  background: #fbf4e8 !important;
  backdrop-filter: blur(8px) !important;
  border-bottom: 3px solid #ff7a2f !important;
  padding-top: 12px !important;
  padding-bottom: 12px !important;
}

/* SAFE MOBILE CART IMPROVEMENT */

@media (max-width: 700px) {
  .cart-panel {
    width: 100% !important;
    max-width: 100% !important;
    left: -100% !important;
    border-radius: 0 !important;
    padding: 16px !important;
  }

  .cart-panel.open {
    left: 0 !important;
  }

  .cart-header h2 {
    font-size: 24px !important;
  }

  .cart-item {
    padding: 12px !important;
  }

  .cart-item-title {
    font-size: 15px !important;
  }

  .checkout-form input,
  .checkout-form select,
  .checkout-form textarea,
  #cartBranchSelect {
    font-size: 15px !important;
    padding: 12px !important;
  }

  .whatsapp-btn,
  .clear-cart-btn {
    padding: 13px !important;
    font-size: 15px !important;
  }
}

/* PRODUCT TILT: TRIGGER IMAGE ONLY, MOVE WHOLE CARD */

.product-card {
  transform-style: preserve-3d !important;
  will-change: transform !important;
  transition: transform 0.15s ease !important;
}

.product-image {
  cursor: pointer !important;
  transform: none !important;
}

.product-image:hover {
  box-shadow: 0 16px 34px rgba(60, 30, 12, 0.16) !important;
}

/* CHECKOUT FIELD ERROR HIGHLIGHT */

.field-error {
  border: 2px solid #e63946 !important;
  background: #fff3f3 !important;
  box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.12) !important;
}

/* FIX MOBILE CART BOTTOM BUTTON SAFARI */

@media (max-width: 700px) {
  .cart-panel {
    height: 100dvh !important;
    max-height: 100dvh !important;
    overflow-y: auto !important;
    padding-bottom: 110px !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .whatsapp-btn {
    margin-bottom: 45px !important;
  }

  .checkout-form {
    padding-bottom: 12px !important;
  }
}

.selected-branch-note {
  margin: 8px 0 14px;
  padding: 10px 12px;
  background: #fff6e6;
  border: 1px solid #f0c27a;
  border-radius: 12px;
  color: #5b2d17;
  font-size: 14px;
  font-weight: bold;
}


#selectedBranchName {
  color: #d63a2f;
  font-weight: 900;
}

/* MENU SEARCH */

.menu-search-box {
  max-width: 520px;
  margin: 20px auto 10px;
}

.menu-search-box input {
  width: 100%;
  padding: 15px 18px;
  border: 1px solid #ead2a5;
  border-radius: 16px;
  font-size: 16px;
  background: #fffdf8;
  color: #24120b;
}

.menu-search-box input:focus {
  outline: 2px solid rgba(255, 122, 47, 0.25);
}

/* COMPACT MENU SEARCH BUTTON + SUGGESTIONS */

.menu-search-wrapper {
  max-width: 1180px;
  margin: 18px auto 10px;
  padding: 0 10px;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 30;
}

.menu-search-toggle {
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 18px;
  background: #ff7a2f;
  color: white;
  font-size: 22px;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(255, 122, 47, 0.24);
}

.menu-search-panel {
  position: absolute;
  top: 60px;
  width: min(520px, calc(100vw - 32px));
  background: white;
  border: 1px solid #ead2a5;
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(54, 26, 12, 0.16);
  padding: 12px;
  display: none;
}

.menu-search-panel.open {
  display: block;
}

.menu-search-panel input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #ead2a5;
  border-radius: 14px;
  font-size: 15px;
  background: #fffdf8;
  color: #24120b;
}

.search-suggestions {
  margin-top: 8px;
  display: grid;
  gap: 6px;
}

.search-suggestion-item {
  width: 100%;
  border: none;
  background: #fff8ec;
  border-radius: 12px;
  padding: 10px 12px;
  text-align: right;
  cursor: pointer;
  color: #24120b;
}

.search-suggestion-item span {
  display: block;
  font-weight: 800;
}

.search-suggestion-item small {
  color: #b45f15;
}

.search-suggestion-item:hover {
  background: #ffefe0;
}

.search-suggestion-empty {
  padding: 10px;
  color: #80654f;
  text-align: center;
}

/* SEARCH BUTTON NEXT TO CATEGORIES */

.categories-row {
  max-width: 1180px;
  margin: 20px auto 28px;
  padding: 0 10px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border-bottom: 3px solid #ff7a2f;
  position: relative;
}

.categories-row .categories {
  margin: 0 !important;
  padding: 0 !important;
  border-bottom: none !important;
  flex: 0 1 auto;
}

.menu-search-wrapper {
  margin: 0 !important;
  padding: 0 !important;
  position: relative !important;
  max-width: none !important;
  z-index: 50 !important;
}

.menu-search-toggle {
  width: 52px !important;
  height: 52px !important;
  border-radius: 16px !important;
  flex-shrink: 0 !important;
}

.menu-search-panel {
  top: 62px !important;
  left: 0 !important;
  right: auto !important;
  z-index: 100 !important;
}

@media (max-width: 700px) {
  .categories-row {
    justify-content: flex-start;
    overflow-x: auto;
    padding: 0 10px 12px;
  }

  .categories-row .categories {
    overflow-x: visible !important;
    flex-shrink: 0;
  }

  .menu-search-wrapper {
    flex-shrink: 0;
  }

  .menu-search-panel {
    position: fixed !important;
    top: 110px !important;
    left: 16px !important;
    right: 16px !important;
    width: auto !important;
  }
}
/* SAFE CATEGORY ROW WITH SEARCH */

.categories-row {
  max-width: 1180px;
  margin: 20px auto 28px;
  padding: 0 10px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border-bottom: 3px solid #ff7a2f;
  position: relative;
}

.categories-row .categories {
  margin: 0 !important;
  padding: 0 !important;
  border-bottom: none !important;
  display: flex !important;
  gap: 10px !important;
  overflow-x: auto !important;
}

.menu-search-wrapper {
  margin: 0 !important;
  padding: 0 !important;
  position: relative !important;
  z-index: 50 !important;
  flex-shrink: 0 !important;
}

.menu-search-toggle {
  width: 52px !important;
  height: 52px !important;
  border-radius: 16px !important;
  border: none !important;
  background: #ff7a2f !important;
  color: white !important;
  font-size: 20px !important;
  cursor: pointer !important;
}

.menu-search-panel {
  position: absolute !important;
  top: 62px !important;
  left: 0 !important;
  width: 320px !important;
  background: white !important;
  border: 1px solid #ead2a5 !important;
  border-radius: 16px !important;
  box-shadow: 0 18px 45px rgba(54, 26, 12, 0.16) !important;
  padding: 12px !important;
  display: none;
}

.menu-search-panel.open {
  display: block !important;
}

@media (max-width: 700px) {
  .categories-row {
    justify-content: flex-start !important;
    overflow-x: auto !important;
  }

  .menu-search-panel {
    position: fixed !important;
    top: 110px !important;
    left: 16px !important;
    right: 16px !important;
    width: auto !important;
  }
}

/* WIDER CATEGORY ROW WITH SEARCH */

.categories-row {
  max-width: 1450px !important;
  width: calc(100% - 80px) !important;
  margin: 20px auto 28px !important;
  padding: 0 10px 12px !important;
  gap: 12px !important;
}

.categories-row .categories {
  flex: 1 !important;
  justify-content: center !important;
  gap: 12px !important;
}

.category-btn {
  min-width: 105px !important;
  padding: 14px 22px !important;
  text-align: center !important;
}

.menu-search-wrapper {
  flex-shrink: 0 !important;
}

.menu-search-toggle {
  width: 58px !important;
  height: 58px !important;
}

/* FIX CATEGORY ROW HEIGHT ONLY */

.categories-row {
  max-width: 1180px !important;
  width: auto !important;
  margin: 20px auto 28px !important;
  padding: 0 10px 14px !important;
  gap: 14px !important;
}

.categories-row .categories {
  justify-content: center !important;
  gap: 12px !important;
}

.category-btn {
  min-width: auto !important;
  height: 58px !important;
  padding: 0 26px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.menu-search-toggle {
  width: 58px !important;
  height: 58px !important;
  font-size: 22px !important;
}

/* FIX CATEGORY ACTIVE BUTTON CUTTING */

.categories-row {
  padding-top: 14px !important;
  padding-bottom: 16px !important;
  overflow: visible !important;
  align-items: center !important;
}

.categories-row .categories {
  padding-top: 8px !important;
  padding-bottom: 8px !important;
  overflow: visible !important;
}

.category-btn {
  height: 54px !important;
  line-height: 1 !important;
  overflow: visible !important;
}

.category-btn.active {
  transform: none !important;
  border: 2px solid #24120b !important;
}

/* FIX SEARCH BUTTON SHOWING ABOVE CART */

.cart-overlay {
  z-index: 200 !important;
}

.cart-panel {
  z-index: 300 !important;
}

.menu-search-wrapper,
.menu-search-panel {
  z-index: 20 !important;
}

body.cart-open .menu-search-wrapper,
body.cart-open .menu-search-panel {
  display: none !important;
}

/* FIX CATEGORY + SEARCH ON PHONE */

@media (max-width: 700px) {
  .categories-row {
    width: 100% !important;
    max-width: 100% !important;
    margin: 14px 0 22px !important;
    padding: 12px 10px 14px !important;
    display: flex !important;
    flex-direction: row-reverse !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    border-bottom: 3px solid #ff7a2f !important;
  }

  .categories-row .categories {
    display: flex !important;
    flex-direction: row-reverse !important;
    gap: 10px !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
    flex-shrink: 0 !important;
    padding: 8px 0 !important;
    margin: 0 !important;
  }

  .menu-search-wrapper {
    flex-shrink: 0 !important;
    position: relative !important;
    margin: 0 !important;
    padding: 0 !important;
    order: -1 !important;
  }

  .menu-search-toggle {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    border-radius: 14px !important;
    font-size: 19px !important;
  }

  .category-btn {
    height: 48px !important;
    padding: 0 16px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }

  .menu-search-panel {
    position: fixed !important;
    top: 90px !important;
    left: 14px !important;
    right: 14px !important;
    width: auto !important;
    z-index: 500 !important;
  }
}

/* FIX CATEGORY ROW RTL ON PHONE */

.categories-row {
  direction: rtl !important;
}

.categories-row .categories {
  direction: rtl !important;
  flex-direction: row !important;
}

@media (max-width: 700px) {
  .categories-row {
    direction: rtl !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: flex-start !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
  }

  .categories-row .categories {
    direction: rtl !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: flex-start !important;
    overflow-x: visible !important;
    flex-shrink: 0 !important;
  }

  .menu-search-wrapper {
    order: 0 !important;
    flex-shrink: 0 !important;
  }

.menu-search-wrapper {
  order: 99 !important;
}

  .category-btn {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
  }
}
/* FIX SEARCH PANEL POSITION RTL */

.menu-search-wrapper {
  position: relative !important;
}

.menu-search-panel {
  right: 0 !important;
  left: auto !important;
  text-align: right !important;
  direction: rtl !important;
}

.menu-search-panel input {
  text-align: right !important;
  direction: rtl !important;
}

@media (max-width: 700px) {
  .menu-search-panel {
    position: fixed !important;
    right: 14px !important;
    left: 14px !important;
    width: auto !important;
    top: 90px !important;
  }
}

/* KEEP SEARCH BUTTON ON RIGHT SIDE */

.categories-row {
  direction: rtl !important;
  flex-direction: row !important;
}

.menu-search-wrapper {
  order: -1 !important;
}

.categories-row .categories {
  flex-direction: row !important;
}


/* PHONE FRIENDLY SEARCH FIX */

@media (max-width: 700px) {
  .categories-row {
    position: relative !important;
    direction: rtl !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    padding: 12px 12px 16px !important;
    margin: 14px 0 22px !important;
  }

  .menu-search-wrapper {
    position: static !important;
    flex-shrink: 0 !important;
    order: -1 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .menu-search-toggle {
    width: 52px !important;
    height: 52px !important;
    min-width: 52px !important;
    border-radius: 14px !important;
    font-size: 20px !important;
  }

  .menu-search-panel {
    position: fixed !important;
    top: 185px !important;
    right: 14px !important;
    left: 14px !important;
    width: auto !important;
    max-width: none !important;
    z-index: 600 !important;
    padding: 12px !important;
    border-radius: 18px !important;
  }

  .menu-search-panel input {
    width: 100% !important;
    height: 52px !important;
    font-size: 16px !important;
    text-align: right !important;
    direction: rtl !important;
  }

  .search-suggestions {
    max-height: 260px !important;
    overflow-y: auto !important;
  }

  .search-suggestion-item {
    text-align: right !important;
    padding: 14px !important;
    font-size: 15px !important;
  }
}

body.cart-open .menu-search-panel,
body.cart-open .menu-search-wrapper {
  display: none !important;
}

/* FINAL MOBILE SEARCH FIX */

.menu-search-wrapper {
  position: relative !important;
}

.menu-search-panel {
  right: 0 !important;
  left: auto !important;
  direction: rtl !important;
  text-align: right !important;
}

.menu-search-panel input {
  direction: rtl !important;
  text-align: right !important;
}

@media (max-width: 700px) {
  .categories-row {
    position: relative !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    padding-bottom: 18px !important;
  }

  .menu-search-wrapper {
    position: relative !important;
    order: -1 !important;
    flex-shrink: 0 !important;
  }

  .menu-search-panel {
    position: absolute !important;
    top: 62px !important;
    right: 0 !important;
    left: auto !important;
    width: calc(100vw - 28px) !important;
    max-width: 560px !important;
    z-index: 999 !important;
    display: none !important;
  }

  .menu-search-panel.open {
    display: block !important;
  }

  .menu-search-panel input {
    height: 52px !important;
    font-size: 16px !important;
  }

  .search-suggestions {
    max-height: 240px !important;
    overflow-y: auto !important;
  }

  .search-suggestion-item {
    padding: 14px !important;
    text-align: right !important;
  }

  body.cart-open .menu-search-panel,
  body.cart-open .menu-search-wrapper {
    display: none !important;
  }
}

/* FINAL SEARCH FIX - DESKTOP + PHONE */

.menu-search-toggle {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  font-size: 24px !important;
  line-height: 1 !important;
  overflow: hidden !important;
}

.menu-search-panel {
  display: none !important;
}

.menu-search-panel.open {
  display: block !important;
}

/* desktop */
@media (min-width: 701px) {
  .categories-row {
    position: relative !important;
    overflow: visible !important;
  }

  .menu-search-wrapper {
    position: relative !important;
  }

  .menu-search-panel {
    position: absolute !important;
    top: 68px !important;
    right: 0 !important;
    left: auto !important;
    width: 360px !important;
    z-index: 999 !important;
  }
}

/* phone */
@media (max-width: 700px) {
  .categories-row {
    position: relative !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    padding-top: 14px !important;
    padding-bottom: 110px !important;
  }

  .menu-search-wrapper {
    position: static !important;
    order: -1 !important;
    flex-shrink: 0 !important;
  }

  .menu-search-panel {
    position: absolute !important;
    top: 78px !important;
    right: 12px !important;
    left: 12px !important;
    width: auto !important;
    max-width: none !important;
    z-index: 999 !important;
  }

  .menu-search-panel input {
    width: 100% !important;
    height: 54px !important;
    font-size: 16px !important;
    direction: rtl !important;
    text-align: right !important;
  }

  .search-suggestions {
    max-height: 230px !important;
    overflow-y: auto !important;
  }

  .search-suggestion-item {
    text-align: right !important;
    padding: 14px !important;
  }
}

/* hide search when cart is open */
body.cart-open .menu-search-panel,
body.cart-open .menu-search-wrapper {
  display: none !important;
}

/* FIX SEARCH EMPTY SPACE AFTER CLOSING */

@media (max-width: 700px) {
  .categories-row {
    padding-bottom: 16px !important;
  }

  .categories-row.search-open {
    padding-bottom: 130px !important;
  }

  .menu-search-panel {
    display: none !important;
  }

  .menu-search-panel.open {
    display: block !important;
  }
}

/* FINAL FIX: MOBILE SEARCH WITHOUT EMPTY SPACE */

.categories-row,
.categories-row.search-open {
  padding-bottom: 16px !important;
  margin-bottom: 22px !important;
  overflow-x: auto !important;
  overflow-y: visible !important;
}

.menu-search-panel {
  display: none !important;
}

.menu-search-panel.open {
  display: block !important;
}

@media (max-width: 700px) {
  .categories-row,
  .categories-row.search-open {
    padding-bottom: 16px !important;
    margin-bottom: 22px !important;
  }

  .menu-search-panel {
    position: fixed !important;
    width: auto !important;
    max-width: none !important;
    z-index: 9999 !important;
    background: #fffaf1 !important;
    border: 1px solid #ead2a5 !important;
    border-radius: 18px !important;
    padding: 12px !important;
    box-shadow: 0 18px 45px rgba(54, 26, 12, 0.18) !important;
  }

  .menu-search-panel input {
    width: 100% !important;
    height: 54px !important;
    font-size: 16px !important;
    direction: rtl !important;
    text-align: right !important;
    border-radius: 14px !important;
  }

  .search-suggestions {
    max-height: 230px !important;
    overflow-y: auto !important;
    margin-top: 8px !important;
  }

  .search-suggestion-item {
    text-align: right !important;
    padding: 14px !important;
  }
}

/* FINAL CLEAN SEARCH SYSTEM */

.categories-row {
  max-width: 1180px !important;
  margin: 20px auto 18px !important;
  padding: 12px 10px 16px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  border-bottom: 3px solid #ff7a2f !important;
  overflow-x: auto !important;
  overflow-y: visible !important;
  direction: rtl !important;
}

.categories-row .categories {
  display: flex !important;
  gap: 10px !important;
  margin: 0 !important;
  padding: 0 !important;
  border-bottom: none !important;
  overflow: visible !important;
  direction: rtl !important;
}

.menu-search-wrapper {
  position: static !important;
  margin: 0 !important;
  padding: 0 !important;
  flex-shrink: 0 !important;
  z-index: 1 !important;
}

.menu-search-toggle {
  width: 56px !important;
  height: 56px !important;
  min-width: 56px !important;
  border: none !important;
  border-radius: 16px !important;
  background: #ff7a2f !important;
  color: white !important;
  font-size: 24px !important;
  line-height: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Search box opens as normal block under categories */
#menuSearchPanel.menu-search-panel {
  position: static !important;
  display: none !important;
  width: min(620px, calc(100% - 28px)) !important;
  margin: 0 auto 24px !important;
  padding: 12px !important;
  background: #fffaf1 !important;
  border: 1px solid #ead2a5 !important;
  border-radius: 18px !important;
  box-shadow: 0 14px 34px rgba(54, 26, 12, 0.12) !important;
  direction: rtl !important;
  text-align: right !important;
  z-index: 1 !important;
}

#menuSearchPanel.menu-search-panel.open {
  display: block !important;
}

#menuSearchInput {
  width: 100% !important;
  height: 54px !important;
  padding: 12px 16px !important;
  border: 1px solid #ead2a5 !important;
  border-radius: 14px !important;
  font-size: 16px !important;
  background: #fffdf8 !important;
  color: #24120b !important;
  direction: rtl !important;
  text-align: right !important;
}

.search-suggestions {
  margin-top: 8px !important;
  display: grid !important;
  gap: 8px !important;
  max-height: 240px !important;
  overflow-y: auto !important;
}

.search-suggestion-item {
  width: 100% !important;
  border: none !important;
  background: #fff5e6 !important;
  border-radius: 12px !important;
  padding: 12px 14px !important;
  text-align: right !important;
  cursor: pointer !important;
}

.search-suggestion-item span {
  display: block !important;
  font-weight: 900 !important;
  color: #24120b !important;
}

.search-suggestion-item small {
  color: #b45f15 !important;
}

.search-suggestion-empty {
  padding: 12px !important;
  text-align: center !important;
  color: #80654f !important;
}

/* phone */
@media (max-width: 700px) {
  .categories-row {
    justify-content: flex-start !important;
    margin: 14px 0 16px !important;
    padding: 12px 10px 14px !important;
  }

  .category-btn {
    height: 50px !important;
    padding: 0 16px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }

  .menu-search-toggle {
    width: 52px !important;
    height: 52px !important;
    min-width: 52px !important;
  }

  #menuSearchPanel.menu-search-panel {
    width: calc(100% - 24px) !important;
    margin: 0 auto 18px !important;
  }
}

/* hide search when cart opens */
body.cart-open #menuSearchPanel,
body.cart-open .menu-search-wrapper {
  display: none !important;
}
