.cart {
  position: fixed;
  bottom: 0;
  right: 0;
  top: 0;
  width: 400px;
  z-index: 999999999999;
  padding: 1em;
  max-width: 100vw;
  margin-right: -400px;
}

@media screen and (max-width: 768px) {
  .cart .cart-content {
    width: 100%;
    margin-right: -100vw;
  }
}

.cart-content .amount-till-discount, .cart-content #next-discount {
  font-weight: bold;
  color: black;
}

.cart-content .amount-till-discount {
  font-weight: bold;
  color: black;
}

.cart-content .discount-text {
  line-height: 1.3;
  font-family: proxima-nova;
  font-size: 1em;
  margin: 0.7em 0 1em;
}

.discount-txt {
  border-top: 1px solid #F3E3BF;
  border-bottom: 1px solid #F3E3BF;
}

.cart-content {
  color: black;
  height: 100%;
  z-index: 99999;
  width: 400px;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  background: white;
  transition: all 150ms ease-in-out;
  margin-right: -400px;
  max-width: 100vw;
}

.cart-content h2 {
  color: black;
  font-size: 22px;
  font-family: 'Vera Humana 95';
  padding: 0.3em 0;
  margin: 0.5em 0;
  font-weight: 400;
}

#loading-icon {
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.cart-content .cart-item {
  display: flex;
  align-items: center;
  gap: 1em;
  justify-content: space-between;
  transition: all 0.5s ease-in-out;
  margin: 0 -1em;
  padding: 1em;
}

.cart-content .cart-item .cart-item-content {
  display: flex;
  gap: 1em;
}

.cart-content .cart-item .delete-cart-item {
  background: none;
  padding: 0.5em;
  border: none;
}

.cart-content .cart-error {
  position: fixed;
  bottom: 2em;
  right: 2em;
  padding: 1em;
  background: red;
  z-index: 999999999999;
  border-radius: 5px;
  color: black;
  display: none;
}

.cart-content .cart-item .decrease-quantity, .cart-content .cart-item .increase-quantity {
  font-size: 1em;
  border-radius: 5px;
  padding: 0.4em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1/1;
  width: 1.5em;
  background: transparent;
  color: black;
  border: none;
  height: 33px;
}

.cart-content .cart-item .decrease-quantity:hover {
  background: black;
  color: white;
}

.cart-content .cart-item .decrease-quantity:hover svg {
  fill: white;
}

.cart-content .cart-item .increase-quantity:hover {
  background: black;
  color: white;
}

.cart .cart-item-discount {
  width: fit-content;
  background: #D70000;
  font-weight: 400;
  border-radius: 5px;
  line-height: 130%;
  font-family: proxima-nova;
  font-size: 12px;
  margin-top: 1.8em !important;
  color: white;
  padding: 4px 6px;
}

.cart .cart-item-price {
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: .6em;
  justify-content: end;
  font-family: proxima-nova;
  font-weight: 600;
  color: black;
}

.old-price {
  color: gray;
  text-decoration: line-through;
}

.cart-content .cart-item .item-quantity {
  font-size: 14px;
  background: none;
  color: black !important;
  padding: .2em;
  line-height: 1;
  width: 20px;
  height: 33px;
  text-align: center;
  border: none;
}

.cart .close-cart {
  background: none;
  color: white;
  width: 30px;
  aspect-ratio: 1/1;
  border: none;
  cursor: pointer;
}

.cart-background {
  background: rgba(0, 0, 0, .5);
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 100vw;
  right: 0;
  z-index: 9;
  display: none;
}

.cart input::-webkit-outer-spin-button,
.cart input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
.cart input[type=number] {
  -moz-appearance: textfield;
}

.cart-content .cart-item .delete-cart-item {
  cursor: pointer;
}

.cart-content .cart-item .delete-cart-item svg {
  height: 15px;
}

.cart-content .cart-item img {
  width: 70px;
  aspect-ratio: 1/1;
  border-radius: 5px;
}

.cart-content .cart-item h3 {
  font-size: 16px;
  color: black;
  margin: 0;
  font-weight: 400;
  font-family: proxima-nova;
  line-height: 1.5;
}

.cart-content .cart-item p {
  margin: 0;
}

.cart-content .cart-item .cart-item-actions {
  display: flex;
  align-items: center;
  justify-content: end;
  margin-top: 0.5em;
}

.cart-content .cart-item .cart-item-actions div {
  display: flex;
  align-items: center;
  border: 1px solid rgb(204, 204, 204);
  border-radius: 6px;
}

.flex {
  display: flex;
}

.justify-between {
  justify-content: space-between;
}

.items-center {
  align-items: center;
}

.text-center {
  text-align: center;
}

#proceed-shopping {
  display: block;
  width: 100%;
  padding: 1em;
  color: white;
  background: transparent;
  border: none;
  cursor: pointer;
}

#checkout {
  color: rgb(255, 255, 255);
  background-color: #D7AB37;
  border: 1px solid #E3C473;
  text-align: center;
  text-decoration: none;
  border-radius: 3px;
  padding: 0.5em;
  font-family: proxima-nova;
  font-weight: 500;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 1em;
  justify-content: center;
  margin: 1em 0;
}

.cart-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1em;
  z-index: 9999999;
  background: white;
  border-top: 1px solid rgba(225, 227, 229, 1);
}

.discount-text-success {
  display: none;
  margin: 0.7em 0 1em;
  font-size: 1em;
  line-height: 1.3;
  font-family: proxima-nova;
}

.discount-text-success b {
  color: rgb(255, 173, 43);
}

.cart-empty {
  display: none;
}

.cart-before-price {
  color: #5F5F5F;
  text-decoration: line-through;
}

.item-quantity:focus-visible {
  outline: none;
  box-shadow: none;
}

#submit-discount-code {
  background: #F8F2E6;
  transition: all 150ms ease-in-out;
  cursor: pointer;
}

#submit-discount-code:hover, #submit-discount-code.active {
  background: #D7AB37;
  color: white;
}

.cart-loading {
  position: absolute;
  z-index: 9999999;
  backdrop-filter: blur(1px);
  background: #ffffff12;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: none;
  justify-content: center;
  align-items: center;
}

.cart-loading svg {
  animation: rotation 2s infinite linear;
  width: 50px;
  fill: white;
}

@keyframes rotation {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(359deg);
  }
}

.gap-1 {
  gap: 0.5em;
}

.add-discount-code-content {
  display: flex;
}

.add-discount-code-content input::placeholder {
  color: grey;
}

.add-discount-code-content input:focus-visible {
  outline: none;
  box-shadow: none;
}

.add-discount-code-content input {
  flex: 1;
  height: 40px;
  padding: 8px 11px;
  border: 1px solid rgba(222, 222, 222, 1);
  border-radius: 5px;
  background: none;
  color: black;
  width: 160px;
  font-size: .8em;
}

.add-discount-code-content input.valid_coupon {
  font-weight: bold;
  color: rgb(0, 175, 7);
}

@media screen and (max-width: 767px) {
  .add-discount-code-content input {
    font-size: 14px;
  }
}

.add-discount-code-content button {
  padding: 8px 21px;
  white-space: nowrap;
  color: rgba(112, 112, 112, 1);
  font-weight: 400;
  font-size: 14px;
  background: rgba(245, 245, 245, 1);
  border: 1px solid rgba(222, 222, 222, 1);
  border-radius: 6px;
  cursor: pointer;
  height: 40px;
}

.cart .upsale-product {
  min-width: 19em;
  display: block;
  border: 1px solid black;
  padding: 0.5em 1em;
  border-radius: 2px;
}

.cart .upsale-product h3 {
  color: black;
  margin: 0;
  font-size: 12px;
  text-align: center;
  font-family: proxima-nova;
  font-weight: 400;
  line-height: 1.5;
}

.cart .upsale-product .upsale-product-text p {
  margin: 0;
}

.upsale-content {
  width: 100%;
}

.single-discount {
  display: flex;
  align-items: center;
  gap: 1em;
}

.single-discount svg {
  width: 20px;
  height: 20px;
}

.gap-2 {
  gap: 2em;
}

.cart-upsales {
  display: flex !important;
  align-items: center !important;
  overflow: scroll;
  gap: 1em;
  padding-bottom: 1em;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.cart-upsales::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.cart-upsales {
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
  scroll-behavior: smooth;
}

.cart-total {
  font-family: proxima-nova;
  font-size: 15px;
  font-weight: 600;
}

.cart-before-price {
  font-weight: 500;
  font-family: proxima-nova;
  font-size: 15px;
}

#cart-you-save {
  font-weight: 500;
  font-family: proxima-nova;
  font-size: 13px;
  color: black;
}

.cart-discounts {
  margin-top: 1em;
}

.cart #add-discount-code {
  margin-top: 1em;
  display: flex;
  gap: 1em;
  align-items: center;
  background: transparent;
  color: red;
  border: none;
  cursor: pointer;
}

.cart-inner-content::-webkit-scrollbar {
  display: none; /* Safari and Chrome */
}

.cart-inner-content {
  height: 100%;
  overflow-y: scroll;
  -ms-overflow-style: none; /* Internet Explorer 10+ */
  scrollbar-width: none; /* Firefox */
  overflow-x: hidden;
}

.remove-discount {
  cursor: pointer;
  background: #D7AB37;
  color: white;
  border: none;
  padding: 0.3em;
  aspect-ratio: 1/1;
  font-size: 1.2em;
  border-radius: 0 2px 2px 0;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.remove-discount:hover {
  background: #D70000 !important;
  color: white;
}

#total {
  font-size: 1.1em;
}

.cart-items {
  padding: 2em 1em 0;
}

.cart-items .cart-item[data-gift="true"] .decrease-quantity, .cart-items .cart-item[data-gift="true"] .increase-quantity, .cart-items .cart-item[data-gift="true"] .delete-cart-item {
  cursor: not-allowed;
}

.line-item-old-price {
  color: rgba(84, 84, 84, 1);
  text-decoration: line-through;
  font-weight: 500;
}

.item-quantity[disabled="disabled"] {
  cursor: pointer;
}

.cart-item-variant-name {
  font-size: .9em;
  font-weight: normal;
}

.cart-upsales .add-to-cart {
  background: transparent;
  color: #B0B0B0;
  padding: .5em 1em;
  border: 0.75px solid #B0B0B0;
  display: flex;
  gap: 0.2em;
  align-items: center;
  cursor: pointer;
  justify-content: center;
  font-size: .9em;
  width: 100%;
  transition: all 150ms ease-in-out;
  border-radius: 2px;
}

.cart-upsales .add-to-cart:hover {
  background: white;
  color: black;
  border: 0.75px solid white;
}

.free-product-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999999999;
}

.free-product-modal-content {
  background: black;
  border-radius: 10px;
  padding: 1em;
  color: white;
}

.free-product-list {
  max-height: 50vh;
  min-width: 20em;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1em;
  overflow-y: scroll;
  position: relative;
}

@media screen and (max-width: 768px) {
  .free-product-list {
    grid-template-columns: 1fr;
    gap: 1em;
  }
}

.free-product svg {
  width: 15px;
  height: 15px;
  fill: white;
}

.free-product-modal h2 {
  font-family: "Bree Serif";
  margin: 0 0 1em;
  color: inherit;
  font-size: 20px;
}

.free-product .product-price {
  color: white !important;
}

.free-product-modal h3 {
  font-family: "Bree Serif";
  color: inherit;
  font-size: 16px;
}

.free-product-modal-header p {
  color: inherit;
  font-family: proxima-nova;
}

.free-product-list .free-product {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-right: 2em;
}

.free-product-list .free-product h3 {
  margin: 0;
}

.select-free-product {
  background: none;
  border: 1px solid gray;
  border-radius: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.free-product-content {
  display: flex;
  align-items: center;
  gap: 1em;
}

.free-product button {
  aspect-ratio: 1/1;
  padding: 0.5em;
  cursor: pointer;
}

.fake-scrollbar {
  width: 7px;
  height: 100%;
  background: #888;
  position: absolute;
  right: 1px;
  top: 0;
  border-radius: 10px;
}


.slider-steps {
  display: flex;
  align-items: center;
  gap: 0.5em;
  padding: 0 1em;
  margin-bottom: 0.5em;
}

.slider-steps .single-step {
  background: rgb(250, 247, 240);
  padding: 8px 4px;
  border: 1px dashed rgb(243, 227, 191);
  border-radius: 6px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.slider-steps .single-step.active {
  border: 1px solid rgb(243, 227, 191)
}

.slider-steps .step-title {
  font-family: proxima-nova;
  color: rgba(36, 36, 36, 1);
  font-weight: 300;
  font-size: 12px;
  text-align: center;
}

.slider-steps .step-amount {
  font-family: proxima-nova;
  color: rgba(36, 36, 36, 1);
  font-weight: 600;
  font-size: 14px;
  text-align: center;
  margin: 0;
}

.cart-before-price {
  display: none;
}
