/* =============================================
   HOMEPAGE — Nav override + Hero + Cats + Featured
   ============================================= */

/* Nav bar override */
.site-header,
#masthead {
  background: var(--goyo-primary) !important;
  border-bottom: none !important;
}
.site-branding .site-title a,
.site-branding .site-title a:visited,
.site-title,
.site-description { color: #fff !important; }
.cart-contents,
.header-cart-link { color: #fff !important; }

/* HERO — mobile */
.goyo-hero {
  background: linear-gradient(145deg, var(--goyo-primary) 0%, var(--goyo-primary-dark) 60%, #0a2875 100%);
  padding: 28px 20px 32px;
  position: relative;
  overflow: hidden;
}
.goyo-hero::after {
  content: '';
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 140px;
  height: 140px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
  pointer-events: none;
}
.goyo-hero__inner { position: relative; z-index: 1; }
.goyo-hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,0.15);
  border-radius: var(--goyo-radius-lg);
  padding: 4px 12px;
  font-size: 11px;
  color: var(--goyo-primary-light);
  font-weight: 600;
  margin-bottom: 12px;
}
.goyo-hero__title {
  font-size: 28px;
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  margin: 0 0 8px;
}
.goyo-hero__sub { font-size: 13px; color: #93c5fd; margin: 0 0 20px; }
.goyo-btn-hero {
  background: #fff;
  color: var(--goyo-primary);
  border-radius: var(--goyo-radius-lg);
  padding: 10px 22px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  display: inline-block;
}
.goyo-hero__pills { display: none; }

/* CATEGORY GRID */
.goyo-cats { padding: 20px 16px; }
.goyo-cats__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.goyo-cats__title {
  font-size: 13px;
  font-weight: 800;
  color: var(--goyo-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
}
.goyo-cats__see-all {
  font-size: 12px;
  font-weight: 700;
  color: var(--goyo-primary);
  text-decoration: none;
}
.goyo-cats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

/* Cat item — gradient bg set via inline style */
.goyo-cat-item {
  background: var(--goyo-primary);
  border: none;
  border-radius: var(--goyo-radius-md);
  padding: 14px 6px 10px;
  text-align: center;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transition: transform 0.15s;
}
.goyo-cat-item:hover { transform: translateY(-2px); }
.goyo-cat-item__emoji { font-size: 26px; line-height: 1; }
.goyo-cat-item__name {
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}
.goyo-cat-item__count { font-size: 9px; color: rgba(255,255,255,.75); }

/* FEATURED STRIP */
.goyo-featured { padding: 4px 0 24px; }
.goyo-featured__header { padding: 0 16px; }
.goyo-featured__strip {
  display: flex;
  gap: 12px;
  padding: 12px 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.goyo-featured__strip::-webkit-scrollbar { display: none; }
.goyo-feat-card {
  flex-shrink: 0;
  width: 130px;
  background: linear-gradient(135deg, var(--goyo-feat-blue), var(--goyo-primary));
  border-radius: var(--goyo-radius-md);
  padding: 14px 12px;
  color: #fff;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: transform 0.15s;
}
.goyo-feat-card:hover { transform: translateY(-2px); }
.goyo-feat-card:nth-child(even) {
  background: linear-gradient(135deg, var(--goyo-feat-cyan), var(--goyo-feat-cyan-dk));
}
.goyo-feat-card:nth-child(3n) {
  background: linear-gradient(135deg, var(--goyo-feat-purple), var(--goyo-feat-purp-dk));
}
.goyo-feat-card__label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #93c5fd;
}
.goyo-feat-card__name {
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  color: #fff;
}
.goyo-feat-card__price {
  font-size: 13px;
  font-weight: 900;
  color: #bfdbfe;
  margin-top: 4px;
}
.goyo-feat-card__price del { opacity: 0.6; font-size: 10px; }
.goyo-feat-card__price ins { text-decoration: none; }

/* ── DESKTOP (≥ 1024px) ──────────────────── */
@media (min-width: 1024px) {
  /* Hero: flex row, text left + pills right */
  .goyo-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 48px 48px 56px;
    overflow: visible;
  }
  .goyo-hero::after { display: none; }
  .goyo-hero__title { font-size: 40px; }

  .goyo-hero__pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-width: 320px;
    justify-content: flex-end;
    flex-shrink: 0;
    margin-left: 32px;
  }
  .goyo-hero__pill {
    background: rgba(255,255,255,.18);
    border-radius: 20px;
    padding: 7px 16px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    transition: background 0.15s;
  }
  .goyo-hero__pill:hover { background: rgba(255,255,255,.3); }

  /* Cats: 6-col grid */
  .goyo-cats { padding: 24px 32px; }
  .goyo-cats__grid { grid-template-columns: repeat(6, 1fr); }

  /* Featured wider padding */
  .goyo-featured__header { padding: 0 32px; }
  .goyo-featured__strip  { padding: 12px 32px; }
}
