* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  direction: rtl;
  font-family: "Cairo", Arial, sans-serif;
  background: #fffaf2;
  color: #3f210f;
  overflow-x: hidden;
}

button,
a {
  font-family: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

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


/* =========================
   HEADER
========================= */

.header {
  position: sticky;
  top: 0;
  z-index: 100;

  background: rgba(255, 250, 242, 0.97);
  backdrop-filter: blur(12px);

  border-bottom: 1px solid #eadccd;
}

.header-inner {
  width: min(1180px, 94%);
  min-height: 76px;
  margin: auto;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 15px;
}

.brand {
  display: flex;
  align-items: center;

  gap: 12px;

  min-width: 0;
}

.brand img {
  width: 52px;
  height: 52px;

  border-radius: 50%;

  object-fit: cover;

  flex-shrink: 0;
}

.brand-text {
  min-width: 0;
}

.brand-text strong {
  display: block;

  color: #4a2311;

  font-size: 16px;
  font-weight: 900;

  white-space: nowrap;
}

.brand-text span {
  display: block;

  color: #9a755d;

  font-size: 10px;
  font-weight: 600;

  white-space: nowrap;
}

.cart-button {
  display: flex;
  align-items: center;
  gap: 7px;

  padding: 11px 16px;

  background: #4d2715;
  color: #ffffff;

  border-radius: 30px;

  font-size: 13px;
  font-weight: 800;

  box-shadow: 0 7px 22px rgba(50, 25, 10, 0.16);
}

.cart-button b {
  width: 22px;
  height: 22px;

  display: grid;
  place-items: center;

  background: #d68a40;
  color: #ffffff;

  border-radius: 50%;

  font-size: 11px;
}


/* =========================
   HERO
========================= */

.hero {
  position: relative;

  min-height: 590px;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;

  background: #25140c;
}

.hero-image {
  position: absolute;
  inset: 0;

  background-image:
    url("https://rokn-el-nutella.lovable.app/assets/cinnamon-hero-_Mh4x9w6.jpg");

  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(31, 15, 7, 0.93),
      rgba(31, 15, 7, 0.54),
      rgba(31, 15, 7, 0.80)
    );
}

.hero-content {
  position: relative;
  z-index: 2;

  width: min(850px, 92%);

  text-align: center;

  color: #ffffff;
}

.hero-logo {
  width: 96px;
  height: 96px;

  object-fit: cover;

  border-radius: 50%;

  border: 4px solid rgba(255, 255, 255, 0.75);

  margin-bottom: 22px;

  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
}

.hero-kicker {
  margin-bottom: 10px;

  color: #e1ae72;

  font-size: 12px;
  font-weight: 800;

  letter-spacing: 5px;
}

.hero h1 {
  font-size: clamp(43px, 7vw, 76px);

  line-height: 1.12;

  font-weight: 900;

  text-shadow: 0 5px 30px rgba(0, 0, 0, 0.45);
}

.hero-content p {
  max-width: 590px;

  margin: 22px auto 28px;

  color: #f9eadb;

  font-size: 15px;

  line-height: 2;
}

.hero-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;

  padding: 14px 27px;

  background: #d48638;
  color: #ffffff;

  border-radius: 30px;

  font-size: 14px;
  font-weight: 900;

  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}


/* =========================
   CATEGORY BAR
========================= */

.category-bar {
  position: sticky;
  top: 76px;
  z-index: 90;

  background: #fffaf2;

  border-bottom: 1px solid #eadccd;

  box-shadow: 0 3px 15px rgba(60, 30, 10, 0.05);
}

.category-nav {
  width: min(1180px, 94%);

  margin: auto;
  padding: 12px 0;

  display: flex;

  gap: 8px;

  overflow-x: auto;

  scrollbar-width: none;
}

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

.category-btn {
  flex: 0 0 auto;

  padding: 9px 15px;

  background: #ffffff;
  color: #673d26;

  border: 1px solid #e4d2bf;

  border-radius: 30px;

  font-size: 11px;
  font-weight: 800;

  transition: 0.2s ease;
}

.category-btn.active {
  background: #4d2715;
  color: #ffffff;

  border-color: #4d2715;
}


/* =========================
   MENU
========================= */

.menu-wrapper {
  width: min(1180px, 94%);

  margin: 60px auto 80px;
}

.menu-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;

  gap: 15px;

  padding-bottom: 18px;
  margin-bottom: 34px;

  border-bottom: 1px solid #eadccd;
}

.menu-kicker {
  margin-bottom: 5px;

  color: #b27a4e;

  font-size: 10px;
  font-weight: 900;

  letter-spacing: 2px;
}

.menu-heading h2 {
  color: #3d1d0d;

  font-size: 38px;
  font-weight: 900;
}

.menu-badge {
  padding: 8px 14px;

  background: #f1e2d2;
  color: #70452d;

  border-radius: 30px;

  font-size: 11px;
  font-weight: 800;
}


/* =========================
   SECTION
========================= */

.menu-section {
  margin-bottom: 55px;

  scroll-margin-top: 135px;
}

.menu-section-title {
  display: flex;
  align-items: center;

  gap: 14px;

  margin-bottom: 20px;
}

.menu-section-title::after {
  content: "";

  flex: 1;

  height: 1px;

  background: #e6d4c1;
}

.menu-section-title h3 {
  color: #48230f;

  font-size: 24px;
  font-weight: 900;
}

.menu-section-title span {
  color: #aa8168;

  font-size: 11px;
  font-weight: 700;

  white-space: nowrap;
}


/* =========================
   PRODUCTS
========================= */

.products-grid {
  display: grid;

  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 14px;
}

.product-card {
  min-height: 145px;

  padding: 18px;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  background: #ffffff;

  border: 1px solid #eadccd;

  border-radius: 17px;

  box-shadow: 0 5px 18px rgba(60, 30, 10, 0.045);
}

.product-name {
  color: #45210f;

  font-size: 14px;
  font-weight: 800;

  line-height: 1.8;
}

.product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 10px;

  margin-top: 15px;
}

.price {
  color: #ae5e20;

  font-size: 17px;
  font-weight: 900;

  white-space: nowrap;
}

.add-button {
  padding: 8px 12px;

  background: #4d2715;
  color: #ffffff;

  border-radius: 10px;

  font-size: 11px;
  font-weight: 800;

  transition: 0.2s ease;
}

.add-button.added {
  background: #8b673f;
}


/* =========================
   CART
========================= */

.cart-overlay {
  position: fixed;
  inset: 0;

  z-index: 500;

  display: flex;
  justify-content: flex-start;

  background: rgba(20, 9, 4, 0.55);

  opacity: 0;
  visibility: hidden;

  transition: 0.25s ease;
}

.cart-overlay.open {
  opacity: 1;
  visibility: visible;
}

.cart-panel {
  width: min(450px, 94vw);
  height: 100%;

  margin-right: 0;

  background: #fffaf2;

  display: flex;
  flex-direction: column;

  transform: translateX(110%);

  transition: 0.3s ease;

  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
}

.cart-overlay.open .cart-panel {
  transform: translateX(0);
}

.cart-header {
  padding: 20px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  border-bottom: 1px solid #eadccd;
}

.cart-header span {
  color: #a3785f;

  font-size: 10px;
  font-weight: 700;
}

.cart-header h2 {
  color: #45220f;

  font-size: 23px;
  font-weight: 900;
}

.close-cart {
  width: 40px;
  height: 40px;

  background: #efdfce;
  color: #4b2513;

  border-radius: 50%;

  font-size: 25px;

  line-height: 1;
}

.cart-items {
  flex: 1;

  overflow-y: auto;

  padding: 16px;
}

.empty-cart {
  min-height: 100%;

  display: flex;
  flex-direction: column;

  align-items: center;
  justify-content: center;

  gap: 9px;

  color: #9b7760;

  text-align: center;
}

.empty-cart strong {
  color: #4b2614;

  font-size: 17px;
}

.cart-item {
  padding: 14px;

  margin-bottom: 10px;

  background: #ffffff;

  border: 1px solid #eadccd;

  border-radius: 14px;
}

.cart-item-top {
  display: flex;
  justify-content: space-between;

  gap: 12px;
}

.cart-item-name {
  color: #44210f;

  font-size: 13px;
  font-weight: 800;

  line-height: 1.7;
}

.cart-item-price {
  color: #aa581d;

  font-size: 13px;
  font-weight: 900;

  white-space: nowrap;
}

.cart-item-bottom {
  margin-top: 12px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.quantity {
  display: flex;
  align-items: center;

  gap: 8px;
}

.quantity button {
  width: 28px;
  height: 28px;

  background: #fffaf2;
  color: #4d2614;

  border: 1px solid #dfc8b1;

  border-radius: 8px;

  font-size: 15px;
  font-weight: 900;
}

.quantity span {
  min-width: 18px;

  text-align: center;

  font-size: 13px;
  font-weight: 900;
}

.remove {
  background: transparent;
  color: #ac4732;

  font-size: 11px;
  font-weight: 800;
}

.cart-footer {
  padding: 18px;

  background: #ffffff;

  border-top: 1px solid #eadccd;
}

.total-row {
  margin-bottom: 13px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  color: #4a2513;

  font-weight: 800;
}

.total-row strong {
  color: #a75319;

  font-size: 21px;
}

.whatsapp-button {
  width: 100%;

  padding: 14px;

  background: #278b4c;
  color: #ffffff;

  border-radius: 12px;

  font-size: 13px;
  font-weight: 900;
}

.clear-button {
  width: 100%;

  margin-top: 7px;

  padding: 9px;

  background: transparent;
  color: #995f43;

  font-size: 11px;
  font-weight: 700;
}


/* =========================
   FOOTER
========================= */

.footer {
  padding: 52px 20px;

  background: #33180c;

  color: #f7eadb;

  text-align: center;
}

.footer img {
  width: 82px;
  height: 82px;

  object-fit: cover;

  border-radius: 50%;

  margin-bottom: 12px;
}

.footer h3 {
  font-size: 19px;
  font-weight: 900;
}

.footer p {
  margin-top: 5px;

  color: #d4bca7;

  font-size: 12px;
}

.footer-address {
  margin-top: 13px !important;
}

.footer-divider {
  width: 75px;

  height: 1px;

  margin: 23px auto;

  background: #9c6b47;
}

.footer small {
  color: #a88c76;

  font-size: 10px;
}


/* =========================
   TABLET
========================= */

@media (max-width: 850px) {

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

}


/* =========================
   MOBILE
========================= */

@media (max-width: 600px) {

  .header-inner {
    min-height: 67px;
  }

  .brand img {
    width: 45px;
    height: 45px;
  }

  .brand-text strong {
    font-size: 12px;
  }

  .brand-text span {
    font-size: 8px;
  }

  .cart-label {
    display: none;
  }

  .cart-button {
    padding: 9px 11px;
  }

  .category-bar {
    top: 67px;
  }

  .hero {
    min-height: 550px;
  }

  .hero-logo {
    width: 82px;
    height: 82px;
  }

  .hero-kicker {
    font-size: 9px;
    letter-spacing: 3px;
  }

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

  .hero-content p {
    padding: 0 13px;

    font-size: 12px;
  }

  .menu-wrapper {
    margin-top: 40px;
  }

  .menu-heading h2 {
    font-size: 31px;
  }

  .products-grid {
    grid-template-columns: 1fr;

    gap: 10px;
  }

  .product-card {
    min-height: 120px;

    padding: 15px;
  }

  .menu-section-title h3 {
    font-size: 19px;
  }

}


/* =========================
   EXTRA SMALL
========================= */

@media (max-width: 380px) {

  .brand-text span {
    display: none;
  }

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

  .menu-heading h2 {
    font-size: 28px;
  }

}

/* Screenshot-matched ordering experience */
.header { position: absolute; top: 0; width: 100%; background: transparent; border: 0; backdrop-filter: none; }
.header-inner { width: min(1180px, 91%); min-height: 82px; }
.brand-text strong { color: #fffaf2; font-size: 18px; }
.brand-text span { color: #d8bd9e; font-size: 12px; }
.brand img { order: -1; width: 64px; height: 64px; border: 2px solid #fff0d5; }
.cart-button { position: relative; width: 48px; height: 48px; padding: 0; justify-content: center; background: #ffe6be; color: #3b180b; box-shadow: none; }
.cart-button .cart-label { display: none; }
.cart-button .cart-icon { font-size: 24px; }
.cart-button b { position: absolute; top: -6px; left: -5px; background: #ae4800; }
.hero { min-height: 498px; align-items: flex-end; }
.hero-image { background-position: 38% center; }
.hero-overlay { background: linear-gradient(90deg, rgba(38,15,5,.84), rgba(38,15,5,.47), rgba(38,15,5,.88)); }
.hero-content { width: min(660px, 90%); padding-bottom: 56px; text-align: right; margin-right: auto; margin-left: 5%; }
.hero-logo { display: none; }
.hero-kicker { color: #fff5e6; font-size: 14px; letter-spacing: 5px; }
.hero h1 { font-size: clamp(55px, 7vw, 84px); line-height: 1.2; text-shadow: none; }
.hero-content p { max-width: 650px; margin: 24px 0 0; padding: 0; color: #ead4bd; font-size: 18px; line-height: 2; }
.category-bar { top: 0; }
.category-nav { width: 100%; padding: 12px 16px; gap: 8px; }
.category-btn { padding: 11px 20px; background: #ffe5bc; color: #3c190c; border: 0; font-size: 15px; }
.category-btn.active { background: #ad4800; border-color: #ad4800; }
.menu-wrapper { width: min(1180px, 91%); margin: 36px auto 120px; }
.menu-heading { align-items: center; margin-bottom: 20px; padding-bottom: 22px; border-bottom: 2px solid #3e1c0d; }
.menu-kicker { color: #a8470a; font-size: 12px; letter-spacing: 0; }
.menu-heading h2 { font-size: 42px; }
.menu-badge { padding: 0; background: transparent; font-size: 14px; font-weight: 500; }
.menu-section-title { justify-content: space-between; border-bottom: 2px solid #3e1c0d; padding-bottom: 8px; }
.menu-section-title::after { display: none; }
.menu-section-title span { font-size: 13px; }
.product-card { min-height: 126px; padding: 20px; flex-direction: row; align-items: center; background: #fffefa; border: 1px solid #e4c9a8; border-radius: 9px; box-shadow: none; }
.product-name { font-size: 16px; }
.product-bottom { margin-top: 0; flex-direction: row-reverse; }
.price { font-size: 17px; }
.add-button { width: 44px; height: 44px; padding: 0; overflow: hidden; color: transparent; border-radius: 50%; background: #ffe1b2; font-size: 0; }
.add-button::after { content: "+"; color: #3f1d0e; font-size: 25px; font-weight: 400; }
.add-button.added::after { content: "✓"; color: #fff; }
.add-button.added { background: #ad4800; }
.review-bar { position: fixed; z-index: 300; right: 4.5%; bottom: 18px; width: 91%; min-height: 60px; display: none; align-items: center; justify-content: space-between; padding: 0 25px; border-radius: 30px; background: #3d1708; color: #fffaf2; font-size: 17px; font-weight: 800; box-shadow: 0 8px 28px rgba(39,15,5,.22); }
.review-bar.visible { display: flex; }
.review-main { display: flex; align-items: center; gap: 9px; }
.review-main b { display: grid; place-items: center; min-width: 28px; height: 28px; border-radius: 50%; background: #ad4800; font-size: 12px; }
.review-icon { font-size: 22px; }
.cart-overlay { align-items: flex-end; background: rgba(29,10,3,.68); }
.cart-panel { width: 100%; max-height: 88vh; height: auto; min-height: 58vh; margin: 0; border-radius: 24px 24px 0 0; transform: translateY(105%); box-shadow: 0 -10px 35px rgba(0,0,0,.12); overflow-y: auto; }
.cart-overlay.open .cart-panel { transform: translateY(0); }
.cart-header { padding: 22px 24px 10px; border: 0; }
.cart-header > div { order: -1; }
.cart-header span { color: #a8470a; font-size: 12px; font-weight: 800; }
.cart-header h2 { font-size: 31px; }
.close-cart { background: transparent; font-size: 28px; }
.cart-step { padding: 0 20px 22px; }
.cart-items { padding: 8px 0 10px; overflow: visible; }
.cart-item { min-height: 76px; margin-bottom: 12px; padding: 15px; display: flex; align-items: center; justify-content: space-between; border-color: #e1c4a0; border-radius: 9px; }
.cart-item-top { flex-direction: column; gap: 2px; }
.cart-item-name { font-size: 15px; }
.cart-item-price { color: #9e410b; }
.cart-item-bottom { margin: 0; flex-direction: row-reverse; gap: 8px; }
.quantity { gap: 7px; }
.quantity button { width: 36px; height: 36px; background: #ffe1b2; border: 0; border-radius: 50%; }
.remove { width: 32px; overflow: hidden; font-size: 0; }
.remove::after { content: "♜"; color: #4b2110; font-size: 20px; }
.order-summary { margin: 6px 0 20px; padding: 18px; border: 1px solid #e1c4a0; border-radius: 9px; background: #fffefa; }
.summary-line, .summary-total, .delivery-row { display: flex; justify-content: space-between; gap: 15px; font-size: 14px; }
.summary-divider { height: 1px; margin: 14px 0; background: #dfc4a3; }
.summary-total { font-size: 17px; }
.delivery-row { margin-top: 8px; color: #806c62; }
.primary-order-button, .secondary-order-button { min-height: 52px; border-radius: 27px; font-size: 17px; font-weight: 800; }
.primary-order-button { width: 100%; background: #ad4800; color: #fff; }
.secondary-order-button { background: #ffe1b2; color: #3e1b0d; }
.clear-button { display: none; }
.checkout-step { padding-top: 8px; }
.checkout-step[hidden], .cart-step[hidden] { display: none; }
.checkout-intro { margin-bottom: 16px; color: #806a5f; font-size: 14px; }
.checkout-step label { display: block; margin: 14px 0 7px; color: #3d1b0d; font-size: 15px; font-weight: 800; }
.checkout-step input, .checkout-step select, .checkout-step textarea { width: 100%; min-height: 52px; padding: 10px 14px; border: 1px solid #e1c4a0; border-radius: 9px; background: #fffefa; color: #3d1b0d; font: inherit; outline: none; }
.checkout-step textarea { min-height: 88px; resize: vertical; }
.checkout-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 20px; }

@media (max-width: 600px) {
  .header-inner { min-height: 88px; }
  .brand img { width: 57px; height: 57px; }
  .brand-text strong { font-size: 14px; }
  .brand-text span { display: block; font-size: 10px; }
  .hero { min-height: 498px; }
  .hero-content { width: 88%; margin-left: 5%; padding-bottom: 48px; }
  .hero h1 { font-size: 47px; }
  .hero-content p { font-size: 14px; line-height: 2; }
  .category-btn { padding: 10px 18px; font-size: 14px; }
  .menu-wrapper { margin-top: 33px; }
  .menu-heading h2 { font-size: 35px; }
  .product-card { min-height: 96px; padding: 14px; }
  .product-name { max-width: 68%; font-size: 15px; }
  .product-bottom { gap: 9px; }
  .review-bar { right: 4.5%; }
  .cart-panel { max-height: 89vh; }
}
/* ===== صور المنتجات ===== */
.product-card { flex-wrap: wrap; }
.product-image {
  width: 62px;
  height: 62px;
  flex: 0 0 auto;
  object-fit: cover;
  border-radius: 10px;
  margin: 0 0 0 12px;
  background: #f4e7d8;
}
