/* Copyright © 2026 diaspora.ro — Toate drepturile rezervate. Diaspora.ro Marketplace storefront — rebuilt from the supplied desktop/mobile concept. */
:root {
  --mp-navy: #071d49;
  --mp-blue: #073a8c;
  --mp-blue-bright: #0756bd;
  --mp-red: #df1734;
  --mp-yellow: #ffd11a;
  --mp-ink: #101828;
  --mp-muted: #667085;
  --mp-line: #e6eaf0;
  --mp-canvas: #fff;
  --mp-content: 1360px;
  --mp-shadow: 0 8px 24px rgba(16, 24, 40, .07);
}

html { scroll-behavior: smooth; }
body.mp-home-page {
  margin: 0;
  color: var(--mp-ink);
  background: var(--mp-canvas);
  font-family: Inter, "Plus Jakarta Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}
.mp-home-page *, .mp-home-page *::before, .mp-home-page *::after { box-sizing: border-box; }
.mp-home-page img { max-width: 100%; }

.mp-home-announce {
  min-height: 32px;
  color: #354258;
  background: #fff;
  border-bottom: 1px solid #e6e8ec;
  font-size: 12px;
}
.mp-home-announce__inner {
  width: min(var(--mp-content), calc(100% - 48px));
  min-height: 32px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.mp-home-announce__promise { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; }
.mp-home-announce__links, .mp-home-announce__account { display: flex; align-items: center; gap: 18px; white-space: nowrap; }
.mp-home-announce a, .mp-home-announce button { color: inherit; text-decoration: none; }
.mp-home-announce a:hover { color: var(--mp-blue-bright); }
.mp-home-announce__account { gap: 10px; }
.mp-home-utility-user { width: 15px; height: 15px; }
.mp-home-ro-flag { width: 14px; height: 10px; display: inline-grid; grid-template-columns: repeat(3,1fr); overflow: hidden; vertical-align: -1px; }
.mp-home-ro-flag i:nth-child(1) { background: #002b7f; }
.mp-home-ro-flag i:nth-child(2) { background: #fcd116; }
.mp-home-ro-flag i:nth-child(3) { background: #ce1126; }
.mp-home-announce__country { padding: 2px 6px; border-left: 1px solid #d9dee6; }
.mp-home-announce__account-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.mp-home-country-globe {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
}

.mp-home-header {
  position: relative;
  z-index: 50;
  color: var(--mp-ink);
  background: #fff;
  box-shadow: 0 2px 6px rgba(16, 24, 40, .08);
}
.mp-home-header__primary {
  width: min(var(--mp-content), calc(100% - 48px));
  min-height: 78px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 230px minmax(280px, 1fr) auto auto;
  align-items: center;
  gap: 24px;
}
.mp-home-brand { min-width: 0; display: inline-flex; align-items: center; gap: 9px; color: var(--mp-navy); text-decoration: none; }
.mp-home-brand__logo { width: 46px; height: 46px; object-fit: contain; }
.mp-home-brand__wordmark { color: var(--mp-navy); font-size: 26px; font-weight: 850; letter-spacing: -.055em; white-space: nowrap; }
.mp-home-brand__wordmark span { color: #183f91; }
.mp-home-brand__tagline { display: none; }
.mp-home-search-area { position: relative; min-width: 0; }
.mp-home-search-row {
  min-width: 0;
  height: 50px;
  display: flex;
  overflow: hidden;
  border: 1px solid #cdd5e1;
  border-radius: 10px;
  background: #fff;
}
.mp-home-search-row input {
  width: 100%; min-width: 0; padding: 0 14px; border: 0; outline: 0;
  color: var(--mp-ink); background: #fff; font: 400 15px/1.4 Inter, "Plus Jakarta Sans", Arial, sans-serif;
}
.mp-home-search-row input::placeholder { color: #7a8494; opacity: 1; }
.mp-home-search-row input:focus-visible { box-shadow: inset 0 0 0 2px #78a5ef; }
.mp-home-search-button {
  width: 54px; min-width: 54px; display: grid; place-items: center;
  border: 0; color: #fff; background: var(--mp-blue); cursor: pointer;
}
.mp-home-search-button:hover { background: #052d72; }
.mp-home-search-button svg, .mp-home-mobile-search svg, .mp-home-cart svg, .mp-home-header__action svg,
.mp-home-secondary-nav svg, .mp-home-mobile-nav svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.mp-home-filter-toggle {
  min-width: 96px; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 0 12px; border: 0; border-left: 1px solid var(--mp-line); color: #354258;
  background: #fff; font-size: 14px; font-weight: 700; cursor: pointer;
}
.mp-home-filter-toggle svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.mp-home-filter-toggle:hover, .mp-home-filter-toggle.is-open { background: #f6f8fb; }
.mp-home-filter-toggle .search-toggle-chevron { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.mp-home-advanced-search {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 80; width: min(600px, calc(100vw - 24px));
  padding: 16px; border: 1px solid var(--mp-line); border-radius: 12px; background: #fff; box-shadow: 0 18px 40px rgba(16, 24, 40, .18);
}
.mp-home-advanced-search:not([hidden]) { display: grid; gap: 12px; }
.mp-home-filter-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.mp-home-filter-grid input, .mp-home-filter-grid select {
  width: 100%; min-width: 0; min-height: 40px; padding: 7px 10px; border: 1px solid #d0d5dd;
  border-radius: 7px; color: #344054; background: #fff; font: 500 12px/1.3 Inter, "Plus Jakarta Sans", Arial, sans-serif;
}
.mp-home-filter-field { min-width: 0; display: grid; gap: 4px; color: #475467; font-size: 12px; font-weight: 700; }
.mp-home-filter-field > span { line-height: 1.25; }
.mp-home-filter-grid .mp-home-catalog__sort { min-width: 0; width: 100%; display: grid; grid-column: 1 / -1; justify-content: stretch; gap: 4px; white-space: normal; }
.mp-home-filter-grid .mp-home-catalog__sort select { width: 100%; min-width: 0; }
.mp-home-filter-options, .mp-home-filter-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 9px 14px; }
.mp-home-filter-options label { display: inline-flex; align-items: center; gap: 6px; color: #475467; font-size: 12px; }
.mp-home-filter-actions button { min-height: 36px; padding: 0 12px; border: 1px solid #d0d5dd; border-radius: 7px; color: #344054; background: #fff; font-size: 12px; font-weight: 700; cursor: pointer; }
.mp-home-filter-actions #saveSearchBtn { border-color: var(--mp-blue); color: #fff; background: var(--mp-blue); }
.mp-home-cart, .mp-home-header__action {
  position: relative; min-width: 50px; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 7px 10px; border: 0; color: #25334a; background: transparent; text-decoration: none; font-size: 14px; font-weight: 650;
}
.mp-home-cart:hover, .mp-home-header__action:hover { color: var(--mp-blue-bright); }
.mp-home-cart__count { position: absolute; top: 0; right: -2px; min-width: 17px; height: 17px; padding: 0 4px; display: grid; place-items: center; border: 1px solid #fff; border-radius: 50%; color: #fff; background: var(--mp-red); font-size: 10px; font-weight: 800; }
.mp-home-header__actions { display: flex; align-items: center; gap: 6px; }
.mp-home-header__action { padding: 7px 10px; border: 1px solid #e5e9ef; border-radius: 7px; }
.mp-home-menu-toggle {
  min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 0 14px; border: 0; color: #fff; background: transparent; font-size: 14px; font-weight: 700; cursor: pointer; white-space: nowrap;
}
.mp-home-menu-toggle:hover, .mp-home-menu-toggle[aria-expanded="true"] { background: rgba(255,255,255,.1); }
.mp-home-menu-toggle__bars { width: 16px; display: grid; gap: 4px; }
.mp-home-menu-toggle__bars i { height: 2px; border-radius: 2px; background: currentColor; }
.mp-home-menu-toggle--mobile, .mp-home-mobile-search { display: none; }
.mp-home-menu {
  position: absolute; top: 100%; left: max(12px, calc((100vw - var(--mp-content)) / 2)); z-index: 90;
  width: min(330px, calc(100vw - 24px)); max-height: min(70vh, 580px); overflow: auto; padding: 8px;
  border: 1px solid #e0e5ec; border-radius: 0 0 12px 12px; background: #fff; box-shadow: 0 16px 32px rgba(16,24,40,.2);
}
.mp-home-menu.is-open:not([hidden]) { display: grid; }
.mp-home-menu-link { min-height: 48px; display: flex; align-items: center; padding: 10px 14px; border-radius: 9px; color: #344054; text-decoration: none; font-size: 15px; font-weight: 650; }
.mp-home-menu-link:hover, .mp-home-menu-link.active { color: var(--mp-blue); background: #eff5ff; }
.mp-home-secondary-nav { min-height: 44px; display: flex; align-items: center; gap: 8px; padding: 0 max(24px, calc((100vw - var(--mp-content)) / 2)); color: #fff; background: var(--mp-navy); }
.mp-home-secondary-nav a { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; padding: 0 14px; color: #fff; text-decoration: none; font-size: 14px; font-weight: 650; white-space: nowrap; }
.mp-home-secondary-nav a:hover { background: rgba(255,255,255,.12); }
.mp-home-nav-icon { width: 18px; height: 18px; flex: 0 0 auto; filter: brightness(0) invert(1); }
.mp-home-secondary-nav a:first-of-type { color: var(--mp-yellow); }
.mp-home-locationbar { display: none; }

.mp-home-main { width: 100%; margin: 0 auto 64px; display: grid; gap: 20px; color: var(--mp-ink); }
.mp-home-hero { width: 100%; margin: 0; }
.mp-home-hero__viewport { width: min(1110px, calc(100% - 48px)); margin: 0 auto; overflow: hidden; border-radius: 16px; background: #eef2f7; }
.mp-home-hero__image { width: 100%; height: auto; display: block; }
.mp-home-hero__mobile-banners { display: none; }
.mp-home-catalog, .mp-home-trust, .mp-home-community, .mp-home-main > .workspace { width: min(var(--mp-content), calc(100% - 48px)); margin-left: auto; margin-right: auto; }
.mp-home-catalog, .mp-home-community { min-width: 0; padding: 22px; border: 1px solid #edf0f4; border-radius: 16px; background: #fff; box-shadow: var(--mp-shadow); }
.mp-home-section-heading { min-height: 36px; margin: 0 0 14px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.mp-home-section-heading h2 { margin: 0; color: #111827; font-size: 24px; font-weight: 800; letter-spacing: -.025em; line-height: 1.2; }
.mp-home-section-heading p { margin: 5px 0 0; color: var(--mp-muted); font-size: 14px; line-height: 1.5; }
.mp-home-section-heading > a { color: var(--mp-red); text-decoration: none; font-size: 14px; font-weight: 700; white-space: nowrap; }
.mp-home-category-section .mp-home-section-heading { display: none; }
.mp-home-catalog__categories { min-width: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 156px; gap: 14px; overflow-x: auto; padding: 4px 2px 10px; scrollbar-width: thin; scrollbar-color: #c8d0dd transparent; overscroll-behavior-x: contain; }
.mp-home-catalog__filter {
  min-width: 0; min-height: 124px; padding: 14px 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px;
  border: 1px solid #edf0f3; border-radius: 14px; color: #233047; background: #fff;
  font: 700 15px/1.35 Inter, "Plus Jakarta Sans", Arial, sans-serif; text-align: center; cursor: pointer;
  transition: border-color .15s ease, background .15s ease, transform .15s ease;
}
.mp-home-catalog__filter:hover { transform: translateY(-1px); border-color: #b6c8e7; background: #f5f8ff; }
.mp-home-catalog__filter.is-active { border-color: #9bb7e6; color: var(--mp-blue); background: #eef4ff; }
.mp-home-catalog__filter-icon { min-height: 48px; display: grid; place-items: center; }
.mp-home-catalog__filter-icon img { width: 48px; height: 48px; display: block; object-fit: contain; }
.mp-home-shelf a.mp-home-card--informational { color: inherit; text-decoration: none; }
.mp-home-header a:focus-visible, .mp-home-header button:focus-visible,
.mp-home-main a:focus-visible, .mp-home-main button:focus-visible, .mp-home-mobile-nav a:focus-visible,
.mp-home-mobile-nav button:focus-visible { outline: 3px solid #79aaf4; outline-offset: 2px; }

.mp-home-promo-grid { min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.mp-home-promo-card { min-height: 142px; display: grid; align-content: center; gap: 9px; padding: 22px 26px; overflow: hidden; border-radius: 16px; box-shadow: var(--mp-shadow); text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }
.mp-home-promo-card--stores { color: #fff; background: linear-gradient(112deg, #0b2f66 0 58%, #14519b 58% 100%); }
.mp-home-promo-card--catalog { color: #183253; background: linear-gradient(112deg, #eaf2ff 0 58%, #f8df9e 58% 100%); }
.mp-home-promo-card:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(16,24,40,.16); }
.mp-home-promo-card__mobile-image { display: none; }
.mp-home-promo-card__desktop-copy { display: grid; gap: 9px; }
.mp-home-promo-card__eyebrow { font-size: 11px; font-weight: 850; letter-spacing: .12em; }
.mp-home-promo-card strong { max-width: 520px; font-size: clamp(18px, 2vw, 25px); font-weight: 850; line-height: 1.16; letter-spacing: -.02em; }
.mp-home-promo-card__link { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; }
.mp-home-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.mp-home-catalog { padding: 24px; }
.mp-home-catalog__header { max-width: 920px; margin: 0 0 18px; }
.mp-home-catalog__eyebrow { color: var(--mp-red); font-size: 13px; font-weight: 800; letter-spacing: .1em; }
.mp-home-catalog__header h2 { margin: 6px 0; color: #111827; font-size: 26px; font-weight: 800; letter-spacing: -.025em; line-height: 1.2; }
.mp-home-catalog__header p { margin: 0; color: var(--mp-muted); font-size: 15px; line-height: 1.5; }
.mp-home-catalog__layout, .mp-home-catalog__main { min-width: 0; }
.mp-home-catalog__main { display: flex; flex-direction: column; }
.mp-home-catalog__category-panel { display: none; }
.mp-home-catalog__controls { min-width: 0; margin: 0 0 16px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; }
.mp-home-catalog__search input { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid #d7dde6; border-radius: 10px; background: #fff; font: 400 15px/1.4 Inter, "Plus Jakarta Sans", Arial, sans-serif; }
.mp-home-catalog__toolbar { display: flex; justify-content: flex-end; align-items: center; }
.mp-home-catalog__sort { display: flex; align-items: center; gap: 8px; color: #667085; font-size: 13px; font-weight: 650; white-space: nowrap; }
.mp-home-catalog__sort select { min-height: 44px; min-width: 150px; padding: 6px 28px 6px 10px; border: 1px solid #d7dde6; border-radius: 9px; background: #fff; color: #344054; font: 600 13px/1.4 Inter, "Plus Jakarta Sans", Arial, sans-serif; }
.mp-home-catalog__sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.mp-home-category-shelves, .mp-home-results { min-width: 0; display: grid; gap: 20px; }
.mp-home-shelf { min-width: 0; }
.mp-home-shelf__heading { min-height: 34px; margin: 0 0 10px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mp-home-shelf__title { margin: 0; color: #273449; font-size: 19px; font-weight: 750; line-height: 1.25; }
.mp-home-shelf__controls { display: flex; gap: 5px; }
.mp-home-shelf__arrow { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid #e1e5ec; border-radius: 50%; color: var(--mp-navy); background: #fff; font-size: 23px; cursor: pointer; }
.mp-home-shelf__arrow:disabled { opacity: .45; cursor: default; }
.mp-home-shelf__rail { min-width: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(270px, calc((100% - 45px) / 4)); gap: 15px; overflow-x: auto; padding: 3px 2px 10px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #c8d0dd transparent; overscroll-behavior-x: contain; }
.mp-home-shelf__rail:focus-visible { outline: 3px solid #79aaf4; outline-offset: 2px; }
.mp-home-card { position: relative; min-width: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid #e5e9ef; border-radius: 14px; background: #fff; box-shadow: 0 4px 14px rgba(16,24,40,.07); scroll-snap-align: start; }
.mp-home-card__media { position: relative; width: 100%; aspect-ratio: 1 / .9; display: grid; place-items: center; overflow: hidden; background: #fafafa; text-decoration: none; }
.mp-home-card__media img { width: 100%; height: 100%; display: block; object-fit: contain; }
.mp-home-card__media .mp-home-card__media-placeholder { width: 100%; height: 100%; display: grid; place-items: center; padding: 14px; color: #a0a8b4; background: #fafafa; }
.mp-home-card__placeholder-icon { font-size: 38px; font-weight: 300; line-height: 1; }
.mp-home-card__tools { position: absolute; top: 8px; right: 8px; z-index: 2; display: flex; gap: 5px; }
.mp-home-card__icon { width: 34px; height: 34px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; color: #263449; background: rgba(255,255,255,.96); font-size: 19px; cursor: pointer; }
.mp-home-card__favorite.is-saved { color: var(--mp-red); }
.mp-home-card__body { min-height: 0; padding: 14px; display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: 8px; }
.mp-home-card__meta { width: 100%; min-height: 18px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.mp-home-card__category, .mp-home-card__verified { color: #667085; font-size: 11px; font-weight: 700; line-height: 1.3; text-transform: uppercase; }
.mp-home-card__verified { color: #16834b; }
.mp-home-card__title { min-height: 42px; display: -webkit-box; overflow: hidden; color: #1d2939; font-size: 15px; font-weight: 700; line-height: 1.4; text-decoration: none; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.mp-home-card__title:hover { color: var(--mp-blue-bright); }
.mp-home-card__price { margin-top: auto; color: var(--mp-red); font-size: 20px; font-weight: 850; line-height: 1.25; }
.mp-home-card__note { margin: auto 0 0; color: #667085; font-size: 12px; line-height: 1.45; }
.mp-home-card__location, .mp-home-card__seller { max-width: 100%; color: #667085; font-size: 11px; line-height: 1.35; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mp-home-card__seller { display: flex; align-items: center; gap: 6px; }
.mp-home-card__seller-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mp-home-card__rating { flex: 0 0 auto; color: #a77500; font-size: 11px; font-weight: 700; }
.mp-home-card__add { width: 100%; min-height: 44px; margin-top: 4px; padding: 8px 10px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--mp-red); border-radius: 9px; color: #fff; background: var(--mp-red); text-align: center; text-decoration: none; font: 750 13px/1.25 Inter, "Plus Jakarta Sans", Arial, sans-serif; cursor: pointer; }
.mp-home-card__add:hover { border-color: #bd1029; color: #fff; background: #bd1029; }
.mp-home-card__add:disabled { opacity: .7; }
.mp-home-card--informational .mp-home-card__body { gap: 6px; }
.mp-home-card--informational .mp-home-card__add { margin-top: auto; }
.mp-home-card--informational .mp-home-card__meta { display: none; }
.mp-home-catalog__pagination { min-height: 44px; margin-top: 12px; display: flex; justify-content: center; }
.mp-home-catalog__pagination button, .mp-home-load-more button { min-height: 44px; padding: 0 18px; border: 1px solid #d5dce6; border-radius: 999px; color: var(--mp-blue); background: #fff; font-size: 14px; font-weight: 700; cursor: pointer; }
.mp-home-catalog__pagination button:hover, .mp-home-load-more button:hover { background: #f2f6fd; }
.mp-home-empty { min-height: 120px; grid-column: 1 / -1; padding: 26px; display: grid; align-content: center; gap: 10px; border: 1px dashed #cfd5de; border-radius: 14px; color: #667085; background: #fff; text-align: center; font-size: 14px; }
.mp-home-empty__reset { justify-self: center; min-height: 42px; padding: 8px 14px; border: 1px solid #d5dce6; border-radius: 9px; color: #344054; background: #fff; font-weight: 700; cursor: pointer; }
.mp-home-load-more { min-height: 44px; display: flex; justify-content: center; margin-top: 10px; }
.mp-home-load-more button { min-height: 44px; }

.mp-home-trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: center; gap: 14px; padding: 20px 16px; border: 1px solid #e6eaf0; border-radius: 16px; background: #fff; box-shadow: var(--mp-shadow); }
.mp-home-trust__item { min-width: 0; display: flex; align-items: center; justify-content: center; gap: 12px; color: #273449; }
.mp-home-trust__item + .mp-home-trust__item { border-left: 1px solid #d7dee8; }
.mp-home-trust__item img { width: 32px; height: 32px; flex: 0 0 auto; }
.mp-home-trust__copy { display: grid; gap: 2px; }
.mp-home-trust__copy strong { font-size: 14px; line-height: 1.3; }
.mp-home-trust__copy span { color: #667085; font-size: 12px; line-height: 1.4; }

.mp-home-community { padding: 24px; }
.mp-home-community__actions { display: flex; justify-content: flex-end; margin: 0 0 16px; }
.mp-home-sell-button { min-height: 48px; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid rgba(11,47,102,.12); border-radius: 999px; color: #142a46; background: linear-gradient(135deg, #ffd067, #ffc14d); box-shadow: 0 8px 18px rgba(11,47,102,.16); font-size: 14px; font-weight: 800; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }
.mp-home-sell-button:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(11,47,102,.2); }
.mp-home-shop-layout { min-width: 0; display: grid; grid-template-columns: 250px minmax(0, 1fr); align-items: start; gap: 24px; }
.mp-home-category-section--community { padding: 16px; border: 1px solid #e8ebf0; border-radius: 14px; background: #fff; }
.mp-home-category-viewport { min-width: 0; max-height: 360px; overflow: auto; }
.mp-home-categories { display: grid; gap: 4px; }
.mp-home-category { width: 100%; min-width: 0; min-height: 44px; padding: 9px 12px; display: flex; align-items: center; border: 1px solid transparent; border-radius: 9px; color: #344054; background: transparent; text-align: left; cursor: pointer; }
.mp-home-category:hover { background: #f1f5fb; }
.mp-home-category.is-active { border-color: #c6d8f6; color: var(--mp-blue); background: #edf4ff; }
.mp-home-category__label { min-width: 0; color: inherit; font-size: 13px; font-weight: 650; line-height: 1.35; overflow-wrap: anywhere; }
.mp-home-products { min-width: 0; }
.mp-home-active-filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }

.mp-home-footer { color: #e7ecf5; background: var(--mp-navy); }
.mp-home-footer__inner { width: min(var(--mp-content), calc(100% - 48px)); margin: 0 auto; padding: 30px 0 24px; display: grid; grid-template-columns: 1.15fr 1fr 1fr 1fr; gap: 36px; }
.mp-home-footer__brand { display: flex; align-items: flex-start; gap: 10px; }
.mp-home-footer__brand img { width: 46px; height: 46px; object-fit: contain; }
.mp-home-footer__brand strong { display: block; color: #fff; font-size: 21px; line-height: 1.2; }
.mp-home-footer__brand span { display: block; margin-top: 7px; color: #b9c5d8; font-size: 13px; }
.mp-home-footer__column { display: grid; align-content: start; gap: 9px; }
.mp-home-footer__column strong { margin-bottom: 4px; color: #fff; font-size: 14px; }
.mp-home-footer__column a { color: #c5d0e0; text-decoration: none; font-size: 13px; line-height: 1.5; }
.mp-home-footer__column a:hover { color: #fff; text-decoration: underline; }
.mp-home-footer__copyright { padding: 14px 20px; border-top: 1px solid rgba(255,255,255,.12); color: #aebbd0; text-align: center; font-size: 12px; }
.mp-home-mobile-nav { display: none; }

@media (max-width: 900px) {
  .mp-home-header__primary { grid-template-columns: 180px minmax(180px, 1fr) auto auto; gap: 12px; }
  .mp-home-announce__links { gap: 10px; }
  .mp-home-secondary-nav { gap: 2px; }
  .mp-home-secondary-nav a { padding: 0 8px; font-size: 11px; }
  .mp-home-shelf__rail { grid-auto-columns: minmax(250px, calc((100% - 30px) / 3)); }
}
@media (max-width: 760px) {
  .mp-home-announce { display: none; }
  .mp-home-header { position: sticky; top: 0; }
  .mp-home-header__primary { width: calc(100% - 20px); min-height: 60px; grid-template-columns: minmax(0,1fr) 34px 38px 34px; gap: 6px; }
  .mp-home-menu-toggle--mobile { width: 34px; min-height: 38px; display: inline-flex; padding: 0; color: #344054; grid-column: 4; grid-row: 1; }
  .mp-home-brand { grid-column: 1; grid-row: 1; gap: 6px; }
  .mp-home-brand__logo { width: 30px; height: 30px; }
  .mp-home-brand__wordmark { font-size: 18px; }
  .mp-home-mobile-search { width: 34px; height: 38px; display: grid; place-items: center; padding: 0; border: 0; color: #25334a; background: transparent; grid-column: 2; grid-row: 1; }
  .mp-home-header .mp-home-search-area { display: none; }
  .mp-home-catalog__controls > .mp-home-search-area { width: 100%; display: block; }
  .mp-home-catalog__controls > .mp-home-search-area .mp-home-search-row { height: 48px; }
  .mp-home-filter-toggle { min-width: 70px; }
  .mp-home-filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mp-home-filter-grid .mp-home-filter-field { font-size: 13px; }
  .mp-home-advanced-search { position: static; width: 100%; margin-top: 8px; padding: 10px; box-shadow: none; }
  .mp-home-cart { width: 38px; min-width: 38px; min-height: 38px; padding: 5px; grid-column: 3; grid-row: 1; }
  .mp-home-cart svg { width: 22px; height: 22px; }
  .mp-home-cart__label, .mp-home-header__actions { display: none; }
  .mp-home-secondary-nav, .mp-home-locationbar { display: none; }
  .mp-home-menu { top: 100%; left: 8px; max-height: min(70vh, 560px); border-radius: 0 0 12px 12px; }
  .mp-home-main { width: 100%; margin: 0 auto 32px; gap: 10px; }
  .mp-home-catalog, .mp-home-trust, .mp-home-community, .mp-home-main > .workspace { width: calc(100% - 20px); }
  .mp-home-hero__viewport { width: calc(100% - 20px); border-radius: 12px; background: #fff; }
  .mp-home-hero__desktop-image { display: none; }
  .mp-home-hero__mobile-banners { display: grid; gap: 4px; }
  .mp-home-hero__mobile-banners a { display: block; overflow: hidden; border-radius: 8px; }
  .mp-home-hero__mobile-banners img { width: 100%; height: auto; display: block; }
  .mp-home-catalog, .mp-home-community { padding: 12px; border-radius: 10px; }
  .mp-home-section-heading { min-height: 25px; margin-bottom: 8px; }
  .mp-home-section-heading h2 { font-size: 20px; }
  .mp-home-catalog__categories { grid-auto-flow: column; grid-template-rows: 154px; grid-auto-columns: 144px; gap: 9px; padding-bottom: 12px; }
  .mp-home-catalog__filter { min-height: 154px; padding: 4px 6px; gap: 3px; border-radius: 13px; font-size: 13px; }
  .mp-home-catalog__filter-icon { min-height: 98.4px; }
  .mp-home-catalog__filter-icon img { width: 98.4px; height: 98.4px; }
  .mp-home-catalog__header > p, .mp-home-catalog__eyebrow,
  .mp-home-trust, .mp-home-card--informational .mp-home-card__note { display: none; }
  .mp-home-catalog { padding: 12px; }
  .mp-home-catalog__header { margin-bottom: 9px; }
  .mp-home-catalog__header h2 { font-size: 20px; }
  .mp-home-catalog__controls { margin: 12px 0 0; grid-template-columns: minmax(0,1fr); gap: 8px; }
  .mp-home-catalog__search { display: none; }
  .mp-home-catalog__search input { min-height: 48px; font-size: 14px; }
  .mp-home-catalog__toolbar { justify-content: flex-start; }
  .mp-home-catalog__sort { width: 100%; justify-content: space-between; gap: 8px; font-size: 14px; }
  .mp-home-catalog__sort select { flex: 1; min-width: 0; min-height: 46px; padding-left: 10px; font-size: 14px; }
  .mp-home-filter-grid input, .mp-home-filter-grid select { min-height: 44px; font-size: 14px; }
  .mp-home-filter-options label { font-size: 14px; }
  .mp-home-filter-actions button { min-height: 42px; font-size: 14px; }
  .mp-home-category-shelves, .mp-home-results { gap: 22px; }
  .mp-home-shelf__heading { min-height: 34px; margin-bottom: 8px; }
  .mp-home-shelf__title { font-size: 20px; }
  .mp-home-shelf__controls { display: flex; gap: 6px; }
  .mp-home-shelf__arrow { width: 38px; height: 38px; font-size: 22px; }
  .mp-home-shelf__rail { grid-auto-columns: max(120px, calc((100% - 16px) / 2.35)); gap: 8px; padding-bottom: 10px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
  .mp-home-card { border-radius: 14px; }
  .mp-home-card__media { aspect-ratio: 4 / 3; }
  .mp-home-card__tools { top: 8px; right: 8px; }
  .mp-home-card__icon { width: 32px; height: 32px; font-size: 18px; }
  .mp-home-card__body { padding: 8px; gap: 6px; }
  .mp-home-card__category, .mp-home-card__verified { font-size: 13px; }
  .mp-home-card__title { min-height: 40px; font-size: 14px; }
  .mp-home-card__price { font-size: 16px; }
  .mp-home-card__note, .mp-home-card__location, .mp-home-card__seller { font-size: 14px; }
  .mp-home-card__rating { font-size: 13px; }
  .mp-home-card__add { min-height: 42px; padding: 6px 5px; font-size: 12px; }
  .mp-home-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 0; padding: 11px 5px; border-radius: 0; }
  .mp-home-trust__item { justify-content: flex-start; padding: 0 7px; }
  .mp-home-trust__item:nth-child(3) { border-left: 0; }
  .mp-home-trust__item img { width: 20px; height: 20px; }
  .mp-home-trust__copy strong { font-size: 13px; }
  .mp-home-trust__copy span { font-size: 12px; }
  .mp-home-trust__item img { width: 24px; height: 24px; }
  .mp-home-shop-layout { grid-template-columns: minmax(0,1fr); gap: 12px; }
  .mp-home-category-section--community { padding: 10px; }
  .mp-home-category-viewport { max-height: none; overflow-x: auto; }
  .mp-home-categories { display: flex; width: max-content; gap: 6px; }
  .mp-home-category { width: auto; min-height: 42px; padding: 7px 11px; border: 1px solid #e5e9ef; border-radius: 999px; white-space: nowrap; }
  .mp-home-category__label { font-size: 13px; white-space: nowrap; }
  .mp-home-community__actions { justify-content: flex-start; margin-bottom: 10px; }
  .mp-home-sell-button { min-height: 44px; padding: 0 16px; font-size: 14px; }
  .mp-home-main > .workspace .eyebrow { font-size: 13px; }
  .mp-home-main > .workspace .workspace-title-text small { font-size: 12px; }
  .mp-home-footer__inner { width: calc(100% - 28px); padding: 18px 0; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px 12px; }
  .mp-home-footer__brand { grid-column: 1/-1; }
  .mp-home-footer { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
  .mp-home-mobile-nav { position: fixed; right: 0; bottom: 0; left: 0; z-index: 120; min-height: calc(68px + env(safe-area-inset-bottom,0px)); padding: 5px 5px calc(6px + env(safe-area-inset-bottom,0px)); display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); align-items: stretch; border-top: 1px solid #e3e7ed; background: rgba(255,255,255,.98); box-shadow: 0 -4px 14px rgba(16,24,40,.1); backdrop-filter: blur(10px); }
  .mp-home-mobile-nav a, .mp-home-mobile-nav button { position: relative; min-width: 0; min-height: 52px; padding: 4px 2px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border: 0; border-radius: 8px; color: #455269; background: transparent; text-decoration: none; font: 650 12px/1.15 Inter, "Plus Jakarta Sans", Arial, sans-serif; cursor: pointer; }
  .mp-home-mobile-nav a[aria-current="page"] { color: var(--mp-red); }
  .mp-home-mobile-nav svg { width: 22px; height: 22px; }
  .mp-home-mobile-nav__count { position: absolute; top: 0; left: calc(50% + 4px); min-width: 18px; height: 18px; padding: 0 4px; display: grid; place-items: center; border: 1px solid #fff; border-radius: 999px; color: #fff; background: var(--mp-red); font-size: 12px; font-weight: 800; }
  /* Exact button palette from /romania-mai-aproape/page.css, rainbow-01–27. */
  .mp-home-shelf[data-category-tone="01"],
  .mp-home-category[data-category-tone="01"] { --mp-category-color: #ef4444; --mp-category-foreground: #fff; }
  .mp-home-shelf[data-category-tone="02"],
  .mp-home-category[data-category-tone="02"] { --mp-category-color: #f97316; --mp-category-foreground: #fff; }
  .mp-home-shelf[data-category-tone="03"],
  .mp-home-category[data-category-tone="03"] { --mp-category-color: #f59e0b; --mp-category-foreground: #17202a; }
  .mp-home-shelf[data-category-tone="04"],
  .mp-home-category[data-category-tone="04"] { --mp-category-color: #eab308; --mp-category-foreground: #17202a; }
  .mp-home-shelf[data-category-tone="05"],
  .mp-home-category[data-category-tone="05"] { --mp-category-color: #84cc16; --mp-category-foreground: #17202a; }
  .mp-home-shelf[data-category-tone="06"],
  .mp-home-category[data-category-tone="06"] { --mp-category-color: #22c55e; --mp-category-foreground: #fff; }
  .mp-home-shelf[data-category-tone="07"],
  .mp-home-category[data-category-tone="07"] { --mp-category-color: #10b981; --mp-category-foreground: #fff; }
  .mp-home-shelf[data-category-tone="08"],
  .mp-home-category[data-category-tone="08"] { --mp-category-color: #14b8a6; --mp-category-foreground: #fff; }
  .mp-home-shelf[data-category-tone="09"],
  .mp-home-category[data-category-tone="09"] { --mp-category-color: #06b6d4; --mp-category-foreground: #fff; }
  .mp-home-shelf[data-category-tone="10"],
  .mp-home-category[data-category-tone="10"] { --mp-category-color: #0ea5e9; --mp-category-foreground: #fff; }
  .mp-home-shelf[data-category-tone="11"],
  .mp-home-category[data-category-tone="11"] { --mp-category-color: #3b82f6; --mp-category-foreground: #fff; }
  .mp-home-shelf[data-category-tone="12"],
  .mp-home-category[data-category-tone="12"] { --mp-category-color: #2563eb; --mp-category-foreground: #fff; }
  .mp-home-shelf[data-category-tone="13"],
  .mp-home-category[data-category-tone="13"] { --mp-category-color: #6366f1; --mp-category-foreground: #fff; }
  .mp-home-shelf[data-category-tone="14"],
  .mp-home-category[data-category-tone="14"] { --mp-category-color: #8b5cf6; --mp-category-foreground: #fff; }
  .mp-home-shelf[data-category-tone="15"],
  .mp-home-category[data-category-tone="15"] { --mp-category-color: #a855f7; --mp-category-foreground: #fff; }
  .mp-home-shelf[data-category-tone="16"],
  .mp-home-category[data-category-tone="16"] { --mp-category-color: #d946ef; --mp-category-foreground: #fff; }
  .mp-home-shelf[data-category-tone="17"],
  .mp-home-category[data-category-tone="17"] { --mp-category-color: #ec4899; --mp-category-foreground: #fff; }
  .mp-home-shelf[data-category-tone="18"],
  .mp-home-category[data-category-tone="18"] { --mp-category-color: #f43f5e; --mp-category-foreground: #fff; }
  .mp-home-shelf[data-category-tone="19"],
  .mp-home-category[data-category-tone="19"] { --mp-category-color: #dc2626; --mp-category-foreground: #fff; }
  .mp-home-shelf[data-category-tone="20"],
  .mp-home-category[data-category-tone="20"] { --mp-category-color: #ea580c; --mp-category-foreground: #fff; }
  .mp-home-shelf[data-category-tone="21"],
  .mp-home-category[data-category-tone="21"] { --mp-category-color: #ca8a04; --mp-category-foreground: #fff; }
  .mp-home-shelf[data-category-tone="22"],
  .mp-home-category[data-category-tone="22"] { --mp-category-color: #65a30d; --mp-category-foreground: #fff; }
  .mp-home-shelf[data-category-tone="23"],
  .mp-home-category[data-category-tone="23"] { --mp-category-color: #059669; --mp-category-foreground: #fff; }
  .mp-home-shelf[data-category-tone="24"],
  .mp-home-category[data-category-tone="24"] { --mp-category-color: #0891b2; --mp-category-foreground: #fff; }
  .mp-home-shelf[data-category-tone="25"],
  .mp-home-category[data-category-tone="25"] { --mp-category-color: #1d4ed8; --mp-category-foreground: #fff; }
  .mp-home-shelf[data-category-tone="26"],
  .mp-home-category[data-category-tone="26"] { --mp-category-color: #7c3aed; --mp-category-foreground: #fff; }
  .mp-home-shelf[data-category-tone="27"],
  .mp-home-category[data-category-tone="27"] { --mp-category-color: #1d4ed8; --mp-category-foreground: #fff; }
  .mp-home-shelf, .mp-home-catalog__filter, .mp-home-category { --mp-category-color: #1d4ed8; --mp-category-foreground: #fff; }
  .mp-home-catalog__categories { grid-template-rows: 154px; grid-auto-columns: minmax(140px, 40vw); gap: 8px; }
  .mp-home-catalog__filter { min-height: 154px; padding: 2px 5px; gap: 3px; border: 0; border-radius: 0; color: var(--mp-category-color); background: transparent; box-shadow: none; }
  .mp-home-catalog__filter:hover { border-color: transparent; background: transparent; }
  .mp-home-catalog__filter.is-active { border-color: transparent; color: var(--mp-category-color); background: transparent; box-shadow: inset 0 -2px var(--mp-category-color); }
  .mp-home-catalog__filter-icon { min-height: 98.4px; }
  .mp-home-catalog__filter-icon img { width: 98.4px; height: 98.4px; }
  .mp-home-category[data-category-tone] { border-color: var(--mp-category-color); color: var(--mp-category-color); background: #fff; }
  .mp-home-category[data-category-tone].is-active { border-color: var(--mp-category-color); color: var(--mp-category-color); background: transparent; box-shadow: inset 0 -2px var(--mp-category-color); }
  .mp-home-shelf { padding: 8px 0; border: 0; border-radius: 0; }
  .mp-home-shelf__title { color: var(--mp-category-color); }
  .mp-home-shelf__rail { grid-auto-columns: minmax(132px, min(40vw, 164px)); gap: 10px; padding: 2px 0 8px; }
  .mp-home-shelf__arrow { border: 1px solid var(--mp-category-color); color: var(--mp-category-color); background: #fff; }
  .mp-home-shelf__arrow:disabled { opacity: 1; }
  .mp-home-shelf .mp-home-card { overflow: visible; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
  .mp-home-shelf .mp-home-card__media { aspect-ratio: 1 / 1; overflow: hidden; border-radius: 12px; background: transparent; }
  .mp-home-shelf .mp-home-card__media:focus-visible { outline: 2px solid var(--mp-category-color); outline-offset: 2px; }
  .mp-home-shelf .mp-home-card__body { display: flex; padding: 8px 2px 4px; gap: 6px; }
  .mp-home-shelf .mp-home-card__meta, .mp-home-shelf .mp-home-card__note,
  .mp-home-shelf .mp-home-card__location, .mp-home-shelf .mp-home-card__seller { display: none; }
  .mp-home-shelf .mp-home-card__title { min-height: 38px; font-size: 14px; }
  .mp-home-shelf .mp-home-card__price { color: var(--mp-category-color); font-size: 16px; }
  .mp-home-shelf .mp-home-card__add { min-height: 36px; padding: 5px 6px; border: 1px solid var(--mp-category-color); border-radius: 9px; color: var(--mp-category-color); background: transparent; font-size: 12px; }

}
@media (max-width: 390px) {
  .mp-home-header__primary { grid-template-columns: minmax(0,1fr) 32px 36px 32px; gap: 4px; }
  .mp-home-brand__wordmark { font-size: 17px; }
  .mp-home-category-section { padding: 10px; }
  .mp-home-catalog__categories { grid-template-rows: 154px; grid-auto-columns: minmax(140px, 40vw); gap: 8px; padding-bottom: 12px; }
  .mp-home-catalog__filter { min-height: 154px; padding: 2px 5px; gap: 3px; border-radius: 0; font-size: 12px; }
  .mp-home-catalog__filter-icon { min-height: 98.4px; }
  .mp-home-catalog__filter-icon img { width: 98.4px; height: 98.4px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mp-home-page .mp-home-catalog__filter,
  .mp-home-page .mp-home-promo-card { transition-duration: .01ms; }
}
