:root {
  color-scheme: dark;
  --mib-bg: #050505;
  --mib-surface: #0d0d0f;
  --mib-surface-strong: #151518;
  --mib-text: #ffffff;
  --mib-muted: #a1a1aa;
  --mib-border: #2c2c31;
  --mib-border-strong: #45454c;
  --mib-accent: #ffad0a;
  --mib-accent-hover: #ffc13a;
  --mib-green: #62d471;
  --mib-blue: #74bff5;
  --mib-max: 1240px;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
  background: var(--mib-bg);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: clip;
  background: var(--mib-bg);
  color: var(--mib-text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.is-dialog-open {
  overflow: hidden;
}

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
}

button,
select {
  cursor: pointer;
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(255, 173, 10, 0.7);
  outline-offset: 3px;
}

.showroom-skip {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  transform: translateY(-140%);
  padding: 11px 15px;
  background: var(--mib-accent);
  color: #050505;
  font-weight: 800;
  text-decoration: none;
}

.showroom-skip:focus {
  transform: translateY(0);
}

.showroom-header {
  position: sticky;
  z-index: 80;
  top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(5, 5, 5, 0.96);
  backdrop-filter: blur(16px);
}

.showroom-header-inner {
  width: min(var(--mib-max), calc(100% - 48px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
}

.showroom-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 168px;
  text-decoration: none;
}

.showroom-brand img {
  width: auto;
  height: 48px;
  object-fit: contain;
}

.showroom-brand span {
  font-size: 14px;
  font-weight: 800;
}

.showroom-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-left: auto;
}

.showroom-nav a {
  position: relative;
  padding: 28px 0 24px;
  color: #d4d4d8;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.showroom-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 18px;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--mib-accent);
  transition: transform 180ms ease;
}

.showroom-nav a:hover::after,
.showroom-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.showroom-contact,
.showroom-primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--mib-accent);
  border-radius: 4px;
  background: var(--mib-accent);
  color: #050505;
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.showroom-contact:hover,
.showroom-primary-action:hover {
  transform: translateY(-2px);
  border-color: var(--mib-accent-hover);
  background: var(--mib-accent-hover);
}

.showroom-menu-button {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--mib-border);
  border-radius: 4px;
  background: transparent;
  color: #fff;
}

.showroom-menu-button span,
.showroom-menu-button::before,
.showroom-menu-button::after {
  width: 19px;
  height: 2px;
  background: currentColor;
  transition: transform 180ms ease;
}

.showroom-menu-button::before,
.showroom-menu-button::after {
  content: "";
  position: absolute;
}

.showroom-menu-button::before {
  transform: translateY(-6px);
}

.showroom-menu-button::after {
  transform: translateY(6px);
}

.showroom-menu-button[aria-expanded="true"] span {
  opacity: 0;
}

.showroom-menu-button[aria-expanded="true"]::before {
  transform: rotate(45deg);
}

.showroom-menu-button[aria-expanded="true"]::after {
  transform: rotate(-45deg);
}

.showroom-hero {
  width: min(var(--mib-max), calc(100% - 48px));
  margin: 0 auto;
  padding: 76px 0 42px;
}

.showroom-hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: 76px;
  line-height: 0.98;
  overflow-wrap: break-word;
}

.showroom-hero h1 span {
  color: var(--mib-accent);
}

.showroom-hero p {
  max-width: 670px;
  margin: 24px 0 0;
  color: var(--mib-muted);
  font-size: 20px;
  line-height: 1.65;
}

.showroom-toolbar {
  width: min(var(--mib-max), calc(100% - 48px));
  margin: 0 auto;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--mib-border);
}

.showroom-search-wrap {
  position: relative;
  max-width: 620px;
}

.showroom-search-icon {
  position: absolute;
  top: 50%;
  left: 18px;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  color: #71717a;
  pointer-events: none;
}

.showroom-search {
  width: 100%;
  height: 54px;
  padding: 0 48px;
  border: 1px solid var(--mib-border-strong);
  border-radius: 4px;
  background: #09090b;
  color: #fff;
  font-size: 16px;
}

.showroom-search::placeholder {
  color: #71717a;
}

.showroom-search-clear {
  position: absolute;
  top: 50%;
  right: 8px;
  width: 36px;
  height: 36px;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: #a1a1aa;
  font-size: 21px;
}

.showroom-search-clear[hidden] {
  display: none;
}

.showroom-tabs {
  display: flex;
  gap: 30px;
  margin-top: 30px;
  overflow-x: auto;
  scrollbar-width: none;
}

.showroom-tabs::-webkit-scrollbar {
  display: none;
}

.showroom-tab {
  position: relative;
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0 0 13px;
  border: 0;
  background: transparent;
  color: #a1a1aa;
  font-size: 15px;
  font-weight: 750;
}

.showroom-tab::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--mib-accent);
  transition: transform 180ms ease;
}

.showroom-tab[aria-selected="true"] {
  color: var(--mib-accent);
}

.showroom-tab[aria-selected="true"]::after {
  transform: scaleX(1);
}

.showroom-filters {
  display: flex;
  align-items: end;
  gap: 14px;
  margin-top: 22px;
}

.showroom-field {
  display: grid;
  gap: 7px;
}

.showroom-field label {
  color: #71717a;
  font-size: 12px;
  font-weight: 750;
}

.showroom-select {
  min-width: 190px;
  height: 44px;
  padding: 0 40px 0 13px;
  border: 1px solid var(--mib-border-strong);
  border-radius: 4px;
  background: #09090b;
  color: #e4e4e7;
}

.showroom-reset {
  min-height: 44px;
  margin-left: auto;
  padding: 0 4px;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: #a1a1aa;
  font-size: 13px;
  font-weight: 750;
}

.showroom-reset:hover {
  border-bottom-color: var(--mib-accent);
  color: #fff;
}

.showroom-results {
  width: min(var(--mib-max), calc(100% - 48px));
  margin: 0 auto;
  padding: 34px 0 92px;
}

.showroom-results-head {
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.showroom-results-head p {
  margin: 0;
  color: #a1a1aa;
  font-size: 14px;
}

.showroom-results-head strong {
  color: #fff;
}

.showroom-updated {
  color: #71717a;
  font-size: 12px;
}

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

.showroom-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--mib-border);
  border-radius: 4px;
  background: #08080a;
  transition:
    border-color 180ms ease,
    transform 180ms ease;
}

.showroom-card:hover {
  transform: translateY(-4px);
  border-color: #5a5a62;
}

.showroom-card-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 0;
  border-bottom: 1px solid var(--mib-border);
  background: #141416;
  color: #71717a;
}

.showroom-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 360ms ease;
}

.showroom-card:hover .showroom-card-media img {
  transform: scale(1.035);
}

.showroom-image-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 30px;
  color: #5e5e66;
  font-size: 14px;
  font-weight: 750;
  text-align: center;
}

.showroom-card-body {
  display: grid;
  min-height: 220px;
  padding: 20px;
}

.showroom-card-category {
  margin: 0;
  color: #8b8b94;
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
}

.showroom-card h2 {
  display: -webkit-box;
  min-height: 50px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  margin: 9px 0 0;
  font-size: 20px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.showroom-card-meta {
  margin: 8px 0 0;
  color: #a1a1aa;
  font-size: 13px;
  line-height: 1.5;
}

.showroom-availability {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--mib-green);
  font-size: 13px;
  font-weight: 750;
}

.showroom-availability::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.showroom-availability.is-request {
  color: var(--mib-blue);
}

.showroom-card-actions {
  display: grid;
  grid-template-columns: 1fr 46px;
  gap: 8px;
  align-self: end;
  margin-top: 18px;
}

.showroom-inquiry,
.showroom-detail-button {
  min-height: 46px;
  border: 1px solid var(--mib-accent);
  border-radius: 4px;
  background: transparent;
  color: var(--mib-accent);
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
}

.showroom-inquiry {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
}

.showroom-inquiry:hover,
.showroom-detail-button:hover {
  background: var(--mib-accent);
  color: #050505;
}

.showroom-detail-button {
  width: 46px;
  font-size: 20px;
}

.showroom-load-more {
  min-width: 220px;
  min-height: 48px;
  display: block;
  margin: 34px auto 0;
  padding: 0 22px;
  border: 1px solid var(--mib-border-strong);
  border-radius: 4px;
  background: transparent;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.showroom-load-more:hover {
  border-color: var(--mib-accent);
  color: var(--mib-accent);
}

.showroom-empty {
  display: grid;
  grid-column: 1 / -1;
  place-items: start;
  min-height: 300px;
  padding: 58px 0;
  border-block: 1px solid var(--mib-border);
}

.showroom-empty h2 {
  margin: 0;
  font-size: 30px;
}

.showroom-empty p {
  max-width: 620px;
  margin: 13px 0 0;
  color: var(--mib-muted);
  line-height: 1.7;
}

.showroom-voucher {
  border-block: 1px solid var(--mib-border);
  background: #0c0c0e;
}

.showroom-voucher-inner {
  width: min(var(--mib-max), calc(100% - 48px));
  min-height: 370px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(360px, 1.1fr);
  gap: 68px;
  align-items: center;
  padding: 54px 0;
}

.showroom-voucher-media {
  overflow: hidden;
  border: 1px solid var(--mib-border-strong);
  border-radius: 4px;
  background: #050505;
}

.showroom-voucher-media img {
  display: block;
  width: 100%;
  aspect-ratio: 1.43 / 1;
  object-fit: cover;
}

.showroom-voucher h2 {
  max-width: 620px;
  margin: 0;
  font-size: 50px;
  line-height: 1.04;
}

.showroom-voucher h2 span {
  color: var(--mib-accent);
}

.showroom-voucher p {
  max-width: 590px;
  margin: 20px 0 0;
  color: var(--mib-muted);
  font-size: 17px;
  line-height: 1.7;
}

.showroom-voucher .showroom-primary-action {
  margin-top: 28px;
}

.showroom-service {
  width: min(var(--mib-max), calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 64px 0;
  border-bottom: 1px solid var(--mib-border);
}

.showroom-service article {
  min-width: 0;
  padding: 0 34px;
  border-left: 1px solid var(--mib-border);
}

.showroom-service article:first-child {
  padding-left: 0;
  border-left: 0;
}

.showroom-service article:last-child {
  padding-right: 0;
}

.showroom-service h2 {
  margin: 0;
  font-size: 18px;
}

.showroom-service p {
  margin: 10px 0 0;
  color: var(--mib-muted);
  font-size: 14px;
  line-height: 1.7;
}

.showroom-service a {
  display: inline-flex;
  margin-top: 16px;
  color: var(--mib-accent);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.showroom-footer {
  width: min(var(--mib-max), calc(100% - 48px));
  min-height: 130px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  color: #71717a;
  font-size: 13px;
}

.showroom-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.showroom-footer a {
  text-decoration: none;
}

.showroom-footer a:hover {
  color: #fff;
}

.showroom-dialog {
  width: min(820px, calc(100% - 40px));
  max-height: min(560px, calc(100dvh - 64px));
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--mib-border-strong);
  border-radius: 6px;
  background: #0b0b0d;
  color: #fff;
}

.showroom-dialog::backdrop {
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(5px);
}

.showroom-dialog-close {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  margin: 0;
  border: 1px solid var(--mib-border-strong);
  border-radius: 4px;
  background: #0b0b0d;
  color: #fff;
  font-size: 24px;
}

.showroom-dialog-content {
  display: grid;
  grid-template-columns: minmax(280px, 1.05fr) minmax(300px, 0.95fr);
  height: min(560px, calc(100dvh - 64px));
  min-height: 0;
}

.showroom-dialog-media {
  min-height: 0;
  overflow: hidden;
  background: #f4f4f2;
}

.showroom-dialog-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.showroom-dialog-copy {
  min-height: 0;
  padding: 60px 34px 32px;
  overflow-y: auto;
}

.showroom-dialog-copy h2 {
  margin: 10px 0 0;
  font-size: 29px;
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.showroom-dialog-copy p {
  margin: 18px 0 0;
  color: var(--mib-muted);
  line-height: 1.7;
}

.showroom-dialog-copy .showroom-primary-action {
  width: 100%;
  margin-top: 28px;
}

.showroom-skeleton {
  min-height: 510px;
  border: 1px solid var(--mib-border);
  border-radius: 4px;
  background: #111114;
  animation: showroom-pulse 1.2s ease-in-out infinite alternate;
}

@keyframes showroom-pulse {
  from {
    opacity: 0.48;
  }
  to {
    opacity: 0.82;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 980px) {
  .showroom-header-inner,
  .showroom-hero,
  .showroom-toolbar,
  .showroom-results,
  .showroom-voucher-inner,
  .showroom-service,
  .showroom-footer {
    width: min(100% - 36px, var(--mib-max));
  }

  .showroom-menu-button {
    position: relative;
    display: inline-flex;
    margin-left: auto;
  }

  .showroom-contact {
    display: none;
  }

  .showroom-nav {
    position: absolute;
    top: 74px;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 12px 18px 18px;
    border-bottom: 1px solid var(--mib-border);
    background: #070709;
  }

  .showroom-nav.is-open {
    display: grid;
  }

  .showroom-nav a {
    padding: 15px 4px;
    border-bottom: 1px solid #1f1f22;
  }

  .showroom-nav a::after {
    display: none;
  }

  .showroom-hero h1 {
    font-size: 60px;
  }

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

  .showroom-voucher-inner {
    grid-template-columns: 0.92fr 1.08fr;
    gap: 36px;
  }

  .showroom-voucher h2 {
    font-size: 40px;
  }
}

@media (max-width: 700px) {
  .showroom-header-inner,
  .showroom-hero,
  .showroom-toolbar,
  .showroom-results,
  .showroom-voucher-inner,
  .showroom-service,
  .showroom-footer {
    width: min(100% - 28px, var(--mib-max));
  }

  .showroom-brand span {
    display: none;
  }

  .showroom-hero {
    padding: 34px 0 24px;
  }

  .showroom-hero h1 {
    font-size: 44px;
    line-height: 1.02;
  }

  .showroom-hero p {
    margin-top: 14px;
    font-size: 17px;
    line-height: 1.55;
  }

  .showroom-tabs {
    gap: 24px;
    margin-top: 18px;
  }

  .showroom-filters {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 44px;
    gap: 8px;
    margin-top: 14px;
  }

  .showroom-field,
  .showroom-select {
    min-width: 0;
    width: 100%;
  }

  .showroom-reset {
    grid-column: auto;
    justify-self: stretch;
    width: 44px;
    min-height: 44px;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--mib-border-strong);
    border-radius: 4px;
    font-size: 0;
  }

  .showroom-reset::before {
    content: "↺";
    font-size: 20px;
  }

  .showroom-toolbar {
    padding-bottom: 22px;
  }

  .showroom-results {
    padding-top: 20px;
  }

  .showroom-results-head {
    margin-bottom: 14px;
  }

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

  .showroom-card-body {
    min-height: 205px;
  }

  .showroom-voucher-inner,
  .showroom-service,
  .showroom-dialog-content {
    grid-template-columns: 1fr;
  }

  .showroom-dialog-content {
    height: auto;
  }

  .showroom-voucher-inner {
    gap: 30px;
    padding: 40px 0 48px;
  }

  .showroom-voucher h2 {
    font-size: 36px;
  }

  .showroom-service article,
  .showroom-service article:first-child,
  .showroom-service article:last-child {
    padding: 26px 0;
    border-top: 1px solid var(--mib-border);
    border-left: 0;
  }

  .showroom-service article:first-child {
    border-top: 0;
  }

  .showroom-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 36px 0;
  }

  .showroom-dialog-media {
    min-height: auto;
    aspect-ratio: 4 / 3;
  }

  .showroom-dialog {
    width: calc(100% - 20px);
    max-height: calc(100dvh - 20px);
    overflow-y: auto;
  }

  .showroom-dialog-copy {
    overflow: visible;
    padding: 28px 22px calc(28px + env(safe-area-inset-bottom));
  }

  .showroom-dialog-copy h2 {
    font-size: 28px;
  }
}

@media (max-width: 420px) {
  .showroom-hero h1 {
    font-size: 39px;
  }
}
