/* ============================================================
   Claudify Collection Cards — Figma node 11175:8327
   responsive row with image + white footer label + arrow
   ============================================================ */

.claudify-collection-cards {
  background-color: var(--bera-color-soft-neutral);
  padding: var(--sp-pt, 60px) var(--sp-pr, 96px) var(--sp-pb, 48px) var(--sp-pl, 96px);
}

.claudify-collection-cards__grid {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 32px;
  align-items: stretch;
  justify-content: center;
}

/* ---- Card ---- */
.claudify-collection-card {
  flex: 1 1 280px;
  max-width: none;
  min-width: 0;
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.claudify-collection-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(26, 28, 24, 0.12);
}

/* ---- Image area ---- */
.claudify-collection-card__image-wrap {
  height: 220px;
  overflow: hidden;
  flex-shrink: 0;
  background-color: rgb(232, 232, 225);
  position: relative;
}

.claudify-collection-card__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.claudify-collection-card:hover .claudify-collection-card__image-wrap img {
  transform: scale(1.04);
}

/* ---- Footer / content ---- */
.claudify-collection-card__footer {
  background: rgb(255, 255, 255);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  flex-shrink: 0;
}

/* Category label — font controlled per-block via inline style */
.claudify-collection-card__label {
  font-family: 'Jost', sans-serif;
  font-size: 18px;
  font-weight: 400;
  font-style: normal;
  line-height: 1.3;
  letter-spacing: 0;
  color: rgb(26, 28, 24);
  white-space: nowrap;
  margin: 0;
}

/* Arrow icon */
.claudify-collection-card__arrow {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgb(26, 28, 24);
  transition: transform 0.2s ease;
}

.claudify-collection-card:hover .claudify-collection-card__arrow {
  transform: translateX(3px);
}

.claudify-collection-card__arrow svg {
  width: 16px;
  height: 16px;
  display: block;
}

/* ============================================================
   Tablet (750px – 989px)
   ============================================================ */
@media screen and (min-width: 750px) and (max-width: 989px) {
  .claudify-collection-cards {
    padding: 48px 48px 40px;
  }

  .claudify-collection-cards__grid {
    gap: 32px;
  }

}

/* ============================================================
   Mobile (< 750px)
   ============================================================ */
@media screen and (max-width: 749px) {
  .claudify-collection-cards {
    padding: 32px 20px 28px;
  }

  .claudify-collection-cards__grid {
    flex-direction: column;
    gap: 32px;
  }

  .claudify-collection-card {
    max-width: 100%;
    flex: none;
  }

}

/* ============================================================
   Product card subtitle — custom.card_subtitle metafield
   ============================================================ */
[id^="shopify-section-"][id$="__product-grid"] .card__subtitle {
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  line-height: 1.4;
  color: rgba(26, 28, 24, 0.72);
  text-align: left;
}
