/* RueMenu digital-menu theme */

html {
  scroll-behavior: smooth;
}

:root {
  --rm-bg: #faf7f2;
  --rm-dark: #211a14;
  --rm-dark-2: #2c231a;
  --rm-accent: #c9962f;
  --rm-accent-dark: #a97b22;
  --rm-text: #3a2f26;
  --rm-muted: #8a7c6c;
  --rm-border: #ece3d6;
}

body {
  background-color: var(--rm-bg);
  color: var(--rm-text);
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  margin-bottom: 0;
}

h1, h2, h3, h4, h5, h6,
.navbar-brand, .footer-brand {
  font-family: 'Poppins', 'Inter', system-ui, sans-serif;
}

/* ---------- Header ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background-color: #eeeae7;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.site-header .navbar {
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
}

.site-header .navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: #fff;
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
}

.site-header .brand-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rm-accent), var(--rm-accent-dark));
  color: #fff;
  font-size: 1.05rem;
}

.site-header .nav-link {
  color: rgba(255, 255, 255, 0.8) !important;
  font-weight: 500;
  padding: 0.5rem 0.9rem !important;
  transition: color 0.15s ease;
}

.site-header .nav-link:hover,
.site-header .nav-link.active {
  color: #fff !important;
}

.site-header .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.3);
}

.site-header .navbar-toggler-icon {
  filter: invert(1);
}

.lang-switch {
  display: inline-flex;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 0.2rem;
  gap: 0.15rem;
  margin: 0.25rem 0.5rem;
}

.lang-btn {
  border: none;
  background: transparent;
  color: #000;
  font-weight: 600;
  font-size: 0.8rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px; 
  transition: background 0.15s ease, color 0.15s ease;
}

.lang-btn:hover {
  color: #fff;
}

.lang-btn.active {
  background: linear-gradient(135deg, var(--rm-accent), var(--rm-accent-dark));
  color: #fff;
}

.btn-order {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, var(--rm-accent), var(--rm-accent-dark));
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 999px;
  padding: 0.5rem 1.25rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-order:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(201, 150, 47, 0.4);
}

/* ---------- Hero banner ---------- */

.hero-banner {
  background: radial-gradient(circle at top left, var(--rm-dark-2), var(--rm-dark) 70%);
  color: #fff;
  padding: 3rem 0 3.5rem;
  margin-bottom: 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(201, 150, 47, 0.18), transparent 60%);
  pointer-events: none;
}

.hero-banner .hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: var(--rm-accent);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.hero-banner h1 {
  font-weight: 700;
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  margin-bottom: 0.5rem;
}

.hero-banner p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 34rem;
  margin: 0 auto;
}

/* ---------- Main content ---------- */

main.page-body {
  min-height: 45vh;
}

/* ---------- Branch filter ---------- */

.branch-filter-wrap {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--rm-border);
}

.branch-filter {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.branch-filter-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  color: var(--rm-text);
  font-size: 0.9rem;
}

.branch-filter-label i {
  color: var(--rm-accent);
}

.branch-filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  overflow-x: auto;
}

.branch-pill {
  white-space: nowrap;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--rm-border);
  color: var(--rm-text);
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.branch-pill:hover {
  border-color: var(--rm-accent);
  color: var(--rm-accent-dark);
}

.branch-pill.active {
  background: linear-gradient(135deg, var(--rm-accent), var(--rm-accent-dark));
  border-color: transparent;
  color: #fff;
}

/* ---------- Search & filter ---------- */

.search-filter-wrap {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--rm-border);
}

.search-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex: 1 1 15rem;
  min-width: 12rem;
  background: #fff;
  border: 1px solid var(--rm-border);
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.search-box:focus-within {
  border-color: var(--rm-accent);
  box-shadow: 0 0 0 3px rgba(201, 150, 47, 0.15);
}

.search-box i.bi {
  color: var(--rm-muted);
  font-size: 1rem;
  flex: none;
}

.search-input {
  flex: 1 1 auto;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  color: var(--rm-text);
  font-size: 0.9rem;
}

.search-input::placeholder {
  color: var(--rm-muted);
}

.search-input::-webkit-search-cancel-button {
  cursor: pointer;
}

.diet-filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  overflow-x: auto;
}

.diet-pill {
  white-space: nowrap;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--rm-border);
  color: var(--rm-text);
  font-weight: 500;
  font-size: 0.88rem;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.diet-pill:hover {
  border-color: var(--rm-accent);
  color: var(--rm-accent-dark);
}

.diet-pill.active {
  background: linear-gradient(135deg, var(--rm-accent), var(--rm-accent-dark));
  border-color: transparent;
  color: #fff;
}

.search-empty {
  margin: 0.85rem 0 0;
  color: var(--rm-muted);
  font-size: 0.9rem;
  text-align: center;
}

/* ---------- Main menu (category navigation) ---------- */

.main-menu-wrap {
    position: sticky;
    top: 63px;
    z-index: 1020;
    background-color: #fff;
    padding: 0 0;
    /*box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);*/
}

.main-menu {
  list-style: none;
  display: flex;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.main-menu::-webkit-scrollbar {
  display: none;
}

.main-menu li {
  flex: none;
}

.main-menu-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
    padding: 10px;
    color: #7e3434;
    font-weight: 500;
    font-size: 0.92rem;
    text-decoration: none;
    border: 1px solid #7e3434;
    transition: color 0.15s ease, border-color 0.15s ease;
    border-radius:10px;
}

.main-menu-link i.bi {
  font-size: 1rem;
}

    .main-menu-link:hover {
        color: #7e3434;
    }

.main-menu-link.active {
  color: var(--rm-accent);
  border-bottom-color: var(--rm-accent);
}

/* ---------- Menu sections ---------- */

.menu-sections {
  margin-top: 1.5rem;
}

.menu-section {
  margin-bottom: 2.5rem;
  scroll-margin-top: 115px;
}

.menu-section:last-child {
  margin-bottom: 0;
}

.category-banner {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 160px;
  border-radius: 14px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  margin-bottom: 1.25rem;
}

.category-banner-content {
  padding: 1.25rem 1.5rem;
  color: #fff;
}

.category-banner-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rm-accent), var(--rm-accent-dark));
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}

.category-banner-title {
  font-weight: 700;
  font-size: 1.5rem;
  margin: 0 0 0.2rem;
}

.category-banner-count {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}

.menu-item-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #4a7c4e;
  background: #e9f5ea;
  border-radius: 6px;
  padding: 0.2rem 0.5rem;
  margin-bottom: 0.4rem;
}

.badge-pick {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #fff;
  background: linear-gradient(135deg, var(--rm-accent), var(--rm-accent-dark));
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
}

/* ---------- Product cards ---------- */

.product-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--rm-border);
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.product-card:hover {
  box-shadow: 0 10px 24px rgba(33, 26, 20, 0.1);
  transform: translateY(-2px);
  cursor:pointer;
}

.product-card-img-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #f1e4c8, #e6d3a8);
}

.product-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.product-card-badge {
  position: absolute;
  top: 0.6rem;
  inset-inline-start: 0.6rem;
}

.wishlist-btn {
  flex: none;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 50%;
  border: 1px solid var(--rm-border);
  background: #fff;
  color: var(--rm-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.wishlist-btn:hover {
  border-color: #e0446b;
  color: #e0446b;
  transform: scale(1.06);
}

.wishlist-btn.active {
  background: #fdeef1;
  border-color: #e0446b;
  color: #e0446b;
}

.product-card-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  padding: 0.85rem 0.9rem 0.95rem;
}

.product-card-desc {
  color: var(--rm-muted);
  font-size: 0.83rem;
  margin: 0 0 0.4rem;
  flex: 1 1 auto;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-top: auto;
  padding-top: 0.55rem;
  border-top: 1px solid var(--rm-border);
}

.product-card-info {
  min-width: 0;
}

.product-card-name {
    font-family: 'Poppins', 'Inter', system-ui, sans-serif;
    font-size: 0.95rem;    
    font-weight: 600;
    margin: 0;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: unset;
    white-space: break-spaces;
}


.product-card-name1 {
    font-family: 'Poppins', 'Inter', system-ui, sans-serif;
    font-size: 3rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: unset;
    white-space: break-spaces;
}

.product-card-price {
  flex: none;
  display: block;
  font-weight: 700;
  color: var(--rm-accent-dark);
  font-size: 0.95rem;
  margin-top: 0.1rem;
}

/* ---------- Footer ---------- */

.site-footer {
  background-color: var(--rm-dark);
  color: rgba(255, 255, 255, 0.65);
  margin-top: 3.5rem;
  padding: 3rem 0 1.5rem;
}

.site-footer .footer-brand {
  color: #fff;
  font-weight: 600;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.site-footer h6 {
  color: #fff;
  font-weight: 600;
  margin-bottom: 0.9rem;
  font-size: 0.95rem;
}

.site-footer .footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer .footer-links li {
  margin-bottom: 0.5rem;
}

.site-footer .footer-links a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.15s ease;
}

.site-footer .footer-links a:hover {
  color: var(--rm-accent);
}

.site-footer .social-icons {
  display: flex;
  gap: 0.6rem;
}

.site-footer .social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transition: background 0.15s ease, color 0.15s ease;
}

.site-footer .social-icons a:hover {
  background: var(--rm-accent);
  color: #fff;
}

.site-footer hr {
  border-color: rgba(255, 255, 255, 0.12);
  margin: 2rem 0 1.25rem;
}

.site-footer .footer-bottom {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.85rem;
}

.site-footer .footer-bottom a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
}

.site-footer .footer-bottom a:hover {
  color: var(--rm-accent);
}

/* ---------- RTL / Arabic ---------- */

html[dir="rtl"] body,
html[dir="rtl"] .search-input,
html[dir="rtl"] .diet-pill,
html[dir="rtl"] .branch-pill,
html[dir="rtl"] .main-menu-link,
html[dir="rtl"] .lang-btn {
  font-family: 'Cairo', 'Tajawal', 'Inter', system-ui, sans-serif;
}

html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3,
html[dir="rtl"] h4, html[dir="rtl"] h5, html[dir="rtl"] h6,
html[dir="rtl"] .navbar-brand, html[dir="rtl"] .footer-brand {
  font-family: 'Cairo', 'Tajawal', 'Poppins', system-ui, sans-serif;
}

@media only screen and (max-width: 799px) {
    .Search-Image_detail {
        height: 250px !important;
    }

    .product-card-img-wrap1 {
        display: flex;
        justify-content: center; /* Horizontal center */
        align-items: center; /* Vertical center (if height is set) */
        position: relative;
        width: 100%;
    }

    .product-card-img1 {
        max-width: 100%;
        height: 250px !important;        
        display: block;
    }
}

.product-card-img-wrap1 {
    display: flex;
    justify-content: center; /* Horizontal center */
    align-items: center; /* Vertical center (if height is set) */
    position: relative;
    width: 100%;
}

.product-card-img1 {
    max-width: 100%;
   /* height: 250px !important;*/
    display: block;
    border-radius:35px !important;
}

.backbtn {
    background: linear-gradient(135deg, var(--rm-accent), var(--rm-accent-dark));
    color: #fff;
}

.powered_by {
    height: 25px !important;
}


.main-menu-link1 {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
    /*padding: 0.9rem 1.15rem 18.4px;*/
    color: #7e3434;
    font-weight: 500;
    font-size: 0.92rem;
    text-decoration: none;
    border: 1px solid #7e3434;
    transition: color 0.15s ease, border-color 0.15s ease;
}


#stickyMenu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    z-index: 9999;
    display: none; /* Hidden initially */
}

.menu-link1 {
    color: #7e3434;
    text-decoration: none !important;
    font-size: 12px;
}

.link-menu {
    text-decoration: none !important;
}

@media only screen and (max-width: 799px) {
    #windowview {
        display: none
    }

    .site-header1 {
        position: sticky;
        top: 0;
        z-index: 1030;
        background-color: #eeeae700;
        box-shadow:none;
        /*box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);*/
    }
}

@media (min-width: 992px) {
    #mobileview {
        display: none
    }   

}

.btn-primary1 {
    color: #fff;
    background-color: #a97b22;
    border-color: #a97b22;
}

.product-wrapper {
    position: relative;
    min-height: 100vh;
    background: #f8f8f8;
}

/* Image */
.hero-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1;
}

    .hero-image img {
        width: 100%;
        aspect-ratio: 1/1; /* Same as FineDineMenu */
        object-fit: cover;
        display: block;
    }

/* Bottom Sheet */
.product-details {
    position: relative;
    z-index: 10;
    margin-top: calc(100vw - 30px);
    background: #fff;
    border-radius: 28px 28px 0 0;
    padding: 24px;
    min-height: 100vh;
}


