/* ===========================================================
   EXPLORE PAGE
   Reuses design tokens (--cs-*) and shell layout classes
   (.cs-app, .cs-shell, .cs-frame, .cs-main, .cs-main-primary,
   .cs-section, .cs-section-head, .cs-error-state, etc.) defined
   in dashboard.css. Load dashboard.css on this page too — this
   file only adds what's specific to Explore.
   =========================================================== */

/* ---------- welcome cover ---------- */
/* ---------- extra breathing room, scoped to Explore only ----------
   .cs-main already gives every shell page a base 16px (mobile) /
   28-32px (desktop) padding from dashboard.css. This adds a bit
   more on top of that specifically for Explore's more visual,
   marketing-style content, without touching the shared shell rule
   that dashboard.js / transactions.js also depend on. */

.cs-explore-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 6px 4px 10px;
}

@media (min-width: 640px) {
  .cs-explore-content {
    padding: 10px 8px 16px;
  }
}

@media (min-width: 1024px) {
  .cs-explore-content {
    padding: 4px 12px 20px;
  }
}
.cs-explore-cover {
  position: relative;
  border-radius: var(--cs-radius-lg);
  overflow: hidden;
  min-height: 150px;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  color: var(--cs-white);
}

.cs-explore-cover-eyebrow {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 4px;
}

.cs-explore-cover-title {
  margin: 0;
  font-family: var(--cs-font-display);
  font-weight: 700;
  font-size: 21px;
  line-height: 1.25;
}

/* ---------- hero carousel (image-backed slides) ---------- */

.cs-hero-carousel {
  border-radius: var(--cs-radius-lg);
  overflow: hidden;
}

.cs-hero-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.cs-hero-slide {
  flex: 0 0 100%;
  min-height: 170px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding: 18px;
}

.cs-hero-slide-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 88%;
}

.cs-hero-slide-title {
  margin: 0;
  font-family: var(--cs-font-display);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.35;
  color: var(--cs-white);
}

.cs-hero-slide-subtitle {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
}

.cs-hero-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 10px 0 0;
}

.cs-hero-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: none;
  background: var(--cs-cloud-200);
  cursor: pointer;
  padding: 0;
  transition: width 0.2s ease, background 0.2s ease;
}

.cs-hero-dot.is-active {
  width: 18px;
  border-radius: 999px;
  background: var(--cs-brand-600);
}

/* ---------- category pills — horizontally scrollable, no visible
   scrollbar, driven purely by dragging/swiping the pills themselves ---------- */

.cs-category-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* old Edge/IE */
}

.cs-category-scroll::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.cs-category-pill {
  flex: none;
  white-space: nowrap;
  border: 1px solid var(--cs-cloud-200);
  background: var(--cs-white);
  color: var(--cs-slate-600);
  font-size: 12.5px;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: var(--cs-radius-pill);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.cs-category-pill.is-active {
  background: var(--cs-brand-700);
  border-color: var(--cs-brand-700);
  color: var(--cs-white);
}

/* ---------- divider ---------- */

.cs-divider {
  border: none;
  border-top: 1px solid var(--cs-cloud-200);
  margin: 4px 0;
}

/* ---------- my services ---------- */

.cs-view-all-link {
  display: flex;
  align-items: center;
  gap: 2px;
  border: none;
  background: none;
  color: var(--cs-brand-600);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  padding: 0;
}

.cs-service-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cs-service-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--cs-white);
  border: 1px solid var(--cs-cloud-200);
  border-radius: var(--cs-radius-md);
  padding: 14px 14px;
  cursor: pointer;
  text-align: left;
}

.cs-service-icon {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--cs-cloud-100);
  color: var(--cs-brand-700);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cs-service-label {
  flex: 1 1 auto;
  font-family: var(--cs-font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.01em;
  color: var(--cs-ink-950);
}

.cs-service-chevron {
  flex: none;
  color: var(--cs-slate-400);
}

/* ---------- promo grid (image-backed cards) ---------- */

.cs-promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.cs-promo-card {
  position: relative;
  min-height: 150px;
  border: none;
  border-radius: var(--cs-radius-lg);
  background-size: cover;
  background-position: center;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  cursor: pointer;
  text-align: left;
  color: var(--cs-white);
  overflow: hidden;
}

.cs-promo-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.cs-promo-title {
  font-family: var(--cs-font-display);
  font-weight: 700;
  font-size: 15px;
}

.cs-promo-desc {
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
}

/* ---------- socials ---------- */

.cs-socials-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cs-socials-title {
  margin: 0;
  font-family: var(--cs-font-display);
  font-weight: 700;
  font-size: 15.5px;
  color: var(--cs-ink-950);
}

.cs-socials-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.cs-social-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--cs-cloud-200);
  background: var(--cs-white);
  color: var(--cs-brand-700);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.cs-social-btn:hover {
  background: var(--cs-cloud-100);
  transform: translateY(-2px);
}

/* ---------- small screens ---------- */

@media (max-width: 380px) {
  .cs-explore-cover-title {
    font-size: 18px;
  }

  .cs-hero-slide-title {
    font-size: 14.5px;
  }
}