.jasani-products {

  display: grid;

  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));

  gap: 50px;

}

.jasani-product {

  border: 1px solid #ccc;

  padding: 10px;

  text-align: center;

}

.jasani-product img {

  max-width: 100%;

  height: auto;

}

.jasani-product .title {

  font-weight: 600;

  margin: 10px 0 5px;

}

.jasani-product .sku,

.jasani-product .price,

.jasani-product .stock {

  margin: 4px 0;

}

.jasani-single-product {

  max-width: 800px;

  margin: auto;

  padding: 20px;

}

.jasani-single-product .image {

  margin-bottom: 20px;

}

.jasani-single-product .gallery img {

  margin: 5px;

  width: 100px;

  height: auto;

}

.jasani-single-product h1 {

  font-size: 26px;

  margin-bottom: 10px;

}

.jasani-single-product .product-description {

  padding: 10px 0;

  border-top: 1px solid #eee;

}
.jasani-color-swatches {
  display: flex;
  gap: .5rem;
}
.jasani-swatch {
  border: 1px solid #ddd;
  padding: .5rem 1rem;
  background: #fff;
  cursor: pointer;
  transition: border-color .2s;
}
.jasani-swatch:hover {
  border-color: #333;
}

/* Example per‐slug colors: */
.jasani-swatch--black { background: #000; color: #fff; }
.jasani-swatch--grey  { background: #999; color: #fff; }
.jasani-swatch--white { background: #fff; color: #333; }

/* Matrix table styling */
.matrix-table {
  border-collapse: collapse;
  width: 100%;
  margin-top: 1rem;
}
.matrix-table th,
.matrix-table td {
  border: 1px solid #ccc;
  width: 3rem;
  height: 2rem;
  text-align: center;
}
.matrix-table td.in-stock {
  background: #cfc;
}
.matrix-table td.out-of-stock {
  background: #fdd;
}

