/* Light Up Letters — Category Grid */

.lul-grid-wrap {
  max-width: 1100px;
  margin: 0 auto;
  font-family: inherit;
}

/* Wraps the auto-injected Plan Your Hire picker on category landing pages.
   Matches .lul-grid-wrap's own width exactly so the picker and the
   toolbar/grid below it are always the same width, not just similar. */
.lul-cg-hero-fix {
  max-width: 1100px;
  margin: 0 auto;
}

/* ── Toolbar ── */
.lul-grid-toolbar {
  display: flex;
  gap: 16px;
  align-items: flex-end;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.lul-grid-filter-wrap,
.lul-grid-sort-wrap,
.lul-grid-search-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lul-grid-search-wrap {
  flex: 1;
  min-width: 220px;
}

/* ── Intro paragraph (category landing pages) ── */
.lul-grid-intro {
  margin: 0 0 32px;
  font-size: 15px;
  line-height: 1.7;
  color: #444;
}
.lul-grid-intro p {
  margin: 0 0 12px;
}
.lul-grid-intro p:last-child {
  margin-bottom: 0;
}

.lul-grid-filter-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #888;
}

.lul-grid-search {
  font-size: 14px;
  font-family: inherit;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 8px 12px;
  background: #fff;
  color: #1a1a1a;
  width: 100%;
  box-sizing: border-box;
}

.lul-grid-search:focus {
  outline: none;
  border-color: #c8a84b;
}

.lul-grid-filter,
.lul-grid-sort {
  font-size: 14px;
  font-family: inherit;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 8px 32px 8px 12px;
  background: #fff;
  color: #1a1a1a;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23888' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  min-width: 200px;
}

.lul-grid-filter:focus,
.lul-grid-sort:focus {
  outline: none;
  border-color: #c8a84b;
}

/* ── Grid ── */
.lul-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 900px) { .lul-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .lul-grid { grid-template-columns: 1fr; } }

/* ── Card ── */
.lul-grid-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.lul-grid-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.12);
}

.lul-grid-card-img {
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: #f5f5f5;
}

.lul-grid-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

.lul-grid-card:hover .lul-grid-card-img img {
  transform: scale(1.03);
}

.lul-grid-card-img-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: #ddd;
}

.lul-grid-card-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.lul-grid-card-title {
  font-size: 17px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 8px;
}

.lul-grid-card-desc {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
  margin: 0 0 12px;
  flex: 1;
}

.lul-grid-card-price {
  font-size: 13px;
  color: #888;
  margin: 0 0 14px;
}

.lul-grid-card-price strong {
  color: #1a1a1a;
  font-size: 15px;
}

.lul-grid-card-btn {
  display: block;
  background: #c8a84b;
  color: #fff;
  text-align: center;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}

.lul-grid-card-btn:hover {
  background: #b8942f;
  color: #fff;
}

/* ── Empty state ── */
.lul-grid-empty {
  text-align: center;
  color: #888;
  font-size: 15px;
  padding: 40px 0;
}

.lul-grid-price-hire {
  font-size: 12px;
  color: #888;
  font-weight: normal;
}
