/* ==========================================
   i58D Union Station Search Panel
========================================== */
.station-search-panel {
  background: linear-gradient(90deg, #3F3DBD, #C51F9D);
  border-radius: 18px;
  padding: 24px 20px;
  margin: 18px 0 24px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
}
.station-search-panel #header1 {
  margin: 0;
  text-align: center;
  color: #FFF;
  font-size: 22px;
  font-weight: 700;
}
.station-search-panel #header1 small {
  color: #FFD54A;
  font-size: 1.1rem;
}
.counter-categories {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 22px;
}
.counter-categories span {
  background: rgba(255, 255, 255, 0.18);
  color: #FFF !important;
  padding: 8px 14px;
  border-radius: 30px;
  font-size: 17px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.station-filter-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.biz-zone-select {
  width: 100% !important;
  height: 48px;
  padding: 0 16px;
  border: 2px solid #FFD54A;
  border-radius: 12px;
  background: #FFF;
  font-size: 16px;
  font-weight: 600;
  color: #333;
  outline: none;
}
#keywords {
  width: 100% !important;
  display: block;
  padding: 13px 16px;
  border: 2px solid #FFF;
  border-radius: 12px;
  background: #FFF;
  font-size: 16px;
  color: #333;
  outline: none;
}
#keywords::placeholder {
  color: #888;
}
#keywords:focus {
  border-color: #FFD54A;
}
/* ==============================
   商圈搜尋區（V1.0）
============================== */
.station-filter-box {
  width: 100%;
  margin: 16px 0;
}
.biz-zone-select {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1px solid #FFD54A;
  border-radius: 8px;
  background: #FFF;
  color: #333;
  font-size: 15px;
  font-weight: 600;
  outline: none;
  cursor: pointer;
}
.biz-zone-select:focus {
  border-color: #6A38D1;
  box-shadow: none;
}
#keywords {
  width: 100%;
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid #DDD;
  border-radius: 8px;
  font-size: 15px;
  outline: none;
}
#keywords:focus {
  border-color: #6A38D1;
}
.station-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  margin: 0 auto;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.station-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}
.station-card .station-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
}
.station-card .station-header {
  gap: 12px;
  align-items: center;
}
.station-card .station-header .logo-wrap {
  width: 144px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}
.station-card .station-header .logo-wrap a img {
  width: 100%;
  height: 100%;
}
.station-card .station-header .station-divider {
  height: 2px;
  background: linear-gradient(90deg, #FFD54A, transparent);
  margin: 12px 0 16px;
  border-radius: 2px;
}
.station-card .station-header .station-name {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.5;
  flex-grow: 1;
  text-align: center;
}
.station-card .station-header .station-btn {
  text-decoration: none;
  flex-shrink: 0;
}
.station-card .station-header .station-btn .station_address.pointer {
  padding: 6px 16px;
  background-color: #10b981;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  font-size: 1.75rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s ease;
}
.station-card .station-header .station-btn .station_address.pointer:hover {
  background-color: #059669;
}
.station-card .station-meta {
  justify-content: flex-start;
}
.station-card .station-meta .keywords {
  background: #FFF7D6;
  border-left: 6px solid #F59E0B;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 1.75rem;
  color: #64748b;
  background-color: #f1f5f9;
  padding: 4px 8px;
  border-radius: 4px;
  display: inline-block;
}
.station-card .station-meta .keywords .terms {
  font-size: 1.75rem;
}
.station-card .station-meta .keywords .terms .term-text {
  color: #B45309;
  font-weight: 700;
}
.station-card .station-meta .keywords .terms .term-link {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
}
.station-card .station-meta .keywords .terms .term-link:hover {
  text-decoration: underline;
}
.station-card .station-address {
  justify-content: space-between;
  font-size: 1.5rem;
  color: #64748b;
  line-height: 1.4;
  word-break: break-all;
}
.station-card .station-contact {
  justify-content: space-between;
  padding-top: 4px;
}
.station-card .station-contact .phone {
  font-weight: 600;
  color: #1e293b;
  font-size: 1.75rem;
}
.station-card .station-contact .social a img {
  width: 96px;
  height: 48px;
  display: block;
  transition: opacity 0.2s ease;
}
.station-card .station-contact .social a img:hover {
  opacity: 0.8;
}
.station-card .redeem-link {
  text-decoration: none;
  margin-top: 8px;
  width: 100%;
  display: block;
}
.station-card .redeem-link .station_address {
  width: 100%;
  padding: 12px 16px;
  background-color: #2563eb;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
}
.station-card .redeem-link .station_address:hover {
  background-color: #1d4ed8;
}
.station-card .redeem-link .station_address:active {
  transform: scale(0.99);
}
.station-card .redeem-link:not([href]) {
  cursor: not-allowed;
}
.station-card .redeem-link:not([href]) .station_address {
  background-color: #94a3b8;
  cursor: not-allowed;
}
.station-card .redeem-link:not([href]) .station_address:hover {
  background-color: #94a3b8;
}
@media (max-width: 750px) {
  .station-card {
    padding: 14px;
    gap: 10px;
  }
  .station-card .station-header {
    flex-wrap: wrap;
  }
  .station-card .station-header .logo-wrap {
    width: 96px;
    height: 36px;
  }
  .station-card .station-header .station-name {
    font-size: 4.5rem;
    width: 45%;
    white-space: nowrap;
    overflow: hidden;
  }
  .station-card .station-header .station-btn .station_address.pointer {
    font-size: 4rem;
    padding: 8px 16px;
  }
  .station-card .station-meta .keywords {
    font-size: 4rem;
  }
  .station-card .station-address {
    font-size: 3.5rem;
  }
  .station-card .station-contact .phone {
    font-size: 4rem;
  }
  .station-card .redeem-link .station_address {
    padding: 10px 14px;
    font-size: 4.5rem;
  }
}
@media (min-width: 751px) {
  .station-card {
    padding: 24px;
    gap: 14px;
  }
}
