/* Final checkout layout fixes after visual review. */

body.dvt-site.woocommerce-checkout {
  overflow-x: hidden !important;
  background: #050509 !important;
}

body.dvt-site.woocommerce-checkout .dvt-main,
body.dvt-site.woocommerce-checkout .dvt-woo-main {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
}

body.dvt-site.woocommerce-checkout .thwmscf-wrapper {
  width: min(100% - 48px, 1120px) !important;
  max-width: 1120px !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

body.dvt-site.woocommerce-checkout ul.thwmscf-tabs {
  left: auto !important;
  width: min(100% - 48px, 980px) !important;
  max-width: 980px !important;
  margin: 0 auto clamp(24px, 3.2vw, 42px) !important;
  transform: none !important;
}

body.dvt-site.woocommerce-checkout .thwmscf-tab-panels {
  width: 100% !important;
  margin: 0 auto 24px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.dvt-site.woocommerce-checkout .thwmscf-content {
  width: 100% !important;
  margin: 0 auto !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.dvt-site.woocommerce-checkout .thwmscf-tab-panel {
  width: min(100%, 760px) !important;
  margin: 0 auto !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.dvt-site.woocommerce-checkout #customer_details,
body.dvt-site.woocommerce-checkout .woocommerce-billing-fields,
body.dvt-site.woocommerce-checkout .woocommerce-additional-fields,
body.dvt-site.woocommerce-checkout .thwmscf-wrapper .checkout_coupon,
body.dvt-site.woocommerce-checkout .thwmscf-wrapper .woocommerce-checkout-review-order-table,
body.dvt-site.woocommerce-checkout .thwmscf-wrapper #payment {
  width: min(100%, 720px) !important;
  padding: clamp(22px, 3vw, 34px) !important;
  border-radius: 20px !important;
  border: 1px solid rgba(202, 167, 255, 0.22) !important;
  background: rgba(17, 16, 24, 0.94) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 22px 60px rgba(0, 0, 0, 0.18) !important;
}

body.dvt-site.woocommerce-checkout #customer_details + .woocommerce-additional-fields,
body.dvt-site.woocommerce-checkout .woocommerce-billing-fields + .woocommerce-additional-fields,
body.dvt-site.woocommerce-checkout #contact_details + .woocommerce-billing-fields {
  margin-top: 22px !important;
}

body.dvt-site.woocommerce-checkout .thwmscf-buttons,
body.dvt-site.woocommerce-checkout .thwmscf-buttons-wrapper,
body.dvt-site.woocommerce-checkout .thwmscf-tab-panel .button-prev-next {
  width: min(100%, 760px) !important;
  max-width: 760px !important;
  margin: 18px auto 0 !important;
  padding: 0 !important;
}

body.dvt-site.woocommerce-checkout .thwmscf-tab-panel input[type="button"],
body.dvt-site.woocommerce-checkout .thwmscf-wrapper input[type="button"] {
  min-width: 88px !important;
  min-height: 44px !important;
  border-radius: 12px !important;
}

body.dvt-site.woocommerce-checkout ul.thwmscf-tabs li.thwmscf-tab a::before {
  display: none !important;
  content: none !important;
}

body.dvt-site.woocommerce-checkout ul.thwmscf-tabs li.thwmscf-tab a {
  min-height: 76px !important;
  padding: 12px 8px 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  flex-direction: column !important;
  gap: 8px !important;
  border: 0 !important;
  background: transparent !important;
  color: #ffffff !important;
}

body.dvt-site.woocommerce-checkout ul.thwmscf-tabs li.thwmscf-tab .thwmscf-tab-label {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-direction: column !important;
  gap: 8px !important;
  color: #ffffff !important;
  font-size: clamp(13px, 1.15vw, 16px) !important;
  font-weight: 900 !important;
  line-height: 1.1 !important;
  text-align: center !important;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.70) !important;
}

body.dvt-site.woocommerce-checkout ul.thwmscf-tabs li.thwmscf-tab .thwmscf-index,
body.dvt-site.woocommerce-checkout ul.thwmscf-tabs li.thwmscf-tab .thwmscf-tab-icon {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;
  margin: 0 !important;
  border: 2px solid rgba(202, 167, 255, 0.82) !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, rgba(35, 20, 58, 0.98), rgba(126, 61, 255, 0.82)) !important;
  color: #ffffff !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 14px !important;
  font-weight: 950 !important;
  line-height: 1 !important;
  text-indent: 0 !important;
  opacity: 1 !important;
  text-shadow: 0 1px 7px rgba(0, 0, 0, 0.88) !important;
  box-shadow: 0 0 0 4px rgba(151, 84, 255, 0.14), 0 0 24px rgba(151, 84, 255, 0.36), 0 12px 30px rgba(0, 0, 0, 0.50) !important;
}

body.dvt-site.woocommerce-checkout ul.thwmscf-tabs li.thwmscf-tab a.active .thwmscf-index,
body.dvt-site.woocommerce-checkout ul.thwmscf-tabs li.thwmscf-tab a.current .thwmscf-index,
body.dvt-site.woocommerce-checkout ul.thwmscf-tabs li.thwmscf-tab a.active .thwmscf-tab-icon,
body.dvt-site.woocommerce-checkout ul.thwmscf-tabs li.thwmscf-tab a.current .thwmscf-tab-icon {
  background: linear-gradient(135deg, #ffffff, #b777ff) !important;
  border-color: #ffffff !important;
  color: #190b2b !important;
  text-shadow: none !important;
  box-shadow: 0 0 0 5px rgba(151, 84, 255, 0.24), 0 0 34px rgba(183, 119, 255, 0.72), 0 16px 34px rgba(0, 0, 0, 0.50) !important;
}

@media (max-width: 900px) {
  body.dvt-site.woocommerce-checkout .thwmscf-wrapper { width: min(100% - 28px, 1120px) !important; }
  body.dvt-site.woocommerce-checkout ul.thwmscf-tabs { width: min(100% - 28px, 980px) !important; }
  body.dvt-site.woocommerce-checkout .thwmscf-tab-panel { width: 100% !important; }
  body.dvt-site.woocommerce-checkout #customer_details,
  body.dvt-site.woocommerce-checkout .woocommerce-billing-fields,
  body.dvt-site.woocommerce-checkout .woocommerce-additional-fields,
  body.dvt-site.woocommerce-checkout .thwmscf-wrapper .checkout_coupon,
  body.dvt-site.woocommerce-checkout .thwmscf-wrapper .woocommerce-checkout-review-order-table,
  body.dvt-site.woocommerce-checkout .thwmscf-wrapper #payment {
    width: 100% !important;
    padding: 18px !important;
  }
}

@media (max-width: 560px) {
  body.dvt-site.woocommerce-checkout .thwmscf-wrapper,
  body.dvt-site.woocommerce-checkout ul.thwmscf-tabs { width: min(100% - 20px, 1120px) !important; }
  body.dvt-site.woocommerce-checkout ul.thwmscf-tabs li.thwmscf-tab a { min-height: 62px !important; padding-top: 8px !important; }
  body.dvt-site.woocommerce-checkout ul.thwmscf-tabs li.thwmscf-tab .thwmscf-index,
  body.dvt-site.woocommerce-checkout ul.thwmscf-tabs li.thwmscf-tab .thwmscf-tab-icon {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    min-height: 28px !important;
    font-size: 12px !important;
  }
}

/* Order received / thank-you page polish. */
body.dvt-site.woocommerce-order-received .dvt-content-wrap,
body.dvt-site.woocommerce-order-received .dvt-article,
body.dvt-site.woocommerce-order-received .dvt-article-content,
body.dvt-site.woocommerce-order-received .woocommerce {
  width: min(100% - 44px, 1040px) !important;
  max-width: 1040px !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

body.dvt-site.woocommerce-order-received .dvt-content-wrap {
  padding-top: clamp(34px, 5vw, 72px) !important;
  padding-bottom: clamp(34px, 5vw, 72px) !important;
}

body.dvt-site.woocommerce-order-received .dvt-article > h1,
body.dvt-site.woocommerce-order-received h1.entry-title { display: none !important; }

body.dvt-site.woocommerce-order-received .woocommerce-order { color: #ffffff !important; }

body.dvt-site.woocommerce-order-received .woocommerce-notice--success.woocommerce-thankyou-order-received {
  margin: 0 auto 22px !important;
  padding: clamp(26px, 4vw, 42px) clamp(22px, 4vw, 46px) !important;
  border: 1px solid rgba(202, 167, 255, 0.24) !important;
  border-radius: 26px !important;
  background: radial-gradient(circle at 50% 0%, rgba(151, 84, 255, 0.24), transparent 42%), linear-gradient(145deg, rgba(32, 14, 61, 0.98), rgba(7, 7, 13, 0.98)) !important;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
  color: #ffffff !important;
  font-size: clamp(26px, 4vw, 44px) !important;
  font-weight: 950 !important;
  line-height: 1.04 !important;
  letter-spacing: -0.04em !important;
  text-align: center !important;
}

body.dvt-site.woocommerce-order-received .woocommerce-notice--success.woocommerce-thankyou-order-received::before {
  content: "✓" !important;
  width: 46px !important;
  height: 46px !important;
  margin: 0 auto 16px !important;
  border-radius: 999px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(55, 220, 148, 0.14) !important;
  border: 1px solid rgba(55, 220, 148, 0.35) !important;
  color: #61f0aa !important;
  font-size: 24px !important;
  font-weight: 950 !important;
}

body.dvt-site.woocommerce-order-received .woocommerce-order > p:not(.woocommerce-notice) {
  width: min(100%, 940px) !important;
  margin: 0 auto 22px !important;
  padding: 18px 22px !important;
  border: 1px solid rgba(202, 167, 255, 0.18) !important;
  border-radius: 18px !important;
  background: rgba(151, 84, 255, 0.09) !important;
  color: rgba(255, 255, 255, 0.86) !important;
  font-size: 15px !important;
  line-height: 1.65 !important;
  text-align: center !important;
}

body.dvt-site.woocommerce-order-received .woocommerce-order-overview {
  width: min(100%, 940px) !important;
  margin: 0 auto 24px !important;
  padding: 0 !important;
  border: 1px solid rgba(202, 167, 255, 0.18) !important;
  border-radius: 20px !important;
  background: rgba(17, 16, 24, 0.94) !important;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  overflow: hidden !important;
  box-shadow: 0 18px 58px rgba(0, 0, 0, 0.22) !important;
}

body.dvt-site.woocommerce-order-received .woocommerce-order-overview li {
  margin: 0 !important;
  padding: 18px 20px !important;
  border-right: 1px solid rgba(202, 167, 255, 0.14) !important;
  color: rgba(255, 255, 255, 0.62) !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: 0.08em !important;
  line-height: 1.35 !important;
  text-transform: uppercase !important;
  list-style: none !important;
}

body.dvt-site.woocommerce-order-received .woocommerce-order-overview li:last-child { border-right: 0 !important; }
body.dvt-site.woocommerce-order-received .woocommerce-order-overview li strong {
  margin-top: 7px !important;
  color: #ffffff !important;
  display: block !important;
  font-size: clamp(15px, 1.4vw, 19px) !important;
  font-weight: 950 !important;
  letter-spacing: -0.02em !important;
  text-transform: none !important;
}

body.dvt-site.woocommerce-order-received .woocommerce-order-details,
body.dvt-site.woocommerce-order-received .woocommerce-customer-details {
  width: min(100%, 940px) !important;
  margin: 0 auto 24px !important;
}

body.dvt-site.woocommerce-order-received .woocommerce-order-details__title,
body.dvt-site.woocommerce-order-received .woocommerce-column__title,
body.dvt-site.woocommerce-order-received h2,
body.dvt-site.woocommerce-order-received h3 {
  margin: 0 0 16px !important;
  color: #ffffff !important;
  font-size: clamp(20px, 2vw, 28px) !important;
  font-weight: 950 !important;
  letter-spacing: -0.025em !important;
}

body.dvt-site.woocommerce-order-received table.shop_table {
  width: 100% !important;
  margin: 0 0 22px !important;
  border: 1px solid rgba(202, 167, 255, 0.18) !important;
  border-radius: 20px !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  background: rgba(17, 16, 24, 0.94) !important;
  overflow: hidden !important;
  box-shadow: 0 18px 58px rgba(0, 0, 0, 0.20) !important;
}

body.dvt-site.woocommerce-order-received table.shop_table th,
body.dvt-site.woocommerce-order-received table.shop_table td {
  padding: 18px 22px !important;
  border-color: rgba(202, 167, 255, 0.14) !important;
  color: rgba(255, 255, 255, 0.86) !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  vertical-align: middle !important;
}

body.dvt-site.woocommerce-order-received table.shop_table thead th,
body.dvt-site.woocommerce-order-received table.shop_table .thwcfe-section-title {
  color: #ffffff !important;
  font-size: 12px !important;
  font-weight: 950 !important;
  letter-spacing: 0.07em !important;
  text-transform: uppercase !important;
  background: rgba(151, 84, 255, 0.12) !important;
}

body.dvt-site.woocommerce-order-received table.shop_table tfoot th,
body.dvt-site.woocommerce-order-received table.shop_table tfoot td {
  font-weight: 900 !important;
  color: #ffffff !important;
}

body.dvt-site.woocommerce-order-received table.shop_table a {
  color: #ffffff !important;
  font-weight: 850 !important;
  text-decoration: none !important;
}

body.dvt-site.woocommerce-order-received table.custom-fields td:first-child { width: 58% !important; color: rgba(255, 255, 255, 0.70) !important; }
body.dvt-site.woocommerce-order-received table.custom-fields td:last-child { color: #ffffff !important; font-weight: 850 !important; }
body.dvt-site.woocommerce-order-received table.custom-fields a { color: #caa7ff !important; word-break: break-word !important; }

body.dvt-site.woocommerce-order-received .woocommerce-customer-details address,
body.dvt-site.woocommerce-order-received .woocommerce-column--billing-address address {
  padding: 22px !important;
  border: 1px solid rgba(202, 167, 255, 0.18) !important;
  border-radius: 20px !important;
  background: rgba(17, 16, 24, 0.94) !important;
  color: rgba(255, 255, 255, 0.84) !important;
  font-size: 14px !important;
  line-height: 1.65 !important;
}

@media (max-width: 820px) {
  body.dvt-site.woocommerce-order-received .woocommerce-order-overview { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  body.dvt-site.woocommerce-order-received .woocommerce-order-overview li:nth-child(2n) { border-right: 0 !important; }
  body.dvt-site.woocommerce-order-received table.shop_table th,
  body.dvt-site.woocommerce-order-received table.shop_table td { padding: 15px 14px !important; font-size: 13px !important; }
}

@media (max-width: 520px) {
  body.dvt-site.woocommerce-order-received .dvt-content-wrap,
  body.dvt-site.woocommerce-order-received .dvt-article,
  body.dvt-site.woocommerce-order-received .dvt-article-content,
  body.dvt-site.woocommerce-order-received .woocommerce { width: min(100% - 24px, 1040px) !important; }
  body.dvt-site.woocommerce-order-received .woocommerce-order-overview { grid-template-columns: 1fr !important; }
  body.dvt-site.woocommerce-order-received .woocommerce-order-overview li,
  body.dvt-site.woocommerce-order-received .woocommerce-order-overview li:nth-child(2n) {
    border-right: 0 !important;
    border-bottom: 1px solid rgba(202, 167, 255, 0.14) !important;
  }
  body.dvt-site.woocommerce-order-received .woocommerce-order-overview li:last-child { border-bottom: 0 !important; }
}
