@font-face {
  font-family: "Gill Sans";
  src: url("../fonts/GillSans.woff") format("woff");
  font-weight: 400;
}

@font-face {
  font-family: "Gill Sans Light";
  src: url("../fonts/GillSans-Light.woff") format("woff");
  font-weight: 300;
}

:root {
  --ink: #252224;
  --muted: #6a6464;
  --line: #ddd7d5;
  --paper: #fbfaf8;
  --wash: #eeece8;
  --brand: #463c3d;
  --header: #5a646e;
  --accent: #6f7f6b;
  --accent-strong: #465643;
  --shadow: 0 18px 45px rgba(37, 34, 36, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  font-family: "Gill Sans", Arial, sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
}

button,
input {
  font: inherit;
}

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

a {
  color: inherit;
}

.products-page {
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: 48px clamp(18px, 4vw, 56px) 64px;
}

.products-hero {
  display: grid;
  gap: 8px;
  margin-bottom: 34px;
}

.eyebrow,
.toolbar-label,
.gallery-style {
  margin: 0;
  color: var(--accent-strong);
  font-family: "Gill Sans", Arial, sans-serif;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow,
.toolbar-label {
  font-size: 0.78rem;
}

.products-hero h1 {
  margin: 0;
  font-family: "Gill Sans", Arial, sans-serif;
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
}

.intro {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.catalog-shell {
  display: grid;
  grid-template-columns: minmax(230px, 290px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.type-panel {
  position: sticky;
  top: 138px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-height: calc(100vh - 158px);
}

.type-search {
  width: 100%;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  -webkit-appearance: none;
  appearance: none;
}

.type-search:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(111, 127, 107, 0.18);
}

.type-empty {
  margin: 4px 0;
  padding: 12px 4px;
  color: var(--muted);
  font-size: 0.9rem;
}

.panel-heading,
.catalog-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.panel-heading {
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.type-list,
.mobile-type-strip,
.style-filter {
  display: flex;
  gap: 10px;
}

.type-list {
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 2px 6px 2px 2px;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
  scroll-behavior: smooth;
  overscroll-behavior: contain;
}

.type-list::-webkit-scrollbar {
  width: 8px;
}

.type-list::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: var(--line);
}

.type-list::-webkit-scrollbar-thumb:hover {
  background: #c7bfbd;
}

.type-button {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  width: 100%;
  min-height: 78px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  text-align: left;
  background: #fff;
  cursor: pointer;
}

.type-button:hover,
.type-button.is-active {
  border-color: var(--accent);
  box-shadow: 0 10px 28px rgba(70, 86, 67, 0.12);
}

.type-thumb {
  width: 64px;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 6px;
  background: var(--wash);
}

.type-thumb img,
.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.type-name,
.product-card h2 {
  overflow-wrap: anywhere;
}

.type-name {
  display: block;
  color: var(--ink);
  font-family: "Gill Sans", Arial, sans-serif;
  line-height: 1.15;
}

.type-meta,
.product-meta,
.result-count,
.gallery-caption p {
  margin: 0;
  color: var(--muted);
}

.type-meta {
  display: block;
  margin-top: 5px;
  font-size: 0.82rem;
}

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

.catalog-toolbar {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.style-filter {
  flex-wrap: wrap;
  margin-top: 8px;
}

.style-button {
  min-height: 36px;
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: #fff;
  cursor: pointer;
}

.style-button:hover,
.style-button.is-active {
  border-color: var(--accent);
  color: #fff;
  background: var(--accent-strong);
}

.mobile-type-strip {
  display: none;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}

.product-card {
  position: relative;
  display: block;
  aspect-ratio: 1;
  min-width: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  color: #fff;
  text-align: left;
  background: var(--wash);
  cursor: pointer;
}

.product-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.product-image {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  background: var(--wash);
}

.product-image::after {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.25;
  text-align: center;
  content: "";
  opacity: 0;
}

.product-card.has-image-error .product-image::after {
  content: "Image preview unavailable";
  opacity: 1;
}

.product-card.has-image-error .product-image img {
  opacity: 0;
}

.product-copy {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  display: grid;
  gap: 7px;
  min-height: 38%;
  align-content: end;
  padding: 56px 18px 18px;
  color: #fff;
  background: linear-gradient(
    180deg,
    rgba(20, 18, 18, 0) 0%,
    rgba(20, 18, 18, 0.42) 32%,
    rgba(20, 18, 18, 0.76) 100%
  );
}

.product-card h2 {
  margin: 0;
  font-family: "Gill Sans", Arial, sans-serif;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.12;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
}

.product-card .product-meta {
  color: rgba(255, 255, 255, 0.84);
  font-family: "Gill Sans", Arial, sans-serif;
  font-size: 0.86rem;
  line-height: 1.15;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.38);
}

.empty-state,
.loading-state {
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.gallery-modal[hidden] {
  display: none;
}

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
}

.gallery-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(37, 34, 36, 0.78);
}

.gallery-dialog {
  position: absolute;
  inset: clamp(12px, 3vw, 34px);
  overflow: hidden;
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.product-detail-view[hidden],
.gallery-preview-view[hidden] {
  display: none;
}

.product-detail-view {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(290px, 29vw, 380px);
  gap: clamp(20px, 3vw, 42px);
  height: 100%;
  padding: clamp(22px, 3vw, 42px);
  overflow-y: auto;
  overflow-anchor: none;
  background: #e9e6e1;
}

.product-collage-pane {
  min-width: 0;
}

.product-collage-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(70, 60, 61, 0.24);
}

.product-collage-heading p {
  margin: 0;
  color: var(--brand);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.product-collage-heading p:last-child {
  color: var(--muted);
  font-weight: 400;
}

.product-collage {
  column-count: 2;
  column-gap: 14px;
}

.product-collage-item {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 0 14px;
  padding: 0;
  break-inside: avoid;
  overflow: hidden;
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: #d5d0ca;
  box-shadow: 0 8px 22px rgba(37, 34, 36, 0.09);
  cursor: zoom-in;
}

.product-collage-item.is-featured {
  column-span: all;
  aspect-ratio: 16 / 9;
}

.product-collage-item.is-wide {
  aspect-ratio: 4 / 3;
}

.product-collage-item.is-square {
  aspect-ratio: 1;
}

.product-collage-item.is-tall {
  aspect-ratio: 4 / 5;
}

.product-collage-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease, opacity 0.2s ease;
}

.product-collage-item:hover img,
.product-collage-item:focus-visible img {
  transform: scale(1.025);
}

.product-collage-item:focus-visible {
  outline: 3px solid #fff;
  outline-offset: -5px;
}

.product-collage-number {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: rgba(37, 34, 36, 0.68);
  font-size: 0.72rem;
  line-height: 1;
}

.product-collage-item.has-image-error::before {
  position: absolute;
  inset: 0;
  display: grid;
  padding: 20px;
  place-items: center;
  color: var(--muted);
  background: #d5d0ca;
  content: "Image preview unavailable";
  text-align: center;
}

.product-collage-item.has-image-error img {
  opacity: 0;
}

.product-collage-video {
  display: grid;
  width: 100%;
  height: 100%;
  min-height: 210px;
  padding: 24px;
  place-items: center;
  color: #fff;
  background: var(--brand);
  text-align: center;
}

.product-collage-video span {
  display: block;
  margin-bottom: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.product-info-deck {
  position: sticky;
  top: 0;
  align-self: start;
  min-width: 0;
  padding: clamp(54px, 5vw, 72px) clamp(24px, 3vw, 38px) clamp(28px, 3vw, 38px);
  border: 1px solid rgba(70, 60, 61, 0.13);
  border-radius: 7px;
  background: var(--paper);
  box-shadow: 0 20px 48px rgba(37, 34, 36, 0.14);
}

.product-info-type,
.product-info-style {
  margin: 0;
  color: var(--accent-strong);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.product-info-deck h2 {
  margin: 8px 0 12px;
  overflow-wrap: anywhere;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.03;
}

.product-info-style {
  color: var(--muted);
  font-weight: 400;
}

.product-info-list {
  display: grid;
  gap: 0;
  margin: clamp(26px, 3vw, 38px) 0;
  border-top: 1px solid var(--line);
}

.product-info-list > div {
  display: grid;
  grid-template-columns: minmax(100px, 0.8fr) minmax(0, 1fr);
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.product-info-list dt,
.product-info-list dd {
  margin: 0;
}

.product-info-list dt {
  color: var(--muted);
  font-size: 0.82rem;
}

.product-info-list dd {
  overflow-wrap: anywhere;
  text-align: right;
}

.product-inquire-button {
  width: 100%;
  min-height: 48px;
  justify-content: center;
  border-radius: 5px;
}

.product-info-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  text-align: center;
}

.product-collage-empty {
  display: grid;
  min-height: 360px;
  padding: 32px;
  place-items: center;
  color: var(--muted);
  background: #dedad4;
  text-align: center;
}

.gallery-preview-view {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto auto;
  height: 100%;
  min-height: 0;
}

.gallery-close,
.gallery-nav {
  position: absolute;
  z-index: 2;
  border: 0;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
  cursor: pointer;
}

.gallery-close {
  top: 14px;
  right: 14px;
  z-index: 5;
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  border-radius: 999px;
}

.gallery-close span {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  font-family: Arial, sans-serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
  transform: translateY(-1px);
}

.gallery-back {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 4;
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 7px;
  padding: 0 14px 0 10px;
  border: 0;
  border-radius: 5px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 20px rgba(37, 34, 36, 0.12);
  cursor: pointer;
}

.gallery-back svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.gallery-stage {
  position: relative;
  min-height: 0;
  overflow: hidden;
  background: #111;
}

.gallery-media {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(12px, 3vh, 28px) clamp(56px, 9vw, 96px);
}

.gallery-media img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: opacity 0.2s ease;
}

.gallery-media img.is-placeholder {
  filter: blur(10px);
  transform: scale(1.03);
}

.gallery-media.is-loading::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 42px;
  height: 42px;
  margin: -21px 0 0 -21px;
  border: 3px solid rgba(255, 255, 255, 0.28);
  border-top-color: #fff;
  border-radius: 50%;
  content: "";
  animation: gallery-spin 0.8s linear infinite;
}

@keyframes gallery-spin {
  to {
    transform: rotate(360deg);
  }
}

.gallery-filmstrip {
  display: flex;
  gap: 8px;
  padding: 10px 14px;
  overflow-x: auto;
  background: #1b1a1a;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.28) transparent;
}

.gallery-filmstrip[hidden] {
  display: none;
}

.gallery-filmstrip::-webkit-scrollbar {
  height: 8px;
}

.gallery-filmstrip::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
}

.filmstrip-thumb {
  flex: 0 0 auto;
  width: 66px;
  height: 50px;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 5px;
  background: #000;
  opacity: 0.5;
  cursor: pointer;
  transition: opacity 0.15s ease, border-color 0.15s ease;
}

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

.filmstrip-thumb:hover {
  opacity: 0.85;
}

.filmstrip-thumb.is-active {
  border-color: #fff;
  opacity: 1;
}

.filmstrip-video {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: #fff;
  font-size: 0.68rem;
  background: #333;
}

.gallery-video {
  display: grid;
  gap: 14px;
  place-items: center;
  max-width: min(520px, 86vw);
  padding: 40px;
  color: #fff;
  text-align: center;
}

.gallery-video a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 18px;
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  background: #fff;
}

.gallery-nav {
  top: 50%;
  width: 46px;
  height: 64px;
  transform: translateY(-50%);
  border-radius: 8px;
  font-size: 2.4rem;
  line-height: 1;
}

.gallery-prev {
  left: 14px;
}

.gallery-next {
  right: 14px;
}

.gallery-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.gallery-caption > div:first-child {
  min-width: 0;
}

.gallery-caption h2 {
  margin: 4px 0 0;
  font-family: "Gill Sans", Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.gallery-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  min-width: max-content;
}

.gallery-actions p {
  margin: 0;
  color: var(--muted);
  white-space: nowrap;
}

.inquire-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border-radius: 999px;
  color: #fff;
  font-family: "Gill Sans", Arial, sans-serif;
  font-size: 0.95rem;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  background: #1fa855;
  box-shadow: 0 10px 22px rgba(31, 168, 85, 0.2);
}

.inquire-button:hover {
  background: #168c45;
}

.inquire-button svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: currentColor;
}

.catalog-admin-trigger {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9998;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 5px;
  color: #fff;
  background: var(--brand);
  box-shadow: 0 14px 32px rgba(37, 34, 36, 0.24);
  cursor: pointer;
}

.catalog-admin-trigger svg,
.catalog-admin-form button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.catalog-admin-backdrop {
  position: fixed;
  inset: 0;
  z-index: 12000;
  background: rgba(37, 34, 36, 0.68);
}

.catalog-admin-backdrop[hidden],
.catalog-admin-panel[hidden] {
  display: none;
}

.catalog-admin-panel {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 12001;
  width: min(560px, calc(100vw - 32px));
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 28px 70px rgba(37, 34, 36, 0.32);
  transform: translate(-50%, -50%);
}

.catalog-admin-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 36px;
  height: 36px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: var(--wash);
  cursor: pointer;
}

.catalog-admin-close span {
  display: block;
  font-family: Arial, sans-serif;
  font-size: 26px;
  line-height: 1;
  transform: translateY(-1px);
}

.catalog-admin-eyebrow {
  margin: 0 0 7px;
  color: var(--accent-strong);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
}

.catalog-admin-panel h2 {
  margin: 0 42px 8px 0;
  font-size: 1.8rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.1;
}

.catalog-admin-panel > p:not(.catalog-admin-eyebrow):not(.catalog-admin-status) {
  margin: 0;
  color: var(--muted);
}

.catalog-admin-form {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.catalog-admin-form label {
  font-size: 0.84rem;
  font-weight: 700;
}

.catalog-admin-form input[type="password"] {
  width: 100%;
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid #bdb6b3;
  border-radius: 4px;
  color: var(--ink);
  background: #fff;
}

.catalog-admin-form input[type="password"]:focus {
  border-color: var(--accent-strong);
  outline: 2px solid rgba(70, 86, 67, 0.2);
  outline-offset: 1px;
}

.catalog-mode-fieldset {
  min-width: 0;
  margin: 0 0 8px;
  padding: 0;
  border: 0;
}

.catalog-mode-fieldset legend {
  margin-bottom: 9px;
  font-size: 0.84rem;
  font-weight: 700;
}

.catalog-mode-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid #bdb6b3;
  border-radius: 5px;
}

.catalog-mode-option {
  position: relative;
  min-width: 0;
  cursor: pointer;
}

.catalog-mode-option + .catalog-mode-option {
  border-left: 1px solid #bdb6b3;
}

.catalog-mode-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.catalog-mode-option > span {
  display: grid;
  min-height: 108px;
  align-content: start;
  gap: 7px;
  padding: 14px;
  color: var(--ink);
  background: #fff;
}

.catalog-mode-option strong {
  font-size: 1rem;
  font-weight: 700;
}

.catalog-mode-option small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 400;
  line-height: 1.35;
}

.catalog-mode-option code {
  font-family: inherit;
  font-weight: 700;
}

.catalog-mode-option input:checked + span {
  color: #fff;
  background: var(--accent-strong);
}

.catalog-mode-option input:checked + span small {
  color: rgba(255, 255, 255, 0.82);
}

.catalog-mode-option input:focus-visible + span {
  position: relative;
  z-index: 1;
  outline: 3px solid rgba(70, 86, 67, 0.34);
  outline-offset: -3px;
}

.catalog-admin-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 4px;
}

.catalog-admin-form button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0 18px;
  border: 0;
  border-radius: 4px;
  color: #fff;
  background: var(--accent-strong);
  cursor: pointer;
}

.catalog-admin-form button.is-secondary {
  border: 1px solid var(--accent-strong);
  color: var(--accent-strong);
  background: transparent;
}

.catalog-admin-form button.is-secondary:hover {
  color: #fff;
  background: var(--accent-strong);
}

.catalog-admin-form button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.catalog-admin-status {
  min-height: 1.4em;
  margin: 16px 0 0;
  font-size: 0.88rem;
}

.catalog-admin-status.is-working {
  color: var(--muted);
}

.catalog-admin-status.is-success {
  color: #18713a;
}

.catalog-admin-status.is-error {
  color: #a42e2e;
}

.site-footer {
  padding: 14px clamp(18px, 4vw, 56px);
  color: #c8bfbf;
  text-align: center;
  background: var(--brand);
}

.site-footer p {
  margin: 5px 0;
}

.site-footer a {
  color: #c8bfbf;
}

@media (max-width: 900px) {
  .products-page {
    padding-top: 32px;
  }

  .catalog-shell {
    display: block;
  }

  .type-panel {
    display: none;
  }

  .mobile-type-strip {
    display: flex;
    margin: 0 0 16px;
    padding-bottom: 8px;
    overflow-x: auto;
  }

  .mobile-type-strip .type-button {
    grid-template-columns: 48px 150px;
    flex: 0 0 auto;
    width: 230px;
    min-height: 64px;
  }

  .mobile-type-strip .type-thumb {
    width: 48px;
  }

  .catalog-toolbar {
    display: grid;
    align-items: start;
  }

  .product-detail-view {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 20px;
    padding: 22px;
  }

  .product-info-deck {
    padding-right: 24px;
    padding-left: 24px;
  }
}

@media (max-width: 760px) {
  .product-detail-view {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 16px;
  }

  .product-info-deck {
    position: relative;
    top: auto;
    order: -1;
    width: 100%;
    padding: 56px 22px 24px;
  }

  .product-info-deck h2 {
    font-size: 2rem;
  }

  .product-collage {
    column-gap: 10px;
  }

  .product-collage-item {
    margin-bottom: 10px;
  }

  .product-collage-video {
    min-height: 150px;
    padding: 16px;
  }
}

@media (max-width: 560px) {
  .products-page {
    padding-inline: 14px;
  }

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

  .gallery-dialog {
    inset: 0;
    border-radius: 0;
  }

  .gallery-caption {
    display: grid;
    align-items: start;
  }

  .gallery-actions {
    justify-content: space-between;
    min-width: 0;
  }

  .gallery-nav {
    width: 40px;
    height: 54px;
  }

  .catalog-admin-panel {
    max-height: calc(100dvh - 28px);
    padding: 26px 20px;
    overflow-y: auto;
  }

  .catalog-mode-options,
  .catalog-admin-actions {
    grid-template-columns: 1fr;
  }

  .catalog-mode-option + .catalog-mode-option {
    border-top: 1px solid #bdb6b3;
    border-left: 0;
  }

  .catalog-mode-option > span {
    min-height: 86px;
  }
}
