:root {
  color-scheme: light;
  --brand: #e57c00;
  --brand-hover: #f28c00;
  --brand-soft: #fff3e4;
  --bg: #f5f6f7;
  --card: #ffffff;
  --line: #e1e4e8;
  --text: #222222;
  --muted: #555555;
  --subtle: #777777;
  --dark: #222222;
  --whatsapp: #25d366;
  --shadow: 0 12px 34px rgba(0, 0, 0, 0.08);
  --shadow-soft: 0 8px 24px rgba(0, 0, 0, 0.06);
  --radius: 14px;
  --container: 1180px;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 118px;
}

main[id],
section[id],
footer[id] {
  scroll-margin-top: 118px;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

body,
button,
input,
textarea,
select {
  -webkit-text-size-adjust: 100%;
}

button,
input,
select {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

table,
pre,
code,
textarea,
input,
select {
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

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

.site-header > *,
.hero > *,
.search-shell,
.main-search > *,
.filter-grid > *,
.section > *,
.category-layout > *,
.listing-grid > *,
.segment-grid > *,
.ad-grid > *,
.footer > * {
  min-width: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 12px max(22px, calc((100vw - 1320px) / 2));
  background: rgba(8, 10, 11, 0.98);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-grid;
  width: fit-content;
  padding: 0;
  background: transparent;
  border-radius: 0;
  transition: transform 0.22s ease, filter 0.22s ease;
}

.brand img {
  width: 148px;
  filter: brightness(0) invert(1);
  transition: filter 0.22s ease;
}

.brand:hover {
  transform: translateY(-1px) scale(1.025);
}

.brand:hover img {
  filter: brightness(0) invert(1) drop-shadow(0 0 16px rgba(229, 124, 0, 0.38));
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.nav a {
  min-width: 0;
  position: relative;
  padding: 10px 11px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav a:hover,
.nav a.is-active {
  color: #ffb000;
  transform: translateY(-1px);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 4px;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav a:hover::after,
.nav a.is-active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.header-actions .btn {
  min-height: 42px;
  border-radius: 6px;
  padding-inline: 18px;
  font-size: 13px;
}

.header-actions .btn-primary {
  color: #141414;
  background: linear-gradient(135deg, #ffcf43, #ee7c00);
  box-shadow: 0 10px 22px rgba(229, 124, 0, 0.22);
}

.header-actions .btn-primary:hover {
  color: #141414;
  background: linear-gradient(135deg, #ffd65c, #f28c00);
  transform: translateY(-1px);
}

.header-actions .btn-ghost {
  color: #111;
  background: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.header-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 168px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 11px;
  line-height: 1.1;
  transition: color 0.2s ease, transform 0.2s ease;
}

.header-whatsapp img {
  width: 18px;
  height: 18px;
}

.header-whatsapp strong {
  display: block;
  color: #fff;
  font-size: 12px;
}

.header-whatsapp:hover {
  color: #fff;
  transform: translateY(-1px);
}

.menu-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 18px;
  align-items: center;
}

.menu-toggle {
  display: none;
}

body:has(.results-page) .site-header,
body:has(.listing-detail-page) .site-header,
body:has(.advertiser-page) .site-header,
body:has(.announce-page) .site-header,
body:has(.panel-page) .site-header,
body:has(.buyer-page) .site-header,
body:has(.orders-page) .site-header {
  padding-inline: max(18px, calc((100vw - 1280px) / 2));
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  max-width: 100%;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 0 16px;
  cursor: pointer;
  font-weight: 900;
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  color: #fff;
  background: var(--brand);
}

.btn-primary:hover,
.btn-ai:hover {
  background: var(--brand-hover);
}

.btn-ghost {
  color: var(--text);
  background: #fff;
  border-color: var(--line);
}

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

.btn-light {
  color: var(--brand);
  background: #fff;
}

.btn-ai {
  color: #fff;
  background: #333333;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 13px;
  color: var(--text);
  background: #fff;
  outline: none;
  font-size: 15px;
  font-weight: 650;
}

input::placeholder,
textarea::placeholder {
  color: #7c838c;
  font-weight: 500;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(229, 124, 0, 0.55);
  box-shadow: 0 0 0 4px rgba(229, 124, 0, 0.12);
}

textarea {
  min-height: 118px;
  padding-block: 12px;
  resize: vertical;
  line-height: 1.5;
}

.hero,
.commercial-carousel,
.section,
.ai-section,
.advertiser-cta {
  width: min(var(--container), calc(100% - 36px));
  margin-inline: auto;
}

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: clamp(560px, calc(100vh - 104px), 680px);
  width: 100%;
  padding: clamp(28px, 4vh, 42px) max(22px, calc((100vw - 1320px) / 2));
  overflow: hidden;
  color: #fff;
  text-align: left;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(3, 4, 5, 0.78) 0%, rgba(3, 4, 5, 0.58) 34%, rgba(3, 4, 5, 0.14) 70%, rgba(3, 4, 5, 0.04) 100%),
    linear-gradient(180deg, rgba(3, 4, 5, 0.02), rgba(3, 4, 5, 0.28)),
    url("../img/hero-maquinas-multisegmentos.png") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 38%;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.42));
}

.hero-copy {
  width: min(760px, 100%);
}


.hero-kicker,
.eyebrow {
  margin-bottom: 10px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 10px;
  color: #fff;
  font-size: clamp(34px, 4.15vw, 56px);
  line-height: 1.03;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 span {
  display: inline;
  color: #ffb000;
}

.hero > p {
  max-width: 760px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 20px;
  line-height: 1.55;
}

.hero-copy p {
  max-width: 760px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 17px;
  line-height: 1.4;
}

.hero label {
  color: rgba(255, 255, 255, 0.72);
}

.search-shell {
  width: min(1180px, 100%);
  margin: 18px 0 0;
  padding: 12px;
  background: rgba(4, 5, 6, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(8px);
}

.main-search {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) 150px 168px;
  gap: 9px;
}

.main-search input {
  min-height: 52px;
  border-radius: 6px;
  font-size: 16px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(10, 10, 10, 0.04);
}

.main-search .btn {
  min-height: 52px;
  border-radius: 6px;
  font-size: 15px;
  box-shadow: none;
}

.main-search .btn-primary {
  position: relative;
  gap: 9px;
  color: #161616;
  background: linear-gradient(135deg, #ffcf43, #ee7c00);
  border-color: rgba(255, 196, 61, 0.86);
  box-shadow: 0 14px 30px rgba(229, 124, 0, 0.32);
}

.main-search .btn-primary::before {
  content: "";
  width: 15px;
  height: 15px;
  border: 2px solid currentColor;
  border-radius: 50%;
  box-shadow: 8px 8px 0 -6px currentColor;
  transform: rotate(-12deg);
}

.main-search .btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
}

.main-search .btn-ai {
  color: #fff;
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.18);
}

.advanced-filters {
  margin-top: 8px;
  text-align: left;
}

.advanced-filters summary {
  width: fit-content;
  cursor: pointer;
  color: #ffb000;
  font-weight: 900;
}

.filter-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

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

label > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.ai-summary {
  display: none;
}

.hero-trust {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  width: min(1180px, 100%);
  margin-top: 12px;
}

.hero-trust article {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  min-height: 62px;
  padding: 10px 12px;
  background: rgba(9, 10, 11, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  backdrop-filter: blur(8px);
}

.hero-trust article > span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  grid-row: 1 / 3;
  color: #ffb000;
  background: rgba(255, 176, 0, 0.1);
  border-radius: 8px;
  font-weight: 950;
}

.hero-trust strong {
  color: #fff;
  font-size: 13px;
  line-height: 1.2;
}

.hero-trust article:last-child {
  grid-template-columns: 1fr;
  align-content: center;
}

.hero-trust article:last-child strong {
  color: #ffb000;
  font-size: 26px;
}

.hero-trust article:last-child small {
  grid-column: 1;
}

.hero-trust small {
  grid-column: 2;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 650;
  font-size: 12px;
  line-height: 1.25;
}

.hero-tags,
.revenue-list,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  margin-top: 20px;
}

.hero-tags span,
.sponsored-badge,
.tag,
.section-head > span,
.ad-grid span,
.ai-example span {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  border-radius: 999px;
  padding: 0 10px;
  color: #7a3e00;
  background: var(--brand-soft);
  font-size: 12px;
  font-weight: 900;
}

.commercial-carousel,
.section,
.ai-section,
.advertiser-cta {
  padding: 48px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 20px;
  text-align: left;
}

.section-head h2,
.ai-section h2,
.advertiser-cta h2 {
  margin-bottom: 8px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
}

.section-head p,
.ai-section p,
.advertiser-cta p,
.banner-card p,
.category-preview p {
  color: var(--muted);
  line-height: 1.65;
}

.section-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 16px;
  color: var(--text);
  background: #fff;
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.section-link:hover {
  color: #111;
  border-color: rgba(229, 124, 0, 0.42);
  background: var(--brand-soft);
}

.banner-track,
.solution-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(300px, calc((100% - 32px) / 3));
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.solution-track {
  grid-auto-flow: initial;
  grid-auto-columns: initial;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: visible;
  padding-bottom: 0;
  scrollbar-width: none;
}

.solution-track::-webkit-scrollbar {
  display: none;
}

.banner-card,
.solution-track article,
.solution-card,
.filters,
.listing-card,
.category-card,
.ad-grid article,
.ai-example,
.lead-dialog form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.banner-card {
  display: grid;
  align-content: space-between;
  min-height: 220px;
  padding: 22px;
  scroll-snap-align: start;
  gap: 16px;
}

.banner-card.primary,
.banner-card.banner-haitian {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(34, 34, 34, 0.88), rgba(229, 124, 0, 0.82)),
    url("../img/banners/banner-home-topo.webp") center / cover;
}

.banner-card.banner-finance {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(34, 34, 34, 0.88), rgba(58, 58, 58, 0.72)),
    url("../img/banners/banner-home-rodape.webp") center / cover;
}

.banner-card.banner-service {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 243, 228, 0.92)),
    url("../img/anuncios/sopradora-romi.webp") right center / auto 100% no-repeat;
}

.banner-card.primary p,
.banner-card.banner-haitian p,
.banner-card.banner-finance p {
  color: rgba(255, 255, 255, 0.82);
}

.banner-card small {
  color: var(--brand);
  font-weight: 950;
  text-transform: uppercase;
}

.banner-visual {
  width: 100%;
  height: 118px;
  margin: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 12px;
}

.banner-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-card.primary small,
.banner-card.banner-haitian small,
.banner-card.banner-finance small {
  color: #fff3e4;
}

.segment-grid,
.listing-grid,
.ad-grid {
  display: grid;
  gap: 16px;
}

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

.segment-view-all {
  display: inline-flex;
  grid-column: 1 / -1;
  justify-self: center;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: 4px;
  border: 1px solid var(--text);
  border-radius: 8px;
  padding: 0 22px;
  color: var(--text);
  background: #fff;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

#segmentos .section-head {
  justify-content: center;
  text-align: center;
}

#segmentos .section-head .section-link {
  display: none;
}

#segmentos .category-card:nth-child(n + 7) {
  display: none;
}

.category-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: stretch;
  min-height: 0;
  overflow: hidden;
  padding: 0;
  box-shadow: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
  cursor: pointer;
}

.category-card:hover {
  border-color: rgba(229, 124, 0, 0.42);
  box-shadow: var(--shadow-soft);
  transform: translateY(-1px);
}

.category-icon {
  position: absolute;
  left: 10px;
  bottom: -16px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #151515;
  background: #ffb000;
  border: 3px solid #fff;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 950;
}

.category-visual {
  position: relative;
  height: 116px;
  margin: 0;
  background: #111;
}

.category-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-card > div {
  padding: 24px 14px 14px;
}

.category-card h3 {
  margin: 0 0 4px;
  font-size: 16px;
  line-height: 1.22;
}

.category-card p,
.solution-track span,
.footer p,
.footer a,
.ad-grid p {
  color: var(--muted);
  line-height: 1.55;
}

.category-card p {
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.category-link {
  align-self: center;
  border: 0;
  padding: 0;
  color: var(--brand);
  background: transparent;
  cursor: pointer;
  font-weight: 950;
  white-space: nowrap;
}

.solution-track article,
.solution-card {
  display: grid;
  gap: 8px;
  min-height: 238px;
  padding: 18px;
  scroll-snap-align: start;
  background:
    linear-gradient(180deg, #ffffff, #fffaf3);
  color: inherit;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.solution-card:hover {
  border-color: rgba(229, 124, 0, 0.44);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.solution-card:focus-visible {
  outline: 3px solid rgba(229, 124, 0, 0.28);
  outline-offset: 3px;
}

.solution-visual {
  width: 100%;
  height: 92px;
  margin: 0 0 4px;
  overflow: hidden;
  background: #f5f6f7;
  border-radius: 12px;
}

.solution-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.solution-track strong,
.solution-card strong {
  display: block;
  font-size: 18px;
}

.solution-track small,
.solution-card small {
  width: fit-content;
  min-height: 24px;
  border-radius: 999px;
  padding: 0 9px;
  color: #7a3e00;
  background: var(--brand-soft);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.ai-section,
.advertiser-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: 24px;
  align-items: center;
}

.ai-section {
  position: relative;
  overflow: hidden;
  padding: 38px;
  color: #fff;
  background:
    radial-gradient(circle at 92% 18%, rgba(229, 124, 0, 0.28), transparent 18rem),
    linear-gradient(135deg, #202020, #363636);
  border-radius: var(--radius);
}

.ai-section::before {
  content: "";
  position: absolute;
  inset: 18px auto 18px 0;
  width: 5px;
  background: var(--brand);
  border-radius: 999px;
}

.ai-section > * {
  position: relative;
}

.ai-section p {
  color: rgba(255, 255, 255, 0.78);
}

.ai-section .eyebrow {
  color: #ffbd68;
}

.ai-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 22px;
}

.ai-actions a {
  color: #ffbd68;
  font-weight: 900;
}

.ai-example {
  display: grid;
  gap: 14px;
  padding: 24px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.18);
}

.ai-example .prompt {
  margin: 0;
  padding: 14px;
  color: var(--text);
  background: #f7f8f9;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 17px;
  font-weight: 800;
}

.ai-result {
  padding: 14px;
  background: var(--brand-soft);
  border-radius: 12px;
}

.ai-result strong {
  display: block;
  margin-bottom: 10px;
}

.ai-example ul {
  display: grid;
  gap: 8px;
  margin-bottom: 0;
  padding-left: 18px;
  color: var(--muted);
}

.category-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 18px;
}

.category-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: end;
  margin-bottom: 18px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.category-hero h2 {
  margin-bottom: 8px;
}

.category-hero p {
  max-width: 880px;
  margin-bottom: 0;
}

.category-stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 8px;
}

.category-stats span {
  display: grid;
  min-width: 96px;
  min-height: 58px;
  place-items: center;
  padding: 8px 12px;
  color: var(--muted);
  background: var(--brand-soft);
  border-radius: 12px;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.category-stats strong {
  display: block;
  color: var(--brand);
  font-size: 20px;
  line-height: 1;
}

.filters {
  align-self: start;
  position: sticky;
  top: 92px;
  padding: 16px;
  box-shadow: none;
}

.filter-head {
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.filter-head h3 {
  margin-bottom: 0;
}

.dynamic-filters {
  display: grid;
  gap: 11px;
}

.filter-type-control {
  margin-bottom: 14px;
}

.range-readout {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
}

.sponsored {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
  padding: 18px;
  background: #fff8ee;
  border: 1px solid rgba(229, 124, 0, 0.35);
  border-radius: var(--radius);
}

.result-bar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
  padding: 12px 14px;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 14px;
}

.result-bar strong {
  color: var(--text);
  font-size: 13px;
}

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

.listing-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  cursor: pointer;
  border-radius: 8px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.listing-card > *,
.card-body > * {
  min-width: 0;
}

.listing-card:hover {
  border-color: rgba(229, 124, 0, 0.38);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.listing-card:focus-visible {
  outline: 3px solid rgba(229, 124, 0, 0.28);
  outline-offset: 3px;
}

.listing-media {
  position: relative;
  aspect-ratio: 16 / 9.2;
  background: linear-gradient(135deg, #f3f4f6, var(--brand-soft));
}

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

.placeholder {
  display: grid;
  height: 100%;
  place-items: center;
  color: var(--brand);
  font-size: 40px;
  font-weight: 950;
}

.listing-badges {
  position: absolute;
  top: 36px;
  left: 8px;
  right: 44px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.listing-card .listing-badges:empty,
.result-card .listing-badges:empty {
  display: none;
}

.year-badge,
.favorite-badge {
  position: absolute;
  z-index: 2;
  display: inline-grid;
  place-items: center;
  font-weight: 950;
}

.year-badge {
  top: 8px;
  left: 8px;
  min-width: 38px;
  height: 22px;
  padding: 0 8px;
  color: #fff;
  background: rgba(0, 0, 0, 0.82);
  border-radius: 7px;
  font-size: 11px;
}

.favorite-badge {
  top: 8px;
  right: 8px;
  width: 25px;
  height: 25px;
  color: #fff;
  background: rgba(0, 0, 0, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 999px;
  font-size: 18px;
  line-height: 1;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.listing-card:hover .favorite-badge,
.result-card:hover .favorite-badge {
  color: #ffb000;
  background: rgba(0, 0, 0, 0.5);
  transform: scale(1.04);
}

.badge-featured {
  color: #fff;
  background: #2d6cdf;
}

.badge-offer {
  color: #fff;
  background: #d93939;
}

.badge-price {
  color: #1f1f1f;
  background: #ffd54f;
}

.card-body {
  display: grid;
  grid-template-rows: auto auto auto auto 1fr auto;
  align-content: start;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  padding: 12px;
}

.card-topline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  margin-bottom: 9px;
}

.card-topline .tag {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-topline small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.card-body h3 {
  display: -webkit-box;
  min-height: 39px;
  max-height: 39px;
  margin-bottom: 7px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 14px;
  line-height: 1.32;
}

.meta {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.price {
  margin: 8px 0 0;
  color: var(--text);
  font-size: 16px;
  font-weight: 950;
}

.details-pill {
  display: grid;
  min-height: 34px;
  place-items: center;
  margin-top: 10px;
  color: #141414;
  background: linear-gradient(135deg, #ffd766, #ffb000);
  border-radius: 5px;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
  transition: filter 0.18s ease, transform 0.18s ease;
}

.listing-card:hover .details-pill,
.result-card:hover .details-pill {
  filter: saturate(1.08);
  transform: translateY(-1px);
}

.spec-list {
  display: none;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.spec-list li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
}

.spec-list strong {
  color: var(--text);
  text-align: right;
}

.card-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
  margin-top: 9px;
  width: 100%;
  min-width: 0;
}

.view-all-row {
  display: flex;
  grid-column: 1 / -1;
  justify-content: center;
  padding-top: 4px;
}

.category-empty {
  grid-column: 1 / -1;
  padding: 26px;
  text-align: center;
  background: #fff;
  border: 1px dashed rgba(229, 124, 0, 0.44);
  border-radius: var(--radius);
}

.category-empty strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.category-empty p {
  max-width: 560px;
  margin: 0 auto;
  color: var(--muted);
}

.card-actions .btn {
  min-width: 0;
  min-height: 40px;
  padding-inline: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 14px;
  white-space: normal;
}

.listing-card .price {
  margin-top: 10px;
}

.listing-detail-page {
  width: min(var(--container), calc(100% - 36px));
  margin: 0 auto;
  padding: 32px 0 34px;
}

.detail-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.detail-breadcrumb a {
  color: var(--brand);
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 20px;
  align-items: start;
}

.detail-gallery,
.detail-summary,
.detail-title-card,
.detail-info article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.detail-main-column {
  display: grid;
  gap: 14px;
}

.detail-gallery {
  display: grid;
  gap: 8px;
  overflow: hidden;
  padding: 8px;
}

.detail-gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: repeat(2, 170px);
  gap: 8px;
}

.detail-photo {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 0;
  border-radius: 10px;
  background: #fff7ed;
  cursor: zoom-in;
}

.detail-photo-main {
  grid-row: span 2;
}

.detail-photo img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.detail-photo:hover img {
  transform: scale(1.025);
}

.detail-photo span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 8px 12px;
  background: rgba(17, 17, 17, 0.62);
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

.detail-gallery-action {
  justify-self: end;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--brand);
  background: #fff;
  cursor: pointer;
  font-weight: 900;
}

.detail-title-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
  padding: 20px;
}

.detail-title-card h1 {
  max-width: 860px;
  margin: 10px 0 8px;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.05;
}

.detail-title-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

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

.detail-price {
  color: var(--text);
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1;
  white-space: nowrap;
}

.detail-contact-form {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.detail-contact-form h2 {
  margin: 0 0 2px;
  font-size: 22px;
}

.detail-contact-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.detail-contact-form input,
.detail-contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-weight: 750;
  outline: none;
}

.detail-contact-form input {
  min-height: 50px;
  padding: 0 14px;
}

.detail-contact-form textarea {
  min-height: 104px;
  padding: 12px 14px;
  resize: vertical;
}

.detail-contact-form input:focus,
.detail-contact-form textarea:focus {
  border-color: rgba(229, 124, 0, 0.55);
  box-shadow: 0 0 0 4px rgba(229, 124, 0, 0.1);
}

.detail-contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.detail-contact-form .btn {
  width: 100%;
}

.detail-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--whatsapp);
  color: #fff;
}

.detail-whatsapp:hover {
  background: #1fb957;
  color: #fff;
}

.detail-whatsapp img {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
}

.detail-contact-form p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.detail-form-feedback {
  display: block;
  min-height: 20px;
  color: var(--brand);
  font-size: 13px;
  line-height: 1.35;
}

.seller-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffaf3;
}

.seller-logo {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
  font-weight: 950;
}

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

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

.seller-card a {
  color: var(--brand);
  font-weight: 900;
  white-space: nowrap;
}

.seller-card-expanded {
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  padding: 14px;
}

.seller-brand-logo {
  width: 118px;
  max-height: 46px;
  object-fit: contain;
  object-position: left center;
}

.seller-card-expanded h2 {
  margin: 0;
  font-size: 18px;
}

.seller-card-expanded h2 a {
  color: var(--brand);
}

.seller-card-expanded h2 a:hover {
  text-decoration: underline;
}

.seller-compact-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.seller-card small {
  display: block;
  color: var(--muted);
  font-weight: 750;
}

.seller-about-text {
  display: grid;
  gap: 8px;
}

.seller-about-text p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.seller-about-text p strong {
  display: inline;
  color: var(--text);
  white-space: nowrap;
}

.seller-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.seller-actions a {
  display: grid;
  min-height: 42px;
  place-items: center;
  border: 1px solid rgba(229, 124, 0, 0.24);
  border-radius: 12px;
  background: #fff;
}

.seller-actions .seller-phone {
  color: var(--text);
  border-color: var(--line);
  background: #fff;
  font-size: 18px;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 28px;
  background: rgba(12, 12, 12, 0.88);
}

.gallery-lightbox.open {
  display: grid;
}

.gallery-lightbox figure {
  display: grid;
  gap: 10px;
  width: min(1100px, 100%);
  margin: 0;
}

.gallery-lightbox img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: var(--radius);
  background: #111;
}

.gallery-lightbox figcaption {
  color: #fff;
  text-align: center;
  font-weight: 850;
}

.gallery-close,
.gallery-nav {
  position: absolute;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
  cursor: pointer;
}

.gallery-close {
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  font-size: 30px;
}

.gallery-nav {
  top: 50%;
  width: 52px;
  height: 52px;
  font-size: 42px;
  transform: translateY(-50%);
}

.gallery-prev {
  left: 22px;
}

.gallery-next {
  right: 22px;
}

.detail-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}

.detail-info article {
  padding: 22px;
}

.detail-info dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.detail-info dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.detail-info dt {
  color: var(--muted);
  font-weight: 800;
}

.detail-info dd {
  margin: 0;
  font-weight: 900;
  text-align: right;
}

.detail-sponsored-section,
.detail-related-section,
.detail-commercial-links {
  margin-top: 24px;
}

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

.detail-sponsored-card {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 132px;
  padding: 14px;
  color: var(--text);
  background: #fff;
  border: 1px solid rgba(229, 124, 0, 0.22);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.detail-sponsored-card:hover,
.detail-machine-card:hover {
  border-color: rgba(229, 124, 0, 0.42);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.detail-sponsored-card img {
  width: 100%;
  height: 104px;
  object-fit: cover;
  border-radius: 12px;
}

.detail-sponsored-card div {
  display: grid;
  gap: 6px;
}

.detail-sponsored-card span,
.detail-machine-body span {
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  color: #7a3d00;
  background: var(--brand-soft);
  font-size: 12px;
  font-weight: 900;
}

.detail-sponsored-card strong {
  font-size: 18px;
  line-height: 1.18;
}

.detail-sponsored-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.detail-related-section .section-head a {
  color: var(--brand);
  font-weight: 900;
}

.detail-machine-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.detail-machine-card {
  display: grid;
  overflow: hidden;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.detail-machine-media img,
.detail-machine-media .placeholder {
  display: grid;
  width: 100%;
  aspect-ratio: 16 / 9;
  place-items: center;
  object-fit: cover;
  color: var(--brand);
  background: #fff7ed;
  font-size: 34px;
  font-weight: 950;
}

.detail-machine-body {
  display: grid;
  gap: 8px;
  padding: 14px;
}

.detail-machine-body h3 {
  display: -webkit-box;
  min-height: 44px;
  margin: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 18px;
  line-height: 1.2;
}

.detail-machine-body p {
  display: -webkit-box;
  min-height: 40px;
  margin: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.detail-machine-body strong {
  font-size: 20px;
}

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

.detail-commercial-links a {
  display: grid;
  min-height: 68px;
  place-items: center;
  padding: 14px;
  color: var(--text);
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  font-weight: 900;
}

.detail-commercial-links a:hover {
  color: var(--brand);
  border-color: rgba(229, 124, 0, 0.32);
}

.advertiser-page {
  width: min(1280px, calc(100% - 36px));
  margin: 0 auto;
  padding: 32px 0 58px;
}

.advertiser-profile,
.advertiser-about article,
.advertiser-machine-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.advertiser-profile {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(240px, 0.35fr);
  gap: 20px;
  align-items: center;
  padding: 24px;
}

.advertiser-profile-rich {
  grid-template-columns: 180px minmax(0, 1fr) 260px;
}

.advertiser-profile-logo-card {
  display: grid;
  min-height: 138px;
  place-items: center;
  padding: 18px;
  border: 1px solid rgba(229, 124, 0, 0.18);
  border-radius: 16px;
  background: #fffaf3;
}

.advertiser-profile-logo-card img {
  width: 100%;
  max-height: 92px;
  object-fit: contain;
}

.advertiser-profile-initials {
  display: grid;
  width: 96px;
  height: 96px;
  place-items: center;
  border-radius: 22px;
  color: #fff;
  background: linear-gradient(135deg, #ed7a00, #07111d);
  font-size: 34px;
  font-weight: 950;
}

.advertiser-profile-logo {
  display: grid;
  width: 86px;
  height: 86px;
  place-items: center;
  border-radius: 18px;
  color: #fff;
  background: var(--brand);
  font-size: 30px;
  font-weight: 950;
}

.advertiser-profile h1 {
  margin: 6px 0 8px;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1;
}

.advertiser-profile p {
  max-width: 720px;
  color: var(--muted);
  line-height: 1.55;
}

.advertiser-profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.advertiser-profile-tags span {
  padding: 7px 10px;
  border-radius: 999px;
  color: #7a3d00;
  background: var(--brand-soft);
  font-size: 12px;
  font-weight: 900;
}

.advertiser-profile aside {
  display: grid;
  gap: 12px;
  justify-items: stretch;
}

.advertiser-profile aside strong {
  text-align: center;
  font-size: 22px;
}

.advertiser-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.advertiser-stats span {
  display: grid;
  gap: 2px;
  min-height: 78px;
  place-items: center;
  padding: 12px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  color: var(--muted);
  font-weight: 850;
}

.advertiser-stats strong {
  color: var(--brand);
  font-size: 28px;
}

.advertiser-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.advertiser-info-grid article,
.advertiser-category-summary,
.advertiser-segment-block,
.advertiser-trust {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.advertiser-info-grid article {
  padding: 22px;
}

.advertiser-info-grid h2,
.advertiser-trust h2 {
  margin-bottom: 14px;
}

.advertiser-info-grid dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.advertiser-info-grid dl div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.advertiser-info-grid dt {
  color: var(--muted);
  font-weight: 850;
}

.advertiser-info-grid dd {
  margin: 0;
  text-align: right;
  font-weight: 900;
}

.advertiser-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.advertiser-chip-list span {
  padding: 8px 11px;
  border-radius: 999px;
  color: #7a3d00;
  background: var(--brand-soft);
  font-size: 13px;
  font-weight: 900;
}

.advertiser-category-summary,
.advertiser-trust {
  margin-top: 24px;
  padding: 22px;
}

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

.advertiser-category-grid a {
  display: grid;
  gap: 6px;
  min-height: 128px;
  padding: 16px;
  color: var(--text);
  background: #fffaf3;
  border: 1px solid rgba(229, 124, 0, 0.18);
  border-radius: 14px;
}

.advertiser-category-grid a:hover {
  border-color: rgba(229, 124, 0, 0.42);
}

.advertiser-category-grid span,
.advertiser-type-head span {
  color: var(--brand);
  font-size: 13px;
  font-weight: 900;
}

.advertiser-category-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.advertiser-machines {
  margin-top: 28px;
}

.advertiser-machines .section-head {
  margin-bottom: 14px;
}

.advertiser-machines .section-head a {
  color: var(--brand);
  font-weight: 900;
}

.advertiser-machine-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.advertiser-segment-list {
  display: grid;
  gap: 18px;
}

.advertiser-segment-block {
  padding: 18px;
}

.advertiser-segment-block > header {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: end;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.advertiser-segment-block > header h3 {
  margin: 4px 0 0;
  font-size: clamp(24px, 3vw, 34px);
}

.advertiser-segment-block > header > span {
  padding: 8px 12px;
  border-radius: 999px;
  color: #7a3d00;
  background: var(--brand-soft);
  font-weight: 900;
  white-space: nowrap;
}

.advertiser-type-block + .advertiser-type-block {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.advertiser-type-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.advertiser-type-head h4 {
  margin: 0;
  font-size: 20px;
}

.advertiser-machine-card {
  display: grid;
  overflow: hidden;
  color: var(--text);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.advertiser-machine-card:hover {
  border-color: rgba(229, 124, 0, 0.38);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.advertiser-machine-media img,
.advertiser-machine-media .placeholder {
  display: grid;
  width: 100%;
  aspect-ratio: 16 / 9;
  place-items: center;
  object-fit: cover;
  color: var(--brand);
  background: #fff7ed;
  font-size: 34px;
  font-weight: 950;
}

.advertiser-machine-body {
  display: grid;
  gap: 8px;
  padding: 14px;
}

.advertiser-machine-body span {
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  color: #7a3d00;
  background: var(--brand-soft);
  font-size: 12px;
  font-weight: 900;
}

.advertiser-machine-body h3 {
  display: -webkit-box;
  min-height: 44px;
  margin: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 18px;
  line-height: 1.2;
}

.advertiser-machine-body p {
  display: -webkit-box;
  min-height: 42px;
  margin: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: var(--muted);
  line-height: 1.4;
}

.advertiser-machine-body strong {
  font-size: 21px;
}

.advertiser-about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.advertiser-about article {
  padding: 22px;
}

.advertiser-about p {
  color: var(--muted);
  line-height: 1.65;
}

.advertiser-trust {
  display: grid;
  grid-template-columns: minmax(240px, 0.38fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

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

.advertiser-trust-grid article {
  padding: 16px;
  background: #f8f9fb;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.advertiser-trust-grid p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

[data-commercial-link] {
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

[data-commercial-link]:hover {
  border-color: rgba(229, 124, 0, 0.38);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

[data-commercial-link]:focus-visible {
  outline: 3px solid rgba(229, 124, 0, 0.28);
  outline-offset: 3px;
}

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

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

.results-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
  margin-bottom: 14px;
}

.results-hero h1 {
  max-width: 680px;
  margin-bottom: 8px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.05;
}

.results-hero p {
  max-width: 740px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.results-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 8px;
}

.results-hero-stats span {
  display: grid;
  min-width: 86px;
  min-height: 52px;
  place-items: center;
  padding: 8px 12px;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 12px;
  font-weight: 850;
  text-align: center;
}

.results-hero-stats strong {
  display: block;
  color: var(--brand);
  font-size: 21px;
  line-height: 1;
}

.results-search-card {
  margin-bottom: 14px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.results-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px auto;
  gap: 12px;
  align-items: end;
}

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

.results-mobile-filter-toggle {
  display: none;
}

.results-filters {
  display: grid;
  gap: 12px;
}

.results-filter-actions {
  padding-top: 4px;
}

.results-filter-actions .btn {
  width: 100%;
}

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

.results-sponsored {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
  padding: 15px;
  background: linear-gradient(135deg, #fff8ee, #fff);
  border: 1px solid rgba(229, 124, 0, 0.28);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.results-sponsored:hover {
  border-color: rgba(229, 124, 0, 0.44);
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}

.results-sponsored:focus-visible {
  outline: 3px solid rgba(229, 124, 0, 0.28);
  outline-offset: 3px;
}

.results-sponsored figure {
  height: 104px;
  margin: 0;
  overflow: hidden;
  background: var(--brand-soft);
  border-radius: 12px;
}

.results-sponsored img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.results-sponsored > div {
  display: grid;
  gap: 6px;
}

.results-sponsored span {
  width: fit-content;
  border-radius: 999px;
  padding: 7px 10px;
  color: #7a3e00;
  background: var(--brand-soft);
  font-size: 12px;
  font-weight: 950;
}

.results-sponsored strong {
  font-size: 18px;
}

.results-sponsored p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.results-dynamic-filters {
  display: grid;
  gap: 12px;
}

.results-filter-subtitle {
  padding-top: 4px;
  border-top: 1px solid var(--line);
  color: var(--text);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.results-filter-note {
  padding: 12px;
  color: var(--muted);
  background: #f7f8f9;
  border: 1px dashed var(--line);
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.45;
}

.results-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.results-toolbar div {
  display: grid;
  gap: 2px;
}

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

.results-toolbar a {
  color: var(--brand);
  font-weight: 900;
}

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

.results-pagination {
  display: flex;
  justify-content: center;
  gap: 12px;
  align-items: center;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.results-pagination span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.results-pagination .btn:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.result-card {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr;
  min-width: 0;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.result-card:hover {
  border-color: rgba(229, 124, 0, 0.38);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.result-card:focus-visible {
  outline: 3px solid rgba(229, 124, 0, 0.28);
  outline-offset: 3px;
}

.result-media {
  position: relative;
  min-height: 0;
  aspect-ratio: 16 / 9.2;
  background: linear-gradient(135deg, #f3f4f6, var(--brand-soft));
}

.result-media img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.result-info {
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  min-width: 0;
  padding: 12px;
}

.result-info h3 {
  display: -webkit-box;
  min-height: 39px;
  max-height: 39px;
  margin-bottom: 7px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 14px;
  line-height: 1.32;
}

.result-info p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.result-bottom {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-items: center;
  align-self: end;
  margin-top: 10px;
}

.result-bottom strong {
  font-size: 16px;
}

.results-empty {
  grid-column: 1 / -1;
  padding: 28px;
  text-align: center;
  background: #fff;
  border: 1px dashed rgba(229, 124, 0, 0.42);
  border-radius: var(--radius);
}

.results-empty strong {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
}

.results-empty p {
  max-width: 580px;
  margin: 0 auto;
  color: var(--muted);
}

.static-page {
  width: min(var(--container), calc(100% - 36px));
  margin: 0 auto;
  padding: 42px 0 54px;
}

.static-hero {
  display: grid;
  gap: 12px;
  min-height: 260px;
  align-content: center;
  margin-bottom: 24px;
  padding: 36px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(5, 6, 7, 0.94), rgba(5, 6, 7, 0.74), rgba(5, 6, 7, 0.28)),
    url("../img/hero-maquinas-multisegmentos.png") center / cover no-repeat;
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
}

.static-hero .eyebrow {
  color: #ffb000;
}

.static-hero h1 {
  max-width: 820px;
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.02;
}

.static-hero p:not(.eyebrow) {
  max-width: 740px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 1.55;
}

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

.static-card {
  display: grid;
  min-height: 230px;
  align-content: start;
  gap: 12px;
  padding: 22px;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.static-card:hover {
  border-color: rgba(229, 124, 0, 0.4);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.static-card span {
  width: fit-content;
  border-radius: 999px;
  padding: 7px 10px;
  color: #7a3e00;
  background: var(--brand-soft);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.static-card h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.15;
}

.static-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.static-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-top: 22px;
  padding: 24px;
  color: #141414;
  background: linear-gradient(135deg, #ffd14b, #ee7c00);
  border-radius: 8px;
}

.static-cta h2,
.static-cta p {
  margin: 0;
}

.results-extra-section {
  margin-top: 26px;
}

.results-extra-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: end;
  margin-bottom: 14px;
}

.results-extra-head h2 {
  margin: 0;
  font-size: 24px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.related-card {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  min-height: 54px;
  align-items: center;
  gap: 12px;
  padding: 12px 8px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  transition: color 0.18s ease, transform 0.18s ease;
}

.related-card:hover {
  color: var(--brand);
  transform: translateX(2px);
}

.related-post-card:hover {
  border-color: rgba(229, 124, 0, 0.38);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.related-card span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: var(--brand);
  background: transparent;
  border: 1px solid rgba(229, 124, 0, 0.28);
  border-radius: 50%;
  padding: 0;
  font-size: 11px;
  font-weight: 950;
}

.related-card strong {
  font-size: 15px;
}

.related-card.primary {
  border-color: var(--line);
}

.related-posts {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: 14px;
}

.related-post-card {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.related-post-card img {
  width: 100%;
  height: 100%;
  min-height: 104px;
  object-fit: contain;
  background: #eef0f3;
}

.related-post-card div {
  display: grid;
  gap: 6px;
  padding: 12px 12px 12px 0;
}

.related-post-card span {
  color: var(--brand);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.related-post-card h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.3;
}

.related-post-card.featured {
  grid-row: span 2;
  grid-template-columns: 1fr;
  align-items: stretch;
}

.related-post-card.featured img {
  aspect-ratio: 16 / 8;
  min-height: 0;
  object-fit: cover;
}

.related-post-card.featured div {
  padding: 16px;
}

.related-post-card.featured h3 {
  font-size: 22px;
  line-height: 1.18;
}

.results-advertise-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-top: 28px;
  padding: 26px;
  color: #fff;
  background:
    radial-gradient(circle at 92% 20%, rgba(229, 124, 0, 0.32), transparent 16rem),
    linear-gradient(135deg, #1f1f1f, #3b3b3b);
  border-radius: var(--radius);
}

.results-advertise-cta h2 {
  max-width: 760px;
  margin-bottom: 8px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.08;
}

.results-advertise-cta p {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.results-cta-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.results-cta-points span {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 7px 10px;
  color: #ffe0b9;
  background: rgba(255, 255, 255, 0.08);
  font-size: 12px;
  font-weight: 900;
}

.ad-grid article {
  padding: 20px;
}

.ad-grid h3 {
  margin: 12px 0 8px;
}

.blog-section {
  padding-top: 14px;
}

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

.blog-card {
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.blog-card:hover {
  border-color: rgba(229, 124, 0, 0.38);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.blog-card:focus-visible {
  outline: 3px solid rgba(229, 124, 0, 0.28);
  outline-offset: 3px;
}

.blog-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--brand-soft);
}

.blog-card h3 {
  min-height: 92px;
  margin: 0;
  padding: 14px;
  font-size: 16px;
  line-height: 1.35;
}

.blog-view-all {
  display: flex;
  justify-content: center;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.blog-view-all a {
  color: var(--brand);
  font-weight: 950;
}

.advertiser-cta {
  margin-bottom: 50px;
  position: relative;
  overflow: hidden;
  padding: 34px;
  color: #fff;
  background:
    radial-gradient(circle at 92% 14%, rgba(229, 124, 0, 0.32), transparent 16rem),
    linear-gradient(135deg, #1f1f1f, #3b3b3b);
  border-radius: var(--radius);
}

.advertiser-cta::before {
  content: "";
  position: absolute;
  inset: 18px auto 18px 0;
  width: 5px;
  background: var(--brand);
  border-radius: 999px;
}

.advertiser-cta > * {
  position: relative;
}

.advertiser-cta p {
  color: rgba(255, 255, 255, 0.76);
}

.advertiser-copy {
  max-width: 680px;
}

.advertiser-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.advertiser-points span {
  min-height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 6px 11px;
  color: #ffe0b9;
  background: rgba(255, 255, 255, 0.08);
  font-size: 12px;
  font-weight: 900;
}

.advertiser-panel {
  display: grid;
  gap: 10px;
  justify-self: end;
  width: min(100%, 410px);
  padding: 18px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
}

.advertiser-panel strong {
  font-size: 20px;
  line-height: 1.2;
}

.advertiser-panel p {
  color: var(--muted);
}

.cta-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
  margin-top: 4px;
}

.cta-actions .btn {
  width: 100%;
}

.announce-page {
  width: min(1280px, calc(100% - 36px));
  margin: 0 auto;
  padding: 32px 0 56px;
}

.announce-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  gap: 24px;
  align-items: end;
  margin-bottom: 22px;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 243, 228, 0.76)),
    url("../img/anuncios/sopradora-romi.webp") right center / auto 100% no-repeat;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.announce-hero h1 {
  max-width: 850px;
  margin-bottom: 12px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.02;
}

.announce-hero p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.announce-hero-stats {
  display: grid;
  gap: 10px;
}

.announce-hero-stats span {
  display: grid;
  min-height: 68px;
  align-content: center;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(229, 124, 0, 0.18);
  border-radius: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.announce-hero-stats strong {
  color: var(--brand);
  font-size: 25px;
  line-height: 1;
}

.announce-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 20px;
  align-items: start;
}

.announce-form-card,
.announce-preview-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.announce-form-card {
  display: grid;
  gap: 18px;
  padding: 22px;
}

.announce-wizard-layout {
  grid-template-columns: minmax(0, 1fr) 390px;
}

.announce-form-head {
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.announce-form-head h2 {
  margin-bottom: 6px;
  font-size: clamp(26px, 3vw, 36px);
}

.announce-form-head p,
.announce-tip p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.announce-section {
  display: grid;
  gap: 13px;
}

.announce-section h3,
.announce-checklist h3 {
  margin: 0;
  font-size: 19px;
}

.announce-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.announce-steps button {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px 10px;
  color: var(--muted);
  background: #fff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 950;
}

.announce-steps button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.announce-steps span {
  display: grid;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 999px;
  color: var(--brand);
  background: var(--brand-soft);
}

.announce-steps button.is-active {
  color: var(--text);
  border-color: rgba(229, 124, 0, 0.45);
  background: #fffaf3;
}

.announce-steps button.is-complete span,
.announce-steps button.is-active span {
  color: #fff;
  background: var(--brand);
}

.announce-step-panel {
  display: none;
  gap: 18px;
  padding: 18px;
  background: #fbfcfd;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.announce-step-panel.is-active {
  display: grid;
}

.announce-section-title {
  display: grid;
  gap: 6px;
}

.announce-section-title span {
  width: fit-content;
  border-radius: 999px;
  padding: 5px 9px;
  color: #7a3e00;
  background: var(--brand-soft);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.announce-section-title h3 {
  margin: 0;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.12;
}

.announce-section-title p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.announce-section-title.compact {
  margin-top: 4px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.announce-section-title.compact h3 {
  font-size: 20px;
}

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

.announce-span-2 {
  grid-column: 1 / -1;
}

.photo-uploader {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(120px, 1fr));
  gap: 10px;
}

.photo-slot {
  display: grid;
  min-height: 116px;
  place-items: center;
  overflow: hidden;
  border: 1px dashed rgba(229, 124, 0, 0.45);
  border-radius: 12px;
  color: var(--brand);
  background: var(--brand-soft);
  cursor: pointer;
  font-weight: 900;
}

.photo-slot-main {
  position: relative;
  min-height: 150px;
  color: #fff;
  border-style: solid;
  background: #222;
}

.photo-slot-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-slot-main span {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 6px 9px;
  background: rgba(0, 0, 0, 0.62);
  border-radius: 999px;
  font-size: 12px;
}

.photo-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.photo-toolbar span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

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

.photo-empty-state {
  display: grid;
  grid-column: 1 / -1;
  min-height: 210px;
  place-items: center;
  border: 1px dashed rgba(229, 124, 0, 0.45);
  border-radius: 14px;
  color: var(--brand);
  background: #fffaf3;
  cursor: pointer;
  text-align: center;
}

.photo-empty-state strong {
  font-size: 20px;
}

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

.photo-item {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.photo-item.is-primary {
  border-color: rgba(229, 124, 0, 0.7);
  box-shadow: 0 0 0 3px rgba(229, 124, 0, 0.12);
}

.photo-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--brand-soft);
}

.photo-item-bar {
  display: grid;
  grid-template-columns: 1fr 34px 34px 62px;
  gap: 6px;
  padding: 8px;
}

.photo-item-bar button {
  min-width: 0;
  min-height: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 7px;
  color: var(--text);
  background: #fff;
  cursor: pointer;
  font-size: 11px;
  font-weight: 900;
}

.photo-item.is-primary .photo-item-bar button:first-child {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
}

.photo-item-bar button:disabled {
  opacity: 0.38;
  cursor: not-allowed;
}

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

.announce-plan-choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  align-items: stretch;
}

.announce-plan-choice-grid.needs-choice {
  animation: choicePulse 0.45s ease;
}

@keyframes choicePulse {
  0%,
  100% {
    transform: translateX(0);
  }
  35% {
    transform: translateX(-5px);
  }
  70% {
    transform: translateX(5px);
  }
}

.announce-plan-card {
  position: relative;
  display: grid;
  grid-template-rows: auto auto auto auto 1fr auto auto;
  gap: 12px;
  min-height: 410px;
  padding: 20px;
  overflow: hidden;
  background:
    linear-gradient(180deg, #ffffff, #fffaf3);
  border: 1px solid var(--line);
  border-radius: 14px;
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.announce-plan-card:hover {
  border-color: rgba(229, 124, 0, 0.42);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.announce-plan-card:has(input:checked) {
  border-color: rgba(229, 124, 0, 0.85);
  box-shadow: 0 0 0 3px rgba(229, 124, 0, 0.12), var(--shadow);
}

.announce-plan-card.is-recommended {
  background:
    linear-gradient(180deg, #fff, #fff4e5);
  border-color: rgba(229, 124, 0, 0.36);
}

.announce-plan-card input {
  position: absolute;
  right: 16px;
  top: 16px;
  width: 20px;
  min-height: 20px;
  accent-color: var(--brand);
}

.plan-ribbon {
  position: absolute;
  top: 14px;
  left: -34px;
  width: 134px;
  padding: 5px 0;
  color: #fff;
  background: var(--brand);
  font-size: 10px;
  font-weight: 950;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(-34deg);
}

.plan-pill {
  width: fit-content;
  min-height: 28px;
  border-radius: 999px;
  padding: 6px 10px;
  color: #7a3e00;
  background: var(--brand-soft);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.announce-plan-card strong {
  padding-right: 28px;
  font-size: 27px;
  line-height: 1.05;
}

.announce-plan-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.plan-price-line {
  display: grid;
  gap: 2px;
  padding-block: 6px;
}

.plan-price-line b {
  color: var(--text);
  font-size: 30px;
  line-height: 1;
}

.plan-price-line small {
  color: var(--muted);
  font-weight: 850;
}

.announce-plan-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.announce-plan-card li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 750;
}

.announce-plan-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand);
  font-weight: 950;
}

.announce-plan-card em {
  display: grid;
  min-height: 42px;
  place-items: center;
  border: 1px solid rgba(229, 124, 0, 0.38);
  border-radius: 12px;
  color: var(--brand);
  background: #fff;
  font-style: normal;
  font-weight: 950;
}

.announce-plan-card:has(input:checked) em {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
}

.plan-action-hint {
  display: block;
  min-height: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
}

.announce-plan-note {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: center;
  padding: 13px 14px;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 13px;
}

.announce-plan-note strong {
  color: var(--text);
}

.plan-after-section {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(190px, 0.55fr) minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-top: 0;
  padding: 14px;
  background:
    linear-gradient(135deg, #fffaf3 0%, #ffffff 62%);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.plan-flow-copy {
  display: grid;
  align-content: center;
  gap: 4px;
}

.plan-flow-copy h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.15;
}

.plan-flow-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

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

.plan-flow-steps article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 2px 8px;
  min-height: 72px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.plan-flow-steps span {
  grid-row: span 2;
  color: var(--brand);
  font-size: 12px;
  font-weight: 950;
}

.plan-flow-steps strong {
  font-size: 14px;
}

.plan-flow-steps small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

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

.payment-method-card {
  position: relative;
  display: grid;
  gap: 7px;
  min-height: 128px;
  padding: 16px 48px 16px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}

.payment-method-card:has(input:checked) {
  border-color: rgba(229, 124, 0, 0.78);
  background: #fffaf3;
  box-shadow: 0 0 0 3px rgba(229, 124, 0, 0.1);
}

.payment-method-card input {
  position: absolute;
  right: 16px;
  top: 16px;
  width: 20px;
  min-height: 20px;
  accent-color: var(--brand);
}

.payment-method-card strong {
  font-size: 20px;
}

.payment-method-card span,
.payment-note span {
  color: var(--muted);
  line-height: 1.45;
}

.payment-note,
.order-success-card,
.plan-summary-card {
  display: grid;
  gap: 10px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.payment-custom-message,
.payment-order-summary {
  display: grid;
  gap: 10px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.payment-custom-message {
  display: none;
  background: #fffaf3;
  border-color: rgba(229, 124, 0, 0.26);
}

.payment-order-summary dl,
.panel-card dl {
  display: grid;
  gap: 1px;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.payment-order-summary dl {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.payment-order-summary dl div,
.panel-card dl div {
  display: grid;
  gap: 5px;
  padding: 11px;
  background: #fbfcfd;
}

.payment-order-summary dt,
.panel-card dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.payment-order-summary dd,
.panel-card dd {
  margin: 0;
  font-weight: 850;
  overflow-wrap: anywhere;
}

.captcha-check {
  display: flex;
  gap: 10px;
  align-items: center;
  width: fit-content;
  min-height: 48px;
  padding: 10px 12px;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.captcha-check input {
  width: 20px;
  min-height: 20px;
  accent-color: var(--brand);
}

.captcha-check span {
  color: var(--text);
  font-size: 14px;
  text-transform: none;
}

.order-success-card {
  min-height: 230px;
  align-content: center;
  text-align: center;
}

.order-success-card > span {
  justify-self: center;
  border-radius: 999px;
  padding: 7px 12px;
  color: #7a3e00;
  background: var(--brand-soft);
  font-size: 13px;
  font-weight: 950;
}

.order-success-card h3 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
}

.order-success-card p {
  max-width: 620px;
  margin: 0 auto;
  color: var(--muted);
  line-height: 1.55;
}

.order-success-card .btn {
  justify-self: center;
}

.plan-summary-card h3 {
  margin: 0;
  font-size: 28px;
}

.plan-summary-card > strong {
  color: var(--brand);
  font-size: 24px;
}

.plan-summary-card p {
  margin: 0;
  color: var(--muted);
}

.plan-summary-card ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.plan-summary-card li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.plan-summary-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand);
}

.plan-summary-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 9px;
  color: var(--muted);
  font-size: 13px;
}

.plan-summary-line b {
  color: var(--text);
  text-align: right;
}

.plan-benefit-strip {
  display: grid;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.plan-benefit-strip span {
  display: grid;
  gap: 2px;
  padding: 10px;
  background: #fffaf3;
  border: 1px solid rgba(229, 124, 0, 0.16);
  border-radius: 10px;
  color: var(--muted);
  font-size: 13px;
}

.plan-benefit-strip b {
  color: var(--text);
}

.plan-summary-cta {
  padding: 12px;
  color: #7a3e00;
  background: var(--brand-soft);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 950;
  line-height: 1.45;
}

.announce-plan {
  position: relative;
  display: grid;
  gap: 6px;
  min-height: 126px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}

.announce-plan:has(input:checked) {
  border-color: rgba(229, 124, 0, 0.56);
  background: var(--brand-soft);
}

.announce-plan input {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 18px;
  min-height: 18px;
  accent-color: var(--brand);
}

.announce-plan strong {
  padding-right: 26px;
  font-size: 17px;
}

.announce-plan span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.announce-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 4px;
}

.announce-actions .btn {
  min-width: 150px;
}

.announce-preview-panel {
  padding: 16px;
}

.announce-preview-sticky {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 14px;
}

.announce-preview-card {
  box-shadow: none;
}

.announce-checklist,
.announce-tip {
  display: grid;
  gap: 10px;
  padding: 14px;
  background: #fffaf4;
  border: 1px solid rgba(229, 124, 0, 0.2);
  border-radius: 12px;
}

.announce-checklist span {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
}

.announce-checklist span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 16px;
  height: 16px;
  border: 1px solid rgba(229, 124, 0, 0.38);
  border-radius: 999px;
  background: #fff;
}

.announce-checklist span.is-ready {
  color: var(--text);
}

.announce-checklist span.is-ready::before {
  content: "✓";
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
  font-size: 11px;
  font-weight: 950;
}

.footer {
  display: grid;
  grid-template-columns: minmax(230px, 1.05fr) repeat(4, minmax(140px, 0.8fr));
  gap: 28px;
  width: 100%;
  margin-inline: 0;
  padding: 34px max(18px, calc((100vw - var(--container)) / 2)) 18px;
  background: #0b0d0e;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pre-footer-section {
  display: grid;
  gap: 24px;
  width: 100%;
  margin-top: 44px;
  padding: 34px max(18px, calc((100vw - var(--container)) / 2)) 28px;
  color: #fff;
  background:
    radial-gradient(circle at 78% 22%, rgba(229, 124, 0, 0.16), transparent 32%),
    linear-gradient(135deg, #090b0c, #171919);
}

.why-buy {
  display: grid;
  gap: 20px;
}

.why-buy > .eyebrow {
  justify-self: center;
  margin-bottom: 0;
  color: #ffb000;
}

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

.why-grid article {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 10px 14px;
  align-items: center;
  min-height: 108px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}

.why-grid span {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  grid-row: 1 / 3;
  color: #ffb000;
  background: rgba(255, 176, 0, 0.08);
  border-radius: 8px;
  font-size: 26px;
  font-weight: 950;
}

.why-grid strong {
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
}

.why-grid p {
  grid-column: 2;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.45;
}

.sell-machine-strip {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px 24px;
  color: #151515;
  background:
    linear-gradient(135deg, rgba(255, 207, 67, 0.96), rgba(238, 124, 0, 0.94)),
    url("../img/hero-maquinas-multisegmentos.png") right center / auto 160% no-repeat;
  border-radius: 8px;
}

.sell-machine-strip > span {
  font-size: 52px;
}

.sell-machine-strip strong {
  display: block;
  margin-bottom: 4px;
  font-size: 22px;
  text-transform: uppercase;
}

.sell-machine-strip p {
  margin: 0;
  font-weight: 750;
  line-height: 1.4;
}

.sell-machine-strip .btn {
  min-width: 170px;
  border-radius: 6px;
}

.site-dark-footer {
  color: #fff;
  background:
    radial-gradient(circle at 18% 0%, rgba(229, 124, 0, 0.1), transparent 28%),
    linear-gradient(135deg, #090b0c, #151718);
}

.site-dark-footer .footer-brand > img {
  filter: brightness(0) invert(1);
}

.site-dark-footer h3 {
  color: #fff;
  font-size: 13px;
  text-transform: uppercase;
}

.site-dark-footer a,
.site-dark-footer p {
  color: rgba(255, 255, 255, 0.72);
}

.site-dark-footer .footer-column a:hover,
.site-dark-footer .footer-bottom a:hover {
  color: #ffb000;
}

.site-dark-footer .footer-social a {
  color: #fff;
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 255, 255, 0.16);
}

.site-dark-footer .footer-social a:hover {
  color: #141414;
  background: #ffb000;
}

.site-dark-footer .footer-bottom {
  border-color: rgba(255, 255, 255, 0.1);
}

.site-dark-footer .footer-bottom,
.site-dark-footer .footer-bottom a {
  color: rgba(255, 255, 255, 0.78);
}

.companies-page {
  min-height: 100vh;
  background: #f4f6f8;
}

.companiesHero {
  padding: 74px 0 42px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(2, 14, 26, 0.94), rgba(2, 14, 26, 0.72)),
    url("../img/hero-maquinas-multisegmentos.png") center / cover no-repeat;
}

.companiesHeroInner {
  display: grid;
  gap: 18px;
}

.companiesHero h1 {
  max-width: 860px;
  margin: 0;
  color: #fff;
  font-size: clamp(38px, 5vw, 72px);
  line-height: 0.98;
  letter-spacing: 0;
}

.companiesHero p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.48;
}

.companiesSearch {
  display: grid;
  grid-template-columns: minmax(260px, 1.6fr) minmax(160px, 0.7fr) minmax(160px, 0.7fr) auto;
  gap: 10px;
  align-items: end;
  max-width: 1180px;
  margin-top: 18px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.companiesSearch label {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.companiesSearch span {
  color: #4c5663;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.companiesSearch input,
.companiesSearch select {
  width: 100%;
  min-width: 0;
  height: 52px;
  border: 1px solid #d7dde4;
  border-radius: 10px;
  padding: 0 14px;
  color: #111827;
  background: #fff;
  font: 650 15px/1.2 var(--font, inherit);
  outline: 0;
}

.companiesSearch button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  border: 0;
  border-radius: 10px;
  padding: 0 24px;
  color: #fff;
  background: #ee7c00;
  font-weight: 950;
  cursor: pointer;
}

.companiesSponsorWrap {
  position: relative;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 40px;
  gap: 12px;
  align-items: center;
  margin-top: 32px;
}

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

.companySponsorCard {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 218px;
  overflow: hidden;
  border-radius: 8px;
  color: #fff;
  background: #061524;
  box-shadow: 0 18px 42px rgba(10, 24, 38, 0.16);
}

.companySponsorCard img,
.companySponsorCard > span {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.companySponsorCard > span {
  z-index: -1;
  background: linear-gradient(90deg, rgba(3, 15, 28, 0.94), rgba(3, 15, 28, 0.42));
}

.companySponsorCard div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  width: min(82%, 380px);
  padding: 26px;
}

.companySponsorCard small {
  margin-bottom: 8px;
  color: #ff9b18;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.companySponsorCard h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(24px, 2.1vw, 34px);
  line-height: 1.02;
}

.companySponsorCard p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 15px;
  line-height: 1.42;
}

.companySponsorCard strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 6px;
  padding: 0 18px;
  color: #061524;
  background: #fff;
  font-size: 14px;
}

.companiesCarouselArrow {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid #d9e0e7;
  border-radius: 999px;
  color: #061524;
  background: #fff;
  box-shadow: 0 10px 26px rgba(10, 24, 38, 0.12);
  cursor: pointer;
}

.companiesDots {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  gap: 7px;
}

.companiesDots b,
.companiesDots i {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #c5ced8;
}

.companiesDots b {
  background: #ee7c00;
}

.companiesQuickStats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.companiesQuickStats article {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 4px 12px;
  align-items: center;
  min-height: 92px;
  padding: 18px;
  border: 1px solid #dfe5eb;
  border-radius: 8px;
  background: #fff;
}

.companiesQuickStats i {
  grid-row: span 2;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 8px;
  color: #ee7c00;
  background: #fff3e4;
  font-size: 22px;
}

.companiesQuickStats strong {
  color: #071525;
  font-size: 28px;
  line-height: 1;
}

.companiesQuickStats span {
  color: #586473;
  font-size: 13px;
  font-weight: 750;
}

.companiesDirectory {
  margin-top: 38px;
}

.companiesDirectory .sectionHead small {
  color: #ee7c00;
  font-weight: 950;
  text-transform: uppercase;
}

.companiesTabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0 18px;
}

.companiesTabs button {
  flex: 0 0 auto;
  border: 1px solid #dfe5eb;
  border-radius: 999px;
  padding: 10px 16px;
  color: #4d5865;
  background: #fff;
  font-weight: 850;
  cursor: pointer;
}

.companiesTabs button.is-active {
  color: #fff;
  border-color: #071525;
  background: #071525;
}

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

.companyDirectoryCard,
.companiesEmpty {
  min-width: 0;
  border: 1px solid #dfe5eb;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(10, 24, 38, 0.08);
}

.companyDirectoryCard {
  display: flex;
  min-height: 166px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px 18px;
  color: #071525;
  text-align: center;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.companyDirectoryCard:hover {
  transform: translateY(-3px);
  border-color: rgba(238, 124, 0, 0.42);
  box-shadow: 0 20px 44px rgba(10, 24, 38, 0.13);
}

.companyDirectoryLogo {
  display: grid;
  width: 100%;
  min-height: 58px;
  place-items: center;
}

.companyDirectoryLogo img {
  max-width: 88%;
  max-height: 58px;
  object-fit: contain;
}

.companyDirectoryLogo strong {
  color: #062343;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 950;
  line-height: 1;
}

.companyDirectoryCard h3 {
  margin: 0;
  color: #071525;
  font-size: 15px;
  font-weight: 950;
  line-height: 1.2;
}

.companyDirectoryCard p {
  margin: 0;
  color: #647081;
  font-size: 13px;
  font-weight: 650;
}

.companiesEmpty {
  grid-column: 1 / -1;
  padding: 30px;
  text-align: center;
}

.companiesEmpty strong {
  display: block;
  color: #071525;
  font-size: 24px;
}

.companiesEmpty p {
  color: #647081;
}

.companiesEmpty a {
  color: #ee7c00;
  font-weight: 950;
}

.companiesCta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  margin-block: 44px 54px;
  padding: 26px;
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(4, 19, 33, 0.96), rgba(4, 19, 33, 0.8)),
    url("../img/categorias/industriais.png") center / cover no-repeat;
}

.companiesCta small {
  color: #ff9b18;
  font-weight: 950;
  text-transform: uppercase;
}

.companiesCta h2 {
  max-width: 740px;
  margin: 6px 0 8px;
  color: #fff;
  font-size: clamp(28px, 3.5vw, 46px);
}

.companiesCta p {
  max-width: 640px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 1100px) {
  .companiesSearch {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .companiesSearch button {
    grid-column: span 2;
  }

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

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

@media (max-width: 760px) {
  .companiesHero {
    padding: 46px 0 30px;
  }

  .companiesHero h1 {
    font-size: clamp(34px, 11vw, 48px);
  }

  .companiesSearch,
  .companiesSponsorWrap,
  .companiesSponsorTrack,
  .companiesQuickStats,
  .companiesCta {
    grid-template-columns: 1fr;
  }

  .companiesGrid {
    grid-template-columns: 1fr;
  }

  .companyDirectoryCard {
    min-height: 150px;
  }

  .companiesSearch button {
    grid-column: auto;
  }

  .companiesCarouselArrow {
    display: none;
  }

  .companySponsorCard {
    min-height: 190px;
  }

  .companySponsorCard:nth-child(n+2) {
    display: none;
  }

  .companiesCta {
    align-items: start;
  }

  .companiesCta .btn {
    width: 100%;
  }
}

.footer-newsletter form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px;
  gap: 0;
  overflow: hidden;
  margin-top: 12px;
  border: 1px solid rgba(255, 176, 0, 0.48);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
}

.footer-newsletter input {
  min-width: 0;
  height: 48px;
  border: 0;
  padding: 0 14px;
  color: #fff;
  background: transparent;
  font: inherit;
  outline: 0;
}

.footer-newsletter input::placeholder {
  color: rgba(255, 255, 255, 0.64);
}

.footer-newsletter button {
  display: grid;
  height: 48px;
  place-items: center;
  border: 0;
  color: #151515;
  background: linear-gradient(135deg, #ffd14b, #ee7c00);
  font-size: 18px;
  font-weight: 950;
  cursor: pointer;
}

body:has(.results-page) .footer,
body:has(.listing-detail-page) .footer,
body:has(.advertiser-page) .footer,
body:has(.announce-page) .footer,
body:has(.panel-page) .footer,
body:has(.buyer-page) .footer {
  padding-inline: max(18px, calc((100vw - 1280px) / 2));
}

.panel-page {
  width: min(1280px, calc(100% - 36px));
  margin: 0 auto;
  padding: 32px 0 56px;
}

.panel-loading,
.panel-error,
.panel-hero,
.panel-card,
.panel-listing-lock,
.panel-step-grid article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.panel-loading,
.panel-error {
  display: grid;
  min-height: 280px;
  place-items: center;
  padding: 30px;
  text-align: center;
}

.panel-error h1 {
  max-width: 680px;
  margin-bottom: 10px;
  font-size: clamp(34px, 5vw, 58px);
}

.panel-error p {
  max-width: 560px;
  color: var(--muted);
  line-height: 1.55;
}

.panel-shell {
  display: grid;
  gap: 18px;
}

.panel-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 18px;
  align-items: end;
  padding: 24px;
}

.panel-hero h1 {
  margin-bottom: 10px;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.02;
}

.panel-hero p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.panel-status-card {
  display: grid;
  gap: 8px;
  padding: 18px;
  background: #fffaf3;
  border: 1px solid rgba(229, 124, 0, 0.28);
  border-radius: 14px;
}

.panel-status-card span {
  width: fit-content;
  border-radius: 999px;
  padding: 5px 9px;
  color: #7a3e00;
  background: var(--brand-soft);
  font-size: 12px;
  font-weight: 950;
}

.panel-status-card strong {
  font-size: 24px;
}

.panel-status-card small {
  color: var(--muted);
  font-weight: 800;
}

.panel-status-card.is-active {
  color: #0b3d20;
  background: #ebfff3;
  border-color: rgba(37, 211, 102, 0.4);
}

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

.panel-card {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.panel-card-head h2 {
  margin-bottom: 0;
  font-size: clamp(24px, 3vw, 34px);
}

.panel-order-card .btn {
  justify-self: start;
}

.panel-listing-lock {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 22px;
  background:
    linear-gradient(135deg, #ffffff 0%, #fffaf3 100%);
}

.panel-listing-lock h2 {
  margin-bottom: 8px;
  font-size: clamp(26px, 4vw, 42px);
}

.panel-listing-lock p {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.panel-listing-lock .btn:disabled {
  opacity: 0.54;
  cursor: not-allowed;
}

.panel-listing-lock.is-open {
  background:
    linear-gradient(135deg, #ffffff 0%, #effff5 100%);
}

.panel-next-steps {
  padding-top: 16px;
}

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

.panel-step-grid article {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.panel-step-grid span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: #fff;
  background: var(--brand);
  border-radius: 999px;
  font-weight: 950;
}

.panel-step-grid strong {
  font-size: 18px;
}

.panel-step-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.orders-page {
  width: min(1280px, calc(100% - 36px));
  margin: 0 auto;
  padding: 32px 0 56px;
}

.orders-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 20px;
  align-items: end;
  margin-bottom: 18px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.orders-hero h1 {
  margin-bottom: 10px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.02;
}

.orders-hero p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

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

.orders-stats span {
  display: grid;
  min-height: 72px;
  place-items: center;
  padding: 10px;
  color: var(--muted);
  background: var(--brand-soft);
  border-radius: 12px;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}

.orders-stats strong {
  color: var(--brand);
  font-size: 26px;
  line-height: 1;
}

.orders-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 12px;
  margin-bottom: 18px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.orders-list {
  display: grid;
  gap: 14px;
}

.order-card,
.orders-empty {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.order-card {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.order-card-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.order-card-head span {
  display: inline-flex;
  margin-bottom: 8px;
  border-radius: 999px;
  padding: 5px 9px;
  color: #7a3e00;
  background: var(--brand-soft);
  font-size: 12px;
  font-weight: 950;
}

.order-card-head h2 {
  margin-bottom: 4px;
  font-size: 24px;
}

.order-card-head p {
  margin: 0;
  color: var(--muted);
}

.order-card-head > strong {
  border-radius: 999px;
  padding: 8px 11px;
  color: #fff;
  background: var(--brand);
  white-space: nowrap;
}

.order-card dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.order-card dl div {
  display: grid;
  gap: 5px;
  min-height: 72px;
  padding: 12px;
  background: #fbfcfd;
}

.order-card dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.order-card dd {
  margin: 0;
  font-weight: 850;
  overflow-wrap: anywhere;
}

.order-notes {
  margin: 0;
  padding: 12px;
  color: var(--muted);
  background: #fffaf3;
  border: 1px solid rgba(229, 124, 0, 0.16);
  border-radius: 12px;
  line-height: 1.5;
}

.order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.orders-empty {
  padding: 30px;
  color: var(--muted);
  text-align: center;
  font-weight: 850;
}

.footer img {
  width: 188px;
  margin-bottom: 12px;
}

.footer h3 {
  margin-bottom: 14px;
  font-size: 15px;
}

.footer a,
.footer p {
  display: block;
  margin-bottom: 8px;
}

.footer p {
  overflow-wrap: anywhere;
}

.footer-contact a {
  white-space: nowrap;
}

.footer-brand p {
  max-width: 360px;
}

.footer-column a {
  width: fit-content;
}

.footer-column a:hover,
.footer-bottom a:hover {
  color: var(--brand);
}

.footer-social {
  display: flex;
  gap: 9px;
  margin-top: 16px;
}

.footer-social a {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--brand);
  background: var(--brand-soft);
  border: 1px solid rgba(229, 124, 0, 0.18);
  border-radius: 999px;
}

.footer-social a:hover {
  color: #fff;
  background: var(--brand);
}

.footer-social svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  grid-column: 1 / -1;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.footer-bottom a {
  display: inline;
  margin: 0;
  color: var(--text);
  font-weight: 900;
}

/* Footer responsivo compartilhado pelas paginas internas */
.footer,
.siteFooter {
  box-sizing: border-box;
}

.footer {
  align-items: start;
}

.footer > *,
.siteFooter > * {
  min-width: 0;
}

.siteFooter {
  width: 100%;
  margin: 0;
  padding: 34px max(18px, calc((100vw - 1260px) / 2)) 18px;
  background: #fff;
  border-top: 1px solid var(--line);
}

.siteFooter .pageShell,
.siteFooter .footerGrid,
.footerGrid {
  min-width: 0;
}

.siteFooter .footerGrid,
.footerGrid {
  display: grid;
  grid-template-columns: minmax(230px, 1.4fr) repeat(4, minmax(130px, 1fr));
  gap: 28px;
  align-items: start;
}

.siteFooter .footerBrand p,
.footer-brand p {
  max-width: 360px;
}

.siteFooter .brand,
.footerBrand .brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  color: var(--text);
  text-decoration: none;
}

.siteFooter .brand img,
.footerBrand .brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex: 0 0 auto;
}

.siteFooter .brand span,
.footerBrand .brand span {
  display: grid;
  line-height: 0.9;
}

.siteFooter .brand strong,
.footerBrand .brand strong,
.siteFooter .brand b,
.footerBrand .brand b {
  font-size: 20px;
  font-weight: 950;
}

.siteFooter .brand b,
.footerBrand .brand b {
  color: var(--brand);
}

.siteFooter h3,
.footerGrid h3 {
  margin: 0 0 12px;
  font-size: 13px;
  text-transform: uppercase;
}

.siteFooter a,
.footerGrid a {
  overflow-wrap: anywhere;
}

.siteFooter .copyright,
.copyright {
  margin: 24px auto 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.siteFooter .copyright a,
.copyright a {
  color: var(--text);
  font-weight: 900;
}

.lead-dialog {
  width: min(520px, calc(100vw - 32px));
  border: 0;
  border-radius: var(--radius);
  padding: 0;
  box-shadow: var(--shadow);
}

.lead-dialog::backdrop {
  background: rgba(0, 0, 0, 0.45);
}

.lead-dialog form {
  display: grid;
  gap: 14px;
  padding: 24px;
}

.auth-dialog {
  width: min(880px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  border: 0;
  border-radius: 14px;
  padding: 0;
  overflow: auto;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
}

.auth-dialog::backdrop {
  background: rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(3px);
}

.auth-dialog form {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(320px, 1.15fr);
  gap: 0;
  min-height: 0;
  padding: 0;
  background: #fff;
}

.auth-aside {
  display: grid;
  align-content: center;
  gap: 14px;
  min-height: 0;
  padding: 34px;
  color: #fff;
  background:
    linear-gradient(145deg, rgba(9, 10, 11, 0.96), rgba(33, 23, 9, 0.92)),
    url("../img/hero-maquinas-multisegmentos.png") center / cover no-repeat;
}

.auth-aside img {
  width: 178px;
  filter: brightness(0) invert(1);
}

.auth-aside strong {
  max-width: 260px;
  font-size: 28px;
  line-height: 1.05;
}

.auth-aside span {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.45;
}

.auth-aside ul {
  display: grid;
  gap: 10px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.auth-aside li {
  display: flex;
  gap: 9px;
  align-items: center;
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  font-weight: 800;
}

.auth-aside li::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 5px rgba(229, 124, 0, 0.16);
}

.auth-content {
  display: grid;
  align-content: center;
  gap: 12px;
  min-height: 0;
  padding: 34px;
}

.auth-content h2 {
  margin-bottom: 0;
  font-size: clamp(26px, 2.8vw, 34px);
  line-height: 1.05;
}

.auth-copy {
  margin: 0 0 4px;
  color: var(--muted);
  line-height: 1.5;
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 4px;
  background: #f5f6f7;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.auth-fields {
  display: grid;
  gap: 9px;
}

.auth-fields label {
  gap: 7px;
}

.auth-fields input {
  min-height: 46px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
}

.auth-tabs button {
  min-height: 38px;
  border: 0;
  border-radius: 9px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-weight: 900;
}

.auth-tabs button.is-active {
  color: #fff;
  background: var(--brand);
}

.auth-register-only {
  display: none;
}

.auth-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.auth-remember {
  display: inline-flex;
  grid-template-columns: auto 1fr;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.auth-remember input {
  width: 16px;
  height: 16px;
}

.auth-message {
  min-height: 20px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.auth-message.is-error {
  color: #b42318;
}

.auth-forgot-link,
.auth-back-login {
  display: inline-flex;
  width: fit-content;
  border: 0;
  padding: 0;
  color: var(--brand);
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
}

.auth-forgot-link {
  justify-self: end;
}

.auth-back-login {
  display: none;
  justify-self: center;
}

.auth-advertiser-link {
  display: inline-flex;
  justify-self: center;
  color: var(--brand);
  font-size: 13px;
  font-weight: 900;
}

.auth-dialog .close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

.buyer-page {
  width: min(1280px, calc(100% - 36px));
  margin: 0 auto;
  padding: 32px 0 56px;
}

.buyer-hero,
.buyer-grid article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.buyer-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: 20px;
  align-items: end;
  margin-bottom: 18px;
  padding: 24px;
}

.buyer-hero h1 {
  max-width: 860px;
  margin-bottom: 10px;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.02;
}

.buyer-hero p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.buyer-hero-card {
  display: grid;
  gap: 8px;
  padding: 18px;
  color: #fff;
  background:
    linear-gradient(135deg, #222, #3a3a3a);
  border-radius: 14px;
}

.buyer-hero-card span {
  color: #ffbd68;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.buyer-hero-card strong {
  font-size: 24px;
}

.buyer-hero-card small {
  color: rgba(255, 255, 255, 0.76);
  font-weight: 750;
}

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

.buyer-grid article {
  display: grid;
  gap: 9px;
  padding: 18px;
}

.buyer-grid span {
  color: var(--brand);
  font-size: 13px;
  font-weight: 950;
}

.buyer-grid h2 {
  margin-bottom: 0;
  font-size: 24px;
}

.buyer-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.portal-panel-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: 18px;
  align-items: stretch;
  padding: 24px;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(9, 10, 11, 0.96), rgba(25, 20, 14, 0.86)),
    url("../img/hero-maquinas-multisegmentos.png") center / cover no-repeat;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.portal-panel-hero h1 {
  max-width: 760px;
  margin-bottom: 10px;
  color: #fff;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.02;
}

.portal-panel-hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
}

.portal-user-card {
  display: grid;
  align-content: center;
  gap: 9px;
  padding: 18px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 14px;
}

.portal-avatar {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  color: #fff;
  background: var(--brand);
  border-radius: 14px;
  font-weight: 950;
}

.portal-avatar-logo {
  width: 76px;
  min-width: 76px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.portal-avatar-logo img {
  display: block;
  width: 100%;
  height: 100%;
  padding: 8px;
  object-fit: contain;
}

.portal-user-card strong {
  font-size: 22px;
}

.portal-user-card small {
  color: var(--muted);
  font-weight: 800;
}

.portal-user-card .btn {
  margin-top: 4px;
}

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

.portal-kpi-grid article {
  display: grid;
  gap: 4px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
}

.portal-kpi-grid strong {
  color: var(--brand);
  font-size: 30px;
  line-height: 1;
}

.portal-kpi-grid span {
  color: var(--text);
  font-weight: 950;
}

.portal-kpi-grid small {
  color: var(--muted);
  font-weight: 750;
}

.portal-panel-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.portal-panel-nav {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 5px;
  padding: 14px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.portal-panel-nav button {
  position: relative;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 16px;
  gap: 12px;
  align-items: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 11px;
  padding: 0 10px 0 6px;
  color: #344054;
  background: transparent;
  cursor: pointer;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  font-weight: 650;
  text-align: left;
}

.portal-panel-nav button > span:not(.nav-icon) {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
}

.portal-panel-nav button:hover,
.portal-panel-nav button.is-active {
  color: #1f2937;
  background: #fff7ed;
  border-color: rgba(229, 124, 0, 0.22);
}

.portal-panel-nav button i {
  display: grid;
  width: 14px;
  height: 14px;
  place-items: center;
  justify-self: end;
  font-style: normal;
}

.portal-panel-nav button i::before {
  content: "";
  width: 9px;
  height: 9px;
  border-top: 1.8px solid #667085;
  border-right: 1.8px solid #667085;
  transform: rotate(45deg);
  transition: transform 0.18s ease;
}

.portal-panel-nav button.is-active i::before {
  transform: rotate(135deg);
}

.portal-panel-main,
.portal-card {
  display: grid;
  gap: 14px;
}

.portal-card {
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.portal-card h2 {
  margin-bottom: 0;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.08;
}

.portal-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.portal-action-card {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.portal-action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.portal-card-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.portal-card-head a,
.portal-card-head button {
  color: var(--brand);
  font-weight: 950;
}

.portal-table {
  display: grid;
  gap: 8px;
}

.portal-table-row {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) 90px 80px auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  background: #fafafa;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.portal-table-row img {
  width: 76px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
}

.portal-table-row strong,
.buyer-saved-list strong,
.portal-lead-mini strong {
  color: var(--text);
}

.portal-table-row small,
.buyer-saved-list small,
.portal-lead-mini small {
  display: block;
  color: var(--muted);
  font-weight: 750;
  line-height: 1.35;
}

.portal-table-row > span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.portal-row-placeholder {
  display: grid;
  width: 76px;
  height: 56px;
  place-items: center;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 8px;
  font-weight: 950;
}

.portal-empty-state {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 28px;
  color: var(--muted);
  text-align: center;
  background: #fffaf3;
  border: 1px dashed rgba(229, 124, 0, 0.38);
  border-radius: 12px;
}

.portal-empty-state strong {
  color: var(--text);
  font-size: 18px;
}

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

.portal-lead-mini {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.portal-lead-mini > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #8a4a00;
  background: var(--brand-soft);
  border-radius: 10px;
  font-weight: 950;
}

.portal-lead-mini time {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.portal-plan-card {
  align-content: start;
  background: #fffaf3;
  border-color: rgba(229, 124, 0, 0.24);
}

.advertiser-plan-intro {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  background: linear-gradient(135deg, #07101a, #0b2740);
}

.advertiser-plan-intro h2,
.advertiser-plan-intro p {
  color: #fff;
}

.advertiser-plan-intro .eyebrow {
  color: var(--brand);
}

.advertiser-plan-form {
  gap: 18px;
}

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

.advertiser-plan-card {
  position: relative;
  display: grid;
  gap: 10px;
  min-height: 230px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.advertiser-plan-card:hover,
.advertiser-plan-card:has(input:checked) {
  transform: translateY(-2px);
  border-color: rgba(229, 124, 0, 0.55);
  box-shadow: 0 16px 40px rgba(7, 16, 26, 0.12);
}

.advertiser-plan-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.advertiser-plan-card strong {
  color: var(--text);
  font-size: 20px;
  line-height: 1.1;
}

.advertiser-plan-card b {
  color: var(--brand);
  font-size: 26px;
  line-height: 1;
}

.advertiser-plan-card small {
  color: var(--muted);
  font-weight: 750;
  line-height: 1.35;
}

.advertiser-plan-card ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  color: var(--text);
  font-size: 13px;
  font-weight: 850;
  list-style: none;
}

.advertiser-plan-card li::before {
  content: "✓";
  margin-right: 7px;
  color: var(--brand);
}

.advertiser-plan-details {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.7fr) 230px;
  gap: 16px;
  align-items: start;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.panel-form-grid,
.panel-segment-grid {
  display: grid;
  gap: 10px;
}

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

.panel-form-grid label,
.panel-notes {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.panel-form-grid input,
.panel-form-grid select,
.panel-notes textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  font: inherit;
  font-weight: 750;
  text-transform: none;
}

.panel-segment-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.panel-segment-grid label {
  display: flex;
  gap: 9px;
  align-items: center;
  min-height: 34px;
  padding: 7px 9px;
  color: var(--text);
  background: #fafafa;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.15;
}

.panel-segment-grid input[type="checkbox"] {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  min-height: 0;
  margin: 0;
  accent-color: var(--brand);
}

.panel-segment-grid label span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.panel-notes {
  margin-top: 10px;
}

.panel-plan-summary {
  display: grid;
  gap: 8px;
  padding: 18px;
  color: #fff;
  background: #07101a;
  border-radius: 16px;
}

.panel-plan-summary h3 {
  margin: 0;
  color: #fff;
  font-size: 22px;
}

.panel-plan-summary strong {
  color: var(--brand);
  font-size: 28px;
  line-height: 1;
}

.panel-plan-summary span,
.panel-plan-summary p {
  color: rgba(255, 255, 255, 0.76);
  font-weight: 800;
}

.panel-plan-summary a {
  display: inline-flex;
  justify-content: center;
  min-height: 42px;
  margin-top: 8px;
  padding: 11px 14px;
  color: #07101a;
  background: var(--brand);
  border-radius: 10px;
  font-weight: 950;
}

.panel-filter-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px 170px;
  gap: 10px;
}

.panel-filter-row input,
.panel-filter-row select {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 11px;
  font: inherit;
  font-weight: 700;
}

.panel-data-table .portal-table-row {
  grid-template-columns: 70px minmax(0, 1fr) 96px 110px auto;
}

.panel-lead-table {
  display: grid;
  gap: 8px;
}

.panel-lead-table article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 105px 150px auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  background: #fafafa;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.panel-lead-table strong,
.panel-campaign-grid strong {
  color: var(--text);
}

.panel-lead-table small,
.panel-campaign-grid small {
  display: block;
  color: var(--muted);
  font-weight: 750;
  line-height: 1.35;
}

.panel-lead-table time {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.panel-lead-table b {
  justify-self: start;
  padding: 7px 10px;
  color: #8a4a00;
  background: var(--brand-soft);
  border-radius: 999px;
  font-size: 12px;
}

.panel-lead-table select {
  width: 100%;
  min-height: 38px;
  padding: 8px 10px;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  font-size: 13px;
  font-weight: 850;
}

.panel-lead-row .admin-row-actions {
  justify-content: flex-end;
}

.advertiser-lead-dialog {
  width: min(560px, calc(100% - 28px));
  border: 0;
  border-radius: 18px;
  padding: 0;
  box-shadow: 0 28px 80px rgba(7, 16, 26, 0.28);
}

.advertiser-lead-dialog form {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 28px;
}

.panel-lead-message {
  display: grid;
  gap: 8px;
  padding: 14px;
  background: #fff7ed;
  border: 1px solid rgba(229, 124, 0, 0.22);
  border-radius: 12px;
}

.panel-lead-message strong {
  color: var(--text);
}

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

.panel-campaign-grid article {
  display: grid;
  gap: 10px;
  align-content: start;
  min-height: 190px;
  padding: 16px;
  background: #fafafa;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.advertiser-profile-form {
  gap: 20px;
}

.advertiser-profile-grid {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.advertiser-logo-box {
  position: sticky;
  top: 102px;
  display: grid;
  gap: 12px;
  padding: 16px;
  background: #fffaf3;
  border: 1px solid rgba(229, 124, 0, 0.22);
  border-radius: 16px;
}

.advertiser-logo-box small {
  color: var(--muted);
  font-weight: 750;
  line-height: 1.4;
}

.advertiser-logo-preview {
  display: grid;
  width: 100%;
  aspect-ratio: 1.45;
  place-items: center;
  overflow: hidden;
  color: var(--brand);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  font-size: 38px;
  font-weight: 950;
}

.advertiser-logo-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 14px;
}

.advertiser-profile-sections {
  display: grid;
  gap: 18px;
}

.advertiser-profile-sections > section {
  display: grid;
  gap: 12px;
  padding: 16px;
  background: #fafafa;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.panel-plan-actions {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  padding-top: 4px;
}

.panel-plan-status-card {
  gap: 16px;
}

.panel-plan-status-card b {
  color: var(--brand);
}

.panel-plan-meter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.panel-plan-meter div {
  height: 10px;
  overflow: hidden;
  background: rgba(7, 16, 26, 0.12);
  border-radius: 999px;
}

.panel-plan-meter span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--brand), #ffb000);
  border-radius: inherit;
}

.panel-plan-meter strong {
  color: var(--text);
  font-size: 14px;
  font-weight: 950;
}

.panel-plan-status-actions,
.panel-lock-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.panel-create-allowed,
.panel-create-blocked {
  gap: 18px;
}

.panel-create-blocked {
  border-color: rgba(229, 124, 0, 0.28);
  background: linear-gradient(135deg, #fff, #fff7ed);
}

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

.panel-upgrade-options article,
.panel-sponsored-card {
  display: grid;
  gap: 10px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.panel-upgrade-options span,
.panel-sponsored-card span {
  color: var(--brand);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.panel-upgrade-options strong,
.panel-sponsored-card strong {
  color: var(--text);
  font-size: 18px;
  line-height: 1.15;
}

.buyer-saved-list {
  display: grid;
  gap: 10px;
}

.buyer-saved-list a {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px;
  background: #fafafa;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.buyer-saved-list img {
  width: 76px;
  height: 58px;
  object-fit: cover;
  border-radius: 8px;
}

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

.buyer-alert-grid article {
  display: grid;
  gap: 6px;
  padding: 14px;
  background: #fafafa;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.buyer-alert-grid span {
  color: var(--muted);
  font-weight: 800;
}

.buyer-alert-grid small {
  color: var(--brand);
  font-weight: 950;
}

.admin-shell-body {
  background: #f3f4f5;
}

.admin-shell {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  min-height: 100vh;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: auto;
  padding: 20px 18px;
  color: #26323f;
  background: #fff;
  border-right: 1px solid var(--line);
}

.admin-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 74px;
  margin-bottom: 24px;
}

.admin-brand img {
  width: 174px;
  filter: none;
}

.admin-brand span {
  display: none;
}

.admin-nav {
  display: grid;
  gap: 5px;
}

.admin-nav button {
  position: relative;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 16px;
  gap: 12px;
  align-items: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 11px;
  padding: 0 10px 0 6px;
  color: #344054;
  background: transparent;
  cursor: pointer;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  font-weight: 500;
  text-align: left;
}

.admin-nav button:hover,
.admin-nav button.is-active {
  color: #1f2937;
  background: #fff7ed;
  border-color: rgba(229, 124, 0, 0.22);
}

.admin-nav button > span:not(.nav-icon) {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-nav button i {
  display: grid;
  width: 14px;
  height: 14px;
  place-items: center;
  justify-self: end;
  font-style: normal;
}

.admin-nav button i::before {
  content: "";
  width: 9px;
  height: 9px;
  border-top: 1.8px solid #667085;
  border-right: 1.8px solid #667085;
  transform: rotate(45deg);
  transition: transform 0.18s ease;
}

.admin-nav button.is-expanded i::before {
  transform: rotate(135deg);
}

.nav-icon {
  position: relative;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: #667085;
}

.nav-icon::before,
.nav-icon::after {
  content: "";
  position: absolute;
  box-sizing: border-box;
}

.icon-dashboard::before {
  width: 22px;
  height: 14px;
  border: 1.8px solid currentColor;
  border-bottom: 0;
  border-radius: 22px 22px 0 0;
}

.icon-dashboard::after {
  width: 8px;
  height: 1.8px;
  background: currentColor;
  transform: translate(4px, 3px) rotate(-38deg);
}

.icon-orders::before,
.icon-companies::before,
.icon-listings::before,
.icon-taxonomy::before,
.icon-services::before,
.icon-leads::before,
.icon-ads::before,
.icon-blog::before {
  width: 20px;
  height: 20px;
  border: 1.8px solid currentColor;
  border-radius: 3px;
}

.icon-orders::after {
  width: 10px;
  height: 1.8px;
  background: currentColor;
  box-shadow: 0 5px 0 currentColor, 0 10px 0 currentColor;
}

.icon-companies::after,
.icon-listings::after {
  width: 1.8px;
  height: 14px;
  background: currentColor;
  box-shadow: 6px 0 0 currentColor, -6px 0 0 currentColor;
}

.icon-taxonomy::after {
  width: 11px;
  height: 11px;
  border: 1.8px solid currentColor;
  border-radius: 2px;
  transform: rotate(45deg);
}

.icon-leads::after {
  width: 12px;
  height: 8px;
  border: 1.8px solid currentColor;
  border-top: 0;
  transform: translateY(3px);
}

.icon-ads::after {
  width: 13px;
  height: 13px;
  border-top: 1.8px solid currentColor;
  border-right: 1.8px solid currentColor;
  transform: translate(-1px, 1px);
}

.icon-blog::after {
  width: 10px;
  height: 1.8px;
  background: currentColor;
  box-shadow: 0 5px 0 currentColor, 0 10px 0 currentColor;
}

.icon-users::before {
  width: 8px;
  height: 8px;
  border: 1.8px solid currentColor;
  border-radius: 999px;
  transform: translateY(-6px);
}

.icon-users::after {
  width: 20px;
  height: 10px;
  border: 1.8px solid currentColor;
  border-radius: 12px 12px 4px 4px;
  transform: translateY(6px);
}

.icon-settings::before {
  width: 20px;
  height: 20px;
  border: 1.8px solid currentColor;
  border-radius: 999px;
}

.icon-settings::after {
  width: 7px;
  height: 7px;
  border: 1.8px solid currentColor;
  border-radius: 999px;
}

.icon-logout::before {
  width: 18px;
  height: 16px;
  border: 1.8px solid currentColor;
  border-right: 0;
  border-radius: 3px 0 0 3px;
}

.icon-logout::after {
  width: 11px;
  height: 11px;
  border-top: 1.8px solid currentColor;
  border-right: 1.8px solid currentColor;
  transform: translate(5px, 0) rotate(45deg);
}

.admin-subnav {
  display: grid;
  gap: 2px;
  margin: 0 0 6px 40px;
  padding: 3px 0 5px 10px;
  border-left: 1px solid #e4e7ec;
}

.admin-subnav.is-collapsed {
  display: none;
}

.admin-subnav button {
  display: flex;
  min-height: 32px;
  border-radius: 8px;
  padding: 0 9px;
  color: #667085;
  font-size: 14px;
  font-weight: 500;
}

.admin-subnav button::before {
  content: "•";
  margin-right: 8px;
  color: var(--brand);
}

.admin-main {
  min-width: 0;
}

.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 12;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 76px;
  padding: 12px 22px;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.admin-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.admin-menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 2px 0;
  background: var(--text);
  border-radius: 999px;
}

.admin-global-search span {
  display: none;
}

.admin-global-search input {
  min-height: 44px;
  background: #f8f9fa;
}

.admin-user {
  position: relative;
}

.admin-user > button {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 12px 4px 4px;
  background: #fff;
  cursor: pointer;
  text-align: left;
}

.admin-user img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  background: var(--brand-soft);
  border-radius: 999px;
}

.admin-user strong,
.admin-user small {
  display: block;
  white-space: nowrap;
}

.admin-user small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.admin-user-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  display: none;
  min-width: 210px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.admin-user.is-open .admin-user-menu {
  display: grid;
}

.admin-user-menu a,
.admin-user-menu button {
  min-height: 38px;
  border: 0;
  border-radius: 9px;
  padding: 0 10px;
  color: var(--text);
  background: transparent;
  cursor: pointer;
  font-weight: 850;
  text-align: left;
}

.admin-user-menu a:hover,
.admin-user-menu button:hover {
  background: var(--brand-soft);
  color: var(--brand);
}

.admin-content {
  display: grid;
  gap: 18px;
  padding: 22px;
}

.admin-page-head,
.admin-panel,
.admin-kpi,
.admin-mini-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
}

.admin-page-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 20px;
}

.admin-page-head h1 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.04;
}

.admin-head-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

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

.admin-kpi {
  display: grid;
  gap: 8px;
  padding: 16px;
}

.admin-kpi span,
.admin-table-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-kpi strong {
  color: var(--brand);
  font-size: 34px;
  line-height: 1;
}

.admin-kpi small,
.admin-muted {
  color: var(--muted);
  font-weight: 750;
}

.admin-dashboard-grid,
.admin-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.8fr);
  gap: 14px;
}

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

.admin-company-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.admin-company-tabs button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  color: var(--text);
  background: #fff;
  cursor: pointer;
  font-family: "Segoe UI", Arial, sans-serif;
  font-weight: 750;
  box-shadow: var(--shadow-soft);
}

.admin-company-tabs button.is-active {
  color: #7a3e00;
  border-color: rgba(229, 124, 0, 0.42);
  background: var(--brand-soft);
}

.admin-company-tabs strong {
  display: grid;
  min-width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: var(--brand);
  font-size: 14px;
}

.admin-company-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.admin-company-metrics article {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 70px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.admin-company-metrics span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  grid-row: span 2;
  border-radius: 10px;
  color: #fff;
  background: var(--brand);
  font-size: 16px;
  font-weight: 950;
}

.admin-company-metrics strong {
  font-size: 24px;
  line-height: 1;
}

.admin-company-metrics small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

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

.admin-filter-bar.is-compact {
  grid-template-columns: minmax(130px, 0.65fr) minmax(150px, 0.75fr) minmax(180px, 1fr);
  align-items: end;
  margin-bottom: 12px;
}

.admin-filter-bar label {
  display: grid;
  gap: 7px;
}

.admin-filter-bar span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.admin-filter-bar select {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 12px;
  background: #fff;
  font-family: "Segoe UI", Arial, sans-serif;
  font-weight: 650;
}

.admin-filter-bar.is-compact select {
  min-height: 38px;
  border-radius: 10px;
  font-size: 14px;
}

.admin-companies-table .admin-table-row {
  grid-template-columns: minmax(220px, 1.1fr) minmax(220px, 1fr) minmax(160px, 0.75fr) minmax(170px, 0.8fr) minmax(110px, 0.45fr) minmax(250px, auto);
}

.admin-plans-table .admin-table-row {
  grid-template-columns: minmax(300px, 1.2fr) minmax(260px, 0.9fr) minmax(150px, 0.45fr) minmax(110px, 0.35fr) minmax(300px, auto);
}

.admin-plan-cell {
  display: grid;
  gap: 4px;
}

.admin-plan-cell b {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.admin-taxonomy-table .admin-table-row {
  grid-template-columns: minmax(240px, 1.1fr) minmax(260px, 1fr) minmax(130px, 0.45fr) minmax(110px, 0.35fr) minmax(250px, auto);
}

.admin-leads-table .admin-table-row {
  grid-template-columns: minmax(240px, 1.1fr) minmax(260px, 1fr) minmax(150px, 0.55fr) minmax(110px, 0.4fr) minmax(360px, auto);
}

.admin-ads-table .admin-table-row {
  grid-template-columns: minmax(300px, 1.25fr) minmax(210px, 0.75fr) minmax(210px, 0.75fr) minmax(110px, 0.35fr) minmax(250px, auto);
}

.admin-services-table .admin-table-row {
  grid-template-columns: minmax(300px, 1.2fr) minmax(260px, 1fr) minmax(220px, 0.8fr) minmax(110px, 0.35fr) minmax(250px, auto);
}

.admin-service-ads-table .admin-table-row {
  grid-template-columns: minmax(310px, 1.25fr) minmax(230px, 0.85fr) minmax(260px, 1fr) minmax(110px, 0.35fr) minmax(250px, auto);
}

.admin-blog-table .admin-table-row {
  grid-template-columns: minmax(330px, 1.35fr) minmax(240px, 0.9fr) minmax(120px, 0.38fr) minmax(110px, 0.35fr) minmax(230px, auto);
}

.admin-users-table .admin-table-row {
  grid-template-columns: minmax(260px, 1.05fr) minmax(150px, 0.55fr) minmax(190px, 0.7fr) minmax(110px, 0.35fr) minmax(130px, 0.45fr) minmax(230px, auto);
}

.admin-media-cell {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  column-gap: 12px;
  align-items: center;
}

.admin-media-cell img {
  width: 82px;
  height: 54px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--line);
  grid-row: span 2;
  background: var(--brand-soft);
}

.admin-media-cell b {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.admin-settings-card {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.admin-settings-card label {
  display: grid;
  gap: 7px;
}

.admin-settings-card label span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.admin-settings-card input,
.admin-settings-card select,
.admin-settings-card textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  background: #fff;
  color: var(--text);
  font-family: "Segoe UI", Arial, sans-serif;
  font-weight: 650;
}

.admin-taxonomy-cell {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  column-gap: 10px;
  align-items: center;
}

.admin-taxonomy-cell i {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  grid-row: span 2;
  border-radius: 10px;
  color: #fff;
  background: var(--dark);
  font-style: normal;
  font-size: 12px;
  font-weight: 950;
}

.admin-taxonomy-cell i img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.admin-category-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  color: var(--muted);
  font-size: 13px;
}

.admin-category-preview img {
  width: 110px;
  height: 62px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.admin-taxonomy-cell b {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-taxonomy-dialog {
  width: min(760px, calc(100vw - 28px));
}

.admin-lead-dialog,
.admin-ad-dialog {
  width: min(860px, calc(100vw - 28px));
}

.admin-message-box {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfcfd;
}

.admin-message-box p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.admin-ad-preview {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.admin-ad-preview img {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: 10px;
}

.admin-ad-preview-media {
  min-width: 0;
}

.admin-ad-preview-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}

.admin-ad-preview span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-inline-danger {
  appearance: none;
  border: 1px solid rgba(185, 28, 28, 0.22);
  border-radius: 999px;
  background: #fff5f5;
  color: #b91c1c;
  cursor: pointer;
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 900;
  padding: 9px 12px;
}

.admin-inline-danger:hover {
  border-color: rgba(185, 28, 28, 0.45);
  background: #fee2e2;
}

.admin-company-cell {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  column-gap: 10px;
  align-items: center;
}

.admin-company-cell i {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  grid-row: span 2;
  border-radius: 10px;
  color: #fff;
  background: var(--brand);
  font-style: normal;
  font-size: 13px;
  font-weight: 950;
}

.admin-company-cell b {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-company-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.35fr);
  gap: 14px;
  align-items: start;
}

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

.admin-company-card {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.admin-company-avatar {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: var(--brand);
  font-weight: 950;
}

.admin-company-main {
  min-width: 0;
}

.admin-company-title {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.admin-company-title h3 {
  margin: 0;
  font-size: 18px;
}

.admin-company-card p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.admin-company-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.admin-company-tags span {
  border-radius: 999px;
  padding: 6px 9px;
  color: #7a3e00;
  background: var(--brand-soft);
  font-size: 12px;
  font-weight: 800;
}

.admin-company-actions {
  display: flex;
  gap: 8px;
}

.admin-company-actions a,
.admin-company-actions button {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 12px;
  color: var(--text);
  background: #fff;
  cursor: pointer;
  font-family: "Segoe UI", Arial, sans-serif;
  font-weight: 750;
  white-space: nowrap;
}

.admin-company-actions a {
  color: #137a38;
  border-color: #c8f5d7;
  background: #f0fdf4;
}

.admin-chart {
  width: 100%;
  min-height: 220px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

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

.admin-ranking div {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 11px;
  background: #fbfcfd;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.admin-ranking span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: #fff;
  background: var(--brand);
  border-radius: 999px;
  font-weight: 950;
}

.admin-ranking strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-ranking em {
  color: var(--muted);
  font-style: normal;
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.admin-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.admin-panel h2 {
  margin: 0;
  font-size: 22px;
}

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

.admin-task-list span,
.admin-line {
  padding: 12px;
  background: #fbfcfd;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.admin-line {
  display: grid;
  gap: 4px;
}

.admin-line span {
  color: var(--muted);
}

.admin-table-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.admin-table {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.admin-table-row {
  display: grid;
  grid-template-columns: 120px minmax(180px, 1.2fr) minmax(150px, 0.8fr) minmax(150px, 0.7fr) minmax(160px, auto);
  gap: 12px;
  align-items: center;
  padding: 12px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.admin-orders-table .admin-table-row {
  grid-template-columns: 110px minmax(210px, 1.1fr) minmax(170px, 0.85fr) minmax(150px, 0.7fr) minmax(140px, 0.6fr) minmax(270px, auto);
}

.admin-table-row:last-child {
  border-bottom: 0;
}

.admin-table-row.is-head {
  color: var(--muted);
  background: #f8f9fa;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-table-row small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.admin-status {
  width: fit-content;
  border-radius: 999px;
  padding: 6px 9px;
  color: #7a3e00;
  background: var(--brand-soft);
  font-size: 12px;
  font-weight: 950;
}

.admin-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.admin-row-actions a,
.admin-row-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 11px 0 9px;
  color: var(--text);
  background: #fff;
  cursor: pointer;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 13px;
  font-weight: 750;
  line-height: 1;
  white-space: nowrap;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.admin-row-actions a:hover,
.admin-row-actions button:hover {
  transform: translateY(-1px);
  border-color: rgba(229, 124, 0, 0.42);
  background: #fffaf3;
}

.admin-action-btn img,
.admin-action-btn .action-icon {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 999px;
  color: var(--brand);
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
}

.admin-action-btn img {
  padding: 2px;
  background: #25d366;
}

.admin-row-actions .is-danger {
  color: #a11;
  border-color: #ffd6d6;
  background: #fff7f7;
}

.admin-row-actions .is-positive {
  color: #166534;
  border-color: #bbf7d0;
  background: #f0fdf4;
}

.admin-row-actions .is-positive .action-icon {
  color: #16a34a;
}

.admin-row-actions .is-muted {
  color: #4b5563;
  background: #f8fafc;
}

.admin-row-actions .is-whatsapp {
  color: #137a38;
  border-color: #c8f5d7;
  background: #f0fdf4;
}

.admin-row-actions .is-danger .action-icon {
  color: #dc2626;
}

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

.admin-mini-card {
  display: grid;
  gap: 8px;
  padding: 16px;
}

.admin-mini-card > span {
  width: fit-content;
  border-radius: 999px;
  padding: 5px 8px;
  color: #7a3e00;
  background: var(--brand-soft);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-mini-card h3 {
  margin: 0;
  font-size: 19px;
}

.admin-mini-card strong {
  color: var(--muted);
}

.admin-mini-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.admin-order-dialog {
  width: min(860px, calc(100vw - 28px));
}

.admin-listing-dialog,
.admin-listing-view-dialog {
  width: min(1040px, calc(100vw - 28px));
}

.admin-listings-table .admin-table-row {
  grid-template-columns: minmax(300px, 1.3fr) minmax(160px, 0.7fr) minmax(150px, 0.65fr) minmax(140px, 0.6fr) minmax(110px, 0.45fr) minmax(300px, auto);
}

.admin-listing-cell {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  column-gap: 11px;
  align-items: center;
}

.admin-listing-cell i {
  display: grid;
  width: 58px;
  height: 46px;
  place-items: center;
  grid-row: span 2;
  overflow: hidden;
  border-radius: 10px;
  color: #fff;
  background: var(--brand);
  font-style: normal;
  font-size: 16px;
  font-weight: 950;
}

.admin-listing-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-listing-cell b {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-form-section {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbfcfd;
}

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

.admin-form-wide {
  grid-column: 1 / -1;
}

.admin-dynamic-fields {
  min-height: 74px;
}

.admin-form-note {
  grid-column: 1 / -1;
  padding: 14px;
  border: 1px dashed rgba(229, 124, 0, 0.36);
  border-radius: 12px;
  color: var(--muted);
  background: #fffaf3;
  font-weight: 750;
}

.admin-field-hint {
  margin: -2px 0 0;
  color: #667085;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.45;
}

.admin-upload-box {
  padding: 14px;
  border: 1px dashed rgba(229, 124, 0, 0.45);
  border-radius: 14px;
  background: #fffaf3;
}

.admin-upload-box input {
  background: #fff;
}

.admin-upload-box small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

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

.admin-upload-preview article {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) repeat(4, 34px);
  gap: 8px;
  align-items: center;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.admin-upload-preview article.is-primary {
  border-color: rgba(229, 124, 0, 0.42);
  background: #fffaf3;
}

.admin-upload-preview img {
  width: 64px;
  height: 48px;
  object-fit: cover;
  border-radius: 9px;
  background: #f2f4f7;
}

.admin-upload-preview strong,
.admin-upload-preview small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-upload-preview small {
  color: var(--muted);
  font-size: 12px;
}

.admin-upload-preview button {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--text);
  background: #fff;
  cursor: pointer;
  font-weight: 950;
}

.admin-upload-preview button:hover {
  color: var(--brand);
  border-color: rgba(229, 124, 0, 0.44);
}

.admin-pill {
  width: fit-content;
  border-radius: 999px;
  padding: 6px 10px;
  color: #7a3e00;
  background: var(--brand-soft);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-listing-view {
  display: grid;
  gap: 16px;
}

.admin-listing-view-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
}

.admin-listing-view-head h3 {
  margin: 8px 0 6px;
  font-size: clamp(24px, 4vw, 38px);
  line-height: 1.06;
}

.admin-listing-view-head p {
  margin: 0;
  color: var(--muted);
}

.admin-listing-view-head strong {
  color: var(--brand);
  font-size: 30px;
  white-space: nowrap;
}

.admin-listing-view-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(0, 0.7fr));
  gap: 10px;
}

.admin-listing-view-grid figure {
  display: grid;
  min-height: 150px;
  margin: 0;
  overflow: hidden;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--brand);
  background: #fff7ed;
  font-size: 34px;
  font-weight: 950;
}

.admin-listing-view-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-view-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.admin-view-details div {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.admin-view-details dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.admin-view-details dd {
  margin: 5px 0 0;
  font-weight: 850;
}

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

.admin-order-dialog textarea,
.admin-order-dialog select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 14px;
  color: var(--text);
  background: #fff;
  font: 750 15px/1.3 var(--font);
}

.admin-order-dialog textarea {
  resize: vertical;
}

.admin-segment-picker {
  grid-column: 1 / -1;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfcfd;
}

.admin-segment-picker legend {
  padding: 0 6px;
  color: var(--text);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 14px;
  font-weight: 750;
  letter-spacing: 0;
  text-transform: none;
}

.admin-segment-picker > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.admin-segment-picker label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: 0;
  text-transform: none;
}

.admin-segment-picker input {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  min-height: 16px;
  accent-color: var(--brand);
}

.admin-segment-picker label span {
  min-width: 0;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.admin-segment-picker small {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
}

.admin-check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfcfd;
}

.admin-check input {
  width: 18px;
  height: 18px;
}

.admin-form-feedback {
  min-height: 20px;
  color: var(--brand);
  font-weight: 850;
}

.admin-flow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.admin-flow-grid article {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfcfd;
}

.admin-flow-grid strong {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
}

.admin-flow-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.close-btn {
  justify-self: end;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 10px;
  background: var(--bg);
  cursor: pointer;
  font-size: 22px;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  color: #fff;
  background: var(--whatsapp);
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.34);
  font-weight: 950;
  text-decoration: none;
}

.whatsapp-float img {
  display: none;
}

.whatsapp-float::before {
  content: "";
  display: block;
  width: 31px;
  height: 31px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='%23ffffff' d='M380.9 97.1C339 55.1 283.2 32 223.9 32c-122.4 0-222 99.6-222 222 0 39.1 10.2 77.3 29.6 111L0 480l117.7-30.9c32.4 17.7 68.9 27 106.1 27h.1c122.3 0 224.1-99.6 224.1-222 0-59.3-25.2-115-67.1-157zm-157 341.6c-33.2 0-65.7-8.9-94-25.7l-6.7-4-69.8 18.3L72 359.2l-4.4-7c-18.5-29.4-28.2-63.3-28.2-98.2 0-101.7 82.8-184.5 184.6-184.5 49.3 0 95.6 19.2 130.4 54.1 34.8 34.9 56.2 81.2 56.1 130.5 0 101.8-84.9 184.6-186.6 184.6zm101.2-138.2c-5.5-2.8-32.8-16.2-37.9-18-5.1-1.9-8.8-2.8-12.5 2.8-3.7 5.6-14.3 18-17.6 21.8-3.2 3.7-6.5 4.2-12 1.4-32.6-16.3-54-29.1-75.5-66-5.7-9.8 5.7-9.1 16.3-30.3 1.8-3.7.9-6.9-.5-9.7-1.4-2.8-12.5-30.1-17.1-41.2-4.5-10.8-9.1-9.3-12.5-9.5-3.2-.2-6.9-.2-10.6-.2-3.7 0-9.7 1.4-14.8 6.9-5.1 5.6-19.4 19-19.4 46.3s19.9 53.7 22.6 57.4c2.8 3.7 39.1 59.7 94.8 83.8 35.2 15.2 49 16.5 66.6 13.9 10.7-1.6 32.8-13.4 37.4-26.4 4.6-13 4.6-24.1 3.2-26.4-1.3-2.5-5-3.9-10.5-6.6z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.whatsapp-float span {
  position: absolute;
  right: 68px;
  width: 220px;
  padding: 10px 12px;
  color: #333;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: 0.18s ease;
  font-size: 13px;
  font-weight: 800;
}

.whatsapp-float:hover span,
.whatsapp-float span.show {
  opacity: 1;
  transform: translateY(0);
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 40;
  display: none;
  align-items: center;
  gap: 12px;
  max-width: 920px;
  margin: auto;
  padding: 14px;
  color: #fff;
  background: #111;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.cookie-banner p {
  flex: 1;
  margin: 0;
  color: #fff;
  font-size: 14px;
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 14px;
  }

  .menu-panel {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
  }

  .nav {
    gap: 10px;
  }

  .header-whatsapp {
    display: none;
  }

  .header-actions {
    justify-self: end;
  }

  .filter-grid,
  .category-layout,
  .results-layout,
  .announce-hero,
  .announce-layout,
  .orders-hero,
  .panel-hero,
  .panel-grid,
  .panel-listing-lock,
  .buyer-hero,
  .detail-layout,
  .detail-info,
  .category-hero,
  .results-hero,
  .ai-section,
  .advertiser-cta,
  .advertiser-profile,
  .advertiser-about,
  .advertiser-info-grid,
  .advertiser-trust {
    grid-template-columns: 1fr;
  }

  .portal-panel-hero,
  .portal-panel-layout,
  .portal-action-card,
  .portal-split {
    grid-template-columns: 1fr;
  }

  .portal-kpi-grid,
  .buyer-alert-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .portal-panel-nav {
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .portal-panel-nav button {
    justify-content: flex-start;
  }

  .portal-action-buttons {
    justify-content: flex-start;
  }

  .portal-table-row {
    grid-template-columns: 70px minmax(0, 1fr) auto;
  }

  .portal-table-row > span {
    display: none;
  }

  .category-stats,
  .results-hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .filters {
    position: static;
  }

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

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

  .sell-machine-strip {
    grid-template-columns: 70px minmax(0, 1fr);
  }

  .sell-machine-strip .btn {
    grid-column: 2;
    justify-self: start;
  }

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

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

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

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

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

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

  .pre-footer-section {
    padding-inline: 18px;
  }

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

  .admin-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 50;
    width: min(290px, 86vw);
    transform: translateX(-105%);
    transition: transform 0.18s ease;
  }

  .admin-shell.sidebar-open .admin-sidebar {
    transform: translateX(0);
  }

  .admin-menu-toggle {
    display: inline-grid;
  }

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

  .admin-dashboard-grid,
  .admin-split,
  .admin-chart-grid,
  .admin-company-layout,
  .admin-settings-grid {
    grid-template-columns: 1fr;
  }

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

  .admin-company-tabs,
  .admin-company-metrics,
  .admin-filter-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-filter-bar.is-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-segment-picker > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-table {
    overflow-x: auto;
  }

  .admin-table-row {
    min-width: 860px;
  }

  .admin-orders-table .admin-table-row {
    min-width: 1180px;
  }

  .admin-companies-table .admin-table-row {
    min-width: 1160px;
  }

  .admin-plans-table .admin-table-row {
    min-width: 1120px;
  }

  .admin-listings-table .admin-table-row {
    min-width: 1220px;
  }

  .admin-taxonomy-table .admin-table-row {
    min-width: 980px;
  }

  .admin-leads-table .admin-table-row {
    min-width: 1120px;
  }

  .admin-ads-table .admin-table-row {
    min-width: 1080px;
  }

  .admin-services-table .admin-table-row {
    min-width: 1120px;
  }

  .admin-service-ads-table .admin-table-row {
    min-width: 1140px;
  }

  .admin-blog-table .admin-table-row {
    min-width: 1040px;
  }

  .admin-users-table .admin-table-row {
    min-width: 1120px;
  }

  .admin-listing-view-head {
    display: grid;
  }

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

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

  .advertiser-profile-rich {
    grid-template-columns: 160px minmax(0, 1fr);
  }

  .advertiser-profile-rich aside {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
  }

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

  .advertiser-trust-grid {
    grid-template-columns: 1fr;
  }

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

  .detail-machine-grid,
  .detail-commercial-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: clamp(540px, calc(100vh - 128px), 650px);
    padding-top: 34px;
    padding-bottom: 26px;
  }


  .main-search {
    grid-template-columns: minmax(0, 1fr) 148px;
  }

  .main-search .btn-ai {
    grid-column: 1 / -1;
    width: 100%;
  }

  .banner-track,
  .solution-track {
    grid-auto-columns: minmax(280px, calc((100% - 16px) / 2));
  }

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

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

  .results-search,
  .results-sponsored {
    grid-template-columns: 1fr;
  }

  .results-hero-stats {
    max-width: 560px;
  }

  .detail-summary {
    position: static;
  }

  .announce-preview-sticky {
    position: static;
  }

  .announce-hero {
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 243, 228, 0.88)),
      url("../img/anuncios/sopradora-romi.webp") right center / auto 100% no-repeat;
  }

  .detail-gallery-grid {
    grid-template-rows: repeat(2, 145px);
  }

  .plan-after-section {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 760px) {
  .site-header {
    position: static;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    padding: 10px 14px 12px;
  }

  .brand img {
    width: 146px;
    margin-inline: 0;
    filter: brightness(0) invert(1);
  }

  .menu-toggle {
    display: inline-grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 2px 0;
    background: var(--text);
    border-radius: 999px;
    transition: transform 0.18s ease, opacity 0.18s ease;
  }

  .site-header.menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .site-header.menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .menu-panel {
    display: none;
    grid-column: 1 / -1;
    gap: 10px;
    padding-top: 8px;
    max-height: calc(100vh - 76px);
    overflow: auto;
  }

  .site-header.menu-open .menu-panel {
    display: grid;
  }

  .header-whatsapp {
    display: inline-flex;
    justify-content: center;
    width: 100%;
    min-width: 0;
    padding: 10px;
    color: var(--text);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
  }

  .header-whatsapp strong {
    color: var(--text);
  }

  .nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    width: 100%;
    order: 2;
  }

  .nav a {
    display: grid;
    min-height: 34px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--text);
    background: #fff;
    font-size: 12px;
    text-align: center;
    padding: 8px 10px;
  }

  .nav a::after {
    display: none;
  }

  .header-actions {
    grid-column: auto;
    justify-self: stretch;
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    order: 3;
  }

  .header-actions .btn {
    min-height: 38px;
    border-radius: 999px;
    font-size: 13px;
  }

  .header-actions .btn-primary {
    color: #111;
    background: linear-gradient(135deg, #ffcf43, #ee7c00);
    border-color: rgba(229, 124, 0, 0.44);
  }

  .hero {
    width: 100%;
    max-width: 100%;
    min-height: auto;
    padding: 34px 16px 24px;
    text-align: center;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(4, 5, 6, 0.64) 0%, rgba(4, 5, 6, 0.62) 54%, rgba(4, 5, 6, 0.82) 100%),
      url("../img/hero-maquinas-multisegmentos.png") 58% center / cover no-repeat;
    opacity: 1;
    filter: none;
  }

  .hero::after {
    display: none;
  }

  .hero h1 {
    font-size: clamp(31px, 9.5vw, 44px);
    line-height: 1.04;
  }

  .hero-copy p {
    font-size: 17px;
    line-height: 1.42;
  }

  .main-search,
  .filter-grid,
  .listing-grid,
  .results-grid,
  .related-posts,
  .results-advertise-cta,
  .sponsored,
  .category-stats,
  .results-hero-stats,
  .ad-grid,
  .blog-grid,
  .footer {
    grid-template-columns: 1fr;
  }

  .pre-footer-section {
    margin-top: 30px;
    padding: 28px 16px 24px;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .why-grid article {
    grid-template-columns: 48px minmax(0, 1fr);
    min-height: auto;
    text-align: left;
  }

  .why-grid span {
    width: 48px;
    height: 48px;
    font-size: 22px;
  }

  .sell-machine-strip {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 20px;
    text-align: center;
    background:
      linear-gradient(135deg, rgba(255, 207, 67, 0.96), rgba(238, 124, 0, 0.94));
  }

  .sell-machine-strip > span {
    justify-self: center;
    font-size: 42px;
  }

  .sell-machine-strip strong {
    font-size: 18px;
  }

  .sell-machine-strip .btn {
    grid-column: auto;
    width: 100%;
  }

  .portal-panel-hero {
    padding: 18px;
  }

  .portal-user-card {
    text-align: left;
  }

  .portal-kpi-grid,
  .buyer-alert-grid,
  .portal-panel-nav {
    grid-template-columns: 1fr;
  }

  .static-page {
    width: calc(100% - 28px);
    padding: 24px 0 38px;
  }

  .static-hero {
    min-height: 0;
    padding: 24px 18px;
    text-align: center;
    background:
      linear-gradient(180deg, rgba(5, 6, 7, 0.82), rgba(5, 6, 7, 0.78)),
      url("../img/hero-maquinas-multisegmentos.png") center / cover no-repeat;
  }

  .static-grid,
  .static-blog-grid,
  .static-cta {
    grid-template-columns: 1fr;
  }

  .static-card {
    min-height: auto;
  }

  .static-cta {
    text-align: center;
  }

  .portal-card-head,
  .portal-action-buttons {
    align-items: stretch;
    flex-direction: column;
  }

  .portal-card-head .btn,
  .portal-action-buttons .btn {
    width: 100%;
  }

  .portal-table-row {
    grid-template-columns: 62px minmax(0, 1fr);
  }

  .portal-table-row .btn {
    grid-column: 1 / -1;
    width: 100%;
  }

  .portal-lead-mini {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .portal-lead-mini time {
    grid-column: 2;
  }

  .section,
  .commercial-carousel,
  .ai-section,
  .advertiser-cta,
  .category-page,
  .results-page,
  .listing-detail-page,
  .announce-page,
  .panel-page,
  .buyer-page,
  .orders-page,
  .advertiser-page {
    width: calc(100% - 24px);
    max-width: calc(100% - 24px);
  }

  .btn,
  button,
  input,
  select,
  textarea {
    max-width: 100%;
  }

  .btn {
    white-space: normal;
  }

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

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

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

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

  .panel-hero,
  .panel-card,
  .panel-listing-lock {
    padding: 16px;
  }

  .panel-hero,
  .panel-listing-lock {
    text-align: center;
  }

  .panel-status-card,
  .panel-order-card .btn,
  .panel-listing-lock .btn {
    justify-self: stretch;
  }

  .panel-step-grid,
  .buyer-grid,
  .payment-order-summary dl,
  .panel-card dl {
    grid-template-columns: 1fr;
  }

  .buyer-hero {
    padding: 18px;
    text-align: center;
  }

  .buyer-hero p {
    margin-inline: auto;
  }

  .admin-topbar {
    grid-template-columns: auto minmax(0, 1fr) auto;
    padding: 10px 12px;
  }

  .admin-user > button {
    grid-template-columns: 40px;
    padding: 4px;
  }

  .admin-user > button span {
    display: none;
  }

  .admin-content {
    padding: 14px;
    min-width: 0;
  }

  .admin-page-head {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-head-actions .btn {
    width: 100%;
  }

  .admin-panel {
    padding: 14px;
    min-width: 0;
  }

  .admin-table {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .admin-kpi-grid,
  .admin-card-grid {
    grid-template-columns: 1fr;
  }

  .admin-form-grid,
  .admin-flow-grid,
  .admin-company-tabs,
  .admin-company-metrics,
  .admin-filter-bar {
    grid-template-columns: 1fr;
  }

  .admin-listing-view-grid,
  .admin-view-details {
    grid-template-columns: 1fr;
  }

  .admin-listing-view-head strong {
    font-size: 24px;
  }

  .admin-upload-preview article {
    grid-template-columns: 58px minmax(0, 1fr) repeat(2, 32px);
  }

  .admin-upload-preview article button:nth-of-type(3),
  .admin-upload-preview article button:nth-of-type(4) {
    grid-row: 2;
  }

  .admin-filter-bar.is-compact {
    grid-template-columns: 1fr;
  }

  .admin-company-card {
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: start;
  }

  .admin-company-avatar {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }

  .admin-company-actions {
    grid-column: 1 / -1;
    flex-wrap: wrap;
  }

  .admin-segment-picker > div {
    grid-template-columns: 1fr;
  }

  .orders-toolbar,
  .orders-stats,
  .order-card dl {
    grid-template-columns: 1fr;
  }

  .order-card-head {
    display: grid;
  }

  .order-card-head > strong {
    justify-self: start;
  }

  .listing-detail-page {
    width: calc(100% - 24px);
    padding-top: 24px;
  }

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

  .announce-hero,
  .announce-form-card,
  .announce-preview-panel {
    padding: 16px;
  }

  .announce-hero {
    text-align: center;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 243, 228, 0.9)),
      url("../img/anuncios/sopradora-romi.webp") center / cover no-repeat;
  }

  .announce-hero p {
    margin-inline: auto;
  }

  .announce-hero-stats,
  .announce-grid,
  .announce-plan-grid,
  .announce-plan-choice-grid,
  .payment-method-grid,
  .photo-uploader,
  .photo-manager {
    grid-template-columns: 1fr;
  }

  .announce-plan-card {
    min-height: auto;
  }

  .plan-after-section {
    padding: 14px;
  }

  .plan-flow-copy {
    text-align: left;
  }

  .plan-flow-steps {
    grid-template-columns: 1fr;
  }

  .plan-flow-steps article {
    min-height: 0;
  }

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

  .announce-steps button {
    min-height: 42px;
    font-size: 12px;
  }

  .announce-step-panel {
    padding: 14px;
  }

  .announce-section-title {
    text-align: left;
  }

  .announce-span-2 {
    grid-column: auto;
  }

  .photo-slot,
  .photo-slot-main {
    min-height: 118px;
  }

  .announce-actions {
    display: grid;
  }

  .announce-actions .btn {
    min-width: 0;
    width: 100%;
  }

  .photo-toolbar {
    display: grid;
  }

  .photo-toolbar .btn {
    width: 100%;
  }

  .detail-layout,
  .detail-info {
    gap: 14px;
  }

  .detail-summary {
    padding: 16px;
  }

  .detail-summary h1 {
    font-size: clamp(26px, 8vw, 34px);
  }

  .detail-price {
    font-size: 26px;
    white-space: normal;
  }

  .detail-title-card {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .detail-title-card h1 {
    font-size: clamp(27px, 8vw, 36px);
  }

  .detail-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 210px 106px 106px;
  }

  .detail-photo-main {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .detail-contact-row,
  .seller-card {
    grid-template-columns: 1fr;
  }

  .seller-card {
    text-align: center;
  }

  .seller-logo {
    margin-inline: auto;
  }

  .detail-gallery-action {
    justify-self: stretch;
  }

  .gallery-lightbox {
    padding: 16px;
  }

  .gallery-nav {
    top: auto;
    bottom: 22px;
    width: 46px;
    height: 46px;
    font-size: 34px;
    transform: none;
  }

  .gallery-prev {
    left: calc(50% - 58px);
  }

  .gallery-next {
    right: calc(50% - 58px);
  }

  .results-hero h1 {
    font-size: clamp(32px, 12vw, 44px);
  }

  .result-card {
    grid-template-columns: 1fr;
  }

  .result-media img {
    aspect-ratio: auto;
    min-height: 0;
  }

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

  .results-layout {
    gap: 12px;
  }

  .results-mobile-filter-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 58px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    color: var(--text);
    box-shadow: 0 14px 34px rgba(4, 16, 31, 0.08);
    cursor: pointer;
    text-align: left;
  }

  .results-mobile-filter-toggle span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 900;
  }

  .results-mobile-filter-toggle small {
    max-width: 46%;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    overflow: hidden;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .results-filters {
    display: none;
    padding: 16px;
  }

  .results-filters.is-open {
    display: grid;
  }

  .results-pagination {
    flex-wrap: wrap;
  }

  .results-extra-head {
    display: grid;
    text-align: center;
  }

  .related-grid {
    text-align: left;
  }

  .related-posts {
    grid-template-columns: 1fr;
  }

  .related-post-card,
  .related-post-card.featured {
    grid-template-columns: 1fr;
  }

  .related-post-card img {
    aspect-ratio: 16 / 8;
    min-height: 0;
  }

  .related-post-card div {
    padding: 14px;
    text-align: center;
  }

  .results-advertise-cta {
    text-align: center;
  }

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

  .advertiser-profile {
    justify-items: center;
    text-align: center;
  }

  .advertiser-profile p {
    margin-inline: auto;
  }

  .advertiser-profile-tags {
    justify-content: center;
  }

  .advertiser-stats,
  .advertiser-category-grid,
  .advertiser-machine-grid {
    grid-template-columns: 1fr;
  }

  .advertiser-profile-rich {
    grid-template-columns: 1fr;
  }

  .advertiser-profile-logo-card {
    width: min(260px, 100%);
  }

  .advertiser-profile-rich aside {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .advertiser-info-grid dl div,
  .advertiser-segment-block > header,
  .advertiser-type-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .advertiser-info-grid dd {
    text-align: left;
  }

  .detail-machine-grid,
  .detail-commercial-links {
    grid-template-columns: 1fr;
  }

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

  .detail-sponsored-card img {
    height: auto;
    aspect-ratio: 16 / 8;
  }

  .results-cta-points {
    justify-content: center;
  }

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

  .main-search input {
    grid-column: auto;
    min-height: 52px;
    border-color: rgba(229, 124, 0, 0.28);
    font-size: 16px;
  }

  .main-search .btn {
    min-height: 48px;
    border-radius: 8px;
    font-size: 14px;
  }

  .main-search .btn-ai {
    grid-column: auto;
    width: 100%;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.16);
  }

  .advanced-filters summary {
    display: inline;
    width: auto;
    min-height: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .category-hero {
    padding: 18px;
  }

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

  .segment-grid {
    grid-template-columns: 1fr;
  }

  .segment-grid .category-card:nth-child(n + 4) {
    display: none;
  }

  .segment-view-all {
    display: block;
    color: var(--brand);
    font-weight: 950;
    text-align: center;
  }

  .category-card {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 0;
  }

  .category-icon {
    width: 34px;
    height: 34px;
  }

  .category-visual {
    height: 132px;
  }

  .hero-trust {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .main-search .btn,
  .header-actions .btn {
    width: 100%;
  }

  .search-shell {
    padding: 14px;
    border-radius: 14px;
  }

  .hero-tags,
  .cta-actions {
    justify-content: center;
  }

  .commercial-carousel .section-head,
  .section-head {
    justify-items: center;
    text-align: center;
  }

  .banner-card {
    min-height: 0;
    padding: 12px;
    gap: 10px;
  }

  .banner-card small,
  .banner-card p,
  .banner-card .btn {
    display: none;
  }

  .banner-card h3 {
    margin: 0;
    font-size: 16px;
    line-height: 1.25;
  }

  .banner-visual {
    height: 132px;
    margin: 0;
  }

  .banner-track,
  .solution-track {
    grid-auto-columns: minmax(260px, 86vw);
    margin-inline: -2px;
    padding-inline: 2px;
  }

  .solution-track {
    grid-auto-flow: initial;
    grid-auto-columns: initial;
    grid-template-columns: 1fr;
    margin-inline: 0;
    padding-inline: 0;
    overflow: visible;
  }

  .commercial-carousel,
  .section,
  .ai-section,
  .advertiser-cta {
    padding-top: 34px;
    padding-bottom: 34px;
  }

  .ai-section {
    text-align: center;
  }

  .ai-section::before {
    inset: 0 22px auto;
    width: auto;
    height: 5px;
  }

  .ai-section p {
    margin-inline: auto;
  }

  .ai-actions {
    justify-content: center;
  }

  .ai-example {
    justify-items: center;
    text-align: center;
  }

  .ai-example .prompt,
  .ai-result {
    width: 100%;
  }

  .ai-example ul {
    text-align: left;
  }

  .solution-card,
  .ad-grid article {
    min-height: auto;
    text-align: center;
  }

  .solution-card small,
  .ad-grid span {
    margin-inline: auto;
  }

  .blog-card h3 {
    min-height: auto;
    text-align: center;
  }

  .section-head {
    display: grid;
    align-items: start;
  }

  .card-actions {
    grid-template-columns: 1fr;
  }

  .card-actions .btn,
  .sponsored .btn,
  .cta-actions .btn,
  .ai-actions .btn {
    width: 100%;
  }

  .ai-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .card-body h3 {
    min-height: 39px;
  }

  .cookie-banner {
    left: 10px;
    right: 10px;
    bottom: 10px;
    align-items: stretch;
    flex-direction: column;
    max-height: calc(100vh - 20px);
    overflow: auto;
  }

  .cookie-banner p {
    flex: none;
  }

  .cookie-banner .btn {
    width: 100%;
  }

  .footer {
    gap: 18px;
    padding: 28px 18px 18px;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .whatsapp-float span {
    display: none;
  }
}

@media (max-width: 430px) {
  .commercial-carousel,
  .section,
  .ai-section,
  .advertiser-cta,
  .category-page,
  .results-page,
  .listing-detail-page,
  .announce-page,
  .panel-page,
  .buyer-page,
  .orders-page,
  .advertiser-page {
    width: calc(100% - 24px);
  }

  .hero {
    width: 100%;
    max-width: 100%;
    padding: 28px 12px 20px;
  }

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

  .header-actions {
    grid-template-columns: 1fr 1fr;
  }

  .header-actions .btn,
  .main-search .btn,
  .results-search .btn,
  .announce-actions .btn,
  .detail-contact-form .btn,
  .payment-actions .btn {
    min-width: 0;
    width: 100%;
  }

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

  .category-link {
    grid-column: 2;
    justify-self: start;
  }

  .brand img {
    width: 132px;
  }

  .hero h1 {
    font-size: clamp(29px, 11vw, 38px);
  }

  .hero-copy p {
    font-size: 16px;
  }

  .main-search input {
    min-height: 56px;
    font-size: 15px;
  }

  .lead-dialog {
    width: calc(100vw - 18px);
    padding: 0;
  }

  .auth-dialog {
    width: calc(100vw - 18px);
    max-height: calc(100vh - 18px);
    overflow: auto;
  }

  .auth-dialog form {
    grid-template-columns: 1fr;
  }

  .auth-aside {
    min-height: 0;
    padding: 20px;
  }

  .auth-aside img {
    width: 142px;
  }

  .auth-aside strong {
    font-size: 24px;
  }

  .auth-aside ul {
    display: none;
  }

  .auth-content {
    padding: 20px;
  }

  .auth-tabs {
    grid-template-columns: 1fr;
  }

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

  .lead-dialog form {
    max-height: calc(100vh - 18px);
    overflow: auto;
    padding: 16px;
  }

  .admin-topbar {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .admin-global-search input {
    min-width: 0;
  }

  .admin-table-row {
    min-width: 760px;
  }

  .admin-listings-table .admin-table-row,
  .admin-orders-table .admin-table-row,
  .admin-companies-table .admin-table-row {
    min-width: 980px;
  }

  .admin-upload-preview article {
    grid-template-columns: 54px minmax(0, 1fr) 30px 30px;
  }

  .banner-track {
    grid-auto-columns: minmax(236px, 84vw);
  }

  .listing-badges {
    position: static;
    padding: 10px 10px 0;
    background: #fff;
  }

  .spec-list li {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .spec-list strong {
    text-align: left;
  }

  .ai-section,
  .advertiser-cta {
    padding: 22px;
  }

  .whatsapp-float {
    right: 12px;
    bottom: 12px;
    width: 52px;
    height: 52px;
  }
}

/* Home 2026 visual refresh */
.home-v2 {
  background: #f5f7fa;
}

.home-v2 .site-header {
  grid-template-columns: 170px minmax(0, 1fr);
  min-height: 78px;
  padding-block: 10px;
  background: #07101a;
}

.home-v2 .brand img {
  width: 152px;
}

.home-v2 .menu-panel {
  gap: 16px;
}

.home-v2 .nav {
  justify-content: center;
  gap: 8px;
  font-size: 11px;
  text-transform: none;
}

.home-v2 .nav a {
  padding: 10px 7px;
}

.favorite-link {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  transition: transform 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.favorite-link:hover {
  color: #ffb000;
  border-color: rgba(255, 176, 0, 0.7);
  transform: translateY(-2px);
}

.home-v2 .header-actions .btn {
  min-height: 40px;
  border-radius: 7px;
  padding-inline: 18px;
}

.home-v2 .header-actions .btn-primary {
  color: #fff;
  background: #ee7c00;
  box-shadow: none;
}

.home-hero {
  position: relative;
  isolation: isolate;
  min-height: 520px;
  display: grid;
  place-items: center;
  padding: 74px 18px 72px;
  color: #fff;
  overflow: visible;
  background:
    linear-gradient(180deg, rgba(2, 9, 18, 0.42), rgba(2, 9, 18, 0.74)),
    linear-gradient(90deg, rgba(2, 8, 16, 0.76), rgba(2, 8, 16, 0.18), rgba(2, 8, 16, 0.78)),
    url("../img/fundohero.png") center / cover no-repeat;
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 130px;
  z-index: -1;
  background: linear-gradient(180deg, transparent, rgba(2, 8, 16, 0.9));
}

.home-hero-inner {
  width: min(980px, 100%);
  text-align: center;
}

.home-kicker {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  font-weight: 850;
}

.home-hero h1 {
  max-width: 920px;
  margin: 0 auto 10px;
  color: #fff;
  font-size: clamp(32px, 5.4vw, 58px);
  line-height: 0.98;
  letter-spacing: 0;
  text-transform: uppercase;
}

.home-hero h1 span {
  color: #ff8a00;
}

.home-subtitle {
  max-width: 760px;
  margin: 0 auto 24px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 1.55;
}

.home-search-card {
  width: min(720px, 100%);
  margin: 0 auto;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.home-search-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px;
  gap: 12px;
  padding: 14px;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 9px;
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.28);
}

.home-search-field {
  display: grid;
  gap: 3px;
  min-width: 0;
  color: #17212b;
  text-align: left;
}

.home-search-field span {
  font-size: 14px;
  font-weight: 850;
}

.home-search-field input {
  min-width: 0;
  height: 28px;
  padding: 0;
  color: #566171;
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: 12px;
  font-weight: 600;
}

.home-search-field input:focus {
  outline: 0;
  box-shadow: none;
}

.home-search-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  color: #fff;
  background: #ee7c00;
  border: 0;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 950;
  cursor: pointer;
  transition: transform 0.18s ease, filter 0.18s ease;
}

.home-search-submit span {
  font-size: 24px;
  line-height: 1;
}

.home-search-submit:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.home-v2 .advanced-filters {
  margin: 12px auto 0;
  color: #fff;
  background: rgba(2, 8, 16, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  text-align: left;
}

.home-v2 .advanced-filters summary {
  display: flex;
  width: fit-content;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 auto;
  padding: 8px 18px;
  color: #fff;
  background: #07101a;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.home-v2 .advanced-filters[open] summary {
  margin-top: 12px;
}

.home-v2 .advanced-filters .filter-grid,
.dynamic-filter-box {
  padding: 14px;
}

.dynamic-filter-box {
  display: grid;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.dynamic-filter-box strong {
  color: #ffb000;
}

.home-v2 .advanced-filters label {
  color: rgba(255, 255, 255, 0.82);
}

.home-v2 .advanced-filters input,
.home-v2 .advanced-filters select {
  background: #fff;
}

.home-ai-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  padding: 10px 18px;
  color: #fff;
  background: rgba(2, 8, 16, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
}

.home-v2 .ai-summary {
  max-width: 640px;
  margin: 16px auto 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.quick-category-shell {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 0;
  width: min(1260px, calc(100% - 36px));
  margin: -34px auto 28px;
  padding: 18px;
  background: #fff;
  border: 1px solid rgba(12, 26, 40, 0.1);
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(14, 24, 38, 0.16);
}

.quick-category-shell a {
  display: grid;
  place-items: center;
  gap: 7px;
  min-height: 60px;
  color: #07101a;
  font-size: 11px;
  font-weight: 850;
  text-align: center;
  border-right: 1px solid rgba(12, 26, 40, 0.08);
}

.quick-category-shell a:last-child {
  border-right: 0;
}

.quick-category-shell span {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: #07101a;
  font-size: 19px;
}

.quick-category-shell a:hover {
  color: #ee7c00;
}

.home-block {
  width: min(1260px, calc(100% - 36px));
  margin: 0 auto;
  padding: 24px 0;
}

.home-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.home-section-head h2 {
  margin: 0;
  color: #07101a;
  font-size: clamp(24px, 3vw, 34px);
}

.home-v2 .eyebrow {
  color: #ee7c00;
}

.sponsor-showcase {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 14px;
  padding-top: 0;
}

.carousel-arrow {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  background: #fff;
  border: 1px solid rgba(12, 26, 40, 0.12);
  border-radius: 50%;
  color: #07101a;
  font-size: 28px;
  line-height: 1;
  box-shadow: 0 10px 25px rgba(14, 24, 38, 0.12);
}

.home-v2 .banner-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  overflow: visible;
}

.home-v2 .banner-card {
  position: relative;
  min-height: 250px;
  display: grid;
  align-content: end;
  overflow: hidden;
  padding: 24px;
  color: #fff;
  background: #07101a;
  border: 0;
  border-radius: 7px;
  box-shadow: 0 16px 35px rgba(14, 24, 38, 0.16);
}

.home-v2 .banner-visual {
  position: absolute;
  inset: 0;
  margin: 0;
}

.home-v2 .banner-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 8, 16, 0.1), rgba(2, 8, 16, 0.78));
}

.home-v2 .banner-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-v2 .banner-card > div,
.home-v2 .banner-card > a {
  position: relative;
  z-index: 1;
}

.home-v2 .banner-card small {
  color: #ffb000;
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.home-v2 .banner-card h3 {
  max-width: 410px;
  margin: 6px 0 10px;
  color: #fff;
  font-size: 26px;
  line-height: 1.08;
}

.home-v2 .banner-card p {
  max-width: 410px;
  color: rgba(255, 255, 255, 0.84);
}

.home-v2 .banner-card .btn {
  justify-self: start;
  margin-top: 12px;
  border-radius: 5px;
}

.home-v2 .listing-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.home-v2 .listing-card {
  border-radius: 7px;
  box-shadow: 0 12px 28px rgba(14, 24, 38, 0.1);
}

.home-v2 .listing-media {
  height: 132px;
}

.home-v2 .listing-card .card-body {
  padding: 12px;
}

.home-v2 .listing-card h3 {
  min-height: 40px;
  font-size: 14px;
  line-height: 1.15;
  -webkit-line-clamp: 2;
}

.home-v2 .listing-card .meta {
  font-size: 11px;
  line-height: 1.35;
  -webkit-line-clamp: 2;
}

.home-v2 .listing-card .price {
  font-size: 17px;
}

.home-v2 .spec-list {
  display: none;
}

.home-v2 .details-pill {
  width: 100%;
  justify-content: center;
  padding-block: 9px;
  color: #07101a;
  background: linear-gradient(135deg, #ffd65c, #ffb000);
  border: 0;
  border-radius: 5px;
  font-size: 11px;
}

.action-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.action-card {
  min-height: 176px;
  display: grid;
  align-content: end;
  gap: 10px;
  padding: 22px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(2, 12, 25, 0.96), rgba(4, 28, 52, 0.86)),
    url("../img/hero-maquinas-clean.png") center / cover;
  border-radius: 7px;
  box-shadow: 0 14px 30px rgba(14, 24, 38, 0.13);
}

.action-card h3 {
  margin: 0;
  color: #fff;
  font-size: 20px;
}

.action-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  line-height: 1.45;
}

.action-card a,
.action-card button,
.action-card form button {
  width: fit-content;
  padding: 10px 14px;
  color: #fff;
  background: #ee7c00;
  border: 0;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.action-card form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 46px;
  gap: 0;
  background: #fff;
  border-radius: 5px;
  overflow: hidden;
}

.action-card form input {
  min-width: 0;
  height: 44px;
  padding: 0 14px;
  border: 0;
  font-size: 12px;
}

.action-card form button {
  width: 46px;
  border-radius: 0;
}

.home-benefits {
  text-align: center;
}

.home-benefits h2 {
  margin-bottom: 20px;
  font-size: 24px;
}

.benefit-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.benefit-row article {
  display: grid;
  justify-items: center;
  gap: 7px;
  color: #07101a;
}

.benefit-row span {
  font-size: 26px;
}

.benefit-row strong {
  font-size: 13px;
}

.benefit-row small {
  color: #566171;
  font-weight: 650;
  line-height: 1.35;
}

.home-v2 #segmentos .section-head {
  text-align: left;
}

.home-v2 #segmentos .section-head,
.home-v2 #segmentos .section-head .section-link {
  display: none;
}

.home-v2 .segment-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.home-v2 .category-card {
  min-height: 128px;
  color: #fff;
  overflow: hidden;
  background: #07101a;
  border: 0;
  border-radius: 7px;
}

.home-v2 .category-visual {
  position: absolute;
  inset: 0;
  height: 100%;
}

.home-v2 .category-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(2, 8, 16, 0.78));
}

.home-v2 .category-card > div {
  position: relative;
  z-index: 1;
  align-self: end;
  padding: 54px 16px 16px;
}

.home-v2 .category-card h3 {
  color: #fff;
}

.home-v2 .category-card p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
}

.home-v2 .category-icon {
  z-index: 2;
  color: #07101a;
  background: #ffb000;
}

.home-v2 .segment-view-all {
  display: grid;
  min-height: 128px;
  place-items: center;
  color: #fff;
  background: #07101a;
  border-radius: 7px;
  font-weight: 950;
}

.home-v2 .solution-track {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  overflow: visible;
}

.home-v2 .solution-card {
  display: grid;
  min-height: 150px;
  gap: 7px;
  padding: 18px;
  background: #fff;
  border: 1px solid rgba(12, 26, 40, 0.1);
  border-radius: 7px;
  box-shadow: 0 12px 28px rgba(14, 24, 38, 0.08);
}

.home-v2 .solution-visual {
  display: none;
}

.home-v2 .solution-card small {
  color: #ee7c00;
  font-weight: 950;
  text-transform: uppercase;
}

.home-v2 .solution-card strong {
  font-size: 18px;
}

.home-v2 .solution-card span {
  color: #566171;
  font-size: 13px;
  line-height: 1.45;
}

.home-v2 .blog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.home-v2 .blog-card {
  min-height: 190px;
  overflow: hidden;
  color: #fff;
  background: #07101a;
  border-radius: 7px;
}

.home-v2 .blog-card img {
  height: 130px;
}

.home-v2 .blog-card h3 {
  padding: 14px;
  color: #07101a;
  background: #fff;
  font-size: 15px;
  line-height: 1.25;
}

.home-stats {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  width: min(1260px, calc(100% - 36px));
  margin: 22px auto;
  padding: 22px;
  color: #fff;
  background: #071b2f;
  border-radius: 8px;
}

.home-stats article {
  display: grid;
  gap: 4px;
}

.home-stats strong {
  color: #ffb000;
  font-size: 21px;
}

.home-stats span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 750;
}

.home-newsletter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 520px);
  align-items: center;
  gap: 24px;
  width: 100%;
  margin: 36px 0 0;
  padding: 30px max(22px, calc((100vw - 1260px) / 2));
  color: #fff;
  background:
    linear-gradient(90deg, rgba(2, 13, 28, 0.98), rgba(2, 21, 43, 0.88)),
    url("../img/hero-maquinas-portal.png") right center / auto 220% no-repeat;
}

.home-newsletter h2 {
  margin: 0 0 6px;
  color: #fff;
}

.home-newsletter p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.home-newsletter form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
}

.home-newsletter input {
  min-width: 0;
  height: 52px;
  padding: 0 16px;
  border: 0;
}

.home-newsletter button {
  color: #fff;
  background: #ee7c00;
  border: 0;
  font-weight: 950;
}

.home-footer {
  width: 100%;
  margin: 0;
  padding-inline: max(22px, calc((100vw - 1260px) / 2));
  color: #17212b;
  background: #fff;
  border-radius: 0;
}

.home-footer img {
  filter: none;
}

@media (max-width: 1180px) {
  .home-v2 .listing-grid,
  .home-v2 .solution-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .quick-category-shell {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .benefit-row,
  .home-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .home-v2 .site-header {
    grid-template-columns: 138px auto;
  }

  .home-v2 .brand img {
    width: 132px;
  }

  .home-v2 .menu-toggle {
    display: inline-grid;
    justify-self: end;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
  }

  .home-v2 .menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 2px 0;
    background: var(--text);
    border-radius: 999px;
    transition: transform 0.18s ease, opacity 0.18s ease;
  }

  .home-v2 .menu-panel {
    display: none;
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
    padding-top: 10px;
  }

  .home-v2.site-header.menu-open .menu-panel,
  .home-v2 .site-header.menu-open .menu-panel,
  .home-v2 .home-header.menu-open .menu-panel {
    display: grid;
  }

  .favorite-link {
    display: none;
  }

  .home-hero {
    min-height: auto;
    padding: 54px 18px 68px;
  }

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

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

  .sponsor-showcase {
    grid-template-columns: 1fr;
  }

  .carousel-arrow {
    display: none;
  }

  .home-v2 .banner-track,
  .home-v2 .listing-grid,
  .action-cards,
  .home-v2 .segment-grid,
  .home-v2 .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-newsletter,
  .home-v2 .footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .home-v2 .site-header {
    min-height: 68px;
  }

  .home-hero {
    padding: 38px 14px 58px;
  }

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

  .home-search-card {
    width: 100%;
  }

  .quick-category-shell {
    width: calc(100% - 20px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 10px;
  }

  .home-block,
  .home-stats {
    width: calc(100% - 20px);
  }

  .home-v2 .banner-track,
  .home-v2 .listing-grid,
  .action-cards,
  .benefit-row,
  .home-v2 .segment-grid,
  .home-v2 .solution-track,
  .home-v2 .blog-grid,
  .home-stats {
    grid-template-columns: 1fr;
  }

  .home-section-head {
    align-items: start;
    flex-direction: column;
  }

  .home-newsletter {
    padding-inline: 18px;
  }

  .home-newsletter form {
    grid-template-columns: 1fr;
  }
}

/* Faithful reference tightening */
.home-v2 {
  --home-container: min(1180px, calc(100% - 70px));
}

.home-v2 .site-header {
  min-height: 66px;
  grid-template-columns: 145px minmax(0, 1fr);
  padding-inline: max(28px, calc((100vw - 1180px) / 2));
  background: #031020;
}

.home-v2 .brand img {
  width: 128px;
}

.home-v2 .nav {
  gap: 20px;
  color: #fff;
  font-size: 10px;
}

.home-v2 .nav a,
.home-v2 .nav a.is-active {
  color: #fff;
  transform: none;
}

.home-v2 .nav a:hover {
  color: #ff8a00;
}

.favorite-link {
  border: 0;
  font-size: 25px;
}

.home-v2 .header-actions .btn {
  min-height: 36px;
  border-radius: 4px;
  font-size: 11px;
}

.home-v2 .header-actions .btn-primary {
  background: #ff7600;
}

.home-hero {
  min-height: 330px;
  padding: 62px 18px 52px;
}

.home-hero h1 {
  max-width: 700px;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.02;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.34);
}

.home-subtitle {
  font-size: 13px;
}

.home-search-card {
  width: min(650px, 100%);
}

.home-search-line {
  grid-template-columns: minmax(0, 1fr) 88px;
  padding: 12px;
  border-radius: 7px;
}

.home-search-field span {
  font-size: 12px;
}

.home-search-field input {
  height: 24px;
  font-size: 10px;
}

.home-search-submit {
  min-height: 44px;
  border-radius: 5px;
  background: #ff7600;
}

.home-v2 .advanced-filters summary {
  min-height: 30px;
  padding-inline: 16px;
  border-radius: 4px;
  font-size: 11px;
}

.quick-category-shell,
.home-block,
.home-stats {
  width: var(--home-container);
}

.quick-category-shell {
  margin-top: -24px;
  margin-bottom: 22px;
  padding: 15px 14px;
}

.quick-category-shell a {
  min-height: 50px;
}

.home-block {
  padding: 18px 0;
}

.home-section-head {
  margin-bottom: 14px;
}

.home-section-head h2,
.home-benefits h2 {
  font-size: 20px;
}

.home-v2 .section-link {
  border: 0;
  padding: 0;
  color: #0f496d;
  background: transparent;
  font-size: 11px;
}

.sponsor-showcase {
  grid-template-columns: 30px minmax(0, 1fr) 30px;
}

.carousel-arrow {
  width: 30px;
  height: 30px;
  font-size: 24px;
}

.home-v2 .banner-track {
  gap: 8px;
}

.home-v2 .banner-card {
  min-height: 234px;
  padding: 24px;
  border-radius: 4px;
}

.home-v2 .banner-card h3 {
  font-size: 22px;
}

.home-v2 .banner-card .btn {
  min-height: 34px;
  padding: 8px 14px;
  font-size: 10px;
}

.home-v2 .listing-grid {
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 10px;
}

.home-v2 .listing-card {
  border-radius: 5px;
  box-shadow: 0 8px 20px rgba(14, 24, 38, 0.1);
}

.home-v2 .listing-media {
  height: 94px;
}

.home-v2 .listing-card .card-body {
  padding: 9px;
}

.home-v2 .listing-card h3 {
  min-height: 32px;
  font-size: 10px;
}

.home-v2 .listing-card .meta {
  font-size: 8px;
}

.home-v2 .listing-card .price {
  margin-top: 3px;
  font-size: 12px;
}

.home-v2 .details-pill {
  min-height: 26px;
  font-size: 8px;
}

.action-cards {
  gap: 8px;
}

.action-card {
  min-height: 150px;
  padding: 18px;
  border-radius: 5px;
}

.action-card h3 {
  font-size: 16px;
}

.action-card p {
  font-size: 11px;
}

.benefit-row {
  gap: 12px;
}

.benefit-row span {
  font-size: 23px;
}

.benefit-row strong {
  font-size: 11px;
}

.benefit-row small {
  font-size: 9px;
}

.home-v2 #segmentos .section-head {
  display: flex;
}

.home-v2 #segmentos .section-head .section-link {
  display: inline-flex;
}

.home-v2 .segment-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.home-v2 .category-card,
.home-v2 .segment-view-all {
  min-height: 104px;
  border-radius: 5px;
}

.home-v2 .category-card > div {
  padding: 44px 12px 12px;
}

.home-v2 .category-card h3 {
  font-size: 15px;
}

.home-v2 .category-card p {
  font-size: 10px;
}

.brand-company-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.brand-company-grid a {
  display: grid;
  min-height: 130px;
  place-items: center;
  gap: 7px;
  padding: 18px 12px;
  text-align: center;
  background: #fff;
  border: 1px solid rgba(12, 26, 40, 0.1);
  border-radius: 6px;
}

.brand-company-grid strong {
  color: #07101a;
  font-size: 25px;
  line-height: 1;
}

.brand-company-grid span {
  color: #07101a;
  font-size: 12px;
  font-weight: 850;
}

.brand-company-grid small {
  color: #6a7480;
  font-size: 10px;
  font-weight: 700;
}

.brand-company-grid .sponsor-company {
  background: #f3f5f7;
}

.brand-company-grid .sponsor-company small {
  color: #07101a;
  text-transform: uppercase;
}

.brand-company-grid .sponsor-company em {
  padding: 9px 13px;
  color: #07101a;
  background: #fff;
  border-radius: 5px;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
}

.home-v2 .blog-grid {
  grid-template-columns: 1.15fr 1fr 1fr 0.9fr;
  gap: 10px;
}

.home-v2 .blog-card {
  min-height: 148px;
  border-radius: 5px;
}

.home-v2 .blog-card img {
  height: 100px;
}

.home-v2 .blog-card h3 {
  font-size: 12px;
}

.home-stats {
  margin-block: 18px;
  padding: 20px 26px;
  border-radius: 6px;
  background: #061d33;
}

.home-stats strong {
  font-size: 19px;
}

.home-newsletter {
  margin-top: 24px;
  padding-block: 24px;
}

.home-newsletter h2 {
  font-size: 18px;
}

.home-newsletter p {
  font-size: 12px;
}

.home-newsletter form {
  max-width: 490px;
}

.home-footer {
  padding-top: 28px;
  padding-bottom: 22px;
}

@media (max-width: 1180px) {
  .home-v2 {
    --home-container: min(100% - 32px, 920px);
  }

  .home-v2 .listing-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

@media (max-width: 900px) {
  .home-v2 {
    --home-container: min(100% - 24px, 720px);
  }

  .home-v2 .nav {
    gap: 8px;
  }

  .home-v2 .listing-grid,
  .home-v2 .segment-grid,
  .home-v2 .blog-grid,
  .brand-company-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .home-hero h1 {
    font-size: 28px;
  }

  .home-v2 .listing-grid,
  .home-v2 .segment-grid,
  .home-v2 .blog-grid,
  .brand-company-grid {
    grid-template-columns: 1fr;
  }
}

/* Reference-aligned home pass */
.home-v2 .site-header {
  min-height: 72px;
  grid-template-columns: 156px minmax(0, 1fr);
  padding-block: 8px;
}

.home-v2 .brand img {
  width: 138px;
}

.home-v2 .nav {
  gap: 14px;
  font-size: 11px;
}

.home-v2 .nav a::after {
  display: none;
}

.home-v2 .header-actions .btn {
  min-height: 38px;
  padding-inline: 16px;
  font-size: 12px;
}

.home-v2 .header-actions .btn-ghost {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.48);
}

.home-v2 .header-actions .btn-ghost:hover {
  background: #fff;
  color: #07101a;
}

.home-hero {
  min-height: 374px;
  padding: 82px 18px 54px;
  background: #06111e;
}

.hero-mosaic {
  position: absolute;
  inset: 0;
  z-index: -2;
  display: grid;
  grid-template-columns: 1fr 1fr 1.15fr 1fr 1.1fr 1.05fr 0.95fr;
  overflow: hidden;
}

.hero-mosaic span {
  min-width: 0;
  background-image: url("../img/fundohero.png");
  background-size: auto 100%;
  background-repeat: no-repeat;
  filter: saturate(1.02) contrast(0.98);
}

.hero-mosaic span:nth-child(1) { background-position: 0% center; }
.hero-mosaic span:nth-child(2) { background-position: 15% center; }
.hero-mosaic span:nth-child(3) { background-position: 34% center; }
.hero-mosaic span:nth-child(4) { background-position: 50% center; }
.hero-mosaic span:nth-child(5) { background-position: 66% center; }
.hero-mosaic span:nth-child(6) { background-position: 82% center; }
.hero-mosaic span:nth-child(7) { background-position: 100% center; }

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(2, 8, 16, 0.36), rgba(2, 8, 16, 0.74)),
    linear-gradient(90deg, rgba(2, 8, 16, 0.62), rgba(2, 8, 16, 0.16), rgba(2, 8, 16, 0.62));
}

.home-hero::after {
  height: 115px;
  background: linear-gradient(180deg, transparent, rgba(2, 8, 16, 0.96));
}

.home-hero-inner {
  margin-top: -4px;
}

.home-kicker {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  text-transform: none;
}

.home-hero h1 {
  max-width: 760px;
  font-size: clamp(29px, 4.05vw, 44px);
  line-height: 1.03;
}

.home-subtitle {
  margin-bottom: 18px;
  font-size: 14px;
}

.home-search-card {
  width: min(680px, 100%);
}

.home-search-line {
  grid-template-columns: minmax(0, 1fr) 94px;
  gap: 10px;
  padding: 13px 14px;
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
}

.home-search-field span {
  font-size: 13px;
}

.home-search-submit {
  min-height: 46px;
  border-radius: 6px;
  font-size: 12px;
}

.home-v2 .advanced-filters {
  width: fit-content;
  margin-top: 12px;
  background: transparent;
  border: 0;
}

.home-v2 .advanced-filters summary {
  min-height: 32px;
  padding: 7px 18px;
  background: rgba(2, 8, 16, 0.68);
  border-color: rgba(255, 255, 255, 0.42);
  border-radius: 5px;
  font-size: 12px;
}

.home-v2 .advanced-filters[open] {
  width: min(720px, 100%);
  background: rgba(2, 8, 16, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.home-v2 .ai-summary.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.quick-category-shell {
  width: min(1160px, calc(100% - 90px));
  margin: -28px auto 24px;
  padding: 16px 18px;
  border-radius: 7px;
}

.quick-category-shell a {
  min-height: 54px;
  font-size: 10px;
}

.quick-category-shell span {
  font-size: 18px;
}

.home-block {
  width: min(1160px, calc(100% - 90px));
  padding: 20px 0;
}

.sponsor-showcase {
  gap: 12px;
}

.home-v2 .banner-card {
  min-height: 236px;
  padding: 22px;
}

.home-v2 .banner-card h3 {
  font-size: 24px;
}

.home-v2 .banner-card p {
  font-size: 13px;
}

.home-v2 .listing-grid {
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
}

.home-v2 .listing-media {
  height: 108px;
}

.home-v2 .listing-card .card-body {
  padding: 10px;
}

.home-v2 .listing-card h3 {
  min-height: 34px;
  font-size: 12px;
}

.home-v2 .listing-card .meta {
  font-size: 10px;
}

.home-v2 .listing-card .price {
  font-size: 14px;
}

.home-v2 .tag {
  padding: 5px 8px;
  font-size: 9px;
}

.home-v2 .year-badge,
.home-v2 .favorite-badge {
  transform: scale(0.86);
  transform-origin: top left;
}

.home-v2 .details-pill {
  min-height: 30px;
  padding-block: 7px;
}

.action-card {
  min-height: 166px;
  padding: 20px;
}

.action-card h3 {
  font-size: 18px;
}

.home-v2 #segmentos .category-card:nth-child(n + 7) {
  display: grid;
}

.home-v2 .segment-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.home-v2 .category-card,
.home-v2 .segment-view-all {
  min-height: 118px;
}

.home-v2 .solution-track {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.home-v2 .solution-card {
  min-height: 132px;
}

.home-stats,
.home-newsletter,
.home-footer {
  width: 100%;
}

@media (max-width: 1180px) {
  .home-v2 .listing-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .home-v2 .solution-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .advertiser-plan-details {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .home-v2 .site-header {
    grid-template-columns: 132px auto;
  }

  .home-v2 .brand img {
    width: 128px;
  }

  .home-hero {
    min-height: 390px;
    padding: 54px 18px 60px;
  }

  .hero-mosaic {
    grid-template-columns: repeat(4, 1fr);
  }

  .hero-mosaic span:nth-child(n + 5) {
    display: none;
  }

  .quick-category-shell,
  .home-block {
    width: min(100% - 24px, 720px);
  }

  .home-v2 .banner-track {
    grid-template-columns: 1fr;
  }

  .home-v2 .listing-grid,
  .action-cards,
  .home-v2 .segment-grid,
  .home-v2 .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .advertiser-plan-intro,
  .panel-plan-actions,
  .portal-action-card,
  .portal-split,
  .panel-filter-row,
  .panel-campaign-grid,
  .advertiser-profile-grid {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .advertiser-logo-box {
    position: static;
  }

  .panel-lead-table article,
  .panel-data-table .portal-table-row {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .panel-lead-table time,
  .panel-lead-table b,
  .panel-lead-table select,
  .panel-lead-row .admin-row-actions,
  .panel-data-table .portal-table-row > span {
    grid-column: 2;
  }

  .panel-lead-row .admin-row-actions {
    justify-content: flex-start;
  }

  .advertiser-plan-intro {
    display: grid;
  }
}

@media (max-width: 620px) {
  .home-hero {
    padding-top: 42px;
  }

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

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

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

  .home-v2 .listing-grid,
  .action-cards,
  .benefit-row,
  .home-v2 .segment-grid,
  .home-v2 .solution-track,
  .home-v2 .blog-grid,
  .home-stats {
    grid-template-columns: 1fr;
  }

  .advertiser-plan-grid,
  .panel-form-grid,
  .panel-segment-grid,
  .panel-upgrade-options {
    grid-template-columns: 1fr;
  }

  .advertiser-plan-card {
    min-height: auto;
  }

  .portal-action-buttons,
  .panel-plan-status-actions,
  .panel-lock-actions {
    display: grid;
    justify-content: stretch;
  }

  .portal-action-buttons .btn,
  .panel-plan-status-actions .btn,
  .panel-lock-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Panel responsive polish */
.panel-page,
.buyer-page,
.orders-page,
.admin-content,
.portal-panel-main,
.portal-card,
.admin-panel {
  min-width: 0;
}

.portal-panel-main > *,
.admin-panel > * {
  min-width: 0;
}

.portal-panel-nav {
  min-width: 0;
}

.portal-panel-nav button,
.admin-nav button,
.admin-subnav button {
  min-width: 0;
}

.portal-panel-nav button > span:not(.nav-icon),
.admin-nav button > span:not(.nav-icon) {
  overflow: hidden;
  text-overflow: ellipsis;
}

.portal-table,
.panel-data-table,
.panel-lead-table,
.admin-table {
  max-width: 100%;
}

.portal-table-row,
.admin-table-row {
  min-width: 0;
}

.portal-table-row strong,
.portal-table-row small,
.admin-table-row strong,
.admin-table-row small,
.admin-media-cell b,
.admin-listing-cell b,
.admin-company-cell b {
  overflow-wrap: anywhere;
}

@media (max-width: 1180px) {
  .footer,
  .siteFooter .footerGrid,
  .footerGrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }

  .footer-brand,
  .footerBrand {
    grid-column: 1 / -1;
  }

  .portal-panel-layout {
    grid-template-columns: 230px minmax(0, 1fr);
  }

  .portal-panel-nav {
    gap: 8px;
    padding: 10px;
  }

  .portal-panel-nav button {
    padding: 10px;
    font-size: 13px;
  }

  .portal-panel-hero h1 {
    font-size: clamp(30px, 5vw, 48px);
  }

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

  .admin-content {
    padding: 22px;
  }
}

@media (max-width: 900px) {
  .footer,
  .siteFooter .footerGrid,
  .footerGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer {
    padding-inline: 18px;
  }

  .siteFooter {
    padding-inline: 18px;
  }

  .footer-bottom {
    justify-content: flex-start;
  }

  .panel-page,
  .buyer-page,
  .orders-page {
    width: min(100% - 24px, 760px);
    padding-top: 18px;
  }

  .portal-panel-layout {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .portal-panel-nav {
    position: relative;
    top: auto;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(158px, 1fr);
    grid-template-columns: none;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x proximity;
    padding: 8px;
  }

  .portal-panel-nav button {
    scroll-snap-align: start;
    white-space: nowrap;
  }

  .portal-panel-hero,
  .portal-action-card,
  .portal-split,
  .advertiser-plan-intro,
  .advertiser-plan-details,
  .panel-plan-actions,
  .panel-filter-row,
  .panel-campaign-grid,
  .advertiser-profile-grid {
    grid-template-columns: 1fr;
  }

  .portal-panel-hero {
    padding: 20px;
  }

  .portal-user-card {
    max-width: none;
  }

  .panel-form-grid,
  .admin-form-grid,
  .admin-filter-bar,
  .admin-settings-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .admin-shell {
    min-height: 100vh;
  }

  .admin-content {
    padding: 18px;
  }

  .admin-page-head h1 {
    font-size: clamp(28px, 7vw, 42px);
  }

  .admin-table {
    overflow-x: auto;
    padding-bottom: 6px;
  }

  .admin-row-actions {
    gap: 6px;
  }
}

@media (max-width: 620px) {
  .footer,
  .siteFooter .footerGrid,
  .footerGrid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .footer,
  .siteFooter {
    padding: 28px 16px 18px;
  }

  .footer img {
    width: 156px;
  }

  .siteFooter .brand img,
  .footerBrand .brand img {
    width: 36px;
    height: 36px;
  }

  .siteFooter .brand strong,
  .footerBrand .brand strong,
  .siteFooter .brand b,
  .footerBrand .brand b {
    font-size: 18px;
  }

  .footer-contact a {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .footer-bottom,
  .siteFooter .copyright,
  .copyright {
    display: grid;
    gap: 8px;
    text-align: left;
  }

  .panel-page,
  .buyer-page,
  .orders-page {
    width: calc(100% - 18px);
    max-width: calc(100% - 18px);
    padding-top: 12px;
  }

  .portal-panel-hero {
    padding: 16px;
    text-align: left;
  }

  .portal-panel-hero h1 {
    font-size: 28px;
    line-height: 1.05;
  }

  .portal-panel-hero p:not(.eyebrow) {
    font-size: 14px;
  }

  .portal-kpi-grid,
  .buyer-alert-grid,
  .advertiser-plan-grid,
  .panel-form-grid,
  .panel-segment-grid,
  .admin-form-grid,
  .admin-filter-bar,
  .admin-settings-grid {
    grid-template-columns: 1fr;
  }

  .portal-panel-nav {
    grid-auto-columns: minmax(136px, 76vw);
    margin-inline: -2px;
  }

  .portal-panel-nav button {
    min-height: 48px;
    padding: 9px 10px;
  }

  .portal-card,
  .admin-panel {
    padding: 14px;
    border-radius: 14px;
  }

  .portal-card-head {
    gap: 10px;
  }

  .portal-action-buttons,
  .panel-plan-status-actions,
  .panel-lock-actions,
  .admin-head-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .portal-action-buttons .btn,
  .panel-plan-status-actions .btn,
  .panel-lock-actions .btn,
  .admin-head-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .admin-row-actions {
    flex-wrap: nowrap;
  }

  .portal-table-row,
  .panel-data-table .portal-table-row {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 10px;
    padding: 12px;
  }

  .portal-table-row > span,
  .portal-table-row .btn,
  .panel-data-table .portal-table-row > span {
    grid-column: 1 / -1;
  }

  .panel-lead-table article,
  .admin-table-row {
    min-width: 620px;
  }

  .admin-topbar {
    position: sticky;
    top: 0;
    z-index: 35;
  }

  .admin-user-menu {
    right: 0;
    width: min(260px, calc(100vw - 28px));
  }
}

@media (max-width: 430px) {
  .portal-panel-hero h1 {
    font-size: 24px;
  }

  .portal-kpi-grid article,
  .buyer-alert-grid article {
    padding: 14px;
  }

  .portal-table-row,
  .panel-data-table .portal-table-row {
    grid-template-columns: 1fr;
  }

  .portal-table-row img,
  .portal-row-placeholder {
    width: 100%;
    height: 128px;
  }

  .admin-content {
    padding: 12px;
  }
}
