.mc-dialog-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1050;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.mc-dialog-wrapper.is-open {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
}
.mc-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 52, 61, 0.45);
  backdrop-filter: blur(2px);
  cursor: pointer;
}
.mc-card {
  position: relative;
  z-index: 1;
  width: 360px;
  max-width: calc(100vw - 2rem);
  max-height: calc(100vh - 5rem);
  margin-top: 4.5rem;
  margin-right: 1.5rem;
  border-radius: 12px;
  border: 1px solid #D8E1E4;
  background: #FFFFFF;
  color: #182C31;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 52, 61, 0.15);
  transform: translateY(-8px);
  transition: transform 0.25s ease;
}
.mc-dialog-wrapper.is-open .mc-card {
  transform: translateY(0);
}
.mc-header {
  border-bottom: 1px solid #D8E1E4;
  background-color: #FFFFFF;
}
.mc-body {
  background-color: #FFFFFF;
  overflow-y: auto;
  min-height: 100px;
  max-height: calc(100vh - 18rem);
}
.mc-footer {
  border-top: 1px solid #D8E1E4;
  background-color: #F4F8F9;
}
.mc-thumb-wrap {
  width: 50px;
  height: 50px;
  border-radius: 6px;
  overflow: hidden;
  background-color: #EBF5F7;
}
.mc-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mc-qty-pill {
  border: 1px solid #D8E1E4;
  background-color: #F4F8F9;
  padding: 2px 4px;
}
.mc-qty-pill button {
  font-size: 0.85rem;
  line-height: 1;
  color: #182C31;
}
.mc-qty-val {
  min-width: 1.5rem;
  display: inline-block;
  color: #182C31;
}
.mc-go-cart {
  background-color: #0D6277;
  border-color: #0D6277;
  color: #FFFFFF;
}
.mc-go-cart:hover {
  background-color: #094757;
  border-color: #094757;
  color: #FFFFFF;
}
.mc-remove-link {
  font-size: 0.75rem;
  color: #c93b2b !important;
}
.badge-cart-indicator {
  background-color: #29C289;
  color: #111111;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25em 0.55em;
  border-radius: 50rem;
}
@media (max-width: 575.98px) {
  .mc-dialog-wrapper {
    align-items: flex-end;
  }
  .mc-card {
    width: 100%;
    max-width: 100%;
    margin-top: 0;
    margin-right: 0;
    max-height: 85vh;
    border-radius: 16px 16px 0 0;
    border-bottom: none;
    transform: translateY(100%);
  }
  .mc-dialog-wrapper.is-open .mc-card {
    transform: translateY(0);
  }
  .mc-body {
    max-height: calc(85vh - 13rem);
  }
}