/* ============================================================
   VI FEERIE — Trang Bộ sưu tập
   Dùng chung .crumbbar từ css/shop.css
   ============================================================ */

/* ---------------- Mở đầu ---------------- */
.colhead {
  padding-bottom: 0;
  background: var(--bg-soft);
}

.colhead__inner {
  max-width: 720px;
  margin: 0 auto;
  padding-bottom: 56px;
  text-align: center;
}

.colhead .section__desc {
  margin-top: 12px;
}

/* ---------------- Nút lọc nhóm ---------------- */
.colfilters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 36px;
}

.colfilter {
  padding: 9px 17px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-family: var(--font-body);
  font-size: 13.5px;
  color: var(--text);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
}

.colfilter span {
  color: var(--muted);
}

.colfilter:hover {
  border-color: var(--brand-light);
  color: var(--brand-deep);
}

.colfilter.is-active {
  border-color: var(--brand-deep);
  background: var(--brand-deep);
  color: #fff;
  font-weight: 600;
}

.colfilter.is-active span {
  color: rgba(255, 255, 255, 0.75);
}

/* ---------------- Lưới ---------------- */
.colgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.colgrid__item.is-hidden {
  display: none;
}

.colgrid__empty {
  text-align: center;
  color: var(--muted);
}

@keyframes colIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

.colgrid__item.is-entering {
  animation: colIn 0.4s var(--ease) both;
}

/* ---------------- Thẻ bộ sưu tập ---------------- */
.colcard {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.colcard:hover {
  border-color: var(--brand-light);
  transform: translateY(-3px);
}

.colcard__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-soft);
}

/* Ảnh gốc là ảnh dọc có thẻ thông số ở đáy — lấy phần trên
   để chỉ thấy khuôn mặt, giấu thẻ thông số đi. */
.colcard__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.5s var(--ease);
}

.colcard:hover .colcard__media img {
  transform: scale(1.05);
}

.colcard__count {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink);
}

.colcard__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 7px;
  padding: 18px 20px 20px;
}

.colcard__group {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-deep);
}

.colcard__title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}

.colcard__desc {
  flex: 1;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted);
}

.colcard__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-deep);
  transition: gap 0.2s var(--ease);
}

.colcard:hover .colcard__more {
  gap: 10px;
}

.colcard__more svg {
  width: 14px;
  height: 14px;
}

/* ---------------- Dải kêu gọi cuối trang ---------------- */
.colcta {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
}

.colcta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 26px;
}

.colcta__title {
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  color: var(--ink);
}

.colcta__desc {
  max-width: 560px;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--muted);
}

.colcta__acts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media screen and (max-width: 1100px) {
  .colgrid {
    gap: 20px;
  }
}

@media screen and (max-width: 900px) {
  .colgrid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 560px) {
  .colhead__inner {
    padding-bottom: 40px;
  }

  .colfilters {
    margin-bottom: 26px;
  }

  .colgrid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .colcard__title {
    font-size: 18px;
  }

  .colcta__title {
    font-size: 22px;
  }

  .colcta__acts .btn {
    flex: 1 1 140px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .colgrid__item.is-entering {
    animation: none !important;
  }

  .colcard,
  .colcard__media img {
    transition: none !important;
  }
}
