/* A single, explicit type scale for the existing native DraperyMill components. */
body.dmui-release {--dmui-body:16px;--dmui-small:14px;--dmui-meta:12px;--dmui-rule:#e5ddd5;--dmui-ink:#30271f;font-size:var(--dmui-body);line-height:1.65;}
body.dmui-release .dm-page :is(p,li),body.dmui-release .entry-content>.woocommerce p {font-size:var(--dmui-body)!important;line-height:1.7!important;}
body.dmui-release :is(.dm-page,.entry-content) h1 {font-size:clamp(34px,3.6vw,52px)!important;line-height:1.12!important;letter-spacing:-.02em;}
body.dmui-release :is(.dm-page,.entry-content) h2 {font-size:clamp(28px,2.8vw,40px)!important;line-height:1.18!important;letter-spacing:-.015em;}
body.dmui-release :is(.dm-page,.entry-content) h3 {font-size:clamp(22px,2vw,28px)!important;line-height:1.25!important;}
body.dmui-release .dm-page :is(.eyebrow,.dm-eyebrow,.dqc-eyebrow,.kicker,.dmui-card-kicker) {font:600 var(--dmui-meta)/1.5 Inter,sans-serif!important;letter-spacing:.12em!important;}
body.dmui-release .dm-page :is(.dm-tag,.pcard-meta,.scard-meta,.code,.pd-sku,.dmc-sku,.fac-cap-sub,.dml-type-meta,.crumb) {font-size:var(--dmui-meta)!important;line-height:1.6!important;}
body.dmui-release :is(.dm-page,.dqc) :is(button,.dm-btn,.dmc-button,.wp-block-button__link) {font-size:14px!important;line-height:1.5!important;}
body.dmui-release .dm-page :is(label,.pd-spec th,.pd-spec td,.pd-specs th,.pd-specs td,.dmc-specs) {font-size:14px!important;line-height:1.6!important;}
body.dmui-release .dm-page :is(.benefit-cell span,.pd-benefit span,.pd-trust-item span,.pcard-desc,.scard-desc) {font-size:14px!important;line-height:1.65!important;}
body.dmui-release .dm-page :is(.step b,.step strong,.hstep-title,.qc-cell strong) {font-size:14px!important;line-height:1.5!important;}
body.dmui-release .dm-page :is(.step span,.cstep span,.qc-grid span) {font-size:14px!important;line-height:1.65!important;}
body.dmui-release :is(.dmfb-auth-intro,.dmfb-auth-aside)>.dm-eyebrow {font-size:12px!important;line-height:1.5!important;letter-spacing:.12em!important;}
body.dmui-release .dm-page :is(.stat-num,.stat-value,.metric-value) {font-size:clamp(26px,2.5vw,34px)!important;line-height:1.2!important;}
body.dmui-release.dm-site-wide.dm-site-refinement .dm-page .pg-hero h1 {font-size:clamp(34px,3.6vw,52px)!important;line-height:1.12!important;}
body.dmui-release.dm-site-wide.dm-site-refinement .dm-page .pg-hero p {font-size:var(--dmui-body)!important;line-height:1.7!important;}
body.dmui-release.dm-site-wide.dm-site-refinement .dm-page h2 {font-size:clamp(28px,2.8vw,40px)!important;line-height:1.18!important;}
body.dmui-release #dmill-public-cart .dqc-panelhead h2 {font-size:23px!important;line-height:1.3!important;}
body.dmui-release #dmill-public-cart .dmq-option-label {text-overflow:clip!important;overflow:visible!important;white-space:normal!important;}
body.dmui-release #factory .fac-media.dmui-factory-grid {align-items:start!important;align-content:start!important;grid-template-rows:repeat(2,max-content)!important;grid-auto-rows:max-content!important;row-gap:20px!important;}
/* Complete group boundaries keep a long result separate from the next heading. */
body.dmui-release #dmill-public-cart .dmq-options {display:block!important;font-size:13px;}
body.dmui-release #dmill-public-cart :is(.dmq-group,.dmq-option-group) {display:block!important;clear:both;min-width:0;margin:0!important;padding:0!important;}
body.dmui-release #dmill-public-cart :is(.dmq-group,.dmq-option-group)+:is(.dmq-group,.dmq-option-group) {margin-top:22px!important;padding-top:16px!important;border-top:1px solid var(--dmui-rule)!important;}
body.dmui-release #dmill-public-cart .dmq-group-title {display:block!important;margin:0 0 12px!important;padding:8px 10px!important;border:0!important;border-radius:6px;background:#f5f2ee!important;color:#59300f!important;font:600 12px/1.5 Inter,sans-serif!important;letter-spacing:.03em!important;text-transform:none!important;}
body.dmui-release #dmill-public-cart .dmq-group-fields {display:grid!important;gap:10px 18px!important;grid-template-columns:1fr!important;}
body.dmui-release #dmill-public-cart .dmq-group-fields.is-split {grid-template-columns:repeat(2,minmax(0,1fr))!important;}
body.dmui-release #dmill-public-cart .dmq-option {display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:4px 12px;align-items:start;margin:0!important;padding:0!important;border:0!important;}
body.dmui-release #dmill-public-cart .dmq-option.is-wide {display:flex!important;flex-direction:column!important;gap:6px!important;grid-column:1/-1!important;}
body.dmui-release #dmill-public-cart .dmq-option-label {font:400 13px/1.5 Inter,sans-serif!important;color:#786b60!important;}
body.dmui-release #dmill-public-cart .dmq-option-value {font:500 13px/1.6 Inter,sans-serif!important;color:#30271f!important;overflow-wrap:anywhere;}
body.dmui-release #dmill-public-cart.dmui-autoqty #dqc-quantities {display:none!important;}
body.dmui-release #dmill-public-cart .dqc-cart-actions {justify-content:flex-end;}
body.dmui-release #dmill-public-cart .dqc-live-update:empty {display:none;}
/* Balanced account access: two forms, then a separate trade application callout. */
body.dmui-release.woocommerce-account .dmfb-auth-shell {box-sizing:border-box;display:grid!important;grid-template-columns:minmax(0,1fr)!important;width:var(--dm-site-content-width,94%)!important;max-width:1280px!important;margin:48px auto 64px!important;padding:0!important;gap:28px!important;background:#fff!important;border:0!important;border-radius:0!important;}
body.dmui-release .dmfb-auth-intro {grid-column:1/-1!important;max-width:760px;}
body.dmui-release .dmfb-auth-intro h1 {margin:12px 0!important;}
body.dmui-release .dmfb-auth-main {min-width:0!important;padding:0!important;background:none!important;border:0!important;}
body.dmui-release #customer_login {display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:28px!important;margin:0!important;}
body.dmui-release #customer_login::before,body.dmui-release #customer_login::after {display:none!important;}
body.dmui-release #customer_login>.u-column1,body.dmui-release #customer_login>.u-column2 {float:none!important;box-sizing:border-box;width:auto!important;min-width:0!important;max-width:none!important;margin:0!important;padding:30px!important;background:#fff!important;border:1px solid var(--dmui-rule)!important;border-radius:20px!important;}
body.dmui-release #customer_login h2 {font-size:28px!important;margin:0 0 24px!important;}
body.dmui-release #customer_login :is(form.login,form.register) {padding:0!important;margin:0!important;border:0!important;background:none!important;}
body.dmui-release #customer_login .form-row {padding:0!important;margin:0 0 20px!important;float:none!important;}
body.dmui-release #customer_login label {font-size:14px!important;line-height:1.6!important;margin-bottom:8px!important;}
body.dmui-release #customer_login input:not([type=checkbox]):not([type=hidden]) {box-sizing:border-box;width:100%!important;min-height:50px;padding:12px 14px!important;border:1px solid #cbbcaf!important;border-radius:10px!important;background:#fff!important;font-size:16px!important;}
body.dmui-release #customer_login p {font-size:14px!important;line-height:1.7!important;}
body.dmui-release #customer_login :is(.button,button[type=submit]) {float:none!important;min-height:48px;padding:12px 24px!important;border-radius:8px!important;background:#59300f!important;color:#fff!important;font-size:14px!important;}
body.dmui-release #customer_login .woocommerce-form-login__rememberme {display:flex;align-items:center;gap:8px;}
body.dmui-release #customer_login .lost_password {margin:24px 0 0!important;}
body.dmui-release .dmfb-auth-aside {display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:10px 28px!important;padding:28px 32px!important;background:#f7f5f1!important;border:1px solid var(--dmui-rule)!important;border-radius:20px!important;}
body.dmui-release .dmfb-auth-aside>* {margin:0!important;grid-column:1;}
body.dmui-release .dmfb-auth-aside h3 {font-size:26px!important;}
body.dmui-release .dmfb-auth-aside>.dm-btn {grid-column:2;grid-row:2/4;align-self:center;min-height:48px;}
body.dmui-release .dmfb-auth-aside .dmfb-auth-note {font-size:13px!important;line-height:1.6!important;}
/* Clear footer navigation with a full-width brand and contact row. */
body.dmui-release footer.footer {padding:56px 0 24px!important;}
body.dmui-release .footer .foot-grid {display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:36px!important;align-items:start;}
body.dmui-release .footer .foot-brand {display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;column-gap:60px;row-gap:16px;grid-column:1/-1!important;margin:0 0 8px!important;padding:0 0 32px!important;border-bottom:1px solid #ffffff26;}
body.dmui-release .footer .foot-brand>.logo {grid-column:1;}
body.dmui-release .footer .foot-brand>p {grid-column:1;max-width:540px;font-size:14px!important;line-height:1.8!important;margin:0!important;}
body.dmui-release .footer .foot-contact {grid-column:2;grid-row:1/3;display:grid!important;grid-template-columns:1fr!important;gap:12px!important;align-self:center;}
body.dmui-release .footer .foot-contact>div {display:flex;gap:12px;align-items:flex-start;font-size:14px!important;line-height:1.7;}
body.dmui-release .footer .foot-col h5 {font:600 13px/1.5 Inter,sans-serif!important;letter-spacing:.08em!important;color:#e7d8ca!important;margin:0 0 20px!important;}
body.dmui-release .footer .foot-col a {display:block;font-size:14px!important;line-height:1.6!important;max-width:100%;margin:0 0 12px!important;padding:0!important;color:#eee5dc!important;}
body.dmui-release .footer .foot-col a:hover {text-decoration:underline;}
/* Document thumbnails stay legible; controls replace the visible scrollbar. */
body.dmui-release #certificate-gallery {padding:64px 0!important;background:#fff!important;}
body.dmui-release #certificate-gallery>.dm-wrap {width:var(--dm-site-content-width,94%)!important;max-width:none!important;margin-inline:auto!important;}
body.dmui-release #certificate-gallery h2 {margin:10px 0 16px!important;}
body.dmui-release #certificate-gallery .dm-cert-track {box-sizing:border-box;grid-auto-columns:calc((100% - 72px)/4)!important;gap:24px!important;padding:0!important;margin-top:32px!important;scrollbar-width:none!important;}
body.dmui-release #certificate-gallery .dm-cert-track::-webkit-scrollbar {display:none;}
body.dmui-release #certificate-gallery .dm-cert-card {padding-bottom:24px!important;border-radius:16px!important;background:#fff!important;}
body.dmui-release #certificate-gallery .dm-cert-card h3 {font-size:22px!important;line-height:1.25!important;min-height:2.5em;margin:20px 20px 14px!important;}
body.dmui-release #certificate-gallery .dm-cert-card>p {margin:0 20px!important;font-size:14px!important;}
body.dmui-release #certificate-gallery .dm-cert-image {aspect-ratio:4/5!important;padding:20px!important;}
body.dmui-release #certificate-gallery .dm-cert-controls {margin:28px auto 0!important;gap:12px!important;}
body.dmui-release #certificate-gallery .dm-cert-controls button {font-size:14px!important;min-height:44px!important;padding:10px 18px!important;}
body.dmui-release #factory .fac-media.dmui-factory-grid {display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:20px!important;}
body.dmui-release #factory .fac-media.dmui-factory-grid>figure {display:flex!important;flex-direction:column;aspect-ratio:auto!important;height:auto!important;min-height:0!important;border-radius:16px!important;border:1px solid var(--dmui-rule);overflow:hidden;background:#fff;}
body.dmui-release #factory .dmui-factory-grid>figure>img {position:static!important;width:100%!important;height:auto!important;aspect-ratio:4/3!important;object-fit:cover!important;}
body.dmui-release #factory .dmui-factory-grid>figure>figcaption {position:static!important;inset:auto!important;background:#fff!important;padding:16px!important;color:var(--dmui-ink)!important;}
body.dmui-release #factory .dmui-factory-grid .fac-cap-title {font:600 14px/1.5 Inter,sans-serif!important;color:var(--dmui-ink)!important;margin:0 0 6px!important;}
body.dmui-release #factory .dmui-factory-grid .fac-cap-sub {font:400 12px/1.6 Inter,sans-serif!important;color:#786b60!important;margin:0!important;}
/* Product cards always reference the published WooCommerce record. */
body.dmui-release .dmui-live-product {display:flex!important;flex-direction:column!important;min-width:0!important;overflow:hidden;border:1px solid var(--dmui-rule);border-radius:20px;background:#fff!important;grid-column:auto!important;}
body.dmui-release .dmui-live-product>.pcard-visual {position:relative;display:block!important;aspect-ratio:4/3!important;height:auto!important;min-height:0!important;padding:0!important;margin:0!important;overflow:hidden;}
body.dmui-release .dmui-live-product>.pcard-visual img {position:static!important;display:block;width:100%!important;height:100%!important;object-fit:cover!important;border-radius:0!important;}
body.dmui-release .dmui-live-product .pcard-body {display:flex!important;flex-direction:column!important;flex:1;padding:24px!important;gap:14px!important;min-width:0;}
body.dmui-release .dmui-live-product h3 {font-size:24px!important;line-height:1.2!important;margin:0!important;}
body.dmui-release .dmui-live-product h3 a {color:inherit;text-decoration:none;}
body.dmui-release .dmui-live-product :is(.dmui-card-kicker,.pcard-desc) {margin:0!important;}
body.dmui-release .dmui-live-product .dmui-card-kicker {font-size:12px!important;letter-spacing:.08em;text-transform:uppercase;color:#786b60;}
body.dmui-release .dmui-live-product .pcard-foot {display:flex!important;flex-wrap:wrap;align-items:center;gap:16px!important;justify-content:space-between;margin-top:auto!important;padding-top:20px!important;border-top:1px solid var(--dmui-rule);}
body.dmui-release .dmui-live-product .pcard-price {font-size:17px!important;line-height:1.5!important;white-space:normal!important;}
body.dmui-release .dmui-live-product .pcard-foot>.dm-btn {min-height:44px!important;padding:10px 16px!important;}
/* Native WooCommerce block checkout; preserve all React-controlled fields and validation. */
body.dmui-release.woocommerce-checkout .entry-content {width:var(--dm-site-content-width,94%)!important;max-width:1400px!important;margin:40px auto 64px!important;}
body.dmui-release.woocommerce-checkout .wc-block-checkout {width:100%!important;max-width:none!important;}
body.dmui-release.woocommerce-checkout .wc-block-components-sidebar-layout {display:grid!important;grid-template-columns:minmax(0,1fr) minmax(320px,.65fr)!important;gap:40px!important;align-items:start;}
body.dmui-release.woocommerce-checkout .wc-block-checkout__main {width:auto!important;max-width:none!important;margin:0!important;padding:0!important;min-width:0;}
body.dmui-release.woocommerce-checkout .wc-block-checkout__sidebar {box-sizing:border-box;width:auto!important;max-width:none!important;min-width:0!important;margin:0!important;padding:24px!important;border:1px solid var(--dmui-rule);border-radius:20px;background:#faf9f7;position:sticky;top:24px;}
body.dmui-release.woocommerce-checkout .wc-block-components-checkout-step {box-sizing:border-box;padding:28px!important;margin:0 0 24px!important;border:1px solid var(--dmui-rule)!important;border-radius:20px;background:#fff;}
body.dmui-release.woocommerce-checkout .wc-block-components-checkout-step__content {padding:0!important;}
body.dmui-release.woocommerce-checkout .wc-block-components-checkout-step__title {font:500 26px/1.25 "Cormorant Garamond",Georgia,serif!important;}
body.dmui-release.woocommerce-checkout .wc-block-components-text-input input,body.dmui-release.woocommerce-checkout .wc-blocks-components-select__select {font-size:16px!important;min-height:54px;border-radius:10px!important;border-color:#cbbcaf!important;background:#fff!important;}
body.dmui-release.woocommerce-checkout .wc-block-components-text-input label,body.dmui-release.woocommerce-checkout .wc-blocks-components-select__label {font-size:14px!important;}
body.dmui-release.woocommerce-checkout :is(.wc-block-components-checkbox__label,.wc-block-components-radio-control__label,.wc-block-components-checkout-step__description) {font-size:14px!important;line-height:1.6!important;}
body.dmui-release.woocommerce-checkout .wc-block-components-product-name {font-size:15px!important;line-height:1.5!important;}
body.dmui-release.woocommerce-checkout .wc-block-components-product-details__item {font-size:13px!important;line-height:1.6!important;margin-bottom:8px!important;}
body.dmui-release.woocommerce-checkout .wc-block-components-button {min-height:50px!important;padding:13px 24px!important;font-size:15px!important;border-radius:8px!important;}
body.dmui-release.woocommerce-checkout .wc-block-components-checkout-place-order-button {background:#59300f!important;color:#fff!important;}
@media(max-width:1000px){body.dmui-release{--dmui-body:15px;}body.dmui-release #certificate-gallery .dm-cert-track{grid-auto-columns:calc((100% - 24px)/2)!important;}body.dmui-release.woocommerce-checkout .wc-block-components-sidebar-layout{grid-template-columns:minmax(0,1fr)!important;gap:24px!important;}body.dmui-release.woocommerce-checkout .wc-block-checkout__sidebar{position:static!important;}}
@media(max-width:700px){body.dmui-release .dm-page :is(p,li){font-size:15px!important;}body.dmui-release .dm-page h3{font-size:23px!important;}body.dmui-release #customer_login{grid-template-columns:minmax(0,1fr)!important;gap:20px!important;}body.dmui-release #customer_login>.u-column1,body.dmui-release #customer_login>.u-column2{padding:22px!important;}body.dmui-release.woocommerce-account .dmfb-auth-shell{margin-block:32px 48px!important;}body.dmui-release .dmfb-auth-aside{display:flex!important;flex-direction:column;gap:14px!important;padding:22px!important;}body.dmui-release .dmfb-auth-aside>.dm-btn{align-self:flex-start;}body.dmui-release .footer .foot-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:28px 20px!important;}body.dmui-release .footer .foot-brand{display:flex!important;flex-direction:column;gap:20px!important;}body.dmui-release .footer .foot-contact{display:grid!important;gap:12px!important;}body.dmui-release #certificate-gallery{padding:44px 0!important;}body.dmui-release #certificate-gallery .dm-cert-track{grid-auto-columns:calc(82% - 12px)!important;gap:16px!important;}body.dmui-release #certificate-gallery .dm-cert-controls{flex-wrap:wrap;}body.dmui-release #factory .fac-media.dmui-factory-grid{gap:12px!important;}body.dmui-release #factory .dmui-factory-grid>figure>figcaption{padding:12px!important;}body.dmui-release .dmui-live-product .pcard-body{padding:20px!important;}body.dmui-release.woocommerce-checkout .wc-block-components-checkout-step{padding:20px!important;}body.dmui-release.woocommerce-checkout .wc-block-checkout__sidebar{padding:20px!important;}body.dmui-release #dmill-public-cart .dmq-group-fields.is-split{grid-template-columns:1fr!important;}}
@media(prefers-reduced-motion:reduce){body.dmui-release #certificate-gallery .dm-cert-track{scroll-behavior:auto!important;}}
