/* Koszyk i checkout: komponenty dziedziczą typografię WoodMart; brak globalnych nadpisań. */
body.woocommerce-cart .woocommerce,
body.woocommerce-checkout .woocommerce { --sgw-orange:var(--wd-primary-color,#fd6208); --sgw-border:#e3e7ec; --sgw-muted:#64748b; }
body.woocommerce-cart .woocommerce input,
body.woocommerce-cart .woocommerce select,
body.woocommerce-cart .woocommerce button,
body.woocommerce-checkout .woocommerce input,
body.woocommerce-checkout .woocommerce select,
body.woocommerce-checkout .woocommerce button { font-family:inherit; }
body.woocommerce-cart .woocommerce .cart_totals,
body.woocommerce-checkout .woocommerce .woocommerce-checkout-review-order { border:1px solid var(--sgw-border); border-radius:12px; padding:20px; background:#fff; }
body.woocommerce-cart .woocommerce .cart_totals h2,
body.woocommerce-checkout .woocommerce .woocommerce-checkout-review-order h3 { font-family:inherit; font-weight:700; letter-spacing:normal; }
body.woocommerce-cart .woocommerce .button,
body.woocommerce-checkout .woocommerce #place_order { min-height:46px; border-radius:7px; }
body.woocommerce-checkout .woocommerce form .form-row input.input-text,
body.woocommerce-checkout .woocommerce form .form-row select { border-radius:7px; min-height:44px; }
body.woocommerce-cart .woocommerce .order-total .amount,
body.woocommerce-checkout .woocommerce .order-total .amount { font-weight:700; }
.sgw-brutto { font-size:12px; font-weight:500; text-transform:none; color:#657286; }
.sgw-pickup-review-row[hidden], [data-sgw-pickup-widget][hidden] { display:none!important; }
.sgw-pickup-review-row>th { padding:14px 0 2px !important; }
.sgw-pickup-choice { margin:14px 0 0; padding:16px; border:1px solid #f6d5bc; border-radius:10px; background:#fffdfa; font-family:inherit; font-size:14px; font-weight:400; color:inherit; }
.sgw-pickup-kicker { color:var(--sgw-orange,#fd6208); font-size:13px; font-weight:700; margin:0 0 10px; }
.sgw-pickup-open { display:flex; justify-content:space-between; align-items:center; gap:10px; width:100%; padding:11px 14px; min-height:46px; background:white; border:1px solid #d6dfe8; border-radius:8px; color:#25344a; text-align:left; font:inherit; font-weight:600; cursor:pointer; }
.sgw-pickup-open span { font-size:24px; color:var(--sgw-orange,#fd6208); }
.sgw-pickup-open:focus-visible, .sgw-point:focus-visible, .sgw-modal-close:focus-visible { outline:3px solid #ffa960; outline-offset:2px; }
.sgw-pickup-notice { font-size:12px; margin:10px 0 0; line-height:1.5; color:#697a8c; font-weight:400; }
.sgw-pickup-selected { margin:7px 0 0; font-size:12px; font-weight:500; color:#3c5365; line-height:1.6; }
.sgw-pickup-selected:empty { display:none; }
.sgw-pickup-selected.sgw-error { color:#ac2929; }
.sgw-legacy-select { display:none !important; }
body.sgw-modal-open { overflow:hidden; }
.sgw-modal-backdrop { position:fixed; inset:0; z-index:999990; background:rgba(14,23,38,.56); }
.sgw-modal { position:fixed; z-index:999991; background:#fff; color:#25344a; top:50%; left:50%; transform:translate(-50%,-50%); width:min(1040px,calc(100vw - 36px)); height:min(730px,calc(100dvh - 36px)); border-radius:14px; box-shadow:0 30px 90px rgba(10,22,42,.3); display:flex; flex-direction:column; font-family:inherit; font-size:14px; font-weight:400; overflow:hidden; }
.sgw-modal *, .sgw-modal *::before, .sgw-modal *::after { box-sizing:border-box; }
.sgw-modal-header { padding:22px 26px 19px; display:flex; justify-content:space-between; gap:16px; border-bottom:1px solid #e8edf1; flex-shrink:0; }
.sgw-modal-header h2 { margin:4px 0 5px; padding:0; color:#233249; font-size:24px; font-family:inherit; font-weight:700; line-height:1.25; }
.sgw-modal-overline { font-size:11px; letter-spacing:.09em; font-weight:700; color:#ec6c19; margin:0; }
.sgw-modal-lead { margin:0; color:#6d7c8d; font-size:14px; }
.sgw-modal-close { width:39px; height:39px; flex:0 0 39px; border:1px solid #e1e6ec; border-radius:9px; background:#fff; font-size:26px; line-height:1; cursor:pointer; color:#526478; }
.sgw-modal-body { display:grid; grid-template-columns:minmax(270px,40%) minmax(0,60%); min-height:0; flex:1 1 auto; }
.sgw-modal-side { display:flex; flex-direction:column; min-width:0; min-height:0; border-right:1px solid #e8edf1; padding:17px 16px 0 22px; }
.sgw-modal-search { background:#fff; display:block; width:100%; min-height:45px; padding:12px 14px; border:1px solid #d6dfe8; border-radius:8px; font-size:14px; font-family:inherit; color:#233249; }
.sgw-modal-search:focus-visible { outline:2px solid #ffb078; outline-offset:2px; }
.sgw-modal-count { font-size:12px; font-weight:600; color:#68798a; padding:12px 1px 9px; }
.sgw-modal-list { min-height:0; overflow-y:auto; padding:0 8px 15px 0; }
.sgw-point { background:#fff; border:1px solid #e2e7ed; border-radius:9px; width:100%; padding:12px 13px; margin:0 0 9px; text-align:left; display:flex; flex-direction:column; gap:5px; cursor:pointer; font-family:inherit; color:#24344a; }
.sgw-point:hover, .sgw-point.is-selected { border-color:#ed7b30; background:#fff9f4; }
.sgw-point strong { font-size:14px; font-weight:700; line-height:1.3; }
.sgw-point span { font-size:12px; line-height:1.5; color:#53657b; }
.sgw-point small { color:#687a8b; font-size:12px; }
.sgw-modal-noresults { padding:15px; color:#5c7180; }
.sgw-modal-map { width:100%; min-height:280px; background:#eff3f3; }
.sgw-map-error { display:flex; align-items:center; justify-content:center; padding:24px; height:100%; text-align:center; color:#607184; }
.sgw-modal-footer { padding:15px 22px; display:flex; justify-content:space-between; gap:14px; flex-wrap:wrap; border-top:1px solid #e9edef; background:#fafbfc; color:#617286; font-size:12px; }
.sgw-modal-status { color:#b03824; font-weight:600; }
.sgw-marker-popup strong, .sgw-marker-popup div, .sgw-marker-popup small { display:block; margin:3px 0; }
.sgw-map-pick { border-radius:6px; padding:9px 12px; background:#fd6208; color:white; border:0; cursor:pointer; font-size:13px; font-weight:600; margin-top:9px; }
@media (max-width:767px) {
 .sgw-modal { width:100%; height:100dvh; max-height:100dvh; border-radius:0; top:0; left:0; transform:none; }
 .sgw-modal-header { padding:17px 17px 14px; }
 .sgw-modal-header h2 { font-size:21px; }
 .sgw-modal-lead { font-size:12px; }
 .sgw-modal-body { display:flex; flex-direction:column; }
 .sgw-modal-side { order:2; flex:1 1 auto; border-right:0; border-top:1px solid #e8edf1; padding:13px 15px 0; }
 .sgw-modal-map { order:1; flex:0 0 36%; min-height:175px; }
 .sgw-modal-footer { padding:10px 15px; }
 .sgw-pickup-choice { padding:13px; }
}
@media (prefers-reduced-motion:reduce) { .sgw-modal, .sgw-modal-backdrop { animation:none!important; transition:none!important; } }
