/* ===== Moduł "Sprawdź w sklepie" — stany lokalne (kams.com.pl) ===== */

/* link w .calculator-actions — strzałka rozwijania */
#stanyToggle .stany-arrow{margin-left:6px;font-size:13px;transition:transform .2s}
#stanyToggle.st-open .stany-arrow{transform:rotate(180deg)}

/* wyrownanie rzedow przyciskow — motywowy mb-4 wewnatrz flexa rozjezdza gap */
.product-summery .calculator-actions .calculator-cta{margin-bottom:0!important}
.product-summery .calculator-actions .calculator-divider{flex-basis:100%}

/* fallback bez .calculator-actions — osobny wiersz nad delivery-policy */
.check-stock.stany-fallback{margin:12px 0 0}
.check-stock.stany-fallback .stany-act{display:inline-flex;align-items:center;gap:7px;color:#2e2e2e;font-family:Montserrat,sans-serif;font-size:14px;text-decoration:none;cursor:pointer}
.check-stock.stany-fallback .stany-act:hover{color:#0f5132}
.check-stock.stany-fallback .stany-act .fa{font-size:15px}

/* panel rozwijany pod paskiem akcji — odstep jak mt-4, symetrycznie do kresek */
.module-stock{position:relative;margin-top:1.5rem}
.st-box{position:relative;border:1px solid #e5e5e5;border-radius:6px;padding:14px 18px 16px;background:#f8f9fa}
.st-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:2px}
.st-title{font:600 12px/1 Montserrat,sans-serif;text-transform:uppercase;letter-spacing:.6px;color:#6c757d}
.st-close{border:0;background:none;color:#999;font-size:20px;line-height:1;cursor:pointer;padding:2px 4px;margin:-2px -4px 0 0}
.st-close:hover{color:#2e2e2e}
.st-hint{margin:0 0 8px;font-size:12px;color:#888}
.st-loading{color:#777;font-size:13px}
.st-nodata{color:#555;font-size:13px}
.st-row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 0;border-top:1px solid #e5e5e5}
.st-row:first-of-type{border-top:0}
.st-loc{display:flex;align-items:center;gap:12px;color:#2e2e2e;font-size:14px;line-height:1.35;min-width:0}
.st-loc .fa{display:flex;align-items:center;justify-content:center;flex:none;width:34px;height:34px;border-radius:50%;background:#fff;border:1px solid #e5e5e5;color:#666;font-size:15px}
.st-loc strong{font-family:Montserrat,sans-serif;font-weight:600;font-size:14px}
.st-loc span{display:block;color:#777;font-size:12px;font-weight:400}
.st-pill{font-family:Montserrat,sans-serif;font-weight:600;font-size:13px;padding:6px 14px;border-radius:20px;white-space:nowrap;min-width:52px;text-align:center;display:inline-block}
.st-ok{background:#d1e7dd;color:#0f5132}
.st-low{background:#fff3cd;color:#664d03}
.st-none{background:#f8d7da;color:#842029}
.st-unknown{background:#e9ecef;color:#6c757d}

/* tabela wariantów */
.st-table{width:100%;border-collapse:collapse;font-size:13px;margin-top:10px}
.st-table th{font-family:Montserrat,sans-serif;font-size:11px;text-transform:uppercase;letter-spacing:.5px;color:#888;font-weight:600;text-align:center;padding:6px 4px;border-bottom:1px solid #ddd}
.st-table th:first-child{text-align:left}
.st-table th .fa{margin-right:4px;color:#888}
.st-table tr.st-on td:first-child{border-left:3px solid #b52e2e;padding-left:8px}
.st-table td{padding:6px 4px;border-bottom:1px solid #eee;text-align:center}
.st-table td:first-child{text-align:left;font-weight:600;color:#2e2e2e}
.st-table tr.st-on td{background:#eef6f2}
.st-table .st-pill{font-size:12px;padding:4px 10px}

.st-ts{margin:10px 0 0;font-size:12px;color:#888}
