/* ── GOOGLE FONTS ───────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Source+Sans+3:wght@300;400;500;600;700&display=swap');

/* ── CSS VARIABLES ──────────────────────────────────────────── */
:root {
  --dark:        #2B3330;
  --dark-2:      #3D4A46;
  --dark-3:      #4A5850;
  --cream:       #F2F0EA;
  --cream-dk:    #E8E4D8;
  --white:       #ffffff;
  --gold:        #C8A84B;
  --gold-lt:     #DFC06A;
  --red:         #5C7A6E;
  --red-lt:      #7A9A8C;
  --text:        #1E2320;
  --text-mid:    #3D4A46;
  --text-muted:  #6B7A72;
  --border:      #D4D0C4;
  --border-lt:   #E8E4DA;
  --shadow-sm:   0 1px 4px rgba(0,0,0,0.10);
  --shadow-md:   0 4px 18px rgba(0,0,0,0.11);
  --shadow-lg:   0 10px 40px rgba(0,0,0,0.13);
  --radius:      3px;
  --transition:  0.22s ease;
}

/* ── RESET ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Source Sans 3', system-ui, sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── UTILITIES ──────────────────────────────────────────────── */
.container   { max-width: 1320px; margin: 0 auto; padding: 0 1.5rem; }
.visually-hidden { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); }
.badge        { display: inline-block; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.08em;
                text-transform: uppercase; padding: 0.2rem 0.55rem; border-radius: 2px; }
.badge-avail  { background: #1a4731; color: #8fd6a7; }
.badge-sold   { background: #2a1a1a; color: #c78080; }
.badge-rsrv   { background: #2a2410; color: #c9a84c; }
.badge-poa    { background: #1c1e2a; color: #8090c4; }

/* ── SCROLLBAR ──────────────────────────────────────────────── */
::-webkit-scrollbar { width: 7px; }
::-webkit-scrollbar-track { background: var(--dark-2); }
::-webkit-scrollbar-thumb { background: var(--dark-3); border-radius: 0; }

/* ══════════════════════════════════════════════════════════════
   HEADER
══════════════════════════════════════════════════════════════ */
.site-topbar {
  background: var(--dark);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 0.45rem 0;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.topbar-left {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.04em;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
}
.topbar-right a { transition: color var(--transition); }
.topbar-right a:hover { color: var(--gold-lt); }
.topbar-trust { display: flex; gap: 1.4rem; }
.topbar-trust span { display: flex; align-items: center; gap: 0.35rem; }
.topbar-trust span::before { content: '✓'; color: var(--gold); font-size: 0.75rem; }

.site-header {
  background: var(--dark-2);
  padding: 0.9rem 0;
  position: sticky;
  top: 0;
  z-index: 200;
  border-bottom: 2px solid var(--red);
  box-shadow: 0 2px 20px rgba(0,0,0,0.35);
}
.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
}

/* Logo */
@keyframes reveal-ltr {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0% 0 0); }
}
@keyframes sub-open {
  from { opacity: 0; letter-spacing: 0.6em; }
  to   { opacity: 1; letter-spacing: 0.35em; }
}
.site-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  white-space: nowrap;
}
.logo-main {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.logo-war {
  display: inline-block;
  color: var(--white);
  animation: reveal-ltr 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.05s;
}
.logo-sales {
  display: inline-block;
  color: var(--gold);
  animation: reveal-ltr 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.45s;
}
.logo-sub {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-top: 0.18rem;
  animation: sub-open 0.7s ease both;
  animation-delay: 0.95s;
}

/* Search */
.header-search { position: relative; }
.header-search input {
  width: 100%;
  padding: 0.65rem 1rem 0.65rem 2.8rem;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  color: var(--white);
  font-family: inherit;
  font-size: 0.9rem;
  transition: border-color var(--transition), background var(--transition);
  outline: none;
}
.header-search input::placeholder { color: rgba(255,255,255,0.32); }
.header-search input:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,0.11);
}
.search-icon {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,0.35);
  font-size: 0.95rem;
  pointer-events: none;
}

/* Header actions */
.header-actions { display: flex; align-items: center; gap: 0.6rem; }
.btn-header-ghost {
  padding: 0.5rem 1rem;
  border: 1px solid rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.8);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  border-radius: var(--radius);
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-header-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-lt);
}
.btn-header-solid {
  padding: 0.5rem 1.1rem;
  background: var(--gold);
  color: var(--dark);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  border-radius: var(--radius);
  transition: background var(--transition);
  white-space: nowrap;
}
.btn-header-solid:hover { background: var(--gold-lt); }
.header-username {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  white-space: nowrap;
}
.header-username strong { color: var(--gold-lt); }

/* Category nav */
.cat-nav {
  background: var(--dark-3);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.cat-nav-inner {
  display: flex;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
  gap: 0;
}
.cat-nav-inner::-webkit-scrollbar { display: none; }
.cat-nav-link {
  display: block;
  padding: 0.72rem 1.15rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  white-space: nowrap;
  border-right: 1px solid rgba(255,255,255,0.06);
  transition: color var(--transition), background var(--transition);
  position: relative;
}
.cat-nav-link:first-child { border-left: 1px solid rgba(255,255,255,0.06); }
.cat-nav-link:hover { color: var(--white); background: rgba(255,255,255,0.05); }
.cat-nav-link.active { color: var(--gold-lt); }
.cat-nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
}
.cat-nav-count {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.28);
  margin-left: 0.3rem;
  font-weight: 400;
}

/* ══════════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════════ */
.hero {
  background: var(--dark);
  padding: 4.5rem 0;
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid var(--red);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(92,122,110,0.12) 0%, transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M0 0h60v60H0z' fill='none'/%3E%3Ccircle cx='30' cy='30' r='0.8' fill='rgba(255,255,255,0.035)'/%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.hero-eyebrow::before, .hero-eyebrow::after {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--gold);
  opacity: 0.6;
}
.hero-title {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 1.2rem;
}
.hero-title em { font-style: italic; color: var(--gold-lt); }
.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.58);
  max-width: 46ch;
  margin-bottom: 2rem;
  line-height: 1.75;
}
.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.hero-stat-num {
  font-family: 'Libre Baskerville', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-lt);
  line-height: 1;
  display: block;
}
.hero-stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0.2rem;
  display: block;
}
.hero-actions { display: flex; gap: 1rem; }
.btn-primary {
  padding: 0.75rem 1.8rem;
  background: var(--gold);
  color: var(--dark);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition);
  border: 2px solid var(--gold);
}
.btn-primary:hover { background: var(--gold-lt); border-color: var(--gold-lt); transform: translateY(-1px); }
.btn-outline {
  padding: 0.75rem 1.8rem;
  background: transparent;
  color: rgba(255,255,255,0.75);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 2px solid rgba(255,255,255,0.22);
  transition: all var(--transition);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold-lt); }

/* Hero image side */
.hero-image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 0.5rem;
}
.hero-img-main {
  grid-column: 1 / -1;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16/7;
}
.hero-img-main img, .hero-img-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.hero-img-main:hover img, .hero-img-thumb:hover img { transform: scale(1.04); }
.hero-img-thumb {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
}
.hero-img-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.72));
  color: rgba(255,255,255,0.85);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 1rem 0.7rem 0.5rem;
}

/* ══════════════════════════════════════════════════════════════
   TRUST BAR
══════════════════════════════════════════════════════════════ */
.trust-bar {
  background: var(--dark-2);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 1rem 0;
}
.trust-bar-inner {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.03em;
}
.trust-item-icon { font-size: 1rem; }

/* ══════════════════════════════════════════════════════════════
   SECTION HEADERS
══════════════════════════════════════════════════════════════ */
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--border);
}
.section-title {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
}
.section-title span {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}
.section-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color var(--transition);
}
.section-link:hover { color: var(--gold-lt); }

/* ══════════════════════════════════════════════════════════════
   CATEGORY TILES
══════════════════════════════════════════════════════════════ */
.categories { padding: 3rem 0 2.5rem; }
.cat-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.75rem;
}
.cat-tile {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
  background: var(--dark-3);
}
.cat-tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.4s ease;
  filter: brightness(0.65) saturate(0.8);
}
.cat-tile:hover img { transform: scale(1.07); filter: brightness(0.55) saturate(0.9); }
.cat-tile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.1) 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0.85rem;
}
.cat-tile-name {
  font-family: 'Libre Baskerville', serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 0.2rem;
}
.cat-tile-count {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.04em;
}
.cat-tile-line {
  position: absolute;
  bottom: 0; left: 0;
  height: 2px;
  width: 0;
  background: var(--gold);
  transition: width 0.4s ease;
}
.cat-tile:hover .cat-tile-line { width: 100%; }

/* ══════════════════════════════════════════════════════════════
   PRODUCT GRID
══════════════════════════════════════════════════════════════ */
.products-section { padding: 2.5rem 0; }
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.product-card {
  background: var(--white);
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition);
  position: relative;
}
.product-card:hover { z-index: 2; box-shadow: var(--shadow-lg); }

.product-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--cream-dk);
}
.product-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.product-card:hover .product-img-wrap img { transform: scale(1.05); }

.product-badge-wrap {
  position: absolute;
  top: 0.6rem; left: 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.product-cat-tag {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(22,20,18,0.82);
  color: rgba(255,255,255,0.8);
  padding: 0.2rem 0.5rem;
  backdrop-filter: blur(4px);
}

.product-wishlist {
  position: absolute;
  top: 0.6rem; right: 0.6rem;
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(22,20,18,0.6);
  color: rgba(255,255,255,0.5);
  border-radius: 50%;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition);
  backdrop-filter: blur(4px);
}
.product-wishlist:hover { background: var(--red); color: var(--white); }

.product-info {
  padding: 0.85rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  border-top: 1px solid var(--border-lt);
}
.product-title {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
  margin-bottom: 0.35rem;
  transition: color var(--transition);
}
.product-card:hover .product-title { color: var(--gold); }
.product-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: auto;
  padding-bottom: 0.75rem;
}
.product-meta {
  margin-top: 0.75rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--border-lt);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.5rem;
}
.product-dealer {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}
.product-dealer strong { color: var(--text-mid); font-weight: 600; }
.product-price {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
}
.product-price .price-alt {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--text-muted);
  display: block;
  text-align: right;
}

/* ══════════════════════════════════════════════════════════════
   DEALER STRIP
══════════════════════════════════════════════════════════════ */
.dealer-strip { background: var(--cream-dk); padding: 2.5rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.dealer-strip-inner { display: flex; align-items: center; justify-content: center; gap: 3.5rem; flex-wrap: wrap; }
.dealer-stat { text-align: center; }
.dealer-stat-num {
  font-family: 'Libre Baskerville', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  display: block;
}
.dealer-stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 0.3rem;
  display: block;
}
.dealer-divider {
  width: 1px;
  height: 44px;
  background: var(--border);
}

/* ══════════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.55);
  padding: 4rem 0 0;
  margin-top: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand { font-family: 'Libre Baskerville', serif; font-size: 1.4rem; color: var(--white); margin-bottom: 0.8rem; }
.footer-brand span { color: var(--gold); }
.footer-about { font-size: 0.88rem; line-height: 1.75; max-width: 30ch; margin-bottom: 1.2rem; }
.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-lt);
  margin-bottom: 1.2rem;
}
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul a { font-size: 0.88rem; transition: color var(--transition); }
.footer-col ul a:hover { color: var(--white); }
.footer-contact-item { font-size: 0.85rem; margin-bottom: 0.5rem; display: flex; gap: 0.5rem; align-items: flex-start; }
.footer-bottom {
  padding: 1.2rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.28);
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { transition: color var(--transition); }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.6); }

/* ══════════════════════════════════════════════════════════════
   FORMS (login, register, account)
══════════════════════════════════════════════════════════════ */
.auth-page { min-height: 100vh; display: flex; flex-direction: column; background: var(--cream); }
.auth-page .site-header { position: static; }

.auth-wrap {
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 4rem 1.5rem;
  background: var(--cream);
}
.auth-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem 2.5rem 3rem;
  width: 100%;
  max-width: 440px;
  box-shadow: var(--shadow-md);
}
.auth-card-title {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.4rem;
}
.auth-card-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-lt);
}
.auth-card-sub a { color: var(--red); font-weight: 600; }
.auth-card-sub a:hover { text-decoration: underline; }

.form-group { margin-bottom: 1.2rem; }
.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-mid);
  margin-bottom: 0.4rem;
  letter-spacing: 0.03em;
}
.form-input {
  width: 100%;
  padding: 0.72rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(92,122,110,0.15);
}
.form-input::placeholder { color: var(--text-muted); }
.form-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
}
.form-error {
  font-size: 0.78rem;
  color: var(--red-lt);
  margin-top: 0.3rem;
  font-weight: 500;
}

.btn-form {
  width: 100%;
  padding: 0.8rem 1.5rem;
  background: var(--red);
  color: var(--white);
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: background var(--transition);
  margin-top: 0.5rem;
  cursor: pointer;
}
.btn-form:hover { background: var(--red-lt); }

.alert {
  padding: 0.8rem 1rem;
  border-radius: var(--radius);
  font-size: 0.87rem;
  font-weight: 500;
  margin-bottom: 1.2rem;
}
.alert-error { background: #fef2f2; color: #7a1c1c; border: 1px solid #f8c4c4; }
.alert-success { background: #f0faf4; color: #1a4731; border: 1px solid #b4e4c8; }
.notice-prohibited { background: #fffbeb; border-left: 4px solid #f59e0b; border-radius: var(--radius); padding: 14px 18px; margin-bottom: 24px; font-size: 0.9rem; color: #78350f; }
.notice-prohibited strong { display: block; margin-bottom: 4px; font-size: 0.95rem; }
.notice-prohibited p { margin: 0; }

/* ══════════════════════════════════════════════════════════════
   ACCOUNT PORTAL
══════════════════════════════════════════════════════════════ */
.account-page { min-height: 100vh; background: var(--cream); }
.account-header-bar {
  background: var(--dark-2);
  padding: 2rem 0;
  border-bottom: 2px solid var(--red);
}
.account-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.account-greeting {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.7rem;
  color: var(--white);
  font-weight: 700;
}
.account-greeting span { font-style: italic; color: var(--gold-lt); }
.account-meta {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.42);
  margin-top: 0.25rem;
  letter-spacing: 0.04em;
}
.btn-logout {
  padding: 0.5rem 1.1rem;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.65);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-logout:hover { border-color: var(--gold); color: var(--gold-lt); }

.account-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2rem;
  padding: 2.5rem 0;
  align-items: start;
}
.account-sidebar {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.sidebar-nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.2rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-mid);
  border-bottom: 1px solid var(--border-lt);
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.02em;
}
.sidebar-nav-item:last-child { border-bottom: none; }
.sidebar-nav-item:hover { background: var(--cream); color: var(--text); }
.sidebar-nav-item.active { background: var(--red); color: var(--white); }
.sidebar-nav-item .nav-icon { font-size: 1rem; opacity: 0.7; }

.account-main { display: flex; flex-direction: column; gap: 1.5rem; }

.account-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.account-card-header {
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid var(--border-lt);
  background: var(--cream);
}
.account-card-title {
  font-family: 'Libre Baskerville', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}
.account-card-body { padding: 1.5rem; }
.ml-tab-active {
  color: var(--gold) !important;
  border-bottom-color: var(--gold) !important;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.stat-box {
  background: var(--white);
  padding: 1.5rem;
  text-align: center;
}
.stat-box-num {
  font-family: 'Libre Baskerville', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  display: block;
}
.stat-box-label {
  font-size: 0.74rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0.4rem;
  display: block;
}

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-lt);
  font-size: 0.9rem;
}
.info-row:last-child { border-bottom: none; padding-bottom: 0; }
.info-label { color: var(--text-muted); font-weight: 500; }
.info-value { color: var(--text); font-weight: 600; }

/* Password strength meter */
.strength-bar { display: flex; gap: 3px; margin-top: 0.4rem; }
.strength-seg {
  flex: 1; height: 3px; background: var(--border);
  border-radius: 2px; transition: background 0.3s;
}
.strength-seg.filled-weak   { background: #e04040; }
.strength-seg.filled-medium { background: #e0a040; }
.strength-seg.filled-strong { background: #40a060; }
.strength-label { font-size: 0.72rem; color: var(--text-muted); margin-top: 0.3rem; }

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-image-grid { display: none; }
}
@media (max-width: 800px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .header-inner { grid-template-columns: auto 1fr; }
  .header-actions { display: none; }
  .account-layout { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .product-grid { grid-template-columns: 1fr 1fr; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { gap: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .auth-card { padding: 1.5rem; }
  .trust-bar-inner { gap: 1.2rem; }
}

/* ══════════════════════════════════════════════════════════════
   HERO BAR (WarSales marketplace)
══════════════════════════════════════════════════════════════ */
.hero-bar {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  border-bottom: 3px solid var(--gold);
  padding: 3rem 0 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Ccircle cx='30' cy='30' r='0.7' fill='rgba(200,168,75,0.06)'/%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-bar-inner { position: relative; }
.hero-bar-tagline {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.7rem;
  opacity: 0.8;
}
.hero-bar-title {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.4rem;
  line-height: 1.2;
}
.hero-bar-title em { font-style: italic; color: var(--gold-lt); }
.hero-bar-sub {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 1.8rem;
}
.btn-post-listing {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 1rem 2.6rem;
  background: var(--gold);
  color: var(--dark);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.04em;
  border-radius: var(--radius);
  border: 2px solid var(--gold);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 24px rgba(200,168,75,0.4);
}
.btn-post-listing:hover {
  background: var(--gold-lt);
  border-color: var(--gold-lt);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(200,168,75,0.5);
}
.btn-post-listing-icon { font-size: 1.25rem; line-height: 1; }

/* ══════════════════════════════════════════════════════════════
   AD SLOTS
══════════════════════════════════════════════════════════════ */
.ad-section {
  display: flex;
  justify-content: center;
  padding: 1rem 0;
  background: var(--dark);
}
.ad-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.02);
  border: 1px dashed rgba(255,255,255,0.10);
  border-radius: var(--radius);
  position: relative;
  color: rgba(255,255,255,0.15);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}
.ad-slot::before {
  content: 'Advertisement';
  position: absolute;
  top: 0.35rem;
  left: 0.6rem;
  font-size: 0.58rem;
  color: rgba(255,255,255,0.1);
  letter-spacing: 0.18em;
}
.ad-leaderboard { width: 100%; max-width: 728px; height: 90px; }
.ad-footer-bar  { width: 100%; max-width: 970px; height: 90px; }
.ad-inline-wrap {
  grid-column: 1 / -1;
  padding: 0.75rem 0;
}
.ad-banner-strip {
  width: 100%;
  height: 90px;
  background: var(--dark-2);
  border: 1px dashed rgba(255,255,255,0.08);
  border-radius: var(--radius);
}

/* ══════════════════════════════════════════════════════════════
   LISTING CARDS (marketplace style)
══════════════════════════════════════════════════════════════ */
.listing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.listing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 1px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
  cursor: pointer;
}
.listing-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.listing-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--cream-dk);
}
.listing-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.listing-card:hover .listing-img-wrap img { transform: scale(1.04); }
.listing-no-img {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 2.5rem;
  background: var(--cream-dk);
}
.listing-status-badge {
  position: absolute;
  top: 0.55rem;
  left: 0.55rem;
}
.listing-info {
  padding: 0.8rem 0.9rem 0.9rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.listing-cat {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.3rem;
}
.listing-title {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
  margin-bottom: 0.55rem;
  flex: 1;
}
.listing-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  font-family: 'Libre Baskerville', serif;
  margin-bottom: 0.45rem;
}
.listing-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--text-muted);
  padding-top: 0.5rem;
  border-top: 1px solid var(--border-lt);
  margin-top: auto;
}
.listing-seller { font-weight: 600; color: var(--text-mid); }

/* ══════════════════════════════════════════════════════════════
   POST LISTING PAGE
══════════════════════════════════════════════════════════════ */
.post-page { min-height: 100vh; background: var(--cream); }
.post-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}
.post-title {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.35rem;
}
.post-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--border);
}
.post-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}
.post-form-card h3 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-select {
  width: 100%;
  padding: 0.72rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M0 0l6 8 6-8z' fill='%236B7A72'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  cursor: pointer;
}
.form-select:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(92,122,110,0.15); }
.form-textarea {
  width: 100%;
  padding: 0.72rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
  resize: vertical;
  min-height: 120px;
}
.form-textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(92,122,110,0.15); }
.upload-zone {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
}
.upload-zone:hover { border-color: var(--gold); background: rgba(200,168,75,0.04); }
.upload-zone-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.upload-zone-text { font-size: 0.88rem; color: var(--text-muted); }
.upload-zone-text strong { color: var(--gold); }
.price-input-wrap { display: flex; gap: 0; }
.price-currency {
  padding: 0.72rem 0.9rem;
  background: var(--cream-dk);
  border: 1px solid var(--border);
  border-right: none;
  border-radius: var(--radius) 0 0 var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-mid);
  white-space: nowrap;
}
.price-input-wrap .form-input {
  flex: 1;
  min-width: 0;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.price-input-wrap .form-select {
  flex-shrink: 0;
  width: auto;
  min-width: 72px;
  max-width: 90px;
  border-radius: var(--radius) 0 0 var(--radius);
  border-right: none;
  background-color: var(--cream-dk);
  font-size: 0.85rem;
}
.price-input-wrap .form-input:last-child { border-radius: 0 var(--radius) var(--radius) 0; }

/* ══════════════════════════════════════════════════════════════
   LISTING DETAIL PAGE
══════════════════════════════════════════════════════════════ */
.listing-detail { padding: 2.5rem 0 4rem; }
.listing-detail-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2.5rem;
  align-items: start;
}
.listing-detail-img {
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--cream-dk);
}
.listing-detail-img img { width: 100%; height: 100%; object-fit: cover; }
.listing-thumb { transition: border-color 0.15s; }
.listing-thumb.thumb-active { border-color: var(--gold) !important; }
.listing-detail-no-img {
  width: 100%; height: 100%;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--text-muted);
}
.listing-sidebar {
  position: sticky;
  top: 80px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.listing-sidebar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 1px);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.listing-detail-cat {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.5rem;
}
.listing-detail-title {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 0.75rem;
}
.listing-detail-price {
  font-family: 'Libre Baskerville', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 1rem;
}
.listing-detail-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--border-lt);
}
.listing-detail-meta span strong { color: var(--text-mid); }
.btn-contact {
  display: block;
  width: 100%;
  padding: 0.85rem 1.5rem;
  background: var(--gold);
  color: var(--dark);
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
  border-radius: var(--radius);
  border: 2px solid var(--gold);
  transition: background var(--transition), transform var(--transition);
  letter-spacing: 0.03em;
}
.btn-contact:hover { background: var(--gold-lt); border-color: var(--gold-lt); transform: translateY(-1px); }
.btn-mark-sold {
  display: block;
  width: 100%;
  padding: 0.7rem 1.5rem;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all var(--transition);
  margin-top: 0.5rem;
  cursor: pointer;
}
.btn-mark-sold:hover { border-color: var(--red); color: var(--red); }
.listing-desc-section { padding: 2rem 0; }
.listing-desc-section h3 {
  font-family: 'Libre Baskerville', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
}
.listing-desc-section p {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.75;
  white-space: pre-wrap;
}

/* ══════════════════════════════════════════════════════════════
   VERIFIED BADGE
══════════════════════════════════════════════════════════════ */
.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  background: var(--gold);
  color: var(--dark);
  font-size: 0.58rem;
  font-weight: 800;
  padding: 0.15rem 0.42rem;
  border-radius: 2px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: middle;
  line-height: 1.4;
  white-space: nowrap;
}
.verified-badge-lg {
  font-size: 0.72rem;
  padding: 0.25rem 0.65rem;
  border-radius: 3px;
  gap: 0.3rem;
}

/* ══════════════════════════════════════════════════════════════
   PAGINATION
══════════════════════════════════════════════════════════════ */
.pagination-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 2rem 0 1rem;
}
.pagination {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.pagination-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 0.6rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-mid);
  background: var(--white);
  transition: all var(--transition);
  text-decoration: none;
}
.pagination-btn:hover { border-color: var(--gold); color: var(--gold); }
.pagination-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark);
  font-weight: 700;
}
.pagination-btn.disabled { opacity: 0.35; pointer-events: none; }
.pagination-info {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ══════════════════════════════════════════════════════════════
   PROFILE PAGE
══════════════════════════════════════════════════════════════ */
.profile-hero {
  background: var(--dark-2);
  border-bottom: 3px solid var(--gold);
  padding: 2.5rem 0;
}
.profile-hero-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.profile-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--dark-3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: rgba(255,255,255,0.4);
  flex-shrink: 0;
  border: 3px solid rgba(255,255,255,0.1);
}
.profile-name {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.35rem;
  flex-wrap: wrap;
}
.profile-meta {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.profile-meta span { display: flex; align-items: center; gap: 0.3rem; }
.profile-stats-bar {
  display: flex;
  gap: 2rem;
  margin-top: 1.2rem;
  flex-wrap: wrap;
}
.profile-stat-num {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold-lt);
  display: block;
  line-height: 1;
}
.profile-stat-label {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 0.15rem;
  display: block;
}
.seller-tier {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.55);
}
.profile-about-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 1px);
  padding: 1.5rem 1.8rem;
  margin: 2rem 0 0;
}
.profile-about-card h3 {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.profile-about-text {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.7;
  white-space: pre-wrap;
}
.profile-about-empty {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-style: italic;
}
.btn-edit-profile {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold);
  background: none;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: 0.25rem 0.7rem;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-edit-profile:hover { background: var(--gold); color: var(--dark); }
.profile-edit-form { margin-top: 1rem; }
.char-counter {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: right;
  margin-top: 0.3rem;
}
.char-counter.over { color: #c0392b; }

/* ══════════════════════════════════════════════════════════════
   ADMIN PAGE
══════════════════════════════════════════════════════════════ */
.admin-page { min-height: 100vh; background: var(--cream); }
.admin-section { padding: 2.5rem 0; }
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.admin-table th {
  text-align: left;
  padding: 0.65rem 1rem;
  background: var(--cream-dk);
  color: var(--text-mid);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--border);
}
.admin-table td {
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--border-lt);
  color: var(--text);
  vertical-align: middle;
}
.admin-table tr:hover td { background: var(--cream); }
.btn-admin-approve {
  padding: 0.35rem 0.9rem;
  background: var(--gold);
  color: var(--dark);
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background var(--transition);
}
.btn-admin-approve:hover { background: var(--gold-lt); }
.btn-admin-dismiss {
  padding: 0.35rem 0.9rem;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all var(--transition);
  margin-left: 0.4rem;
}
.btn-admin-dismiss:hover { border-color: var(--red); color: var(--red); }

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE ADDITIONS
══════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .listing-grid { grid-template-columns: repeat(3, 1fr); }
  .listing-detail-grid { grid-template-columns: 1fr; }
  .listing-sidebar { position: static; }
}
@media (max-width: 800px) {
  .listing-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .listing-grid { grid-template-columns: repeat(2, 1fr); }
  .listing-grid { gap: 0.6rem; }
  .hero-bar { padding: 2rem 0 1.8rem; }
  .btn-post-listing { padding: 0.85rem 1.8rem; font-size: 0.92rem; }
}

/* ── LANGUAGE DROPDOWN ─────────────────────────────────────── */
.lang-dropdown {
  position: relative;
  margin-left: 0.5rem;
}
.lang-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 1.3rem;
  padding: 0.3rem 0.55rem;
  cursor: pointer;
  white-space: nowrap;
  line-height: 1;
  transition: background 0.15s, border-color 0.15s;
  font-family: inherit;
}
.lang-dropdown-toggle:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.28);
}
.lang-chevron {
  font-size: 0.65rem;
  opacity: 0.6;
  transition: transform 0.15s;
  line-height: 1;
}
.lang-dropdown-toggle.open .lang-chevron { transform: rotate(180deg); }
.lang-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 5px);
  right: 0;
  background: var(--dark, #1a1a1a);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: var(--radius);
  overflow: hidden;
  z-index: 9999;
  min-width: 3rem;
  box-shadow: 0 6px 20px rgba(0,0,0,0.45);
}
.lang-dropdown-menu.lang-menu-open { display: block; }
.lang-option {
  display: block;
  padding: 0.55rem 0.9rem;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 1.3rem;
  text-align: center;
  white-space: nowrap;
  transition: background 0.1s, color 0.1s;
  line-height: 1;
}
.lang-option:hover { background: rgba(255,255,255,0.08); color: #fff; }
.lang-option-active { color: var(--gold, #c49b4e) !important; background: rgba(196,155,78,0.12); }

/* ── REVIEWS ───────────────────────────────────────────────── */
.reviews-section { margin-top: 2.5rem; }

.review-avg-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 0.2rem 0.75rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.review-avg-pill .review-stars { color: var(--gold); letter-spacing: 0.05em; }

/* Interactive star rating (reverse-order radio trick) */
.star-rating {
  display: inline-flex;
  flex-direction: row-reverse;
  gap: 0.1rem;
}
.star-rating input[type="radio"] { display: none; }
.star-rating label {
  font-size: 1.6rem;
  color: var(--border);
  cursor: pointer;
  transition: color 0.1s;
  line-height: 1;
}
.star-rating input:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label { color: var(--gold); }

.review-form-card {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
}

.review-list { display: flex; flex-direction: column; gap: 0.75rem; }

.review-card {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
}
.review-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.4rem;
  flex-wrap: wrap;
}
.review-card-stars { color: var(--gold); letter-spacing: 0.05em; font-size: 1rem; }
.review-card-author { font-weight: 600; font-size: 0.88rem; color: var(--text); }
.review-card-date   { font-size: 0.78rem; color: var(--text-muted); margin-left: auto; }
.review-card-comment { font-size: 0.88rem; color: var(--text-muted); margin: 0; line-height: 1.55; }

/* ── INBOX / MESSAGING ─────────────────────────────────────── */
.btn-inbox { position: relative; }

.unread-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.3rem;
  border-radius: 99px;
  background: var(--gold);
  color: var(--dark);
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1;
  margin-left: 0.3rem;
  vertical-align: middle;
}

/* Inbox list */
.inbox-list { display: flex; flex-direction: column; gap: 0; }

.inbox-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: background 0.12s;
}
.inbox-row:first-child { border-radius: var(--radius) var(--radius) 0 0; border-top: 1px solid var(--border); }
.inbox-row:last-child  { border-radius: 0 0 var(--radius) var(--radius); }
.inbox-row:hover { background: var(--dark-2); }
.inbox-row.unread { border-left: 3px solid var(--gold); padding-left: calc(1.1rem - 3px); }

.inbox-row-img {
  width: 52px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 4px;
  overflow: hidden;
  background: var(--dark-2);
}
.inbox-row-img img { width: 100%; height: 100%; object-fit: cover; }
.inbox-no-img { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }

.inbox-row-body { flex: 1; min-width: 0; }
.inbox-row-top  { display: flex; justify-content: space-between; align-items: baseline; gap: 0.5rem; margin-bottom: 0.1rem; }
.inbox-row-name { font-weight: 600; font-size: 0.9rem; color: var(--text); }
.inbox-row-time { font-size: 0.75rem; color: var(--text-muted); white-space: nowrap; }
.inbox-row-listing { font-size: 0.78rem; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inbox-row-preview  { font-size: 0.82rem; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 0.1rem; }
.inbox-row.unread .inbox-row-name    { color: var(--gold); }
.inbox-row.unread .inbox-row-preview { color: var(--text); font-weight: 500; }

.inbox-unread-dot {
  min-width: 1.2rem;
  height: 1.2rem;
  border-radius: 99px;
  background: var(--gold);
  color: var(--dark);
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Conversation */
.conv-listing-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1.1rem;
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  margin-bottom: 1.5rem;
  transition: border-color 0.15s;
}
.conv-listing-card:hover { border-color: var(--gold); }
.conv-listing-img {
  width: 72px;
  height: 54px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
  background: var(--dark);
}
.conv-listing-no-img { display: flex; align-items: center; justify-content: center; font-size: 1.6rem; }
.conv-listing-info { flex: 1; min-width: 0; }
.conv-listing-title { font-weight: 700; font-size: 0.95rem; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Message thread */
.conv-thread {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  max-height: 480px;
  overflow-y: auto;
  padding: 1rem;
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.msg-row       { display: flex; }
.msg-row-mine  { justify-content: flex-end; }
.msg-row-theirs{ justify-content: flex-start; }

.msg-bubble {
  max-width: 72%;
  padding: 0.6rem 0.9rem;
  border-radius: 12px;
  line-height: 1.5;
}
.msg-bubble.mine   { background: rgba(196,155,78,0.15); border: 1px solid rgba(196,155,78,0.3); border-bottom-right-radius: 3px; }
.msg-bubble.theirs { background: var(--dark); border: 1px solid var(--border); border-bottom-left-radius: 3px; }

.msg-meta   { display: flex; gap: 0.5rem; align-items: baseline; margin-bottom: 0.25rem; }
.msg-author { font-size: 0.75rem; font-weight: 600; color: var(--text-muted); }
.msg-time   { font-size: 0.7rem; color: var(--text-muted); }
.msg-body   { font-size: 0.9rem; color: var(--text); word-break: break-word; }

/* Reply form */
.conv-reply-form { margin-bottom: 1rem; }
.conv-reply-input { resize: vertical; min-height: 72px; }

/* Safety banner */
.safety-banner {
  padding: 0.85rem 1.1rem;
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-left: 3px solid var(--text-muted);
  border-radius: var(--radius);
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.safety-banner-title { font-weight: 700; color: var(--text); margin-bottom: 0.3rem; font-size: 0.82rem; }

/* ── CONTENT MODERATION ────────────────────────────────────── */
.flagged-notice {
  padding: 0.7rem 1rem;
  background: rgba(196,155,78,0.07);
  border: 1px solid rgba(196,155,78,0.25);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 0.75rem;
}

.admin-listing-row {
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.admin-listing-row:last-child { border-bottom: none; }
.admin-listing-preview {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.admin-listing-img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
  background: var(--dark-2);
  border: 1px solid var(--border);
}
.admin-listing-meta { flex: 1; min-width: 0; }
.admin-listing-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
}

/* ── TRANSACTIONS ──────────────────────────────────────────── */
.txn-complete-banner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(196,155,78,0.08);
  border: 1px solid rgba(196,155,78,0.35);
  border-radius: var(--radius);
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.txn-badge {
  background: var(--gold);
  color: var(--dark);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 99px;
  white-space: nowrap;
}

.txn-list { display: flex; flex-direction: column; }
.txn-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.5rem;
  border-bottom: 1px solid var(--border);
}
.txn-row:last-child { border-bottom: none; }
.txn-row-main { display: flex; flex-direction: column; gap: 0.2rem; min-width: 0; }
.txn-listing-title {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.txn-listing-title:hover { color: var(--gold); }
.txn-role  { font-size: 0.78rem; color: var(--text-muted); }
.txn-date  { font-size: 0.78rem; color: var(--text-muted); white-space: nowrap; flex-shrink: 0; }

/* ── HONEYPOT (bot trap) ───────────────────────────────────── */
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
}

/* ── WISHLIST HEART BUTTON (listing cards) ──────────────────── */
.wishlist-heart {
  position: absolute;
  top: 0.45rem;
  right: 0.45rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(4px);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: background .15s, transform .12s;
  z-index: 2;
}
.wishlist-heart:hover          { background: #fff; transform: scale(1.1); }
.wishlist-heart.is-wishlisted  { color: #e05252; }

/* ── WISHLIST HEART BUTTON (listing detail page) ───────────── */
.wishlist-heart-detail {
  display: block;
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.7rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: transparent;
  color: var(--text-mid);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: border-color .15s, color .15s, background .15s;
}
.wishlist-heart-detail:hover          { border-color: var(--gold); color: var(--gold); }
.wishlist-heart-detail.is-wishlisted  { border-color: #e05252; color: #e05252; }

/* ── TRANSLATE BUTTON ──────────────────────────────────────── */
.btn-translate {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.8rem;
  padding: 0.3rem 0.8rem;
  transition: border-color .15s, color .15s;
}
.btn-translate:hover:not(:disabled) { border-color: var(--gold); color: var(--gold); }
.btn-translate:disabled { opacity: 0.6; cursor: default; }

/* ── SAVE SEARCH BUTTON ────────────────────────────────────── */
.btn-save-search {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1rem;
  border: 1.5px solid var(--gold);
  border-radius: var(--radius);
  background: transparent;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.btn-save-search:hover { background: var(--gold); color: var(--dark); }

/* ── FILTER BAR ─────────────────────────────────────────────── */
.filter-bar {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
  overflow: hidden;
}
.filter-bar-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  user-select: none;
  list-style: none;
}
.filter-bar-toggle::-webkit-details-marker { display: none; }
.filter-bar-toggle::before { content: '▸'; font-size: 0.75rem; transition: transform .2s; }
.filter-bar[open] .filter-bar-toggle::before { transform: rotate(90deg); }
.filter-badge {
  background: var(--gold);
  color: var(--dark);
  font-size: 0.68rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 1px 6px;
  line-height: 1.5;
}
.filter-form {
  padding: 0.75rem 1rem 1rem;
  border-top: 1px solid var(--border);
}
.filter-row {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: flex-start;
}
.filter-group { display: flex; flex-direction: column; gap: 0.35rem; }
.filter-label { font-size: 0.78rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.filter-price-input { width: 110px; padding: 0.4rem 0.6rem; font-size: 0.85rem; }

/* ── SAVED SEARCH PILLS (account alerts section) ───────────── */
.saved-search-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.saved-search-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  background: var(--cream-dk);
  border: 1px solid var(--border);
  border-radius: 2rem;
  font-size: 0.82rem;
  color: var(--text-mid);
}
.saved-search-delete {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  color: var(--text-muted);
  padding: 0 0.1rem;
  transition: color .15s;
}
.saved-search-delete:hover { color: var(--red); }

/* ── WISHLIST CARD WRAP ────────────────────────────────────── */
.wishlist-card-wrap .listing-card { display: block; text-decoration: none; }

/* ── PROFILE AVATAR ────────────────────────────────────────── */
.profile-avatar-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
  display: block;
}

/* ── BACK TO TOP ───────────────────────────────────────────── */
#backToTop {
  display: none;
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 2.4rem;
  height: 2.4rem;
  background: var(--gold);
  color: var(--dark);
  border: none;
  border-radius: 50%;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.35);
  transition: background 0.15s, transform 0.15s;
  z-index: 999;
}
#backToTop:hover { background: var(--gold-lt); transform: translateY(-2px); }

/* ── LISTING SHARE BAR ─────────────────────────────────────── */
.listing-share {
  display: flex;
  gap: 0.5rem;
  margin: 0.75rem 0;
  flex-wrap: wrap;
}
.share-copy, .share-wa {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.82rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  transition: color .15s, border-color .15s;
}
.share-copy:hover, .share-wa:hover { color: var(--gold); border-color: var(--gold); }

/* ── IMAGE LIGHTBOX ────────────────────────────────────────── */
#lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
}
#lightbox img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 4px 40px rgba(0,0,0,0.6);
}
.lb-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  opacity: 0.8;
  transition: opacity .15s;
}
.lb-close:hover { opacity: 1; }
.lb-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
  font-size: 2.5rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  border-radius: var(--radius);
  transition: background .15s;
  line-height: 1;
}
.lb-arrow:hover { background: rgba(255,255,255,0.22); }
.lb-prev { left: 1rem; }
.lb-next { right: 1rem; }

/* ── MORE FROM SELLER ──────────────────────────────────────── */
.more-from-seller { margin: 2.5rem 0 1rem; }
.more-from-seller h3 {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 1rem;
}
.more-from-seller-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
@media (max-width: 800px) { .more-from-seller-grid { grid-template-columns: repeat(2,1fr); } }
.more-card {
  display: block;
  text-decoration: none;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}
.more-card:hover { box-shadow: 0 4px 18px rgba(0,0,0,0.1); transform: translateY(-2px); }
.more-card img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  display: block;
}
.more-card-no-img {
  width: 100%;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream-dk);
  font-size: 2rem;
}
.more-card-body { padding: 0.6rem 0.75rem; }
.more-card-title {
  font-size: 0.82rem;
  color: var(--text);
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0.25rem;
}
.more-card-price { font-size: 0.82rem; color: var(--gold); font-weight: 700; }

/* ── RATING DISTRIBUTION ───────────────────────────────────── */
.rating-dist { margin: 0.75rem 0 1.25rem; display: flex; flex-direction: column; gap: 0.3rem; }
.rating-dist-row {
  display: grid;
  grid-template-columns: 2rem 1fr 2rem;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.rating-dist-bar {
  height: 8px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.rating-dist-bar div {
  height: 100%;
  background: var(--gold);
  border-radius: 4px;
  transition: width 0.4s ease;
}

/* ── MOBILE HAMBURGER MENU ─────────────────────────────────── */
.header-mobile-panel { display: contents; }
.hamburger-btn {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  font-size: 1.3rem;
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius);
  cursor: pointer;
  line-height: 1;
}
@media (max-width: 768px) {
  .hamburger-btn { display: flex; align-items: center; }
  .header-mobile-panel {
    display: none;
    flex-direction: column;
    gap: 0.6rem;
    padding: 0.75rem 0 0.25rem;
    width: 100%;
  }
  .site-header.mobile-open .header-mobile-panel { display: flex; }
  .header-inner {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .header-search { order: 3; width: 100%; }
  .header-actions { order: 4; flex-wrap: wrap; gap: 0.4rem; }
  .site-logo { order: 1; flex: 1; }
  .hamburger-btn { order: 2; margin-left: auto; }
  .cat-nav-inner { flex-wrap: wrap; gap: 0.25rem 0; }
}

/* ── PROMOTIONS ─────────────────────────────────────────────── */

/* Featured badge on listing cards (gallery) */
.badge-featured {
  position: absolute; top: 0.45rem; left: 0.45rem;
  background: var(--gold); color: var(--dark);
  font-size: 0.7rem; font-weight: 700;
  padding: 0.18rem 0.5rem; border-radius: 4px;
  letter-spacing: 0.04em; z-index: 2;
}

/* Featured badge in listing detail sidebar */
.listing-featured-badge {
  display: inline-block;
  background: var(--gold); color: var(--dark);
  font-weight: 700; font-size: 0.82rem;
  padding: 0.28rem 0.8rem; border-radius: 4px;
  margin-bottom: 0.75rem;
}

/* Promote page — package grid */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.25rem;
  margin: 0 0 2.5rem;
}
.promo-card {
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  position: relative;
}
.promo-card.promo-popular { border-color: var(--gold); }
.promo-popular-badge {
  position: absolute; top: -0.75rem; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--dark);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em;
  padding: 0.2rem 0.8rem; border-radius: 20px;
  white-space: nowrap;
}
.promo-card-name {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.15rem; color: var(--white);
  margin-top: 0.5rem;
}
.promo-card-price {
  font-size: 2.4rem; font-weight: 700; color: var(--gold); line-height: 1;
}
.promo-card-price sup { font-size: 1.1rem; vertical-align: super; margin-right: 0.1rem; }
.promo-card-slots { font-size: 0.9rem; color: var(--white); font-weight: 600; }
.promo-card-dur   { font-size: 0.95rem; color: var(--gold-lt); font-weight: 600; letter-spacing: 0.02em; }
.promo-card-detail { font-size: 0.84rem; color: rgba(255,255,255,0.55); }
.promo-card .btn-primary { margin-top: auto; }

/* My Promotions slot rows in account.php */
.promo-slot-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.promo-slot-row:last-child { border-bottom: none; }
.promo-slot-label {
  font-size: 0.8rem; color: var(--text-muted);
  min-width: 52px; flex-shrink: 0;
}
.promo-slot-locked { font-size: 0.8rem; color: var(--text-muted); font-style: italic; flex: 1; }
