:root {
  --bg: #08090b;
  --panel: #15171a;
  --panel-2: #1d2025;
  --text: #f4f1e8;
  --soft: #ded7c7;
  --muted: #aaa292;
  --accent: #d7b45b;
  --line: rgba(255,255,255,0.12);
  --gold-line: rgba(215,180,91,0.34);
}

* { box-sizing: border-box; }

html {
  min-height: 100%;
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  font-family: Inter, Arial, Helvetica, sans-serif;
  line-height: 1.55;
  background:
    radial-gradient(circle at 10% -10%, rgba(215,180,91,0.12), transparent 30rem),
    linear-gradient(180deg, #111315 0%, var(--bg) 58%, #050606 100%);
}

a { color: inherit; }

.page {
  width: min(1240px, calc(100% - 36px));
  margin: 0 auto;
  padding: 18px 0 54px;
}

.top-banner,
.panel,
.card {
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(18,20,23,0.96);
  box-shadow: 0 18px 48px rgba(0,0,0,0.24);
}

.top-banner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  margin-bottom: 20px;
  padding: 14px 16px;
  border-color: var(--gold-line);
}

.top-banner strong {
  display: block;
  font-size: 17px;
  line-height: 1.25;
}

.top-banner span {
  display: block;
  color: var(--muted);
  font-size: 14px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 0 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 52px;
  border: 2px solid var(--accent);
  border-radius: 12px 12px 18px 18px;
  color: var(--accent);
  font-weight: 900;
}

.brand-name {
  display: grid;
  line-height: 0.98;
  font-size: 20px;
  font-weight: 950;
  text-transform: uppercase;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.nav a,
.btn,
.nav-catalog summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(215,180,91,0.5);
  border-radius: 8px;
  background: var(--accent);
  color: #151109;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
}

.nav a,
.nav-catalog summary {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}

.nav-catalog {
  position: relative;
}

.nav-catalog summary {
  list-style: none;
}

.nav-catalog summary::-webkit-details-marker {
  display: none;
}

.nav-catalog-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  z-index: 10;
  width: min(720px, calc(100vw - 36px));
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(15,17,19,0.98);
  box-shadow: 0 20px 60px rgba(0,0,0,0.44);
  padding: 14px;
}

.nav-catalog-all {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  justify-content: stretch !important;
  margin-bottom: 10px;
  background: rgba(215,180,91,0.12) !important;
  color: var(--text) !important;
}

.nav-catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.nav-catalog-grid a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 54px;
  padding: 9px 10px;
  text-transform: none;
  letter-spacing: 0;
}

.nav-catalog-grid span,
.nav-catalog-all strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

.nav-catalog-grid em,
.nav-catalog-all span {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.btn.secondary {
  background: rgba(255,255,255,0.03);
  color: var(--text);
  border-color: var(--line);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.65fr);
  gap: 18px;
  align-items: stretch;
}

.hero-copy,
.hero-media,
.section {
  padding: 32px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(38px, 5vw, 66px);
  line-height: 1.02;
  letter-spacing: 0;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 16px;
  font-size: 28px;
  line-height: 1.15;
  text-transform: uppercase;
}

p {
  color: var(--soft);
}

.lead {
  max-width: 820px;
  font-size: 19px;
}

.actions,
.contact-actions,
.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sync-status {
  margin-top: 12px;
}

.sync-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sync-line span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 9px;
  color: var(--muted);
  font-size: 13px;
}

.pill-grid,
.grid,
.product-grid,
.category-grid {
  display: grid;
  gap: 14px;
}

.pill-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 22px 0;
}

.pill {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,0.035);
  padding: 15px;
}

.pill strong {
  display: block;
  margin-bottom: 5px;
}

.pill span {
  color: var(--muted);
  font-size: 14px;
}

.landing-list,
.landing-block-grid,
.faq-list {
  display: grid;
  gap: 12px;
}

.landing-list {
  margin: 20px 0;
}

.landing-list-item {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.landing-list-item span {
  width: 8px;
  height: 8px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--accent);
}

.landing-list-item p {
  margin-bottom: 0;
}

.landing-block-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.landing-info-block,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,0.03);
  padding: 14px;
}

.landing-info-block h3 {
  margin-bottom: 8px;
}

.landing-info-block p,
.faq-list p {
  margin-bottom: 0;
}

.faq-list summary {
  cursor: pointer;
  color: var(--text);
  font-weight: 900;
}

.faq-list details[open] summary {
  margin-bottom: 8px;
}

.product-grid,
.category-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin-top: 22px;
}

.catalog-sidebar {
  position: sticky;
  top: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,0.025);
  padding: 16px;
}

.catalog-sidebar h2 {
  margin-bottom: 12px;
  font-size: 18px;
}

.catalog-tree,
.catalog-tree ul {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.catalog-tree ul {
  margin-left: 14px;
  padding-left: 10px;
  border-left: 1px solid var(--line);
}

.catalog-tree a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 34px;
  border-radius: 7px;
  padding: 6px 8px;
  color: var(--soft);
  text-decoration: none;
}

.catalog-tree a:hover,
.catalog-tree a.is-active {
  background: rgba(215,180,91,0.12);
  color: var(--text);
}

.catalog-tree span {
  overflow-wrap: anywhere;
}

.catalog-tree em,
.catalog-count,
.stock-note {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.catalog-filters {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 150px 210px auto;
  gap: 10px;
  align-items: end;
}

.catalog-count {
  margin: 14px 0 0;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 18px;
}

.page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
}

.page-link.is-active {
  border-color: var(--gold-line);
  background: rgba(215,180,91,0.16);
  color: var(--accent);
}

.card {
  overflow: hidden;
  text-decoration: none;
}

.card img,
.card video,
.market-media img,
.market-media video,
.hero-media img,
.hero-media video,
.product-main-img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #101113;
}

.card-body {
  padding: 16px;
}

.stock-note {
  display: block;
  margin-top: 10px;
}

.lot-badge {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 10px;
  border: 1px solid var(--gold-line);
  border-radius: 999px;
  color: var(--accent);
  padding: 4px 9px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.card-title {
  display: block;
  margin-bottom: 8px;
  font-size: 17px;
  font-weight: 900;
}

.muted,
.price,
.status {
  color: var(--muted);
}

.price {
  margin-top: 10px;
  color: var(--accent);
  font-weight: 900;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  gap: 18px;
  margin-top: 18px;
}

.full-span {
  grid-column: 1 / -1;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.media-item {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #101113;
  object-fit: cover;
}

.feed-shell {
  padding: 12px 0 28px;
}

.feed-heading {
  max-width: 760px;
  margin-bottom: 18px;
}

.feed-heading h1 {
  margin-bottom: 10px;
  font-size: 32px;
  line-height: 1.15;
  text-transform: none;
}

.feed-heading .lead {
  font-size: 16px;
}

.market-filters {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 190px 170px auto auto;
  gap: 8px;
  align-items: end;
  margin: 18px 0 0;
}

.market-feed {
  display: grid;
  max-width: 1040px;
  border-top: 1px solid var(--line);
}

.feed-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) minmax(120px, auto);
  gap: 14px;
  align-items: stretch;
  min-height: 136px;
  border-left: 3px solid var(--accent);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.025);
  color: var(--text);
  padding: 0;
  text-decoration: none;
}

.feed-card + .feed-card {
  margin-top: 1px;
}

.feed-card:nth-child(4n) {
  border-left-color: #8f5cff;
}

.feed-card:nth-child(5n) {
  border-left-color: #0fc79b;
}

.feed-card:hover h2 {
  color: var(--accent);
}

.feed-card-media {
  min-width: 0;
}

.feed-card-media-item,
.feed-card-empty {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 136px;
  border: 0;
  border-radius: 0;
  background: #08090b;
  object-fit: cover;
}

.feed-card-empty {
  display: grid;
  place-items: center;
  padding: 16px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.feed-card-body {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
  padding: 14px 0;
}

.feed-card-header,
.feed-card-counters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.feed-card-header .source-avatar {
  width: 26px;
  height: 26px;
  font-size: 11px;
}

.feed-card h2 {
  margin: 0;
  font-size: 19px;
  line-height: 1.15;
  text-transform: none;
  transition: color 0.16s ease;
}

.feed-card p {
  margin: 0;
  color: var(--soft);
  font-size: 15px;
}

.source-beacon {
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  color: rgba(244,241,232,0.62);
  padding: 2px 7px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.feed-card-price {
  display: grid;
  align-content: start;
  justify-items: end;
  gap: 5px;
  padding: 16px 14px 14px;
  color: var(--muted);
  font-size: 12px;
}

.feed-card-price strong {
  color: var(--accent);
  font-size: 18px;
}

.source-avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--gold-line);
  border-radius: 50%;
  background: rgba(215,180,91,0.12);
  color: var(--accent);
  font-weight: 950;
}

.feed-media-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}

.feed-media-gallery .feed-media-item:first-child {
  grid-column: 1 / -1;
  width: min(100%, 820px);
  margin: 0 auto;
  max-height: 720px;
  aspect-ratio: 4 / 3;
  object-fit: contain;
}

.feed-media-item {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #08090b;
  object-fit: cover;
}

[data-lightbox-media] {
  cursor: zoom-in;
}

video[data-lightbox-media] {
  cursor: pointer;
}

.media-grid .media-item[data-lightbox-media],
.feed-media-item[data-lightbox-media] {
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, filter 0.18s ease;
}

.media-grid .media-item[data-lightbox-media]:hover,
.feed-media-item[data-lightbox-media]:hover,
.media-grid .media-item[data-lightbox-media]:focus-visible,
.feed-media-item[data-lightbox-media]:focus-visible {
  border-color: rgba(215, 180, 91, 0.72);
  box-shadow: 0 14px 34px rgba(49, 66, 39, 0.18), 0 0 0 3px rgba(215, 180, 91, 0.14);
  filter: saturate(1.04) contrast(1.02);
  outline: 0;
  transform: translateY(-2px);
}

html.is-lightbox-open,
html.is-lightbox-open body {
  overflow: hidden;
}

.media-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  width: 100vw;
  height: 100vh;
  min-height: 100dvh;
  background: #070809;
  color: #fff;
}

.media-lightbox.is-open {
  display: block;
}

.media-lightbox-backdrop {
  position: fixed;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 9, 11, 0.92), rgba(6, 7, 8, 0.97)),
    rgba(7, 8, 9, 0.95);
  backdrop-filter: blur(14px);
}

.media-lightbox-stage {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 96px 96px 118px;
  overflow: hidden;
  touch-action: none;
}

.media-lightbox-content {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-width: 0;
}

.media-lightbox-image,
.media-lightbox-video {
  display: block;
  max-width: min(100%, calc(100vw - 192px));
  max-height: calc(100vh - 214px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  background: #050607;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.56), 0 0 0 1px rgba(255, 255, 255, 0.045);
}

.media-lightbox-image {
  object-fit: contain;
  cursor: grab;
  user-select: none;
  transition: transform 0.14s ease;
}

.media-lightbox-video {
  width: min(1180px, 100%);
  height: min(calc(100vh - 214px), 720px);
  object-fit: contain;
}

.media-lightbox.is-dragging .media-lightbox-image {
  cursor: grabbing;
  transition: none;
}

.media-lightbox-close,
.media-lightbox-nav,
.media-lightbox-tool {
  position: relative;
  z-index: 3;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(23, 25, 27, 0.74);
  color: #fff;
  font: inherit;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.media-lightbox-close:hover,
.media-lightbox-nav:hover,
.media-lightbox-tool:hover {
  background: rgba(215, 180, 91, 0.92);
  border-color: rgba(255, 236, 183, 0.74);
  color: #151109;
  transform: translateY(-1px);
}

.media-lightbox-nav:hover {
  transform: translateY(calc(-50% - 1px));
}

.media-lightbox-close {
  position: absolute;
  top: 24px;
  right: 26px;
  width: 46px;
  height: 46px;
  font-size: 30px;
}

.media-lightbox-nav {
  position: absolute;
  top: 50%;
  width: 58px;
  height: 58px;
  transform: translateY(-50%);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 46px;
  font-weight: 700;
  padding-bottom: 5px;
}

.media-lightbox-prev {
  left: clamp(18px, 3vw, 42px);
}

.media-lightbox-next {
  right: clamp(18px, 3vw, 42px);
}

.media-lightbox:not(.has-multiple) .media-lightbox-nav,
.media-lightbox:not(.has-multiple) .media-lightbox-thumbs {
  display: none;
}

.media-lightbox-toolbar {
  position: absolute;
  top: 24px;
  left: 50%;
  z-index: 3;
  display: flex;
  gap: 4px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(13, 15, 16, 0.62);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.media-lightbox-tool {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  font-size: 17px;
}

.media-lightbox-tool[disabled] {
  display: none;
}

.media-lightbox-counter {
  position: absolute;
  top: 28px;
  left: 26px;
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(13, 15, 16, 0.62);
  color: rgba(255, 255, 255, 0.86);
  padding: 10px 13px;
  font-size: 13px;
  font-weight: 800;
  backdrop-filter: blur(16px);
}

.media-lightbox-thumbs {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 3;
  display: flex;
  max-width: min(760px, calc(100vw - 42px));
  gap: 8px;
  overflow-x: auto;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(13, 15, 16, 0.66);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  scrollbar-width: none;
  transform: translateX(-50%);
  backdrop-filter: blur(18px);
}

.media-lightbox-thumbs::-webkit-scrollbar {
  display: none;
}

.media-lightbox-thumb {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 62px;
  width: 62px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
}

.media-lightbox-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-lightbox-thumb[data-media-type="video"]::after {
  content: "▶";
  position: absolute;
  inset: auto auto 5px 6px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.62);
  color: #fff;
  font-size: 10px;
}

.media-lightbox-thumb.is-active {
  border-color: rgba(215, 180, 91, 0.92);
  box-shadow: 0 0 0 2px rgba(215, 180, 91, 0.24);
}

.media-lightbox-thumb:hover,
.media-lightbox-thumb:focus-visible {
  border-color: rgba(255, 236, 183, 0.82);
  outline: 0;
}

@media (max-width: 760px) {
  .media-lightbox-stage {
    padding: 76px 14px 106px;
  }

  .media-lightbox-nav {
    top: auto;
    bottom: 24px;
    width: 46px;
    height: 46px;
    transform: none;
    font-size: 36px;
  }

  .media-lightbox-nav:hover {
    transform: translateY(-1px);
  }

  .media-lightbox-prev {
    left: 16px;
  }

  .media-lightbox-next {
    right: 16px;
  }

  .media-lightbox-toolbar {
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
  }

  .media-lightbox-close {
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
    font-size: 26px;
  }

  .media-lightbox-counter {
    top: auto;
    left: 50%;
    bottom: 76px;
    padding: 7px 10px;
    transform: translateX(-50%);
  }

  .media-lightbox-thumbs {
    bottom: 14px;
    max-width: calc(100vw - 112px);
    padding: 6px;
  }

  .media-lightbox-thumb {
    flex-basis: 50px;
    width: 50px;
    height: 40px;
  }

  .media-lightbox-video {
    height: min(calc(100vh - 182px), 620px);
  }

  .media-lightbox-image,
  .media-lightbox-video {
    max-width: calc(100vw - 28px);
    max-height: calc(100vh - 182px);
  }
}

.lot-post {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(18px, 3vw, 34px);
  border: 1px solid rgba(49, 66, 39, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 254, 250, 0.94);
}

.lot-post-header,
.lot-post-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
}

.lot-post-header {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(49, 66, 39, 0.12);
}

.lot-post-header > div strong,
.lot-post-header > div span {
  display: block;
}

.lot-post-header .source-avatar {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
}

.lot-post-header .source-beacon {
  margin-left: auto;
}

.lot-post h1 {
  max-width: 820px;
  margin-bottom: 12px;
  font-size: clamp(30px, 4vw, 52px);
  text-transform: none;
}

.lot-post-lead {
  max-width: 760px;
  margin: 0 0 18px;
  color: var(--soft);
  font-size: 19px;
  line-height: 1.5;
}

.lot-fact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}

.lot-fact {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,0.03);
  padding: 12px;
}

.lot-fact span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.lot-fact strong {
  display: block;
  margin-top: 5px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.35;
}

.lot-readable-section {
  margin-top: 22px;
  padding: clamp(16px, 2.4vw, 24px);
  border: 1px solid rgba(49, 66, 39, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 254, 250, 0.88);
}

.lot-readable-section h2 {
  margin-bottom: 10px;
  font-size: 24px;
  text-transform: none;
}

.lot-post-text {
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--soft);
  font-size: 17px;
}

.lot-post-text p {
  margin: 0 0 12px;
}

.lot-post-text p:last-child {
  margin-bottom: 0;
}

.lot-buyer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.lot-buyer-grid > div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,0.03);
  padding: 14px;
}

.lot-buyer-grid strong {
  display: block;
  margin-bottom: 5px;
  color: var(--accent);
}

.lot-buyer-grid p {
  margin: 0;
  color: var(--soft);
}

.lot-post-footer {
  margin-top: 14px;
  padding-top: 16px;
  border-top: 1px solid rgba(49, 66, 39, 0.12);
}

.lot-post-footer > span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  border: 1px solid rgba(49, 66, 39, 0.14);
  border-radius: 999px;
  background: #f7f5ec;
  color: var(--field-dark);
  padding: 7px 12px;
  font-size: 18px;
  font-weight: 950;
}

.lot-post-footer a {
  color: var(--accent);
  font-weight: 800;
  text-decoration: none;
}

.lot-post-footer a.btn:not(.secondary),
.contact-actions a.btn:not(.secondary) {
  color: #fffdf7;
}

.lead-form {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.form-note {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.honeypot {
  display: none;
}

.specs {
  display: grid;
}

.spec {
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.spec:last-child {
  border-bottom: 0;
}

.spec span:first-child {
  min-width: 0;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  line-height: 1.45;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.spec span:last-child {
  min-width: 0;
  font-weight: 800;
  line-height: 1.35;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.admin-shell {
  display: grid;
  grid-template-columns: minmax(240px, 0.3fr) minmax(0, 1fr) minmax(280px, 0.36fr);
  gap: 18px;
}

.admin-list {
  display: grid;
  gap: 8px;
}

.admin-list-item {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,0.03);
  color: var(--text);
  padding: 13px;
  text-align: left;
  cursor: pointer;
}

.admin-list-item.is-active {
  border-color: var(--gold-line);
  background: rgba(215,180,91,0.1);
}

.admin-list-item strong,
.admin-list-item span {
  display: block;
}

.admin-list-item span {
  color: var(--muted);
  font-size: 13px;
}

.admin-form {
  display: grid;
  gap: 12px;
}

.inline-form {
  grid-template-columns: minmax(240px, 1fr) auto;
  align-items: end;
  margin-top: 16px;
}

.source-card {
  display: grid;
  gap: 8px;
}

.source-card.is-active .admin-list-item {
  border-color: var(--gold-line);
  background: rgba(215,180,91,0.1);
}

.source-review-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
}

.source-panel {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,0.025);
}

.source-panel h3,
.source-panel p {
  margin-bottom: 0;
}

.source-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.source-panel-header .status-pill {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  flex: 0 0 auto;
  min-height: 30px;
  max-width: 160px;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.source-post-text {
  max-height: 420px;
  overflow: auto;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  background: rgba(0,0,0,0.18);
  color: var(--soft);
  padding: 14px;
  font-size: 14px;
}

.source-media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.source-media-item {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #08090b;
  object-fit: cover;
}

.source-draft-grid,
.source-draft-attrs {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 8px 12px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 12px;
}

.source-draft-grid span,
.source-draft-attrs span {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.source-draft-grid strong,
.source-draft-attrs strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

.source-facts {
  margin: 0;
  padding-left: 18px;
  color: var(--soft);
  font-size: 13px;
}

.error {
  color: #ffb8b8;
}

.btn.danger {
  border-color: rgba(255,118,118,0.38);
  color: #ffb8b8;
}

.admin-wide {
  margin-top: 18px;
}

.lead-list {
  display: grid;
  gap: 12px;
}

.btn.secondary.is-active {
  border-color: var(--gold-line);
  background: rgba(215,180,91,0.12);
  color: var(--accent);
}

.lead-card {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,0.025);
  padding: 14px;
}

.lead-card p {
  margin-bottom: 0;
}

.lead-card .admin-actions {
  margin-top: 0;
}

.lead-card-header,
.lead-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.lead-card-header strong,
.lead-card-header span {
  display: block;
}

.lead-card-header span,
.lead-meta {
  color: var(--muted);
  font-size: 13px;
}

.lead-main {
  justify-content: flex-start;
}

.lead-actions {
  align-items: stretch;
}

.lead-notes textarea {
  min-height: 76px;
}

.status-pill {
  border: 1px solid var(--gold-line);
  border-radius: 999px;
  color: var(--accent);
  padding: 4px 9px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.text-link {
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0d0f11;
  color: var(--text);
  padding: 11px 12px;
  font: inherit;
}

textarea {
  min-height: 110px;
  resize: vertical;
}

.footer {
  padding-top: 24px;
  color: rgba(244,241,232,0.55);
  font-size: 12px;
}

@media (max-width: 860px) {
  .top-banner,
  .hero,
  .content-grid,
  .catalog-layout,
  .catalog-filters,
  .market-filters,
  .admin-shell,
  .source-review-grid,
  .inline-form,
  .feed-card,
  .form-row {
    grid-template-columns: 1fr;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-grid,
  .category-grid,
  .media-grid,
  .source-media-grid,
  .landing-block-grid,
  .pill-grid,
  .lot-fact-grid,
  .lot-buyer-grid {
    grid-template-columns: 1fr;
  }

  .feed-media-gallery {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .hero-media,
  .section {
    padding: 22px;
  }

  h1 {
    font-size: 34px;
  }

  .spec {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .btn,
  .nav a,
  .nav-catalog,
  .nav-catalog summary {
    width: 100%;
  }

  .nav-catalog-panel {
    position: static;
    width: 100%;
    margin-top: 8px;
  }

  .nav-catalog-grid {
    grid-template-columns: 1fr;
  }

  .feed-card {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .feed-card-price {
    grid-column: 2;
    justify-items: start;
    padding: 0 12px 12px 0;
  }

  .feed-card-media-item,
  .feed-card-empty {
    min-height: 132px;
  }
}

.seo-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.75fr);
  gap: 18px;
  margin: 22px 0;
  padding: 22px;
  border: 1px solid rgba(49, 66, 39, 0.14);
  border-radius: var(--radius);
  background:
    linear-gradient(rgba(49, 66, 39, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(49, 66, 39, 0.03) 1px, transparent 1px),
    rgba(255, 254, 250, 0.92);
  background-size: 30px 30px, 30px 30px, auto;
  box-shadow: 0 14px 38px rgba(28, 35, 24, 0.07);
}

.home-seo-panel {
  margin-top: 34px;
}

.seo-copy {
  min-width: 0;
}

.seo-copy h2,
.seo-side strong {
  display: block;
  margin: 0 0 10px;
  color: var(--field-dark, #2f3f28);
  font-size: 24px;
  line-height: 1.16;
}

.seo-copy p,
.seo-side li,
.seo-note {
  margin: 0;
  color: var(--body, #4a463c);
  font-size: 16px;
  line-height: 1.62;
}

.seo-copy p + p {
  margin-top: 12px;
}

.seo-side {
  display: grid;
  align-content: start;
  gap: 12px;
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(49, 66, 39, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
}

.seo-side ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
}

.seo-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.seo-links a,
.seo-facts span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid rgba(49, 66, 39, 0.16);
  border-radius: 8px;
  background: rgba(49, 66, 39, 0.08);
  color: var(--field-dark, #2f3f28);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.seo-links a:hover {
  background: var(--olive-soft, rgba(119, 137, 84, 0.16));
}

.seo-note {
  display: block;
  color: var(--muted);
}

@media (max-width: 820px) {
  .seo-panel {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .seo-copy h2,
  .seo-side strong {
    font-size: 21px;
  }
}

/* Storefront refresh */
:root {
  --bg: #f5f6f3;
  --panel: #ffffff;
  --panel-2: #eef1ea;
  --text: #171b16;
  --soft: #394236;
  --muted: #687260;
  --accent: #4f6f32;
  --accent-2: #9b7b3f;
  --line: rgba(35, 45, 30, 0.12);
  --gold-line: rgba(155, 123, 63, 0.28);
}

html,
body {
  background: var(--bg);
  overflow-x: hidden;
}

body {
  color: var(--text);
  background:
    linear-gradient(180deg, #ffffff 0, #f5f6f3 420px, #f2f3ef 100%);
}

.page {
  width: min(1320px, calc(100% - 48px));
  padding: 0 0 0;
}

.top-banner {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin: 0 calc(50% - 50vw) 0;
  padding: 10px 24px;
  border: 0;
  border-radius: 0;
  background: #151713;
  color: #fff;
  box-shadow: none;
  font-size: 14px;
}

.top-banner strong {
  display: flex;
  gap: 14px;
  font-size: 14px;
}

.top-banner strong span {
  display: inline;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}

.top-banner div {
  display: flex;
  gap: 16px;
}

.top-banner a {
  color: #dbe7ce;
  text-decoration: none;
}

.topbar {
  display: grid;
  grid-template-columns: minmax(250px, 0.8fr) minmax(260px, 1.15fr) auto;
  gap: 22px;
  align-items: center;
  padding: 22px 0 16px;
}

.brand-line {
  display: flex;
  gap: 14px;
  align-items: center;
  min-width: 0;
}

.brand {
  flex: 0 0 auto;
}

.brand-mark {
  width: 54px;
  height: 54px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  background: #fff;
  box-shadow: inset 0 0 0 5px #eef3ea;
}

.brand-name {
  color: var(--text);
  font-size: 19px;
  letter-spacing: 0;
}

.brand-meta {
  display: grid;
  gap: 2px;
  min-width: 0;
  color: var(--muted);
  font-size: 13px;
}

.brand-meta strong {
  color: var(--text);
  font-size: 14px;
}

.site-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.site-search input,
.site-search button {
  min-height: 46px;
  border: 0;
  border-radius: 0;
}

.site-search input {
  min-width: 0;
  background: #fff;
  color: var(--text);
}

.site-search button {
  padding: 0 18px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.nav {
  justify-content: flex-end;
  gap: 8px;
}

.nav a,
.nav-catalog summary,
.btn {
  min-height: 40px;
  border-radius: 8px;
  border-color: var(--line);
  background: #fff;
  color: var(--text);
  letter-spacing: 0;
  text-transform: none;
  font-size: 14px;
}

.btn {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.btn.secondary {
  background: rgba(255,255,255,0.88);
  color: var(--text);
  border-color: rgba(255,255,255,0.62);
}

.nav-catalog-panel {
  background: #fff;
  color: var(--text);
  border-color: var(--line);
}

.nav-catalog-all {
  background: #eef3ea !important;
  color: var(--text) !important;
}

.category-nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  max-width: 100%;
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  padding: 0 0 16px;
  border-bottom: 1px solid var(--line);
  scrollbar-color: rgba(79, 111, 50, 0.34) transparent;
  scrollbar-width: thin;
}

.category-nav::-webkit-scrollbar {
  height: 6px;
}

.category-nav::-webkit-scrollbar-track {
  background: transparent;
}

.category-nav::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(79, 111, 50, 0.34);
}

.category-nav a {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 9px 14px;
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  border: 1px solid var(--line);
  text-decoration: none;
  font-size: 14px;
}

.category-nav .category-nav-all {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  font-weight: 900;
}

.category-nav .category-nav-all em,
.category-menu-link em {
  font-style: normal;
  opacity: 0.72;
}

.category-menu-link.category-menu-feed-link {
  position: relative;
  width: 232px;
  min-width: 232px;
  max-width: 232px;
  overflow: hidden;
  background: #fff8e5;
  border-color: rgba(191, 94, 44, 0.28);
  color: var(--text);
  font-weight: 900;
}

.category-menu-feed-link .feed-ticker {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-width: 0;
  height: 22px;
  padding-left: 17px;
  overflow: hidden;
}

.category-menu-feed-link .feed-ticker::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #bf5e2c;
  box-shadow: 0 0 0 4px rgba(191, 94, 44, 0.12);
  transform: translateY(-50%);
}

.category-menu-feed-link .feed-ticker-track {
  display: flex;
  align-items: center;
  gap: 18px;
  width: max-content;
  min-width: max-content;
  overflow: visible;
  color: inherit;
  font-size: inherit;
  font-weight: 900;
  line-height: 22px;
  white-space: nowrap;
  animation: feedTickerFloat 8.5s ease-in-out infinite;
}

.category-menu-feed-link .feed-ticker-track b {
  display: block;
  flex: 0 0 145px;
  width: 145px;
  overflow: hidden;
  color: inherit;
  font-size: 13px;
  font-weight: 900;
  line-height: 22px;
  text-overflow: clip;
  white-space: nowrap;
}

@keyframes feedTickerFloat {
  0%,
  32% {
    transform: translateX(0);
  }

  58%,
  82% {
    transform: translateX(-163px);
  }

  100% {
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .feed-ticker-track {
    animation: none;
  }
}

.category-menu-item {
  position: static;
  flex: 0 0 auto;
}

.category-menu-item.is-menu-open .category-menu-link,
.category-menu-item.is-menu-open .category-nav-all {
  border-color: rgba(79, 111, 50, 0.45);
  background: #eef3ea;
  color: var(--accent);
}

.category-menu-item-all {
  z-index: 2;
}

.category-menu-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 40px;
  padding: 9px 14px;
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  border: 1px solid var(--line);
  text-decoration: none;
  font-size: 14px;
}

.category-menu-link span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.category-menu-item:hover .category-menu-link,
.category-menu-item:focus-within .category-menu-link,
.category-menu-link:hover {
  border-color: rgba(79, 111, 50, 0.45);
  background: #eef3ea;
  color: var(--accent);
}

.category-menu-panel {
  position: absolute;
  top: calc(100% - 6px);
  left: 0;
  right: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 1.1fr 1.1fr 1.35fr 0.95fr;
  gap: 18px;
  min-height: 230px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 0 0 8px 8px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(23, 27, 22, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.14s ease, transform 0.14s ease;
}

.category-nav .category-menu-panel {
  display: none;
}

.category-menu-portal {
  position: fixed;
  z-index: 95;
  display: none;
  pointer-events: none;
}

.category-menu-portal.is-open {
  display: block;
  pointer-events: auto;
}

.category-menu-portal .category-menu-panel {
  position: static;
  display: grid;
  width: 100%;
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.category-menu-panel::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -14px;
  height: 14px;
}

.category-menu-item:hover .category-menu-panel,
.category-menu-item:focus-within .category-menu-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.category-menu-section {
  display: grid;
  align-content: start;
  gap: 10px;
  min-width: 0;
}

.category-menu-section-wide {
  grid-column: span 1;
}

.category-menu-section > strong {
  color: var(--text);
  font-size: 16px;
}

.category-menu-section p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.category-menu-cta,
.category-menu-help a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 900;
}

.category-menu-links {
  display: grid;
  gap: 8px;
}

.category-menu-links-dense {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.category-menu-links a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 36px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8f9f6;
  color: var(--text);
  text-decoration: none;
}

.category-menu-links a:hover,
.category-menu-product:hover {
  border-color: rgba(79, 111, 50, 0.38);
  background: #eef3ea;
}

.category-menu-links span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.category-menu-links em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.category-menu-products {
  gap: 8px;
}

.category-menu-product {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 64px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  text-decoration: none;
}

.category-menu-product img,
.category-menu-product video {
  width: 54px;
  height: 54px;
  border-radius: 8px;
  object-fit: contain;
  background: #f8f9f6;
}

.category-menu-product > span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 8px;
  background: #eef3ea;
  color: var(--accent);
  font-weight: 900;
}

.category-menu-product div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.category-menu-product strong {
  min-width: 0;
  overflow: hidden;
  color: var(--text);
  font-size: 13px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.category-menu-product em {
  color: var(--accent);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.category-menu-help {
  padding: 14px;
  border-radius: 8px;
  background: #151713;
  color: #fff;
}

.category-menu-help > strong {
  color: #fff;
}

.category-menu-help p {
  color: rgba(255,255,255,0.72);
}

.category-menu-help div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.category-menu-help a {
  background: #fff;
  color: var(--text);
}

main {
  padding: 26px 0 64px;
}

.top-banner,
.panel,
.card {
  box-shadow: none;
}

.panel,
.card {
  background: var(--panel);
  border-color: var(--line);
  border-radius: 8px;
}

.home-hero {
  position: relative;
  display: grid;
  min-height: 385px;
  overflow: hidden;
  border-radius: 8px;
  background:
    radial-gradient(circle at 78% 45%, rgba(255,255,255,0.18), transparent 18rem),
    linear-gradient(90deg, #151912, #2f4322);
  color: #fff;
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 22, 15, 0.92) 0%, rgba(18, 22, 15, 0.72) 42%, rgba(18, 22, 15, 0.16) 100%),
    linear-gradient(135deg, rgba(79, 111, 50, 0.55), transparent 44%);
}

.home-hero-img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 58%;
  height: 100%;
  padding: 30px 44px 30px 10px;
  object-fit: contain;
  object-position: center right;
  opacity: 0.86;
}

.home-hero-overlay {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  max-width: 690px;
  padding: 48px 64px;
}

.home-hero .eyebrow,
.home-hero .lead,
.home-hero h1 {
  color: #fff;
}

.home-hero h1 {
  max-width: 720px;
  margin-bottom: 16px;
  font-size: 54px;
}

.home-hero .lead {
  color: rgba(255,255,255,0.86);
  font-size: 18px;
}

.section {
  padding: 34px 0 0;
}

.storefront-section {
  border: 0;
  background: transparent;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.section-heading h2 {
  margin: 0;
  color: var(--text);
  font-size: 26px;
  text-transform: none;
}

.section-heading a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  text-decoration: none;
}

.category-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.category-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 88px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  text-decoration: none;
}

.category-card > span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: #eef3ea;
  color: var(--accent);
  font-weight: 900;
}

.category-card .card-body {
  padding: 0;
}

.service-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
  padding: 22px 0 4px;
}

.service-strip div {
  display: grid;
  gap: 5px;
  min-height: 78px;
  border-left: 3px solid var(--accent);
  padding-left: 14px;
}

.service-strip strong {
  color: var(--text);
}

.service-strip span {
  color: var(--muted);
  font-size: 14px;
}

.product-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100%;
  background: #fff;
}

.product-card-media {
  display: grid;
  place-items: center;
  min-height: 220px;
  background: #f8f9f6;
}

.product-card-media img,
.product-card-media video,
.card img,
.card video {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #fff;
}

.product-card-media > span {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: #eef3ea;
  color: var(--accent);
  font-weight: 900;
  font-size: 22px;
}

.card-body {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 16px;
}

.card-title {
  display: -webkit-box;
  min-height: 45px;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: var(--text);
  line-height: 1.25;
}

.muted {
  display: -webkit-box;
  min-height: 42px;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: var(--muted);
  font-size: 14px;
}

.price {
  color: var(--text);
  font-size: 18px;
}

.stock-note {
  width: fit-content;
  margin-top: 2px;
  color: #9b3c35;
}

.stock-note.is-in-stock {
  color: #1f8c42;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.story-card {
  display: grid;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
}

.story-card img,
.story-card video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  background: #fff;
}

.story-card span {
  color: var(--muted);
  font-size: 13px;
}

.about-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  margin-top: 42px;
  padding: 30px 34px;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(21, 23, 19, 0.94), rgba(52, 75, 33, 0.9)),
    linear-gradient(135deg, rgba(255,255,255,0.08), transparent);
  color: #fff;
}

.about-band h2 {
  margin-bottom: 10px;
  color: #fff;
  text-transform: none;
}

.about-band p {
  max-width: 800px;
  margin: 0;
  color: rgba(255,255,255,0.78);
}

input,
select,
textarea {
  background: #fff;
  color: var(--text);
  border-color: var(--line);
}

/* Admin CRM */
.admin-page {
  padding-top: 18px;
  padding-bottom: 52px;
}

.admin-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: start;
  margin-top: 14px;
  border-color: rgba(79,111,50,0.2);
  background:
    linear-gradient(135deg, rgba(79,111,50,0.12), transparent 44%),
    var(--panel);
}

.admin-hero > *,
.admin-tool,
.admin-sidebar-stack,
.admin-main-stack,
.admin-fieldset,
.editor-summary > *,
.product-admin-form,
.admin-form {
  min-width: 0;
}

.admin-hero h1 {
  max-width: 760px;
  margin-bottom: 12px;
  font-size: clamp(34px, 4vw, 54px);
  text-transform: none;
}

.admin-hero .lead {
  max-width: 860px;
  margin-bottom: 0;
  color: var(--soft);
  font-size: 18px;
  overflow-wrap: anywhere;
}

.admin-logout {
  justify-self: end;
}

.admin-stat-grid,
.admin-tools-grid,
.admin-workspace {
  display: grid;
  gap: 16px;
}

.admin-stat-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin: 16px 0;
}

.admin-stat-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 16px;
  box-shadow: 0 12px 34px rgba(28,35,24,0.07);
}

.admin-stat-card span,
.admin-stat-card em {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-stat-card strong {
  display: block;
  margin: 5px 0 3px;
  color: var(--text);
  font-size: 28px;
  line-height: 1;
}

.admin-tools-grid {
  grid-template-columns: 0.9fr 1.4fr 0.95fr;
  align-items: stretch;
  margin-bottom: 16px;
}

.admin-tool {
  display: grid;
  align-content: start;
  gap: 12px;
}

.admin-tool h2,
.admin-rule-card h2 {
  margin-bottom: 0;
  font-size: 22px;
  text-transform: none;
}

.admin-tool .eyebrow {
  margin-bottom: -4px;
}

.compact-form {
  grid-template-columns: minmax(95px, 0.75fr) minmax(110px, 0.8fr) minmax(110px, 0.8fr) auto;
  align-items: end;
}

.admin-rule-card p {
  margin-bottom: 0;
  color: var(--soft);
}

.admin-workspace {
  grid-template-columns: minmax(300px, 360px) minmax(0, 1fr);
  align-items: start;
}

.admin-sidebar-stack,
.admin-main-stack {
  display: grid;
  gap: 16px;
}

.admin-panel-heading {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: start;
  margin-bottom: 14px;
}

.admin-panel-heading h2 {
  margin-bottom: 0;
  font-size: 24px;
  text-transform: none;
}

.admin-panel-heading .eyebrow {
  margin-bottom: 5px;
}

.admin-list-scroll {
  max-height: 560px;
  overflow: auto;
  padding-right: 4px;
}

.admin-list-scroll.compact {
  max-height: 430px;
}

.admin-list-item {
  display: grid;
  gap: 10px;
  border-color: rgba(35,45,30,0.12);
  background: #fbfcf9;
  box-shadow: none;
}

.admin-list-item:hover {
  border-color: rgba(79,111,50,0.32);
  background: #f4f7ef;
}

.admin-list-item.is-active,
.source-card.is-active .admin-list-item {
  border-color: rgba(79,111,50,0.55);
  background: #edf4e6;
}

.admin-list-title {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
}

.admin-list-title strong {
  min-width: 0;
  color: var(--text);
  font-size: 14px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.admin-list-title em {
  border: 1px solid rgba(79,111,50,0.18);
  border-radius: 999px;
  color: var(--accent);
  padding: 3px 7px;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.admin-list-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.admin-list-meta span {
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  padding: 3px 7px;
  font-size: 11px;
  line-height: 1.2;
}

.admin-empty {
  margin: 0;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  padding: 14px;
}

.editor-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8faf5;
  padding: 16px;
}

.editor-summary h3 {
  margin-bottom: 8px;
  font-size: 22px;
  line-height: 1.2;
}

.editor-summary p:last-child {
  margin-bottom: 0;
}

.product-admin-form {
  gap: 16px;
}

.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.admin-fieldset {
  display: grid;
  gap: 12px;
  min-width: 0;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
}

.admin-fieldset legend {
  padding: 0 8px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-fieldset.wide textarea[name="description"] {
  min-height: 170px;
}

.admin-details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcf9;
  padding: 0;
}

.admin-details summary {
  cursor: pointer;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  padding: 14px 16px;
  text-transform: uppercase;
}

.admin-details label {
  margin: 0 16px 16px;
}

.editor-actions {
  position: sticky;
  bottom: 12px;
  z-index: 4;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,0.94);
  padding: 10px;
  backdrop-filter: blur(10px);
}

.source-review-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.source-panel {
  background: #fbfcf9;
}

.source-post-text {
  background: #ffffff;
  color: var(--soft);
}

.lead-card {
  background: #fbfcf9;
}

.lead-card-header strong {
  font-size: 16px;
  line-height: 1.35;
}

.lead-meta span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 8px;
}

.lead-notes {
  color: var(--muted);
}

.sync-line span {
  background: #fbfcf9;
}

.admin-form button,
.editor-actions .btn,
.lead-actions .btn {
  min-width: max-content;
}

.admin-page input,
.admin-page select,
.admin-page textarea {
  min-width: 0;
}

.footer {
  margin: 0 calc(50% - 50vw);
  padding: 42px max(24px, calc(50vw - 660px));
  background: #1d1f1b;
  color: rgba(255,255,255,0.74);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, minmax(160px, 1fr));
  gap: 32px;
}

.footer strong {
  display: block;
  margin-bottom: 12px;
  color: #fff;
}

.footer a,
.footer span {
  display: block;
  margin-top: 8px;
  color: rgba(255,255,255,0.72);
  text-decoration: none;
}

.footer p {
  max-width: 420px;
  color: rgba(255,255,255,0.65);
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.footer-social .social-link {
  position: relative;
  display: inline-grid;
  place-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-top: 0;
  padding: 0;
  border: 1px solid rgba(242, 223, 173, 0.16);
  border-radius: 12px;
  background: rgba(6, 10, 5, 0.24);
  box-shadow: inset 0 0 0 1px rgba(255, 253, 247, 0.045);
}

.footer-social .social-link:hover,
.footer-social .social-link:focus-visible {
  border-color: rgba(242, 223, 173, 0.34);
  background: rgba(255, 253, 247, 0.08);
  transform: translateY(-1px);
}

.footer-social .social-link span {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.footer-social .social-link img {
  display: block;
  width: 22px;
  height: 22px;
  margin: 0;
  object-fit: contain;
}

.footer-bottom {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 253, 247, 0.14);
  color: rgba(255, 253, 247, 0.62);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

@media (max-width: 1180px) {
  .topbar {
    grid-template-columns: 1fr;
  }

  .nav {
    justify-content: flex-start;
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .category-menu-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-menu-links-dense {
    grid-template-columns: 1fr;
  }

  .admin-stat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .admin-tools-grid,
  .admin-workspace,
  .compact-form,
  .source-review-grid {
    grid-template-columns: 1fr;
  }

  .admin-list-scroll,
  .admin-list-scroll.compact {
    max-height: 420px;
  }
}

@media (max-width: 860px) {
  .category-menu-portal {
    display: none !important;
  }

  .page {
    width: calc(100% - 24px);
  }

  .top-banner,
  .top-banner div,
  .brand-line,
  .about-band {
    align-items: flex-start;
    flex-direction: column;
  }

.top-banner {
    gap: 6px;
    justify-content: flex-start;
    padding: 10px 16px;
    box-sizing: border-box;
  }

  .top-banner > * {
    min-width: 0;
    max-width: 100%;
  }

  .top-banner strong {
    display: grid;
    gap: 2px;
    line-height: 1.25;
    overflow-wrap: anywhere;
  }

  .site-search {
    grid-template-columns: 1fr;
  }

  .site-search button {
    min-width: 0;
    padding: 0 10px;
    width: 100%;
  }

  .home-hero {
    min-height: 430px;
  }

  .category-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
  }

  .category-menu-item {
    position: relative;
  }

  .category-menu-link,
  .catalog-menu-home {
    min-width: 188px;
  }

  .category-menu-link.category-menu-feed-link {
    width: 232px;
    min-width: 232px;
    max-width: 232px;
  }

  .category-menu-link span {
    white-space: nowrap;
  }

  .category-menu-panel {
    display: none;
  }

  .home-hero-overlay {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 28px;
  }

  .home-hero .lead {
    max-width: 300px;
    font-size: 16px;
  }

  .home-hero::after {
    background: linear-gradient(90deg, rgba(18, 22, 15, 0.94), rgba(18, 22, 15, 0.78));
  }

  .home-hero-img {
    width: 100%;
    padding: 0;
    object-fit: cover;
    opacity: 0.22;
  }

  .home-hero h1 {
    font-size: 36px;
  }

  .category-grid,
  .product-grid,
  .story-grid,
  .service-strip,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .admin-hero,
  .admin-form-grid,
  .editor-summary {
    grid-template-columns: 1fr;
  }

  .admin-logout {
    justify-self: stretch;
  }

  .admin-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-list-title {
    grid-template-columns: 1fr;
  }

  .editor-actions {
    position: static;
  }

  .product-card-media {
    min-height: 250px;
  }

  .site-search,
  .nav a,
  .nav-catalog,
  .nav-catalog summary,
  .theme-toggle {
    width: 100%;
  }

  .about-band {
    display: flex;
  }
}

/* Visual polish pass */
.panel.section {
  padding: 32px;
}

.btn,
.site-search button,
.section-heading a,
.nav a,
.theme-toggle,
.category-nav a,
.category-menu-link,
.category-menu-cta,
.category-menu-help a {
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.btn:hover,
.site-search button:hover,
.category-menu-cta:hover {
  background: #3f5c27;
  border-color: #3f5c27;
  box-shadow: 0 8px 18px rgba(79, 111, 50, 0.22);
  transform: translateY(-1px);
}

.btn.secondary:hover,
.section-heading a:hover,
.nav a:hover {
  border-color: rgba(79, 111, 50, 0.32);
  background: #eef3ea;
  color: var(--accent);
}

.btn.secondary {
  border-color: var(--line);
  background: #fff;
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(23, 27, 22, 0.03);
}

.category-card {
  align-items: start;
  min-height: 118px;
  padding: 18px;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.category-card:hover {
  border-color: rgba(79, 111, 50, 0.35);
  box-shadow: 0 14px 34px rgba(23, 27, 22, 0.08);
  transform: translateY(-2px);
}

.category-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, #eef3ea, #ffffff);
  color: var(--accent);
  border: 1px solid rgba(79, 111, 50, 0.14);
}

.category-icon svg {
  width: 28px;
  height: 28px;
}

.category-icon-medical {
  background: linear-gradient(135deg, #fff0ee, #ffffff);
  color: #a53a2b;
}

.category-icon-armor,
.category-icon-helmet {
  background: linear-gradient(135deg, #edf1f5, #ffffff);
  color: #475868;
}

.category-icon-signal,
.category-icon-headset {
  background: linear-gradient(135deg, #edf4ff, #ffffff);
  color: #315f9a;
}

.category-icon-boot,
.category-icon-clothing {
  background: linear-gradient(135deg, #f4efe6, #ffffff);
  color: #76573b;
}

.category-icon-drone,
.category-icon-optic {
  background: linear-gradient(135deg, #eef3ea, #ffffff);
  color: #3f5c27;
}

.category-icon-patch {
  background: linear-gradient(135deg, #fff7df, #ffffff);
  color: #8a661b;
}

.category-card .card-title {
  min-height: auto;
  font-size: 17px;
}

.category-card .muted {
  min-height: auto;
  -webkit-line-clamp: 3;
}

.catalog-layout {
  align-items: start;
}

.catalog-sidebar {
  position: sticky;
  top: 16px;
  max-height: calc(100vh - 32px);
  overflow: auto;
  border-radius: 8px;
}

.catalog-tree a {
  border-radius: 8px;
}

.catalog-results {
  min-width: 0;
}

.catalog-results .product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.catalog-count {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 8px;
  background: #eef3ea;
  color: var(--accent);
  font-weight: 800;
}

.product-card {
  overflow: hidden;
  border-radius: 8px;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.product-card:hover {
  border-color: rgba(79, 111, 50, 0.3);
  box-shadow: 0 16px 36px rgba(23, 27, 22, 0.09);
  transform: translateY(-2px);
}

.product-card-media {
  min-height: 196px;
  padding: 12px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fbfcfa, #f3f5f0);
}

.product-card-media img,
.product-card-media video {
  width: 100%;
  height: 188px;
  aspect-ratio: auto;
  object-fit: contain;
  border-radius: 6px;
  background: transparent;
}

.product-card .card-body {
  min-height: 222px;
  grid-template-rows: auto auto auto auto;
}

.product-card .price {
  align-self: end;
  margin-top: 4px;
  font-size: 19px;
}

.stock-note {
  border-radius: 999px;
  padding: 2px 8px;
  background: #fff4f2;
  font-size: 13px;
}

.stock-note.is-in-stock {
  background: #eef8ee;
}

.hero-copy h1,
.panel.section > h1,
.lot-post h1 {
  overflow-wrap: anywhere;
}

.hero-copy h1 {
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.04;
}

.product-hero .hero-copy h1 {
  font-size: clamp(34px, 3.5vw, 52px);
  line-height: 1.08;
}

.hero-copy .lead {
  font-size: 18px;
  line-height: 1.5;
}

.hero-media {
  display: grid;
  place-items: center;
  min-height: 520px;
}

.hero-media img,
.hero-media video {
  width: min(100%, 680px);
  max-height: 580px;
  object-fit: contain;
}

.pill-grid {
  align-items: stretch;
}

.pill {
  min-height: 132px;
  border-radius: 8px;
  background: #fbfcfa;
}

.media-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.media-grid .media-item {
  border-radius: 8px;
  background: #f8f9f6;
  object-fit: contain;
}

.feed-shell {
  max-width: 1180px;
}

.feed-heading h1 {
  font-size: clamp(36px, 4vw, 56px);
}

.market-feed {
  display: grid;
  gap: 12px;
}

.feed-card {
  grid-template-columns: 170px minmax(0, 1fr) 180px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.feed-card-media {
  min-height: 170px;
  background: #f8f9f6;
}

.feed-card-media-item,
.feed-card-empty {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
}

.feed-card h2 {
  font-size: 22px;
  overflow-wrap: anywhere;
}

.feed-card p {
  color: var(--soft);
}

.feed-card-price {
  border-left: 1px solid var(--line);
  background: #fbfcfa;
}

@media (max-width: 1180px) {
  .catalog-results .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .panel.section {
    padding: 24px 18px;
  }

  .catalog-sidebar {
    position: static;
    max-height: none;
  }

  .catalog-results .product-grid,
  .media-grid {
    grid-template-columns: 1fr;
  }

  .product-card .card-body {
    min-height: auto;
  }

  .hero-media {
    min-height: 320px;
  }

  .hero-copy h1,
  .panel.section > h1,
  .lot-post h1,
  .feed-heading h1 {
    font-size: clamp(30px, 10vw, 42px);
    line-height: 1.08;
  }

  .feed-card {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .feed-card-price {
    grid-column: 1 / -1;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 860px) {
  html,
  body {
    overflow-x: hidden;
  }

  .page {
    width: calc(100% - 24px);
    padding: 0 0 40px;
    overflow: visible;
  }

  main,
  .panel,
  .hero,
  .hero-copy,
  .hero-media,
  .content-grid,
  .catalog-layout,
  .catalog-sidebar,
  .catalog-results,
  .feed-shell,
  .feed-heading,
  .market-filters,
  .feed-card-body {
    min-width: 0;
    max-width: 100%;
  }

  .hero,
  .content-grid,
  .catalog-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .panel,
  .card {
    overflow: hidden;
  }

  .top-banner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    position: relative;
    left: 50%;
    width: 100vw;
    gap: 6px 14px;
    margin: 0 0 16px -50vw;
    padding: 9px 12px;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }

  .top-banner strong,
  .top-banner div {
    display: grid;
    flex-wrap: wrap;
    gap: 4px 12px;
    width: 100%;
    line-height: 1.25;
  }

  .top-banner strong {
    font-size: 15px;
  }

  .top-banner a,
  .top-banner span {
    font-size: 13px;
  }

  .top-banner-links {
    display: flex;
    align-items: center;
    width: auto;
    gap: 8px;
  }

  .top-banner .social-link {
    padding: 4px 7px;
    font-size: 12px;
  }

  .topbar {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 14px;
    padding: 8px 0 14px;
  }

  .scroll-top {
    right: 12px;
    bottom: 64px;
    width: 38px;
    height: 38px;
    font-size: 20px;
  }

  .messenger-float {
    right: 12px;
    bottom: 12px;
  }

  .messenger-float-toggle {
    width: 42px;
    height: 42px;
  }

  .messenger-float-toggle-icon,
  .messenger-float-toggle-icon img {
    width: 28px;
    height: 28px;
  }

  .messenger-float-panel {
    bottom: 50px;
    width: 126px;
    gap: 7px;
    transform: translate(-92px, 8px);
  }

  .messenger-float[open] .messenger-float-panel {
    transform: translate(-92px, 0);
  }

  .messenger-float-link {
    min-height: 35px;
    gap: 7px;
    padding: 4px 5px 4px 10px;
  }

  .messenger-float-link span {
    font-size: 12px;
  }

  .messenger-float-icon {
    flex-basis: 27px;
    width: 27px;
    height: 27px;
  }

  .messenger-float-icon img {
    width: 27px;
    height: 27px;
  }

  .messenger-float-icon-max img {
    width: 27px;
    height: 27px;
  }

  .brand-line {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
  }

  .brand-mark {
    flex: 0 0 auto;
    width: 54px;
    height: 54px;
  }

  .brand-name {
    font-size: 22px;
    line-height: 0.9;
  }

  .brand-meta strong {
    font-size: 14px;
    line-height: 1.25;
  }

  .brand-meta span {
    font-size: 13px;
  }

  .site-search {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
  }

  .site-search input {
    min-width: 0;
    width: 100%;
  }

  .nav {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow: visible;
    scrollbar-width: none;
    width: 100%;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .nav a,
  .nav-catalog,
  .nav-catalog summary,
  .theme-toggle {
    min-width: 0;
  }

  .nav a {
    flex: 1 1 100%;
    width: 100%;
    min-height: 52px;
    padding: 0 10px;
    font-size: 15px;
  }

  .category-nav {
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    margin: 0 0 26px;
    padding: 10px 0 14px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .category-menu-item {
    flex: 0 0 auto;
  }

  .category-menu-link,
  .catalog-menu-home {
    min-width: 172px;
  }

  .hero-copy,
  .hero-media,
  .panel.section {
    padding: 22px;
  }

  .hero-copy .lead,
  .feed-heading p,
  .panel.section p,
  .text-block,
  .pill span,
  .catalog-tree a,
  .feed-card p,
  .brand-meta,
  .brand-meta strong,
  .brand-meta span {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .hero-copy h1,
  .panel.section > h1,
  .lot-post h1,
  .feed-heading h1 {
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: auto;
  }

  .hero-copy .lead,
  .feed-heading p,
  .panel.section p,
  .text-block {
    max-width: min(100%, calc(100vw - 68px));
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: auto;
  }

  .hero-copy > h1,
  .hero-copy > .eyebrow,
  .feed-heading > *,
  .panel.section > h1,
  .panel.section > h2,
  .panel.section > h3 {
    max-width: min(100%, calc(100vw - 68px));
  }

  .product-hero .hero-copy h1 {
    font-size: clamp(26px, 7.2vw, 30px);
    line-height: 1.08;
  }

  .hero-copy .lead,
  .feed-heading p {
    font-size: 17px;
    line-height: 1.45;
  }

  .pill {
    min-height: auto;
  }

  .catalog-layout {
    display: grid;
  }

  .catalog-sidebar {
    max-height: 380px;
    margin-bottom: 16px;
  }

  .catalog-filters,
  .market-filters {
    gap: 10px;
  }

  .catalog-filters input,
  .catalog-filters select,
  .catalog-filters button,
  .market-filters input,
  .market-filters select,
  .market-filters button {
    width: 100%;
  }

  .feed-card {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .feed-card h2 {
    font-size: 18px;
  }

  .feed-card-price {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .admin-page {
    width: calc(100% - 20px);
  }

  .admin-hero,
  .admin-tools-grid,
  .admin-workspace,
  .admin-form-grid,
  .compact-form,
  .source-review-grid,
  .editor-summary,
  .source-panel-header {
    grid-template-columns: minmax(0, 1fr);
  }

  .admin-stat-grid {
    grid-template-columns: 1fr;
  }

  .admin-hero h1 {
    font-size: 34px;
  }

  .admin-actions,
  .lead-actions {
    display: grid;
  }

  .admin-form button,
  .editor-actions .btn,
  .lead-actions .btn {
    width: 100%;
    min-width: 0;
  }
}

/* Field supply design pass */
:root {
  --paper: #f7f5ee;
  --paper-2: #eeeee5;
  --paper-3: #e5e4d8;
  --ink: #171b16;
  --field: #314227;
  --field-dark: #202b1c;
  --olive-soft: #e7eddf;
  --brass: #a78135;
  --signal: #c55b31;
  --shadow-soft: 0 18px 45px rgba(28, 35, 24, 0.1);
  --shadow-lift: 0 24px 58px rgba(28, 35, 24, 0.16);
  --radius: 8px;
}

html,
body {
  background: var(--paper);
}

body {
  color: var(--ink);
  background:
    linear-gradient(rgba(49, 66, 39, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(49, 66, 39, 0.03) 1px, transparent 1px),
    linear-gradient(180deg, #fffdf7 0, var(--paper) 430px, #efefe6 100%);
  background-size: 34px 34px, 34px 34px, auto;
}

.page:not(.admin-page) {
  width: min(1380px, calc(100% - 48px));
}

.page:not(.admin-page) h1,
.page:not(.admin-page) h2,
.page:not(.admin-page) h3 {
  color: var(--ink);
  letter-spacing: 0;
  text-transform: none;
}

.page:not(.admin-page) p,
.page:not(.admin-page) .lead {
  color: #3e4638;
}

.top-banner {
  min-height: 38px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 11px),
    linear-gradient(90deg, #182015, var(--field-dark));
  color: #f8f5e9;
}

.top-banner strong {
  align-items: center;
}

.top-banner strong span {
  position: relative;
  padding-left: 18px;
}

.top-banner strong span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  transform: translateY(-50%) rotate(45deg);
}

.top-banner a {
  color: #f2dfad;
  font-weight: 800;
}

.top-banner-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  text-decoration: none;
}

.social-link img {
  display: block;
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.social-link-max img {
  border-radius: 5px;
}

.top-banner .social-link {
  min-height: 28px;
  padding: 4px 9px 4px 6px;
  border: 1px solid rgba(242, 223, 173, 0.2);
  border-radius: 999px;
  background: rgba(10, 16, 8, 0.24);
  color: #f2dfad;
  font-size: 13px;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(255, 253, 247, 0.045);
}

.top-banner .social-link img {
  width: 17px;
  height: 17px;
}

.top-banner .social-link:hover,
.top-banner .social-link:focus-visible {
  border-color: rgba(242, 223, 173, 0.36);
  background: rgba(255, 253, 247, 0.09);
}

.topbar {
  gap: 18px;
  padding: 18px 0 14px;
}

.brand-mark {
  position: relative;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(49, 66, 39, 0.38);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(231, 237, 223, 0.92)),
    var(--olive-soft);
  color: var(--field);
  box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.66);
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(49, 66, 39, 0.18);
  border-radius: 4px;
  pointer-events: none;
}

.brand-name {
  font-size: 20px;
}

.brand-meta strong {
  color: var(--field-dark);
}

.site-search {
  border-color: rgba(49, 66, 39, 0.18);
  background: #fffefa;
  box-shadow: 0 12px 34px rgba(28, 35, 24, 0.07);
}

.site-search input {
  background: transparent;
}

.site-search button,
.btn {
  background: var(--field);
  border-color: var(--field);
  color: #fffdf7;
  box-shadow: 0 10px 26px rgba(49, 66, 39, 0.18);
}

.btn:hover,
.site-search button:hover,
.category-menu-cta:hover {
  background: #26361f;
  border-color: #26361f;
  box-shadow: 0 16px 34px rgba(49, 66, 39, 0.2);
}

.btn.secondary,
.nav a,
.section-heading a {
  border-color: rgba(49, 66, 39, 0.16);
  background: rgba(255, 254, 250, 0.88);
  color: var(--field-dark);
  box-shadow: none;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  border: 1px solid rgba(49, 66, 39, 0.16);
  border-radius: 8px;
  background: rgba(255, 254, 250, 0.88);
  color: var(--field-dark);
  padding: 0 12px;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: none;
}

.theme-toggle-icon {
  position: relative;
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-radius: 50%;
  background: #fffefa;
}

.theme-toggle-icon::after {
  content: "";
  position: absolute;
  inset: 3px 0 3px 7px;
  border-radius: 0 999px 999px 0;
  background: currentColor;
  opacity: 0.16;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  border-color: rgba(49, 66, 39, 0.28);
  background: #fffdf7;
}

.scroll-top {
  position: fixed;
  right: 18px;
  bottom: 78px;
  z-index: 70;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(49, 66, 39, 0.2);
  border-radius: 999px;
  background: rgba(255, 253, 247, 0.92);
  color: var(--field-dark);
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px) scale(0.96);
  visibility: hidden;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease, border-color 0.18s ease;
}

.scroll-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  visibility: visible;
}

.scroll-top:hover,
.scroll-top:focus-visible {
  border-color: rgba(49, 66, 39, 0.34);
  transform: translateY(-1px);
}

.messenger-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 70;
  pointer-events: auto;
}

.messenger-float summary {
  list-style: none;
}

.messenger-float summary::-webkit-details-marker {
  display: none;
}

.messenger-float-toggle {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(242, 223, 173, 0.2);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(143, 176, 108, 0.16), rgba(17, 23, 14, 0.9)),
    #11170f;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22), inset 0 0 0 1px rgba(255, 253, 247, 0.055);
  overflow: hidden;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.messenger-float-toggle::after,
.messenger-float-link::after {
  content: "";
  position: absolute;
  inset: -70%;
  z-index: 0;
  background: linear-gradient(115deg, transparent 38%, rgba(255, 253, 247, 0.38) 50%, transparent 62%);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-64%) rotate(9deg);
}

.messenger-float-toggle > *,
.messenger-float-link > * {
  position: relative;
  z-index: 1;
}

.messenger-float-hint {
  position: absolute;
  right: 54px;
  top: 50%;
  min-width: 68px;
  border: 1px solid rgba(242, 223, 173, 0.16);
  border-radius: 999px;
  background: rgba(4, 7, 4, 0.82);
  color: #fffdf7;
  padding: 6px 11px;
  font-size: 13px;
  font-weight: 850;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transform: translate(6px, -50%);
  transition: opacity 0.18s ease, transform 0.18s ease;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.messenger-float.is-attention .messenger-float-hint,
.messenger-float-toggle:hover .messenger-float-hint,
.messenger-float-toggle:focus-visible .messenger-float-hint {
  opacity: 1;
  transform: translate(0, -50%);
}

.messenger-float[open] .messenger-float-hint {
  opacity: 0;
}

.messenger-float.is-attention .messenger-float-toggle {
  animation: messengerPulse 1.9s ease;
}

.messenger-float-toggle:hover,
.messenger-float-toggle:focus-visible {
  border-color: rgba(242, 223, 173, 0.38);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.24), 0 0 0 6px rgba(143, 176, 108, 0.12), inset 0 0 0 1px rgba(255, 253, 247, 0.08);
  transform: translateY(-2px) scale(1.05);
}

.messenger-float-toggle:hover::after,
.messenger-float-toggle:focus-visible::after,
.messenger-float-link:hover::after,
.messenger-float-link:focus-visible::after {
  animation: messengerShine 0.82s ease;
}

.messenger-float-toggle-icon {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  transition: transform 0.18s ease, filter 0.18s ease;
}

.messenger-float-toggle:hover .messenger-float-toggle-icon,
.messenger-float-toggle:focus-visible .messenger-float-toggle-icon {
  filter: drop-shadow(0 0 8px rgba(242, 223, 173, 0.28));
  transform: scale(1.12) rotate(-4deg);
}

.messenger-float-toggle-icon img {
  width: 31px;
  height: 31px;
  object-fit: contain;
}

.messenger-float-toggle-max {
  display: none;
}

.messenger-float.is-max .messenger-float-toggle-telegram {
  display: none;
}

.messenger-float.is-max .messenger-float-toggle-max {
  display: grid;
}

.messenger-float-toggle-max img {
  border-radius: 8px;
}

.messenger-float-panel {
  position: absolute;
  right: 0;
  bottom: 54px;
  display: grid;
  gap: 8px;
  width: 176px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.messenger-float[open] .messenger-float-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.messenger-float-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  width: 100%;
  min-height: 38px;
  padding: 4px 5px 4px 11px;
  border: 1px solid rgba(242, 223, 173, 0.18);
  border-radius: 999px;
  background: rgba(4, 7, 4, 0.82);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24), inset 0 0 0 1px rgba(255, 253, 247, 0.045);
  overflow: hidden;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.messenger-float-link:hover,
.messenger-float-link:focus-visible {
  border-color: rgba(242, 223, 173, 0.42);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.27), 0 0 0 5px rgba(34, 158, 217, 0.1), inset 0 0 0 1px rgba(255, 253, 247, 0.08);
  transform: translateX(-3px) scale(1.035);
}

.messenger-float-link span {
  flex: 1 1 auto;
  min-width: 0;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.15;
  white-space: nowrap;
}

.messenger-float-icon {
  display: grid;
  flex: 0 0 29px;
  place-items: center;
  width: 29px;
  height: 29px;
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  background: #229ed9;
  overflow: hidden;
  transition: transform 0.18s ease, filter 0.18s ease;
}

.messenger-float-link:hover .messenger-float-icon,
.messenger-float-link:focus-visible .messenger-float-icon {
  filter: saturate(1.2) drop-shadow(0 0 8px rgba(34, 158, 217, 0.34));
  transform: scale(1.1);
}

.messenger-float-icon img {
  display: block;
  width: 29px;
  height: 29px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.messenger-float-icon-max {
  border-radius: 8px;
  background: transparent;
}

.messenger-float-icon-max img {
  width: 29px;
  height: 29px;
  border-radius: 8px;
}

@keyframes messengerPulse {
  0%,
  100% {
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22), inset 0 0 0 1px rgba(255, 253, 247, 0.055);
    transform: scale(1);
  }

  42% {
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24), 0 0 0 8px rgba(143, 176, 108, 0.12), inset 0 0 0 1px rgba(255, 253, 247, 0.08);
    transform: scale(1.035);
  }
}

@keyframes messengerShine {
  0% {
    opacity: 0;
    transform: translateX(-64%) rotate(9deg);
  }

  30% {
    opacity: 0.9;
  }

  100% {
    opacity: 0;
    transform: translateX(64%) rotate(9deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .messenger-float-toggle::after,
  .messenger-float-link::after {
    display: none;
  }
}

@media (max-width: 860px) {
  .messenger-float-panel {
    transform: translate(-92px, 8px);
  }

  .messenger-float[open] .messenger-float-panel {
    transform: translate(-92px, 0);
  }
}

.top-banner {
  position: relative;
  padding-right: 84px;
}

.theme-toggle-corner {
  position: fixed;
  top: 6px;
  right: 16px;
  left: auto;
  z-index: 60;
  width: 34px;
  min-width: 34px;
  height: 28px;
  min-height: 28px;
  gap: 0;
  padding: 0;
  border-color: rgba(242, 223, 173, 0.32);
  background: rgba(255, 253, 247, 0.08);
  color: #f2dfad;
  transform: none;
}

.theme-toggle-corner:hover,
.theme-toggle-corner:focus-visible {
  border-color: rgba(242, 223, 173, 0.58);
  background: rgba(255, 253, 247, 0.14);
}

.theme-toggle-corner .theme-toggle-icon {
  display: block;
  width: 14px;
  height: 14px;
  color: inherit;
  background: transparent;
}

.theme-toggle-admin {
  top: 14px;
  right: 18px;
  border-color: rgba(49, 66, 39, 0.18);
  background: rgba(255, 254, 250, 0.92);
  color: var(--field-dark);
  box-shadow: 0 12px 26px rgba(28, 35, 24, 0.12);
}

.nav a::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--signal);
}

.category-nav {
  gap: 10px;
  margin-top: 2px;
  padding: 10px 0 18px;
  border-bottom-color: rgba(49, 66, 39, 0.14);
}

.category-menu-link,
.category-nav .category-nav-all {
  min-height: 42px;
  border-color: rgba(49, 66, 39, 0.16);
  background: rgba(255, 254, 250, 0.88);
}

.category-nav .category-nav-all {
  background: var(--field);
  border-color: var(--field);
}

.category-menu-link em,
.category-nav .category-nav-all em {
  min-width: 24px;
  border-radius: 999px;
  padding: 2px 6px;
  background: rgba(49, 66, 39, 0.08);
  text-align: center;
}

.category-menu-panel {
  top: calc(100% - 2px);
  border-color: rgba(49, 66, 39, 0.16);
  background:
    linear-gradient(rgba(49, 66, 39, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(49, 66, 39, 0.03) 1px, transparent 1px),
    #fffdf8;
  background-size: 28px 28px, 28px 28px, auto;
  box-shadow: 0 28px 76px rgba(28, 35, 24, 0.18);
}

.category-menu-help {
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px 12px),
    var(--field-dark);
}

.page:not(.admin-page) .category-menu-help > strong {
  color: #fffdf7;
}

.page:not(.admin-page) .category-menu-help p {
  color: rgba(255, 253, 247, 0.78);
}

.page:not(.admin-page) .category-menu-help a {
  border-color: rgba(255, 253, 247, 0.28);
  background: #fffdf7;
  color: var(--field-dark);
}

.page:not(.admin-page) .category-menu-panel .category-menu-cta {
  border-color: #4f6f32;
  background: #4f6f32;
  color: #fffdf7;
  box-shadow: 0 10px 22px rgba(49, 66, 39, 0.14);
}

.page:not(.admin-page) .category-menu-panel .category-menu-cta:hover,
.page:not(.admin-page) .category-menu-panel .category-menu-cta:focus-visible {
  border-color: #405a2e;
  background: #405a2e;
  color: #fffdf7;
  box-shadow: 0 12px 24px rgba(49, 66, 39, 0.18);
}

.panel,
.card,
.category-card,
.product-card,
.feed-card,
.lot-post {
  border-radius: var(--radius);
}

.panel,
.card {
  border-color: rgba(49, 66, 39, 0.14);
  background: rgba(255, 254, 250, 0.9);
}

.home-hero {
  min-height: 455px;
  border: 1px solid rgba(49, 66, 39, 0.18);
  background:
    linear-gradient(rgba(49, 66, 39, 0.048) 1px, transparent 1px),
    linear-gradient(90deg, rgba(49, 66, 39, 0.04) 1px, transparent 1px),
    linear-gradient(112deg, #fffdf7 0%, #f1efe2 52%, #dde6d4 100%);
  background-size: 32px 32px, 32px 32px, auto;
  color: var(--ink);
  box-shadow: var(--shadow-soft);
}

.home-hero::after {
  background:
    linear-gradient(90deg, rgba(255, 253, 247, 0.98) 0%, rgba(255, 253, 247, 0.9) 42%, rgba(255, 253, 247, 0.2) 74%, rgba(255, 253, 247, 0.04) 100%),
    linear-gradient(135deg, rgba(49, 66, 39, 0.14), transparent 58%);
}

.home-hero-img {
  width: 54%;
  padding: 28px 34px 28px 0;
  opacity: 0.98;
  filter: drop-shadow(0 22px 42px rgba(28, 35, 24, 0.16));
}

.home-hero-overlay {
  max-width: 700px;
  padding: 54px 66px;
}

.home-hero .eyebrow {
  width: fit-content;
  border: 1px solid rgba(167, 129, 53, 0.36);
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--brass);
}

.home-hero h1,
.home-hero .lead {
  color: var(--ink);
}

.home-hero h1 {
  max-width: 620px;
  font-size: clamp(42px, 4.7vw, 68px);
  line-height: 0.98;
}

.home-hero .lead {
  max-width: 570px;
  color: #394235;
  font-size: 19px;
}

.section-heading {
  position: relative;
  margin-top: 4px;
}

.section-heading h2 {
  display: grid;
  gap: 5px;
}

.section-heading h2::after {
  content: "";
  width: 86px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--field), rgba(167, 129, 53, 0.6));
}

.category-grid {
  gap: 14px;
}

.category-card {
  position: relative;
  min-height: 124px;
  background:
    linear-gradient(180deg, rgba(255, 254, 250, 0.96), rgba(248, 247, 238, 0.96));
  box-shadow: 0 12px 32px rgba(28, 35, 24, 0.06);
}

.category-card::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 34px;
  height: 10px;
  border-top: 1px solid rgba(49, 66, 39, 0.16);
  border-bottom: 1px solid rgba(49, 66, 39, 0.16);
}

.category-icon {
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.54);
}

.service-strip {
  border: 1px solid rgba(49, 66, 39, 0.14);
  border-radius: var(--radius);
  background:
    linear-gradient(rgba(49, 66, 39, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(49, 66, 39, 0.035) 1px, transparent 1px),
    rgba(255, 254, 250, 0.86);
  background-size: 30px 30px, 30px 30px, auto;
  padding: 18px;
  box-shadow: 0 14px 36px rgba(28, 35, 24, 0.07);
}

.service-strip div {
  min-height: 84px;
  border-left-color: var(--field);
  background: rgba(255, 255, 255, 0.42);
  padding: 13px 13px 13px 15px;
}

.product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.product-card {
  position: relative;
  height: 100%;
  border-color: rgba(49, 66, 39, 0.14);
  background: #fffefa;
  box-shadow: 0 12px 32px rgba(28, 35, 24, 0.065);
}

.product-card::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  top: 14px;
  height: 1px;
  background: linear-gradient(90deg, rgba(49, 66, 39, 0.22), transparent);
  pointer-events: none;
}

.product-card:hover {
  box-shadow: var(--shadow-lift);
}

.product-card-media {
  height: 286px;
  min-height: 246px;
  background:
    linear-gradient(rgba(49, 66, 39, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(49, 66, 39, 0.035) 1px, transparent 1px),
    #f5f3ea;
  background-size: 26px 26px, 26px 26px, auto;
}

.product-card-media img,
.product-card-media video {
  height: 252px;
  max-height: 252px;
  object-fit: contain;
  image-rendering: auto;
}

.product-card .card-body {
  display: grid;
  grid-template-rows: 32px 66px 88px 36px 30px;
  gap: 10px;
  min-height: auto;
  padding: 20px;
  overflow: hidden;
}

.product-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  min-height: 0;
  height: 32px;
  overflow: hidden;
  color: #687260;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.product-card-meta span,
.product-card-meta em {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 22px;
  border: 1px solid rgba(49, 66, 39, 0.12);
  border-radius: 999px;
  background: #f5f3ea;
  padding: 2px 8px;
  font-style: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-card-meta span {
  flex: 1 1 auto;
  min-width: 0;
}

.product-card-meta em {
  flex: 0 0 auto;
}

.product-card-meta em {
  background: #fff6df;
  color: #7b5e24;
  border-color: rgba(167, 129, 53, 0.22);
}

.product-card .card-title {
  min-height: 0;
  height: 66px;
  font-size: 17px;
  line-height: 1.28;
  -webkit-line-clamp: 2;
}

.product-card .muted {
  min-height: 0;
  height: 88px;
  -webkit-line-clamp: 3;
}

.product-card .price {
  align-self: end;
  color: var(--field-dark);
  font-size: 20px;
  line-height: 1.15;
}

.stock-note {
  align-self: start;
  max-width: 100%;
  border: 1px solid rgba(197, 91, 49, 0.18);
  background: #fff3ec;
  color: #9b4626;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stock-note.is-in-stock {
  border-color: rgba(45, 121, 62, 0.18);
  background: #edf7eb;
  color: #286d34;
}

.story-card {
  border: 1px solid rgba(49, 66, 39, 0.14);
  border-radius: var(--radius);
  background: #fffefa;
  padding: 10px;
  box-shadow: 0 12px 32px rgba(28, 35, 24, 0.06);
}

.story-card img,
.story-card video {
  background:
    linear-gradient(rgba(49, 66, 39, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(49, 66, 39, 0.035) 1px, transparent 1px),
    #f5f3ea;
  background-size: 24px 24px, 24px 24px, auto;
  object-fit: contain;
}

.about-band,
.footer {
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 12px),
    linear-gradient(90deg, #1c2518, #314227);
}

.page:not(.admin-page) .about-band h2,
.page:not(.admin-page) .footer strong {
  color: #fffdf7;
}

.page:not(.admin-page) .about-band p,
.page:not(.admin-page) .footer p,
.page:not(.admin-page) .footer a,
.page:not(.admin-page) .footer span {
  color: rgba(255, 253, 247, 0.78);
}

.page:not(.admin-page) .about-band .btn {
  border-color: rgba(255, 253, 247, 0.34);
  background: #fffdf7;
  color: var(--field-dark);
}

.page:not(.admin-page) .about-band .btn:hover {
  background: var(--brass);
  color: #151713;
}

.catalog-sidebar,
.catalog-filters,
.market-filters,
.feed-heading {
  border: 1px solid rgba(49, 66, 39, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 254, 250, 0.9);
  box-shadow: 0 12px 34px rgba(28, 35, 24, 0.065);
}

.catalog-filters,
.market-filters {
  padding: 14px;
}

.feed-heading {
  max-width: none;
  padding: 28px;
}

.catalog-tree ul {
  border-left-color: rgba(49, 66, 39, 0.16);
}

.catalog-tree a:hover,
.catalog-tree a.is-active {
  background: var(--olive-soft);
  color: var(--field-dark);
}

.catalog-count,
.page-link.is-active {
  background: var(--olive-soft);
  color: var(--field);
}

.hero.product-hero {
  gap: 20px;
}

.detail-hero {
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.7fr);
  align-items: start;
  gap: 16px;
}

.detail-hero .hero-copy.panel,
.detail-hero .hero-media.panel {
  padding: clamp(20px, 2.4vw, 30px);
}

.detail-hero .hero-copy {
  align-self: start;
}

.detail-hero .hero-copy h1 {
  margin-bottom: 16px;
}

.detail-hero .hero-copy .lead {
  max-width: 820px;
  margin-bottom: 0;
}

.detail-hero .landing-list {
  gap: 8px;
  margin: 16px 0 18px;
}

.hero-copy.panel,
.hero-media.panel {
  background:
    linear-gradient(rgba(49, 66, 39, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(49, 66, 39, 0.03) 1px, transparent 1px),
    rgba(255, 254, 250, 0.93);
  background-size: 30px 30px, 30px 30px, auto;
}

.hero-media {
  min-height: 540px;
  box-shadow: inset 0 0 0 10px rgba(245, 243, 234, 0.7);
}

.detail-hero .hero-media {
  align-self: start;
  min-height: 0;
  padding: 12px;
  box-shadow: inset 0 0 0 8px rgba(245, 243, 234, 0.68);
}

.detail-hero .hero-media img,
.detail-hero .hero-media video {
  max-height: min(470px, 46vh);
}

.hero-media img,
.hero-media video,
.media-grid .media-item,
.feed-media-item {
  object-fit: contain;
  background:
    linear-gradient(rgba(49, 66, 39, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(49, 66, 39, 0.035) 1px, transparent 1px),
    #f5f3ea;
  background-size: 28px 28px, 28px 28px, auto;
}

.pill {
  border-color: rgba(49, 66, 39, 0.14);
  background: rgba(255, 255, 255, 0.58);
}

.pill strong {
  color: var(--field-dark);
}

.product-hero .pill-grid {
  gap: 10px;
  margin: 18px 0;
}

.product-hero .pill {
  min-height: 0;
  padding: 14px;
}

.product-hero .actions,
.landing-hero .actions {
  margin-top: 14px;
}

.content-grid {
  align-items: start;
}

.content-grid > .panel.section {
  align-self: start;
}

.product-media-strip {
  padding-top: 24px;
  padding-bottom: 24px;
}

.product-media-strip .media-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.product-media-strip .media-item {
  height: clamp(170px, 16vw, 260px);
  aspect-ratio: auto;
}

.product-description-section .text-block {
  max-width: 980px;
}

.product-specs-section .specs {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 44px;
}

.product-specs-section .spec {
  grid-template-columns: minmax(150px, 0.42fr) minmax(0, 1fr);
}

.landing-media-strip .media-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.landing-media-strip .media-item {
  height: clamp(220px, 20vw, 340px);
  aspect-ratio: auto;
}

.landing-duo-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
}

.landing-duo-section > div + div {
  border-left: 1px solid rgba(49, 66, 39, 0.12);
  padding-left: 34px;
}

.landing-duo-section .landing-list,
.landing-purchase-section .landing-block-grid {
  margin-top: 16px;
}

.landing-duo-section .landing-list {
  margin-bottom: 0;
}

.landing-purchase-section .landing-block-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.landing-purchase-section .landing-info-block {
  min-height: 0;
}

.landing-request-section .lead-form {
  max-width: 1040px;
}

@media (max-width: 860px) {
  .page:not(.admin-page) {
    width: calc(100% - 24px);
  }

  .detail-hero {
    grid-template-columns: 1fr;
  }

  .detail-hero .hero-copy.panel,
  .detail-hero .hero-media.panel,
  .product-media-strip {
    padding: 16px;
  }

  .detail-hero .hero-copy h1 {
    max-width: min(100%, 310px);
    font-size: clamp(22px, 6.4vw, 26px);
    line-height: 1.12;
    overflow-wrap: break-word;
    word-break: normal;
  }

  .detail-hero .hero-copy .lead,
  .detail-hero .pill span {
    max-width: min(100%, 310px);
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .detail-hero .pill strong,
  .detail-hero .pill span {
    display: block;
  }

  .detail-hero .actions .btn {
    width: 100%;
  }

  .detail-hero .hero-media img,
  .detail-hero .hero-media video {
    max-height: 340px;
  }

  .product-media-strip .media-item {
    height: clamp(180px, 58vw, 300px);
  }

  .product-specs-section .specs {
    grid-template-columns: 1fr;
  }

  .landing-duo-section {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .landing-duo-section > div + div {
    border-left: 0;
    border-top: 1px solid rgba(49, 66, 39, 0.12);
    padding-top: 22px;
    padding-left: 0;
  }

  .landing-media-strip .media-item {
    height: clamp(190px, 58vw, 300px);
  }

}

.content-grid .panel.section,
.lot-readable-section,
.lot-post {
  border-color: rgba(49, 66, 39, 0.14);
  background: rgba(255, 254, 250, 0.92);
}

.feed-shell {
  max-width: 1220px;
}

.market-feed {
  max-width: none;
  gap: 14px;
  border-top: 0;
}

.feed-card {
  grid-template-columns: 220px minmax(0, 1fr) 190px;
  min-height: 176px;
  border: 1px solid rgba(49, 66, 39, 0.14);
  border-left: 5px solid var(--field);
  background: #fffefa;
  box-shadow: 0 12px 32px rgba(28, 35, 24, 0.065);
}

.feed-card:nth-child(4n),
.feed-card:nth-child(5n) {
  border-left-color: var(--field);
}

.feed-card:hover {
  border-color: rgba(49, 66, 39, 0.28);
  box-shadow: var(--shadow-lift);
}

.feed-card-media {
  min-height: 176px;
  background: #f5f3ea;
}

.feed-card-media-item,
.feed-card-empty {
  min-height: 176px;
  background:
    linear-gradient(rgba(49, 66, 39, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(49, 66, 39, 0.035) 1px, transparent 1px),
    #f5f3ea;
  background-size: 25px 25px, 25px 25px, auto;
  object-fit: contain;
}

.feed-card-body {
  padding: 18px 4px 18px 0;
}

.feed-card h2 {
  color: var(--ink);
  font-size: 23px;
  line-height: 1.18;
}

.feed-card p {
  color: #3f473b;
}

.feed-card-header,
.feed-card-counters {
  color: #717869;
}

.feed-card-counters span,
.source-beacon {
  border: 1px solid rgba(49, 66, 39, 0.14);
  border-radius: 999px;
  background: #f5f3ea;
  color: #5f6a56;
  padding: 3px 8px;
  font-size: 12px;
  font-weight: 800;
}

.source-avatar {
  background: var(--field);
  color: #fffdf7;
}

.source-beacon {
  background: #fff6df;
  color: #7b5e24;
  border-color: rgba(167, 129, 53, 0.24);
}

.feed-card-price {
  align-content: center;
  justify-items: start;
  border-left-color: rgba(49, 66, 39, 0.12);
  background:
    linear-gradient(rgba(49, 66, 39, 0.038) 1px, transparent 1px),
    linear-gradient(90deg, rgba(49, 66, 39, 0.032) 1px, transparent 1px),
    #f7f5ec;
  background-size: 24px 24px, 24px 24px, auto;
}

.feed-card-price strong {
  color: var(--field-dark);
  font-size: 21px;
}

.lot-post {
  max-width: 1040px;
  box-shadow: var(--shadow-soft);
}

.lot-post-header,
.lot-post-footer {
  border-color: rgba(49, 66, 39, 0.12);
}

.lot-post h1 {
  font-size: clamp(36px, 4.2vw, 62px);
}

.lot-fact {
  border-color: rgba(49, 66, 39, 0.14);
  background:
    linear-gradient(rgba(49, 66, 39, 0.038) 1px, transparent 1px),
    linear-gradient(90deg, rgba(49, 66, 39, 0.032) 1px, transparent 1px),
    #f8f6ef;
  background-size: 24px 24px, 24px 24px, auto;
}

.lot-fact span {
  color: #687260;
}

.lot-fact strong {
  color: var(--field-dark);
}

.lead-form {
  border: 1px solid rgba(49, 66, 39, 0.14);
  border-radius: var(--radius);
  background: #f8f6ef;
  padding: 16px;
}

input,
select,
textarea {
  border-color: rgba(49, 66, 39, 0.16);
  background: #fffefa;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(49, 66, 39, 0.16);
  border-color: rgba(49, 66, 39, 0.38);
}

.legal-page {
  display: grid;
  gap: 18px;
  max-width: 1180px;
  margin: 26px auto 0;
}

.legal-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: start;
  border: 1px solid rgba(49, 66, 39, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(rgba(49, 66, 39, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(49, 66, 39, 0.035) 1px, transparent 1px),
    linear-gradient(135deg, #fffefa, #eef2e7);
  background-size: 28px 28px, 28px 28px, auto;
  box-shadow: var(--shadow-soft);
  padding: clamp(24px, 4vw, 46px);
}

.legal-hero h1 {
  max-width: 760px;
  font-size: clamp(38px, 5vw, 66px);
  line-height: 1.02;
}

.legal-hero .lead {
  max-width: 780px;
}

.legal-hero-card {
  display: grid;
  align-content: start;
  gap: 12px;
  border: 1px solid rgba(255, 253, 247, 0.16);
  border-radius: var(--radius);
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 12px),
    var(--field-dark);
  color: #fffdf7;
  padding: 22px;
}

.legal-hero-card strong {
  font-size: 22px;
  line-height: 1.1;
}

.legal-hero-card span {
  color: rgba(255, 253, 247, 0.82);
}

.legal-kpis,
.legal-doc-grid,
.legal-note-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.legal-kpis > div,
.legal-doc-grid > div,
.legal-note-grid > div {
  border: 1px solid rgba(49, 66, 39, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 254, 250, 0.9);
  padding: 16px;
  box-shadow: 0 10px 26px rgba(28, 35, 24, 0.05);
}

.legal-kpis strong,
.legal-doc-grid strong,
.legal-note-grid strong {
  display: block;
  color: var(--field-dark);
  font-size: 16px;
  line-height: 1.2;
}

.legal-kpis span,
.legal-doc-grid span,
.legal-note-grid span {
  display: block;
  margin-top: 7px;
  color: #4d5748;
  font-size: 14px;
  line-height: 1.45;
}

.legal-shell {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.legal-aside,
.legal-section,
.legal-request {
  border: 1px solid rgba(49, 66, 39, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 254, 250, 0.92);
  box-shadow: var(--shadow-soft);
}

.legal-aside {
  position: sticky;
  top: 18px;
  display: grid;
  gap: 14px;
  padding: 18px;
}

.legal-aside > strong {
  color: var(--field-dark);
  font-size: 21px;
  line-height: 1.1;
}

.legal-aside p {
  margin: 0;
  font-size: 15px;
}

.legal-aside .contact-actions,
.legal-lead-form .contact-actions {
  display: grid;
  gap: 8px;
}

.legal-aside .btn,
.legal-lead-form .contact-actions .btn {
  width: 100%;
}

.legal-mail {
  color: var(--field);
  font-weight: 850;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.legal-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.legal-chip-list span {
  border: 1px solid rgba(49, 66, 39, 0.14);
  border-radius: 999px;
  background: #f4f1e8;
  color: var(--field-dark);
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 850;
}

.legal-content {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.legal-section {
  padding: clamp(20px, 3vw, 30px);
}

.legal-section h2,
.legal-request h2 {
  margin-bottom: 12px;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.1;
}

.legal-section p {
  max-width: 840px;
}

.legal-list,
.legal-steps {
  margin: 16px 0 0;
  padding: 0;
}

.legal-list {
  display: grid;
  gap: 10px;
  list-style: none;
}

.legal-list li {
  position: relative;
  padding-left: 22px;
  color: #333b31;
}

.legal-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 10px;
  height: 2px;
  background: var(--brass);
}

.legal-steps {
  counter-reset: legal-step;
  display: grid;
  gap: 10px;
  list-style: none;
}

.legal-steps li {
  counter-increment: legal-step;
  display: grid;
  grid-template-columns: 42px minmax(0, 0.28fr) minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  border: 1px solid rgba(49, 66, 39, 0.12);
  border-radius: var(--radius);
  background: #f8f6ef;
  padding: 12px;
}

.legal-steps li::before {
  content: counter(legal-step);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--field);
  color: #fffdf7;
  font-weight: 950;
}

.legal-steps strong {
  color: var(--field-dark);
}

.legal-steps span {
  color: #4d5748;
}

.legal-doc-grid,
.legal-note-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 16px;
}

.legal-faq details {
  border-top: 1px solid rgba(49, 66, 39, 0.12);
  padding: 13px 0;
}

.legal-faq details:first-of-type {
  border-top: 0;
}

.legal-faq summary {
  color: var(--field-dark);
  cursor: pointer;
  font-weight: 900;
}

.legal-faq p {
  margin: 8px 0 0;
}

.legal-request {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: clamp(20px, 3vw, 30px);
}

.legal-request > div:first-child p {
  max-width: 460px;
}

.legal-lead-form {
  margin-top: 0;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --paper: #0d100c;
  --paper-2: #12170f;
  --paper-3: #1a2116;
  --ink: #f5f1e7;
  --text: #f5f1e7;
  --soft: #cbd3bf;
  --muted: #9fa994;
  --field: #8fb06c;
  --field-dark: #dfe8d0;
  --olive-soft: #1c2518;
  --accent: #d2aa57;
  --accent-2: #c39b4e;
  --line: rgba(210, 170, 87, 0.18);
  --gold-line: rgba(210, 170, 87, 0.26);
  --brass: #d2aa57;
  --signal: #dc7349;
  --shadow-soft: 0 18px 46px rgba(0, 0, 0, 0.32);
  --shadow-lift: 0 26px 64px rgba(0, 0, 0, 0.42);
}

html[data-theme="dark"],
html[data-theme="dark"] body {
  background: #0d100c;
}

html[data-theme="dark"] body {
  color: var(--ink);
  background:
    linear-gradient(rgba(215, 180, 91, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(215, 180, 91, 0.036) 1px, transparent 1px),
    radial-gradient(circle at 16% -8%, rgba(143, 176, 108, 0.18), transparent 32rem),
    linear-gradient(180deg, #151b12 0, #0d100c 480px, #080a08 100%);
  background-size: 34px 34px, 34px 34px, auto, auto;
}

html[data-theme="dark"] .top-banner,
html[data-theme="dark"] .about-band,
html[data-theme="dark"] .footer {
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 12px),
    linear-gradient(90deg, #0b0f0a, #172113);
}

html[data-theme="dark"] .brand-mark {
  border-color: rgba(210, 170, 87, 0.42);
  background:
    linear-gradient(135deg, rgba(143, 176, 108, 0.2), rgba(23, 33, 19, 0.94)),
    #11170f;
  color: #f7e3a6;
  box-shadow: inset 0 0 0 5px rgba(255, 253, 247, 0.04);
}

html[data-theme="dark"] .brand-mark::after {
  border-color: rgba(247, 227, 166, 0.18);
}

html[data-theme="dark"] .brand,
html[data-theme="dark"] .brand-meta strong,
html[data-theme="dark"] .page:not(.admin-page) h1,
html[data-theme="dark"] .page:not(.admin-page) h2,
html[data-theme="dark"] .page:not(.admin-page) h3,
html[data-theme="dark"] .feed-card h2,
html[data-theme="dark"] .card-title,
html[data-theme="dark"] .product-card .price,
html[data-theme="dark"] .feed-card-price strong,
html[data-theme="dark"] .pill strong,
html[data-theme="dark"] .lot-fact strong,
html[data-theme="dark"] .legal-kpis strong,
html[data-theme="dark"] .legal-doc-grid strong,
html[data-theme="dark"] .legal-note-grid strong,
html[data-theme="dark"] .legal-section h2,
html[data-theme="dark"] .legal-request h2,
html[data-theme="dark"] .legal-aside > strong,
html[data-theme="dark"] .legal-faq summary,
html[data-theme="dark"] .legal-steps strong {
  color: var(--ink);
}

html[data-theme="dark"] .page:not(.admin-page) p,
html[data-theme="dark"] .page:not(.admin-page) .lead,
html[data-theme="dark"] .brand-meta span,
html[data-theme="dark"] .muted,
html[data-theme="dark"] .feed-card p,
html[data-theme="dark"] .lot-post-lead,
html[data-theme="dark"] .lot-post-text,
html[data-theme="dark"] .lot-buyer-grid p,
html[data-theme="dark"] .legal-list li,
html[data-theme="dark"] .legal-steps span,
html[data-theme="dark"] .legal-kpis span,
html[data-theme="dark"] .legal-doc-grid span,
html[data-theme="dark"] .legal-note-grid span {
  color: #cbd3bf;
}

html[data-theme="dark"] .site-search,
html[data-theme="dark"] .nav a,
html[data-theme="dark"] .theme-toggle,
html[data-theme="dark"] .category-menu-link,
html[data-theme="dark"] .panel,
html[data-theme="dark"] .card,
html[data-theme="dark"] .category-card,
html[data-theme="dark"] .product-card,
html[data-theme="dark"] .story-card,
html[data-theme="dark"] .service-strip,
html[data-theme="dark"] .catalog-sidebar,
html[data-theme="dark"] .catalog-filters,
html[data-theme="dark"] .market-filters,
html[data-theme="dark"] .feed-heading,
html[data-theme="dark"] .content-grid .panel.section,
html[data-theme="dark"] .lot-readable-section,
html[data-theme="dark"] .lot-post,
html[data-theme="dark"] .legal-hero,
html[data-theme="dark"] .legal-aside,
html[data-theme="dark"] .legal-section,
html[data-theme="dark"] .legal-request,
html[data-theme="dark"] .legal-kpis > div,
html[data-theme="dark"] .legal-doc-grid > div,
html[data-theme="dark"] .legal-note-grid > div {
  border-color: rgba(210, 170, 87, 0.18);
  background: rgba(18, 24, 15, 0.9);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
}

html[data-theme="dark"] .site-search,
html[data-theme="dark"] input,
html[data-theme="dark"] select,
html[data-theme="dark"] textarea {
  background: rgba(9, 12, 8, 0.86);
  color: var(--ink);
}

html[data-theme="dark"] input,
html[data-theme="dark"] select,
html[data-theme="dark"] textarea {
  border-color: rgba(210, 170, 87, 0.18);
}

html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder {
  color: rgba(245, 241, 231, 0.5);
}

html[data-theme="dark"] .site-search button,
html[data-theme="dark"] .btn,
html[data-theme="dark"] .category-nav .category-nav-all {
  background: #405a2e;
  border-color: #58763d;
  color: #fffdf7;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

html[data-theme="dark"] .btn:hover,
html[data-theme="dark"] .site-search button:hover,
html[data-theme="dark"] .category-menu-cta:hover {
  background: #526f39;
  border-color: #6f8d4e;
}

html[data-theme="dark"] .btn.secondary,
html[data-theme="dark"] .nav a,
html[data-theme="dark"] .theme-toggle,
html[data-theme="dark"] .section-heading a,
html[data-theme="dark"] .page:not(.admin-page) .about-band .btn {
  background: rgba(255, 253, 247, 0.06);
  border-color: rgba(210, 170, 87, 0.2);
  color: #f5f1e7;
}

html[data-theme="dark"] .category-menu-feed-link {
  background: rgba(191, 94, 44, 0.18);
  border-color: rgba(242, 157, 99, 0.34);
  color: #fff4e6;
}

html[data-theme="dark"] .theme-toggle-icon {
  background: #d2aa57;
  color: #f5f1e7;
  box-shadow: 0 0 18px rgba(210, 170, 87, 0.22);
}

html[data-theme="dark"] .theme-toggle-icon::after {
  background: #10160e;
  opacity: 0.9;
}

html[data-theme="dark"] .theme-toggle:hover,
html[data-theme="dark"] .theme-toggle:focus-visible {
  background: rgba(255, 253, 247, 0.1);
  border-color: rgba(210, 170, 87, 0.34);
}

html[data-theme="dark"] .theme-toggle-corner {
  background: rgba(255, 253, 247, 0.08);
  border-color: rgba(242, 223, 173, 0.32);
  color: #f2dfad;
}

html[data-theme="dark"] .theme-toggle-corner:hover,
html[data-theme="dark"] .theme-toggle-corner:focus-visible {
  background: rgba(255, 253, 247, 0.14);
  border-color: rgba(242, 223, 173, 0.58);
}

html[data-theme="dark"] .scroll-top {
  border-color: rgba(242, 223, 173, 0.28);
  background: rgba(15, 22, 13, 0.92);
  color: #f7e3a6;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.3), inset 0 0 0 1px rgba(255, 253, 247, 0.055);
}

html[data-theme="dark"] .scroll-top:hover,
html[data-theme="dark"] .scroll-top:focus-visible {
  border-color: rgba(242, 223, 173, 0.5);
  background: rgba(24, 34, 20, 0.96);
  color: #fffdf7;
}

html[data-theme="dark"] .admin-page {
  color: var(--ink);
}

html[data-theme="dark"] .admin-hero,
html[data-theme="dark"] .admin-tool,
html[data-theme="dark"] .admin-rule-card,
html[data-theme="dark"] .admin-stat-card,
html[data-theme="dark"] .admin-fieldset,
html[data-theme="dark"] .editor-summary,
html[data-theme="dark"] .admin-details,
html[data-theme="dark"] .source-panel,
html[data-theme="dark"] .lead-card {
  border-color: rgba(210, 170, 87, 0.18);
  background: rgba(18, 24, 15, 0.9);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
}

html[data-theme="dark"] .admin-hero {
  background:
    linear-gradient(135deg, rgba(143, 176, 108, 0.14), transparent 46%),
    rgba(18, 24, 15, 0.94);
}

html[data-theme="dark"] .admin-hero h1,
html[data-theme="dark"] .admin-panel-heading h2,
html[data-theme="dark"] .admin-tool h2,
html[data-theme="dark"] .admin-rule-card h2,
html[data-theme="dark"] .admin-stat-card strong,
html[data-theme="dark"] .admin-list-title strong,
html[data-theme="dark"] .editor-summary h3,
html[data-theme="dark"] .lead-card-header strong {
  color: var(--ink);
}

html[data-theme="dark"] .admin-hero .lead,
html[data-theme="dark"] .admin-rule-card p,
html[data-theme="dark"] .admin-empty,
html[data-theme="dark"] .admin-list-item span,
html[data-theme="dark"] .admin-stat-card span,
html[data-theme="dark"] .admin-stat-card em,
html[data-theme="dark"] .editor-summary p,
html[data-theme="dark"] .lead-card-header span,
html[data-theme="dark"] .lead-meta,
html[data-theme="dark"] .lead-notes,
html[data-theme="dark"] .sync-line span {
  color: #cbd3bf;
}

html[data-theme="dark"] .admin-list-item,
html[data-theme="dark"] .source-post-text,
html[data-theme="dark"] .source-draft-grid,
html[data-theme="dark"] .source-draft-attrs,
html[data-theme="dark"] .sync-line span {
  border-color: rgba(210, 170, 87, 0.16);
  background: rgba(9, 12, 8, 0.72);
  color: #f5f1e7;
}

html[data-theme="dark"] .admin-list-item:hover {
  border-color: rgba(210, 170, 87, 0.32);
  background: rgba(143, 176, 108, 0.14);
}

html[data-theme="dark"] .admin-list-item.is-active,
html[data-theme="dark"] .source-card.is-active .admin-list-item,
html[data-theme="dark"] .btn.secondary.is-active {
  border-color: rgba(210, 170, 87, 0.44);
  background: rgba(210, 170, 87, 0.12);
  color: #f0d58e;
}

html[data-theme="dark"] .admin-list-title em,
html[data-theme="dark"] .admin-list-meta span,
html[data-theme="dark"] .lead-meta span,
html[data-theme="dark"] .status-pill {
  border-color: rgba(210, 170, 87, 0.18);
  background: rgba(255, 253, 247, 0.06);
  color: #f0d58e;
}

html[data-theme="dark"] .admin-fieldset legend,
html[data-theme="dark"] .admin-details summary,
html[data-theme="dark"] .text-link {
  color: #f0d58e;
}

html[data-theme="dark"] .editor-actions {
  border-color: rgba(210, 170, 87, 0.2);
  background: rgba(13, 16, 12, 0.92);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.32);
}

html[data-theme="dark"] .source-media-item {
  border-color: rgba(210, 170, 87, 0.16);
  background: #11170f;
}

html[data-theme="dark"] .category-menu-item:hover .category-menu-link,
html[data-theme="dark"] .category-menu-item:focus-within .category-menu-link,
html[data-theme="dark"] .category-menu-item.is-menu-open .category-menu-link,
html[data-theme="dark"] .category-menu-item.is-menu-open .category-nav-all,
html[data-theme="dark"] .category-menu-link:hover {
  background: rgba(143, 176, 108, 0.16);
  border-color: rgba(210, 170, 87, 0.34);
  color: #f0d58e;
}

html[data-theme="dark"] .category-menu-panel,
html[data-theme="dark"] .home-hero,
html[data-theme="dark"] .hero-copy.panel,
html[data-theme="dark"] .hero-media.panel,
html[data-theme="dark"] .feed-card-price,
html[data-theme="dark"] .lot-fact,
html[data-theme="dark"] .lead-form {
  border-color: rgba(210, 170, 87, 0.18);
  background:
    linear-gradient(rgba(210, 170, 87, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(210, 170, 87, 0.042) 1px, transparent 1px),
    rgba(17, 23, 14, 0.94);
  background-size: 28px 28px, 28px 28px, auto;
}

html[data-theme="dark"] .category-menu-links a,
html[data-theme="dark"] .category-menu-product,
html[data-theme="dark"] .seo-side {
  border-color: rgba(210, 170, 87, 0.16);
  background: rgba(9, 12, 8, 0.72);
  color: #f5f1e7;
}

html[data-theme="dark"] .seo-panel {
  border-color: rgba(210, 170, 87, 0.18);
  background:
    linear-gradient(rgba(210, 170, 87, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(210, 170, 87, 0.038) 1px, transparent 1px),
    rgba(17, 23, 14, 0.94);
  background-size: 28px 28px, 28px 28px, auto;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
}

html[data-theme="dark"] .category-menu-links a:hover,
html[data-theme="dark"] .category-menu-product:hover {
  border-color: rgba(210, 170, 87, 0.32);
  background: rgba(143, 176, 108, 0.14);
}

html[data-theme="dark"] .category-menu-cta,
html[data-theme="dark"] .category-menu-help a {
  background: #405a2e;
  border-color: #58763d;
  color: #fffdf7;
}

html[data-theme="dark"] .page:not(.admin-page) .category-menu-help a {
  background: #405a2e;
  border-color: #58763d;
  color: #fffdf7;
}

html[data-theme="dark"] .category-menu-cta:hover,
html[data-theme="dark"] .category-menu-help a:hover {
  background: #526f39;
  border-color: #6f8d4e;
}

html[data-theme="dark"] .category-menu-links em {
  color: #9fa994;
}

html[data-theme="dark"] .category-menu-product strong,
html[data-theme="dark"] .seo-side strong {
  color: #f5f1e7;
}

html[data-theme="dark"] .seo-copy h2 {
  color: #f5f1e7;
}

html[data-theme="dark"] .seo-copy p,
html[data-theme="dark"] .seo-note {
  color: #cbd3bf;
}

html[data-theme="dark"] .seo-links a {
  border-color: rgba(210, 170, 87, 0.16);
  background: rgba(255, 253, 247, 0.06);
  color: #f0d58e;
}

html[data-theme="dark"] .seo-links a:hover,
html[data-theme="dark"] .seo-links a:focus-visible {
  border-color: rgba(210, 170, 87, 0.32);
  background: rgba(143, 176, 108, 0.14);
}

html[data-theme="dark"] .landing-duo-section > div + div {
  border-color: rgba(210, 170, 87, 0.18);
}

html[data-theme="dark"] .category-menu-product img,
html[data-theme="dark"] .category-menu-product video,
html[data-theme="dark"] .category-menu-product > span {
  background: #11170f;
}

html[data-theme="dark"] .seo-side li {
  color: #cbd3bf;
}

html[data-theme="dark"] .seo-facts span {
  border-color: rgba(210, 170, 87, 0.16);
  background: rgba(255, 253, 247, 0.06);
  color: #f0d58e;
}

html[data-theme="dark"] .home-hero::after {
  background:
    linear-gradient(90deg, rgba(14, 18, 12, 0.95) 0%, rgba(14, 18, 12, 0.82) 45%, rgba(14, 18, 12, 0.22) 78%, rgba(14, 18, 12, 0.06) 100%),
    linear-gradient(135deg, rgba(210, 170, 87, 0.12), transparent 58%);
}

html[data-theme="dark"] .home-hero .eyebrow {
  background: rgba(210, 170, 87, 0.1);
  border-color: rgba(210, 170, 87, 0.3);
  color: #f0d58e;
}

html[data-theme="dark"] .home-hero h1,
html[data-theme="dark"] .home-hero .lead {
  color: var(--ink);
}

html[data-theme="dark"] .category-card,
html[data-theme="dark"] .product-card,
html[data-theme="dark"] .feed-card,
html[data-theme="dark"] .story-card {
  background: rgba(18, 24, 15, 0.92);
}

html[data-theme="dark"] .product-card-media,
html[data-theme="dark"] .story-card img,
html[data-theme="dark"] .story-card video,
html[data-theme="dark"] .feed-card-media,
html[data-theme="dark"] .feed-card-media-item,
html[data-theme="dark"] .feed-card-empty,
html[data-theme="dark"] .hero-media img,
html[data-theme="dark"] .hero-media video,
html[data-theme="dark"] .media-grid .media-item,
html[data-theme="dark"] .feed-media-item {
  background:
    linear-gradient(rgba(210, 170, 87, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(210, 170, 87, 0.038) 1px, transparent 1px),
    #11170f;
  background-size: 26px 26px, 26px 26px, auto;
}

html[data-theme="dark"] .category-card::after {
  border-color: rgba(210, 170, 87, 0.22);
}

html[data-theme="dark"] .product-card::after {
  background: linear-gradient(90deg, rgba(210, 170, 87, 0.26), transparent);
}

html[data-theme="dark"] .product-card-meta,
html[data-theme="dark"] .feed-card-header,
html[data-theme="dark"] .feed-card-counters,
html[data-theme="dark"] .lot-fact span {
  color: #9fa994;
}

html[data-theme="dark"] .product-card-meta span,
html[data-theme="dark"] .feed-card-counters span,
html[data-theme="dark"] .catalog-count,
html[data-theme="dark"] .source-beacon,
html[data-theme="dark"] .legal-chip-list span {
  border-color: rgba(210, 170, 87, 0.16);
  background: rgba(255, 253, 247, 0.06);
  color: #cfd7c5;
}

html[data-theme="dark"] .product-card-meta em,
html[data-theme="dark"] .source-beacon {
  background: rgba(210, 170, 87, 0.12);
  color: #f0d58e;
  border-color: rgba(210, 170, 87, 0.24);
}

html[data-theme="dark"] .stock-note {
  border-color: rgba(220, 115, 73, 0.24);
  background: rgba(220, 115, 73, 0.12);
  color: #f0a785;
}

html[data-theme="dark"] .stock-note.is-in-stock {
  border-color: rgba(143, 176, 108, 0.28);
  background: rgba(143, 176, 108, 0.13);
  color: #b9d89d;
}

html[data-theme="dark"] .service-strip div,
html[data-theme="dark"] .pill,
html[data-theme="dark"] .lot-buyer-grid > div,
html[data-theme="dark"] .legal-steps li {
  border-color: rgba(210, 170, 87, 0.14);
  background: rgba(255, 253, 247, 0.045);
}

html[data-theme="dark"] .catalog-tree a:hover,
html[data-theme="dark"] .catalog-tree a.is-active,
html[data-theme="dark"] .page-link.is-active {
  background: rgba(143, 176, 108, 0.16);
  color: #e6f0dc;
}

html[data-theme="dark"] .lot-post-footer > span {
  border-color: rgba(210, 170, 87, 0.18);
  background: rgba(255, 253, 247, 0.06);
  color: #f5f1e7;
}

html[data-theme="dark"] .legal-hero-card,
html[data-theme="dark"] .category-menu-help {
  border-color: rgba(210, 170, 87, 0.2);
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 12px),
    #11190f;
}

html[data-theme="dark"] .legal-list li::before,
html[data-theme="dark"] .section-heading h2::after {
  background: linear-gradient(90deg, #d2aa57, rgba(143, 176, 108, 0.75));
}

@media (max-width: 860px) {
  .top-banner {
    padding-right: 58px;
  }

  .theme-toggle-corner {
    top: 8px;
    right: auto;
    left: min(300px, calc(100vw - 46px));
  }

  .theme-toggle-admin {
    right: 12px;
    left: auto;
  }
}

@media (max-width: 1180px) {
  .page:not(.admin-page) {
    width: calc(100% - 32px);
  }

  .home-hero-img {
    width: 50%;
  }

  .feed-card {
    grid-template-columns: 180px minmax(0, 1fr);
  }

  .feed-card-price {
    grid-column: 2;
    border-top: 1px solid rgba(49, 66, 39, 0.12);
    border-left: 0;
  }

  .legal-hero,
  .legal-shell,
  .legal-request {
    grid-template-columns: 1fr;
  }

  .legal-aside {
    position: static;
  }

  .legal-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .page:not(.admin-page) {
    width: 100%;
    padding-left: 12px;
    padding-right: 12px;
  }

  .topbar,
  .category-nav,
  main,
  .home-hero,
  .storefront-section,
  .service-strip,
  .about-band,
  .panel.section,
  .catalog-layout,
  .catalog-sidebar,
  .catalog-results,
  .catalog-filters,
  .feed-shell,
  .feed-heading,
  .market-filters,
  .market-feed,
  .feed-card,
  .hero.product-hero,
  .hero-copy,
  .hero-media,
  .content-grid,
  .lot-post {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .legal-page {
    max-width: 100%;
    margin-top: 14px;
  }

  .legal-hero,
  .legal-section,
  .legal-request,
  .legal-aside {
    width: 100%;
    max-width: 100%;
  }

  .legal-hero h1,
  .legal-hero .lead,
  .legal-section h2,
  .legal-section p,
  .legal-request h2,
  .legal-request p {
    max-width: min(100%, 340px);
    overflow-wrap: anywhere;
  }

  .legal-doc-grid,
  .legal-note-grid {
    grid-template-columns: 1fr;
  }

  .legal-steps li {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .legal-steps li span {
    grid-column: 2;
  }

  .home-hero {
    min-height: auto;
  }

  .home-hero::after {
    background: linear-gradient(180deg, rgba(255, 253, 247, 0.96), rgba(255, 253, 247, 0.86));
  }

  .home-hero-overlay {
    padding: 28px 24px 74px;
  }

  .home-hero-img {
    width: 100%;
    opacity: 0.2;
    object-fit: contain;
  }

  .home-hero h1 {
    font-size: clamp(34px, 10vw, 46px);
    max-width: 340px;
  }

  .home-hero h1,
  .home-hero .lead,
  .feed-heading h1,
  .feed-heading .lead,
  .panel.section h1,
  .panel.section h2,
  .panel.section p,
  .card-title,
  .muted {
    max-width: min(100%, 320px);
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .home-hero .lead,
  .feed-heading .lead {
    display: block;
    max-width: min(100%, 270px);
  }

  .service-strip {
    padding: 12px;
  }

  .catalog-filters,
  .market-filters,
  .feed-heading {
    padding: 16px;
  }

  .feed-card {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 12px;
    min-height: 132px;
  }

  .feed-card-media,
  .feed-card-media-item,
  .feed-card-empty {
    min-height: 132px;
  }

  .feed-card-body {
    padding: 12px 10px 12px 0;
  }

  .feed-card h2 {
    font-size: 18px;
  }

  .feed-card-price {
    grid-column: 1 / -1;
  }

  .product-card-media img,
  .product-card-media video {
    height: 220px;
  }

  .hero-media {
    min-height: 320px;
  }
}

@media (max-width: 520px) {
  body {
    background-size: 26px 26px, 26px 26px, auto;
  }

  .top-banner strong span {
    padding-left: 14px;
  }

  .brand-line {
    flex-direction: row;
    align-items: center;
  }

  .brand-meta {
    display: none;
  }

  .home-hero-overlay,
  .hero-copy,
  .hero-media,
  .panel.section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .home-hero h1 {
    font-size: clamp(30px, 11vw, 42px);
  }

  .home-hero .lead,
  .feed-heading .lead {
    font-size: 16px;
    line-height: 1.42;
  }

  .home-hero h1,
  .home-hero .lead,
  .feed-heading h1,
  .feed-heading .lead,
  .panel.section h1,
  .panel.section h2,
  .panel.section p,
  .card-title,
  .muted {
    max-width: calc(100vw - 60px);
  }

  .product-card-meta span,
  .product-card-meta em {
    white-space: normal;
  }

  .feed-card {
    grid-template-columns: 1fr;
  }

  .feed-card-media,
  .feed-card-media-item,
  .feed-card-empty {
    min-height: 220px;
  }

  .feed-card-body {
    padding: 14px;
  }

  .lot-post {
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
    margin-left: 0;
    margin-right: 0;
    overflow: hidden;
    padding: 18px;
  }

  .lot-post-header {
    align-items: flex-start;
  }

  .lot-post-header .source-beacon {
    margin-left: 0;
  }

  .lot-post h1 {
    width: 100%;
    max-width: 300px;
    font-size: clamp(27px, 7.4vw, 30px);
    line-height: 1.08;
    overflow-wrap: break-word;
    word-break: normal;
  }

  .lot-post-lead {
    width: 100%;
    max-width: 300px;
    font-size: 16px;
    line-height: 1.45;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .feed-media-gallery .feed-media-item:first-child {
    width: 100%;
    max-height: 420px;
  }

  .feed-media-gallery,
  .lot-fact-grid,
  .lot-buyer-grid,
  .lot-readable-section,
  .lot-post-footer,
  .legal-kpis {
    max-width: 100%;
  }

  .legal-kpis {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .storefront-section .product-grid,
  .storefront-section .story-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 16px;
  }

  .storefront-section .product-card {
    display: grid;
    grid-template-columns: 128px minmax(0, 1fr);
    grid-template-rows: auto;
    min-height: 0;
    overflow: hidden;
  }

  .storefront-section .product-card::after {
    left: 10px;
    right: auto;
    top: 12px;
    bottom: 12px;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, rgba(49, 66, 39, 0.2), transparent);
  }

  .storefront-section .product-card-media {
    height: 154px;
    min-height: 154px;
    align-self: start;
  }

  .storefront-section .product-card-media img,
  .storefront-section .product-card-media video {
    height: 154px;
    max-height: 154px;
    aspect-ratio: 1 / 1;
  }

  .storefront-section .product-card .card-body {
    display: grid;
    grid-template-rows: auto;
    gap: 8px;
    min-height: 0;
    padding: 14px;
  }

  .storefront-section .product-card-meta {
    flex-wrap: nowrap;
    min-width: 0;
    height: 24px;
    gap: 5px;
    overflow: hidden;
  }

  .storefront-section .product-card-meta span,
  .storefront-section .product-card-meta em {
    min-height: 22px;
    font-size: 11px;
    line-height: 1;
    white-space: nowrap;
  }

  .storefront-section .product-card-meta span {
    flex: 1 1 auto;
    max-width: calc(100% - 58px);
    min-width: 0;
  }

  .storefront-section .product-card-meta em {
    flex: 0 0 auto;
    max-width: 52px;
  }

  .storefront-section .product-card .card-title {
    display: -webkit-box;
    max-width: 100%;
    overflow: hidden;
    font-size: 20px;
    line-height: 1.08;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .storefront-section .product-card .muted {
    display: -webkit-box;
    height: auto;
    min-height: 0;
    max-width: 100%;
    overflow: hidden;
    font-size: 14px;
    line-height: 1.32;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .storefront-section .product-card .price {
    font-size: 18px;
    line-height: 1.15;
  }

  .storefront-section .stock-note {
    max-width: 100%;
    font-size: 12px;
  }

  .storefront-section .story-card {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    min-height: 132px;
    padding: 10px;
    overflow: hidden;
  }

  .storefront-section .story-card img,
  .storefront-section .story-card video {
    grid-row: span 2;
    width: 112px;
    height: 112px;
    aspect-ratio: 1 / 1;
  }

  .storefront-section .story-card strong {
    display: -webkit-box;
    min-width: 0;
    overflow: hidden;
    font-size: 18px;
    line-height: 1.12;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
}

@media (max-width: 420px) {
  .storefront-section .product-card {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .storefront-section .product-card-media {
    height: 138px;
    min-height: 138px;
  }

  .storefront-section .product-card-media img,
  .storefront-section .product-card-media video {
    height: 138px;
    max-height: 138px;
  }

  .storefront-section .product-card .card-title {
    font-size: 18px;
  }

  .storefront-section .product-card .muted {
    font-size: 13px;
    line-height: 1.3;
    -webkit-line-clamp: 3;
  }

  .storefront-section .product-card .card-body {
    gap: 7px;
    padding: 12px;
  }

  .storefront-section .product-card-meta {
    height: 23px;
  }

  .storefront-section .product-card-meta span,
  .storefront-section .product-card-meta em {
    min-height: 21px;
    padding-left: 6px;
    padding-right: 6px;
    font-size: 10px;
  }

  .storefront-section .product-card-meta span {
    max-width: calc(100% - 50px);
  }

  .storefront-section .product-card-meta em {
    max-width: 46px;
  }
}

/* Final storefront fit pass: keep public pages tidy on narrow screens. */
.category-menu-feed-link .feed-ticker {
  width: auto;
  max-width: 100%;
}

.category-menu-feed-link .feed-ticker-track {
  display: block;
  width: auto;
  min-width: 0;
  transform: none;
  animation: none;
}

.category-menu-feed-link .feed-ticker-track b {
  width: auto;
  min-width: 0;
  max-width: 100%;
  flex: 0 1 auto;
  text-overflow: ellipsis;
}

@media (max-width: 860px) {
  .page:not(.admin-page) {
    width: 100%;
    padding-left: 12px;
    padding-right: 12px;
    overflow-x: clip;
  }

  .home-hero-overlay,
  .hero-copy,
  .hero-media,
  .panel.section,
  .feed-heading {
    padding-left: 18px;
    padding-right: 18px;
  }

  .home-hero h1,
  .home-hero .lead,
  .feed-heading h1,
  .feed-heading p,
  .detail-hero .hero-copy h1,
  .detail-hero .hero-copy .lead,
  .panel.section h1,
  .panel.section h2,
  .panel.section h3,
  .panel.section p,
  .category-card .card-title,
  .category-card .muted,
  .pill span,
  .landing-list-item p {
    width: 100%;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .home-hero .actions,
  .detail-hero .actions,
  .landing-hero .actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
  }

  .home-hero .actions .btn,
  .detail-hero .actions .btn,
  .landing-hero .actions .btn {
    width: 100%;
    min-width: 0;
  }

  .category-card {
    width: 100%;
    min-width: 0;
  }

  .category-card .card-body {
    min-width: 0;
  }

  .feed-card {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
  }

  .feed-card-media,
  .feed-card-media-item,
  .feed-card-empty {
    min-height: 190px;
    max-height: 300px;
  }

  .feed-card-body {
    padding: 14px;
  }

  .feed-card-header,
  .feed-card-counters {
    gap: 6px;
    min-width: 0;
  }

  .feed-card-header > span:not(.source-avatar),
  .feed-card-counters span,
  .source-beacon {
    max-width: 100%;
    min-width: 0;
    overflow-wrap: anywhere;
    white-space: normal;
  }

  .feed-card h2 {
    font-size: 20px;
    line-height: 1.15;
    overflow-wrap: anywhere;
  }

  .feed-card p {
    overflow-wrap: anywhere;
  }

  .feed-card-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
  }

  .market-filters,
  .catalog-filters {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

@media (max-width: 420px) {
  .home-hero-overlay,
  .hero-copy,
  .hero-media,
  .panel.section,
  .feed-heading {
    padding-left: 16px;
    padding-right: 16px;
  }

  .feed-card-media,
  .feed-card-media-item,
  .feed-card-empty {
    min-height: 180px;
    max-height: 260px;
  }
}

@media (max-width: 860px) {
  .home-hero h1,
  .home-hero .lead,
  .feed-heading h1,
  .feed-heading p,
  .detail-hero .hero-copy h1,
  .detail-hero .hero-copy .lead,
  .panel.section h1,
  .panel.section h2,
  .panel.section h3,
  .panel.section p,
  .pill span,
  .landing-list-item p {
    max-width: min(100%, calc(100vw - 64px));
  }

  .home-hero .actions,
  .detail-hero .actions,
  .landing-hero .actions {
    max-width: min(100%, calc(100vw - 64px));
  }

  .category-card .card-title,
  .category-card .muted {
    max-width: min(100%, calc(100vw - 132px));
  }

  .feed-card-header .source-beacon {
    flex-basis: 100%;
    width: fit-content;
    margin-left: 32px;
  }

  .feed-card-counters {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-items: start;
  }

  .feed-card-counters span {
    width: fit-content;
    max-width: 100%;
  }

  .home-hero .lead,
  .feed-heading .lead {
    width: 280px !important;
    max-width: 280px !important;
  }

  .home-hero h1,
  .feed-heading h1 {
    width: 304px !important;
    max-width: 304px !important;
  }

  .detail-hero .hero-copy h1,
  .detail-hero .hero-copy .lead {
    width: 304px !important;
    max-width: 304px !important;
  }

  .feed-heading h1 {
    width: 326px !important;
    max-width: 326px !important;
    font-size: 38px !important;
  }

  .feed-heading .lead {
    width: 318px !important;
    max-width: 318px !important;
  }

  .section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-items: start;
  }

  .home-hero .actions,
  .detail-hero .actions,
  .landing-hero .actions {
    max-width: 304px !important;
  }

  .category-card .card-title,
  .category-card .muted {
    width: auto;
    max-width: 244px !important;
  }

  .legal-aside p,
  .legal-section p,
  .legal-request p,
  .legal-list li,
  .legal-steps li {
    max-width: 304px;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 620px) {
  .home-hero h1,
  .home-hero .lead,
  .feed-heading h1,
  .feed-heading p,
  .detail-hero .hero-copy h1,
  .detail-hero .hero-copy .lead,
  .panel.section h1,
  .panel.section h2,
  .panel.section h3,
  .panel.section p,
  .pill span,
  .landing-list-item p {
    max-width: calc(100vw - 58px);
  }

  .home-hero .actions,
  .detail-hero .actions,
  .landing-hero .actions {
    max-width: calc(100vw - 58px);
  }

  .category-card .card-title,
  .category-card .muted {
    max-width: calc(100vw - 124px);
  }
}

@media (max-width: 420px) {
  .home-hero h1,
  .home-hero .lead,
  .feed-heading h1,
  .feed-heading p,
  .detail-hero .hero-copy h1,
  .detail-hero .hero-copy .lead,
  .landing-list-item p {
    width: auto;
    max-width: 300px !important;
  }

  .home-hero .actions,
  .detail-hero .actions,
  .landing-hero .actions {
    max-width: 300px !important;
  }

  .category-card .card-title,
  .category-card .muted {
    width: auto;
    max-width: 244px !important;
  }

  .feed-card h2,
  .feed-card p,
  .feed-card-counters {
    max-width: 318px;
  }

  .home-hero .lead,
  .feed-heading .lead {
    width: 280px !important;
    max-width: 280px !important;
  }

  .home-hero h1,
  .feed-heading h1 {
    width: 304px !important;
    max-width: 304px !important;
  }

  .feed-heading h1 {
    width: 326px !important;
    max-width: 326px !important;
    font-size: 38px !important;
  }

  .feed-heading .lead {
    width: 318px !important;
    max-width: 318px !important;
  }
}
