/* Checkout i confirmació EDD — capa visual TLOS */
#edd_checkout_form_wrap,
#edd_purchase_receipt,
.tlos-commerce-intro,
.tlos-success-next-step {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.tlos-commerce-intro {
  box-sizing: border-box;
  margin-top: 32px;
  margin-bottom: 28px;
  padding: 42px 46px;
  color: #fff;
  background: linear-gradient(135deg, #20323f 0%, #315a67 100%);
  border-radius: 20px;
  box-shadow: 0 18px 42px rgba(23, 47, 59, .18);
}

.tlos-commerce-kicker {
  margin: 0 0 12px;
  color: #8fe1e9;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .14em;
}

.tlos-commerce-intro h2,
.tlos-success-next-step h2 {
  margin: 0 0 12px;
  line-height: 1.18;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
}

.tlos-commerce-intro > p:not(.tlos-commerce-kicker) {
  max-width: 620px;
  margin: 0;
  color: rgba(255,255,255,.88);
  font-size: 1.05rem;
  line-height: 1.6;
}

.tlos-commerce-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  font-size: .92rem;
  font-weight: 650;
}

.tlos-commerce-points li::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-right: 8px;
  color: #17323f;
  background: #9ae8df;
  border-radius: 50%;
  font-size: .75rem;
  font-weight: 900;
}

#edd_checkout_form_wrap {
  color: #243844;
}

#edd_checkout_form_wrap fieldset,
#edd_checkout_form_wrap .edd_cart_item,
#edd_purchase_receipt {
  box-sizing: border-box;
  border: 1px solid #d7e2e6;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 26px rgba(23, 47, 59, .06);
}

#edd_checkout_form_wrap fieldset {
  margin: 0 0 18px;
  padding: 26px;
}

#edd_checkout_form_wrap legend,
#edd_checkout_form_wrap .edd_cart_header {
  color: #1e3948;
  font-weight: 750;
}

#edd_checkout_form_wrap input:not([type="checkbox"]):not([type="radio"]),
#edd_checkout_form_wrap select {
  min-height: 46px;
  border: 1px solid #b8c9d0;
  border-radius: 8px;
  box-shadow: none;
}

#edd_checkout_form_wrap input:focus,
#edd_checkout_form_wrap select:focus {
  border-color: #138aa2;
  box-shadow: 0 0 0 3px rgba(19, 138, 162, .15);
  outline: none;
}

#edd_checkout_form_wrap .edd-submit,
#edd_checkout_form_wrap input[type="submit"] {
  min-height: 48px;
  padding: 0 26px;
  color: #fff;
  background: #087f99;
  border: 1px solid #087f99;
  border-radius: 8px;
  font-weight: 750;
  letter-spacing: .01em;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

#edd_checkout_form_wrap .edd-submit:hover,
#edd_checkout_form_wrap input[type="submit"]:hover {
  background: #056d84;
  border-color: #056d84;
  box-shadow: 0 7px 16px rgba(8, 127, 153, .22);
  transform: translateY(-1px);
}

#edd_purchase_receipt {
  overflow: hidden;
}

#edd_purchase_receipt li {
  border-color: #e4ecef;
}

#edd_purchase_receipt .edd_purchase_receipt_files,
#edd_purchase_receipt .edd_receipt_files {
  display: none;
}

.tlos-success-next-step {
  box-sizing: border-box;
  margin-top: 28px;
  margin-bottom: 42px;
  padding: 34px 38px;
  background: #edf8fa;
  border: 1px solid #bfe1e6;
  border-radius: 16px;
}

.tlos-success-next-step h2 {
  color: #1d3b49;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
}

.tlos-success-next-step > p:not(.tlos-commerce-kicker) {
  max-width: 600px;
  margin: 0 0 22px;
  color: #42606c;
  line-height: 1.6;
}

.tlos-commerce-cta {
  display: inline-block;
  padding: 14px 20px;
  color: #fff !important;
  background: #087f99;
  border-radius: 8px;
  font-weight: 750;
  text-decoration: none !important;
  box-shadow: 0 7px 16px rgba(8, 127, 153, .18);
}

.tlos-commerce-cta:hover {
  background: #056d84;
  color: #fff !important;
}

@media (max-width: 680px) {
  .tlos-commerce-intro {
    margin-top: 20px;
    padding: 30px 24px;
    border-radius: 15px;
  }

  #edd_checkout_form_wrap fieldset {
    padding: 19px;
  }

  .tlos-commerce-points {
    display: grid;
    gap: 12px;
  }

  .tlos-success-next-step {
    padding: 27px 24px;
  }
}
