/* MINICART SIDEBAR */
.minicart-sidebar-toggle-btn {
  cursor: pointer;
}
.minicart-sidebar-toggle-btn a {
  position: relative;
}
.minicart_sidebar_wraper {
  position: fixed;
  top: 0;
  right: -550px; /* Hidden initially */
  width: 550px;
  max-width: 100%;
  height: 100vh;
  background-color: #fff;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: right 0.3s ease-in-out;
 
}
.minicart_sidebar_wraper.active {
  right: 0;
}
@supports (-webkit-touch-callout: none) {
  /* Specific styling for Safari to handle the floating address bar */
  body {
    height: -webkit-fill-available;
  }

  .minicart_sidebar_wraper {
    height: -webkit-fill-available;
    height: 100dvh;
  }
}

#minicart_sidebar {
    display: flex;
    flex-direction: column;
    height: 100%;
  /* width: 0; */
  /* position: fixed; */
  /* top: 0; */
  /* right: 0; */
  /* background-color: #fff; */
  /* overflow-x: auto; */
  /* padding: 40px 0; */
  /* transition: 0.5s;
    z-index: 10000;
    width: 550px; */
}
/* #minicart_sidebar.active {
    max-width: 100%;
    max-height: 100dvh;
    box-shadow: -5px 0px 14px rgba(0, 27, 122, 0.5);
    overflow: hidden;
  } */
.minicart_content {
  background-color: #fff;
  flex-grow: 1;
  overflow-y: auto;
  padding: 6px;
}

#minicart_sidebar .minicart_header {
  flex-shrink: 0;
  background: #fff;
  border-bottom: 1px solid lightgray;
  padding: 6px 20px;
}
#minicart_sidebar .minicart_header .close_minicart_sidebar {
  color: #001b7a;
  font-size: 16px;
  cursor: pointer;
}
#minicart_sidebar .minicart_header .close_minicart_sidebar img {
  max-width: 24px;
  width: 20px;
  opacity: 0.5;
}
#minicart_sidebar .minicart_header .close_minicart_sidebar:hover img {
  opacity: 1;
}
#minicart-sidebar {
  /* height: calc(100vh - 109px); */
  /* overflow-x: auto; */
  position: relative;
  padding: 0px 12px;
}
#minicart_sidebar .minicart_footer {
  flex-shrink: 0;
  align-items: center;

  display: flex;
  justify-content: space-between;
  padding: 12px 20px 12px;
  font-size: 16px;
  background: #fff;
  border-top: 1px solid lightgray;

  position: fixed;
  bottom: 0;
  right: -550px;
  width: 550px;
  max-width: 100%;
  transition: right 0.3s ease-in-out;
}
.minicart_sidebar_wraper.active #minicart_sidebar .minicart_footer {
  right: 0;
}
#minicart_sidebar .minicart_footer a {
  display: inline-block;
  text-decoration: none;
  border-radius: 4px;
  padding: 6px 10px;
  background: #001b7a;
  color: #fff;
  font-weight: 500;
  transition: all 0.3s;
}
#minicart_sidebar .minicart_footer a:hover,
#minicart_sidebar .minicart_footer a:focus {
  background: #ffc94d;
  color: #000;
}
body.stop_scrolling,
.stop_scrolling {
  height: 100%;
  overflow: hidden !important;
  position: relative;
}
.cart_btn_icon_qty {
  display: block;
  position: absolute;
  min-width: 1.6em;
  height: 1.6em;
  line-height: 1.5em;
  top: 0.1em;
  inset-inline-end: -0.7em;
  border-radius: 100%;
  color: #fff;
  background-color: #001b7a;
  text-align: center;
  font-size: 10px;
}
/* CART ITEMS STYLES */
.minicart-list {
  list-style: none;
  padding: 0;
  padding-bottom: 60px;
}
.minicart-list .empty_cart_div {
  color: gray;
  font-size: 16px;
  text-align: center;
  margin: 28px 5px;
  pointer-events: none;
}
.minicart-list li {
  border-bottom: 1px solid lightgray;
  padding-bottom: 6px;
}
.minicart-item {
  margin: 10px 5px;
  display: flex;
  justify-content: space-between;
}
.minicart-item .item_detail_wrap {
  display: flex;
}
.minicart-item .item-thumbnail {
  margin: 5px;
  min-width: 102px;
  text-align: center;
  border: 1px dashed lightgrey;
  border-radius: 3px;
}
.minicart-item .item-thumbnail img {
  max-width: 100px !important;
  max-height: 100px !important;
  height: auto;
  width: auto !important;
  height: 100px !important;
  object-fit: contain;
}
.item-details {
  font-size: 16px;
}
.item-name {
  font-weight: 500;
}
.item-name a {
  text-decoration: none;
}
.item-name a:hover,
.item-name a:focus {
  border-bottom: 1px dotted gray;
}
.item-name a:active {
  color: #000000 !important;
}
.item-qty-price {
  color: gray;
}
.item-delivery-option {
  color: gray;
  font-size: 14px;
}
.minicart-item .remove_cart_item_wrap img {
  width: 18px;
  max-width: 18px;
  opacity: 0.25;
  cursor: pointer;
}
.minicart-item .remove_cart_item_wrap img:hover {
  opacity: 1;
}
