/* All categories (products) page — colorful, lively layout */

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

/* ── Hero ── */
.gh-products-hero {
  position: relative;
  overflow: hidden;
  padding: 1.75rem 0 2.5rem;
  color: #fff;
  background: linear-gradient(135deg, #0f2d52 0%, #1a4f8a 35%, #266ab4 60%, #06b6d4 100%);
}

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

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

.gh-products-hero__orb--1 {
  width: 340px;
  height: 340px;
  top: -80px;
  right: 8%;
  background: #fbbf24;
}

.gh-products-hero__orb--2 {
  width: 260px;
  height: 260px;
  bottom: -60px;
  left: 4%;
  background: #a78bfa;
}

.gh-products-hero__orb--3 {
  width: 180px;
  height: 180px;
  top: 38%;
  left: 42%;
  background: #f472b6;
  opacity: 0.35;
}

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

.gh-products-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-products-hero__crumb li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255, 255, 255, 0.72);
}

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

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

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

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

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

.gh-products-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-products-hero__badge i {
  color: #fde68a;
}

.gh-products-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-products-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-products-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.gh-products-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-products-hero__stat strong {
  font-weight: 800;
}

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

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

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

.gh-products-hero__collage {
  position: relative;
  width: 220px;
  height: 220px;
}

.gh-products-hero__chip {
  position: absolute;
  width: 88px;
  height: 88px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem;
  animation: gh-prod-float 6s ease-in-out infinite;
}

.gh-products-hero__chip img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.gh-products-hero__chip i {
  font-size: 1.75rem;
  color: #266ab4;
}

.gh-products-hero__chip--1 { top: 0; left: calc(50% - 44px); }
.gh-products-hero__chip--2 { bottom: 10px; left: 0; animation-delay: 0.8s; }
.gh-products-hero__chip--3 { bottom: 10px; right: 0; animation-delay: 1.6s; }
.gh-products-hero__chip--4 { top: calc(50% - 36px); left: calc(50% - 36px); width: 72px; height: 72px; animation-delay: 2.4s; z-index: 2; }

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

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

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

.gh-products-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-products-trust__item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.gh-products-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-products-trust__item--blue .gh-products-trust__icon { background: #dbeafe; color: #2563eb; }
.gh-products-trust__item--green .gh-products-trust__icon { background: #d1fae5; color: #059669; }
.gh-products-trust__item--purple .gh-products-trust__icon { background: #ede9fe; color: #7c3aed; }
.gh-products-trust__item--orange .gh-products-trust__icon { background: #ffedd5; color: #ea580c; }

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

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

/* ── Quick links ── */
.gh-products-quick {
  padding: 1.15rem 0 0.25rem;
}

.gh-products-quick__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  background: #fff;
  border: 1px solid var(--gh-border);
  border-radius: var(--gh-radius);
  padding: 0.85rem 1.15rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.gh-products-quick__label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gh-muted);
  flex-shrink: 0;
}

.gh-products-quick__label i {
  color: #f59e0b;
}

.gh-products-quick__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.gh-products-quick__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gh-products-quick__link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.gh-products-quick__link--blue { background: #eff6ff; color: #1d4ed8; border-color: #bfdbfe; }
.gh-products-quick__link--purple { background: #f5f3ff; color: #6d28d9; border-color: #ddd6fe; }
.gh-products-quick__link--green { background: #ecfdf5; color: #047857; border-color: #bbf7d0; }
.gh-products-quick__link--teal { background: #ecfeff; color: #0e7490; border-color: #a5f3fc; }
.gh-products-quick__link--amber { background: #fffbeb; color: #b45309; border-color: #fde68a; }

/* ── Category grid ── */
.gh-products-main {
  padding: 2rem 0 3rem;
}

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

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

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

.gh-products-main__count {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gh-primary);
  background: linear-gradient(135deg, #dbeafe, #cffafe);
  border: 1px solid rgba(38, 106, 180, 0.15);
}

.gh-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.15rem;
}

.gh-cat-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background: #fff;
  border-radius: calc(var(--gh-radius) + 2px);
  border: 2px solid var(--gh-border);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.gh-cat-tile__shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.35) 50%, transparent 60%);
  transform: translateX(-120%);
  transition: transform 0.55s ease;
  pointer-events: none;
  z-index: 2;
}

.gh-cat-tile:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 36px rgba(38, 106, 180, 0.12);
}

.gh-cat-tile:hover .gh-cat-tile__shine {
  transform: translateX(120%);
}

.gh-cat-tile__img {
  aspect-ratio: 1.15;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.gh-cat-tile__img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.gh-cat-tile:hover .gh-cat-tile__img img {
  transform: scale(1.08);
}

.gh-cat-tile__img i {
  font-size: 2.75rem;
}

.gh-cat-tile__body {
  padding: 0 1rem 1.1rem;
  text-align: center;
}

.gh-cat-tile__name {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--gh-text);
  line-height: 1.25;
}

.gh-cat-tile__sub {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.72rem;
  color: var(--gh-muted);
}

.gh-cat-tile__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gh-primary);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease, gap 0.2s ease;
}

.gh-cat-tile:hover .gh-cat-tile__cta {
  opacity: 1;
  transform: translateY(0);
  gap: 0.45rem;
}

.gh-cat-tile--blue { border-color: #bfdbfe; }
.gh-cat-tile--blue .gh-cat-tile__img { background: linear-gradient(180deg, #eff6ff, #fff); color: #2563eb; }
.gh-cat-tile--blue:hover { border-color: #93c5fd; }

.gh-cat-tile--purple { border-color: #ddd6fe; }
.gh-cat-tile--purple .gh-cat-tile__img { background: linear-gradient(180deg, #f5f3ff, #fff); color: #7c3aed; }
.gh-cat-tile--purple:hover { border-color: #c4b5fd; }

.gh-cat-tile--green { border-color: #bbf7d0; }
.gh-cat-tile--green .gh-cat-tile__img { background: linear-gradient(180deg, #ecfdf5, #fff); color: #059669; }
.gh-cat-tile--green:hover { border-color: #86efac; }

.gh-cat-tile--teal { border-color: #a5f3fc; }
.gh-cat-tile--teal .gh-cat-tile__img { background: linear-gradient(180deg, #ecfeff, #fff); color: #0891b2; }
.gh-cat-tile--teal:hover { border-color: #67e8f9; }

.gh-cat-tile--amber { border-color: #fde68a; }
.gh-cat-tile--amber .gh-cat-tile__img { background: linear-gradient(180deg, #fffbeb, #fff); color: #ea580c; }
.gh-cat-tile--amber:hover { border-color: #fcd34d; }

.gh-cat-tile--pink { border-color: #fbcfe8; }
.gh-cat-tile--pink .gh-cat-tile__img { background: linear-gradient(180deg, #fdf2f8, #fff); color: #db2777; }
.gh-cat-tile--pink:hover { border-color: #f9a8d4; }

.gh-cat-tile--indigo { border-color: #c7d2fe; }
.gh-cat-tile--indigo .gh-cat-tile__img { background: linear-gradient(180deg, #eef2ff, #fff); color: #4f46e5; }
.gh-cat-tile--indigo:hover { border-color: #a5b4fc; }

.gh-cat-tile--orange { border-color: #fed7aa; }
.gh-cat-tile--orange .gh-cat-tile__img { background: linear-gradient(180deg, #fff7ed, #fff); color: #ea580c; }
.gh-cat-tile--orange:hover { border-color: #fdba74; }

/* ── Empty state ── */
.gh-products-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-products-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;
  background: linear-gradient(135deg, #266ab4, #06b6d4);
}

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

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

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

/* ── Brands row ── */
.gh-products-brands {
  padding: 0 0 3.5rem;
}

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

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

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

.gh-products-brands__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-products-brands__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1);
}

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

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

.gh-products-brands__card-logo img {
  max-width: 100%;
  max-height: 48px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.gh-products-brands__card:hover .gh-products-brands__card-logo img {
  transform: scale(1.06);
}

.gh-products-brands__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, #266ab4, #4f46e5);
}

.gh-products-brands__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-products-hero__inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .gh-products-hero__visual {
    min-height: 180px;
    order: -1;
  }

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

  .gh-products-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }
}

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

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

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

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

  .gh-products-quick__inner {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .gh-cat-tile__cta {
    opacity: 1;
    transform: none;
  }

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

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