/* =========================
   STP Product Facts
   ========================= */

.stp-facts{
  margin: 10px 0 14px;
  padding: 12px 14px;
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 10px;
  background: rgba(0,0,0,0.02);
}

.stp-facts .stp-row{
  display: flex;
  gap: 10px;
  align-items: baseline;
  margin: 6px 0;
  flex-wrap: wrap;
}

.stp-facts .stp-label{
  color: #555;
  font-weight: 700;
  min-width: 150px;
}

.stp-facts .stp-value{
  color: #111;
  font-weight: 700;
}

.stp-facts .stp-oem{
  font-weight: 800;
}

/* =========================
   Compatibility
   ========================= */

.stp-compat{
  margin-top: 10px;
}

.stp-row-compat{
  margin-top: 8px;
}

.stp-compat-list{
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stp-compat-list li{
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.stp-check{
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  margin-top: 2px;
}

.stp-compat-text{
  font-weight: 700;
  color: #111;
  line-height: 1.35;
}

.stp-more-btn,
.stp-less-btn{
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  font-weight: 800;
  cursor: pointer;
}

.stp-more-btn{
  color: #c81f25;
}

.stp-less-btn{
  color: #555;
}

.stp-more-btn:hover,
.stp-less-btn:hover{
  text-decoration: underline;
}

.stp-compat-list li.stp-compat-hidden{
  display: none !important;
}

.stp-compat-list li.stp-less-row{
  display: none !important;
}

.stp-compat.stp-show-all .stp-compat-list li.stp-compat-hidden{
  display: flex !important;
}

.stp-compat.stp-show-all .stp-compat-list li.stp-less-row{
  display: flex !important;
}

.stp-compat.stp-show-all .stp-compat-list li.stp-more-row{
  display: none !important;
}

/* =========================
   Expanded Fitment Section
   ========================= */

.stp-fitment{
  margin: 18px 0;
}

.stp-fitment h2{
  margin: 0 0 8px;
}

.stp-fitment-intro{
  margin: 0 0 12px;
  color: #555;
}


.stp-fitment-summary{
  margin: 0 0 14px;
  padding: 12px 14px;
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 10px;
  background: rgba(0,0,0,0.02);
}

.stp-fitment-summary h3{
  margin: 0 0 6px;
  font-size: 16px;
}

.stp-fitment-summary p{
  margin: 0;
  color: #333;
  line-height: 1.5;
}

.stp-fitment-table{
  width: 100%;
  border-collapse: collapse;
  table-layout: auto;
}

.stp-fitment-table th,
.stp-fitment-table td{
  border: 1px solid rgba(0,0,0,0.10);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.stp-fitment-table thead th{
  font-weight: 800;
  background: rgba(0,0,0,0.02);
}

.stp-fitment-table td:first-child,
.stp-fitment-table th:first-child{
  width: 90px;
  white-space: nowrap;
}

.stp-fitment-table td:nth-child(4),
.stp-fitment-table th:nth-child(4){
  width: 42%;
}

.stp-fitment-notes{
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 10px;
  background: #fff;
}

.stp-fitment-notes h3{
  margin: 0 0 6px;
  font-size: 16px;
}

.stp-fitment-notes p{
  margin: 0;
}

/* =========================
   Mobile
   ========================= */

@media (max-width: 640px){
  .stp-facts{
    padding: 12px;
  }

  .stp-facts .stp-label{
    min-width: 120px;
  }

  .stp-fitment-table{
    font-size: 14px;
  }

  .stp-fitment-table th,
  .stp-fitment-table td{
    padding: 8px 10px;
  }

  .stp-fitment-table td:first-child,
  .stp-fitment-table th:first-child{
    width: 72px;
  }

  .stp-fitment-table td:nth-child(4),
  .stp-fitment-table th:nth-child(4){
    width: auto;
  }
}
