/* Final order-received refinements. */

body.dvt-site.woocommerce-order-received ul.woocommerce-order-overview.woocommerce-thankyou-order-details.order_details,
body.dvt-site.woocommerce-order-received .woocommerce ul.woocommerce-order-overview.order_details,
body.dvt-site.woocommerce-order-received .woocommerce-order-overview {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  width: min(100%, 940px) !important;
  margin: 0 auto 24px !important;
}

body.dvt-site.woocommerce-order-received ul.woocommerce-order-overview.woocommerce-thankyou-order-details.order_details > li,
body.dvt-site.woocommerce-order-received .woocommerce ul.woocommerce-order-overview.order_details > li,
body.dvt-site.woocommerce-order-received .woocommerce-order-overview > li,
body.dvt-site.woocommerce-order-received .woocommerce-order-overview > li.woocommerce-order-overview__payment-method,
body.dvt-site.woocommerce-order-received .woocommerce-order-overview > li.method {
  float: none !important;
  clear: none !important;
  flex: 1 1 0 !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0 !important;
  border-left: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  grid-column: auto !important;
  grid-row: auto !important;
}

body.dvt-site.woocommerce-order-received .woocommerce-order-overview > li strong {
  overflow-wrap: anywhere !important;
}

body.dvt-site.woocommerce-order-received .woocommerce-order > p:not(.woocommerce-notice) {
  margin-bottom: 12px !important;
}

body.dvt-site.woocommerce-order-received .dvt-thank-you-actions {
  width: min(100%, 940px) !important;
  margin: 0 auto 26px !important;
  display: flex !important;
  justify-content: center !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
}

body.dvt-site.woocommerce-order-received .dvt-thank-you-action {
  min-height: 48px !important;
  padding: 0 22px !important;
  border-radius: 14px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid rgba(202, 167, 255, 0.24) !important;
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 950 !important;
  letter-spacing: 0.02em !important;
  text-decoration: none !important;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease !important;
}

body.dvt-site.woocommerce-order-received .dvt-thank-you-action:hover {
  transform: translateY(-1px) !important;
}

body.dvt-site.woocommerce-order-received .dvt-thank-you-action-primary {
  background: linear-gradient(135deg, var(--dvt-purple), var(--dvt-purple-2)) !important;
  box-shadow: 0 16px 42px rgba(151, 84, 255, 0.26) !important;
}

body.dvt-site.woocommerce-order-received .dvt-thank-you-action-discord {
  background: linear-gradient(135deg, #5865f2, #4752c4) !important;
  box-shadow: 0 16px 42px rgba(88, 101, 242, 0.22) !important;
}

@media (max-width: 820px) {
  body.dvt-site.woocommerce-order-received ul.woocommerce-order-overview.woocommerce-thankyou-order-details.order_details,
  body.dvt-site.woocommerce-order-received .woocommerce ul.woocommerce-order-overview.order_details,
  body.dvt-site.woocommerce-order-received .woocommerce-order-overview {
    flex-wrap: wrap !important;
  }

  body.dvt-site.woocommerce-order-received ul.woocommerce-order-overview.woocommerce-thankyou-order-details.order_details > li,
  body.dvt-site.woocommerce-order-received .woocommerce ul.woocommerce-order-overview.order_details > li,
  body.dvt-site.woocommerce-order-received .woocommerce-order-overview > li {
    flex: 0 0 50% !important;
    max-width: 50% !important;
  }
}

@media (max-width: 520px) {
  body.dvt-site.woocommerce-order-received ul.woocommerce-order-overview.woocommerce-thankyou-order-details.order_details > li,
  body.dvt-site.woocommerce-order-received .woocommerce ul.woocommerce-order-overview.order_details > li,
  body.dvt-site.woocommerce-order-received .woocommerce-order-overview > li {
    flex-basis: 100% !important;
    max-width: 100% !important;
  }

  body.dvt-site.woocommerce-order-received .dvt-thank-you-action {
    width: 100% !important;
  }
}
