:root{
  --pfs-yellow:#f2b600;
  --pfs-black:#0a0a0a;
  --pfs-line:#d9d9d9;
  --pfs-soft:#fff9e5;
}

.pfs-size-chart-inline{
  width:100%;
  box-sizing:border-box;
}

.pfs-size-chart-intro{
  max-width:860px;
  margin:0 0 24px;
  color:#202020;
  font-size:13px;
  line-height:1.65;
}

.pfs-size-chart-intro h3{
  margin:0 0 10px;
  color:var(--pfs-black);
  font-size:18px;
  line-height:1.25;
}

.pfs-size-chart-intro p{
  margin:0 0 10px;
}

.pfs-size-chart-grid{
  display:grid;
  grid-template-columns:minmax(150px, 190px) minmax(0,1fr);
  gap:30px;
  align-items:center;
}

.pfs-size-chart-image{
  margin:0 auto;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent !important;
  box-shadow:none;
  display:flex;
  align-items:center;
  justify-content:center;
  max-width:180px;
}

.pfs-size-chart-image img{
  display:block;
  width:auto;
  max-width:100%;
  max-height:130px;
  height:auto;
  object-fit:contain;
}

.pfs-size-chart-table{
  overflow-x:auto;
  border:1px solid var(--pfs-line);
  border-radius:8px;
  background:#fff;
}

.pfs-size-chart-table table{
  width:100%;
  min-width:590px;
  margin:0;
  border:0;
  border-collapse:collapse;
  color:var(--pfs-black);
  font-size:11px;
}

.pfs-size-chart-table th,
.pfs-size-chart-table td{
  padding:10px 8px;
  border:0;
  border-right:1px solid #e7e7e2;
  border-bottom:1px solid #e7e7e2;
  text-align:center;
  vertical-align:middle;
}

.pfs-size-chart-table tr:last-child th,
.pfs-size-chart-table tr:last-child td{
  border-bottom:0;
}

.pfs-size-chart-table th:last-child,
.pfs-size-chart-table td:last-child{
  border-right:0;
}

.pfs-size-chart-table th:first-child,
.pfs-size-chart-table td:first-child{
  text-align:left;
  font-weight:900;
}

.pfs-size-chart-table thead{
  background:var(--pfs-yellow);
  color:var(--pfs-black);
}

.pfs-size-chart-table thead th{
  border-color:rgba(0,0,0,.14);
  font-weight:900;
}

.pfs-size-chart-table tbody tr:nth-child(even){
  background:#fafaf8;
}

.pfs-size-chart-table tbody th:first-child,
.pfs-size-chart-table tbody td:first-child{
  background:var(--pfs-soft);
}

.pfs-size-chart-table tbody tr:nth-child(2) > th:first-child,
.pfs-size-chart-table tbody tr:nth-child(2) > td:first-child{
  background:#fff;
}

@media (max-width:760px){
  .pfs-size-chart-intro{
    margin-bottom:18px;
    font-size:12px;
    line-height:1.6;
  }
  .pfs-size-chart-intro h3{
    font-size:16px;
  }
  .pfs-size-chart-grid{
    grid-template-columns:1fr;
    gap:16px;
  }
  .pfs-size-chart-image{
    max-width:135px;
  }
  .pfs-size-chart-image img{
    max-height:110px;
  }
  .pfs-size-chart-table{
    margin-top:2px;
  }
  .pfs-size-chart-table table{
    font-size:11px;
  }
}


/* Pilsen Flow: larger sizes 3XL–5XL are subtly differentiated as full columns. */
.pfs-size-chart-table tbody tr > *:nth-child(8),
.pfs-size-chart-table tbody tr > *:nth-child(9),
.pfs-size-chart-table tbody tr > *:nth-child(10){
  background:#fff8df;
}

.pfs-size-chart-table thead tr > *:nth-child(8),
.pfs-size-chart-table thead tr > *:nth-child(9),
.pfs-size-chart-table thead tr > *:nth-child(10){
  background:#e8ad00;
}


.pfs-size-chart-table tbody tr > th:first-child,
.pfs-size-chart-table tbody tr > td:first-child{
  background:#fff !important;
}
