/* Brand products page — colorful, lively layout */

.gh-brand-page {
  background: var(--gh-bg);
}

/* ── Hero ── */
.gh-brand-hero {
  position: relative;
  overflow: hidden;
  padding: 1.75rem 0 2.5rem;
  color: #fff;
}

.gh-brand-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.gh-brand-hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.45;
}

.gh-brand-hero__orb--1 {
  width: 340px;
  height: 340px;
  top: -80px;
  right: 8%;
}

.gh-brand-hero__orb--2 {
  width: 260px;
  height: 260px;
  bottom: -60px;
  left: 4%;
}

.gh-brand-hero__orb--3 {
  width: 180px;
  height: 180px;
  top: 35%;
  left: 42%;
  opacity: 0.3;
}

.gh-brand-hero--blue {
  background: linear-gradient(135deg, #0f2d52 0%, #1a4f8a 40%, #266ab4 70%, #38bdf8 100%);
}
.gh-brand-hero--blue .gh-brand-hero__orb--1 { background: #fbbf24; }
.gh-brand-hero--blue .gh-brand-hero__orb--2 { background: #22d3ee; }
.gh-brand-hero--blue .gh-brand-hero__orb--3 { background: #818cf8; }

.gh-brand-hero--purple {
  background: linear-gradient(135deg, #312e81 0%, #4c1d95 40%, #7c3aed 70%, #a78bfa 100%);
}
.gh-brand-hero--purple .gh-brand-hero__orb--1 { background: #f472b6; }
.gh-brand-hero--purple .gh-brand-hero__orb--2 { background: #22d3ee; }
.gh-brand-hero--purple .gh-brand-hero__orb--3 { background: #fbbf24; }

.gh-brand-hero--green {
  background: linear-gradient(135deg, #064e3b 0%, #065f46 40%, #059669 70%, #34d399 100%);
}
.gh-brand-hero--green .gh-brand-hero__orb--1 { background: #fbbf24; }
.gh-brand-hero--green .gh-brand-hero__orb--2 { background: #67e8f9; }
.gh-brand-hero--green .gh-brand-hero__orb--3 { background: #a78bfa; }

.gh-brand-hero--teal {
  background: linear-gradient(135deg, #0e4f5c 0%, #0e7490 40%, #0891b2 70%, #22d3ee 100%);
}
.gh-brand-hero--teal .gh-brand-hero__orb--1 { background: #fbbf24; }
.gh-brand-hero--teal .gh-brand-hero__orb--2 { background: #a78bfa; }
.gh-brand-hero--teal .gh-brand-hero__orb--3 { background: #34d399; }

.gh-brand-hero--amber {
  background: linear-gradient(135deg, #78350f 0%, #b45309 40%, #ea580c 70%, #fbbf24 100%);
}
.gh-brand-hero--amber .gh-brand-hero__orb--1 { background: #f472b6; }
.gh-brand-hero--amber .gh-brand-hero__orb--2 { background: #22d3ee; }
.gh-brand-hero--amber .gh-brand-hero__orb--3 { background: #a78bfa; }

.gh-brand-hero--pink {
  background: linear-gradient(135deg, #831843 0%, #be185d 40%, #db2777 70%, #f472b6 100%);
}
.gh-brand-hero--pink .gh-brand-hero__orb--1 { background: #fbbf24; }
.gh-brand-hero--pink .gh-brand-hero__orb--2 { background: #67e8f9; }
.gh-brand-hero--pink .gh-brand-hero__orb--3 { background: #c4b5fd; }

.gh-brand-hero--indigo {
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 40%, #4f46e5 70%, #818cf8 100%);
}
.gh-brand-hero--indigo .gh-brand-hero__orb--1 { background: #fbbf24; }
.gh-brand-hero--indigo .gh-brand-hero__orb--2 { background: #34d399; }
.gh-brand-hero--indigo .gh-brand-hero__orb--3 { background: #f472b6; }

.gh-brand-hero--orange {
  background: linear-gradient(135deg, #7c2d12 0%, #c2410c 40%, #ea580c 70%, #fb923c 100%);
}
.gh-brand-hero--orange .gh-brand-hero__orb--1 { background: #fbbf24; }
.gh-brand-hero--orange .gh-brand-hero__orb--2 { background: #22d3ee; }
.gh-brand-hero--orange .gh-brand-hero__orb--3 { background: #a78bfa; }

.gh-brand-hero .gh-container {
  position: relative;
  z-index: 1;
}

.gh-brand-hero__crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  font-size: 0.8rem;
}

.gh-brand-hero__crumb li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255, 255, 255, 0.72);
}

.gh-brand-hero__crumb li + li::before {
  content: '/';
  color: rgba(255, 255, 255, 0.4);
  margin-right: 0.15rem;
}

.gh-brand-hero__crumb a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-weight: 500;
}

.gh-brand-hero__crumb a:hover {
  color: #fff;
}

.gh-brand-hero__crumb li.is-active {
  color: #fff;
  font-weight: 600;
}

.gh-brand-hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.gh-brand-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.38rem 0.95rem;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 0.85rem;
}

.gh-brand-hero__badge i {
  color: #fde68a;
}

.gh-brand-hero__title {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 0.65rem;
  letter-spacing: -0.02em;
}

.gh-brand-hero__desc {
  margin: 0 0 1.15rem;
  font-size: 0.975rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
  max-width: 34rem;
}

.gh-brand-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.gh-brand-hero__stat {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.92);
}

.gh-brand-hero__stat strong {
  font-weight: 800;
}

.gh-brand-hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
}

.gh-brand-hero__ring {
  position: absolute;
  width: min(280px, 80%);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px dashed rgba(255, 255, 255, 0.25);
  animation: gh-brand-spin 28s linear infinite;
}

@keyframes gh-brand-spin {
  to { transform: rotate(360deg); }
}

.gh-brand-hero__photo {
  position: relative;
  z-index: 1;
  max-width: min(280px, 85%);
  max-height: 120px;
  object-fit: contain;
  padding: 1.5rem 2rem;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.22);
  animation: gh-brand-float 6s ease-in-out infinite;
}

.gh-brand-hero__fallback {
  position: relative;
  z-index: 1;
  width: 120px;
  height: 120px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  font-weight: 800;
  color: #4f46e5;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.22);
  animation: gh-brand-float 6s ease-in-out infinite;
}

@keyframes gh-brand-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ── Trust strip ── */
.gh-brand-trust {
  padding: 1.25rem 0 0;
  margin-top: -0.75rem;
  position: relative;
  z-index: 2;
}

.gh-brand-trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

.gh-brand-trust__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #fff;
  border-radius: var(--gh-radius);
  padding: 0.95rem 1rem;
  border: 1px solid var(--gh-border);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gh-brand-trust__item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.gh-brand-trust__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.gh-brand-trust__item--blue .gh-brand-trust__icon { background: #dbeafe; color: #2563eb; }
.gh-brand-trust__item--green .gh-brand-trust__icon { background: #d1fae5; color: #059669; }
.gh-brand-trust__item--purple .gh-brand-trust__icon { background: #ede9fe; color: #7c3aed; }
.gh-brand-trust__item--orange .gh-brand-trust__icon { background: #ffedd5; color: #ea580c; }

.gh-brand-trust__item strong {
  display: block;
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--gh-text);
  line-height: 1.25;
}

.gh-brand-trust__item span {
  font-size: 0.75rem;
  color: var(--gh-muted);
}

/* ── Products area ── */
.gh-brand-products {
  padding: 2rem 0 3rem;
}

.gh-brand-products__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.gh-brand-products__title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--gh-text);
  margin: 0 0 0.25rem;
  letter-spacing: -0.01em;
}

.gh-brand-products__subtitle {
  margin: 0;
  font-size: 0.875rem;
  color: var(--gh-muted);
}

.gh-brand-products__count {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #4f46e5;
  background: linear-gradient(135deg, #ede9fe, #dbeafe);
  border: 1px solid rgba(79, 70, 229, 0.15);
}

.gh-brand-page .gh-products {
  gap: 1.35rem;
}

.gh-brand-page .gh-product {
  border: 1px solid var(--gh-border);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.gh-brand-page .gh-product:hover {
  box-shadow: 0 12px 32px rgba(79, 70, 229, 0.12);
  border-color: rgba(79, 70, 229, 0.2);
}

/* ── Empty state ── */
.gh-brand-empty {
  text-align: center;
  padding: 3.5rem 2rem;
  border-radius: var(--gh-radius);
  background: #fff;
  border: 1px solid var(--gh-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.gh-brand-empty__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #fff;
}

.gh-brand-empty--blue .gh-brand-empty__icon { background: linear-gradient(135deg, #2563eb, #38bdf8); }
.gh-brand-empty--purple .gh-brand-empty__icon { background: linear-gradient(135deg, #7c3aed, #a78bfa); }
.gh-brand-empty--green .gh-brand-empty__icon { background: linear-gradient(135deg, #059669, #34d399); }
.gh-brand-empty--teal .gh-brand-empty__icon { background: linear-gradient(135deg, #0891b2, #22d3ee); }
.gh-brand-empty--amber .gh-brand-empty__icon { background: linear-gradient(135deg, #ea580c, #fbbf24); }
.gh-brand-empty--pink .gh-brand-empty__icon { background: linear-gradient(135deg, #db2777, #f472b6); }
.gh-brand-empty--indigo .gh-brand-empty__icon { background: linear-gradient(135deg, #4f46e5, #818cf8); }
.gh-brand-empty--orange .gh-brand-empty__icon { background: linear-gradient(135deg, #ea580c, #fb923c); }

.gh-brand-empty h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 0 0.5rem;
  color: var(--gh-text);
}

.gh-brand-empty p {
  max-width: 28rem;
  margin: 0 auto 1.5rem;
  color: var(--gh-muted);
  font-size: 0.925rem;
  line-height: 1.55;
}

.gh-brand-empty__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
}

/* ── Explore brands ── */
.gh-brand-explore {
  padding: 0 0 3.5rem;
}

.gh-brand-explore__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.gh-brand-explore__title {
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0;
  color: var(--gh-text);
}

.gh-brand-explore__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 0.85rem;
}

.gh-brand-explore__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  background: #fff;
  border-radius: var(--gh-radius);
  border: 1px solid var(--gh-border);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gh-brand-explore__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1);
}

.gh-brand-explore__card-logo {
  width: 100%;
  aspect-ratio: 1.2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.gh-brand-explore__card--blue .gh-brand-explore__card-logo { background: linear-gradient(180deg, #eff6ff, #fff); }
.gh-brand-explore__card--purple .gh-brand-explore__card-logo { background: linear-gradient(180deg, #f5f3ff, #fff); }
.gh-brand-explore__card--green .gh-brand-explore__card-logo { background: linear-gradient(180deg, #ecfdf5, #fff); }
.gh-brand-explore__card--teal .gh-brand-explore__card-logo { background: linear-gradient(180deg, #ecfeff, #fff); }
.gh-brand-explore__card--amber .gh-brand-explore__card-logo { background: linear-gradient(180deg, #fffbeb, #fff); }
.gh-brand-explore__card--pink .gh-brand-explore__card-logo { background: linear-gradient(180deg, #fdf2f8, #fff); }
.gh-brand-explore__card--indigo .gh-brand-explore__card-logo { background: linear-gradient(180deg, #eef2ff, #fff); }
.gh-brand-explore__card--orange .gh-brand-explore__card-logo { background: linear-gradient(180deg, #fff7ed, #fff); }

.gh-brand-explore__card-logo img {
  max-width: 100%;
  max-height: 48px;
  object-fit: contain;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: grayscale(20%);
}

.gh-brand-explore__card:hover .gh-brand-explore__card-logo img {
  transform: scale(1.06);
  filter: grayscale(0%);
}

.gh-brand-explore__card-fallback {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
}

.gh-brand-explore__card-name {
  padding: 0.65rem 0.5rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gh-text);
  text-align: center;
  line-height: 1.25;
}

/* ── Responsive ── */
@media (max-width: 991px) {
  .gh-brand-hero__inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .gh-brand-hero__visual {
    min-height: 160px;
    order: -1;
  }

  .gh-brand-trust__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .gh-brand-hero {
    padding: 1.25rem 0 2rem;
  }

  .gh-brand-hero__meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .gh-brand-trust {
    margin-top: 0;
    padding-top: 1rem;
  }

  .gh-brand-trust__grid {
    grid-template-columns: 1fr;
  }

  .gh-brand-explore__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.65rem;
  }

  .gh-brand-page .gh-products {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gh-brand-hero__ring,
  .gh-brand-hero__photo,
  .gh-brand-hero__fallback {
    animation: none !important;
  }
}
