.drawer {
  position: fixed;
  z-index: 9999999999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100%;
  display: flex;
  justify-content: flex-end;
  background-color: rgba(var(--color-foreground), 0.5);
  transition: visibility var(--duration-default) ease;
}

.drawer.active {
  visibility: visible;
  opacity: 1;
}

.drawer__inner {
  height: 100%;
  width: 58rem;
  max-width: calc(100vw - 3rem);
  padding: 0;
  border: 0.1rem solid rgba(var(--color-foreground), 0.2);
  border-right: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--duration-default) ease;
  overflow-x: hidden !important;
  position: relative;
}

.drawer__inner-empty {
  height: 100%;
  padding: 0 1.5rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.cart-drawer__warnings {
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: center;
}

cart-drawer.is-empty .drawer__inner {
  display: grid;
  grid-template-rows: 1fr;
  align-items: center;
  padding: 0;
}

cart-drawer.is-empty .drawer__header {
  display: none;
}

cart-drawer:not(.is-empty) .cart-drawer__warnings,
cart-drawer:not(.is-empty) .cart-drawer__collection {
  display: none;
}

.cart-drawer__warnings--has-collection .cart__login-title {
  margin-top: 2.5rem;
}

.drawer.active .drawer__inner {
  transform: translateX(0);
}

.drawer__header {
  position: relative;
  padding: 2.2rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--tertiary-button-color);
  color: var(--secondary-color);
  border-bottom: 1px solid var(--primary-color);
}

.drawer__heading {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
  font-family: var(--font-body-family);
  line-height: 27px;
}

.drawer__close {
  display: inline-block;
  min-width: 4.4rem;
  min-height: 4.4rem;
  box-shadow: 0 0 0 .2rem rgba(var(--color-button), 0);
  position: absolute;
  top: 13px;
  right: 15px;
  padding: 0;
  color: rgb(var(--color-foreground));
  background-color: transparent;
  border: none;
  cursor: pointer;
}

.cart-drawer__warnings .drawer__close {
  right: 5px;
}

.drawer__close .svg-wrapper {
  height: 1.5rem;
  width: 1.5rem;
  vertical-align: middle;
}

.drawer__close .svg-wrapper svg {
  stroke: currentColor;
  stroke-width: 2px;
}

.drawer__contents {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.drawer__footer {
  border-top: 0.1rem solid rgba(var(--color-foreground), 0.2);
  padding: 1.5rem 2.5rem;
  background-color: var(--tertiary-button-color);
  color: var(--secondary-color);
  border-top: 1px solid var(--primary-color);
}

cart-drawer-items.is-empty .cart_recommendation,
cart-drawer-items.is-empty .become-vip-mood-insider+.cart_recommendation,
cart-drawer-items.is-empty .mood-reward-points-container+.become-vip-mood-insider+.cart_recommendation,
cart-drawer-items.is-empty+.drawer__footer,
cart-drawer-items.is-empty .mood-reward-points-container,
cart-drawer-items.is-empty .mood-reward-points-container+.become-vip-mood-insider,
cart-drawer-items.is-empty .become-vip-mood-insider {
  display: none;
}

.drawer__footer>details {
  margin-top: -1.5rem;
  border-bottom: 0.1rem solid rgba(var(--color-foreground), 0.2);
}

.drawer__footer>details[open] {
  padding-bottom: 1.5rem;
}

.drawer__footer summary {
  display: flex;
  position: relative;
  line-height: 1;
  padding: 1.5rem 2.8rem 1.5rem 0;
}

.drawer__footer>details+.cart-drawer__footer {
  padding-top: 1.5rem;
}

cart-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100%;
}

.cart-drawer__overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.cart-drawer__overlay:empty {
  display: block;
}

.cart-drawer__form {
  flex-grow: 1;
  display: flex;
  flex-wrap: wrap;
  padding: 0.5rem 2.5rem;
}

.cart-drawer__collection {
  margin: 0 2.5rem 1.5rem;
}

.cart-drawer .drawer__cart-items-wrapper {
  flex-grow: 1;
}

.cart-drawer .cart-items,
.cart-drawer tbody {
  display: block;
  width: 100%;
}

.quantity-change-disabled .quantity-popover-container {
  pointer-events: none;
}

.cart-drawer thead {
  display: inline-table;
  width: 100%;
  display: none;
}

cart-drawer-items {
  overflow: auto;
  flex: 1;
}

@media screen and (max-height: 650px) {
  cart-drawer-items {
    overflow: visible;
  }

  .drawer__inner {
    overflow: scroll;
  }
}

.cart-drawer .cart-item {
  display: grid;
  grid-template: repeat(2, auto) / repeat(4, 1fr);
  gap: 0.5rem;
  margin-bottom: 0;
  border-top: 1px solid #0000001A;
  padding-bottom: 15px;
}

.cart-drawer .cart-item:first-child {
  border-top: none;
}

.cart-drawer .cart-item__media {
  grid-row: 1 / 3;
  width: 12rem;
}

.cart-drawer .cart-item__image {
  max-width: 100%;
  border-radius: 10px;
}

.cart-drawer .cart-items .swatch_sku {
  display: flex;
  align-items: center;
  gap: 5px;
}

.cart-drawer .cart-item__quantity-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-drawer .cart-items .swatch-item .cart-item__quantity-wrapper {
  justify-content: end;
}

.cart-drawer .cart-items thead {
  margin-bottom: 0.5rem;
}

.cart-drawer .cart-items thead th:first-child,
.cart-drawer .cart-items thead th:last-child {
  width: 0;
  padding: 0;
}

.cart-drawer .cart-items thead th:nth-child(2) {
  width: 50%;
  padding-left: 0;
}

.cart-drawer .cart-items thead tr {
  display: table-row;
  margin-bottom: 0;
}

.cart-drawer .cart-items th {
  border-bottom: 0.1rem solid rgba(var(--color-foreground), 0.08);
}

.cart-drawer .cart-item .loading__spinner {
  right: 5px;
  padding-top: 2.5rem;
}

.cart-drawer .cart-items td {
  padding-top: 1.7rem;
}

.cart-drawer .cart-item>td+td {
  padding-left: 1rem;
}

.cart-drawer .cart-item__details {
  width: auto;
  grid-column: 2 / 4;
}

.cart-drawer .cart-item__totals {
  display: flex;
  align-items: end;
  justify-content: space-between;
  flex-direction: column;
}

.cart-drawer.cart-drawer .cart-item__price-wrapper>*:only-child {
  margin-top: 0;
}

.cart-drawer .cart-item__price-wrapper .cart-item__discounted-prices {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.cart-drawer .unit-price {
  margin-top: 0.6rem;
}

.cart-drawer .cart-items .cart-item__quantity {
  padding-top: 0;
  grid-column: 2 / 5;
  margin-top: auto;
}

.cart-drawer .item_price .product-option {
  display: flex;
  flex-direction: column;
  align-items: end;
  gap: 0;
}

.cart-drawer .item_price .cart-item__final-price {
  font-size: 18px;
  font-weight: 500;
  line-height: 20px;
}

.cart-drawer .item_price .cart-item__compare_at_price {
  opacity: 0.5;
  line-height: 18px;
}

.cart-drawer .item_price .cart-item__final-price.sale {
  color: var(--tertiary-color);
}

.cart-drawer cart-remove-button .button {
  min-width: auto;
  min-height: auto;
}

@media screen and (max-width: 767px) {
  .cart-drawer .cart-item cart-remove-button {
    margin-left: 0;
  }

  .cart-drawer .cart-item__media {
    width: 10rem;
  }
}

.cart-drawer__footer>*+* {
  margin-top: 1rem;
}

.cart-drawer__footer .discounts.list-unstyled {
  margin-bottom: 15px;
}

.cart-drawer .totals {
  justify-content: space-between;
  display: none;
}

.cart-drawer .price {
  line-height: 1;
}

.cart-drawer .tax-note {
  margin: 1.2rem 0 2rem auto;
  text-align: left;
  display: none;
}

.cart-drawer .product-option dd {
  word-break: break-word;
}

.cart-drawer details[open]>summary .icon-caret {
  transform: rotate(180deg);
}

.cart-drawer .cart__checkout-button {
  max-width: none;
  padding: 20px 10px;
  line-height: 20px;
  font-weight: 500;
  width: 100%;
  gap: 3px;
}

#clear-cart-btn {
  margin: 10px 0 0;
}

.drawer__footer .cart__dynamic-checkout-buttons {
  max-width: 100%;
}

.drawer__footer #dynamic-checkout-cart ul {
  flex-wrap: wrap !important;
  flex-direction: row !important;
  margin: 0.5rem -0.5rem 0 0 !important;
  gap: 0.5rem;
}

.drawer__footer [data-shopify-buttoncontainer] {
  justify-content: flex-start;
}

.drawer__footer #dynamic-checkout-cart ul>li {
  flex-basis: calc(50% - 0.5rem) !important;
  margin: 0 !important;
}

.drawer__footer #dynamic-checkout-cart ul>li:only-child {
  flex-basis: 100% !important;
  margin-right: 0.5rem !important;
}

@media screen and (min-width: 768px) {
  .drawer__footer #dynamic-checkout-cart ul>li {
    flex-basis: calc(100% / 3 - 0.5rem) !important;
    margin: 0 !important;
  }

  .drawer__footer #dynamic-checkout-cart ul>li:first-child:nth-last-child(2),
  .drawer__footer #dynamic-checkout-cart ul>li:first-child:nth-last-child(2)~li,
  .drawer__footer #dynamic-checkout-cart ul>li:first-child:nth-last-child(4),
  .drawer__footer #dynamic-checkout-cart ul>li:first-child:nth-last-child(4)~li {
    flex-basis: calc(50% - 0.5rem) !important;
  }
}

cart-drawer-items::-webkit-scrollbar {
  width: 3px;
}

cart-drawer-items::-webkit-scrollbar-thumb {
  background-color: rgba(var(--color-foreground), 0.7);
  border-radius: 100px;
}

cart-drawer-items::-webkit-scrollbar-track-piece {
  margin-top: 31px;
}

.cart-drawer .quantity-popover-container {
  padding: 0;
  gap: 10px;
}

.cart-drawer .quantity-popover-container .qty-label {
  font-size: 14px;
  font-weight: 500;
}

.cart-drawer .quantity {
  width: calc(12.5rem / var(--font-body-scale) + var(--inputs-border-width) * 2);
  min-height: calc((var(--inputs-border-width) * 2) + 4rem);
}


.cart-drawer .quantity .quantity__button {
  width: calc(4rem / var(--font-body-scale));
}

.cart-drawer .quantity:after {
  box-shadow: 0 0 0 var(--inputs-border-width) rgba(var(--color-foreground), 0.2);
}

.cart-drawer .quantity-popover__info.global-settings-popup {
  transform: translateY(0);
  top: 100%;
}

.cart-drawer .cart-item__error {
  margin-top: 0.8rem;
}

.cart-drawer .quantity-popover__info+.cart-item__error {
  margin-top: 0.2rem;
}

@media screen and (min-width: 768px) {
  .cart-drawer .cart-item__quantity--info quantity-popover>* {
    padding-left: 0;
  }

  .cart-drawer .cart-item__error {
    margin-left: 0;
  }
}


.cart-item__quantity .quantity.cart-quantity.is_remnant_true {
  pointer-events: none;
  /* display: none; */
}

/* .cart-item__quantity .quantity.cart-quantity.is_remnant_true+.qty-label{
  display: none;
} */
/* mood reward points */

.cart-drawer .mood-reward-points-container {
  padding: 1.5rem 2.5rem 0;
}

.cart-drawer .mood-reward-points-container .mood-points-box {
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 10px;
  background-color: var(--tertiary-button-color);
  color: var(--secondary-color);
  display: flex;
  align-items: center;
  gap: 3px;
  justify-content: center;
}

.cart-drawer .mood-reward-points-container .mood-points-value,
.cart-drawer .mood-reward-points-container .mood-points-text {
  font-size: 12px;
  font-weight: 400;
  color: var(--secondary-color);
  letter-spacing: 0;
  line-height: 16px;
  text-align: center;
}

.cart-drawer .mood-reward-points-container .mood-points-value {
  font-weight: 700;
}

/* Become Vip Mood insider */

.cart-drawer .become-vip-mood-insider {
  padding: 1.5rem 2.5rem;
}

.cart-drawer .become-vip-mood-insider .mood-insider-bg {
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 5px;
  background-color: var(--tertiary-button-color);
  color: var(--secondary-color);
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
}

.cart-drawer .become-vip-mood-insider .mood-insider-text {
  font-size: 14px;
  font-weight: 500;
  color: var(--secondary-color);
  letter-spacing: 0;
  ;
  padding-left: 10px;
  line-height: 18px;
}

.cart-drawer .become-vip-mood-insider .block__insider-status-btn-wrap .quick-add__submit {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  padding: 5px 15px;
  min-height: 35px;
  height: auto;
}

.cart-drawer .become-vip-mood-insider .block__product-btn-text {
  display: flex;
  align-items: center;
  gap: 5px;
}

.cart-drawer .become-vip-mood-insider .block__product-btn-text svg {
  width: 15px;
  height: 15px;
}

.cart-drawer .become-vip-mood-insider .block__product-btn-text svg path {
  stroke: #fff;
  stroke-width: 2px;
}

.cart-drawer .become-vip-mood-insider .block__insider-status-btn-wrap {
  display: block;
}

.cart-drawer .become-vip-mood-insider .block__insider-status-btn-wrap .block__insider-status-btn::after,
.cart-drawer .become-vip-mood-insider .block__insider-status-btn-wrap .block__insider-status-btn::before {
  display: none;
}

.cart-drawer .become-vip-mood-insider .block__insider-status-btn-wrap .block__product-btn-text-added {
  display: none;
}

.cart-drawer .become-vip-mood-insider .block__insider-status-btn-wrap .added .block__product-btn-text-added {
  display: block;
}

.cart-drawer .become-vip-mood-insider .block__insider-status-btn-wrap .added .block__product-btn-text {
  display: none;
}

.cart-drawer .become-vip-mood-insider .block__insider-status-btn-wrap .added .block__insider-status-btn {
  cursor: not-allowed;
  opacity: .5;
  pointer-events: none;
}

.cart-drawer .become-vip-mood-insider .block__insider-status-btn-wrap .swym-atw-button-container {
  display: none;
}

/* Custom Upsell */
.custom-upsell {
  margin-bottom: 1.5rem;
}

.custom-upsell .upsell-container {
  display: flex;
  align-items: center;
  gap: 10px;
}
.custom-upsell .upsell-container.three-column{
   justify-content: space-between;
}
.custom-upsell .upsell-container .upsell-item {
  display: flex;
  gap: 3px;
}
.custom-upsell .upsell-container .upsell-item .tooltip-wrapper {
  position: relative;
  display: inline-block;
  margin-left: 6px;
}

.custom-upsell .upsell-container .upsell-item .tooltip-icon {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.custom-upsell .upsell-container .upsell-item  .tooltip-icon svg{
  width: 16px;
  height: 16px;
}
.custom-upsell .upsell-container .upsell-item .tooltip-text {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  bottom: 130%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  padding: 10px 14px;
  border-radius: 10px;
  line-height: 1.5;
  white-space: normal;
  text-align: left;
  transition: all 0.2s ease;
  background: var(--selection-color);
  box-shadow: 0 1px 5px #00000026;
  text-align: left;
  font-size: var(--small_body) !important;
  width: max-content;
  max-width: 320px;
  font-weight: var(--font-body-weight);
  color: var(--senary-color);
}
/* Small popup arrow */
.custom-upsell .upsell-container .upsell-item .tooltip-text::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 10%;
  /* transform: translateX(-50%); */
  border-width: 6px;
  border-style: solid;
  border-color: #ffffff transparent transparent transparent;
}

.custom-upsell .upsell-container .upsell-item .tooltip-text.left {
  left: 0;
  transform: translateX(0);
}

.custom-upsell .upsell-container .upsell-item .tooltip-text.right {
  right: 0;
  left: auto;
  transform: translateX(0);
}

.custom-upsell .upsell-container .upsell-item .tooltip-wrapper:hover .tooltip-text,
.custom-upsell .upsell-container .upsell-item .tooltip-wrapper:focus-within .tooltip-text,
.custom-upsell .upsell-container .upsell-item .tooltip-text.active {
  visibility: visible;
  opacity: 1;
}
@media screen and (max-width: 768px) {
  .custom-upsell .upsell-container .upsell-item .tooltip-text {
    width: 270px;
  }
}
.custom-upsell .upsell-item input[type='checkbox'] {
  width: 0;
  height: 0;
  margin: 0;
}

.custom-upsell .upsell-item .custom_checkbox {
  width: 18px;
  height: 18px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 2px;
  margin-right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-upsell .upsell-item input[type='checkbox']:checked+.custom_checkbox {
    background-color: rgba(var(--color-foreground), .1);
    border: 1px solid rgba(var(--color-foreground), .1);
}

.custom-upsell .upsell-item .custom_checkbox::after {
  content: "✓";
  display: none;
}

.custom-upsell .upsell-item input[type='checkbox']:checked+.custom_checkbox::after {
  display: block;
  color: rgba(var(--color-button-text));
  font-size: 14px;
}

.custom-upsell .upsell-item label {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.custom-upsell .upsell-item span.upsell_title {
  width: calc(100% - 28px);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 18px;
}

/* Cart Progress bar */

.drawer-multiprogress-bars {
  position: absolute;
  height: 4px;
  background-color: rgba(0, 0, 0, 0.1);
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.drawer-multiprogress-bars .drawer-progress {
  border-radius: 8px;
  height: 100%;
}

.drawer-multiprogress-bars .drawer-progress.bar1 {
  width: 70px;
}

.drawer-multiprogress-bars .drawer-progress.bar2 {
  width: calc(100% - 70px);
}

.drawer-multiprogress-bars .drawer-progress .drawer-progress--bar {
  background-color: var(--primary-color);
  display: block;
  height: 100%;
}

.cart-drawer .block__cart-drawer-progress {
  position: absolute;
  height: 4px;
  background-color: rgba(0, 0, 0, 0.1);
  width: 100%;
  overflow: hidden;
}

.cart-drawer .block__cart-drawer-progress .block__cart-drawer-progress--bar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  height: 4px;
  margin: 0;
  background-color: var(--primary-color);
  border-radius: 8px;
  transition: width 100ms ease;
  display: block;
}

.cart-drawer .block_drawer-header-progress {
  padding: 2rem 2.5rem;
}

.cart-drawer .block_drawer-header-progress .block_drawer-progress {
  width: calc(100% - 104px);
  position: relative;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-drawer .block_drawer-header-progress .block_drawer-progress.freeshipping_with_freegift {
  justify-content: space-between;
}

.cart-drawer .block_drawer-header-progress .block_drawer-progress.only_enable_free_shipping {
  justify-content: start;
}

.cart-drawer .block_drawer-header-progress .block_drawer-progress.only_enable_free_gift {
  justify-content: end;
}

.cart-drawer .block_drawer-header-progress svg {
  margin-left: 12px;
}

.cart-drawer .block__grawer-shipping-massage {
  color: var(--primary-color);
  width: 100%;
  text-align: center;
  text-transform: uppercase;
  margin: 14px 5px 0px;
}

.cart-drawer .block_drawer-progress .icon-marker {
  background: white;
  border: 1px solid #E5E5E5;
  border-radius: 9999px;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 3px auto;
}

.cart-drawer .block_drawer-progress .icon-marker::after {
  position: absolute;
  content: "";
  background: #E5E5E5;
  border-radius: 9999px;
  width: 12px;
  height: 12px;
}

.cart-drawer .block_drawer-progress .block_cart-drawer-freeshipping,
.cart-drawer .block_drawer-progress .block_cart-drawer-giftproduct {
  text-align: center;
  padding: 0 15px;
  width: 140px;

}

.cart-drawer .block_drawer-progress .block_cart-drawer-freeshipping .freeshipping_rate,
.cart-drawer .block_drawer-progress .block_cart-drawer-giftproduct .freegift_rate {
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
}

.cart-drawer .block_drawer-progress .block_cart-drawer-freeshipping .freeshipping_text,
.cart-drawer .block_drawer-progress .block_cart-drawer-giftproduct .freegift_text {
  font-size: 12px;
  font-weight: 400;
  line-height: 20px;
  color: rgba(0, 0, 0, .6);
  text-transform: uppercase;
}

.cart-drawer .drawer-progress-messagebar {
  padding: 0 2.5rem 1rem;
}

.cart-drawer .drawer-progress-messagebar .message-text {
  border: 1px solid rgba(0, 0, 0, .1);
  border-radius: 8px;
  padding: 7px 5px;
  background-color: var(--tertiary-button-color);
  color: var(--secondary-color);
  text-align: center;
}

.cart-drawer .drawer-progress-messagebar .message-text p {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  margin: 0;
  line-height: 22px;
}

.cart-drawer .cart_recommendation {
  padding: 1.5rem 2.5rem;
}

.cart-drawer .cart_recommendation .rebuy-widget {
  padding: 0;
}

.cart-drawer .cart_recommendation .rebuy-widget .rebuy-product-grid.large-carousel {
  padding: 0;
}

.cart-drawer .cart_recommendation .rebuy-widget .primary-title {
  color: #1B1F23;
  font-size: 18px;
  font-weight: 500;
  font-family: var(--font-body-family);
  line-height: 24px;
  text-align: left;
  letter-spacing: 0;
}

.cart-drawer .cart_recommendation .rebuy-widget .splide__arrows {
  display: flex;
  align-items: center;
  position: absolute;
  top: -47px;
  right: 0px;
  gap: 5px;
}

.cart-drawer .cart_recommendation .rebuy-widget .rebuy-carousel__arrows .rebuy-carousel__arrow svg {
  width: 14px;
  height: 14px
}

.cart-drawer .cart_recommendation .rebuy-widget .rebuy-carousel__arrows .rebuy-carousel__arrow {
  height: 32px;
  width: 32px;
  border-radius: 40px;
  border: 1px solid rgba(var(--color-link), .1);
  transform: unset;
  display: block;
}

.cart-drawer .cart_recommendation .rebuy-widget .rebuy-carousel__arrows .rebuy-carousel__arrow:hover {
  background: #fff;
}

.cart-drawer .cart_recommendation .rebuy-widget .rebuy-carousel__pagination {
  display: none;
}

.cart-drawer .cart_recommendation .rebuy-widget .splide__arrows .rebuy-carousel__arrow {
  position: relative;
}

.cart-drawer .cart_recommendation .rebuy-widget .splide__arrows .rebuy-carousel__arrow svg {
  display: none;
}

.cart-drawer .cart_recommendation .rebuy-widget .splide__arrows .rebuy-carousel__arrow:after {
  position: absolute;
  content: "";
  background: url("https://cdn.shopify.com/s/files/1/0920/6153/2233/files/arrow_forward.svg?v=1749708702");
  top: 0;
  bottom: 0;
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
  background-size: 11px;
  min-width: 30px;
  max-height: 30px;
  max-width: max-content;
  cursor: pointer;
  background-position: center;
  transform: unset;
  line-height: unset;
  left: 0;
  right: 0;
}

.cart-drawer .cart_recommendation .rebuy-widget .splide__arrows .rebuy-carousel__arrow.splide__arrow--prev:after {
  transform: rotate(180deg);
}

.cart-drawer .cart_recommendation .rebuy-widget .rebuy-product-title {
  color: #1B1F23;
  font-size: 12px;
  font-weight: 500;
  line-height: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cart-drawer .cart_recommendation .rebuy-widget .rebuy-product-grid .rebuy-product-block {
  padding: 20px;
}

.cart-drawer .cart_recommendation .rebuy-widget .rebuy-product-grid .rebuy-product-block::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(0, 0, 0, .1);
  top: 5px;
  bottom: 5px;
  left: 5px;
  right: 5px;
  border-radius: 10px;
  z-index: -1;
}

/* .cart-drawer .cart_recommendation .rebuy-widget .splide__list {
  margin: 0 -5px !important;
} */

.cart-drawer .cart_recommendation .rebuy-widget .powered-by-rebuy {
  display: none;
}

.cart-drawer .cart_recommendation .rebuy-widget .swatches {
  display: none;
}

.cart-drawer .cart_recommendation .rebuy-widget .rebuy-product-block .rebuy-product-actions {
  margin-top: 10px;
}

.cart-drawer .cart_recommendation .rebuy-widget .rebuy-button {
  display: flex;
  align-items: center;
  padding: 7px 7px;
  justify-content: center;
  gap: 3px;
  font-size: 12px;
  font-weight: 500;
}

.cart-drawer .cart_recommendation .rebuy-widget .rebuy-button span.dot {
  width: 3px;
  height: 3px;
  background: #fff;
  border-radius: 50%;
}

.cart-drawer .cart_recommendation .rebuy-widget .rebuy-button .rebuy-product-price {
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
}

.cart-drawer .cart_recommendation .rebuy-widget .rebuy-button .rebuy-product-price>div {
  display: flex;
  align-items: center;
  gap: 2px;
}

.cart-drawer .cart_recommendation .rebuy-widget .rebuy-button .rebuy-product-price .block_rebuy-money {
  color: #fff;
  font-size: 12px;
}

.cart-drawer .cart_recommendation .rebuy-widget .rebuy-button .rebuy-product-price .block_rebuy-money span {
  font-weight: 500;
  color: #fff;
  font-size: 12px;
  margin: 0;
  letter-spacing: 0;
}

.cart-drawer .cart_recommendation .rebuy-widget .rebuy-button .rebuy-product-price .divider {
  color: #fff;
  font-size: 12px;
}

.cart-drawer .cart_recommendation .rebuy-widget .rebuy-button .rebuy-product-price .block_rebuy-money.compare-at {
  opacity: 0.5;
  margin: 0;
}

.cart-drawer .block_shop-pay--install {
  text-align: center;
  margin-top: 15px;
}

.cart-drawer .block_shop-pay--install form {
  color: rgba(0, 0, 0, 0.7);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
}

.cart-drawer .rebuy-widget .rebuy-product-block .rebuy-product-options {
  margin-top: 10px;
}

.cart-drawer .rebuy-widget .rebuy-product-block .rebuy-product-options .rebuy-select {
  font-size: 12px;
  font-family: var(--font-body-family);
  background-position: calc(100% - 16px) calc(1.3em + 2px), calc(100% - 11px) calc(1.3em + 2px), calc(100% - 2.5em) 0.75em;
}

.cart-drawer .rebuy-widget .rebuy-product-block .rebuy-product-options .rebuy-select option {
  font-family: var(--font-body-family);
}

.cart-drawer .cart-item.freemood-item .quantity-popover-container {
  opacity: 0;
  visibility: hidden;
}

.cart-drawer .cart-item.rolled_on_bolt-item .quantity-popover-container {
  opacity: 0;
  visibility: hidden;
}

.block__main-product-wrapper .slider-buttons .slider-button.slider-button--next,
.block__main-product-wrapper .slider-buttons .slider-button.slider-button--prev {
  display: flex;
  justify-content: center;
  align-items: center;
}

.block__min-qty-purchase-error {
  color: #ff0000;
  margin: 5px 0 0;
}


@media (max-width: 1024px) {
  .drawer__inner {
    width: 50rem;
  }

  .cart-drawer .cart_recommendation .rebuy-widget .rebuy-product-grid .rebuy-product-block {
    padding: 15px;
  }
}

@media (max-width: 767px) {
  .drawer__inner {
    width: 42rem;
  }

  .drawer__header {
    padding: 1.8rem 1.5rem;
  }

  .drawer__heading {
    font-size: 16px;
  }

  .drawer__close {
    top: 9px;
  }

  .cart-drawer .block_drawer-header-progress .block_drawer-progress {
    width: calc(100% - 30px);
  }

  .cart-drawer .block_drawer-header-progress {
    padding: 1.5rem 1.5rem;
  }

  .cart-drawer .drawer-progress-messagebar {
    padding: 0 1.5rem 1rem;
  }

  .cart-drawer__form {
    padding: 0.5rem 1.5rem;
  }

  .cart-drawer .drawer-progress-messagebar .message-text {
    padding: 5px 5px;
  }

  .cart-drawer .drawer-progress-messagebar .message-text p {
    font-size: 11px;
    line-height: 21px;
  }

  .cart-drawer .block_drawer-progress .block_cart-drawer-freeshipping .freeshipping_text,
  .cart-drawer .block_drawer-progress .block_cart-drawer-giftproduct .freegift_text {
    font-size: 10px;
    line-height: 16px;
  }

  .cart-drawer .block_drawer-progress .block_cart-drawer-freeshipping .freeshipping_rate,
  .cart-drawer .block_drawer-progress .block_cart-drawer-giftproduct .freegift_rate {
    font-size: 12px;
    line-height: 16px;
  }

  .cart-drawer .block_drawer-progress .icon-marker {
    width: 20px;
    height: 20px;
    margin: 2px auto;
  }

  .cart-drawer .block_drawer-progress .icon-marker:after {
    width: 10px;
    height: 10px;
  }

  .cart-drawer .cart-items .swatch_sku svg {
    width: 64px;
    height: 24px;
  }

  .cart-drawer .item_price .cart-item__final-price {
    font-size: 14px;
    line-height: 16px;
  }

  .cart-drawer .item_price .cart-item__compare_at_price {
    line-height: 14px;
  }

  .cart-drawer .quantity {
    width: calc(10rem / var(--font-body-scale) + var(--inputs-border-width) * 2);
    min-height: calc((var(--inputs-border-width) * 2) + 3.2rem);
  }

  .cart-drawer .quantity .quantity__button {
    width: calc(3rem / var(--font-body-scale));
  }

  .cart-drawer .quantity .quantity__input {
    font-size: 1.2rem;
  }

  .cart-drawer .quantity .quantity__button .svg-wrapper {
    width: 1.1rem;
  }

  .cart-drawer .become-vip-mood-insider {
    padding: 1rem 1.5rem;
  }

  .cart-drawer .mood-reward-points-container {
    padding: 1rem 1.5rem 0;
  }

  .cart-drawer .become-vip-mood-insider .mood-insider-text {
    font-size: 12px;
    padding-left: 5px;
    line-height: 15px;
  }

  .cart-drawer .become-vip-mood-insider .mood-insider-bg {
    gap: 10px;
  }

  .cart-drawer .mood-reward-points-container .mood-points-box {
    padding: 10px 5px;
  }

  .cart-drawer .become-vip-mood-insider .block__insider-status-btn-wrap .quick-add__submit {
    padding: 5px 10px;
    min-height: 31px;
  }

  .drawer__footer {
    padding: 1.5rem 1.5rem;
  }

  .custom-upsell .upsell-container {
    gap: 5px;
    flex-wrap: wrap;
  }

  .custom-upsell .upsell-container .upsell-item {
    width: calc(50% - 4px);
  }

  .custom-upsell .upsell-item .custom_checkbox {
    margin-right: 4px;
    width: 16px;
    height: 16px;
  }

  .custom-upsell .upsell-item span.upsell_title {
    width: calc(100% - 20px);
  }

  .cart-drawer .cart__checkout-button {
    padding: 15px 10px;
    font-size: 14px;
  }

  .cart-drawer .quantity-popover-container .qty-label {
    font-size: 12px;
  }

  .cart-drawer .cart_recommendation {
    padding: 1rem 1.5rem;
  }

  .cart-drawer .cart_recommendation .rebuy-widget .rebuy-button {
    padding: 7px 5px;
    font-size: 10px;
  }

  .cart-drawer .cart_recommendation .rebuy-widget .rebuy-product-title {
    font-size: 10px;
  }

  .cart-drawer .cart_recommendation .rebuy-widget .rebuy-button .rebuy-product-price .block_rebuy-money span,
  .cart-drawer .cart_recommendation .rebuy-widget .rebuy-button .rebuy-product-price .block_rebuy-money,
  .cart-drawer .cart_recommendation .rebuy-widget .rebuy-button .rebuy-product-price .divider {
    color: #fff;
    font-size: 10px;
    line-height: 13px;
  }

  .cart-drawer .cart_recommendation .rebuy-widget .rebuy-product-grid .rebuy-product-block:after {
    top: 3px;
    bottom: 3px;
    left: 3px;
    right: 3px;
  }

  .cart-drawer .cart_recommendation .rebuy-widget .splide__list {
    margin: 0 -3px !important;
  }

  .cart-drawer .cart_recommendation .rebuy-widget .rebuy-product-grid .rebuy-product-block {
    padding: 10px;
  }

  .cart-drawer .cart-item {
    padding-bottom: 10px;
  }

  .cart-drawer .cart-items td {
    padding-top: 1.5rem;
  }

  .block__main-product-wrapper .slider-buttons .slider-button.slider-button--next,
  .block__main-product-wrapper .slider-buttons .slider-button.slider-button--prev {
    width: 24px;
    height: 36px;
  }


}

@media (max-width: 576px) {

  /* .cart-drawer{
     width: 100%;
  } */
  .drawer__inner {
    width: max-content;
    /* max-width: calc(100vw - 0rem); */
  }

  .cart-drawer .block_drawer-header-progress {
    padding: 1rem 1.5rem;
  }

  .cart-drawer .block_drawer-header-progress .block_drawer-progress {
    width: calc(100% - 20px);
  }

  .cart-drawer .block_drawer-progress .block_cart-drawer-freeshipping,
  .cart-drawer .block_drawer-progress .block_cart-drawer-giftproduct {
    padding: 0 12px;
  }

  .cart-drawer .cart-item__media {
    width: 8rem;
  }

  .cart-drawer .become-vip-mood-insider .block__product-btn-text {
    gap: 3px;
  }

  .cart-drawer .become-vip-mood-insider .block__insider-status-btn-wrap .quick-add__submit {
    padding: 5px 5px;
  }

  .cart-drawer .become-vip-mood-insider .mood-insider-text {
    padding-left: 0;
  }

  .cart-drawer .block_shop-pay--install form {
    font-size: 11px;
  }

  .cart-drawer .cart_recommendation .rebuy-widget .rebuy-product-grid .rebuy-product-block {
    padding: 8px;
  }

  .cart-drawer .cart_recommendation .rebuy-widget .rebuy-button {
    padding: 7px 3px;
  }

  .cart-drawer .cart_recommendation .rebuy-widget .rebuy-carousel__arrows .rebuy-carousel__arrow {
    height: 28px;
    width: 28px;
  }

  .cart-drawer .cart_recommendation .rebuy-widget .rebuy-carousel__arrows .rebuy-carousel__arrow svg {
    width: 10px;
    height: 10px;
  }

  .cart-drawer .cart_recommendation .rebuy-widget .splide__arrows .rebuy-carousel__arrow:after {
    min-width: 26px;
    max-height: 26px;
  }
}

@media (max-width: 400px) {
  .cart-drawer .cart_recommendation .rebuy-widget .rebuy-button {
    font-size: 9px;
  }

  .cart-drawer .cart_recommendation .rebuy-widget .rebuy-button .rebuy-product-price .block_rebuy-money span,
  .cart-drawer .cart_recommendation .rebuy-widget .rebuy-button .rebuy-product-price .block_rebuy-money,
  .cart-drawer .cart_recommendation .rebuy-widget .rebuy-button .rebuy-product-price .divider {
    font-size: 9px;
  }

  .cart-drawer .mood-reward-points-container .mood-points-value,
  .cart-drawer .mood-reward-points-container .mood-points-text {
    font-size: 11px;
  }
}

.cart-drawer-loading-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  right: 0;
  left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.75);
  pointer-events: none;
  width: 58rem;
  max-width: calc(100vw - 3rem);
  pointer-events: none;
}
/* Measura line-index safety: hard-block cart interaction while background cart
   mutations (free gift, shipping protection) are in flight. The loading overlay
   above is purely visual (pointer-events:none); this state actually prevents the
   customer from editing a Measura line whose cart.js index is mid-change.
   Toggled by mfLockCartDrawer / mfUnlockCartDrawer in global.js. */
cart-drawer.mf-cart-locked #CartDrawer,
cart-drawer.mf-cart-locked .drawer__inner {
  pointer-events: none;
}
cart-drawer.mf-cart-locked .cart-drawer-loading-overlay {
  pointer-events: auto;
}
.cart-drawer-loading-overlay .loading__spinner {
  position: static;
  width: 3.6rem;
  height: 3.6rem;
}

@media (max-width: 1024px) {
  .cart-drawer-loading-overlay {
    width: 50rem;
  }
}

@media (max-width: 767px) {
  .cart-drawer-loading-overlay {
    width: 42rem;
  }
}

@media (max-width: 576px) {
  .cart-drawer-loading-overlay {
    width: 100%;
  }
}
