/* My Profile — round avatars + brand-blue restyle */

.av-user-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 9999px;
  background: #F85830;
  color: #fff;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  flex-shrink: 0;
  line-height: 1;
}

.av-user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#headerProfileAvatar,
#leftProfileAvatar {
  overflow: hidden;
}

#headerProfileAvatar img,
#leftProfileAvatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 9999px;
}

#rightMenu.profile-panel {
  background: #FFF7ED;
}

.dark #rightMenu.profile-panel {
  background: #0f172a;
}

.profile-hero {
  margin: 0 1rem 0.75rem;
  padding: 1.15rem 1rem 1.25rem;
  border-radius: 1.15rem;
  background: linear-gradient(165deg, rgba(248, 88, 48, 0.16), rgba(248, 88, 48, 0.04) 55%, transparent);
  border: 1px solid rgba(248, 88, 48, 0.28);
}

.dark .profile-hero {
  background: linear-gradient(165deg, rgba(248, 88, 48, 0.2), rgba(15, 23, 42, 0.4) 60%, transparent);
  border-color: rgba(248, 88, 48, 0.28);
}

.profile-avatar-btn {
  position: relative;
  display: inline-block;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
}

.av-user-avatar--lg {
  width: 5.5rem;
  height: 5.5rem;
  font-size: 1.55rem;
  box-shadow: 0 0 0 3px #fff, 0 0 0 6px #F85830;
}

.dark .av-user-avatar--lg {
  box-shadow: 0 0 0 3px #0f172a, 0 0 0 6px #F85830;
}

.profile-avatar-cam {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 9999px;
  background: #F85830;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  box-shadow: 0 0 0 2px #fff;
  pointer-events: none;
}

.dark .profile-avatar-cam {
  box-shadow: 0 0 0 2px #0f172a;
}

.profile-hero-meta {
  min-width: 0;
}

.profile-hero-meta h4 {
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
  line-height: 1.25;
}

.dark .profile-hero-meta h4 {
  color: #fff;
}

.profile-hero-meta a,
.profile-hero-meta .profile-email {
  display: block;
  font-size: 0.8125rem;
  color: #F85830;
  margin-top: 0.2rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-decoration: none;
}

.profile-hero-meta a:hover {
  text-decoration: underline;
}

.profile-phone {
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 0.25rem;
}

.dark .profile-phone {
  color: #94a3b8;
}

.profile-hint {
  margin: 0.7rem 0 0;
  font-size: 0.7rem;
  color: #E04A28;
}

.profile-stats {
  margin: 0 1rem 0.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid rgba(248, 88, 48, 0.18);
}

.dark .profile-stats {
  background: #0f172a;
  border-color: rgba(248, 88, 48, 0.2);
}

.profile-stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid #e2e8f0;
}

.dark .profile-stat {
  border-bottom-color: #1e293b;
}

.profile-stat:last-child {
  border-bottom: 0;
}

.profile-stat span:first-child {
  color: #64748b;
}

.dark .profile-stat span:first-child {
  color: #94a3b8;
}

.profile-stat strong,
.profile-stat .profile-stat-val {
  font-weight: 700;
  color: #0f172a;
}

.dark .profile-stat strong,
.dark .profile-stat .profile-stat-val {
  color: #f8fafc;
}

.profile-stat .profile-stat-val--brand {
  color: #F85830;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.75rem;
}

.profile-nav a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.85rem;
  margin: 0.15rem 0;
  border-radius: 0.85rem;
  font-size: 0.875rem;
  color: #0f172a;
  transition: background 0.15s ease, color 0.15s ease;
}

.dark .profile-nav a {
  color: #f1f5f9;
}

.profile-nav a i {
  width: 1.25rem;
  text-align: center;
  color: #F85830;
}

.profile-nav a:hover {
  background: rgba(248, 88, 48, 0.1);
  color: #E04A28;
}

.profile-nav a.profile-nav-out {
  color: #f43f5e;
}

.profile-nav a.profile-nav-out i {
  color: #f43f5e;
}

.profile-nav a.profile-nav-out:hover {
  background: rgba(244, 63, 94, 0.1);
  color: #e11d48;
}

/* Instagram / Facebook style verified badge (blue circle + white check) */
.profile-verified-pill,
.av-verify-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.05rem;
  height: 1.05rem;
  min-width: 1.05rem;
  padding: 0;
  margin: 0 0 0 0.28rem;
  border: 0;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
  vertical-align: middle;
  line-height: 0;
  flex-shrink: 0;
  overflow: visible;
}
.av-verify-badge img,
.av-verify-badge svg,
.profile-verified-pill img,
.profile-verified-pill svg {
  width: 100%;
  height: 100%;
  display: block;
}
.profile-verified-pill.hidden,
.av-verify-badge.hidden {
  display: none !important;
}
.profile-hero-meta .profile-verified-pill,
.profile-hero-meta .av-verify-badge {
  width: 1.25rem;
  height: 1.25rem;
  min-width: 1.25rem;
}

/* AcctBazaar-style listing detail (dashboard modal + public listing page) */
.av-listing-detail {
  --av-listing-accent: #F85830;
}
.av-listing-detail__head {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.av-listing-detail__logo {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.65rem;
  object-fit: contain;
  background: #fff;
  padding: 0.15rem;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.25);
}
.av-logo-slot.av-listing-detail__logo,
.av-logo-slot:has(.av-listing-detail__logo) {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.65rem;
  overflow: hidden;
}
.av-logo-slot .av-listing-detail__logo {
  width: 100%;
  height: 100%;
}
.dark .av-listing-detail__logo {
  background: #0f172a;
  box-shadow: 0 0 0 1px rgba(51, 65, 85, 0.9);
}
.av-listing-detail__title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
}
.av-listing-detail__title {
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.35;
  margin: 0;
}
.av-listing-detail__price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--av-listing-accent);
  flex-shrink: 0;
}
.av-listing-detail__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  margin-top: 0.35rem;
  font-size: 0.68rem;
  color: #64748b;
}
.dark .av-listing-detail__meta {
  color: #94a3b8;
}
.av-listing-stars {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  color: #fbbf24;
}
.av-listing-stars span {
  color: inherit;
}
.av-listing-stars em {
  font-style: normal;
  color: #64748b;
  margin-left: 0.15rem;
}
.dark .av-listing-stars em {
  color: #94a3b8;
}
.av-listing-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.68rem;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.25);
  margin-bottom: 0.75rem;
}
.dark .av-listing-badge {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
}
.av-listing-badge--manual {
  background: rgba(245, 158, 11, 0.12);
  color: #d97706;
  border-color: rgba(245, 158, 11, 0.25);
}
.dark .av-listing-badge--manual {
  color: #fbbf24;
}
.av-listing-seller {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(248, 250, 252, 0.7);
  margin-bottom: 0.85rem;
}
.dark .av-listing-seller {
  background: rgba(15, 23, 42, 0.45);
  border-color: rgba(51, 65, 85, 0.8);
}
.av-listing-seller__avatar {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  background: var(--av-listing-accent);
  color: #fff;
  font-weight: 800;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.av-listing-seller__avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 9999px;
  display: block;
}

/* Top Merchants — avatar + Instagram-style story ring */
.av-merchant-chip {
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.av-merchant-ring {
  display: inline-flex;
  padding: 2px;
  border-radius: 9999px;
  background: rgba(248, 88, 48, 0.55);
}
.av-merchant-ring.has-story {
  background: linear-gradient(135deg, #FDBA74 0%, #F85830 45%, #ec4899 100%);
}
.av-merchant-face {
  width: 3.35rem;
  height: 3.35rem;
  border-radius: 9999px;
  overflow: hidden;
  background: #0f172a;
  color: #FDBA74;
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #0f172a;
}
.av-merchant-face-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Story viewer */
.av-story-viewer {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
}
.av-story-viewer.hidden { display: none !important; }
.av-story-viewer__shade {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.88);
}
.av-story-viewer__card {
  position: relative;
  z-index: 1;
  width: min(100%, 26rem);
  height: min(92vh, 40rem);
  border-radius: 1.1rem;
  overflow: hidden;
  background: #0b1220;
  display: flex;
  flex-direction: column;
}
.av-story-viewer__bars {
  display: flex;
  gap: 0.25rem;
  padding: 0.65rem 0.75rem 0.35rem;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
}
.av-story-bar {
  flex: 1;
  height: 0.18rem;
  border-radius: 9999px;
  background: rgba(255,255,255,0.28);
  overflow: hidden;
}
.av-story-bar i {
  display: block;
  height: 100%;
  width: 0;
  background: #fff;
}
.av-story-bar.is-done i { width: 100%; }
.av-story-bar.is-active i {
  width: 100%;
  animation: avStoryProgress 5.2s linear forwards;
}
@keyframes avStoryProgress {
  from { width: 0; }
  to { width: 100%; }
}
.av-story-viewer__top {
  position: absolute;
  top: 1.1rem;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.75rem;
  color: #fff;
}
.av-story-viewer__who {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}
.av-story-viewer__avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  overflow: hidden;
  background: #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  flex-shrink: 0;
}
.av-story-viewer__name {
  font-size: 0.82rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
}
.av-story-viewer__time {
  font-size: 0.68rem;
  opacity: 0.8;
  margin: 0;
}
.av-story-viewer__close {
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  border: 0;
  background: rgba(15,23,42,0.45);
  color: #fff;
}
.av-story-viewer__img {
  flex: 1;
  width: 100%;
  object-fit: cover;
  background: #020617;
}
.av-story-viewer__caption {
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 3.4rem;
  z-index: 3;
  margin: 0;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  text-shadow: 0 1px 8px rgba(0,0,0,0.65);
}
.av-story-viewer__nav {
  position: absolute;
  top: 3.5rem;
  bottom: 3.2rem;
  width: 42%;
  border: 0;
  background: transparent;
  z-index: 2;
}
.av-story-viewer__nav--prev { left: 0; }
.av-story-viewer__nav--next { right: 0; }
.av-story-viewer__store {
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.85rem;
  z-index: 3;
  text-align: center;
  background: #F85830;
  color: #fff;
  font-weight: 800;
  font-size: 0.82rem;
  border-radius: 9999px;
  padding: 0.7rem 1rem;
  text-decoration: none;
}
.av-listing-seller__body {
  flex: 1;
  min-width: 0;
}
.av-listing-seller__name {
  font-size: 0.82rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
}
.av-listing-seller__stats {
  font-size: 0.68rem;
  color: #64748b;
  margin: 0.1rem 0 0;
}
.dark .av-listing-seller__stats {
  color: #94a3b8;
}
.av-listing-seller__link {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--av-listing-accent);
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  white-space: nowrap;
}
.av-listing-desc {
  margin-bottom: 0.85rem;
}
.av-listing-desc__text {
  font-size: 0.78rem;
  line-height: 1.55;
  color: #475569;
  margin: 0;
  white-space: pre-wrap;
}
.dark .av-listing-desc__text {
  color: #cbd5e1;
}
.av-listing-desc__text.is-clamped {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.av-listing-desc__more {
  margin-top: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--av-listing-accent);
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.av-listing-accounts {
  margin-bottom: 0.85rem;
}
.av-listing-accounts__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}
.av-listing-accounts__head h4 {
  font-size: 0.82rem;
  font-weight: 800;
  margin: 0;
}
.av-listing-accounts__count {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--av-listing-accent);
}
.av-listing-account-row {
  display: grid;
  grid-template-columns: auto 1fr auto auto auto;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.65rem;
  border-radius: 0.75rem;
  border: 1.5px solid rgba(148, 163, 184, 0.45);
  margin-bottom: 0.45rem;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.dark .av-listing-account-row {
  border-color: rgba(51, 65, 85, 0.9);
}
.av-listing-account-row.is-selected {
  border-color: var(--av-listing-accent);
  background: rgba(248, 88, 48, 0.06);
}
.av-listing-account-row__check {
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 9999px;
  border: 1.5px solid rgba(148, 163, 184, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
  color: #fff;
}
.av-listing-account-row.is-selected .av-listing-account-row__check {
  border-color: var(--av-listing-accent);
  background: var(--av-listing-accent);
}
.av-listing-account-row__label {
  font-size: 0.75rem;
  font-weight: 600;
}
.av-listing-account-row__price {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--av-listing-accent);
}
.av-listing-eye {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 0.5rem;
  border: 0;
  background: rgba(148, 163, 184, 0.15);
  color: #64748b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.72rem;
}
.dark .av-listing-eye {
  background: rgba(51, 65, 85, 0.6);
  color: #94a3b8;
}
.av-listing-cart-btn {
  font-size: 0.62rem;
  font-weight: 800;
  padding: 0.4rem 0.55rem;
  border-radius: 0.55rem;
  border: 0;
  background: rgba(248, 88, 48, 0.12);
  color: var(--av-listing-accent);
  cursor: pointer;
  white-space: nowrap;
}
.av-listing-checkout {
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  padding-top: 0.85rem;
  margin-top: 0.25rem;
}
.dark .av-listing-checkout {
  border-color: rgba(51, 65, 85, 0.8);
}
.av-listing-checkout__row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}
.av-listing-checkout__total-label {
  font-size: 0.68rem;
  color: #64748b;
  margin: 0 0 0.1rem;
}
.av-listing-checkout__total {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--av-listing-accent);
  margin: 0;
}
.av-listing-wallet {
  text-align: right;
  font-size: 0.62rem;
  color: #64748b;
  background: rgba(148, 163, 184, 0.12);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 0.65rem;
  padding: 0.4rem 0.55rem;
  cursor: pointer;
}
.dark .av-listing-wallet {
  background: rgba(51, 65, 85, 0.5);
  border-color: rgba(51, 65, 85, 0.9);
  color: #94a3b8;
}
.av-listing-wallet strong {
  display: block;
  font-size: 0.78rem;
  color: var(--av-listing-accent);
  margin-top: 0.1rem;
}
.av-listing-pay-btn {
  width: 100%;
  border: 0;
  border-radius: 0.85rem;
  padding: 0.85rem 1rem;
  font-size: 0.85rem;
  font-weight: 800;
  color: #fff;
  background: var(--av-listing-accent);
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(248, 88, 48, 0.25);
}
.av-listing-pay-btn:hover {
  filter: brightness(1.05);
}
.av-listing-protect {
  font-size: 0.62rem;
  color: #94a3b8;
  text-align: center;
  margin: 0.55rem 0 0;
}
#appModal.av-listing-modal .max-w-sm {
  max-width: 24rem;
}
@media (min-width: 380px) {
  #appModal.av-listing-modal > div {
    max-width: 26rem;
  }
}

/* Profile panel — merchant link card */
.profile-merchant-link {
  padding: 0.75rem 0.85rem;
  border-radius: 0.85rem;
  background: linear-gradient(135deg, rgba(248, 88, 48, 0.12), rgba(248, 88, 48, 0.04));
  border: 1px solid rgba(248, 88, 48, 0.25);
}
.dark .profile-merchant-link {
  background: linear-gradient(135deg, rgba(248, 88, 48, 0.18), rgba(15, 23, 42, 0.5));
}
.profile-merchant-link__label {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #F85830;
  margin: 0 0 0.35rem;
}
.profile-merchant-link__row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.profile-merchant-link__url {
  flex: 1;
  min-width: 0;
  font-size: 0.68rem;
  font-family: ui-monospace, monospace;
  color: #334155;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dark .profile-merchant-link__url {
  color: #cbd5e1;
}
.profile-merchant-link__copy {
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  border: 0;
  background: #F85830;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

/* AcctBazaar-style public seller storefront */
.av-storefront {
  max-width: 32rem;
  margin: 0 auto;
}
.av-storefront-banner {
  height: 7rem;
  border-radius: 1rem 1rem 0 0;
  background: linear-gradient(135deg, #C2410C 0%, #F85830 45%, #fcd34d 100%);
  position: relative;
  overflow: hidden;
}
.av-storefront-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}
.av-storefront-head {
  margin: -2.25rem 1rem 0;
  position: relative;
  z-index: 1;
}
.av-storefront-avatar {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 9999px;
  border: 3px solid #fff;
  background: #F85830;
  color: #fff;
  font-weight: 800;
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}
.dark .av-storefront-avatar {
  border-color: #0f172a;
}
.av-storefront-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.av-storefront-name {
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0.65rem 0 0.15rem;
}
.av-storefront-joined {
  font-size: 0.72rem;
  color: #64748b;
  margin: 0 0 0.85rem;
}
.dark .av-storefront-joined {
  color: #94a3b8;
}
.av-storefront-merchant {
  margin: 0 1rem 0.85rem;
  padding: 0.75rem 0.85rem;
  border-radius: 0.85rem;
  background: rgba(248, 88, 48, 0.1);
  border: 1px solid rgba(248, 88, 48, 0.22);
}
.dark .av-storefront-merchant {
  background: rgba(248, 88, 48, 0.12);
}
.av-storefront-merchant__label {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #F85830;
  margin: 0 0 0.35rem;
}
.av-storefront-merchant__row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.av-storefront-merchant__url {
  flex: 1;
  min-width: 0;
  font-size: 0.68rem;
  font-family: ui-monospace, monospace;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #334155;
}
.dark .av-storefront-merchant__url {
  color: #e2e8f0;
}
.av-storefront-merchant__copy {
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  border: 0;
  background: #F85830;
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
}
.av-storefront-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.45rem;
  margin: 0 1rem 1rem;
}
.av-storefront-stat {
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 0.75rem;
  padding: 0.55rem 0.35rem;
  text-align: center;
  min-height: 5.5rem;
}
.dark .av-storefront-stat {
  background: rgba(15, 23, 42, 0.55);
  border-color: rgba(51, 65, 85, 0.8);
}
.av-storefront-stat__icon {
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
}
.av-storefront-stat__icon--blue { color: #FDBA74; }
.av-storefront-stat__icon--green { color: #34d399; }
.av-storefront-stat__icon--orange { color: #fb923c; }
.av-storefront-stat__icon--red { color: #f87171; }
.av-storefront-stat__val {
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.2;
}
.av-storefront-stat__lbl {
  font-size: 0.55rem;
  color: #64748b;
  margin-top: 0.15rem;
  line-height: 1.25;
}
.dark .av-storefront-stat__lbl {
  color: #94a3b8;
}
.av-storefront-stat__sub {
  font-size: 0.55rem;
  margin-top: 0.2rem;
  display: flex;
  justify-content: center;
  gap: 0.35rem;
}
.av-storefront-stat__sub .up { color: #34d399; }
.av-storefront-stat__sub .down { color: #f87171; }
.av-storefront-ads {
  margin: 0 1rem 2rem;
}
.av-storefront-ads__title {
  font-size: 0.85rem;
  font-weight: 800;
  color: #F85830;
  margin: 0 0 0.65rem;
}
.av-storefront-ad {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.65rem;
  align-items: center;
  padding: 0.75rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  margin-bottom: 0.55rem;
  background: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  color: inherit;
}
.dark .av-storefront-ad {
  background: rgba(15, 23, 42, 0.45);
  border-color: rgba(51, 65, 85, 0.85);
}
.av-storefront-ad__logo {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.65rem;
  object-fit: contain;
  background: #fff;
  padding: 0.2rem;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.25);
}
.dark .av-storefront-ad__logo {
  background: #0f172a;
  box-shadow: 0 0 0 1px rgba(51, 65, 85, 0.9);
}
/* Acctventa-style market listing logos */
.av-market-logo {
  object-fit: contain !important;
  background: #fff !important;
  padding: 0.2rem;
  box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.22);
}
.dark .av-market-logo {
  background: #0f172a !important;
  box-shadow: 0 0 0 1px rgba(51, 65, 85, 0.85);
}
.av-storefront-ad__body {
  min-width: 0;
}
.av-storefront-ad__title {
  font-size: 0.78rem;
  font-weight: 800;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.av-storefront-ad__desc {
  font-size: 0.62rem;
  color: #64748b;
  margin: 0.15rem 0 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dark .av-storefront-ad__desc {
  color: #94a3b8;
}
.av-storefront-ad__side {
  text-align: right;
}
.av-storefront-ad__price {
  font-size: 0.85rem;
  font-weight: 800;
  color: #F85830;
  margin: 0 0 0.35rem;
}
.av-storefront-ad__buy {
  font-size: 0.62rem;
  font-weight: 800;
  padding: 0.35rem 0.55rem;
  border-radius: 0.45rem;
  border: 0;
  background: #F85830;
  color: #fff;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  z-index: 2;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.av-storefront-ad__buy:active {
  filter: brightness(1.08);
}
