@media only screen and (max-width: 768px) {
  body {
    margin: 0;
    padding: 0 0 15px 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #000000;
    color: #333;
    line-height: 1.6;
  }

  .logo {
    display: flex;
    justify-content: center;
    padding-top: 1%;
  }

  .menu_page {
    height: fit-content;
    margin: 10px 2px 2px 2px;
  }

  /* .menu_grd { */
  /* display: grid; */
  /* grid-template-columns: repeat(2, 1fr); */
  /* 2 items per row */
  /* gap: 12px; */
  /* padding: 6px; */
  /* background-color: #000000; */
  /* justify-items: center; */
  /* center content in each grid cell */
  /* align-items: center; */
  /* } */

  /* .menu_grd>div {
    background-color: #1a1a1a;
    color: #fff;
    padding: 12px;
    text-align: center;
    border-radius: 10px;
    width: 100%;
    box-shadow: 0 2px 5px rgba(255, 255, 255, 0.05);
  } */

  .categeroy {
    display: flex;
    padding: 5px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3px;
    text-decoration: none;
  }

  .product {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3px;
    text-decoration: none;
  }

  .product>label {
    color: #fff700;
  }

  .offers {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3px;
    text-decoration: none;
  }


  .offers>label {
    color: #fff700;
  }

  h2 {
    color: #fff700;
  }

  .img_prod {
    border-radius: 20%;
    height: 75px;
    width: 75px;

  }

  .img_cat {
    height: 115px;
    width: 115px;
  }

  #cartPopup {
    height: 70%;
    font-size: 16px;
  }

  #cartBtn {
    font-size: 16px;
  }

  #category {
    margin-bottom: 5%;
  }


  .offerContent {
    background: #222;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    width: 90%;
    max-width: 400px;
  }


  .offerSection {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
  }

  .offerSection.show {
    opacity: 1;
    pointer-events: auto;
  }

  .offerContent {
    background: #222;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 0 15px rgba(255, 193, 7, 0.6);
  }

  .offerImage {
    width: 100%;
    border-radius: 10px;
    margin-top: 15px;
  }

  .offerBtn {
    position: fixed;
    top: 80px;
    right: 15px;
    background: #000;
    font-size: 12px;
    border: 2px solid #fff700 !important;
    color: #000;
    padding: 8px 12px;
    border: none;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
  }

  @keyframes ring {
    0% {
      transform: rotate(0);
    }

    10% {
      transform: rotate(15deg);
    }

    20% {
      transform: rotate(-15deg);
    }

    30% {
      transform: rotate(10deg);
    }

    40% {
      transform: rotate(-10deg);
    }

    50% {
      transform: rotate(5deg);
    }

    60% {
      transform: rotate(-5deg);
    }

    70% {
      transform: rotate(0);
    }

    100% {
      transform: rotate(0);
    }
  }

  #offerBtn {
    animation: ring 1s ease-in-out infinite;
    transform-origin: center;
    font-size: 24px;
  }

  #offerBtn {
    animation: ring 1s ease-in-out infinite;
    animation-delay: 2s;
  }

}


.menu_grd {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* 3 items per row */
  gap: 16px;
  padding: 20px;
  background-color: #000000;
  justify-items: center;
  align-items: center;
}

.menu_grd>div {
  background-color: #1a1a1a;
  color: #fff;
  padding: 20px;
  text-align: center;
  border-radius: 10px;
  width: 100%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  /* Optional box style shadow */
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.menu_grd>div:hover {
  background-color: #333333;
  transform: scale(1.03);
}
.menu_grd_juice {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* 3 items per row */
  gap: 16px;
  padding: 20px;
  background-color: #000000;
  justify-items: center;
  align-items: center;
}

.menu_grd_juice>div {
  background-color: #1a1a1a;
  color: #fff;
  padding: 20px;
  text-align: center;
  border-radius: 10px;
  width: 100%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  /* Optional box style shadow */
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.menu_grd_juice>div:hover {
  background-color: #333333;
  transform: scale(1.03);
}

@media screen and (max-width: 968px) {
  .menu_grd {
    grid-template-columns: repeat(2, 1fr); /* Tablet: 2 columns */
  }
  .menu_grd_juice {
    grid-template-columns: repeat(2, 1fr); /* Mobile: 1 column */
  }
}

@media screen and (max-width: 430px) {
  .menu_grd {
    grid-template-columns: repeat(2, 1fr); /* Mobile: 1 column */
  }
  .menu_grd_juice {
    grid-template-columns: repeat(1, 1fr); /* Mobile: 1 column */
  }
}

.product {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 3px;
  text-decoration: none;
}

.product>label {
  color: #fff700;
}


@media screen and (min-width: 768px) {
  .img_prod {
    height: 100px;
    width: 100px;
    border-radius: 16px;
    transition: transform 0.2s ease;
  }


  .img_cat {
    height: 100px;
    width: 100px;
    border-radius: 16px;
    transition: transform 0.2s ease;
  }

  .img_prod:hover {
    transform: scale(1.05);
  }

  .img_cat:hover {
    transform: scale(1.05);
  }

  .logo_img {
    height: 10%;
    width: 10%;
  }


  .offerSection {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
  }

  .offerSection.show {
    opacity: 1;
    pointer-events: auto;
  }

  .offerContent {
    background: #222;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 0 15px rgba(255, 193, 7, 0.6);
  }

  .offerImage {
    width: 100%;
    border-radius: 10px;
    margin-top: 15px;
  }

  .offerBtn {
    position: fixed;
    top: 80px;
    right: 15px;
    background: #000;
    font-size: 12px;
    border: 2px solid #fff700 !important;
    color: #000;
    padding: 8px 12px;
    border: none;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
  }
}


@media screen and (min-width: 768px) {
  .offers {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 24px;
    align-items: center;
    /* Center children horizontally */
    margin: 0 auto;
    /* Center the container itself if it has a set width */
  }

  .offers>label {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 4px;
    text-align: center;
    /* Optional: center the label text */
  }
}

.juice_splite {
  display: flex;
  justify-content: center;
  gap: 20%;
}

.vertical-line-border {
  height: 150px;
  border-left: 1px solid white;
  margin-left: 5%;
}