/*
 Theme Name:   Stale Nierdzewne
 Theme URI:    http://fabrica.ancorathemes.com/
 Description:  Fabrica Child Theme
 Author:       AncoraThemes
 Author URI:   http://ancorathemes.com/
 Template:     fabrica
 Version:      1.0.0
 Tags: blog, e-commerce, portfolio, grid-layout, one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-logo, custom-menu, editor-style, featured-image-header, featured-images, flexible-header, footer-widgets, full-width-template, microformats, post-formats, sticky-post, theme-options, threaded-comments, translation-ready, block-styles, wide-blocks
 Text Domain:  fabrica
*/


/* =Theme customization starts here
------------------------------------------------------------ */

/* Tabele produktowe */

  .spec-table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
  .spec-table{width:100%;border-collapse:collapse;min-width:760px}
  .spec-table th,.spec-table td{border:1px solid #e6e6e6;padding:10px 12px;vertical-align:middle;text-align:center;}
  .spec-table thead th{background:#052d70;font-weight:700;text-align:center; text-transform:uppercase;}
  .spec-table td:first-child,.spec-table td:nth-child(2){white-space:nowrap}
  .spec-table tbody tr:nth-child(even){background:#fcfcfc}

  .avail{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
  .dot{display:inline-block;width:10px;height:10px;border-radius:50%}
  .dot--stock{background:#1e73be}
  .dot--order{border:2px solid #666;background:transparent;box-sizing:border-box}
  .dash{color:#999}

  .spec-legend{margin-top:14px;display:flex;flex-wrap:wrap;gap:16px;align-items:center}
  .spec-notes{margin-top:12px}

  /* Mobile: tabela jako karty */
  @media (max-width: 767px){
    .spec-table{min-width:0}
    .spec-table thead{display:none}
    .spec-table, .spec-table tbody, .spec-table tr, .spec-table td{display:block;width:100%}
    .spec-table tr{border:1px solid #e6e6e6;border-radius:10px;margin:0 0 12px 0;overflow:hidden;background:#fff}
    .spec-table td{border:none;border-bottom:1px solid #f0f0f0;display:flex;justify-content:space-between;gap:14px}
    .spec-table td:last-child{border-bottom:none}
    .spec-table td::before{content:attr(data-label);font-weight:700;color:#333}
    .spec-table td:first-child{background:#052d70; text-transform:uppercase; color:#fff;}
	.spec-table td:first-child:before{color:#fff;}
  }
  
  @media (min-width: 768px){
    .page-id-194 .spec-table thead tr:first-of-type th[rowspan*="2"]{
		width:12%;
		}
	.page-id-194 .spec-table thead tr:first-of-type th[colspan*="9"]{
		width:76%;
		}
	
	.page-id-194 .spec-table thead tr:last-of-type th{
		width:7%;
		}
  }