/* v12 — parametry techniczne, czytelniejsze produkty, poprawki konfiguratora */
[hidden]{display:none!important}

/* konfigurator: wynik nie może przebijać pod formularzem przed zakończeniem */
.v10-config-result{margin-top:34px;padding-top:28px;border-top:1px solid #dfe7e1;grid-template-columns:380px minmax(0,1fr);gap:30px;align-items:start}
.v10-config-result__summary{position:relative}
.v10-config-result__products{padding-top:10px}
.v10-config-result__head{margin-bottom:24px}
.v10-config-result__head h3{margin-top:8px;margin-bottom:0}
.v10-config-result__cta{margin-top:26px}
.v10-config-form{margin-bottom:0}
.v10-config-nav{margin-top:36px;padding-top:26px}
.v10-configurator__main{min-width:0}

/* karta produktu */
.breadcrumbs{margin-top:32px;margin-bottom:20px}
.product-detail{gap:30px;margin-bottom:34px;align-items:start}
.detail-image{min-height:560px;padding:34px;position:sticky;top:110px}
.detail-image img{max-height:500px;width:100%;object-fit:contain}
.detail-copy{padding:34px}
.detail-copy h1{margin-top:10px;margin-bottom:18px;line-height:1.04}
.detail-price{margin:18px 0 22px}
.product-intro{margin:0 0 18px;padding-bottom:18px;border-bottom:1px solid #e5ece7}
.product-intro p{font-size:15px;line-height:1.75;color:#50645b;margin:0}
.availability{margin:16px 0 14px}
.product-highlights{margin:0 0 24px}
.detail-copy form{gap:11px;padding-top:8px}
.detail-copy input,.detail-copy textarea{font-size:13px;padding:13px 14px;border-radius:10px}
.detail-copy textarea{min-height:105px}
.quote{min-height:48px;font-size:12px;border-radius:10px}

/* osobna sekcja parametrów i opisu */
.product-data-section{width:var(--container);margin:0 auto 30px}
.product-data-section__inner{display:grid;grid-template-columns:1.15fr .85fr;gap:24px;align-items:start}
.product-specs,.product-long-description{background:#fff;border:1px solid var(--line);border-radius:18px;padding:30px;box-shadow:0 12px 35px rgba(12,28,21,.05)}
.product-specs h2,.product-long-description h2{font-size:30px;line-height:1.08;letter-spacing:-.04em;margin:0 0 22px;color:var(--ink)}
.product-specs__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;border:1px solid #e1e8e3;border-radius:14px;overflow:hidden}
.product-specs__grid>div{display:grid;grid-template-columns:minmax(115px,.8fr) 1.2fr;gap:12px;padding:14px 16px;background:#fff;border-bottom:1px solid #e8eeea}
.product-specs__grid>div:nth-child(odd){border-right:1px solid #e8eeea}
.product-specs__grid>div:nth-last-child(-n+2){border-bottom:0}
.product-specs__grid span{font-size:11px;color:#75877f;line-height:1.35}
.product-specs__grid b{font-size:12px;color:#14271f;line-height:1.45;font-weight:800}
.product-equipment{margin-top:24px;padding-top:22px;border-top:1px solid #e6ece8}
.product-equipment h3{font-size:18px;margin:0 0 14px;color:#172920}
.product-equipment>div{display:flex;flex-wrap:wrap;gap:8px}
.product-equipment span{padding:9px 11px;border-radius:999px;background:#eff5e5;color:#496510;font-size:11px;font-weight:700}
.product-long-description p{font-size:14px;line-height:1.82;color:#52655c;margin:0 0 16px}
.product-long-description p:last-child{margin-bottom:0}

/* filtry katalogu — więcej miejsca na parametry */
.ajax-catalog{grid-template-columns:350px minmax(0,1fr);gap:28px}
.filter-panel{max-height:calc(100vh - 120px);overflow:auto;scrollbar-width:thin}
#product-filters{gap:20px;padding:22px}
#product-filters>label,#product-filters>fieldset{padding-bottom:17px;border-bottom:1px solid #edf1ee}
#product-filters>label:last-child,#product-filters>fieldset:last-child{border-bottom:0}
#product-filters select{width:100%;min-height:44px;border:1px solid #dce4de;border-radius:10px;background:#fff;padding:0 11px;color:#20342b}
.price-range input{border:1px solid #dce4de!important;border-radius:10px!important;padding:0 10px!important;background:#fff!important}
.filter-help{margin-top:0}
.active-chips{gap:7px}
.active-chips button{border:0;background:#e8efe9;color:#334a40;padding:8px 10px;border-radius:999px;font-size:10px;font-weight:700;cursor:pointer}

/* karty katalogu trochę czytelniejsze */
.catalog-grid .product-name{min-height:66px}
.product-meta small{max-width:60%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* treść bloga */
.post{max-width:980px}
.post p{font-size:15px;line-height:1.86}
.post h2{font-size:31px;margin-top:34px;margin-bottom:12px}

@media(max-width:1180px){
  .product-data-section__inner{grid-template-columns:1fr}
  .detail-image{position:static;min-height:420px}
  .ajax-catalog{grid-template-columns:320px minmax(0,1fr)}
  .v10-config-result{grid-template-columns:1fr}
}
@media(max-width:900px){
  .ajax-catalog{grid-template-columns:1fr}
  .filter-panel{max-height:none;overflow:visible}
  .product-detail{gap:16px}
  .detail-copy,.product-specs,.product-long-description{padding:24px}
}
@media(max-width:640px){
  .product-specs__grid{grid-template-columns:1fr}
  .product-specs__grid>div,.product-specs__grid>div:nth-child(odd){border-right:0;border-bottom:1px solid #e8eeea}
  .product-specs__grid>div:last-child{border-bottom:0}
  .product-specs__grid>div{grid-template-columns:1fr;gap:4px}
  .detail-image{min-height:300px;padding:18px}
  .detail-copy{padding:22px}
  .v10-config-result{margin-top:24px;padding-top:22px}
}

/* v13 — opcjonalne wyposażenie produktu */
.product-accessories{width:var(--container);margin:0 auto 30px;padding:30px;background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:0 12px 35px rgba(12,28,21,.05)}
.product-accessories__head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:22px}
.product-accessories__head h2{font-size:30px;line-height:1.08;letter-spacing:-.04em;margin:7px 0 8px;color:var(--ink)}
.product-accessories__head p{max-width:780px;margin:0;font-size:13px;line-height:1.7;color:#63766d}
.product-accessories__counter{flex:0 0 auto;min-width:120px;padding:13px 16px;border-radius:14px;background:#eff5e5;text-align:center}
.product-accessories__counter strong{display:block;font-size:25px;line-height:1;color:#4d6f09}
.product-accessories__counter span{display:block;margin-top:5px;font-size:9px;text-transform:uppercase;letter-spacing:.08em;color:#61764e;font-weight:800}
.product-accessories__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.accessory-option{position:relative;display:grid;grid-template-columns:28px 1fr;gap:12px;align-items:start;min-height:132px;padding:17px;border:1px solid #dfe7e1;border-radius:15px;background:#fafcf9;cursor:pointer;transition:.2s ease}
.accessory-option:hover{border-color:#b7c9bd;transform:translateY(-1px)}
.accessory-option input{position:absolute;opacity:0;pointer-events:none}
.accessory-option__check{display:grid;place-items:center;width:27px;height:27px;border:1px solid #cad6cf;border-radius:8px;background:#fff;color:transparent;font-size:14px;font-weight:900;transition:.18s ease}
.accessory-option__content{display:flex;flex-direction:column;min-width:0}
.accessory-option__content b{font-size:13px;line-height:1.35;color:#14271f}
.accessory-option__content small{display:block;margin-top:7px;font-size:10px;line-height:1.55;color:#677b71}
.accessory-option__content em{display:block;margin-top:auto;padding-top:11px;font-size:9px;line-height:1.3;color:#708b35;font-style:normal;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
.accessory-option:has(input:checked){border-color:#93b947;background:#f0f7e4;box-shadow:0 0 0 3px rgba(147,185,71,.1)}
.accessory-option:has(input:checked) .accessory-option__check{background:#96bd43;border-color:#96bd43;color:#13241c}
.product-accessories__note{margin-top:17px;padding:13px 15px;border-radius:12px;background:#f4f7f4;color:#64766d;font-size:10px;line-height:1.55}
.detail-copy form:before{content:"Zapytanie ofertowe";display:block;margin-bottom:4px;font-size:10px;text-transform:uppercase;letter-spacing:.12em;color:#6f8178;font-weight:900}

@media(max-width:1100px){.product-accessories__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.product-accessories{padding:22px}.product-accessories__head{display:block}.product-accessories__counter{margin-top:15px;width:max-content}.product-accessories__grid{grid-template-columns:1fr}.accessory-option{min-height:auto}}

/* Footer layout fix */
.v9-footer{padding:54px 0 22px!important;background:#050e0b!important;color:#aab8b1!important}
.v9-footer .v9-container{width:var(--container);margin:0 auto}
.v9-footer__top{display:grid!important;grid-template-columns:minmax(300px,1.5fr) repeat(3,minmax(150px,.75fr))!important;gap:48px!important;align-items:start!important}
.v9-footer__intro{min-width:0}
.v9-footer__brand{display:inline-block!important;width:245px!important;max-width:100%!important;margin:0 0 20px!important}
.v9-footer__brand img{display:block!important;width:100%!important;height:auto!important;max-height:72px!important;object-fit:contain!important;object-position:left center!important}
.v9-footer__intro p{max-width:430px!important;margin:0 0 18px!important;color:#9badA4!important;font-size:13px!important;line-height:1.75!important}
.v9-footer__contact{display:inline-flex!important;align-items:center!important;margin:0!important;color:#b8d77a!important;font-size:13px!important;font-weight:800!important}
.v9-footer__column{padding-top:6px}
.v9-footer__column b{display:block!important;margin:0 0 16px!important;color:#fff!important;font-size:13px!important;line-height:1.2!important}
.v9-footer__column a,.v9-footer__column span{display:block!important;margin:0 0 10px!important;color:#a7b8b0!important;font-size:12px!important;line-height:1.45!important}
.v9-footer__column a{transition:.2s ease}
.v9-footer__column a:hover{color:#a9d65b!important;transform:translateX(2px)}
.v9-footer__bottom{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:20px!important;margin-top:42px!important;padding-top:18px!important;border-top:1px solid #17231e!important;color:#72837b!important;font-size:11px!important}
.v9-footer__bottom span{display:block!important;margin:0!important;color:inherit!important;font-size:inherit!important}
@media(max-width:1000px){
  .v9-footer__top{grid-template-columns:1.3fr 1fr 1fr!important;gap:32px!important}
  .v9-footer__top>div:last-child{grid-column:2/4!important}
}
@media(max-width:720px){
  .v9-footer{padding:42px 0 20px!important}
  .v9-footer__top{grid-template-columns:1fr 1fr!important;gap:30px 24px!important}
  .v9-footer__intro{grid-column:1/-1!important}
  .v9-footer__top>div:last-child{grid-column:auto!important}
  .v9-footer__brand{width:220px!important}
  .v9-footer__bottom{flex-direction:column!important;align-items:flex-start!important;gap:5px!important;margin-top:30px!important}
}
@media(max-width:480px){
  .v9-footer__top{grid-template-columns:1fr!important;gap:26px!important}
  .v9-footer__intro{grid-column:auto!important}
  .v9-footer__brand{width:205px!important}
}

/* v13.2 — odstępy i wyrównanie produktów w wynikach konfiguratora */
.v10-config-result__products{
  min-width:0;
  padding-top:8px;
  padding-left:4px;
}
.v10-config-result__head{
  margin-bottom:28px;
}
.recommendation-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  column-gap:24px!important;
  row-gap:30px!important;
  align-items:stretch!important;
}
.recommendation-grid .product{
  display:flex!important;
  flex-direction:column!important;
  height:100%!important;
  min-width:0!important;
  border-radius:16px!important;
  overflow:hidden!important;
  border:1px solid #dfe7e1!important;
  box-shadow:0 12px 30px rgba(12,28,21,.055)!important;
}
.recommendation-grid .product-photo{
  height:235px!important;
  flex:0 0 235px!important;
  margin:0!important;
}
.recommendation-grid .product-photo img{
  padding:18px!important;
}
.recommendation-grid .product-content{
  display:flex!important;
  flex:1 1 auto!important;
  flex-direction:column!important;
  padding:18px!important;
}
.recommendation-grid .product-meta{
  margin-bottom:12px!important;
}
.recommendation-grid .product-name{
  min-height:68px!important;
  margin-bottom:12px!important;
  font-size:13px!important;
  line-height:1.42!important;
}
.recommendation-grid .price{
  margin:8px 0 16px!important;
  padding-top:14px!important;
}
.recommendation-grid .price strong{
  font-size:18px!important;
}
.recommendation-grid .product-button{
  margin-top:auto!important;
  min-height:48px!important;
  padding:0 15px!important;
  border-radius:10px!important;
}
.v10-config-result__cta{
  margin-top:30px!important;
}

@media(max-width:900px){
  .recommendation-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    column-gap:18px!important;
    row-gap:24px!important;
  }
}
@media(max-width:680px){
  .v10-config-result__products{padding-left:0}
  .recommendation-grid{
    grid-template-columns:1fr!important;
    row-gap:22px!important;
  }
  .recommendation-grid .product-photo{
    height:260px!important;
    flex-basis:260px!important;
  }
}
