/* Overlay Styles */
.marvikshop-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999990;
    display: none;
}

/* Drawer Base Styles */
.marvikshop-drawer {
    position: fixed;
    top: 0;
    height: 100%;
	width: 375px;
   /* width: var(--marvikshop-cart-drawer-width);*/
    background-color: #fff;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    z-index: 999991;
    display: flex;
    flex-direction: column;
}

.marvikshop-drawer-wrapper {
    display: none;
}

.marvikshop-drawer-wrapper.open {
    display: flex;
}

.marvikshop-drawer-wrapper.open .marvikshop-drawer-overlay {
    display: block;
   /* cursor: url('../images/modal-overlay-cursor.svg') 28 28, auto;*/
}

.marvikshop-drawer.marvikshop-drawer-left {
    animation: SlideFromLeftStart 0.3s ease;
}

.marvikshop-drawer.marvikshop-drawer-left.marvikshop-drawer-closing {
    animation: SlideFromLeftClose 0.3s ease;
}

.marvikshop-drawer.marvikshop-drawer-right {
    right: 0;
    animation: SlideFromRightStart 0.2s ease;
}

.marvikshop-drawer.marvikshop-drawer-right.marvikshop-drawer-closing {
    animation: SlideFromRightClose 0.3s ease;
}

.marvikshop-drawer .marvikshop-drawer-footer {
    padding: 12px;
    display: flex;
    gap: 4px;
    justify-content: end;
}

/* Drawer Header Styles */
.marvikshop-drawer-header {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--marvikshop-border-color);
}

/* Close Button Styles */
.marvikshop-drawer-close-button {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

/* Drawer Content Styles */
.marvikshop-drawer-content {
    position: relative;
    flex: 1 1 auto;
    height: 100%;
	width: 99%;
}

/* Mini Cart Styles */
.marvikshop-mini-cart-items {
    display: flex;
    flex-direction: column;
}

.marvikshop-mini-cart-item {
    display: flex;
    position: relative;
    padding: 1rem;
    gap: 1rem;
    border-bottom: 1px solid var(--marvikshop-border-color);
}

.marvikshop-mini-cart-item-data {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

.marvikshop-min-cart-thumbnail {
    width: 80px;
}

.marvikshop-mini-cart-quantity-price {
    display: flex;
    justify-content: space-between;
}

.marvikshop-mini-cart-quantity-price .marvikshop-quantity-selector .form-control {
    width: 90px;
}

.marvikshop-drawer .marvikshop-remove-cart-item {
    position: absolute;
    top: 10px;
    right: 10px;
}

/* Media Query for Smaller Screens */
@media (max-width: 768px) {
    .marvikshop-drawer {
        width: 100%;
    }
}

/* Keyframes */
@keyframes SlideFromLeftStart {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(0);
    }
}

@keyframes SlideFromLeftClose {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

@keyframes SlideFromRightStart {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(0);
    }
}

@keyframes SlideFromRightClose {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(100%);
    }
}


.item-count {
  position: absolute;
  right: 90px;
  top: 10px;

  align-items: center;
  justify-content: center;
  min-width: 16px;
  height: 16px;

  font-size: 10px;

  font-weight: 700;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  background-color: red; 
  border-radius: 10px;
}
