.stcompare_table{display:block;width:100%;overflow-x:auto;-ms-overflow-style:-ms-autohiding-scrollbar}
.stcompare_table .table-bordered{border:0}
.stcompare_table{display:block;width:100%;overflow-x:auto;-ms-overflow-style:-ms-autohiding-scrollbar}
.stcompare_table .table-bordered{border:0}
.stcompare_table td{min-width: 200px;vertical-align:top;padding-bottom:50px}
.stcompare_table tr:last-child td{padding-bottom:10px}
.stcompare_table tr:last-child td{padding-bottom:10px}

.compare-wrapper {
  padding: 2rem 1rem;
}
.compare-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}
.compare-card {
  overflow: hidden;
  background: white;
  border: 1px solid #ddd;
  border-radius: 16px;
  width: 100%;
  max-width: 300px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 50px;
}
.brand-badge {
  position: absolute;
  top: 2rem;
  left: -6rem;
  transform: rotate(-45deg);
  color: white;
  padding: 0.25rem 1.5rem;
  font-weight: bold;
  font-size: 0.75rem;
}
.brand-badge.continental {
  background: #ffa500;
}
.product-image img {
  max-width: 100%;
  height: auto;
  margin-bottom: 1rem;
}
.product-title {
  text-align: center;
  margin-bottom: 0.5rem;
}
.product-model {
  font-weight: bold;
  color: black;
}

.product-model {
    font-size: 1.2rem;
    font-weight: bold;
    line-height: 1.3em;
    height: 1.3em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-bottom: 4px;
    color: black;
}

.product-dimension {
  font-size: 1.5rem;
  color: #555;
}
.product-features {
  font-size: 0.875rem;
  color: #555;
}
.attributes-icons {
  display: flex;
  gap: 0.5rem;
  margin: 0.5rem 0;
}
.attributes-icons img {
  width: 24px;
  height: 24px;
}
.price-box {
  text-align: center;
  margin: 0.5rem 0;
}
.old-price {
  text-decoration: line-through;
  color: #999;
  display: block;
}
.discount {
  color: green;
  font-weight: bold;
}
/*
.compare-grid .price {
  font-size: 1.5rem;
  color: #222;
  font-weight: bold;
}
*/
.product-details {
  font-size: 0.875rem;
  color: #333;
  margin: 1rem 0;
}
.product-description {
  font-size: 0.875rem;
  text-align: center;
  color: #444;
}
.compare-actions, .compare-actions .btn{
  width: 100%;
}
.btn-buy {
  background: #000;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 1rem;
}
@media (max-width: 768px) {
  .compare-grid {
    flex-direction: column;
    align-items: center;
  }
}
