/* =============================================================
   Enomy Components — site-specific components layered on top of
   the Enomy Design System in style.css. Ported/rebuilt from the
   previous design where the v3 template has no equivalent.
   ============================================================= */

/* ------------------- Utility helpers ------------------- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-danger { color: var(--danger); }
.text-success { color: var(--success); }
.text-muted { color: var(--fg-3); }
.text-white { color: #fff; }
.pointer { cursor: pointer; }
.mt-2 { margin-top: 8px; } .mt-3 { margin-top: 16px; } .mt-4 { margin-top: 24px; }
.mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: 8px; } .mb-3 { margin-bottom: 16px; }
.mr-1 { margin-right: 4px; } .mr-2 { margin-right: 8px; }
.ml-auto, .ms-auto { margin-left: auto; }
.pl-0 { padding-left: 0; }

/* ------------------- Product card visibility rules -------------------
   Nearby/distance badges stay hidden until nearby.js confirms the visitor
   shared a real GPS location (locationSource=user, no country override). */
.product-card .badge.nearby,
.product-card .dist-pill { display: none; }

/* ------------------- Page heading / prose containers ------------------- */
.page-head { padding: 28px 0 6px; }
.page-head .sectioTitle { margin: 0 0 6px; }
.sectioTitle {
  text-align: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 30px;
  line-height: 1.2;
  color: #4b4b52;
  margin: 0 0 28px;
}

/* Prose/legal/static pages */
.blogContainer {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}
.storeContainer {
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 36px 40px;
  margin: 28px 0 48px;
}
.storeContainer h1, .storeContainer h2 { font-family: var(--font-display); font-weight: 800; color: var(--fg-1); }
.storeContainer h3, .storeContainer h4 { color: var(--fg-1); }
.storeContainer p, .storeContainer li { color: var(--fg-2); }
.storeContainer hr { border: none; border-top: 1px solid var(--border-soft); margin: 28px 0; }
.storeContainer a { color: var(--purple-600); }
.storeContainer a:hover { color: var(--purple-800); }

/* Breadcrumbs (item + fallback pages) */
.pageLinks, .pageLinks2 {
  list-style: none;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  margin: 24px 0 0;
  padding: 0;
  font-size: 13.5px;
  color: var(--fg-3);
}
.pageLinks li:not(:last-child)::after,
.pageLinks2 li:not(:last-child)::after {
  content: "/";
  margin: 0 8px;
  color: var(--border-strong);
}
.pageLinks a, .pageLinks2 a { color: var(--fg-3); }
.pageLinks a:hover, .pageLinks2 a:hover { color: var(--purple-700); }
.pageLinks li span, .pageLinks2 li span { color: var(--fg-2); }

/* ------------------- Empty state (shop setup) ------------------- */
.shop-setup-image { width: 50%; max-width: 520px; margin: 0 auto 20px; }
.shop-setup-text h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  color: var(--fg-1);
  margin: 0 0 10px;
}
.shop-setup-text p { font-size: 16px; color: var(--fg-2); margin: 0 0 20px; }
.app-download-buttons a { display: inline-block; margin: 0 10px; }
.app-download-buttons p { color: var(--fg-3); margin-top: 10px; }
.app-store img, .google-play img { width: 150px; height: auto; display: inline-block; }
.empty-state { text-align: center; padding: 40px 0 60px; }

/* ------------------- Ad slots ------------------- */
.ad-slot { width: 100%; background: transparent; text-align: center; overflow: hidden; }
.ad-slot--top { margin-bottom: 16px; }
.ad-slot--bottom { margin-top: 16px; }
.ad-slot__inner { display: inline-block; max-width: 728px; width: 100%; border-radius: 12px; overflow: hidden; }
.ad-link { display: block; line-height: 0; }
.ad-img--desktop { display: block; width: 728px; height: 90px; max-width: 100%; object-fit: cover; }
.ad-img--mobile { display: none; width: 320px; height: 50px; max-width: 100%; object-fit: cover; }
@media only screen and (max-width: 767px) {
  .ad-slot__inner { max-width: 320px; }
  .ad-img--desktop { display: none; }
  .ad-img--mobile { display: block; }
}

/* ------------------- Infinite scroll loader ------------------- */
.scroller-status { display: none; text-align: center; padding: 8px 0 24px; }
.loader-ellips { display: inline-flex; gap: 8px; }
.loader-ellips__dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--purple-300);
  animation: loader-pulse 1s infinite ease-in-out;
}
.loader-ellips__dot:nth-child(2) { animation-delay: 0.12s; }
.loader-ellips__dot:nth-child(3) { animation-delay: 0.24s; }
.loader-ellips__dot:nth-child(4) { animation-delay: 0.36s; }
@keyframes loader-pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.35); opacity: 1; }
}

/* Skeleton product cards shown in .scroller-status while infinite scroll
   is fetching the next page — makes the loading moment obvious instead of
   a small dot-loader easy to miss below the fold. */
.skeleton-grid { margin-top: 4px; }
.skeleton-card {
  background: rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-lg);
  border: 9px solid rgba(255, 255, 255, 0.35);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.skeleton-media { aspect-ratio: 4 / 5; border-radius: var(--radius-md); }
.skeleton-body { padding: 10px 6px 8px; display: flex; flex-direction: column; gap: 8px; }
.skeleton-line { height: 12px; border-radius: 6px; width: 100%; }
.skeleton-line.w-80 { width: 80%; height: 14px; }
.skeleton-line.w-50 { width: 50%; }
.skeleton-row { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; }
.skeleton-row .skeleton-line.w-30 { width: 30%; height: 16px; }
.skeleton-dot { width: 22px; height: 22px; border-radius: 50%; flex: none; }
.skeleton-media, .skeleton-line, .skeleton-dot {
  background: linear-gradient(100deg, var(--bg-muted) 30%, #f5f4fb 45%, #f5f4fb 55%, var(--bg-muted) 70%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.4s ease-in-out infinite;
}
@keyframes skeleton-shimmer {
  0% { background-position: 150% 0; }
  100% { background-position: -50% 0; }
}

/* ------------------- Search page ------------------- */
.search-page-wrap {
  display: flex;
  align-items: flex-start;
  max-width: 1280px;
  margin: 0 auto;
  padding: 28px 32px 60px;
  gap: 24px;
}
.search-sidebar {
  width: 240px;
  flex-shrink: 0;
  position: sticky;
  top: 96px;
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.sidebar-close-btn {
  display: none;
  position: absolute;
  top: 12px; right: 14px;
  font-size: 17px;
  color: var(--fg-3);
  line-height: 1;
  z-index: 2;
}
.sidebar-section { padding: 16px 0 8px; border-bottom: 1px solid var(--border-soft); }
.sidebar-section:last-child { border-bottom: none; padding-bottom: 12px; }
.sidebar-section-title {
  font-size: 15px; font-weight: 700; color: var(--fg-1);
  padding: 0 16px 8px; margin: 0;
  display: flex; align-items: center; gap: 7px;
}
.sidebar-cat-list, .sidebar-option-list {
  list-style: none; margin: 0; padding: 0;
  max-height: 270px; overflow-y: auto;
}
.sidebar-cat-list::-webkit-scrollbar, .sidebar-option-list::-webkit-scrollbar { width: 3px; }
.sidebar-cat-list::-webkit-scrollbar-thumb, .sidebar-option-list::-webkit-scrollbar-thumb {
  background: var(--purple-100); border-radius: 3px;
}
.sidebar-cat-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 16px; font-size: 14px; color: var(--fg-2);
  cursor: pointer; transition: background 0.15s, color 0.15s;
}
.sidebar-cat-item:hover { color: var(--fg-1); }
.sidebar-cat-item.active {
  color: var(--fg-1); font-weight: 600;
  border-left: 3px solid var(--purple-400); padding-left: 13px;
}
.sidebar-cat-icon { width: 28px; height: 28px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.sidebar-cat-icon img { width: 28px; height: 28px; object-fit: contain; }
.sidebar-cat-icon--fa i { font-size: 15px; color: var(--purple-300); }
.sidebar-cat-item.active .sidebar-cat-icon--fa i { color: var(--purple-600); }
.sidebar-cat-name { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sidebar-option {
  display: block; padding: 8px 16px; font-size: 14px; color: var(--fg-2);
  cursor: pointer; transition: background 0.15s, color 0.15s;
}
.sidebar-option:hover { color: var(--fg-1); }
.sidebar-option.active {
  color: var(--fg-1); font-weight: 600;
  border-left: 3px solid var(--purple-400); padding-left: 13px;
}
.search-main { flex: 1; min-width: 0; }
.search-topbar { margin-bottom: 20px; }
.search-heading-area { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.search-heading {
  font-family: var(--font-display);
  font-size: 30px; line-height: 1.2; color: var(--fg-1);
  margin: 0; font-weight: 800; text-transform: capitalize;
}
.search-meta { font-size: 14px; color: var(--fg-3); margin: 0; }
.filter-toggle-btn {
  display: none; align-items: center; gap: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-full);
  padding: 8px 16px; font-size: 14px; font-weight: 600;
  color: var(--purple-600); cursor: pointer; margin-bottom: 14px;
  box-shadow: var(--shadow-xs);
}
.sidebar-overlay { display: none; position: fixed; inset: 0; background: rgba(0, 0, 0, 0.32); z-index: 98; }
.sidebar-overlay.active { display: block; }
body.sidebar-open { overflow: hidden; }
@media only screen and (max-width: 991px) {
  .search-page-wrap { gap: 20px; }
  .search-sidebar { width: 220px; }
}
@media only screen and (max-width: 767px) {
  .search-page-wrap { padding: 16px 12px 40px; gap: 0; }
  .search-sidebar {
    position: fixed; top: 0; left: -280px;
    width: 270px; height: 100vh; z-index: 99;
    border-radius: 0 14px 14px 0;
    overflow-y: auto;
    transition: left 0.28s ease;
  }
  .search-sidebar.open { left: 0; }
  .sidebar-close-btn { display: block; }
  .filter-toggle-btn { display: flex; }
  .search-main { width: 100%; }
  .search-heading { font-size: 24px; line-height: 1.3; }
}

/* ------------------- Modals (Bootstrap-compatible markup) -------------------
   Minimal modal component keeping the .modal API surface used by the item
   page (contact + report). Toggled by the $.fn.modal shim in active.js. */
.modal {
  display: none;
  position: fixed; inset: 0;
  z-index: 200;
  background: rgba(26, 17, 64, 0.45);
  overflow-y: auto;
  padding: 24px 16px;
}
.modal.show { display: flex; align-items: flex-start; justify-content: center; }
.modal-dialog { width: 100%; max-width: 480px; margin: auto; }
.modal-dialog-centered { display: flex; align-items: center; min-height: calc(100vh - 96px); }
.modal-content {
  width: 100%;
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}
.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px;
  background: var(--purple-500); color: #fff;
}
.modal-header.bg-danger { background: var(--danger); }
.modal-title { margin: 0; font-size: 17px; font-weight: 700; display: flex; align-items: center; }
.modal-header .close {
  font-size: 26px; line-height: 1; color: #fff; opacity: 0.9; padding: 0 2px;
}
.modal-header .close:hover { opacity: 1; }
.modal-body { padding: 20px; }
.modal-footer {
  display: flex; justify-content: flex-end; gap: 10px;
  padding: 14px 20px;
  border-top: 1px solid var(--border-soft);
}
.modal .btn { border-radius: var(--radius-full); padding: 10px 18px; font-weight: 600; }
.btn-secondary { background: var(--bg-muted); color: var(--fg-2); }
.btn-secondary:hover { background: var(--border-soft); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { filter: brightness(0.95); }
.form-control {
  width: 100%;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 14px;
  color: var(--fg-1);
  background: #fff;
  outline: none;
}
.form-control:focus { border-color: var(--purple-300); box-shadow: var(--shadow-focus); }

/* Contact modal internals (markup kept from previous design) */
#contactModal .contact-question { font-size: 17px; font-weight: 700; margin: 0 0 6px; color: var(--fg-1); }
#contactModal .contact-subtext { font-size: 14px; color: var(--fg-2); margin: 0 0 20px; }
#contactModal .contact-options { display: flex; flex-direction: column; gap: 12px; }
#contactModal .contact-option {
  display: block; width: 100%; text-align: center;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-soft);
  background: #fff;
  color: var(--brand-ink);
  font-weight: 600; font-size: 15px;
  box-shadow: var(--shadow-xs);
  transition: background-color 0.15s ease, box-shadow 0.15s ease, transform 0.05s ease;
  cursor: pointer;
}
#contactModal .contact-option:hover, #contactModal .contact-option:focus {
  background: var(--purple-50);
  box-shadow: var(--shadow-sm);
  outline: none;
}
#contactModal .contact-option:active { transform: translateY(1px); }

/* ------------------- FAQ accordion (Bootstrap-compatible markup) ------------------- */
.accordion { max-width: 900px; margin: 32px auto 60px; display: flex; flex-direction: column; gap: 12px; }
.accordion .card {
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
}
.accordion .card-header { padding: 0; }
.accordion .card-header button {
  display: block; width: 100%; text-align: left;
  padding: 16px 20px;
  font-size: 15.5px;
  color: var(--fg-1);
  cursor: pointer;
}
.accordion .card-header button:hover { color: var(--purple-700); }
.accordion .card-header h2 { margin: 0; }
.accordion .collapse { display: none; }
.accordion .collapse.show { display: block; }
.accordion .card-body { padding: 4px 20px 18px; color: var(--fg-2); }
.text-enomy { color: var(--purple-700); }

/* ------------------- Store page (/shop) -------------------
   .shop-card is scoped (not the bare .card the FAQ accordion/modals use). */
.shop-hero { padding: 28px 0 0; }
.shop-card {
  background: transparent;
  border: 1px solid rgba(231, 228, 243, 0.5);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
/* Fused info + map card: a real embedded Google Map sits as a blurred,
   faded background layer (right-anchored) behind the identity content
   instead of its own separate box. */
.shop-identity {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  padding: 26px 28px;
  display: flex; flex-direction: column; gap: 20px;
}
.shop-map-bg {
  position: absolute; inset: 0;
  z-index: 0;
  pointer-events: none;
}
/* A flat white overlay can't smooth this edge — the iframe just doesn't
   render anything left of its own box, so no matter how gradual the
   overlay's opacity is, there's a hard boundary where map pixels start.
   Fade the map's own pixels out instead via a mask, so it visually
   dissolves into the (transparent) box rather than getting cut off. */
.shop-map-bg iframe {
  position: absolute; top: 0; right: -10%;
  width: 70%; height: 100%;
  border: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 6%, black 32%, black 100%);
  mask-image: linear-gradient(90deg, transparent 0%, transparent 6%, black 32%, black 100%);
}
/* Just a light vignette on the map's own outer edges (top/right/bottom) —
   the left edge is handled by the mask above, not this overlay. */
.shop-map-bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 10%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 10%),
    linear-gradient(270deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 8%);
}
.shop-identity-content {
  position: relative;
  z-index: 1;
  display: flex; flex-direction: column; gap: 20px;
}
.shop-id-top { display: flex; gap: 18px; align-items: center; }
.shop-logo-wrap { position: relative; flex: none; }
.shop-logo-img {
  width: 72px; height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: none; outline: none; box-shadow: none;
}
.shop-logo-wrap .v-dot {
  position: absolute; right: -4px; top: -4px;
  width: 24px; height: 24px;
}
.shop-id-meta h1 {
  font-family: var(--font-display);
  font-weight: 800; font-size: 26px; color: var(--fg-1);
  margin: 0; line-height: 1.2;
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.shop-verified {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--accent-blue-soft); color: var(--accent-blue);
  font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: var(--radius-full);
  text-transform: uppercase; letter-spacing: 0.04em;
}
.shop-verified-mark {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--accent-blue); color: #fff;
  display: inline-grid; place-items: center; font-size: 9px;
}
.shop-unverified {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--bg-muted); color: var(--fg-3);
  font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: var(--radius-full);
  text-transform: uppercase; letter-spacing: 0.04em;
}
.shop-unverified-mark {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--fg-3); color: #fff;
  display: inline-grid; place-items: center; font-size: 9px;
}
.shop-meta-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
  margin-top: 8px; color: var(--fg-3); font-size: 13px;
}
.shop-meta-row span { display: inline-flex; align-items: center; gap: 6px; }
.shop-desc { color: var(--fg-2); font-size: 14.5px; line-height: 1.65; margin: 0; }

.shop-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.shop-actions .btn { font-size: 14px; }

.shop-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding-top: 18px; border-top: 1px solid var(--border-soft);
}
.shop-tags .chip-tag {
  background: var(--purple-50); color: var(--purple-700);
  font-size: 12.5px; font-weight: 600;
  padding: 6px 12px; border-radius: var(--radius-full);
}

section.shop-products { padding-top: 28px; padding-bottom: 60px; }
.shop-products-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 16px; margin-bottom: 24px;
}
.shop-products-head .kicker {
  color: var(--purple-700); font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; margin: 0 0 6px;
}
.shop-products-title {
  font-family: var(--font-display);
  font-weight: 800; font-size: 24px; color: var(--fg-1); margin: 0;
  text-align: left;
}

@media (max-width: 720px) {
  .shop-identity { padding: 20px; min-height: 0; }
  .shop-id-meta h1 { font-size: 22px; }
  .shop-logo-img { width: 60px; height: 60px; }
  .shop-products-head { flex-direction: column; align-items: flex-start; }
  .shop-map-bg iframe { width: 95%; }
}

/* Mobile-only shop hero: info stacked at top, map fused BELOW it in the
   same card instead of behind/beside the text (see #shopIdentityMobile
   in store.handlebars; swapped in for #shopIdentityDesktop at the 720px
   breakpoint in responsive.css). Reuses .shop-id-top/.shop-desc/etc as-is
   — only the surrounding container and the map's position change. */
.shop-identity-mobile {
  display: none;
  position: relative;
  overflow: hidden;
  padding: 20px 20px 0;
}
.shop-identity-mobile-content {
  display: flex; flex-direction: column; gap: 16px;
  padding-bottom: 20px;
}
.shop-map-bg-mobile {
  position: relative;
  margin: 0 -20px;
  height: 130px;
}
.shop-map-bg-mobile iframe {
  width: 100%; height: 100%;
  border: 0;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, black 45%);
  mask-image: linear-gradient(180deg, transparent 0%, black 45%);
}
.shop-map-bg-mobile::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 14%);
  pointer-events: none;
}

/* ------------------- PDP additions ------------------- */
.pdp-store-line {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
}
.pdp-store-line .store-logo {
  width: 46px; height: 46px; border-radius: 10px; object-fit: cover;
  border: 1px solid var(--border-soft);
}
.pdp-store-line .who { flex: 1; min-width: 0; }
.pdp-store-line .who .nm {
  font-weight: 700; color: var(--fg-1);
  display: flex; align-items: center; gap: 6px;
}
.pdp-store-line .who .nm img { width: 16px; height: 16px; }
.pdp-store-line .who .sl {
  font-size: 13px; color: var(--fg-3);
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.pdp-store-line .acts { display: flex; align-items: center; gap: 10px; }
.pdp-store-line .acts a {
  width: 38px; height: 38px; border-radius: var(--radius-full);
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--bg-muted); color: var(--fg-2); font-size: 16px;
}
.pdp-store-line .acts a:hover { background: var(--purple-100); color: var(--purple-700); }
.pdp-store-line .acts a.like { color: #e63946; }
.pdp-store-line .acts a.wa { background: rgba(37, 211, 102, 0.14); color: var(--accent-green-deep); }

/* Seller info card on the PDP — reuses the /shop page's .shop-card/
   .shop-id-top/etc treatment directly (same pattern, same tuning)
   rather than duplicating it under a new name. No fused map here (kept
   short/compact instead); #lat/#lng still live inside it since
   proximity.js reads them regardless of what's visible.
   On mobile this is replaced by #pdpSellerCardMobile at the top of the
   page instead (see responsive.css) — same underlying store data, laid
   out to match the old site's top-of-page position. */
.pdp-seller-card {
  padding: 18px 20px;
  margin: 0 0 20px;
}
.pdp-seller-content {
  display: flex; flex-direction: column; gap: 12px;
}
.pdp-seller-name {
  font-weight: 700; color: var(--fg-1); font-size: 16px;
  display: block;
}
/* Shown next to the seller name in place of a verified badge, when the
   store isn't verified. */
.pdp-seller-slogan-inline {
  margin: 2px 0 0; font-size: 12.5px; color: var(--fg-3);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.shop-meta-row a {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--fg-3);
}
.shop-meta-row a:hover { color: var(--purple-700); }

/* Mobile-only seller card at the top of the PDP (see item.handlebars and
   responsive.css for the show/hide split with #pdpSellerCardDesktop).
   Same .shop-card treatment as the /shop page's own info box — no
   background/border overrides here, just spacing, so it renders
   identically (transparent, subtle border, shadow-md). */
.pdp-seller-card-mobile {
  display: none;
  padding: 14px 16px;
  margin: 14px 0 0;
}
.pdp-seller-mobile-top { display: flex; align-items: center; gap: 12px; }
.pdp-seller-mobile-info { flex: 1; min-width: 0; }
.pdp-seller-mobile-name-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pdp-seller-mobile-link {
  flex: none; color: var(--fg-2); font-size: 16px;
}
.pdp-seller-mobile-link:hover { color: var(--purple-700); }
/* Divider above the address, and the pin icon top-aligned rather than
   vertically centered — location + distance are plain wrapped text here
   (not flex children), so a long address naturally pushes the distance
   down onto its own line instead of squeezing beside it. */
.pdp-seller-mobile-address {
  align-items: flex-start; gap: 8px;
  margin-top: 10px; padding-top: 10px;
  border-top: 1px solid var(--border-soft);
}
.pdp-seller-mobile-address i { margin-top: 2px; }
.pdp-seller-mobile-address span { display: inline; }
#proximity-mobile.nearby { color: var(--accent-green-deep); font-weight: 600; }
.pdp-item-stats { margin: 0 0 16px; }
.pdp-item-stats .report-link { font-size: 13px; margin-left: auto; }

.report-link { font-size: 13.5px; color: var(--danger); cursor: pointer; background: none; }
.report-link:hover { text-decoration: underline; }
/* Mobile-only relocation (see responsive.css for the display:block that
   shows this and .pdp-item-stats .report-link for the one it replaces). */
.pdp-report-mobile {
  display: none;
  margin-top: 10px;
  font-size: 12px; color: var(--fg-3);
}
.pdp-report-mobile i { color: var(--fg-3); }
/* Column 2 of .gallery's grid is the main-shot image (column 1 is the
   96px thumbnail strip) — keeping this to just that column, centered,
   is what puts it under the displayed image rather than the whole
   gallery section. */
.pdp-gallery-foot {
  grid-column: 2;
  display: flex; flex-direction: column; align-items: center;
  margin-top: 4px;
}
.share-line {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  color: var(--fg-2); font-weight: 600;
}
.share-line ul { list-style: none; display: flex; gap: 8px; margin: 0; padding: 0; }
.share-line a {
  width: 36px; height: 36px; border-radius: var(--radius-full);
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--bg-muted); color: var(--fg-2); font-size: 14px;
}
.share-line a:hover { background: var(--purple-100); color: var(--purple-700); }
.share-line a.wa:hover { background: rgba(37, 211, 102, 0.14); color: var(--accent-green-deep); }
.admin-preview-warning {
  background: rgba(233, 89, 12, 0.07);
  border: 2px dashed #e8590c;
  border-radius: var(--radius-sm);
  padding: 11px 16px;
  margin: 20px 0 0;
}

/* ------------------- Category strip on listing pages ------------------- */
.listing-head { padding: 28px 0 10px; }
.listing-head .sectioTitle { margin-bottom: 18px; }

/* ------------------- Regions page (/regions) -------------------
   Own column split (map:copy), dialed back from an earlier, too-dominant
   1.6fr. Top-aligned (not the shared .hero-grid's vertical-center) so the
   map starts at the same line as the header logo instead of drifting down. */
.regions-hero-grid { grid-template-columns: 1.2fr 1fr; align-items: start; }
/* With the search bar/subnav/vendor CTA hidden on this page, the header is
   just a logo row now — pull content back up close to it. */
.regions-hero { padding-top: 20px; }
/* Nudge the now-lone logo down a bit within the header row. */
body.regions-page .site-header .brand { padding-top: 24px; }
.region-map {
  max-width: 100%;
}
.region-map img { width: 100%; height: auto; display: block; }
.eyebrow-flag {
  /* Same square circular-icon assets as .region-flag — round, not cropped. */
  width: 16px; height: 16px; border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(0, 0, 0, 0.05);
}
/* "Choose your marketplace" ~10% smaller than the shared .hero h1. */
.regions-hero h1 { font-size: clamp(32px, 4.2vw, 52px); }
@media (max-width: 960px) {
  .region-map { max-width: 480px; margin: 0 auto; }
}
.region-markets {
  list-style: none; margin: 28px 0 0; padding: 0;
  display: flex; flex-direction: column; gap: 10px;
  max-width: 480px;
}
.region-markets a {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 18px;
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  text-decoration: none; color: var(--fg-1);
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, background .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.region-markets a:hover {
  background: var(--purple-50);
  border-color: var(--purple-200);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.region-flag {
  /* Flag assets are square circular icons (transparent corners) — a
     rectangular box crops them top/bottom via object-fit: cover. */
  width: 28px; height: 28px; border-radius: 50%; flex: none;
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}
.region-name { font-weight: 600; font-size: 15.5px; flex: 1; color: var(--fg-1); }
.region-arrow {
  color: var(--purple-500); font-size: 20px; font-weight: 600;
  transition: transform .22s ease;
}
.region-markets a:hover .region-arrow { transform: translateX(4px); }
@media (max-width: 480px) {
  .region-markets a { padding: 12px 14px; }
  .region-flag { width: 30px; height: 22px; }
}
