.checkout-wrapper {
  display: flex;
  flex-wrap: wrap;
}

.checkout-form {
  flex: 0 0 auto;
  width: 56%;
  /* border-right: 1px solid rgb(var(--color-border)); */
}

.checkout-wrapper .checkout-total {
  flex: 1;
}

.checkout-form .custom-form {
  --form-gap: 14px;
}

.checkout-form .custom-form .form-row {
  gap: calc(var(--form-gap));
}

.checkout-wrapper .product-form__submit {
  --buttons-radius: 5px;
  margin-top: 30px;
}

.checkout-wrapper .product-form__submit.continue-red-btn {
  --buttons-radius: 40px;
  margin-top: 30px;
}

/* .checkout-wrapper :is(.checkout-form, .checkout-total) {
  padding: 38px;
} */

.checkout-pdct-items > * {
  margin-bottom: 21px;
  gap: 8px;
}

.total-table {
  font-size: 14px;
  color: rgb(var(--color-foreground));
}

.total-table-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0 11px;
}

.total-table-row:not(:last-child) {
  margin-bottom: 11px;
}

.total-table-discount {
  width: 100%;
  margin-top: 7px;
}

.total-table-discount .total-table-head {
  color: var(---text-color-2);
}

.total-table-all-total {
  font-size: 21px;
  font-weight: 600;
}

.total-table-all-total sub {
  font-size: 12px;
  margin-right: 7px;
  color: var(---text-color-2);
  font-weight: 400;
  position: relative;
  bottom: -1px;
}

.total-table-saving {
  justify-content: unset;
  font-weight: 600;
  padding-top: 5px;
}

.total-table-head {
  display: flex;
  align-items: center;
  gap: 9px;
}

.total-table-head img {
  width: 17px;
  height: 20px;
}

.reseved-content {
  margin-top: 50px;
  border-top: 1px solid #dfdfdf;
  padding-top: 15px;
  color: var(---text-color-2);
  font-size: 12px;
}

.total-table-saving .total-table-price {
  margin-top: 1px;
}

/* .dark .total-table-discount .total-table-head>img {
    filter: invert(1) brightness(100) contrast(10) saturate(20);
} */

.dark .total-table-saving .total-table-price > img {
  filter: invert(1) brightness(100) contrast(10) saturate(20);
}

.dark .total-table-discount .total-table-head {
  color: #fff;
}

.total-table-saving .total-table-price {
  display: flex;
  align-items: center;
  gap: 5px;
}

.dark .input-with-btn .btn:hover .btn-text {
  color: #000;
}

.small-container {
  max-width: 1180px;
  margin: 0 auto;
}

/*********** product port  ********/
.product-port .product-discription {
  flex: 1 1;
}

.product-port {
  width: 100%;
}

.product-port {
  display: flex;
  align-items: center;
  gap: 15px;
}

.product-port .imagePort {
  aspect-ratio: 1/1;
  width: 53px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(var(--color-base-text) / 0.1);
  flex: 0 0 auto;
}

.product-port .imagePort img {
  position: absolute;
  width: auto;
  height: auto;
  max-width: calc(100% - 3px);
  max-height: calc(100% - 3px);
}

.product-port-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-port-wrapper .price {
  font-size: 14px;
  color: rgb(var(--color-foreground));
  flex: 0 0 auto;
}

.product-discription > * {
  display: flex;
}

.product-discription .varient {
  color: var(---text-color-2);
  font-size: 12px;
  margin-top: 1px;
}

.product-discription .name {
  font-size: 14px;
}

span.ingrd-quantity {
  position: relative;
  background-color: #828282;
  border-radius: 50%;
  color: #fff;
  font-size: 10px;
  aspect-ratio: 1 / 1;
  width: var(---widthQa);
  justify-content: center;
  align-items: center;
  display: flex;
  top: calc(var(---widthQa) / 9 * 1);
  right: calc(var(---widthQa) / 5 * -1);
  ---widthQa: 17px;
}

.product-port .imagePort .quantity {
  position: absolute;
  background-color: #828282;
  border-radius: 50%;
  color: #fff;
  font-size: 12px;
  aspect-ratio: 1/1;
  width: var(---widthQa);
  justify-content: center;
  align-items: center;
  display: flex;
  top: calc(var(---widthQa) / 2 * -1);
  right: calc(var(---widthQa) / 2 * -1);
  ---widthQa: 22px;
}

.head-link a {
  font-size: 13px;
  font-weight: initial;
}

.head-link a:not(:hover) {
  text-decoration: underline;
}

.head-link {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.sub-product:not(:last-child) {
  margin-bottom: 2px;
}

.sub-product .sub-price {
  margin-left: auto;
}

.sub-product {
  position: relative;
  flex-wrap: wrap;
}

.product-port .imagePort {
  width: 64px;
  align-self: flex-start;
}

.custom-page {
  padding-bottom: 100px;
  background-color: rgba(var(--color-background));
  padding-top: 40px;
  z-index: 3;
  border-end-end-radius: 0 !important;
  border-end-start-radius: 0 !important;
}

.checkout-total > div.sticky_cart_total {
  position: sticky;
  top: 116px;
  width: 100%;
}

.product-por-head {
  margin-bottom: 8px;
}

.product-discription > * {
  display: flex;
  justify-content: space-between;
}

.btn {
  font-size: 16px;
  padding: 18px 50px !important;
  transition: 0.3s;
}

.checkout-form .form-row.form-three + .form-wrapper.terms-field {
  margin-top: 32px;
}

.checkout-form .form-wrapper.terms-field label {
  color: #171717;
}
.info-text {
  color: #959595;
  margin: 40px 0 10px;
  line-height: 1.5;
  font-weight: 800;
}
/*********** product end  ********/

@media (max-width: 1500px) {
  .info-text {
    margin: 36px 0 8px;
  }
}

@media (max-width: 1200px) {
  .custom-page {
    padding-bottom: 56px;
  }
}

@media (max-width: 1024px) {
  .checkout-form .form-row.form-three + .form-wrapper.terms-field {
    margin-top: 22px;
  }
}

@media (max-width: 991px) {
  .checkout-wrapper :is(.checkout-form, .checkout-total) {
    width: 100%;
    padding: 0;
  }

  .checkout-wrapper .product-form__submit {
    margin-top: 8px;
  }

  .checkout-wrapper .checkout-total {
    margin-top: 36px;
  }

  .custom-page {
    padding-bottom: 60px;
    padding-top: 40px;
  }

  /* .checkout-form {
    border-right: unset;
  } */
}

@media (max-width: 767px) {
  .custom-page {
    padding-bottom: 40px;
    padding-top: 40px;
  }
  .info-text {
    font-size: 14px;
    margin: 18px 0 10px;
  }
}

@media (max-width: 480px) {
  .form-promocode .form-wrapper .float-label {
    font-size: 11px;
  }
}
