:root {
  --bg: #000000;
  --surface: #0c0c0c;
  --surface-elevated: #141414;
  --text: #ffffff;
  --text-muted: #7c7c7c;
  --text-subtle: #a8a8a8;
  --accent: #c25e40;
  --border: rgba(255, 255, 255, 0.14);
  --border-strong: rgba(255, 255, 255, 0.35);
  --header-h: 85px;
  --font-brand: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --font-editorial: 'Libre Baskerville', Georgia, 'Times New Roman', serif;
  --font-ui: 'Barlow', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  -webkit-font-smoothing: antialiased;
  min-height: 100%;
  overflow-x: hidden;
}

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

button {
  font-family: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

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

/* =========================================
   HEADER
   ========================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  height: var(--header-h);
  background: rgba(0, 0, 0, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.25s ease, border-color 0.25s ease;
}

body.is-home .site-header {
  position: fixed;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0) 100%);
  backdrop-filter: none;
  border-bottom-color: transparent;
}

body.is-home .brand-wordmark {
  opacity: 0;
  pointer-events: none;
}

body.is-home .site-footer {
  display: none;
}

.header-inner {
  max-width: 1400px;
  height: 100%;
  margin: 0 auto;
  padding: 0 36px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  position: relative;
}

.header-left {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
}

.header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.brand-wordmark {
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: 21px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #ffffff;
  user-select: none;
  padding-left: 0.24em;
  transition: opacity 0.2s ease;
}

.brand-wordmark:hover {
  opacity: 0.85;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 8px 10px;
  color: #ffffff;
  transition: opacity 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.icon-btn:hover {
  opacity: 0.82;
}

.icon-svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Minimalist 3-line Hamburger matching adecor.pt */
.hamburger-btn {
  width: 44px;
  height: 44px;
  padding: 6px;
}

.hamburger-lines {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 18px;
}

.hamburger-lines span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: #ffffff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* =========================================
   MAGNIFYING GLASS LIVE SEARCH WIDGET
   ========================================= */
.search-widget {
  position: relative;
  display: flex;
  align-items: center;
}

.search-toggle-btn {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 8px 16px 8px 13px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.search-toggle-btn:hover {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.09);
  opacity: 1;
}

.search-bar-box {
  display: none;
  align-items: center;
  gap: 10px;
  width: min(520px, calc(100vw - 110px));
  height: 42px;
  padding: 0 12px 0 14px;
  background: #111111;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.65);
}

.search-widget.is-open .search-toggle-btn {
  display: none;
}

.search-widget.is-open .search-bar-box {
  display: flex;
}

.search-widget.is-open {
  z-index: 120;
}

.search-bar-icon {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
}

.search-input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.search-input::placeholder {
  color: #7c7c7c;
  font-weight: 300;
}

.search-count-badge {
  font-size: 11px;
  color: #d6d6d6;
  background: rgba(194, 94, 64, 0.25);
  border: 1px solid rgba(194, 94, 64, 0.5);
  border-radius: 999px;
  padding: 2px 8px;
  white-space: nowrap;
}

.search-clear-btn {
  font-size: 19px;
  line-height: 1;
  color: #a8a8a8;
  padding: 2px 5px;
}

.search-clear-btn:hover {
  color: #ffffff;
}

.search-close-btn {
  font-size: 10px;
  letter-spacing: 0.08em;
  color: #8c8c8c;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 4px;
  padding: 3px 6px;
}

.search-close-btn:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}

/* Search Dropdown — Live Photos appear right inside the Search Bar! */
.search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: min(760px, calc(100vw - 40px));
  background: #0d0d0d;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.9);
  overflow: hidden;
  z-index: 200;
}

.search-dropdown-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 320px;
  max-height: min(520px, 72vh);
}

.search-results-col {
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  min-height: 0;
}

.search-results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #999999;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #121212;
}

.search-kbd-hint {
  font-size: 10px;
  color: #6f6f6f;
  text-transform: none;
  letter-spacing: 0.02em;
}

.search-results-list {
  overflow-y: auto;
  flex: 1;
  padding: 6px;
}

.search-result-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 9px;
  border-radius: 6px;
  text-align: left;
  transition: background 0.15s ease;
}

.search-result-item:hover,
.search-result-item.is-active {
  background: rgba(255, 255, 255, 0.09);
}

.search-result-item.is-active {
  outline: 1px solid rgba(194, 94, 64, 0.65);
}

.search-result-thumb {
  width: 68px;
  height: 50px;
  border-radius: 4px;
  overflow: hidden;
  background: #1a1a1a;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.search-result-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.search-result-info {
  min-width: 0;
  flex: 1;
}

.search-result-name {
  font-size: 13.5px;
  font-weight: 500;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-result-name mark {
  background: rgba(194, 94, 64, 0.42);
  color: #ffffff;
  padding: 0 2px;
  border-radius: 2px;
}

.search-result-meta {
  margin-top: 3px;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #939393;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-empty {
  padding: 36px 18px;
  text-align: center;
  color: #8a8a8a;
  font-size: 13px;
  line-height: 1.6;
}

.search-preview-col {
  display: flex;
  flex-direction: column;
  background: #080808;
  padding: 14px;
  gap: 12px;
  min-height: 0;
}

.search-preview-frame {
  flex: 1;
  min-height: 180px;
  max-height: 310px;
  background: #121212;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-preview-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.search-preview-meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.search-preview-name {
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
  word-break: break-all;
}

.search-preview-cat {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.search-preview-actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.preview-action-btn {
  flex: 1;
  padding: 8px 10px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 4px;
  color: #ffffff;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.preview-action-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
}

.preview-action-btn.primary {
  background: var(--accent);
  border-color: var(--accent);
}

.preview-action-btn.primary:hover {
  background: #d56c4c;
  border-color: #d56c4c;
}

/* =========================================
   SLIDE-OUT MENU
   ========================================= */
.menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(3px);
  z-index: 150;
}

.slide-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(360px, 86vw);
  background: #0a0a0a;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 160;
  display: flex;
  flex-direction: column;
  padding: 28px 36px 36px;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.slide-menu.is-open {
  transform: translateX(0);
}

.slide-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.slide-menu-brand {
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.22em;
  color: #ffffff;
}

.menu-close-btn {
  padding: 6px;
  color: #ffffff;
  transition: opacity 0.2s ease;
}

.menu-close-btn:hover {
  opacity: 0.7;
}

.slide-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 44px;
  flex: 1;
}

.slide-nav-link {
  font-family: var(--font-ui);
  font-size: 24px;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: #e6e6e6;
  transition: color 0.18s ease, transform 0.18s ease;
}

.slide-nav-link:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.slide-nav-link.is-active {
  color: var(--accent);
  font-weight: 400;
}

.slide-menu-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
}

.menu-search-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 4px;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.menu-search-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #ffffff;
}

.slide-menu-note {
  margin: 16px 0 0;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #666666;
  text-align: center;
}

/* =========================================
   HOME (SPLASH)
   ========================================= */
.home-splash {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 540px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000000;
}

.home-splash-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.home-splash-scrim {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.42) 100%);
}

.enter-btn {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 146px;
  height: 44px;
  padding: 0 38px;
  border: 1.5px solid #ffffff;
  background: rgba(0, 0, 0, 0.25);
  color: #ffffff;
  font-family: var(--font-brand);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.28em;
  padding-left: calc(38px + 0.28em);
  text-transform: uppercase;
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
}

.enter-btn:hover {
  background: #ffffff;
  color: #000000;
  transform: scale(1.03);
}

/* =========================================
   PROJECTS INDEX (matching step_67_shot_1_projects.png)
   ========================================= */
.projects-page {
  max-width: 1220px;
  margin: 0 auto;
  padding: 20px 44px 110px;
  position: relative;
}

.projects-editorial-wrap {
  position: relative;
  padding-left: 70px;
}

.vertical-editorial-title {
  position: absolute;
  left: 0;
  top: 44px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--font-editorial);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(34px, 3.6vw, 48px);
  letter-spacing: 0.03em;
  color: #ffffff;
  user-select: none;
  z-index: 3;
  white-space: nowrap;
}

.projects-stagger-grid {
  display: flex;
  flex-direction: column;
  gap: 84px;
}

.project-card {
  position: relative;
  display: block;
  width: min(530px, 56%);
  transition: transform 0.3s ease;
}

.project-card:nth-child(even) {
  align-self: flex-end;
  margin-top: -190px;
}

.project-card:hover {
  transform: translateY(-4px);
}

.project-card-media {
  overflow: hidden;
  background: #111111;
}

.project-card-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 530 / 610;
  object-fit: cover;
  transition: transform 0.55s ease, filter 0.35s ease;
}

.project-card:hover .project-card-media img {
  transform: scale(1.03);
  filter: brightness(1.04);
}

.project-card-code {
  position: absolute;
  left: 50%;
  bottom: -24px;
  transform: translateX(-50%);
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: clamp(34px, 3.8vw, 48px);
  color: #ffffff;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.85);
  letter-spacing: 0.04em;
  pointer-events: none;
}

/* =========================================
   SINGLE PROJECT DETAIL (matching step_75_shot_1_pl19.png)
   ========================================= */
.project-detail-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 40px 100px;
}

.project-detail-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.project-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #b5b5b5;
  transition: color 0.18s ease;
}

.project-back-link:hover {
  color: #ffffff;
}

.project-switcher {
  display: flex;
  gap: 18px;
}

.project-switch-link {
  color: var(--text-muted);
  transition: color 0.18s ease;
}

.project-switch-link:hover,
.project-switch-link.is-active {
  color: #ffffff;
}

.project-detail-hero-wrap {
  position: relative;
  padding-left: 64px;
  margin-bottom: 24px;
}

.project-detail-hero-wrap .vertical-editorial-title {
  top: 10px;
}

.project-editorial-flow {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  padding-left: 64px;
}

.project-photo-card {
  position: relative;
  overflow: hidden;
  background: #0e0e0e;
  cursor: pointer;
}

.project-photo-card.is-wide {
  grid-column: span 12;
}

.project-photo-card.is-half {
  grid-column: span 6;
}

.project-photo-card img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.45s ease;
}

.project-photo-card:hover img {
  transform: scale(1.02);
}

.photo-hover-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 14px 10px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.78) 100%);
  color: #ffffff;
  font-size: 12px;
  letter-spacing: 0.04em;
  opacity: 0;
  transition: opacity 0.2s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.project-photo-card:hover .photo-hover-caption,
.product-card:hover .photo-hover-caption {
  opacity: 1;
}

/* =========================================
   DIVISIONS (matching step_77_shot_1_divisions_all.png)
   ========================================= */
.catalog-page {
  max-width: 1320px;
  margin: 0 auto;
  padding: 26px 32px 100px;
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 30px;
  margin-bottom: 42px;
}

.category-tab {
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 6px 2px;
  border-bottom: 1.5px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.category-tab:hover {
  color: #d0d0d0;
}

.category-tab.is-active {
  color: #ffffff;
  font-weight: 400;
  border-bottom-color: rgba(255, 255, 255, 0.85);
}

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

.division-card {
  position: relative;
  overflow: hidden;
  background: #101010;
  aspect-ratio: 4 / 4.6;
  cursor: pointer;
}

.division-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.division-code-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 18px 22px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 58%, rgba(0, 0, 0, 0.62) 100%);
  pointer-events: none;
}

.division-code-text {
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: #ffffff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}

/* =========================================
   PRODUCTS (matching step_90_shot_1_products_sofas.png)
   ========================================= */
.products-rooms-tabs {
  margin-bottom: 16px;
}

.products-subs-tabs {
  margin-bottom: 38px;
  gap: 10px 26px;
}

.products-subs-tabs .category-tab {
  font-size: 14px;
  color: #a6a6a6;
}

.products-subs-tabs .category-tab.is-active {
  color: #ffffff;
  font-weight: 500;
  border-bottom-color: var(--accent);
}

.products-masonry {
  column-count: 5;
  column-gap: 10px;
}

.product-card {
  position: relative;
  break-inside: avoid;
  margin-bottom: 10px;
  overflow: hidden;
  background: #141414;
  cursor: pointer;
}

.product-card img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.35s ease;
}

.product-card:hover img {
  transform: scale(1.025);
}

.product-code-badge {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 3px 8px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 3px;
  font-family: var(--font-ui);
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: #ffffff;
  pointer-events: none;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.product-card:hover .product-code-badge {
  background: rgba(194, 94, 64, 0.92);
  border-color: rgba(194, 94, 64, 1);
}

.empty-gallery-state {
  max-width: 560px;
  margin: 56px auto;
  padding: 44px 32px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0a0a0a;
}

.empty-gallery-title {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: 24px;
  margin: 0 0 12px;
  color: #ffffff;
}

.empty-gallery-desc {
  margin: 0;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
  color: #9c9c9c;
}

.empty-gallery-path {
  display: inline-block;
  margin-top: 14px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-family: Consolas, monospace;
  font-size: 12px;
  color: #e4e4e4;
}

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
  text-align: center;
  padding: 32px 20px 44px;
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.12em;
  color: #6b6b6b;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.site-footer p {
  margin: 0;
}

/* =========================================
   LIGHTBOX
   ========================================= */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(5, 5, 5, 0.96);
  display: flex;
  flex-direction: column;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 26px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.7);
}

.lightbox-info {
  display: flex;
  align-items: baseline;
  gap: 14px;
  min-width: 0;
}

.lightbox-name {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lightbox-category {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
}

.lightbox-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.lightbox-counter {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: #999999;
}

.lightbox-btn {
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 4px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.lightbox-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #ffffff;
}

.lightbox-icon-btn {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  color: #ffffff;
  transition: background 0.18s ease;
}

.lightbox-icon-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

.lightbox-stage {
  flex: 1;
  min-height: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 72px;
}

.lightbox-figure {
  margin: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-figure img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.75);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 76px;
  font-size: 46px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.78);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.18s ease, background 0.18s ease;
  border-radius: 6px;
}

.lightbox-nav:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.lightbox-nav.prev {
  left: 14px;
}

.lightbox-nav.next {
  right: 14px;
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: #1b1b1b;
  color: #ffffff;
  border: 1px solid rgba(194, 94, 64, 0.7);
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.04em;
  z-index: 400;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.7);
}

/* =========================================
   RESPONSIVE DESIGN (fixes Wix's broken 980px mobile layout!)
   ========================================= */
@media (max-width: 1120px) {
  .products-masonry {
    column-count: 4;
  }
}

@media (max-width: 900px) {
  .header-inner {
    padding: 0 18px;
  }
  .search-trigger-label {
    display: none;
  }
  .search-toggle-btn {
    padding: 8px 10px;
  }
  .search-dropdown-grid {
    grid-template-columns: 1fr;
  }
  .search-preview-col {
    display: none;
  }
  .projects-page {
    padding: 20px 20px 80px;
  }
  .projects-editorial-wrap {
    padding-left: 0;
  }
  .vertical-editorial-title {
    position: static;
    writing-mode: horizontal-tb;
    transform: none;
    margin-bottom: 28px;
    display: block;
  }
  .projects-stagger-grid {
    gap: 64px;
  }
  .project-card,
  .project-card:nth-child(even) {
    width: 100%;
    align-self: stretch;
    margin-top: 0;
  }
  .project-detail-hero-wrap,
  .project-editorial-flow {
    padding-left: 0;
  }
  .divisions-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .products-masonry {
    column-count: 3;
  }
}

@media (max-width: 600px) {
  :root {
    --header-h: 72px;
  }
  .brand-wordmark {
    font-size: 17px;
  }
  .catalog-page {
    padding: 18px 14px 72px;
  }
  .category-tabs {
    gap: 8px 16px;
    margin-bottom: 24px;
  }
  .category-tab {
    font-size: 13px;
  }
  .divisions-grid {
    grid-template-columns: 1fr;
  }
  .products-masonry {
    column-count: 2;
    column-gap: 8px;
  }
  .product-card {
    margin-bottom: 8px;
  }
  .project-photo-card.is-half {
    grid-column: span 12;
  }
  .lightbox-stage {
    padding: 14px 12px;
  }
  .lightbox-nav {
    width: 40px;
    height: 54px;
    font-size: 34px;
    background: rgba(0, 0, 0, 0.5);
  }
  .lightbox-category,
  .lightbox-btn {
    display: none;
  }
}
