.checkout-buttons {
  display: flex;
  gap: 8px; /* space between buttons */
  align-items: center; /* vertical alignment */
}

.checkout-info-item-remove,
.editbooking {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center; 
  border: solid 1px;
  border-radius: 8px;
  cursor: pointer;
  background: white; /* optional */
}

.checkout-info-item-remove svg,
.editbooking svg {
  width: 16px;
  height: 16px;
}



.section {
  background-color: var(--background-secondary);
  padding: 80px 20px;
}

.section .section-content {
  margin: 0 auto;
  width: 100%;
  max-width: 1208px;
  display: grid;
  grid-template-columns: minmax(0, 734px) minmax(0, 442px);
  gap: 32px;
  align-items: start;
}

.checkout-steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.checkout-title-closed {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  color: var(--text-primary);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4em;
  letter-spacing: -0.02em;
}

.open .checkout-title-closed {
  display: none;
}

.checkout-title-closed.pending {
  color: var(--text-disable);
}

.checkout-content,
.checkout-title-closed {
  padding: 20px;
  border: 1px solid var(--border-primary);
  border-radius: 12px;
}

.checkout-content {
  display: none;
}

.open .checkout-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.checkout-content .btn {
  margin-left: auto;
  padding: 11px 20px;
  width: auto;
  font-size: 1rem;
  line-height: 24px;
  font-weight: 500;
}

.checkout-content-title-description {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checkout-content-title {
  color: var(--text-primary);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4em;
  letter-spacing: -0.02em;
}

.checkout-content-description {
  color: var(--text-secondary);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 26px;
}

.checkout-info {
  border: 1px solid var(--border-primary);
  border-radius: 12px;
  overflow: hidden;
}

.checkout-info .checkout-info-header {
  background-color: var(--background-alert-error);
  padding: 12px 20px;
  color: var(--text-secondary);
  font-size: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
}

.checkout-info .checkout-info-header svg {
  flex-shrink: 0;
}

.checkout-info .checkout-info-header .countdown {
  color: var(--text-primary);
  font-weight: 600;
}

.checkout-info .checkout-info-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.checkout-info-content,
.checkout-info-items,
.checkout-info-item {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.checkout-info-item-details {
  display: flex;
  gap: 16px;
}

.checkout-info-item-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 104px;
  height: 104px;
  border-radius: 8px;
  flex-shrink: 0;
}

.checkout-info-item-description {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.checkout-info-item-name-description {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.checkout-info-item-name {
  font-size: 1.25rem;
  line-height: 1.4em;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: #000000;
}

.checkout-info-item-description-content {
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.checkout-info-item-rating {
  display: flex;
  gap: 4px;
  align-items: center;
  color: #000000;
  font-size: 0.875rem;
}

.checkout-info-item-rating-counter {
  color: var(--text-tertiary);
}

.checkout-info-item-specs-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checkout-info-item-specs {
  color: var(--text-secondary);
  font-size: 1.125rem;
  line-height: 26px;
  font-weight: 400;
  display: flex;
  gap: 8px;
  align-items: center;
}

.separator {
  width: 100%;
  border-bottom: 1px solid var(--border-primary);
}

.checkout-info-price-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checkout-info-price-details-title {
  color: #09080D;
  font-size: 1rem;
  font-weight: 600;
}

.checkout-info-price-details-summary {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checkout-info-price-details-summary-total {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.checkout-info-price-details-summary-item {
  display: flex;
  gap: 8px;
  justify-content: space-between;
  color: var(--text-secondary);
  font-size: 1.125rem;
  font-weight: 400;
}

.checkout-info-order-info {
  display: flex;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 22px;
  font-weight: 400;
}

.checkout-info-order-info u {
  color: var(--text-primary);
  text-decoration: underline;
  font-weight: 600;
}

.checkout-fields {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.checkout-fieldset {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.checkout-label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--text-primary);
  font-size: 0.875rem;
  font-weight: 500;
}

.checkout-payments-method {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.checkout-payment-method {
  padding: 16px;
  border: 1px solid var(--border-primary);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.checkout-payment-label {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.checkout-payment-type {
  font-weight: 1.125rem;
  line-height: 26px;
  font-weight: 600;
  display: flex;
  gap: 12px;
  align-items: center;
}

.checkout-payment-type input[type="radio"] {
  display: none;
}

.checkout-payment-type input[type="radio"] + span {
  width: 24px;
  height: 24px;
  border: 1px solid var(--border-tertiary);
  border-radius: 50%;
}

.checkout-payment-type input[type="radio"]:checked + span {
  display: flex;
  justify-content: center;
  align-items: center;
  border-color: var(--brand-green-light);
  overflow: hidden;
}

.checkout-payment-type input[type="radio"]:checked + span::before {
  content: '';
  background-color: var(--brand-green-light);
  width: 16px;
  height: 16px;
  border-radius: 50%;
}

.checkout-payment-type-form {
  display: none;
}

.checkout-payment-label:has(input:checked) + .checkout-payment-type-form {
  display: block;
}

.checkout-payment-type-form {
  padding: 16px 0 16px 40px;
}

.checkout-terms {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: center;
  color: var(--text-tertiary);
  font-size: 1rem;
  line-height: 24px;
}

.checkout-terms a {
  color: var(--text-primary);
}

.checkout-terms .btn {
  padding: 16px 20px;
  width: 100%;
  font-size: 1.125rem;
}

@media all and (max-width: 768px) {

  .section {
    padding: 40px 20px;
  }

  .section .section-content {
    gap: 16px;
    grid-template-columns: auto;
  }

  .checkout-info {
    order: 1;
  }

  .checkout-steps {
    order: 2
  }

  .checkout-content, .checkout-title-closed {
    padding: 16px;
  }

  .checkout-content-title {
    font-size: 1.125rem;
  }

  .checkout-content-description {
    font-size: 1rem;
    line-height: 24px;
  }

  .open .checkout-content {
    gap: 24px;
  }

  .checkout-fields,
  .checkout-fieldset {
    gap: 16px;
  }

  .checkout-step-1 .checkout-fieldset {
    grid-template-columns: auto;
  }

  .checkout-info .checkout-info-header {
    font-size: 0.875rem;
  }

  .checkout-info-item-description-content {
    font-size: 0.875rem;
  }

  .checkout-info-item-specs {
    font-size: 1rem;
  }

  .checkout-info-price-details-title {
    font-size: 0.875rem;
  }

  .checkout-info-price-details-summary-item {
    font-size: 1rem;
  }

  .checkout-info-price-details-summary-total {
    font-size: 1.125rem;
  }

}

.checkout-info-promo-code-field .input-label.error .custom-icon {
  display: none;
}

.checkout-info-promo-code-field .input-label.error .error-icon {
  display: block !important;
}

