/* Shared online store grid/card layout - reused by every brand's own
   -store page. Deliberately colour-neutral: brand colour comes from
   whichever brand button/eyebrow class (e.g. .trh-btn-primary) each
   page's own markup already uses for the "View / Buy" link, same as
   every other shared cross-brand block (see coach_profile.css). */

.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.store-card {
  background: #FFFFFF;
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.store-card-image-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #F2F8F8;
  overflow: hidden;
}

.store-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.store-card-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #839898;
  font-size: 13px;
  text-align: center;
  padding: 12px;
}

.store-card-body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.store-card-body h3 {
  margin: 0 0 6px;
  font-size: 18px;
}

.store-card-description {
  font-size: 14px;
  color: #5d6c69;
  margin: 0 0 14px;
  flex: 1;
}

.store-card-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  margin-bottom: 12px;
}

.store-card-price {
  font-weight: 700;
  font-size: 16px;
}

.store-card-out-of-stock {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #C0392B;
  background: #FDE7EC;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.store-empty {
  text-align: center;
  padding: 60px 20px;
  color: #839898;
}

@media (max-width: 600px) {
  .store-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 16px;
  }

  .store-card-body {
    padding: 14px 14px 16px;
  }
}
