@import url('https://fonts.googleapis.com/css2?family=IRANSans:wght@400;700&display=swap');

.jcc-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* دسکتاپ: 5 ستون */
  gap: 20px;
  font-family: 'IRANSans', sans-serif;
}

/* تبلت */
@media (max-width: 1024px) {
  .jcc-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* موبایل */
@media (max-width: 640px) {
  .jcc-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.shab-card {
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 24px rgba(0,0,0,0.08);
  transition: all .3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.shab-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}
.shab-card-link {
  color: inherit;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.shab-card-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.shab-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.shab-card:hover .shab-card-image {
  transform: scale(1.05);
}
.shab-card-body {
  padding: 14px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.shab-card-title {
  font-size: 1.05rem;
  margin: 0 0 6px;
  line-height: 1.6;
  color: #222;
  font-weight: 700;
}
.shab-card-info {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 10px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.shab-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.shab-card-price {
  font-size: 0.95rem;
  color: #333;
}
.shab-card-price strong {
  color: #5055b7;
  font-weight: 700;
  font-size: 1.1rem;
}
.shab-card-btn {
  background: #5055b7;
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: background .3s ease;
}
.shab-card-btn:hover {
  background: #4043a5;
}
.jcc-empty {
  text-align: center;
  color: #777;
  grid-column: 1 / -1;
}

