/* ---------- homepage ---------- */

.homepage-hero {
  position: relative;

  padding-top: 56px;
  padding-bottom: 28px;

  background:
    radial-gradient(circle at top left, rgba(59,130,246,0.08), transparent 32%),
    radial-gradient(circle at top right, rgba(99,102,241,0.06), transparent 28%),
    linear-gradient(to bottom, #f8fafc, #f3f6fb);

  border-bottom: 1px solid rgba(15, 23, 42, 0.06);

  overflow: hidden;
}

.homepage-hero-inner {
  position: relative;
  left: 50%;
  transform: translateX(-50%);

  width: min(90vw, 1800px);
  max-width: none;

  padding: 42px 52px;
  margin: 0;

  background: rgba(255,255,255,0.72);

  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 28px;

  backdrop-filter: blur(10px);

  box-shadow:
    0 20px 50px rgba(15, 23, 42, 0.06),
    0 6px 18px rgba(15, 23, 42, 0.04);
}

.homepage-hero h1 {
  max-width: 14ch;
  font-size: clamp(2.4rem, 5vw, 4.4rem);

  font-weight: 950;

  letter-spacing: -0.06em;

  line-height: 0.95;

  color: #0f172a;
}

.homepage-hero p {
  margin-top: 18px;

  color: #475569;

  font-size: 1.14rem;
  line-height: 1.7;

  font-weight: 500;

  max-width: none;
}

@media (max-width: 575.98px) {
  .homepage-hero {
    padding-top: 54px;
    padding-bottom: 42px;
  }

  .homepage-hero-inner {
    padding: 28px 22px;
    border-radius: 24px;
  }

  .homepage-hero h1 {
    max-width: none;
    line-height: 1;
  }
}

.homepage-main {
  padding-top: 0; 
  padding-bottom: 64px;
}

.homepage-section {
  margin-top: 42px;
}

.homepage-main > .homepage-section:first-child {
  margin-top: 24px;
}

.homepage-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.homepage-section-header h2 {
  margin: 0;
  color: #111827;
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.homepage-listing-rail {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 2px;
  padding: 2px 2px 12px;
  scrollbar-width: none;
}

.homepage-listing-rail::-webkit-scrollbar {
  display: none;
}

.homepage-listing-rail .homepage-listing-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
}

.homepage-listing-card,
.homepage-seller-card {
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.04);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.homepage-listing-card:hover,
.homepage-seller-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(17, 24, 39, 0.08);
  color: inherit;
}

.homepage-listing-image-wrap {
  aspect-ratio: 4 / 3;
  background: #f3f4f6;
}

.homepage-listing-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.homepage-listing-body {
  padding: 12px 14px 14px;
}

.homepage-listing-title {
  font-weight: 800;
  color: #111827;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.homepage-listing-meta,
.homepage-listing-location {
  margin-top: 4px;
  color: #6b7280;
  font-size: 0.88rem;
}

.homepage-trending-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.homepage-trending-chip {
  text-decoration: none;
  color: #111827;
  background: #fff;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 999px;
  padding: 9px 14px;
  font-weight: 700;
}

.homepage-seller-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.homepage-seller-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
}

.homepage-seller-avatar {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  object-fit: cover;
  background: #f3f4f6;
}

.homepage-seller-name {
  font-weight: 900;
  color: #111827;
}

.homepage-seller-verified {
  margin-top: 3px;
  color: #198754;
  font-size: 0.86rem;
  font-weight: 700;
}

@media (max-width: 991.98px) {
  .homepage-seller-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .homepage-listing-rail .homepage-listing-card {
    flex-basis: 250px;
  }
}

@media (max-width: 575.98px) {
  .homepage-section-header {
    gap: 12px;
  }

  .homepage-seller-grid {
    grid-template-columns: 1fr;
  }

  .homepage-listing-rail {
    margin-left: -2px;
    margin-right: -2px;
    scroll-snap-type: x proximity;
  }

  .homepage-listing-rail .homepage-listing-card {
    flex-basis: 78vw;
  }

  .homepage-rail-btn {
  display: none;
  }
}

.homepage-listing-image-wrap {
  position: relative;
}

.homepage-own-pill {
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: calc(100% - 20px);
  padding: 6px 10px;
  border-radius: 999px;
  background: #eef2ff;
  color: #3730a3;
  font-size: 0.75rem;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.2);
}

.homepage-listing-card-own,
.homepage-seller-card-own {
  cursor: default;
}

.homepage-listing-card-own:hover,
.homepage-seller-card-own:hover {
  transform: none;
}

.homepage-own-seller-pill {
  display: inline-flex;
  margin-top: 5px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 0.74rem;
  font-weight: 800;
}

.homepage-rail-wrap {
  position: relative;
}

.homepage-rail-btn {
  position: absolute;
  top: 38%;
  z-index: 5;

  width: 58px;
  height: 58px;
  border-radius: 999px;

  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #000;
  color: #fff;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-size: 1.65rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.24);

  opacity: 0;
  pointer-events: none;
  transform: scale(0.92);

  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    opacity 0.15s ease;
}

.homepage-rail-btn.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.homepage-rail-btn:hover {
  transform: translateY(-1px) scale(1.04);
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.3);
}

.homepage-rail-btn:active {
  transform: scale(0.96);
}

.homepage-rail-btn-left {
  left: -18px;
}

.homepage-rail-btn-right {
  right: -18px;
}

.homepage-rail-btn i {
  line-height: 1;
}

@media (max-width: 575.98px) {
  .homepage-rail-btn {
    display: none !important;
  }
}

.homepage-rail-btn.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.92);
}

.homepage-section-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.homepage-location-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eef2ff;
  color: #3730a3;
  font-size: 0.82rem;
  font-weight: 800;
}

.homepage-location-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  padding: 7px 10px;
  border-radius: 999px;
  background: #eef2ff;
  color: #3730a3;
  font-size: 0.82rem;
  font-weight: 800;
}

.homepage-location-source {
  color: #6b7280;
  font-weight: 700;
}

.homepage-location-action {
  border-radius: 999px;
  padding: 3px 9px;
  font-size: 0.75rem;
  font-weight: 800;
}

.search-address-modal {
  border: 0;
  border-radius: 22px;
  overflow: hidden;
  box-shadow:
    0 24px 70px rgba(15, 23, 42, 0.22),
    0 8px 24px rgba(15, 23, 42, 0.1);
}

.search-address-modal-header {
  padding: 1.25rem 1.35rem 1rem;
  background: #ffffff;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.search-address-modal-title {
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #111827;
}

.search-address-modal-subtitle {
  margin-top: 0.2rem;
  color: #6b7280;
  font-size: 0.9rem;
  font-weight: 600;
}

.search-address-close {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background-color: #f3f4f6;
  opacity: 1;
}

.search-address-close:hover {
  background-color: #e5e7eb;
}

.search-address-modal-body {
  padding: 1.25rem 1.35rem;
  background: #ffffff;
}

.search-address-tabs-row {
  margin-bottom: 1.25rem;
}

.search-address-tabs {
  gap: 0.4rem;
  border-bottom: 0;
}

.search-address-tabs .nav-link {
  border: 0;
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  color: #6b7280;
  background: #f3f4f6;
  font-weight: 850;
}

.search-address-tabs .nav-link:hover {
  color: #111827;
  background: #e5e7eb;
}

.search-address-tabs .nav-link.active {
  color: #ffffff;
  background: #111827;
}

.search-address-tab-content {
  max-height: min(62vh, 520px);
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 0.25rem;
}

.search-address-tab-content .tab-pane {
  min-height: auto;
}

#savedAddressesPane,
#newAddressPane {
  overflow: visible;
}

.search-address-field {
  margin-bottom: 1rem;
}

.search-address-field .form-label {
  margin-bottom: 0.35rem;
  color: #374151;
  font-size: 0.84rem;
  font-weight: 800;
}

.search-address-field .form-control,
.search-address-field .form-select {
  min-height: 46px;
  border-radius: 13px;
  border: 1px solid #e5e7eb;
  background-color: #f9fafb;
  font-weight: 600;
}

.search-address-field .form-control:focus,
.search-address-field .form-select:focus {
  background-color: #ffffff;
  border-color: #111827;
  box-shadow: 0 0 0 0.15rem rgba(17, 24, 39, 0.1);
}

.search-address-info-box {
  margin-top: 0.25rem;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  color: #6b7280;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.4;
}

.search-address-save-btn {
  min-height: 44px;
  border-radius: 999px;
  padding: 0 1.1rem;
  background: #111827;
  border: 1px solid #111827;
  color: #ffffff;
  font-weight: 850;
  box-shadow: 0 10px 22px rgba(17, 24, 39, 0.18);
}

.search-address-save-btn:hover,
.search-address-save-btn:focus {
  background: #020617;
  border-color: #020617;
  color: #ffffff;
}

.search-saved-addresses-list {
  min-height: 360px;
  max-height: 360px;
  overflow-y: scroll;

  display: flex;
  flex-direction: column;
  gap: 0.75rem;

  padding-right: 0.25rem;
}

#searchAddressModal .modal-dialog {
  width: min(760px, calc(100vw - 2rem));
  max-width: 760px;
}

#searchAddressModal .modal-content {
  width: 100%;
}

body.modal-open {
  padding-right: 0 !important;
}

#searchAddressModal {
  padding-right: 0 !important;
}

.search-saved-addresses-list .saved-address-item {
  border-radius: 16px;
}

@media (max-width: 575.98px) {
  .search-address-tab-content {
    max-height: 64vh;
  }

  .search-saved-addresses-list {
    min-height: auto;
    max-height: 46vh;
  }
}

.homepage-listing-card-unavailable {
  cursor: default;
}

.homepage-listing-card-unavailable:hover {
  transform: none;
}

.homepage-listing-card-unavailable .homepage-listing-image {
  filter: grayscale(0.2);
  opacity: 0.72;
}

.homepage-unavailable-pill {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  z-index: 3;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;

  padding: 8px 10px;
  border-radius: 999px;

  background: #fff3cd;
  border: 1px solid rgba(255, 193, 7, 0.45);
  color: #6b4f00;

  font-size: clamp(0.78rem, 1.1vw, 0.95rem);
  font-weight: 850;
  text-align: center;

  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.24);
}

.search-location-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;

  min-height: 42px;

  padding: 0.48rem 0.82rem;

  border-radius: 999px;

  background: rgba(255,255,255,0.96);

  border: 1px solid rgba(15, 23, 42, 0.08);

  box-shadow:
    0 8px 20px rgba(15, 23, 42, 0.06),
    0 2px 6px rgba(15, 23, 42, 0.04);

  font-size: clamp(0.8rem, 1vw, 0.92rem);
  font-weight: 700;

  color: #111827;

  flex-wrap: wrap;
}

.search-location-source {
  color: #6b7280;
  font-weight: 600;
}

.search-location-action {
  border-radius: 999px !important;

  min-height: 32px;

  padding: 0.28rem 0.72rem !important;

  font-size: 0.78rem;
  font-weight: 800;

  border: 1px solid rgba(15, 23, 42, 0.08);

  background: #ffffff;

  transition:
    background 120ms ease,
    transform 120ms ease,
    box-shadow 120ms ease;
}

.search-location-action:hover,
.search-location-action:active,
.search-location-action:focus {
  background: #e5e7eb;

  border-color: rgba(15, 23, 42, 0.12);

  color: #111827;

  transform: translateY(-1px);

  box-shadow:
    0 4px 12px rgba(15, 23, 42, 0.08);
}

.search-country-menu {
  min-width: 260px;

  padding: 0.45rem;

  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;

  box-shadow:
    0 20px 45px rgba(15, 23, 42, 0.16),
    0 4px 14px rgba(15, 23, 42, 0.06);

  overflow: hidden;
}

.guest-country-list {
  max-height: 320px;
  overflow-y: auto;
  min-width: 100%;
}

.guest-country-option {
  width: 100%;

  border: 0;
  background: transparent;

  text-align: left;

  padding: 0.62rem 0.78rem;

  border-radius: 12px;

  font-size: 0.9rem;
  font-weight: 650;

  transition:
    background 120ms ease,
    color 120ms ease,
    transform 120ms ease;
}

.guest-country-option:hover,
.guest-country-option.active {
  background: #eef6ff;
  color: #0f4c81;
  font-weight: 800;

  transform: translateX(2px);
}

/* Mobile */
@media (max-width: 767.98px) {
  .search-location-pill {
    width: 100%;

    align-items: flex-start;

    border-radius: 18px;

    padding: 0.7rem 0.85rem;
  }

  .search-location-action {
    margin-left: 0 !important;
  }

  .search-country-menu {
    min-width: min(92vw, 320px);
  }
}

.homepage-listing-price {
  margin-top: 6px;
  color: #111827;
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1.25;
}

.homepage-listing-btc-price {
  color: #111827;
}

.homepage-listing-fiat-price {
  margin-left: 4px;
  color: #6b7280;
  font-size: 0.86rem;
  font-weight: 750;
}

.homepage-listing-location {
  display: flex;
  align-items: center;
  gap: 5px;
}

.homepage-listing-location i {
  color: #6b7280;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.homepage-listing-price {
  margin-top: 16px;
  padding-top: 10px;

  text-align: center;

  font-size: 1.32rem;
  font-weight: 950;
  line-height: 1.3;

  border-top: 1px solid rgba(17, 24, 39, 0.06);
}

.homepage-listing-btc-price {
  color: #111827;
}

.homepage-listing-fiat-price {
  margin-left: 6px;

  color: #6b7280;

  font-size: 1.05rem;
  font-weight: 800;
}

.homepage-listing-verified {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin-left: 1px;

  color: #198754;

  font-size: 1rem;
  line-height: 1;

  transform: translateY(-1px);

  vertical-align: middle;
}

.homepage-listing-seller-link {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;

  color: #2563eb;
  font: inherit;
  font-weight: 850;

  cursor: pointer;
  text-decoration: none;
}

.homepage-listing-seller-link:hover,
.homepage-listing-seller-link:focus {
  color: #1d4ed8;
  text-decoration: underline;
}

.homepage-listing-seller-link:focus-visible {
  outline: 2px solid rgba(37, 99, 235, 0.35);
  outline-offset: 3px;
  border-radius: 6px;
}

.seller-profile-modal {
  border: 0;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.24);
}

.seller-profile-header {
  padding: 1.15rem 1.35rem;
  background: #ffffff;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.seller-profile-modal-title-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.seller-profile-header .modal-title {
  font-weight: 900;
  letter-spacing: -0.02em;
}

.seller-profile-body {
  padding: 0;
  background: #f8f9fb;
  max-height: min(72vh, 680px);
  overflow-y: auto;
}

.seller-profile-tabs-row {
  position: sticky;
  top: 0;
  z-index: 2;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;

  padding: 0.75rem 1.25rem;
  background: #ffffff;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.seller-profile-tabs {
  padding: 0;
  background: transparent;
  border-bottom: 0;
  gap: 0.4rem;
}

.seller-profile-tabs .nav-link {
  border: 0;
  color: #6b7280;
  font-weight: 800;
  padding: 0.65rem 0.95rem;
  border-radius: 999px;
}

.seller-profile-tabs .nav-link:hover {
  color: #111827;
  background: #f3f4f6;
}

.seller-profile-tabs .nav-link.active {
  color: #111827;
  background: #eef6ff;
}

.seller-store-btn {
  border-radius: 999px;
  font-weight: 900;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.seller-profile-tab-content {
  padding: clamp(1rem, 2vw, 1.5rem);
}

.seller-overview-layout {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: start;
}

.seller-overview-left,
.seller-overview-right {
  min-width: 0;
  max-width: none;
}

.seller-profile-main {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
}

.seller-profile-avatar {
  width: clamp(84px, 12vw, 120px);
  height: clamp(84px, 12vw, 120px);
  border-radius: 50%;
  object-fit: cover;
  background: #eef1f4;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.seller-profile-username {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 900;
  color: #111827;
  letter-spacing: -0.02em;

  overflow-wrap: anywhere;
}

.seller-profile-age {
  margin-top: 0.15rem;
  font-size: 0.9rem;
  color: #6b7280;
  font-weight: 700;
}

.seller-profile-bio {
  margin-top: 1rem;
  margin-left: 0;

  max-width: none;
  max-height: none;

  overflow: visible;

  padding: 0;

  background: transparent;
  border: 0;

  color: #374151;
  font-size: 0.95rem;
  line-height: 1.55;
  word-break: break-word;
}

.seller-profile-section-title {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;

  font-size: 0.76rem;
  font-weight: 900;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.06em;

  margin-bottom: 0.65rem;
}

.seller-trust-list,
.seller-trust-list.has-open-detail {
  max-height: none;
  overflow: visible;
  padding-right: 0;
}

.seller-trust-item {
  border-top: 1px solid rgba(15, 23, 42, 0.07);
}

.seller-trust-item:first-of-type {
  border-top: 0;
}

.seller-trust-row,
.seller-trust-static-row {
  width: 100%;
  border: 0;
  background: transparent;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;

  padding: 0.7rem 0;
  text-align: left;
}

.seller-trust-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;

  min-width: 0;

  color: #6b7280;
  font-weight: 800;
}

.seller-trust-row-clickable {
  cursor: pointer;
}

.seller-trust-row-clickable:hover .seller-trust-label {
  color: #111827;
}

.seller-trust-static-row span {
  color: #6b7280;
  font-weight: 800;
}

.seller-trust-static-row strong {
  color: #111827;
  font-weight: 900;
  text-align: right;
}

.seller-trust-chevron {
  flex: 0 0 auto;
  color: #9ca3af;
  font-size: 0.82rem;
  transition: transform 180ms ease;
}

.seller-trust-item.open .seller-trust-chevron {
  transform: rotate(180deg);
}

.seller-trust-detail {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 220ms ease;
}

.seller-trust-detail.open {
  grid-template-rows: 1fr;
}

.seller-trust-detail-inner {
  overflow: hidden;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;

  color: #374151;
  font-size: 0.88rem;
  font-weight: 800;

  min-width: 0;
}

.seller-trust-detail.open .seller-trust-detail-inner {
  padding: 0.15rem 0 0.75rem;
}

.seller-trust-contact-value {
  min-width: 0;
  overflow-wrap: anywhere;
}

.seller-trust-detail-verified,
.seller-trust-detail-unverified {
  flex: 0 0 auto;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: lowercase;
  white-space: nowrap;
}

.seller-trust-detail-verified {
  color: #198754;
}

.seller-trust-detail-unverified {
  color: #6c757d;
}

.seller-mini-verified-pill,
.seller-mini-unverified-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  height: 20px;
  padding: 0 0.52rem;

  border-radius: 999px;

  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  white-space: nowrap;

  border: 1px solid transparent;
  flex: 0 0 auto;
}

.seller-mini-verified-pill {
  background: rgba(25, 135, 84, 0.12);
  color: #157347;
  border-color: rgba(25, 135, 84, 0.22);
}

.seller-mini-verified-pill::before {
  content: "✓";
  margin-right: 0.25rem;
  font-weight: 900;
}

.seller-mini-unverified-pill {
  background: rgba(108, 117, 125, 0.1);
  color: #6c757d;
  border-color: rgba(108, 117, 125, 0.18);
}

.seller-profile-loading,
.seller-profile-empty {
  min-height: 260px;
  background: transparent;
  border: 0;
  border-radius: 18px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #6b7280;
  font-weight: 700;
}

.seller-profile-empty {
  gap: 0.75rem;
  text-align: left;
}

.seller-profile-empty i {
  font-size: 1.5rem;
  color: #0d6efd;
}

.seller-trust-info-btn {
  border: 0;
  background: transparent;
  padding: 0;

  width: 18px;
  height: 18px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  color: #9ca3af;
  cursor: pointer;
}

.seller-trust-info-btn:hover {
  color: #4b5563;
}

.seller-trust-info-btn i {
  font-size: 0.82rem;
  line-height: 1;
}

.seller-trust-tooltip .tooltip-inner {
  max-width: 290px;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  background: #111827;
  color: #f9fafb;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.45;
  text-align: left;
}

#sellerProfileModal {
  overflow-y: hidden !important;
}

#sellerProfileModal .modal-dialog {
  width: min(980px, calc(100vw - 2rem));
  max-width: 980px;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

#sellerProfileModal .modal-content {
  max-height: calc(100vh - 3rem);
}

/* Tablet / mobile */
@media (max-width: 767.98px) {
  .seller-profile-body {
    max-height: calc(100vh - 7rem);
  }

  .seller-profile-tabs-row {
    align-items: stretch;
    flex-direction: column;
  }

  .seller-store-btn {
    justify-content: center;
  }

  .seller-profile-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .seller-overview-layout {
    grid-template-columns: 1fr;
  }

  .seller-profile-main {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .seller-profile-avatar {
    width: 84px;
    height: 84px;
  }

  .seller-trust-row,
  .seller-trust-static-row,
  .seller-trust-detail-inner {
    align-items: flex-start;
  }
}

/* Tiny phones */
@media (max-width: 420px) {
  .seller-profile-main {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .seller-profile-bio {
    text-align: left;
  }

  .seller-trust-row,
  .seller-trust-static-row,
  .seller-trust-detail-inner {
    flex-direction: column;
    gap: 0.35rem;
  }

  .seller-trust-static-row strong {
    text-align: left;
  }
}

.homepage-listing-card[role="link"] {
  cursor: pointer;
}

.seller-verified-pill,
.seller-unverified-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  height: 21px;
  padding: 0 0.55rem;

  border-radius: 999px;

  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.025em;
  text-transform: uppercase;

  line-height: 1;
  white-space: nowrap;

  border: 1px solid transparent;
}

/* VERIFIED */

.seller-verified-pill {
  background: linear-gradient(
    180deg,
    rgba(25, 135, 84, 0.16) 0%,
    rgba(25, 135, 84, 0.10) 100%
  );

  color: #157347;

  border-color: rgba(25, 135, 84, 0.22);

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.35),
    0 1px 2px rgba(25, 135, 84, 0.08);
}

.seller-verified-pill::before {
  content: "✓";
  font-size: 0.62rem;
  font-weight: 900;
  margin-right: 0.3rem;
  position: relative;
  top: -0.5px;
}

@media (max-width: 767.98px) {
  .seller-verified-pill,
  .seller-unverified-pill {
    height: 20px;
    font-size: 0.58rem;
    padding-inline: 0.48rem;
  }
}

.homepage-price-updated {
  animation: homepagePriceUpdate 360ms ease;
}

@keyframes homepagePriceUpdate {
  0% {
    transform: translateY(0);
    opacity: 1;
  }

  35% {
    transform: translateY(-4px);
    opacity: 0.45;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}