/* Hallmark · v2.0.0 · theme: Doughman brand · genre: editorial · built: the project · redesign: full · scope: app · surface: absolute · signature: the selected product and server total · nav: search-led · footer: brand and service links · hero: native commerce, no hero */
/* Critique · Native checkout now prioritizes readable customer fields, the exact basket and its payment method; the existing WooCommerce controls and validation remain intact. */
/* Hallmark · waive 7b · Brand white is supplied in dist/quote-slip.css :root and requested for this redesign · Native fields, order tables and primary-button text retain that white for storefront continuity and readable contrast. */
/* Hallmark · answered F7 · Login, account and receipt are separate native routes; their shared form boundary is deliberate, while the checkout summary and addresses use open rules rather than nested cards. */
/* Hallmark · answered F6 · WooCommerce col-1 and col-2 name structural columns, not figures; order amounts and table cells explicitly use tabular-nums. */
:root {
  --dn-paper: #f5f5f2;
  --dn-white: #fff;
  --dn-ink: #191b1d;
  --dn-muted: #62666c;
  --dn-line: #d9d9d3;
  --dn-field-line: #858b91;
  --dn-blue: #3156d8;
  --dn-blue-hover: #2444b8;
  --dn-yellow: #ffd72f;
  --dn-selected: #eef2ff;
  --dn-error: #ae2929;
  --dn-success: #17613d;
  --dn-clear: transparent;
  --dn-body: 'Manrope', Arial, sans-serif;
  --dn-radius: .75rem;
  --dn-ease: cubic-bezier(.22, 1, .36, 1);
}
html, body { overflow-x: clip; }
.doughman-loading { min-height: 60vh; display: grid; place-items: center; color: var(--dn-muted); font: 1rem/1.6 var(--dn-body); }
.doughman-fallback-nav { display: flex; gap: 1.5rem; font-weight: 700; }
.doughman-native { padding-block: 2rem 6rem; min-height: 50vh; }
.doughman-native > .qs-breadcrumb { width: 100%; padding: 0; overflow-wrap: anywhere; font-size: .875rem; color: var(--dn-muted); }
.doughman-native-content { min-width: 0; font: 1rem/1.65 var(--dn-body); color: var(--dn-ink); }
.doughman-native-content :is(h1, h2, h3) { overflow-wrap: break-word; min-width: 0; text-wrap: balance; color: var(--dn-ink); font-family: var(--dn-body); }
.doughman-native-content > h1 { margin: 2rem 0 2.75rem; font: 750 clamp(2rem, 4vw, 3.25rem)/1.12 var(--dn-body); letter-spacing: -.04em; }
.doughman-native-content p { margin-bottom: 1rem; }
.doughman-native-content :is(input, select, textarea) { max-width: 100%; min-height: 3.25rem; padding: .85rem 1rem; border: .0625rem solid var(--dn-field-line); border-radius: .375rem; font: 1rem/1.5 var(--dn-body); background: var(--dn-white); color: var(--dn-ink); transition: border-color 160ms var(--dn-ease), background-color 160ms var(--dn-ease); }
.doughman-native-content textarea { min-height: 7rem; resize: vertical; }
.doughman-native-content label { display: block; margin-bottom: .5rem; font-weight: 650; font-size: .9375rem; line-height: 1.5; }
.doughman-native-content input::placeholder, .doughman-native-content textarea::placeholder { color: var(--dn-muted); opacity: 1; }
.doughman-native-content :is(input[type=checkbox], input[type=radio]) { width: 1.25rem; min-height: 1.25rem; margin: 0 .5rem 0 0; padding: 0; accent-color: var(--dn-blue); vertical-align: middle; }
.doughman-native-content :is(a, button, input, select, textarea, [tabindex]):focus-visible { outline: .1875rem solid var(--dn-blue); outline-offset: .1875rem; }
.doughman-native-content :is(input, select, textarea):focus-visible { outline-offset: -.1875rem; }
.doughman-native-content :is(input, select, textarea):disabled, .doughman-native-content button:disabled, .doughman-native-content [aria-disabled=true] { opacity: .55; cursor: not-allowed; }
.doughman-native-content [aria-invalid=true], .doughman-native-content .woocommerce-invalid :is(input, select, textarea) { border-color: var(--dn-error); }
.doughman-native-content .woocommerce :is(input.button, button.button, a.button) { min-height: 3.25rem; padding: .875rem 1.5rem; background: var(--dn-blue); color: var(--dn-white); border: .0625rem solid var(--dn-clear); border-radius: .375rem; font: 750 1rem/1.5 var(--dn-body); text-align: center; transition: background-color 160ms var(--dn-ease), transform 160ms var(--dn-ease); }
.doughman-native-content .woocommerce :is(button.button, a.button):active { transform: translateY(.0625rem); }
.doughman-native-content .woocommerce button[aria-busy=true] { cursor: progress; }
@media (hover: hover) {
  .doughman-native-content .woocommerce :is(button.button, a.button):hover { background: var(--dn-blue-hover); color: var(--dn-white); }
  .doughman-native-content :is(input, textarea):not(:disabled):hover { background: var(--dn-paper); }
}
.doughman-native-content .woocommerce-MyAccount-navigation { width: 23%; padding: .5rem 1.5rem .5rem 0; background: var(--dn-clear); border: 0; border-radius: 0; }
.doughman-native-content .woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .375rem; }
.doughman-native-content .woocommerce-MyAccount-navigation li a { display: block; min-height: 3rem; padding: .875rem 1rem; border-radius: .375rem; color: var(--dn-muted); font-size: .9375rem; font-weight: 650; }
.doughman-native-content .woocommerce-MyAccount-navigation li.is-active a { background: var(--dn-selected); color: var(--dn-blue); }
.doughman-native-content .woocommerce-MyAccount-content { width: 73%; min-width: 0; padding: 2.5rem; background: var(--dn-white); border: .0625rem solid var(--dn-line); border-radius: var(--dn-radius); }
.doughman-native-content .woocommerce-MyAccount-content h2, .doughman-native-content .woocommerce h2 { font: 750 1.75rem/1.25 var(--dn-body); letter-spacing: -.025em; margin: 0 0 1.5rem; }
.doughman-native-content .woocommerce :is(form.login, form.register) { padding: 2rem; border: .0625rem solid var(--dn-line); border-radius: var(--dn-radius); background: var(--dn-white); }
.doughman-native-content .woocommerce form .form-row { padding: 0; margin: 0 0 1.5rem; }
.doughman-native-content .woocommerce form .form-row :is(input.input-text, textarea) { font: 1rem/1.5 var(--dn-body); }
.doughman-native-content .woocommerce-Address { padding: 1.5rem 0; background: var(--dn-clear); border: 0; border-top: .0625rem solid var(--dn-line); border-radius: 0; }
.doughman-native-content .woocommerce-Address address { font-style: normal; font-size: 1rem; line-height: 1.8; }
.doughman-native-content .woocommerce-Address .title h2 { font-size: 1.25rem; }
.doughman-native-content a:not(.button) { text-underline-offset: .2em; }
.doughman-native-content :is(.woocommerce-error, .woocommerce-info, .woocommerce-message) { padding: 1rem 1.25rem 1rem 3rem; font-size: .9375rem; border: .0625rem solid var(--dn-line); border-radius: .375rem; color: var(--dn-ink); background: var(--dn-white); }
.doughman-native-content .woocommerce-error { border-inline-start: .25rem solid var(--dn-error); }
.doughman-native-content .woocommerce-message { border-inline-start: .25rem solid var(--dn-success); }
.doughman-native-content .woocommerce-info { border-inline-start: .25rem solid var(--dn-blue); }
.doughman-native-content .woocommerce table.shop_table { width: 100%; border: 0; border-collapse: collapse; border-radius: 0; font-size: 1rem; background: var(--dn-white); font-variant-numeric: tabular-nums; }
.doughman-native-content .woocommerce table.shop_table :is(th, td) { padding: 1.25rem 1rem; border-bottom: .0625rem solid var(--dn-line); vertical-align: middle; }
.doughman-native-content .woocommerce table.shop_table th { font-size: .875rem; font-weight: 650; color: var(--dn-muted); letter-spacing: 0; text-transform: none; }
.doughman-native-content .woocommerce table.shop_table td { color: var(--dn-ink); font-variant-numeric: tabular-nums; }
.doughman-native-content .woocommerce .col2-set :is(.col-1, .col-2) { min-width: 0; }
.qs-original-link, .original-listing { display: none; }
.doughman-checkout-page .doughman-native-content { max-width: 76rem; margin-inline: auto; }
.doughman-checkout-page form.checkout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); grid-template-areas: 'notices notices' 'customer heading' 'customer review'; grid-template-rows: auto max-content minmax(0, 1fr); gap: 0 3.5rem; align-items: start; }
.doughman-checkout-page form.checkout .woocommerce-NoticeGroup { grid-area: notices; }
.doughman-checkout-page form.checkout #customer_details { grid-area: customer; width: 100%; float: none; }
.doughman-checkout-page form.checkout #customer_details > :is(.col-1, .col-2) { float: none; width: 100%; padding: 2rem; margin-bottom: 1.5rem; border: .0625rem solid var(--dn-line); border-radius: var(--dn-radius); background: var(--dn-white); }
.doughman-checkout-page form.checkout :is(#order_review_heading, #order_review) { float: none; width: 100%; min-width: 0; }
.doughman-checkout-page form.checkout #order_review_heading { grid-area: heading; padding-bottom: 1.25rem; border-bottom: .125rem solid var(--dn-ink); }
.doughman-checkout-page form.checkout #order_review { grid-area: review; }
.doughman-checkout-page form.checkout h3 { font: 750 1.5rem/1.3 var(--dn-body); margin: 0 0 1.5rem; letter-spacing: -.025em; }
.doughman-checkout-page form.checkout .woocommerce-billing-fields h3, .doughman-checkout-page form.checkout #ship-to-different-address { font-size: 1.375rem; }
.doughman-checkout-page form.checkout .form-row :is(input.input-text, select, textarea) { width: 100%; font-size: 1rem; }
.doughman-checkout-page form.checkout .select2-container .select2-selection--single { min-height: 3.25rem; border: .0625rem solid var(--dn-field-line); border-radius: .375rem; display: flex; align-items: center; background: var(--dn-white); }
.doughman-checkout-page form.checkout .select2-selection__rendered { color: var(--dn-ink); font-size: 1rem; padding-inline: 1rem; }
.doughman-checkout-page form.checkout .select2-container--focus .select2-selection--single { outline: .1875rem solid var(--dn-blue); outline-offset: -.1875rem; }
.doughman-checkout-page .woocommerce-checkout-review-order-table .product-total { white-space: nowrap; text-align: right; }
.doughman-checkout-page .woocommerce-checkout-review-order-table .product-name { width: 72%; }
.doughman-checkout-page .woocommerce-checkout-review-order-table .order-total :is(th, td) { padding-block: 1.5rem; border-bottom: .125rem solid var(--dn-ink); }
.doughman-checkout-page .woocommerce-checkout-review-order-table .order-total td { font-size: 1.625rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.doughman-checkout-page .doughman-payment-heading { margin-top: 2rem; }
.doughman-checkout-page #payment { padding: 1.5rem 0 0; border: 0; border-radius: 0; background: var(--dn-clear); }
.doughman-checkout-page #payment ul.payment_methods { padding: 0 0 1.5rem; border-bottom: .0625rem solid var(--dn-line); list-style: none; }
.doughman-checkout-page #payment ul.payment_methods li input { float: none; display: inline-block; margin-right: .5rem; vertical-align: middle; }
.doughman-checkout-page #payment ul.payment_methods li > label { display: inline; font-size: 1rem; font-weight: 750; }
.doughman-checkout-page #payment .payment_box { background: var(--dn-selected); color: var(--dn-ink); padding: 1rem 1.25rem; margin-top: 1rem; border-radius: .375rem; font-size: .9375rem; line-height: 1.7; }
.doughman-checkout-page #payment .payment_box::before { border-bottom-color: var(--dn-selected); }
.doughman-checkout-page #payment .place-order { padding: 1rem 0 0; margin: 0; }
.doughman-checkout-page #place_order { width: 100%; min-height: 3.5rem; margin-top: 1.5rem; float: none; font-size: 1rem; }
.doughman-checkout-page .woocommerce-privacy-policy-text { font-size: .875rem; color: var(--dn-muted); line-height: 1.7; }
.doughman-checkout-page .woocommerce-order { padding: clamp(1.25rem, 3vw, 2.5rem); background: var(--dn-white); border: .0625rem solid var(--dn-line); border-radius: var(--dn-radius); }
.doughman-checkout-page .woocommerce-thankyou-order-received { font-size: 1.5rem; font-weight: 750; }
.doughman-checkout-page ul.order_details { display: flex; flex-wrap: wrap; gap: 1.5rem; padding: 1.5rem 0; margin: 1.5rem 0; border-block: .0625rem solid var(--dn-line); list-style: none; }
.doughman-checkout-page ul.order_details li { float: none; margin: 0; padding: 0 1.5rem 0 0; font-size: .875rem; line-height: 1.8; }
.doughman-checkout-page ul.order_details li strong { display: block; font-size: 1rem; }
body.admin-bar .qs-header { top: 2rem; }
@media (max-width: 48.875rem) { body.admin-bar .qs-header { top: 2.875rem; } }
@media (max-width: 52rem) {
  .doughman-checkout-page form.checkout { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'notices' 'customer' 'heading' 'review'; grid-template-rows: auto; gap: 0; }
  .doughman-checkout-page form.checkout #customer_details > :is(.col-1, .col-2) { padding: 1.25rem; }
  .doughman-checkout-page form.checkout :is(.form-row-first, .form-row-last) { float: none; width: 100%; }
  .doughman-checkout-page .woocommerce table.shop_table { display: table; width: 100%; overflow-wrap: anywhere; }
  .doughman-checkout-page .woocommerce table.shop_table :is(td, th) { padding: 1rem .625rem; font-size: .875rem; }
  .doughman-checkout-page .woocommerce-checkout-review-order-table .order-total td { font-size: 1.5rem; font-variant-numeric: tabular-nums; }
  .doughman-checkout-page .woocommerce-checkout-review-order-table .product-total { min-width: 5rem; }
  .doughman-checkout-page form.checkout #order_review_heading { margin-top: 1.5rem; }
}
@media (max-width: 47.5rem) {
  .doughman-native { padding-block: 1.25rem 4rem; }
  .doughman-native-content > h1 { margin: 1.5rem 0 2rem; }
  .doughman-native-content :is(.woocommerce-MyAccount-navigation, .woocommerce-MyAccount-content) { float: none; width: 100%; }
  .doughman-native-content .woocommerce-MyAccount-navigation { margin-bottom: 1rem; padding: 0; }
  .doughman-native-content .woocommerce-MyAccount-navigation ul { display: flex; overflow-x: auto; gap: .375rem; padding-bottom: .5rem; }
  .doughman-native-content .woocommerce-MyAccount-navigation li { flex: 0 0 auto; }
  .doughman-native-content :is(.woocommerce-MyAccount-content, .woocommerce form.login, .woocommerce form.register) { padding: 1.25rem; }
  .doughman-native-content .woocommerce-Address { width: 100% !important; float: none !important; margin-bottom: 1rem; }
  .doughman-native-content .woocommerce table.shop_table { display: block; max-width: 100%; overflow: auto; }
  .doughman-native-content .woocommerce .col2-set :is(.col-1, .col-2) { width: 100%; float: none; }
  .doughman-native-content .woocommerce-MyAccount-content h2 { font-size: 1.375rem; }
  .doughman-native-content .woocommerce-cart-form table.shop_table td.product-quantity input { min-width: 4.5rem; }
  .doughman-checkout-page .woocommerce table.shop_table { display: table; overflow: visible; }
}
@media (prefers-reduced-motion: reduce) {
  .doughman-native-content *, .doughman-native-content *::before, .doughman-native-content *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
