/*
 * UNDREAM public shell and commerce surfaces
 *
 * This is intentionally scoped to the body class added by the plugin. It is a
 * theme-safe layer for WooCommerce's classic templates and Blocks markup;
 * payment iframes remain owned and styled by the payment provider.
 */
.dreamprotocol-public-page {
  --undream-background: #11110f;
  --undream-foreground: #f1efe8;
  --undream-muted-foreground: #aaa9a2;
  --undream-border: rgba(241, 239, 232, .2);
  --undream-focus: #f1efe8;
}

.dreamprotocol-commerce-page {
  --undream-background: #11110f;
  --undream-foreground: #f1efe8;
  --undream-muted-foreground: #aaa9a2;
  --undream-border: rgba(241, 239, 232, .2);
  --undream-focus: #f1efe8;
  background: var(--undream-background);
  color: var(--undream-foreground);
  color-scheme: dark;
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.dreamprotocol-commerce-page:has(#dreamprotocol-theme-light:checked) {
  --undream-background: #ebe9e2;
  --undream-foreground: #161614;
  --undream-muted-foreground: #63635e;
  --undream-border: rgba(22, 22, 20, .22);
  --undream-focus: #161614;
  color-scheme: light;
}

/*
 * Twenty Twenty-Five can still emit its registered header wrapper when a
 * block-template render path bypasses `pre_render_block`. Keep this fallback
 * limited to the allowlisted theme class and the exact top-level wrapper so
 * content headers elsewhere in the document remain untouched.
 */
body.dreamprotocol-public-page.dreamprotocol-supported-twentytwentyfive > div.wp-site-blocks > header.wp-block-template-part {
  display: none !important;
}

.dreamprotocol-public-page .dreamprotocol-commerce-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  min-height: 72px;
  border-bottom: 1px solid var(--undream-border);
  background: var(--undream-background);
  background: color-mix(in srgb, var(--undream-background) 94%, transparent);
  color: var(--undream-foreground);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.dreamprotocol-public-page .dreamprotocol-commerce-header-inner {
  display: flex;
  width: min(calc(100% - 48px), 1440px);
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-inline: auto;
}

.dreamprotocol-public-page .dreamprotocol-commerce-brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: baseline;
  gap: 6px;
  color: var(--undream-foreground);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .1em;
  line-height: 1;
  text-decoration: none;
}

.dreamprotocol-public-page .dreamprotocol-commerce-brand img {
  display: block;
  width: auto;
  max-width: 176px;
  height: auto;
  max-height: 28px;
}

.dreamprotocol-public-page .dreamprotocol-commerce-brand-name {
  letter-spacing: .12em;
}

.dreamprotocol-public-page .dreamprotocol-commerce-brand-subtitle {
  color: var(--undream-muted-foreground);
  font-size: 8px;
  font-weight: 400;
  letter-spacing: .16em;
}

.dreamprotocol-public-page .dreamprotocol-commerce-desktop-nav,
.dreamprotocol-public-page .dreamprotocol-commerce-header-actions {
  display: flex;
  align-items: center;
}

.dreamprotocol-public-page .dreamprotocol-commerce-desktop-nav {
  gap: clamp(18px, 2.4vw, 36px);
  margin-left: auto;
}

.dreamprotocol-public-page .dreamprotocol-commerce-desktop-nav a,
.dreamprotocol-public-page .dreamprotocol-commerce-cart-link,
.dreamprotocol-public-page .dreamprotocol-commerce-checkout-link,
.dreamprotocol-public-page .dreamprotocol-commerce-mobile-nav a {
  color: var(--undream-foreground);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  transition: opacity .2s ease;
}

.dreamprotocol-public-page .dreamprotocol-commerce-desktop-nav a:hover,
.dreamprotocol-public-page .dreamprotocol-commerce-desktop-nav a:focus-visible,
.dreamprotocol-public-page .dreamprotocol-commerce-cart-link:hover,
.dreamprotocol-public-page .dreamprotocol-commerce-cart-link:focus-visible,
.dreamprotocol-public-page .dreamprotocol-commerce-checkout-link:hover,
.dreamprotocol-public-page .dreamprotocol-commerce-checkout-link:focus-visible,
.dreamprotocol-public-page .dreamprotocol-commerce-mobile-nav a:hover,
.dreamprotocol-public-page .dreamprotocol-commerce-mobile-nav a:focus-visible {
  opacity: .68;
}

.dreamprotocol-public-page .dreamprotocol-commerce-header-actions {
  flex: 0 0 auto;
  gap: clamp(14px, 2vw, 28px);
}

.dreamprotocol-public-page .dreamprotocol-commerce-theme-control {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}

.dreamprotocol-public-page .dreamprotocol-commerce-theme-control label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--undream-muted-foreground);
  cursor: pointer;
  font-size: 9px;
  letter-spacing: .12em;
  line-height: 1;
  text-transform: uppercase;
}

.dreamprotocol-public-page .dreamprotocol-commerce-theme-control input {
  appearance: none;
  width: 8px;
  height: 8px;
  margin: 0;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.dreamprotocol-public-page .dreamprotocol-commerce-theme-control input:checked {
  background: currentColor;
  box-shadow: 0 0 0 2px var(--undream-background), 0 0 0 3px currentColor;
}

.dreamprotocol-public-page .dreamprotocol-commerce-mobile-menu {
  display: none;
}

.dreamprotocol-public-page .dreamprotocol-commerce-header :focus-visible {
  outline: 2px solid var(--undream-focus);
  outline-offset: 4px;
}

.dreamprotocol-public-page .dreamprotocol-commerce-theme-control input:focus-visible {
  outline-offset: 4px;
}

.dreamprotocol-public-page .dreamprotocol-commerce-header .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.dreamprotocol-commerce-page .site-main,
.dreamprotocol-commerce-page main,
.dreamprotocol-commerce-page .content-area,
.dreamprotocol-commerce-page .wp-block-woocommerce-cart,
.dreamprotocol-commerce-page .wp-block-woocommerce-checkout {
  background: var(--undream-background);
  color: var(--undream-foreground);
}

.dreamprotocol-commerce-page .woocommerce {
  width: min(calc(100% - 48px), 1180px);
  margin-inline: auto;
  padding: clamp(32px, 4vw, 64px) 0 88px;
}

/* WooCommerce Blocks does not add the classic `.woocommerce` wrapper. */
.dreamprotocol-commerce-page .wp-block-woocommerce-cart,
.dreamprotocol-commerce-page .wp-block-woocommerce-checkout {
  width: min(calc(100% - 48px), 1180px);
  margin-inline: auto;
  padding: clamp(32px, 4vw, 64px) 0 88px;
}

.dreamprotocol-commerce-page .woocommerce h1,
.dreamprotocol-commerce-page .woocommerce h2,
.dreamprotocol-commerce-page .woocommerce h3,
.dreamprotocol-commerce-page .woocommerce h4,
.dreamprotocol-commerce-page .wp-block-woocommerce-cart h1,
.dreamprotocol-commerce-page .wp-block-woocommerce-cart h2,
.dreamprotocol-commerce-page .wp-block-woocommerce-cart h3,
.dreamprotocol-commerce-page .wp-block-woocommerce-checkout h1,
.dreamprotocol-commerce-page .wp-block-woocommerce-checkout h2,
.dreamprotocol-commerce-page .wp-block-woocommerce-checkout h3 {
  color: var(--undream-foreground);
  font-weight: 400;
}

.dreamprotocol-commerce-page .woocommerce h1.page-title,
.dreamprotocol-commerce-page .woocommerce h1.entry-title,
.dreamprotocol-commerce-page .wp-block-woocommerce-cart > h1,
.dreamprotocol-commerce-page .wp-block-woocommerce-checkout > h1 {
  max-width: 11ch;
  margin: 0 0 clamp(28px, 4vw, 48px);
  padding-bottom: clamp(20px, 3vw, 34px);
  border-bottom: 1px solid var(--undream-border);
  font-size: clamp(3.2rem, 8vw, 7.4rem);
  letter-spacing: -.075em;
  line-height: .88;
}

.dreamprotocol-commerce-page .woocommerce h2,
.dreamprotocol-commerce-page .woocommerce h3 {
  font-size: 11px;
  letter-spacing: .17em;
  line-height: 1.4;
  text-transform: uppercase;
}

.dreamprotocol-commerce-page .woocommerce a:not(.button) {
  color: var(--undream-foreground);
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

.dreamprotocol-commerce-page .woocommerce a:not(.button):hover,
.dreamprotocol-commerce-page .woocommerce a:not(.button):focus-visible {
  color: var(--undream-muted-foreground);
}

.dreamprotocol-commerce-page .woocommerce a.button,
.dreamprotocol-commerce-page .woocommerce button.button,
.dreamprotocol-commerce-page .woocommerce input.button,
.dreamprotocol-commerce-page .woocommerce #respond input#submit,
.dreamprotocol-commerce-page .wc-block-components-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid var(--undream-foreground) !important;
  border-radius: 0 !important;
  background: var(--undream-foreground) !important;
  box-shadow: none !important;
  color: var(--undream-background) !important;
  font: inherit;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .16em;
  line-height: 1.2;
  text-transform: uppercase;
  text-decoration: none;
  text-shadow: none !important;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.dreamprotocol-commerce-page .woocommerce a.button:hover,
.dreamprotocol-commerce-page .woocommerce a.button:focus-visible,
.dreamprotocol-commerce-page .woocommerce button.button:hover:not(:disabled),
.dreamprotocol-commerce-page .woocommerce button.button:focus-visible,
.dreamprotocol-commerce-page .woocommerce input.button:hover:not(:disabled),
.dreamprotocol-commerce-page .woocommerce input.button:focus-visible,
.dreamprotocol-commerce-page .woocommerce #respond input#submit:hover,
.dreamprotocol-commerce-page .woocommerce #respond input#submit:focus-visible,
.dreamprotocol-commerce-page .wc-block-components-button:hover,
.dreamprotocol-commerce-page .wc-block-components-button:focus-visible {
  border-color: var(--undream-muted-foreground) !important;
  background: transparent !important;
  color: var(--undream-foreground) !important;
}

.dreamprotocol-commerce-page .woocommerce button.button:disabled,
.dreamprotocol-commerce-page .woocommerce input.button:disabled,
.dreamprotocol-commerce-page .wc-block-components-button:disabled {
  cursor: wait;
  opacity: .62;
}

.dreamprotocol-commerce-page .woocommerce :focus-visible,
.dreamprotocol-commerce-page .wc-block-components-button:focus-visible {
  outline: 2px solid var(--undream-focus);
  outline-offset: 4px;
}

.dreamprotocol-commerce-page .woocommerce table.shop_table {
  width: 100%;
  border: 0;
  border-collapse: collapse;
  border-spacing: 0;
  color: var(--undream-foreground);
}

.dreamprotocol-commerce-page .wc-block-cart-items {
  width: 100%;
  border: 0;
  border-collapse: collapse;
  color: var(--undream-foreground);
}

.dreamprotocol-commerce-page .wc-block-cart-items th,
.dreamprotocol-commerce-page .wc-block-cart-items td {
  border-color: var(--undream-border);
  background: transparent;
  color: var(--undream-foreground);
}

.dreamprotocol-commerce-page .wc-block-cart-items th {
  color: var(--undream-muted-foreground);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.dreamprotocol-commerce-page .wc-block-cart-items .wc-block-cart-item__product {
  font-size: 13px;
  line-height: 1.5;
}

.dreamprotocol-commerce-page .woocommerce table.shop_table th,
.dreamprotocol-commerce-page .woocommerce table.shop_table td {
  padding: 18px 12px;
  border: 0;
  border-bottom: 1px solid var(--undream-border);
  background: transparent;
  text-align: left;
  vertical-align: middle;
}

.dreamprotocol-commerce-page .woocommerce table.shop_table th {
  color: var(--undream-muted-foreground);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.dreamprotocol-commerce-page .woocommerce table.shop_table td {
  font-size: 13px;
  line-height: 1.5;
}

.dreamprotocol-commerce-page .woocommerce table.shop_table td:first-child,
.dreamprotocol-commerce-page .woocommerce table.shop_table th:first-child {
  padding-left: 0;
}

.dreamprotocol-commerce-page .woocommerce table.shop_table td:last-child,
.dreamprotocol-commerce-page .woocommerce table.shop_table th:last-child {
  padding-right: 0;
}

.dreamprotocol-commerce-page .woocommerce-cart-form {
  overflow-x: auto;
}

.dreamprotocol-commerce-page .woocommerce-cart-form table.shop_table {
  min-width: 640px;
}

.dreamprotocol-commerce-page .woocommerce-cart-form__cart-item .product-thumbnail img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border: 1px solid var(--undream-border);
  background: rgba(241, 239, 232, .04);
}

.dreamprotocol-commerce-page .woocommerce .quantity .qty,
.dreamprotocol-commerce-page .woocommerce form .form-row input.input-text,
.dreamprotocol-commerce-page .woocommerce form .form-row textarea,
.dreamprotocol-commerce-page .woocommerce form .form-row select,
.dreamprotocol-commerce-page .woocommerce form select,
.dreamprotocol-commerce-page .select2-container .select2-selection--single,
.dreamprotocol-commerce-page .wc-block-components-text-input input,
.dreamprotocol-commerce-page .wc-block-components-combobox .wc-block-components-combobox-control input,
.dreamprotocol-commerce-page .wc-block-components-select select {
  box-sizing: border-box;
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--undream-border) !important;
  border-radius: 0 !important;
  background: var(--undream-background) !important;
  box-shadow: none !important;
  color: var(--undream-foreground) !important;
  font: inherit;
  font-size: 13px;
}

.dreamprotocol-commerce-page .woocommerce .quantity .qty {
  width: 72px;
}

.dreamprotocol-commerce-page .woocommerce .quantity .qty:focus,
.dreamprotocol-commerce-page .woocommerce form .form-row input.input-text:focus,
.dreamprotocol-commerce-page .woocommerce form .form-row textarea:focus,
.dreamprotocol-commerce-page .woocommerce form .form-row select:focus,
.dreamprotocol-commerce-page .select2-container--focus .select2-selection--single,
.dreamprotocol-commerce-page .wc-block-components-text-input input:focus,
.dreamprotocol-commerce-page .wc-block-components-combobox .wc-block-components-combobox-control input:focus,
.dreamprotocol-commerce-page .wc-block-components-select select:focus {
  border-color: var(--undream-muted-foreground) !important;
  outline: 2px solid var(--undream-focus);
  outline-offset: 3px;
}

.dreamprotocol-commerce-page .woocommerce form .form-row {
  margin: 0 0 18px;
  padding: 0;
}

.dreamprotocol-commerce-page .woocommerce form .form-row label,
.dreamprotocol-commerce-page .wc-block-components-text-input label,
.dreamprotocol-commerce-page .wc-block-components-combobox label,
.dreamprotocol-commerce-page .wc-block-components-select label {
  display: block;
  margin: 0 0 8px;
  color: var(--undream-muted-foreground);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .04em;
  line-height: 1.4;
}

.dreamprotocol-commerce-page .woocommerce form .form-row.woocommerce-invalid label,
.dreamprotocol-commerce-page .woocommerce form .form-row label abbr.required,
.dreamprotocol-commerce-page .woocommerce form .form-row .required {
  color: var(--undream-foreground);
}

.dreamprotocol-commerce-page .woocommerce form .form-row .woocommerce-input-wrapper {
  display: block;
  width: 100%;
}

.dreamprotocol-commerce-page .woocommerce form .form-row .select2-selection__rendered {
  padding: 0;
  color: var(--undream-foreground);
  line-height: 44px;
}

.dreamprotocol-commerce-page .woocommerce form .form-row .select2-selection__arrow {
  height: 44px;
}

.dreamprotocol-commerce-page .woocommerce .woocommerce-info,
.dreamprotocol-commerce-page .woocommerce .woocommerce-message,
.dreamprotocol-commerce-page .woocommerce .woocommerce-error {
  margin: 0 0 24px;
  padding: 14px 16px;
  border: 1px solid var(--undream-border);
  border-top: 1px solid var(--undream-border);
  background: transparent;
  color: var(--undream-foreground);
  font-size: 12px;
  line-height: 1.5;
}

.dreamprotocol-commerce-page .woocommerce .woocommerce-error {
  border-color: currentColor;
}

.dreamprotocol-commerce-page .woocommerce .woocommerce-message::before,
.dreamprotocol-commerce-page .woocommerce .woocommerce-info::before,
.dreamprotocol-commerce-page .woocommerce .woocommerce-error::before {
  display: none;
}

.dreamprotocol-commerce-page .woocommerce-cart .cart-collaterals {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 36%);
  gap: clamp(32px, 6vw, 96px);
  margin-top: 48px;
}

.dreamprotocol-commerce-page .wc-block-cart__main,
.dreamprotocol-commerce-page .wc-block-cart__sidebar,
.dreamprotocol-commerce-page .wc-block-components-sidebar {
  min-width: 0;
}

.dreamprotocol-commerce-page .wc-block-cart__main {
  padding-right: clamp(0px, 5vw, 60px);
}

.dreamprotocol-commerce-page .wc-block-cart__sidebar,
.dreamprotocol-commerce-page .wc-block-components-sidebar {
  padding-left: clamp(0px, 5vw, 60px);
  border-left: 1px solid var(--undream-border);
}

.dreamprotocol-commerce-page .wc-block-cart__submit-container {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--undream-border);
}

.dreamprotocol-commerce-page .woocommerce-cart .cart_totals {
  width: auto;
  padding-top: 22px;
  border-top: 1px solid var(--undream-border);
}

.dreamprotocol-commerce-page .woocommerce-cart .cart_totals h2,
.dreamprotocol-commerce-page .woocommerce-checkout h3,
.dreamprotocol-commerce-page .woocommerce-order h2 {
  margin: 0 0 20px;
}

.dreamprotocol-commerce-page .woocommerce-cart .cart_totals table.shop_table {
  margin: 0 0 22px;
}

.dreamprotocol-commerce-page .woocommerce-checkout .col2-set {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 36%);
  gap: clamp(32px, 6vw, 96px);
}

.dreamprotocol-commerce-page .wc-block-components-checkout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 36%);
  gap: clamp(32px, 6vw, 96px);
}

.dreamprotocol-commerce-page .wc-block-components-main {
  min-width: 0;
  padding-right: clamp(0px, 5vw, 60px);
}

.dreamprotocol-commerce-page .wc-block-components-sidebar {
  position: sticky;
  top: 96px;
}

.dreamprotocol-commerce-page .woocommerce-checkout .col-1,
.dreamprotocol-commerce-page .woocommerce-checkout .col-2 {
  float: none;
  width: auto;
}

.dreamprotocol-commerce-page .woocommerce-checkout #customer_details {
  padding-top: 22px;
  border-top: 1px solid var(--undream-border);
}

.dreamprotocol-commerce-page .woocommerce-checkout #order_review_heading {
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid var(--undream-border);
}

.dreamprotocol-commerce-page .woocommerce-checkout #order_review {
  padding: 20px;
  border: 1px solid var(--undream-border);
}

.dreamprotocol-commerce-page .woocommerce-checkout #payment,
.dreamprotocol-commerce-page .woocommerce-checkout .wc_payment_methods {
  margin-top: 24px;
  border-top: 1px solid var(--undream-border);
  border-radius: 0;
  background: transparent;
}

.dreamprotocol-commerce-page .woocommerce-checkout #payment ul.payment_methods {
  padding: 22px 0 0;
  border-bottom: 0;
}

.dreamprotocol-commerce-page .woocommerce-checkout #payment div.payment_box {
  margin: 14px 0;
  padding: 16px;
  border: 1px solid var(--undream-border);
  border-radius: 0;
  background: rgba(241, 239, 232, .04);
  color: var(--undream-foreground);
}

.dreamprotocol-commerce-page .woocommerce-checkout #payment div.payment_box::before {
  display: none;
}

/* Stripe's hosted iframe owns its internal controls. Only frame its host. */
.dreamprotocol-commerce-page .wc-stripe-elements-field,
.dreamprotocol-commerce-page .wc-stripe-iban-element {
  min-height: 46px;
  padding: 13px 12px;
  border: 1px solid var(--undream-border);
  border-radius: 0;
  background: var(--undream-background);
}

/* Keep Woo/CMS control borders in an explicit format for Stripe.js. */
.dreamprotocol-commerce-page #email:not(:focus),
.dreamprotocol-commerce-page #radio-control-wc-payment-method-options-stripe:not(:focus) {
  border-color: rgba(241, 239, 232, .2) !important;
}

.dreamprotocol-commerce-page:has(#dreamprotocol-theme-light:checked) #email:not(:focus),
.dreamprotocol-commerce-page:has(#dreamprotocol-theme-light:checked) #radio-control-wc-payment-method-options-stripe:not(:focus) {
  border-color: rgba(22, 22, 20, .22) !important;
}

.dreamprotocol-commerce-page .woocommerce-order {
  max-width: 680px;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--undream-border);
}

.dreamprotocol-commerce-page .woocommerce-order .woocommerce-thankyou-order-received {
  margin: 0 0 28px;
  color: var(--undream-foreground);
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  font-weight: 400;
  letter-spacing: -.05em;
  line-height: .95;
}

.dreamprotocol-commerce-page .woocommerce-order ul.order_details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 0 0 30px;
  padding: 18px 0;
  border-block: 1px solid var(--undream-border);
}

.dreamprotocol-commerce-page .woocommerce-order ul.order_details::before,
.dreamprotocol-commerce-page .woocommerce-order ul.order_details::after {
  display: none;
}

.dreamprotocol-commerce-page .woocommerce-order ul.order_details li {
  float: none;
  width: auto;
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--undream-muted-foreground);
  font-size: 10px;
  letter-spacing: .14em;
  line-height: 1.5;
  text-transform: uppercase;
}

.dreamprotocol-commerce-page .woocommerce-order ul.order_details li strong {
  display: block;
  margin-top: 5px;
  color: var(--undream-foreground);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .04em;
  text-transform: none;
  overflow-wrap: anywhere;
}

.dreamprotocol-commerce-page .wc-block-components-order-summary,
.dreamprotocol-commerce-page .wc-block-checkout__form,
.dreamprotocol-commerce-page .wc-block-components-checkout-step {
  border-color: var(--undream-border);
  border-radius: 0;
  background: transparent;
  color: var(--undream-foreground);
}

.dreamprotocol-commerce-page .wc-block-components-checkout-step {
  margin: 0 0 32px;
  padding: 22px 0 0;
  border-top: 1px solid var(--undream-border);
}

.dreamprotocol-commerce-page .wc-block-components-order-summary,
.dreamprotocol-commerce-page .wc-block-checkout__form {
  padding: 24px;
}

@media (max-width: 700px) {
  .dreamprotocol-public-page .dreamprotocol-commerce-header,
  .dreamprotocol-public-page .dreamprotocol-commerce-header-inner {
    min-height: 60px;
  }

  .dreamprotocol-public-page .dreamprotocol-commerce-header-inner {
    width: calc(100% - 36px);
  }

  .dreamprotocol-public-page .dreamprotocol-commerce-brand-subtitle {
    display: none;
  }

  .dreamprotocol-public-page .dreamprotocol-commerce-desktop-nav {
    display: none;
  }

  .dreamprotocol-public-page .dreamprotocol-commerce-header-actions {
    gap: 9px;
  }

  .dreamprotocol-public-page .dreamprotocol-commerce-checkout-link {
    display: none;
  }

  .dreamprotocol-public-page .dreamprotocol-commerce-mobile-menu {
    position: relative;
    display: block;
  }

  .dreamprotocol-public-page .dreamprotocol-commerce-mobile-menu summary {
    display: flex;
    width: 44px;
    min-height: 44px;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    list-style: none;
  }

  .dreamprotocol-public-page .dreamprotocol-commerce-mobile-menu summary::-webkit-details-marker {
    display: none;
  }

  .dreamprotocol-public-page .dreamprotocol-commerce-mobile-menu summary span {
    display: block;
    width: 20px;
    height: 1px;
    background: var(--undream-foreground);
    transition: transform .2s ease, opacity .2s ease;
  }

  .dreamprotocol-public-page .dreamprotocol-commerce-mobile-menu[open] summary span:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
  }

  .dreamprotocol-public-page .dreamprotocol-commerce-mobile-menu[open] summary span:nth-child(2) {
    opacity: 0;
  }

  .dreamprotocol-public-page .dreamprotocol-commerce-mobile-menu[open] summary span:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
  }

  .dreamprotocol-public-page .dreamprotocol-commerce-mobile-nav {
    position: absolute;
    z-index: 1;
    top: calc(100% + 10px);
    right: 0;
    display: none;
    min-width: 208px;
    gap: 18px;
    padding: 22px 20px;
    border: 1px solid var(--undream-border);
    background: var(--undream-background);
  }

  .dreamprotocol-public-page .dreamprotocol-commerce-mobile-menu[open] .dreamprotocol-commerce-mobile-nav {
    display: grid;
  }

  .dreamprotocol-public-page .dreamprotocol-commerce-mobile-nav a {
    display: block;
  }

  .dreamprotocol-commerce-page .woocommerce {
    width: calc(100% - 36px);
    padding-top: 28px;
    padding-bottom: 64px;
  }

  .dreamprotocol-commerce-page .woocommerce h1.page-title,
  .dreamprotocol-commerce-page .woocommerce h1.entry-title {
    margin-bottom: 32px;
    padding-bottom: 24px;
    font-size: clamp(3rem, 17vw, 5.4rem);
  }

  .dreamprotocol-commerce-page .woocommerce-cart .cart-collaterals,
  .dreamprotocol-commerce-page .woocommerce-checkout .col2-set,
  .dreamprotocol-commerce-page .wc-block-components-checkout {
    display: block;
  }

  .dreamprotocol-commerce-page .wp-block-woocommerce-cart,
  .dreamprotocol-commerce-page .wp-block-woocommerce-checkout {
    width: calc(100% - 36px);
    padding-top: 28px;
    padding-bottom: 64px;
  }

  .dreamprotocol-commerce-page .wc-block-cart__main,
  .dreamprotocol-commerce-page .wc-block-components-main {
    padding-right: 0;
  }

  .dreamprotocol-commerce-page .wc-block-cart__sidebar,
  .dreamprotocol-commerce-page .wc-block-components-sidebar {
    position: static;
    margin-top: 40px;
    padding-top: 22px;
    padding-left: 0;
    border-top: 1px solid var(--undream-border);
    border-left: 0;
  }

  .dreamprotocol-commerce-page .woocommerce-cart .cart_totals {
    margin-top: 40px;
  }

  .dreamprotocol-commerce-page .woocommerce-checkout #order_review_heading {
    margin-top: 32px;
  }

  .dreamprotocol-commerce-page .woocommerce-checkout #order_review,
  .dreamprotocol-commerce-page .wc-block-components-order-summary,
  .dreamprotocol-commerce-page .wc-block-checkout__form,
  .dreamprotocol-commerce-page .woocommerce-order {
    padding: 22px 18px;
  }

  .dreamprotocol-commerce-page .woocommerce-order ul.order_details {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .dreamprotocol-public-page .dreamprotocol-commerce-header a,
  .dreamprotocol-public-page .dreamprotocol-commerce-header summary,
  .dreamprotocol-public-page .dreamprotocol-commerce-header summary span,
  .dreamprotocol-commerce-page a,
  .dreamprotocol-commerce-page button,
  .dreamprotocol-commerce-page input,
  .dreamprotocol-commerce-page select,
  .dreamprotocol-commerce-page textarea {
    transition: none;
  }
}
