/* TSI SCF Woo Shell 1.2.0 – lekkie szablony WooCommerce bez Elementora */
:root{--tsi-woo-accent:#ef6fa8;--tsi-woo-text:#171717;--tsi-woo-muted:#6b7280;--tsi-woo-border:#e7e7e7;--tsi-woo-bg:#fff;--tsi-woo-soft:#faf7f9;--tsi-woo-max:1280px}
body.tsi-woo-shell-active{overflow-x:hidden}
.tsi-woo-shell{width:100%;max-width:var(--tsi-woo-max);margin:0 auto;padding:34px 22px 64px;box-sizing:border-box;color:var(--tsi-woo-text)}
.tsi-woo-shell *{box-sizing:border-box}
.tsi-woo-head{margin:0 0 28px;text-align:center}
.tsi-woo-head h1{font-size:clamp(30px,4vw,48px);line-height:1.08;margin:0 0 10px;font-weight:800;letter-spacing:-.02em}
.tsi-woo-head p{max-width:760px;margin:0 auto;color:var(--tsi-woo-muted);font-size:16px;line-height:1.65}
.tsi-woo-notice{padding:14px 16px;border:1px solid #efc66c;background:#fff9e9;border-radius:10px;margin:0 0 20px}
.tsi-woo-catalog .sbse-wrap{max-width:none!important;margin-left:0!important;margin-right:0!important}
.tsi-woo-product{padding-top:16px}
.tsi-woo-product .tsi-scf-bag,.tsi-woo-product .tsi-bag-sale{max-width:none!important}
.tsi-woo-product-fallback{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(320px,.95fr);gap:44px;align-items:start}
.tsi-woo-product-gallery-main{border-radius:14px;overflow:hidden;background:#f6f6f6}
.tsi-woo-product-gallery-main img{display:block;width:100%;height:auto}
.tsi-woo-product-thumbs{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:10px}
.tsi-woo-product-thumbs img{display:block;width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:8px;background:#f4f4f4}
.tsi-woo-product-summary h1{font-size:clamp(30px,3.6vw,46px);line-height:1.1;margin:0 0 15px;font-weight:800}
.tsi-woo-product-summary .price{font-size:26px;font-weight:800;margin:0 0 20px}
.tsi-woo-product-summary .woocommerce-product-details__short-description{font-size:16px;line-height:1.7;margin-bottom:20px}
.tsi-woo-product-summary form.cart{margin:20px 0!important}
.tsi-woo-product-summary .single_add_to_cart_button,.tsi-woo-product-summary .button{background:var(--tsi-woo-accent)!important;color:#fff!important;border:0!important;border-radius:8px!important;padding:14px 22px!important;min-height:48px!important;font-weight:700!important}
.tsi-woo-product-description{margin-top:44px;font-size:16px;line-height:1.75}
.tsi-woo-product-description h2,.tsi-woo-product-description h3{line-height:1.2}
.tsi-woo-trust{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:26px 0 0}
.tsi-woo-trust-item{border:1px solid var(--tsi-woo-border);border-radius:10px;padding:15px 14px;background:#fff;text-align:center;font-size:14px;font-weight:650;line-height:1.35}
.tsi-woo-trust-item strong{display:block;font-size:18px;margin-bottom:5px}
.tsi-woo-checkout-layout,.tsi-woo-cart-layout{max-width:1120px;margin:0 auto}
.tsi-woo-shell .woocommerce{font-size:15px}
.tsi-woo-shell .woocommerce-message,.tsi-woo-shell .woocommerce-info,.tsi-woo-shell .woocommerce-error{border-radius:8px;border-top-color:var(--tsi-woo-accent);background:#fff;box-shadow:0 5px 22px rgba(0,0,0,.05)}
.tsi-woo-shell .woocommerce a.button,.tsi-woo-shell .woocommerce button.button,.tsi-woo-shell .woocommerce input.button,.tsi-woo-shell .woocommerce #respond input#submit{background:var(--tsi-woo-accent);color:#fff;border-radius:7px;padding:13px 18px;font-weight:700}
.tsi-woo-shell .woocommerce a.button:hover,.tsi-woo-shell .woocommerce button.button:hover,.tsi-woo-shell .woocommerce input.button:hover{background:var(--tsi-woo-accent);color:#fff;filter:brightness(.94)}
.tsi-woo-shell table.shop_table{border:1px solid var(--tsi-woo-border);border-radius:10px;overflow:hidden;background:#fff;border-collapse:separate}
.tsi-woo-shell table.shop_table th{font-weight:750;background:#fafafa}
.tsi-woo-shell table.shop_table td,.tsi-woo-shell table.shop_table th{padding:14px 12px}
.tsi-woo-shell .cart_totals,.tsi-woo-shell .woocommerce-checkout-review-order,.tsi-woo-shell .woocommerce-billing-fields,.tsi-woo-shell .woocommerce-additional-fields{background:#fff;border:1px solid var(--tsi-woo-border);border-radius:12px;padding:18px}
.tsi-woo-shell .cart_totals h2,.tsi-woo-shell #order_review_heading,.tsi-woo-shell .woocommerce-billing-fields h3,.tsi-woo-shell .woocommerce-additional-fields h3{margin-top:0}
.tsi-woo-shell .checkout_coupon,.tsi-woo-shell form.login{border-radius:10px;border-color:var(--tsi-woo-border)}
.tsi-woo-shell .form-row input.input-text,.tsi-woo-shell .form-row textarea,.tsi-woo-shell .select2-container .select2-selection--single{border:1px solid #d6d6d6;border-radius:7px;background:#fff;min-height:44px;padding:9px 11px}
.tsi-woo-shell .select2-container .select2-selection--single{padding:7px 10px}
.tsi-woo-shell .select2-container--default .select2-selection--single .select2-selection__rendered{line-height:28px;padding-left:0}
.tsi-woo-shell .select2-container--default .select2-selection--single .select2-selection__arrow{height:42px}
.tsi-woo-shell #payment{background:var(--tsi-woo-soft);border-radius:10px}
.tsi-woo-shell #payment div.payment_box{background:#fff}
.tsi-woo-shell #payment div.payment_box:before{border-bottom-color:#fff}
.tsi-woo-shell #place_order{width:100%;font-size:17px;min-height:52px;background:var(--tsi-woo-accent)!important;color:#fff!important;border-radius:8px!important}
.tsi-woo-back{display:inline-flex;align-items:center;gap:6px;margin:0 0 18px;color:inherit;text-decoration:none;font-weight:650}
.tsi-woo-back:hover{color:var(--tsi-woo-accent)}
@media(max-width:900px){.tsi-woo-shell{padding:24px 16px 48px}.tsi-woo-product-fallback{grid-template-columns:1fr;gap:26px}.tsi-woo-trust{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.tsi-woo-shell{padding-left:12px;padding-right:12px}.tsi-woo-head{margin-bottom:20px}.tsi-woo-head h1{font-size:31px}.tsi-woo-trust{grid-template-columns:1fr}.tsi-woo-shell table.shop_table_responsive tr td{padding:10px 8px}.tsi-woo-shell .coupon{display:grid!important;grid-template-columns:1fr;gap:8px}.tsi-woo-shell .coupon .input-text,.tsi-woo-shell .coupon .button{width:100%!important}.tsi-woo-product-thumbs{grid-template-columns:repeat(3,1fr)}}


/* === 1.4.2: grid produktów na samym dole karty produktu === */
.tsi-woo-product-bottom-grid{max-width:var(--tsi-woo-max,1280px);margin:44px auto 20px;padding:0 18px;box-sizing:border-box}
.tsi-woo-product-bottom-grid *{box-sizing:border-box}
@media(max-width:820px){.tsi-woo-product-bottom-grid{margin-top:30px;padding:0 12px}}
