/* ============================================
   FLEXER — Dedicated Collection Page Styles
   ============================================ */

/* ---- COLLECTION HERO ---- */
.col-hero {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 54px 0 40px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.col-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.col-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,8,8,0.7) 0%, rgba(8,8,8,0.96) 100%);
}
.col-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Top bar inside hero: Badge + Price Range */
.col-hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}
.col-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  width: fit-content;
  white-space: nowrap;
}
body.tier-budget  .col-badge { background: rgba(110,231,183,0.08); color: #6ee7b7; border: 1px solid rgba(110,231,183,0.25); }
body.tier-premium .col-badge { background: rgba(201,168,76,0.08);  color: var(--gold); border: 1px solid rgba(201,168,76,0.25); }
body.tier-branded .col-badge { background: rgba(167,139,250,0.08); color: #a78bfa; border: 1px solid rgba(167,139,250,0.25); }

.col-price-range {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
body.tier-budget  .col-price-range { color: rgba(110,231,183,0.9); }
body.tier-premium .col-price-range { color: rgba(201,168,76,0.9); }
body.tier-branded .col-price-range { color: rgba(167,139,250,0.9); }

.col-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--white);
}
.col-hero-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
}
body.tier-budget  .col-hero-title em { color: #6ee7b7; }
body.tier-premium .col-hero-title em { color: var(--gold); }
body.tier-branded .col-hero-title em { color: #a78bfa; }

.col-hero-desc {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  max-width: 540px;
}

/* Integrated Inclusions Strip */
.col-inclusions-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.06);
  flex-wrap: wrap;
  margin-top: 6px;
}

/* Hero background glow */
body.tier-budget .col-hero-bg  { background: radial-gradient(ellipse at 80% 30%, rgba(110,231,183,0.07) 0%, transparent 70%); }
body.tier-premium .col-hero-bg { background: radial-gradient(ellipse at 80% 30%, rgba(201,168,76,0.08) 0%, transparent 70%); }
body.tier-branded .col-hero-bg { background: radial-gradient(ellipse at 80% 30%, rgba(167,139,250,0.08) 0%, transparent 70%); }

/* ---- COLLECTION MAIN ---- */
.col-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 40px 100px;
}
.col-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.col-count {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.05em;
}
.col-sort {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
}
.col-sort label {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.col-sort select {
  background: var(--surface-2);
  border: 1px solid var(--border-hover);
  color: var(--white);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  outline: none;
}
.col-sort select:focus { border-color: var(--gold); }

.col-grid {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .col-hero { min-height: 260px; padding: 40px 0 28px; }
  .col-hero-content { padding: 0 20px; }
  .col-main { padding: 24px 20px 60px; }
  .col-grid { grid-template-columns: 1fr; }
}
