/* ================================================
   Components — Buttons, badges, dividers, 404 page
   ================================================ */

/* ---- Buttons ---- */
.gc-btn {
  display: inline-block;
  padding: var(--space-5) var(--space-9);
  border-radius: var(--radius-xl);
  font-size: 14px;
  font-weight: var(--font-bold);
  text-align: center;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

/* Dark CTA button (primary action) */
.gc-btn-cta {
  background: var(--gc-btn-dark);
  color: var(--gc-white);
  border: none;
}

.gc-btn-cta:hover {
  background: var(--gc-btn-dark-hover);
  color: var(--gc-white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Legacy primary button (kept for other uses) */
.gc-btn-primary {
  background: var(--gc-primary);
  color: var(--gc-text);
  border: 2px solid var(--gc-primary-strong);
}

.gc-btn-primary:hover {
  background: var(--gc-primary-strong);
  color: var(--gc-text);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(229, 200, 0, 0.3);
}

/* ---- Badges ---- */
.gc-badge {
  display: inline-block;
  padding: var(--space-1) var(--space-4);
  border-radius: var(--radius-sm);
  font-size: var(--text-xs);
  font-weight: var(--font-bold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.gc-badge-exclusive {
  background: var(--gc-accent);
  color: var(--gc-white);
  border: none;
  font-size: 10px;
  padding: 3px var(--space-3);
  border-radius: 3px;
  margin-left: 0;
  vertical-align: middle;
}

/* ---- Divider ---- */
.gc-section-divider {
  margin: var(--space-5) 0 var(--space-8);
  border: none;
  border-top: 1px solid var(--gc-border);
}

/* ---- 404 Page ---- */
.gc-404-search {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.gc-404-search-input {
  flex: 1;
  padding: 14px var(--space-7);
  font-size: 18px;
  border: 1px solid var(--gc-border);
  border-radius: var(--radius-md);
  background: var(--gc-surface);
  color: var(--gc-text);
  outline: none;
  transition: border-color 0.15s;
}

.gc-404-search-input:focus {
  border-color: var(--gc-primary);
}

/* --- ≥481px --- */
@media (min-width: 481px) {
  .gc-404-search {
    flex-direction: row;
  }
}

/* ---- Search: Shop Cards ---- */
.gc-search-shops {
  margin-bottom: var(--space-8, 32px);
}

.gc-search-shops h2 {
  font-size: 18px;
  margin-bottom: var(--space-5, 12px);
}

.gc-search-shops-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--space-5, 12px);
}

.gc-search-shop-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-4, 10px);
  padding: var(--space-7, 20px) var(--space-6, 16px);
  background: var(--gc-surface, #fff);
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
  text-decoration: none;
  color: var(--gc-text, #1a1a1a);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  min-height: 140px;
}

.gc-search-shop-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, .12);
  transform: translateY(-2px);
}

.gc-search-shop-logo {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gc-search-shop-logo img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 10px;
}

.gc-search-shop-initial {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gc-bg-subtle, #f5f5f5);
  border-radius: 10px;
  font-size: 28px;
  font-weight: 700;
  color: var(--gc-muted, #6b7280);
}

.gc-search-shop-name {
  font-weight: 600;
  font-size: 14px;
  text-align: center;
  word-break: break-word;
}
