.checkout-main-container {
  padding: 40px 56px;
  width: 100%;
  background-color: var(--mainBg);
  max-width: 1280px;
  margin: auto;
}

.header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header .logo {
  width: 150px;
}

.actionButton {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* ******************* CHECKOUT PAGE INFO SECTION ******************* */

.checkOut-container .info-section {
  display: flex;
  align-items: center;
  margin: 20px 0px 20px 0;
  justify-content: space-between;
}
.checkOut-container .info-section > div {
  display: flex;
  flex-direction: column;
}

.checkOut-container .info-section > div:last-child {
  align-items: end;
}

.checkOut-container .info-section .title {
  display: flex;
  align-items: center;
  gap: 20px;
}

.checkOut-container .info-section .title > h2 {
  color: white;
  font-weight: 500;
  font-size: 48px;
}

.checkOut-container .info-section .badge {
  height: 36px;
  width: 36px;
  border-radius: 50%;
  /* background: var(--btnBg); */
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #007aff;
}

.checkOut-container .info-section .subtitle {
  color: white;
  font-size: 24px;
  font-weight: 400;
}

.checkOut-container .info-section .location-country {
  display: flex;
  align-items: center;
  gap: 7px;
}

.checkOut-container .info-section .location-country p {
  font-weight: 400;
  color: white;
  font-size: 20px;
}

.checkOut-container .info-section .location-country span {
  font-weight: 500;
}

.checkOut-container .info-section .location-help {
  font-weight: 400;
  font-size: 20px;
  color: white;
}

.checkOut-container .info-section .location-help a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 500;
}

.checkOut-container .main-row {
  display: flex;
  gap: 40px;
}

/* ******************* PRODUCT SELECT SECTION ******************* */

.checkOut-container .product-select-container {
  width: 40%;
  padding: 50px;
  border-radius: 0.375rem;
  /* background: linear-gradient(107.08deg, #101f3a 0.54%, #0d1125 99.46%); */
  background-color: #000000;
}

.checkOut-container .product-select-container .title {
  font-size: 24px;
  font-weight: 500;
  color: white;
  margin-bottom: 36px;
}

.checkOut-container .product-select-container .option-group {
  margin-bottom: 32px;
}

.checkOut-container .product-select-container .option-group .option-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 20px;
  color: white;
  margin-bottom: 20px;
  font-weight: 400;
}

.checkOut-container .product-select-container .option-group .option-label img {
  height: 20px;
}

.checkOut-container .product-select-container .option-group .button-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.checkOut-container
  .product-select-container
  .option-group
  .button-group
  > button {
  padding: 7px 12px;
  height: auto;
  cursor: pointer;
  border: none;
  background-color: transparent;
  border: 1px solid transparent;
  color: white;
  position: relative;
  z-index: 1;
  border-radius: 6px;
  /* border-image: linear-gradient(272.52deg, #ab2ffe -1.68%, #40affd 98.81%);
  border-image-slice: 1; */
}

.checkOut-container
  .product-select-container
  .option-group
  .button-group
  > button::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(272.52deg, #ab2ffe -1.68%, #40affd 98.81%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: -1;
}

.checkOut-container
  .product-select-container
  .option-group
  .button-group
  .active::before {
  display: none;
}

.checkOut-container
  .product-select-container
  .option-group
  .button-group
  > button:hover {
  background: #007aff;
  color: #ffffff;
  border-image: none;
}

.checkOut-container
  .product-select-container
  .option-group
  .button-group
  > button:hover
  p {
  color: white;
  background: linear-gradient(90deg, #c8d0fa 100%, #d3e1f7 55.66%, #e2f8f3 0%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.checkOut-container
  .product-select-container
  .option-group
  .button-group
  > button
  > p {
  font-size: 16px;
  font-weight: 400;
  color: white;
}

.checkOut-container
  .product-select-container
  .option-group
  .button-group
  > .active {
  /* background: var(--btnBg); */
  border: none;
  padding: 8px 13px;
  color: #ffffff;
  background-color: #007aff;
}

.checkOut-container
  .product-select-container
  .option-group
  .button-group
  > .active
  > p {
  background: linear-gradient(90deg, #c8d0fa 100%, #d3e1f7 55.66%, #e2f8f3 0%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.checkOut-container .product-select-container .addon-options {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.checkOut-container .product-select-container .addon-options .addon-title {
  margin-top: 8px;
  font-size: 20px;
  font-weight: 400;
  color: white;
}

.checkOut-container .product-select-container .addon-options .addon-option {
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkOut-container
  .product-select-container
  .addon-options
  .addon-option
  input[type='radio'] {
  appearance: none;
  width: 20px;
  height: 20px;
  border: 1px solid var(--blue);
  border-radius: 50%;
  position: relative;
  cursor: pointer;
}

.checkOut-container
  .product-select-container
  .addon-options
  .addon-option
  input[type='radio']:checked {
  background-color: var(--blue);
}

.checkOut-container
  .product-select-container
  .addon-options
  .addon-option
  input[type='radio']:checked::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  background-color: var(--white);
  border-radius: 50%;
}

.checkOut-container
  .product-select-container
  .addon-options
  .addon-option
  label {
  font-size: 16px;
  font-weight: 400;
  color: white;
  cursor: pointer;
}

.checkOut-container .product-select-container svg path {
  fill: #007aff;
}

/* ******************* CHECKOUT SUMMARY AND CUSTOMER INFO SECTION ******************* */

.checkOut-container .summary-and-customer-info-container {
  background-color: #000000;
  border-radius: 0.375rem;
  padding: 61px 46px 39px 54px;
  flex: 1;
  height: fit-content;
  box-shadow: 5px 1px 40px 0px rgba(50, 70, 210, 0.1);
}

.checkOut-container .summary-and-customer-info-container .header-content {
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
}

.checkOut-container .summary-and-customer-info-container .header-content h1 {
  font-size: 24px;
  font-weight: 500;
  color: white;
}

.checkOut-container
  .summary-and-customer-info-container
  .header-content
  .price-and-path {
  width: 100%;
  display: flex;
  gap: 20px;
}

.checkOut-container
  .summary-and-customer-info-container
  .header-content
  .price-and-path
  .path {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  color: white;
  font-size: 20px;
  font-weight: 400;
  gap: 8px;
}

.checkOut-container
  .summary-and-customer-info-container
  .header-content
  .price-and-path
  i {
  color: var(--blue);
  font-size: 20px;
}

.checkOut-container
  .summary-and-customer-info-container
  .header-content
  .price-and-path
  .price {
  margin-left: auto;
  font-size: 36px;
  color: white;
  font-weight: 400;
}

.checkOut-container .summary-and-customer-info-container .order-summary {
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.checkOut-container .summary-and-customer-info-container .summary-row {
  display: flex;
  justify-content: space-between;
}

.checkOut-container .summary-and-customer-info-container .summary-row > p {
  font-size: 20px;
  font-weight: 400;
  color: white;
}

.checkOut-container .summary-and-customer-info-container .total-row > p {
  font-weight: 500;
}

.checkOut-container .summary-and-customer-info-container .coupon-section {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  width: 343px;
  height: 34px;
  border: 1px solid #d9d9d9;
  border-radius: 0.375rem;
  /* overflow: hidden; */
  background-color: var(--white);
}

.checkOut-container
  .summary-and-customer-info-container
  .coupon-section
  .coupon-input {
  border: none;
  outline: none;
  padding: 15px 20px;
  height: fit-content;
  font-size: 16px;
  color: #000000;
  font-weight: 300;
  width: calc(100% - 104px);
  height: 32px;
  border-radius: 0.375rem;
}

.checkOut-container
  .summary-and-customer-info-container
  .coupon-section
  .coupon-input::placeholder {
  font-size: 16px;
  color: #a8a8a8;
  font-weight: 300;
}

.checkOut-container
  .summary-and-customer-info-container
  .coupon-section
  .apply-button {
  background-color: #007aff;
  border: none;
  color: var(--white);
  font-size: 16px;
  cursor: pointer;
  border-radius: 0.375rem;
  font-weight: 300;
  margin-top: -1px;
  margin-right: -1px;

  width: 104px;
  height: 34px;
}

.checkOut-container .summary-and-customer-info-container .divider {
  height: 1px;
  background: linear-gradient(to right, #d3e1f7 0%, #c8d0fa 100%, #e2f8f3 100%);
  margin: 30px 0;
}

.checkOut-container
  .summary-and-customer-info-container
  .customer-info-container
  h2 {
  margin-bottom: 36px;
  color: white;
  font-size: 24px;
  font-weight: 500;
}

.checkOut-container
  .summary-and-customer-info-container
  .customer-info-container
  .row {
  display: flex;
  gap: 24px;
  margin-bottom: 20px;
}

.checkOut-container
  .summary-and-customer-info-container
  .customer-info-container
  .input-label-parent {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.checkOut-container
  .summary-and-customer-info-container
  .customer-info-container
  .input-label-parent
  label {
  display: block;
  font-size: 20px;
  font-weight: 300;
  color: white;
}

.checkOut-container
  .summary-and-customer-info-container
  .customer-info-container
  .input-label-parent
  input {
  width: 100%;
  padding: 10px 20px;
  min-height: 50px;
  max-height: fit-content;
  border: 1px solid #d9d9d9;
  border-radius: 60px;
  font-size: 16px;
  color: #a8a8a8;
  font-weight: 300;
  outline: none;
}

.checkOut-container #billing_country {
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 16px;
  min-height: 50px;
}

/* ******************* PAYMENT OPTIONS SECTION ******************* */

.checkOut-container .payment-options-container {
  background-color: var(--white);
  border-radius: 60px;
  padding-block: 52px 48px;
  width: 100%;
  box-shadow: 5px 1px 40px 0px rgba(50, 70, 210, 0.1);
  margin-top: 50px;
}

.checkOut-container .payment-options-container .content-parent {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.checkOut-container .payment-options-container .content-parent .title {
  color: white;
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 36px;
}

.checkOut-container .payment-options-container .payment-option {
  border: 1px solid #7a09d1;
  border-radius: 60px;
  padding: 15px 20px;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  position: relative;
  background-color: var(--white);
  width: 100%;
  height: 50px;
  max-height: fit-content;
}

.checkOut-container .payment-options-container .payment-option.active {
  background-color: #7a09d1;
}

.checkOut-container
  .payment-options-container
  .payment-option
  .payment-option-icon-text {
  display: flex;
  align-items: center;
  gap: 7px;
}

.checkOut-container .payment-options-container .payment-option-icon-text > svg {
  color: var(--blue);
}

.checkOut-container
  .payment-options-container
  .payment-option
  .payment-option-icon-text
  > p {
  font-size: 20px;
  font-weight: 400;
  color: white;
}

.checkOut-container .payment-options-container .payment-option .info-icon {
  color: #c1cee7;
  font-size: 18px;
}

.checkOut-container
  .payment-options-container
  .payment-option.active
  .info-icon {
  color: var(--white);
}

.checkOut-container
  .payment-options-container
  .payment-option.active
  .payment-option-icon-text
  > svg {
  color: var(--white);
}

.checkOut-container
  .payment-options-container
  .payment-option.active
  .payment-option-icon-text
  > p {
  color: var(--white);
}

.checkOut-container .payment-options-container .policy-checkbox {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 24px 0px 28px 0px;
  font-size: 20px;
  font-weight: 300;
  color: white;
}

.checkOut-container
  .payment-options-container
  .policy-checkbox
  input[type='checkbox'] {
  accent-color: #7a09d1;
  width: 20px;
  height: 20px;
  border-radius: 5px;
  border: 1px solid var(--gray800);
}

.checkOut-container .payment-options-container .policy-checkbox .policy-link {
  color: #3246d2;
}

.checkOut-container .payment-options-container .place-order-btn {
  width: 60%;
  height: 50px;
  padding: 10px 20px;
  border: none;
  border-radius: 60px;
  /* background: var(--btnBg); */
  color: var(--white);
  font-size: 20px;
  font-weight: 400;
  cursor: pointer;
  background-color: #7a09d1;
}

/* for tooltip css */

.tooltip-wrapper {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

/* Tooltip text initially hidden */
.tooltip-text {
  visibility: hidden;
  opacity: 0;
  background-color: #eaf1ff;
  text-align: center;
  width: 176.587px;
  height: 60px;
  color: #464646;
  text-align: center;
  font-size: 12px;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
  padding: 6px 12px;
  border-radius: 14px;
  justify-content: center;
  position: absolute;
  top: 50%;
  left: 54px;
  transform: translateY(-50%);
  z-index: 10;
  transition: opacity 0.2s ease;
}

/* Show tooltip on hover */
.tooltip-wrapper:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

.tooltip-text::before {
  content: '';
  width: 10px;
  height: 10px;
  background-color: #eaf1ff;

  position: absolute;
  left: -5px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

@media (max-width: 1450px) {
  .checkout-main-container {
    padding: 40px;
  }

  .checkOut-container .main-row {
    gap: 30px;
  }

  /* ******************* CHECKOUT SUMMARY AND CUSTOMER INFO SECTION ******************* */

  .checkOut-container
    .summary-and-customer-info-container
    .customer-info-container
    .row {
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
  }
}

@media (max-width: 1030px) {
  .checkout-main-container {
    padding: 27px 20px;
  }

  /* ******************* CHECKOUT PAGE INFO SECTION ******************* */

  .checkOut-container .info-section {
    margin: 80px 0px 34px 0px;
  }

  .checkOut-container .info-section > div {
    gap: 12px;
  }

  .checkOut-container .info-section .title {
    gap: 12px;
  }

  .checkOut-container .info-section .title > h2 {
    color: white;
    font-size: 36px;
  }

  .checkOut-container .info-section .subtitle {
    font-size: 16px;
    width: 247px;
  }

  .checkOut-container .info-section .location-country p {
    font-size: 16px;
  }

  .checkOut-container .info-section .location-help {
    width: 139px;
    font-size: 16px;
  }

  .checkOut-container .main-row {
    flex-direction: column;
  }

  /* ******************* PRODUCT SELECT SECTION ******************* */

  .checkOut-container .product-select-container {
    width: 100%;
    padding: 50px 29px;
  }

  /* ******************* CHECKOUT SUMMARY AND CUSTOMER INFO SECTION ******************* */

  .checkOut-container .summary-and-customer-info-container .divider {
    background: transparent;
    margin: 40px 0px 0px 0px;
  }

  .checkOut-container .summary-and-customer-info-container {
    background-color: transparent;
    border-radius: 0px;
    padding: 0px;
    height: fit-content;
    box-shadow: none;
    margin-top: 10px;
  }

  .checkOut-container .summary-and-customer-info-container .summary-section {
    padding: 50px 29px;
    border-radius: 60px;
    background: #000000;
    box-shadow: 5px 1px 40px 0px rgba(50, 70, 210, 0.1);
  }

  .checkOut-container
    .summary-and-customer-info-container
    .customer-info-container {
    padding: 50px 26px 50px 30px;
    border-radius: 6px;
    background: #000000;
    box-shadow: 5px 1px 40px 0px rgba(50, 70, 210, 0.1);
  }

  .checkOut-container
    .summary-and-customer-info-container
    .customer-info-container
    .row {
    flex-direction: row;
    gap: 20px;
    margin-bottom: 22px;
  }

  .checkOut-container
    .summary-and-customer-info-container
    .customer-info-container
    .input-label-parent
    label {
    font-size: 18px;
  }

  .tooltip-text {
    font-size: 10px;
    left: -100px;
    top: -60px;
  }

  .tooltip-text::before {
    top: 55px;
    right: 62px;
    transform: translateY(0%) rotate(44deg);
    left: initial;
  }
}

@media (max-width: 600px) {
  /* // header css */
  .header {
    flex-direction: column;
    gap: 27px;
  }

  .header .logo {
    width: 105px;
  }

  /* ******************* CHECKOUT PAGE INFO SECTION ******************* */

  .checkOut-container .info-section {
    margin: 36px 0px 24px 0px;
  }

  .checkOut-container .info-section {
    flex-direction: column;
  }

  .checkOut-container .main-row {
    gap: 32px;
  }

  .checkOut-container .info-section .title > h2 {
    font-size: 28px;
    font-weight: 500;
  }
  .checkOut-container .info-section .subtitle {
    font-size: 14px;
    margin-top: 8px;
  }

  .checkOut-container .product-select-container {
    padding: 32px 8px 32px 15px;
    border-radius: 6px;
  }

  .checkOut-container .product-select-container .title {
    font-size: 18px;
    margin-bottom: 24px;
    text-align: center;
  }

  .checkOut-container .product-select-container .option-group .option-label {
    font-size: 16px;
    margin-bottom: 12px;
  }

  .checkOut-container
    .product-select-container
    .option-group
    .option-label
    img {
    width: 16px;
    height: 16px;
  }

  .checkOut-container
    .product-select-container
    .option-group
    .button-group
    > button
    > p {
    font-size: 14px;
  }

  .checkOut-container
    .product-select-container
    .option-group
    .button-group
    > .active
    > p {
    color: #fefefe;
  }

  .checkOut-container .product-select-container .addon-options .addon-title {
    font-size: 16px;
  }
  .checkOut-container
    .product-select-container
    .addon-options
    .addon-option
    label {
    font-size: 14px;
  }

  .checkOut-container .summary-and-customer-info-container .summary-section {
    border-radius: 6px;
    padding: 32px 15px;
  }

  .checkOut-container .summary-and-customer-info-container .header-content h1 {
    text-align: center;
    font-size: 18px;
  }

  .checkOut-container
    .summary-and-customer-info-container
    .header-content
    .price-and-path {
    flex-direction: column;
    align-items: center;
  }

  .checkOut-container .info-section .location-country,
  .checkOut-container .info-section .location-help {
    font-size: 14px;
    font-weight: 400;
    margin: auto;
    width: max-content;
  }

  .checkOut-container
    .summary-and-customer-info-container
    .header-content
    .price-and-path
    .path {
    font-size: 16px;
    margin-top: 24px;
    margin-bottom: 24px;
    width: 250px;

    justify-content: center;
  }

  .checkOut-container
    .summary-and-customer-info-container
    .header-content
    .price-and-path
    .price {
    margin-left: 0;
    color: #2874ff;
    font-size: 24px;
    font-weight: 500;
  }

  .checkOut-container .summary-and-customer-info-container .summary-row {
    font-size: 14px;
  }

  .checkOut-container .summary-and-customer-info-container .coupon-section {
    margin: auto;
    width: auto;

    /* padding: 15px 20px;
 width: 248px; */
  }

  .checkOut-container
    .summary-and-customer-info-container
    .customer-info-container {
    padding: 32px 15px;
  }

  .checkOut-container
    .summary-and-customer-info-container
    .customer-info-container
    h2 {
    font-size: 18px;
    margin-bottom: 24px;
    text-align: center;
  }

  .checkOut-container
    .summary-and-customer-info-container
    .customer-info-container
    .row {
    flex-direction: column;
    gap: 12px;
  }

  .checkOut-container
    .summary-and-customer-info-container
    .customer-info-container
    .input-label-parent
    label {
    font-size: 14px;
  }

  .checkOut-container .payment-options-container {
    background-color: transparent;
    box-shadow: none;
    padding: 32px 15px;
  }

  .checkOut-container .payment-options-container .content-parent .title {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 24px;
  }

  .checkOut-container .payment-options-container .payment-option {
    padding: 10px 13px 10px 16px;
  }

  .checkOut-container
    .payment-options-container
    .payment-option.active
    .payment-option-icon-text
    > p {
    font-size: 16px;
  }

  .checkOut-container
    .payment-options-container
    .payment-option
    .payment-option-icon-text
    > p {
    font-size: 16px;
  }

  .checkOut-container .payment-options-container .policy-checkbox .policy-link {
    text-decoration: underline;
  }

  .checkOut-container
    .summary-and-customer-info-container
    .coupon-section
    .coupon-input {
    font-size: 14px;
  }

  .checkOut-container
    .summary-and-customer-info-container
    .customer-info-container
    .input-label-parent
    input {
    min-height: 40px;
    max-height: 40px;
    padding: 10px 13px 10px 20px;
  }

  .checkOut-container .payment-options-container .policy-checkbox {
    font-size: 12px;
    color: #464646;
    margin: 31px 0px 14px 0px;
  }

  .checkOut-container
    .payment-options-container
    .policy-checkbox
    input[type='checkbox'] {
    border-radius: 5px;
    border: 1px solid #464646;
    width: 14px;
    height: 14px;
    background: transparent;
  }

  .checkOut-container .payment-options-container .content-parent {
    display: block;
    margin-top: 24px;
  }

  .checkOut-container .info-section > div {
    text-align: center;
    align-items: center;
  }

  .checkOut-container .info-section .location-country {
    margin-top: 20px;
  }

  .checkOut-container .info-section .location-country p {
    font-size: 14px;
    font-weight: 500;
  }

  .checkOut-container .payment-options-container .place-order-btn {
    padding: 10px 13px 10px 20px;
    font-size: 16px;
    border-radius: 60px;
    width: 100%;
  }

  .tooltip-text {
    font-size: 10px;
    left: -148px;
    top: 60px;
  }

  .tooltip-text::before {
    top: -5px;
    right: 14px;
    transform: translateY(0%) rotate(44deg);
    left: initial;
  }
}
