/* Products Grid — Starting At (WooCommerce) — compact, centered */
.wcpg-sa-container {
  max-width: var(--wcpg-max-width, 1100px);
  margin-inline: auto;
  padding: 10px;
}

.wcpg-sa-grid {
  --wcpg-gap: var(--wcpg-gap, 16px);
  --wcpg-cols: 3;
  display: grid;
  grid-template-columns: repeat(var(--wcpg-cols), minmax(0,1fr));
  gap: var(--wcpg-gap);
  align-items: stretch;
}

@media (max-width: 980px) {
  .wcpg-sa-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 640px) {
  .wcpg-sa-grid { grid-template-columns: 1fr; }
}

.wcpg-sa-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #ececec;
  border-radius: var(--wcpg-radius, 14px);
  overflow: hidden;
  background: linear-gradient(180deg, #fff, #fafafa);
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
  transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease;
}
.wcpg-sa-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 26px rgba(0,0,0,.08);
  border-color: #e4e4e4;
}

.wcpg-sa-media {
  display: block;
  aspect-ratio: var(--wcpg-aspect, 4/3);
  background: #f6f7f8;
  overflow: hidden;
}
.wcpg-sa-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wcpg-sa-body {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1 1 auto;
}

.wcpg-sa-title {
  margin: 0;
  font-size: 16px;
  line-height: 1.25;
}
.wcpg-sa-title a {
  color: #161616;
  text-decoration: none;
}
.wcpg-sa-title a:hover { text-decoration: underline; }

.wcpg-sa-desc {
  color: #4a4a4a;
  font-size: 14px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 3.1em;
}

.wcpg-sa-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.wcpg-sa-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.wcpg-sa-price-label {
  font-size: 11px;
  letter-spacing: .35px;
  text-transform: uppercase;
  color: #6a6a6a;
}
.wcpg-sa-price-value {
  font-weight: 700;
  font-size: 16px;
  color: #111;
}

.wcpg-sa-button {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
}
.wcpg-sa-button:hover { opacity: .92; }

.wcpg-sa-empty, .wcpg-sa-error {
  padding: 12px 14px;
  border: 1px solid #eee;
  border-radius: 10px;
  background: #fafafa;
  font-size: 14px;
}
