/* BOLIX adhesives category desktop/tablet breakpoint correction v3 */

@media (min-width:681px) and (max-width:900px) and (hover:hover) and (pointer:fine){
  body.bolix-filter-drawer-open{overflow:auto;touch-action:auto}
  .bolix-adhesives-catalogue-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:22px;align-items:start}
  .bolix-adhesives-filters{position:sticky;z-index:2;inset:auto;top:150px;width:auto;height:auto;max-height:calc(100dvh - 175px);padding:20px;border:1px solid #e1e3e6;border-radius:20px;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-gutter:stable;background:#f8f9fa;box-shadow:none;transform:none;transition:none}
  .bolix-adhesives-filters__header{position:static;margin:0 0 6px;padding:0;border:0;background:transparent}
  .bolix-adhesives-filter-close,.bolix-adhesives-filter-open,.bolix-adhesives-filter-backdrop{display:none!important}
  .bolix-adhesives-filter-group{display:block;width:100%;padding:14px 0}
  .bolix-adhesives-filter-group label{min-height:36px;padding:6px 7px}
  .bolix-adhesives-results{min-width:0;width:100%}
  .bolix-adhesives-results__toolbar{display:flex;grid-template-columns:none;align-items:center;justify-content:space-between;gap:14px}
  .bolix-adhesives-results__count>strong{text-align:left}
  .bolix-adhesives-active-filters{justify-content:flex-start}
  .bolix-adhesives-sort{grid-column:auto;width:auto;margin-left:auto}
  .bolix-adhesives-sort select{min-width:175px}
  .bolix-adhesives-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
}

@media (min-width:901px){
  .bolix-adhesives-catalogue-layout{grid-template-columns:270px minmax(0,1fr);gap:28px;align-items:start}
  .bolix-adhesives-results{min-width:0}
  .bolix-adhesives-filters{position:sticky;top:150px;max-height:calc(100dvh - 175px);overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-gutter:stable}
  .bolix-adhesives-filters__header{position:sticky;z-index:3;top:-22px;margin:-22px -22px 4px;padding:22px 22px 14px;border-bottom:1px solid #e1e3e6;background:#f8f9fa;border-radius:20px 20px 0 0}
  .bolix-adhesives-filter-close,.bolix-adhesives-filter-open,.bolix-adhesives-filter-backdrop{display:none!important}
}

@media (min-width:681px){
  .bolix-adhesives-filters{scrollbar-width:thin;scrollbar-color:#c4c9d0 transparent}
  .bolix-adhesives-filters::-webkit-scrollbar{width:8px}
  .bolix-adhesives-filters::-webkit-scrollbar-track{background:transparent}
  .bolix-adhesives-filters::-webkit-scrollbar-thumb{border:2px solid transparent;border-radius:999px;background:#c4c9d0;background-clip:padding-box}
  .bolix-adhesives-filters::-webkit-scrollbar-thumb:hover{background:#aeb5be;background-clip:padding-box}
}

@media (min-width:681px) and (max-width:900px) and (hover:none) and (pointer:coarse){
  .bolix-adhesives-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

.bolix-adhesives-filter-group label.is-unavailable{opacity:.42;cursor:not-allowed;user-select:none}
.bolix-adhesives-filter-group label.is-unavailable:hover{background:transparent}
.bolix-adhesives-filter-group label.is-unavailable span,.bolix-adhesives-filter-group label.is-unavailable small{color:#98a2b3}
.bolix-adhesives-filter-group label.is-unavailable input{cursor:not-allowed;accent-color:#c7cdd5}
.bolix-adhesives-filter-group label.is-conflicting{outline:1px solid #e30613;outline-offset:2px}

/* Mobile comparison: every row becomes a readable product card. */
@media (max-width:760px){
  .bolix-adhesives-comparison-wrap{overflow:visible;margin:0}
  .bolix-adhesives-comparison{display:block;width:100%;min-width:0;border:0;background:transparent}
  .bolix-adhesives-comparison thead{display:none}
  .bolix-adhesives-comparison tbody{display:grid;gap:14px}
  .bolix-adhesives-comparison tr{display:block;padding:18px;border:1px solid #e1e4e8;border-radius:18px;background:#fff;box-shadow:0 8px 24px rgba(15,23,42,.06)}
  .bolix-adhesives-comparison td{display:grid;grid-template-columns:minmax(92px,38%) minmax(0,1fr);gap:12px;align-items:start;width:100%;padding:9px 0;border:0;border-bottom:1px solid #eef0f3;font-size:15px;line-height:1.45;white-space:normal;overflow-wrap:anywhere}
  .bolix-adhesives-comparison td:last-child{border-bottom:0;padding-bottom:0}
  .bolix-adhesives-comparison td:first-child{padding-top:0}
  .bolix-adhesives-comparison td::before{font-size:12px;line-height:1.35;font-weight:800;letter-spacing:.03em;text-transform:uppercase;color:#6b7280}
  .bolix-adhesives-comparison td:nth-child(1)::before{content:'Produktas'}
  .bolix-adhesives-comparison td:nth-child(2)::before{content:'Paskirtis'}
  .bolix-adhesives-comparison td:nth-child(3)::before{content:'Izoliacija'}
  .bolix-adhesives-comparison td:nth-child(4)::before{content:'Kada rinktis'}
  .bolix-adhesives-comparison td:nth-child(5)::before{content:'Temperatūra'}
  .bolix-reinforcement-comparison td:nth-child(2)::before{content:'Izoliacija'}
  .bolix-reinforcement-comparison td:nth-child(3)::before{content:'Produkto tipas'}
  .bolix-reinforcement-comparison td:nth-child(4)::before{content:'Kada rinktis'}
  .bolix-reinforcement-comparison td:nth-child(5)::before{content:'Sezonas'}
  .bolix-adhesives-comparison td:first-child a{color:#111827;font-weight:800;text-decoration:none}
}
