/* ==========================================================================
   GuessPick — Homepage Sections (v2)
   --------------------------------------------------------------------------
   hero (dark), categories, featured comparison, trending sidebar,
   community social proof.

   Enqueue AFTER critical.css / style.css on the Home template.
   ========================================================================== */


/* ------------------------------------------------------------------
   1. HERO — dark navy with gradient
   ------------------------------------------------------------------ */

.hero {
    background: linear-gradient(135deg, var(--gp-navy-900) 0%, #0f1f38 60%, #182e4e 100%);
    padding: var(--gp-space-12) 0;
    position: relative;
    overflow: hidden;
    background-image: url(https://guesspick.com/wp-content/uploads/2026/09/guesspick-background.webp);
    background-size:cover;
    background-position: center;
}
/* ---- Left ---- */

.hero__title {
  font-size: var(--gp-fs-5xl);
  font-weight: var(--gp-fw-bold);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: var(--gp-space-5);
}

.hero__title .highlight {
    background: linear-gradient(90deg, #fd711d, #e8862a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__subtitle {
  font-size: var(--gp-fs-lg);
  line-height: var(--gp-lh-relaxed);
  margin-bottom: var(--gp-space-8);
  max-width: 460px;
}

/* ---- Feature pills ---- */

.hero__pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gp-space-3);
}

.hero__pill {
    display: flex;
    align-items: center;
    gap: var(--gp-space-2);
    padding: var(--gp-space-2) var(--gp-space-4) var(--gp-space-2) var(--gp-space-2);
    background: rgb(0 0 0);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--gp-radius-pill);
    text-decoration: none;
    transition: var(--gp-transition);
    white-space: nowrap;
    color: #fff;
}

.hero__pill:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.25);
}

.hero__pill-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  flex-shrink: 0;
}

.hero__pill-icon--blue   { background: rgba(91,141,238,0.2); color: #5B8DEE; }
.hero__pill-icon--yellow { background: rgba(250,204,21,0.2); color: #FACC15; }
.hero__pill-icon--green  { background: rgba(52,211,153,0.2); color: #34D399; }
.hero__pill-icon--purple { background: rgba(167,139,250,0.2); color: #A78BFA; }

.hero__pill-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.hero__pill-text strong {
  font-size: var(--gp-fs-sm);
  font-weight: var(--gp-fw-semibold);
}

.hero__pill-text small {
  font-size: 11px;
}

/* ---- Right — showcase ---- */

.hero__showcase-products {
  position: relative;
  z-index: 1;
}

.hero__showcase-products img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Floating CTA card */
.hero__float-card {
  position: absolute;
  top: 20%;
  right: 5%;
  z-index: 2;
  background: var(--gp-white);
  border-radius: var(--gp-radius-lg);
  padding: var(--gp-space-5);
  box-shadow: var(--gp-shadow-xl);
  max-width: 220px;
}

.hero__float-card-logo {
  height: 24px;
  width: auto;
  margin-bottom: var(--gp-space-2);
}

.hero__float-card-text {
  font-size: var(--gp-fs-sm);
  color: var(--gp-ink-700);
  line-height: var(--gp-lh-snug);
  margin-bottom: var(--gp-space-3);
}

/* ---- Hero responsive ---- */

@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: var(--gp-space-6);
  }
  .hero__content { text-align: center; padding-bottom: var(--gp-space-8); }
  .hero__subtitle { margin-inline: auto; font-size: 1rem;}
  .hero__pills { justify-content: center; }
  .hero__float-card { display: none; }
}

@media (max-width: 560px) {
  .hero { padding-top: var(--gp-space-8); }
  .hero__pills { flex-direction: column; }
  .hero__pill { width: 100%; }
}


/* ------------------------------------------------------------------
   2. EXPLORE BY CATEGORY
   ------------------------------------------------------------------ */

.hp-categories {
  display: flex;
  gap: var(--gp-space-4);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: var(--gp-space-2);
  scrollbar-width: none;
}

.hp-categories::-webkit-scrollbar { display: none; }

.hp-cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--gp-space-3);
  min-width: 130px;
  padding: var(--gp-space-5) var(--gp-space-4);
  background: var(--gp-surface);
  border: 1px solid var(--gp-border);
  border-radius: var(--gp-radius-lg);
  text-decoration: none;
  text-align: center;
  scroll-snap-align: start;
  transition: var(--gp-transition);
  flex-shrink: 0;
}

.hp-cat-card:hover {
  border-color: var(--gp-primary);
  box-shadow: var(--gp-shadow);
}

.hp-cat-card__icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gp-text-muted);
}

.hp-cat-card__icon img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.hp-cat-card__label {
  font-size: var(--gp-fs-sm);
  font-weight: var(--gp-fw-medium);
  color: var(--gp-text);
  line-height: var(--gp-lh-snug);
}

.hp-cat-card--more {
  background: var(--gp-gray-050);
}

.hp-cat-card--more .hp-cat-card__icon {
  font-size: var(--gp-fs-2xl);
  letter-spacing: 0.15em;
  color: var(--gp-text-muted);
}


/* ------------------------------------------------------------------
   3. FEATURED COMPARISON + SIDEBAR GRID
   ------------------------------------------------------------------ */

.hp-featured-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: var(--gp-space-6);
  align-items: start;
}

@media (max-width: 1100px) {
  .hp-featured-grid { grid-template-columns: 1fr; }
}

/* -- Featured comparison block -- */

.hp-featured {
  background: var(--gp-surface);
  border: 1px solid var(--gp-border);
  border-radius: var(--gp-radius-xl);
  overflow: hidden;
}

.hp-featured__top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gp-space-6);
  padding: var(--gp-space-6);
}

@media (max-width: 768px) {
  .hp-featured__top { grid-template-columns: 1fr; }
}

.hp-featured__info {
  display: flex;
  flex-direction: column;
  gap: var(--gp-space-3);
}

.hp-featured__title {
  font-size: var(--gp-fs-2xl);
  line-height: var(--gp-lh-tight);
}

.hp-featured__title a { color: inherit; text-decoration: none; }
.hp-featured__title a:hover { color: var(--gp-primary); }

.hp-featured__subtitle {
  font-size: var(--gp-fs-lg);
  font-weight: var(--gp-fw-medium);
  color: var(--gp-text-secondary);
  margin: 0;
}

.hp-featured__desc {
  font-size: var(--gp-fs-sm);
  color: var(--gp-text-secondary);
  line-height: var(--gp-lh-body);
  margin: 0;
}

/* Products side-by-side */
.hp-featured__products {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--gp-space-4);
}

.hp-featured__product {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--gp-space-2);
}

.hp-featured__product-label {
  font-size: var(--gp-fs-sm);
  font-weight: var(--gp-fw-semibold);
  color: var(--gp-text);
}

.hp-featured__product img {
  max-width: 150px;
  height: auto;
}

.hp-featured__arrow {
  color: var(--gp-text-muted);
  flex-shrink: 0;
}

/* Bottom info cards */
.hp-featured__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--gp-border);
}

@media (max-width: 768px) {
  .hp-featured__cards { grid-template-columns: 1fr; }
}

.hp-info-card {
  padding: var(--gp-space-5);
  border-right: 1px solid var(--gp-border);
}

.hp-info-card:last-child { border-right: none; }

@media (max-width: 768px) {
  .hp-info-card {
    border-right: none;
    border-bottom: 1px solid var(--gp-border);
  }
  .hp-info-card:last-child { border-bottom: none; }
}

.hp-info-card__head {
  display: flex;
  align-items: center;
  gap: var(--gp-space-2);
  margin-bottom: var(--gp-space-3);
}

.hp-info-card__head strong {
  font-size: var(--gp-fs-sm);
  font-weight: var(--gp-fw-semibold);
}

.hp-info-card__icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hp-info-card__icon--blue   { background: #EFF6FF; color: #3B82F6; }
.hp-info-card__icon--green  { background: #ECFDF5; color: #10B981; }
.hp-info-card__icon--orange { background: #FFF7ED; color: #F59E0B; }

.hp-info-card__list {
  list-style: disc;
  padding-left: var(--gp-space-5);
  margin-bottom: var(--gp-space-3);
}

.hp-info-card__list li {
  font-size: var(--gp-fs-sm);
  color: var(--gp-ink-700);
  margin-bottom: var(--gp-space-1);
}

.hp-info-card__text {
  font-size: var(--gp-fs-sm);
  color: var(--gp-ink-700);
  line-height: var(--gp-lh-body);
  margin-bottom: var(--gp-space-3);
}


/* ---- Tags / badges (homepage local) ---- */

.hp-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--gp-space-1);
  padding: var(--gp-space-1) var(--gp-space-3);
  font-size: var(--gp-fs-xs);
  font-weight: var(--gp-fw-bold);
  border-radius: var(--gp-radius-pill);
}

.hp-badge--future {
  background: linear-gradient(135deg, #4F46E5, #7C3AED);
  color: var(--gp-white);
}

.hp-tag {
  display: inline-flex;
  align-items: center;
  padding: var(--gp-space-1) var(--gp-space-2);
  font-size: 11px;
  font-weight: var(--gp-fw-semibold);
  border-radius: var(--gp-radius-sm);
}

.hp-tag--green  { background: #ECFDF5; color: #059669; }
.hp-tag--blue   { background: #EFF6FF; color: #2563EB; }
.hp-tag--orange { background: #FFF7ED; color: #D97706; }
.hp-tag--outline { background: transparent; border: 1px solid var(--gp-border); color: var(--gp-text-secondary); }


/* ------------------------------------------------------------------
   4. SIDEBAR WIDGETS (Trending / Upcoming)
   ------------------------------------------------------------------ */

.hp-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--gp-space-5);
}

.hp-sidebar-widget {
  background: var(--gp-surface);
  border: 1px solid var(--gp-border);
  border-radius: var(--gp-radius-lg);
  padding: var(--gp-space-5);
}

.hp-sidebar-widget__head {
  margin-bottom: var(--gp-space-4);
}

.hp-sidebar-widget__title {
  display: flex;
  align-items: center;
  gap: var(--gp-space-2);
  font-size: var(--gp-fs-base);
  font-weight: var(--gp-fw-bold);
  margin-bottom: var(--gp-space-4);
  color: var(--gp-text);
}

.hp-sidebar-widget__head .hp-sidebar-widget__title {
  margin-bottom: 0;
}

/* Trending list */
.hp-trending-list {
  list-style: none;
  counter-reset: none;
}

.hp-trending-item {
  display: flex;
  align-items: center;
  gap: var(--gp-space-3);
  padding: var(--gp-space-3) 0;
  border-bottom: 1px solid var(--gp-border);
}

.hp-trending-item:last-child { border-bottom: none; }

.hp-trending-item__rank {
  font-size: var(--gp-fs-lg);
  font-weight: var(--gp-fw-bold);
  color: var(--gp-text-muted);
  min-width: 24px;
  text-align: center;
  flex-shrink: 0;
}

.hp-trending-item__thumb {
  width: 48px;
  height: 48px;
  border-radius: var(--gp-radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
}

.hp-trending-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hp-trending-item__link {
  flex: 1;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--gp-text);
  min-width: 0;
}

.hp-trending-item__link strong {
  font-size: var(--gp-fs-sm);
  font-weight: var(--gp-fw-semibold);
  line-height: var(--gp-lh-snug);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hp-trending-item__link small {
  font-size: var(--gp-fs-xs);
  color: var(--gp-text-muted);
}

.hp-trending-item__link:hover strong { color: var(--gp-primary); }

.hp-trending-item__arrow {
  color: var(--gp-text-muted);
  flex-shrink: 0;
}

/* Upcoming list */
.hp-upcoming-list {
  list-style: none;
}

.hp-upcoming-item {
  display: flex;
  align-items: center;
  gap: var(--gp-space-3);
  padding: var(--gp-space-3) 0;
  border-bottom: 1px solid var(--gp-border);
}

.hp-upcoming-item:last-child { border-bottom: none; }

.hp-upcoming-item__thumb {
  width: 56px;
  height: 56px;
  border-radius: var(--gp-radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
}

.hp-upcoming-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hp-upcoming-item__link {
  flex: 1;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--gp-text);
  min-width: 0;
}

.hp-upcoming-item__link strong {
  font-size: var(--gp-fs-sm);
  font-weight: var(--gp-fw-semibold);
}

.hp-upcoming-item__link small {
  font-size: var(--gp-fs-xs);
  color: var(--gp-text-muted);
}

.hp-upcoming-item__link:hover strong { color: var(--gp-primary); }


/* ------------------------------------------------------------------
   5. COMMUNITY SOCIAL PROOF BAR
   ------------------------------------------------------------------ */

.hp-community {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gp-space-6);
  padding: var(--gp-space-6) var(--gp-space-8);
  background: var(--gp-surface);
  border: 1px solid var(--gp-border);
  border-radius: var(--gp-radius-xl);
}

.hp-community__left {
  display: flex;
  align-items: center;
  gap: var(--gp-space-4);
}

.hp-community__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gp-navy-050);
  color: var(--gp-primary);
  flex-shrink: 0;
}

.hp-community__title {
  font-size: var(--gp-fs-lg);
  font-weight: var(--gp-fw-bold);
  margin-bottom: var(--gp-space-1);
}

.hp-community__desc {
  font-size: var(--gp-fs-sm);
  color: var(--gp-text-secondary);
  margin: 0;
}

.hp-community__right {
  display: flex;
  align-items: center;
  gap: var(--gp-space-5);
  flex-shrink: 0;
}

.hp-community__avatars {
  display: flex;
}

.hp-community__avatars img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--gp-white);
  margin-left: -10px;
  object-fit: cover;
}

.hp-community__avatars img:first-child { margin-left: 0; }

.hp-community__rating {
  display: flex;
  align-items: center;
  gap: var(--gp-space-2);
  font-size: var(--gp-fs-sm);
}

.hp-community__rating strong {
  font-weight: var(--gp-fw-bold);
  color: var(--gp-text);
}

.hp-community__rating small {
  color: var(--gp-text-muted);
}

@media (max-width: 900px) {
  .hp-community {
    flex-direction: column;
    text-align: center;
    padding: var(--gp-space-5);
  }
  .hp-community__left { flex-direction: column; }
  .hp-community__right { flex-direction: column; }
}
