.block-commerce-cart-flyout {
  min-width: 40px;
}

.cart-offcanvas--right {
  width: 440px;
  max-width: 100%;
  transform: translate3d(440px, 0, 0);
  padding-top: 30px;
}
.cart-offcanvas--right.is-closed {
  visibility: visible;
}
.cart-offcanvas--right.is-loading::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.7);
  opacity: 0.5;
}

.cart-item-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 30px;
}
.cart-item-wrapper .cart-item {
  flex: 1 1 calc(100% - 24px);
}

.cart-item {
  display: flex;
  align-items: center;
  column-gap: 6px;
  position: relative;
  min-height: 64px;
}
@media (min-width: 743px) {
  .cart-item {
    min-height: 84px;
  }
}
.cart-item .cart-item-content {
  padding-left: 10px;
}
.cart-item:hover .cart-item-title {
  text-decoration: underline;
}
.cart-item.is-loading::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background-color: rgba(255, 255, 255, 0.4);
}

.cart-item--error img {
  border: 2px solid red;
}

.cart-item-remove {
  flex: 0 0 24px;
  width: 24px;
  padding-right: 4px;
}
.cart-item-remove .icon {
  font-size: 14px;
}

.cart-item--feedback {
  font-size: 11px;
  position: relative;
  display: flex;
  align-items: center;
  flex: 0 0 100%;
  width: 100%;
  margin-top: 2px;
  padding-left: 42px;
  color: #ed152b;
}
@media (min-width: 1026px) {
  .cart-item--feedback {
    font-size: 12px;
  }
}
@media (min-width: 743px) {
  .cart-item--feedback {
    margin-top: 8px;
  }
}
.cart-item--feedback::before {
  content: "";
  width: 10px;
  height: 10px;
  background: url(/themes/custom/dcom_theme/images/close-circle-danger.svg) center no-repeat;
  background-size: 10px 10px;
  margin-right: 4px;
  position: absolute;
  top: 3px;
  left: 26px;
}

.cart-item-first {
  min-width: 64px;
  max-width: 64px;
}
@media (min-width: 743px) {
  .cart-item-first {
    min-width: 85px;
    max-width: 85px;
  }
}
.cart-item-first a {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  display: block;
}
.cart-item-first img {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 64px;
}
@media (min-width: 743px) {
  .cart-item-first img {
    width: 85px;
  }
}

.cart-item-first .badge,
.bundle-item__image .badge {
  background: rgba(27, 28, 31, 0.4);
  border: 2px solid #fff;
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  color: #fff;
  border-radius: 25px;
  min-width: 25px;
  height: 25px;
  padding: 0 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 500;
  position: absolute;
  top: calc(50% - 30px);
  transform: translateY(-50%);
  left: 50px;
  z-index: 1;
}
@media (min-width: 743px) {
  .cart-item-first .badge,
.bundle-item__image .badge {
    top: calc(50% - 40px);
    left: 70px;
  }
}

.cart--cart-offcanvas .bundle-item__image .badge {
  left: 45px;
}
.cart--cart-offcanvas .cart-item-first .badge {
  left: 48px;
}
@media (min-width: 743px) {
  .cart--cart-offcanvas .cart-item-first .badge {
    left: 62px;
  }
}

.cart-item-last,
.order-item-promotion {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
}

.order-item-promotion {
  font-weight: 400;
}
.order-item-promotion .promotion-percentage {
  font-weight: 500;
}

.cart-item-title {
  font-size: 13px;
  color: #1b1c1f;
  font-weight: 400;
  margin-bottom: 4px;
}
@media (min-width: 1026px) {
  .cart-item-title {
    font-size: 15px;
  }
}
.cart-item-title a {
  color: inherit;
  text-decoration: none;
}

.cart-item-last,
.bundle-item__price {
  margin-left: auto;
  font-weight: 500;
  font-size: 13px;
}
@media (min-width: 1026px) {
  .cart-item-last,
.bundle-item__price {
    font-size: 15px;
  }
}
.cart-item-last .calculate-price,
.bundle-item__price .calculate-price {
  color: #1b1c1f;
  font-weight: 500;
}
.cart-item-last .order-item-promotion,
.bundle-item__price .order-item-promotion {
  font-size: 11px;
  color: #7d808b;
}
.cart-item-last .order-item-promotion > div,
.bundle-item__price .order-item-promotion > div {
  display: flex;
  align-items: center;
  column-gap: 5px;
  margin-top: 4px;
}
.cart-item-last .order-item-promotion .saved-price,
.bundle-item__price .order-item-promotion .saved-price {
  color: #7d808b;
}
.cart-item-last .order-item-promotion .promotion-percentage,
.bundle-item__price .order-item-promotion .promotion-percentage {
  background: #f0d0d0;
  color: #ed152b;
  padding: 0 4px;
  border-radius: 4px;
  font-weight: 500;
  white-space: nowrap;
}

.cart-block--offcanvas-cart-table .cart-item {
  column-gap: 0;
  padding-bottom: 25px;
}
.cart-block--offcanvas-cart-table .cart-item-delivery-schedule {
  font-size: 12px;
  margin-top: -8px;
  margin-bottom: 8px;
}
.cart-block--offcanvas-cart-table .cart-item-bundle {
  margin-top: 0;
  margin-bottom: 30px;
}

.cart--cart-offcanvas {
  padding: 0 20px 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
@media (min-width: 743px) {
  .cart--cart-offcanvas {
    padding: 0 30px 30px;
  }
}

.cart-block--offcanvas-contents__items,
.cart-block--offcanvas-contents {
  flex: 1 1 auto;
}

.cart-block--offcanvas-contents__items .media-promotion-banner {
  height: auto;
}
.cart-block--offcanvas-contents__items .checkout-pane-coupon-redemption {
  margin-left: 0 !important;
  margin-right: 0 !important;
  border-color: #fff;
  border-bottom: 0;
}
.cart-block--offcanvas-contents__items .ajax-loader {
  z-index: 10;
}

.cart-block--offcanvas-contents__inner {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.cart-block--offcanvas-cart-table-outer {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.cart-block--offcanvas-cart-table-outer > .views-element-container {
  margin-top: auto;
}

.cart-item-first__flyout {
  min-width: auto;
  max-width: none;
  position: relative;
  padding-left: 20px;
}
.cart-item-first__flyout .cart-item-image {
  position: relative;
  width: 80px;
  height: 80px;
}
@media (max-width: 742.98px) {
  .cart-item-first__flyout .cart-item-image {
    width: 64px;
    height: 64px;
  }
}
.cart-item-first__flyout .cart-item-image img {
  max-width: none;
  object-fit: contain;
}
.cart-item-first__flyout .button {
  top: 50%;
  margin-top: -10px;
  position: absolute;
  left: 0;
  padding: 0;
  font-size: 12px;
}

.cart-item-content__flyout {
  flex: 1 1 auto;
  padding-left: 10px;
  padding-right: 7px;
}
@media (max-width: 742.98px) {
  .cart-item-content__flyout {
    display: flex;
    flex-direction: column;
  }
  .cart-item-content__flyout .cart-item-last {
    order: 1;
    margin-left: 0;
  }
}
.cart-item-content__flyout .cart-item-title {
  font-size: 13px;
  margin-bottom: 10px;
}
@media (min-width: 1026px) {
  .cart-item-content__flyout .cart-item-title {
    font-size: 15px;
  }
}

.cart-item-last__flyout {
  padding-left: 0;
}
@media (min-width: 743px) {
  .cart-item-last__flyout > * {
    width: 100px;
    text-align: right;
  }
}
.cart-item-last__flyout .calculate-price {
  font-size: 13px;
  font-weight: 500;
}
@media (min-width: 1026px) {
  .cart-item-last__flyout .calculate-price {
    font-size: 15px;
  }
}
.cart-item-last__flyout .order-item-promotion {
  font-weight: 400;
}
@media (max-width: 742.98px) {
  .cart-item-last__flyout .order-item-promotion {
    margin-bottom: 10px;
  }
  .cart-item-last__flyout .order-item-promotion > div {
    margin-top: 0;
    margin-left: 5px;
  }
}

.cart-block__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
  position: sticky;
  left: 0;
  top: 0;
  background: white;
  z-index: 20;
}
.cart-block__header h3 {
  font-size: 1.25rem;
  margin-bottom: 0;
}
@media (min-width: 1026px) {
  .cart-block__header h3 {
    font-size: 1.75rem;
  }
}

.cart-block__close {
  -webkit-appearance: none;
  appearance: none;
  padding: 0;
}

.cart-block--offcanvas-cart-table__quantity {
  display: flex;
  height: 40px;
  width: 120px;
  border: 1px solid #e5e6e8;
  border-radius: 4px;
  padding-top: 8px;
  padding-bottom: 8px;
  text-align: center;
  align-items: center;
}
.cart-block--offcanvas-cart-table__quantity input[type=number] {
  font-size: 0.9375rem;
  color: #1b1c1f;
  width: 40px;
  border: 0;
  text-align: center;
  -webkit-appearance: none;
  appearance: none;
  outline: none;
  -moz-appearance: textfield;
  background: #fff;
  padding: 2px 0 0;
}
@media (min-width: 1026px) {
  .cart-block--offcanvas-cart-table__quantity input[type=number] {
    font-size: 0.9375rem;
  }
}
.cart-block--offcanvas-cart-table__quantity input::-webkit-outer-spin-button,
.cart-block--offcanvas-cart-table__quantity input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.cart-block--offcanvas-cart-table__quantity .quantity-button {
  cursor: pointer;
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 742.98px) {
  .cart-block--offcanvas-cart-table__quantity .quantity-button i {
    font-size: 14px;
  }
}
.cart-block--offcanvas-cart-table__quantity .quantity-button.quantity-down {
  order: -1;
}

.header-cart-wrapper {
  position: relative;
}
.header-cart-wrapper .field-link a {
  font-size: 0;
  color: transparent;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}
.header-cart-wrapper .field-media-image img {
  width: 100%;
}

.cart-block__total {
  padding-top: 20px;
}

.cart-block__total-line {
  font-size: 13px;
  font-weight: 400;
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}
@media (min-width: 1026px) {
  .cart-block__total-line {
    font-size: 15px;
  }
}

.cart-block__total-line--subtotal {
  color: #1b1c1f;
  font-weight: 400;
}

.cart-block__total-line--discount {
  color: #ed152b;
  font-weight: 400;
}
.cart-block__total-line--discount .cart-block__total-label {
  display: flex;
  align-items: center;
}

.cart-block__total-line--total {
  font-size: 14px;
  font-weight: 500;
  padding-top: 8px;
  border-top: 1px solid #e5e6e8;
}
@media (min-width: 1026px) {
  .cart-block__total-line--total {
    font-size: 17px;
  }
}

.cart-block--offcanvas-contents__links {
  margin-top: 30px;
  text-align: center;
}
.cart-block--offcanvas-contents__links a {
  min-width: 214px;
}
@media (max-width: 742.98px) {
  .cart-block--offcanvas-contents__links a {
    width: 100%;
  }
}

.dcom-cart-free-shipping-message {
  font-size: 12px;
  margin-bottom: 20px;
  padding: 10px;
  border-radius: 4px;
  background: linear-gradient(89deg, #eaf7e2 0.78%, #d1eebf 64.75%, #eaf7e2 100.74%);
  font-weight: 500;
  color: #1b1c1f;
}
@media (min-width: 1026px) {
  .dcom-cart-free-shipping-message {
    font-size: 0.8125rem;
  }
}
.dcom-cart-free-shipping-message em {
  color: #ed152b;
  font-style: normal;
}

.cart-block__empty-content {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.cart-block__empty-title {
  font-size: 1.0625rem;
  max-width: 212px;
  margin: 0 auto 38px;
  font-weight: 500;
  color: #7d808b;
  text-align: center;
}
@media (min-width: 1026px) {
  .cart-block__empty-title {
    font-size: 1.3125rem;
  }
}

.cart-block__rewards-points,
.order-reward-points {
  font-size: 11px;
  color: #7d808b;
  letter-spacing: 0.5px;
  text-align: right;
}
@media (min-width: 1026px) {
  .cart-block__rewards-points,
.order-reward-points {
    font-size: 12px;
  }
}
.cart-block__rewards-points a,
.cart-block__rewards-points span,
.order-reward-points a,
.order-reward-points span {
  font-weight: 500;
  letter-spacing: 0;
}
.cart-block__rewards-points a,
.order-reward-points a {
  display: inline-block;
  margin-top: 6px;
  font-size: 10px;
}
@media (min-width: 1026px) {
  .cart-block__rewards-points a,
.order-reward-points a {
    font-size: 11px;
  }
}

.cart-block__middle-content {
  margin-top: auto;
}

.cart-offcanvas-bg {
  z-index: 105;
}

.cart-item-bundle {
  margin-top: 15px;
  margin-bottom: 15px;
  width: 100%;
}

.bundle-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 21px;
}
@media (min-width: 743px) {
  .bundle-item {
    padding-left: 36px;
  }
}
.bundle-item + .bundle-item {
  margin-top: 15px;
}

.bundle-item__variation {
  position: relative;
}
.bundle-item__variation .variation {
  display: flex;
  align-items: center;
}

.bundle-item__quantity {
  position: absolute;
  top: 0;
  left: 42px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(27, 28, 31, 0.4);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  border-radius: 20px;
  min-width: 20px;
  height: 20px;
  padding: 0 3px;
}

.bundle-item__image {
  width: 54px;
  flex-shrink: 0;
  position: relative;
}
.bundle-item__image span.badge {
  top: 0;
  left: 45px;
}

.bundle-item__price .calculate-price {
  text-align: right;
}

.bundle-item__title {
  font-size: 12px;
  padding-right: 10px;
  padding-left: 20px;
}
@media (min-width: 1026px) {
  .bundle-item__title {
    font-size: 13px;
  }
}
.bundle-item__title a {
  color: #000;
  text-decoration: none;
}
.bundle-item__title a:hover {
  color: #000;
  text-decoration: underline;
}

@media (min-width: 743px) {
  .cart-form .bundle-item {
    padding-left: 38px;
  }
}

.commerce-checkout-flow.checkout-step-customer-information .bundle-item {
  padding-left: 31px;
}
@media (min-width: 743px) {
  .commerce-checkout-flow.checkout-step-customer-information .bundle-item {
    padding-left: 51px;
  }
}
.commerce-checkout-flow:not(.checkout-step-customer-information) .bundle-item {
  padding-left: 7px;
}
@media (min-width: 743px) {
  .commerce-checkout-flow:not(.checkout-step-customer-information) .bundle-item {
    padding-left: 28px;
  }
}