/* Compact classic WooCommerce checkout, cart and order details. */
body:is(.woocommerce-cart,.woocommerce-checkout,.woocommerce-account) .woocommerce{font:14px/1.5 Arial,sans-serif;color:#302d33;max-width:1240px!important;margin-inline:auto!important}
body:is(.woocommerce-cart,.woocommerce-checkout) main{padding-top:12px!important}
.woocommerce-checkout .bgod-intro,.woocommerce-cart .bgod-intro{margin:12px auto 18px;max-width:1240px}
.woocommerce-checkout .bgod-hero,.woocommerce-cart .bgod-hero{min-height:100px;padding:16px 22px;border-radius:14px}
.woocommerce-checkout .bgod-hero h1,.woocommerce-cart .bgod-hero h1{font-size:26px!important;margin:4px 0!important}
.woocommerce-checkout .bgod-hero p,.woocommerce-cart .bgod-hero p{font-size:13px}
.woocommerce-checkout .bgod-steps,.woocommerce-cart .bgod-steps{margin-top:8px!important;gap:8px}
.woocommerce-checkout .bgod-steps li,.woocommerce-cart .bgod-steps li{padding:7px 12px;font-size:12px}
#bgaa-panel{max-width:1240px;margin:10px auto;padding:12px 18px;border-radius:12px;font-size:13px}
#bgaa-panel h2{font-size:18px;margin:8px 0}#bgaa-panel p{font-size:13px;margin:6px 0}
.bgvu-admin>summary{cursor:pointer;font-weight:700;color:#8c123b;line-height:1.6}.bgvu-admin>summary span{font-size:12px;font-weight:400;color:#386449}
body.woocommerce-checkout form.checkout{max-width:1240px!important;width:100%;display:grid;grid-template-columns:minmax(0,1.35fr) minmax(360px,1fr);gap:16px 24px;align-items:start}
form.checkout>.bgab{grid-column:1;margin:0!important;padding:16px!important}
form.checkout>#customer_details{grid-column:1;width:auto!important;float:none!important}
form.checkout>#order_review_heading{grid-column:2;grid-row:1;margin:0!important;padding:14px 18px;background:#fff;border:1px solid #e9e1e5;border-radius:12px 12px 0 0;font-size:19px!important}
form.checkout>#order_review{grid-column:2;grid-row:1 / span 6;margin-top:55px;width:auto!important;float:none!important;padding:16px;background:white;border:1px solid #e9e1e5;border-radius:0 0 12px 12px;min-width:0}
form.checkout>.woocommerce-NoticeGroup,form.checkout>.woocommerce-NoticeGroup-checkout{grid-column:1 / -1}
form.checkout .col2-set:before,form.checkout .col2-set:after{display:none!important}
form.checkout #customer_details>.col-1,form.checkout #customer_details>.col-2{width:100%!important;float:none!important;padding:16px;background:#fff;border:1px solid #e9e1e5;border-radius:12px;margin:0 0 14px;box-sizing:border-box}
.woocommerce form.checkout h3,.woocommerce .cart_totals h2,.woocommerce-order-details h2,.woocommerce-customer-details h2{font-size:19px!important;line-height:1.3!important;margin:0 0 14px!important}
.woocommerce form.checkout h3:before,.woocommerce .cart_totals h2:before{content:' ';display:inline-block;width:14px;height:14px;border:2px solid #c80043;border-radius:4px;margin-right:8px;vertical-align:baseline}
.woocommerce form.checkout .form-row{margin:0 0 10px;padding:0;box-sizing:border-box}
.woocommerce form.checkout .form-row label{font-size:13px!important;line-height:1.5!important;margin-bottom:4px;white-space:normal}
.woocommerce form.checkout :is(input.input-text,select,textarea){font:14px/1.4 Arial,sans-serif!important;min-height:40px;padding:9px 11px!important;border:1px solid #d8cfd5!important;border-radius:7px!important;width:100%;box-sizing:border-box;background:#fff}
.woocommerce form.checkout textarea{min-height:75px}.woocommerce .select2-container .select2-selection--single{height:40px;border-color:#d8cfd5;border-radius:7px}.woocommerce .select2-container .select2-selection__rendered{line-height:38px!important;font-size:14px}.woocommerce .select2-container .select2-selection__arrow{height:38px!important}
.woocommerce .bgab-heading h2{font-size:19px!important;margin:0 0 5px!important}.woocommerce .bgab-heading p{font-size:12px;margin:0 0 10px}.woocommerce .bgab-grid{gap:10px}.woocommerce .bgab-card{padding:12px!important}.woocommerce .bgab-card h3{font-size:15px!important;margin-bottom:8px!important}.woocommerce .bgab-preview{font-size:12px;line-height:1.5}.woocommerce .bgab-actions{gap:6px}.woocommerce .bgab-actions button{font-size:12px!important;padding:7px 9px!important;min-height:34px}
.woocommerce table.shop_table{border:0!important;border-collapse:collapse!important;font-size:13px;width:100%;table-layout:auto}.woocommerce table.shop_table th{font-size:13px;font-weight:700;padding:9px 8px!important;background:#faf7f9}.woocommerce table.shop_table td{padding:12px 8px!important;vertical-align:top;border-top:1px solid #eee6ea!important;line-height:1.5;overflow-wrap:anywhere}
.woocommerce table.shop_table .product-name{font-size:14px;font-weight:600;text-align:left}.woocommerce table.shop_table :is(.product-total,.product-subtotal){white-space:nowrap;text-align:right;font-size:14px}.woocommerce table.shop_table .product-quantity{white-space:nowrap}.woocommerce table.shop_table .product-name>a{font-size:15px!important;line-height:1.4;font-weight:600}
.woocommerce .product-name dl.variation{display:grid!important;grid-template-columns:minmax(70px,auto) minmax(0,1fr);column-gap:8px;row-gap:3px;margin:8px 0 0;font-size:12px;font-weight:400;line-height:1.5}
.woocommerce .product-name dl.variation dt,.woocommerce .product-name dl.variation dd{float:none!important;margin:0!important;padding:0!important;min-width:0;white-space:normal!important;font-size:12px!important;line-height:1.5!important}.woocommerce .product-name dl.variation dt{font-weight:600;color:#665b63}.woocommerce .product-name dl.variation p{font-size:12px!important;line-height:1.5!important;margin:0!important}
.bgvu-spec{margin-top:8px;font-size:12px;font-weight:400}.bgvu-spec>summary{cursor:pointer;color:#9e1645;font-size:12px;font-weight:600;padding:5px 0}.bgvu-spec[open]{background:#faf7f9;border-radius:7px;padding:5px 8px}
.woocommerce #shipping_method{padding:0!important;margin:0!important;text-align:left}.woocommerce #shipping_method li{margin:0 0 8px!important;line-height:1.5;display:flex;align-items:flex-start;gap:7px}.woocommerce #shipping_method li input{flex:0 0 auto;margin-top:4px}.woocommerce #shipping_method label{font-size:13px!important;line-height:1.5!important;overflow-wrap:anywhere}.woocommerce #shipping_method img{max-width:65px!important;max-height:24px!important;object-fit:contain;vertical-align:middle;margin:0 5px}
.woocommerce #payment{background:#faf7f9;border-radius:10px;font-size:13px}.woocommerce #payment ul.payment_methods{padding:12px!important}.woocommerce #payment ul.payment_methods li{font-size:13px;line-height:1.5;margin:6px 0}.woocommerce #payment label{font-size:13px!important}.woocommerce #payment .payment_box{padding:12px!important;font-size:13px!important;line-height:1.5}.woocommerce #payment .payment_box p{font-size:13px!important;line-height:1.5!important;margin:6px 0}.woocommerce #payment .place-order{padding:12px!important}.woocommerce #payment .woocommerce-privacy-policy-text p{font-size:12px!important;line-height:1.5!important}.woocommerce #place_order{float:none!important;width:100%;margin-top:12px;font-size:16px!important;padding:13px 18px!important;background:#c80043!important;color:white!important;border-radius:9px!important}
.woocommerce :is(a.button,button.button,input.button){font:600 14px/1.4 Arial,sans-serif!important;border-radius:8px!important;padding:10px 14px!important;white-space:normal!important;box-sizing:border-box}
.woocommerce .woocommerce-info,.woocommerce .woocommerce-message,.woocommerce .woocommerce-error{font-size:13px!important;line-height:1.5;padding-top:12px;padding-bottom:12px}
.woocommerce .cart_totals{background:#fff;border:1px solid #e9e1e5;border-radius:12px;padding:18px;box-sizing:border-box;width:100%!important;float:none!important}.woocommerce .cart-collaterals{max-width:550px;margin-left:auto}.woocommerce .checkout-button{width:100%;text-align:center;background:#c80043!important;color:#fff!important}.woocommerce .woocommerce-cart-form{padding:16px;background:#fff;border:1px solid #e9e1e5;border-radius:12px;margin-bottom:16px}
.woocommerce-order-details,.woocommerce-customer-details{padding:18px;background:#fff;border:1px solid #e9e1e5;border-radius:12px;margin:16px 0}.woocommerce-order-details .wc-item-meta{padding:0;list-style:none;font-size:12px}.woocommerce-order-details .wc-item-meta li{margin:4px 0}.woocommerce-order-details .wc-item-meta p{display:inline;font-size:12px;margin:0}.woocommerce-customer-details address{font-size:14px!important;line-height:1.7!important}
@media(max-width:950px){body.woocommerce-checkout form.checkout{display:block!important}form.checkout>#order_review{margin-top:0}form.checkout>#order_review_heading{margin-top:16px!important}form.checkout>.bgab{margin-bottom:14px!important}}
@media(max-width:600px){body:is(.woocommerce-cart,.woocommerce-checkout) main{padding-left:12px!important;padding-right:12px!important}.woocommerce-checkout .bgod-hero,.woocommerce-cart .bgod-hero{padding:14px;min-height:90px}.bgod-hero>div{max-width:100%}.bgod-hero>img{opacity:.2}.woocommerce-checkout .bgod-hero h1,.woocommerce-cart .bgod-hero h1{font-size:23px!important}.bgod-steps li{gap:6px}.woocommerce .bgab-grid{grid-template-columns:1fr!important}.woocommerce form.checkout :is(input.input-text,select,textarea){font-size:16px!important}.woocommerce form.checkout .form-row-first,.woocommerce form.checkout .form-row-last{width:100%!important;float:none!important}.woocommerce .woocommerce-cart-form,form.checkout>#order_review,form.checkout #customer_details>.col-1,form.checkout #customer_details>.col-2{padding:12px!important}.woocommerce .product-name dl.variation{grid-template-columns:1fr!important;gap:2px}.woocommerce .product-name dl.variation dd{margin-bottom:5px!important}.woocommerce table.shop_table th,.woocommerce table.shop_table td{padding:10px 5px!important}.woocommerce table.shop_table .product-name{font-size:13px}.woocommerce table.shop_table .product-total{font-size:13px}.woocommerce .shop_table_responsive td:before{font-size:12px!important}#bgaa-panel{margin:8px 12px;padding:10px 12px}.bgvu-admin>summary{font-size:12px}}
/* Product descriptions and delivery must not compete for the same table columns. */
.woocommerce #order_review table.shop_table{display:block}
.woocommerce #order_review table.shop_table thead,.woocommerce #order_review table.shop_table tbody{display:table;width:100%;table-layout:fixed}
.woocommerce #order_review table.shop_table .product-name{width:74%}
.woocommerce #order_review table.shop_table .product-total{width:26%}
.woocommerce #order_review table.shop_table tfoot{display:block}
.woocommerce #order_review table.shop_table tfoot tr{display:grid;grid-template-columns:95px minmax(0,1fr)}
.woocommerce #order_review table.shop_table tfoot th,.woocommerce #order_review table.shop_table tfoot td{display:block;width:auto!important;min-width:0;text-align:left}
.woocommerce #order_review table.shop_table tfoot .order-total td{text-align:right;font-size:19px;font-weight:700}
.woocommerce form.checkout .bgab h3:before{display:none}
.woocommerce form.checkout h3:before,.woocommerce .cart_totals h2:before{border:0;border-radius:0;width:18px;height:18px;background:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23c80043' stroke-width='1.7'%3E%3Cpath d='M6 3h12v18l-3-2-3 2-3-2-3 2V3Z M9 7h6 M9 11h6 M9 15h4'/%3E%3C/svg%3E")}
@media(max-width:600px){.woocommerce #order_review table.shop_table .product-name{width:70%}.woocommerce #order_review table.shop_table .product-total{width:30%}.woocommerce #order_review table.shop_table tfoot tr{grid-template-columns:75px minmax(0,1fr)}}
@media(min-width:1100px){
.woocommerce-cart .woocommerce:has(>.woocommerce-cart-form){display:grid;grid-template-columns:minmax(0,1.75fr) minmax(330px,1fr);gap:16px 20px;align-items:start}
.woocommerce-cart .woocommerce:has(>.woocommerce-cart-form)>.woocommerce-notices-wrapper,.woocommerce-cart .woocommerce:has(>.woocommerce-cart-form)>#bgaa-panel{grid-column:1/-1;width:100%;box-sizing:border-box;margin:0}
.woocommerce-cart .woocommerce:has(>.woocommerce-cart-form)>.woocommerce-cart-form{grid-column:1;min-width:0}
.woocommerce-cart .woocommerce:has(>.woocommerce-cart-form)>.cart-collaterals{grid-column:2;min-width:0;width:100%;margin:0}
.woocommerce-cart .woocommerce-cart-form table .product-price{display:none}
.woocommerce-cart .woocommerce-cart-form .product-name dl.variation{grid-template-columns:1fr;gap:1px}
.woocommerce-cart .woocommerce-cart-form .product-name dl.variation dd{margin-bottom:4px!important}
.woocommerce-cart .woocommerce-cart-form .product-thumbnail{width:55px}.woocommerce-cart .woocommerce-cart-form .product-thumbnail img{width:55px}
.woocommerce-cart .cart_totals table th{width:70px}.woocommerce-cart .cart_totals{padding:14px}
}
/* WooCommerce Blocks uses spans rather than the classic definition list. */
body:is(.woocommerce-cart,.woocommerce-checkout) .wc-block-components-product-metadata__description{display:none}
body:is(.woocommerce-cart,.woocommerce-checkout) .wc-block-components-product-details{display:grid!important;gap:5px!important;font-size:12px!important;line-height:1.45!important;margin-top:8px!important}
body:is(.woocommerce-cart,.woocommerce-checkout) .wc-block-components-product-details>span:not([class]){display:none!important}
body:is(.woocommerce-cart,.woocommerce-checkout) .wc-block-components-product-details>span[class]{display:grid!important;grid-template-columns:110px minmax(0,1fr);gap:8px;white-space:normal!important}
body:is(.woocommerce-cart,.woocommerce-checkout) .wc-block-components-product-details__name{font-weight:600!important;color:#655b63}
body:is(.woocommerce-cart,.woocommerce-checkout) .wc-block-components-product-details__value{white-space:normal!important;overflow-wrap:anywhere;font-weight:400!important}
body:is(.woocommerce-cart,.woocommerce-checkout) .wc-block-components-product-name{font-size:15px!important;line-height:1.4!important;font-weight:600!important}
body:is(.woocommerce-cart,.woocommerce-checkout) .wc-block-components-product-metadata{font-size:12px!important}
body.woocommerce-checkout .wc-block-components-checkout-step{padding:16px!important;margin-bottom:12px!important}
body.woocommerce-checkout .wc-block-components-checkout-step__title{font-size:19px!important}
@media(max-width:600px){body:is(.woocommerce-cart,.woocommerce-checkout) .wc-block-components-product-details>span[class]{grid-template-columns:1fr;gap:0}body:is(.woocommerce-cart,.woocommerce-checkout) .wc-block-components-product-name{font-size:14px!important}body.woocommerce-checkout .wc-block-components-text-input input{font-size:16px!important}body.woocommerce-cart .wc-block-cart-item__wrap{min-width:0}body.woocommerce-cart .wc-block-components-product-details{gap:6px!important}}

body:is(.woocommerce-cart,.woocommerce-checkout) .wc-block-components-product-details>span:not([class*="wc-block-components-product-details__"]){display:none!important}
body:is(.woocommerce-cart,.woocommerce-checkout) .wc-block-components-product-details:not(.bgvu-expanded)>.bgvu-extra{display:none!important}
.bgvu-more{border:0!important;background:transparent!important;color:#9e1645!important;padding:7px 0!important;font:600 12px/1.5 Arial,sans-serif!important;cursor:pointer;text-align:left}
.bgvu-more:before{content:'▸ ';}.bgvu-more[aria-expanded=true]:before{content:'▾ ';}

.wc-block-components-product-details span[aria-hidden="true"]{display:none!important}

/* File and preview belong to their exact cart line. */
body.woocommerce-cart .product-thumbnail{width:84px!important;min-width:64px!important;vertical-align:top!important}
body.woocommerce-cart .bgvu-project-thumb{display:block!important;padding:3px!important;margin:0!important;background:#fff!important;border:1px solid #e6dce0!important;border-radius:8px!important;width:76px!important;min-height:0!important;cursor:zoom-in}
body.woocommerce-cart .bgvu-project-thumb img{display:block!important;width:68px!important;height:60px!important;object-fit:contain!important;margin:0!important}
body.woocommerce-cart .bgvu-inline-file{margin:8px 0 0!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;font-size:12px!important;display:flex!important;gap:6px!important;align-items:center!important;flex-wrap:wrap!important;min-width:0!important}
body.woocommerce-cart .bgvu-inline-file>h3,body.woocommerce-cart .bgvu-inline-file>p{display:none!important}
body.woocommerce-cart .bgvu-inline-file .bpf-drop{position:relative!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;width:64px!important;min-height:34px!important;padding:5px!important;margin:0!important;border:1px dashed #a39098!important;border-radius:6px!important;font-size:12px!important;flex:0 0 auto!important}
body.woocommerce-cart .bgvu-inline-file .bpf-drop strong{font-size:12px!important}
body.woocommerce-cart .bgvu-inline-file .bpf-result{margin:0!important;padding:5px 7px!important;font-size:12px!important;line-height:1.4!important;max-width:100%;flex:1 1 180px}
body.woocommerce-cart .bgvu-file-ready .bpf-result{font-size:0!important;flex:0 0 auto!important;color:#167648!important;background:#edf8f0!important}
body.woocommerce-cart .bgvu-file-ready .bpf-result:before{content:'✓ Plik gotowy';font-size:12px}
body.woocommerce-cart .bgvu-inline-file .bpf-links{min-width:0;max-width:100%;margin:0!important}
body.woocommerce-cart .bgvu-file-info{font-size:12px!important;overflow-wrap:anywhere}
body.woocommerce-cart .bgvu-file-info>summary{cursor:pointer;color:#a20c42;font-size:12px!important;padding:6px 0}
body.woocommerce-cart .bgvu-file-info[open]{flex-basis:100%;padding:8px;background:#fff;border:1px solid #eadfe4;border-radius:8px}
body.woocommerce-cart .bgvu-inline-file progress{width:100%;height:5px}
body.woocommerce-cart .bgvu-delivery-link{display:block;margin:6px 0 10px;color:#a20c42;font-size:12px;line-height:1.5}
body.woocommerce-cart .bpf-wrap[hidden]{display:none!important}
@media(max-width:768px){body.woocommerce-cart table.cart td.product-thumbnail:has(.bgvu-project-thumb){display:block!important;float:left;width:80px!important;padding:8px!important}body.woocommerce-cart table.cart td.product-thumbnail:has(.bgvu-project-thumb):before{display:none!important}body.woocommerce-cart .bgvu-inline-file{text-align:left!important;clear:both}body.woocommerce-cart .bgvu-inline-file .bpf-result{flex-basis:100%}}

/* Keep file tools within the existing compact product row. */
body.woocommerce-cart table.cart .product-name dl.variation{display:grid!important;grid-template-columns:auto 1fr;gap:3px 8px!important;font-size:12px!important;line-height:1.45!important}
body.woocommerce-cart table.cart .product-name dl.variation dt,body.woocommerce-cart table.cart .product-name dl.variation dd,body.woocommerce-cart table.cart .product-name dl.variation p{margin:0!important;padding:0!important;float:none!important}
body.woocommerce-cart .bgvu-inline-file .bgvu-file-info{margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important}
body.woocommerce-cart .bgvu-inline-file .bgvu-file-info>summary{margin:0!important;padding:5px 2px!important;line-height:20px!important}
body.woocommerce-cart .bgvu-inline-file .bgvu-file-info[open]{padding:6px!important}
@media(max-width:480px){body.woocommerce-cart table.cart .product-name dl.variation{grid-template-columns:1fr!important;gap:2px!important}}

/* Country selectors: reset inherited paragraph/block spacing. */
.woocommerce form .select2-container .select2-selection--single{display:flex!important;align-items:center!important;min-height:40px!important;height:40px!important;padding:0!important}
.woocommerce form .select2-container .select2-selection--single .select2-selection__rendered{display:block!important;line-height:1.35!important;margin:0!important;padding:0 32px 0 12px!important;width:100%;align-self:center!important}
.woocommerce form .select2-container .select2-selection__arrow{top:0!important;height:38px!important}
.woocommerce form select.country_select{height:40px!important;padding:0 32px 0 12px!important;line-height:normal!important}
.bgod-steps li>a{display:flex;gap:10px;align-items:center;width:100%;color:inherit;text-decoration:none}
.bgod-steps li>a:hover{text-decoration:underline;color:#bf0045}.bgod-steps li>a:focus-visible{outline:2px solid #bf0045;outline-offset:5px}
.bgvu-tax-label{font-size:11px;font-weight:400;white-space:nowrap}
