@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}
body {
    background: #f1f1f1;
    color: #2c343e;
}
a {
    text-decoration: none;
}
.my_order_page {
    height: 100vh;
    width: 100%;
}
.nav_item {
    padding: 0.5rem 0;
}
.nav_item p {
    font-size: 2rem;
    font-weight: 600;
    color: #f00;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.foodmenu {
    list-style: none;
}
.foodmenu li button {
    text-decoration: none;
    margin-left: 1.563rem;
    padding: 0.6rem 4rem;
    display: inline-block;
    border-radius: 0.5rem;
    font-weight: 500;
    min-width: 9.375rem;
    text-align: center;
    transition: background 0.3s;
    font-size: 1.125rem;
    user-select: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}
.back-to-menu {
    color: #999;
    font-size: 0.825rem;
    border: 1px solid #999;
    display: inline-block;
    padding: 0.25rem 1rem;
    border-radius: 0.5rem;
    font-weight: normal;
}
.back-to-menu:hover {
    opacity: 0.7;
}
.foodmenu li button.menu {
    background: transparent;
    border: 2px solid #0a58ca;
    color: #0a58ca;
}
.foodmenu li button.cancel {
    background: #f00;
    border: 2px solid #f00;
    color: #fff;
}
.foodmenu li button.menu:focus,
.foodmenu li button.menu:hover {
    border: 2px solid #0a58ca;
    color: #fff;
    background: #0a58ca;
}
.foodmenu li button.cancel:focus,
.foodmenu li button.cancel:hover {
    border: 2px solid #f00;
    color: #f00;
    background: transparent;
}

.food-category {
	border: 1px solid #ddd;
	padding: 0.625rem 0; /* Top/Bottom padding only */
	border-radius: 0.5rem;
	/*height: 10rem;*/
	display: flex;
	gap: 10px;
	flex-direction: column;
	justify-content: center; /* Vertical centering */
	align-items: center;    /* Horizontal centering */
	margin-bottom: 1rem;
	box-sizing: border-box; /* Ensures padding doesn't affect height */
}

.food-category .fc_img {
    height: 12rem;
    width: 14rem;
    /* border-radius: 50%; */
}
.food-category-content {
    /*margin-top: 0.625rem;*/
}
.food-category-content p {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 500;
    color: #2c343e;
}
.food-category {
    cursor: pointer;
}
.food-category:focus {
    background: #dc3545;
}
.food-category:focus .food-category-content p {
    color: #fff;
}

.ads_img {
    width: 100%;
    height: 12.5rem;
    margin-bottom: 1rem;
}
.ads_img .ads {
    height: 100%;
    width: 100%;
    border-radius: 0.5rem;
}
.ads_img a {
    /* position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); */
    display: inline-block;
    border: 2px solid transparent;
    padding: 0.5rem 1.5rem;
    color: #333;
    background: rgba(248, 249, 250, 0.75);
    border-radius: 0.5rem;
    transition: background 0.3s;
    font-weight: 500;
}
.ads_img a:hover {
    border: 2px solid #f8f9fa;
    background: transparent;
    color: #f8f9fa;
}
.ads_content {
    position: absolute;
    top: 0;
    text-align: center;
    left: 50%;
    /* transform: translateX(-50%); */
    display: block;
    width: 100%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
}
.ads_content p {
    margin: 0;
}
.left-item,
.right-item {
    padding: .4rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    border-radius: 0.5rem;
    min-height: 82vh;
    max-height: 82vh;
    overflow-x: hidden;
    overflow-y: scroll;
    /*scrollbar-width: none;
    -ms-overflow-style: none;*/
}
/*
.left-item::-webkit-scrollbar {
    display: none;
}
.right-item::-webkit-scrollbar {
    display: none;
}
*/
/* .food-categorys {
  max-height: 77vh;
  border: 1px solid blue;
  overflow-x: hidden;
  overflow-y: scroll;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.food-categorys::-webkit-scrollbar {
  display: none;
} */



.order-summary-freeze h4 {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.625rem;
}
.my_order_item {
    margin-bottom: 0.625rem;
    border-bottom: 1px solid #ddd;
    padding-bottom: 0.625rem;
}
.my_order_item p {
    margin: 0;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.my_order_item p img {
    height: 1.25rem;
    cursor: pointer;
}
.my_order_item p img:focus,
.my_order_item p img:hover {
    opacity: 0.7;
}
.counter {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    color: #dc3545;
}
.counter button {
    font-size: 1rem;
    cursor: pointer;
    outline: none;
    border: none;
    font-weight: bold;
}
.counter button:hover {
    color: #dc3545;
}
.number-display {
    text-align: center;
    font-weight: bold;
    padding: 5px;
}
.submitted_button {
    position: absolute;
    bottom: 1rem;
    right: 10px;
    left: 10px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    text-align: center;
    background: #fff;
    padding-top: 10px;
}
.submitted_button button {
    width: 10rem;
    border: none;
    background: #fe9a01;
    padding: 0.5rem 1rem;
    color: #fff;
    border-radius: 0.5rem;
    border: 2px solid transparent;
}
.submitted_button button:hover {
    background: transparent;
    border: 2px solid #fe9a01;
    color: #fe9a01;
}

.order-button{
    width: 6rem;
    border: none;
    background: #fe9a01;
    padding: 0.4rem .6rem;
    color: #fff;
    border-radius: 0.5rem;
    border: 2px solid transparent;
}
.order-button:hover {
    background: transparent;
    border: 2px solid #fe9a01;
    color: #fe9a01;
}

.cancel-button{
    width: 6rem;
    border: none;
    background: #f00 !important;
    padding: 0.4rem .6rem;
    color: #fff;
    border-radius: 0.5rem !important;
    border: 2px solid transparent;
}
.cancel-button:hover {
    background: transparent !important;
    border: 2px solid #f00 !important;
    color: #f00 !important;
}


.order_footer button {
    width: 8rem;
    border: none;
    background: #fe9a01;
    padding: 0.5rem 1rem;
    color: #fff;
    border-radius: 0.5rem;
    border: 2px solid transparent;
}
.order_footer button:hover {
    background: transparent;
    border: 2px solid #fe9a01;
    color: #fe9a01;
}

.order_footer {
    position: absolute;
    width: 96%;
    bottom: 10px;
    background: #f1f1f1;
    padding: 5px;
}
.item-name-bar{
    background-color: #faebd7;
    padding: 2px;
    border: 1px solid #faebd7;
    border-radius: 4px;
}
.adons  {   
    margin-left: 5px;
    padding-left:30px;
}

.adons ul {
    list-style: none;
    margin: 0;
}
.adons .extra_subtitle {
    padding-bottom: 2px;
    /* border-bottom: 1px solid #ddd; */
    margin: 0;
    margin-bottom: 2px;
}
.adons ul li {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 500;
    color: #999;
}
.sub_totla {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: .8rem;
    margin-top: 4px;
    margin-bottom: 4px !important;
    background-color: antiquewhite;
    padding: 2px;
    border: 1px solid #faebd7;
    border-radius: 4px;
}

/* foode detils page */
/* .select_food_item {
  display: flex;
  align-items: flex-start;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
  cursor: pointer;
  border: 1px solid #ddd;
  padding: 5px;
  height: 5rem;
  border-radius: 0.5rem;
  color: #2c343e;
}

.select_food_item img {
  height: 3rem;
  width: 3rem;
}
.select_food_item .select_food_content {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
}
.select_food_item .select_food_content h4 {
  font-size: 1rem;
  font-weight: 600;
}
.select_food_item .select_food_content p {
  margin: 0;
  font-size: 12px;
}
.sfc_price {
  color: #dc3545;
  font-size: 1.25rem;
  font-weight: 600;
}
.select_food_item:focus {
  background: #dc3545;
}
.select_food_item:focus .select_food_content h4 {
  color: #fff;
}
.select_food_item:focus .select_food_content p {
  color: #fff;
}
.select_food_item:focus .select_food_content .sfc_price {
  color: #fff;
} */

.select_food_item {
    height: 15.5rem;
    display: block;
    border: 1px solid #ddd;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    padding: 1rem;
    border-radius: 0.5rem;
    text-align: center;
    position: relative;
    margin-bottom: 1rem;
    cursor: pointer;
}
.select_food_item img {
    width: 10rem;
    height: 10rem;
}
.sfi_content h4 {
    font-size: 1rem;
    margin-top: 0.5rem;
    color: #333;
    font-weight: 600;
}
.sfi_content p {
    font-size: 0.8rem;
    margin-top: 0.5rem;
    color: #333;
    font-weight: normal;
}
.sfi_price {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    height: 3rem;
    width: 3rem;
    background: #fe9a01;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 600;
}
.select_food_item:focus {
    background-color: #dc3545;
    border: 1px solid #dc3545;
}
.select_food_item:focus .sfi_content p,
.select_food_item:focus .sfi_content h4 {
    color: #fff;
}
.extra_items h4 {
    font-size: 1.25rem;
    font-weight: 600;
}
.extra_items h4 span {
    font-size: 14px;
    font-weight: 400;
}
.cheese_items_select {
    position: relative;
    margin-bottom: 10px;
    display: inline-block;
}
.cheese_items_select:focus {
    background: red;
    z-index: 99;
    position: relative;
}
.cheese_items_select img {
    height: 100px;
    width: 100px;
}
.cheese_items_select:focus .cheese_items_select img {
    opacity: 0.5;
}
.cis-contents {
    justify-content: center;
    gap: 15px;
}
.cis-content {
    text-align: center;
}

/* Flexbox container for the image grid */
/* .image-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 20px;
}


.image-list {
    text-align: center;
    width: 22%;
}

.image-list-item {
    position: relative;
    width: 100%;
    height: 150px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
    border: 1px solid #ddd;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.checkmark {
    color: white;
    font-size: 36px;
    font-weight: bold;
}

.image-list-item.selected .overlay {
    opacity: 1;
}

.image-list p {
    font-size: 14px;
    color: #333;
    margin: 8px 0 0;
} */

/* Existing CSS */
.image-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 18px;
}

.image-list {
    text-align: center;
}

/* The clickable image div */
.image-list-item {
    position: relative;
    width: 150px;
    height: 150px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
    border: 1px solid #ddd;
}

/* Overlay, initially hidden */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Centered checkmark */
.checkmark {
    color: white;
    font-size: 36px;
    font-weight: bold;
}

/* Show overlay on "selected" */
.image-list-item.selected .overlay {
    opacity: 1;
}

/* Title below the image */
.image-list p {
    font-size: 14px;
    color: #333;
    margin: 8px 0 0;
}

/* Mainmenus */
.mainmenuss p {
    /* min-height: 60px; */
    margin: 5px;

    display: flex;
    align-items: center;
    transform: skew(-21deg);

    border-radius: 7px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}
.mainmenuss p.logo {
    background: transparent;
    box-shadow: none;
    transform: skew(0deg);
    margin-right: 0;
    cursor: pointer;
}
.mainmenuss p img {
    border-radius: 7px;
    height: 80px;
    margin-right: 10px;
}
.mainmenuss p .menubtncommon {
    border: none;
    outline: none;
    font-size: 16px;
    font-weight: 600;
    color: #252525;
    background: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.26);
    padding: 5px 10px;
    border-radius: 7px;
}
.mainmenuss .menuitemsname {
    border: none;
    outline: none;
    font-size: 16px;
    font-weight: 600;
    color: #252525;
    background: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.26);
    padding: 5px 10px;
    border-radius: 7px;
}

.mainmenuss p .cancelbtn {
    color: #fff;
    background: #f00;
}
.mainmenuss p .btmbtn {
    color: #fff;
    background: #f5be1d;
}
.mainmenuss p button {
    background: transparent;
    color: #f00;
}
.mainmenuss p .menubtncommon:hover {
    background: #f5be1d;
    color: #fff;
}
.mainmenuss p .btmbtn:hover {
    background: #89c53f;
}
.add_btnsss {
    transform: skew(-21deg);
    display: flex;
    align-items: center;
    margin-left: 5px;
}
.add_btnsss button,
.add_btnsss select {
    border: none;
    outline: none;
}
.add_btnsss_item {
    min-width: 150px;
    border: 1px solid #ddd;
    border-radius: 0.24rem;
}
.add_btnsss select {
    width: 100%;
}
#item_quantity{
    text-align: center;
    width: 100px;
    font-weight: bold;
}

.padding-0{
    padding: 0 !important;
}
.add_btnsss button {
    width: 200px;
    background: #28de1a;
    padding: 5px 10px;
    font-size: 16px;
    font-weight: 800;
    border-top-right-radius: 0.25rem;
    border-bottom-right-radius: 0.25rem;
}
.add_btnsss button:hover {
    background: #f5be1d;
    color: #fff;
}
.my_order_items {
    max-height: 65vh;
    overflow-x: hidden;
    overflow-y: scroll;
    /*scrollbar-width: none;
    -ms-overflow-style: none;*/
}
  #qrcode { display: none; }
  #barcode { display: none; }
  
  .receipt {
    width: 300px; /* POS printer width */
    margin: auto;
    padding: 10px;
    font-size: 12px;
    border: 1px solid #000;
  }

  .main-container {
    display: flex;
    flex-direction: row;
  }
  
  .item-div {
    flex: 2;
    background: #f9f9f9;
    padding: 10px;
    min-height: 82vh;
  }
  
  .cart-div {
    flex: 1;
    background: #f9f9f9;
    padding: 10px;
    min-height: 82vh;
  }

  .view-tray{
    display: none;
  }
  .advertise-block{
        display: block;
    }
  @media screen and (max-width: 768px) {
    .advertise-block{
        display: none;
    }
    .left-item , .right-item , .item-div,.cart-div  {
        min-height: 300px;
      }
      .main-container {
        flex-direction: column;
      }
      .swap-mobile {
        flex-direction: column-reverse;
      }
      .view-tray{
        display: block;
      }

  }


  @media screen and (max-width: 1024px) {
.ads_img {
    width: 100%;
    height: auto;
    margin-bottom: 1rem;
}
.img-fluid {
	object-fit: contain;
	max-width: 100%;
}
  }
