/* Sycow WooCommerce refinement 2.3 — only default shortcode pages */
body.sycow-wc-refine .woocommerce{--sw-border:var(--sy-border,rgba(128,128,128,.2));--sw-surface:var(--sy-surface,#fff);--sw-soft:var(--sy-surface-soft,var(--sy-surface,#fff));--sw-text:var(--sy-text,#161616);--sw-muted:var(--sy-text-light,#777);color:var(--sw-text);font-family:var(--sy-font-body,inherit)}
body.sycow-wc-refine .woocommerce mark{background:transparent!important;color:inherit!important;border:0!important;border-radius:0!important;padding:0!important;font-weight:750!important;box-shadow:none!important}
body.sycow-wc-refine .woocommerce .woocommerce-order-details > h2,body.sycow-wc-refine .woocommerce .woocommerce-order-details__title{font-family:var(--sy-font-heading,inherit);font-size:clamp(1.2rem,2vw,1.7rem);margin:0 0 20px}
body.sycow-wc-refine .woocommerce p.order-info{padding:18px 22px;margin:0 0 22px;line-height:1.7;border:1px solid var(--sw-border);border-radius:var(--sy-radius-lg,20px);background:var(--sw-surface)}
body.sycow-wc-refine .woocommerce .woocommerce-order-details{margin-top:20px;padding:24px;border:1px solid var(--sw-border);border-radius:var(--sy-radius-lg,20px);background:var(--sw-surface)}
/* Cart: products wider, recap on right, actions in a single line */
@media(min-width:1081px){
body.sycow-wc-refine.woocommerce-cart .woocommerce-cart-form{float:left!important;width:calc(100% - 370px)!important;margin:0 28px 0 0!important;min-width:0}
body.sycow-wc-refine.woocommerce-cart .cart-collaterals{float:right!important;width:342px!important;margin:0!important;clear:none!important}
body.sycow-wc-refine.woocommerce-cart .cart-collaterals .cart_totals{float:none!important;width:100%!important;position:sticky!important;top:100px!important}
}
body.sycow-wc-refine.woocommerce-cart .woocommerce-cart-form table.shop_table{table-layout:auto;overflow:hidden;border-radius:var(--sy-radius-lg,20px);border:1px solid var(--sw-border)}
body.sycow-wc-refine.woocommerce-cart .woocommerce-cart-form :is(td,th){padding:17px 12px!important;vertical-align:middle}
body.sycow-wc-refine.woocommerce-cart .woocommerce-cart-form td.product-name{min-width:160px;overflow-wrap:anywhere}
body.sycow-wc-refine.woocommerce-cart .woocommerce-cart-form td.product-name dl.variation{display:flex;flex-wrap:wrap;gap:4px 10px;font-size:.84rem;color:var(--sw-muted);margin:8px 0 0}
body.sycow-wc-refine.woocommerce-cart .woocommerce-cart-form td.product-name dl.variation :is(dt,dd){margin:0;float:none}
body.sycow-wc-refine.woocommerce-cart .woocommerce-cart-form td.actions{padding:16px!important}
body.sycow-wc-refine.woocommerce-cart .woocommerce-cart-form td.actions::after{content:"";display:block;clear:both}
body.sycow-wc-refine.woocommerce-cart .woocommerce-cart-form td.actions .coupon{display:flex!important;float:left!important;flex-wrap:nowrap!important;align-items:center!important;gap:10px!important;width:auto!important;margin:0!important}
body.sycow-wc-refine.woocommerce-cart .woocommerce-cart-form td.actions .coupon :is(input,button){float:none!important;margin:0!important}
body.sycow-wc-refine.woocommerce-cart .woocommerce-cart-form td.actions .coupon #coupon_code{width:150px!important;min-width:0}
body.sycow-wc-refine.woocommerce-cart .woocommerce-cart-form td.actions button[name="update_cart"]{float:right!important;margin:0!important}
body.sycow-wc-refine.woocommerce-cart .cart_totals{border:1px solid var(--sw-border);border-radius:var(--sy-radius-lg,20px);padding:22px;background:var(--sw-surface)}
/* Checkout: a shared first grid row prevents recap dropping into the middle */
@media(min-width:1081px){
body.sycow-wc-refine.woocommerce-checkout:not(.woocommerce-order-received) form.checkout{display:grid!important;grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr)!important;column-gap:clamp(24px,3vw,42px)!important;row-gap:0!important;align-items:start!important}
body.sycow-wc-refine.woocommerce-checkout form.checkout #customer_details{grid-column:1!important;grid-row:1 / span 2!important;min-width:0!important;align-self:start!important}
body.sycow-wc-refine.woocommerce-checkout form.checkout #order_review_heading{grid-column:2!important;grid-row:1!important;align-self:start!important;margin:0!important;padding:25px 25px 0!important;z-index:2!important;pointer-events:none}
body.sycow-wc-refine.woocommerce-checkout form.checkout #order_review{grid-column:2!important;grid-row:1!important;align-self:start!important;position:sticky!important;top:105px!important;margin:0!important;padding:73px 24px 24px!important;min-width:0!important}
}
body.sycow-wc-refine.woocommerce-checkout form.checkout #customer_details :is(.col-1,.col-2){width:100%!important;float:none!important;clear:both!important;margin:0 0 20px!important;padding:24px!important;border:1px solid var(--sw-border);border-radius:var(--sy-radius-lg,20px);background:var(--sw-surface)}
body.sycow-wc-refine.woocommerce-checkout form.checkout #customer_details .form-row{box-sizing:border-box!important;min-width:0!important;margin-bottom:15px!important}
body.sycow-wc-refine.woocommerce-checkout form.checkout #customer_details :is(.form-row-first,.form-row-last){width:calc(50% - 9px)!important;clear:none!important}
body.sycow-wc-refine.woocommerce-checkout form.checkout #customer_details .form-row-first{float:left!important}
body.sycow-wc-refine.woocommerce-checkout form.checkout #customer_details .form-row-last{float:right!important}
body.sycow-wc-refine.woocommerce-checkout form.checkout #customer_details .form-row-wide{clear:both!important;width:100%!important}
body.sycow-wc-refine.woocommerce-checkout form.checkout #customer_details .woocommerce-billing-fields__field-wrapper::after,body.sycow-wc-refine.woocommerce-checkout form.checkout #customer_details .woocommerce-shipping-fields__field-wrapper::after{content:"";display:table;clear:both}
body.sycow-wc-refine.woocommerce-checkout form.checkout #customer_details .form-row :is(label,.woocommerce-input-wrapper){display:block!important;float:none!important;width:100%!important;max-width:100%!important;overflow-wrap:normal!important;word-break:normal!important;writing-mode:horizontal-tb!important}
body.sycow-wc-refine.woocommerce-checkout form.checkout #customer_details .form-row :is(input,select,textarea){box-sizing:border-box!important;width:100%!important;max-width:100%!important}
body.sycow-wc-refine.woocommerce-checkout form.checkout #order_review{background:var(--sw-surface)!important;border:1px solid var(--sw-border)!important;border-radius:var(--sy-radius-lg,20px)!important}
body.sycow-wc-refine.woocommerce-checkout form.checkout #order_review #payment{margin-top:16px!important;border-radius:var(--sy-radius-md,14px)}
body.sycow-wc-refine.woocommerce-checkout form.checkout #order_review #payment .place-order{padding:18px 0 0!important}
body.sycow-wc-refine.woocommerce-checkout form.checkout #order_review #place_order{width:100%!important;min-height:50px!important}
/* Smaller viewports */
@media(max-width:1080px){
body.sycow-wc-refine.woocommerce-cart .woocommerce-cart-form,body.sycow-wc-refine.woocommerce-cart .cart-collaterals{float:none!important;width:100%!important;clear:both!important;margin:0 0 22px!important}
body.sycow-wc-refine.woocommerce-cart .cart_totals{position:static!important;width:100%!important;float:none!important}
body.sycow-wc-refine.woocommerce-checkout form.checkout{display:block!important}
body.sycow-wc-refine.woocommerce-checkout form.checkout #order_review_heading{margin:26px 0 12px!important}
body.sycow-wc-refine.woocommerce-checkout form.checkout #order_review{position:static!important;padding:20px!important}
}
@media(max-width:720px){
body.sycow-wc-refine.woocommerce-cart .woocommerce-cart-form td.actions .coupon{float:none!important;display:grid!important;grid-template-columns:1fr 1fr!important;width:100%!important}
body.sycow-wc-refine.woocommerce-cart .woocommerce-cart-form td.actions .coupon #coupon_code{width:100%!important}
body.sycow-wc-refine.woocommerce-cart .woocommerce-cart-form td.actions button[name="update_cart"]{float:none!important;display:block!important;width:100%!important;margin-top:12px!important}
body.sycow-wc-refine.woocommerce-checkout form.checkout #customer_details :is(.form-row-first,.form-row-last){float:none!important;width:100%!important}
body.sycow-wc-refine.woocommerce-checkout form.checkout #customer_details :is(.col-1,.col-2){padding:18px!important}
}
