/* =========================================================
   BASE TOKENS + PAGE — START
   ========================================================= */
.mp-page{
  --mp-gold: #f7a503;
  --mp-gold-deep: #b9802f;

  --mp-blue: #1b5fb8;
  --mp-green: #215a2f;

  /* Accent border (orange) */
  --mp-accent-border: rgba(247,165,3,.60);
  --mp-accent-border-soft: rgba(247,165,3,.45);

  /* defaults (LIGHT as default) */
  --mp-text: rgba(0,0,0,.88);
  --mp-muted: rgba(0,0,0,.62);

  /* surfaces (LIGHT default) */
  --mp-surface: #ffffff;
  --mp-surface-border: var(--mp-accent-border);

  /* content surface behind cards (LIGHT default) */
  --mp-content-surface: #ffffff;
  --mp-content-border: var(--mp-accent-border);

  --mp-radius: 18px;

  color: var(--mp-text);
  padding-bottom: 20px;

  /* page background (LIGHT default) */
  background: #ffffff;
}

.mp-container{
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
  margin-top: 20px;
}

a{
    text-decoration: none;
}

.mp-page,
.mp-page *{
  box-sizing: border-box;
}

.mp-arrow{ font-weight: 900; margin-left: 10px; }

/* --- DARK MODE (BASE TOKENS + PAGE) --- */
body.dark-mode .mp-page{
  --mp-text: rgba(255,255,255,.94);
  --mp-muted: rgba(255,255,255,.76);

  --mp-surface: rgba(15,15,15,.92);
  --mp-surface-border: rgba(247,165,3,.55);

  --mp-content-surface: rgba(15,15,15,.92);
  --mp-content-border: rgba(247,165,3,.55);

  background: #0f0f0f;
  color: var(--mp-text);
}
/* =========================================================
   BASE TOKENS + PAGE — END
   ========================================================= */



/* =========================================================
   TOP STRIP — START
   ========================================================= */
.mp-topstrip{
  background: #ffffff;
  border-top: 1px solid var(--mp-accent-border);
  border-bottom: 1px solid var(--mp-accent-border);
}

.mp-topstrip-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  padding: 12px 0;
}

.mp-topstrip-left{
  display:flex;
  align-items:center;
  gap: 10px;
}

.mp-topstrip-kicker{
  filter: drop-shadow(0 6px 14px rgba(0,0,0,.10));
}

.mp-topstrip-text{
  font-weight: bold;
  font-size: clamp(1.4rem, 2vw, 2.3rem);
  color: rgba(0,0,0,.84);
  letter-spacing: .2px;
}

.mp-topstrip-cta{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(33, 90, 47, .96);
  color: #fff;
  text-decoration:none;
  border: 1px solid var(--mp-accent-border);
  box-shadow: 0 10px 22px rgba(0,0,0,.18);
  white-space: nowrap;
}

.mp-topstrip-cta--disabled {
    opacity: .55;
    cursor: not-allowed;
}

.mp-topstrip-cta:hover{ filter: brightness(1.03); }
.mp-topstrip-cta-sub{ opacity: .88; font-weight: 800; }

/* --- DARK MODE (TOP STRIP) --- */
body.dark-mode .mp-topstrip{
  background: #0f0f0f;
  border-top-color: rgba(247,165,3,.55);
  border-bottom-color: rgba(247,165,3,.55);
}
body.dark-mode .mp-topstrip-text{ color: rgba(255,255,255,.92); }

/* --- RESPONSIVE (TOP STRIP) --- */
@media (max-width: 520px){
  .mp-topstrip-inner{ flex-direction: column; align-items:stretch; }
  .mp-topstrip-cta{ width: 100%; justify-content:center; }
}
/* =========================================================
   TOP STRIP — END
   ========================================================= */






/* =========================================================
   HERO — START (modern + underline)
   ========================================================= */
.mp-hero{
  position: relative;
  padding: clamp(16px, 2.2vw, 28px) 0 clamp(10px, 1.4vw, 18px);
  overflow: visible;
}

/* hero-only backdrop */
.mp-hero::before{
  content:"";
  position:absolute;
  inset: -2px;
  pointer-events:none;

  background:
    radial-gradient(900px 260px at 12% 30%, rgba(247,165,3,.18), rgba(247,165,3,0) 60%),
    radial-gradient(800px 240px at 78% 10%, rgba(120,180,255,.14), rgba(120,180,255,0) 55%),
    linear-gradient(180deg, rgba(0,0,0,.06), rgba(0,0,0,0) 55%);

  opacity: .92;
  filter: saturate(1.05);

  /* csak a háttér marad “keretben”, a chef nem lesz vágva */
  clip-path: inset(0 round 24px);
}

.mp-hero-inner{
  position: relative;
  display:flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(14px, 2vw, 22px);
}

/* Panel behind hero text */
.mp-hero-panel{
  display:inline-block;
  padding: clamp(16px, 2vw, 22px) clamp(16px, 2.2vw, 24px);
  border-radius: 22px;
  background: var(--mp-surface);
  border: 1px solid var(--mp-surface-border);
  box-shadow:
    0 18px 44px rgba(0,0,0,.10),
    0 0 0 1px rgba(255,255,255,.06) inset;
}

.mp-hero-title{
  margin: 0;
  position: relative;
  padding-bottom: 12px; /* hely az aláhúzásnak */
  font-size: clamp(30px, 4.2vw, 46px);
  line-height: 1.04;
  letter-spacing: .2px;
  text-shadow: 0 10px 28px rgba(0,0,0,.12);
}

/* Gold underline like in your screenshot */
.mp-hero-title::after{
  content:"";
  position:absolute;
  left: 0;
  bottom: 2px;

  width: clamp(92px, 12vw, 170px);
  height: 4px;
  border-radius: 999px;

  background: linear-gradient(90deg, rgba(247, 165, 3, .95), rgba(247, 165, 3, .20));
  

  box-shadow:
    0 10px 20px rgba(247,165,3,.18),
    0 1px 0 rgba(255,255,255,.25) inset;
}

.mp-hero-title-accent{
  color: var(--mp-gold);
}

.mp-hero-subtitle{
  margin: 10px 0 0;
  max-width: 560px;
  color: var(--mp-muted);
  font-weight: 700;
  line-height: 1.45;
  font-size: clamp(14px, 1.35vw, 16px);
}

.mp-hero-right{
  flex: 0 0 auto;
  position: relative;
}

/* --- LIGHT MODE (HERO) --- */
body:not(.dark-mode) .mp-hero::before{
  background:
    radial-gradient(900px 260px at 12% 30%, rgba(247,165,3,.16), rgba(247,165,3,0) 60%),
    radial-gradient(800px 240px at 78% 10%, rgba(90,160,255,.12), rgba(90,160,255,0) 55%),
    linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,0) 60%);
  opacity: .86;
}

/* --- DARK MODE (HERO) --- */
body.dark-mode .mp-hero::before{
  background:
    radial-gradient(900px 260px at 12% 30%, rgba(247,165,3,.22), rgba(247,165,3,0) 60%),
    radial-gradient(800px 240px at 78% 10%, rgba(120,180,255,.16), rgba(120,180,255,0) 55%),
    linear-gradient(180deg, rgba(0,0,0,.34), rgba(0,0,0,.10) 60%);
  opacity: .95;
}

/* --- RESPONSIVE (HERO) --- */
@media (max-width: 860px){
  .mp-hero-inner{ flex-direction: column; align-items:flex-start; }
  .mp-hero-panel{ width: 100%; }
  .mp-hero-right{ display:none; } /* HERO CHEF hidden on mobile/tablet */
}
/* =========================================================
   HERO — END
   ========================================================= */



/* =========================================================
   HERO CHEF (ILLUSTRATION) — START (no head cut)
   ========================================================= */
.mp-hero-ill{
  position: relative;
  width: 320px;
  height: 160px;         /* kicsit magasabb */
  border-radius: 30px;

  background: var(--mp-surface);
  border: 1px solid var(--mp-surface-border);

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.10),
    0 24px 60px rgba(0,0,0,.20),
    0 0 44px rgba(247,165,3,.10);

  overflow: visible;     /* EZ a lényeg: ne vágja le a fejet */
}

/* soft halo inside the card */
.mp-hero-ill::before{
  content:"";
  position:absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events:none;

  background:
    radial-gradient(220px 220px at 80% 45%, rgba(247,165,3,.18), rgba(247,165,3,0) 70%),
    radial-gradient(260px 220px at 50% 85%, rgba(255,255,255,.08), rgba(255,255,255,0) 72%);

  /* belül maradjon a glow */
  -webkit-mask: linear-gradient(#000, #000);
  mask: linear-gradient(#000, #000);
}

/* character layer */
.mp-hero-ill::after{
  content:"";
  position: absolute;
  right: 14px;
  bottom: -10px;         /* “kilóg” az alján */
  width: 260px;
  height: 260px;

  background-image: url("/images/marketplace/logomarket.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: bottom center;

  filter:
    drop-shadow(0 18px 26px rgba(0,0,0,.30))
    drop-shadow(0 0 30px rgba(247,165,3,.12));
}
/* =========================================================
   HERO CHEF (ILLUSTRATION) — END
   ========================================================= */


/* =========================================================
   CATEGORY BAR — START
   ========================================================= */
.mp-catbar{
  margin-top: 10px;
  background: #ffffff;
  border-top: 1px solid var(--mp-accent-border);
  border-bottom: 1px solid var(--mp-accent-border);
}

.mp-catbar-inner{
  display:flex;
  gap: 10px;
  align-items:center;
  overflow:auto;
  padding: 10px 0;
  scrollbar-width: thin;
}

.mp-catbar-inner::-webkit-scrollbar{ height: 6px; }
.mp-catbar-inner::-webkit-scrollbar-thumb{ background: rgba(0,0,0,.18); border-radius: 10px; }

.mp-catbar-spacer{ flex: 1 1 auto; }

.mp-cat{
  display:inline-flex;
  align-items:center;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(0,0,0,.04);
  border: 1px solid var(--mp-accent-border-soft);
  color: rgba(0,0,0,.86);
  text-decoration:none;
  font-weight: 950;
  white-space: nowrap;
}
.mp-cat:hover{ background: rgba(0,0,0,.06); }
.mp-cat--active{ background: rgba(0,0,0,.10); }

.mp-cat--ghost{
  background: #ffffff;
  border: 1px solid var(--mp-accent-border);
  color: rgba(0,0,0,.86);
}

/* --- DARK MODE (CATEGORY BAR) --- */
body.dark-mode .mp-catbar{
  background: #0f0f0f;
  border-top-color: rgba(247,165,3,.55);
  border-bottom-color: rgba(247,165,3,.55);
}

body.dark-mode .mp-cat{
  background: rgba(255,255,255,.06);
  border-color: rgba(247,165,3,.45);
  color: rgba(255,255,255,.90);
}
body.dark-mode .mp-cat:hover{ background: rgba(255,255,255,.08); }
body.dark-mode .mp-cat--active{ background: rgba(255,255,255,.12); }

/* --- RESPONSIVE (CATEGORY BAR) --- */
@media (max-width: 520px){
  .mp-catbar{ position: relative; }

  .mp-catbar::after{
    content: "›";
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 28px;
    font-weight: 900;
    pointer-events: none;
    color: rgba(0,0,0,.55);
    opacity: .65;
    text-shadow:
      0 1px 2px rgba(0,0,0,.15),
      0 0 6px rgba(247,165,3,.20);
  }

  body.dark-mode .mp-catbar::after{
    color: rgba(255,255,255,.75);
    text-shadow:
      0 1px 2px rgba(0,0,0,.45),
      0 0 8px rgba(247,165,3,.35);
  }
}
/* =========================================================
   CATEGORY BAR — END
   ========================================================= */



/* =========================================================
   SHELF / BANNER — START
   ========================================================= */
.mp-shelf{ padding: 14px 0 0; }

.mp-shelf-frame{
  position: relative;
  height: 170px;
  border-radius: 24px;

  background-image: url("/images/marketplace/marketplace-banner.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  border: 1px solid var(--mp-accent-border);

  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.14),
    inset 0 -40px 80px rgba(0,0,0,.25),
    0 18px 44px rgba(0,0,0,.14);
}

/* subtle overlay for readability */
.mp-shelf-frame::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius: inherit;
  pointer-events:none;
  background: linear-gradient(180deg, rgba(0,0,0,.10), rgba(0,0,0,.22));
}

/* --- DARK MODE (SHELF) ---
   (nincs külön override, border/tokens már mennek) */
/* =========================================================
   SHELF / BANNER — END
   ========================================================= */



/* =========================================================
   MID CTA — START
   ========================================================= */
.mp-midcta{
  display:flex;
  justify-content:center;
  padding: 14px 0 18px;
}

.mp-midcta-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  background: rgba(33, 90, 47, .96);
  border: 1px solid var(--mp-accent-border);
  color:#fff;
  text-decoration:none;
  font-weight: 950;
  box-shadow: 0 12px 24px rgba(0,0,0,.18);
}
.mp-midcta-btn:hover{ filter: brightness(1.03); }
/* =========================================================
   MID CTA — END
   ========================================================= */



/* =========================================================
   CONTENT SURFACE — START
   ========================================================= */
.mp-surface{
  border-radius: 24px;
  border: 1px solid var(--mp-content-border);
  background: radial-gradient(circle at 20% 30%, rgba(252, 172, 70, 0.25) 0 120px, transparent 121px), radial-gradient(circle at 80% 20%, rgba(214, 113, 39, 0.2) 0 140px, transparent 141px), radial-gradient(circle at 30% 80%, rgba(255, 200, 120, 0.25) 0 130px, transparent 131px), repeating-linear-gradient(45deg, rgba(0, 0, 0, 0.02) 0px, rgba(0, 0, 0, 0.02) 2px, transparent 2px, transparent 10px), linear-gradient(to bottom, #f8f9fa, #f1f3f5);
  box-shadow:
    0 22px 54px rgba(0,0,0,.10),
    inset 0 1px 0 rgba(255,255,255,.10),
    inset 0 -18px 38px rgba(0,0,0,.06);
  padding: 16px;
}

.mp-surface--content{ margin-top: 4px; }

/* --- DARK MODE (CONTENT SURFACE) --- */
body.dark-mode .mp-surface{
  background: radial-gradient(circle at 20% 30%, rgba(255, 140, 0, 0.15) 0 140px, transparent 141px), radial-gradient(circle at 80% 25%, rgba(214, 113, 39, 0.12) 0 160px, transparent 161px), radial-gradient(circle at 30% 80%, rgba(255, 180, 80, 0.1) 0 150px, transparent 151px), repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.03) 0px, rgba(255, 255, 255, 0.03) 2px, transparent 2px, transparent 12px), linear-gradient(to bottom, #181818, #0f0f0f);
  border-color: rgba(247,165,3,.55);
  box-shadow: 0 22px 54px rgba(0,0,0,.40);
}

/* --- RESPONSIVE (CONTENT SURFACE) --- */
@media (max-width: 520px){
  .mp-surface{ padding: 14px; }
}
/* =========================================================
   CONTENT SURFACE — END
   ========================================================= */



/* =========================================================
   SECTION HEAD — START
   ========================================================= */
.mp-section-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  margin: 0 0 12px;
}

.mp-section-title{
  margin: 0;
  font-size: 28px;
  display:inline-block;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid var(--mp-accent-border);
  background: #ffffff;
  color: rgba(0,0,0,.86);
  box-shadow: 0 10px 22px rgba(0,0,0,.12);
}

.mp-section-link{
  color: rgba(0,0,0,.74);
  text-decoration:none;
  font-weight: 900;
  margin-top: 18px;
}
.mp-section-link:hover{ text-decoration: underline; }

/* --- DARK MODE (SECTION HEAD) --- */
body.dark-mode .mp-section-title{
  background: rgba(15,15,15,.92);
  color: rgba(255,255,255,.92);
  border-color: rgba(247,165,3,.55);
}
body.dark-mode .mp-section-link{ color: rgba(255,255,255,.88); }

/* --- RESPONSIVE (SECTION HEAD) --- */
@media (max-width: 520px){
  .mp-section-head{ flex-direction: column; align-items:flex-start; }
}
/* =========================================================
   SECTION HEAD — END
   ========================================================= */



/* =========================================================
   GRID — START
   ========================================================= */
.mp-grid {
  display: grid;
  gap: 15px;
}

/* desktop */
@media (min-width: 1101px){
  .mp-grid { grid-template-columns: repeat(4, 1fr); }
}

/* tablet */
@media (max-width: 1100px){
  .mp-grid { grid-template-columns: repeat(3, 1fr); }
}

/* kisebb tablet */
@media (max-width: 860px){
  .mp-grid { grid-template-columns: repeat(2, 1fr); }
}

/* mobil */
@media (max-width: 420px){
  .mp-grid { grid-template-columns: 1fr; }
}
/* =========================================================
   GRID — END
   ========================================================= */



/* =========================================================
   CARDS — START
   ========================================================= */
.mp-card{
  border-radius: var(--mp-radius);
  background: linear-gradient(180deg, #ffffff 0%, #fffaf3 100%);
  border: 1px solid rgba(214, 113, 39, .32);
  box-shadow:
    0 6px 14px rgba(0,0,0,.12),
    0 18px 38px rgba(0,0,0,.14);
  overflow:hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.mp-card:hover{
  transform: translateY(-4px);
  border-color: rgba(214, 113, 39, .65);
  box-shadow:
    0 10px 22px rgba(0,0,0,.18),
    0 26px 54px rgba(0,0,0,.18);
}

.mp-card-link{
  display:flex;
  flex-direction:column;
  height:100%;
  color: inherit;
  text-decoration:none;
}

.mp-card-link--disabled {
    cursor: not-allowed;
    opacity: .65;
}

.mp-card-img{
  background: linear-gradient(135deg, rgba(0,0,0,.04), rgba(0,0,0,.00));
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-bottom: 1px solid rgba(214, 113, 39, .18);
}

.mp-card-img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .25s ease;
}

.mp-card:hover .mp-card-img img{
  transform: scale(1.03);
}

.mp-card-body{
  padding: 14px;
  display:flex;
  flex-direction:column;
  gap: 9px;
  flex: 1;
  background: rgb(247 165 3 / 6%);
  box-shadow:
    0 26px 70px rgba(0,0,0,.12),
    inset 0 1px 0 rgba(255,255,255,.10),
    inset 0 -22px 44px rgba(0,0,0,.06);
}

.mp-card-top{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap: 10px;
}

.mp-card-title{
  margin: 0;
  font-size: 16px;
  font-weight: 950;
  line-height: 1.2;
  color: rgba(0,0,0,.88);
}

.mp-card-price{
  font-weight: 950;
  color: rgba(18, 110, 52, .95);
  white-space: nowrap;
}

.mp-card-price.is-free{
  color: rgba(33, 90, 47, .98);
}

.mp-card-meta{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap: 0;
}

.mp-dot{
  opacity:.55;
  padding: 0 6px;
}

.mp-muted,
.mp-card-submeta{
  color: rgba(0,0,0,.62);
  padding: 0;
  line-height: 1.45;
  margin-top: 14px;
  text-align: center;
}

.mp-card-cta{
  margin-top: auto;
  padding-top: 8px;
  font-weight: 950;
  color: rgba(27, 95, 184, .92);
  opacity: .92;
}

.mp-card-description {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;

    line-height: 1.45;
    min-height: calc(1.45em * 3);
    max-height: calc(1.45em * 3);
}

.mp-card:hover .mp-card-cta{
  opacity: 1;
}

/* --- DARK MODE (CARDS) --- */
body.dark-mode .mp-card{
  background: linear-gradient(180deg, rgba(28,28,28,.96) 0%, rgba(17,17,17,.96) 100%);
  border-color: rgba(247,165,3,.55);
  box-shadow:
    0 8px 18px rgba(0,0,0,.55),
    0 24px 54px rgba(0,0,0,.45);
}

body.dark-mode .mp-card:hover{
  border-color: rgba(247,165,3,.85);
  box-shadow:
    0 12px 26px rgba(0,0,0,.75),
    0 30px 64px rgba(0,0,0,.55);
}

body.dark-mode .mp-card-img{
  border-bottom-color: rgba(247,165,3,.22);
}

body.dark-mode .mp-card-title{
  color: rgba(255,255,255,.92);
}

body.dark-mode .mp-muted,
body.dark-mode .mp-card-submeta{
  color: rgba(255,255,255,.72);
}
/* =========================================================
   CARDS — END
   ========================================================= */



/* =========================================================
   CHIPS — START
   ========================================================= */
.mp-chip{
  display:inline-flex;
  align-items:center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 950;

  color: rgba(0,0,0,.78);
  background: rgba(0,0,0,.03);
  border: 1px solid var(--mp-accent-border-soft);
}

.mp-chip.free{
  color: rgba(0,0,0,.82);
  background: rgba(33, 90, 47, .10);
  border-color: rgba(247,165,3,.45);
}

.mp-chip.mint,
.mp-chip.like-new,
.mp-chip.new{
  color: rgba(0,0,0,.82);
  background: rgba(247,165,3,.12);
  border-color: rgba(247,165,3,.45);
}

/* --- DARK MODE (CHIPS) --- */
body.dark-mode .mp-chip{
  background: rgba(255,255,255,.06);
  border-color: rgba(247,165,3,.55);
  color: rgba(255,255,255,.88);
}
/* =========================================================
   CHIPS — END
   ========================================================= */



/* =========================================================
   BOTTOM STRIP — START
   ========================================================= */
.mp-bottomstrip{ margin-top: 16px; }

.mp-bottomstrip-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 999px;
  background: rgba(33, 90, 47, .78);
  border: 1px solid var(--mp-accent-border);
  box-shadow: 0 12px 24px rgba(0,0,0,.16);
}

.mp-bottomstrip-text{
  font-weight: 950;
  color: rgba(255,255,255,.92);
}

.mp-bottomstrip-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width: 44px;
  height: 36px;
  border-radius: 999px;
  background: rgba(0,0,0,.18);
  color:#fff;
  text-decoration:none;
  font-weight: 950;
}

.mp-bottomstrip-cta--disabled {
    opacity: .55;
    cursor: not-allowed;
}
/* =========================================================
   BOTTOM STRIP — END
   ========================================================= */
   
   .mp-pagination-wrap {
    margin-top: 24px;
}

/* =========================================================
   LISTING DETAIL (v2) — START
   ========================================================= */
.mp-detail{ padding: 26px 0 40px; }
.mp-detail-back{ margin-bottom: 12px; }
.mp-detail-head{ margin-bottom: 12px; }
.mp-detail-title{ margin: 8px 0 0; }

.mp-detail-title-price{
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 1000;
  line-height: 1;
  color: #1f7a3f;
  white-space: nowrap;
  letter-spacing: -1px;
  margin-top: 10px;
}

.mp-detail-title-price.is-free{
  color: #1f7a3f;
  text-transform: uppercase;
}

@media (max-width: 768px){
  .mp-detail-title-row{
    display: block;
  }

  .mp-detail-title-price{
    margin-top: 10px;
    font-size: 38px;
  }
}

/* Stronger surface on listing page only */
.mp-detail .mp-surface--content{
  border-radius: 26px;
  padding: 18px;
  border: 1px solid var(--mp-content-border);
  /*background: rgb(247 165 3 / 6%);*/
  box-shadow:
    0 26px 70px rgba(0,0,0,.12),
    inset 0 1px 0 rgba(255,255,255,.10),
    inset 0 -22px 44px rgba(0,0,0,.06);
}

.mp-detail-grid{
  display: grid;
  grid-template-columns: 1.6fr 0.9fr;
  gap: 22px;
  align-items: start;
}

/* Gallery frames */
.mp-gallery{ margin-top: 12px; }

.mp-gallery-main{
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  background: var(--mp-surface);
  border: 1px solid var(--mp-accent-border);
  box-shadow: 0 14px 28px rgba(0,0,0,.10);
  overflow: hidden;
}

.mp-gallery-main img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: pointer;
}

.mp-gallery-thumbs{
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.mp-gallery-thumb{
  height: 72px;
  border-radius: 14px;
  background: var(--mp-surface);
  border: 1px solid var(--mp-accent-border);
  box-shadow: 0 10px 20px rgba(0,0,0,.08);
}

/* Content blocks */
.mp-block{ margin-top: 20px; }
.mp-block-title{
  margin: 0 0 10px;
  font-weight: 950;
  letter-spacing: .2px;
}
.mp-block-text{
  margin: 0 0 10px;
  line-height: 1.55;
  font-size: 18px;
  font-weight: bold;
}

/* Specs */
.mp-specs{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.mp-spec{
  padding: 12px;
  border-radius: 16px;
  background: var(--mp-surface);
  border: 1px solid var(--mp-accent-border);
  box-shadow: 0 12px 24px rgba(0,0,0,.08);
}

.mp-spec-label{ font-size: 12px; margin-bottom: 6px; color: rgba(0,0,0,.62); }
.mp-spec-value{ font-size: 18px; color: rgba(0,0,0,.88); font-weight: bold; }

/* Aside */
.mp-detail-aside{ position: sticky; top: 14px; }

.mp-aside-card{
  padding: 14px;
  border-radius: 18px;
  border: 1px solid var(--mp-accent-border);
  background: rgb(247 165 3 / 6%);
  box-shadow:
    0 26px 70px rgba(0,0,0,.12),
    inset 0 1px 0 rgba(255,255,255,.10),
    inset 0 -22px 44px rgba(0,0,0,.06);
}

.mp-aside-meta{
  margin-top: 10px;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.mp-aside-actions{ margin-top: 14px; }
.mp-aside-help{
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.35;
}

/* Buttons (base + variants) */
.mp-btn{
  border-radius: 14px;
  font-weight: 900;
  cursor: pointer;
  color: black;
}

.mp-seller-card{
  margin-top: 16px;
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--mp-accent-border);
  display: flex;
  align-items: center;
  gap: 12px;
}

.mp-seller-avatar-wrap{
  flex: 0 0 56px;
}

.mp-seller-avatar{
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 2px solid rgba(255,255,255,.08);
  box-shadow: 0 8px 18px rgba(0,0,0,.18);
}

.mp-seller-info{
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mp-seller-name{
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
  color: inherit;
}

.mp-seller-rating{
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 13px;
  line-height: 1.3;
}

.mp-seller-stars{
  letter-spacing: 1px;
  color: #f7a503;
  font-size: 14px;
}

.mp-seller-rating-text{
  color: rgba(255,255,255,.72);
}

body.dark-mode .mp-seller-card{
  background: rgba(255,255,255,.04);
  border-color: rgba(247,165,3,.35);
}

body.dark-mode .mp-seller-avatar{
  border-color: rgba(247,165,3,.35);
}

body.dark-mode .mp-seller-rating-text{
  color: rgba(255,255,255,.72);
}

/* Listing page CTA */
.mp-detail .mp-btn{
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--mp-accent-border);
  background: rgba(33, 90, 47, .96);
  color: #fff;
  box-shadow: 0 12px 24px rgba(0,0,0,.14);
}
.mp-detail .mp-btn:hover{ filter: brightness(1.03); }



/* Similar listings grid tweak */
.mp-grid--compact{ margin-top: 12px; }

/* --- RESPONSIVE (LISTING DETAIL) --- */
@media (max-width: 980px){
  .mp-detail-grid{ grid-template-columns: 1fr; }
  .mp-detail-aside{ position: static; }
  /*.mp-gallery-main{ height: 300px; }*/
  .mp-specs{ grid-template-columns: 1fr; }
}

/* --- DARK MODE (LISTING DETAIL) --- */
body.dark-mode .mp-detail .mp-detail-kicker,
body.dark-mode .mp-detail .mp-detail-kicker .mp-muted{
  color: rgba(255,255,255,.80);
}

body.dark-mode .mp-detail .mp-aside-card,
body.dark-mode .mp-detail .mp-aside-card *{
  color: rgba(255,255,255,.92);
}

body.dark-mode .mp-detail .mp-card-price{
  color: rgba(34, 197, 94, .92);
}

body.dark-mode .mp-detail .mp-chip{
  background: rgba(255,255,255,.06);
  border-color: rgba(247,165,3,.55);
  color: rgba(255,255,255,.88);
}

body.dark-mode .mp-detail .mp-detail-back a{
  color: rgba(255,255,255,.88);
  font-weight: 900;
}

body.dark-mode .mp-detail .mp-section-link{
  color: rgba(255,255,255,.88);
}

body.dark-mode .mp-gallery-main,
body.dark-mode .mp-gallery-thumb,
body.dark-mode .mp-spec{
  background: rgba(15,15,15,.92);
  border-color: rgba(247,165,3,.55);
  box-shadow: 0 14px 30px rgba(0,0,0,.42);
}

body.dark-mode .mp-spec-label{ color: rgba(255,255,255,.72); }
body.dark-mode .mp-spec-value{ color: #fff; }
/* =========================================================
   LISTING DETAIL (v2) — END
   ========================================================= */


/* =========================================================
   CATEGORY HERO HEADER (V3) — START
   ========================================================= */
.mpch-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:16px;
  margin-bottom:14px;

  padding: 14px 14px 10px;
  border-radius: 22px;

  background: var(--mp-surface);
  border: 1px solid var(--mp-accent-border);
  box-shadow:
    0 18px 44px rgba(0,0,0,.10),
    inset 0 1px 0 rgba(255,255,255,.10);
}

.mpch-left{ min-width:0; }
.mpch-right{ flex:0 0 auto; }

.mpch-kicker{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:8px;
}

.mpch-icon{
  width:34px;
  height:34px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius: 12px;

  background: rgba(247,165,3,.14);
  border: 1px solid rgba(247,165,3,.55);
  box-shadow: 0 12px 26px rgba(0,0,0,.08);
}

.mpch-pill{
  display:inline-flex;
  align-items:center;
  padding:6px 10px;
  border-radius:999px;

  font-size:12px;
  font-weight:950;
  letter-spacing:.25px;

  background: #ffffff;
  border: 1px solid var(--mp-accent-border);
  color: rgba(0,0,0,.70);
}

.mpch-title{
  margin:0;
  line-height:1.04;
  letter-spacing:.2px;

  font-size: 38px;
  font-weight: 980;

  color: rgba(0,0,0,.88);
  text-shadow: 0 10px 28px rgba(0,0,0,.08);
}

.mpch-title::after{
  content:"";
  display:block;
  width: 120px;
  height: 4px;
  margin-top: 10px;
  border-radius: 999px;

  background: linear-gradient(90deg, rgba(247,165,3,.95), rgba(247,165,3,.20));
  box-shadow: 0 10px 24px rgba(247,165,3,.18);
}

.mpch-subtitle{
  margin:10px 0 0;
  max-width: 620px;

  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;

  color: rgba(0,0,0,.68);
}

.mpch-meta{
  display:flex;
  align-items:center;
  gap:10px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.mpch-results{
  display:inline-flex;
  align-items:center;
  padding:6px 12px;
  border-radius:999px;

  font-size:13px;
  font-weight:950;
  letter-spacing:.2px;

  background: #ffffff;
  border: 1px solid var(--mp-accent-border);
  color: rgba(0,0,0,.78);
  box-shadow: 0 10px 22px rgba(0,0,0,.06);
}

.mpch-dot{ opacity:.55; }

.mpch-hint{
  font-size: 13px;
  font-weight: 850;
  color: rgba(0,0,0,.58);
}

.mpch-back{
  display:inline-flex;
  align-items:center;
  gap:8px;

  padding: 10px 14px;
  border-radius: 999px;

  font-weight: 950;
  text-decoration: none;
  white-space: nowrap;

  background: #ffffff;
  border: 1px solid var(--mp-accent-border);
  color: rgba(0,0,0,.76);
  box-shadow: 0 12px 26px rgba(0,0,0,.08);
}

.mpch-back:hover{ filter: brightness(1.03); }

/* --- DARK MODE (CATEGORY HERO HEADER) --- */
body.dark-mode .mpch-head{
  background: rgba(15,15,15,.92);
  border-color: rgba(247,165,3,.55);
  box-shadow: 0 22px 54px rgba(0,0,0,.40);
}

body.dark-mode .mpch-pill,
body.dark-mode .mpch-results,
body.dark-mode .mpch-back{
  background: rgba(10,10,10,.92);
  border-color: rgba(247,165,3,.55);
  color: rgba(255,255,255,.88);
}

body.dark-mode .mpch-subtitle{ color: rgba(255,255,255,.78); }
body.dark-mode .mpch-hint{ color: rgba(255,255,255,.72); }
body.dark-mode .mpch-title{
  color: #ffffff;
}

/* --- RESPONSIVE (CATEGORY HERO HEADER) --- */
@media (max-width: 860px){
  .mpch-head{
    flex-direction:column;
    align-items:flex-start;
  }
  .mpch-right{ width:100%; }
  .mpch-back{ width:100%; justify-content:center; }
  .mpch-title{ font-size: 32px; }
}
/* =========================================================
   CATEGORY HERO HEADER (V3) — END
   ========================================================= */



/* =========================================================
   CATEGORY PAGE FILTER BAR (V2) — START
   ========================================================= */
.mpc-bar{
  position:relative;
  padding:16px;
  border-radius:20px;
  margin-bottom: 10px;
  background: var(--mp-surface);
  border: 1px solid var(--mp-accent-border);
}

.mpc-bar, .mpc-bar *{ box-sizing:border-box; }

.mpc-row{
  display:grid;
  grid-template-columns:
    minmax(0, 1.25fr)
    minmax(0, .90fr)
    minmax(0, 1.70fr)
    minmax(0, 1.05fr)
    auto;
  column-gap:12px;
}

.mpc-row--labels{
  align-items:end;
  margin-bottom:8px;
}

.mpc-lab{
  font-size:12px;
  font-weight:900;
  letter-spacing:.25px;
  color: var(--mp-gold);
  line-height:1;
  white-space:nowrap;
}

.mpc-lab--right{ text-align:right; }

.mpc-row--controls{ align-items:center; }
.mpc-cell{ min-width:0; }

.mpc-cell--right{
  display:flex;
  justify-content:flex-end;
  align-items:center;
}

.mpc-cell--actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.mpc-input{
  width:100%;
  height:40px;
  padding:0 16px;
  border-radius:999px;

  font-size:16px;
  font-weight:900;
  line-height:40px;

  background: #ffffff;
  border: 1px solid var(--mp-accent-border);
  color: rgba(0,0,0,.86);

  box-shadow:0 10px 22px rgba(0,0,0,.08);
  outline:none;
}

.mpc-input::placeholder{
  color: rgba(0,0,0,.45);
  font-weight:800;
}

.mpc-price{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
  min-width:0;
}

.mpc-dd{ position:relative; min-width:0; }
.mpc-dd > summary{ list-style:none; }
.mpc-dd > summary::-webkit-details-marker{ display:none; }

.mpc-dd__toggle{
  height:40px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;

  padding:0 16px;
  border-radius:999px;

  font-size:16px;
  font-weight:950;

  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;

  background: #ffffff;
  border: 1px solid var(--mp-accent-border);
  color: rgba(0,0,0,.86);

  cursor:pointer;
  box-shadow:0 10px 22px rgba(0,0,0,.08);
}

.mpc-caret{ flex:0 0 auto; opacity:.9; }

.mpc-dd__menu{
  position:absolute;
  left:0;
  top:56px;
  z-index:200;

  min-width:240px;
  padding:10px;
  border-radius:16px;

  background: #ffffff;
  border: 1px solid var(--mp-accent-border);
  box-shadow:0 20px 40px rgba(0,0,0,.20);
}

.mpc-dd:not([open]) .mpc-dd__menu{ display:none; }

.mpc-opt{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px;
  border-radius:12px;
  font-weight:850;
  cursor:pointer;
}
.mpc-opt:hover{ background: rgba(0,0,0,.04); }
.mpc-opt input{ width:16px; height:16px; }

.mpc-optbtn{
  width:100%;
  text-align:left;
  display:flex;
  align-items:center;

  padding:10px;
  border-radius:12px;
  border:0;
  background:transparent;

  font-weight:850;
  cursor:pointer;
}
.mpc-optbtn:hover{ background: rgba(0,0,0,.04); }

.mpc-clear{
  height:40px;
  padding:0 20px;
  border-radius:999px;

  font-size:16px;
  font-weight:950;

  display:block;
  line-height:40px;

  background: rgba(0,0,0,.04);
  border: 1px solid var(--mp-accent-border);
  color: rgba(0,0,0,.82);

  cursor:pointer;
  box-shadow:0 10px 22px rgba(0,0,0,.08);

  margin:0;
}
.mpc-clear:hover{ filter:brightness(1.05); }

.mpc-clear--disabled {
    opacity: .55;
    cursor: not-allowed;
}

/* Light mode: dropdown items dark */
body:not(.dark-mode) .mpc-dd__menu .mpc-optbtn{
  color: rgba(0,0,0,.88);
  opacity: 1;
  -webkit-text-fill-color: rgba(0,0,0,.88);
}

/* --- DARK MODE (FILTER BAR) --- */
body.dark-mode .mpc-bar{
  background: rgba(15,15,15,.92);
  border-color: rgba(247,165,3,.55);
  box-shadow: 0 22px 54px rgba(0,0,0,.40);
}

body.dark-mode .mpc-input,
body.dark-mode .mpc-dd__toggle{
  background: rgba(10,10,10,.92);
  border-color: rgba(247,165,3,.55);
  color: rgba(255,255,255,.92);
}

body.dark-mode .mpc-input::placeholder{
  color: rgba(255,255,255,.55);
  opacity: 1;
}

body.dark-mode .mpc-dd__menu{
  background: rgba(15,15,15,.98);
  border-color: rgba(247,165,3,.55);
  color: rgba(255,255,255,.92);
  box-shadow:0 18px 40px rgba(0,0,0,.55);
}

body.dark-mode .mpc-opt:hover,
body.dark-mode .mpc-optbtn:hover{
  background: rgba(255,255,255,.06);
}

body.dark-mode .mpc-clear{
  background: rgba(15,15,15,.92);
  border-color: rgba(247,165,3,.55);
  color: rgba(255,255,255,.92);
  box-shadow:0 14px 26px rgba(0,0,0,.35);
}

/* --- RESPONSIVE (FILTER BAR) --- */
@media (max-width:1100px){
  .mpc-row{
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  }

  .mpc-row--labels > .mpc-lab--right{ display:none; }

  .mpc-row--controls > .mpc-cell--right{
    grid-column: 1 / -1;
    justify-content:flex-start;
    margin-top:12px;
  }
}

@media (max-width:860px){
  .mpc-row{
    grid-template-columns: 1fr;
    row-gap:10px;
  }

  .mpc-row--labels{ display:none; }

  .mpc-price{ grid-template-columns:1fr; }

  .mpc-row--controls > .mpc-cell--right{ margin-top:0; }

  .mpc-clear{ width:100%; }
}
/* =========================================================
   CATEGORY PAGE FILTER BAR (V2) — END
   ========================================================= */



/* =========================================================
   CREATE LISTING — START
   ========================================================= */
.mp-create .mp-create-head{
  padding-top: 22px;
  padding-bottom: 14px;
}

.mp-create-hero{
  padding: 18px 18px 16px;
  border-radius: 22px;
  background: var(--mp-surface);
  border: 1px solid var(--mp-accent-border);
  box-shadow: 0 18px 50px rgba(0,0,0,.14);
}

.mp-create-back{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 900;
  opacity: .90;

  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--mp-accent-border);
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(0,0,0,.10);
}
.mp-create-back:hover{ opacity: 1; transform: translateY(-1px); }

.mp-create-title{
  font-size: 44px;
  line-height: 1.05;
  margin: 10px 0 6px 0;
  letter-spacing: -0.02em;
}

.mp-create-sub{ margin: 0; opacity: .82; }

.mp-create-grid{
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 22px;
  align-items: start;
  padding-bottom: 40px;
  background: radial-gradient(circle at 20% 30%, rgba(252, 172, 70, 0.25) 0 120px, transparent 121px), radial-gradient(circle at 80% 20%, rgba(214, 113, 39, 0.2) 0 140px, transparent 141px), radial-gradient(circle at 30% 80%, rgba(255, 200, 120, 0.25) 0 130px, transparent 131px), repeating-linear-gradient(45deg, rgba(0, 0, 0, 0.02) 0px, rgba(0, 0, 0, 0.02) 2px, transparent 2px, transparent 10px), linear-gradient(to bottom, #f8f9fa, #f1f3f5);
}

body.dark-mode .mp-create-grid{
    background: radial-gradient(circle at 20% 30%, rgba(255, 140, 0, 0.15) 0 140px, transparent 141px), radial-gradient(circle at 80% 25%, rgba(214, 113, 39, 0.12) 0 160px, transparent 161px), radial-gradient(circle at 30% 80%, rgba(255, 180, 80, 0.1) 0 150px, transparent 151px), repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.03) 0px, rgba(255, 255, 255, 0.03) 2px, transparent 2px, transparent 12px), linear-gradient(to bottom, #181818, #0f0f0f);
}

@media (max-width: 980px){
  .mp-create-grid{ grid-template-columns: 1fr; }
}

.mp-create-panel{ padding: 18px; }

.mp-create-form{
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.mp-create-block{
  padding: 16px;
  border-radius: 18px;
  /*background: var(--mp-surface);*/
  border: 1px solid var(--mp-accent-border);
  box-shadow: 0 10px 28px rgba(0,0,0,.12);
}

.mp-create-blocktitle{
  margin: 0 0 12px 0;
  font-size: 22px;
  letter-spacing: -0.01em;
}

.mp-free-label{
    cursor: pointer;
}

.mp-field{ display: flex; flex-direction: column; gap: 8px; }
.mp-field--ghost{ opacity: 0; pointer-events: none; }

.mp-field-top{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mp-label{ font-weight: 900; opacity: .92; margin-top: 10px; }
.mp-counter{ font-weight: 900; font-size: 13px; opacity: .70; }
.mp-help{ font-size: 13px; opacity: .72; }

.mp-row{ display: grid; gap: 12px; }
.mp-row-2{ grid-template-columns: 1fr 1fr; }

@media (max-width: 680px){
  .mp-row-2{ grid-template-columns: 1fr; }
}

.mp-input, .mp-select, .mp-textarea{
  width: 100%;
  border-radius: 14px;
  padding: 12px 14px;
  border: 1px solid var(--mp-accent-border);
  background: #ffffff;
  color: rgba(0,0,0,.88);
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}

.mp-textarea{
  min-height: 150px;
  resize: vertical;
}

.mp-selectwrap{ position: relative; }
.mp-select{
  appearance: none;
  padding-right: 40px;
  cursor: pointer;
}
.mp-select-arrow{
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  opacity: .75;
  pointer-events: none;
  font-weight: 900;
}

/* placeholders */
body:not(.dark-mode) .mp-create .mp-input::placeholder,
body:not(.dark-mode) .mp-create .mp-textarea::placeholder{
  color: rgba(0,0,0,.65);
  opacity: 1;
}

/* Price row */
.mp-price{
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
}

.mp-price-currency{
  font-weight: 900;
  opacity: .92;
  padding: 12px 10px;
  border-radius: 12px;
  background: rgba(0,0,0,.03);
  border: 1px solid var(--mp-accent-border);
}

/* Upload */
.mp-upload{
  border-radius: 18px;
  padding: 16px;
  border: 1px dashed var(--mp-accent-border);
  background: rgba(0,0,0,.02);
}

.mp-upload-inner{
  display: grid;
  gap: 8px;
  align-items: start;
  justify-items: center;
  text-align: center;
  padding: 18px 10px;
}

.mp-upload-title{
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.mp-upload-sub{ font-size: 13px; opacity: .75; }

.mp-upload-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 14px;
  font-weight: 900;
  cursor: pointer;
  border: 1px solid var(--mp-accent-border);
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
}
.mp-upload-btn:hover{ transform: translateY(-1px); }

.mp-upload-input{ display: none; }

.mp-upload-slots{
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-top: 12px;
}

@media (max-width: 680px){
  .mp-upload-slots{ grid-template-columns: repeat(3, 1fr); }
}

.mp-slot{
  height: 44px;
  border-radius: 12px;
  background: rgba(0,0,0,.02);
  border: 1px solid var(--mp-accent-border);
}

/* Sidebar */
.mp-create-side{
  display: grid;
  gap: 14px;
  padding-bottom: 150px;
}

.mp-sidecard{
  padding: 16px;
  border-radius: 18px;
  /*background: var(--mp-surface);*/
  border: 1px solid var(--mp-accent-border);
  box-shadow: 0 12px 30px rgba(0,0,0,.10);
}

.mp-sidecard-title{
  margin: 0 0 12px 0;
  font-size: 20px;
  letter-spacing: -0.01em;
}

body.dark-mode .mp-sidecard-title{
    color: orange;
}

.mp-sidecard--tips{
  background: var(--mp-surface);
}

.mp-tips{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.mp-tipdot{
  display: inline-flex;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  margin-right: 8px;
  font-weight: 900;
  background: rgba(247,165,3,.12);
  border: 1px solid var(--mp-accent-border);
}

.mp-tip-muted{ opacity: .78; }

/* Action bar */
.mp-actionbar{
  margin-top: 18px;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;

  padding: 16px;
  border-radius: 18px;

  /*background: var(--mp-surface);*/
  border: 1px solid var(--mp-accent-border);
  box-shadow: 0 18px 40px rgba(0,0,0,.12);
}

/* Action bar disclaimer (FINAL) */
.mp-actionbar-note{
  grid-column: 1 / -1;

  font-size: 14px;
  line-height: 1.5;
  font-weight: 600;
  text-align: center;

  padding: 10px 14px;
  border-radius: 14px;

  background: #ffffff;
  color: rgba(0,0,0,.85);

  border: 1px solid var(--mp-accent-border);
}

.mp-active-filters-wrap {
    margin-top: 12px;
}

.mp-active-filters-surface {
    padding: 12px 14px;
}

.mp-active-filters-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.mp-active-filters-title {
    font-weight: 600;
    margin-right: 6px;
}

.mp-flex-spacer {
    flex: 1;
}

/* Create page buttons (variants) */
.mp-create .mp-btn{
  border: 0;
  border-radius: 14px;
  padding: 12px 14px;
  font-weight: 900;
  cursor: pointer;
}

.mp-btn--ghost{
  background: #ffffff;
  border: 1px solid var(--mp-accent-border);
}

.mp-btn--primary{
  background: rgb(46 204 113 / 43%);
  color: #0b1a12;
  box-shadow: 0 14px 30px rgba(0,0,0,.16);
}
.mp-btn--primary:hover{ transform: translateY(-1px); }

/* --- DARK MODE (CREATE LISTING) --- */
body.dark-mode .mp-create-hero,
body.dark-mode .mp-create-block,
body.dark-mode .mp-sidecard,
body.dark-mode .mp-actionbar{
  background: rgba(15,15,15,.92);
  border-color: rgba(247,165,3,.55);
  box-shadow: 0 22px 54px rgba(0,0,0,.40);
}

body.dark-mode .mp-input,
body.dark-mode .mp-select,
body.dark-mode .mp-textarea{
  background: rgba(10,10,10,.92);
  border-color: rgba(247,165,3,.55);
  color: rgba(255,255,255,.92);
}

body.dark-mode .mp-create .mp-input::placeholder,
body.dark-mode .mp-create .mp-textarea::placeholder{
  color: rgba(255,255,255,.55);
  opacity: 1;
}

body.dark-mode label.mp-upload-btn{
  background: rgba(15,15,15,.92);
  border-color: rgba(247,165,3,.55);
  color: orange;
}

body.dark-mode .mp-slot{
  background: rgba(10,10,10,.92);
  border-color: rgba(247,165,3,.55);
}

body.dark-mode .mp-actionbar-note{
  background: rgba(10,10,10,.92);
  color: rgba(255,255,255,.85);
  border-color: rgba(247,165,3,.55);
}

/* (a te fix-ed megmaradt) */
body.dark-mode .mp-create-back{
  color: black !important;
}
/* =========================================================
   CREATE LISTING — END
   ========================================================= */



/* =========================================================
   CREATE — PHOTO PREVIEW — START
   ========================================================= */
.mp-create #mp-photo-preview.mp-upload-slots{
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

@media (max-width: 680px){
  .mp-create #mp-photo-preview.mp-upload-slots{
    grid-template-columns: repeat(1, 1fr);
  }
}

.mp-create #mp-photo-preview .mp-slot{
  height: auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
  border-radius: 14px;
}

.mp-create #mp-photo-preview .mp-slot-inner{
  width: 100%;
  height: 100%;
  position: relative;
}

.mp-create #mp-photo-preview .mp-slot-img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none; /* JS toggles */
}

.mp-create #mp-photo-preview .mp-slot-empty{
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 22px;
  opacity: .55;
}

.mp-create #mp-photo-preview .mp-slot-badge{
  position: absolute;
  left: 4px;
  top: 4px;
  z-index: 3;

  display: none; /* JS toggles */
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;

  background: rgba(255,255,255,.92);
  color: rgba(0,0,0,.85);
  border: 1px solid var(--mp-accent-border);
  box-shadow: 0 10px 22px rgba(0,0,0,.18);
}

.mp-create #mp-photo-preview .mp-slot-remove{
  position: absolute;
  right: 4px;
  top: 4px;
  z-index: 4;

  width: 34px;
  height: 34px;
  border-radius: 12px;
  border: 0;
  cursor: pointer;

  display: none; /* JS toggles */
  align-items: center;
  justify-content: center;

  background: #ef1717;
  color: rgba(255,255,255,.95);
  box-shadow: 0 12px 24px rgba(0,0,0,.20);
}

/* Desktop hover show */
@media (hover: hover) and (pointer: fine){
  .mp-create #mp-photo-preview .mp-slot[data-has-image="1"] .mp-slot-remove{
    opacity: 0;
    pointer-events: none;
    transition: opacity .15s ease, transform .15s ease;
    transform: translateY(-2px);
  }

  .mp-create #mp-photo-preview .mp-slot[data-has-image="1"]:hover .mp-slot-remove{
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .mp-create #mp-photo-preview .mp-slot[data-has-image="1"]{ cursor: grab; }
  .mp-create #mp-photo-preview .mp-slot.is-dragging{ opacity: .6; cursor: grabbing; }
  .mp-create #mp-photo-preview .mp-slot.is-drop-target{
    outline: 2px solid rgba(255, 165, 0, .8);
    outline-offset: 3px;
  }
}

/* Mobile: always visible when image exists */
@media (hover: none) and (pointer: coarse){
  .mp-create #mp-photo-preview .mp-slot[data-has-image="1"] .mp-slot-remove{
    opacity: 1;
    pointer-events: auto;
  }
}

/* Upload status */
.mp-create .mp-upload-status{
  margin-top: 12px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.01em;
  opacity: .82;
  text-align: center;
}

/* Mobile tuning */
@media (max-width: 520px){
  .mp-create #mp-photo-preview{ grid-template-columns: repeat(2, 1fr); gap: 12px; }

  .mp-create #mp-photo-preview .mp-slot{ height: 92px; }

  .mp-create #mp-photo-preview .mp-slot-inner{
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 16px;
  }

  .mp-create #mp-photo-preview .mp-slot-img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .mp-create #mp-photo-preview .mp-slot-badge{
    left: 10px;
    top: 10px;
    padding: 5px 8px;
    font-size: 11px;
  }

  .mp-create #mp-photo-preview .mp-slot-remove{
    right: 10px;
    top: 10px;
    width: 30px;
    height: 30px;
    border-radius: 12px;
  }

  .mp-create .mp-upload-status{ margin-top: 14px; }
}

@media (max-width: 520px){
  .mp-create #mp-photo-preview{
    grid-template-columns: 1fr;
    justify-content: center;
  }

  .mp-create #mp-photo-preview .mp-slot{
    width: min(360px, 100%);
    margin: 0 auto;
  }
}
/* =========================================================
   CREATE — PHOTO PREVIEW — END
   ========================================================= */
   
   /* Make the drag overlay fill the whole slot */
.mp-create #mp-photo-preview .mp-slot-inner{ position: relative; }

.mp-create #mp-photo-preview .mp-slot-drag{
  position: absolute;
  inset: 0;
  z-index: 2;
  cursor: grab;
  background: transparent;
}

/* Make sure remove button stays clickable above the overlay */
.mp-create #mp-photo-preview .mp-slot-remove{
  z-index: 4;
}



/* =========================================================
   LISTING GALLERY THUMBS — START
   ========================================================= */
.mp-thumb{
  position: relative;
  padding: 0;
  border: 0;
  cursor: pointer;
  overflow: hidden;
}

.mp-thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mp-thumb.is-active{
  outline: 2px solid rgba(247,165,3,.95);
  outline-offset: 2px;
}

.mp-thumb-badge{
  position: absolute;
  left: 6px;
  bottom: 6px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  background: rgba(255,255,255,.92);
  color: rgba(0,0,0,.85);
  border: 1px solid var(--mp-accent-border);
}
/* =========================================================
   LISTING GALLERY THUMBS — END
   ========================================================= */



/* =========================================================
   LISTING LIGHTBOX — START
   ========================================================= */
.mp-lightbox{
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}
.mp-lightbox.is-open{ display: flex; }

.mp-lightbox-backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.72);
}

.mp-lightbox-panel{
  position: relative;
  z-index: 2;

  width: min(980px, 96vw);
  max-height: 90vh;

  background: #ffffff;
  border-radius: 18px;
  border: 1px solid var(--mp-accent-border);
  box-shadow: 0 30px 80px rgba(0,0,0,.45);

  display: grid;
  place-items: center;

  overflow: hidden;
  padding: 10px;
}

.mp-lightbox-img{
  width: 100%;
  height: auto;
  max-height: calc(90vh - 20px);
  object-fit: contain;
  display: block;
}

.mp-lightbox-close{
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 5;

  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 0;

  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: 22px;
  line-height: 38px;

  cursor: pointer;
}
.mp-lightbox-close:hover{ filter: brightness(1.08); }

.mp-lightbox-nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;

  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 0;

  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: 26px;
  line-height: 44px;

  cursor: pointer;
  display: grid;
  place-items: center;
}

.mp-lightbox-prev{ left: 10px; }
.mp-lightbox-next{ right: 10px; }

.mp-lightbox-nav:hover{ filter: brightness(1.08); }

/* --- RESPONSIVE (LIGHTBOX) --- */
@media (max-width: 520px){
  .mp-lightbox{ padding: 12px; }
  .mp-lightbox-panel{
    width: 96vw;
    max-height: 86vh;
    border-radius: 16px;
  }
  .mp-lightbox-nav{
    width: 40px;
    height: 40px;
    border-radius: 12px;
    font-size: 24px;
  }
}

/* --- BUTTON/ICON ISOLATION (LIGHTBOX) --- */
#mpLightbox .mp-lightbox-close,
#mpLightbox .mp-lightbox-nav{
  all: unset;
  box-sizing: border-box;
  cursor: pointer;

  display: grid;
  place-items: center;

  width: 44px;
  height: 44px;
  border-radius: 14px;

  background: rgba(0,0,0,.55);
  color: #fff;

  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 900;
  font-size: 28px;
  line-height: 1;

  position: absolute;
  z-index: 5;
}

#mpLightbox .mp-lightbox-close{
  top: 14px;
  right: 14px;
  font-size: 30px;
}

#mpLightbox .mp-lightbox-prev{ left: 14px; top: 50%; transform: translateY(-50%); }
#mpLightbox .mp-lightbox-next{ right: 14px; top: 50%; transform: translateY(-50%); }

#mpLightbox .mp-lightbox-close::before,
#mpLightbox .mp-lightbox-close::after,
#mpLightbox .mp-lightbox-nav::before,
#mpLightbox .mp-lightbox-nav::after{
  content: none;
}

#mpLightbox .mp-lightbox-close *,
#mpLightbox .mp-lightbox-nav *{
  all: unset;
}
/* =========================================================
   LISTING LIGHTBOX — END
   ========================================================= */



/* =========================================================
   SOLD RIBBON — START
   ========================================================= */
.mp-sold-badge{
  position: absolute;
  top: 16px;
  left: -48px;

  transform: rotate(-20deg);

  background: linear-gradient(
    90deg,
    rgba(255,80,80,1) 0%,
    rgba(255,60,60,1) 100%
  );

  color: #ffffff;
  font-weight: 950;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;

  padding: 8px 80px;
  border-radius: 999px;

  box-shadow: 0 16px 38px rgba(0,0,0,.25);
  z-index: 10;
  pointer-events: none;
}

/* --- DARK MODE (SOLD RIBBON) --- */
body.dark-mode .mp-sold-badge{
  box-shadow: 0 18px 42px rgba(0,0,0,.55);
}
/* =========================================================
   SOLD RIBBON — END
   ========================================================= */
   
   /* =========================================================
   FREE RIBBON — START
   ========================================================= */
.mp-free-badge{
  position: absolute;
  top: 16px;
  left: -48px;

  transform: rotate(-20deg);

  background: linear-gradient(
    90deg,
    rgba(34,197,94,1) 0%,
    rgba(22,163,74,1) 100%
  );

  color: #ffffff;
  font-weight: 950;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;

  padding: 8px 80px;
  border-radius: 999px;

  box-shadow: 0 16px 38px rgba(0,0,0,.25);
  z-index: 10;
  pointer-events: none;
}

/* --- DARK MODE (FREE RIBBON) --- */
body.dark-mode .mp-free-badge{
  box-shadow: 0 18px 42px rgba(0,0,0,.55);
}
/* =========================================================
   FREE RIBBON — END
   ========================================================= */



/* =========================================================
   FIX: profile.css button margin override in marketplace — START
   ========================================================= */
.mp-page button,
.mp-dash button,
.mp-card button,
.mp-create button{
  margin-bottom: 0 !important;
}
/* =========================================================
   FIX: profile.css button margin override in marketplace — END
   ========================================================= */


/* =========================================================
   DASHBOARD (Profile Extension) — START
   ========================================================= */

/* ---------- Header label swap helpers ---------- */
.th-short { display: none; }

/* DASHBOARD TOKENS (scoped) */
.mp-dash{
  --mp-dash-bg: #ffffff;
  --mp-dash-card: #ffffff;
  --mp-dash-text: rgba(0,0,0,.88);
  --mp-dash-muted: rgba(0,0,0,.62);
  --mp-dash-line: rgba(0,0,0,.10);

  --mp-dash-accent: #f7a503;
  --mp-dash-accent-soft: rgba(247,165,3,.22);

  --mp-dash-radius: 18px;
  --mp-dash-shadow: 0 18px 45px rgba(0,0,0,.12);

  color: var(--mp-dash-text);
}

/* MAIN WRAPPER */
.mp-dash{
  padding: 20px;
  background: #e4e1e1;
  border: 1px solid var(--mp-dash-accent);
  border-radius: var(--mp-dash-radius);
  box-shadow: var(--mp-dash-shadow);
}

/* Make all text inside readable by default */
.mp-dash,
.mp-dash *{ color: inherit; }

/* Muted text in dash */
.mp-dash .mp-muted,
.mp-dash-sub,
.mp-dash-sidefoot{
  color: var(--mp-dash-muted);
  opacity: 1;
}

.mp-dash-sidefoot{
  margin-top: 16px;
}

/* HEADER (title + actions) */
.mp-dash-head{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.mp-dash-actions{
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

/* Search input wrapper */
.mp-dash-search{
  min-width: 260px;
  flex: 1;
}

/* Search input */
.mp-dash-input{
  width: 100%;
  height: 40px;
  padding: 0 14px;
  border-radius: 999px;

  background: #ffffff;
  border: 1px solid var(--mp-dash-accent);
  outline: none;

  color: var(--mp-dash-text);
  box-shadow: 0 10px 22px rgba(0,0,0,.08);
}

.mp-dash-input::placeholder{
  color: rgba(0,0,0,.48);
  opacity: 1;
}

.mp-dash-input:focus{
  box-shadow:
    0 12px 26px rgba(0,0,0,.10),
    0 0 0 3px rgba(247,165,3,.22);
}

/* HEADER ACTION BUTTONS */
.mp-dash-actions .mp-btn{
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 950;
  line-height: 1;
}

.mp-dash-actions .mp-btn--ghost{
  background: #ffffff;
  border: 1px solid var(--mp-dash-accent);
  color: rgba(0,0,0,.82);
}

.mp-dash-actions .mp-btn--primary{
  border: 1px solid var(--mp-dash-accent);
}

/* GRID LAYOUT */
.mp-dash-grid{
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 18px;
}

/* SIDEBAR */
.mp-dash-side{
  background: var(--mp-dash-card);
  border: 1px solid var(--mp-dash-accent);
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 12px 28px rgba(0,0,0,.08);
}

.mp-dash-sidehead{
  display: flex;
  gap: 10px;
  align-items: center;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--mp-dash-line);
}

.mp-dash-kicker{
  font-size: 22px;
  line-height: 1;
}

.mp-dash-title{ font-weight: 950; }
.mp-dash-sub{ font-size: 13px; }

/* SIDEBAR NAV */
.mp-dash-nav{
  display: grid;
  gap: 6px;
  margin-top: 8px;
}

.mp-dash-link{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border-radius: 12px;
  text-decoration: none;
  

  border: 1px solid orange;
  color: var(--mp-dash-text);
}

.mp-dash-link:hover{
  background: var(--mp-dash-accent-soft);
  border-color: var(--mp-dash-accent);
}

.mp-dash-link.is-active{
  background: var(--mp-dash-accent-soft);
  border-color: var(--mp-dash-accent);
  font-weight: 950;
}

.mp-dash-link.is-disabled{
  opacity: .55;
  pointer-events: none;
}

.mp-dash-pill{
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--mp-dash-accent);
  color: rgba(0,0,0,.74);
}

/* MAIN CONTENT */
.mp-dash-main{ min-width: 0; }

/* TABLE WRAPPER */
.mp-dash-tablewrap{
  background: var(--mp-dash-card);
  border: 1px solid var(--mp-dash-accent);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0,0,0,.08);
}

/* TABLE */
.mp-dash-table{
  width: 100%;
  border-collapse: collapse;
}

.mp-dash-table thead th{
  text-align: left;
  padding: 12px 14px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .4px;
  white-space: nowrap;

  background: rgba(247,165,3,.10);
  color: rgba(0,0,0,.82);
  border-bottom: 1px solid rgba(247,165,3,.35);
}

.mp-dash-table tbody td{
  padding: 14px;
  border-bottom: 1px solid rgba(0,0,0,.08);
  color: var(--mp-dash-text);
}

.mp-dash-table tbody tr:last-child td{ border-bottom: 0; }
.mp-dash-table .is-right{ text-align: center; }

.mp-dash-table a{ color: rgba(0,0,0,.84); }
.mp-dash-table a:hover{ text-decoration: underline; }

/* Empty state */
.mp-empty{
  padding: 40px 20px;
  text-align: center;
}
.mp-empty-title{
  font-size: 18px;
  font-weight: 950;
}

/* ACTIONS CELL */
.mp-dash .mp-dash-table td.is-right{
  display: flex;
  gap: 8px !important;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
}

.mp-dash .mp-dash-table .mp-btn,
.mp-dash .mp-dash-table button.mp-btn{
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  font-weight: 950;
  line-height: 34px;
  white-space: nowrap;
}

.mp-dash .mp-dash-table .mp-btn--ghost,
.mp-dash .mp-dash-table button.mp-btn--ghost{
  background: rgba(247,165,3,.10);
  border: 1px solid rgba(247,165,3,.75);
  color: rgba(0,0,0,.82);
}
.mp-dash .mp-dash-table .mp-btn--ghost:hover,
.mp-dash .mp-dash-table button.mp-btn--ghost:hover{
  background: rgba(247,165,3,.16);
}

@media (min-width: 641px){
  .mp-dash .mp-dash-table td.is-right .mp-btn,
  .mp-dash .mp-dash-table td.is-right button.mp-btn{
    min-width: 118px;
    justify-content: center;
  }
}

/* STATUS CHIPS */
.mp-dash .mp-chip{
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 950;
}

.mp-dash .mp-chip:not(.mp-chip--sold){
  background: rgba(33, 90, 47, .12);
  border-color: rgba(33, 90, 47, .35);
  color: rgba(15, 70, 32, .95);
}

.mp-dash .mp-chip--sold{
  background: rgba(255, 80, 80, 0.16);
  border-color: rgba(255, 80, 80, 0.42);
  color: rgba(255, 80, 80, 1);
}

.mp-dash .mp-dash-table tbody tr.mp-row--sold{
  background: rgba(255, 80, 80, 0.06);
}
.mp-dash .mp-dash-table tbody tr:not(.mp-row--sold){
  background: rgba(33, 90, 47, 0.03);
}

/* --- RESPONSIVE (DASHBOARD) --- */
@media (max-width: 980px){
  .mp-dash-grid{ grid-template-columns: 1fr; }
  .mp-dash-search{ min-width: 200px; }
}

@media (max-width: 460px){
  .th-full{ display: none; }
  .th-short{ display: inline; letter-spacing: .2px; }

  .mp-dash-table thead th{
    padding: 10px 8px;
    font-size: 11px;
    letter-spacing: .2px;
  }
  .mp-dash-table tbody td{ padding: 12px 8px; }
}

@media (max-width: 640px){
  .mp-dash-tablewrap{
    overflow: visible;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .mp-dash-table{
    display: block;
    width: 100%;
  }

  .mp-dash-table thead{ display: none; }

  .mp-dash-table tbody{
    display: grid;
    gap: 12px;
  }

  .mp-dash-table tr{
    display: grid;
    gap: 8px;
    padding: 12px;
    border-radius: 16px;

    background: var(--mp-dash-card);
    border: 1px solid var(--mp-dash-accent);
    box-shadow: 0 12px 26px rgba(0,0,0,.10);
  }

  .mp-dash-table td{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;

    padding: 0;
    border: 0 !important;
  }

  .mp-dash-table td.is-right{ justify-content: flex-start; }

  .mp-dash-table td:nth-child(1)::before{ content: "Listing"; font-weight: 950; color: var(--mp-dash-muted); }
  .mp-dash-table td:nth-child(2)::before{ content: "Status";  font-weight: 950; color: var(--mp-dash-muted); }
  .mp-dash-table td:nth-child(3)::before{ content: "Updated"; font-weight: 950; color: var(--mp-dash-muted); }
  .mp-dash-table td:nth-child(4)::before{ content: "Actions"; font-weight: 950; color: var(--mp-dash-muted); }

  .mp-dash-table td:nth-child(4){
    flex-direction: column;
    align-items: stretch;
  }

  .mp-dash-table td:nth-child(4) > *,
  .mp-dash-table td:nth-child(4) form{ width: 100%; }

  .mp-dash-table .mp-btn{
    width: 100%;
    justify-content: center;
  }
}

/* --- DARK MODE (DASHBOARD) --- */
body.dark-mode .mp-dash{
  --mp-dash-bg: #0f1115;
  --mp-dash-card: #141821;
  --mp-dash-text: rgba(255,255,255,.92);
  --mp-dash-muted: rgba(255,255,255,.72);
  --mp-dash-line: rgba(255,255,255,.10);

  box-shadow: 0 22px 54px rgba(0,0,0,.45);
}

body.dark-mode .mp-dash,
body.dark-mode .mp-dash *{
  color: var(--mp-dash-text);
}

body.dark-mode .mp-dash .mp-muted,
body.dark-mode .mp-dash-sub,
body.dark-mode .mp-dash-sidefoot{
  color: var(--mp-dash-muted);
}

body.dark-mode .mp-dash-side,
body.dark-mode .mp-dash-tablewrap{
  background: var(--mp-dash-card);
  border-color: var(--mp-dash-accent);
}

body.dark-mode .mp-dash-table thead th{
  background: rgba(247,165,3,.14);
  color: rgba(255,255,255,.92);
  border-bottom-color: rgba(247,165,3,.35);
}

body.dark-mode .mp-dash-table tbody td{
  color: rgba(255,255,255,.90);
  border-bottom-color: rgba(255,255,255,.10);
}

body.dark-mode .mp-dash a{ color: rgba(247,165,3,.92); }
body.dark-mode .mp-dash a:hover{ text-decoration: underline; }

body.dark-mode .mp-dash-pill{
  background: rgba(0,0,0,.35);
  border-color: var(--mp-dash-accent);
  color: rgba(255,255,255,.88);
}

body.dark-mode .mp-dash-input{
  background: rgba(0,0,0,.45);
  border-color: var(--mp-dash-accent);
  color: rgba(255,255,255,.92);
  box-shadow: 0 14px 26px rgba(0,0,0,.35);
}

body.dark-mode .mp-dash-input::placeholder{
  color: rgba(255,255,255,.55);
}

/* FIX: table ghost buttons readable in dark */
body.dark-mode .mp-dash .mp-dash-table .mp-btn--ghost,
body.dark-mode .mp-dash .mp-dash-table button.mp-btn--ghost{
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(247,165,3,.85);
  color: rgba(255,255,255,.92);
}

body.dark-mode .mp-dash .mp-dash-table .mp-btn--ghost:hover,
body.dark-mode .mp-dash .mp-dash-table button.mp-btn--ghost:hover{
  background: rgba(247,165,3,.14);
}

body.dark-mode .mp-dash .mp-chip:not(.mp-chip--sold){
  background: rgba(34, 197, 94, .12);
  border-color: rgba(34, 197, 94, .35);
  color: rgba(205, 255, 225, .92);
}

body.dark-mode .mp-dash .mp-chip--sold{
  background: rgba(255, 80, 80, 0.16);
  border-color: rgba(255, 80, 80, 0.42);
  color: rgba(255, 170, 170, .98);
}

body.dark-mode .mp-dash .mp-dash-table tbody tr.mp-row--sold{
  background: rgba(255, 80, 80, 0.05);
}

body.dark-mode .mp-dash .mp-dash-table tbody tr:not(.mp-row--sold){
  background: rgba(34, 197, 94, 0.03);
}

@media (max-width: 640px){
  body.dark-mode .mp-dash-table tr{
    background: var(--mp-dash-card);
    border-color: var(--mp-dash-accent);
    box-shadow: 0 16px 34px rgba(0,0,0,.45);
  }
}
/* =========================================================
   DASHBOARD (Profile Extension) — END
   ========================================================= */
   
   /* ========================= */
/* Marketplace modal (report) */
/* ========================= */

.mp-modal{
  position: fixed;
  inset: 0;
  z-index: 9998;
}

.mp-modal__overlay{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
}

.mp-modal__panel{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  width: min(520px, calc(100% - 30px));
  border-radius: 14px;
  padding: 16px;
  z-index: 9999;

  /* LIGHT MODE default */
  background: #ffffff;
  border: 1px solid rgba(0,0,0,.12);
  color: #111;
  box-shadow: 0 18px 60px rgba(0,0,0,.22);
}

.mp-modal__head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
}

/* DARK MODE */

body.dark-mode .mp-modal__overlay{
  background: rgba(0,0,0,.60);
}

body.dark-mode .mp-modal__panel{
  background:#111;
  border:1px solid rgba(255,255,255,.15);
  color:#fff;
  box-shadow:0 18px 60px rgba(0,0,0,.55);
}

/* =========================
   PROFILE DASHBOARD – THREAD VIEW
========================= */

.mp-thread-head{
  margin-bottom: 18px;
}

.mp-thread-title{
  margin: 0;
  font-size: 22px;
  line-height: 1.3;
}

.mp-thread-list{
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 0;
}

.mp-thread-message{
  background: #ffffff;
  border: 1px solid rgba(247,165,3,.55);
  border-radius: 18px;
  padding: 16px 18px;
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
  color: #111;
}

.mp-thread-message--me{
  background: #f6fff6;
  border-color: rgba(34,197,94,.45);
  color: #111;
}

.mp-thread-author{
  font-weight: 800;
  margin-bottom: 8px;
  color: #111;
}

.mp-thread-body{
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
  color: #111;
}

.mp-thread-time{
  margin-top: 10px;
  font-size: 12px;
  opacity: .72;
  color: #111;
}

.mp-thread-reply{
  margin-top: 22px;
}

.mp-thread-form{
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mp-thread-textarea{
  width: 100%;
  min-height: 140px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(247,165,3,.55);
  background: #fff;
  color: #111;
  font: inherit;
  line-height: 1.5;
  resize: vertical;
  box-sizing: border-box;
}

.mp-thread-textarea::placeholder{
  color: rgba(17,17,17,.55);
}

/* --- DARK MODE thread fine tuning --- */
body.dark-mode .mp-thread-title{
  color: rgba(255,255,255,.94);
}

body.dark-mode .mp-thread-message{
  background: #141821;
  border-color: rgba(247,165,3,.55);
  color: rgba(255,255,255,.92);
  box-shadow: 0 14px 30px rgba(0,0,0,.35);
}

body.dark-mode .mp-thread-message--me{
  background: rgba(34,197,94,.10);
  border-color: rgba(34,197,94,.38);
  color: rgba(255,255,255,.94);
}

body.dark-mode .mp-thread-author,
body.dark-mode .mp-thread-body,
body.dark-mode .mp-thread-time{
  color: rgba(255,255,255,.92);
}

body.dark-mode .mp-thread-time{
  opacity: .78;
}

body.dark-mode .mp-thread-textarea{
  background: rgba(0,0,0,.38);
  border-color: rgba(247,165,3,.55);
  color: rgba(255,255,255,.92);
  box-shadow: 0 10px 22px rgba(0,0,0,.28);
}

body.dark-mode .mp-thread-textarea::placeholder{
  color: rgba(255,255,255,.52);
}

@media (max-width: 640px){
  .mp-thread-title{
    font-size: 18px;
  }

  .mp-thread-message{
    padding: 14px;
  }

  .mp-thread-textarea{
    min-height: 120px;
  }

  .mp-thread-reply .mp-btn{
    width: 100%;
    justify-content: center;
  }
}
/* =========================
   MESSAGE SENT SUCCESS BAR
========================= */

.mp-message-success{
    margin-top:14px;
    background:#164808;
    padding:20px 22px;
    border-radius:18px;

    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;

    color:#fff;
}

.mp-message-success-text strong{
    font-size:16px;
}

.mp-message-success-link{
    margin-top:4px;
    font-weight:600;
}

.mp-message-success-link a{
    color:#fff;
}

.mp-message-success-close{
    background:#ff0000;
    border:none;
    margin-top:0;
    padding:0;

    width:38px;
    height:38px;

    border-radius:12px;

    font-size:18px;
    cursor:pointer;
}

.mp-message-success-close:hover{
    opacity:.85;
}

/* =========================
   MESSAGES INBOX
========================= */

.mp-messages-list{
    display:flex;
    flex-direction:column;
    gap:12px;
}

.mp-message-row{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:18px;

    padding:16px 18px;
    border:1px solid rgba(255,255,255,.08);
    border-radius:16px;
    border-color: rgba(247, 165, 3, .55);
    background:#fff;

    text-decoration:none;
    color:inherit;
    transition:.18s ease;
}

.mp-message-row:hover{
    border-color:rgba(255,180,0,.45);
    transform:translateY(-1px);
}

.mp-message-row-main{
    flex:1;
    min-width:0;
}

.mp-message-row-title{
    font-size:22px;
    font-weight:800;
    margin-bottom:6px;
    color: black;
}

.mp-message-row-user{
    font-size:16px;
    margin-bottom:6px;
    color: black;
}

.mp-message-row-preview{
    color:black;
    line-height:1.45;
    word-break:break-word;
}

.mp-message-row-meta{
    white-space:nowrap;
    font-size:14px;
    opacity:.75;
    margin-top:2px;
    color: black;
}

/* =========================
   PROFILE DASHBOARD – MESSAGES TAB
========================= */

.mp-dash-table--messages .mp-msg-listing-title{
  display: inline-block;
  font-weight: 900;
  line-height: 1.3;
  word-break: break-word;
}

.mp-dash-table--messages .mp-msg-user{
  font-weight: 700;
  line-height: 1.35;
}

.mp-dash-table--messages .mp-msg-time{
  color: var(--mp-dash-muted);
  white-space: nowrap;
}

.mp-dash-table--messages td.is-right{
  text-align: center;
}

.mp-dash-pagination{
  margin-top: 18px;
}

.mp-dash-empty{
  padding: 22px 6px 6px;
}

.mp-dash-empty h3{
  margin: 0 0 8px;
}

.mp-dash-empty .mp-btn{
  margin-top: 14px;
}

/* --- MOBILE: messages table labels --- */
@media (max-width: 640px){
  .mp-dash-table--messages td:nth-child(1)::before{
    content: "Listing";
    font-weight: 950;
    color: var(--mp-dash-muted);
  }

  .mp-dash-table--messages td:nth-child(2)::before{
    content: "With";
    font-weight: 950;
    color: var(--mp-dash-muted);
  }

  .mp-dash-table--messages td:nth-child(3)::before{
    content: "Last activity";
    font-weight: 950;
    color: var(--mp-dash-muted);
  }

  .mp-dash-table--messages td:nth-child(4)::before{
    content: "Action";
    font-weight: 950;
    color: var(--mp-dash-muted);
  }

  .mp-dash-table--messages td.is-right{
    justify-content: flex-start;
  }

  .mp-dash-table--messages td:nth-child(4){
    flex-direction: column;
    align-items: stretch;
  }

  .mp-dash-table--messages td:nth-child(4) > *{
    width: 100%;
  }

  .mp-dash-table--messages .mp-btn{
    width: 100%;
    justify-content: center;
  }

  .mp-dash-empty{
    padding-top: 8px;
  }
}

/* --- DARK MODE: messages tab fine tuning --- */
body.dark-mode .mp-dash-table--messages .mp-msg-time{
  color: var(--mp-dash-muted);
}

.mp-unread-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #ff3b3b;
    border-radius: 50%;
    margin-left: 6px;
    vertical-align: middle;
}

.mp-dash-pill-wrap {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.mp-dash-unread-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff3b30;
    display: inline-block;
    flex: 0 0 8px;
}

.mp-badge {
    display: inline-block;
    margin-left: 10px;
    padding: 8px 8px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 6px;
}

.mp-badge--sold {
    background: #ff6b35;
    color: #fff;
}

.mp-message-leave-btn {
    background: transparent;
    color: #000;
    border: 1px solid #2c3948;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.18s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.mp-message-leave-btn:hover {
    color: #ff6b6b;
    border-color: #ff6b6b;
    background: rgba(255,107,107,0.08);
}

.mp-message-leave-btn:active {
    transform: scale(0.96);
}

/* =========================
   THREAD REPORT MODAL
========================= */

.mp-modal{
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, .55);
  display: none;
  padding: 24px;
  overflow-y: auto;
}

.mp-modal .modal-dialog{
  width: 100%;
  max-width: 760px;
  margin: 60px auto;
}

.mp-modal .modal-dialog .modal-content{
  width: 100%;
  max-width: none;
  margin: 0;
  max-height: none;
  padding: 0;
  overflow: hidden;

  background: #ffffff;
  color: #111;
  border: 1px solid rgba(247,165,3,.55);
  border-radius: 22px;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
}

.mp-modal .modal-header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 22px 12px;
  border-bottom: 1px solid rgba(0,0,0,.08);
}

.mp-modal .modal-title{
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
  color: #111;
}

.mp-modal .closebtn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 12px;
  background: #ef4444;
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: .18s ease;
  flex: 0 0 42px;
}

.mp-modal .closebtn:hover{
  opacity: .9;
  transform: translateY(-1px);
}

.mp-modal .modal-body{
  padding: 18px 22px;
}

.mp-modal .modal-footer{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 0 22px 22px;
}

.mp-modal .mb-3{
  margin-bottom: 16px;
}

.mp-modal .form-label{
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 800;
  color: #111;
}

.mp-modal .form-select,
.mp-modal .form-control{
  width: 100%;
  border: 1px solid rgba(247,165,3,.55);
  border-radius: 14px;
  background: #fff;
  color: #111;
  padding: 12px 14px;
  font: inherit;
  line-height: 1.45;
  box-sizing: border-box;
  outline: none;
}

.mp-modal .form-select{
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  min-height: 48px;
}

.mp-modal .form-control{
  min-height: 130px;
  resize: vertical;
}

.mp-modal .form-select:focus,
.mp-modal .form-control:focus{
  border-color: rgba(247,165,3,.9);
  box-shadow: 0 0 0 3px rgba(247,165,3,.15);
}

.mp-modal .form-control::placeholder{
  color: rgba(17,17,17,.55);
}

.mp-modal .mp-btn{
  margin-top: 0;
}

/* --- DARK MODE --- */
body.dark-mode .mp-modal{
  background: rgba(0, 0, 0, .68);
}

body.dark-mode .mp-modal .modal-content{
  background: #141821;
  color: rgba(255,255,255,.94);
  border-color: rgba(247,165,3,.55);
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
}

body.dark-mode .mp-modal .modal-header{
  border-bottom-color: rgba(255,255,255,.08);
}

body.dark-mode .mp-modal .modal-title,
body.dark-mode .mp-modal .form-label{
  color: rgba(255,255,255,.94);
}

body.dark-mode .mp-modal .form-select,
body.dark-mode .mp-modal .form-control{
  background: rgba(0,0,0,.34);
  color: rgba(255,255,255,.94);
  border-color: rgba(247,165,3,.55);
  box-shadow: none;
}

body.dark-mode .mp-modal .form-control::placeholder{
  color: rgba(255,255,255,.48);
}

body.dark-mode .mp-modal .form-select:focus,
body.dark-mode .mp-modal .form-control:focus{
  border-color: rgba(247,165,3,.95);
  box-shadow: 0 0 0 3px rgba(247,165,3,.18);
}

/* --- MOBILE --- */
@media (max-width: 640px){
  .mp-modal{
    padding: 16px;
  }

  .mp-modal .modal-dialog{
    margin: 28px auto;
    max-width: 100%;
  }

  .mp-modal .modal-header{
    padding: 18px 16px 10px;
  }

  .mp-modal .modal-body{
    padding: 16px;
  }

  .mp-modal .modal-footer{
    padding: 0 16px 16px;
    flex-direction: column;
    align-items: stretch;
  }

  .mp-modal .modal-footer .mp-btn{
    width: 100%;
    justify-content: center;
  }

  .mp-modal .modal-title{
    font-size: 20px;
  }
}

/* =========================
   SAFETY / RESTRICTION UI
========================= */

.mp-alert--critical {
  padding: 16px 18px;
  border: 2px solid rgba(255, 80, 80, 0.35);
  background: rgba(160, 20, 20, 0.18);
  border-radius: 12px;
}

.mp-alert--critical-title {
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 6px;
}

.mp-alert--critical-text {
  font-size: 14px;
  line-height: 1.5;
}

.mp-contact-disabled {
  width: 100%;
  opacity: 0.55;
  cursor: not-allowed;
}

.mp-restriction-box {
  margin-top: 12px;
  padding: 14px 16px;
  border: 2px solid rgba(255, 80, 80, 0.28);
  background: rgba(160, 20, 20, 0.14);
  border-radius: 12px;
}

.mp-restriction-title {
  font-weight: 800;
  margin-bottom: 6px;
}

.mp-restriction-text {
  line-height: 1.5;
}

.mp-alert--error,
.mp-error {
    background-color: #ff1a1a;
    color: #fff;
    border-radius: 15px;
    padding: 10px;
}

.mp-alert--safety {
    background-color: rgba(255, 184, 0, 0.14);
    color: #000;
    border: 1px solid rgba(255, 184, 0, 0.28);
    border-radius: 15px;
    padding: 10px 12px;
}

.mp-alert--fade {
    transition: opacity 0.5s ease;
}

.mp-alert--fade.is-fading {
    opacity: 0;
}

.mp-alert--spaced {
    margin-bottom: 16px;
}

.mp-alert-list {
    margin: 8px 0 0;
    padding-left: 18px;
}

.mp-rating-reasons {
    margin: 16px 0;
}

.mp-rating-reasons-title {
    font-size: 13px;
    color: #aaa;
    margin-bottom: 8px;
}

.mp-rating-reasons-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mp-reason {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 6px 10px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
}

.mp-reason input {
    accent-color: #f5c518;
}

.mp-star.full {
    color: #ffcc33;
    text-shadow:
        0 0 4px rgba(255, 204, 51, 0.4),
        0 0 10px rgba(255, 204, 51, 0.18);
}

body.dark-mode .mp-star.full {
    color: #ffd95e;
}

.mp-star.empty {
    opacity: 0.45;
}

.mp-seller-rating {
    margin-bottom: 8px;
}

.mp-seller-reasons {
    margin-top: 6px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.mp-reason-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    line-height: 1;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    color: #e6e6e6;
    white-space: nowrap;
}

body:not(.dark-mode) .mp-reason-badge {
    background: #efefef;
    border: 1px solid #cfcfcf;
    color: #333;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
}

.mp-seller-name-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.mp-seller-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    font-size: 13px;
    font-weight: 700;
    line-height: 1;

    padding: 7px 12px;

    border-radius: 999px;

    background: rgba(77, 163, 255, 0.18);
    border: 1px solid rgba(120, 185, 255, 0.45);

    color: #158b09;

    white-space: nowrap;

    box-shadow:
        0 0 10px rgba(77, 163, 255, 0.12);

    transform: translateY(-1px);
}

body.dark-mode .mp-seller-badge {
    background: rgba(40, 170, 70, 0.16);
    border: 1px solid rgba(90, 220, 120, 0.35);

    color: #7dff9a;

    box-shadow:
        0 0 10px rgba(40, 170, 70, 0.15);
}

/* =========================
   Marketplace search results banner
========================= */

.mp-search-results-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    margin-bottom: 20px;
    border: 1px solid rgba(230, 167, 36, 0.35);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
}

.mp-search-results-banner__kicker {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #d89b2b;
    margin-bottom: 6px;
}

.mp-search-results-banner__title {
    margin: 0;
    font-size: 24px;
    line-height: 1.2;
}

.mp-search-results-banner__meta {
    margin-top: 8px;
    opacity: 0.8;
    font-size: 14px;
}

.mp-search-results-banner__clear {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    border: 1px solid rgba(230, 167, 36, 0.4);
    color: inherit;
}

@media (max-width: 768px) {
    .mp-search-results-banner {
        flex-direction: column;
        align-items: flex-start;
    }

    .mp-search-results-banner__title {
        font-size: 20px;
    }

    .mp-search-results-banner__clear {
        width: 100%;
    }
}

/* =========================
   Empty search state
========================= */

.mp-empty-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.mp-empty-title-strong {
    font-weight: 700;
    margin-bottom: 6px;
}

.mp-empty-subtitle {
    margin-bottom: 12px;
}

.mp-empty-sub {
    opacity: 0.7;
    margin-bottom: 14px;
}

.mp-empty-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    border: 1px solid rgba(230, 167, 36, 0.4);
    color: inherit;
}

.mp-demo-badge{
  position: absolute;
  top: 10px;
  left: 10px;

  background: linear-gradient(135deg, #f7a503, #ffcc66);
  color: #000;

  font-weight: 950;
  font-size: 11px;
  letter-spacing: .08em;

  padding: 5px 10px;
  border-radius: 999px;

  box-shadow: 0 10px 20px rgba(0,0,0,.25);
  z-index: 5;
}

.mp-demo-notice {
    margin: 14px;
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(255, 193, 7, 0.08);
    border: 1px solid rgba(255, 193, 7, 0.25);
}

.mp-demo-notice-title {
    font-weight: 700;
    margin-bottom: 4px;
    color: #ffc107;
}

.mp-demo-notice-text {
    font-size: 14px;
    line-height: 1.4;
    opacity: 0.85;
}

.mp-actionbar-note a {
    color: #ffb347; /* vagy a saját accent színed */
    text-decoration: underline;
    font-weight: 700;
}

@media (max-width: 768px) {
  .content-wrapper {
    max-width: none;
    width: 100%;
    padding: 0; /* ha tényleg széléig akarod */
  }
}

.mp-listings-search {
  display: flex;
  gap: 8px;
  align-items: center;
}

.mp-listings-search__input {
  min-width: 220px;
  padding: 10px 12px;
  border-radius: 999px;
  border-color: rgba(247, 165, 3, .55);
  /*margin-top: 20px;*/
  background: rgba(255,255,255,.06);
  color: inherit;
}

.mp-listings-search__btn {
  padding: 10px 14px;
  border-radius: 999px;
  border-color: rgba(247,165,3,.55);
  cursor: pointer;
}

@media (max-width: 640px) {
  .mp-section-head {
    align-items: stretch;
    gap: 12px;
  }

  .mp-listings-search {
    width: 100%;
  }

  .mp-listings-search__input {
    min-width: 0;
    width: 100%;
  }
}

.mp-msg-listing--with-thumb {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mp-msg-thumb {
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255,255,255,.06);
}

.mp-msg-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mp-msg-thumb-empty {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    font-size: 22px;
}

/* Marketplace dashboard away mode */

.mp-dash-away-box {
    margin-top: 14px;
    padding: 12px;
    border: 1px solid rgb(255 180 42);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.035);
}

.mp-dash-away-title {
    font-size: 13px;
    font-weight: 700;
    color: #000;
    margin-bottom: 8px;
}

.mp-away-toggle {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    line-height: 1.35;
    color: #222;
    cursor: pointer;
}

body.dark-mode .mp-away-toggle {
    color: rgba(255, 255, 255, 0.72);
}

.mp-away-toggle input {
    margin-top: 2px;
    accent-color: #f5b942;
}

/* Seller away / activity badge */
.mp-seller-activity {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 9px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    background: rgba(245, 185, 66, 0.16);
    border: 1px solid rgba(245, 185, 66, 0.35);
    color: #5b4300;
}

body.dark-mode .mp-seller-activity {
    background: rgba(245, 185, 66, 0.16);
    border-color: rgba(245, 185, 66, 0.45);
    color: #ffe1a3;
}

.mp-seller-section-head {
    margin-bottom: 18px;
}

.mp-seller-count {
    font-size: 0.72em;
    opacity: 0.7;
    font-weight: 600;
}

.mp-seller-grid-wrap--small .mp-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 300px));
        justify-content: flex-start;
    }

    @media (max-width: 768px) {
        .mp-seller-grid-wrap--small .mp-grid {
            grid-template-columns: 1fr;
        }
    }

/* Marketplace dashboard away mode end */

.mp-old-price {
    font-size: 13px;
    line-height: 1;
    text-decoration: line-through;
    opacity: 0.62;
    font-weight: 700;
}

body.dark-mode .mp-old-price {
    color: rgba(255, 255, 255, 0.68);
}

body:not(.dark-mode) .mp-old-price {
    color: rgba(30, 30, 30, 0.62);
}

/* =========================
   Reduced ribbon
========================= */

.mp-reduced-ribbon {
    position: absolute;
    top: 10px;
    left: -14px;
    width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 0;
    background: linear-gradient(135deg, #ff9a1f 0%, #ff7a18 100%);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    transform: rotate(-20deg);
    box-shadow: 0 10px 25px rgba(255, 122, 24, 0.28);
    z-index: 5;
    border-radius: 14px;
}


/* =========================
   Reduced price detail chip
========================= */

.mp-reduced-detail-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 5px 11px;
    border-radius: 999px;
    font-size: clamp(11px, 1vw, 14px);
    line-height: 1;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-top: 10px;
}

body.dark-mode .mp-reduced-detail-chip {
    color: #fff4e8;
    background: rgba(255, 122, 24, 0.22);
    border: 1px solid rgba(255, 122, 24, 0.45);
}

body:not(.dark-mode) .mp-reduced-detail-chip {
    color: #8a3b00;
    background: rgba(255, 122, 24, 0.16);
    border: 1px solid rgba(255, 122, 24, 0.32);
}

/* =========================================
   MARKETPLACE FAVORITES
========================================= */

.mp-favorite-detail-wrap{
    margin-bottom:16px;
}

.mp-favorite-btn{
    width:100%;

    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;

    border:none;
    border-radius:14px;

    padding:14px 18px;

    background:rgba(255,255,255,.06);

    color:#444;

    cursor:pointer;

    transition:
        background .18s ease,
        color .18s ease,
        transform .18s ease;
        
    border: 1px solid var(--mp-accent-border);
}

.mp-favorite-btn:hover{
    background:rgba(255,255,255,.1);
}

.mp-favorite-btn:active{
    transform:scale(.98);
}

.mp-favorite-icon{
    font-size:20px;
    line-height:1;
}

.mp-favorite-text{
    font-weight:600;
}

.mp-favorite-btn.is-favorited{
    background:rgba(255,60,90,.14);
    color:#ff5c7c;
}

.mp-card-img{
    position:relative;
}

.mp-card-favorite{
    position:absolute;
    top:10px;
    right:10px;
    z-index:5;

    width:38px;
    height:38px;

    display:flex;
    align-items:center;
    justify-content:center;

    border:1px solid rgba(255,153,0,.65);
    border-radius:999px;

    background:rgba(255,255,255,.88);
    color:#333;

    font-size:24px;
    line-height:1;

    cursor:pointer;

    box-shadow:0 8px 22px rgba(0,0,0,.18);

    transition:
        transform .16s ease,
        background .16s ease,
        color .16s ease;
}

.mp-card-favorite:hover{
    transform:scale(1.08);
}

.mp-card-favorite.is-favorited{
    background:rgba(255,80,110,.95);
    color:#fff;
    border-color:rgba(255,80,110,.95);
}

body.dark-mode .mp-card-favorite{
    background:rgba(20,20,20,.78);
    color:#fff;
}

body.dark-mode .mp-card-favorite.is-favorited{
    background:rgba(255,80,110,.92);
    color:#fff;
}

/* =========================================
   MARKETPLACE AUTH MODAL
========================================= */

.mp-auth-modal{
    position:fixed;
    inset:0;
    z-index:9999;
}

.mp-auth-modal__overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.55);
}

.mp-auth-modal__panel{
    position:relative;
    z-index:2;

    width:min(600px, calc(100% - 32px));
    margin:90px auto 0;

    padding:28px 28px 22px;

    border-radius:14px;
    background:#fff;
    color:#333;

    text-align:center;

    box-shadow:0 18px 45px rgba(0,0,0,.28);
}

.mp-auth-modal__close{
    position:absolute;
    top:-10px;
    right:14px;

    border:none;
    background:transparent;

    /*font-size:26px;*/
    line-height:1;

    cursor:pointer;
    color:#777;
}

.mp-auth-modal__text{
    font-size:16px;
    line-height:1.55;
    margin-bottom:18px;
}

.mp-auth-modal__actions{
    display:flex;
    justify-content:center;
    gap:10px;
    flex-wrap:wrap;
}

.mp-auth-modal__btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;

    min-width:110px;
    padding:11px 18px;

    border-radius:8px;

    background:#0d6efd;
    color:#fff;

    font-weight:700;
    text-decoration:none;
}

.mp-auth-modal__btn:hover{
    opacity:.9;
}

.mp-auth-modal {
    display: none;
}

body.dark-mode .mp-auth-modal__panel{
    background:#181818;
    color:#fff;
}

#mp-location-map{
    width:100%;
    height:260px;
    margin-top:16px;
    border-radius:18px;
    overflow:hidden;
    border:1px solid rgba(255,165,0,.35);
    box-shadow:0 12px 28px rgba(0,0,0,.18);
}

body.dark-mode .mp-btn--unblock {
    border-color: orange;
    color: orange;
}

body.dark-mode .mp-btn--unblock:hover {
    background-color: orange;
    border-color: orange;
    color: #111;
}

body.dark-mode .leaflet-control-zoom a {
    background: #1a1a1a;
    color: #fff;
    border-color: #444;
}

body.dark-mode .leaflet-control-zoom a:hover {
    background: #2a2a2a;
    color: #fff;
}

.mp-card-favorite--demo {
    opacity: 0.45;
    cursor: default;
    pointer-events: none;
}

.mp-help-top-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
    color: #1f7a35;
    background: #fff7e8;
    border: 1px solid rgba(255, 159, 28, 0.65);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mp-help-top-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

body.dark-mode .mp-help-top-link {
    color: #ffb347;
    background: rgba(255, 179, 71, 0.12);
    border: 1px solid rgba(255, 179, 71, 0.45);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
}

body.dark-mode .mp-help-top-link:hover {
    background: rgba(255, 179, 71, 0.18);
    color: #ffc76a;
    box-shadow: 0 12px 24px rgba(255, 179, 71, 0.18);
}

.mp-empty-state {
    padding: 2rem;
    border-radius: 24px;
    max-width: 760px;
    position: relative;
    overflow: hidden;
}

/* DARK MODE */
body.dark-mode .mp-empty-state {
    background: rgba(10, 16, 22, 0.82);
    border: 1px solid rgba(255, 170, 0, 0.28);
}

/* LIGHT MODE */
body:not(.dark-mode) .mp-empty-state {
    background: #ffffff;
    border: 1px solid rgba(255, 170, 0, 0.22);
    box-shadow:
        0 10px 30px rgba(0,0,0,0.06);
}

.mp-empty-state h3 {
    margin-bottom: 0.8rem;
    font-size: 2rem;
    line-height: 1.2;
}

body.dark-mode .mp-empty-state h3 {
    color: #fff;
}

body:not(.dark-mode) .mp-empty-state h3 {
    color: #1d2430;
}

.mp-empty-state p {
    max-width: 680px;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

body.dark-mode .mp-empty-state p {
    color: rgba(255,255,255,0.82);
}

body:not(.dark-mode) .mp-empty-state p {
    color: #4c5563;
}

/* FIX SUPPORT BUTTON */
.mp-empty-state .mp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 220px;
    padding: 0.95rem 1.4rem;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
}

/* LIGHT MODE BUTTON */
body:not(.dark-mode) .mp-empty-state .mp-btn {
    background: #1f9d62;
    color: #fff;
    border: none;
}

/* DARK MODE BUTTON */
body.dark-mode .mp-empty-state .mp-btn {
    background: linear-gradient(
        135deg,
        #1f9d62,
        #2dc977
    );

    color: #fff;
    border: none;
}

/* ========================================
   Marketplace Profile Support Requests
======================================== */

.mp-support-table-card {
    width: 100%;
    overflow-x: auto;
    border-radius: 22px;
    border: 1px solid rgba(255, 170, 0, 0.25);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 14px 35px rgba(0,0,0,0.06);
}

body.dark-mode .mp-support-table-card {
    background: rgba(10, 16, 22, 0.82);
    border-color: rgba(255, 170, 0, 0.28);
}

.mp-support-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
}

.mp-support-table th,
.mp-support-table td {
    padding: 16px 18px;
    text-align: left;
    vertical-align: middle;
    border-bottom: 1px solid rgba(255, 170, 0, 0.14);
}

.mp-support-table th {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #7a5200;
}

body.dark-mode .mp-support-table th {
    color: #ffb347;
}

.mp-support-table td {
    color: #1f2933;
}

body.dark-mode .mp-support-table td {
    color: #f5f5f5;
}

.mp-support-table__subject strong {
    display: block;
    max-width: 320px;
    line-height: 1.35;
}

.mp-support-table .mp-btn {
    width: auto;
    min-width: 90px;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 0.9rem;
}

/* ========================================
   Support Request Detail
======================================== */

.mp-support-detail {
    width: 100%;
}

.mp-support-detail__top {
    margin-bottom: 18px;
}

.mp-support-detail__top .mp-btn {
    width: auto;
}

.mp-support-card {
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 170, 0, 0.24);
    background: rgba(255,255,255,0.76);
    box-shadow: 0 14px 34px rgba(0,0,0,0.06);
}

body.dark-mode .mp-support-card {
    background: rgba(10,16,22,0.82);
    border-color: rgba(255,170,0,0.24);
}

.mp-support-card__header {
    padding: 26px 28px 18px;
    border-bottom: 1px solid rgba(255,170,0,0.14);
}

.mp-support-card__header h2 {
    margin: 0 0 14px;
    line-height: 1.2;
}

.mp-support-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.mp-support-badge {
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
}

body.dark-mode .mp-support-badge {
    background: rgba(255,170,0,0.12);
    color: #ffb347;
}

body:not(.dark-mode) .mp-support-badge {
    background: #fff3d8;
    color: #7a5200;
}

.mp-support-date {
    opacity: 0.72;
    font-size: 0.9rem;
}

.mp-support-section {
    padding: 24px 28px;
}

.mp-support-section + .mp-support-section {
    border-top: 1px solid rgba(255,170,0,0.12);
}

.mp-support-section h3 {
    margin-bottom: 14px;
    font-size: 1.15rem;
}

.mp-support-message-body,
.mp-support-reply-body {
    line-height: 1.75;
    font-size: 1rem;
}

.mp-support-reply-body {
    padding: 18px;
    border-radius: 18px;
}

body.dark-mode .mp-support-reply-body {
    background: rgba(255,255,255,0.05);
}

body:not(.dark-mode) .mp-support-reply-body {
    background: rgba(255,170,0,0.08);
}

.mp-support-reply-date {
    margin-top: 14px;
    font-size: 0.88rem;
    opacity: 0.7;
}

.mp-support-detail__top .mp-btn {
    width: auto;
    min-width: unset;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all .18s ease;
}

body.dark-mode .mp-support-detail__top .mp-btn {
    background: rgba(255,170,0,0.10);
    border: 1px solid rgba(255,170,0,0.24);
    color: #ffb347;
}

body.dark-mode .mp-support-detail__top .mp-btn:hover {
    background: rgba(255,170,0,0.18);
    transform: translateY(-1px);
}

body:not(.dark-mode) .mp-support-detail__top .mp-btn {
    background: #fff4dc;
    border: 1px solid rgba(255,170,0,0.28);
    color: #7a5200;
}

body:not(.dark-mode) .mp-support-detail__top .mp-btn:hover {
    background: #ffe5ad;
    transform: translateY(-1px);
}

/* Responsive support request table */
@media (max-width: 760px) {
    .mp-support-table {
        min-width: 0;
    }

    .mp-support-table thead {
        display: none;
    }

    .mp-support-table,
    .mp-support-table tbody,
    .mp-support-table tr,
    .mp-support-table td {
        display: block;
        width: 100%;
    }

    .mp-support-table tr {
        padding: 16px;
        border-bottom: 1px solid rgba(255, 170, 0, 0.18);
    }

    .mp-support-table td {
        padding: 8px 0;
        border-bottom: none;
    }

    .mp-support-table td::before {
        content: attr(data-label);
        display: block;
        font-size: 0.75rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        margin-bottom: 4px;
        color: #8a5a00;
    }

    body.dark-mode .mp-support-table td::before {
        color: #ffb347;
    }

    .mp-support-table .mp-btn {
        margin-top: 8px;
    }
}

/* =========================================================
   Marketplace Support Detail
========================================================= */

.mp-support-card {
    border-radius: 24px;
    overflow: hidden;
    background:
        linear-gradient(145deg, rgba(12, 20, 28, 0.96), rgba(8, 13, 18, 0.98));
    border: 1px solid rgba(255, 174, 51, 0.24);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.24);
}

.mp-support-card__header {
    padding: 26px 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mp-support-card__header h2 {
    margin: 0 0 16px;
    color: #fff;
    font-size: clamp(1.4rem, 2vw, 2rem);
    line-height: 1.3;
    word-break: break-word;
}

.mp-support-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.mp-support-date {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.9rem;
}

.mp-support-section {
    padding: 24px 28px;
}

.mp-support-section + .mp-support-section {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.mp-support-section h3 {
    margin: 0 0 14px;
    color: #fff;
    font-size: 1.05rem;
}

.mp-support-message-body,
.mp-support-reply-body {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    white-space: pre-line;
    word-break: break-word;
}

.mp-support-reply-body {
    padding: 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.mp-support-reply-date {
    margin-top: 14px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.88rem;
}

.mp-support-pending,
.mp-support-closed-note {
    margin: 0 28px 28px;
    padding: 16px 18px;
    border-radius: 18px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.mp-support-pending {
    color: #ffd76a;
    background: rgba(255, 183, 0, 0.09);
    border: 1px solid rgba(255, 183, 0, 0.18);
}

.mp-support-closed-note {
    color: #cbd5e1;
    background: rgba(148, 163, 184, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.16);
}

@media (max-width: 640px) {

    .mp-support-card__header,
    .mp-support-section {
        padding: 22px 18px;
    }

    .mp-support-pending,
    .mp-support-closed-note {
        margin: 0 18px 18px;
    }

    .mp-support-meta {
        align-items: flex-start;
    }

    .mp-support-date {
        width: 100%;
    }
}

.mp-support-detail-notice {
    margin: 0 0 22px;
    padding: 14px 16px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
}

.mp-support-detail-notice--answered {
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.35);
    color: #86efac;
}

.mp-support-detail-notice--closed {
    background: rgba(255, 193, 7, 0.10);
    border: 1px solid rgba(255, 193, 7, 0.35);
    color: #ffdd75;
}

.mp-support-detail-notice--review {
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.35);
    color: #93c5fd;
}

/* =========================================
   Marketplace Support Unread Indicator
========================================= */

.mp-support-subject-wrap {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.mp-support-unread-dot {
    width: 9px;
    height: 9px;
    min-width: 9px;
    border-radius: 50%;
    background: #ef4444;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.12);
}

.mp-support-row--unread {
    background: rgba(239, 68, 68, 0.035);
}

/* =========================================
   Marketplace Support Conversation Thread
========================================= */

.mp-support-thread {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 14px;
}

.mp-support-thread__message {
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid rgba(255, 153, 0, 0.18);
    background: rgba(255, 255, 255, 0.04);
}

.mp-support-thread__message--admin {
    background: rgba(255, 153, 0, 0.08);
}

.mp-support-thread__message--user {
    background: rgba(255, 255, 255, 0.035);
}

.mp-support-thread__meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.72);
}

.mp-support-thread__body {
    white-space: pre-line;
    line-height: 1.7;
    color: #fff;
}

.mp-support-reply-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 12px;
}

.mp-support-reply-form textarea {
    width: 100%;
    min-height: 130px;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid rgba(255, 153, 0, 0.28);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    resize: vertical;
}

.mp-support-reply-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

.mp-support-reply-form .mp-btn {
    align-self: flex-start;
}

/* =========================================
   Marketplace promo button disabled
========================================= */
.marketplace-promo-actions button[disabled] {
    cursor: not-allowed;
    opacity: 0.65;
}

.marketplace-promo-coming-soon {
    font-weight: 700;
}

/* Listing detail inline cleanup */

.mp-mb-12 {
    margin-bottom: 12px;
}

.mp-mb-20 {
    margin-bottom: 20px;
}

.mp-mt-6 {
    margin-top: 6px;
}

.mp-mt-10 {
    margin-top: 10px;
}

.mp-mt-12 {
    margin-top: 12px;
}

.mp-mt-14 {
    margin-top: 14px;
}

.mp-mt-20 {
    margin-top: 20px;
}

.mp-label--block {
    display: block;
    margin-bottom: 6px;
}

.mp-line-relaxed {
    line-height: 1.45;
}

.mp-small-note {
    font-size: 12px;
    line-height: 1.4;
}

.mp-actions-row {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.mp-quick-message-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.mp-full-width {
    width: 100%;
}

.mp-full-width-center {
    width: 100%;
    text-align: center;
}

.mp-modal {
    display: none;
}

.mp-auth-modal {
    display: none;
}

.mp-btn--disabled-soft {
    opacity: .55;
    cursor: not-allowed;
}

.mp-fix-link {
    display: inline-flex;
    margin-top: 10px;
    padding: 18px;
    color: red;
}

.mp-inline-link {
    display: inline-flex;
    margin-top: 12px;
}

.mp-modal-form {
    margin-top: 12px;
}

.mp-selectwrap--spaced {
    margin-bottom: 10px;
}

.mp-textarea--modal {
    width: 100%;
    margin-bottom: 12px;
}

.mp-auth-modal__text--spaced {
    margin-top: 14px;
}

.mp-auth-modal__actions--spaced {
    margin-top: 20px;
}

/* =============== MY LISTINGS PAGE START =============== */

.mp-my-listings-page {
    padding: 24px 0;
}

.mp-my-listings-title {
    margin: 0 0 10px;
}

.mp-my-listings-surface {
    padding: 14px;
}

.mp-my-listings-row {
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.mp-my-listings-row-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.mp-my-listings-item-title {
    font-weight: 700;
}

.mp-my-listings-meta {
    font-size: 12px;
}

.mp-my-listings-pagination {
    margin-top: 14px;
}

/* =============== MY LISTINGS PAGE END =============== */

/* =============== MARKETPLACE EDIT LISTING START =============== */

.mp-edit-hero {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}

.mp-edit-backlinks {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 8px;
}

.mp-btn--disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.mp-edit-status-help {
    margin-bottom: 12px;
}

.mp-edit-status-row {
    font-size: 14px;
}

.mp-edit-status-value {
    margin-left: 6px;
}

.mp-counter--warning {
    color: #f7a503;
}

.mp-counter--danger {
    color: #ff4d4f;
}

/* =============== MARKETPLACE EDIT LISTING END =============== */

/* =============== MARKETPLACE DRAFTS PAGE START =============== */

.mp-drafts-page {
    padding: 24px 0;
}

.mp-drafts-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.mp-drafts-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.mp-drafts-title {
    margin: 0 0 10px;
}

.mp-drafts-alert {
    margin-bottom: 14px;
}

.mp-drafts-surface {
    padding: 14px;
}

.mp-drafts-row {
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.mp-drafts-row-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.mp-drafts-item-title {
    font-weight: 700;
}

.mp-drafts-meta {
    font-size: 12px;
}

.mp-drafts-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mp-drafts-delete-form {
    margin: 0;
}

.mp-btn--danger-ghost {
    border-color: rgba(255, 80, 80, 0.45);
    color: rgba(255, 120, 120, 1);
}

.mp-drafts-pagination {
    margin-top: 14px;
}

/* =============== MARKETPLACE DRAFTS PAGE END =============== */

/* =============== MARKETPLACE DASH LISTINGS TABLE START =============== */

.mp-dash-listing-cell {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.mp-dash-listing-thumb {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
}

.mp-dash-listing-img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 10px;
}

.mp-dash-listing-placeholder {
    width: 64px;
    height: 64px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
}

.mp-dash-listing-info {
    min-width: 0;
}

.mp-dash-listing-meta {
    font-size: 12px;
}

.mp-dash-moderation-reason {
    margin-top: 6px;
    max-width: 340px;
    font-size: 12px;
}

.mp-dash-updated {
    font-size: 12px;
}

.mp-dash-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.mp-dash-inline-form {
    margin: 0;
}

.mp-btn--danger-ghost {
    border-color: rgba(255, 80, 80, 0.45);
    color: rgba(255, 120, 120, 1);
}

.mp-dash-pagination {
    margin-top: 24px;
}

/* =============== MARKETPLACE DASH LISTINGS TABLE END =============== */

/* =============== MARKETPLACE DRAFT TABLE START =============== */

.mp-drafts-meta,
.mp-drafts-updated {
    font-size: 12px;
}

.mp-draft-expiry {
    margin-top: 4px;
    font-size: 12px;
}

.mp-draft-expiry--danger {
    color: #ff6b6b;
}

.mp-draft-expiry--warning {
    color: #f7c948;
}

.mp-drafts-pagination {
    margin-top: 14px;
}

/* =============== MARKETPLACE DRAFT TABLE END =============== */

/* =============== MARKETPLACE CONVERSATION PAGE START =============== */

.mp-thread-back {
    margin-bottom: 16px;
}

.mp-thread-head {
    margin-bottom: 20px;
}

.mp-thread-title {
    font-size: 32px;
}

.mp-thread-subtitle {
    margin-top: 8px;
}

.mp-thread-alert-bottom {
    margin-bottom: 16px;
}

.mp-thread-alert-top {
    margin-top: 16px;
}

.mp-thread-label {
    display: block;
    margin-bottom: 8px;
}

.mp-thread-textarea {
    width: 100%;
    margin-bottom: 12px;
}

.mp-thread-closed-alert {
    margin-top: 20px;
}

.mp-message-pagination {
    margin-top: 20px;
}

/* =============== MARKETPLACE CONVERSATION PAGE END =============== */

/* =============== MARKETPLACE THREAD PAGE START =============== */

.mp-inline-form {
    display: inline;
}

.mp-thread-closed-note {
    margin-top: 20px;
    opacity: 0.8;
}

.mp-thread-complete-box {
    margin-bottom: 14px;
}

.mp-thread-success-alert {
    margin-bottom: 14px;
}

.mp-thread-danger-alert,
.mp-thread-safety-alert {
    margin-bottom: 12px;
}

.mp-modal-hidden {
    display: none;
}

.mp-rating-stars-box {
    text-align: center;
    font-size: 28px;
    margin-bottom: 15px;
}

.mp-message-leave-form {
    margin-top: 8px;
}

/* =============== MARKETPLACE THREAD PAGE END =============== */

/* =============== CREATE LISTING LOADING =============== */

.mp-create-loading {
    position: fixed;
    inset: 0;
    z-index: 99999;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
}

.mp-create-loading[hidden] {
    display: none !important;
}

/* ---------- Light mode ---------- */

.mp-create-loading-box {
    width: min(90%, 420px);

    padding: 28px 24px;

    text-align: center;

    border-radius: 20px;
    border: 2px solid #ff9800;

    background: #f7f1e7;
    color: #333;

    box-shadow: 0 15px 40px rgba(0,0,0,.25);
}

.mp-create-loading-box h3 {
    margin: 18px 0 10px;

    font-size: 1.9rem;
    font-weight: 700;

    color: #2d2d2d;
}

.mp-create-loading-box p {
    margin: 0;

    font-size: 1rem;
    line-height: 1.5;

    color: #555;
}

/* ---------- Spinner ---------- */

.mp-create-spinner {
    width: 56px;
    height: 56px;

    margin: 0 auto;

    border: 5px solid #f0d7b0;
    border-top-color: #ff9800;
    border-radius: 50%;

    animation: mpCreateSpin .8s linear infinite;
}

/* ---------- Dark mode ---------- */

body.dark-mode .mp-create-loading-box {
    background: #1f1f23;
    color: #fff;

    border: 2px solid #ffb300;

    box-shadow: 0 15px 40px rgba(0,0,0,.45);
}

body.dark-mode .mp-create-loading-box h3 {
    color: #fff;
}

body.dark-mode .mp-create-loading-box p {
    color: rgba(255,255,255,.85);
}

body.dark-mode .mp-create-spinner {
    border-color: rgba(255,179,0,.25);
    border-top-color: #ffb300;
}

/* ---------- Animation ---------- */

@keyframes mpCreateSpin {
    to {
        transform: rotate(360deg);
    }
}

/* =============== END CREATE LISTING LOADING =============== */

/* ===============================
   REPORT SUCCESS MESSAGE
================================= */

.mp-report-success{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;

    width: min(560px, calc(100% - 28px));
    padding: 14px 18px;

    background: #f6b04c;
    border-radius: 10px;
    box-shadow: 0 14px 34px rgba(0,0,0,.22);

    color: #222;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
}

.mp-safety-divider {
    height: 8px;
    margin: 18px 0;
    background: linear-gradient(
        to right,
        transparent,
        rgba(255, 165, 0, 0.8),
        transparent
    );
}

.mp-aside-safety-help {
    margin-top: 1rem;
    padding: 1.1rem;
    background: #eef8f0;
    border: 1px solid #8bc58f;
    border-radius: 16px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .08);
}

.mp-aside-safety-help h3 {
    margin: 0 0 .65rem;
    font-size: 1.1rem;
    font-weight: 800;
    color: #1f6b35;
}

.mp-aside-safety-help p {
    margin: 0 0 1rem;
    line-height: 1.55;
    color: #3d5b45;
    font-size: .95rem;
}

.mp-help-top-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    padding: .65rem 1rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    transition: all .25s ease;
}

body.dark-mode .mp-aside-safety-help {
    background: #233126;
    border-color: #4f8d5b;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .35);
}

body.dark-mode .mp-aside-safety-help h3 {
    color: #8de59b;
}

body.dark-mode .mp-aside-safety-help p {
    color: #d3ead7;
}

.mp-home-btn--coffee {
    background: #fff8ea;
    color: #b86d00;
    border: 1px solid #f4c06b;
    transition: all .25s ease;
}

.mp-home-btn--coffee:hover {
    background: #ffe7bf;
    border-color: #e7a73f;
    color: #9a5b00;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0,0,0,.12);
}

body.dark-mode .mp-home-btn--coffee {
    background: #3a2b12;
    color: #ffd37a;
    border: 1px solid #a77727;
}

body.dark-mode .mp-home-btn--coffee:hover {
    background: #4a3617;
    border-color: #d69a37;
    color: #ffe3a3;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0,0,0,.35);
}

.mp-support {
    margin: 1.5rem 0 1.75rem;
}

.mp-support-box {
    background: #fff8ea;
    border: 1px solid #f4b24a;
    border-radius: 18px;
    padding: 1.25rem 1.5rem;
    text-align: center;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .10);
}

.mp-support-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #5b3410;
    margin-bottom: .45rem;
}

.mp-support-text {
    max-width: 720px;
    margin: 0 auto .9rem;
    color: #4b3a28;
    line-height: 1.55;
}

.mp-support-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    padding: .65rem 1.15rem;
    border-radius: 999px;
    background: #f59b23;
    color: #fff;
    border: 1px solid #f59b23;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 6px 14px rgba(0, 0, 0, .14);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.mp-support-btn:hover {
    background: #e88912;
    border-color: #e88912;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, .18);
}

body.dark-mode .mp-support-box {
    background: #2f2415;
    border-color: #a77727;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .35);
}

body.dark-mode .mp-support-title {
    color: #ffd37a;
}

body.dark-mode .mp-support-text {
    color: #f4dfbd;
}

body.dark-mode .mp-support-btn {
    background: #f59b23;
    color: #1f1406;
    border-color: #f59b23;
}

body.dark-mode .mp-support-btn:hover {
    background: #ffb347;
    border-color: #ffb347;
    color: #1f1406;
}

.mp-side-support{

    margin-top:1.2rem;

    padding:1.1rem;

    background:#fff8ea;

    border:1px solid #f4b24a;

    border-radius:16px;

    text-align:center;

    box-shadow:0 8px 18px rgba(0,0,0,.08);

}

.mp-side-support-title{

    font-size:1.05rem;

    font-weight:800;

    color:#7b4d00;

    margin-bottom:.6rem;

}

.mp-side-support-text{

    font-size:.92rem;

    line-height:1.55;

    color:#5c4631;

    margin-bottom:1rem;

}

.mp-side-support-btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:.35rem;

    padding:.65rem 1rem;

    border-radius:999px;

    background:#f59b23;

    color:#fff;

    text-decoration:none;

    font-weight:700;

    border:1px solid #f59b23;

    transition:.25s;

}

.mp-side-support-btn:hover{

    background:#e88912;

    border-color:#e88912;

    color:#fff;

    transform:translateY(-2px);

}

.mp-aside-safety-help + .mp-support-box--aside {
    margin-top: 1.2rem;
}
