.visually-hidden{
  position:absolute!important;
  height:1px;width:1px;
  margin:-1px;border:0;padding:0;
  overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);
  white-space:nowrap;
}

#sim-compatibility-wrapper {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Main grid for slots */
.compat-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    max-width: 1200px;
    width: 100%;
}

/* Individual slot */
/*	.compat-slot {
		width: calc(25% - 15px);
		min-width: 260px;
		background: #fafafa;
		border: 1px solid #ccc;
		border-radius: 6px;
		padding: 12px;
		box-sizing: border-box;
		box-shadow: 0 1px 4px rgba(0,0,0,0.05);
		transition: height 0.2s ease;
	}
*/

.compat-slot {
    width: calc(25% - 15px);
    min-width: 260px;
    background-image: url(https://braketrace.com/wp-content/uploads/2025/05/Brake-Trace-Green-Gradiant-Darker.jpeg);
    border-radius: 6px;
    padding: 12px;
    box-sizing: border-box;
    box-shadow: 0 1px 4px rgb(0 0 0 / .05);
    transition: height 0.2s ease;
    background-size: 300px 410px;
}

/* Select boxes inside slots */
.compat-slot select {
    width: 100%;
    margin-bottom: 10px;
    padding: 6px;
    font-size: 14px;
}

/* Grid for comparison product cards */
.compat-grid-display {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

/* Product card */
.compat-product-card {
/*    background: #fff; */
/*    border: 1px solid #ddd; */
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%!important;
    box-sizing: border-box;
}

/* Product card image */
.compat-product-card img {
    max-width: 100%!important;
    margin-bottom: 10px;
    border-radius: 20px;
    background-color: #fff!important;
    height: 100%!important;
    object-fit: contain;
}

/* Product card title */
.compat-product-card h4 {
    font-size: 16px;
    margin: 5px 0;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #000;
	font-weight: 800;
	text-shadow: 1px 1px #ffffff;
}

/* Product card price */
.compat-product-card .price {
    font-weight: bold;
    color: #000;
    margin-bottom: 8px;
	text-shadow: 1px 1px #ffffff;
}

/* Product card description */
.compat-product-card .description {
    font-size: 13px;
    color: #666;
    min-height: 30px;
    margin-bottom: 5px;
	display: none;
}

/* Product card attributes block */
.compat-product-card .attributes {
    font-size: 13px;
    margin: 5px 0;
    color: #333;
    flex-grow: 1;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Individual attribute inside card */
.compat-product-card .attribute {
    font-size: 13px;
    margin: 3px 0;
    color: #333;
}

/* Affiliate button style */
.compat-product-card .affiliate-button,
.affiliate-button {
    margin-top: auto;
    display: inline-block;
    padding: 10px 16px;
    background-color: #ff0000;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.2s ease;
}

.compat-product-card .affiliate-button:hover,
.affiliate-button:hover {
    background-color: #444;
}

/* Result display */
#compatibility-result {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    margin-top: 20px;
}