/* Public Marketplace, Doctors and Rides pages (homepage service cards). */
.gt-svc { padding-bottom: 40px; }
.gt-svc-tabs { display: flex; gap: 8px; margin: 4px 0 16px; flex-wrap: wrap; }
.gt-svc-tabs a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--st-line-2); background: var(--st-surface); color: var(--st-ink-2); font-weight: 700; text-decoration: none; }
.gt-svc-tabs a.active { background: var(--st-brand-600); border-color: var(--st-brand-600); color: #fff; }
.gt-svc-filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 18px; }
.gt-svc-filters .form-select { width: auto; min-width: 170px; border-radius: 12px; }
.gt-svc-search { position: relative; flex: 1 1 280px; }
.gt-svc-search i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--st-muted); }
.gt-svc-search input { width: 100%; height: 44px; padding: 0 14px 0 40px; border-radius: 12px; border: 1px solid var(--st-line-2); background: var(--st-surface); color: var(--st-ink); }
.gt-svc-filters .btn { height: 44px; border-radius: 12px; }
.gt-svc-count { color: var(--st-muted); font-size: .9rem; margin-bottom: 12px; }
.gt-svc-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); }
.gt-svc-card { display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; background: var(--st-surface); border: 1px solid var(--st-line); color: var(--st-ink); text-decoration: none; transition: box-shadow .2s ease, transform .2s ease; }
.gt-svc-card:hover { box-shadow: var(--st-shadow); transform: translateY(-2px); color: var(--st-ink); }
.gt-svc-media { position: relative; aspect-ratio: 1; background: var(--st-surface-3); display: grid; place-items: center; font-size: 2.4rem; color: var(--st-muted); overflow: hidden; }
.gt-svc-media img { width: 100%; height: 100%; object-fit: cover; }
.gt-svc-emoji { font-size: 2.6rem; }
.gt-svc-badge { position: absolute; top: 10px; left: 10px; padding: 3px 10px; border-radius: 999px; font-size: .72rem; font-weight: 800; background: #fef3c7; color: #92400e; }
.gt-svc-info .gt-svc-badge { position: static; display: inline-block; margin-bottom: 8px; }
.gt-svc-body { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 14px; min-width: 0; }
.gt-svc-price { font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.gt-svc-price small { font-size: .74rem; font-weight: 600; color: var(--st-muted); margin-left: 6px; }
.gt-svc-title { font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.gt-svc-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: .8rem; color: var(--st-ink-2); }
.gt-svc-meta i { margin-right: 4px; }
.gt-svc-sub { font-size: .78rem; color: var(--st-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gt-svc-note { font-size: .82rem; color: var(--st-muted); }
.gt-svc-desc { white-space: pre-line; overflow-wrap: anywhere; line-height: 1.6; }
.gt-svc-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 32px; padding: 22px 24px; border-radius: 22px; background: var(--st-brand-50); border: 1px solid var(--st-line); }
.gt-svc-cta h2 { font-size: 1.2rem; margin: 0 0 4px; }
.gt-svc-cta p { margin: 0; color: var(--st-ink-2); }

.gt-svc-detail { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.gt-svc-gallery-main { width: 100%; aspect-ratio: 1; object-fit: contain; border-radius: 20px; background: var(--st-surface-3); }
.gt-svc-gallery-empty { aspect-ratio: 1; border-radius: 20px; background: var(--st-surface-3); display: grid; place-items: center; font-size: 4rem; color: var(--st-muted); }
.gt-svc-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.gt-svc-thumbs button { flex: 0 0 72px; height: 72px; padding: 0; border-radius: 12px; overflow: hidden; border: 2px solid transparent; background: var(--st-surface-3); opacity: .7; }
.gt-svc-thumbs button.active, .gt-svc-thumbs button:hover { border-color: var(--st-brand-600); opacity: 1; }
.gt-svc-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gt-svc-info h1 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 0 0 8px; overflow-wrap: anywhere; }
.gt-svc-bigprice { font-size: 1.7rem; font-weight: 800; margin-bottom: 14px; }
.gt-svc-bigprice small { font-size: .85rem; font-weight: 600; color: var(--st-muted); margin-left: 8px; }
.gt-svc-facts { margin: 0 0 16px; }
.gt-svc-facts > div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--st-line-2); }
.gt-svc-facts dt { font-weight: 500; color: var(--st-muted); }
.gt-svc-facts dd { margin: 0; font-weight: 700; text-align: right; }
.gt-svc-seller { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; padding: 12px; border-radius: 14px; background: var(--st-surface-2); }
.gt-svc-seller small { display: block; color: var(--st-muted); }
.gt-svc-avatar { width: 42px; height: 42px; flex: 0 0 42px; border-radius: 50%; display: grid; place-items: center; background: var(--st-brand-600); color: #fff; font-weight: 800; }

.gt-doc-list { display: grid; gap: 14px; }
.gt-doc-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 16px; border-radius: 18px; background: var(--st-surface); border: 1px solid var(--st-line); color: var(--st-ink); text-decoration: none; transition: box-shadow .2s ease; }
.gt-doc-card:hover { box-shadow: var(--st-shadow); color: var(--st-ink); }
.gt-doc-photo { width: 84px; height: 84px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--st-brand-50); color: var(--st-brand-700); font-size: 2rem; font-weight: 800; }
.gt-doc-photo.is-lg { width: 120px; height: 120px; font-size: 2.8rem; flex: 0 0 120px; }
.gt-doc-photo img { width: 100%; height: 100%; object-fit: cover; }
.gt-doc-copy { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.gt-doc-name { font-size: 1.08rem; }
.gt-doc-spec { color: var(--st-brand-700); font-weight: 700; font-size: .9rem; margin: 0; }
.gt-doc-qual { color: var(--st-ink-2); font-size: .85rem; margin: 0; }
.gt-doc-side { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; text-align: right; }
.gt-doc-side strong { font-size: 1.15rem; }
.gt-doc-side small { color: var(--st-muted); }
.gt-doc-next { font-size: .8rem; font-weight: 700; color: var(--st-brand-700); }
.gt-doc-next.is-none { color: var(--st-muted); }
.gt-doc-hero { display: flex; align-items: center; gap: 22px; padding: 22px; margin-bottom: 22px; flex-wrap: wrap; }
.gt-doc-hero h1 { font-size: clamp(1.4rem, 3vw, 2rem); margin: 0; }
.gt-doc-hero .gt-doc-copy { flex: 1 1 320px; }
.gt-doc-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 22px; }
.gt-doc-fees { display: grid; gap: 10px; }
.gt-doc-fees > div { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--st-surface-2); }
.gt-doc-fees span { flex: 1; font-weight: 600; }
.gt-doc-fees i { color: var(--st-brand-600); font-size: 1.2rem; }
.gt-doc-review { padding: 10px 0; border-bottom: 1px dashed var(--st-line-2); }
.gt-doc-review small { margin-left: 8px; color: var(--st-muted); }
.gt-doc-review p { margin: 4px 0 0; }
.gt-doc-clinic { display: flex; flex-direction: column; gap: 2px; padding: 10px 0; border-bottom: 1px dashed var(--st-line-2); }
.gt-doc-clinic:last-child { border-bottom: 0; }
.gt-doc-clinic span { color: var(--st-ink-2); font-size: .9rem; }
.gt-doc-clinic a { font-size: .85rem; font-weight: 700; }
.gt-doc-week th { font-weight: 600; width: 40%; }

.gt-ride-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.gt-ride-card { border-radius: 20px; overflow: hidden; background: var(--st-surface); border: 1px solid var(--st-line); }
.gt-ride-media { aspect-ratio: 16 / 10; background: linear-gradient(135deg, var(--st-brand-50), #fff7ed); display: grid; place-items: center; font-size: 4rem; color: var(--st-brand-600); }
.gt-ride-media img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.gt-ride-body { padding: 16px 18px 18px; }
.gt-ride-body h2 { font-size: 1.2rem; margin: 0 0 4px; }
.gt-ride-fares { margin: 10px 0 0; }
.gt-ride-fares > div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dashed var(--st-line-2); font-size: .92rem; }
.gt-ride-fares > div:last-child { border-bottom: 0; }
.gt-ride-fares dt { font-weight: 500; color: var(--st-muted); }
.gt-ride-fares dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
[data-bs-theme="dark"] .gt-ride-media { background: var(--st-surface-3); }

@media (max-width: 860px) {
  .gt-svc-detail, .gt-doc-grid { grid-template-columns: minmax(0, 1fr); }
  .gt-doc-card { grid-template-columns: auto minmax(0, 1fr); }
  .gt-doc-side { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; text-align: left; }
}
@media (max-width: 520px) {
  .gt-svc-filters .form-select { flex: 1 1 140px; min-width: 0; }
  .gt-doc-photo { width: 64px; height: 64px; font-size: 1.6rem; }
  .gt-svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
}
