@charset "UTF-8";
:root {
  color-scheme: light;
  --paper: #f5f4ef;
  --ink: #242521;
  --muted: #62665d;
  --line: #d7d8cf;
  --lime: #d4f477;
  
  --tray: #ebe7dc;
  --edge: #7d8076;
  --signal: #c84532;
  --signal-deep: #a93325;
  --signal-tint: #efdcd5;
  --gutter: 40px;
  font-family: Arial, Helvetica, sans-serif;
  font-synthesis: none;
  color: var(--ink);
  background: var(--paper);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}
body {
  margin: 0;
  background: var(--paper);
}
button,
input,
select {
  font: inherit;
}
button,
a,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
}
a {
  color: inherit;
  text-decoration: none;
}
svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
button {
  color: inherit;
}
button,
a,
select {
  touch-action: manipulation;
}
button:focus-visible,
a:focus-visible,
select:focus-visible,
summary:focus-visible,
input:focus-visible {
  outline: 3px solid #617dff;
  outline-offset: 5px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
img,
svg {
  max-width: 100%;
}
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  left: 20px;
  top: -60px;
  z-index: 100;
  padding: 12px 20px;
  background: #242521;
  color: white;
  border-radius: 4px;
}
.skip-link:focus {
  top: 12px;
}
#main-content {
  outline: none;
  min-height: 70vh;
}
.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5d9b58;
  flex-shrink: 0;
}


.showroom-header {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 0 max(var(--gutter), calc((100% - 1360px) / 2));
  gap: 20px;
}
.showroom-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  min-width: 0;
}
.caixa {
  width: 30px;
  height: 30px;
  color: var(--ink);
}
.caixa-cell {
  fill: var(--paper);
}
.caixa-chosen {
  fill: var(--signal);
}
.brand-word {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.brand-dot {
  display: inline-block;
  width: 0.22em;
  height: 0.22em;
  border-radius: 0.06em;
  background: var(--signal);
  margin-left: 0.05em;
}
.brand-sub {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding-left: 12px;
  margin-left: 2px;
  border-left: 1px solid var(--line);
  white-space: nowrap;
}
.showroom-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
}
.header-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 999px;
}
.header-link[aria-current='page'] {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
@media (hover: hover) {
  .header-link:hover {
    background: var(--tray);
  }
}
.header-about {
  background: none;
  border: 0;
  font-size: 13px;
  color: var(--muted);
  min-height: 44px;
  padding: 0 8px;
}
.view-select-label select {
  border: 1px solid var(--edge);
  border-radius: 8px;
  background: transparent;
  min-height: 44px;
  padding: 0 28px 0 10px;
  max-width: 220px;
  font-size: 13px;
  color: var(--ink);
}


.gallery-hero {
  padding: 55px 4.7% 0;
}
.hero-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  letter-spacing: 0.12em;
}

.gallery-empty {
  padding: 48px 0;
  border-top: 1px solid var(--line);
}
.gallery-empty p {
  margin-bottom: 18px;
}
.gallery-empty button {
  padding: 10px 16px;
  border-radius: 30px;
  background: var(--ink);
  color: var(--paper);
}

#visible-count {
  font-size: 12px;
  letter-spacing: 0.1em;
  white-space: nowrap;
  color: var(--muted);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px 24px;
}
.gallery-card {
  min-width: 0;
}
.card-link {
  display: block;
}

.card-description {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 95%;
  min-height: 36px;
  margin-bottom: 15px;
}

.card-tags {
  display: flex;
  gap: 6px;
  margin: 13px 0 15px;
  flex-wrap: wrap;
}
.card-tags span {
  font-size: 8px;
  letter-spacing: 0.025em;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 4px 7px;
}

.preview-index {
  background: #e4e9df;
  color: #2e4231;
}
.preview-index strong {
  font-family: Georgia, serif;
  font-size: 40px;
  font-weight: 400;
  line-height: 1.07;
  margin-top: 31px;
  letter-spacing: -0.065em;
}
.preview-index em {
  font-weight: 400;
}



.showroom-footer:empty {
  display: none;
}
.showroom-footer {
  background: var(--tray);
  border-top: 1px solid var(--line);
  padding: 40px max(var(--gutter), calc((100% - 1360px) / 2));
  display: flex;
  justify-content: space-between;
  gap: 60px;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
}
.footer-sign p {
  font-size: 14px;
  margin-top: 10px;
  color: var(--muted);
}
.footer-details {
  max-width: 560px;
}
.footer-details > p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}
.footer-links {
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 4px 24px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.footer-links span {
  margin-left: auto;
  color: var(--muted);
}
.footer-links a:hover {
  text-decoration: underline;
}


.comparison-intro {
  padding: 50px 4.7% 35px;
}
.comparison-intro h1 {
  font-size: clamp(42px, 6vw, 88px);
  font-weight: 400;
  letter-spacing: -0.06em;
  margin: 20px 0;
}
.comparison-intro p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 0 2%;
}
.compare-panel {
  border: 1px solid var(--line);
  min-width: 0;
  background: white;
  border-radius: 7px;
  overflow: hidden;
}
.compare-panel-bar {
  min-height: 58px;
  padding: 0 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--paper);
  gap: 8px;
}
.compare-panel-bar label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  min-width: 0;
}
.compare-panel-bar select {
  max-width: 220px;
  min-height: 44px;
  font-size: 14px;
  background: transparent;
  border: 0;
  padding: 0 3px;
}
.compare-panel-bar > a {
  font-size: 13px;
  white-space: nowrap;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  text-overflow: ellipsis;
}
.compare-panel iframe {
  width: 100%;
  height: 760px;
  border: 0;
  display: block;
}
.compare-note {
  font-size: 13px;
  color: var(--muted);
  padding: 20px 4.7% 45px;
}
.is-embedded .showroom-header,
.is-embedded .showroom-footer,
.is-embedded .skip-link {
  display: none;
}
.is-embedded #main-content {
  min-height: 100vh;
}
.is-embedded .detail-dialog {
  max-width: calc(100vw - 32px);
}


.detail-dialog {
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 48px 36px 35px;
  max-width: 520px;
  width: calc(100vw - 40px);
  background: var(--paper);
  color: var(--ink);
  max-height: 85vh;
  overflow: auto;
  box-shadow: 0 20px 100px #0003;
}
.detail-dialog::backdrop {
  background: #171a1d70;
  backdrop-filter: blur(6px);
}
.dialog-close {
  position: absolute;
  right: 16px;
  top: 16px;
  background: transparent;
  border: 1px solid var(--line);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.dialog-close svg {
  width: 17px;
}
.dialog-kicker {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 17px;
}
.detail-dialog h2 {
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 1.1;
  margin-bottom: 20px;
}
.detail-dialog > p {
  font-size: 14px;
  line-height: 1.7;
  margin: 18px 0;
}
.dialog-small {
  font-size: 12px !important;
  color: var(--muted);
}
.dialog-status {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  margin: 22px 0;
}
.dialog-link {
  font-size: 13px;
  display: inline-block;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 5px;
  margin-top: 8px;
}
.dialog-module-icon {
  background: var(--lime);
  width: 54px;
  height: 54px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
}
.dialog-module-icon svg {
  width: 30px;
  height: 30px;
}
.loading-state {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
  min-height: 65vh;
  font-size: 16px;
  letter-spacing: -0.02em;
}
.loading-state span {
  font-size: 8px;
  color: var(--muted);
  letter-spacing: 0.7em;
}
.error-state {
  padding: 90px 5%;
  text-align: center;
}
.error-state h1 {
  font-size: 40px;
  letter-spacing: -0.05em;
  margin-bottom: 15px;
}
.error-state p {
  font-size: 14px;
  color: var(--muted);
}
.error-state button,
.error-state a {
  display: inline-block;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 5px;
  font-size: 14px;
  margin: 30px 5px;
}
.noscript {
  padding: 50px;
  line-height: 1.6;
}
.module-card {
  display: flex;
  align-items: center;
  text-align: left;
  gap: 14px;
  background: none;
  border: 1px solid currentColor;
  padding: 18px;
  border-radius: 12px;
  width: 100%;
  transition:
    transform 0.2s,
    background 0.2s;
}
.module-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: #ffffff15;
}
.module-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.module-copy strong {
  font-size: 14px;
  font-weight: 500;
}
.module-copy > span {
  font-size: 10px;
  opacity: 1;
}
.module-arrow {
  margin-left: auto;
  font-size: 20px;
}
.module-card:hover {
  transform: translateY(-3px);
}
.hub-mockup {
  background: #171d26;
  color: #eef2ed;
  border: 1px solid #4b535a;
  border-radius: 14px;
  box-shadow: 0 35px 70px #0002;
  overflow: hidden;
  max-width: 620px;
  text-align: left;
}
.mockup-title {
  font:
    9px Arial,
    sans-serif;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 35px;
  border-bottom: 1px solid #ffffff15;
  padding: 0 15px;
  color: #9aa59f;
}
.mockup-dots {
  display: flex;
  gap: 5px;
}
.mockup-dots i {
  width: 5px;
  height: 5px;
  background: #778176;
  border-radius: 50%;
}
.mockup-body {
  display: flex;
  min-height: 285px;
}
.mockup-body aside {
  width: 54px;
  border-right: 1px solid #ffffff15;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 25px;
  font-size: 18px;
  color: #89988b;
  padding-top: 22px;
  flex-shrink: 0;
}
.bento-glyph {
  font:
    bold 32px Arial,
    sans-serif;
  letter-spacing: -0.08em;
  color: #d9f7a8;
}
.mockup-main {
  padding: 26px 27px 18px;
  flex: 1;
  min-width: 0;
}
.mockup-greeting small {
  font-size: 7px;
  letter-spacing: 0.15em;
  color: #95a294;
  display: block;
  margin-bottom: 10px;
}
.mockup-greeting strong {
  font-size: 25px;
  font-weight: 400;
  letter-spacing: -0.04em;
  display: block;
}
.mockup-greeting p {
  font-size: 9px;
  color: #aab3a6;
  margin-top: 6px;
}
.mockup-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin-top: 25px;
}
.mockup-grid > div {
  padding: 15px 10px 13px;
  border: 1px solid #ffffff15;
  border-radius: 7px;
  background: #202936;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mockup-grid svg {
  width: 21px;
  height: 21px;
  color: #c1e19d;
}
.mockup-grid span {
  font-size: 8px;
}
.mockup-caption {
  font-size: 7px;
  color: #99a495;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 17px;
}
.mockup-caption .status-dot {
  width: 4px;
  height: 4px;
}
.webgl-fallback canvas {
  visibility: hidden;
}



body.is-reference .showroom-header {
  position: relative;
  left: auto;
  bottom: auto;
  top: auto;
  transform: none;
  z-index: 80;
  width: 100%;
  max-width: 100%;
  height: auto;
  min-height: 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 6px 12px;
  border: 1px solid #ffffff40;
  border-radius: 0;
  background: #171a22e8;
  color: #fff;
  backdrop-filter: blur(16px);
  box-shadow: 0 4px 30px #0003;
}
.reference-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 12px 0 8px;
  border-radius: 999px;
  font-size: 15px;
  white-space: nowrap;
}
.reference-back:hover,
.seq-step:hover,
.reference-controls button:hover {
  background: #ffffff1f;
}
.reference-controls {
  display: flex;
  gap: 6px;
  align-items: center;
  min-width: 0;
}
.seq-step {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  font-size: 24px;
  line-height: 1;
}
.seq-step.is-off {
  opacity: 0.35;
}
.seq-pos {
  font-size: 13px;
  color: #c9cbc2;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.reference-controls select {
  border: 0;
  border-radius: 999px;
  background: #ffffff15;
  color: #fff;
  min-height: 44px;
  padding: 0 26px 0 14px;
  font-size: 13px;
  max-width: 220px;
}
.reference-controls option,
.reference-controls optgroup {
  background: #20232c;
  color: #fff;
}
.reference-controls button {
  border: 1px solid #ffffff59;
  border-radius: 999px;
  background: none;
  color: #fff;
  font-size: 14px;
  min-height: 44px;
  padding: 0 16px;
}
.reference-controls :focus-visible,
.reference-back:focus-visible {
  outline-color: var(--lime);
  outline-offset: 2px;
}
.is-reference #main-content {
  min-height: 100vh;
}
.is-reference .showroom-footer {
  display: none;
}
.is-embedded .showroom-header {
  display: none !important;
}


.gallery-page {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--gutter) 88px;
}
.gallery-page .g-kicker,
.gallery-page .card-kicker,
.gallery-page .g-label,
.detail-dialog .ficha-kicker {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.gallery-page .g-dot {
  display: inline-block;
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--ink);
}
.gallery-page .g-arrow,
.detail-dialog .g-arrow {
  display: inline-block;
  margin: 0 0.3em;
}

.gallery-page .g-box {
  background: var(--tray);
  border-radius: 24px;
  padding: 8px;
  gap: 8px;
}
.gallery-page .g-cell {
  background: var(--paper);
  border-radius: 16px;
  padding: 28px 32px;
  min-width: 0;
}


.gallery-page .g-hero {
  padding-top: 32px;
}
.gallery-page .g-hero-box {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  grid-template-areas:
    'main search'
    'main note';
}
.gallery-page .g-hero-main {
  grid-area: main;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  padding: 32px 40px 36px;
}
.gallery-page .g-hero h1 {
  font-size: clamp(38px, 4.3vw, 62px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.03;
  max-width: 12em;
  margin-top: auto;
  outline: none;
}
.gallery-page .g-lead {
  font-size: 18px;
  line-height: 1.5;
  max-width: 34em;
}
.gallery-page .g-hero-main .g-lead {
  margin-top: -12px;
}
.gallery-page .g-hero-search {
  grid-area: search;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 28px;
}
.gallery-page .g-hero-search label {
  font-size: 15px;
  font-weight: 700;
}
.gallery-page .g-field {
  position: relative;
  display: flex;
  gap: 8px;
}
.gallery-page .g-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  width: 20px;
  height: 20px;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}
.gallery-page input[type='search'] {
  width: 100%;
  min-width: 0;
  height: 48px;
  border: 1px solid var(--edge);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  font-size: 16px;
  padding: 0 14px 0 44px;
}
.gallery-page input[type='search']::placeholder {
  color: #6c7066;
}
.gallery-page .g-hero-search button {
  flex: none;
  height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 14px;
  background: var(--ink);
  color: var(--paper);
  font-size: 15px;
}
.gallery-page .g-hint {
  font-size: 13px;
  color: var(--muted);
}
.gallery-page .g-hero-note {
  grid-area: note;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px 28px;
}
.gallery-page .g-demo {
  display: flex;
  gap: 10px;
  font-size: 15px;
  line-height: 1.55;
}
.gallery-page .g-demo .g-dot {
  margin-top: 0.5em;
}
.gallery-page .g-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  font-size: 14px;
  color: var(--muted);
}
.gallery-page .g-stats b {
  color: var(--ink);
  font-size: 22px;
  letter-spacing: -0.02em;
  margin-right: 4px;
}
.gallery-page .g-resume {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 44px;
  font-size: 15px;
  text-decoration: underline;
  text-underline-offset: 4px;
}


.gallery-page .g-head {
  padding: 24px 0 8px;
  display: grid;
  gap: 14px;
  justify-items: start;
}
.gallery-page .g-back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-left: -8px;
  padding: 0 12px 0 0;
  font-size: 15px;
  color: var(--muted);
}
.gallery-page .g-back:hover {
  color: var(--ink);
}
.gallery-page .g-head h1 {
  font-size: clamp(30px, 3.4vw, 48px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.08;
  max-width: 24em;
  outline: none;
}
.gallery-page .g-head .g-demo {
  font-size: 14px;
  color: var(--muted);
  max-width: 64em;
}
.gallery-page .g-thin {
  font-size: 15px;
  line-height: 1.5;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--tray);
  max-width: 44em;
}


.gallery-page .g-section {
  margin-top: 64px;
}
.gallery-page .g-section-head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin-bottom: 20px;
}
.gallery-page .g-section-head h2 {
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.025em;
}
.gallery-page .g-section-head p {
  font-size: 15px;
  color: var(--muted);
}


.gallery-page .start-grid,
.gallery-page .gallery-grid,
.gallery-page .sector-tiles,
.gallery-page .style-tiles,
.detail-dialog .ficha-similar ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.gallery-page .start-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 36px 24px;
}
.gallery-page .gallery-grid {
  margin-top: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 44px 24px;
}
.gallery-page .gallery-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    'media media'
    'kicker kicker'
    'title title'
    'fit fit'
    'meta peek';
  align-items: center;
  align-content: start;
  column-gap: 12px;
  min-width: 0;
}
.gallery-page .card-media {
  grid-area: media;
  position: relative;
  aspect-ratio: 10 / 7;
  border-radius: 12px;
  overflow: hidden;
  background: var(--line);
  margin-bottom: 14px;
}
.gallery-page .card-media img,
.gallery-page .style-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-page .is-missing img {
  visibility: hidden;
}
.gallery-page .is-missing::after {
  content: attr(data-name);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 16px;
  text-align: center;
  font-size: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: inherit;
}
.gallery-page .card-kicker {
  grid-area: kicker;
  margin-bottom: 4px;
}
.gallery-page .card-title {
  grid-area: title;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.gallery-page .card-link {
  display: inline;
}
.gallery-page .card-link::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
}
.gallery-page .card-link:focus-visible {
  outline: none;
}
.gallery-page .card-link:focus-visible::after {
  outline: 3px solid #617dff;
  outline-offset: 6px;
}
.gallery-page .card-fit {
  grid-area: fit;
  font-size: 13px;
  line-height: 1.45;
  margin-top: 6px;
}
.gallery-page .card-meta {
  grid-area: meta;
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}
.gallery-page .card-peek {
  grid-area: peek;
  position: relative;
  z-index: 1;
  min-height: 44px;
  padding: 0 14px 0 16px;
  border: 1px solid var(--edge);
  border-radius: 999px;
  background: var(--paper);
  font-size: 14px;
  margin-top: 4px;
}
.gallery-page .card-peek:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.gallery-page .card-peek .g-arrow {
  margin-right: 0;
}

.gallery-page .start-card,
.gallery-page .g-originals .gallery-card {
  grid-template-rows: auto auto auto 1fr auto;
  align-content: stretch;
}
.gallery-page .start-card .card-fit,
.gallery-page .g-originals .card-fit {
  align-self: start;
}


.gallery-page .sector-tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.gallery-page .sector-tile,
.gallery-page .style-tile {
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
  border-radius: 16px;
}
.gallery-page .sector-tile {
  min-height: 132px;
  padding: 20px 22px;
  background: var(--paper);
}
.gallery-page .tile-label {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.gallery-page .tile-hint {
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
}
.gallery-page .tile-count {
  margin-top: auto;
  padding-top: 8px;
  font-size: 13px;
}
.gallery-page .sector-tile:hover {
  background: #fff;
}
.gallery-page .g-more-sectors {
  margin-top: 12px;
}
.gallery-page .g-more-sectors summary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--edge);
  border-radius: 999px;
  font-size: 15px;
  cursor: pointer;
  list-style: none;
}
.gallery-page .g-more-sectors summary:hover {
  background: #fff;
}
.gallery-page .g-more-sectors summary::-webkit-details-marker {
  display: none;
}
.gallery-page .g-more-sectors summary::after {
  content: '+';
  font-size: 18px;
}
.gallery-page .g-more-sectors[open] summary::after {
  content: '−';
}
.gallery-page .g-more-sectors .sector-tiles {
  margin-top: 12px;
}
.gallery-page .style-tiles {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 20px 16px;
}
.gallery-page .style-media {
  position: relative;
  display: block;
  aspect-ratio: 10 / 7;
  border-radius: 12px;
  overflow: hidden;
  background: var(--line);
  margin-bottom: 6px;
}
.gallery-page .style-tile .tile-label {
  font-size: 16px;
}


.gallery-page .g-all {
  margin-top: 64px;
  outline: none;
}
.gallery-page[data-mode='results'] .g-all,
.gallery-page[data-mode='selection'] .g-all {
  margin-top: 24px;
}

.gallery-page .g-toolbar {
  display: contents;
}

.gallery-page .g-bar {
  position: sticky;
  top: 0;
  z-index: 6;
  padding: 8px 0;
  background: var(--paper);
}
.gallery-page .g-bar-box {
  display: flex;
  gap: 8px;
  padding: 8px;
  border-radius: 20px;
  background: var(--tray);
}
.gallery-page .g-search {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
}
.gallery-page .g-sector {
  position: relative;
  flex: 0 1 340px;
  min-width: 0;
}
.gallery-page .g-sector select {
  width: 100%;
  height: 48px;
  border: 1px solid var(--edge);
  border-radius: 14px;
  background: #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%23242521' stroke-width='1.6'/%3E%3C/svg%3E")
    no-repeat right 16px center / 12px 8px;
  color: var(--ink);
  font-size: 15px;
  padding: 0 40px 0 16px;
  appearance: none;
  text-overflow: ellipsis;
}

.gallery-page .g-sector.is-chosen select {
  background-color: var(--signal-tint);
  border-color: var(--signal);
  box-shadow: inset 0 0 0 1px var(--signal);
  padding-left: 32px;
}
.gallery-page .g-sector.is-chosen::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-radius: 2px;
  background: var(--signal);
  pointer-events: none;
}
.gallery-page .g-styles {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 6px;
}
.gallery-page .g-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.gallery-page .g-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--edge);
  border-radius: 999px;
  background: transparent;
  font-size: 15px;
  white-space: nowrap;
}
.gallery-page .g-chip .g-dot {
  display: none;
  background: var(--signal);
}
.gallery-page .g-chip .g-n {
  color: var(--muted);
  font-size: 13px;
}
.gallery-page .g-chip:hover:not(:disabled) {
  background: #fff;
}
.gallery-page .g-chip[aria-pressed='true'] {
  background: var(--signal-tint);
  border-color: var(--signal);
  box-shadow: inset 0 0 0 1px var(--signal);
}
.gallery-page .g-chip[aria-pressed='true'] .g-dot {
  display: inline-block;
}
.gallery-page .g-chip[aria-pressed='true'] .g-n {
  color: var(--ink);
}
.gallery-page .g-chip:disabled {
  border-style: dashed;
  color: var(--muted);
}
.gallery-page .g-status {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin-top: 16px;
  min-height: 20px;
}
.gallery-page #visible-count {
  font-size: 14px;
  letter-spacing: 0;
  color: var(--ink);
  font-weight: 700;
  margin: 0;
}
.gallery-page .g-style-hint {
  font-size: 14px;
  color: var(--muted);
}
.gallery-page .g-suggest {
  margin-top: 16px;
}
.gallery-page .g-suggest a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--tray);
  font-size: 15px;
}
.gallery-page .g-suggest a:hover {
  background: var(--ink);
  color: var(--paper);
}


.gallery-page .g-btn,
.detail-dialog .g-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--edge);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.2;
  text-align: center;
}
.gallery-page .g-btn:hover,
.detail-dialog .g-btn:hover {
  background: #fff;
}
.gallery-page .g-btn.is-primary,
.detail-dialog .g-btn.is-primary {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.gallery-page .g-btn.is-primary:hover,
.detail-dialog .g-btn.is-primary:hover {
  background: #000;
}
.gallery-page .g-more {
  display: flex;
  justify-content: center;
  margin-top: 56px;
}
.gallery-page .g-more-button {
  min-height: 52px;
  padding: 0 28px;
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
  font-size: 16px;
}
.gallery-page .g-more-button:hover {
  background: #000;
}
.gallery-page .g-more-left {
  color: #c9cbc2;
  margin-left: 6px;
}
.gallery-page .g-selection-end {
  margin-top: 48px;
  text-align: center;
}


.gallery-page .gallery-empty {
  margin-top: 24px;
  padding: 32px;
  border: 0;
  border-radius: 24px;
  background: var(--tray);
}
.gallery-page .gallery-empty p {
  margin: 0;
}
.gallery-page .g-empty-title {
  font-size: 22px;
  letter-spacing: -0.01em;
}
.gallery-page .g-relax {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.gallery-page .gallery-empty .g-btn {
  padding: 0 18px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
}
.gallery-page .gallery-empty .g-btn.is-primary {
  background: var(--ink);
  color: var(--paper);
}
.gallery-page .gallery-empty .g-tries {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 4px;
  margin-top: 18px;
  font-size: 15px;
  color: var(--muted);
}
.gallery-page .gallery-empty .g-try {
  min-width: 44px;
  min-height: 44px;
  padding: 0 8px;
  border: 0;
  border-radius: 8px;
  background: none;
  font-size: 15px;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.gallery-page .g-empty-sub {
  margin-top: 28px !important;
  font-size: 15px;
  color: var(--muted);
}
.gallery-page .start-mini {
  margin-top: 14px;
}


.detail-dialog.is-ficha {
  max-width: 1080px;
  width: calc(100vw - 48px);
  max-height: calc(100dvh - 48px);
  padding: 0;
  border-radius: 24px;
  border: 0;
}
.detail-dialog .ficha {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  grid-template-rows: auto auto 1fr;
  grid-template-areas:
    'top top'
    'media body'
    'similar body';
}
.detail-dialog .ficha-top {
  grid-area: top;
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 8px 8px 16px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.detail-dialog .ficha-top .dialog-close {
  position: static;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border-color: var(--edge);
}
.detail-dialog .ficha-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
}
.detail-dialog .ficha-step {
  min-height: 44px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-size: 15px;
  white-space: nowrap;
}
.detail-dialog .ficha-step:hover {
  background: var(--tray);
}
.detail-dialog .ficha-step[aria-disabled='true'] {
  color: var(--muted);
}
.detail-dialog .ficha-pos {
  font-size: 14px;
  color: var(--muted);
  padding: 0 6px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.detail-dialog .ficha-media {
  grid-area: media;
  position: relative;
  align-self: start;
  margin: 24px 12px 24px 24px;
  padding: 8px;
  border-radius: 24px;
  background: var(--tray);
}
.detail-dialog .ficha-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 10 / 7;
  object-fit: cover;
  border-radius: 16px;
  background: var(--line);
}
.detail-dialog .ficha-media.is-missing img {
  visibility: hidden;
}
.detail-dialog .ficha-body {
  grid-area: body;
  padding: 28px 32px 32px 20px;
  min-width: 0;
}
.detail-dialog .ficha-body h2 {
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 8px 0 20px;
}
.detail-dialog .ficha-facts {
  margin: 0;
  display: grid;
  border-top: 1px solid var(--line);
}
.detail-dialog .ficha-facts > div {
  display: grid;
  grid-template-columns: 9.5em minmax(0, 1fr);
  align-items: baseline;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.detail-dialog .ficha-facts dt {
  font-size: 13px;
  color: var(--muted);
  padding-top: 2px;
}
.detail-dialog .ficha-facts dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
}

.detail-dialog .ficha-facts a {
  display: inline-flex;
  align-items: center;
  min-width: 44px;
  min-height: 44px;
  margin-block: -8px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.detail-dialog .ficha-note {
  font-size: 13px;
  color: var(--muted);
  margin: 14px 0 0;
}
.detail-dialog .ficha-open,
.detail-dialog .ficha-actions {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  vertical-align: top;
}
.detail-dialog .ficha-open {
  margin-right: 8px;
}
.detail-dialog .ficha-toast {
  flex-basis: 100%;
  font-size: 14px;
  margin: 0;
}
.detail-dialog .ficha-toast:empty {
  display: none;
}
.detail-dialog .ficha-url {
  flex-basis: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--edge);
  border-radius: 12px;
  font-size: 14px;
}
.detail-dialog .ficha-similar {
  grid-area: similar;
  align-self: start;
  margin: 0 12px 28px 24px;
  padding: 0 8px;
}
.detail-dialog .ficha-similar h3 {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.detail-dialog .ficha-similar ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.detail-dialog .ficha-similar button,
.detail-dialog .ficha-similar a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  font-size: 13px;
  line-height: 1.3;
}
.detail-dialog .ficha-similar-media {
  display: block;
  aspect-ratio: 10 / 7;
  border-radius: 10px;
  overflow: hidden;
  background: var(--line);
}
.detail-dialog .ficha-similar-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.detail-dialog .ficha-similar button:hover .ficha-similar-name,
.detail-dialog .ficha-similar a:hover .ficha-similar-name {
  text-decoration: underline;
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .gallery-page .card-media img,
  .gallery-page .style-media img {
    transition: transform 0.56s cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  .gallery-page .gallery-card:hover .card-media img,
  .gallery-page .style-tile:hover .style-media img {
    transform: scale(1.02);
  }
  .gallery-page .gallery-card:hover .card-link,
  .gallery-page .style-tile:hover .tile-label {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
  }
}
@media (forced-colors: active) {
  .gallery-page .g-chip,
  .gallery-page .sector-tile,
  .gallery-page .style-tile,
  .gallery-page .g-cell,
  .gallery-page .g-bar-box,
  .gallery-page .card-peek {
    border: 1px solid CanvasText;
  }
  .gallery-page .g-chip[aria-pressed='true'] {
    outline: 2px solid Highlight;
  }
}


@media (min-width: 1600px) {
  .gallery-grid {
    gap: 45px 32px;
  }
  
  
  
  
  
  
  
  
  
  
  
  
  .gallery-page .gallery-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 44px 32px;
  }
}
@media (max-width: 1100px) {
  .showroom-nav {
    gap: 4px;
  }
  
  
  
  
  
  
  
  
  
  
  .gallery-grid {
    gap: 30px 18px;
  }
  
  .gallery-page .start-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .gallery-page .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 20px;
  }
  .gallery-page .style-tiles {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .gallery-page .sector-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .detail-dialog .ficha {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    grid-template-areas:
      'top'
      'media'
      'body'
      'similar';
  }
  .detail-dialog .ficha-similar {
    margin: 0 24px 28px;
    padding: 0;
  }
  .detail-dialog .ficha-media {
    margin: 16px 16px 0;
  }
  .detail-dialog .ficha-body {
    padding: 20px 24px 28px;
  }
}
@media (max-width: 820px) {
  .showroom-header {
    padding: 0 5%;
  }
  .header-about {
    display: none;
  }
  .gallery-hero {
    padding: 35px 5% 0;
  }
  
  
  
  
  
  
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
  
  
  
  
  
  
  
  .showroom-footer {
    padding: 35px 5%;
    gap: 40px;
  }
  .compare-panel-bar {
    padding: 0 10px;
  }
  .compare-panel-bar label {
    gap: 3px;
  }
  .compare-panel-bar select {
    max-width: 150px;
  }
  .compare-panel iframe {
    height: 650px;
  }
  .gallery-page .g-hero-box {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      'main'
      'note'
      'search';
  }
  .gallery-page .g-sector {
    flex-basis: 260px;
  }
}
@media (max-width: 600px) {
  :root {
    --gutter: 16px;
  }
  html {
    scroll-padding-top: 80px;
  }
  .showroom-header {
    padding: 0 16px;
    height: 56px;
    gap: 10px;
  }
  .caixa {
    width: 26px;
    height: 26px;
  }
  .brand-word {
    font-size: 21px;
  }
  .brand-sub {
    display: none;
  }
  .showroom-nav {
    gap: 0;
    font-size: 14px;
  }
  .header-link {
    padding: 0 10px;
  }
  .view-select-label select {
    font-size: 13px;
    padding: 0 5px;
    max-width: 118px;
  }
  .showroom-nav:has(.view-select-label) .header-link:not([href='#/gallery']) {
    display: none;
  }
  .hero-kicker {
    font-size: 12px;
    letter-spacing: 0.08em;
  }
  
  
  
  
  
  
  
  
  
  
  
  #visible-count {
    font-size: 12px;
    margin-top: 8px;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 33px;
  }
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  .card-description {
    font-size: 13px;
    min-height: 0;
  }
  .card-tags span {
    font-size: 9px;
  }
  .showroom-footer {
    flex-direction: column;
    gap: 20px;
    padding: 32px 16px;
  }
  .footer-brand {
    font-size: 34px;
  }
  .footer-links {
    gap: 0 18px;
  }
  .footer-links span {
    margin-left: 0;
  }
  
  .comparison-intro {
    padding-top: 35px;
  }
  .comparison-intro h1 {
    font-size: 48px;
  }
  .comparison-grid {
    grid-template-columns: 1fr;
    padding: 0 5%;
    gap: 25px;
  }
  .compare-panel-bar label {
    gap: 8px;
  }
  .compare-panel-bar select {
    max-width: 170px;
  }
  .compare-panel iframe {
    height: 620px;
  }
  .detail-dialog {
    padding: 45px 25px 25px;
  }
  .detail-dialog h2 {
    font-size: 30px;
  }
  .module-card {
    padding: 14px;
    gap: 10px;
  }
  .module-icon {
    width: 36px;
    height: 36px;
  }
  .module-copy strong {
    font-size: 12px;
  }
  .module-copy > span {
    font-size: 9px;
  }
  .mockup-main {
    padding: 20px 14px;
  }
  .mockup-body aside {
    width: 40px;
  }
  .mockup-grid {
    gap: 6px;
  }
  .mockup-grid > div {
    padding: 10px 7px;
  }
  .mockup-greeting strong {
    font-size: 23px;
  }
  .mockup-grid span {
    font-size: 7px;
  }
  body.is-reference .showroom-header {
    gap: 8px;
    padding: 6px 8px;
  }
  .reference-back {
    padding: 0 10px 0 6px;
  }
  .reference-select {
    display: none;
  }
  .reference-controls {
    gap: 2px;
  }
  .reference-controls button {
    padding: 0 14px;
  }
  
  .gallery-page .g-hero {
    padding-top: 16px;
  }
  .gallery-page .g-box {
    border-radius: 20px;
    padding: 6px;
    gap: 6px;
  }
  .gallery-page .g-cell {
    border-radius: 14px;
  }
  .gallery-page .g-hero-main {
    padding: 22px 20px 24px;
    gap: 20px;
  }
  .gallery-page .g-hero h1 {
    font-size: 32px;
    line-height: 1.1;
  }
  .gallery-page .g-lead {
    font-size: 16px;
  }
  .gallery-page .g-hero-main .g-lead {
    margin-top: -6px;
  }
  .gallery-page .g-hero-note,
  .gallery-page .g-hero-search {
    padding: 18px 20px;
  }
  .gallery-page .g-demo {
    font-size: 14px;
  }
  .gallery-page .g-hero-search button {
    padding: 0 14px;
  }
  .gallery-page .g-section,
  .gallery-page .g-all {
    margin-top: 44px;
  }
  .gallery-page .g-section-head h2 {
    font-size: 24px;
  }
  .gallery-page .g-start .start-grid {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin: 0 -16px;
    padding: 0 16px 8px;
    scroll-padding: 0 16px;
  }
  .gallery-page .g-start .start-card {
    flex: 0 0 80%;
    scroll-snap-align: start;
  }
  .gallery-page .start-mini {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 12px;
  }
  .gallery-page .start-mini .card-title {
    font-size: 16px;
  }
  
  .gallery-page .sector-tile {
    min-height: 64px;
    padding: 14px 16px;
  }
  .gallery-page .tile-hint {
    display: none;
  }
  .gallery-page .tile-label {
    font-size: 16px;
  }
  .gallery-page .style-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 12px;
  }
  .gallery-page .g-bar {
    padding: 6px 0;
  }
  .gallery-page .g-bar-box {
    padding: 6px;
    gap: 6px;
    border-radius: 18px;
    flex-wrap: nowrap;
  }
  .gallery-page .g-sector-slot .g-sector {
    display: block;
    margin-top: 8px;
  }
  .gallery-page .g-sector select {
    font-size: 16px;
  }
  .gallery-page .g-styles {
    margin: 4px -16px 0;
  }
  .gallery-page .g-styles .g-label {
    display: none;
  }
  .gallery-page .g-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 0 16px 4px;
    scroll-padding: 0 16px;
  }
  .gallery-page .gallery-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }
  .gallery-page .card-title {
    font-size: 18px;
  }
  .gallery-page .g-more-button {
    width: 100%;
  }
  .gallery-page .gallery-empty {
    padding: 22px 18px;
    border-radius: 20px;
  }
  .detail-dialog.is-ficha {
    width: 100vw;
    max-width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    margin: 0;
    border-radius: 0;
  }
  .detail-dialog .ficha-top {
    padding: 6px 6px 6px 8px;
  }
  .detail-dialog .ficha-step {
    padding: 0 10px;
  }
  .detail-dialog .ficha-media {
    margin: 12px 12px 0;
    padding: 6px;
    border-radius: 20px;
  }
  .detail-dialog .ficha-media img {
    border-radius: 14px;
  }
  .detail-dialog .ficha-body {
    padding: 16px 16px 0;
  }
  .detail-dialog .ficha-body h2 {
    font-size: 30px;
  }
  .detail-dialog .ficha-facts > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding: 8px 0;
  }
  .detail-dialog .ficha-open {
    position: sticky;
    bottom: 0;
    z-index: 2;
    display: flex;
    margin: 20px -16px 0;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: var(--paper);
    border-top: 1px solid var(--line);
  }
  .detail-dialog .ficha-open .g-btn {
    flex: 1 1 auto;
    min-height: 48px;
  }
  .detail-dialog .ficha-actions {
    display: flex;
    margin-top: 12px;
  }
  .detail-dialog .ficha-actions .g-btn {
    flex: 1 1 auto;
  }
  .detail-dialog .ficha-similar {
    margin: 24px 16px 28px;
  }
}
@media (max-width: 420px) {
  
  .gallery-page .g-hero-search .g-icon {
    display: none;
  }
  .gallery-page .g-hero-search input[type='search'] {
    padding-left: 14px;
  }
}
@media (max-width: 380px) {
  .gallery-page .g-hero h1 {
    font-size: 30px;
  }
  .detail-dialog .ficha-step {
    padding: 0 8px;
    font-size: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


.gallery-page .g-originals-all {
  margin-top: 28px;
}

.gallery-page .g-group-head {
  grid-column: 1 / -1;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 16px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.gallery-page .g-group-head h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.gallery-page .g-group-head p {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
}
.gallery-page .g-origin {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 8px;
}
@media (max-width: 600px) {
  .gallery-page .g-origin {
    margin-top: 6px;
  }
  
  .gallery-page .g-stats {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    gap: 4px 28px;
  }
  
  .gallery-page .g-originals .start-grid {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin: 0 -16px;
    padding: 0 16px 8px;
    scroll-padding: 0 16px;
  }
  .gallery-page .g-originals .gallery-card {
    flex: 0 0 80%;
    scroll-snap-align: start;
  }
  
  .compare-panel-bar {
    flex-wrap: wrap;
    gap: 0 8px;
  }
  .compare-panel-bar label {
    flex: 1 1 100%;
    min-width: 0;
  }
  .compare-panel-bar label > span {
    white-space: nowrap;
  }
  .compare-panel-bar select {
    flex: 1 1 auto;
    min-width: 0;
    max-width: none;
  }
  .compare-panel-bar > a {
    display: block;
    flex: 1 1 100%;
    min-width: 0;
    line-height: 44px;
    border-top: 1px solid var(--line);
  }
}
