/* =========================================================
   TAULA COMPARATIVA INSTOP 2026 - VERSIO 03
   Estil alineat amb el CSS principal: Open Sans, vermell INSTOP,
   línies suaus, capçaleres tècniques i millor lectura en mòbil.
   No modifica cap nom de classe ni requereix canvis a l'HTML.
   ========================================================= */

.disto-comparison{
  --tb-text:var(--instop-ink,#2f3337);
  --tb-muted:var(--instop-muted,#697078);
  --tb-line:var(--instop-line,#dfe3e6);
  --tb-line-strong:#bfc5ca;
  --tb-head:#3f4449;
  --tb-accent:var(--instop-red,#b52f1b);
  --tb-accent-hover:var(--instop-red-hover,#982714);
  --tb-bg:#fff;
  --tb-alt:var(--instop-soft,#f5f6f7);
  --tb-group:#eceff1;
  --tb-radius:10px;
  width:100%;
  margin:28px 0 34px;
  padding:0;
  color:var(--tb-text);
  font-family:"Open Sans",Arial,Helvetica,sans-serif;
  box-sizing:border-box;
}

.disto-comparison *,
.disto-comparison *::before,
.disto-comparison *::after{
  box-sizing:border-box;
}

.disto-comparison__intro{
  margin:0 0 18px;
}

.disto-comparison__intro h2{
  margin:0 0 8px;
  padding:0;
  color:var(--tb-text);
  font-family:"Open Sans",Arial,Helvetica,sans-serif;
  font-size:28px;
  line-height:34px;
  font-weight:500;
  letter-spacing:-0.3px;
}

.disto-comparison__intro p{
  margin:0;
  color:var(--tb-muted);
  font-size:15px;
  line-height:23px;
  font-weight:400;
}

.comparison-table-wrap{
  width:100%;
  max-width:100%;
  overflow-x:auto;
  overflow-y:hidden;
  border:1px solid var(--tb-line);
  border-radius:var(--tb-radius);
  background:var(--tb-bg);
  box-shadow:0 3px 12px rgba(20,30,40,0.06);
  -webkit-overflow-scrolling:touch;
}

.comparison-table{
  width:100%;
  min-width:900px;
  margin:0;
  border:0;
  border-collapse:separate;
  border-spacing:0;
  table-layout:fixed;
  color:var(--tb-text);
  background:var(--tb-bg);
  font-family:"Open Sans",Arial,Helvetica,sans-serif;
  font-size:13px;
  line-height:18px;
}

.comparison-table a{
  color:inherit;
  font-weight:600;
  text-decoration:none;
  text-underline-offset:3px;
}

.comparison-table a:hover{
  color:var(--tb-accent);
  text-decoration:underline;
}

.comparison-table col.col-section{
  width:15%;
}

.comparison-table col.col-feature{
  width:29%;
}

.comparison-table th,
.comparison-table td{
  padding:9px 10px;
  border:0;
  border-right:1px solid var(--tb-line);
  border-bottom:1px solid var(--tb-line);
  vertical-align:middle;
  background:var(--tb-bg);
  overflow-wrap:anywhere;
  word-break:normal;
}

.comparison-table tr > *:last-child{
  border-right:0;
}

.comparison-table tbody tr:last-child > *{
  border-bottom:0;
}

.comparison-table thead th{
  padding:12px 10px;
  background:var(--tb-head);
  color:#fff;
  font-size:14px;
  line-height:18px;
  font-weight:600;
  text-align:center;
  white-space:normal;
}

.comparison-table thead th:first-child{
  border-top-left-radius:9px;
}

.comparison-table thead th:last-child{
  border-top-right-radius:9px;
}

.comparison-table thead th.col-group,
.comparison-table thead th.col-feature{
  text-align:left;
}

.comparison-table thead a{
  color:#fff;
  font-weight:600;
}

.comparison-table thead a:hover{
  color:#fff;
}

.comparison-table tbody th[scope="rowgroup"]{
  padding:12px 10px;
  color:var(--tb-accent);
  background:var(--tb-group);
  font-size:14px;
  line-height:19px;
  font-weight:700;
  text-align:left;
  vertical-align:top;
}

.comparison-table tbody th[scope="row"]{
  color:var(--tb-text);
  font-weight:600;
  text-align:left;
}

.comparison-table tbody td{
  font-weight:400;
  text-align:center;
}

.comparison-table tbody tr:nth-child(even) td,
.comparison-table tbody tr:nth-child(even) th[scope="row"]{
  background:var(--tb-alt);
}

.comparison-table tbody tr.section-row > *{
  border-top:2px solid var(--tb-line-strong);
}

.comparison-table tbody tr:first-child > *{
  border-top:0;
}

.comparison-table tbody tr:hover td,
.comparison-table tbody tr:hover th[scope="row"]{
  background:#f0f2f3;
}

.disto-comparison .dot{
  display:inline-block;
  width:11px;
  height:11px;
  margin:0 2px;
  border-radius:50%;
  vertical-align:-1px;
}

.disto-comparison .dot--yes{
  background:#5f8f2f;
  box-shadow:0 0 0 2px rgba(95,143,47,0.12);
}

.disto-comparison .dot--no{
  background:#b7bcc1;
  box-shadow:0 0 0 2px rgba(120,126,132,0.08);
}

.disto-comparison .cell-note{
  display:inline;
  margin-left:3px;
  color:var(--tb-muted);
  font-size:11px;
  line-height:15px;
  font-weight:600;
}

.comparison-notes{
  margin:12px 0 0;
  padding:0;
  color:var(--tb-muted);
  font-family:"Open Sans",Arial,Helvetica,sans-serif;
  font-size:11px;
  line-height:17px;
}

.comparison-notes p{
  margin:0 0 5px;
}

/* =========================================================
   VARIANT COMPACTA: FITXA TECNICA LEICA
   ========================================================= */

.taula-tecnica-icon .comparison-table-wrap{
  overflow-x:auto;
  border-radius:8px;
  box-shadow:none;
}

.taula-tecnica-icon .comparison-table{
  min-width:760px;
  font-size:11px;
  line-height:15px;
}

.taula-tecnica-icon .comparison-table col.col-section{
  width:20%;
}

.taula-tecnica-icon .comparison-table col.col-feature{
  width:28%;
}

.taula-tecnica-icon .comparison-table th,
.taula-tecnica-icon .comparison-table td{
  padding:6px 7px;
}

.taula-tecnica-icon .comparison-table thead th{
  color:var(--tb-text);
  background:#fff;
  font-size:12px;
  font-weight:700;
  border-bottom:2px solid #747b81;
}

.taula-tecnica-icon .comparison-table thead a{
  color:var(--tb-text);
}

.taula-tecnica-icon .comparison-table tbody th[scope="rowgroup"]{
  color:var(--tb-text);
  background:var(--tb-group);
  font-size:11px;
  line-height:15px;
  text-transform:uppercase;
  vertical-align:middle;
}

.taula-tecnica-icon .comparison-table tbody th[scope="row"]{
  font-weight:400;
}

.taula-tecnica-icon .comparison-table tbody td{
  text-align:left;
}

.taula-tecnica-icon .comparison-table tbody tr:nth-child(even) td,
.taula-tecnica-icon .comparison-table tbody tr:nth-child(even) th[scope="row"]{
  background:#fff;
}

.taula-tecnica-icon .comparison-table tbody tr.section-row > *{
  border-top:2px solid #747b81;
}

.taula-tecnica-icon .comparison-table td[colspan="2"]{
  text-align:center;
}

.taula-tecnica-icon .comparison-notes{
  margin-top:10px;
  color:#4f555b;
  font-size:10px;
  line-height:15px;
}

/* =========================================================
   VARIANT FITXA DE PRODUCTE
   ========================================================= */

.product-spec-sheet .comparison-table col.col-section{
  width:18%;
}

.product-spec-sheet .comparison-table col.col-feature{
  width:30%;
}

.product-spec-sheet .comparison-table tbody td{
  text-align:left;
}

.product-spec-sheet .comparison-table tbody th[scope="rowgroup"]{
  vertical-align:top;
}

.product-spec-sheet .comparison-table tbody th[scope="row"]{
  font-weight:400;
}

.product-spec-sheet .subsection,
.product-spec-sheet .subsection-row th[scope="row"]{
  color:var(--tb-accent);
  font-weight:700;
}

.product-spec-sheet .subsection-row td{
  background:#fff;
}

.product-spec-sheet .comparison-notes p{
  margin:0 0 6px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (min-width:1100px){
  .comparison-table{
    font-size:13px;
    line-height:19px;
  }

  .comparison-table th,
  .comparison-table td{
    padding:10px 11px;
  }

  .comparison-table thead th{
    font-size:14px;
  }

  .comparison-table tbody th[scope="rowgroup"]{
    font-size:14px;
  }
}

@media (max-width:900px){
  .disto-comparison{
    margin:22px 0 28px;
  }

  .disto-comparison__intro h2{
    font-size:23px;
    line-height:29px;
  }

  .comparison-table{
    min-width:820px;
    font-size:11px;
    line-height:16px;
  }

  .comparison-table th,
  .comparison-table td{
    padding:6px 7px;
  }

  .comparison-table thead th,
  .comparison-table tbody th[scope="rowgroup"]{
    font-size:12px;
    line-height:16px;
  }

  .comparison-table col.col-section{
    width:16%;
  }

  .comparison-table col.col-feature{
    width:31%;
  }

  .product-spec-sheet .comparison-table,
  .taula-tecnica-icon .comparison-table{
    min-width:760px;
  }

  .comparison-notes{
    font-size:10px;
    line-height:15px;
  }
}

@media (max-width:520px){
  .disto-comparison{
    margin:18px 0 24px;
  }

  .comparison-table-wrap{
    border-radius:7px;
  }

  .disto-comparison__intro h2{
    font-size:21px;
    line-height:27px;
  }

  .disto-comparison__intro p{
    font-size:14px;
    line-height:21px;
  }
}
