/* DAB Digital 1.0.17 — scoped commerce surfaces, native WooCommerce form controls. */
body.dab-cart-page,body.dab-checkout-page{background:#f5f5f5;color:#111}
body.dab-cart-page #main-content,body.dab-checkout-page #main-content{width:min(1180px,calc(100% - 48px));padding:40px 0 64px}
:is(.dab-cart-page,.dab-checkout-page) #main-content article>h1{font-size:clamp(30px,4vw,44px);font-weight:800;letter-spacing:-.045em;margin:0 0 24px}
:is(.dab-cart-page,.dab-checkout-page) .dab-commerce-nav{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;margin:0 0 24px}
:is(.dab-cart-page,.dab-checkout-page) .dab-continue{font-weight:700;color:#111;text-decoration:underline;text-underline-offset:4px;padding:8px 0}
:is(.dab-cart-page,.dab-checkout-page) .dab-delivery-label{font-size:13px;font-weight:650;color:#333;border:1px solid #d5d5d5;border-radius:30px;background:#fff;padding:7px 13px}
/* Classic checkout. Explicit grid avoids default float layouts. */
.dab-checkout-page form.checkout.woocommerce-checkout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:0 28px;align-items:start}
.dab-checkout-page form.checkout> *{grid-column:1/-1;min-width:0}
.dab-checkout-page form.checkout #customer_details{grid-column:1;grid-row:1/span 2;width:100%;margin:0;float:none;display:block;background:#fff;border:1px solid #ddd;border-radius:16px;padding:clamp(18px,3vw,30px);box-shadow:0 8px 28px #00000009}
.dab-checkout-page form.checkout #customer_details .col-1,.dab-checkout-page form.checkout #customer_details .col-2{float:none;width:100%;margin:0;min-width:0}
.dab-checkout-page form.checkout #order_review_heading{grid-column:2;grid-row:1;margin:0;padding:22px 24px 10px;border:1px solid #ddd;border-bottom:0;border-radius:16px 16px 0 0;background:#fff;font-size:24px;color:#111}
.dab-checkout-page form.checkout #order_review{grid-column:2;grid-row:2;float:none;width:100%;min-width:0;margin:0;padding:0 24px 24px;border:1px solid #ddd;border-top:0;border-radius:0 0 16px 16px;background:#fff;box-shadow:0 10px 26px #00000009}
.dab-checkout-page #customer_details h3{font-size:23px;margin:0 0 18px;font-weight:750;color:#111}
.dab-checkout-page .woocommerce form .form-row{padding:0;margin:0 0 16px}
.dab-checkout-page .woocommerce form .form-row label{font-size:14px;font-weight:650;line-height:1.5;margin-bottom:6px;color:#222}
.dab-checkout-page .woocommerce form .form-row input.input-text,.dab-checkout-page .woocommerce form .form-row textarea,.dab-checkout-page .woocommerce form .form-row select{width:100%;min-height:48px;border:1px solid #b9b9b9;border-radius:8px;padding:11px 12px;background:#fff;color:#111;font:inherit;box-shadow:inset 0 1px 2px #00000004}
.dab-checkout-page .select2-container .select2-selection--single{min-height:48px;border:1px solid #b9b9b9;border-radius:8px;background:#fff}
.dab-checkout-page .select2-container .select2-selection--single .select2-selection__rendered{line-height:46px;padding-left:12px;color:#111}
.dab-checkout-page .select2-container .select2-selection--single .select2-selection__arrow{height:46px}
.dab-checkout-page .woocommerce-checkout-review-order-table{width:100%;border:0!important;border-collapse:collapse!important;margin:0 0 20px!important;font-size:14px;table-layout:auto}
.dab-checkout-page .woocommerce-checkout-review-order-table th,.dab-checkout-page .woocommerce-checkout-review-order-table td{padding:13px 0!important;border:0!important;border-bottom:1px solid #e5e5e5!important;vertical-align:middle;text-align:left;color:#111}
.dab-checkout-page .woocommerce-checkout-review-order-table .product-total,.dab-checkout-page .woocommerce-checkout-review-order-table tfoot td{text-align:right;white-space:nowrap;padding-left:10px!important}
.dab-checkout-page .dab-review-item{display:flex;gap:12px;align-items:center;min-width:0}
.dab-checkout-page .dab-review-image{display:block;flex:0 0 76px;width:76px;height:76px;object-fit:contain;border:1px solid #ddd;border-radius:8px;background:#f8f8f8}
.dab-checkout-page .dab-review-copy{display:flex;flex:1;min-width:0;flex-direction:column;align-items:flex-start;gap:4px}
.dab-checkout-page .dab-review-name{font-weight:700;line-height:1.35;overflow-wrap:anywhere}
.dab-checkout-page .dab-review-remove{display:inline-flex;align-items:center;min-height:32px;color:#a31515;text-decoration:underline;text-underline-offset:3px;font-size:13px;font-weight:700}
.dab-checkout-page .dab-review-remove:hover{color:#710000}
.dab-checkout-page .woocommerce-checkout-review-order-table .product-quantity{display:inline-block;font-size:12px;color:#555;font-weight:500}
.dab-checkout-page .woocommerce-checkout-review-order-table .order-total th,.dab-checkout-page .woocommerce-checkout-review-order-table .order-total td{font-weight:800;font-size:22px;border-bottom:0!important;padding-top:17px!important}
.dab-checkout-page #payment{background:#fff;border:0;border-radius:0;color:#111}
.dab-checkout-page #payment ul.payment_methods{padding:16px;border:1px solid #ccc;border-radius:12px;margin:0 0 14px;list-style:none;background:#fafafa}
.dab-checkout-page #payment ul.payment_methods li{margin:0 0 8px;line-height:1.5}
.dab-checkout-page #payment ul.payment_methods li:last-child{margin-bottom:0}
.dab-checkout-page #payment ul.payment_methods label{font-weight:700;font-size:15px}
.dab-checkout-page #payment div.payment_box{background:#f0f0f0;color:#222;border-radius:8px;font-size:14px;margin:12px 0 0;padding:12px}
.dab-checkout-page #payment div.payment_box:before{display:none}
.dab-checkout-page #payment div.form-row.place-order{padding:0;margin:16px 0 0}
.dab-checkout-page #payment .woocommerce-privacy-policy-text,.dab-checkout-page #payment .woocommerce-terms-and-conditions-wrapper{font-size:13px;line-height:1.6}
.dab-checkout-page #payment #place_order,.dab-cart-page .wc-proceed-to-checkout a.checkout-button{display:block;width:100%;float:none;margin:16px 0 0;min-height:54px;padding:15px 18px;background:#ffd600;color:#000;border:2px solid #ffd600;border-radius:9px;font-size:16px;font-weight:800;text-align:center;box-shadow:0 4px 0 #b99b00;text-decoration:none}
.dab-checkout-page #payment #place_order:hover,.dab-cart-page .wc-proceed-to-checkout a.checkout-button:hover{background:#f3c800;border-color:#f3c800;color:#000}
.dab-checkout-page #payment #place_order:disabled{opacity:.6;cursor:not-allowed}
/* Classic cart. Native remove controls, quantity, coupons and totals retained. */
.dab-cart-page .woocommerce-cart-form{background:#fff;border:1px solid #ddd;border-radius:16px;padding:clamp(12px,2vw,24px);box-shadow:0 8px 28px #00000009}
.dab-cart-page .woocommerce table.shop_table{border:0;border-collapse:collapse;margin:0}
.dab-cart-page .woocommerce table.shop_table th,.dab-cart-page .woocommerce table.shop_table td{padding:16px 10px;border:0;border-bottom:1px solid #e4e4e4;vertical-align:middle;color:#111}
.dab-cart-page .woocommerce table.shop_table th{font-size:14px;font-weight:750}
.dab-cart-page .woocommerce table.shop_table .product-thumbnail img{width:100px;height:100px;object-fit:contain;border:1px solid #ddd;border-radius:9px;max-width:none}
.dab-cart-page .woocommerce table.shop_table .product-name a{font-weight:750;text-decoration:none}
.dab-cart-page .woocommerce table.shop_table .product-remove a.remove{display:inline-flex;width:40px;height:40px;align-items:center;justify-content:center;background:#fff2f2;border:1px solid #f0caca;border-radius:9px;color:#a00!important;font-size:23px;line-height:1}
.dab-cart-page .woocommerce table.shop_table .product-remove a.remove:hover{background:#a00;color:#fff!important}
.dab-cart-page .woocommerce .cart-collaterals{margin-top:24px}
.dab-cart-page .woocommerce .cart-collaterals .cart_totals{background:#fff;border:1px solid #ddd;border-radius:16px;padding:24px;width:min(100%,460px);box-shadow:0 8px 28px #00000009}
.dab-cart-page .woocommerce .cart_totals h2{font-size:24px;font-weight:750}
.dab-cart-page .woocommerce .cart_totals .order-total{font-size:21px}
.dab-cart-page .woocommerce table.cart td.actions .coupon .input-text{min-height:48px;min-width:130px;border:1px solid #bbb;border-radius:8px;padding:10px}
/* Modest styling if block pages have not yet been converted. */
:is(.dab-cart-page,.dab-checkout-page) .wc-block-components-sidebar{background:#fff;border:1px solid #ddd;border-radius:14px;padding:20px}
:is(.dab-cart-page,.dab-checkout-page) .wc-block-components-button:not(.is-link){font-weight:750;min-height:48px}
@media(max-width:850px){.dab-checkout-page form.checkout.woocommerce-checkout{display:block}.dab-checkout-page form.checkout #customer_details{margin-bottom:24px}.dab-checkout-page form.checkout #order_review{margin-bottom:20px}.dab-cart-page .woocommerce .cart-collaterals .cart_totals{float:none;width:100%}}
@media(max-width:600px){body.dab-cart-page #main-content,body.dab-checkout-page #main-content{width:calc(100% - 28px);padding:28px 0 42px}.dab-checkout-page form.checkout #order_review_heading{padding:20px 16px 10px}.dab-checkout-page form.checkout #order_review{padding:0 16px 20px}.dab-checkout-page .dab-review-image{width:56px;height:56px;flex-basis:56px}.dab-checkout-page .dab-review-item{gap:8px}.dab-checkout-page .woocommerce form .form-row-first,.dab-checkout-page .woocommerce form .form-row-last{float:none;width:100%}.dab-cart-page .woocommerce table.shop_table_responsive tr td.product-thumbnail{display:block;text-align:right!important}.dab-cart-page .woocommerce table.shop_table_responsive tr td.product-thumbnail:before{content:''}.dab-cart-page .woocommerce table.shop_table .product-thumbnail img{width:76px;height:76px}.dab-cart-page .woocommerce table.cart td.actions .coupon .input-text{min-width:0}.dab-cart-page .woocommerce table.cart td.actions button{font-size:14px;padding:10px}}
