/* ── Shop Page Background ── */
.shop-page { background: var(--bg-body); padding-bottom: 80px; }

/* ── Hero / Cover ── */
.shop-hero { position: relative; background: #0F172A; }
.shop-cover-wrapper { position: relative; height: 340px; width: 100%; overflow: hidden; }
.shop-cover { width: 100%; height: 100%; object-fit: cover; }
.shop-cover--gradient {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #1E293B, #0F172A);
}
.shop-cover-emoji { font-size: 5rem; opacity: 0.35; }
.shop-cover-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,23,42,0.95) 0%, rgba(15,23,42,0.5) 50%, rgba(15,23,42,0.08) 100%);
}
.shop-hero-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 36px 0; color: white; z-index: 10; }
.shop-name-hero { font-size: 2.2rem; color: white; margin: 10px 0; text-shadow: 0 2px 8px rgba(0,0,0,0.7); }
.shop-hero-meta { display: flex; gap: 14px; align-items: center; font-size: 1rem; opacity: 0.9; flex-wrap: wrap; }
.verified-badge-hero {
  background: var(--blue); color: white;
  padding: 3px 12px; border-radius: 100px; font-size: 0.82rem; font-weight: 700;
  display: inline-flex; align-items: center; gap: 4px;
}
.shop-back-btn {
  position: absolute; top: 18px; left: 18px; z-index: 20;
  background: rgba(0,0,0,0.45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: white; padding: 7px 14px; border-radius: 100px;
  font-weight: 600; font-size: 0.88rem; border: 1px solid rgba(255,255,255,0.2);
}
.shop-back-btn:hover { background: var(--blue); color: white; border-color: var(--blue); }

/* ── Sections ── */
section { padding: 36px 0; border-bottom: 1px solid var(--border); }
section:last-child { border-bottom: none; }
section:nth-child(even) { background: white; }
section:nth-child(odd)  { background: var(--bg-body); }

/* ── Rating Band ── */
.rating-band {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  background: white; padding: 18px 24px; border-radius: 14px;
  border: 1px solid var(--border); box-shadow: var(--shadow-sm); margin-bottom: 22px;
}
.rating-big { font-size: 2.8rem; font-weight: 800; color: var(--text); font-family: 'Plus Jakarta Sans'; }
.rating-stars-row { color: var(--accent); font-size: 1.1rem; }
.rating-count { color: var(--subtext); font-size: 0.88rem; }

/* ── Owner Card ── */
.owner-card {
  display: flex; gap: 28px; align-items: flex-start;
  max-width: 800px;
  background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
  padding: 28px; border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: var(--shadow-md); color: white;
}
.owner-photo-wrapper { position: relative; flex-shrink: 0; }
.owner-photo-large {
  width: 110px; height: 110px; border-radius: 50%;
  object-fit: cover; border: 3px solid var(--accent);
}
.owner-photo-placeholder {
  background: linear-gradient(135deg, #818CF8, var(--blue));
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 2.5rem; font-weight: 800; font-family: 'Plus Jakarta Sans';
}
.owner-verified-badge {
  position: absolute; bottom: 2px; right: 2px;
  width: 30px; height: 30px; background: var(--success); color: white;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: bold; border: 2.5px solid #0F172A; font-size: 0.85rem;
}
.owner-info h2  { font-size: 1.4rem; margin-bottom: 6px; color: white; }
.verified-text  { color: #A5B4FC; font-weight: 600; font-size: 0.88rem; display: block; margin-bottom: 10px; }
.owner-since, .owner-languages { color: rgba(255,255,255,0.65); margin-bottom: 4px; font-size: 0.9rem; }
.owner-intro-text {
  font-style: italic; color: rgba(255,255,255,0.82);
  margin: 14px 0; font-size: 0.95rem; line-height: 1.6;
  border-left: 3px solid var(--accent); padding-left: 14px;
}
.owner-actions { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.owner-actions .btn-primary {
  background: white; color: var(--blue-dark); border: none; font-weight: 700;
}
.owner-actions .btn-primary:hover { background: #EEF2FF; transform: translateY(-1px); color: var(--blue-dark); }
.owner-actions .btn-outline {
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25); color: white;
}
.owner-actions .btn-outline:hover { background: rgba(255,255,255,0.2); color: white; }

/* ── Info Grid ── */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.info-item {
  display: flex; gap: 14px; background: white; padding: 18px;
  border-radius: 12px; align-items: center;
  border: 1px solid var(--border); box-shadow: var(--shadow-xs);
}
.info-icon {
  width: 44px; height: 44px; background: var(--blue-soft);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem; flex-shrink: 0;
}
.info-text   { display: flex; flex-direction: column; }
.info-label  { color: var(--subtext); font-size: 0.78rem; font-weight: 700; margin-bottom: 3px; text-transform: uppercase; letter-spacing: 0.5px; }
.info-value  { font-weight: 700; font-size: 0.95rem; color: var(--text); }
.info-link   { color: var(--blue); }

/* ── Gallery ── */
.gallery-scroll { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 12px; scrollbar-width: thin; scrollbar-color: var(--border) transparent; }
.gallery-item-wrapper { position: relative; flex-shrink: 0; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-sm); }
.gallery-item { width: 260px; height: 180px; object-fit: cover; display: block; }
.gallery-type-badge { position: absolute; top: 10px; right: 10px; background: rgba(0,0,0,0.55); color: white; padding: 3px 9px; border-radius: 6px; font-size: 0.72rem; backdrop-filter: blur(4px); font-weight: 600; }

/* ── Live Status ── */
.status-large-card {
  background: white; border-radius: 20px; padding: 44px 28px;
  box-shadow: var(--shadow-sm); text-align: center;
  max-width: 560px; margin: 0 auto; border: 1px solid var(--border);
}
.status-icon-large { width: 90px; height: 90px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.status-label-large { font-size: 1.8rem; margin-bottom: 10px; color: var(--text); }
.status-desc { color: var(--subtext); font-size: 1rem; margin-bottom: 20px; line-height: 1.6; }
.status-timestamp {
  font-weight: 600; color: var(--text); background: var(--bg-muted);
  display: inline-block; padding: 7px 14px; border-radius: 100px;
  margin-bottom: 14px; border: 1px solid var(--border);
}
.gps-badge { display: inline-flex; align-items: center; gap: 7px; color: var(--blue); font-weight: 600; font-size: 0.88rem; margin-left: 10px; }

/* ── Reviews ── */
.review-actions-top { display: flex; gap: 10px; margin-bottom: 28px; flex-wrap: wrap; }
.btn-review-action {
  background: white; border: 1.5px solid var(--border); padding: 10px 18px;
  border-radius: 10px; font-weight: 600; cursor: pointer; transition: 0.2s;
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--text-body); text-decoration: none; box-shadow: var(--shadow-xs);
  font-size: 0.88rem;
}
.btn-review-action:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-1px); }
.reviews-list { display: grid; gap: 14px; }
.review-card {
  background: white; padding: 22px; border-radius: 14px;
  border: 1px solid var(--border); position: relative; box-shadow: var(--shadow-xs);
}
.review-header { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.reviewer-avatar {
  width: 44px; height: 44px;
  background: var(--blue); color: white;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: bold; font-size: 1.1rem;
}
.reviewer-info strong { display: block; font-size: 0.95rem; color: var(--text); }
.review-date   { color: var(--subtext); font-size: 0.82rem; }
.review-rating { margin-left: auto; font-size: 1rem; }
.review-comment { font-size: 0.92rem; line-height: 1.6; color: var(--text-body); }
.copy-review-btn { position: absolute; top: 20px; right: 20px; background: none; border: none; color: var(--subtext); cursor: pointer; font-size: 0.82rem; font-weight: 600; }
.copy-review-btn:hover { color: var(--blue); }
.no-reviews {
  text-align: center; padding: 40px; background: white; border-radius: 14px;
  color: var(--subtext); border: 1px solid var(--border);
}

/* ── Modal ── */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); z-index: 1000; display: flex; align-items: center; justify-content: center; }
.modal {
  background: white; border: 1px solid var(--border);
  width: 90%; max-width: 480px; border-radius: 20px; padding: 28px;
  box-shadow: var(--shadow-lg);
}
.modal h3 { font-size: 1.4rem; margin-bottom: 22px; color: var(--text); }
.modal .form-input, .modal .form-textarea {
  border-color: var(--border); background: var(--bg-muted); color: var(--text);
}
.star-rating-input { font-size: 1.8rem; cursor: pointer; margin-bottom: 14px; display: flex; gap: 6px; color: var(--accent); }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; }

/* ── Nearby ── */
.nearby-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.nearby-card {
  display: flex; align-items: center; gap: 14px;
  background: white; padding: 14px; border-radius: 14px;
  border: 1px solid var(--border); transition: 0.2s; box-shadow: var(--shadow-xs);
}
.nearby-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: var(--blue); }
.nearby-cover { width: 58px; height: 58px; border-radius: 10px; background: var(--blue-soft); display: flex; align-items: center; justify-content: center; font-size: 1.8rem; border: 1px solid var(--border); flex-shrink: 0; }
.nearby-info h4 { font-size: 0.95rem; margin-bottom: 3px; color: var(--text); }
.nearby-info p  { color: var(--subtext); font-size: 0.82rem; margin-bottom: 6px; }

/* ── Report ── */
.report-desc { color: var(--subtext); margin-bottom: 22px; }
.report-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.report-btn {
  padding: 14px; background: white; border: 1.5px solid var(--border); border-radius: 10px;
  font-weight: 600; cursor: pointer; transition: 0.2s; color: var(--text-body); font-size: 0.9rem;
}
.report-btn:hover { border-color: var(--danger); color: var(--danger); background: var(--danger-soft); }

/* ── Tab Navigation ── */
.shop-tabs-nav {
  display: flex; gap: 6px; overflow-x: auto; padding: 18px 0 0;
  scrollbar-width: none; border-bottom: 2px solid var(--border);
}
.shop-tabs-nav::-webkit-scrollbar { display: none; }
.shop-tab-btn {
  padding: 11px 20px; border: none; background: transparent;
  font-weight: 600; font-size: 0.88rem; cursor: pointer;
  color: var(--subtext); white-space: nowrap;
  border-bottom: 2px solid transparent; margin-bottom: -2px;
  transition: 0.2s; font-family: 'Inter', sans-serif;
}
.shop-tab-btn:hover { color: var(--text); }
.shop-tab-btn.active { color: var(--blue); border-bottom-color: var(--blue); }

@media (max-width: 768px) {
  .shop-cover-wrapper { height: 220px; }
  .shop-name-hero { font-size: 1.75rem; }
  .owner-card { flex-direction: column; align-items: center; text-align: center; }
  .owner-actions { justify-content: center; }
  .review-header { flex-wrap: wrap; }
  .review-rating { margin-left: 0; width: 100%; margin-top: 8px; }
}
