:root {
  --primary: #2F6B4F;
  --primary-dark: #245C42;
  --ink: #1E3329;
  --secondary: #EAF6EF;
  --page-bg: #F5FAF7;
  --card-bg: #FFFFFF;
  --card-border: #D7E8DE;
  --muted: #5C6B66;
  --placeholder: #9AA8A0;
  --input-bg: #F7FBF8;
  --login-bg: #EEFBDD;
  --verified-red: #E53935;
  --star: #E8A317;
  --header-sub: #D7EFE3;
  --shadow: 0 4px 14px rgba(0, 0, 0, 0.07);
  --radius: 12px;
  --radius-sm: 10px;
  --font: "Open Sans", system-ui, sans-serif;
  --font-display: "Syne", "Open Sans", sans-serif;
  --max: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  font-family: var(--font);
  color: var(--ink);
  background: var(--page-bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  color: var(--primary-dark);
}

/* Blazor FocusOnNavigate focuses the page h1 — don't show a browser focus box */
h1:focus,
h1:focus-visible {
  outline: none;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
select,
textarea {
  font: inherit;
}

/* ——— Shell ——— */
.app-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 12px rgba(30, 51, 41, 0.18);
}

.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-header__inner--no-search .header-nav {
  margin-left: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #fff;
  flex-shrink: 0;
}

.brand:hover {
  color: #fff;
}

.brand__logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.12);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__name {
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.brand__tag {
  font-size: 0.72rem;
  color: var(--header-sub);
}

.header-search {
  flex: 1;
  min-width: 0;
  display: flex;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.header-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: #fff;
  padding: 0.55rem 0.85rem;
  outline: none;
}

.header-search input::placeholder {
  color: rgba(255, 255, 255, 0.72);
}

.header-search button {
  border: 0;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  padding: 0 0.9rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.85rem;
}

.header-search button:hover {
  background: rgba(255, 255, 255, 0.28);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

.nav-group {
  position: relative;
}

.nav-group.open {
  z-index: 61;
}

.nav-group__trigger {
  display: inline-flex;
}

.nav-group__menu {
  position: absolute;
  top: calc(100% + 0.35rem);
  right: 0;
  min-width: 11.5rem;
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(30, 51, 41, 0.16);
  padding: 0.35rem;
  z-index: 60;
}

.nav-dismiss-layer {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: transparent;
  cursor: default;
}

.nav-group__item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.55rem 0.75rem;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}

.nav-group__item:hover,
.nav-group__item.active {
  background: var(--secondary);
  color: var(--primary-dark);
}

.nav-group-label {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0.65rem 0 0.25rem 0.35rem;
}

.nav-link-pill--nested {
  padding-left: 1.15rem;
  font-weight: 500;
}

.nav-link-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  background: transparent;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
}

.nav-link-pill:hover,
.nav-link-pill.active {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.nav-link-pill--solid {
  background: #fff;
  color: var(--primary);
}

.nav-link-pill--solid:hover {
  background: var(--secondary);
  color: var(--primary-dark);
}

.menu-toggle {
  display: none;
  border: 0;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.25rem;
}

.mobile-drawer {
  display: none;
  background: var(--primary-dark);
  padding: 0.5rem 1rem 1rem;
}

.mobile-drawer.open {
  display: block;
}

.mobile-drawer .nav-link-pill {
  display: flex;
  width: 100%;
  margin-bottom: 0.25rem;
}

.site-main {
  flex: 1;
  width: 100%;
}

.site-footer {
  margin-top: auto;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  padding: 1.5rem 1rem;
  font-size: 0.85rem;
}

.site-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.site-footer a {
  color: #fff;
}

/* ——— Page chrome ——— */
.page-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.25rem 1rem 2.5rem;
}

.page-hero-bar {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  padding: 1.25rem 0;
}

.page-hero-bar .page-wrap {
  padding-top: 0;
  padding-bottom: 0;
}

.page-title {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 600;
}

.page-sub {
  margin: 0.25rem 0 0;
  color: var(--header-sub);
  font-size: 0.9rem;
}

/* ——— Chips & filters ——— */
.chip-row {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.35rem 0 0.85rem;
  margin-bottom: 0.85rem;
  scrollbar-width: thin;
  scrollbar-gutter: stable;
}

.chip-row::-webkit-scrollbar {
  height: 8px;
}

.chip-row::-webkit-scrollbar-thumb {
  background: #c5d4cb;
  border-radius: 999px;
}

.chip-row + .filter-bar,
.chip-row + .browse-search-bar {
  margin-top: 0.25rem;
}

.chip {
  flex-shrink: 0;
  border: 1px solid var(--card-border);
  background: var(--card-bg);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.chip:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.chip.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  margin-bottom: 1rem;
}

.browse-search-bar {
  align-items: stretch;
}

.browse-search-form {
  display: flex;
  flex: 1 1 280px;
  min-width: min(100%, 240px);
  gap: 0.5rem;
}

.browse-search-form .form-control {
  flex: 1;
  border: 1px solid #a8d4b8;
  background: #fff;
  color: var(--ink);
}

.browse-search-form .form-control::placeholder {
  color: #5f7a6c;
  opacity: 1;
}

.browse-search-form .form-control:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(47, 107, 79, 0.15);
}

/* ——— Advanced search sheet ——— */
.adv-scrim {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(30, 51, 41, 0.45);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1rem;
  animation: advFade 0.18s ease;
}

@keyframes advFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.adv-sheet {
  width: min(480px, 100%);
  max-height: min(88vh, 720px);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 18px 18px 14px 14px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: advSlide 0.2s ease;
}

@keyframes advSlide {
  from { transform: translateY(18px); opacity: 0.85; }
  to { transform: translateY(0); opacity: 1; }
}

.adv-sheet__header {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  background: var(--secondary);
  border-bottom: 1px solid var(--card-border);
}

.adv-sheet__title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
}

.adv-sheet__sub {
  margin: 0.25rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.adv-sheet__body {
  padding: 1rem 1.1rem;
  overflow-y: auto;
  flex: 1;
}

.adv-sheet__footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  padding: 0.9rem 1.1rem 1.1rem;
  border-top: 1px solid var(--card-border);
  background: var(--card-bg);
}

.adv-range {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.5rem;
  align-items: center;
}

.adv-range span {
  color: var(--muted);
  font-size: 0.8rem;
  text-align: center;
}

.adv-divider {
  border: 0;
  border-top: 1px solid var(--card-border);
  margin: 0.5rem 0 1rem;
}

.adv-section-title {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
}

@media (min-width: 720px) {
  .adv-scrim {
    align-items: center;
  }

  .adv-sheet {
    border-radius: 18px;
  }
}

.filter-bar select {
  border: 1px solid var(--card-border);
  background: var(--card-bg);
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.7rem;
  color: var(--ink);
  min-width: 140px;
}

.result-meta {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 0 0 0.85rem;
}

/* ——— Listing grid ——— */
.listing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 0.75rem;
}

@media (min-width: 720px) {
  .listing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }
}

@media (min-width: 1024px) {
  .listing-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.listing-card {
  display: flex;
  flex-direction: column;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  height: 100%;
}

.listing-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.1);
  color: inherit;
}

.listing-card--premium,
.listing-card--featured,
.listing-card--boost {
  border-width: 2px;
  position: relative;
}

.listing-card--premium::before,
.listing-card--featured::before,
.listing-card--boost::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  z-index: 3;
  border-radius: var(--radius) var(--radius) 0 0;
}

.listing-card--premium {
  border-color: #AB47BC;
  box-shadow: 0 4px 20px rgba(156, 39, 176, 0.35), 0 0 0 1px rgba(171, 71, 188, 0.25), var(--shadow);
}

.listing-card--premium::before {
  background: linear-gradient(90deg, #6A1B9A, #AB47BC, #FFD54F);
}

.listing-card--premium:hover {
  box-shadow: 0 12px 32px rgba(156, 39, 176, 0.42), 0 0 0 1px rgba(171, 71, 188, 0.35);
}

.listing-card--featured {
  border-color: #FF6D00;
  box-shadow: 0 4px 20px rgba(255, 109, 0, 0.38), 0 0 0 1px rgba(255, 152, 0, 0.3), var(--shadow);
}

.listing-card--featured::before {
  background: linear-gradient(90deg, #E65100, #FF6D00, #FFAB00);
}

.listing-card--featured:hover {
  box-shadow: 0 12px 32px rgba(255, 109, 0, 0.45), 0 0 0 1px rgba(255, 152, 0, 0.4);
}

.listing-card--boost {
  border-color: #00897B;
  box-shadow: 0 4px 16px rgba(0, 137, 123, 0.28), var(--shadow);
}

.listing-card--boost::before {
  background: linear-gradient(90deg, #00695C, #00897B, #26A69A);
}

.listing-card--boost:hover {
  box-shadow: 0 10px 26px rgba(0, 137, 123, 0.34);
}

.listing-card--premium .listing-card__tag,
.listing-card--featured .listing-card__tag,
.listing-card--boost .listing-card__tag {
  top: auto;
  bottom: 8px;
  left: 8px;
}

.listing-card--featured .listing-card__body {
  background: linear-gradient(180deg, rgba(255, 248, 240, 0.55) 0%, var(--card-bg) 38%);
}

.listing-card--premium .listing-card__body {
  background: linear-gradient(180deg, rgba(243, 229, 245, 0.65) 0%, var(--card-bg) 38%);
}

.listing-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background:
    linear-gradient(180deg, rgba(234, 246, 239, 0.9), rgba(215, 232, 222, 0.95)),
    var(--secondary);
  overflow: hidden;
}

.listing-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--secondary);
  content-visibility: auto;
}

.listing-card__placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
}

.listing-card__tag {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
}

.listing-card__body {
  padding: 0.7rem 0.75rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  flex: 1;
}

.listing-card__title {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.4em;
}

.listing-card__price {
  font-weight: 700;
  color: var(--primary);
  font-size: 1rem;
}

.listing-card__was {
  color: var(--verified-red);
  text-decoration: line-through;
  font-size: 0.78rem;
  font-weight: 600;
  margin-right: 0.35rem;
}

.listing-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem;
  line-height: 1.2;
}

.listing-price__was {
  color: #E53935;
  text-decoration: line-through;
  font-weight: 600;
}

.listing-price__now {
  font-weight: 700;
  color: var(--primary);
}

.listing-price--card .listing-price__was {
  font-size: 0.8rem;
}

.listing-price--card .listing-price__now {
  font-size: 1rem;
}

.listing-price--detail .listing-price__was {
  font-size: 1.05rem;
}

.listing-price--detail .listing-price__now {
  font-size: 1.6rem;
}

.listing-card__drop {
  position: absolute;
  left: 0.45rem;
  bottom: 0.45rem;
  background: #E53935;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.promoted-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.promoted-badge--card {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 4;
  font-size: 0.72rem;
  padding: 0.32rem 0.62rem;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.22);
}

.promoted-badge--detail {
  font-size: 0.75rem;
  padding: 0.35rem 0.7rem;
}

.promoted-badge--inline {
  font-size: 0.62rem;
  padding: 0.18rem 0.45rem;
}

.promoted-badge--premium {
  background: linear-gradient(135deg, #4A148C 0%, #9C27B0 45%, #FFD54F 100%);
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  animation: promoted-shine-premium 2.5s ease-in-out infinite;
}

.promoted-badge--featured {
  background: linear-gradient(135deg, #BF360C 0%, #FF6D00 50%, #FFAB00 100%);
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  animation: promoted-shine-featured 2.5s ease-in-out infinite;
}

.promoted-badge--boost {
  background: linear-gradient(135deg, #004D40 0%, #00897B 55%, #4DB6AC 100%);
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.promoted-badge__icon {
  font-size: 0.72em;
  line-height: 1;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.35));
}

@keyframes promoted-shine-premium {
  0%, 100% { box-shadow: 0 3px 12px rgba(156, 39, 176, 0.5); }
  50% { box-shadow: 0 4px 18px rgba(156, 39, 176, 0.75), 0 0 12px rgba(255, 213, 79, 0.45); }
}

@keyframes promoted-shine-featured {
  0%, 100% { box-shadow: 0 3px 12px rgba(255, 109, 0, 0.5); }
  50% { box-shadow: 0 4px 18px rgba(255, 109, 0, 0.75), 0 0 10px rgba(255, 171, 0, 0.5); }
}

.soft-chip--drop {
  background: #FDECEA;
  color: #C62828;
  border-color: #F5C6C2;
}

.listing-card__meta {
  color: var(--muted);
  font-size: 0.78rem;
}

.listing-card__seller {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--secondary);
  border-radius: 8px;
  padding: 0.35rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
}

.verified-badge {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  object-fit: contain;
}

.verified-badge--inline {
  margin-left: 0.25rem;
}

.home-trust-card__badge {
  display: block;
  margin-bottom: 0.75rem;
}

.badge-verified {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 0.55rem;
}

.status-pill {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.status-pill.active { background: var(--secondary); color: var(--primary); }
.status-pill.paused { background: #FFF3CD; color: #856404; }
.status-pill.sold { background: #FDECEA; color: var(--verified-red); }
.status-pill.expired { background: #E8EEEB; color: var(--muted); }
.status-pill--promoted { background: linear-gradient(135deg, #FFF3E0, #FFE082); color: #E65100; font-weight: 700; }

.btn-promote {
  background: linear-gradient(135deg, #FF6D00, #FFAB00);
  color: #4a2500;
  border: none;
  font-weight: 700;
  border-radius: 8px;
}

.btn-promote:hover {
  filter: brightness(1.05);
  color: #4a2500;
}

/* ——— Buttons / forms ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: var(--radius-sm);
  padding: 0.65rem 1.1rem;
  font-weight: 700;
  font-size: 0.92rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover:not(:disabled) {
  background: var(--primary-dark);
  color: #fff;
}

.btn-secondary {
  background: var(--secondary);
  color: var(--primary);
  border-color: transparent;
}

.btn-secondary:hover:not(:disabled) {
  background: #dcefe4;
  color: var(--primary-dark);
}

.btn-outline {
  background: var(--card-bg);
  border-color: var(--card-border);
  color: var(--ink);
}

.btn-outline:hover:not(:disabled) {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-danger {
  background: #FDECEA;
  color: #C0392B;
  border-color: #F5C6C2;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border-color: transparent;
}

.btn-block {
  width: 100%;
}

.form-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.form-control,
.form-select,
.form-textarea {
  width: 100%;
  border: 1px solid var(--card-border);
  background: var(--input-bg);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.8rem;
  color: var(--ink);
  outline: none;
}

.form-control:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(47, 107, 79, 0.15);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  margin-bottom: 0.9rem;
}

.form-grid {
  display: grid;
  gap: 0.9rem;
}

@media (min-width: 720px) {
  .form-grid.two {
    grid-template-columns: 1fr 1fr;
  }
}

.form-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--ink);
}

.alert {
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.9rem;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.alert-error {
  background: #FDECEA;
  color: #C0392B;
  border: 1px solid #F5C6C2;
}

.alert-success {
  background: var(--secondary);
  color: var(--primary-dark);
  border: 1px solid var(--card-border);
}

.alert-info {
  background: #EEF6FF;
  color: #1E3A5F;
  border: 1px solid #C9DDF5;
}

/* Error toasts — top right */
.toast-stack {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  width: min(22rem, calc(100vw - 1.5rem));
  pointer-events: none;
}

.app-toast {
  pointer-events: auto;
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.85rem 0.95rem;
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(15, 26, 20, 0.18);
  animation: toast-in 0.22s ease-out;
}

.app-toast--error {
  background: #fff;
  border: 1px solid #f0b4ae;
  border-left: 4px solid #c0392b;
  color: #7a1f16;
}

.app-toast__body {
  flex: 1;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
}

.app-toast__close {
  flex-shrink: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.7;
  padding: 0;
}

.app-toast__close:hover {
  opacity: 1;
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(-8px) translateX(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0) translateX(0);
  }
}

.ai-suggest-panel {
  padding: 0.85rem 1rem;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(47, 107, 79, 0.06), rgba(245, 250, 247, 0.9));
}

.ai-suggest-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  margin-bottom: 0.55rem;
}

.ai-suggest-toggle {
  font-weight: 600;
}

.ai-hints-box {
  margin: 0.5rem 0 0.75rem;
  padding-top: 0.5rem;
  border-top: 1px dashed var(--card-border);
}

.ai-hints-help {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.ai-hints-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 0.55rem;
}

.ai-suggest-status {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.35;
}

.ai-suggest-status.busy {
  color: var(--primary-dark);
}

.ai-spinner {
  width: 1rem;
  height: 1rem;
  margin-top: 0.1rem;
  border: 2px solid rgba(47, 107, 79, 0.25);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: ai-spin 0.7s linear infinite;
  flex-shrink: 0;
}

@keyframes ai-spin {
  to { transform: rotate(360deg); }
}

.btn-sm {
  padding: 0.4rem 0.75rem;
  font-size: 0.85rem;
}

/* ——— Auth ——— */
.auth-page {
  min-height: calc(100vh - 140px);
  background: linear-gradient(180deg, var(--login-bg) 0%, var(--page-bg) 55%);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 1.5rem 1rem 2.5rem;
}

.auth-card {
  width: min(440px, 100%);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.auth-hero {
  height: 140px;
  background:
    linear-gradient(180deg, rgba(47, 107, 79, 0.35), rgba(30, 51, 41, 0.55)),
    url("images/login_marketplace_hero.jpg") center/cover no-repeat;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  color: #fff;
}

.auth-body {
  padding: 1.25rem;
}

.auth-actions {
  display: grid;
  gap: 0.55rem;
  margin-top: 1.15rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--card-border);
}

.auth-note {
  margin: 0.85rem 0 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.45;
}

.auth-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.auth-brand img {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  object-fit: cover;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
  margin-bottom: 1rem;
  background: var(--secondary);
  padding: 0.3rem;
  border-radius: var(--radius-sm);
}

.auth-tabs button {
  border: 0;
  background: transparent;
  padding: 0.55rem;
  border-radius: 8px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
}

.auth-tabs button.active {
  background: #fff;
  color: var(--primary);
  box-shadow: var(--shadow);
}

/* ——— Detail ——— */
.detail-layout {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .detail-layout {
    grid-template-columns: 1.4fr 1fr;
    align-items: start;
  }
}

.detail-gallery {
  background: #111;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4 / 3;
}

.detail-gallery img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #111;
}

.gallery-main-btn {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  position: relative;
}

.gallery-zoom-hint {
  position: absolute;
  left: 0.65rem;
  bottom: 0.65rem;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.gallery-main-btn:hover .gallery-zoom-hint,
.gallery-main-btn:focus-visible .gallery-zoom-hint {
  opacity: 1;
}

.gallery-nav {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 0.5rem;
  pointer-events: none;
  z-index: 1;
}

.photo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(8, 12, 10, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 3.5rem;
  cursor: zoom-out;
}

.photo-lightbox__img {
  max-width: min(96vw, 1100px);
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  cursor: default;
}

.photo-lightbox__close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 2.4rem;
  height: 2.4rem;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.photo-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font-size: 1.4rem;
  font-weight: 700;
  cursor: pointer;
  z-index: 2;
}

.photo-lightbox__nav.prev {
  left: 0.75rem;
}

.photo-lightbox__nav.next {
  right: 0.75rem;
}

.photo-lightbox__count {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.45);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
}

.gallery-nav button {
  pointer-events: auto;
  border: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  cursor: pointer;
  font-weight: 700;
}

.gallery-thumbs {
  display: flex;
  gap: 0.45rem;
  margin-top: 0.65rem;
  overflow-x: auto;
}

.gallery-thumbs button {
  border: 2px solid transparent;
  padding: 0;
  border-radius: 8px;
  overflow: hidden;
  width: 64px;
  height: 48px;
  cursor: pointer;
  background: var(--secondary);
  flex-shrink: 0;
}

.gallery-thumbs button.active {
  border-color: var(--primary);
}

.gallery-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-panel {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.1rem;
  box-shadow: var(--shadow);
}

.detail-price {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0.2rem 0;
}

.detail-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.75rem 0;
}

.soft-chip {
  background: var(--secondary);
  color: var(--primary);
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
}

.seller-card {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  background: var(--secondary);
  border-radius: var(--radius-sm);
  padding: 0.8rem;
  margin: 0.9rem 0;
}

.seller-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  flex-shrink: 0;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.btn-show-phone {
  border: 1px solid var(--card-border);
  background: var(--card-bg);
  color: var(--primary-dark);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  line-height: 1.2;
}

.btn-show-phone:hover {
  border-color: var(--primary);
  background: var(--secondary);
}

.seller-phone-revealed {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--secondary);
  border: 1px solid var(--card-border);
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  user-select: all;
}

.specs-list {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
}

.specs-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--card-border);
  font-size: 0.9rem;
}

.specs-list span:first-child {
  color: var(--muted);
  font-weight: 600;
}

.description-html {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink);
}

.description-html p {
  margin: 0 0 0.65rem;
}

.description-html h2,
.description-html h3 {
  margin: 0.85rem 0 0.45rem;
  color: var(--ink);
  line-height: 1.25;
}

.description-html h2 {
  font-size: 1.15rem;
}

.description-html h3 {
  font-size: 1.05rem;
}

.description-html ul,
.description-html ol {
  margin: 0.4rem 0 0.75rem;
  padding-left: 1.35rem;
}

.description-html li {
  margin: 0.2rem 0;
}

.description-html strong,
.description-html b {
  font-weight: 700;
}

.description-html em,
.description-html i {
  font-style: italic;
}

.description-html u {
  text-decoration: underline;
}

.description-html img {
  border-radius: 8px;
  margin: 0.5rem 0;
}

/* ——— Rich text editor (listing description) ——— */
.rte {
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  background: var(--input-bg);
  overflow: hidden;
}

.rte:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(47, 107, 79, 0.15);
}

.rte-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.45rem 0.5rem;
  background: var(--secondary);
  border-bottom: 1px solid var(--card-border);
}

.rte-btn {
  border: 1px solid var(--card-border);
  background: var(--card-bg);
  color: var(--ink);
  border-radius: 8px;
  padding: 0.35rem 0.55rem;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  line-height: 1.2;
}

.rte-btn:hover {
  border-color: var(--primary);
  color: var(--primary-dark);
}

.rte-btn em {
  font-style: italic;
  font-weight: 600;
}

.rte-underline {
  text-decoration: underline;
}

.rte-sep {
  width: 1px;
  align-self: stretch;
  background: var(--card-border);
  margin: 0 0.15rem;
}

.rte-editor {
  min-height: 160px;
  max-height: 420px;
  overflow-y: auto;
  padding: 0.75rem 0.85rem;
  outline: none;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.5;
  word-wrap: break-word;
}

.rte-editor:empty:before {
  content: attr(data-placeholder);
  color: var(--muted);
  pointer-events: none;
}

.rte-editor p {
  margin: 0 0 0.55rem;
}

.rte-editor h2,
.rte-editor h3 {
  margin: 0.7rem 0 0.4rem;
  line-height: 1.25;
}

.rte-editor h2 {
  font-size: 1.15rem;
}

.rte-editor h3 {
  font-size: 1.05rem;
}

.rte-editor ul,
.rte-editor ol {
  margin: 0.35rem 0 0.65rem;
  padding-left: 1.35rem;
}

.rte-editor li {
  margin: 0.15rem 0;
}

.rte-hint {
  margin: 0.4rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

/* ——— Listing form photos ——— */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 0.55rem;
}

.photo-tile {
  position: relative;
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--card-border);
  background: var(--secondary);
}

.photo-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-tile button {
  position: absolute;
  top: 4px;
  right: 4px;
  border: 0;
  background: rgba(192, 57, 43, 0.9);
  color: #fff;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.75rem;
}

.photo-add {
  aspect-ratio: 1;
  border: 1.5px dashed var(--card-border);
  border-radius: 10px;
  background: var(--input-bg);
  display: grid;
  place-items: center;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  text-align: center;
  padding: 0.5rem;
}

.empty-state {
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--muted);
}

.empty-state h3 {
  color: var(--ink);
  margin: 0 0 0.4rem;
}

.loading-block {
  display: grid;
  place-items: center;
  padding: 3rem 1rem;
  color: var(--muted);
}

.spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--card-border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  margin-bottom: 0.75rem;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.load-more {
  display: flex;
  justify-content: center;
  margin-top: 1.25rem;
}

.my-listing-row {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 0.85rem;
  align-items: center;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 0.75rem;
  margin-bottom: 0.75rem;
  box-shadow: var(--shadow);
}

.my-listing-row img {
  width: 88px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
  background: var(--secondary);
}

.my-listing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: flex-end;
}

.promote-pick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
}

.my-listing-row--pick {
  grid-template-columns: 64px 1fr;
  gap: 0.55rem;
  padding: 0.55rem 0.6rem;
  margin-bottom: 0;
  width: 100%;
  appearance: none;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
  background: var(--card-bg);
  border: 2px solid var(--card-border);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.my-listing-row--pick img {
  width: 64px;
  height: 52px;
}

.my-listing-row--pick__body {
  min-width: 0;
}

.my-listing-row--pick__body > div:first-child {
  font-size: 0.82rem;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.my-listing-row--pick .listing-price--card .listing-price__now {
  font-size: 0.88rem;
}

.my-listing-row--pick .listing-price--card .listing-price__was {
  font-size: 0.72rem;
}

.my-listing-row--pick .listing-card__meta {
  font-size: 0.72rem;
}

.my-listing-row--pick .status-pill {
  font-size: 0.65rem;
  padding: 0.12rem 0.38rem;
}

.my-listing-row--pick.selected {
  border-color: #FF9800;
  box-shadow: 0 0 0 2px rgba(255, 152, 0, 0.18), var(--shadow);
}

.my-listing-row--pick:disabled {
  opacity: 0.58;
  cursor: not-allowed;
}

@media (max-width: 900px) {
  .promote-pick-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .promote-pick-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .header-search {
    display: none;
  }

  .header-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
    margin-left: auto;
  }

  .site-header__inner {
    gap: 0.65rem;
  }

  .my-listing-row {
    grid-template-columns: 72px 1fr;
  }

  .my-listing-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}

@media (min-width: 721px) {
  .mobile-drawer {
    display: none !important;
  }
}

/* Blazor defaults */
#blazor-error-ui {
  background: #fff3cd;
  bottom: 0;
  box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
  display: none;
  left: 0;
  padding: 0.6rem 1.25rem 0.7rem 1.25rem;
  position: fixed;
  width: 100%;
  z-index: 1000;
  color: #664d03;
}

#blazor-error-ui .reload {
  margin-left: 0.5rem;
}

#blazor-error-ui .dismiss {
  cursor: pointer;
  position: absolute;
  right: 0.75rem;
  top: 0.5rem;
}

.blazor-error-boundary {
  background: #b32121;
  padding: 1rem 1rem 1rem 1rem;
  color: white;
}

/* ——— Landing page ——— */
.lp-hero {
  position: relative;
  min-height: min(560px, calc(100vh - 72px));
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.lp-hero__atmosphere {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 80% at 85% 20%, rgba(122, 184, 148, 0.28), transparent 55%),
    radial-gradient(ellipse 55% 50% at 10% 90%, rgba(36, 92, 66, 0.55), transparent 50%),
    linear-gradient(135deg, #163528 0%, #245C42 42%, #2F6B4F 72%, #1E4030 100%);
}

.lp-hero__atmosphere::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 20%, transparent 75%);
}

.lp-hero__atmosphere::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -80px;
  bottom: -120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(234, 246, 239, 0.16), transparent 68%);
  animation: lp-float 7s ease-in-out infinite;
}

.lp-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.75rem 1.15rem 3rem;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 1.75rem;
  align-items: center;
}

.lp-hero__copy {
  animation: lp-rise 0.85s ease-out both;
  max-width: 36rem;
}

.lp-hero__logo {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  margin-bottom: 0.85rem;
}

.lp-hero__brand {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: #fff;
}

.lp-hero__headline {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.1rem, 2.1vw, 1.4rem);
  line-height: 1.3;
  color: #EAF6EF;
}

.lp-hero__lead {
  margin: 0 0 1.35rem;
  max-width: 30rem;
  font-size: 1.02rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
}

.lp-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.lp-btn-lg {
  padding: 0.85rem 1.35rem;
  font-weight: 700;
  font-size: 0.98rem;
}

.lp-btn-on-dark {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.lp-btn-on-dark:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

.lp-hero__device {
  justify-self: end;
  animation: lp-rise 1s 0.12s ease-out both;
}

.lp-device {
  position: relative;
  width: min(210px, 58vw);
}

.lp-device__glow {
  position: absolute;
  inset: 8% -18% -8%;
  background: radial-gradient(ellipse at center, rgba(234, 246, 239, 0.35), transparent 70%);
  filter: blur(8px);
  z-index: 0;
  animation: lp-float 5.5s ease-in-out infinite;
}

.lp-device__frame {
  position: relative;
  z-index: 1;
  background: linear-gradient(160deg, #1a2e24 0%, #0f1a14 100%);
  border-radius: 26px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 18px 36px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: rotate(2deg);
  transition: transform 0.35s ease;
}

.lp-device:hover .lp-device__frame {
  transform: rotate(0deg) translateY(-4px);
}

.lp-device__frame img {
  width: 100%;
  border-radius: 18px;
  display: block;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top center;
  background: #0f1a14;
}

/* Shared phone mockups in teach section */
.lp-phone {
  width: min(240px, 68vw);
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.18));
}

.lp-phone--sm {
  width: min(220px, 64vw);
}

.lp-phone__bezel {
  background: #14261c;
  border-radius: 26px;
  padding: 9px;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.lp-phone__bezel img {
  width: 100%;
  border-radius: 18px;
  display: block;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: #0f1a14;
}

.lp-float {
  animation: lp-float 5.5s ease-in-out infinite;
}

.lp-section {
  padding: 4rem 0;
}

.lp-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.15rem;
}

.lp-teach {
  background:
    linear-gradient(180deg, #F5FAF7 0%, #EAF6EF 45%, #F5FAF7 100%);
}

.lp-section__head {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.lp-kicker {
  margin: 0 0 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}

.lp-title {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
}

.lp-sub {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--muted);
}

.lp-teach__row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem 2.75rem;
  align-items: center;
  margin-bottom: 3.25rem;
}

.lp-teach__row:last-child {
  margin-bottom: 0;
}

.lp-teach__row--flip {
  direction: rtl;
}

.lp-teach__row--flip > * {
  direction: ltr;
}

.lp-teach__copy h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
}

.lp-teach__copy p {
  margin: 0 0 0.85rem;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--muted);
  max-width: 34rem;
}

.lp-text-link {
  font-weight: 700;
  color: var(--primary);
}

.lp-text-link:hover {
  color: var(--primary-dark);
}

.lp-how {
  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='%232F6B4F' fill-opacity='0.04'%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"),
    linear-gradient(180deg, #fff 0%, #F5FAF7 100%);
}

.lp-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
  max-width: 42rem;
}

.lp-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
}

.lp-steps__n {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
}

.lp-steps strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  color: var(--ink);
}

.lp-steps p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.lp-cta-band {
  background: linear-gradient(120deg, var(--primary-dark), var(--primary) 55%, #3d8a64);
  color: #fff;
  padding: 3.25rem 0;
}

.lp-cta-band .lp-title,
.lp-cta-band .lp-sub {
  color: #fff;
}

.lp-cta-band .lp-sub {
  opacity: 0.9;
  max-width: 36rem;
}

.lp-cta-band__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.lp-cta-band .btn-outline {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  background: transparent;
}

.lp-cta-band .btn-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.lp-cta-band .btn-primary {
  background: #fff;
  color: var(--primary-dark);
  border-color: #fff;
}

.lp-cta-band .btn-primary:hover {
  background: var(--secondary);
  color: var(--primary-dark);
}

@keyframes lp-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes lp-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes lp-hero-ken {
  from { transform: scale(1.08); }
  to { transform: scale(1.02); }
}

@media (prefers-reduced-motion: reduce) {
  .lp-hero__copy,
  .lp-hero__device,
  .lp-hero__atmosphere::after,
  .lp-device__glow,
  .lp-float {
    animation: none !important;
  }
}

@media (max-width: 900px) {
  .lp-hero__inner {
    grid-template-columns: 1fr;
    padding-top: 2.25rem;
    padding-bottom: 2.25rem;
    gap: 1.5rem;
  }

  .lp-hero {
    min-height: auto;
  }

  .lp-hero__device {
    justify-self: center;
    order: -1;
  }

  .lp-device {
    width: min(168px, 46vw);
  }

  .lp-teach__row,
  .lp-teach__row--flip {
    grid-template-columns: 1fr;
    direction: ltr;
    justify-items: center;
    text-align: left;
  }

  .lp-teach__copy {
    max-width: 36rem;
  }

  .lp-trust__grid {
    grid-template-columns: 1fr;
  }
}

/* ——— Trust / safety (home) ——— */
.lp-trust {
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(47, 107, 79, 0.08), transparent 55%),
    linear-gradient(180deg, #f0f7f3 0%, var(--page-bg) 100%);
}

.lp-trust__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin: 0 0 1.5rem;
}

.lp-trust-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--card-border);
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 8px rgba(47, 107, 79, 0.06);
}

.lp-trust__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.lp-trust-card {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 1.35rem 1.25rem 1.4rem;
  box-shadow: 0 8px 24px rgba(30, 51, 41, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.lp-trust-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(30, 51, 41, 0.1);
}

.lp-trust-card__icon {
  width: 48px;
  height: 48px;
  color: var(--primary);
  margin-bottom: 0.85rem;
}

.lp-trust-card__icon svg {
  width: 100%;
  height: 100%;
}

.lp-trust-card h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--ink);
}

.lp-trust-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* ——— Reviews ——— */
.reviews-section {
  margin-top: 2rem;
  margin-bottom: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--card-border);
}

.reviews-section__head {
  margin-bottom: 1rem;
}

.reviews-section__title {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.reviews-section__sub {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.reviews-section .review-list {
  display: block;
  columns: 2;
  column-gap: 0.85rem;
}

.reviews-section .review-card {
  min-width: 0;
  padding: 0.85rem 0.95rem;
  break-inside: avoid;
  margin-bottom: 0.85rem;
  display: inline-block;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 700px) {
  .reviews-section .review-list {
    columns: 1;
  }
}

.review-form {
  margin-bottom: 1.25rem;
  max-width: 560px;
}

.star-picker {
  display: flex;
  gap: 0.25rem;
}

.star-picker__btn {
  border: 0;
  background: transparent;
  color: #c5d0ca;
  font-size: 1.65rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.1rem 0.15rem;
}

.star-picker__btn.active,
.star-picker__btn:hover {
  color: var(--star);
}

.review-list {
  display: grid;
  gap: 0.75rem;
  align-items: start;
}

.review-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 0.95rem 1rem;
}

.review-card--mine {
  border-color: #b7d8c4;
  background: #f7fcf9;
}

.review-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.review-card__who {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.review-card__name {
  font-weight: 700;
  color: var(--ink);
}

.review-card__stars {
  color: #c5d0ca;
  letter-spacing: 0.05em;
  font-size: 0.95rem;
}

.review-card__stars .on {
  color: var(--star);
}

.review-card__text {
  margin: 0.55rem 0 0;
  color: var(--ink);
  line-height: 1.5;
  font-size: 0.95rem;
}

.review-card__meta {
  margin-top: 0.55rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  color: var(--muted);
  font-size: 0.8rem;
}

.review-card__delete {
  border: 0;
  background: transparent;
  color: var(--verified-red);
  font: inherit;
  font-size: inherit;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}

.review-card__delete:hover {
  text-decoration: underline;
}

.review-card__delete:disabled {
  opacity: 0.6;
  cursor: wait;
}

.review-empty {
  color: var(--muted);
  font-size: 0.92rem;
  padding: 0.75rem 0;
}

.seller-rating-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 1.1rem 1.25rem;
  box-shadow: var(--shadow);
}

.seller-rating-summary__score {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  min-width: 100px;
}

.seller-rating-summary__avg {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}

.seller-rating-summary__count {
  font-size: 0.82rem;
  color: var(--muted);
}

.seller-rating-summary__note {
  margin: 0;
  flex: 1;
  min-width: 200px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}
/* ——— Home page (scoped) ——— */
.home {
  --home-display: "Sora", "Syne", sans-serif;
  --home-body: "DM Sans", "Open Sans", sans-serif;
  font-family: var(--home-body);
  color: var(--ink);
  background: #f3f8f5;
}

.home .home-title,
.home .home-hero__brand,
.home .home-hero__headline,
.home .home-cat strong,
.home .home-trust-card h3,
.home .home-flow-step strong,
.home .home-feat strong {
  font-family: var(--home-display);
}

.home-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.15rem;
}

.home-section {
  padding: 3.25rem 0;
}

.home-head {
  margin-bottom: 1.5rem;
  max-width: 36rem;
}

.home-head--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.home-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
}

.home-title {
  margin: 0 0 0.5rem;
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--ink);
}

.home-sub {
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--muted);
}

/* Hero */
.home-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  min-height: min(520px, calc(100vh - 72px));
  display: flex;
  align-items: center;
}

.home-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 90% 10%, rgba(140, 200, 165, 0.22), transparent 55%),
    linear-gradient(125deg, #132a20 0%, #1f4a35 40%, #2F6B4F 70%, #1a3328 100%);
}

.home-hero__lines {
  position: absolute;
  inset: -20%;
  overflow: hidden;
  opacity: 0.35;
}

.home-hero__lines span {
  position: absolute;
  left: -10%;
  width: 120%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.55), transparent);
  animation: home-line 8s linear infinite;
}

.home-hero__lines span:nth-child(1) { top: 18%; animation-duration: 9s; }
.home-hero__lines span:nth-child(2) { top: 36%; animation-duration: 7s; animation-delay: -2s; }
.home-hero__lines span:nth-child(3) { top: 52%; animation-duration: 10s; animation-delay: -4s; }
.home-hero__lines span:nth-child(4) { top: 68%; animation-duration: 8s; animation-delay: -1s; }
.home-hero__lines span:nth-child(5) { top: 84%; animation-duration: 11s; animation-delay: -3s; }

.home-hero__orbit {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  animation: home-spin 28s linear infinite;
}

.home-hero__orbit--a {
  width: 420px;
  height: 420px;
  right: -80px;
  top: -60px;
}

.home-hero__orbit--b {
  width: 280px;
  height: 280px;
  right: 40px;
  bottom: -90px;
  animation-direction: reverse;
  animation-duration: 22s;
  border-color: rgba(234, 246, 239, 0.12);
}

.home-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.75rem 1.15rem 3rem;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.5rem;
  align-items: center;
}

.home-hero__copy {
  max-width: 34rem;
  animation: home-rise 0.8s ease-out both;
}

.home-hero__brand-row {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 0.85rem;
  margin: 0 0 2.3rem;
  flex-wrap: nowrap;
  max-width: 100%;
}

.home-hero__logo {
  width: 48px !important;
  height: 48px !important;
  max-width: none !important;
  flex: 0 0 48px;
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  object-fit: cover;
}

.home-hero__brand {
  margin: 0;
  padding: 0;
  font-weight: 800;
  font-size: clamp(1.25rem, 2.8vw, 1.85rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  white-space: nowrap;
  flex: 0 1 auto;
  min-width: 0;
}

.home-hero__headline {
  margin: 0 0 0.65rem;
  font-weight: 600;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.35;
  color: #dcefe4;
}

.home-hero__lead {
  margin: 0 0 1.35rem;
  font-size: 1.02rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
  max-width: 30rem;
}

.home-hero__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
}

.home-app-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.home-app-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.85rem 0.45rem 0.65rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(0, 0, 0, 0.28);
  color: #fff;
  text-decoration: none;
  min-width: 9.5rem;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  backdrop-filter: blur(6px);
}

.home-app-btn:hover {
  color: #fff;
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}

.home-app-btn--android:hover {
  background: linear-gradient(135deg, rgba(61, 220, 132, 0.35), rgba(0, 0, 0, 0.35));
}

.home-app-btn--ios:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(0, 0, 0, 0.35));
}

.home-app-btn__icon {
  display: grid;
  place-items: center;
  width: 1.65rem;
  height: 1.65rem;
  flex-shrink: 0;
}

.home-app-btn__icon svg {
  width: 1.45rem;
  height: 1.45rem;
}

.home-app-btn__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
}

.home-app-btn__text small {
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 0.88;
}

.home-app-btn__text strong {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.home-btn {
  padding: 0.8rem 1.25rem;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 10px;
}

.home-btn--ghost {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.home-btn--ghost:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

.home-btn--on-dark {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  background: transparent;
}

.home-btn--on-dark:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

/* Animated market stage */
.home-hero__stage {
  position: relative;
  height: 320px;
  animation: home-rise 1s 0.1s ease-out both;
}

.home-pulse {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 160px;
  height: 160px;
  margin: -80px 0 0 -80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(234, 246, 239, 0.22), transparent 70%);
  animation: home-pulse 3.2s ease-in-out infinite;
}

.home-float {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  color: #eaf6ef;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.home-float svg {
  width: 52px;
  height: 52px;
  padding: 0.65rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.home-float--phone { left: 12%; top: 8%; animation: home-bob 4.5s ease-in-out infinite; }
.home-float--laptop { right: 8%; top: 18%; animation: home-bob 5s 0.4s ease-in-out infinite; }
.home-float--cash { left: 28%; bottom: 18%; animation: home-bob 4.8s 0.8s ease-in-out infinite; }
.home-float--car { right: 22%; bottom: 12%; animation: home-bob 5.2s 0.2s ease-in-out infinite; }
.home-float--zap { left: 48%; top: 36%; animation: home-bob 3.8s 0.6s ease-in-out infinite; }

.home-float--zap svg {
  color: #f0d080;
  border-color: rgba(240, 208, 128, 0.35);
}

.home-float--cash svg {
  color: #b8e0c4;
}

/* Categories */
.home-cats {
  background: #fff;
}

.home-cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.home-cat {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 0.75rem;
  row-gap: 0.15rem;
  align-items: center;
  padding: 1rem 1.05rem;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  background: #f7fbf8;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.home-cat:hover {
  border-color: #9fc4ae;
  background: #fff;
  color: inherit;
  transform: translateY(-2px);
}

.home-cat__icon {
  grid-row: 1 / span 2;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--secondary);
  color: var(--primary);
}

.home-cat__icon svg {
  width: 22px;
  height: 22px;
}

.home-cat strong {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--ink);
}

.home-cat span:last-child {
  font-size: 0.82rem;
  color: var(--muted);
}

/* Trust */
.home-trust {
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(47, 107, 79, 0.07), transparent 60%),
    #f3f8f5;
}

.home-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}

.home-trust-card {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 1.25rem 1.15rem;
}

.home-trust-card__mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--secondary);
  color: var(--primary-dark);
  font-family: var(--home-display);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.home-trust-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.home-trust-card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--muted);
}

/* Cities */
.home-cities {
  background: #fff;
  padding: 2.5rem 0;
}

.home-cities__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
}

.home-city-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.home-city-list a {
  display: inline-flex;
  padding: 0.45rem 0.8rem;
  border-radius: 8px;
  border: 1px solid var(--card-border);
  background: #f7fbf8;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
}

.home-city-list a:hover {
  border-color: var(--primary);
  color: var(--primary-dark);
  background: var(--secondary);
}

/* Flow */
.home-flow {
  background: linear-gradient(180deg, #eef6f1 0%, #f3f8f5 100%);
}

.home-flow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.home-flow-step {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 1.25rem 1.15rem;
}

.home-flow-step__n {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  font-family: var(--home-display);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.7rem;
}

.home-flow-step strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.home-flow-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

/* Features */
.home-features {
  background: #fff;
}

.home-feat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

.home-feat {
  padding: 1.1rem 1rem;
  background: #f7fbf8;
  border-radius: 10px;
}

.home-feat strong {
  display: block;
  font-size: 0.98rem;
  margin-bottom: 0.3rem;
}

.home-feat p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--muted);
}

/* CTA */
.home-cta {
  background: linear-gradient(120deg, #1f4a35, #2F6B4F 55%, #3a7d5a);
  color: #fff;
  padding: 2.75rem 0;
}

.home-cta .home-title,
.home-cta .home-sub {
  color: #fff;
}

.home-cta .home-sub {
  opacity: 0.9;
  max-width: 32rem;
}

.home-cta__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.home-cta .btn-primary {
  background: #fff;
  color: var(--primary-dark);
  border-color: #fff;
}

.home-cta .btn-primary:hover {
  background: var(--secondary);
  color: var(--primary-dark);
}

@keyframes home-line {
  from { transform: translateX(-8%) rotate(-8deg); opacity: 0.2; }
  50% { opacity: 0.7; }
  to { transform: translateX(8%) rotate(-8deg); opacity: 0.2; }
}

@keyframes home-spin {
  to { transform: rotate(360deg); }
}

@keyframes home-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes home-pulse {
  0%, 100% { transform: scale(0.9); opacity: 0.5; }
  50% { transform: scale(1.15); opacity: 1; }
}

@keyframes home-rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero__lines span,
  .home-hero__orbit,
  .home-float,
  .home-pulse {
    animation: none !important;
  }
}

@media (max-width: 900px) {
  .home-hero__inner {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .home-hero__stage {
    height: 240px;
    order: -1;
  }

  .home-float svg {
    width: 44px;
    height: 44px;
    padding: 0.5rem;
  }

  .home-cat-grid,
  .home-trust-grid,
  .home-flow-grid {
    grid-template-columns: 1fr 1fr;
  }

  .home-feat-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .home-cat-grid,
  .home-trust-grid,
  .home-flow-grid,
  .home-feat-grid {
    grid-template-columns: 1fr;
  }

  .home-hero__stage {
    height: 210px;
  }
}
/* ——— Listing detail (home-matched) ——— */
.ld {
  --ld-display: "Sora", "Syne", sans-serif;
  --ld-body: "DM Sans", "Open Sans", sans-serif;
  font-family: var(--ld-body);
  color: var(--ink);
  background: #f3f8f5;
  min-height: 60vh;
  padding-bottom: 3rem;
}

.ld .ld-title,
.ld .ld-h2,
.ld .ld-seller__name,
.ld .ld-kicker,
.ld .ld-review-form__label,
.ld .ld-tip strong {
  font-family: var(--ld-display);
}

.ld-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.15rem;
}

.ld-top {
  background: #fff;
  border-bottom: 1px solid var(--card-border);
  padding: 0.85rem 0;
}

.ld-top__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
}

.ld-back {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary);
  text-decoration: none;
}

.ld-back:hover {
  color: var(--primary-dark);
}

.ld-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  font-size: 0.85rem;
  color: var(--muted);
}

.ld-main {
  display: grid;
  grid-template-columns: 1.35fr 0.75fr;
  gap: 1.75rem;
  align-items: start;
  margin-top: 1.5rem;
}

.ld-media {
  min-width: 0;
}

.ld-gallery {
  position: relative;
  background: #1a2e24;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 10px 28px rgba(30, 51, 41, 0.1);
}

.ld-gallery__main {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  position: relative;
}

.ld-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ld-gallery__hint {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  padding: 0.3rem 0.6rem;
  border-radius: 8px;
  background: rgba(15, 26, 20, 0.65);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.ld-gallery__main:hover .ld-gallery__hint {
  opacity: 1;
}

.ld-gallery__nav {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 0.65rem;
  pointer-events: none;
}

.ld-gallery__nav button {
  pointer-events: auto;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.ld-gallery__count {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  padding: 0.25rem 0.55rem;
  border-radius: 8px;
  background: rgba(15, 26, 20, 0.65);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
}

.ld-gallery__empty {
  height: 100%;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 600;
}

.ld-thumbs {
  display: flex;
  gap: 0.45rem;
  margin-top: 0.65rem;
  overflow-x: auto;
  padding-bottom: 0.15rem;
}

.ld-thumbs button {
  flex: 0 0 64px;
  height: 52px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
}

.ld-thumbs button.active {
  border-color: var(--primary);
}

.ld-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ld-block {
  margin-top: 1.5rem;
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 1.25rem 1.2rem;
}

.ld-title {
  margin: 0 0 0.45rem;
  font-weight: 700;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink);
}

.ld-meta {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}

.ld-status {
  font-weight: 700;
  color: var(--primary-dark);
}

.ld-status--sold,
.ld-status--paused,
.ld-status--expired {
  color: #9a6b2f;
}

.ld-h2 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.ld-description {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--ink);
}

.ld-description p {
  margin: 0 0 0.75rem;
}

.ld-description p:last-child {
  margin-bottom: 0;
}

.ld-specs {
  margin: 0;
  display: grid;
  gap: 0.55rem;
}

.ld-specs > div {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 0.75rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid #e8f0eb;
  font-size: 0.92rem;
}

.ld-specs > div:last-child {
  border-bottom: 0;
}

/* House for sale / house to rent / room to rent: two feature columns */
.ld-specs--property {
  grid-template-columns: 1fr 1fr;
  column-gap: 1.5rem;
  row-gap: 0;
}

.ld-specs--property > div {
  grid-template-columns: minmax(6.5rem, 1fr) auto;
  align-items: baseline;
  gap: 0.65rem;
}

.ld-specs--property > div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.ld-specs > div.ld-specs__wide {
  grid-column: 1 / -1;
  grid-template-columns: 8.5rem 1fr;
  align-items: start;
}

.ld-specs--property > div.ld-specs__wide {
  grid-template-columns: 8.5rem 1fr;
}

.ld-description--inline {
  margin: 0;
  font-weight: 500;
  line-height: 1.55;
}

.ld-description--inline p:last-child {
  margin-bottom: 0;
}

.ld-specs dt {
  margin: 0;
  color: var(--muted);
  font-weight: 500;
}

.ld-specs dd {
  margin: 0;
  font-weight: 600;
  color: var(--ink);
}

.ld-side {
  position: sticky;
  top: 5.5rem;
  display: grid;
  gap: 0.85rem;
}

.ld-buybox {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 1.25rem 1.2rem;
  box-shadow: 0 8px 24px rgba(30, 51, 41, 0.06);
}

.ld-price .listing-price__now {
  font-family: var(--ld-display);
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.ld-buybox__loc {
  margin: 0.35rem 0 0.85rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.ld-expiry {
  margin: -0.35rem 0 0.85rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #E53935;
}

.ld-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.ld-tag {
  display: inline-flex;
  padding: 0.3rem 0.65rem;
  border-radius: 8px;
  background: #f0f7f3;
  border: 1px solid var(--card-border);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.ld-tag--drop {
  background: #fff4f0;
  border-color: #f0cfc4;
  color: #c44a2f;
}

.ld-seller {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  padding: 0.85rem 0;
  border-top: 1px solid #e8f0eb;
  border-bottom: 1px solid #e8f0eb;
  margin-bottom: 0.75rem;
}

.ld-seller__avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--secondary);
  color: var(--primary-dark);
  font-family: var(--ld-display);
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.ld-seller__name {
  font-weight: 700;
  font-size: 0.98rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.ld-seller__since {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.1rem;
}

.ld-seller__meta {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.15rem;
}

.ld-link {
  display: inline-block;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--primary);
  text-decoration: none;
  margin-bottom: 0.95rem;
}

.ld-link:hover {
  color: var(--primary-dark);
}

.ld-share-buttons {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  margin-bottom: 0.95rem;
}

.ld-share-fb,
.ld-share-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  flex: 1 1 0;
  min-width: 0;
  padding: 0.55rem 0.45rem;
  font-weight: 700;
  font-size: 0.78rem;
  color: #fff;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  border-radius: 10px;
  transition: background 0.15s ease;
}

.ld-share-fb {
  background: #1877F2;
}

.ld-share-fb:hover {
  color: #fff;
  background: #166FE5;
}

.ld-share-wa {
  background: #25D366;
}

.ld-share-wa:hover {
  color: #fff;
  background: #20BD5A;
}

.ld-share-fb__icon,
.ld-share-wa__icon {
  display: inline-flex;
  width: 1.1rem;
  height: 1.1rem;
}

.ld-share-fb__icon svg,
.ld-share-wa__icon svg {
  width: 100%;
  height: 100%;
}

.ld-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.ld-btn {
  flex: 1 1 auto;
  justify-content: center;
  min-width: 7rem;
  font-weight: 700;
  border-radius: 10px;
}

.ld-phone {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.85rem;
  border-radius: 10px;
  background: #f0f7f3;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
}

.ld-owner {
  margin-top: 0.35rem;
  padding-top: 0.85rem;
  border-top: 1px solid #e8f0eb;
}

.ld-owner__label {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.ld-owner-promo {
  margin-bottom: 0.85rem;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  border: 1px solid var(--card-border);
  background: var(--secondary);
}

.ld-owner-promo--premium {
  border-color: rgba(171, 71, 188, 0.45);
  background: linear-gradient(135deg, rgba(243, 229, 245, 0.9), rgba(255, 255, 255, 0.95));
}

.ld-owner-promo--featured {
  border-color: rgba(255, 109, 0, 0.45);
  background: linear-gradient(135deg, rgba(255, 243, 224, 0.95), rgba(255, 255, 255, 0.95));
}

.ld-owner-promo--boost {
  border-color: rgba(0, 137, 123, 0.4);
  background: linear-gradient(135deg, rgba(224, 242, 241, 0.95), rgba(255, 255, 255, 0.95));
}

.ld-owner-promo__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.4rem;
}

.ld-owner-promo__title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
}

.ld-owner-promo__until {
  margin: 0 0 0.65rem;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--muted);
}

.ld-owner-promo__until strong {
  color: var(--ink);
}

.ld-owner-promo__extend {
  width: 100%;
  text-align: center;
  justify-content: center;
}

.ld-tip {
  background: linear-gradient(135deg, #eef6f1, #f7fbf8);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 1rem 1.05rem;
}

.ld-tip strong {
  display: block;
  font-size: 0.88rem;
  margin-bottom: 0.3rem;
  color: var(--primary-dark);
}

.ld-tip p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--muted);
}

.ld-reviews {
  margin-top: 2.5rem;
  padding: 2.25rem 0 2.5rem;
  border-top: 1px solid var(--card-border);
  background: #fff;
}

.ld-reviews__head {
  margin-bottom: 1.25rem;
  max-width: 36rem;
}

.ld-kicker {
  margin: 0 0 0.3rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
}

.ld-reviews__sub {
  margin: 0.35rem 0 0;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.45;
}

.ld-review-form {
  max-width: 560px;
  background: #f7fbf8;
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 1.15rem 1.1rem;
  margin-bottom: 1.25rem;
}

.ld-reviews .review-list {
  max-width: 560px;
}

.ld-reviews .review-card {
  padding: 1.15rem 1.1rem;
  border-radius: 14px;
}

.ld-review-form__label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  margin: 0.75rem 0 0.4rem;
  color: var(--ink);
}

.ld-review-form__label:first-child {
  margin-top: 0;
}

@media (max-width: 900px) {
  .ld-main {
    grid-template-columns: 1fr;
  }

  .ld-side {
    position: static;
    order: -1;
  }

  .ld-gallery {
    aspect-ratio: 1 / 1;
  }

  .ld-specs > div {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }

  .ld-specs > div.ld-specs__wide,
  .ld-specs--property > div.ld-specs__wide {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .ld-specs > div.ld-specs__wide dt,
  .ld-specs--property > div.ld-specs__wide dt {
    color: var(--ink);
    font-weight: 700;
    font-size: 0.88rem;
  }

  .ld-specs > div.ld-specs__wide dd,
  .ld-specs--property > div.ld-specs__wide dd {
    width: 100%;
  }

  .ld-specs--property {
    grid-template-columns: 1fr 1fr;
  }

  .ld-specs--property > div {
    grid-template-columns: minmax(5.5rem, 1fr) auto;
    gap: 0.45rem;
  }
}

@media (max-width: 560px) {
  .ld-specs--property {
    grid-template-columns: 1fr;
  }

  .ld-specs--property > div {
    grid-template-columns: minmax(7rem, 1.2fr) auto;
    gap: 0.55rem;
  }

  .ld-specs--property > div:nth-last-child(-n + 2) {
    border-bottom: 1px solid #e8f0eb;
  }

  .ld-specs--property > div:last-child {
    border-bottom: 0;
  }
}

/* ——— Ad promotions ——— */
.page-hero-bar--promote {
  background: linear-gradient(135deg, #1a3d2e 0%, #2F6B4F 40%, #3d8a66 100%);
}

.promote-page {
  padding-bottom: 2.5rem;
}

.promote-section {
  margin-top: 1.75rem;
}

.promote-section__title {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.85rem;
  color: var(--primary);
}

.promote-plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0.85rem;
}

.promote-plan {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  text-align: left;
  background: var(--card-bg);
  border: 2px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1rem;
  cursor: pointer;
  transition: border-color 0.15s ease, transform 0.15s ease;
  min-height: 100%;
}

.promote-plan:hover {
  transform: translateY(-2px);
}

.promote-plan.selected {
  border-color: #FF9800;
  box-shadow: 0 0 0 3px rgba(255, 152, 0, 0.15);
}

.promote-plan--premium.selected { border-color: #AB47BC; box-shadow: 0 0 0 3px rgba(171, 71, 188, 0.15); }
.promote-plan--featured.selected { border-color: #FF9800; }
.promote-plan--boost.selected { border-color: #00897B; box-shadow: 0 0 0 3px rgba(0, 137, 123, 0.15); }

.promote-plan__tier {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #E65100;
}

.promote-plan--boost .promote-plan__tier { color: #00695C; }
.promote-plan--premium .promote-plan__tier { color: #7B1FA2; }

.promote-plan__name {
  font-weight: 800;
  font-size: 1rem;
  color: var(--text);
}

.promote-plan__desc {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.4;
  flex: 1;
}

.promote-plan__price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  margin-top: 0.35rem;
}

.promote-pay-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0 0 0.75rem;
}

.promote-pay-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
}

.promote-pay-method {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  gap: 0.15rem 0.65rem;
  align-items: center;
  padding: 0.85rem 1rem;
  border: 2px solid var(--card-border);
  border-radius: var(--radius);
  background: var(--card-bg);
  cursor: pointer;
}

.promote-pay-method input {
  grid-row: 1 / span 2;
}

.promote-pay-method.selected {
  border-color: var(--primary);
  background: #f4faf7;
}

.promote-pay-method__icon {
  font-size: 1.25rem;
}

.promote-pay-method__label {
  font-weight: 700;
}

.promote-pay-method__hint {
  grid-column: 2;
  font-size: 0.78rem;
  color: var(--muted);
}

.promote-checkout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding: 1rem 1.15rem;
  background: var(--secondary);
  border-radius: var(--radius);
  border: 1px solid var(--card-border);
}

.promote-checkout__summary {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.promote-checkout__summary span {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary);
}

.promote-checkout__btn {
  min-width: 180px;
  font-weight: 700;
  padding: 0.7rem 1.25rem;
}

.promote-success {
  text-align: center;
  max-width: 480px;
  margin: 2rem auto;
  padding: 2rem 1.5rem;
  background: var(--card-bg);
  border-radius: var(--radius);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow);
}

.promote-success__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF6D00, #FFAB00);
  color: #fff;
  font-size: 1.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.promote-success__ref {
  font-size: 0.82rem;
  color: var(--muted);
}

.promote-success__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin-top: 1.25rem;
}

.promotions-heading {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
  color: var(--primary);
}

.promotions-heading--spaced {
  margin-top: 1.75rem;
}

.promotion-row {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 0.85rem;
  align-items: center;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 0.75rem;
  margin-bottom: 0.75rem;
  box-shadow: var(--shadow);
}

.promotion-row--active {
  border-color: #FFB300;
  box-shadow: 0 2px 12px rgba(255, 152, 0, 0.15), var(--shadow);
}

.promotion-row img {
  width: 88px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
  background: var(--secondary);
}

.promotion-row__title {
  font-weight: 700;
}

.promotion-row__plan {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.2rem;
  font-size: 0.85rem;
}

.promotion-row__meta {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.promotion-row__live {
  color: #E65100;
  font-weight: 600;
}

.promotion-row__ref {
  font-family: ui-monospace, monospace;
  font-size: 0.72rem;
}

.promotion-row__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

@media (max-width: 640px) {
  .promotion-row {
    grid-template-columns: 72px 1fr;
  }

  .promotion-row__actions {
    grid-column: 1 / -1;
  }
}

.share-page-body {
  margin: 0;
  font-family: "Segoe UI", system-ui, sans-serif;
  background: #f4f8f5;
  color: #1a2e24;
}

.share-page {
  max-width: 480px;
  margin: 0 auto;
  padding: 1rem 1rem 2rem;
}

.share-page__card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(36, 84, 62, 0.08);
}

.share-page__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  background: #e8f0eb;
}

.share-page__body {
  padding: 1rem 1.1rem 1.25rem;
}

.share-page__title {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
  line-height: 1.25;
}

.share-page__price {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #24543e;
}

.share-page__expiry {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #E53935;
}

.share-page__actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.share-page__actions--apps .home-app-btn {
  width: 100%;
}

.share-page__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
}

.share-page__btn--primary {
  background: #2F6B4F;
  color: #fff;
}

.share-page__brand {
  margin: 1rem 0 0;
  text-align: center;
  font-size: 0.82rem;
  color: #5f7368;
}
