.single-page-upper {
  display: none;
}
.single-page-container {
  max-width: unset;
  margin: unset;
  width: unset;
  padding: unset;
  position: unset;
  transition: none;
}
/* Empty cart content */
.cart-wrapper {
  padding: 125px 0 120px;
  color: var(--black1);
  transition: padding 0.4s ease;
}
.empty-cart-wrapper {
  padding: 125px 0 0px;
  height: 80vh;
  color: var(--black1);
  transition: padding 0.4s ease;
}
.empty-cart-wrapper .page-title,
.cart-wrapper .page-title {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
}
.empty-cart-wrapper .page-title svg,
.cart-wrapper .page-title svg {
  width: 26px;
  height: 26px;
}
/* Progress bar */
.empty-cart-wrapper .cart-progress-bar,
.cart-wrapper .cart-progress-bar {
  border-radius: 4px;
  background: var(--brand1);
  padding: 16px;
  width: 100%;
  margin-top: 40px;
  margin-bottom: 24px;
  max-width: 910px;
  transition: margin-top 0.4s ease;
}
.empty-cart-wrapper .free-shipping-progressbar,
.cart-wrapper .free-shipping-progressbar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  transition: gap 0.4s ease;
}
.empty-cart-wrapper .free-shipping-progressbar a,
.cart-wrapper .free-shipping-progressbar a {
  margin-left: auto;
  border-bottom: 1px solid var(--black1);
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  transition: border-color 0.4s ease;
}
.empty-cart-wrapper .free-shipping-progressbar a:hover,
.cart-wrapper .free-shipping-progressbar a:hover {
  border-color: var(--black1);
}
.empty-cart-wrapper .free-shipping-progressbar .progress-bar-bg,
.cart-wrapper .free-shipping-progressbar .progress-bar-bg {
  height: 6px;
  grid-column: span 2;
}
.empty-cart-wrapper .free-shipping-progressbar .progress-bar-fill,
.cart-wrapper .free-shipping-progressbar .progress-bar-fill {
  height: 6px;
}

.cart-wrapper .free-shipping-progressbar:not(:has(.button3)) .progress-text {
  grid-column: 1 / -1;
  text-align: center;
}
.cart-wrapper
  .free-shipping-progressbar:not(:has(.button3))
  .progress-text
  .body2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

button[name="update_cart"] {
  display: none !important;
}

/* Form */
.my-cart-form {
  display: grid;
  grid-template-columns: 2.1fr 1fr;
  gap: 50px;
  width: 100%;
  transition: gap 0.4s ease;
}
/* form left side */
.cart-items {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.single-cart-item {
  display: flex;
  gap: 24px;
  padding-bottom: 24px;
  position: relative;
}
.single-cart-item:not(:last-of-type) {
  border-bottom: 1px solid var(--brand1);
}
.single-cart-item .product-remove {
  margin-left: auto;
}
.single-cart-item .product-remove a {
  display: flex;
  align-items: center;
  gap: 8px;
  height: -webkit-max-content;
  height: -moz-max-content;
  height: max-content;
}
.single-cart-item .product-remove img {
  height: 16px;
  width: 16px;
  min-width: 16px;
  min-height: 16px;
}
.single-cart-item .product-remove a {
  color: var(--grey1);
}
.single-cart-item .product-remove a .remove-text {
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s ease;
}
.single-cart-item .product-remove a:hover .remove-text {
  border-color: 1px solid var(--grey1);
}
.single-item-inner-content {
  display: flex;
  gap: 10px;
}
.single-item-inner-content .product-thumbnail {
  height: 150px;
  width: 150px;
  border-radius: 4px;
  overflow: hidden;
  transition: height 0.4s ease, width 0.4s ease;
}
.single-item-inner-content .product-thumbnail a {
  display: block;
  height: 100%;
  width: 100%;
}
.single-item-inner-content .product-thumbnail a img {
  height: 100%;
  width: 100%;
}
.product-qty-count {
  display: flex;
  gap: 4px;
  color: var(--grey1);
  margin-bottom: 16px;
  transition: margin-bottom 0.4s ease;
}
.single-item-info .product-name {
  margin-bottom: 8px;
  transition: margin-bottom 0.4s ease;
}
.single-item-info .product-name .variation-data {
  color: var(--grey1);
  display: flex;
  flex-wrap: wrap;
  -moz-column-gap: 16px;
  column-gap: 16px;
  row-gap: 4px;
}
.single-item-info .product-name .variation-data > div {
  display: flex;
  gap: 4px;
  margin-top: 4px;
}

.single-item-info .product-price {
  margin-bottom: 18px;
  transition: margin-bottom 0.4s ease;
  display: flex;
  gap: 10px;
  align-items: center;
}

.product-price > div {
  display: flex;
  gap: 10px;
}

.product-price .line-trough {
  color: var(--grey1);
  text-decoration: line-through;
}

.product-price .saved-label {
  padding: 2px 6px;
  background-color: var(--brand1);
  color: var(--black1);
  border-radius: 4px;
}

/* +- input */
.product-quantity {
  display: flex;
  border: 1px solid var(--black1);
  height: 45px;
  border-radius: 4px;
  overflow: hidden;
  color: var(--black1);
  min-width: 95px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  transition: height 0.4s ease;
}
.product-quantity .minus,
.product-quantity .plus {
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  flex: 0 0 28px;
  cursor: pointer;
  color: var(--black1);
}
.product-quantity .minus {
  padding: 15px 0 15px 14px;
}
.product-quantity .plus {
  padding: 12px 14px 12px 0;
}
.product-quantity .quantity input::-webkit-outer-spin-button,
.product-quantity .quantity input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.product-quantity .quantity {
  display: flex;
}
.product-quantity .quantity input {
  width: 40px;
  box-sizing: border-box;
  height: 45px;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  border: none;
  transition: height 0.4s ease;
}
.product-quantity .quantity input:focus {
  outline: none;
}
/* form right side */
.before-checkout-side {
  margin-top: 40px;
  height: -webkit-max-content;
  height: -moz-max-content;
  height: max-content;
  border-radius: 8px;
  background: var(--brand2);
  border: 1px solid var(--brand1);
  padding: 24px;
  transition: margin-top 0.4s ease;
}

.before-checkout-side table {
  width: 100%;
}
.before-checkout-side table tbody {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.before-checkout-side table tbody tr {
  display: flex;
  justify-content: space-between;
  padding: 0;
}
.before-checkout-side table tbody tr .delivery-label {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.before-checkout-side table tbody tr .delivery-note {
  color: var(--grey1);
}
.before-checkout-side .order-saved {
  background: var(--green2);
  padding: 8px 12px;
  border-radius: 4px;
}
.before-checkout-side .order-saved .body2 {
  display: flex;
  align-items: center;
  gap: 8px;
}
.before-checkout-side .cart-discount .coupon-discount {
  color: var(--green1);
}
/* buttons */
.before-checkout-side .checkout-controller {
  border-top: 1px solid var(--brand1);
  border-bottom: 1px solid var(--brand1);
  padding: 24px 0;
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: padding 0.4s ease, margin 0.4s ease;
}
.before-checkout-side .checkout-controller .black-btn {
  width: 100%;
}
.before-checkout-side .checkout-controller .body4 {
  display: flex;
  color: var(--grey2);
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.before-checkout-side .checkout-controller .body4 svg {
  height: 18px;
  width: 18px;
}
.before-checkout-side .show-coupon-form {
  background: none;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: none;
  color: var(--black1);
}
.before-checkout-side .show-coupon-form:hover {
  cursor: pointer;
}
.before-checkout-side .show-coupon-form svg {
  height: 20px;
  width: 20px;
  transform: rotate(0deg);
  transition: transform 0.4s ease;
}
.before-checkout-side .show-coupon-form.active svg {
  transform: rotate(180deg);
}
.cart-coupon-wrapper .coupon {
  opacity: 0;
  visibility: hidden;
  max-height: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  min-width: 280px;
  gap: 10px;

  transition: max-height 0.4s ease, margin-top 0.4s ease;
}
.cart-coupon-wrapper .coupon.active {
  opacity: 1;
  visibility: visible;
  max-height: 100px;
  margin-top: 16px;
}
.cart-coupon-wrapper .coupon.active .coupon-error-notice {
  /* display: none; */
  color: var(--red1);
  flex: 1 1 100%;
}
.cart-coupon-wrapper .coupon input {
  padding: 0 16px;
  height: 45px;
  border: 1px solid var(--border1);
  border-radius: 4px;
  min-width: 0;
  flex: 1 1 150px;
  transition: border-color 0.4s ease;
}
.cart-coupon-wrapper .coupon input:hover {
  border-color: var(--black1);
}
.cart-coupon-wrapper .coupon input:focus {
  outline: none;
  border-color: var(--black1);
}
.before-checkout-side .cart-discount .discount-info {
  display: flex;
  align-items: center;
  gap: 4px;
}
.before-checkout-side .cart-discount .discount-info a {
  color: var(--grey2);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s ease;
}
.before-checkout-side .cart-discount .discount-info a:hover {
  border-color: 1px solid var(--grey2);
}
.before-checkout-side .cart-discount .discount-info a svg {
  height: 16px;
  width: 16px;
}
/* Related products */
.customers-also-bought .h3 {
  margin-bottom: 24px;
}
.customers-also-bought ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 330px));
  gap: 24px;
  transition: gap 0.4s ease;
}

.customers-also-bought a .price {
  display: flex;
  flex-direction: row-reverse;
  gap: 10px;
  margin-right: auto;
}
.customers-also-bought a .price ins {
  text-decoration: none;
}
.customers-also-bought a .price del {
  color: var(--grey1);
}
/* Sticky bottom */
.cart-sticky-footer {
  display: none;
}

.cart-delivery .free-delivery {
  color: var(--green1);
}

.order-summary-wrapper {

  border-bottom: 1px solid var(--brand1);
  padding-bottom: 24px;
  margin-bottom: 24px;
  transition: padding-bottom 0.4s ease, margin-bottom 0.4s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;

  > span {
    background-color: var(--brand1);
    border-radius: 4px;
    padding: 2px 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    display: none;
  }
}

.before-checkout-side .cart-subtotal {

  gap: 20px;

  .old-price {
    color: var(--grey1);
    text-decoration: line-through;
  }

  .prices-wrapper {
    display: flex;
    gap: 8px;
    justify-content: end;
    flex-wrap: wrap;
  }

  .saved-amount {
    background-color: var(--brand1);
    padding: 2px 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
  }
}

/* Responsive */
@media (max-width: 1150px) {
  .empty-cart-wrapper .free-shipping-progressbar,
  .cart-wrapper .free-shipping-progressbar {
    text-align: center;
    gap: 12px;
  }
  .empty-cart-wrapper .free-shipping-progressbar .progress-text,
  .cart-wrapper .free-shipping-progressbar .progress-text {
    grid-column: span 2;
    order: 1px;
  }
  .empty-cart-wrapper .free-shipping-progressbar .progress-bar-bg,
  .cart-wrapper .free-shipping-progressbar .progress-bar-bg {
    order: 2;
  }
  .empty-cart-wrapper .free-shipping-progressbar a,
  .cart-wrapper .free-shipping-progressbar a {
    order: 3;
    grid-column: span 2;
    margin-left: unset;
    margin: auto;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
  }
}
@media (max-width: 1050px) {
  /* remove button */
  .single-cart-item .product-remove a .remove-text {
    display: none;
  }
  .single-cart-item .product-remove img {
    height: 20px;
    width: 20px;
    min-width: 20px;
    min-height: 20px;
  }

  .single-item-info .product-price {
    flex-wrap: wrap;
  }
}
@media (max-width: 768px) {
  /* Empty cart content */
  .cart-wrapper {
    padding: 125px 0 50px;
  }
  .empty-cart-wrapper {
    padding: 125px 0 0px;
    height: 95vh;
  }
  .empty-cart-wrapper .cart-progress-bar,
  .cart-wrapper .cart-progress-bar {
    margin-top: 32px;
    margin-left: -16px;
    margin-right: -16px;
    border-radius: unset;
    width: 100vw;
  }

  /* item card */
  .single-item-inner-content .product-thumbnail {
    height: 100px;
    width: 100px;
    min-width: 100px;
  }
  .product-qty-count {
    margin-bottom: 10px;
  }
  .single-item-info .product-name {
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .single-item-info .product-price {
    margin-bottom: 10px;
  }
  /* +- input */
  .product-quantity {
    height: 40px;
  }
  .product-quantity .quantity input {
    height: 40px;
  }
  .single-cart-item .product-remove {
    margin-left: auto;
    position: absolute;
    bottom: 34px;
    right: 0;
  }
  /* Form */
  .my-cart-form {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .before-checkout-side {
    margin-top: 0;
    padding: 16px;
  }

  .order-summary-wrapper {
    padding-bottom: 16px;
    margin-bottom: 0px;
    border-bottom: none;

    > span {
      display: block;
    }
  }

  .before-checkout-side .checkout-controller {
    padding: 16px 0;
    margin: 16px 0;
  }
  /* Sticky bottom */
  .cart-sticky-footer {
    display: flex;
    border-top: 1px solid var(--brand1);
    background: var(--white1);
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .cart-sticky-footer .black-btn {
    width: 100%;
  }
  .cart-sticky-inner {
    width: 100%;
    padding: 16px 16px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .cart-sticky-inner .cart-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .cart-sticky-footer.hidden {
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
  }
  /* Related products */
  .customers-also-bought ul {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 24px;
    -moz-column-gap: 12px;
    column-gap: 12px;
  }

  .before-checkout-side .cart-subtotal {

    .saved-amount {
      display: none;
    }
  }
}

@media (max-width: 400px) {

  .single-item-info .product-price {
    flex-direction: column;
    align-items: start;
  }
}