.hero-wrapper-four {
  padding-top: 120px;
  padding-bottom: 75px;
}

.copyright-area {
  padding: 10px 0;
}

.contact-section-title {
  max-width: none;
}

.burger {
  /* position: absolute;
  bottom: 0;
  width: 50%;
  left: 50%;
  transform: translateX(-50%);
  padding-left: 40px; */
}

.burger__inner {
  position: relative;

  img {
    max-width: 100%;
    display: block;
  }

  svg {
    display: block;
  }
}

.burger__smoke {
  position: absolute;
  width: 80%;
  padding-top: 100%;
  margin-left: 0;
  left: 0;
  bottom: 40%;
  mask: url(#smoke);
  -webkit-mask-box-image: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/386739/smoke-mask.png);
  background-image: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/386739/smoke.png);
  background-size: 100% auto;
  animation: bgpos 8s linear infinite forwards;
  opacity: .85;
  transform-origin: bottom center;
  animation-delay: 1.9s;
  opacity: 0;
  animation-fill-mode: forwards;
}

@keyframes bgpos {
  0% {
    background-position: 0 0;
    opacity: 0;
  }

  1% {
    opacity: 0.85;
  }

  100% {
    background-position: 0 340%;
    opacity: 0.85;
  }
}


.add-to-cart {
  padding: 5px;
  border: 1px solid green;
  border-radius: 10px;
  cursor: pointer;
  text-align: center;
  margin-top: 10px;
  background: yellow;
  height: 40px;
  width: 40px;
}

/* Animation for flying food image */
.flying-img {
  position: fixed;
  z-index: 9999;
  pointer-events: none;
  transition: transform 0.8s cubic-bezier(0.4, 1.5, 0.5, 1), opacity 0.8s;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.cart-button-anim {
  position: relative;
}

.hero-wrapper-four .hero-content .tag-line {
  text-transform: none;
}

.hero-wrapper-four .hero-content h1 {
  text-transform: none;
}

@media only screen and (min-width: 1200px) and (max-width: 1600px) {
  .hero-wrapper-four .hero-content h1 {
    font: 700 65px var(--heading-font);
  }
}

/* Stack menu content vertically on mobile */
@media (max-width: 991px) {
  .menu-item.style-eight {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }

  .menu-content-wrap {
    /* display: block !important; */
    width: 100% !important;
  }

  .menu-content-wrap .content {
    margin-bottom: 20px;
  }

  .menu-content-wrap img {
    max-width: 100%;
    width: 100%;
    height: auto;
    display: block;
  }
}

.hero-span-inline {
  display: inline;
  color: #ffb200 !important
}

.hero-price-span {
  color: #fff !important;
  font-size: 42px;
}

@media screen and (min-width: 320px) and (max-width: 420px) {
  .menu-item.style-eight {
    padding: 20px 10px;
  }

  .hero-wrapper-four .hero-content .tag-line {
    font-size: 22px;
  }

  .hero-wrapper-four .hero-content h1 {
    font-size: 60px;
  }
}

@media (max-width: 1199px) {
  .hero-wrapper-four .hero-image {
    max-width: 620px;
    margin: 50px auto 50px;
  }
}

.theme-btn.style-one {
  z-index: 9;
}

.section-title .sub-title svg {
  margin-right: 8px;
}

.contact-btn {
  display: inline-flex;
  background-color: #25D366;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 16px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  align-items: center;
  justify-content: center;

  i {
    font-size: 25px;
    margin-right: 8px;
  }

  &:hover {
    color: #fff;
  }
}

.contact-section .section-title {
  max-width: none;
}

.menu-section .menu-item:hover {
  background: #eeeeee !important;
  border: 1px dashed #14a83a;

  h4 {
    color: #000 !important;
  }

  p {
    color: #484848 !important;
  }

  p.add-to-cart.in-cart {
    color: yellow !important;
  }

  p.price {
    color: #BF1109 !important;
  }
}

.widget-shopping-cart-content .contact-btn {
  width: 100%;
}

.om-item-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 5px;

  .item-name-wrapper {
    position: relative;
    width: 100%;
    margin-right: 12px;
    font-weight: bold;
    overflow: hidden;

    .item-name {
      display: inline;
      margin-right: 6px;
      text-align: left;
    }
  }

  &:hover {
    background: #eeeeee;
  }
}

.item-name-wrapper .item-name::after {
  content: "";
  background-image: linear-gradient(to right, black 22%, rgba(255, 255, 255, 0) 0%);
  background-position: center bottom;
  background-size: 6px 2px;
  background-repeat: repeat-x;
  margin: 0px 4px;
  opacity: 0.5;
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  position: absolute;
  width: 100%;
  height: 21px;
}

.om-subtitle {
  color: #bf1109;
  margin-top: 5px;
  text-align: center;
}

.om-section {
  margin-bottom: 5px;
}

.cart-button.cart-button-anim {
  padding: 6px;
}

.contact-btn {
  position: relative;
  overflow: hidden;
}

.contact-btn::before {
  content: "";
  position: absolute;
  /* Start outside the top-left */
  top: -150%;
  left: -150%;
  width: 150%;
  height: 200%;

  /* Creates the white "light" streak */
  background: linear-gradient(to right,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.4) 50%,
      rgba(255, 255, 255, 0) 100%);

  /* Rotates the streak to go diagonally */
  transform: rotate(45deg);
  transition: all 0.9s ease;
}

/* On hover, move the streak to the bottom-right */
.contact-btn:hover::before {
  left: 150%;
  top: 50%;
}

.footer p {
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
}

@media (max-width: 991px) {
  .main-monthly-menu.menu-content-wrap {
    flex-direction: column;
  }
}

.foodix-menu-cart .remove-cart {
  top: 33px;
  right: 15px;
}

.cart-qty-price {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}

.foodix-menu-cart img {
  top: 20px;
  left: 0;
}

.foodix-menu-cart {
  padding: 15px 20px 15px 80px;

  img {
    width: 65px;
    height: 65px;
  }
}

.qty-controls {
  button {
    padding: 0px 10px;
  }

  .qty {
    padding: 0 5px;
  }
}

.add-to-cart.in-cart {
  background: green;
  color: white;
}

/* Sidemenu cart layout: make cart list scrollable and keep action at bottom */
.sidemenu-wrapper-cart .widget-shopping-cart {
  max-height: 100vh;
  display: flex;
  flex-direction: column;
}

.sidemenu-wrapper-cart .widget-shopping-cart .widget-shopping-cart-content {
  display: flex;
  flex-direction: column;
  padding: 16px;
  box-sizing: border-box;
  height: 100%;
}

.foodix-mini-cart-list {
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-y: auto;
  flex: 1 1 auto;
  max-height: calc(100vh - 200px);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 8px 5px 8px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
  background: #fff;
  font-weight: 600;
}

.cart-button {
  margin-top: 0;
  width: 100%;
}

/* Prevent anchored sections from being hidden under the fixed header
   Testimonial modal styles */

/* Testimonial modal overlay */
.testimonial-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 200ms ease-in-out, visibility 200ms ease-in-out;
  z-index: 1050;
}

.testimonial-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* Modal container */
.testimonial-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.98);
  width: 90%;
  max-width: 820px;
  max-height: 85vh;
  overflow: hidden;
  /* we'll make the middle section scrollable */
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  opacity: 0;
  visibility: hidden;
  transition: opacity 200ms ease-in-out, transform 200ms ease-in-out, visibility 200ms ease-in-out;
  z-index: 1060;
  display: flex;
  flex-direction: column;
}

.testimonial-modal.open {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

/* Header layout: ratings + close button */
.testimonial-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid #eee;
  flex: 0 0 auto;
}

.testimonial-modal .testimonial-modal-close {
  background: transparent;
  border: none;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.testimonial-modal .testimonial-modal-content {
  margin: 0;
  color: #222;
  padding: 16px 18px;
  flex: 1 1 auto;
  overflow: auto;
  /* only this mid area scrolls */
}

.testimonial-modal-body {
  line-height: 1.6;
}

.testimonial-modal-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-top: 1px solid #eee;
  flex: 0 0 auto;
}

.testimonial-item .testimonial-content {
  cursor: pointer;
}

/* Limit testimonial text on the page to 5 lines (ellipsis) */
.testimonial-content p {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Collapse consecutive <br> on page (render as single break)
   This hides any <br> that follows another <br> so double <br>
   only shows a single line break in normal page content. */
.testimonial-content p br ~ br {
  display: none;
}

/* When shown inside the modal, show full content */
.testimonial-modal .testimonial-modal-content p {
  display: block;
  -webkit-line-clamp: unset;
  -webkit-box-orient: unset;
  overflow: visible;
  text-overflow: unset;
}

/* Inside the modal, allow consecutive <br> to render normally */
.testimonial-modal .testimonial-modal-content p br ~ br {
  display: inline;
}

.author-quote-item {
  width: 100%;
}

/* Prevent page scrolling while testimonial modal is open */
body.testimonial-modal-open {
  overflow: hidden;
}

Adjust --header-offset if your header height changes */:root {
  --header-offset: 90px;
}

section[id],
.hero-section[id],
.menu-section[id],
.contact-section[id],
.testimonial-section[id] {
  scroll-margin-top: var(--header-offset);
}

@media (max-width: 991px) {
  :root {
    --header-offset: 70px;
  }
}

/* Ensure qty controls display nicely inside the scrollable area */
.qty-controls button {
  background: #f3f3f3;
  border: 1px solid #ddd;
  border-radius: 4px;
  cursor: pointer;
}

.qty-controls .qty {
  display: inline-block;
  min-width: 28px;
  text-align: center;
}

/* Small responsiveness */
@media (max-width: 576px) {
  .sidemenu-wrapper-cart .widget-shopping-cart {
    width: 100%;
  }
}

.sidemenu-wrapper-cart .cart-button {
  padding: 0;
}

.sidemenu-wrapper-cart .sidemenu-cart-close {
  top: 15px;
}

.sidemenu-wrapper-cart h4 {
  padding: 15px 25px 0 25px;

  svg {
    margin-left: -10px;
  }
}

@media (max-width: 575px) {
  .cart-item-link {
    padding-right: 15px;
  }
}

.cart-total-label {
  font-weight: bold;
}

.foodix-nav-menu {
  .menu-item {
    svg {
      display: none;
    }
  }
}

.foodix-nav-menu.menu-on {
  .menu-item {
    display: flex !important;
    align-items: center;
    justify-content: start;

    svg {
      display: block;
      margin-right: 5px;
    }
  }
}

.back-to-top {
  right: 20px;
  z-index: 999;
}