/* =========================================================
   Fegyverapró – dizájnrendszer
   Modern, taktikai, világos. Signature szín: logó-zöld.
   ========================================================= */

:root {
  --green:        #4f6841;
  --green-600:    #445a37;
  --green-700:    #38492d;
  --green-050:    #eef2ea;
  --green-100:    #d9e2d1;
  --accent:       #ff7a1a;   /* kiemeléshez, badge-ekhez */

  --ink:          #17211b;   /* legsötétebb szöveg / taktikai sötét */
  --ink-2:        #3a463f;
  --muted:        #6b7770;
  --line:         #e3e8e3;
  --bg:           #f5f7f4;
  --surface:      #ffffff;
  --surface-2:    #f0f3ee;

  --dark:         #16211a;   /* footer / sötét sávok */
  --dark-2:       #1e2c23;

  --radius:       12px;
  --radius-sm:    8px;
  --shadow:       0 1px 2px rgba(20,30,24,.06), 0 6px 20px rgba(20,30,24,.06);
  --shadow-lg:    0 12px 40px rgba(20,30,24,.14);
  --maxw:         1200px;

  --font:         'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --font-head:    'Barlow Condensed', var(--font);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  font-size: 15px;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0; letter-spacing: .2px; }
main { min-height: 60vh; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---------- Gombok ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  font-weight: 600; font-size: 14px; border: 0; cursor: pointer;
  padding: 10px 18px; border-radius: var(--radius-sm); transition: .15s ease;
  font-family: var(--font); white-space: nowrap;
}
.btn--primary { background: var(--green); color: #fff; }
.btn--primary:hover { background: var(--green-600); }
.btn--outline { background: #fff; color: var(--green-700); box-shadow: inset 0 0 0 1.5px var(--green); }
.btn--outline:hover { background: var(--green-050); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { background: var(--surface-2); }
.btn--block { width: 100%; }
.btn--lg { padding: 13px 20px; font-size: 15px; }
.btn--search { padding-left: 26px; padding-right: 26px; }

/* ---------- Fejléc ---------- */
.site-header {
  background: var(--surface); border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--green), var(--green-700)); color: #fff;
}
.logo-text { font-family: var(--font-head); font-weight: 700; font-size: 25px; color: var(--ink); }
.logo-accent { color: var(--green); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.btn--post svg { margin-right: -2px; }

/* Fiók legördülő */
.account-menu { position: relative; }
.account-btn {
  display: inline-flex; align-items: center; gap: 6px; background: var(--surface-2);
  border: 1px solid var(--line); border-radius: 40px; padding: 5px 10px 5px 5px; cursor: pointer;
}
.avatar {
  width: 32px; height: 32px; border-radius: 50%; background: var(--green); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: 13px; flex: none;
}
.avatar--lg { width: 44px; height: 44px; font-size: 16px; }
.avatar--xl { width: 72px; height: 72px; font-size: 24px; }
.account-dropdown {
  position: absolute; right: 0; top: calc(100% + 10px); width: 250px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 8px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .15s ease;
}
.account-menu.open .account-dropdown { opacity: 1; visibility: visible; transform: none; }
.account-dropdown__head { display: flex; gap: 10px; align-items: center; padding: 10px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.account-dropdown__head small { display: block; color: var(--muted); font-size: 12px; }
.account-dropdown a, .account-dropdown form button {
  display: block; width: 100%; text-align: left; padding: 10px 12px; border-radius: var(--radius-sm);
  color: var(--ink-2); font-size: 14px; background: none; border: 0; cursor: pointer; font-family: var(--font);
}
.account-dropdown a:hover, .account-dropdown form button:hover { background: var(--surface-2); color: var(--ink); }
.account-dropdown__admin { color: var(--green-700) !important; font-weight: 600; }

/* ---------- Flash ---------- */
.flash { padding: 10px 0; font-size: 14px; font-weight: 500; }
.flash--success { background: var(--green-050); color: var(--green-700); border-bottom: 1px solid var(--green-100); }
.flash--error { background: #fdeceb; color: #b3261e; border-bottom: 1px solid #f7d4d1; }

/* ---------- Hero + kereső ---------- */
.hero {
  background:
    linear-gradient(180deg, rgba(22,33,26,.86), rgba(22,33,26,.92)),
    radial-gradient(circle at 20% 20%, rgba(79,104,65,.45), transparent 60%),
    var(--dark);
  color: #fff; padding: 54px 0 70px; position: relative;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .12;
  background-image: repeating-linear-gradient(45deg, #7ac142 0 1px, transparent 1px 22px);
}
.hero .container { position: relative; z-index: 1; }
.hero-title { font-size: 46px; font-weight: 700; }
.hero-title span { color: #4f6841; }
.hero-sub { color: #c9d3cb; margin: 8px 0 26px; font-size: 16px; max-width: 640px; }

.searchbar {
  background: #fff; border-radius: 14px; padding: 8px; display: grid;
  grid-template-columns: 2fr 1fr 1fr auto; gap: 8px; box-shadow: var(--shadow-lg);
}
.searchbar--inline { box-shadow: var(--shadow); margin-bottom: 8px; }
.searchbar__field { display: flex; align-items: center; gap: 8px; background: var(--surface-2); border-radius: var(--radius-sm); padding: 0 12px; }
.searchbar__field svg { color: var(--muted); flex: none; }
.searchbar__field input, .searchbar__field select {
  border: 0; background: transparent; padding: 12px 0; width: 100%; font-size: 14px; font-family: var(--font); color: var(--ink); outline: none;
}

/* ---------- Szekciók ---------- */
.section { padding: 40px 0; }
.section--alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-title { font-size: 26px; font-weight: 700; color: var(--ink); margin-bottom: 20px; position: relative; padding-left: 14px; }
.section-title::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 4px; background: var(--green); border-radius: 3px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; }
.section-link { color: var(--green-700); font-weight: 600; font-size: 14px; }

/* ---------- Kategória rács ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.cat-tile {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 14px; text-align: center; transition: .15s ease; display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.cat-tile:hover { border-color: var(--green); transform: translateY(-3px); box-shadow: var(--shadow); }
.cat-tile__icon {
  width: 88px; height: 88px; border-radius: 16px; display: grid; place-items: center;
  background: var(--green-050); color: var(--green-700); margin-bottom: 4px;
}
.cat-tile:hover .cat-tile__icon { background: var(--green); color: #fff; }
.cat-tile__name { font-weight: 600; font-size: 14px; color: var(--ink); }
.cat-tile__count { font-size: 12px; color: var(--muted); }

/* ---------- Hirdetéskártyák ---------- */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card-grid--list { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: .15s ease; display: flex; flex-direction: column;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card--featured { border-color: var(--green); box-shadow: 0 0 0 1px var(--green); }
.card-media { position: relative; aspect-ratio: 4/3; background: var(--surface-2); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: .3s ease; }
.card:hover .card-media img { transform: scale(1.04); }
.badge {
  position: absolute; top: 10px; left: 10px; font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .4px; padding: 4px 9px; border-radius: 6px; color: #fff;
}
.badge--featured { background: var(--accent); }
.badge--pending { background: #6b7770; top: auto; bottom: 10px; }
.badge--lg { font-size: 13px; padding: 6px 12px; }
.card-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-title { font-weight: 600; font-size: 14.5px; color: var(--ink); line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 38px; }
.card-title:hover { color: var(--green-700); }
.card-price { font-family: var(--font-head); font-weight: 700; font-size: 20px; color: var(--green-700); }
.card-meta { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 12.5px; margin-top: auto; }
.card-loc { display: inline-flex; align-items: center; gap: 4px; }

.empty { color: var(--muted); padding: 30px 0; grid-column: 1/-1; }

/* ---------- Kereskedő carousel ---------- */
.merchant-carousel { position: relative; }
.merchant-track, .rec-track {
  display: flex; gap: 14px; overflow-x: auto; scroll-behavior: smooth; padding: 4px 2px 12px;
  scrollbar-width: thin;
}
.merchant-track::-webkit-scrollbar, .rec-track::-webkit-scrollbar { height: 6px; }
.merchant-track::-webkit-scrollbar-thumb, .rec-track::-webkit-scrollbar-thumb { background: var(--line); border-radius: 4px; }
.merchant-card {
  flex: 0 0 auto; width: 190px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px 14px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; transition: .15s;
}
.merchant-card:hover { border-color: var(--green); transform: translateY(-3px); box-shadow: var(--shadow); }
.merchant-logo {
  width: 92px; height: 92px; border-radius: 14px; background: var(--dark); color: #8ed363;
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 22px;
}
.merchant-name { font-weight: 600; font-size: 13.5px; color: var(--ink); }
.merchant-city { font-size: 12px; color: var(--muted); }
.rec-item { flex: 0 0 auto; width: 240px; }
.carousel-nav {
  position: absolute; top: 40%; transform: translateY(-50%); z-index: 2; width: 38px; height: 38px;
  border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 22px;
  color: var(--ink); box-shadow: var(--shadow); display: grid; place-items: center; line-height: 1;
}
.carousel-nav--prev { left: -8px; }
.carousel-nav--next { right: -8px; }
.carousel-nav:hover { background: var(--green); color: #fff; border-color: var(--green); }

/* ---------- Breadcrumb ---------- */
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 16px 0 6px; font-size: 13px; color: var(--muted); }
.breadcrumb a:hover { color: var(--green-700); }
.breadcrumb__current { color: var(--ink); font-weight: 500; }

/* ---------- Kategória fejléc + sáv ---------- */
.cat-header { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cat-header__inner { display: flex; align-items: center; gap: 16px; padding: 22px 0; }
.cat-header__icon { width: 62px; height: 62px; border-radius: 14px; background: var(--green-050); color: var(--green-700); display: grid; place-items: center; flex: none; }
.cat-header h1 { font-size: 30px; }
.cat-header p { color: var(--muted); margin: 2px 0 0; }
.cat-header__count { margin-left: auto; color: var(--muted); font-weight: 600; }

.cat-strip { display: flex; gap: 8px; overflow-x: auto; padding: 16px 0; scrollbar-width: none; }
.cat-strip::-webkit-scrollbar { display: none; }
.cat-strip__item {
  flex: 0 0 auto; display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 40px;
  background: var(--surface); border: 1px solid var(--line); font-size: 13px; font-weight: 500; color: var(--ink-2);
}
.cat-strip__item:hover { border-color: var(--green); color: var(--green-700); }
.cat-strip__item.is-active { background: var(--green); color: #fff; border-color: var(--green); }

/* Kiemelt sáv */
.featured-band { background: linear-gradient(180deg, var(--green-050), #fff); border: 1px solid var(--green-100); border-radius: var(--radius); padding: 16px; margin-bottom: 20px; }
.featured-band__head { font-weight: 600; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; color: var(--ink-2); }
.featured-band__track { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 6px; }
.featured-band__item { flex: 0 0 auto; width: 220px; }

/* ---------- Listing layout (szűrő + lista) ---------- */
.listing-layout { display: grid; grid-template-columns: 250px 1fr; gap: 24px; padding-top: 8px; padding-bottom: 50px; align-items: start; }
.filters { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; position: sticky; top: 96px; }
.filters h3 { font-size: 18px; margin-bottom: 14px; }
.filter-group { margin-bottom: 18px; }
.filter-group > label { display: block; font-weight: 600; font-size: 13px; margin-bottom: 8px; color: var(--ink-2); }
.check { display: flex; align-items: center; gap: 8px; font-weight: 400 !important; font-size: 14px; margin-bottom: 6px; cursor: pointer; }
.filters input[type=text], .filters input[type=number] { width: 100%; padding: 9px 10px; border: 1px solid var(--line); border-radius: var(--radius-sm); font-family: var(--font); font-size: 14px; }
.price-range { display: flex; align-items: center; gap: 6px; }
.filter-reset { display: block; text-align: center; margin-top: 10px; font-size: 13px; color: var(--muted); }
.filter-reset:hover { color: var(--green-700); }

.listing-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; color: var(--muted); font-size: 14px; }
.sort-form { display: flex; align-items: center; gap: 8px; }
.sort-form select { padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--radius-sm); font-family: var(--font); font-size: 13px; background: #fff; }

/* ---------- Hirdetés részletoldal ---------- */
.listing-detail { display: grid; grid-template-columns: 1fr 360px; gap: 24px; padding-top: 8px; padding-bottom: 40px; align-items: start; }
.listing-detail__side { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 16px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.panel + .panel { margin-top: 16px; }
.panel-title { font-size: 18px; margin-bottom: 12px; }
.gallery-main { position: relative; aspect-ratio: 4/3; background: var(--surface-2); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-main .badge { top: 12px; left: 12px; }
.gallery-thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.gallery-thumb { width: 72px; height: 60px; border-radius: 8px; overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; background: none; }
.gallery-thumb.is-active { border-color: var(--green); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.listing-desc { white-space: pre-line; color: var(--ink-2); }

.spec { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; margin: 0; }
.spec > div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed var(--line); padding-bottom: 8px; }
.spec dt { color: var(--muted); }
.spec dd { margin: 0; font-weight: 600; text-align: right; }

.panel--price { border-top: 3px solid var(--green); }
.listing-title { font-size: 24px; margin-bottom: 8px; }
.listing-price { font-family: var(--font-head); font-weight: 700; font-size: 34px; color: var(--green-700); }
.listing-sub { color: var(--muted); font-size: 13px; margin: 4px 0 16px; }
.panel--price .btn { margin-bottom: 10px; }
.listing-actions { display: flex; gap: 8px; margin-top: 4px; }
.link-btn { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 9px; cursor: pointer; font-size: 13px; font-weight: 600; color: var(--ink-2); font-family: var(--font); }
.link-btn:hover { border-color: var(--green); color: var(--green-700); }
.share-box { display: flex; gap: 6px; margin-top: 10px; }
.share-box input { flex: 1; padding: 9px 10px; border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: 12px; }

.seller { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.seller strong { display: block; }
.seller small { color: var(--muted); font-size: 12px; display: block; }
.tag-merchant { display: inline-block; background: var(--green-050); color: var(--green-700); font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 5px; margin-left: 6px; vertical-align: middle; }
.seller-more { color: var(--green-700); font-weight: 600; font-size: 13px; }

.seller-hero { display: flex; align-items: center; gap: 18px; padding: 24px 0 8px; }
.seller-hero h1 { font-size: 28px; }
.seller-hero__meta { color: var(--muted); margin: 4px 0 0; }

/* ---------- Auth ---------- */
.auth-page { display: grid; place-items: center; padding: 50px 20px; }
.auth-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; width: 100%; max-width: 460px; box-shadow: var(--shadow); }
.auth-card h1 { font-size: 28px; }
.auth-sub { color: var(--muted); margin: 6px 0 20px; }
.auth-card label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 14px; }
.auth-card input { width: 100%; margin-top: 6px; padding: 11px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); font-family: var(--font); font-size: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.auth-alt { text-align: center; margin-top: 16px; font-size: 14px; color: var(--muted); }
.auth-alt a, .auth-card a { color: var(--green-700); font-weight: 600; }
.auth-demo { margin-top: 18px; padding: 12px; background: var(--surface-2); border-radius: var(--radius-sm); font-size: 12.5px; color: var(--muted); text-align: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: #c7d1c8; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 30px; padding: 46px 20px 30px; }
.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-col a:hover { color: #8ed363; }
.logo--footer .logo-text { color: #fff; }
.footer-hook { color: #ffffff; font-family: var(--font-head); font-size: 18px; margin: 12px 0 0; }
.footer-newsletter-text { font-size: 13px; margin: 0 0 12px; }
.newsletter-form { display: flex; gap: 8px; flex-direction: column; }
.newsletter-form input { padding: 11px 12px; border: 1px solid #2f3d33; background: var(--dark-2); color: #fff; border-radius: var(--radius-sm); font-family: var(--font); }
.footer-bottom { border-top: 1px solid #26332a; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 12px; padding: 16px 20px; font-size: 12px; color: #8b978d; flex-wrap: wrap; }

/* ---------- Hibaoldal ---------- */
.error-page { text-align: center; padding: 80px 20px; }
.error-code { font-family: var(--font-head); font-size: 90px; font-weight: 700; color: var(--green); line-height: 1; }
.error-page h1 { font-size: 26px; margin: 8px 0 24px; }

/* ---------- Alkategória szűrő ---------- */
.filter-group--subcat { border-bottom: 1px solid var(--line); padding-bottom: 16px; margin-bottom: 16px; }
.subcat-list { list-style: none; margin: 4px 0 0; padding: 0; }
.subcat-list .subcat-list { margin-left: 12px; border-left: 1px solid var(--line); padding-left: 6px; }
.subcat-link {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 6px 8px; border-radius: var(--radius-sm); font-size: 13.5px; color: var(--ink-2);
}
.subcat-link:hover { background: var(--surface-2); color: var(--green-700); }
.subcat-link.is-active { background: var(--green-050); color: var(--green-700); font-weight: 600; }
.subcat-link--all { font-weight: 600; }
.subcat-count { color: var(--muted); font-size: 12px; background: var(--surface-2); border-radius: 20px; padding: 1px 8px; min-width: 22px; text-align: center; }
.subcat-link.is-active .subcat-count { background: #fff; color: var(--green-700); }

/* ---------- Reszponzivitás ---------- */
@media (max-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .card-grid { grid-template-columns: repeat(3, 1fr); }
  .listing-detail { grid-template-columns: 1fr; }
  .listing-detail__side { position: static; }
}
@media (max-width: 820px) {
  .searchbar { grid-template-columns: 1fr; }
  .listing-layout { grid-template-columns: 1fr; }
  .filters { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-title { font-size: 36px; }
}
@media (max-width: 640px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid, .card-grid--list { grid-template-columns: repeat(2, 1fr); }
  .btn--post span { display: none; }
  .logo-text { font-size: 21px; }
  .section-title { font-size: 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .form-row { grid-template-columns: 1fr; }
  .spec { grid-template-columns: 1fr; }
  .header-inner { height: 60px; }
}
@media (max-width: 400px) {
  .card-grid, .card-grid--list, .cat-grid { grid-template-columns: 1fr; }
}

/* ---------- Feltöltött logók / képek ---------- */
.logo-img { height: 56px; width: auto; display: block; }
.logo-img--footer { height: 52px; }
@media (max-width: 640px) { .logo-img { height: 44px; } }

/* Kategória-csempe kép */
.cat-tile__icon img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }

/* Kereskedő logó a carouselben (fehér háttér, hogy sötét logó is látszódjon) */
.merchant-logo:has(img) { background: #fff; border: 1px solid var(--line); }
.merchant-logo img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }

/* Kereskedő logó avatar helyén (kör, fehér háttér) */
.avatar--logo { background: #fff; border: 1px solid var(--line); overflow: hidden; }
.avatar--logo img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }

/* ---------- Hirdetésfeladás varázsló ---------- */
.wizard { max-width: 900px; padding-top: 8px; padding-bottom: 50px; }
.wizard--center { text-align: center; }
.wizard-title { font-size: 30px; margin: 8px 0; }
.wizard-sub { color: var(--muted); margin: 0 0 20px; }
.wizard-steps { display: flex; gap: 10px; margin: 10px 0 20px; flex-wrap: wrap; }
.wizard--center .wizard-steps { justify-content: center; }
.step { font-size: 13px; font-weight: 600; color: var(--muted); background: var(--surface-2); border: 1px solid var(--line); padding: 6px 14px; border-radius: 40px; }
.step.active { background: var(--green); color: #fff; border-color: var(--green); }
.step.done { background: var(--green-050); color: var(--green-700); border-color: var(--green-100); }

.notice { background: var(--green-050); border: 1px solid var(--green-100); color: var(--green-700); padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 18px; font-size: 14px; }
.notice--warn { background: #fff5e6; border-color: #ffd9a8; color: #a05a00; }
.notice--error { background: #fdeceb; border-color: #f7d4d1; color: #b3261e; }
.notice ul { margin: 0; padding-left: 18px; }

.wizard-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.wizard-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.field input, .field select, .field textarea { padding: 11px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); font-family: var(--font); font-size: 14px; background: #fff; }
.field textarea { resize: vertical; }
.field-hint { color: var(--muted); font-size: 12px; margin-top: 6px; }
.wizard-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; }
.wizard-actions--center { justify-content: center; }
.wizard-note { text-align: center; color: var(--muted); font-size: 12.5px; margin-top: 14px; }

/* Kiemelés kártyák */
.promo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.promo-card { position: relative; display: block; border: 2px solid var(--line); border-radius: var(--radius); padding: 18px; cursor: pointer; transition: .15s; background: var(--surface); }
.promo-card:hover { border-color: var(--green); }
.promo-card input { position: absolute; top: 16px; right: 16px; accent-color: var(--green); width: 18px; height: 18px; }
.promo-card:has(input:checked) { border-color: var(--green); box-shadow: 0 0 0 3px var(--green-050); }
.promo-card--plain { background: var(--surface-2); }
.promo-card__name { display: block; font-weight: 600; font-size: 15px; }
.promo-card__price { display: block; font-family: var(--font-head); font-weight: 700; font-size: 24px; color: var(--green-700); margin-top: 6px; }
.promo-card__days { display: block; color: var(--muted); font-size: 12px; }

.done-icon { color: var(--green); display: flex; justify-content: center; margin: 10px 0; }

@media (max-width: 640px) {
  .wizard-grid { grid-template-columns: 1fr; }
  .promo-grid { grid-template-columns: 1fr; }
  .wizard-actions { flex-direction: column-reverse; }
  .wizard-actions .btn { width: 100%; }
}

/* ---------- Fiók felület ---------- */
.account-layout { display: grid; grid-template-columns: 250px 1fr; gap: 24px; padding-top: 8px; padding-bottom: 50px; align-items: start; }
.account-nav { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; position: sticky; top: 96px; }
.account-nav__user { display: flex; gap: 10px; align-items: center; padding-bottom: 14px; margin-bottom: 10px; border-bottom: 1px solid var(--line); }
.account-nav__user small { display: block; color: var(--muted); font-size: 12px; word-break: break-all; }
.account-nav nav { display: flex; flex-direction: column; gap: 2px; margin-bottom: 14px; }
.account-nav nav a { padding: 10px 12px; border-radius: var(--radius-sm); color: var(--ink-2); font-size: 14px; font-weight: 500; }
.account-nav nav a:hover { background: var(--surface-2); }
.account-nav nav a.is-active { background: var(--green-050); color: var(--green-700); font-weight: 600; }
.account-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 16px; }
.account-head h1 { font-size: 28px; }
.account-count { color: var(--muted); font-weight: 600; }
.empty-box { background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); padding: 40px; text-align: center; color: var(--muted); }
.empty-box .btn { margin-top: 12px; }

.my-listing { display: grid; grid-template-columns: 120px 1fr auto; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; margin-bottom: 14px; }
.my-listing__img { position: relative; width: 120px; height: 90px; border-radius: var(--radius-sm); overflow: hidden; background: var(--surface-2); }
.my-listing__img img { width: 100%; height: 100%; object-fit: cover; }
.my-listing__img .badge { top: 6px; left: 6px; font-size: 10px; padding: 2px 6px; }
.my-listing__top { display: flex; align-items: center; gap: 10px; justify-content: space-between; }
.my-listing__title { font-weight: 600; font-size: 16px; color: var(--ink); }
.my-listing__title:hover { color: var(--green-700); }
.my-listing__price { font-family: var(--font-head); font-weight: 700; font-size: 20px; color: var(--green-700); margin: 2px 0; }
.my-listing__meta { color: var(--muted); font-size: 13px; display: flex; gap: 6px; flex-wrap: wrap; }
.my-listing__stats { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: var(--ink-2); margin-top: 8px; }
.my-listing__stats .soon { color: #a05a00; font-weight: 600; }
.my-listing__stats .feat { color: var(--accent); font-weight: 600; }
.my-listing__actions { display: flex; flex-direction: column; gap: 8px; align-items: stretch; min-width: 180px; }
.promo-inline { display: flex; gap: 6px; }
.promo-inline select { flex: 1; padding: 7px 8px; border: 1px solid var(--line); border-radius: var(--radius-sm); font-family: var(--font); font-size: 12px; }
.btn--sm { padding: 7px 12px; font-size: 12.5px; }
.btn--danger { color: #b3261e; }
.btn--danger:hover { background: #fdeceb; }
.status { font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 6px; white-space: nowrap; }
.st-ok { background: var(--green-050); color: var(--green-700); }
.st-warn { background: #fff5e6; color: #a05a00; }
.st-bad { background: #fdeceb; color: #b3261e; }
.st-mut { background: var(--surface-2); color: var(--muted); }

/* Szerkesztés: meglévő képek */
.edit-images { display: flex; flex-wrap: wrap; gap: 10px; }
.edit-image { width: 100px; text-align: center; }
.edit-image img { width: 100px; height: 76px; object-fit: cover; border-radius: var(--radius-sm); border: 1px solid var(--line); }
.edit-image__rm { display: block; font-size: 11px; color: var(--muted); margin-top: 4px; }

@media (max-width: 820px) {
  .account-layout { grid-template-columns: 1fr; }
  .account-nav { position: static; }
  .my-listing { grid-template-columns: 90px 1fr; }
  .my-listing__actions { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; min-width: 0; }
}

/* ---------- Üzenetek / chat ---------- */
.messages { display: grid; grid-template-columns: 300px 1fr; gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; min-height: 560px; }
.conv-list { border-right: 1px solid var(--line); overflow-y: auto; max-height: 640px; }
.conv-list__head { padding: 14px 16px; font-weight: 700; font-family: var(--font-head); font-size: 18px; border-bottom: 1px solid var(--line); }
.conv-empty, .chat-empty { padding: 24px; color: var(--muted); text-align: center; }
.conv { display: flex; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.conv:hover { background: var(--surface-2); }
.conv.is-active { background: var(--green-050); }
.conv__img { width: 46px; height: 46px; border-radius: 8px; overflow: hidden; flex: none; background: var(--surface-2); }
.conv__img img { width: 100%; height: 100%; object-fit: cover; }
.conv__body { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 1px; }
.conv__top { display: flex; justify-content: space-between; align-items: center; }
.conv__top strong { font-size: 14px; }
.conv__unread { background: var(--green); color: #fff; font-size: 11px; font-weight: 700; border-radius: 20px; padding: 1px 7px; }
.conv__title { font-size: 12.5px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.conv__last { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.chat { display: flex; flex-direction: column; max-height: 640px; }
.chat-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.chat-head__listing { display: flex; align-items: center; gap: 10px; min-width: 0; }
.chat-head__listing img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; }
.chat-head__listing small { display: block; color: var(--muted); font-size: 12px; }
.chat-body { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; background: var(--surface-2); }
.msg { display: flex; }
.msg--mine { justify-content: flex-end; }
.msg__bubble { max-width: 70%; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 9px 12px; }
.msg--mine .msg__bubble { background: var(--green-050); border-color: var(--green-100); }
.msg__text { font-size: 14px; white-space: pre-wrap; }
.msg__img { max-width: 220px; border-radius: 8px; margin-top: 6px; }
.msg__file { display: inline-block; margin-top: 6px; color: var(--green-700); font-weight: 600; font-size: 13px; }
.msg__time { font-size: 11px; color: var(--muted); margin-top: 4px; text-align: right; }
.chat-form { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--line); }
.chat-form input[type=text] { flex: 1; padding: 11px 12px; border: 1px solid var(--line); border-radius: 40px; font-family: var(--font); font-size: 14px; }
.chat-attach { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--surface-2); color: var(--ink-2); cursor: pointer; flex: none; }
.chat-attach:hover { background: var(--green-050); color: var(--green-700); }
.chat-attach input { display: none; }

@media (max-width: 820px) {
  .messages { grid-template-columns: 1fr; }
  .conv-list { max-height: 240px; border-right: 0; border-bottom: 1px solid var(--line); }
}

/* ---------- Mentett + Beállítások ---------- */
.saved-item { display: flex; flex-direction: column; gap: 8px; }
.settings-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 18px; }
.settings-card--danger { border-color: #f3c9c5; }
.settings-title { font-size: 20px; margin-bottom: 16px; }
.settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.settings-note { color: var(--muted); font-size: 13.5px; margin: 0 0 14px; }
.settings-actions { margin-top: 16px; }
.btn--danger-solid { background: #c0392b; color: #fff; }
.btn--danger-solid:hover { background: #a53125; }
@media (max-width: 640px) { .settings-grid { grid-template-columns: 1fr; } }

/* ---------- Admin felület ---------- */
.admin-layout { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding-top: 8px; padding-bottom: 50px; align-items: start; }
.admin-nav { background: var(--dark); color: #cdd7cd; border-radius: var(--radius); padding: 16px; position: sticky; top: 96px; }
.admin-nav__brand { font-family: var(--font-head); font-weight: 700; font-size: 20px; color: #fff; padding: 4px 8px 12px; }
.admin-nav nav { display: flex; flex-direction: column; gap: 2px; margin-bottom: 14px; }
.admin-nav nav a { padding: 10px 12px; border-radius: var(--radius-sm); color: #cdd7cd; font-size: 14px; font-weight: 500; }
.admin-nav nav a:hover { background: rgba(255,255,255,.08); color: #fff; }
.admin-nav nav a.is-active { background: var(--green); color: #fff; }
.admin-nav .btn--ghost { color: #cdd7cd; box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
.admin-nav .btn--ghost:hover { background: rgba(255,255,255,.08); }
.admin-h1 { font-size: 28px; margin-bottom: 18px; }

.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 24px; }
.stat-grid--3 { grid-template-columns: repeat(3, 1fr); }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.stat--ok { border-left: 3px solid var(--green); }
.stat--warn { border-left: 3px solid #d99a2b; }
.stat__n { display: block; font-family: var(--font-head); font-weight: 700; font-size: 26px; color: var(--ink); }
.stat__l { color: var(--muted); font-size: 13px; }

.admin-block { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-bottom: 20px; }
.admin-block__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; gap: 12px; }
.admin-block__head h2 { font-size: 19px; }
.admin-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.mod-row { display: grid; grid-template-columns: 84px 1fr auto; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); align-items: center; }
.mod-row__img { width: 84px; height: 64px; border-radius: 8px; overflow: hidden; background: var(--surface-2); }
.mod-row__img img { width: 100%; height: 100%; object-fit: cover; }
.mod-row__title { font-weight: 600; }
.mod-row__meta { color: var(--muted); font-size: 12.5px; margin: 2px 0; }
.mod-row__actions { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.flags { display: flex; gap: 6px; flex-wrap: wrap; }
.flag { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 5px; }
.flag--ok { background: var(--green-050); color: var(--green-700); }
.flag--warn { background: #fff5e6; color: #a05a00; }
.flag--bad { background: #fdeceb; color: #b3261e; }

.mini-row { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); }
.mini-row img { width: 40px; height: 34px; object-fit: cover; border-radius: 6px; }
.mini-row__t { flex: 1; min-width: 0; font-size: 14px; font-weight: 600; }
.mini-row__t small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-row__side { color: var(--muted); font-size: 12px; white-space: nowrap; }

.admin-table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.admin-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.admin-table th { text-align: left; padding: 12px 14px; color: var(--muted); font-weight: 600; border-bottom: 1px solid var(--line); white-space: nowrap; }
.admin-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: 0; }
.t-img { width: 56px; height: 42px; object-fit: cover; border-radius: 6px; }
.t-title { font-weight: 600; }
.u-cell { display: flex; align-items: center; gap: 10px; }
.u-cell small { display: block; color: var(--muted); font-weight: 400; }
.u-actions { display: flex; gap: 6px; align-items: flex-start; flex-wrap: wrap; }
.u-actions details { position: relative; }
.msg-pop, .u-actions details .msg-pop { display: flex; flex-direction: column; gap: 6px; margin-top: 6px; min-width: 220px; }
.msg-pop textarea, .broadcast textarea { width: 100%; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 8px; font-family: var(--font); font-size: 13px; }
.tag-admin { background: var(--dark); color: #fff; font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 4px; margin-left: 4px; }
.broadcast summary { cursor: pointer; font-weight: 600; color: var(--green-700); }
.broadcast form { margin-top: 10px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }

.filter-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.filter-tabs a { padding: 8px 14px; border-radius: 40px; background: var(--surface); border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--ink-2); }
.filter-tabs a:hover { border-color: var(--green); }
.filter-tabs a.is-active { background: var(--green); color: #fff; border-color: var(--green); }

.admin-msg-banner { background: var(--green-050); border-bottom: 1px solid var(--green-100); color: var(--green-700); font-size: 14px; padding: 10px 0; }
.admin-msg-banner__item { display: inline-block; margin-left: 8px; }

@media (max-width: 900px) {
  .admin-layout { grid-template-columns: 1fr; }
  .admin-nav { position: static; }
  .admin-cols { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .mod-row { grid-template-columns: 64px 1fr; }
  .mod-row__actions { grid-column: 1/-1; justify-content: flex-start; }
}

/* ---------- Statisztika / élő tracker ---------- */
.muted-note { color: var(--muted); font-size: 12px; }
.chart { width: 100%; height: auto; display: block; }
.live-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #e33; margin-right: 6px; box-shadow: 0 0 0 0 rgba(238,51,51,.6); animation: livepulse 1.6s infinite; vertical-align: middle; }
@keyframes livepulse { 0%{box-shadow:0 0 0 0 rgba(238,51,51,.55);} 70%{box-shadow:0 0 0 8px rgba(238,51,51,0);} 100%{box-shadow:0 0 0 0 rgba(238,51,51,0);} }
.live-badge { display: inline-block; background: var(--green); color: #fff; font-size: 13px; font-weight: 700; border-radius: 20px; padding: 1px 10px; margin-left: 6px; }
.live-list { max-height: 260px; overflow-y: auto; }
.live-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 13.5px; }
.live-row__path { color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.live-row__ago { color: var(--muted); white-space: nowrap; }
.rank-row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 13.5px; }
.rank-row__l { color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rank-row__n { font-weight: 700; color: var(--green-700); }

/* ---------- Eszköz szerinti bontás ---------- */
.dev-bar { display: flex; height: 26px; border-radius: 8px; overflow: hidden; background: var(--surface-2); }
.dev-seg { height: 100%; }
.dev-legend { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 12px; font-size: 13.5px; color: var(--ink-2); }
.dev-leg { display: inline-flex; align-items: center; gap: 6px; }
.dev-dot { width: 11px; height: 11px; border-radius: 3px; display: inline-block; }
.dev-chip { font-size: 10px; font-weight: 700; padding: 1px 6px; border-radius: 4px; color: #fff; text-transform: capitalize; }
.dev-mobil { background: var(--green); } .dev-dot.dev-mobil { background: var(--green); }
.dev-asztali { background: var(--dark); } .dev-dot.dev-asztali { background: var(--dark); }
.dev-tablet { background: var(--accent); } .dev-dot.dev-tablet { background: var(--accent); }
.dev-ismeretlen { background: var(--muted); } .dev-dot.dev-ismeretlen { background: var(--muted); }

/* ---------- Jogi oldalak ---------- */
.legal-page { padding-top: 8px; padding-bottom: 56px; }
.legal { max-width: 820px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 40px; }
.legal h1 { font-size: 30px; margin-bottom: 4px; }
.legal-updated { color: var(--muted); font-size: 13px; margin: 0 0 22px; }
.legal-lead { font-size: 16px; color: var(--ink-2); }
.legal h2 { font-size: 20px; margin: 26px 0 10px; color: var(--ink); }
.legal p { margin: 0 0 12px; color: var(--ink-2); line-height: 1.7; }
.legal ul { margin: 0 0 14px; padding-left: 22px; color: var(--ink-2); line-height: 1.7; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--green-700); font-weight: 600; }
.legal-note { margin-top: 22px; padding: 12px 14px; background: var(--surface-2); border-radius: var(--radius-sm); font-size: 13px; color: var(--muted); }
@media (max-width: 640px) { .legal { padding: 24px 20px; } }

/* ---------- Kép-előnézet / elsődleges választó ---------- */
.img-preview { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.img-thumb { width: 112px; text-align: center; }
.img-thumb img { width: 112px; height: 84px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.img-thumb__pick { display: block; font-size: 11px; color: var(--muted); margin-top: 4px; cursor: pointer; }
.img-thumb__pick input, .edit-image__pick input { accent-color: var(--green); }
.edit-image__pick { display: block; font-size: 11px; color: var(--green-700); font-weight: 600; margin-top: 4px; }

/* ---------- Kiemelés-csoportok (promote oldal) ---------- */
.promo-group { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 16px 18px; margin-bottom: 18px; }
.promo-group__title { font-family: var(--font-head); font-weight: 700; font-size: 19px; padding: 0 4px; }
.promo-group__desc { color: var(--muted); font-size: 13px; margin: 4px 4px 14px; }
.promo-boost { display: inline-block; color: var(--green-700); font-weight: 700; background: var(--green-050); border-radius: 20px; padding: 1px 9px; font-size: 12px; margin-left: 4px; white-space: nowrap; }
.promo-grid--4 { grid-template-columns: repeat(4, 1fr); }
.promo-card__ribbon { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .3px; padding: 3px 10px; border-radius: 20px; white-space: nowrap; box-shadow: var(--shadow); }
.promo-card--best { border-color: var(--accent); box-shadow: 0 0 0 2px #ffe6cf; }
.promo-none { display: flex; align-items: center; gap: 8px; padding: 8px 4px 4px; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.promo-none input { accent-color: var(--green); width: 16px; height: 16px; }
@media (max-width: 640px) { .promo-grid--4 { grid-template-columns: repeat(2, 1fr); } }

/* Admin: ingyenes kiemelés vezérlő */
.free-promo { display: flex; gap: .3rem; align-items: center; }
.free-promo__select { font-size: .8rem; padding: .25rem .4rem; border: 1px solid var(--border, #d9d9e0); border-radius: 6px; max-width: 150px; }

/* Kereskedői előfizetés */
.account-dropdown__merchant { color: var(--accent, #b8860b); font-weight: 600; }
.merchant-page { padding: 2.5rem 0 4rem; }
.merchant-hero { text-align: center; margin-bottom: 2rem; }
.merchant-hero h1 { margin: 0 0 .5rem; }
.merchant-hero__lead { color: #555; margin: .4rem 0; font-size: 1.05rem; }
.merchant-price { font-size: 1.15rem; margin-top: .75rem; color: #555; }
.merchant-price strong { font-size: 2rem; color: var(--accent, #b8860b); }
.merchant-status { padding: 1rem 1.25rem; border-radius: 10px; margin: 0 auto 2rem; max-width: 940px; }
.merchant-status--active { background: #e8f5e9; border: 1px solid #a5d6a7; }

.merchant-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 2.5rem; max-width: 940px; margin: 0 auto; align-items: start; }

/* Előnyök kártya */
.merchant-perks { list-style: none; padding: 1.75rem; margin: 0; display: flex; flex-direction: column; gap: 1.1rem;
  background: #fff; border: 1px solid var(--border, #e2e0d8); border-radius: 14px; }
.merchant-perks li { display: flex; gap: .75rem; align-items: flex-start; line-height: 1.45; }
.merchant-perks__check { flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%; background: #e8f5e9; color: #2e7d32;
  font-weight: 700; font-size: .8rem; display: inline-flex; align-items: center; justify-content: center; margin-top: 1px; }

/* Adatűrlap */
.merchant-form { background: #faf9f6; border: 1px solid var(--border, #e2e0d8); border-radius: 14px; padding: 2rem 2.25rem; }
.merchant-form h2 { margin: 0 0 1.5rem; font-size: 1.25rem; padding-bottom: .75rem; border-bottom: 1px solid var(--border, #e2e0d8); }
.merchant-form .form-group { margin-bottom: 1.4rem; }
.merchant-form label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .5rem; color: var(--ink, #222); }
.merchant-form input[type="text"] { width: 100%; box-sizing: border-box; padding: .8rem .95rem; font-size: 1rem;
  border: 1px solid var(--border, #d9d9e0); border-radius: 9px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.merchant-form input[type="text"]:focus { outline: none; border-color: var(--accent, #b8860b); box-shadow: 0 0 0 3px rgba(184,134,11,.15); }
.merchant-form input[type="file"] { width: 100%; box-sizing: border-box; padding: .65rem; font-size: .9rem;
  border: 1px dashed var(--border, #cfcfd6); border-radius: 9px; background: #fff; cursor: pointer; }
.merchant-form__logo { margin-bottom: .75rem; }
.merchant-form__logo img { max-height: 64px; border: 1px solid var(--border, #e2e0d8); border-radius: 8px; padding: 6px; background: #fff; display: block; }
.merchant-form__note { font-size: .82rem; color: #777; margin: 1.25rem 0; line-height: 1.5; }
.merchant-form .btn--block { padding: .9rem; font-size: 1.05rem; }

@media (max-width: 720px) {
  .merchant-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .merchant-form { padding: 1.5rem 1.25rem; }
}
.merchant-perks__note { margin-top: 1rem; padding-top: .8rem; border-top: 1px solid var(--border,#e2e0d8); color:#444; }
