@media (max-width: 767px) 
{

    .itemcardParent
    {
        padding: 0 6px !important;
    }
    .ItemcardChild
    {
         padding: 0px 6px;
    }
    .desktop-height
    {
            height: 235px !important;
    }
}

@media (min-width: 1025px) 
{ 
    .desktop-height 
    {
        height: 380px !important;
    }
}

.itemImageStyle 
{
    background-size: cover;
    background-position: center;
    border-radius: 17px;
    transition: transform 0.5s ease, box-shadow 0.3s ease;
}


    .itemBadgeText
    {
    float: right;
    color: black;
    padding:5px 9px;
    }
    

.offPercentage
    {
    background-color: #DA403F;
    letter-spacing: 1px;
    color: white;
    border-radius: 17px;
    font-size: 11px;
    font-weight: normal;
    padding: 3px 10px 4px 10px;
    display: inline-block;
    }
.soldOutVar
{
    color: red !important; border: 1px solid; margin-left: 5px;
    font-size: 10px; font-weight: 500; 
    padding: 4px 5px;

}





/* Drawer Popup */
.drawer {
  border-radius: 20px 0 0 20px;  
  position: fixed;
  top: 0;
  right: -100%; /* Hidden by default */
  width: 300px; /* Adjust width as needed */
  height: 100%;
  background-color: rgb(245, 245, 245);
  box-shadow: -2px 0 8px rgba(0, 0, 0, 0.2);
  transition: right 0.3s ease-in-out; /* Smooth opening */
  z-index: 1200;

}

.drawer.open {
  right: 0; /* Drawer slides into view */
}


.onlyPerPerson-coupon
{
 font-size: 11px;
  font-weight: normal;
  color: #ffffffb8;

}
.onlyPerPerson-freebie
{
  margin-top: 5px;
    font-size: 11px;
    font-weight: normal;
    display: block;
    color:grey;
}

.close-drawer {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 18px;
  cursor: pointer;
  color: #333;
  background: none;
  border: none;
}
/* Drawer Title */
.drawer-title {
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #333;
  width: 50%;
  border-bottom: 2px solid grey;
  padding-bottom: 10px;
}


.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.3); /* dark overlay */
  backdrop-filter: blur(5px);  /* blur effect */
  -webkit-backdrop-filter: blur(5px);
  z-index: 1100; /* below the drawer */
  display: none; /* hidden by default */
  transition: opacity 0.3s ease-in-out;
}

.drawer-overlay.active {
  display: block;
  opacity: 1;
}


#orderDrawer {
  width: 40%;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;   /* ✅ no horizontal scroll */
}


#searchDrawer
{
  width: 40%;
   display: flex;
  flex-direction: column;
  height: 100%;
    padding: 20px;
  overflow-x: hidden; 
}

.drawer-content {
  display: flex;
  flex-direction: column;
  height: 100%;
    padding: 20px;
  overflow-x: hidden;   /* ✅ prevent child overflow */
}

.drawer-body {
  flex: 1;
  overflow-y: auto;     /* ✅ vertical scroll only */
  overflow-x: hidden;   /* ✅ no horizontal scroll */
}

.drawer-footer {
  background: #fff;
  flex-shrink: 0;       /* ✅ footer won’t shrink */
}

#offerDrawer
{
   width: 25%;
}

@media (max-width: 768px) {
  #orderDrawer {
    width: 80% !important;
  }
  
  #searchDrawer
  {
      width: 80% !important;
  }

    #offerDrawer
  {
     width: 80% !important;
  }
  
}
