/* Purchase UI: opt-in classic WooCommerce + explicitly labelled local previews. */
.dwm-purchase{--dw-ink:#163e35;--dw-muted:#596b62;--dw-line:#d8e0d7;--dw-paper:#fafbf7;--dw-green:#174f40;--dw-soft:#edf3e7;--dw-focus:#a64d2a;color:var(--dw-ink)}
.dwm-purchase .woocommerce{max-width:1200px;margin:0 auto 50px;font-family:"Segoe UI",Arial,sans-serif;color:var(--dw-ink)}
.dwm-purchase .woocommerce *{box-sizing:border-box}.dwm-purchase .woocommerce a{color:var(--dw-green);text-underline-offset:4px}.dwm-purchase .woocommerce p{line-height:1.65}.dwm-purchase .woocommerce :is(input,select,textarea,button,a):focus-visible{outline:3px solid var(--dw-focus);outline-offset:3px}
.dwm-purchase :is(.dwm-overline){font-size:14px;letter-spacing:.12em;text-transform:uppercase;font-weight:600;color:var(--dw-muted);margin:0 0 12px}
.dwm-purchase .dwm-steps{display:flex;gap:35px;flex-wrap:wrap;border-bottom:1px solid var(--dw-line);padding:14px 0 23px;margin-bottom:12px;font-size:14px}.dwm-purchase .dwm-steps>*{color:var(--dw-muted);display:flex;gap:10px;align-items:center;text-decoration:none}.dwm-purchase .dwm-steps b{display:grid;place-items:center;width:28px;height:28px;border:1px solid var(--dw-line);border-radius:50%;font-weight:500;font-size:14px}.dwm-purchase .dwm-steps [aria-current]{color:var(--dw-green);font-weight:600}.dwm-purchase .dwm-steps [aria-current] b{background:var(--dw-green);color:white;border-color:var(--dw-green)}
.dwm-purchase .dwm-purchase-intro{font-size:14px;color:var(--dw-muted);margin:0}.dwm-purchase .dwm-purchase-status{font-size:14px;color:var(--dw-green);margin:0;min-height:20px}
.dwm-purchase .woocommerce :is(.button,button[type=submit],.dwm-primary){background:var(--dw-green);border:1px solid var(--dw-green);border-radius:5px;color:white;min-height:46px;padding:13px 20px;line-height:1.4;font:600 13px/1.4 "Segoe UI",Arial,sans-serif;text-decoration:none;text-align:center;box-shadow:none;display:inline-flex;align-items:center;justify-content:center;gap:8px;cursor:pointer}.dwm-purchase .woocommerce :is(.button,button[type=submit],.dwm-primary):hover{background:#0f392e;color:white}.dwm-purchase .woocommerce button:disabled{opacity:.5;cursor:default}.dwm-purchase .dwm-secondary{display:inline-flex;align-items:center;justify-content:center;border:1px solid #afc5b1;color:var(--dw-green);background:transparent;border-radius:5px;min-height:42px;padding:10px 15px;font-size:14px;text-decoration:none;font-weight:600;cursor:pointer}
.dwm-purchase .woocommerce :is(input.input-text,textarea,select){border:1px solid #bccbbd;border-radius:5px;background:white;padding:12px;min-height:46px;box-shadow:none;color:var(--dw-ink);font:15px/1.5 "Segoe UI",Arial,sans-serif}.dwm-purchase .woocommerce input:focus,.dwm-purchase .woocommerce textarea:focus{border-color:var(--dw-green)}.dwm-purchase .woocommerce .form-row label{font-size:14px;font-weight:600;line-height:1.6;margin-bottom:7px;display:block}.dwm-purchase .woocommerce .required{color:#8b3c22}.dwm-purchase .woocommerce .form-row{margin:0 0 22px;padding:0}.dwm-purchase .woocommerce .form-row input.input-text,.dwm-purchase .woocommerce .form-row textarea{width:100%}.dwm-purchase .woocommerce .woocommerce-error{border-top-color:#974625;background:#fff3ed;border-radius:5px;color:#652c17}.dwm-purchase .woocommerce :is(.woocommerce-message,.woocommerce-info){border-top-color:var(--dw-green);background:var(--dw-soft);border-radius:5px}
.dwm-purchase .dwm-service-note{display:flex;justify-content:space-between;align-items:center;gap:28px;background:var(--dw-soft);border:1px solid var(--dw-line);border-radius:8px;padding:27px;margin:28px 0}.dwm-purchase .dwm-service-note :is(h2,h3){font-size:23px;letter-spacing:-.025em;line-height:1.2;margin:0 0 12px}.dwm-purchase .dwm-service-note p:not(.dwm-overline){font-size:14px;color:var(--dw-muted);margin:6px 0;max-width:660px}.dwm-purchase .dwm-service-note>a{font-size:14px;font-weight:600;flex-shrink:0;min-height:44px;display:flex;align-items:center}
.dwm-purchase-cart .woocommerce{display:grid;grid-template-columns:minmax(0,1fr) 325px;gap:20px 32px;align-items:start}.dwm-purchase-cart .woocommerce>*{grid-column:1/-1}.dwm-purchase-cart .woocommerce>.woocommerce-cart-form{grid-column:1;min-width:0}.dwm-purchase-cart .woocommerce>.cart-collaterals{grid-column:2;min-width:0;position:sticky;top:25px}.dwm-purchase .woocommerce table.shop_table{border:0;border-collapse:collapse;border-radius:0;margin:0;width:100%;font-size:14px}.dwm-purchase .woocommerce table.shop_table th{color:var(--dw-muted);font-size:14px;font-weight:500;padding:16px 8px;border-bottom:1px solid var(--dw-line)}.dwm-purchase .woocommerce table.shop_table td{padding:23px 8px;border-top:1px solid var(--dw-line);vertical-align:middle}.dwm-purchase .woocommerce table.shop_table td.product-name{font-size:16px;font-weight:600;line-height:1.5}.dwm-purchase .woocommerce table.shop_table .product-thumbnail img{width:72px;height:92px;object-fit:contain;max-width:none;background:white;border-radius:4px}.dwm-purchase .woocommerce table.shop_table .product-remove{width:28px;padding-left:0}.dwm-purchase .woocommerce a.remove{font-size:22px;min-width:32px;min-height:38px;display:grid;place-items:center;color:#806558!important;border-radius:4px;text-decoration:none}.dwm-purchase .woocommerce a.remove:hover{background:#f8e6dc;color:#6f2918!important}.dwm-purchase .woocommerce table.shop_table td.actions{padding:22px 0}.dwm-purchase .woocommerce .coupon{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:15px}.dwm-purchase .woocommerce .coupon label{position:absolute;clip:rect(0,0,0,0);width:1px;height:1px;overflow:hidden}.dwm-purchase .woocommerce .coupon input{width:150px;min-height:44px;padding:10px;border:1px solid #bccbbd;border-radius:4px}.dwm-purchase .woocommerce .coupon button{background:transparent;color:var(--dw-green);padding:10px 14px;min-height:44px}.dwm-purchase .woocommerce .cart_totals{width:100%;float:none;border:1px solid var(--dw-line);background:var(--dw-paper);border-radius:8px;padding:24px}.dwm-purchase .woocommerce .cart_totals h2{font-size:24px;margin:0 0 18px;letter-spacing:-.03em}.dwm-purchase .woocommerce .cart_totals table th{font-size:14px;line-height:1.6;text-align:left;padding:14px 0}.dwm-purchase .woocommerce .cart_totals table td{font-size:16px;padding:14px 0;text-align:right;line-height:1.4}.dwm-purchase .woocommerce .cart_totals .order-total td{font-size:24px}.dwm-purchase .woocommerce .wc-proceed-to-checkout{padding:18px 0 0}.dwm-purchase .woocommerce .wc-proceed-to-checkout a{width:100%;margin:0}.dwm-purchase .woocommerce .cross-sells{float:none;width:100%;margin-bottom:24px}.dwm-purchase .dwm-quantity{display:inline-flex;align-items:center;border:1px solid #bccbbd;border-radius:5px;overflow:hidden;background:white}.dwm-purchase .dwm-quantity input.qty{width:38px!important;min-width:0;padding:8px 1px!important;min-height:42px;border:0!important;appearance:textfield;text-align:center;font-size:16px}.dwm-purchase .dwm-quantity input::-webkit-inner-spin-button{appearance:none}.dwm-purchase .dwm-quantity button{min-width:29px;min-height:42px;padding:4px;background:white;border:0;color:var(--dw-green);font-size:18px;cursor:pointer}
.dwm-purchase .dwm-account-welcome{padding:30px 0 15px;max-width:660px}.dwm-purchase .dwm-account-welcome h2{font-size:36px;letter-spacing:-.045em;line-height:1.1;margin:0 0 18px}.dwm-purchase .dwm-account-welcome p{font-size:16px;color:var(--dw-muted)}.dwm-purchase .woocommerce form.login{max-width:540px;padding:30px;border:1px solid var(--dw-line);border-radius:8px;background:var(--dw-paper)}.dwm-purchase .woocommerce form.login .woocommerce-form-login__rememberme{font-size:14px;font-weight:400;display:inline-flex;align-items:center;gap:8px;margin:10px 0 20px}.dwm-purchase .woocommerce-MyAccount-navigation{width:22%}.dwm-purchase .woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:9px;border:1px solid var(--dw-line);border-radius:8px;background:var(--dw-paper)}.dwm-purchase .woocommerce-MyAccount-navigation li{list-style:none;margin:0;padding:0}.dwm-purchase .woocommerce-MyAccount-navigation a{display:block;padding:14px 15px;text-decoration:none;font-size:14px;border-radius:4px}.dwm-purchase .woocommerce-MyAccount-navigation li.is-active a{background:var(--dw-green);color:white}.dwm-purchase .woocommerce-MyAccount-content{width:74%;font-size:16px}.dwm-purchase .woocommerce-MyAccount-content>p{color:var(--dw-muted)}.dwm-purchase .dwm-account-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:25px 0 18px}.dwm-purchase .dwm-account-heading h2{font-size:29px;letter-spacing:-.04em;line-height:1.1;margin:0}.dwm-purchase .dwm-account-heading h3{font-size:20px;margin:0}.dwm-purchase .dwm-account-heading>a{font-size:14px;flex-shrink:0}.dwm-purchase .dwm-account-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:24px 0 35px}.dwm-purchase .dwm-account-shortcuts>a{border:1px solid var(--dw-line);padding:19px;border-radius:7px;text-decoration:none;background:var(--dw-paper)}.dwm-purchase .dwm-account-shortcuts span{display:block;color:var(--dw-muted);font-size:14px;margin-bottom:24px}.dwm-purchase .dwm-account-shortcuts strong{display:block;font-size:16px;margin-bottom:10px}.dwm-purchase .dwm-account-shortcuts small{display:block;font-size:14px;color:var(--dw-muted);line-height:1.5}.dwm-purchase .dwm-order-cards{display:grid;gap:16px}.dwm-purchase .dwm-order-card{border:1px solid var(--dw-line);border-radius:8px;padding:25px;background:white}.dwm-purchase .dwm-order-top,.dwm-purchase .dwm-order-bottom{display:flex;justify-content:space-between;gap:15px;align-items:center}.dwm-purchase .dwm-order-top h3{font-size:16px;margin:0}.dwm-purchase .dwm-order-top p{font-size:14px;color:var(--dw-muted);margin:7px 0 0}.dwm-purchase .dwm-order-state{font-size:14px;background:var(--dw-soft);border:1px solid var(--dw-line);border-radius:4px;padding:6px 10px}.dwm-purchase .dwm-order-card ul{margin:20px 0;padding:0;list-style:none;color:var(--dw-muted);font-size:14px;line-height:1.6}.dwm-purchase .dwm-order-bottom{padding-top:17px;border-top:1px solid var(--dw-line)}.dwm-purchase .dwm-order-bottom>strong{font-size:19px}.dwm-purchase .dwm-order-bottom>div{display:flex;gap:8px;flex-wrap:wrap}.dwm-purchase .dwm-account-empty{padding:30px;border:1px dashed #adc2ad;border-radius:8px;background:var(--dw-paper)}.dwm-purchase .dwm-account-empty h3{font-size:22px}.dwm-purchase .dwm-account-empty p{font-size:14px;color:var(--dw-muted);margin:15px 0 22px}.dwm-purchase .woocommerce .addresses .woocommerce-Address{background:var(--dw-paper);padding:24px;border:1px solid var(--dw-line);border-radius:8px}.dwm-purchase .woocommerce .addresses .title h3{font-size:21px}
.dwm-purchase-checkout .woocommerce form.checkout{max-width:1100px}.dwm-purchase .woocommerce #customer_details{margin-bottom:30px}.dwm-purchase .woocommerce #customer_details h3{font-size:25px;letter-spacing:-.025em;margin:15px 0 24px}.dwm-purchase .woocommerce #order_review_heading{font-size:26px;margin:25px 0}.dwm-purchase .woocommerce #order_review{border:1px solid var(--dw-line);border-radius:8px;padding:24px;background:var(--dw-paper)}.dwm-purchase .woocommerce #payment{background:transparent;border-radius:5px}.dwm-purchase .woocommerce #payment ul.payment_methods{padding:20px 0;border-bottom:1px solid var(--dw-line)}.dwm-purchase .woocommerce #payment .payment_box{background:#e8efe0;color:var(--dw-ink);font-size:14px}.dwm-purchase .woocommerce #payment .payment_box::before{border-bottom-color:#e8efe0}.dwm-purchase .woocommerce #payment .place-order{padding:20px 0 0}.dwm-purchase .woocommerce #place_order{min-width:240px}.dwm-purchase .woocommerce input[type=checkbox],.dwm-purchase .woocommerce input[type=radio]{accent-color:var(--dw-green);width:17px;height:17px}
/* Offline preview only. */
.dwm-purchase .dwm-purchase-page{padding:30px 0 55px}.dwm-purchase .dwm-purchase-page>h1{font-size:48px;letter-spacing:-.04em;line-height:1.1;margin:10px 0 25px}.dwm-purchase .dwm-demo-note{border:1px solid #decbbb;border-radius:6px;background:#fff7ec;padding:15px 18px;color:#725436;font-size:14px;line-height:1.6;margin:15px 0 24px}.dwm-purchase .dwm-demo-empty{text-align:center;padding:55px 25px;border:1px dashed #b6c8b2;border-radius:8px}.dwm-purchase .dwm-demo-empty h2{font-size:30px;letter-spacing:-.03em}.dwm-purchase .dwm-demo-empty p{max-width:500px;margin:18px auto;color:var(--dw-muted);font-size:16px}.dwm-purchase .dwm-demo-empty>div{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}.dwm-purchase .dwm-preview-remove{border:0;background:transparent;color:#7f5140;min-height:40px;min-width:35px;font-size:20px;cursor:pointer}.dwm-purchase .dwm-preview-checkout-grid{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:45px}.dwm-purchase .dwm-preview-checkout-grid h2{font-size:25px;margin:10px 0 24px}.dwm-purchase .dwm-preview-checkout-grid fieldset{border:0;padding:0;margin:25px 0}.dwm-purchase .dwm-preview-checkout-grid legend{font-size:21px;font-weight:600;margin-bottom:20px}.dwm-purchase .dwm-preview-radio{display:flex;align-items:center;gap:10px;padding:15px;border:1px solid var(--dw-line);border-radius:5px;margin-bottom:10px;font-size:14px}.dwm-purchase .dwm-preview-summary{align-self:start;position:sticky;top:25px;border:1px solid var(--dw-line);border-radius:8px;padding:25px;background:var(--dw-paper)}.dwm-purchase .dwm-preview-summary>div{padding:13px 0;border-bottom:1px solid var(--dw-line);font-size:14px;line-height:1.6}.dwm-purchase .dwm-preview-summary strong{display:block;font-size:20px;margin-top:8px}.dwm-purchase .dwm-preview-summary .dwm-fine{font-size:14px;color:var(--dw-muted);margin-top:18px}.dwm-purchase [hidden]{display:none!important}
@media(max-width:1000px){.dwm-purchase-cart .woocommerce{grid-template-columns:minmax(0,1fr) 280px;gap:20px}.dwm-purchase .woocommerce .product-price{display:none}.dwm-purchase .woocommerce .cart_totals{padding:19px}.dwm-purchase .dwm-preview-checkout-grid{gap:25px;grid-template-columns:minmax(0,1fr) 310px}.dwm-purchase .dwm-service-note{flex-direction:column;align-items:flex-start;gap:12px}.dwm-purchase .dwm-account-shortcuts{gap:8px}.dwm-purchase .dwm-account-shortcuts>a{padding:14px}.dwm-purchase .dwm-order-bottom{flex-wrap:wrap}}
@media(max-width:760px){.dwm-purchase .dwm-purchase-page{padding-top:22px}.dwm-purchase .dwm-purchase-page>h1{font-size:37px}.dwm-purchase .dwm-steps{gap:13px;font-size:14px;flex-wrap:nowrap;justify-content:space-between}.dwm-purchase .dwm-steps>*{gap:6px;line-height:1.4}.dwm-purchase .dwm-steps b{width:23px;height:23px;flex-shrink:0;font-size:14px}.dwm-purchase-cart .woocommerce{display:block}.dwm-purchase-cart .woocommerce>.cart-collaterals{position:static;margin:25px 0}.dwm-purchase .dwm-purchase-status{margin:10px 0}.dwm-purchase .woocommerce table.shop_table_responsive thead{display:none}.dwm-purchase .woocommerce table.cart tbody,.dwm-purchase .woocommerce table.cart{display:block}.dwm-purchase .woocommerce table.cart tr.woocommerce-cart-form__cart-item{display:grid;grid-template-columns:75px minmax(0,1fr) 35px;gap:12px;border-top:1px solid var(--dw-line);padding:20px 0}.dwm-purchase .woocommerce table.cart tr td{border:0;padding:0;background:transparent!important;text-align:left!important;display:block}.dwm-purchase .woocommerce table.cart td::before{display:none!important}.dwm-purchase .woocommerce table.cart td.product-thumbnail{display:block!important;grid-column:1;grid-row:1/3}.dwm-purchase .woocommerce table.cart .product-thumbnail img{width:65px;height:90px}.dwm-purchase .woocommerce table.cart td.product-name{grid-column:2;grid-row:1;font-size:14px}.dwm-purchase .woocommerce table.cart td.product-remove{grid-column:3;grid-row:1;padding:0}.dwm-purchase .woocommerce table.cart td.product-price{display:none}.dwm-purchase .woocommerce table.cart td.product-quantity{grid-column:2;grid-row:2;align-self:center}.dwm-purchase .woocommerce table.cart td.product-subtotal{grid-column:2/4;grid-row:3;font-size:18px;font-weight:600}.dwm-purchase .woocommerce table.cart tr:has(>.actions){display:block}.dwm-purchase .woocommerce table.cart td.actions{padding:20px 0;border-top:1px solid var(--dw-line)}.dwm-purchase .woocommerce .coupon{float:none;margin-bottom:16px}.dwm-purchase .woocommerce .coupon input{flex:1;width:140px}.dwm-purchase .woocommerce .actions>button{width:100%}.dwm-purchase .dwm-quantity button{min-width:36px;min-height:44px}.dwm-purchase .dwm-quantity input.qty{min-height:44px}.dwm-purchase .dwm-service-note{padding:23px;margin:24px 0}.dwm-purchase .dwm-service-note :is(h2,h3){font-size:23px}.dwm-purchase .woocommerce-MyAccount-navigation,.dwm-purchase .woocommerce-MyAccount-content{float:none;width:100%}.dwm-purchase .woocommerce-MyAccount-navigation ul{display:flex;overflow-x:auto;gap:5px;margin-bottom:25px}.dwm-purchase .woocommerce-MyAccount-navigation a{white-space:nowrap;font-size:14px;padding:12px}.dwm-purchase .dwm-account-heading h2{font-size:26px}.dwm-purchase .dwm-account-heading{align-items:flex-start;flex-wrap:wrap}.dwm-purchase .dwm-account-shortcuts{grid-template-columns:1fr;gap:9px}.dwm-purchase .dwm-account-shortcuts>a{display:grid;grid-template-columns:30px 1fr;gap:5px 12px;padding:17px}.dwm-purchase .dwm-account-shortcuts span{grid-row:1/3;margin:0}.dwm-purchase .dwm-account-shortcuts strong{margin:0;font-size:16px}.dwm-purchase .dwm-order-card{padding:20px}.dwm-purchase .dwm-order-top{align-items:flex-start}.dwm-purchase .dwm-order-top h3{font-size:16px}.dwm-purchase .dwm-order-state{font-size:14px}.dwm-purchase .dwm-order-bottom>div{width:100%}.dwm-purchase .dwm-order-bottom>div>a{flex:1;font-size:14px}.dwm-purchase .dwm-account-welcome h2{font-size:30px}.dwm-purchase .woocommerce form.login{padding:23px}.dwm-purchase .woocommerce :is(input.input-text,textarea,select){font-size:16px}.dwm-purchase .dwm-preview-checkout-grid{grid-template-columns:1fr;gap:25px}.dwm-purchase .dwm-preview-summary{position:static}.dwm-purchase .woocommerce #order_review{padding:18px}.dwm-purchase .woocommerce #place_order{width:100%}.dwm-purchase .dwm-demo-empty{padding:35px 20px}.dwm-purchase .dwm-demo-empty h2{font-size:26px}}

@media(max-width:1100px){.dwm-purchase-cart .woocommerce{display:block}.dwm-purchase-cart .woocommerce>.cart-collaterals{position:static;max-width:500px;margin:25px 0 0 auto}}
@media(max-width:760px){.dwm-purchase-cart .woocommerce>.cart-collaterals{max-width:none}.dwm-purchase .dwm-quantity button{min-width:44px}}

.dwm-purchase .dwm-preview-toast .dwm-secondary{color:#f5ffeb;border-color:#bfd2b4}

/* Visual QA: continuous separators instead of half-width cell borders. */
.dwm-purchase .woocommerce .cart_totals table tr+tr{border-top:1px solid var(--dw-line)}
.dwm-purchase .woocommerce .cart_totals table th,.dwm-purchase .woocommerce .cart_totals table td{border:0}
.dwm-purchase .dwm-purchase-status:empty{min-height:0}
