/* RentFast furniture catalogue
   White-led, editorial and deliberately restrained. This file extends styles.css. */

body.dialog-open,
body.nav-open {
  overflow: hidden;
}

/* The catalogue owns its mobile navigation motion so opening and closing never
   pause against an unchanged panel. */
.mobile-nav {
  overflow-y: auto;
  overscroll-behavior: contain;
  opacity: 0;
  visibility: hidden;
  transform: translateX(100%);
  transition:
    transform 260ms var(--ease-out),
    opacity 180ms ease,
    visibility 0s linear 260ms;
}

.mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  transition-delay: 0s;
}

.nav-backdrop {
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.nav-backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.furniture-hero,
.room-navigation,
.package-specification,
.catalogue-section,
.complete-property-cta {
  overflow: clip;
}

.furniture-hero {
  position: relative;
  padding: clamp(1.75rem, 3vw, 3rem) 0 clamp(3.75rem, 5vw, 5rem);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 90% 12%, rgb(226 236 232 / 62%), transparent 24rem),
    linear-gradient(180deg, #fff 0%, #fdfdfb 100%);
}

.furniture-hero::after {
  position: absolute;
  right: max(var(--gutter), calc((100vw - 90rem) / 2 + var(--gutter)));
  bottom: -1px;
  width: clamp(7rem, 16vw, 15rem);
  height: 1px;
  background: var(--mineral);
  content: "";
}

.furniture-hero-inner,
.furniture-hero-grid > *,
.catalogue-layout > *,
.package-panel-grid > * {
  min-width: 0;
}

.breadcrumb {
  margin-bottom: clamp(2rem, 3vw, 3rem);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.07em;
  list-style: none;
  text-transform: uppercase;
}

.breadcrumb li + li::before {
  margin-right: 0.55rem;
  color: var(--line-strong);
  content: "/";
}

.breadcrumb a {
  min-height: 44px;
  align-items: center;
  display: inline-flex;
}

.breadcrumb a:hover {
  color: var(--mineral);
}

.furniture-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(20rem, 0.65fr);
  align-items: end;
  gap: clamp(2rem, 4.5vw, 4rem);
}

.furniture-hero-copy h1 {
  max-width: 14ch;
  margin-bottom: 1.5rem;
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 5.2vw, 5.25rem);
  font-weight: 430;
  letter-spacing: -0.065em;
  line-height: 0.95;
}

.furniture-hero-copy > p:last-child {
  max-width: 38rem;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.2rem);
}

.catalogue-search {
  width: 100%;
  max-width: 28rem;
  justify-self: end;
  padding: clamp(1.3rem, 2.5vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-media);
  background: rgb(255 255 255 / 88%);
  box-shadow: var(--shadow-raised);
}

.catalogue-search > label {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  font-weight: 720;
  letter-spacing: 0.02em;
}

.catalogue-search-control {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  min-height: 58px;
  gap: 0.7rem;
  padding: 0.2rem 0.45rem 0.2rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--white);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.catalogue-search-control:focus-within {
  border-color: var(--mineral);
  box-shadow: 0 0 0 3px rgb(27 82 70 / 10%);
}

.catalogue-search-control > svg {
  width: 1.2rem;
  height: 1.2rem;
  color: var(--mineral);
}

.catalogue-search-control input {
  width: 100%;
  min-width: 0;
  min-height: 50px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 0.9rem;
}

.catalogue-search-control button {
  min-height: 44px;
  padding-inline: 0.65rem;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--mineral);
  font-size: 0.75rem;
  font-weight: 680;
}

.catalogue-search-control button:hover {
  background: var(--mineral-soft);
}

.catalogue-search > p {
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: 0.75rem;
}

.catalogue-search-submit {
  display: flex;
  width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 0.8rem;
  padding: 0.7rem 1rem;
  border: 0;
  border-radius: var(--radius-control);
  background: var(--mineral);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
}

.catalogue-search-submit:hover {
  background: var(--mineral-dark);
}

.catalogue-disclaimer {
  display: flex;
  max-width: 54rem;
  align-items: flex-start;
  gap: 0.65rem;
  margin: clamp(1.75rem, 2.5vw, 2.5rem) 0 0;
  color: var(--muted);
  font-size: 0.75rem;
}

.catalogue-disclaimer svg {
  width: 1.1rem;
  height: 1.1rem;
  flex: 0 0 auto;
  margin-top: 0.05rem;
  color: var(--mineral);
}

/* Room-first navigation */

.room-navigation {
  padding-block: var(--section-space);
  background: var(--white);
}

.room-navigation-head,
.package-specification-head,
.catalogue-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.55fr);
  align-items: end;
  gap: clamp(2rem, 6vw, 7rem);
  margin-bottom: clamp(2rem, 3.25vw, 3rem);
}

.room-navigation-head h2,
.package-specification-head h2,
.catalogue-heading h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.65rem, 3.75vw, 4.05rem);
  font-weight: 430;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.package-specification-head h2[tabindex="-1"]:focus,
.catalogue-heading h2[tabindex="-1"]:focus {
  outline: 0;
}

.room-navigation-head > p,
.package-specification-head > p,
.catalogue-heading > p {
  max-width: 30rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

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

.room-card {
  display: grid;
  min-width: 0;
  min-height: 7.25rem;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
  text-align: left;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.room-card:hover {
  position: relative;
  z-index: 1;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}

.room-card.is-active,
.room-card[aria-pressed="true"] {
  position: relative;
  z-index: 2;
  background: var(--mineral);
  color: var(--white);
  box-shadow: inset 0 0 0 1px var(--mineral);
}

.room-card-icon {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border-radius: 50%;
  background: var(--mineral-soft);
  color: var(--mineral);
}

.room-card.is-active .room-card-icon,
.room-card[aria-pressed="true"] .room-card-icon {
  background: rgb(255 255 255 / 13%);
  color: var(--white);
}

.room-card-icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.room-card > span:last-child {
  display: grid;
  gap: 0.2rem;
}

.room-card strong {
  font-size: 0.84rem;
  line-height: 1.25;
}

.room-card small {
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.4;
}

.room-card.is-active small,
.room-card[aria-pressed="true"] small {
  color: rgb(255 255 255 / 72%);
}

/* Whole-property bridge */

.project-strip {
  border-block: 1px solid #dedbd1;
  background: var(--canvas-deep);
}

.project-strip-inner {
  display: grid;
  min-height: 8rem;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3rem);
}

.project-strip-mark {
  display: grid;
  width: 3.75rem;
  height: 3.75rem;
  place-items: center;
  border: 1px solid var(--plan-line);
  border-radius: 50%;
  color: var(--mineral);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.project-strip-mark svg {
  width: 1.45rem;
  height: 1.45rem;
}

.project-strip .mono {
  margin-bottom: 0.35rem;
  color: var(--mineral);
}

.project-strip h2 {
  max-width: 34rem;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.8rem);
  font-weight: 430;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.project-strip .text-link {
  white-space: nowrap;
}

/* Package specifications */

.package-specification {
  padding-block: var(--section-space);
  background:
    linear-gradient(rgb(244 242 236 / 96%), rgb(244 242 236 / 96%)),
    repeating-linear-gradient(90deg, transparent 0 71px, rgb(27 82 70 / 5%) 71px 72px);
}

.package-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-bottom: 1rem;
  background: var(--line-strong);
  border: 1px solid var(--line-strong);
}

.package-tabs button {
  display: grid;
  min-width: 0;
  min-height: 4.6rem;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border: 0;
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
  text-align: left;
  transition:
    background-color 160ms ease,
    color 160ms ease;
}

.package-tabs button:hover {
  background: var(--surface);
}

.package-tabs button[aria-selected="true"] {
  background: var(--mineral);
  color: var(--white);
}

.package-tabs button > span:last-child {
  display: grid;
  gap: 0.2rem;
}

.package-tabs strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.package-tabs small {
  color: var(--muted);
  font-size: 0.75rem;
}

.package-tabs button[aria-selected="true"] small {
  color: rgb(255 255 255 / 70%);
}

.package-panel {
  display: block;
  min-height: 21rem;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow-raised);
}

.package-panel-loading {
  display: flex;
  min-height: 21rem;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  color: var(--muted);
  font-size: 0.75rem;
}

.package-panel-loading > span {
  width: 0.9rem;
  height: 0.9rem;
  border: 1px solid var(--line-strong);
  border-top-color: var(--mineral);
  border-radius: 50%;
  animation: furniture-spin 800ms linear infinite;
}

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

.package-panel-grid {
  display: grid;
  grid-template-columns: 20rem minmax(0, 1fr);
  align-items: stretch;
}

.package-panel > .package-panel-grid {
  min-width: 0;
}

.package-panel-summary {
  min-width: 0;
  background: var(--mineral);
  color: var(--white);
}

.package-summary-sticky {
  position: sticky;
  top: calc(var(--header-height) + 1rem);
  display: flex;
  min-height: min(42rem, calc(100dvh - var(--header-height) - 2rem));
  flex-direction: column;
  align-items: flex-start;
  padding: 2rem;
}

.package-panel-summary .mono {
  color: #c9ddd6;
}

.package-panel-summary h3 {
  margin: 0.75rem 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 2.7vw, 3rem);
  font-weight: 430;
  letter-spacing: -0.055em;
  line-height: 0.96;
}

.package-panel-summary .button-secondary {
  width: 100%;
  margin-top: auto;
  border-color: rgb(255 255 255 / 34%);
  color: var(--white);
}

.package-panel-summary p {
  color: rgb(255 255 255 / 72%);
  font-size: 0.78rem;
}

.package-panel-summary .button-secondary:hover {
  border-color: var(--white);
  background: rgb(255 255 255 / 10%);
}

.package-summary-metrics {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 1.5rem 0 0;
  border-top: 1px solid rgb(255 255 255 / 18%);
  border-left: 1px solid rgb(255 255 255 / 18%);
}

.package-summary-metrics > div {
  min-width: 0;
  padding: 0.9rem;
  border-right: 1px solid rgb(255 255 255 / 18%);
  border-bottom: 1px solid rgb(255 255 255 / 18%);
}

.package-summary-metrics dt {
  color: rgb(255 255 255 / 62%);
  font-size: 0.75rem;
  line-height: 1.35;
}

.package-summary-metrics dd {
  margin: 0.25rem 0 0;
  font-family: var(--font-display);
  font-size: 1.65rem;
  line-height: 1;
}

.package-base-note {
  width: 100%;
  margin: 1.25rem 0 2rem;
  font-size: 0.75rem !important;
}

.package-base-note strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--white);
}

.package-panel-products {
  min-width: 0;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--white);
}

.package-schedule-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line-strong);
}

.package-schedule-head .mono {
  margin-bottom: 0.45rem;
  color: var(--mineral);
}

.package-schedule-head h4 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.3vw, 2.25rem);
  font-weight: 460;
  letter-spacing: -0.035em;
  line-height: 1;
}

.package-schedule-head > p {
  max-width: 28rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
}

.package-room {
  border-bottom: 1px solid var(--line-strong);
}

.package-room-summary {
  display: grid;
  min-height: 5rem;
  grid-template-columns: 2rem minmax(0, 1fr) auto 1.5rem;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.package-room-summary::-webkit-details-marker {
  display: none;
}

.package-room-summary:hover .package-room-title strong,
.package-room-summary:focus-visible .package-room-title strong {
  color: var(--mineral);
}

.package-room-index {
  color: var(--mineral);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
}

.package-room-title {
  display: grid;
  gap: 0.15rem;
}

.package-room-title strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.1;
  transition: color 160ms ease;
}

.package-room-title small,
.package-room-units {
  color: var(--muted);
  font-size: 0.75rem;
}

.package-room-units {
  white-space: nowrap;
}

.package-room-toggle {
  position: relative;
  width: 1.25rem;
  height: 1.25rem;
  justify-self: end;
}

.package-room-toggle::before,
.package-room-toggle::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.8rem;
  height: 1px;
  background: currentColor;
  content: "";
  transform: translate(-50%, -50%);
  transition: transform 180ms ease;
}

.package-room-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.package-room[open] .package-room-toggle::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.package-room-body {
  padding-bottom: 0.75rem;
}

.package-spec-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.package-spec-row {
  display: grid;
  min-width: 0;
  grid-template-columns: 4.5rem minmax(10.5rem, 1.25fr) minmax(14rem, 1.75fr) minmax(6.5rem, auto);
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.package-spec-row:last-child {
  border-bottom: 0;
}

.package-spec-image {
  display: grid;
  width: 4.5rem;
  height: 4.5rem;
  place-items: center;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  background: var(--surface);
}

.package-spec-image:hover {
  border-color: var(--mineral);
}

.package-spec-image img {
  width: 100%;
  height: 100%;
  padding: 0.25rem;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.package-spec-identity {
  min-width: 0;
}

.package-spec-slot,
.package-spec-reference {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem 0.5rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
}

.package-spec-slot span:last-child {
  padding: 0.2rem 0.35rem;
  border-radius: 3px;
  background: var(--mineral-soft);
  color: var(--mineral-dark);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1.25;
  text-transform: uppercase;
}

.package-options .package-spec-slot span:last-child {
  background: var(--canvas-deep);
  color: var(--ink-soft);
}

.package-spec-identity h4 {
  margin: 0.35rem 0 0.25rem;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1.15;
}

.package-spec-identity h4 button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
}

.package-spec-reference span + span::before {
  margin-right: 0.5rem;
  color: var(--line-strong);
  content: "·";
}

.package-spec-replacement {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.4;
}

.package-spec-facts {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.package-spec-facts > div {
  min-width: 0;
  padding: 0.55rem 0.65rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.package-spec-facts dt {
  color: var(--muted);
  font-size: 0.75rem;
}

.package-spec-facts dd {
  margin: 0.18rem 0 0;
  overflow-wrap: anywhere;
  font-size: 0.75rem;
  font-weight: 680;
  line-height: 1.35;
}

.package-spec-facts dd small {
  display: block;
  margin-top: 0.18rem;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 500;
}

.package-spec-actions {
  display: grid;
  justify-items: start;
  gap: 0.15rem;
}

.package-spec-action {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--mineral);
  font-size: 0.75rem;
  font-weight: 680;
  text-align: left;
  text-decoration: underline;
  text-decoration-color: var(--plan-line);
  text-underline-offset: 0.25rem;
}

.package-spec-action:hover {
  color: var(--mineral-dark);
  text-decoration-color: currentColor;
}

.package-options .package-room-summary {
  color: var(--mineral-dark);
}

.package-schedule-note {
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.55;
}

.package-specification-note {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.75rem;
}

/* Connected package workspace */

body.package-workspace-active .furniture-hero,
body.package-workspace-active .room-navigation,
body.package-workspace-active .project-strip {
  display: none;
}

body.custom-project-active .furniture-hero,
body.custom-project-active .room-navigation,
body.custom-project-active .project-strip,
body.custom-project-active .package-specification {
  display: none;
}

body.custom-project-active .catalogue-section {
  padding-top: clamp(2.5rem, 4vw, 4rem);
}

body.package-workspace-active .package-specification {
  padding-top: clamp(2.5rem, 4vw, 4rem);
}

body.package-workspace-active .package-specification-head {
  margin-bottom: 1.5rem;
}

.package-panel.is-workspace {
  border-color: var(--plan-line);
  box-shadow: 0 20px 60px rgb(21 23 19 / 8%);
}

.package-workspace-grid {
  grid-template-columns: minmax(19rem, 0.34fr) minmax(0, 1fr);
}

.package-draft-context {
  margin-bottom: 0.2rem;
  color: rgb(255 255 255 / 78%) !important;
  font-weight: 650;
}

.package-draft-price {
  display: grid;
  width: 100%;
  gap: 0.1rem;
  margin-top: 1.2rem;
  padding: 1rem 0;
  border-block: 1px solid rgb(255 255 255 / 18%);
}

.package-draft-price span,
.package-draft-price small {
  color: rgb(255 255 255 / 62%);
  font-size: 0.75rem;
}

.package-draft-price strong {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 2.15rem;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}

.package-draft-summary-actions {
  display: grid;
  width: 100%;
  gap: 0.55rem;
  margin-top: auto;
}

.package-draft-summary-actions .button {
  width: 100%;
}

.package-summary-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  color: rgb(255 255 255 / 76%);
  font-size: 0.75rem;
  font-weight: 680;
  text-decoration: underline;
  text-decoration-color: rgb(255 255 255 / 34%);
  text-underline-offset: 0.25rem;
}

.package-workspace-products {
  padding-top: 0;
}

.package-workspace-view {
  min-width: 0;
}

.package-draft-options[data-workspace-panel] {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.package-workspace-nav {
  position: sticky;
  z-index: 8;
  top: var(--header-height);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-inline: calc(clamp(1.5rem, 3vw, 2.5rem) * -1);
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--line-strong);
  background: rgb(255 255 255 / 96%);
  backdrop-filter: blur(14px);
}

.package-workspace-nav button,
.package-workspace-nav a {
  display: inline-flex;
  min-width: 0;
  min-height: 3.5rem;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.7rem;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 680;
  text-align: center;
}

.package-workspace-nav a:last-child {
  border-right: 0;
}

.package-workspace-nav button:hover,
.package-workspace-nav a:hover,
.package-workspace-nav .is-active {
  background: var(--surface);
  color: var(--mineral-dark);
}

.package-workspace-nav span {
  display: inline-grid;
  min-width: 1.35rem;
  height: 1.35rem;
  place-items: center;
  border-radius: 50%;
  background: var(--mineral-soft);
  color: var(--mineral-dark);
  font-size: 0.75rem;
}

.package-workspace-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  margin-bottom: 0.9rem;
  color: var(--muted);
  font-size: 0.75rem;
}

.package-workspace-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.package-workspace-legend i {
  width: 0.55rem;
  height: 0.55rem;
  border: 1px solid var(--plan-line);
  border-radius: 50%;
  background: var(--mineral-soft);
}

.package-workspace-legend span:nth-child(2) i {
  background: #d7c3a7;
}

.package-workspace-legend span:nth-child(3) i {
  background: var(--white);
}

.package-room-navigation {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  margin-bottom: 0.4rem;
  padding: 0.15rem 0 0.65rem;
  scrollbar-width: none;
}

.package-room-navigation::-webkit-scrollbar {
  display: none;
}

.package-room-navigation button {
  display: inline-flex;
  min-height: 44px;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink-soft);
  font-size: 0.75rem;
  font-weight: 680;
}

.package-room-navigation button:hover {
  border-color: var(--mineral);
  color: var(--mineral);
}

.package-room-navigation small {
  display: inline-grid;
  width: 1.25rem;
  height: 1.25rem;
  place-items: center;
  border-radius: 50%;
  background: var(--surface);
  font-size: 0.75rem;
}

.package-draft-room,
.package-draft-options {
  scroll-margin-top: calc(var(--header-height) + 4.25rem);
}

.package-draft-line {
  transition: background-color 180ms ease;
}

.package-draft-line.is-changed {
  margin-inline: -0.75rem;
  padding-inline: 0.75rem;
  border-left: 2px solid #a57e4c;
  background: linear-gradient(90deg, #faf6ef, transparent 55%);
}

.package-draft-line.is-changed .package-spec-slot span:last-child {
  background: #eee1d1;
  color: #6e4b20;
}

.draft-quantity {
  display: inline-grid;
  grid-template-columns: 2.75rem minmax(2rem, auto) 2.75rem;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: var(--white);
}

.draft-quantity button,
.draft-quantity output {
  display: grid;
  min-width: 0;
  height: 2.75rem;
  place-items: center;
  border: 0;
  background: transparent;
  font-size: 0.75rem;
}

.draft-quantity button:hover:not(:disabled) {
  background: var(--mineral-soft);
  color: var(--mineral-dark);
}

.draft-quantity button:disabled {
  cursor: not-allowed;
  opacity: 0.35;
}

.draft-quantity output {
  border-inline: 1px solid var(--line);
  font-weight: 700;
}

.package-spec-action-primary {
  color: var(--mineral-dark);
  font-weight: 750;
}

.package-draft-options {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line-strong);
}

.package-options-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.package-options-head .mono {
  margin-bottom: 0.35rem;
  color: var(--mineral);
}

.package-options-head h4 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 500;
}

.package-options-head > p {
  max-width: 24rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
}

.package-option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.package-option-card {
  display: grid;
  min-width: 0;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 0.85rem;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
}

.package-option-card.is-selected {
  border-color: var(--mineral);
  background: var(--mineral-soft);
}

.package-option-media {
  position: relative;
  min-height: 7.5rem;
  overflow: hidden;
  background: var(--white);
}

.package-option-media img {
  width: 100%;
  height: 100%;
  padding: 0.5rem;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.package-option-media span {
  position: absolute;
  right: 0.35rem;
  bottom: 0.35rem;
  left: 0.35rem;
  padding: 0.3rem;
  background: rgb(27 82 70 / 88%);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-align: center;
  text-transform: uppercase;
}

.package-option-copy {
  min-width: 0;
}

.package-option-copy .mono {
  margin: 0 0 0.3rem;
  color: var(--muted);
  font-size: 0.75rem;
}

.package-option-copy h4 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.12;
}

.package-option-copy p,
.package-option-copy small {
  display: block;
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.4;
}

.package-option-copy small {
  margin-top: 0.35rem;
  color: var(--ink-soft);
}

.package-option-actions {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--line);
}

.package-option-actions .button {
  min-height: 44px;
  padding: 0.6rem 0.85rem;
}

.package-empty-options {
  grid-column: 1 / -1;
  margin: 0;
  padding: 1.5rem;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.75rem;
}

.package-picker-dialog {
  width: min(calc(100% - 2rem), 76rem);
  max-width: none;
  max-height: min(88dvh, 56rem);
  background: var(--white);
}

.package-picker-content {
  max-height: calc(88dvh - 6rem);
  overflow-y: auto;
  padding: 1.25rem;
  overscroll-behavior: contain;
}

.package-picker-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.6fr);
  gap: 0.35rem 2rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line-strong);
}

.package-picker-intro .mono,
.package-picker-intro h3 {
  grid-column: 1;
}

.package-picker-intro h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 500;
}

.package-picker-intro > p:last-child {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: end;
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
}

.package-picker-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.package-picker-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.package-picker-card.is-current {
  border-color: var(--mineral);
  background: var(--mineral-soft);
}

.package-picker-image {
  display: grid;
  aspect-ratio: 4 / 3;
  place-items: center;
  overflow: hidden;
  margin-bottom: 0.7rem;
  background: var(--surface);
}

.package-picker-image img {
  width: 100%;
  height: 100%;
  padding: 0.75rem;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.package-picker-meta {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
}

.package-picker-card h4 {
  margin: 0.45rem 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.1;
}

.package-picker-card > p {
  margin: 0 0 0.6rem;
  color: var(--muted);
  font-size: 0.75rem;
}

.package-picker-recommendation {
  align-self: flex-start;
  margin-bottom: 0.65rem;
  padding: 0.25rem 0.4rem;
  border-radius: 999px;
  background: var(--mineral-soft);
  color: var(--mineral-dark);
  font-size: 0.75rem;
  font-weight: 700;
}

.package-picker-card .button {
  width: 100%;
  margin-top: auto;
}

.package-draft-bar {
  display: none;
}

.package-draft-bar[hidden] {
  display: none;
}

/* Catalogue controls */

.catalogue-section {
  padding-block: var(--section-space);
  background: var(--white);
}

.custom-brief-banner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem 1.25rem;
  margin: -0.5rem 0 1.25rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--plan-line);
  background: linear-gradient(100deg, var(--mineral-soft), var(--white) 72%);
  border-radius: 6px;
  box-shadow: 0 12px 30px rgb(20 63 54 / 5%);
}

.custom-brief-banner[hidden] {
  display: none;
}

.custom-brief-icon {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border-radius: 50%;
  background: var(--mineral);
  color: var(--white);
}

.custom-brief-icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.custom-brief-banner > div {
  display: grid;
  gap: 0.15rem;
}

.custom-brief-copy {
  min-width: 0;
}

.custom-brief-banner .mono {
  color: var(--mineral);
  font-size: 0.75rem;
}

.custom-brief-banner strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 520;
}

.custom-brief-banner small {
  color: var(--muted);
  font-size: 0.75rem;
}

.custom-brief-banner .text-link {
  min-height: 44px;
  white-space: nowrap;
}

.custom-project-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 0.8rem;
  border-top: 1px solid rgb(27 82 70 / 16%);
  border-left: 1px solid rgb(27 82 70 / 16%);
}

.custom-project-facts span {
  display: grid;
  min-width: 0;
  gap: 0.08rem;
  padding: 0.55rem 0.65rem;
  border-right: 1px solid rgb(27 82 70 / 16%);
  border-bottom: 1px solid rgb(27 82 70 / 16%);
  color: var(--muted);
  font-size: 0.75rem;
}

.custom-project-facts b {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 520;
  line-height: 1;
}

.custom-brief-progress {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.8rem;
  margin: 0.65rem 0 0.2rem;
}

.custom-brief-progress span {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  color: var(--muted);
  font-size: 0.75rem;
}

.custom-brief-progress b {
  color: var(--mineral);
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.custom-brief-progress .is-current {
  color: var(--ink);
  font-weight: 720;
}

.custom-brief-actions {
  width: 12.5rem;
  align-content: start;
  justify-items: stretch;
  gap: 0.25rem !important;
}

.custom-brief-actions .button {
  width: 100%;
}

.custom-brief-actions .text-link {
  justify-content: center;
}

.package-brief-banner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem 1.35rem;
  margin: -0.5rem 0 1.25rem;
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--plan-line);
  border-radius: 6px;
  background:
    linear-gradient(105deg, rgb(226 236 232 / 88%), rgb(255 255 255 / 96%) 68%),
    var(--white);
  box-shadow: 0 12px 30px rgb(20 63 54 / 6%);
}

.package-brief-banner[hidden] {
  display: none;
}

.package-brief-icon {
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border-radius: 7px;
  background: var(--mineral);
  color: var(--white);
}

.package-brief-icon svg {
  width: 1.45rem;
  height: 1.45rem;
}

.package-brief-copy {
  display: grid;
  min-width: 0;
  gap: 0.15rem;
}

.package-brief-copy .mono {
  margin: 0;
  color: var(--mineral);
  font-size: 0.75rem;
}

.package-brief-copy > strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 520;
  line-height: 1.1;
}

.package-brief-copy > small {
  max-width: 52rem;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.5;
}

.package-brief-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.55rem;
}

.package-brief-facts span {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  min-height: 1.8rem;
  padding: 0.35rem 0.55rem;
  border: 1px solid rgb(27 82 70 / 14%);
  border-radius: 999px;
  background: rgb(255 255 255 / 72%);
  color: var(--ink-soft);
  font-size: 0.75rem;
  font-weight: 650;
  line-height: 1;
}

.package-brief-facts b {
  color: var(--mineral-dark);
}

.package-brief-actions {
  display: grid;
  justify-items: start;
  gap: 0.35rem;
}

.package-brief-actions .text-link {
  min-height: 44px;
  white-space: nowrap;
}

.package-brief-actions button.text-link {
  padding: 0;
  border: 0;
  background: transparent;
}

.workspace-catalogue-search {
  display: none;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 0.45rem 0.75rem;
  margin: 0 0 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--plan-line);
  border-radius: 6px;
  background: var(--mineral-soft);
}

body.package-workspace-active .workspace-catalogue-search,
body.custom-project-active .workspace-catalogue-search {
  display: grid;
}

.workspace-search-label,
.workspace-catalogue-search > small {
  grid-column: 1 / -1;
}

.workspace-search-label {
  color: var(--ink-soft);
  font-size: 0.75rem;
  font-weight: 720;
}

.workspace-catalogue-search .catalogue-search-control,
.workspace-catalogue-search > .button {
  min-height: 52px;
}

.workspace-catalogue-search .catalogue-search-control input {
  min-height: 44px;
}

.workspace-catalogue-search > .button {
  padding-inline: 1rem;
}

.workspace-catalogue-search > small {
  color: var(--muted);
  font-size: 0.75rem;
}

.catalogue-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  min-height: 5.25rem;
  margin-bottom: 1rem;
  padding-block: 0.8rem;
  border-block: 1px solid var(--line);
  background: var(--white);
}

.filter-trigger {
  display: none;
  min-height: 46px;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  background: var(--white);
  font-size: 0.75rem;
  font-weight: 680;
}

.filter-trigger svg {
  width: 1.1rem;
  height: 1.1rem;
}

.filter-trigger > span {
  display: grid;
  min-width: 1.1rem;
  height: 1.1rem;
  place-items: center;
  border-radius: 50%;
  background: var(--mineral);
  color: var(--white);
  font-size: 0.75rem;
}

.catalogue-count {
  display: grid;
  margin: 0;
}

.catalogue-count strong {
  font-size: 0.82rem;
}

.catalogue-count span {
  color: var(--muted);
  font-size: 0.75rem;
}

.catalogue-sort {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--muted);
  font-size: 0.75rem;
}

.catalogue-sort select {
  min-height: 46px;
  padding: 0 2.5rem 0 0.85rem;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  background-color: var(--white);
  color: var(--ink);
  font-size: 0.75rem;
}

.active-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.active-filter-chip,
.filter-chip {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--plan-line);
  border-radius: 999px;
  background: var(--mineral-soft);
  color: var(--mineral-dark);
  font-size: 0.75rem;
  font-weight: 640;
}

button.filter-chip:hover {
  border-color: var(--mineral);
  background: #d7e6e0;
}

.active-filter-chip button,
.filter-chip button {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin: -0.45rem -0.65rem -0.45rem -0.15rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  font-size: 1rem;
}

.active-filter-chip button:hover,
.filter-chip button:hover {
  background: rgb(27 82 70 / 10%);
}

.catalogue-layout {
  display: grid;
  grid-template-columns: minmax(14rem, 15rem) minmax(0, 1fr);
  align-items: start;
  gap: clamp(2rem, 3vw, 3rem);
}

.catalogue-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 1.5rem);
  max-height: calc(100dvh - var(--header-height) - 3rem);
  overflow: auto;
  border: 1px solid var(--line);
  background: var(--white);
  scrollbar-width: thin;
}

.catalogue-sidebar form {
  margin: 0;
}

.filter-sidebar-head {
  position: sticky;
  z-index: 1;
  top: 0;
  display: flex;
  min-height: 4.25rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--line);
  background: rgb(255 255 255 / 95%);
  backdrop-filter: blur(8px);
}

.filter-sidebar-head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
}

.filter-sidebar-head button {
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--mineral);
  font-size: 0.75rem;
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}

.filter-group {
  margin: 0;
  padding: 1rem;
  border: 0;
  border-bottom: 1px solid var(--line);
}

.filter-group:last-child {
  border-bottom: 0;
}

.filter-group legend {
  width: 100%;
  padding: 0;
  font-size: 0.75rem;
  font-weight: 720;
}

.filter-help {
  margin: 0.3rem 0 0.65rem;
  color: var(--muted);
  font-size: 0.75rem;
}

.filter-options {
  display: grid;
  gap: 0.1rem;
  margin-top: 0.6rem;
}

.filter-options label {
  display: grid;
  min-height: 44px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
  border-radius: 4px;
  color: var(--ink-soft);
  cursor: pointer;
  font-size: 0.75rem;
}

.filter-options label:hover {
  color: var(--mineral);
}

.filter-options input[type="radio"],
.filter-options input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  margin: 0;
  accent-color: var(--mineral);
}

.filter-options input:checked + span {
  color: var(--mineral-dark);
  font-weight: 700;
}

.filter-options label:has(input:checked) > span:not(.colour-dot) {
  color: var(--mineral-dark);
  font-weight: 700;
}

.filter-options label > small {
  color: var(--muted);
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
}

.filter-colour-dot,
.colour-dot {
  width: 0.9rem;
  height: 0.9rem;
  border: 1px solid rgb(21 23 19 / 16%);
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 40%);
}

.colour-dot[data-colour="oak"] {
  background: #b99b6d;
}

.colour-dot[data-colour="grey"] {
  background: #999c98;
}

.colour-dot[data-colour="white"] {
  background: #f7f7f4;
}

.colour-dot[data-colour="black"] {
  background: #262724;
}

.colour-dot[data-colour="brown"] {
  background: #765c47;
}

.colour-dot[data-colour="walnut"] {
  background: #70503a;
}

.colour-dot[data-colour="cream"] {
  background: #e9dfca;
}

.colour-dot[data-colour="beige"] {
  background: #cdbda4;
}

.colour-dot[data-colour="green"] {
  background: #5f796d;
}

.colour-dot[data-colour="gold"] {
  background: #b9964b;
}

.colour-dot[data-colour="pink"] {
  background: #d7a8a7;
}

.colour-dot[data-colour="other"] {
  background: linear-gradient(135deg, #b9a98b 0 50%, #7c8b86 50%);
}

.filter-colours label {
  grid-template-columns: auto auto minmax(0, 1fr) auto;
}

.filter-loading {
  margin: 0.5rem 0;
  color: var(--muted);
  font-size: 0.75rem;
}

.dimension-inputs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 0.8rem;
}

.dimension-inputs > label {
  min-width: 0;
  color: var(--muted);
  font-size: 0.75rem;
}

.dimension-inputs > label > span:first-child {
  display: block;
  margin-bottom: 0.35rem;
}

.dimension-control {
  display: grid;
  min-height: 46px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  background: var(--white);
}

.dimension-control:focus-within {
  border-color: var(--mineral);
  box-shadow: 0 0 0 3px rgb(27 82 70 / 10%);
}

.dimension-control input {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding-inline: 0.55rem 0.15rem;
  border: 0;
  outline: 0;
  background: transparent;
  font-variant-numeric: tabular-nums;
}

.dimension-control > span {
  padding-right: 0.5rem;
  color: var(--muted);
  font-size: 0.75rem;
}

/* Product grid and cards */

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

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14.5rem, 1fr));
  gap: 2rem clamp(1rem, 1.6vw, 1.4rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: visible;
  border: 0;
  background: transparent;
  transition:
    border-color 180ms ease,
    box-shadow 220ms var(--ease-out),
    transform 220ms var(--ease-out);
}

.product-card:hover {
  box-shadow: none;
  transform: none;
}

.product-card-media {
  position: relative;
  display: grid;
  width: 100%;
  aspect-ratio: 1 / 1;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-media);
  background:
    linear-gradient(135deg, rgb(255 255 255 / 82%), transparent 46%),
    #f5f4f0;
}

.product-card-media > img,
.product-image-button img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 100%;
  min-height: 0;
  padding: clamp(0.35rem, 3%, 0.75rem);
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 420ms var(--ease-out);
}

.product-image-button {
  position: absolute;
  inset: 0;
  display: grid;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  place-items: center;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: transparent;
}

.product-card:hover .product-card-media > img,
.product-card:hover .product-image-button img {
  transform: scale(1.02);
}

.product-card:hover .product-card-media {
  border-color: var(--line-strong);
  box-shadow: 0 12px 32px rgb(21 23 19 / 7%);
}

.favourite-button {
  position: absolute;
  z-index: 2;
  top: 0.65rem;
  right: 0.65rem;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  border: 1px solid rgb(21 23 19 / 10%);
  border-radius: 50%;
  background: rgb(255 255 255 / 90%);
  color: var(--ink);
  box-shadow: 0 3px 14px rgb(21 23 19 / 7%);
  backdrop-filter: blur(8px);
}

.favourite-button:hover,
.favourite-button.is-saved,
.favourite-button[aria-pressed="true"] {
  border-color: var(--mineral);
  background: var(--mineral);
  color: var(--white);
}

.favourite-button svg {
  width: 1.15rem;
  height: 1.15rem;
}

.favourite-button.is-saved svg,
.favourite-button[aria-pressed="true"] svg {
  fill: currentColor;
}

.product-package-chip {
  position: absolute;
  z-index: 1;
  right: 0.7rem;
  bottom: 0.7rem;
  left: 0.7rem;
  width: fit-content;
  max-width: calc(100% - 1.4rem);
  padding: 0.38rem 0.55rem;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 40%);
  border-radius: 3px;
  background: rgb(27 82 70 / 91%);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
  backdrop-filter: blur(6px);
}

.product-card-body {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  padding: 0.9rem 0.1rem 0.25rem;
}

.product-card-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.35rem 0.65rem;
  margin-bottom: 0.55rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.045em;
  line-height: 1.45;
  text-transform: uppercase;
}

.product-card-title,
.product-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.18rem, 1.35vw, 1.4rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.product-card-title button,
.product-card h3 button {
  display: -webkit-box;
  width: 100%;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-card-title button::after,
.product-card h3 button::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
}

.product-card-title button:focus-visible,
.product-card h3 button:focus-visible {
  outline: 0;
}

.product-card:has(.product-card-title button:focus-visible),
.product-card:has(h3 button:focus-visible) {
  outline: 3px solid var(--mineral);
  outline-offset: 3px;
}

.product-card-spec {
  display: -webkit-box;
  min-height: 3em;
  overflow: hidden;
  margin: 0.6rem 0 0;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-price-pending {
  display: inline-flex;
  width: fit-content;
  min-height: 1.5rem;
  align-items: center;
  margin-top: 0.8rem;
  color: var(--mineral-dark);
  font-size: 0.75rem;
  font-weight: 720;
}

.product-card-price {
  display: grid;
  gap: 0.08rem;
  margin-top: 0.8rem;
}

.product-card-price strong {
  color: var(--mineral-dark);
  font-size: 0.75rem;
}

.product-card-price span {
  color: var(--muted);
  font-size: 0.75rem;
}

.product-price-pending::before {
  width: 0.38rem;
  height: 0.38rem;
  margin-right: 0.45rem;
  border-radius: 50%;
  background: var(--plan-line);
  content: "";
}

.product-card-actions {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 1rem;
}

.product-card-actions .button,
.product-card-actions button {
  min-height: 44px;
  padding-inline: 0.8rem;
  font-size: 0.75rem;
}

.product-card-actions > .text-button,
.product-card-actions > button:last-child:not(:only-child) {
  min-width: 44px;
}

.add-basket-button {
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--mineral);
  border-radius: 5px;
  background: var(--mineral);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 680;
}

.add-basket-button:hover,
.add-basket-button.is-added {
  border-color: var(--mineral-dark);
  background: var(--mineral-dark);
}

.custom-project-stepper {
  display: grid;
  min-width: 0;
  min-height: 44px;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--mineral);
  border-radius: 5px;
  background: var(--mineral-soft);
  color: var(--mineral-dark);
}

.custom-project-stepper button {
  min-width: 44px !important;
  min-height: 44px !important;
  padding: 0 !important;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 1rem !important;
}

.custom-project-stepper button:hover {
  background: rgb(27 82 70 / 10%);
}

.custom-project-stepper > span {
  display: grid;
  min-width: 0;
  place-items: center;
  padding-inline: 0.35rem;
  border-inline: 1px solid rgb(27 82 70 / 18%);
  font-size: 0.75rem;
  text-align: center;
  white-space: nowrap;
}

.custom-project-stepper b {
  margin-left: 0.15rem;
}

.custom-project-stepper-large {
  width: 100%;
  min-height: 50px;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
}

.custom-project-stepper-large button {
  min-height: 48px !important;
}

.catalogue-empty,
.catalogue-error {
  display: grid;
  min-height: 31rem;
  place-items: center;
  align-content: center;
  padding: 3rem 1.5rem;
  border: 1px solid var(--line);
  background: var(--surface);
  text-align: center;
}

.catalogue-empty-mark {
  display: grid;
  width: 4.5rem;
  height: 4.5rem;
  place-items: center;
  margin-bottom: 1.25rem;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--mineral);
}

.catalogue-empty-mark svg {
  width: 1.8rem;
  height: 1.8rem;
}

.catalogue-empty h3,
.catalogue-error h3 {
  margin-bottom: 0.45rem;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 480;
}

.catalogue-empty p,
.catalogue-error p {
  max-width: 28rem;
  margin-bottom: 1.2rem;
  color: var(--muted);
  font-size: 0.76rem;
}

.load-more-wrap {
  display: grid;
  justify-items: center;
  gap: 0.65rem;
  margin-top: clamp(2rem, 4vw, 4rem);
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.load-more-wrap p {
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
}

/* Closing service callout */

.complete-property-cta {
  background: var(--mineral-dark);
  color: var(--white);
}

.complete-property-inner {
  display: grid;
  min-height: clamp(22rem, 34vw, 29rem);
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(3rem, 8vw, 10rem);
  background:
    linear-gradient(90deg, transparent 0 72%, rgb(255 255 255 / 5%) 72% 72.1%, transparent 72.1%),
    linear-gradient(0deg, transparent 0 26%, rgb(255 255 255 / 5%) 26% 26.15%, transparent 26.15%);
}

.complete-property-copy h2 {
  max-width: 12ch;
  margin-bottom: 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(3rem, 4.5vw, 4.75rem);
  font-weight: 430;
  letter-spacing: -0.06em;
  line-height: 0.94;
}

.complete-property-copy > p:last-child {
  max-width: 36rem;
  margin: 0;
  color: rgb(255 255 255 / 70%);
  font-size: 0.88rem;
}

.complete-property-actions {
  display: grid;
  justify-items: start;
  gap: 0.7rem;
}

.text-link-light {
  color: var(--white);
  text-decoration-color: rgb(255 255 255 / 35%);
}

.text-link-light:hover {
  color: var(--white);
  text-decoration-color: currentColor;
}

/* Product and collection dialogs */

.quick-view-dialog {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(56rem, calc(100vw - 4rem));
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0 0 0 auto;
  overflow: auto;
  border-width: 0 0 0 1px;
  border-radius: 0;
  background: var(--white);
  overscroll-behavior: contain;
}

.quick-view-dialog[open] {
  animation: quick-view-enter 340ms var(--ease-out) both;
}

@keyframes quick-view-enter {
  from {
    opacity: 0.7;
    transform: translateX(3rem);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.quick-view-dialog .modal-head {
  background: rgb(255 255 255 / 94%);
}

.quick-view-content {
  min-height: calc(100dvh - 6rem);
}

.quick-view-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(19rem, 0.92fr);
  align-items: start;
}

.quick-view-gallery {
  position: sticky;
  top: 6.1rem;
  display: grid;
  min-width: 0;
  gap: 0.75rem;
  padding: 1rem;
}

.quick-view-main,
.quick-view-gallery > figure,
.quick-view-main-image {
  position: relative;
  display: grid;
  aspect-ratio: 4 / 5;
  place-items: center;
  margin: 0;
  overflow: hidden;
  background: #f3f2ee;
}

.quick-view-main img,
.quick-view-gallery > figure img,
.quick-view-main-image img {
  width: 100%;
  height: 100%;
  padding: clamp(1rem, 7%, 2.5rem);
  object-fit: contain;
  mix-blend-mode: multiply;
}

.quick-view-main-image > span {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  padding: 0.35rem 0.5rem;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: rgb(255 255 255 / 88%);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  backdrop-filter: blur(7px);
}

.quick-view-thumbs {
  display: grid;
  grid-auto-columns: 4.5rem;
  grid-auto-flow: column;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.15rem 0.15rem 0.45rem;
  scrollbar-width: thin;
}

.quick-view-thumbs button {
  display: grid;
  width: 4.5rem;
  height: 4.5rem;
  place-items: center;
  padding: 0.3rem;
  border: 1px solid var(--line);
  background: var(--surface);
}

.quick-view-thumbs button:hover,
.quick-view-thumbs button.is-active,
.quick-view-thumbs button[aria-pressed="true"] {
  border-color: var(--mineral);
}

.quick-view-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.quick-view-info,
.quick-view-details {
  min-width: 0;
  padding: clamp(1.5rem, 3vw, 2.75rem);
  border-left: 1px solid var(--line);
}

.quick-view-info .mono,
.quick-view-details .mono {
  color: var(--muted);
}

.quick-view-kicker {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.quick-view-info h3,
.quick-view-details h3 {
  margin: 0.65rem 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.9rem);
  font-weight: 440;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.quick-view-info > p,
.quick-view-details > p {
  color: var(--muted);
  font-size: 0.76rem;
}

.quick-view-range {
  margin-bottom: 1rem;
  color: var(--mineral-dark) !important;
  font-weight: 680;
}

.quick-view-description {
  line-height: 1.65;
}

.price-pending-state {
  display: grid;
  gap: 0.2rem;
  margin: 1.25rem 0;
  padding: 1rem;
  border: 1px solid var(--plan-line);
  background: var(--mineral-soft);
  color: var(--mineral-dark);
}

.price-pending-state strong {
  font-size: 0.75rem;
}

.price-pending-state span {
  font-size: 0.75rem;
}

.quick-view-primary-action {
  margin: -0.35rem 0 1.25rem;
}

.quick-view-primary-action .button,
.quick-view-primary-action .custom-project-stepper {
  width: 100%;
}

.quick-view-section {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.quick-view-section h4 {
  margin: 0 0 0.8rem;
  font-size: 0.75rem;
}

.supplier-verification-note {
  margin-top: -0.5rem;
  color: var(--muted);
  font-size: 0.75rem;
}

.quick-view-spec-grid,
.quick-view-facts,
.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 1.5rem 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.quick-view-spec-grid > div,
.quick-view-facts > div,
.spec-grid > div {
  min-width: 0;
  padding: 0.8rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.quick-view-spec-grid dt,
.quick-view-facts dt,
.spec-grid dt {
  color: var(--muted);
  font-size: 0.75rem;
}

.quick-view-spec-grid dd,
.quick-view-facts dd,
.spec-grid dd {
  margin: 0.2rem 0 0;
  overflow-wrap: anywhere;
  font-size: 0.75rem;
  font-weight: 680;
}

.quick-view-feature-list,
.feature-list {
  display: grid;
  gap: 0.65rem;
  margin: 1.5rem 0;
  padding: 0;
  list-style: none;
}

.quick-view-feature-list li,
.feature-list li {
  position: relative;
  padding-left: 1rem;
  color: var(--ink-soft);
  font-size: 0.75rem;
}

.quick-view-feature-list li::before,
.feature-list li::before {
  position: absolute;
  top: 0.5rem;
  left: 0;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--mineral);
  content: "";
}

.quick-view-action-row,
.quick-view-actions,
.action-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.quick-view-actions {
  grid-template-columns: minmax(0, 1fr);
}

.quick-view-actions .text-link {
  grid-column: 1 / -1;
  justify-self: start;
}

.quick-view-action-row .button,
.quick-view-actions .button,
.action-row .button {
  width: 100%;
}

.saved-furniture-dialog,
.basket-dialog {
  width: min(calc(100% - 2rem), 44rem);
  background: var(--white);
}

.saved-furniture-content,
.basket-content {
  padding: 1.25rem;
}

.saved-furniture-dialog.has-project-draft {
  width: min(calc(100% - 2rem), 66rem);
  max-height: min(92dvh, 62rem);
}

.saved-furniture-dialog.has-project-draft .saved-furniture-content {
  max-height: calc(92dvh - 6.2rem);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.project-review {
  display: grid;
  gap: 1rem;
}

.project-review-hero {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: 7px;
  background: var(--mineral);
  color: var(--white);
}

.project-review-hero .mono {
  margin: 0 0 0.45rem;
  color: #c9ddd6;
}

.project-review-hero h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1;
}

.project-review-hero p:last-child {
  margin: 0;
  color: rgb(255 255 255 / 72%);
  font-size: 0.75rem;
}

.project-review-status {
  display: inline-flex;
  min-height: 2rem;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.55rem;
  border: 1px solid rgb(255 255 255 / 24%);
  border-radius: 999px;
  color: rgb(255 255 255 / 82%);
  font-size: 0.75rem;
  white-space: nowrap;
}

.project-review-status i {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #b9ddcf;
}

.project-review-price {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 0.15rem 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  background: var(--surface);
}

.project-review-price span,
.project-review-price small {
  color: var(--muted);
  font-size: 0.75rem;
}

.project-review-price strong {
  grid-column: 2;
  grid-row: 1 / 3;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
}

.project-review-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.project-review-metrics div {
  padding: 0.75rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.project-review-metrics dt {
  color: var(--muted);
  font-size: 0.75rem;
}

.project-review-metrics dd {
  margin: 0.15rem 0 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.project-review-metrics .project-review-text-metric {
  font-size: 1.05rem;
}

.project-review-notice {
  display: flex;
  gap: 0.65rem 1rem;
  padding: 0.8rem 1rem;
  border-left: 3px solid var(--plan-line);
  background: var(--mineral-soft);
  font-size: 0.75rem;
}

.project-review-notice span {
  color: var(--muted);
}

.project-review-rooms {
  display: grid;
  gap: 1rem;
}

.project-review-room {
  border: 1px solid var(--line);
}

.project-review-room-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0.9rem;
  background: var(--surface);
}

.project-review-room-head h4 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
}

.project-review-room-head span {
  color: var(--muted);
  font-size: 0.75rem;
}

.project-review-lines {
  padding-inline: 0.9rem;
}

.project-review-line {
  display: grid;
  min-width: 0;
  grid-template-columns: 3.5rem minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 0.75rem;
  padding-block: 0.65rem;
  border-bottom: 1px solid var(--line);
}

.project-review-line:last-child {
  border-bottom: 0;
}

.project-review-line img {
  width: 3.5rem;
  height: 3.5rem;
  padding: 0.25rem;
  object-fit: contain;
  background: var(--surface);
  mix-blend-mode: multiply;
}

.project-review-line .mono {
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
}

.project-review-line h5 {
  margin: 0.18rem 0;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.1;
}

.project-review-line div > span {
  color: var(--mineral);
  font-size: 0.75rem;
  font-weight: 700;
}

.project-review-line > strong {
  font-size: 0.75rem;
  white-space: nowrap;
}

.custom-review-quantity {
  display: grid;
  grid-template-columns: 44px 2.25rem 44px;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
}

.custom-review-quantity button {
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: var(--surface);
}

.custom-review-quantity strong {
  display: grid;
  height: 100%;
  place-items: center;
  border-inline: 1px solid var(--line);
  font-size: 0.75rem;
}

.custom-room-empty {
  margin: 0;
  padding: 1rem 0;
  color: var(--muted);
  font-size: 0.75rem;
}

.custom-project-empty {
  display: grid;
  gap: 0.25rem;
  padding: 2rem 1.25rem;
  border: 1px solid var(--line);
  background: var(--surface);
  text-align: center;
}

.custom-project-empty strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 520;
}

.custom-project-empty span {
  color: var(--muted);
  font-size: 0.75rem;
}

.project-review-actions {
  position: sticky;
  bottom: -1.25rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 0 -1.25rem -1.25rem;
  padding: 0.85rem 1.25rem calc(0.85rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: rgb(255 255 255 / 96%);
  box-shadow: 0 -12px 30px rgb(21 23 19 / 6%);
  backdrop-filter: blur(12px);
}

.project-review-actions .button {
  width: 100%;
}

.dialog-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.dialog-section-head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
}

.dialog-section-head span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.other-projects,
.saved-pieces-section {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line-strong);
}

details.other-projects > .dialog-section-head,
details.saved-pieces-section > .dialog-section-head {
  min-height: 44px;
  align-items: center;
  margin-bottom: 0;
  cursor: pointer;
  list-style: none;
}

details.other-projects > .dialog-section-head::-webkit-details-marker,
details.saved-pieces-section > .dialog-section-head::-webkit-details-marker {
  display: none;
}

details.other-projects > .dialog-section-head::after,
details.saved-pieces-section > .dialog-section-head::after {
  display: grid;
  width: 1.75rem;
  height: 1.75rem;
  flex: 0 0 1.75rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--mineral);
  content: "+";
  font-size: 1rem;
}

details.other-projects[open] > .dialog-section-head,
details.saved-pieces-section[open] > .dialog-section-head {
  margin-bottom: 0.75rem;
}

details.other-projects[open] > .dialog-section-head::after,
details.saved-pieces-section[open] > .dialog-section-head::after {
  content: "−";
}

details.other-projects > .dialog-section-head > span,
details.saved-pieces-section > .dialog-section-head > span {
  margin-left: auto;
}

.other-project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.other-project-grid article {
  display: grid;
  gap: 0.3rem;
  padding: 0.85rem;
  border: 1px solid var(--line);
  background: var(--surface);
}

.other-project-grid p,
.other-project-grid h4,
.other-project-grid span {
  margin: 0;
}

.other-project-grid h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
}

.other-project-grid span {
  color: var(--muted);
  font-size: 0.75rem;
}

.dialog-empty {
  display: grid;
  min-height: 14rem;
  place-items: center;
  align-content: center;
  gap: 0.2rem;
  padding: 2rem;
  border: 1px solid var(--line);
  background: var(--surface);
  text-align: center;
}

.dialog-empty p {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.6rem;
}

.dialog-empty span {
  color: var(--muted);
  font-size: 0.75rem;
}

.saved-item,
.saved-product-row,
.basket-item,
.basket-product-row {
  display: grid;
  min-height: 7rem;
  grid-template-columns: 6rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  padding-block: 0.85rem;
  border-bottom: 1px solid var(--line);
}

.saved-item:first-child,
.saved-product-row:first-child,
.basket-item:first-child,
.basket-product-row:first-child {
  padding-top: 0;
}

.saved-item img,
.saved-product-row img,
.basket-item img,
.basket-product-row img {
  width: 6rem;
  height: 6rem;
  padding: 0.5rem;
  background: var(--surface);
  object-fit: contain;
  mix-blend-mode: multiply;
}

.saved-item-image,
.basket-item-image {
  display: grid;
  width: 6rem;
  height: 6rem;
  place-items: center;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: var(--surface);
}

.saved-item-image:hover,
.basket-item-image:hover {
  box-shadow: inset 0 0 0 1px var(--mineral);
}

.saved-item h3,
.saved-product-row h3,
.basket-item h3,
.basket-product-row h3 {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.1;
}

.saved-item h3 button,
.saved-product-row h3 button,
.basket-item h3 button,
.basket-product-row h3 button {
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
}

.saved-item p,
.saved-product-row p,
.basket-item p,
.basket-product-row p {
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
}

.saved-item button,
.saved-product-row button,
.basket-item button,
.basket-product-row button {
  min-height: 44px;
}

.saved-item-actions,
.basket-item-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
  margin-top: 0.55rem;
}

.selection-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.4rem 0;
}

.selection-labels span {
  display: inline-flex;
  min-height: 1.55rem;
  align-items: center;
  padding: 0.25rem 0.5rem;
  border: 1px solid var(--plan-line);
  border-radius: 999px;
  background: var(--mineral-soft);
  color: var(--mineral-dark);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.dialog-footnote,
.basket-pending-summary {
  margin: 1rem 0 0;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-size: 0.75rem;
}

.basket-pending-summary strong {
  color: var(--ink);
}

.quantity-control {
  display: grid;
  grid-template-columns: 44px 2rem 44px;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
}

.quantity-control button {
  width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
}

.quantity-control button:hover {
  background: var(--mineral-soft);
}

.quantity-control span,
.quantity-control input {
  width: 2rem;
  min-width: 0;
  border: 0;
  text-align: center;
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
}

.basket-notice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.8rem;
  margin-bottom: 1rem;
  padding: 1rem;
  border: 1px solid var(--plan-line);
  background: var(--mineral-soft);
  color: var(--mineral-dark);
}

.basket-notice svg {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.15rem;
}

.basket-notice p {
  margin: 0;
  font-size: 0.75rem;
}

.basket-notice strong {
  display: block;
  margin-bottom: 0.2rem;
}

.basket-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

/* Retail quotation handoff */

.quotation-dialog {
  width: min(calc(100% - 2rem), 58rem);
  max-height: min(92dvh, 58rem);
  overflow: hidden;
  background: var(--white);
}

.quotation-form {
  display: grid;
  max-height: min(92dvh, 58rem);
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.quotation-dialog .modal-head {
  position: relative;
  background: rgb(255 255 255 / 96%);
}

.quotation-form-body {
  padding: 1.5rem;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.quotation-intro {
  max-width: 66ch;
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: var(--text-small);
}

.quotation-review {
  overflow: hidden;
  margin-bottom: 1.5rem;
  border-radius: var(--radius-media);
  background: var(--ink);
  color: var(--white);
}

.quotation-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.2rem;
  border-bottom: 1px solid rgb(255 255 255 / 16%);
}

.quotation-section-head .eyebrow {
  margin-bottom: 0.2rem;
  color: rgb(255 255 255 / 68%);
}

.quotation-section-head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 480;
}

.quotation-section-head > span {
  color: rgb(255 255 255 / 72%);
  font-size: var(--text-meta);
  white-space: nowrap;
}

.quotation-review-list {
  max-height: 12.5rem;
  margin: 0;
  padding: 0 1.2rem;
  overflow-y: auto;
  list-style: none;
  scrollbar-color: rgb(255 255 255 / 38%) transparent;
}

.quotation-review-list li {
  display: flex;
  min-height: 3.75rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgb(255 255 255 / 13%);
}

.quotation-review-list li:last-child {
  border-bottom: 0;
}

.quotation-review-list span {
  display: grid;
  min-width: 0;
}

.quotation-review-list strong {
  overflow: hidden;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 480;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.quotation-review-list small {
  color: rgb(255 255 255 / 62%);
  font-family: var(--font-mono);
  font-size: var(--text-meta);
}

.quotation-review-list b {
  font-size: var(--text-small);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.quotation-review-list .quotation-review-room {
  min-height: 2.85rem;
  padding-top: 0.65rem;
  border-bottom-color: rgb(255 255 255 / 24%);
  color: var(--plan-line);
}

.quotation-review-list .quotation-review-room strong {
  font-family: var(--font-mono);
  font-size: var(--text-meta);
  font-weight: 650;
  letter-spacing: 0.12em;
  line-height: 1.35;
  text-transform: uppercase;
  white-space: normal;
}

.quotation-review-list .quotation-review-room small {
  color: rgb(255 255 255 / 58%);
}

.quotation-route-summary {
  display: grid;
  gap: 0.2rem;
  margin: 0 1.2rem 1.1rem;
  padding: 0.85rem 0 0;
  border-top: 1px solid rgb(255 255 255 / 16%);
}

.quotation-route-summary[hidden] {
  display: none;
}

.quotation-route-summary .mono {
  color: rgb(255 255 255 / 60%);
  font-size: var(--text-meta);
}

.quotation-route-summary strong {
  font-size: var(--text-small);
  font-weight: 650;
}

.quotation-route-summary small {
  color: rgb(255 255 255 / 68%);
}

.quotation-error-summary {
  margin-bottom: 1.25rem;
  padding: 1rem 1.1rem;
  border: 2px solid var(--error);
  border-radius: var(--radius-control);
  background: var(--error-soft);
}

.quotation-error-summary:focus {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

.quotation-error-summary h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
}

.quotation-error-summary ul {
  display: grid;
  gap: 0.25rem;
  margin: 0;
  padding-left: 1.25rem;
}

.quotation-error-summary a {
  color: var(--error);
  font-size: var(--text-small);
  font-weight: 700;
  text-underline-offset: 0.2em;
}

.quotation-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.quotation-field {
  min-width: 0;
  margin: 0;
}

.quotation-field > label,
.quotation-field > legend {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.4rem;
  padding: 0;
  color: var(--ink);
  font-size: var(--text-small);
  font-weight: 720;
}

.quotation-field > label span {
  color: var(--muted);
  font-size: var(--text-meta);
  font-weight: 500;
}

.quotation-field input[type="text"],
.quotation-field input[type="email"],
.quotation-field input[type="tel"],
.quotation-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.72rem 0.8rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-control);
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

.quotation-field textarea {
  min-height: 7rem;
  resize: vertical;
}

.quotation-field input:focus,
.quotation-field textarea:focus {
  border-color: var(--mineral);
  outline: 3px solid var(--plan-line);
  outline-offset: 1px;
}

.quotation-field input[aria-invalid="true"],
.quotation-field textarea[aria-invalid="true"],
.quotation-confirmation.has-error {
  border-color: var(--error);
}

.quotation-choice-field.has-error .quotation-choice {
  border-color: var(--error);
}

.quotation-choice-field {
  margin-top: 1.15rem;
  padding: 0;
  border: 0;
}

.quotation-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.quotation-choice {
  display: flex;
  min-height: 4.75rem;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-control);
  background: var(--surface);
  cursor: pointer;
}

.quotation-choice:has(input:checked) {
  border-color: var(--mineral);
  background: var(--mineral-soft);
  box-shadow: inset 0 0 0 1px var(--mineral);
}

.quotation-choice input,
.quotation-confirmation input {
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 1.25rem;
  margin: 0;
  accent-color: var(--mineral);
}

.quotation-choice > span {
  display: grid;
  gap: 0.15rem;
}

.quotation-choice strong {
  font-size: var(--text-small);
}

.quotation-choice small {
  color: var(--muted);
  font-size: var(--text-meta);
}

.quotation-field-wide {
  margin-top: 1.15rem;
}

.quotation-field-error {
  margin: 0.35rem 0 0;
  color: var(--error);
  font-size: var(--text-meta);
  font-weight: 720;
}

.quotation-confirmations {
  display: grid;
  gap: 0.15rem;
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.quotation-confirmation {
  display: flex;
  min-height: 44px;
  align-items: start;
  gap: 0.75rem;
  padding: 0.65rem;
  border: 1px solid transparent;
  border-radius: var(--radius-control);
  cursor: pointer;
}

.quotation-confirmation > span {
  font-size: var(--text-small);
}

.quotation-confirmation small {
  color: var(--muted);
}

.quotation-confirmation-optional {
  color: var(--ink-soft);
}

.quotation-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem calc(1rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: rgb(255 255 255 / 97%);
  box-shadow: 0 -12px 30px rgb(21 23 19 / 5%);
}

.quotation-actions .button {
  min-width: min(100%, 18rem);
}

/* Retail request confirmation */

.retail-confirmation-page {
  min-height: 100svh;
  background: var(--surface);
}

.retail-confirmation-main {
  display: grid;
  min-height: calc(100svh - var(--header-height));
  align-items: center;
  padding-block: clamp(3rem, 9vh, 7rem);
  background:
    linear-gradient(90deg, transparent 0 49.95%, rgb(27 82 70 / 7%) 50%, transparent 50.05%),
    var(--surface);
}

.retail-confirmation-card {
  width: min(100%, 46rem);
  padding: clamp(1.5rem, 5vw, 3.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-shell);
  background: var(--white);
  box-shadow: var(--shadow-raised);
}

.retail-confirmation-mark {
  display: grid;
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: 1.25rem;
  place-items: center;
  border-radius: 50%;
  background: var(--mineral-soft);
  color: var(--mineral);
}

.retail-confirmation-mark svg {
  width: 1.5rem;
  height: 1.5rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.retail-confirmation-card h1 {
  max-width: 12ch;
  margin: 0.35rem 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 7vw, 5rem);
  font-weight: 430;
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.retail-confirmation-card > p:not(.eyebrow) {
  max-width: 58ch;
  margin: 0;
  color: var(--muted);
}

.retail-confirmation-note {
  margin-top: 1.5rem;
  padding: 1rem;
  border-left: 3px solid var(--mineral);
  background: var(--mineral-soft);
  color: var(--mineral-dark);
  font-size: var(--text-small);
}

.retail-confirmation-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.25rem;
  margin-top: 1.5rem;
}

/* Mobile filter sheet */

.filter-dialog {
  width: min(calc(100% - 2rem), 36rem);
  max-height: min(90dvh, 52rem);
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow-float);
}

.filter-dialog::backdrop {
  background: rgb(24 26 23 / 46%);
  backdrop-filter: blur(7px);
}

.filter-dialog > form {
  display: grid;
  max-height: inherit;
  grid-template-rows: auto minmax(0, 1fr) auto;
  margin: 0;
}

.filter-dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.filter-dialog-head .eyebrow {
  margin-bottom: 0.2rem;
}

.filter-dialog-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 460;
}

.filter-dialog-body {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.filter-dialog-body .catalogue-sidebar,
.filter-dialog-body [data-filter-form] {
  position: static;
  display: block;
  max-height: none;
  overflow: visible;
  border: 0;
}

.filter-dialog-body .filter-sidebar-head {
  display: none;
}

.filter-dialog-actions {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.25rem calc(0.9rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: rgb(255 255 255 / 96%);
  box-shadow: 0 -12px 38px rgb(21 23 19 / 7%);
}

.filter-dialog-actions .button {
  width: 100%;
}

@media (max-width: 1200px) {
  .room-card-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .package-panel-grid {
    grid-template-columns: 17rem minmax(0, 1fr);
  }

  .package-spec-row {
    grid-template-columns: 4.25rem minmax(10rem, 1fr) minmax(0, 1.35fr);
  }

  .package-spec-image {
    width: 4.25rem;
    height: 4.25rem;
  }

  .package-spec-actions {
    grid-column: 2 / -1;
    grid-auto-flow: column;
    justify-content: start;
    gap: 1.25rem;
  }

  .quick-view-dialog {
    width: min(52rem, calc(100vw - 2.5rem));
  }
}

@media (max-width: 1024px) {
  .furniture-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.72fr);
    gap: 2rem;
  }

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

  .package-panel-grid {
    grid-template-columns: 1fr;
  }

  .package-summary-sticky {
    position: static;
    min-height: 0;
  }

  .package-panel-summary .button-secondary {
    margin-top: 0;
  }

  .package-base-note {
    margin-bottom: 1.5rem;
  }

  .catalogue-toolbar {
    position: sticky;
    z-index: 20;
    top: var(--header-height);
    grid-template-columns: auto minmax(0, 1fr) auto;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    box-shadow: 0 9px 24px rgb(21 23 19 / 5%);
  }

  .filter-trigger {
    display: inline-flex;
  }

  .catalogue-sidebar {
    display: none;
  }

  .catalogue-layout {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .quick-view-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .quick-view-gallery {
    position: static;
  }

  .quick-view-main,
  .quick-view-gallery > figure,
  .quick-view-main-image {
    aspect-ratio: 16 / 11;
  }

  .quick-view-info,
  .quick-view-details {
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}

@media (min-width: 1025px) {
  .quick-view-main,
  .quick-view-gallery > figure,
  .quick-view-main-image {
    height: min(36rem, calc(100dvh - 12rem));
    min-height: 24rem;
    aspect-ratio: auto;
  }
}

/* Retired: short-window compression made catalogue information smaller or
   disappear. The catalogue now scrolls naturally at every desktop height. */
@media (min-width: 1025px) and (max-height: 0px) {
  .furniture-hero {
    padding: 1.25rem 0 2.5rem;
  }

  .breadcrumb {
    margin-bottom: 1rem;
  }

  .furniture-hero-copy h1 {
    max-width: 15ch;
    margin-bottom: 1rem;
    font-size: clamp(3.35rem, 4.6vw, 4.35rem);
  }

  .catalogue-disclaimer {
    margin-top: 1rem;
  }

  .room-navigation,
  .package-specification,
  .catalogue-section {
    padding-block: 3.5rem;
  }

  body.package-workspace-active .package-specification {
    padding-top: 1.6rem;
    padding-bottom: 1.5rem;
  }

  body.package-workspace-active .package-specification-head {
    margin-bottom: 1rem;
  }

  body.package-workspace-active .package-specification-head h2 {
    font-size: clamp(2.35rem, 3.5vw, 3.25rem);
  }

  .package-summary-sticky {
    min-height: min(34rem, calc(100dvh - var(--header-height) - 1rem));
    padding: 1.5rem;
  }

  .package-panel-summary h3 {
    font-size: 2.25rem;
  }

  .package-summary-metrics {
    margin-top: 0.9rem;
  }

  .package-base-note {
    margin: 0.9rem 0 1.1rem;
  }

  .package-panel-products {
    padding: 1.35rem 1.5rem;
  }

  body.package-workspace-active .package-summary-sticky {
    min-height: 0;
    padding: 1.1rem 1.25rem;
  }

  body.package-workspace-active .package-panel-summary h3 {
    margin: 0.4rem 0 0.55rem;
    font-size: 2rem;
  }

  body.package-workspace-active .package-panel-summary p {
    font-size: 0.75rem;
    line-height: 1.4;
  }

  body.package-workspace-active .package-draft-price {
    margin-top: 0.55rem;
    padding-block: 0.5rem;
  }

  body.package-workspace-active .package-draft-price strong {
    font-size: 1.75rem;
  }

  body.package-workspace-active .package-summary-metrics {
    margin-top: 0.55rem;
  }

  body.package-workspace-active .package-summary-metrics > div {
    padding: 0.45rem 0.55rem;
  }

  body.package-workspace-active .package-summary-metrics dd {
    font-size: 1.3rem;
  }

  body.package-workspace-active .package-base-note {
    margin: 0.55rem 0 0.7rem;
    font-size: 0.75rem !important;
  }

  body.package-workspace-active .package-panel-products {
    padding: 0 1.5rem 1rem;
  }

  body.package-workspace-active .package-workspace-nav {
    margin-inline: -1.5rem;
    margin-bottom: 0.85rem;
  }

  body.package-workspace-active .package-schedule-head {
    gap: 1.25rem;
    margin-bottom: 0.55rem;
    padding-bottom: 0.8rem;
  }

  body.package-workspace-active .package-schedule-head h4 {
    font-size: 1.8rem;
  }

  body.package-workspace-active .package-schedule-head > p {
    max-width: 24rem;
    font-size: 0.75rem;
    line-height: 1.4;
  }

  body.package-workspace-active .package-workspace-legend {
    margin-bottom: 0.45rem;
  }

  body.package-workspace-active .package-room-navigation {
    margin-bottom: 0.15rem;
    padding-bottom: 0.4rem;
  }

  body.package-workspace-active .package-draft-room .package-room-summary {
    min-height: 3.65rem;
    padding-block: 0.4rem;
  }

  body.package-workspace-active .package-room-title strong {
    font-size: 1.15rem;
  }

  body.package-workspace-active .package-schedule-note {
    margin-top: 0.65rem;
    font-size: 0.75rem;
  }

  body.package-workspace-active .package-options-head {
    margin-bottom: 0.75rem;
  }
}

@media (min-width: 901px) and (max-width: 1024px) {
  body:not(.package-workspace-active) .package-specification {
    padding-block: 0.75rem;
  }

  body:not(.package-workspace-active) .package-specification-head {
    gap: 2rem;
    margin-bottom: 0.9rem;
  }

  body:not(.package-workspace-active) .package-specification-head h2 {
    font-size: 2.65rem;
  }

  body:not(.package-workspace-active) .package-tabs {
    margin-bottom: 0.65rem;
  }

  body:not(.package-workspace-active) .package-tabs button {
    min-height: 3.55rem;
    padding-block: 0.6rem;
  }

  body.package-workspace-active .package-workspace-grid {
    grid-template-columns: minmax(16rem, 0.32fr) minmax(0, 1fr);
  }

  body:not(.package-workspace-active) .package-panel-grid {
    grid-template-columns: 16rem minmax(0, 1fr);
  }

  body:not(.package-workspace-active) .package-summary-sticky {
    position: sticky;
    top: calc(var(--header-height) + 1rem);
    min-height: 0;
    padding: 0.75rem;
  }

  body:not(.package-workspace-active) .package-summary-sticky > p:not(.mono):not(.package-base-note) {
    display: none;
  }

  body:not(.package-workspace-active) .package-panel-summary h3 {
    margin-block: 0.45rem 0.6rem;
    font-size: 2rem;
  }

  body:not(.package-workspace-active) .package-draft-price {
    margin-top: 0.45rem;
    padding-block: 0.4rem;
  }

  body:not(.package-workspace-active) .package-draft-price strong {
    font-size: 1.65rem;
  }

  body:not(.package-workspace-active) .package-summary-metrics {
    margin-top: 0.5rem;
  }

  body:not(.package-workspace-active) .package-summary-metrics > div {
    padding: 0.35rem 0.45rem;
  }

  body:not(.package-workspace-active) .package-summary-metrics dd {
    font-size: 1.15rem;
  }

  body:not(.package-workspace-active) .package-base-note {
    margin: 0.5rem 0 0.65rem;
    font-size: 0.75rem !important;
  }

  body:not(.package-workspace-active) .package-panel-summary .button {
    min-height: 44px;
    padding-block: 0.6rem;
  }

  body:not(.package-workspace-active) .package-panel-products {
    padding: 0.85rem 1.2rem;
  }

  body:not(.package-workspace-active) .package-schedule-head {
    gap: 1rem;
    margin-bottom: 0.35rem;
    padding-bottom: 0.7rem;
  }

  body:not(.package-workspace-active) .package-schedule-head h4 {
    font-size: 1.7rem;
  }

  body:not(.package-workspace-active) .package-schedule-head > p {
    font-size: 0.75rem;
    line-height: 1.35;
  }

  body:not(.package-workspace-active) .package-room-summary {
    min-height: 3.55rem;
    padding-block: 0.45rem;
  }

  body:not(.package-workspace-active) .package-room-title strong {
    font-size: 1.12rem;
  }

  body:not(.package-workspace-active) .package-schedule-note,
  body:not(.package-workspace-active) .package-specification-note {
    margin-top: 0.5rem;
    font-size: 0.75rem;
  }

  body.package-workspace-active .package-summary-sticky {
    position: sticky;
    top: calc(var(--header-height) + 1rem);
    min-height: 0;
    padding: 1.15rem;
  }

  body.package-workspace-active .package-panel-summary h3 {
    margin-block: 0.45rem 0.6rem;
    font-size: 2rem;
  }

  body.package-workspace-active .package-draft-price {
    margin-top: 0.7rem;
    padding-block: 0.65rem;
  }

  body.package-workspace-active .package-summary-metrics {
    margin-top: 0.7rem;
  }

  body.package-workspace-active .package-summary-metrics > div {
    padding: 0.55rem;
  }

  body.package-workspace-active .package-base-note {
    margin: 0.7rem 0 0.85rem;
    font-size: 0.75rem !important;
  }

  body.package-workspace-active .package-draft-summary-actions {
    gap: 0.3rem;
  }

  body.package-workspace-active .package-draft-summary-actions .button,
  body.package-workspace-active .package-summary-link {
    min-height: 44px;
  }

  body.package-workspace-active .package-specification {
    padding-block: 1.25rem;
  }

  body.package-workspace-active .package-specification-head {
    margin-bottom: 0.75rem;
  }

  body.package-workspace-active .package-specification-head h2 {
    font-size: 2.65rem;
  }

  body.package-workspace-active .package-summary-sticky {
    padding: 0.85rem 1rem;
  }

  body.package-workspace-active .package-panel-summary h3 {
    margin-block: 0.35rem 0.45rem;
    font-size: 1.85rem;
  }

  body.package-workspace-active .package-panel-summary p {
    font-size: 0.75rem;
    line-height: 1.35;
  }

  body.package-workspace-active .package-draft-price {
    margin-top: 0.5rem;
    padding-block: 0.45rem;
  }

  body.package-workspace-active .package-draft-price strong {
    font-size: 1.7rem;
  }

  body.package-workspace-active .package-summary-metrics {
    margin-top: 0.5rem;
  }

  body.package-workspace-active .package-summary-metrics > div {
    padding: 0.4rem 0.5rem;
  }

  body.package-workspace-active .package-summary-metrics dd {
    font-size: 1.2rem;
  }

  body.package-workspace-active .package-base-note {
    margin: 0.5rem 0 0.6rem;
    font-size: 0.75rem !important;
  }

  body.package-workspace-active .package-panel-products {
    padding: 0 1.1rem 0.8rem;
  }

  body.package-workspace-active .package-workspace-nav {
    margin-inline: -1.1rem;
    margin-bottom: 0.65rem;
  }

  body.package-workspace-active .package-schedule-head {
    gap: 0.9rem;
    margin-bottom: 0.45rem;
    padding-bottom: 0.65rem;
  }

  body.package-workspace-active .package-schedule-head h4 {
    font-size: 1.65rem;
  }

  body.package-workspace-active .package-schedule-head > p {
    max-width: 22rem;
    font-size: 0.75rem;
    line-height: 1.35;
  }

  body.package-workspace-active .package-workspace-legend {
    margin-bottom: 0.35rem;
  }

  body.package-workspace-active .package-room-navigation {
    margin-bottom: 0.1rem;
    padding-bottom: 0.35rem;
  }

  body.package-workspace-active .package-room-navigation button {
    min-height: 44px;
    padding-block: 0.45rem;
  }

  body.package-workspace-active .package-draft-room .package-room-summary {
    min-height: 3.4rem;
    padding-block: 0.35rem;
  }

  body.package-workspace-active .package-room-title strong {
    font-size: 1.1rem;
  }

  body.package-workspace-active .package-schedule-note {
    margin-top: 0.5rem;
    font-size: 0.75rem;
    line-height: 1.35;
  }
}

@media (min-width: 768px) and (max-width: 1050px) {
  .package-picker-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .furniture-hero-grid,
  .room-navigation-head,
  .package-specification-head,
  .catalogue-heading {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 1.5rem;
  }

  .furniture-hero-copy h1 {
    max-width: 11ch;
  }

  .room-card-grid {
    display: flex;
    width: calc(100% + var(--gutter));
    gap: 0.75rem;
    overflow-x: auto;
    padding: 0.2rem 3.5rem 0.8rem 0.15rem;
    overscroll-behavior-inline: contain;
    border: 0;
    scroll-padding-inline: 0.15rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .room-card-grid::-webkit-scrollbar,
  .package-tabs::-webkit-scrollbar {
    display: none;
  }

  .room-card {
    min-width: 14rem;
    min-height: 8rem;
    flex: 0 0 14rem;
    border: 1px solid var(--line);
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .project-strip-inner {
    grid-template-columns: auto minmax(0, 1fr);
    padding-block: 2rem;
  }

  .project-strip .text-link {
    grid-column: 2;
    justify-self: start;
  }

  .package-tabs {
    display: flex;
    width: calc(100% + var(--gutter));
    gap: 0.65rem;
    overflow-x: auto;
    padding: 0.15rem 3.5rem 0.8rem 0.15rem;
    overscroll-behavior-inline: contain;
    border: 0;
    background: transparent;
    scroll-padding-inline: 0.15rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .package-tabs button {
    min-width: 15.5rem;
    flex: 0 0 15.5rem;
    border: 1px solid var(--line-strong);
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .package-panel-grid {
    grid-template-columns: 1fr;
  }

  .package-summary-sticky {
    position: static;
    min-height: 0;
  }

  .package-panel-summary {
    min-height: 0;
  }

  .package-panel-summary .button-secondary {
    margin-top: 0;
  }

  .package-base-note {
    margin-bottom: 1.5rem;
  }

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

  .complete-property-inner {
    min-height: 28rem;
    grid-template-columns: 1fr;
    align-content: center;
    gap: 2rem;
    padding-block: 4rem;
  }
}

@media (max-width: 767px) {
  .mobile-nav {
    padding-bottom: calc(2rem + env(safe-area-inset-bottom));
  }

  .furniture-hero {
    padding: 1rem 0 2.9rem;
  }

  .breadcrumb {
    margin-bottom: 1.15rem;
  }

  .breadcrumb a {
    min-height: 44px;
  }

  .furniture-hero-grid {
    gap: 1.2rem;
  }

  .furniture-hero-copy h1 {
    max-width: 12ch;
    margin-bottom: 1rem;
    font-size: clamp(2.7rem, 11.5vw, 3.35rem);
    line-height: 0.96;
  }

  .furniture-hero-copy > p:last-child {
    font-size: 0.94rem;
  }

  .catalogue-search {
    margin-inline: calc(var(--gutter) * -1);
    padding: 1.1rem var(--gutter);
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .catalogue-search-control {
    min-height: 54px;
  }

  .catalogue-search-control input {
    min-height: 46px;
    font-size: 1rem;
  }

  .catalogue-search > p {
    min-height: 1.1rem;
    margin-top: 0.55rem;
  }

  .workspace-catalogue-search {
    grid-template-columns: minmax(0, 1fr) 5.25rem;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    padding: 0.7rem;
  }

  .workspace-search-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .workspace-catalogue-search > small {
    display: none;
  }

  .workspace-catalogue-search .catalogue-search-control,
  .workspace-catalogue-search > .button {
    min-height: 50px;
  }

  .workspace-catalogue-search .catalogue-search-control {
    gap: 0.45rem;
    padding-left: 0.75rem;
  }

  .workspace-catalogue-search > .button {
    padding-inline: 0.6rem;
    font-size: 0;
  }

  .workspace-catalogue-search > .button::after {
    content: "Search";
    font-size: 0.75rem;
  }

  .catalogue-disclaimer {
    margin-top: 1.25rem;
  }

  .custom-brief-banner {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    padding: 0.9rem;
  }

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

  .custom-brief-progress {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.2rem;
    scrollbar-width: none;
  }

  .custom-brief-progress span {
    flex: 0 0 auto;
  }

  .custom-brief-actions {
    width: 100%;
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem !important;
    padding-top: 0.75rem;
    border-top: 1px solid rgb(27 82 70 / 13%);
  }

  .custom-brief-actions .button {
    grid-column: 1 / -1;
  }

  .custom-brief-actions .text-link {
    justify-self: center;
  }

  body.custom-project-active .catalogue-section {
    padding-top: 1rem;
  }

  body.package-workspace-active .catalogue-section {
    padding-top: 1rem;
  }

  body.package-workspace-active .catalogue-heading,
  body.custom-project-active .catalogue-heading {
    display: none;
  }

  body.custom-project-active .custom-brief-banner {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.6rem;
    margin: 0 0 0.75rem;
    padding: 0.75rem;
  }

  body.custom-project-active .custom-brief-icon,
  body.custom-project-active .custom-brief-progress,
  body.custom-project-active .custom-brief-progress + small,
  body.custom-project-active .custom-project-facts span:first-child,
  body.custom-project-active .custom-project-facts span:last-child {
    display: none;
  }

  body.custom-project-active .custom-project-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 0.5rem;
  }

  body.custom-project-active .custom-brief-actions {
    padding-top: 0.55rem;
  }

  .package-brief-banner {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 0.85rem;
    padding: 1rem;
  }

  .package-brief-icon {
    width: 2.65rem;
    height: 2.65rem;
  }

  .package-brief-copy > strong {
    font-size: 1.2rem;
  }

  .package-brief-actions {
    grid-column: 1 / -1;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
    padding-top: 0.8rem;
    border-top: 1px solid rgb(27 82 70 / 13%);
  }

  .package-brief-actions .text-link {
    min-width: 0;
    white-space: normal;
  }

  body.package-workspace-active .package-brief-banner {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.55rem;
    margin: 0 0 0.75rem;
    padding: 0.75rem;
  }

  body.package-workspace-active .package-brief-icon {
    display: none;
  }

  body.package-workspace-active .package-brief-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.35rem;
    margin-top: 0.55rem;
  }

  body.package-workspace-active .package-brief-facts span {
    justify-content: center;
  }

  body.package-workspace-active .package-brief-actions {
    padding-top: 0.55rem;
  }

  .room-navigation {
    padding-block: 3.6rem;
  }

  .room-navigation-head h2,
  .package-specification-head h2,
  .catalogue-heading h2 {
    font-size: clamp(2.4rem, 10.5vw, 3.5rem);
  }

  .project-strip-mark {
    width: 3.5rem;
    height: 3.5rem;
  }

  .project-strip h2 {
    font-size: 1.75rem;
  }

  .project-strip-inner {
    padding-block: 1.6rem;
  }

  .package-specification {
    padding-block: 3.75rem;
  }

  .package-panel {
    margin-inline: calc(var(--gutter) * -1);
    border-right: 0;
    border-left: 0;
  }

  .package-panel-products {
    padding: 1.1rem 1.25rem 1.25rem;
  }

  .package-panel-grid > .package-panel-products {
    padding: 1.1rem 1.25rem 1.25rem;
  }

  .package-schedule-head {
    display: grid;
    align-items: start;
    gap: 0.65rem;
    padding-bottom: 1.1rem;
  }

  .package-room-summary {
    min-height: 4.5rem;
    grid-template-columns: 1.75rem minmax(0, 1fr) auto 1.25rem;
    gap: 0.65rem;
  }

  .package-spec-row {
    grid-template-columns: 4rem minmax(0, 1fr);
    align-items: start;
    gap: 0.6rem 0.85rem;
    padding: 0.85rem 0;
  }

  .package-spec-image {
    width: 4rem;
    height: 4rem;
  }

  .package-spec-facts,
  .package-spec-actions {
    grid-column: 1 / -1;
  }

  .package-spec-actions {
    grid-auto-flow: column;
    justify-content: start;
    gap: 1rem;
  }

  body.package-workspace-active .package-specification {
    padding-top: 2.25rem;
    padding-bottom: 3.5rem;
  }

  body.package-workspace-active .package-specification-head {
    gap: 0.85rem;
    margin-bottom: 1.25rem;
  }

  body.package-workspace-active .package-specification-head h2 {
    font-size: clamp(2.5rem, 11vw, 3.25rem);
  }

  .package-workspace-grid {
    grid-template-columns: 1fr;
  }

  .package-draft-summary .package-summary-sticky {
    display: grid;
    min-height: 0;
    grid-template-columns: minmax(0, 1fr) minmax(7.5rem, auto);
    gap: 0.2rem 0.8rem;
    padding: 0.9rem 1.25rem;
  }

  .package-draft-summary h3 {
    grid-column: 1;
    margin: 0.3rem 0 0.15rem;
    font-size: clamp(1.85rem, 8vw, 2.35rem);
  }

  .package-draft-summary .mono,
  .package-draft-summary .package-draft-context {
    grid-column: 1;
  }

  .package-draft-summary .package-draft-context {
    margin: 0;
  }

  .package-draft-summary .package-draft-price {
    width: auto;
    max-width: 9.5rem;
    grid-column: 2;
    grid-row: 1 / 4;
    align-self: center;
    margin: 0;
    padding: 0 0 0 0.8rem;
    border: 0;
    border-left: 1px solid rgb(255 255 255 / 18%);
    text-align: right;
  }

  .package-draft-summary .package-draft-price strong {
    font-size: 1.45rem;
  }

  .package-draft-summary .package-summary-metrics,
  .package-draft-summary .package-base-note {
    display: none;
  }

  .package-draft-summary-actions {
    width: 100%;
    grid-column: 1 / -1;
    margin-top: 0.35rem;
    padding-top: 0.35rem;
    border-top: 1px solid rgb(255 255 255 / 14%);
  }

  .package-draft-summary-actions .button {
    display: none;
  }

  .package-draft-summary-actions .package-summary-link {
    min-height: 44px;
    justify-content: flex-start;
  }

  .package-workspace-products,
  .package-panel-grid > .package-workspace-products {
    padding-top: 0;
  }

  .package-workspace-nav {
    display: flex;
    top: var(--header-height);
    overflow-x: auto;
    margin-inline: -1.25rem;
    margin-bottom: 1.35rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .package-workspace-nav::-webkit-scrollbar {
    display: none;
  }

  .package-workspace-nav button,
  .package-workspace-nav a {
    min-width: 9.5rem;
    flex: 1 0 9.5rem;
    scroll-snap-align: start;
  }

  .package-room-navigation {
    width: calc(100% + 1.25rem);
    padding-right: 1.25rem;
  }

  .package-draft-line.is-changed {
    margin-inline: -0.45rem;
    padding-inline: 0.45rem;
  }

  .package-spec-actions {
    display: flex;
    flex-wrap: wrap;
    grid-auto-flow: unset;
    gap: 0.35rem 1rem;
  }

  .package-options-head {
    display: grid;
    align-items: start;
    gap: 0.6rem;
  }

  .package-option-grid {
    grid-template-columns: 1fr;
  }

  .package-option-card {
    grid-template-columns: 6.5rem minmax(0, 1fr);
  }

  .package-option-media {
    min-height: 6.5rem;
  }

  .package-picker-dialog {
    inset: 0;
    width: 100vw;
    height: 100dvh;
    max-height: none;
    margin: 0;
    border: 0;
    border-radius: 0;
  }

  .package-picker-dialog .modal-head {
    position: sticky;
    z-index: 3;
    top: 0;
    padding: 0.9rem 1rem;
    background: rgb(255 255 255 / 96%);
    backdrop-filter: blur(12px);
  }

  .package-picker-dialog .modal-head .eyebrow {
    display: none;
  }

  .package-picker-dialog .modal-head h2 {
    font-size: 1.5rem;
  }

  .package-picker-content {
    max-height: calc(100dvh - 5rem);
    padding: 1rem;
  }

  .package-picker-intro {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .package-picker-intro > p:last-child {
    grid-column: 1;
    grid-row: auto;
  }

  .package-picker-grid {
    grid-template-columns: 1fr;
  }

  .package-picker-card {
    display: grid;
    grid-template-columns: 7rem minmax(0, 1fr);
    align-items: start;
    gap: 0.25rem 0.8rem;
  }

  .package-picker-image {
    grid-row: 1 / 6;
    aspect-ratio: 1;
    margin: 0;
  }

  .package-picker-card .button {
    grid-column: 2;
    justify-self: stretch;
    margin-top: 0.4rem;
  }

  .package-draft-bar {
    position: fixed;
    z-index: 90;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line-strong);
    background: rgb(255 255 255 / 96%);
    box-shadow: 0 -14px 36px rgb(21 23 19 / 10%);
    backdrop-filter: blur(14px);
    transition:
      opacity 180ms ease,
      transform 220ms var(--ease-out),
      visibility 180ms ease;
  }

  body.nav-open .package-draft-bar,
  body.dialog-open .package-draft-bar {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(100%);
  }

  .package-draft-bar > span {
    display: grid;
    min-width: 0;
  }

  .package-draft-bar small {
    overflow: hidden;
    color: var(--mineral);
    font-size: 0.75rem;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .package-draft-bar strong {
    overflow: hidden;
    font-size: 0.75rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .package-draft-bar .button {
    min-height: 44px;
    padding: 0.65rem 0.85rem;
  }

  body.has-package-draft-bar {
    padding-bottom: calc(4.8rem + env(safe-area-inset-bottom));
  }

  body.has-package-draft-bar .toast {
    bottom: calc(5.4rem + env(safe-area-inset-bottom));
  }

  .saved-furniture-dialog.has-project-draft {
    inset: 0;
    width: 100vw;
    max-width: none;
    height: 100dvh;
    max-height: none;
    margin: 0;
    overflow: hidden;
    border: 0;
    border-radius: 0;
  }

  .saved-furniture-dialog.has-project-draft[open] {
    display: flex;
    flex-direction: column;
  }

  .saved-furniture-dialog.has-project-draft .modal-head {
    position: relative;
    flex: 0 0 auto;
  }

  .saved-furniture-dialog.has-project-draft .saved-furniture-content {
    min-height: 0;
    flex: 1 1 auto;
    max-height: none;
  }

  .project-review-hero {
    display: grid;
    padding: 1rem;
  }

  .project-review-status {
    justify-self: start;
  }

  .project-review-price strong {
    font-size: 1.65rem;
  }

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

  .project-review-notice {
    display: grid;
  }

  .project-review-line {
    grid-template-columns: 3.25rem minmax(0, 1fr) auto;
    gap: 0.6rem;
  }

  .project-review-line img {
    width: 3.25rem;
    height: 3.25rem;
  }

  .project-review-line .text-button {
    grid-column: 2 / -1;
    justify-self: start;
  }

  .custom-review-quantity {
    grid-template-columns: 44px 2rem 44px;
  }

  .custom-review-quantity button {
    min-width: 44px;
    min-height: 44px;
  }

  .project-review-actions {
    grid-template-columns: 1fr;
  }

  .other-project-grid {
    grid-template-columns: 1fr;
  }

  .catalogue-section {
    padding-block: 3.75rem;
  }

  .catalogue-toolbar {
    grid-template-columns: auto minmax(3.6rem, 1fr) auto;
    gap: 0.55rem;
    min-height: 4.65rem;
    padding-block: 0.55rem;
    background: rgb(255 255 255 / 94%);
    backdrop-filter: blur(14px);
  }

  .catalogue-count {
    overflow: hidden;
  }

  .catalogue-count span {
    display: none;
  }

  .catalogue-sort {
    gap: 0;
  }

  .catalogue-sort > span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .catalogue-sort select {
    width: 7rem;
    padding-right: 1.8rem;
    text-overflow: ellipsis;
  }

  .active-filters {
    flex-wrap: nowrap;
    width: calc(100% + var(--gutter));
    overflow-x: auto;
    padding: 0.2rem var(--gutter) 0.6rem 0;
    scrollbar-width: thin;
  }

  .active-filter-chip,
  .filter-chip {
    flex: 0 0 auto;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem 0.75rem;
  }

  .product-card:hover {
    transform: none;
  }

  .product-card-media > img,
  .product-image-button img {
    padding: 0.4rem;
  }

  .favourite-button {
    top: 0.4rem;
    right: 0.4rem;
  }

  .product-package-chip {
    right: 0.45rem;
    bottom: 0.45rem;
    left: 0.45rem;
    max-width: calc(100% - 0.9rem);
    font-size: 0.75rem;
  }

  .product-card-body {
    padding: 0.75rem 0.05rem 0.1rem;
  }

  .product-card-meta {
    display: flex;
    gap: 0.15rem 0.35rem;
    min-height: 0;
    font-size: 0.75rem;
  }

  .product-card-meta span:last-child {
    display: none;
  }

  .product-card-title,
  .product-card h3 {
    font-size: clamp(1.05rem, 4.9vw, 1.3rem);
  }

  .product-card-spec {
    min-height: 2.85em;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 0.75rem;
  }

  .product-price-pending {
    font-size: 0.75rem;
  }

  .product-card-actions {
    grid-template-columns: 1fr;
    padding-top: 0.7rem;
  }

  .product-card-actions > * {
    width: 100%;
  }

  .product-card-actions .text-button {
    display: none;
  }

  .complete-property-copy h2 {
    font-size: clamp(2.8rem, 12vw, 4.2rem);
  }

  .quick-view-dialog {
    inset: 0;
    width: 100vw;
    height: 100dvh;
    margin: 0;
    border: 0;
  }

  .quick-view-dialog .modal-head {
    padding: 0.85rem 1rem;
  }

  .quick-view-dialog .modal-head .eyebrow {
    display: none;
  }

  .quick-view-dialog .modal-head h2 {
    display: -webkit-box;
    max-width: calc(100vw - 5.5rem);
    overflow: hidden;
    font-size: 1.4rem;
    line-height: 1.1;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .quick-view-gallery {
    padding: 0.75rem;
  }

  .quick-view-main,
  .quick-view-gallery > figure,
  .quick-view-main-image {
    aspect-ratio: 4 / 3;
  }

  .quick-view-info,
  .quick-view-details {
    padding: 1.25rem;
  }

  .quick-view-info h3,
  .quick-view-details h3 {
    font-size: clamp(2.3rem, 11vw, 3.5rem);
  }

  .quick-view-action-row,
  .quick-view-actions,
  .action-row {
    position: static;
    grid-template-columns: 1fr;
    margin: 1.5rem -1.25rem -1.25rem;
    padding: 0.8rem 1.25rem calc(0.8rem + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: rgb(255 255 255 / 95%);
    box-shadow: 0 -12px 36px rgb(21 23 19 / 7%);
    backdrop-filter: blur(10px);
  }

  .saved-furniture-dialog,
  .basket-dialog {
    width: 100vw;
    max-width: none;
    height: 100dvh;
    max-height: none;
    margin: 0;
    border: 0;
    border-radius: 0;
  }

  .quotation-dialog {
    position: fixed;
    inset: 0;
    width: 100vw;
    max-width: none;
    height: 100dvh;
    max-height: none;
    margin: 0;
    border: 0;
    border-radius: 0;
  }

  .quotation-form {
    height: 100dvh;
    max-height: none;
  }

  .quotation-dialog .modal-head {
    padding-top: calc(1.1rem + env(safe-area-inset-top));
  }

  .quotation-form-body {
    padding: 1.1rem;
  }

  .quotation-section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.4rem;
  }

  .quotation-section-head > span {
    white-space: normal;
  }

  .quotation-review-list {
    max-height: none;
    overflow: visible;
  }

  .quotation-review-list li {
    padding-block: 0.65rem;
  }

  .quotation-review-list strong {
    overflow: visible;
    line-height: 1.25;
    text-overflow: clip;
    white-space: normal;
  }

  .quotation-fields,
  .quotation-choice-grid {
    grid-template-columns: 1fr;
  }

  .quotation-actions {
    display: grid;
    gap: 0.5rem;
    padding: 0.85rem 1.1rem calc(0.85rem + env(safe-area-inset-bottom));
  }

  .quotation-actions .button,
  .quotation-actions .text-button {
    width: 100%;
  }

  .retail-confirmation-main {
    align-items: start;
    padding-block: 2rem;
  }

  .retail-confirmation-card {
    padding: 1.5rem;
    border-radius: var(--radius-media);
  }

  .retail-confirmation-actions {
    display: grid;
  }

  .retail-confirmation-actions .button,
  .retail-confirmation-actions .text-link {
    width: 100%;
  }

  .saved-furniture-content,
  .basket-content {
    padding-bottom: calc(1.25rem + env(safe-area-inset-bottom));
  }

  .saved-item,
  .saved-product-row,
  .basket-item,
  .basket-product-row {
    grid-template-columns: 4.5rem minmax(0, 1fr);
  }

  .saved-item img,
  .saved-product-row img,
  .basket-item img,
  .basket-product-row img {
    width: 4.5rem;
    height: 4.5rem;
  }

  .saved-item-image,
  .basket-item-image {
    width: 4.5rem;
    height: 4.5rem;
  }

  .saved-item > :last-child,
  .saved-product-row > :last-child,
  .basket-item > :last-child,
  .basket-product-row > :last-child {
    grid-column: 2;
    justify-self: start;
  }

  .filter-dialog {
    position: fixed;
    inset: auto 0 0;
    width: 100vw;
    max-width: none;
    height: 88dvh;
    max-height: 88dvh;
    margin: auto 0 0;
    border-width: 1px 0 0;
    border-radius: 14px 14px 0 0;
  }

  .filter-dialog[open] {
    animation: filter-sheet-enter 300ms var(--ease-out) both;
  }

  .filter-dialog-head::before {
    position: absolute;
    top: 0.45rem;
    left: 50%;
    width: 2.75rem;
    height: 3px;
    border-radius: 999px;
    background: var(--line-strong);
    content: "";
    transform: translateX(-50%);
  }

  .filter-dialog-head {
    position: relative;
    padding: 1.35rem 1.1rem 0.9rem;
  }

  .filter-dialog-body .filter-group {
    padding: 0.9rem 1.1rem;
  }

  .filter-dialog-actions {
    gap: 0.75rem;
    padding-inline: 1.1rem;
  }

  .complete-property-inner {
    min-height: 0;
    padding-block: 3.5rem;
  }

  .site-footer .footer-top nav a,
  .site-footer .footer-button,
  .site-footer .footer-placeholder {
    min-height: 44px;
  }

  @keyframes filter-sheet-enter {
    from {
      opacity: 0.7;
      transform: translateY(3rem);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

@media (max-width: 480px) {
  .package-brief-actions {
    grid-template-columns: 1fr;
  }

  .package-brief-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .package-brief-facts span {
    justify-content: center;
    text-align: center;
  }

  .catalogue-toolbar {
    grid-template-columns: auto minmax(3.2rem, 1fr) 6.2rem;
    gap: 0.35rem;
  }

  .filter-trigger {
    padding-inline: 0.65rem;
    font-size: 0.75rem;
  }

  .catalogue-count strong {
    font-size: 0.75rem;
    line-height: 1.2;
  }

  .catalogue-sort select {
    width: 6.1rem;
    padding-inline: 0.55rem 1.5rem;
    font-size: 0.75rem;
  }

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

  .product-card {
    display: grid;
    grid-template-columns: 7.5rem minmax(0, 1fr);
    align-items: start;
    gap: 0.85rem;
    padding: 0.65rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-media);
    background: var(--white);
    box-shadow: 0 8px 24px rgb(21 23 19 / 4%);
  }

  .product-card-media {
    width: 7.5rem;
    aspect-ratio: 1;
    align-self: start;
  }

  .product-card-body {
    min-height: 7.5rem;
    padding: 0.1rem 0 0;
  }

  .product-card-meta {
    margin-bottom: 0.3rem;
    line-height: 1.25;
  }

  .product-card-meta span:last-child {
    display: inline;
  }

  .product-card-title,
  .product-card h3 {
    font-size: 1.16rem;
  }

  .product-card-title button,
  .product-card h3 button {
    min-height: 44px;
    -webkit-line-clamp: 2;
  }

  .product-card-spec {
    min-height: 0;
    margin-top: 0.4rem;
    -webkit-line-clamp: 1;
  }

  .product-card-price {
    margin-top: 0.45rem;
  }

  .product-card-price span {
    display: none;
  }

  .product-card-actions {
    margin-top: 0.55rem;
    padding-top: 0;
  }

  .product-card-actions .button,
  .product-card-actions button {
    padding-inline: 0.5rem;
    font-size: 0.75rem;
  }

  .product-package-chip {
    right: 0.35rem;
    bottom: 0.35rem;
    left: 0.35rem;
    max-width: calc(100% - 0.7rem);
  }

  .favourite-button {
    top: 0.3rem;
    right: 0.3rem;
    width: 44px;
    height: 44px;
  }

  .package-summary-sticky {
    padding: 1.5rem 1.25rem;
  }

  .package-summary-metrics > div {
    padding: 0.75rem;
  }

  .package-room-units {
    display: none;
  }

  .package-room-summary {
    grid-template-columns: 1.5rem minmax(0, 1fr) 1.25rem;
  }

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

  .package-spec-facts > div {
    padding: 0.48rem 0.52rem;
  }

  .package-spec-facts dd {
    font-size: 0.75rem;
  }

  .package-spec-image {
    width: 3.75rem;
    height: 3.75rem;
  }

  .package-spec-actions {
    grid-auto-flow: column;
    gap: 0.85rem;
  }

  .saved-item,
  .saved-product-row,
  .basket-item,
  .basket-product-row {
    grid-template-columns: 4rem minmax(0, 1fr);
    gap: 0.75rem;
  }

  .saved-item img,
  .saved-product-row img,
  .basket-item img,
  .basket-product-row img,
  .saved-item-image,
  .basket-item-image {
    width: 4rem;
    height: 4rem;
  }

  .basket-actions {
    display: grid;
  }

  .basket-actions .button,
  .basket-actions .text-button {
    width: 100%;
  }
}

@media (min-width: 1025px) and (max-height: 0px) {
  body:not(.package-workspace-active) .package-specification {
    padding-block: 0.75rem;
  }

  body:not(.package-workspace-active) .package-specification-head {
    gap: 3rem;
    margin-bottom: 0.9rem;
  }

  body:not(.package-workspace-active) .package-specification-head h2 {
    font-size: clamp(2.65rem, 3.25vw, 3.2rem);
  }

  body:not(.package-workspace-active) .package-tabs {
    margin-bottom: 0.65rem;
  }

  body:not(.package-workspace-active) .package-tabs button {
    min-height: 3.55rem;
    padding-block: 0.6rem;
  }

  body:not(.package-workspace-active) .package-panel-grid {
    grid-template-columns: 18rem minmax(0, 1fr);
  }

  body:not(.package-workspace-active) .package-summary-sticky {
    min-height: 0;
    padding: 1rem 1.15rem;
  }

  body:not(.package-workspace-active) .package-panel-summary h3 {
    margin: 0.4rem 0 0.55rem;
    font-size: 2rem;
  }

  body:not(.package-workspace-active) .package-panel-summary p {
    font-size: 0.75rem;
    line-height: 1.4;
  }

  body:not(.package-workspace-active) .package-draft-price {
    margin-top: 0.65rem;
    padding-block: 0.6rem;
  }

  body:not(.package-workspace-active) .package-draft-price strong {
    font-size: 1.85rem;
  }

  body:not(.package-workspace-active) .package-summary-metrics {
    margin-top: 0.65rem;
  }

  body:not(.package-workspace-active) .package-summary-metrics > div {
    padding: 0.5rem 0.6rem;
  }

  body:not(.package-workspace-active) .package-summary-metrics dd {
    font-size: 1.3rem;
  }

  body:not(.package-workspace-active) .package-base-note {
    margin: 0.65rem 0 0.75rem;
    font-size: 0.75rem !important;
  }

  body:not(.package-workspace-active) .package-panel-summary .button {
    min-height: 44px;
    padding-block: 0.6rem;
  }

  body:not(.package-workspace-active) .package-panel-products {
    padding: 0.85rem 1.2rem;
  }

  body:not(.package-workspace-active) .package-schedule-head {
    gap: 1.5rem;
    margin-bottom: 0.35rem;
    padding-bottom: 0.7rem;
  }

  body:not(.package-workspace-active) .package-schedule-head h4 {
    font-size: 1.7rem;
  }

  body:not(.package-workspace-active) .package-schedule-head > p {
    font-size: 0.75rem;
    line-height: 1.4;
  }

  body:not(.package-workspace-active) .package-room-summary {
    min-height: 3.55rem;
    padding-block: 0.45rem;
  }

  body:not(.package-workspace-active) .package-room-title strong {
    font-size: 1.15rem;
  }

  body:not(.package-workspace-active) .package-schedule-note {
    margin-top: 0.6rem;
    font-size: 0.75rem;
  }

  body:not(.package-workspace-active) .package-specification-note {
    margin-top: 0.5rem;
    font-size: 0.75rem;
  }

  .catalogue-section {
    padding-block: 1.75rem;
  }

  .catalogue-heading {
    gap: 3rem;
    margin-bottom: 1.2rem;
  }

  .catalogue-heading h2 {
    font-size: clamp(2.65rem, 3.25vw, 3.2rem);
  }

  .catalogue-toolbar {
    min-height: 4rem;
    margin-bottom: 0.75rem;
    padding-block: 0.55rem;
  }

  .product-card-media {
    height: 13rem;
    aspect-ratio: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .package-panel-loading > span {
    animation: none;
  }

  .product-card,
  .product-card-media > img,
  .product-image-button img,
  .quick-view-dialog[open],
  .filter-dialog[open] {
    animation: none;
    transform: none;
  }

  .product-card:hover,
  .product-card:hover .product-card-media > img,
  .product-card:hover .product-image-button img {
    transform: none;
  }

  .mobile-nav,
  .nav-backdrop {
    transition: none;
  }
}

/* 2026 full-site audit: catalogue clarity ---------------------------------- */

body:not(.package-spec-active):not(.package-workspace-active) .package-specification {
  display: none;
}

.furniture-page h1,
.furniture-page h2,
.furniture-page h3 {
  letter-spacing: -0.035em;
}

.breadcrumb,
.catalogue-search > p,
.catalogue-disclaimer,
.room-card small,
.package-specification-note,
.package-base-note,
.package-schedule-note,
.package-schedule-head > p,
.package-workspace-legend,
.package-room-navigation small,
.package-line-meta,
.package-line-status,
.catalogue-count span,
.catalogue-sort span,
.filter-help,
.filter-loading,
.active-filters,
.product-card-meta,
.product-card-code,
.product-card-spec,
.product-card-price,
.load-more-wrap p,
.quick-view-kicker,
.quick-view-code,
.quick-view-price,
.saved-item p,
.basket-item p,
.quotation-dialog small,
.quotation-review-meta {
  font-size: 0.75rem !important;
  line-height: 1.45;
}

.catalogue-search label,
.catalogue-search-control input,
.catalogue-search-submit,
.room-card strong,
.project-strip .text-link,
.package-tabs strong,
.catalogue-count strong,
.catalogue-sort select,
.filter-trigger,
.filter-group legend,
.filter-options label,
.product-card-title,
.product-card-actions button,
.quick-view-actions .button,
.basket-actions .button,
.quotation-dialog label,
.quotation-dialog input,
.quotation-dialog select,
.quotation-dialog textarea {
  font-size: 0.875rem !important;
}

.room-navigation {
  padding-block: clamp(2rem, 3vw, 2.75rem);
}

.room-navigation-head {
  align-items: center;
  margin-bottom: 1rem;
}

.room-navigation-head h2 {
  font-size: clamp(2.35rem, 3.2vw, 3.35rem);
}

.room-card-grid {
  grid-template-columns: repeat(8, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.room-card {
  min-height: 6rem;
  grid-template-columns: minmax(0, 1fr);
  align-content: center;
  gap: 0.65rem;
  border-bottom: 0;
}

.room-card:last-child {
  border-right: 0;
}

.room-card-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 6px;
}

.project-strip-inner {
  min-height: 6.5rem;
}

.project-strip h2 {
  font-size: clamp(1.55rem, 2.2vw, 2.2rem);
}

.catalogue-section {
  padding-block: clamp(3.5rem, 6vw, 6rem);
}

.product-card {
  border-color: rgb(27 82 70 / 14%);
  box-shadow: 0 1px 2px rgb(21 23 19 / 2%);
}

.product-card:hover,
.product-card:focus-within {
  border-color: rgb(27 82 70 / 30%);
  box-shadow: var(--shadow-raised);
}

@media (max-width: 1100px) {
  .room-card-grid {
    display: flex;
    margin-inline: calc(var(--gutter) * -1);
    padding: 0 var(--gutter) 0.75rem;
    gap: 0.75rem;
    border: 0;
    border-radius: 0;
    overflow-x: auto;
    scroll-padding-inline: var(--gutter);
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
  }

  .room-card {
    width: 10rem;
    min-width: 10rem;
    flex: 0 0 10rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    scroll-snap-align: start;
  }
}

@media (min-width: 1101px) {
  .furniture-hero {
    padding-block: 1rem 2.75rem;
  }

  .breadcrumb {
    margin-bottom: 1.25rem;
  }

  .furniture-hero-copy h1 {
    max-width: 18ch;
    font-size: clamp(3.65rem, 4.5vw, 4.65rem);
  }

  .catalogue-disclaimer {
    margin-top: 1.5rem;
  }

  .room-card {
    min-height: 5.75rem;
  }

  .room-card small {
    display: none;
  }
}

@media (max-width: 480px) {
  .catalogue-toolbar {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.5rem 0.75rem;
  }

  .catalogue-sort {
    grid-column: 1 / -1;
  }

  .catalogue-sort select {
    width: 100%;
  }

  .product-card {
    grid-template-columns: 7rem minmax(0, 1fr);
  }

  .product-card-media {
    width: 7rem;
  }
}

@media (forced-colors: active) {
  .product-card:focus-within,
  .room-card:focus-visible,
  .filter-trigger:focus-visible {
    outline: 3px solid Highlight;
    outline-offset: 3px;
  }
}

/* Custom project registry v2 ------------------------------------------------ */

.product-card-meta > .product-package-chip {
  position: static;
  z-index: auto;
  right: auto;
  bottom: auto;
  left: auto;
  max-width: 100%;
  padding: 0.2rem 0.4rem;
  border: 1px solid rgb(27 82 70 / 18%);
  border-radius: 4px;
  background: var(--mineral-soft);
  color: var(--mineral);
  font-size: 0.75rem;
  letter-spacing: 0.035em;
  line-height: 1.25;
  backdrop-filter: none;
}

.custom-project-dialog {
  width: min(calc(100% - 2rem), 54rem);
  max-height: min(90dvh, 48rem);
  background: var(--white);
}

.custom-project-dialog-content,
.custom-room-dialog-content {
  padding: clamp(1rem, 2.5vw, 1.5rem);
  overflow-y: auto;
}

.custom-project-manager-intro {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
}

.custom-project-manager-intro p {
  max-width: 62ch;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.custom-project-manager-intro .custom-project-limit {
  max-width: none;
  padding: 0.75rem 0.875rem;
  border: 1px solid rgb(122 47 47 / 24%);
  border-radius: 6px;
  background: rgb(122 47 47 / 6%);
  color: #672929;
  font-weight: 650;
}

.custom-project-manager-list {
  display: grid;
  gap: 0.75rem;
}

.custom-project-manager-list article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
}

.custom-project-manager-list article > div:first-child {
  min-width: 0;
}

.custom-project-manager-list article > div:last-child,
.other-project-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.custom-project-manager-list p,
.custom-project-manager-list h3,
.custom-project-manager-list span {
  margin: 0;
}

.custom-project-manager-list h3 {
  margin-block: 0.25rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
}

.custom-project-manager-list span {
  color: var(--muted);
  font-size: 0.8rem;
}

.custom-project-manager-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.project-delete-action {
  color: #7a2f2f;
}

.dialog-new-project {
  width: 100%;
  margin-top: 1rem;
}

.custom-room-dialog {
  width: min(calc(100% - 2rem), 34rem);
  background: var(--white);
}

.custom-delete-dialog {
  width: min(calc(100% - 2rem), 32rem);
  background: var(--white);
}

.custom-delete-dialog-content {
  display: grid;
  gap: 1.25rem;
  padding: 1.25rem;
}

.custom-delete-dialog-content p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.custom-delete-dialog-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.custom-delete-confirm {
  min-height: 44px;
  border: 1px solid #7a2f2f;
  border-radius: 5px;
  background: #7a2f2f;
  color: var(--white);
  font-weight: 700;
}

.custom-delete-confirm:hover,
.custom-delete-confirm:focus-visible {
  background: #642424;
}

.custom-room-dialog-intro {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.custom-room-choice-list {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.custom-room-choice {
  display: flex;
  min-height: 4rem;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  text-align: left;
}

.custom-room-choice:hover,
.custom-room-choice:focus-visible {
  border-color: var(--mineral);
  background: var(--mineral-soft);
}

.custom-room-choice > span:first-child {
  display: grid;
  gap: 0.15rem;
}

.custom-room-choice small {
  color: var(--muted);
  font-size: 0.75rem;
}

.custom-project-name-editor {
  display: grid;
  gap: 0.4rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  background: var(--surface);
}

.custom-project-name-editor > label,
.custom-line-room > span {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
}

.custom-project-name-editor > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.65rem;
}

.custom-project-name-editor input,
.custom-line-room select {
  min-height: 44px;
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

.custom-project-name-editor input {
  padding: 0.7rem 0.8rem;
}

.custom-project-name-editor input:focus,
.custom-line-room select:focus {
  border-color: var(--mineral);
  outline: 3px solid rgb(27 82 70 / 18%);
  outline-offset: 2px;
}

.project-review-line.custom-project-review-line {
  grid-template-columns: 3.5rem minmax(10rem, 1fr) auto minmax(8rem, 0.65fr) auto;
}

.custom-line-room {
  display: grid;
  min-width: 0;
  gap: 0.2rem;
}

.custom-line-room select {
  padding: 0.45rem 2rem 0.45rem 0.65rem;
  font-size: 0.8rem;
}

.custom-project-review .project-review-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.custom-project-review .project-review-actions .project-delete-action {
  grid-column: 1 / -1;
  justify-self: center;
  min-height: 44px;
}

@media (max-width: 760px) {
  .custom-project-dialog,
  .custom-room-dialog {
    inset: 0;
    width: 100vw;
    max-width: none;
    height: 100dvh;
    max-height: none;
    margin: 0;
    border: 0;
    border-radius: 0;
  }

  .custom-delete-dialog-actions {
    grid-template-columns: 1fr;
  }

  .custom-project-manager-list article {
    grid-template-columns: 1fr;
  }

  .custom-project-manager-list article > div:last-child,
  .custom-project-manager-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .custom-project-manager-list .button,
  .custom-project-manager-actions .button {
    width: 100%;
  }

  .custom-project-name-editor > div,
  .custom-project-review .project-review-actions {
    grid-template-columns: 1fr;
  }

  .project-review-line.custom-project-review-line {
    grid-template-columns: 3.25rem minmax(0, 1fr) auto;
  }

  .custom-project-review-line .custom-line-room {
    grid-column: 2 / -1;
  }

  .custom-project-review-line > .text-button {
    grid-column: 2 / -1;
  }
}
