:root {
  --primary: #10c7b3;
  --primary-strong: #04a898;
  --accent: #1f6feb;
  --bg: #f6fbff;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #6b7280;
  --border: rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "HarmonyOS Sans", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: linear-gradient(180deg, #f6fbff 0%, #ffffff 65%);
  color: var(--text);
  min-height: 100vh;
}

body.no-scroll {
  overflow: hidden;
}

.app {
  max-width: 980px;
  margin: 0 auto;
  padding: 1.25rem 1rem 3rem;
}

.hero {
  background: linear-gradient(135deg, rgba(16, 199, 179, 0.14), rgba(31, 111, 235, 0.12));
  border: 1px solid rgba(16, 199, 179, 0.25);
  border-radius: 20px;
  padding: 1.1rem 1.25rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  box-shadow: 0 18px 44px rgba(5, 100, 90, 0.15);
}

.hero h1 {
  margin: 0.15rem 0;
  font-size: 1.65rem;
}

.sub {
  margin: 0.1rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.tag {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: #0c8e7e;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  justify-content: flex-end;
}

.pill {
  border-radius: 999px;
  padding: 0.65rem 1rem;
  border: 1px solid rgba(16, 199, 179, 0.5);
  background: rgba(16, 199, 179, 0.12);
  color: #0b5f54;
  font-weight: 700;
  cursor: pointer;
}

.pill.primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #fff;
  border: none;
  box-shadow: 0 10px 24px rgba(16, 199, 179, 0.35);
}

.nav-btn {
  font-size: 0.92rem;
}

.contact-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: center;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-item {
  display: flex;
  justify-content: space-between;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(16, 199, 179, 0.25);
  border-radius: 12px;
  background: #f8fbfd;
  font-weight: 700;
}

.contact-item span {
  color: var(--muted);
  font-weight: 600;
}

.qr-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.qr-placeholder {
  width: 160px;
  height: 160px;
  border-radius: 14px;
  background: repeating-linear-gradient(
      45deg,
      rgba(16, 199, 179, 0.1) 0,
      rgba(16, 199, 179, 0.1) 12px,
      rgba(16, 199, 179, 0.2) 12px,
      rgba(16, 199, 179, 0.2) 24px
    ),
    #fff;
  border: 2px dashed rgba(16, 199, 179, 0.5);
  display: grid;
  place-items: center;
  color: #0b5f54;
  font-weight: 700;
}

.mode-toggle {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 0.25rem;
  border-radius: 999px;
  background: #e9fbf7;
  border: 1px solid rgba(16, 199, 179, 0.3);
  box-shadow: 0 12px 30px rgba(16, 199, 179, 0.12);
  margin: 1.5rem 0;
}

.mode-toggle button {
  border: none;
  background: transparent;
  position: relative;
  z-index: 1;
  padding: 0.85rem;
  font-size: 1rem;
  font-weight: 700;
  color: #0c4a43;
  cursor: pointer;
}

.mode-toggle .active-bar {
  position: absolute;
  inset: 5px 50% 5px 5px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  box-shadow: 0 14px 26px rgba(16, 199, 179, 0.28);
  transition: all 0.28s ease;
  z-index: 0;
}

.mode-toggle button.active {
  color: #fff;
}

main .panel {
  display: none;
  animation: fade 0.28s ease;
}

main .panel.active {
  display: block;
}

@keyframes fade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.filter-panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1rem 1.1rem;
  margin-bottom: 1rem;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.1);
}

.filter-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.filter-head h3 {
  margin: 0 0 0.1rem;
}

.filter-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.chip {
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: rgba(16, 199, 179, 0.12);
  color: #0b5f54;
  font-weight: 700;
  font-size: 0.85rem;
}

.filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

label {
  font-size: 0.9rem;
  color: var(--muted);
}

select,
input[type="range"] {
  width: 100%;
}

select {
  background: #f8fbfd;
  border: 1px solid rgba(16, 199, 179, 0.25);
  border-radius: 12px;
  color: #0f172a;
  padding: 0.78rem 1rem;
  font-size: 0.95rem;
  outline: none;
  appearance: none;
  background-image: url('data:image/svg+xml,%3Csvg width="12" height="8" viewBox="0 0 12 8" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M2 2l4 4 4-4" stroke="%23025c54" stroke-width="1.6" fill="none" stroke-linecap="round"/%3E%3C/svg%3E');
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px;
}

.range-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

input[type="range"] {
  -webkit-appearance: none;
  height: 6px;
  background: linear-gradient(90deg, rgba(16, 199, 179, 0.3), rgba(16, 199, 179, 0.18));
  border-radius: 999px;
  outline: none;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.08);
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  border: 3px solid #f8fbfd;
  box-shadow: 0 8px 18px rgba(16, 199, 179, 0.35);
  cursor: pointer;
}

input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  border: 3px solid #f8fbfd;
  box-shadow: 0 8px 18px rgba(16, 199, 179, 0.35);
  cursor: pointer;
}

.membership-hint {
  display: none;
  margin: 0 0 0.8rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  border: 1px dashed rgba(16, 199, 179, 0.6);
  background: rgba(16, 199, 179, 0.1);
  color: #0a5a50;
  font-size: 0.95rem;
}

.membership-hint strong {
  color: #0a433c;
}

.membership-hint.show {
  display: block;
}

.store-cover.locked {
  position: relative;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.08), rgba(15, 23, 42, 0.2));
  filter: none;
}

.store-cover.locked::after {
  content: "开通会员可查看门店封面";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #0b5f54;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.65);
  border-radius: 16px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.09);
  transition: transform 0.2s ease, border 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
  border-color: rgba(16, 199, 179, 0.3);
  box-shadow: 0 20px 46px rgba(15, 23, 42, 0.14);
}

.seeker-card {
  flex-direction: row;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.1rem;
}

.card-photo {
  width: 90px;
  height: 90px;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.4), rgba(49, 64, 86, 0.55));
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.card-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("https://images.unsplash.com/photo-1487412720507-e7ab37603c6f?auto=format&fit=crop&w=200&q=60") center/cover;
  filter: blur(7px);
  transform: scale(1.08);
  opacity: 0.85;
}

.card-photo .lock-icon {
  position: absolute;
  inset: auto auto 8px 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.65);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  color: #fff;
}

.seeker-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
}

.seeker-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.seeker-name span {
  font-size: 0.92rem;
  color: #6b7280;
  margin-left: 0.35rem;
}

.seeker-meta {
  margin: 0;
  font-size: 0.9rem;
  color: #4b5563;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  flex-wrap: wrap;
  line-height: 1.35;
}

.seeker-meta span {
  color: #94a3b8;
  margin-right: 0.35rem;
  white-space: nowrap;
}

.seeker-salary {
  color: #ff6635;
  font-weight: 700;
}

.seeker-actions {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: flex-end;
}

.primary-btn,
.ghost-btn {
  border-radius: 999px;
  padding: 0.6rem 1.05rem;
  font-size: 0.95rem;
  cursor: pointer;
  font-weight: 700;
  border: 1px solid rgba(16, 199, 179, 0.2);
  background: #f1f5f9;
  color: #0f172a;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.primary-btn {
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #fff;
  border: none;
  box-shadow: 0 6px 16px rgba(16, 199, 179, 0.3);
}

.ghost-btn {
  background: rgba(16, 199, 179, 0.12);
  color: #0b5f54;
}

.ghost-btn.slim,
.primary-btn.slim {
  padding: 0.45rem 0.85rem;
  font-size: 0.9rem;
}

.card-content {
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.card-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.card-title h4 {
  margin: 0;
}

.badge {
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.8rem;
  background: rgba(16, 199, 179, 0.12);
  border: 1px solid rgba(16, 199, 179, 0.28);
  color: #0b5f54;
}

.info-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  color: var(--muted);
}

.info-line strong {
  color: var(--text);
}

.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.skills span {
  padding: 0.2rem 0.6rem;
  background: rgba(16, 199, 179, 0.12);
  border-radius: 999px;
  font-size: 0.8rem;
  color: #0b5f54;
}

.card-actions {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  gap: 0.7rem;
}

.primary-btn:hover,
.ghost-btn:hover {
  transform: translateY(-1.2px);
}

.empty {
  text-align: center;
  padding: 2.2rem 1rem;
  color: var(--muted);
  border: 1px dashed var(--border);
  border-radius: 16px;
  background: #fff;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(6, 12, 24, 0.68);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
  z-index: 50;
  backdrop-filter: blur(6px);
}

.modal.show {
  display: flex;
}

.modal-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  width: min(880px, 95vw);
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.18);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem 1rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.modal-header h3 {
  margin: 0.1rem 0;
}

.muted {
  color: var(--muted);
}

.modal-close {
  border: none;
  background: rgba(15, 23, 42, 0.08);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  color: #0f172a;
  cursor: pointer;
  font-size: 1.2rem;
}

.modal-body {
  display: grid;
  grid-template-columns: 260px 1fr;
  padding: 1.2rem 1.5rem 1.5rem;
  gap: 1rem;
}

.locked-block {
  background: rgba(246, 250, 252, 0.96);
  border: 1px dashed rgba(16, 199, 179, 0.35);
  border-radius: 16px;
  padding: 1.1rem;
  text-align: center;
  color: #0b5f54;
}

.lock-icon {
  position: static;
  display: inline-flex;
  margin-bottom: 0.4rem;
}

.detail-col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.detail-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.detail-list li {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  padding-bottom: 0.5rem;
  font-size: 0.95rem;
}

.detail-list span {
  color: var(--muted);
}

.locked-inline {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.65rem;
  align-items: center;
  background: rgba(16, 199, 179, 0.08);
  border: 1px dashed rgba(16, 199, 179, 0.35);
  border-radius: 14px;
  padding: 0.8rem 0.9rem;
}

.full-btn {
  width: 100%;
  padding: 0.75rem;
  border-radius: 12px;
  font-weight: 700;
  border: 1px solid rgba(16, 199, 179, 0.3);
  cursor: pointer;
}

.full-btn.primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  border: none;
  color: #fff;
  box-shadow: 0 10px 22px rgba(16, 199, 179, 0.3);
}

.full-btn.ghost {
  background: rgba(16, 199, 179, 0.12);
  color: #0b5f54;
}

.phone-btn {
  width: 100%;
  margin-top: 0.2rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(246, 250, 251, 0.9);
  color: #7b8094;
  font-size: 1rem;
  cursor: not-allowed;
}

/* 详情页样式 */
.detail-body {
  background: linear-gradient(180deg, #f6fbff 0%, #ffffff 70%);
}

.top-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  justify-content: flex-start;
  gap: 0.5rem;
  padding: 0.6rem 0.2rem;
  background: rgba(246, 251, 255, 0.9);
  backdrop-filter: blur(6px);
}

.top-nav .nav-btn {
  padding: 0.45rem 0.85rem;
  border-radius: 10px;
  border: 1px solid rgba(16, 199, 179, 0.35);
  background: rgba(16, 199, 179, 0.08);
  color: #0b5f54;
  font-weight: 700;
  cursor: pointer;
  font-size: 0.9rem;
}

.detail-page {
  max-width: 960px;
  margin: 0 auto;
  padding: 1.25rem 1rem 2rem;
}

.detail-hero {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: linear-gradient(135deg, rgba(16, 199, 179, 0.16), rgba(31, 111, 235, 0.14));
  border: 1px solid rgba(16, 199, 179, 0.25);
  border-radius: 18px;
  padding: 1rem 1.2rem;
  box-shadow: 0 18px 44px rgba(5, 100, 90, 0.12);
}

.detail-avatar {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  background: #e5f7f3 center/cover no-repeat;
  flex-shrink: 0;
}

.detail-headline h1 {
  margin: 0;
  font-size: 1.4rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.detail-headline p {
  margin: 0.2rem 0 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.store-hero-info {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
  flex: 1;
}

.store-head {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

.store-head h1 {
  margin: 0;
  font-size: 1.4rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.store-hero {
  align-items: stretch;
  gap: 1rem;
}

.store-cover {
  width: 140px;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  background: #e5f7f3 center/cover no-repeat;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px rgba(16, 199, 179, 0.2), 0 10px 26px rgba(15, 23, 42, 0.12);
}

.detail-contact {
  margin-left: auto;
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.75rem;
  border-radius: 12px;
  background: rgba(16, 199, 179, 0.2);
  border: 1px solid rgba(16, 199, 179, 0.35);
  color: #0b5f54;
  font-weight: 700;
  max-width: 200px;
}

.contact-pill span {
  color: var(--muted);
  font-weight: 600;
}

.detail-section {
  margin-top: 1.1rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1rem 1.1rem;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.detail-section h3 {
  margin: 0 0 0.75rem;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.section-subtitle {
  margin: 0.35rem 0 0.5rem;
  color: var(--muted);
  font-weight: 700;
}

.recruit-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.recruit-row {
  background: #f8fbfd;
  border: 1px solid rgba(16, 199, 179, 0.18);
  border-radius: 12px;
  padding: 0.75rem 0.85rem;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 0.5rem;
  align-items: center;
  word-break: break-word;
}

.recruit-label {
  color: var(--muted);
  font-weight: 600;
}

.recruit-value {
  font-weight: 700;
  color: #0f172a;
}

.store-basic {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

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

.basic-row strong {
  display: block;
  font-size: 1.05rem;
  word-break: break-word;
}

.label {
  margin: 0 0 0.3rem;
}

.store-basic + .label {
  display: block;
  margin-top: 0.9rem;
}

.label + .skills {
  margin-top: 0.8rem;
}

.photo-guard {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.photo-guard .member-cta.tiny {
  width: auto;
  padding: 0.4rem 0.75rem;
  border-radius: 10px;
  font-size: 0.85rem;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.5rem;
}

.detail-item {
  background: #f8fbfd;
  border: 1px solid rgba(16, 199, 179, 0.18);
  border-radius: 12px;
  padding: 0.75rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  word-break: break-word;
  min-width: 0;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.85rem;
}

.photo-card {
  background: #e5f7f3 center/cover no-repeat;
  border-radius: 16px;
  padding-top: 80%;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
  cursor: pointer;
}

.photo-card.locked {
  filter: blur(4px) brightness(0.92);
  cursor: default;
}

.photo-card .lock-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  color: #fff;
  background: rgba(6, 12, 24, 0.45);
  font-weight: 700;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(6, 10, 20, 0.75);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 80;
  padding: 1rem;
}

.lightbox.show {
  display: flex;
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
}

.lightbox-track {
  display: flex;
  gap: 1rem;
  transition: transform 0.25s ease;
  width: 100%;
  max-width: 720px;
}

.lightbox-track .slide {
  min-width: 100%;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  background: #0b182d;
}

.lightbox-track .slide::before {
  content: "";
  display: block;
  padding-top: 66.6%;
}

.lightbox-track .slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
  backdrop-filter: blur(4px);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.25);
}

.lightbox-nav.prev {
  left: 12px;
}

.lightbox-nav.next {
  right: 12px;
}

.lightbox-dots {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.lightbox-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.45);
  padding: 0;
  cursor: pointer;
}

.lightbox-dots button.active {
  width: 18px;
  border-radius: 6px;
  background: #fff;
}

.detail-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  padding: 0.75rem 1rem calc(env(safe-area-inset-bottom, 12px) + 0.75rem);
  pointer-events: none;
}

.detail-footer .footer-bar {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, rgba(16, 199, 179, 0.18), rgba(16, 199, 179, 0.12));
  border: 1px solid rgba(16, 199, 179, 0.25);
  border-radius: 18px;
  padding: 0.85rem 1rem;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.16);
  backdrop-filter: blur(8px);
  pointer-events: all;
}

.detail-footer .phone-box {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #0b5f54;
}

.detail-footer .phone-box strong,
#detailPhone,
#storePhone {
  font-family: "SFMono-Regular", Menlo, Consolas, monospace;
  letter-spacing: 0.12em;
  font-size: 1.15rem;
  font-weight: 700;
  color: #0b5f54;
}

.call-btn {
  border-radius: 999px;
  padding: 0.75rem 1.2rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 12px 26px rgba(16, 199, 179, 0.28);
}

.call-btn.disabled {
  background: #e5e7eb;
  color: #9ca3af;
  box-shadow: none;
  cursor: not-allowed;
}

@media (max-width: 640px) {
  .photo-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  .lightbox-track {
    max-width: 100%;
  }

  .lightbox-track .slide::before {
    padding-top: 75%;
  }

  .detail-footer .footer-bar {
    grid-template-columns: 1fr auto;
    border-radius: 16px;
    padding: 0.8rem 0.9rem;
  }

  .store-hero {
    flex-direction: column;
    gap: 0.8rem;
  }

  .store-cover {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  .detail-contact {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .detail-page {
    padding: 1rem 0.8rem 2rem;
  }

  .detail-hero {
    align-items: flex-start;
  }

  .detail-avatar {
    width: 82px;
    height: 82px;
  }

  .detail-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }

  .store-hero {
    flex-direction: column;
    gap: 0.8rem;
  }

  .store-cover {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    justify-content: flex-end;
  }

  .modal-body {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .app {
    padding: 1rem 0.75rem 2rem;
  }

  .hero {
    padding: 1rem;
  }

  .mode-toggle {
    margin: 1.25rem 0 1.35rem;
  }

  .filters {
    grid-template-columns: minmax(0, 1fr);
  }

  .seeker-card {
    gap: 0.75rem;
    padding: 0.95rem 1rem;
  }

  .card-photo {
    width: 82px;
    height: 82px;
  }

  .card-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
