.header-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-height);
  border-top: 2px solid var(--color-pink);
  transition:
    background-color 240ms ease,
    box-shadow 240ms ease,
    color 240ms ease;
}

.header-inner {
  display: grid;
  grid-template-columns: 190px 1fr auto;
  align-items: center;
  gap: 34px;
  width: min(100% - 48px, 1680px);
  height: 100%;
  margin: 0 auto;
}

.header-dark {
  color: var(--color-cream);
  background: transparent;
}

.header-light {
  color: var(--color-brown);
  background: var(--color-cream);
  border-bottom: 1px solid var(--color-line-light);
}

.header-scrolled.header-dark {
  background: color-mix(in srgb, var(--color-brown) 86%, transparent);
  box-shadow: 0 14px 40px rgba(20, 9, 5, 0.18);
  backdrop-filter: blur(14px);
}

.header-scrolled.header-light {
  background: color-mix(in srgb, var(--color-cream) 92%, transparent);
  box-shadow: 0 14px 40px rgba(54, 28, 18, 0.08);
  backdrop-filter: blur(14px);
}

.header-logoLink {
  display: inline-flex;
  align-items: center;
  width: 195px;
  height: 88px;
}

.header-logoLink img {
  display: block;
  width: 170%;
  height: auto;
  max-height: 89px;
  object-fit: contain;
  object-position: left center;
}

.header-desktopNav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(22px, 3vw, 58px);
}

.header-desktopNav a {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 22px 0;
  color: inherit;
  font-size: 1rem;
  font-weight: 650;
}

.header-desktopNav a::after {
  position: absolute;
  right: 0;
  bottom: 15px;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.header-desktopNav a:hover::after,
.header-desktopNav a.header-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-desktopNav small {
  color: var(--color-pink);
  font-family: var(--font-serif);
  font-size: 0.72rem;
}

.header-orderButton {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-height: 54px;
  padding: 8px 12px 8px 27px;
  border-radius: 999px;
  color: #111111;
  background: var(--color-pink);
  font-size: 1rem;
  font-weight: 750;
  transition:
    transform 200ms ease,
    background-color 200ms ease;
}

.header-orderButton:hover {
  background: var(--color-pink-soft);
  transform: translateY(-2px);
}

/* Keep only the Order label black on the pink button. */
.header-orderButton > span,
.header-orderButton:hover > span,
.header-orderButton:focus-visible > span {
  color: #111111 !important;
  -webkit-text-fill-color: #111111 !important;
}


.header-orderButton strong {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #111111;
  background: var(--color-cream);
  font-size: 0.9rem;
}

.header-menuButton {
  display: none;
  width: 48px;
  height: 48px;
  padding: 12px;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: inherit;
  background: transparent;
}

.header-menuButton span {
  display: block;
  width: 100%;
  height: 1px;
  margin: 5px 0;
  background: currentColor;
}

.header-mobileMenu {
  position: fixed;
  inset: 0;
  z-index: 120;
  visibility: hidden;
  pointer-events: none;
}

.header-mobileMenu.header-open {
  visibility: visible;
  pointer-events: auto;
}

.header-mobilePanel {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  width: min(88vw, 430px);
  height: 100%;
  padding: 26px;
  color: var(--color-brown);
  background: var(--color-pink-soft);
  transform: translateX(100%);
  transition: transform 320ms cubic-bezier(0.65, 0, 0.35, 1);
}

.header-open .header-mobilePanel {
  transform: translateX(0);
}

.header-mobileHead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 25px;
  border-bottom: 1px solid rgba(48, 26, 18, 0.2);
}

.header-mobileHead img {
  width: 145px;
  max-height: 72px;
  object-fit: contain;
  object-position: left center;
}


.header-mobileHead button {
  width: 46px;
  height: 46px;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: inherit;
  background: transparent;
  font-size: 2rem;
  line-height: 1;
}

.header-mobilePanel nav {
  display: flex;
  flex-direction: column;
  padding-top: 32px;
}

.header-mobilePanel nav a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(48, 26, 18, 0.16);
  color: inherit;
  font-family: var(--font-serif);
  font-size: 2rem;
}

.header-mobilePanel nav small {
  color: var(--color-brown-muted);
  font-family: var(--font-sans);
  font-size: 0.74rem;
}

.header-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(20, 9, 5, 0.6);
  opacity: 0;
  transition: opacity 300ms ease;
}

.header-open .header-backdrop {
  opacity: 1;
}

@media (max-width: 1050px) {
  .header-inner {
    grid-template-columns: 1fr auto auto;
  }

  .header-desktopNav {
    display: none;
  }

  .header-menuButton {
    display: block;
  }
}

@media (max-width: 640px) {
  .header-inner {
    width: min(100% - 28px, 1680px);
    gap: 12px;
  }

  .header-logoLink {
    width: 128px;
  }

  .header-orderButton {
    min-height: 46px;
    padding: 6px 8px 6px 18px;
  }

  .header-orderButton span {
    display: none;
  }

  .header-orderButton strong {
    width: 32px;
    height: 32px;
  }
}

/* ========================================
   Navbar — always green
======================================== */

.header-header,
.header-header.header-light,
.header-header.header-dark,
.header-header.header-scrolled,
.header-header.header-light.header-scrolled,
.header-header.header-dark.header-scrolled {
  color: #fff9f5 !important;
  background: #364D39 !important;
  border-bottom: 1px solid rgba(255, 203, 225, 0.16) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

.header-header a,
.header-header button {
  color: #fff9f5;
}

/* أرقام القائمة */
.header-header nav small {
  color: #ef8eae !important;
}

/* زر Order يظل وردي */
.header-orderButton {
  color: #3a261e !important;
  background: #ffcbe1 !important;
}

.header-orderButton:hover {
  color: #111;
  background: #ef8eae !important;
}


/* ===== src/components/layout/Footer.module.css ===== */
/* ========================================
   Footer
======================================== */

.footer-footer {
  width: 100%;
  color: var(--color-cream);
  background: #364D39;
}

/* ========================================
   Main Footer Layout
======================================== */

.footer-inner {
  display: grid;
  grid-template-columns:
    minmax(320px, 1.5fr)
    minmax(160px, 0.7fr)
    minmax(280px, 1fr);

  gap: clamp(50px, 6vw, 100px);

  width: var(--container);
  margin: 0 auto;
padding: 35px 0 35px;

}


/* ========================================
   Brand And Logo
======================================== */

.footer-brand {
  max-width: 560px;
}

.footer-logoLink {
  display: inline-flex;
  align-items: center;

  text-decoration: none;
}

.footer-brand img {
  display: block;

  width: 220px;
  max-width: 100%;
  height: auto;
  max-height: 105px;
  margin-bottom: 26px;

  object-fit: contain;
  object-position: left center;
}

.footer-brand p {
  max-width: 520px;
  margin: 0;

  color: rgba(255, 247, 240, 0.82);

  font-family: var(--font-serif);
  font-size: 1.1rem;
  line-height: 1.8;
}


/* ========================================
   Explore Links
======================================== */

.footer-links {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 14px;
}

.footer-links strong,
.footer-contactColumn > strong {
  display: block;

  margin-bottom: 12px;

  color: var(--color-pink);

  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-links a {
  position: relative;

  color: var(--color-cream);

  font-family: var(--font-serif);
  font-size: 1.05rem;
  line-height: 1.5;
  text-decoration: none;

  opacity: 0.76;

  transition:
    color 200ms ease,
    opacity 200ms ease,
    transform 200ms ease;
}

.footer-links a:hover {
  color: var(--color-pink);

  opacity: 1;
  transform: translateX(5px);
}


/* ========================================
   Contact Column
======================================== */

.footer-contactColumn {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}

.footer-contactList {
  display: flex;
  width: 100%;

  flex-direction: column;
  gap: 15px;
}

.footer-contactItem {
  display: flex;
  align-items: center;
  gap: 13px;

  width: fit-content;

  color: var(--color-cream);

  font-family: var(--font-serif);
  font-size: 1rem;
  line-height: 1.5;
  text-decoration: none;

  opacity: 0.78;

  transition:
    color 200ms ease,
    opacity 200ms ease,
    transform 200ms ease;
}

a.footer-contactItem:hover {
  color: var(--color-pink);

  opacity: 1;
  transform: translateX(5px);
}


/* ========================================
   Contact Icons
======================================== */

.footer-contactIcon {
  display: grid;
  place-items: center;

  width: 38px;
  height: 38px;

  flex: 0 0 38px;

  color: var(--color-pink);
  background: rgba(237, 135, 157, 0.08);

  border: 1px solid rgba(237, 135, 157, 0.24);
  border-radius: 50%;

  font-size: 0.92rem;
}


/* ========================================
   Social Media Icons
======================================== */

.footer-socialLinks {
  display: flex;
  align-items: center;
  gap: 12px;

  margin-top: 28px;
}

.footer-socialLinks a {
  display: grid;
  place-items: center;

  width: 42px;
  height: 42px;

  color: var(--color-pink);
  background: transparent;

  border: 1px solid rgba(237, 135, 157, 0.42);
  border-radius: 50%;

  font-size: 1rem;
  text-decoration: none;

  transition:
    color 200ms ease,
    background-color 200ms ease,
    border-color 200ms ease,
    transform 200ms ease;
}

.footer-socialLinks a:hover {
  color: #1e100b;
  background: var(--color-pink);
  border-color: var(--color-pink);

  transform: translateY(-4px);
}


/* ========================================
   Footer Bottom
======================================== */
/* ========================================
   Footer Bottom - CanGrow Copyright
======================================== */

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;

  width: 100%;
  min-height: 90px;
  margin: 0;
  padding: 20px;

  color: #111111;
  /*background: #f7f7f7;*/

  border-top: 1px solid #bdbdbd;

  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;

  text-align: center;
  direction: ltr;
}

.footer-companyLink {
  color: #111111;
  font-weight: 700;
  text-decoration: none;
}

.footer-companyLink:hover {
  text-decoration: underline;
}

.footer-rights {
  color: #111111;
  direction: rtl;
}

/* ========================================
   Tablet
======================================== */

@media (max-width: 850px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}


/* ========================================
   Mobile
======================================== */

@media (max-width: 560px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 45px;

    padding: 65px 0 50px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-brand img {
    width: 165px;
    margin-bottom: 22px;
  }

  .footer-brand p {
    font-size: 1rem;
    line-height: 1.7;
  }

  .footer-links strong,
  .footer-contactColumn > strong {
    margin-bottom: 8px;
  }

  .footer-links a {
    font-size: 1rem;
  }

  .footer-contactItem {
    max-width: 100%;

    font-size: 0.95rem;
  }

  .footer-contactItem > span:last-child {
    overflow-wrap: anywhere;
  }

  .footer-contactIcon {
    width: 36px;
    height: 36px;

    flex-basis: 36px;
  }

  .footer-socialLinks {
    margin-top: 25px;
  }

.footer-bottom {
  align-items: flex-start;

  min-height: auto;
  padding: 24px 0 30px;

  flex-direction: column;
  gap: 8px;
}

.footer-bottom span:last-child {
  text-align: left;
}
}

/* Prevent the off-canvas mobile panel from creating horizontal page overflow. */
.header-mobileMenu {
  overflow: hidden;
}

/* ========================================
   Footer Location Link - Forced Visible
======================================== */

/*
  The location row links to branches.html.
  The label is rendered with ::after so it stays visible
  even if a span inside the link is empty or affected by JS.
*/
.footer-locationLink,
a.footer-contactItem[href="branches.html"] {
  display: flex !important;
  align-items: center !important;
  gap: 13px !important;
  width: fit-content !important;

  color: var(--color-cream) !important;
  font-family: var(--font-serif);
  font-size: 1rem;
  line-height: 1.5;
  text-decoration: none !important;

  opacity: 0.9 !important;
  visibility: visible !important;
}

/* Prevent a duplicated label if the HTML already contains Location. */
.footer-locationLink .footer-locationText,
a.footer-contactItem[href="branches.html"] .footer-locationText {
  display: none !important;
}

/* Force the Location label to appear. */
.footer-locationLink::after,
a.footer-contactItem[href="branches.html"]::after {
  content: "Location" !important;
  display: inline-block !important;

  color: #f3e7e2 !important;
  font-family: var(--font-serif);
  font-size: 1rem !important;
  font-weight: 600 !important;
  line-height: 1.5;

  opacity: 1 !important;
  visibility: visible !important;
  white-space: nowrap;
}

.footer-locationLink:hover,
a.footer-contactItem[href="branches.html"]:hover {
  color: var(--color-pink) !important;
  opacity: 1 !important;
  transform: translateX(5px);
}

.footer-locationLink:hover::after,
a.footer-contactItem[href="branches.html"]:hover::after {
  color: var(--color-pink) !important;
}


.footer-phoneNumber {
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 18px !important;
  font-weight: 600 !important;

  font-variant-numeric: lining-nums tabular-nums !important;
  font-feature-settings: "lnum" 1, "tnum" 1 !important;

  letter-spacing: 0 !important;
  line-height: 1 !important;
}


/* ========================================
   FLOATING ACTIONS — FINAL STYLE
======================================== */

.floating-actions {
  position: fixed;

  right: 22px;
  left: auto;

  top: 50%;
  transform: translateY(-50%);

  z-index: 99999;

  display: flex;
  flex-direction: column;
  gap: 12px;
}


/* BUTTON */
.floating-actions .floating-action {
  position: relative;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: 52px !important;
  height: 52px !important;

  flex: 0 0 52px;

  padding: 0 !important;
  margin: 0 !important;

  color: #364D39 !important;
  background: #fffaf7 !important;

  border: 1px solid rgba(54, 77, 57, 0.25) !important;
  border-radius: 50% !important;

  font-size: 19px !important;
  line-height: 1 !important;
  text-decoration: none !important;

  box-shadow:
    0 6px 18px rgba(29, 48, 33, 0.15);

  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}


/* ICON */
.floating-actions .floating-action i {
  display: block;

  width: auto;
  height: auto;

  color: inherit !important;

  font-size: 18px !important;
  line-height: 1 !important;
}


/* HOVER */
.floating-actions .floating-action:hover {
  color: #ffffff !important;
  background: #364D39 !important;

  transform: translateX(-3px);

  box-shadow:
    0 9px 24px rgba(29, 48, 33, 0.23);
}


/* CART BADGE */
.floating-actions .floating-cartCount {
  position: absolute;

  top: -5px;
  right: -5px;

  display: grid;
  place-items: center;

  min-width: 20px;
  height: 20px;
  padding: 0 5px;

  color: #364D39 !important;
  background: #ffcbe1 !important;

  border: 2px solid #fffaf7;
  border-radius: 999px;

  font-family: Arial, sans-serif !important;
  font-size: 10px !important;
  font-weight: 700;
  line-height: 1;
}

.floating-actions .floating-cartCount[hidden] {
  display: none !important;
}


/* ========================================
   TABLET
======================================== */

@media (max-width: 1050px) {

  .floating-actions {
    right: 16px;
    left: auto;
  }

  .floating-actions .floating-action {
    width: 48px !important;
    height: 48px !important;

    flex-basis: 48px;

    font-size: 18px !important;
  }

  .floating-actions .floating-action i {
    font-size: 17px !important;
  }
}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 560px) {

  .floating-actions {
    right: 12px;
    left: auto;

    top: auto;
    bottom: 22px;

    transform: none;

    gap: 9px;
  }

  .floating-actions .floating-action {
    width: 46px !important;
    height: 46px !important;

    flex-basis: 46px;
  }

  .floating-actions .floating-action i {
    font-size: 16px !important;
  }
}


/* ========================================
   MOBILE HEADER + MENU — CLEAN FINAL
======================================== */

@media (max-width: 1050px) {
  /* Mobile navbar sizing */
  .header-header {
    height: 84px !important;
  }

  .header-inner {
    height: 84px !important;
  }

  .header-logoLink {
    width: 118px !important;
    height: 84px !important;
  }

  .header-logoLink img {
    width: 100% !important;
    height: 84px !important;
    max-height: 84px !important;
    object-fit: contain !important;
    object-position: left center !important;
  }

  /* Keep the normal navbar as the open-menu header */
  body.mobile-menu-open .header-inner {
    position: relative !important;
    z-index: 100000 !important;
    display: grid !important;
    background: #364D39 !important;
  }

  /* Hide the cart/order pill while the menu is open */
  body.mobile-menu-open .header-orderButton {
    display: none !important;
  }

  /* The internal mobile-menu header is not needed */
  body.mobile-menu-open .header-mobileHead {
    display: none !important;
  }

  /* Turn the hamburger into an X */
  body.mobile-menu-open .header-menuButton {
    position: relative !important;
    display: block !important;
    width: 46px !important;
    height: 46px !important;
    padding: 0 !important;
    color: #fff9f5 !important;
    border-color: rgba(255, 249, 245, 0.70) !important;
  }

  body.mobile-menu-open .header-menuButton span {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 20px !important;
    height: 1px !important;
    margin: 0 !important;
    background: #fff9f5 !important;
    transform-origin: center !important;
  }

  body.mobile-menu-open .header-menuButton span:first-child {
    transform: translate(-50%, -50%) rotate(45deg) !important;
  }

  body.mobile-menu-open .header-menuButton span:last-child {
    transform: translate(-50%, -50%) rotate(-45deg) !important;
  }

  /* Open menu below the 84px navbar */
  body.mobile-menu-open .header-mobileMenu {
    position: fixed !important;
    top: 84px !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    height: calc(100dvh - 84px) !important;
    z-index: 99999 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  body.mobile-menu-open .header-mobilePanel {
    position: fixed !important;
    top: 84px !important;
    right: 0 !important;
    bottom: 0 !important;
    width: min(88vw, 430px) !important;
    height: calc(100dvh - 84px) !important;
    min-height: 0 !important;
    padding: 0 !important;
    color: #fff9f5 !important;
    background: #364D39 !important;
    transform: translateX(0) !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
  }

  body.mobile-menu-open .header-mobilePanel nav {
    display: flex !important;
    flex-direction: column !important;
    padding: 16px 20px 35px !important;
    background: #364D39 !important;
  }

  body.mobile-menu-open .header-mobilePanel nav a,
  body.mobile-menu-open .header-mobilePanel nav a span {
    color: #fff9f5 !important;
    -webkit-text-fill-color: #fff9f5 !important;
    border-bottom-color: rgba(255, 203, 225, 0.16) !important;
  }

  body.mobile-menu-open .header-mobilePanel nav small {
    color: #ef8eae !important;
    -webkit-text-fill-color: #ef8eae !important;
  }

  body.mobile-menu-open .header-backdrop {
    position: fixed !important;
    top: 84px !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    background: rgba(20, 9, 5, 0.72) !important;
    opacity: 1 !important;
  }

  /* Floating actions should not sit on top of the open menu */
  body.mobile-menu-open .floating-actions {
    display: none !important;
  }
}









/* ========================================
   FOOTER COPYRIGHT — MOBILE CENTER
======================================== */

@media (max-width: 560px) {

  .footer-bottom {
    width: 100% !important;
    min-height: auto !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 6px !important;

    padding: 28px 15px !important;
    margin: 0 auto !important;

    text-align: center !important;
  }

  .footer-bottom a,
  .footer-bottom span,
  .footer-companyLink,
  .footer-rights {
    text-align: center !important;
    margin: 0 !important;
  }
}