/* ================================================
   Step Up — design.css
   Design Catalog page styles
   Rules: px only · no rem · no :root variables
   ================================================ */

/* ------------------------------------------------
   PAGE HERO
   ------------------------------------------------ */
.page-hero {
  padding: 80px 48px 56px;
  max-width: 780px;
}

.page-hero-eyebrow {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 4px;
  color: #c9a84c;
  text-transform: uppercase;
  margin-bottom: 20px;
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 20px;
  padding: 5px 14px;
  background: rgba(201, 168, 76, 0.07);
}

.page-hero-title {
  font-size: 48px;
  font-weight: 500;
  line-height: 1.12;
  color: #ffffff;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.page-hero-title em {
  font-style: normal;
  color: #c9a84c;
}

.page-hero-sub {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.42);
  line-height: 1.75;
  max-width: 540px;
  margin-bottom: 32px;
}

.page-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 5px 13px;
  background: rgba(255, 255, 255, 0.03);
}

.meta-pill i {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

/* ------------------------------------------------
   FILTER BAR
   ------------------------------------------------ */
.filter-bar {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  align-items: center;
  gap: 5px;
  padding: 20px 48px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  justify-content: center;
}

.filter-btn {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  padding: 8px 16px;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.filter-btn:hover {
  color: rgba(255, 255, 255, 0.7);
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.03);
}

.filter-btn.active {
  color: #0d0d0d;
  background: #c9a84c;
  border-color: #c9a84c;
}




/* ------------------------------------------------
   CATALOG GRID
   ------------------------------------------------ */
.catalog {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  background: rgb(96 95 55 / 10%);
  border-top: 1px solid rgb(255 255 255 / 35%);
  border-bottom: 1px solid rgb(255 255 255 / 35%);
  margin: 0;
  padding: 20px 30px;
}

/* ------------------------------------------------
   CATALOG ITEM CARD
   ------------------------------------------------ */
.catalog-item {
  display: flex;
  flex-direction: column;
  background: #111111;
  border-radius: 10px;
  transition: background 0.18s ease;
  cursor: default;
}

.catalog-item:hover {
  background: #161616;
}

/* Hide state — controlled by JS filter */
.catalog-item.hidden {
  display: none;
}

/* ------------------------------------------------
   CATALOG PREVIEW TILE
   ------------------------------------------------ */
.catalog-preview {
  position: relative;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
  border-bottom: 1px solid rgb(255 255 255 / 25%);
  border-radius: 10px;
  padding: 24px;
}

/* Subtle radial glow behind icon */
.catalog-preview::before {
  content: '';
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  opacity: 0.18;
  filter: blur(32px);
  pointer-events: none;
}

.preview-icon {
  font-size: 32px;
  position: relative;
  z-index: 1;
  transition: transform 0.25s ease;
}

.catalog-item:hover .preview-icon {
  transform: scale(1.12) translateY(-2px);
}

/* Mock content lines inside preview */
.preview-lines {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 100%;
  max-width: 120px;
  position: relative;
  z-index: 1;
}

.preview-line {
  display: block;
  height: 4px;
  border-radius: 2px;
  opacity: 0.2;
}

.preview-line.long  { width: 100%; }
.preview-line.mid   { width: 72%; }
.preview-line.short { width: 48%; }

/* ── Category colour themes ── */

/* Wedding — rose gold */
.preview-wedding {
  background: linear-gradient(135deg, #1a1212 0%, #110d0d 100%);
}
.preview-wedding::before { background: #c97b7b; }
.preview-wedding .preview-icon { color: #e8a0a0; }
.preview-wedding .preview-line { background: #e8a0a0; }

/* Birthday — amber/gold */
.preview-birthday {
  background: linear-gradient(135deg, #181510 0%, #100e09 100%);
}
.preview-birthday::before { background: #c9a84c; }
.preview-birthday .preview-icon { color: #e8c97a; }
.preview-birthday .preview-line { background: #e8c97a; }

/* Greetings — soft teal */
.preview-greetings {
  background: linear-gradient(135deg, #0f1614 0%, #0a100e 100%);
}
.preview-greetings::before { background: #5cbfa0; }
.preview-greetings .preview-icon { color: #7ed8bb; }
.preview-greetings .preview-line { background: #7ed8bb; }

/* Presentations — blue */
.preview-presentations {
  background: linear-gradient(135deg, #0f1218 0%, #0a0d12 100%);
}
.preview-presentations::before { background: #5b8ee8; }
.preview-presentations .preview-icon { color: #85acf5; }
.preview-presentations .preview-line { background: #85acf5; }

/* Games — purple */
.preview-games {
  background: linear-gradient(135deg, #130f1a 0%, #0d0a12 100%);
}
.preview-games::before { background: #9b6de8; }
.preview-games .preview-icon { color: #bc99f5; }
.preview-games .preview-line { background: #bc99f5; }

/* Party — orange */
.preview-party {
  background: linear-gradient(135deg, #181209 0%, #110d07 100%);
}
.preview-party::before { background: #e8834c; }
.preview-party .preview-icon { color: #f5aa7a; }
.preview-party .preview-line { background: #f5aa7a; }

/* Graduation — green-gold */
.preview-graduation {
  background: linear-gradient(135deg, #121810 0%, #0d1009 100%);
}
.preview-graduation::before { background: #7cba5a; }
.preview-graduation .preview-icon { color: #9ed67a; }
.preview-graduation .preview-line { background: #9ed67a; }

/* Custom — neutral gold */
.preview-custom {
  background: linear-gradient(135deg, #161612 0%, #0f0f0a 100%);
}
.preview-custom::before { background: #c9a84c; }
.preview-custom .preview-icon { color: #c9a84c; }
.preview-custom .preview-line { background: #c9a84c; }

/* ------------------------------------------------
   CATALOG INFO (below preview)
   ------------------------------------------------ */
.catalog-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 24px 26px;
  flex: 1;
}

/* ------------------------------------------------
   CATEGORY BADGES
   ------------------------------------------------ */
.catalog-badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 2px;
  padding: 3px 8px;
  align-self: flex-start;
}

.badge-wedding     { color: #e8a0a0; background: rgba(232, 160, 160, 0.1); border: 1px solid rgba(232, 160, 160, 0.2); }
.badge-birthday    { color: #e8c97a; background: rgba(232, 201, 122, 0.1); border: 1px solid rgba(232, 201, 122, 0.2); }
.badge-greetings   { color: #7ed8bb; background: rgba(126, 216, 187, 0.1); border: 1px solid rgba(126, 216, 187, 0.2); }
.badge-presentations { color: #85acf5; background: rgba(133, 172, 245, 0.1); border: 1px solid rgba(133, 172, 245, 0.2); }
.badge-games       { color: #bc99f5; background: rgba(188, 153, 245, 0.1); border: 1px solid rgba(188, 153, 245, 0.2); }
.badge-party       { color: #f5aa7a; background: rgba(245, 170, 122, 0.1); border: 1px solid rgba(245, 170, 122, 0.2); }
.badge-graduation  { color: #9ed67a; background: rgba(158, 214, 122, 0.1); border: 1px solid rgba(158, 214, 122, 0.2); }
.badge-custom      { color: #c9a84c; background: rgba(201, 168, 76, 0.1);  border: 1px solid rgba(201, 168, 76, 0.2); }

/* ------------------------------------------------
   CARD TEXT
   ------------------------------------------------ */
.catalog-title {
  font-size: 15px;
  font-weight: 500;
  color: #ffffff;
  line-height: 1.3;
}

.catalog-desc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.38);
  line-height: 1.65;
  flex: 1;
}

/* ------------------------------------------------
   FEATURE TAGS (inside card)
   ------------------------------------------------ */
.catalog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.catalog-tags span {
  font-size: 10px;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  padding: 3px 8px;
  background: rgba(255, 255, 255, 0.02);
}

/* ------------------------------------------------
   CARD CTA LINK
   ------------------------------------------------ */
.catalog-cta {
  display: inline-block;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  transition: color 0.2s ease;
  align-self: flex-start;
}

.catalog-cta:hover {
  color: #c9a84c;
}

/* ------------------------------------------------
   EMPTY STATE
   ------------------------------------------------ */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 80px 48px;
  text-align: center;
}

.empty-icon {
  font-size: 40px;
  color: rgba(255, 255, 255, 0.12);
}

.empty-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.28);
  letter-spacing: 0.5px;
}

/* ------------------------------------------------
   CTA BANNER
   ------------------------------------------------ */
.cta-banner {
  margin: 64px 48px 0;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  overflow: hidden;
  background: #111111;
}

.cta-banner-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 52px 56px;
  gap: 48px;
}

.cta-eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
  color: #c9a84c;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.cta-heading {
  font-size: 26px;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 10px;
  line-height: 1.3;
}

.cta-sub {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.38);
  line-height: 1.65;
  max-width: 400px;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}

/* ------------------------------------------------
   RESPONSIVE — Tablet ≤1024px
   ------------------------------------------------ */
@media (max-width: 1030px) {
  .catalog {
    grid-template-columns: repeat(2, 1fr);
  }
  .filter-bar {
    padding: 16px 20px;
    gap: 6px;
    grid-template-columns: repeat(5, 1fr);
  }
  
}

/* ------------------------------------------------
   RESPONSIVE — Mobile ≤768px
   ------------------------------------------------ */
@media (max-width: 768px) {
  .page-hero {
    padding: 48px 20px 36px;
  }

  .page-hero-title {
    font-size: 32px;
  }

  .filter-bar {
    padding: 16px 20px;
    gap: 6px;
    grid-template-columns: repeat(3, 1fr);
  }

  .catalog {
    grid-template-columns: 1fr;
  }

  .catalog-preview {
    height: 140px;
  }

  .cta-banner {
    margin: 48px 20px 0;
  }

  .cta-banner-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 36px 28px;
    gap: 28px;
  }

  .cta-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

/* ------------------------------------------------
   RESPONSIVE — Small ≤480px
   ------------------------------------------------ */
@media (max-width: 480px) {
  .page-hero-title {
    font-size: 26px;
  }

  .page-hero-meta {
    display: none;
  }

    .filter-bar {
    padding: 16px 20px;
    gap: 6px;
    grid-template-columns: repeat(2, 1fr);
  }
}