<style>html
{
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
}

body
{
  margin: 0;
  padding: 0;
  font-family: "FKGroteskNeue", "Geist", "Inter", -apple-system,
    BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #F5E6D3;
  color: #222;
  /* min-height: 100vh; */
  display: flex;
  flex-direction: column;
}

.header
{
  background: linear-gradient(135deg, #D2691E 0%, #C55A14 100%);
  color: white;
  padding: 0px 0 16px 0;
}

.header-container
{
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.container
{
  margin-right: auto;
  margin-left: auto;
  padding-right: 16px;
  padding-left: 16px;
  max-width: 1280px;
}

.site-logo
{
  width: 100%;
  max-width: 60px;
  text-align: left;
  margin-top: 12px;
  margin-bottom: 8px;
  margin-left: 16px;
  background: none;
}

.logo-circle
{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  margin-top: 12px;
}

.logo-circle img
{
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 50%;
}

.header-text
{
  display: flex;
  flex-direction: column;
}

.header_title
{
  color: white;
  margin-top: 17px;
  margin-bottom: 0px;
  font-size: 1.7rem;
  font-weight: 550;
}

.header_subtitle
{
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  margin: 0;
}

.search-section
{
  padding: 32px 0;
}

.search-container
{
  background: white;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.04),
    0 4px 6px -2px rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(210, 105, 30, 0.1);
}

.search-filters
{
  display: grid;
  gap: 20px;
}

.select-button:disabled
{
  background: #f5f5f5;
  color: #aaa;
  border-color: #e0e0e0;
  cursor: not-allowed;
}

.filter-row
{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.filter-group
{
  margin-bottom: 12px;
}

.custom-select
{
  position: relative;
  width: 100%;
}

.select-button
{
  width: 100%;
  padding: 10px 16px;
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  text-align: left;
  cursor: pointer;
  font-size: 14px;
  font-family: inherit;
  color: #333;
  position: relative;
}

.select-button:after
{
  content: "▼";
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 10px;
}

.select-dropdown
{
  position: absolute;
  width: 100%;
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 100;
  max-height: 200px;
  overflow-y: auto;
  display: none;
}

.option
{
  padding: 8px 16px;
  cursor: pointer;
  font-size: 14px;
}

.option:hover
{
  background: #f5f5f5;
}

.form-label
{
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  font-size: 12px;
  color: #D2691E;
}

.btn
{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  cursor: pointer;
  transition: all 250ms cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  text-decoration: none;
  position: relative;
}

.btn:focus-visible
{
  outline: none;
  box-shadow: 0 0 0 3px rgba(33, 128, 141, 0.4);
}

.btn-primary
{
  background: #D2691E;
  color: rgba(252, 252, 249, 1);
  z-index: 2;
}

.btn-primary:hover
{
  background: #B8571A;
}

.btn-primary:active
{
  background: rgba(26, 104, 115, 1);
}

.results-summary
{
  margin-bottom: 24px;
}

.summary-bar
{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 2px solid rgba(210, 105, 30, 0.1);
}

.result-selected-filter
{
  font-weight: 500;
  color: #D2691E;
  font-size: 24px;
}

.result-selected-filter .separator
{
  color: black;
}

.results-count
{
  font-weight: 500;
  color: #D2691E;
  font-size: 16px;
}

.restaurants-grid
{
  align-items: stretch;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(318px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.restaurant-card
{
  position: relative;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(210, 105, 30, 0.1);
  transition: all 250ms cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.restaurant-card .card-link
{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-indent: -9999px;
  /* 隱藏文字（若你有放文字）*/
  z-index: 1;
  /* 比卡片內容低即可互動；若內容已有 z-index，設比它高 */
}

.restaurant-card:hover
{
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.04),
    0 4px 6px -2px rgba(0, 0, 0, 0.02);
}

.restaurant-header
{
  padding: 16px;
  background: linear-gradient(135deg, #FFF8F0 0%, white 100%);
  border-bottom: 1px solid rgba(210, 105, 30, 0.1);
}

.restaurant-body
{
  padding: 16px;
  flex: 1;
}

.restaurant-title-row
{
  display: flex;
  align-items: center;
  gap: 12px;
}

.restaurant-name
{
  font-size: 18px;
  font-weight: 550;
  color: #D2691E;
  margin-top: 0;
  margin-bottom: 8px;
}

.restaurant-distance
{
  font-size: 12px;
  color: #666;
  white-space: nowrap;
  margin-bottom: 4px;
}

.restaurant-awards
{
  display: flex;
  align-items: center;       /* 垂直置中 */
  justify-content: flex-start; /* 讓獎項在左，提示靠右 */
  gap: 8px;                 /* 獎項與提示間隔 */
  position: relative;
}

.award-badge
{
  padding: 4px 8px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 500;
  background: #ac8c35;
  color: white;
}

.award-tip
{
  color: #D2691E;
  font-size: 13px;
  font-weight: 550;
  margin-left: auto;
}

.restaurant-info
{
  display: grid;
  gap: 8px;
  margin-bottom: 8px;
}

.info-item__text
{
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: rgba(98, 108, 113, 1);
  line-height: 1.4;
}

.restaurant-actions
{
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: flex-end;
}

.no-results
{
  text-align: center;
  padding: 32px;
}

.no-results_content
{
  background: white;
  padding: 32px;
  border-radius: 12px;
  border: 2px dashed rgba(210, 105, 30, 0.3);
}

.no-results p
{
  color: #D2691E;
  margin-bottom: 16px;
}

.pagination-section
{
  margin-top: 32px;
}

.pagination
{
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.pagination__btn
{
  padding: 8px 12px;
  border: 2px solid rgba(210, 105, 30, 0.2);
  background: white;
  color: #D2691E;
  border-radius: 8px;
  cursor: pointer;
  transition: all 150ms;
  font-size: 12px;
}

.pagination__btn:hover
{
  background: #D2691E;
  color: white;
}

.pagination__btn--active
{
  background: #D2691E;
  color: white;
}

.pagination__btn--disabled
{
  opacity: 0.5;
  cursor: not-allowed;
}

.un-seen
{
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

footer
{
  background: #333;
  color: white;
  padding: 1rem 0 2rem 0;
  margin-top: 3rem;
}

.footer-content
{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  text-align: center;
}

.footer-section
{
  margin-bottom: 2rem;
}

.footer-section h3
{
  color: #ffda44;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.contact-links
{
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.contact-links a
{
  color: white;
  text-decoration: none;
  padding: 0.8rem 1.5rem;
  background: rgba(255, 218, 68, 0.2);
  border-radius: 25px;
  transition: background 0.3s, transform 0.2s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-links a:hover
{
  background: #ffda44;
  color: #333;
  transform: translateY(-2px);
}

.copy-email-btn
{
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 1rem;
  padding: 0;
  display: flex;
  align-items: center;
}

.copy-email-btn:hover
{
  text-decoration: underline;
}

.copy-msg
{
  margin-left: 10px;
  color: #27ae60;
  font-size: 0.95rem;
}

.social-links
{
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.social-links a
{
  color: white;
  font-size: 1.5rem;
  padding: 0.8rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-links a:hover
{
  background: #ffda44;
  color: #333;
  transform: scale(1.1);
}

.footer-bottom
{
  border-top: 1px solid #555;
  padding-top: 1.5rem;
  color: #ccc;
  font-size: 0.9rem;
}

.spinner
{
  width: 16px;
  height: 16px;
  border: 2px solid #ccc;
  border-top: 2px solid #333;
  border-radius: 50%;
  display: inline-block;
  animation: spin 1s linear infinite;
  vertical-align: middle;
}

@keyframes spin
{
  100%
  {
    transform: rotate(360deg);
  }
}

@media (max-width: 513px)
{
  .header-container
  {
    gap: 0px;
  }

  .container
  {
    padding: 16px;
  }

  .search-section
  {
    padding: 0;
  }

  .search-container
  {
    padding: 16px;
  }

  .search-filters
  {
    gap: 0;
  }

  .form-label
  {
    margin-bottom: 4px;
  }

  .filter-row
  {
    grid-template-columns: repeat(2, 1fr);
  }

  .site-logo
  {
    margin-top: 8px;
    margin-bottom: 4px;
  }

  .logo-circle
  {
    width: 48px;
    height: 48px;
  }

  .logo-circle img
  {
    width: 40px;
    height: 40px;
  }

  .header_title
  {
    font-size: 1.4rem;
  }

  .header_subtitle
  {
    font-size: 0.78rem;
  }
}

</style>