body.dh-checkout-layout {
  --dh-co-form: 520px;
  --dh-co-sum: 380px;
  --dh-co-gutter: 48px;
  --dh-co-outer: clamp(32px, 8vw, 140px);
  background: #fff;
  overflow-x: clip;
}

body.dh-checkout-layout:not(.dh-checkout-layout--thanks) {
  background: #fff;
}

body.dh-checkout-layout .dh-topbar,
body.dh-checkout-layout .dh-topbar--desktop,
body.dh-checkout-layout .dh-topbar--mobile,
body.dh-checkout-layout .dh-header-nav-bar,
body.dh-checkout-layout .dh-header-center,
body.dh-checkout-layout .dh-header-nav,
body.dh-checkout-layout .dh-nav-bar,
body.dh-checkout-layout .dh-burger,
body.dh-checkout-layout .dh-actions,
body.dh-checkout-layout .dh-footer-cta,
body.dh-checkout-layout .dh-footer-grid,
body.dh-checkout-layout .dh-mini-cart,
body.dh-checkout-layout .dh-menu-drawer,
body.dh-checkout-layout .dh-ck-shell,
body.dh-checkout-layout .dh-ck-topbar,
body.dh-checkout-layout .dh-ck-steps,
body.dh-checkout-layout .dh-ck-back,
body.dh-checkout-layout .dh-ck-help,
body.dh-checkout-layout .dh-ck-trust,
body.dh-checkout-layout .dh-ck-pay,
body.dh-checkout-layout .dh-ck-summary-title,
body.dh-checkout-layout .wd-checkout-steps,
body.dh-checkout-layout .woocommerce-checkout-steps,
body.dh-checkout-layout .checkout-steps,
body.dh-checkout-layout .xts-checkout-steps {
  display: none !important;
}

body.dh-checkout-layout .dh-header,
body.dh-checkout-layout .dh-header-main {
  position: relative;
  z-index: 3;
  background: #fff;
  border-bottom: 0;
  box-shadow: none;
}

body.dh-checkout-layout .dh-header-main .dh-wrap {
  width: 100%;
  max-width: none;
  padding-inline: 20px;
}

body.dh-checkout-layout .dh-header-main__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 16px;
}

body.dh-checkout-layout .dh-header-left {
  min-width: 0;
  display: flex;
  align-items: center;
}

body.dh-checkout-layout .dh-header .dh-logo {
  display: flex;
  align-items: center;
  line-height: 0;
}

body.dh-checkout-layout .dh-header .dh-logo img,
body.dh-checkout-layout .dh-header .dh-logo__img,
body.woocommerce.dh-checkout-layout .dh-header .dh-logo img,
body.woocommerce-page.dh-checkout-layout .dh-header .dh-logo__img {
  height: 40px !important;
  max-height: 40px !important;
  width: auto !important;
  max-width: 220px !important;
  object-fit: contain;
  object-position: left center;
}

.dh-co-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

.dh-co-cart {
  display: inline-flex;
  color: #1773b0;
  padding: 6px;
}

.dh-co-cart:hover {
  color: #0c5a8f;
  text-decoration: none;
}

.dh-co-secure {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.dh-co-secure svg { color: #16a34a; }

body.dh-checkout-layout .dh-footer {
  padding: 20px 0 32px;
  background: #fff;
  color: #737373;
  border-top: 0;
}

body.dh-checkout-layout .dh-footer a { color: #737373; }

body.dh-checkout-layout .dh-copy {
  margin: 0;
  padding: 0;
  border: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.dh-checkout-shell,
.dh-checkout-shell .woocommerce,
.dh-checkout-shell .woocommerce-notices-wrapper,
.dh-checkout-shell .woocommerce-checkout {
  width: 100%;
  max-width: none;
  float: none;
}

.dh-checkout {
  width: 100%;
  margin: 0;
}

body.dh-checkout-layout .col2-set,
body.dh-checkout-layout .col2-set .col-1,
body.dh-checkout-layout .col2-set .col-2,
body.dh-checkout-layout .woocommerce-checkout #order_review,
body.dh-checkout-layout .woocommerce-checkout #order_review_heading,
body.dh-checkout-layout .woocommerce-checkout-review-order {
  width: 100% !important;
  max-width: none !important;
  float: none !important;
  clear: none !important;
}

body.dh-checkout-layout .woocommerce-checkout #customer_details,
body.dh-checkout-layout .woocommerce-checkout .col2-set {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
}

body.dh-checkout-layout .select2-container {
  width: 100% !important;
}

body.dh-checkout-layout .wc_payment_method img {
  max-height: 24px;
  width: auto;
  margin-left: auto;
}

.dh-thanks .woocommerce-order-overview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  list-style: none;
  margin: 0 0 20px;
  padding: 16px;
  border: 1px solid var(--dh-line);
  border-radius: var(--dh-r-md);
  background: #fff;
}

.dh-thanks .woocommerce-order-overview li {
  margin: 0;
  font-size: 13px;
  color: var(--dh-muted);
}

.dh-thanks .woocommerce-order-overview strong {
  display: block;
  margin-top: 4px;
  color: var(--dh-ink);
  font-size: 15px;
}

.dh-thanks .woocommerce-order-details,
.dh-thanks .woocommerce-customer-details {
  margin: 16px 0;
  padding: 20px;
  border: 1px solid var(--dh-line);
  border-radius: var(--dh-r-md);
  background: #fff;
}

.dh-thanks .woocommerce-order-details table {
  width: 100%;
  border-collapse: collapse;
}

.dh-thanks .woocommerce-order-details th,
.dh-thanks .woocommerce-order-details td {
  padding: 8px 0;
  text-align: left;
  border-bottom: 1px solid var(--dh-line);
}

/* Mobile-first: single column. Desktop 2-col grid lives in min-width: 1000px. */
body.woocommerce-checkout.dh-checkout-layout:not(.dh-checkout-layout--thanks) form.checkout.woocommerce-checkout.dh-checkout__form,
body.dh-checkout-pro.dh-checkout-layout:not(.dh-checkout-layout--thanks) form.checkout.woocommerce-checkout.dh-checkout__form,
body.dh-checkout-layout form.checkout.dh-checkout__form {
  display: block !important;
  grid-template-columns: none !important;
  grid-template-areas: none !important;
  grid-auto-flow: row !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  gap: 0 !important;
  min-height: 0;
}

body.woocommerce-checkout.dh-checkout-layout form.checkout.dh-checkout__form > *,
body.dh-checkout-pro.dh-checkout-layout form.checkout.dh-checkout__form > * {
  flex: none !important;
}

body.woocommerce-checkout.dh-checkout-layout .dh-checkout__primary,
body.dh-checkout-pro.dh-checkout-layout .dh-checkout__primary,
body.woocommerce-checkout.dh-checkout-layout form.checkout.dh-checkout__form > .dh-checkout__primary,
body.dh-checkout-pro.dh-checkout-layout form.checkout.dh-checkout__form > .dh-checkout__primary,
.dh-checkout__primary {
  display: block !important;
  grid-area: auto;
  min-width: 0;
  flex: none !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 16px 16px 100px !important;
  float: none !important;
  order: 0 !important;
  background: #fff;
}

body.woocommerce-checkout.dh-checkout-layout .dh-checkout__primary > *,
body.dh-checkout-pro.dh-checkout-layout .dh-checkout__primary > * {
  width: 100% !important;
  max-width: none !important;
  align-self: stretch;
}

body.woocommerce-checkout.dh-checkout-layout .dh-checkout__aside,
body.dh-checkout-pro.dh-checkout-layout .dh-checkout__aside,
body.woocommerce-checkout.dh-checkout-layout form.checkout.dh-checkout__form > .dh-checkout__aside,
body.dh-checkout-pro.dh-checkout-layout form.checkout.dh-checkout__form > .dh-checkout__aside,
body.dh-checkout-layout .dh-checkout > .dh-checkout__aside,
.dh-checkout__aside {
  display: none !important;
  grid-area: auto;
  position: static !important;
  top: auto !important;
  align-self: stretch;
  min-width: 0;
  flex: none !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 0 !important;
  padding: 0 16px 16px !important;
  background: #f5f5f5 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  margin: 0 !important;
  float: none !important;
  order: 0 !important;
}

body.woocommerce-checkout.dh-checkout-layout .dh-checkout.is-summary-open > .dh-checkout__aside,
body.dh-checkout-pro.dh-checkout-layout .dh-checkout.is-summary-open > .dh-checkout__aside,
body.woocommerce-checkout.dh-checkout-layout .dh-checkout.is-summary-open form.checkout.dh-checkout__form > .dh-checkout__aside,
body.dh-checkout-pro.dh-checkout-layout .dh-checkout.is-summary-open form.checkout.dh-checkout__form > .dh-checkout__aside,
.dh-checkout.is-summary-open .dh-checkout__aside {
  display: block !important;
}

body.dh-checkout-layout .dh-checkout__aside #order_review,
body.dh-checkout-layout .dh-checkout__aside .woocommerce-checkout-review-order,
body.dh-checkout-layout .dh-checkout__aside .woocommerce-checkout-review-order-table,
body.dh-checkout-layout .dh-checkout__aside table.shop_table {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

body.dh-checkout-layout .dh-checkout__aside table.shop_table th,
body.dh-checkout-layout .dh-checkout__aside table.shop_table td {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.dh-checkout-bc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0 0 28px;
  font-size: 13px;
  font-weight: 500;
  color: #737373;
}

.dh-checkout-bc a { color: #1773b0; text-decoration: none; }
.dh-checkout-bc a:hover { text-decoration: underline; }
.dh-checkout-bc [aria-current="page"] { color: #333; }

.dh-checkout-card {
  margin: 0 0 28px;
  padding: 0;
  border-bottom: 0;
  width: 100%;
}

.dh-checkout-shipping__list,
.dh-ship-list,
body.dh-checkout-layout ul.wc_payment_methods,
body.dh-checkout-layout #payment,
body.dh-checkout-layout .woocommerce-checkout-payment {
  width: 100%;
  max-width: none;
}

.dh-checkout-card:last-of-type { border-bottom: 0; }

.dh-checkout-card__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.dh-checkout-card__title {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #333;
}

.dh-checkout-card__head .dh-checkout-card__title { margin: 0; }
.dh-checkout-card__title--aside { display: none; }

.dh-checkout-login-toggle,
.dh-checkout-optional-toggle {
  border: 0;
  background: none;
  color: #1773b0;
  font: 500 14px var(--dh-font);
  padding: 0;
  cursor: pointer;
  text-decoration: none;
}

.dh-checkout-optional-toggle[aria-expanded="true"].dh-checkout-optional-toggle--apt {
  display: none;
}

.dh-checkout-login {
  margin: 16px 0 0;
  padding: 18px 20px;
  border: 1px solid var(--dh-line);
  border-radius: var(--dh-r-md);
  background: #fff;
}

.dh-checkout-login .woocommerce-form-login {
  display: grid;
  gap: 10px;
  max-width: 420px;
}

.dh-checkout-hint {
  margin: 0;
  color: var(--dh-muted);
  font-size: 14px;
}

body.dh-checkout-layout .form-row {
  margin: 0;
  padding: 0;
  width: 100%;
  float: none;
}

body.dh-checkout-layout .woocommerce-billing-fields__field-wrapper,
body.dh-checkout-layout .woocommerce-shipping-fields__field-wrapper,
body.dh-checkout-layout .woocommerce-additional-fields__field-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 0 0 4px;
}

body.dh-checkout-layout .form-row,
body.dh-checkout-layout .form-row-first,
body.dh-checkout-layout .form-row-last,
body.dh-checkout-layout .form-row-wide {
  float: none !important;
  clear: none !important;
  width: 100% !important;
  max-width: none !important;
  display: block !important;
  margin: 0 !important;
  vertical-align: top;
  grid-column: 1 / -1;
}

body.dh-checkout-layout .form-row-wide,
body.dh-checkout-layout .form-row-wide.address-field,
body.dh-checkout-layout #billing_country_field,
body.dh-checkout-layout #shipping_country_field,
body.dh-checkout-layout #billing_address_1_field,
body.dh-checkout-layout #shipping_address_1_field,
body.dh-checkout-layout #billing_email_field,
body.dh-checkout-layout #billing_phone_field,
body.dh-checkout-layout #billing_company_field,
body.dh-checkout-layout #shipping_company_field,
body.dh-checkout-layout .dh-field-house-suffix,
body.dh-checkout-layout .notes {
  grid-column: 1 / -1;
}

body.dh-checkout-layout .form-row label {
  display: block;
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 500;
  color: #333;
  line-height: 1.3;
}

body.dh-checkout-layout .form-row .optional { color: #737373; font-weight: 400; }

body.dh-checkout-layout .form-row input.input-text,
body.dh-checkout-layout .form-row textarea,
body.dh-checkout-layout .form-row select:not(.select2-hidden-accessible),
body.dh-checkout-layout .select2-container .select2-selection--single {
  width: 100% !important;
  height: 48px !important;
  min-height: 48px !important;
  border: 1px solid #d9d9d9 !important;
  border-radius: 5px !important;
  padding: 0 12px !important;
  background: #fff !important;
  font: 400 14px/1.3 var(--dh-font) !important;
  color: #333 !important;
  box-shadow: none !important;
  outline: none !important;
  transition: border-color .12s ease, box-shadow .12s ease;
  appearance: none;
}

/* Select2 hides the native <select>; don't let our field styles make it overflow. */
body.dh-checkout-layout .form-row select.select2-hidden-accessible {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  min-height: 0 !important;
  margin: -1px !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  appearance: auto;
}

body.dh-checkout-layout .form-row textarea {
  height: auto !important;
  min-height: 88px !important;
  padding: 10px 12px !important;
}

body.dh-checkout-layout .select2-container {
  width: 100% !important;
}

body.dh-checkout-layout .select2-container .select2-selection--single {
  display: flex !important;
  align-items: center !important;
}

body.dh-checkout-layout .select2-container .select2-selection__rendered {
  padding: 0 !important;
  line-height: 1.3 !important;
  color: #333 !important;
}

body.dh-checkout-layout .select2-container .select2-selection__arrow {
  height: 46px !important;
  right: 8px !important;
}

body.dh-checkout-layout .form-row input.input-text:focus,
body.dh-checkout-layout .form-row textarea:focus,
body.dh-checkout-layout .form-row select:not(.select2-hidden-accessible):focus,
body.dh-checkout-layout .select2-container--open .select2-selection--single,
body.dh-checkout-layout .select2-container--focus .select2-selection--single {
  border-color: #1773b0 !important;
  box-shadow: 0 0 0 1px #1773b0 !important;
  outline: none !important;
}

/* No green “validated” borders — Shopify keeps the same field chrome. */
body.dh-checkout-layout .woocommerce-validated .input-text,
body.dh-checkout-layout .woocommerce-validated input,
body.dh-checkout-layout .woocommerce-validated select,
body.dh-checkout-layout .woocommerce-validated textarea,
body.dh-checkout-layout .woocommerce-validated .select2-selection,
body.dh-checkout-layout .woocommerce-validated .select2-selection--single,
body.dh-checkout-layout .woocommerce-validated .select2-container .select2-selection--single {
  border-color: #d9d9d9 !important;
  box-shadow: none !important;
}

body.dh-checkout-layout .woocommerce-invalid .input-text,
body.dh-checkout-layout .woocommerce-invalid input,
body.dh-checkout-layout .woocommerce-invalid select,
body.dh-checkout-layout .woocommerce-invalid textarea,
body.dh-checkout-layout .woocommerce-invalid .select2-selection--single {
  border-color: #de3618 !important;
  box-shadow: 0 0 0 1px #de3618 !important;
}

body.dh-checkout-layout .form-row input:-webkit-autofill,
body.dh-checkout-layout .form-row input:-webkit-autofill:hover,
body.dh-checkout-layout .form-row input:-webkit-autofill:focus {
  -webkit-text-fill-color: #333;
  box-shadow: 0 0 0 1000px #fff inset !important;
  border: 1px solid #d9d9d9 !important;
  transition: background-color 99999s ease-out;
}

body.dh-checkout-layout .form-row .description {
  margin: 6px 0 0;
  font-size: 12px;
  color: #737373;
}

.dh-field-optional-company,
.dh-field-optional-apt,
.dh-field-split-address-hidden {
  display: none;
}

body.dh-checkout-layout .dh-field-split-address-hidden {
  display: none !important;
}

.dh-field-optional-company.is-open,
.dh-field-optional-apt.is-open {
  display: block;
}

.woocommerce-shipping-fields:not(:has(#ship-to-different-address-checkbox:checked)) .shipping_address {
  display: none !important;
}

.dh-checkout-ship-toggle {
  margin: 4px 0 18px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 14px;
  font-weight: 400;
  color: #333;
}

.dh-checkout-ship-toggle .woocommerce-form__label-for-checkbox {
  margin: 0;
}

body.dh-checkout-layout .create-account,
body.dh-checkout-layout .woocommerce-terms-and-conditions-wrapper,
body.dh-checkout-layout .woocommerce-form__label-for-checkbox {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 400;
  color: #333;
}

body.dh-checkout-layout .woocommerce-form__label-for-checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

body.dh-checkout-layout .woocommerce-form__label-for-checkbox input {
  margin-top: 2px;
  width: 16px;
  height: 16px;
  accent-color: #1773b0;
}

.dh-checkout-notes {
  margin: 0 0 28px;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
}

.dh-checkout-notes summary {
  cursor: pointer;
  list-style: none;
  font-weight: 500;
  font-size: 14px;
  color: #1773b0;
  padding: 0;
}

.dh-checkout-notes summary::-webkit-details-marker { display: none; }
.dh-checkout-notes summary::before {
  content: "+ ";
  font-weight: 600;
}

.dh-checkout-notes[open] summary::before {
  content: "− ";
}

.dh-checkout-notes .form-row { margin-top: 12px; }

.dh-ship-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: block;
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.dh-ship-option {
  margin: 0;
  border: 0;
  border-bottom: 1px solid #d9d9d9;
  border-radius: 0;
  background: #fff;
  overflow: hidden;
}

.dh-ship-option:last-child {
  border-bottom: 0;
}

.dh-ship-option:has(input:checked) {
  border-color: #d9d9d9;
  background: #f0f5ff;
  box-shadow: none;
}

.dh-ship-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.dh-ship-option label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 16px 14px;
  cursor: pointer;
  font-weight: 500;
  font-size: 14px;
  color: #333;
}

.dh-ship-option__price { color: #333; font-weight: 500; }

body.dh-checkout-layout #payment,
body.dh-checkout-layout .woocommerce-checkout-payment {
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.dh-checkout-layout #payment .place-order {
  float: none !important;
  width: 100% !important;
  margin: 16px 0 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

body.dh-checkout-layout #payment .woocommerce-privacy-policy-text,
body.dh-checkout-layout #payment .woocommerce-privacy-policy-text p {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.45;
  color: #737373;
  font-weight: 400;
}

body.dh-checkout-layout ul.wc_payment_methods {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: block;
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

body.dh-checkout-layout #payment .wc_payment_method,
body.dh-checkout-layout .wc_payment_method {
  position: relative;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-bottom: 1px solid #d9d9d9 !important;
  border-radius: 0 !important;
  background: #fff !important;
  box-shadow: none !important;
  overflow: hidden;
}

body.dh-checkout-layout #payment .wc_payment_method:last-child {
  border-bottom: 0 !important;
}

body.dh-checkout-layout #payment .wc_payment_method.payment_method_selected,
body.dh-checkout-layout #payment li.wc_payment_method:has(input:checked) {
  background: #f0f5ff !important;
  border-color: #d9d9d9 !important;
  box-shadow: none !important;
}

body.dh-checkout-layout .dh-pay-row,
body.dh-checkout-layout #payment .wc_payment_method > label {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 16px 14px;
  font-weight: 500;
  font-size: 14px;
  color: #333;
  cursor: pointer;
}

body.dh-checkout-layout #payment .wc_payment_method input.input-radio,
body.dh-checkout-layout .dh-pay-row input {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none;
  width: 1px;
  height: 1px;
}

.dh-pay-row__mark {
  width: 18px;
  height: 18px;
  border: 2px solid #bbb;
  border-radius: 50%;
  background: #fff;
  box-sizing: border-box;
}

body.dh-checkout-layout li.wc_payment_method:has(input:checked) .dh-pay-row__mark {
  border-color: #1773b0;
  box-shadow: inset 0 0 0 4px #1773b0;
}

.dh-pay-row__title {
  min-width: 0;
  line-height: 1.2;
}

.dh-pay-row__icons,
body.dh-checkout-layout .wc_payment_method img {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  max-height: 24px;
  width: auto;
}

body.dh-checkout-layout #payment div.payment_box,
body.dh-checkout-layout .payment_box {
  position: relative;
  margin: 0 !important;
  padding: 0 16px 14px 46px !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  font-size: 14px;
  color: var(--dh-muted);
}

body.dh-checkout-layout #payment div.payment_box::before,
body.dh-checkout-layout #payment div.payment_box::after,
body.dh-checkout-layout .payment_box::before,
body.dh-checkout-layout .payment_box::after {
  content: none !important;
  display: none !important;
  border: 0 !important;
}

body.dh-checkout-layout #payment div.payment_box p,
body.dh-checkout-layout .payment_box > p {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 500;
}

body.dh-checkout-layout #payment .payment_box:not(:has(select, input, textarea, iframe, button, .form-row, fieldset)) {
  padding-top: 0 !important;
}

body.dh-checkout-layout #payment div.payment_box p:empty,
body.dh-checkout-layout .payment_box > p:empty {
  display: none;
}

body.dh-checkout-layout #payment .payment_box .form-row,
body.dh-checkout-layout .payment_box .form-row {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  float: none !important;
}

body.dh-checkout-layout #payment .payment_box select,
body.dh-checkout-layout .payment_box select {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #d5dde5;
  border-radius: var(--dh-r-sm);
  background: #fff;
  color: var(--dh-ink);
  font: 600 14px var(--dh-font);
}

body.dh-checkout-layout #payment .payment_box .select2-container {
  width: 100% !important;
}

body.dh-checkout-layout #payment .payment_box .select2-selection--single {
  min-height: 44px;
  border: 1px solid #d5dde5 !important;
  border-radius: var(--dh-r-sm) !important;
  background: #fff !important;
}

body.dh-checkout-layout #payment .mollie-components,
body.dh-checkout-layout #payment .mollie-components-container,
body.dh-checkout-layout #payment [class*="mollie-issuer"],
body.dh-checkout-layout #payment .payment_box fieldset {
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.dh-checkout-layout #payment [class*="payment_method_"][class*="ideal"] .payment_box select,
body.dh-checkout-layout #payment [class*="payment_method_"][class*="ideal"] .payment_box .select2-container,
body.dh-checkout-layout #payment [class*="payment_method_"][class*="wero"] .payment_box select,
body.dh-checkout-layout #payment [class*="payment_method_"][class*="wero"] .payment_box .select2-container,
body.dh-checkout-layout #payment [class*="payment_method_"][class*="ideal"] .payment_box [class*="issuer"],
body.dh-checkout-layout #payment [class*="payment_method_"][class*="wero"] .payment_box [class*="issuer"] {
  display: none !important;
}

body.dh-checkout-layout #payment .mollie-components::before,
body.dh-checkout-layout #payment .mollie-components::after,
body.dh-checkout-layout #payment [class*="mollie-issuer"]::before,
body.dh-checkout-layout #payment [class*="mollie-issuer"]::after {
  content: none !important;
  display: none !important;
}

body.dh-checkout-layout .dh-checkout-submit,
body.dh-checkout-layout #place_order {
  width: 100%;
  height: 52px;
  border: 0;
  border-radius: var(--dh-r-sm);
  background: var(--dh-orange);
  color: #fff;
  font: 800 16px var(--dh-font);
  cursor: pointer;
}

body.dh-checkout-layout #place_order:hover { background: var(--dh-orange-dark); }

.dh-checkout-back {
  margin: 8px 0 0;
  font-size: 14px;
  font-weight: 500;
}

.dh-checkout-back a { color: #1773b0; }

.dh-checkout-lines {
  width: 100%;
  border-collapse: collapse;
  border: 0 !important;
  background: transparent !important;
}

.dh-checkout-lines th,
.dh-checkout-lines td {
  padding: 10px 0;
  border: 0 !important;
  background: transparent !important;
  font-size: 14px;
  font-weight: 400;
  color: #333;
}

.dh-checkout-lines tbody tr,
.dh-checkout-lines tfoot tr {
  border: 0 !important;
  background: transparent !important;
}

.dh-checkout-lines tfoot th { color: #333; font-weight: 400; text-align: left; }
.dh-checkout-lines tfoot td { text-align: right; }

.dh-checkout-lines .cart-subtotal th,
.dh-checkout-lines .cart-subtotal td,
.dh-checkout-lines .shipping th,
.dh-checkout-lines .shipping td {
  padding-top: 14px;
  border-top: 1px solid #e6e6e6 !important;
}

.dh-checkout-lines .order-total th,
.dh-checkout-lines .order-total td {
  padding-top: 18px;
  font-size: 20px;
  font-weight: 500;
  color: #333;
  border-top: 1px solid #e6e6e6 !important;
}

.dh-checkout-lines .order-total small,
.dh-checkout-lines .order-total .includes_tax,
.dh-checkout-lines .order-total .woocommerce-Price-suffix {
  display: none !important;
}

.dh-checkout-tax-note td {
  padding-top: 4px !important;
  color: #737373;
  font-size: 12px !important;
  font-weight: 400 !important;
  text-align: right;
  border: 0 !important;
}

.dh-checkout-coupon-row td {
  padding: 16px 0 !important;
  border: 0 !important;
}

.dh-checkout-line {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
}

.dh-checkout-line__media {
  position: relative;
  width: 64px;
  height: 64px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  background: #fff;
  overflow: visible;
}

.dh-checkout-line__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.dh-checkout-line__qty {
  position: absolute;
  top: -8px;
  right: -8px;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(114, 114, 114, 0.9);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.dh-checkout-line__body strong {
  display: block;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  color: #333;
}

.dh-checkout-line__price {
  font-weight: 500;
  white-space: nowrap;
  color: #333;
}

.dh-checkout-coupon__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  margin: 8px 0 18px;
}

.dh-checkout-coupon__input {
  height: 48px;
  border: 1px solid #d9d9d9;
  border-radius: 5px;
  padding: 0 12px;
  font: 400 14px var(--dh-font);
  background: #fff;
  color: #333;
}

.dh-checkout-coupon__input:focus {
  outline: none;
  border-color: #1773b0;
  box-shadow: 0 0 0 1px #1773b0;
}

.dh-checkout-coupon__apply {
  height: 48px;
  padding: 0 18px;
  background: #f5f5f5;
  border: 1px solid #d9d9d9;
  border-radius: 5px;
  color: #333;
  font-weight: 500;
}

body.dh-checkout-layout .dh-checkout-coupon__apply.dh-btn {
  background: #f5f5f5;
  border: 1px solid #d9d9d9;
  border-radius: 5px;
  color: #333;
  box-shadow: none;
  font-weight: 500;
}

body.dh-checkout-layout .dh-checkout-coupon__apply.dh-btn:hover {
  background: #eee;
  color: #333;
}

.dh-checkout-coupon__applied {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.dh-checkout-coupon__applied li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: var(--dh-r-sm);
  background: #fff7ed;
  color: var(--dh-orange-dark);
  font-size: 12px;
  font-weight: 700;
}

.dh-checkout-coupon__remove {
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
}

.dh-checkout-coupon__msg {
  margin: 6px 0 0;
  font-size: 13px;
  font-weight: 650;
}

.dh-checkout-coupon__msg.is-error { color: #b91c1c; }
.dh-checkout-coupon__msg.is-ok { color: #15803d; }

.dh-checkout-trust {
  list-style: none;
  margin: 18px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid #e2e8f0;
  color: #475569;
  font-size: 13px;
  font-weight: 600;
  display: grid;
  gap: 8px;
}

.dh-checkout-trust li {
  padding-left: 18px;
  position: relative;
}

.dh-checkout-trust li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 8px;
  height: 8px;
  border-radius: var(--dh-r-full);
  background: #16a34a;
}

.dh-checkout-summary-toggle,
.dh-checkout-paybar {
  display: none;
}

body.dh-checkout-layout .woocommerce-form-coupon-toggle,
body.dh-checkout-layout form.checkout_coupon:not(.dh-checkout-coupon) {
  display: none;
}

body.dh-checkout-layout .woocommerce-error,
body.dh-checkout-layout .woocommerce-message,
body.dh-checkout-layout .woocommerce-info {
  list-style: none;
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: var(--dh-r-md);
  border: 1px solid #fecaca;
  background: #fef2f2;
  color: #991b1b;
  font-size: 14px;
  font-weight: 650;
}

body.dh-checkout-layout .woocommerce-message,
body.dh-checkout-layout .woocommerce-info {
  border-color: #bbf7d0;
  background: #f0fdf4;
  color: #166534;
}

body.dh-checkout-layout .woocommerce-error::before,
body.dh-checkout-layout .woocommerce-message::before,
body.dh-checkout-layout .woocommerce-info::before {
  content: none !important;
  display: none !important;
}

body.dh-checkout-layout .blockUI.blockOverlay {
  background: rgba(255, 255, 255, 0.55) !important;
}

.dh-thanks {
  width: min(100% - 40px, 880px);
  margin: 32px auto 64px;
}

.dh-thanks__kicker {
  margin: 0 0 6px;
  color: var(--dh-orange);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dh-thanks__title {
  margin: 0 0 8px;
  font-size: 32px;
  letter-spacing: -0.03em;
}

.dh-thanks__lead { margin: 0 0 12px; color: var(--dh-muted); max-width: 52ch; }
.dh-thanks__number { margin: 0; font-weight: 650; }
.dh-thanks__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 8px;
}

.dh-thanks-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
  color: var(--dh-muted);
}

.dh-thanks-steps strong { display: block; color: var(--dh-ink); }
.dh-thanks-address { font-style: normal; line-height: 1.5; }
.dh-thanks__actions { display: flex; gap: 10px; flex-wrap: wrap; }

body.dh-cart-layout .dh-footer-cta,
body.dh-cart-layout .wd-checkout-steps,
body.dh-cart-layout .woocommerce-checkout-steps,
body.dh-cart-layout .checkout-steps,
body.dh-cart-layout .xts-checkout-steps,
body.dh-cart-layout .wd-page-title,
body.dh-cart-layout .cross-sells,
body.dh-cart-layout .elementor,
body.dh-cart-layout [class*="whatsapp"],
body.dh-cart-layout .joinchat,
body.dh-cart-layout .woodmart-cart-totals,
body.dh-cart-layout .wd-cart-sidebar,
body.dh-cart-layout .cart-empty,
body.dh-cart-layout .return-to-shop,
body.dh-cart-layout .wc-empty-cart-message {
  display: none !important;
}

.dh-bag {
  padding: 8px 0 56px;
}

body.dh-cart-layout .woocommerce,
body.dh-cart-layout .woocommerce-cart-form,
body.dh-cart-layout .cart-collaterals,
body.dh-cart-layout .cart_totals {
  width: 100% !important;
  max-width: none !important;
  float: none !important;
}

.dh-bag__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 28px;
}

.dh-bag__head h1 {
  margin: 0;
  font-size: 32px;
  letter-spacing: -0.04em;
}

.dh-bag__count {
  margin: 4px 0 0;
  color: var(--dh-muted);
  font-size: 14px;
  font-weight: 600;
}

.dh-bag__continue {
  color: var(--dh-muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.dh-bag__continue:hover { color: var(--dh-ink); }

.dh-bag__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 40px;
  align-items: start;
}

.dh-bag-line {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) auto auto;
  gap: 16px 18px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--dh-line);
}

.dh-bag-line:first-child { padding-top: 0; }

.dh-bag-line__media {
  width: 88px;
  height: 88px;
  border: 1px solid var(--dh-line);
  border-radius: var(--dh-r-md);
  background: #f8fafc;
  overflow: hidden;
}

.dh-bag-line__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.dh-bag-line__title {
  display: block;
  color: var(--dh-ink);
  font-size: 15px;
  font-weight: 750;
  line-height: 1.35;
  text-decoration: none;
}

.dh-bag-line__title:hover { color: var(--dh-orange); }

.dh-bag-line__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  margin-top: 10px;
}

.dh-bag-line__view {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 12px;
  border: 1px solid var(--dh-line);
  border-radius: var(--dh-r-sm);
  background: #fff;
  color: var(--dh-ink);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
  line-height: 1;
}

.dh-bag-line__view:hover {
  border-color: var(--dh-orange);
  color: var(--dh-orange);
  text-decoration: none;
}

.dh-bag-line__remove {
  display: inline-block;
  margin-top: 0;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}

.dh-bag-line__remove:hover { color: var(--dh-ink); }

.dh-bag-line__price {
  font-size: 16px;
  font-weight: 800;
  white-space: nowrap;
  min-width: 5.5rem;
  text-align: right;
}

.dh-bag-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--dh-line);
  border-radius: var(--dh-r-md);
  background: #fff;
  overflow: hidden;
}

.dh-bag-qty .quantity { margin: 0; }
.dh-bag-qty .quantity .minus,
.dh-bag-qty .quantity .plus { display: none; }
.dh-bag-qty .qty {
  width: 42px;
  height: 40px;
  border: 0;
  text-align: center;
  font: 700 15px var(--dh-font);
  background: transparent;
  -moz-appearance: textfield;
}
.dh-bag-qty .qty::-webkit-outer-spin-button,
.dh-bag-qty .qty::-webkit-inner-spin-button { appearance: none; }
.dh-bag-qty__btn {
  width: 36px;
  height: 40px;
  border: 0;
  background: none;
  color: var(--dh-ink);
  font: 700 18px/1 var(--dh-font);
  cursor: pointer;
}
.dh-bag-qty__btn:hover { background: #f8fafc; }

.dh-bag-actions { padding: 0; }
.dh-bag-update { display: none !important; }

.dh-bag__aside {
  position: sticky;
  top: 88px;
  border: 1px solid var(--dh-line);
  border-radius: var(--dh-r-lg);
  padding: 22px;
  background: #fff;
  box-shadow: 0 8px 30px rgba(15, 23, 42, .04);
}

.dh-bag__aside h2 {
  margin: 0 0 14px;
  font-size: 18px;
  letter-spacing: -0.03em;
}

.dh-bag-ship {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: var(--dh-r-md);
  background: #f0fdf4;
}

.dh-bag-ship__track {
  height: 6px;
  border-radius: var(--dh-r-pill);
  background: #dcfce7;
  overflow: hidden;
}

.dh-bag-ship__fill {
  height: 100%;
  background: #16a34a;
  border-radius: var(--dh-r-pill);
}

.dh-bag-ship p {
  margin: 8px 0 0;
  font-size: 13px;
  font-weight: 700;
  color: #166534;
}

.dh-bag__aside table { width: 100%; border-collapse: collapse; }
.dh-bag__aside th,
.dh-bag__aside td {
  padding: 8px 0;
  text-align: left;
  font-size: 14px;
  font-weight: 600;
  border: 0;
  background: none;
}
.dh-bag__aside td { text-align: right; }
.dh-bag__aside .shipping td { color: #16a34a; font-weight: 800; }
.dh-bag__aside .order-total th,
.dh-bag__aside .order-total td {
  padding-top: 12px;
  border-top: 1px solid var(--dh-line);
  font-size: 18px;
  font-weight: 800;
}

.dh-bag-vat {
  margin: -4px 0 16px;
  text-align: right;
  font-size: 12px;
  font-weight: 650;
  color: #94a3b8;
}

.dh-bag__aside .wc-proceed-to-checkout { margin: 0; }
.dh-bag__aside .checkout-button,
.dh-bag__aside .wc-proceed-to-checkout a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 50px;
  border: 0;
  border-radius: var(--dh-r-sm);
  background: var(--dh-orange);
  color: #fff;
  font: 800 16px var(--dh-font);
  text-decoration: none;
}
.dh-bag__aside .checkout-button:hover { background: var(--dh-orange-dark); color: #fff; }

#mollie-applepayDirect-button:not(:has(apple-pay-button, .apple-pay-button)) {
  height: 0;
  margin: 0;
  overflow: hidden;
}

#mollie-applepayDirect-button:has(apple-pay-button, .apple-pay-button) {
  margin: 12px 0 0;
}

#mollie-applepayDirect-button apple-pay-button,
#mollie-applepayDirect-button .apple-pay-button {
  display: block;
  width: 100%;
  height: 48px;
  border-radius: var(--dh-r-sm);
  overflow: hidden;
}

.dh-checkout-express {
  margin: 0 0 8px;
}

.dh-checkout-express__label {
  margin: 0 0 12px;
  font-size: 21px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.dh-checkout-express:not(:has(apple-pay-button, .apple-pay-button)) {
  margin: 0;
}

.dh-checkout-express:not(:has(apple-pay-button, .apple-pay-button)) .dh-checkout-express__label {
  display: none;
}

.dh-checkout-express:has(apple-pay-button, .apple-pay-button) {
  margin: 0 0 24px;
}

.dh-checkout-express:has(apple-pay-button, .apple-pay-button)::after {
  content: "OF";
  display: block;
  margin: 18px 0 4px;
  color: #737373;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-align: center;
}

.dh-bag__aside .dh-pdp-pay {
  justify-content: center;
  margin: 14px 0 0;
}

.dh-bag-trust {
  list-style: none;
  margin: 16px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--dh-line);
  display: grid;
  gap: 8px;
  color: var(--dh-muted);
  font-size: 13px;
  font-weight: 650;
}

.dh-bag-trust li {
  position: relative;
  padding-left: 18px;
}

.dh-bag-trust li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 10px;
  height: 10px;
  border-radius: var(--dh-r-full);
  background: #dcfce7;
  box-shadow: inset 0 0 0 3px #16a34a;
}

.dh-bag-coupon {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--dh-line);
}

.dh-bag-coupon summary {
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  color: var(--dh-muted);
}

.dh-bag-coupon .dh-checkout-coupon { margin-top: 10px; }

.dh-bag--empty {
  text-align: center;
  padding: 64px 0 80px;
}
.dh-bag--empty h1 { margin: 0 0 8px; }
.dh-bag--empty p { color: var(--dh-muted); margin: 0 0 18px; }

body.dh-checkout-layout .woocommerce-Price-suffix,
.dh-checkout-lines .woocommerce-Price-suffix,
.dh-bag .woocommerce-Price-suffix {
  display: none;
}

@media (max-width: 999px) {
  body.dh-checkout-layout .dh-checkout.is-summary-open .woocommerce-checkout-review-order,
  body.dh-checkout-layout .dh-checkout.is-summary-open #order_review {
    position: static !important;
    max-width: none !important;
    width: 100% !important;
  }

  .dh-checkout-summary-toggle {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border: 0;
    border-bottom: 1px solid #e6e6e6;
    background: #f5f5f5;
    font: 700 14px var(--dh-font);
    color: var(--dh-ink);
    cursor: pointer;
    text-align: left;
  }

  .dh-checkout-summary-toggle__label { display: grid; gap: 2px; }
  .dh-checkout-summary-toggle__count {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
  }
  .dh-checkout-summary-toggle__close { display: none; }
  .dh-checkout-summary-toggle[aria-expanded="true"] .dh-checkout-summary-toggle__open { display: none; }
  .dh-checkout-summary-toggle[aria-expanded="true"] .dh-checkout-summary-toggle__close { display: inline; }
  .dh-checkout-summary-toggle__total { font-size: 16px; font-weight: 800; }

  .dh-checkout-card__title--aside { display: none; }

  .dh-checkout-paybar {
    display: flex;
    position: sticky;
    bottom: 0;
    z-index: 30;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: #fff;
    border-top: 1px solid var(--dh-line);
    box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.08);
  }

  .dh-checkout-paybar__total {
    margin: 0;
    display: grid;
    font-size: 12px;
    color: #64748b;
  }

  .dh-checkout-paybar__total strong {
    font-size: 18px;
    color: var(--dh-ink);
  }

  .dh-checkout-paybar__btn {
    height: 46px;
    padding: 0 18px;
  }

  body.dh-checkout-layout #place_order { display: none; }

  .dh-thanks__grid,
  .dh-bag__grid {
    grid-template-columns: 1fr;
  }

  .dh-bag-line {
    grid-template-columns: 72px minmax(0, 1fr) auto;
  }
  .dh-bag-qty { grid-column: 2; }
  .dh-bag-line__price {
    grid-column: 3;
    grid-row: 1;
    align-self: start;
  }
  .dh-bag__aside { position: static; }

  body.dh-checkout-layout .dh-header-main .dh-wrap,
  body.dh-checkout-layout .dh-header-main__inner {
    padding-inline: 16px !important;
  }
}

@media (min-width: 1000px) {
  body.woocommerce-checkout.dh-checkout-layout:not(.dh-checkout-layout--thanks) form.checkout.woocommerce-checkout.dh-checkout__form,
  body.dh-checkout-pro.dh-checkout-layout:not(.dh-checkout-layout--thanks) form.checkout.woocommerce-checkout.dh-checkout__form {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    grid-template-areas: "primary aside" !important;
    min-height: calc(100vh - 73px);
  }

  body.woocommerce-checkout.dh-checkout-layout .dh-checkout__primary,
  body.dh-checkout-pro.dh-checkout-layout .dh-checkout__primary,
  body.woocommerce-checkout.dh-checkout-layout form.checkout.dh-checkout__form > .dh-checkout__primary,
  body.dh-checkout-pro.dh-checkout-layout form.checkout.dh-checkout__form > .dh-checkout__primary {
    grid-area: primary;
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    flex: 1 1 auto !important;
    padding: 12px var(--dh-co-gutter) 56px var(--dh-co-outer) !important;
    order: 1 !important;
  }

  body.woocommerce-checkout.dh-checkout-layout .dh-checkout__primary > *,
  body.dh-checkout-pro.dh-checkout-layout .dh-checkout__primary > * {
    width: 100%;
    max-width: var(--dh-co-form) !important;
  }

  body.woocommerce-checkout.dh-checkout-layout .dh-checkout__aside,
  body.dh-checkout-pro.dh-checkout-layout .dh-checkout__aside,
  body.woocommerce-checkout.dh-checkout-layout form.checkout.dh-checkout__form > .dh-checkout__aside,
  body.dh-checkout-pro.dh-checkout-layout form.checkout.dh-checkout__form > .dh-checkout__aside {
    display: block !important;
    grid-area: aside;
    position: relative !important;
    width: auto !important;
    max-width: none !important;
    min-height: 100% !important;
    padding: 40px var(--dh-co-outer) 56px var(--dh-co-gutter) !important;
    border-left: 1px solid #e6e6e6 !important;
    order: 2 !important;
  }

  body.dh-checkout-layout .woocommerce-billing-fields__field-wrapper,
  body.dh-checkout-layout .woocommerce-shipping-fields__field-wrapper,
  body.dh-checkout-layout .woocommerce-additional-fields__field-wrapper {
    grid-template-columns: 1fr 1fr;
  }

  body.dh-checkout-layout .form-row-first,
  body.dh-checkout-layout .form-row-last {
    grid-column: auto;
  }

  body.dh-checkout-layout:not(.dh-checkout-layout--thanks) {
    background: linear-gradient(90deg, #ffffff 50%, #f5f5f5 50%);
  }

  body.dh-checkout-layout:not(.dh-checkout-layout--thanks) .dh-header,
  body.dh-checkout-layout:not(.dh-checkout-layout--thanks) .dh-header-main {
    background: linear-gradient(90deg, #ffffff 50%, #f5f5f5 50%);
  }

  body.dh-checkout-layout .dh-header-main .dh-wrap,
  body.dh-checkout-layout .dh-header-main__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: end;
    width: 100%;
    max-width: none;
    min-height: 0;
    padding: 0;
    gap: 0;
  }

  body.dh-checkout-layout .dh-header-left {
    grid-column: 1;
    display: flex;
    justify-content: flex-start;
    justify-self: stretch;
    width: 100%;
    max-width: none;
    padding: 36px var(--dh-co-gutter) 8px var(--dh-co-outer);
  }

  body.dh-checkout-layout .dh-header .dh-logo {
    width: 100%;
    max-width: var(--dh-co-form);
  }

  body.dh-checkout-layout .dh-co-meta {
    grid-column: 2;
    width: 100%;
    max-width: none;
    padding: 36px var(--dh-co-outer) 8px var(--dh-co-gutter);
    justify-content: flex-start;
  }

  body.dh-checkout-layout .dh-co-cart {
    width: 100%;
    max-width: var(--dh-co-sum);
    justify-content: flex-end;
  }

  body.dh-checkout-layout:not(.dh-checkout-layout--thanks) .dh-footer {
    width: 50%;
    background: transparent;
    padding: 0;
  }

  body.dh-checkout-layout:not(.dh-checkout-layout--thanks) .dh-footer .dh-copy {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 var(--dh-co-gutter) 32px var(--dh-co-outer);
  }

  body.dh-checkout-layout:not(.dh-checkout-layout--thanks) .dh-footer .dh-copy > * {
    width: 100%;
    max-width: var(--dh-co-form);
  }

  body.dh-checkout-layout .dh-checkout__aside .woocommerce-checkout-review-order,
  body.dh-checkout-layout .woocommerce-checkout #order_review {
    position: sticky;
    top: 32px;
    max-width: var(--dh-co-sum) !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
  }
}
