/* ==========================================================================
   /gian-hang — booth listing.
   Extends assets/css/ute-shell.css (body.ute-page).
   ========================================================================== */

body.booth-list-page .booth-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Featured booths get a warmer frame so they read as premium. */
body.booth-list-page .ute-card--featured {
  border-color: #f6d3b4;
  box-shadow: 0 10px 30px rgba(214, 106, 26, 0.12);
}

body.booth-list-page .ute-card--featured::after {
  background: linear-gradient(90deg, var(--ute-orange), #f6a044);
}

body.booth-list-page .ute-card--featured .ute-card-media,
body.booth-list-page .ute-card--featured .ute-card-media--empty {
  background: linear-gradient(135deg, var(--ute-orange-soft), #ffe3cd);
}

body.booth-list-page .ute-card--featured .ute-card-media--empty {
  color: var(--ute-orange-dark);
}

/* Badge stack sits top-right of the media. */
body.booth-list-page .booth-badges {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-items: flex-end;
}

body.booth-list-page .booth-badges .ute-badge {
  position: static;
  top: auto;
  right: auto;
}

/* Booth identity row: avatar-ish glyph + name. */
body.booth-list-page .booth-head {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  margin-bottom: 11px;
}

body.booth-list-page .booth-glyph {
  display: grid;
  width: 40px;
  height: 40px;
  color: #ffffff;
  font-size: 1.25rem;
  background: linear-gradient(135deg, var(--ute-navy), var(--ute-blue));
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(11, 98, 196, 0.22);
  place-items: center;
}

body.booth-list-page .ute-card--featured .booth-glyph {
  background: linear-gradient(135deg, var(--ute-orange-dark), #f6a044);
  box-shadow: 0 8px 18px rgba(244, 123, 32, 0.24);
}

body.booth-list-page .booth-head .ute-card-title {
  margin: 0;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

/* Product count pill in the card footer. */
body.booth-list-page .booth-foot {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin-top: 15px;
}

body.booth-list-page .booth-foot .ute-card-cta {
  margin-top: 0;
}

body.booth-list-page .booth-count {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  padding: 6px 10px;
  color: var(--ute-navy);
  font-size: 0.7rem;
  font-weight: 750;
  background: #f2f7fc;
  border: 1px solid #e2ecf5;
  border-radius: 999px;
}

body.booth-list-page .booth-count i {
  color: var(--ute-orange);
  font-size: 0.95rem;
}

/* Stat strip between filters and the grid. */
body.booth-list-page .booth-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 34px 0 0;
}

body.booth-list-page .booth-stat {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 13px;
  align-items: center;
  padding: 17px 18px;
  background: #ffffff;
  border: 1px solid var(--ute-border);
  border-radius: 16px;
  box-shadow: var(--ute-shadow-sm);
}

body.booth-list-page .booth-stat i {
  display: grid;
  width: 46px;
  height: 46px;
  color: var(--ute-blue);
  font-size: 1.35rem;
  background: var(--ute-sky);
  border-radius: 13px;
  place-items: center;
}

body.booth-list-page .booth-stat:nth-child(2) i {
  color: var(--ute-success);
  background: var(--ute-success-soft);
}

body.booth-list-page .booth-stat:nth-child(3) i {
  color: var(--ute-orange-dark);
  background: var(--ute-orange-soft);
}

body.booth-list-page .booth-stat:nth-child(4) i {
  color: var(--ute-navy);
  background: #e9eef6;
}

body.booth-list-page .booth-stat-copy {
  min-width: 0;
}

body.booth-list-page .booth-stat-copy strong {
  display: block;
  color: var(--ute-navy-deep);
  font-size: 1.35rem;
  font-weight: 850;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

body.booth-list-page .booth-stat-copy span {
  display: block;
  margin-top: 2px;
  color: var(--ute-muted);
  font-size: 0.74rem;
  font-weight: 650;
}

@media (max-width: 1100px) {
  body.booth-list-page .booth-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.booth-list-page .booth-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  body.booth-list-page .booth-stats {
    gap: 12px;
    margin-top: 26px;
  }

  body.booth-list-page .booth-stat {
    padding: 14px 15px;
  }
}

@media (max-width: 679.98px) {
  body.booth-list-page .booth-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  body.booth-list-page .booth-stats {
    grid-template-columns: 1fr;
  }

  body.booth-list-page .booth-foot {
    flex-direction: column;
    align-items: stretch;
  }

  body.booth-list-page .booth-foot .ute-card-cta {
    align-self: flex-end;
  }
}
