/* Premium furniture factory — custom styles */
:root {
  --ink: #0c0c0c;
  --charcoal: #1a1a1a;
  --brass: #c4a882;
  --mist: #f7f4ef;
  --sand: #e8e0d4;
}

body { background-color: var(--mist); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Grain overlay */
.grain::before {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  z-index: 1;
}

.hero-gradient {
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(196, 168, 130, 0.12) 0%, transparent 60%),
    linear-gradient(135deg, #0c0c0c 0%, #1a1a1a 45%, #2a241c 100%);
}

.hero-kitchen-scene {
  position: relative;
  background: linear-gradient(180deg, #121212 0%, #1a1714 100%);
}

.hero-kitchen-scene__grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 24px 24px;
}

.hero-kitchen-layout {
  position: absolute;
  left: 50%;
  top: 54%;
  transform: translate(-50%, -50%);
  width: 88%;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.hero-row {
  display: flex;
  align-items: flex-end;
  justify-content: stretch;
  gap: 4px;
  width: 100%;
}

.hero-row--wall {
  height: 72px;
  margin-bottom: 10px;
}

.hero-base-stack {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.hero-row--base {
  height: 96px;
}

.hero-cab {
  flex: 1 1 0;
  min-width: 0;
  background: linear-gradient(180deg, #d4b896 0%, #a88b62 100%);
  border-radius: 2px 2px 0 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 6px 16px rgba(0, 0, 0, 0.25);
  position: relative;
}

.hero-cab--wall {
  height: 100%;
}

.hero-cab--wall::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  top: 42%;
  height: 2px;
  background: rgba(12, 12, 12, 0.25);
  border-radius: 1px;
}

.hero-cab--base {
  height: 100%;
}

.hero-cab--base::before {
  content: "";
  position: absolute;
  right: 14%;
  top: 38%;
  width: 3px;
  height: 22%;
  background: rgba(12, 12, 12, 0.45);
  border-radius: 1px;
}

.hero-cab--oven {
  background: linear-gradient(180deg, #3a3a3a 0%, #1a1a1a 55%, #252525 100%);
}

.hero-cab--oven::before {
  display: none;
}

.hero-cab--oven::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  top: 22%;
  bottom: 28%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 2px;
  background: rgba(0, 0, 0, 0.35);
}

.hero-cab--sink::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -100%);
  width: 55%;
  height: 7px;
  background: #c8cdd2;
  border-radius: 2px 2px 0 0;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-cab--cook::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -100%);
  width: 62%;
  height: 5px;
  background: #111;
  border-radius: 1px 1px 0 0;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.hero-counter {
  height: 5px;
  width: 100%;
  background: linear-gradient(180deg, #faf8f5 0%, #e8e4de 100%);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  flex-shrink: 0;
  z-index: 2;
}

.hero-floor {
  height: 3px;
  margin-top: 2px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 1px;
}

.hero-visual-panel {
  box-shadow: 0 28px 80px -36px rgba(0, 0, 0, 0.75);
}

.hero-visual-panel img {
  transform: scale(1.01);
}

.bento-item {
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}
.bento-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.45);
}

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

.placeholder-visual {
  background:
    linear-gradient(145deg, #2a2a2a 0%, #1a1a1a 50%, #3d3428 100%);
  position: relative;
  overflow: hidden;
}
.placeholder-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 40%, rgba(196,168,130,0.08) 50%, transparent 60%);
  animation: shimmer 3s ease-in-out infinite;
}
@keyframes shimmer {
  0%, 100% { transform: translateX(-30%); }
  50% { transform: translateX(30%); }
}

.price-tag {
  font-variant-numeric: tabular-nums;
}

.kanban-col {
  min-height: 200px;
}

/* CodeMirror-ish for template editor */
.tpl-editor {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 1.5;
  tab-size: 2;
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #e8e0d4; }
::-webkit-scrollbar-thumb { background: #c4a882; }
::-webkit-scrollbar-thumb:hover { background: #a88b62; }

/* Constructor layout */
#canvas-container {
  touch-action: none;
}
.config-panel::-webkit-scrollbar { width: 4px; }

[x-cloak] { display: none !important; }

/* ── Header nav ───────────────────────────────────────────── */
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.9rem;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: rgba(247, 244, 239, 0.62);
  transition: color 0.25s ease;
}
.nav-link:hover,
.nav-link--accent {
  color: rgba(247, 244, 239, 0.95);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.2rem;
  height: 1px;
  background: #c4a882;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-link:hover::after,
.nav-link--accent:hover::after {
  transform: scaleX(1);
}

.mobile-nav-link {
  display: block;
  padding: 0.85rem 0;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2rem;
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: #f7f4ef;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: color 0.2s ease, padding-left 0.25s ease;
}
.mobile-nav-link:hover {
  color: #c4a882;
  padding-left: 0.5rem;
}

/* Legal pages */
.prose-legal h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 500;
  color: #0c0c0c;
  margin: 1.75rem 0 0.65rem;
  line-height: 1.3;
}
.prose-legal h2:first-child {
  margin-top: 0;
}
.prose-legal p {
  margin: 0 0 0.85rem;
}
.prose-legal p:last-child {
  margin-bottom: 0;
}
.prose-legal strong {
  color: #0c0c0c;
  font-weight: 600;
}
.prose-legal ul {
  margin: 0 0 0.85rem;
  padding: 0 0 0 1.15rem;
  list-style: disc;
}
.prose-legal li {
  margin: 0.25rem 0;
}

/* Blog article body — hierarchy for AI / editor HTML */
.prose-blog {
  color: rgba(26, 26, 26, 0.78);
  font-size: 1.0625rem;
  line-height: 1.75;
}
.prose-blog > *:first-child { margin-top: 0; }
.prose-blog > *:last-child { margin-bottom: 0; }
.prose-blog p {
  margin: 0 0 1.15rem;
}
.prose-blog h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.65rem, 2.5vw, 2rem);
  font-weight: 500;
  line-height: 1.25;
  color: #0c0c0c;
  margin: 2.4rem 0 0.85rem;
  letter-spacing: 0.01em;
  scroll-margin-top: 6.5rem;
}
.prose-blog h3 {
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c4a882;
  margin: 1.6rem 0 0.65rem;
  scroll-margin-top: 6.5rem;
}

/* Blog index */
.blog-index__atmosphere {
  background:
    radial-gradient(ellipse 70% 55% at 12% 0%, rgba(196, 168, 130, 0.16) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 88% 8%, rgba(12, 12, 12, 0.05) 0%, transparent 50%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.35) 0%, transparent 70%);
}
.blog-index__head {
  animation: fadeUp 0.7s ease-out both;
}
.blog-toolbar {
  position: relative;
  z-index: 30;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.65rem;
  margin-bottom: 2.5rem;
  animation: fadeUp 0.7s ease-out 0.08s both;
}
.blog-toolbar__search {
  flex: 1 1 14rem;
  min-width: 0;
}
.blog-toolbar__search input {
  width: 100%;
  height: 2.75rem;
  padding: 0 0.95rem;
  font-size: 0.9rem;
  color: #0c0c0c;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(42, 42, 42, 0.12);
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.blog-toolbar__search input::placeholder {
  color: rgba(26, 26, 26, 0.38);
}
.blog-toolbar__search input:focus {
  border-color: rgba(168, 139, 98, 0.65);
  background: rgba(255, 255, 255, 0.9);
}
.blog-sort {
  position: relative;
  z-index: 1;
  flex: 0 1 13.5rem;
  min-width: 11.5rem;
}
.blog-sort.is-open {
  z-index: 2;
}
.blog-sort__native {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.blog-sort__trigger {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 0.1rem;
  width: 100%;
  min-height: 2.75rem;
  padding: 0.4rem 2.35rem 0.4rem 0.9rem;
  text-align: left;
  color: #0c0c0c;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(42, 42, 42, 0.12);
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.blog-sort__trigger:hover {
  border-color: rgba(42, 42, 42, 0.22);
  background: rgba(255, 255, 255, 0.82);
}
.blog-sort__trigger:focus-visible,
.blog-sort.is-open .blog-sort__trigger {
  border-color: rgba(168, 139, 98, 0.65);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 0 3px rgba(196, 168, 130, 0.18);
}
.blog-sort__meta {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(26, 26, 26, 0.4);
  line-height: 1.2;
}
.blog-sort__value {
  font-size: 0.875rem;
  line-height: 1.25;
  color: #0c0c0c;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.blog-sort__chev {
  position: absolute;
  top: 50%;
  right: 0.9rem;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 1.5px solid rgba(26, 26, 26, 0.45);
  border-bottom: 1.5px solid rgba(26, 26, 26, 0.45);
  transform: translateY(-65%) rotate(45deg);
  transition: transform 0.22s ease, border-color 0.2s ease;
}
.blog-sort.is-open .blog-sort__chev {
  border-color: #a88b62;
  transform: translateY(-20%) rotate(225deg);
}
.blog-sort__menu {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  right: 0;
  z-index: 50;
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  background-color: #ffffff;
  border: 1px solid rgba(42, 42, 42, 0.12);
  box-shadow: 0 18px 40px -22px rgba(12, 12, 12, 0.4);
  animation: blogSortIn 0.18s ease-out both;
  pointer-events: auto;
}
.blog-sort__menu[hidden] {
  display: none !important;
}
@keyframes blogSortIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
.blog-sort__option {
  display: block;
  padding: 0.65rem 0.75rem;
  font-size: 0.875rem;
  line-height: 1.3;
  color: rgba(26, 26, 26, 0.72);
  background-color: #ffffff;
  cursor: pointer;
  transition: color 0.15s ease, background-color 0.15s ease;
}
.blog-sort__option:hover,
.blog-sort__option:focus {
  color: #0c0c0c;
  background-color: #f0e6d8;
  outline: none;
}
.blog-sort__option[aria-selected="true"] {
  color: #0c0c0c;
  background-color: #e8d9c4;
  font-weight: 600;
}
.blog-sort__option[aria-selected="true"]:hover,
.blog-sort__option[aria-selected="true"]:focus {
  background-color: #e0cfb4;
}
.blog-toolbar__reset {
  display: inline-flex;
  align-items: center;
  height: 2.75rem;
  padding: 0 0.9rem;
  font-size: 0.8rem;
  color: rgba(26, 26, 26, 0.55);
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(42, 42, 42, 0.12);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.blog-toolbar__reset:hover {
  color: #0c0c0c;
  border-color: rgba(42, 42, 42, 0.28);
}
.blog-toolbar__reset[hidden] {
  display: none !important;
}
.blog-chip {
  display: inline-flex;
  align-items: center;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #0c0c0c;
  background: rgba(196, 168, 130, 0.35);
  padding: 0.35rem 0.65rem;
}
#blog-featured-slot {
  position: relative;
  z-index: 1;
}
.blog-featured {
  position: relative;
  z-index: 1;
  isolation: isolate;
}
/* While sort menu is open, featured must not steal hover under the dropdown */
.blog-toolbar:has(.blog-sort.is-open) ~ #blog-featured-slot {
  pointer-events: none;
}
.blog-featured__inner {
  position: relative;
  padding: 1.75rem 1.5rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72) 0%, rgba(247, 244, 239, 0.4) 100%);
  border: 1px solid rgba(42, 42, 42, 0.1);
  transition: border-color 0.3s ease, transform 0.35s ease, box-shadow 0.35s ease;
}
@media (min-width: 768px) {
  .blog-featured__inner {
    padding: 2.5rem 2.75rem;
  }
}
.blog-featured:hover .blog-featured__inner {
  border-color: rgba(168, 139, 98, 0.55);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -28px rgba(12, 12, 12, 0.35);
}
.blog-read {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0c0c0c;
}
.blog-read__arrow {
  display: inline-block;
  transition: transform 0.25s ease;
}
.blog-featured:hover .blog-read__arrow {
  transform: translateX(4px);
}
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}
@media (min-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
}
.blog-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.35rem 1.25rem 1.25rem;
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(42, 42, 42, 0.08);
  text-decoration: none;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.3s ease;
  animation: fadeUp 0.55s ease-out both;
  animation-delay: calc(var(--i, 0) * 0.05s);
}
.blog-card:hover {
  border-color: rgba(168, 139, 98, 0.5);
  background: rgba(255, 255, 255, 0.72);
  transform: translateY(-2px);
}
.blog-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(26, 26, 26, 0.38);
}
.blog-card__num {
  color: #c4a882;
  font-weight: 600;
}
.blog-card__title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  font-weight: 500;
  line-height: 1.2;
  color: #0c0c0c;
  margin: 0 0 0.65rem;
  transition: color 0.25s ease;
}
.blog-card:hover .blog-card__title {
  color: #a88b62;
}
.blog-card__excerpt {
  margin: 0 0 1.1rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: rgba(26, 26, 26, 0.52);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.blog-card__more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: auto;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(26, 26, 26, 0.45);
  transition: color 0.25s ease, gap 0.25s ease;
}
.blog-card:hover .blog-card__more {
  color: #0c0c0c;
  gap: 0.55rem;
}
.blog-card--feed {
  animation-delay: 0s;
}
.blog-feed-spinner {
  width: 1.35rem;
  height: 1.35rem;
  border: 1.5px solid rgba(26, 26, 26, 0.12);
  border-top-color: #c4a882;
  border-radius: 50%;
  animation: blogFeedSpin 0.7s linear infinite;
}
@keyframes blogFeedSpin {
  to { transform: rotate(360deg); }
}

/* Blog article sidebar: TOC + key points */
.blog-aside {
  overscroll-behavior: contain;
}
@media (min-width: 1024px) {
  .blog-aside {
    max-height: calc(100dvh - 7.5rem);
    overflow-x: hidden;
    overflow-y: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge legacy */
  }
  .blog-aside::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none; /* Chrome/Safari */
  }
}
.blog-aside__label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(26, 26, 26, 0.4);
  margin: 0 0 0.85rem;
}
.blog-toc__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  border-left: 1px solid rgba(42, 42, 42, 0.12);
}
.blog-toc__link {
  display: block;
  padding: 0.4rem 0 0.4rem 0.9rem;
  margin-left: -1px;
  border-left: 1px solid transparent;
  font-size: 0.86rem;
  line-height: 1.35;
  color: rgba(26, 26, 26, 0.5);
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.blog-toc__link:hover {
  color: #0c0c0c;
}
.blog-toc__link.is-active {
  color: #0c0c0c;
  border-left-color: #c4a882;
  font-weight: 500;
}
.blog-highlights__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.blog-highlights__list li {
  position: relative;
  padding-left: 0.95rem;
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(26, 26, 26, 0.62);
}
.blog-highlights__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.35rem;
  height: 1px;
  background: #c4a882;
}
@media (max-width: 1023px) {
  .blog-aside {
    padding: 1.1rem 1.15rem 1.2rem;
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(42, 42, 42, 0.08);
  }
  .blog-toc__list {
    border-left: none;
  }
  .blog-toc__link {
    padding-left: 0;
    margin-left: 0;
    border-left: none;
  }
  .blog-toc__link.is-active {
    color: #a88b62;
  }
}
.prose-blog ul,
.prose-blog ol {
  margin: 0 0 1.35rem;
  padding: 0;
  list-style: none;
}
.prose-blog ul > li,
.prose-blog ol > li {
  position: relative;
  padding: 0.35rem 0 0.35rem 1.15rem;
  color: rgba(26, 26, 26, 0.72);
}
.prose-blog ul > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95em;
  width: 0.4rem;
  height: 1px;
  background: #c4a882;
}
.prose-blog ol {
  counter-reset: blog-ol;
}
.prose-blog ol > li {
  counter-increment: blog-ol;
  padding-left: 1.6rem;
}
.prose-blog ol > li::before {
  content: counter(blog-ol) ".";
  position: absolute;
  left: 0;
  top: 0.35rem;
  font-size: 0.8rem;
  color: #c4a882;
  font-weight: 600;
}
.prose-blog strong {
  color: #0c0c0c;
  font-weight: 600;
}
.prose-blog a {
  color: #a88b62;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.prose-blog a:hover { color: #0c0c0c; }
.prose-blog blockquote {
  margin: 1.5rem 0;
  padding: 0.85rem 0 0.85rem 1.15rem;
  border-left: 2px solid #c4a882;
  color: rgba(26, 26, 26, 0.65);
  font-style: italic;
}

/* Reviews page — readable editorial list */
.reviews-page__glow {
  background:
    radial-gradient(ellipse 65% 50% at 10% 0%, rgba(196, 168, 130, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse 45% 35% at 90% 5%, rgba(12, 12, 12, 0.04) 0%, transparent 50%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.4) 0%, transparent 75%);
}
.reviews-page__head {
  animation: fadeUp 0.65s ease-out both;
}
.reviews-score {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  height: 2.75rem;
  padding: 0 0.95rem;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(42, 42, 42, 0.08);
}
.reviews-score__value {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.35rem;
  line-height: 1;
  color: #0c0c0c;
  font-weight: 500;
}
.reviews-score__meta {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  color: rgba(26, 26, 26, 0.45);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.reviews-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.75rem;
  box-sizing: border-box;
  background: #0c0c0c;
  color: #f7f4ef;
  padding: 0 1.15rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background 0.2s ease;
}
.reviews-cta:hover {
  background: #1a1a1a;
  color: #f7f4ef;
}
.reviews-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}
@media (min-width: 768px) {
  .reviews-list {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
}
.reviews-item {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.35rem 1.25rem 1.25rem;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(42, 42, 42, 0.09);
  border-left: 3px solid rgba(196, 168, 130, 0.75);
  animation: fadeUp 0.5s ease-out both;
  animation-delay: calc(var(--i, 0) * 0.04s);
  transition: border-color 0.25s ease, background 0.25s ease;
}
@media (min-width: 640px) {
  .reviews-item {
    padding: 1.5rem 1.5rem 1.35rem;
  }
}
.reviews-item:hover {
  background: #fff;
  border-color: rgba(42, 42, 42, 0.14);
  border-left-color: #c4a882;
}
.reviews-item__body {
  flex: 1;
  margin-bottom: 1.15rem;
}
.reviews-item__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  margin-bottom: 0.85rem;
}
.reviews-item__stars {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: #c4a882;
}
.reviews-item__stars .is-empty {
  color: rgba(26, 26, 26, 0.18);
}
.reviews-item__project {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: rgba(26, 26, 26, 0.42);
}
.reviews-item__text {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.7;
  color: rgba(26, 26, 26, 0.78);
}
.reviews-item__photos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.4rem;
  margin-top: 1rem;
}
.reviews-item__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.75rem;
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(42, 42, 42, 0.08);
}
.reviews-item__author {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: #0c0c0c;
}
.reviews-item__city {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(26, 26, 26, 0.42);
}
.reviews-item__date {
  margin: 0 0 0 auto;
  font-size: 0.78rem;
  color: rgba(26, 26, 26, 0.38);
}
.reviews-empty {
  border: 1px solid rgba(42, 42, 42, 0.1);
  background: rgba(255, 255, 255, 0.55);
  padding: 3rem 1.5rem;
  text-align: center;
}
.reviews-photo {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: rgba(26, 26, 26, 0.04);
  cursor: zoom-in;
  border: 0;
  padding: 0;
  display: block;
  width: 100%;
}
.reviews-photo:focus {
  outline: none;
}
.reviews-photo:focus-visible {
  box-shadow: inset 0 0 0 2px #c4a882;
}
.reviews-photo__more {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(12, 12, 12, 0.55);
  color: #f7f4ef;
  font-size: 0.85rem;
  pointer-events: none;
}
.reviews-form-wrap {
  animation: fadeUp 0.6s ease-out both;
}
.reviews-form-panel {
  display: grid;
  gap: 1.75rem;
  padding: 1.5rem 1.25rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(42, 42, 42, 0.1);
}
@media (min-width: 900px) {
  .reviews-form-panel {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 2.5rem;
    padding: 2rem 2.25rem;
    align-items: start;
  }
}
.reviews-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(26, 26, 26, 0.45);
  margin-bottom: 0.35rem;
}
.reviews-input {
  width: 100%;
  border: 1px solid rgba(42, 42, 42, 0.12);
  background: rgba(255, 255, 255, 0.9);
  padding: 0.7rem 0.85rem;
  font-size: 0.875rem;
  color: #0c0c0c;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.reviews-input:focus {
  outline: none;
  border-color: #c4a882;
  background: #fff;
}
.reviews-upload {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  border: 1px dashed rgba(42, 42, 42, 0.18);
  background: rgba(255, 255, 255, 0.55);
  padding: 1rem 1.1rem;
  cursor: pointer;
  transition: border-color 0.2s ease;
}
.reviews-upload:hover {
  border-color: rgba(168, 139, 98, 0.55);
}

/* Homepage reviews — modern editorial slider */
.home-reviews {
  position: relative;
  overflow: hidden;
  border-block: 1px solid rgba(12, 12, 12, 0.06);
  background:
    linear-gradient(180deg, #f3efe8 0%, #f7f4ef 42%, #efe9df 100%);
}
.home-reviews__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 50% 55% at 0% 0%, rgba(196, 168, 130, 0.22), transparent 55%),
    radial-gradient(ellipse 40% 40% at 100% 20%, rgba(12, 12, 12, 0.05), transparent 50%);
}
.home-reviews__inner {
  position: relative;
  max-width: 80rem;
  margin: 0 auto;
  padding: 4rem 1rem 3.5rem;
}
@media (min-width: 640px) {
  .home-reviews__inner { padding: 4.5rem 1.5rem 4rem; }
}
@media (min-width: 1024px) {
  .home-reviews__inner { padding: 5rem 2rem 4.5rem; }
}
.home-reviews__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  margin-bottom: 2.25rem;
  animation: fadeUp 0.6s ease-out both;
}
.home-reviews__eyebrow {
  color: #c4a882;
  font-size: 0.6875rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 0.55rem;
}
.home-reviews__title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.25rem, 4vw, 3.15rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #0c0c0c;
}
.home-reviews__lead {
  margin-top: 0.65rem;
  max-width: 26rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: rgba(26, 26, 26, 0.55);
}
.home-reviews__score {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.1rem;
  padding: 0.45rem 0.85rem 0.45rem 0.65rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(12, 12, 12, 0.08);
}
.home-reviews__score-value {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.6rem;
  line-height: 1;
  color: #0c0c0c;
}
.home-reviews__score-meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: rgba(26, 26, 26, 0.45);
}
.home-reviews__stars {
  color: #c4a882;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  line-height: 1;
}
.home-reviews__stars .is-muted { color: rgba(12, 12, 12, 0.15); }
.home-reviews__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}
.home-reviews__nav {
  display: inline-flex;
  gap: 0.4rem;
}
.home-reviews__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid rgba(12, 12, 12, 0.16);
  background: transparent;
  color: #0c0c0c;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.home-reviews__btn:hover:not(:disabled) {
  background: #0c0c0c;
  border-color: #0c0c0c;
  color: #f7f4ef;
}
.home-reviews__btn:disabled {
  opacity: 0.28;
  pointer-events: none;
}
.home-reviews__all {
  display: inline-flex;
  align-items: center;
  height: 2.6rem;
  padding: 0 1.1rem;
  background: #0c0c0c;
  color: #f7f4ef;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background 0.2s ease;
}
.home-reviews__all:hover {
  background: #1a1a1a;
  color: #f7f4ef;
}
.home-reviews__track-wrap {
  overflow: hidden;
  margin: 0 -0.4rem;
}
.home-reviews__track {
  display: flex;
  align-items: stretch;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.home-reviews__slide {
  flex-shrink: 0;
  box-sizing: border-box;
  padding: 0 0.4rem;
  display: flex;
}
.home-reviews__card {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 100%;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(12, 12, 12, 0.07);
  border-top: 2px solid rgba(196, 168, 130, 0.85);
  overflow: hidden;
  animation: fadeUp 0.55s ease-out both;
  animation-delay: calc(var(--i, 0) * 0.05s);
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.35s ease;
}
.home-reviews__card:hover {
  background: #fff;
  border-color: rgba(12, 12, 12, 0.12);
  border-top-color: #c4a882;
  transform: translateY(-3px);
}
.home-reviews__photo {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #e8e0d4;
}
.home-reviews__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.home-reviews__card:hover .home-reviews__photo img {
  transform: scale(1.04);
}
.home-reviews__card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.25rem 1.2rem 1.2rem;
}
@media (min-width: 640px) {
  .home-reviews__card-body { padding: 1.4rem 1.35rem 1.3rem; }
}
.home-reviews__card-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 0.75rem;
  margin-bottom: 0.85rem;
}
.home-reviews__chip {
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(26, 26, 26, 0.45);
  border: 1px solid rgba(12, 12, 12, 0.1);
  padding: 0.2rem 0.45rem;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.home-reviews__quote {
  flex: 1;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: rgba(26, 26, 26, 0.78);
}
.home-reviews__author {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(12, 12, 12, 0.07);
}
.home-reviews__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  background: #0c0c0c;
  color: #c4a882;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.05rem;
  line-height: 1;
}
.home-reviews__name {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #0c0c0c;
}
.home-reviews__city {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.75rem;
  color: rgba(26, 26, 26, 0.42);
}
.home-reviews__date {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.7rem;
  color: rgba(26, 26, 26, 0.38);
}
.home-reviews__progress {
  margin-top: 1.5rem;
  height: 2px;
  background: rgba(12, 12, 12, 0.08);
  overflow: hidden;
}
.home-reviews__progress-bar {
  height: 100%;
  background: #c4a882;
  transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── Discounts (/discounts) ───────────────────────────────────────────────── */
.discounts-page {
  position: relative;
  overflow: hidden;
}
.discounts-page__glow {
  background:
    radial-gradient(ellipse 55% 50% at 8% 0%, rgba(196, 168, 130, 0.2), transparent 58%),
    radial-gradient(ellipse 40% 35% at 92% 8%, rgba(12, 12, 12, 0.04), transparent 55%);
}
.discounts-page__head {
  animation: fadeUp 0.65s ease-out both;
}
.discounts-grid {
  display: grid;
  gap: 0.85rem;
}
@media (min-width: 768px) {
  .discounts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
}
.discounts-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.5rem 1.4rem 1.35rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(42, 42, 42, 0.1);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
  animation: fadeUp 0.55s ease-out both;
  animation-delay: calc(var(--i, 0) * 0.06s);
}
@media (min-width: 640px) {
  .discounts-card { padding: 1.75rem 1.65rem 1.5rem; }
}
.discounts-card:hover {
  border-color: rgba(196, 168, 130, 0.55);
  background: #fff;
  transform: translateY(-2px);
}
.discounts-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}
.discounts-card__pct {
  font-family: inherit;
  font-size: 1.65rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #c4a882;
  line-height: 1;
  white-space: nowrap;
}
.discounts-card__until {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(26, 26, 26, 0.38);
  text-align: right;
}
.discounts-card__title {
  font-size: 1.45rem;
  line-height: 1.15;
  color: #0c0c0c;
  margin: 0;
  transition: color 0.2s ease;
}
.discounts-card:hover .discounts-card__title { color: #a88b62; }
.discounts-card__desc {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(26, 26, 26, 0.55);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.discounts-card__more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.25rem;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: #c4a882;
}
.discounts-card__more span {
  transition: transform 0.2s ease;
}
.discounts-card:hover .discounts-card__more span {
  transform: translateX(3px);
}
.discounts-note {
  display: block;
  width: 100%;
  max-width: none;
  margin-top: 2rem;
  padding: 1.15rem 0 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: rgba(26, 26, 26, 0.48);
  border-top: 1px solid rgba(42, 42, 42, 0.08);
}
.discounts-empty,
.discounts-paused {
  padding: 2.25rem 1.75rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(42, 42, 42, 0.1);
  border-left: 2px solid #c4a882;
  animation: fadeUp 0.55s ease-out both;
}
@media (min-width: 640px) {
  .discounts-empty,
  .discounts-paused { padding: 2.5rem 2.25rem; }
}
.discounts-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
  animation: fadeUp 0.6s 0.1s ease-out both;
}
.discounts-cta-row .btn-primary,
.discounts-cta-row a.btn-primary,
.discounts-cta-row button.btn-primary {
  background: #0c0c0c;
  color: #f7f4ef;
  padding: 0.85rem 1.75rem;
  font-size: 0.875rem;
  border: 0;
  cursor: pointer;
  transition: background 0.2s ease;
}
.discounts-cta-row .btn-primary:hover { background: #1a1a1a; }
.discounts-cta-row .btn-ghost,
.discounts-cta-row a.btn-ghost,
.discounts-cta-row button.btn-ghost {
  border: 1px solid rgba(12, 12, 12, 0.2);
  background: transparent;
  color: #1a1a1a;
  padding: 0.85rem 1.75rem;
  font-size: 0.875rem;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.discounts-cta-row .btn-ghost:hover {
  border-color: #c4a882;
  color: #a88b62;
}
.discounts-cta-row .btn-brass,
.discounts-cta-row a.btn-brass {
  background: #c4a882;
  color: #0c0c0c;
  padding: 0.85rem 1.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: filter 0.2s ease;
}
.discounts-cta-row .btn-brass:hover { filter: brightness(1.05); }

/* Detail */
.discounts-detail__pct {
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #c4a882;
}
.discounts-detail__docs {
  margin: 2rem 0;
  padding: 1.5rem 1.35rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(42, 42, 42, 0.1);
}
@media (min-width: 640px) {
  .discounts-detail__docs { padding: 1.75rem 1.75rem; }
}
.discounts-others a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(42, 42, 42, 0.08);
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}
.discounts-others a:hover { color: #a88b62; }
.discounts-others a:last-child { border-bottom: 0; }

/* Category commercial landings */
.cat-hero {
  min-height: 0;
  position: relative;
}
.cat-hero__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 70% 50% at 100% 0%, rgba(196,168,130,.14), transparent 55%);
}
.cat-hero__inner {
  position: relative;
  z-index: 20;
  max-width: 80rem;
  margin: 0 auto;
  padding: 7.5rem 1.25rem 3.5rem;
}
@media (min-width: 640px) {
  .cat-hero__inner { padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (min-width: 1024px) {
  .cat-hero__inner {
    padding: 8.75rem 2rem 5rem;
  }
}
.cat-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.75rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .cat-hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 3.75rem;
  }
}
.cat-hero__eyebrow {
  margin: 0 0 1.15rem;
  font-size: 11px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--brass);
}
.cat-hero__title {
  margin: 0;
  font-size: 2.5rem;
  line-height: 1.05;
  letter-spacing: -.03em;
  color: var(--mist);
}
@media (min-width: 640px) {
  .cat-hero__title { font-size: 3.15rem; }
}
@media (min-width: 1024px) {
  .cat-hero__title { font-size: 3.65rem; }
}
.cat-hero__lead {
  margin: 1.5rem 0 0;
  max-width: 34rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(247,244,239,.68);
}
@media (min-width: 1024px) {
  .cat-hero__lead {
    margin-top: 1.75rem;
    font-size: 1.125rem;
    line-height: 1.72;
  }
}
.cat-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-top: 2.25rem;
}
@media (min-width: 1024px) {
  .cat-hero__cta { margin-top: 2.5rem; }
}
.cat-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.15rem;
  padding: .9rem 1.85rem;
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: background .15s, border-color .15s, color .15s;
}
.cat-hero__btn--primary {
  background: var(--brass);
  color: var(--ink);
}
.cat-hero__btn--primary:hover { background: #a88b62; }
.cat-hero__btn--ghost {
  background: transparent;
  border-color: rgba(247,244,239,.32);
  color: var(--mist);
}
.cat-hero__btn--ghost:hover {
  border-color: var(--brass);
  color: var(--brass);
}
.cat-breadcrumb {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .65rem;
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(247,244,239,.4);
}
.cat-breadcrumb a {
  color: inherit;
  text-decoration: none;
  transition: color .15s;
}
.cat-breadcrumb a:hover { color: var(--brass); }
.cat-breadcrumb__sep {
  width: .25rem;
  height: .25rem;
  border-radius: 999px;
  background: rgba(196,168,130,.55);
  flex-shrink: 0;
}
.cat-breadcrumb .is-current { color: var(--brass); }
.cat-hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem 1.5rem;
  max-width: 32rem;
  margin-top: 2.75rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.1);
}
@media (min-width: 480px) {
  .cat-hero-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: none; }
}
@media (min-width: 1024px) {
  .cat-hero-stats {
    margin-top: 3.25rem;
    padding-top: 2.25rem;
    gap: 1.5rem 1.75rem;
  }
}
.cat-hero-stat dt {
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(247,244,239,.42);
}
.cat-hero-stat dd {
  margin-top: .45rem;
  font-family: inherit;
  font-size: 1.05rem;
  color: var(--brass);
  letter-spacing: -.01em;
  line-height: 1.25;
}
.cat-hero-visual {
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 32px 90px -40px rgba(0, 0, 0, 0.8);
}
.cat-hero-visual__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #141414;
}
@media (min-width: 640px) {
  .cat-hero-visual__frame { aspect-ratio: 5 / 4; }
}
@media (min-width: 1024px) {
  .cat-hero-visual__frame { aspect-ratio: 1 / 1.02; min-height: 28rem; }
}
.cat-hero-visual__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cat-hero-visual__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse 60% 50% at 50% 40%, rgba(196,168,130,.12), transparent 70%),
    linear-gradient(145deg, #1c1c1c, #121212);
}
.cat-hero-visual__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12,12,12,.92) 0%, rgba(12,12,12,.25) 45%, transparent 70%);
  pointer-events: none;
}
.cat-hero-visual__bar {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: .65rem;
  padding: 1.25rem;
}
@media (min-width: 640px) {
  .cat-hero-visual__bar {
    grid-template-columns: 1fr 1fr;
    gap: .75rem;
    padding: 1.45rem;
  }
}
.cat-hero-chip {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(12,12,12,.72);
  backdrop-filter: blur(10px);
  text-decoration: none;
  color: inherit;
  transition: border-color .15s, background .15s;
}
.cat-hero-chip:hover {
  border-color: rgba(196,168,130,.55);
  background: rgba(12,12,12,.85);
}
.cat-hero-chip__mark {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(196,168,130,.4);
  color: var(--brass);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
}
.cat-hero-chip__title {
  display: block;
  font-size: .875rem;
  color: var(--mist);
  transition: color .15s;
}
.cat-hero-chip:hover .cat-hero-chip__title { color: var(--brass); }
.cat-hero-chip__sub {
  display: block;
  margin-top: .15rem;
  font-size: 11px;
  color: rgba(247,244,239,.45);
}
.cat-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--sand);
}
.cat-tab {
  display: inline-flex;
  align-items: center;
  height: 2.25rem;
  padding: 0 1rem;
  font-size: .8125rem;
  color: rgba(26,26,26,.55);
  text-decoration: none;
  border: 1px solid transparent;
  transition: color .15s, border-color .15s, background .15s;
}
.cat-tab:hover { color: var(--ink); border-color: var(--sand); }
.cat-tab.is-on {
  background: var(--ink);
  color: var(--mist);
  border-color: var(--ink);
}
.cat-filters {
  background: #fff;
  border: 1px solid var(--sand);
  padding: 1.15rem 1.1rem;
}
.cat-filters__label {
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(26,26,26,.4);
  margin-bottom: .85rem;
}
.cat-input {
  width: 100%;
  border: 1px solid var(--sand);
  background: #fff;
  padding: .55rem .7rem;
  font-size: .8125rem;
}
.cat-input:focus {
  outline: none;
  border-color: #c4a882;
  box-shadow: 0 0 0 3px rgba(196,168,130,.15);
}
.cat-product {
  display: block;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}
.cat-product__media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #1a1a1a;
  margin-bottom: .85rem;
  overflow: hidden;
}
.cat-product__media img,
.cat-product__media .placeholder-visual {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.cat-product__meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: .75rem;
  min-width: 0;
}
.cat-seo {
  background:
    radial-gradient(ellipse 70% 40% at 0% 0%, rgba(196,168,130,.08), transparent 55%),
    linear-gradient(180deg, #fbfaf7 0%, #fff 28%, #fff 100%);
  border-top: 1px solid var(--sand);
}
.cat-seo-flow {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}
@media (min-width: 1024px) {
  .cat-seo-flow { gap: 2.15rem; }
}
.cat-seo-kicker {
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: .65rem;
}
.cat-seo-block {
  position: relative;
  padding: 1.15rem 0 0;
}
.cat-seo-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 2.75rem;
  height: 2px;
  background: linear-gradient(90deg, var(--brass), transparent);
}
.cat-seo-block:first-child {
  padding-top: 0;
}
.cat-seo-block:first-child::before { display: none; }
.cat-faq {
  position: relative;
  padding-top: 1.15rem;
}
.cat-faq::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 2.75rem;
  height: 2px;
  background: linear-gradient(90deg, var(--brass), transparent);
}
.cat-seo-block__head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: .65rem .9rem;
  align-items: baseline;
  margin-bottom: .9rem;
}
@media (min-width: 1024px) {
  .cat-seo-block__head { margin-bottom: 1.05rem; gap: .75rem 1.1rem; }
}
.cat-seo-block__index {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: .95rem;
  letter-spacing: .14em;
  color: var(--brass);
  line-height: 1;
  min-width: 2rem;
}
.cat-seo-block__title {
  font-size: 1.85rem;
  line-height: 1.12;
  letter-spacing: -.025em;
  color: var(--ink);
  margin: 0;
  max-width: 22ch;
}
@media (min-width: 1024px) {
  .cat-seo-block__title { font-size: 2.4rem; max-width: 24ch; }
}
.cat-seo-block__body {
  max-width: 40rem;
}
.cat-seo-block__body p {
  margin: 0;
  font-size: .96875rem;
  line-height: 1.75;
  color: rgba(26,26,26,.58);
}
@media (min-width: 1024px) {
  .cat-seo-block__body p { font-size: 1.05rem; line-height: 1.78; }
}
.cat-seo-block__body p + p { margin-top: .8rem; }
.cat-seo-block__lead {
  font-size: 1.05rem !important;
  line-height: 1.7 !important;
  color: rgba(26,26,26,.72) !important;
}
@media (min-width: 1024px) {
  .cat-seo-block__lead {
    font-size: 1.125rem !important;
    line-height: 1.72 !important;
  }
}
.cat-price-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  margin-top: 1.35rem;
  background: var(--sand);
  border: 1px solid var(--sand);
  overflow: hidden;
}
@media (min-width: 640px) {
  .cat-price-grid { grid-template-columns: repeat(3, 1fr); }
}
.cat-price-card {
  background: #fff;
  padding: 1.4rem 1.3rem 1.3rem;
  min-height: 6.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: .85rem;
  transition: background .2s ease, transform .25s ease;
}
.cat-price-card:hover {
  background: var(--mist);
}
@media (min-width: 1024px) {
  .cat-price-card:hover { transform: translateY(-2px); }
}
.cat-price-card__label {
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(26,26,26,.45);
  line-height: 1.4;
}
.cat-price-card__value {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.65rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -.02em;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}
.cat-seo-note {
  margin: 1rem 0 0;
  font-size: .8125rem;
  line-height: 1.55;
  color: rgba(26,26,26,.42);
}
.cat-steps {
  list-style: none;
  margin: 1.35rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  position: relative;
}
.cat-steps::before {
  content: "";
  position: absolute;
  left: .95rem;
  top: .45rem;
  bottom: .45rem;
  width: 1px;
  background: linear-gradient(180deg, var(--brass), rgba(232,224,212,.9) 70%, transparent);
}
.cat-step {
  display: grid;
  grid-template-columns: 1.9rem minmax(0, 1fr);
  gap: .85rem 1.1rem;
  padding: 0 0 1.2rem;
  align-items: start;
  position: relative;
}
.cat-step:last-child { padding-bottom: 0; }
.cat-step__n {
  width: 1.9rem;
  height: 1.9rem;
  display: grid;
  place-items: center;
  border-radius: 2px;
  background: var(--mist);
  border: 1px solid rgba(196,168,130,.45);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: .9rem;
  letter-spacing: .04em;
  color: var(--brass);
  font-variant-numeric: tabular-nums;
  line-height: 1;
  position: relative;
  z-index: 1;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.cat-step:hover .cat-step__n {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--mist);
}
.cat-step__body { padding-top: .2rem; }
.cat-step__title {
  font-weight: 600;
  color: var(--ink);
  font-size: 1.05rem;
  letter-spacing: -.01em;
}
.cat-step__text {
  margin-top: .35rem;
  font-size: .9375rem;
  color: rgba(26,26,26,.55);
  line-height: 1.6;
  max-width: 36rem;
}
.cat-faq .cat-seo-block__head {
  margin-bottom: .85rem;
}
.cat-faq__item { border-bottom: 1px solid var(--sand); }
.cat-faq__item:first-child { border-top: 1px solid var(--sand); }
.cat-faq__q {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 0;
  text-align: left;
  font-family: inherit;
  font-size: 1.05rem;
  color: var(--ink);
  background: none;
  border: 0;
  cursor: pointer;
  line-height: 1.35;
}
.cat-faq__q:hover { color: #8a7355; }
.cat-faq__icon {
  flex-shrink: 0;
  font-size: 1.25rem;
  line-height: 1;
  color: rgba(26,26,26,.3);
  transition: transform .2s ease;
}
.cat-faq__icon.is-open { transform: rotate(45deg); }
.cat-faq__a {
  padding: 0 2rem .9rem 0;
  font-size: .9375rem;
  color: rgba(26,26,26,.6);
  line-height: 1.65;
}
.cat-faq__more {
  margin-top: 1.5rem;
  font-size: .9375rem;
  color: rgba(26,26,26,.5);
}
.cat-faq__more a {
  color: var(--brass);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .15s, color .15s;
}
.cat-faq__more a:hover {
  color: #8a7355;
  border-bottom-color: rgba(196,168,130,.5);
}
.cat-cta-band {
  color: var(--mist);
}
.cat-cta-band__inner {
  position: relative;
  z-index: 20;
  max-width: 40rem;
  margin: 0 auto;
  padding: 4rem 1.25rem;
  text-align: center;
}
@media (min-width: 1024px) {
  .cat-cta-band__inner { padding: 5rem 2rem; }
}
.cat-cta-band__eyebrow {
  margin: 0 0 .75rem;
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--brass);
}
.cat-cta-band__title {
  margin: 0;
  font-size: 1.875rem;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--mist);
}
@media (min-width: 640px) {
  .cat-cta-band__title { font-size: 2.25rem; }
}
.cat-cta-band__text {
  margin: 1.15rem auto 0;
  max-width: 32rem;
  font-size: .96875rem;
  line-height: 1.7;
  color: rgba(247, 244, 239, 0.72);
}
.cat-cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .85rem;
  margin-top: 2rem;
}
.cat-side-card {
  background: var(--mist);
  border: 1px solid var(--sand);
  padding: 1.35rem 1.25rem;
}
.cat-side-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .55rem 0;
  font-size: .875rem;
  color: rgba(26,26,26,.7);
  text-decoration: none;
  border-bottom: 1px solid rgba(232,224,212,.8);
  transition: color .15s;
}
.cat-side-link:last-child { border-bottom: 0; }
.cat-side-link:hover { color: var(--ink); }
.cat-side-link span { color: var(--brass); opacity: .7; }
.cat-case {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: .75rem;
  align-items: center;
  text-decoration: none;
  color: inherit;
}
.cat-case__img {
  aspect-ratio: 1;
  background: #1a1a1a;
  overflow: hidden;
}

/* ── AI CTA (/constructor/ai-kitchen) ─────────────────────────────────────── */
.btn-ai {
  --ai-brass: #c4a882;
  --ai-brass-soft: #e4c9a0;
  --ai-mist: #f7f4ef;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.85rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ai-mist);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(165deg, rgba(255,255,255,0.07) 0%, transparent 42%),
    linear-gradient(135deg, #1a1816 0%, #0f0e0d 50%, #161310 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 0 0 1px rgba(196, 168, 130, 0.22),
    0 8px 28px -12px rgba(0, 0, 0, 0.55);
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.28s ease,
    color 0.2s ease;
}
.btn-ai:hover {
  transform: translateY(-2px);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.12),
    0 0 0 1px rgba(228, 201, 160, 0.45),
    0 0 32px -8px rgba(196, 168, 130, 0.45),
    0 14px 36px -14px rgba(0, 0, 0, 0.6);
}
.btn-ai:active { transform: translateY(0); }
.btn-ai:focus-visible {
  outline: 2px solid var(--ai-brass);
  outline-offset: 3px;
}
/* soft aurora wash behind content */
.btn-ai__glow {
  position: absolute;
  inset: -40% -20%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 50% 60% at 20% 40%, rgba(196, 168, 130, 0.28), transparent 70%),
    radial-gradient(ellipse 45% 55% at 80% 60%, rgba(228, 201, 160, 0.16), transparent 72%);
  opacity: 0.55;
  animation: ai-aurora 6s ease-in-out infinite alternate;
}
.btn-ai:hover .btn-ai__glow { opacity: 0.9; }
/* moving highlight edge */
.btn-ai::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(196, 168, 130, 0.15) 28%,
    rgba(228, 201, 160, 0.85) 48%,
    rgba(196, 168, 130, 0.2) 68%,
    transparent 100%
  );
  background-size: 220% 100%;
  animation: ai-border 4.5s linear infinite;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.btn-ai__icon {
  position: relative;
  z-index: 1;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  color: var(--ai-brass-soft);
  animation: ai-twinkle 2.4s ease-in-out infinite;
}
.btn-ai:hover .btn-ai__icon {
  color: #fff;
  animation-duration: 1.4s;
}
.btn-ai__label {
  position: relative;
  z-index: 1;
  line-height: 1;
}
.btn-ai--lg {
  padding: 1rem 2.25rem;
  font-size: 0.875rem;
  gap: 0.6rem;
}
.btn-ai--lg .btn-ai__icon {
  width: 1.1rem;
  height: 1.1rem;
}
.btn-ai--sm {
  padding: 0.78rem 1.35rem;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  gap: 0.4rem;
}
.btn-ai--sm .btn-ai__icon {
  width: 0.9rem;
  height: 0.9rem;
}

@keyframes ai-aurora {
  0% { transform: translate(-4%, -2%) rotate(0deg) scale(1); }
  100% { transform: translate(5%, 3%) rotate(8deg) scale(1.06); }
}
@keyframes ai-border {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}
@keyframes ai-twinkle {
  0%, 100% { opacity: 0.75; transform: scale(1) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.12) rotate(12deg); }
}

@media (prefers-reduced-motion: reduce) {
  .btn-ai__glow,
  .btn-ai::before,
  .btn-ai__icon {
    animation: none;
  }
}

/* ── Order track / admin chat ───────────────────────────────── */
.track-chat {
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: #fff;
}
.track-chat__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.4rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  color: #0c0c0c;
  background: #c4a882;
}
.track-chat__badge[hidden] { display: none !important; }
.track-chat__log {
  flex: 1 1 auto;
  min-height: 12rem;
  overflow-y: auto;
  padding: 1rem 1rem 0.75rem;
  background: #faf9f7;
  overscroll-behavior: contain;
}
.track-chat__empty {
  margin: 2.5rem auto;
  max-width: 16rem;
  text-align: center;
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(26, 26, 26, 0.45);
}
.track-chat__empty[hidden] { display: none !important; }
.track-chat__msg {
  display: flex;
  align-items: flex-end;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
}
.track-chat__msg.is-mine { justify-content: flex-end; }
.track-chat__msg.is-theirs { justify-content: flex-start; }
.track-chat__avatar {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: #d6d3d1;
  color: #44403c;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
}
.track-chat__col {
  display: flex;
  flex-direction: column;
  max-width: min(78%, 18rem);
}
.track-chat__msg.is-mine .track-chat__col { align-items: flex-end; }
.track-chat__msg.is-theirs .track-chat__col { align-items: flex-start; }
.track-chat__author {
  margin: 0 0 0.2rem 0.15rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: rgba(26, 26, 26, 0.55);
  line-height: 1.2;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.track-chat__bubble {
  padding: 0.7rem 0.85rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid rgba(42, 42, 42, 0.08);
}
.track-chat__msg.is-mine .track-chat__bubble {
  background: #0c0c0c;
  border-color: #0c0c0c;
  color: #f7f4ef;
  border-bottom-right-radius: 0.35rem;
}
.track-chat__msg.is-theirs .track-chat__bubble {
  background: #eceae6;
  border-color: transparent;
  border-bottom-left-radius: 0.35rem;
}
.track-chat__body {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
}
.track-chat__time {
  margin: 0.25rem 0.15rem 0;
  font-size: 0.65rem;
  letter-spacing: 0.02em;
  color: rgba(26, 26, 26, 0.4);
}
.track-chat__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.5rem;
  margin-top: 0.1rem;
}
.track-chat__msg.is-mine .track-chat__meta { justify-content: flex-end; }
.track-chat__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  opacity: 0.55;
  transition: opacity 0.15s ease;
}
.track-chat__msg:hover .track-chat__actions,
.track-chat__msg:focus-within .track-chat__actions {
  opacity: 1;
}
@media (hover: none) {
  .track-chat__actions { opacity: 1; }
}
.track-chat__act {
  border: 0;
  background: transparent;
  padding: 0;
  font-size: 0.65rem;
  color: #8a7a62;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.track-chat__act.is-danger { color: #b91c1c; }
.track-chat__quote {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  border-left: 2px solid rgba(0,0,0,0.18);
  background: rgba(0,0,0,0.05);
  padding: 0.35rem 0.5rem;
  margin: 0 0 0.4rem;
  border-radius: 0 6px 6px 0;
  cursor: pointer;
  font: inherit;
}
.track-chat__msg.is-mine .track-chat__quote {
  border-left-color: rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.14);
}
.track-chat__quote-author {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  opacity: 0.85;
}
.track-chat__quote-body {
  display: block;
  font-size: 0.75rem;
  opacity: 0.8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.track-chat__body--deleted {
  font-style: italic;
  opacity: 0.65;
}
.track-chat__msg.is-deleted .track-chat__bubble { opacity: 0.72; }
.track-chat__msg.is-flash .track-chat__bubble {
  outline: 2px solid #c4a574;
  outline-offset: 2px;
}
.track-chat__context {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  grid-column: 1 / -1;
  width: 100%;
  padding: 0.45rem 0.55rem;
  margin: 0;
  border-radius: 8px;
  background: #f3efe8;
  border: 1px solid #e5ddd0;
}
.track-chat__context[hidden] { display: none !important; }
.track-chat__context-body { min-width: 0; flex: 1; }
.track-chat__context-label {
  margin: 0;
  font-size: 0.65rem;
  font-weight: 600;
  color: #8a7a62;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.track-chat__context-text {
  margin: 0.1rem 0 0;
  font-size: 0.78rem;
  color: #4b5563;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.track-chat__context-x {
  border: 0;
  background: transparent;
  font-size: 1.1rem;
  line-height: 1;
  color: #6b7280;
  cursor: pointer;
  padding: 0 0.15rem;
}
.track-chat__compose-row {
  display: flex;
  align-items: flex-end;
  gap: 0.45rem;
  grid-column: 1 / -1;
  width: 100%;
}
.track-chat__input-shell {
  position: relative;
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: flex-end;
  background: #f4f2ef;
  border: 1px solid transparent;
  border-radius: 1.25rem;
  padding: 0.15rem 0.3rem 0.15rem 0.75rem;
}
.track-chat__input-shell textarea {
  flex: 1;
  min-width: 0;
  border: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
  padding: 0.55rem 0.25rem 0.55rem 0 !important;
  min-height: 2.4rem;
  max-height: 7rem;
  resize: none;
  box-shadow: none !important;
}
.track-chat__tools {
  display: flex;
  align-items: center;
  gap: 0.05rem;
  flex-shrink: 0;
  padding-bottom: 0.1rem;
}
.track-chat__tool {
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #8a7a62;
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
}
.track-chat__tool:hover { background: rgba(0,0,0,0.05); color: #3f3f46; }
.track-chat__attach-preview {
  grid-column: 1 / -1;
  width: 100%;
  padding: 0 0 0.25rem;
}
.track-chat__attach-preview[hidden] { display: none !important; }
.track-chat__attach-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.5rem;
  border-radius: 999px;
  background: #f3efe8;
  font-size: 0.75rem;
}
.track-chat__attach-x {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 1rem;
  color: #6b7280;
}
.track-chat__file {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.3rem;
  padding: 0.4rem 0.5rem;
  border-radius: 0.6rem;
  background: rgba(0, 0, 0, 0.06);
  color: inherit;
  text-decoration: none;
  font-size: 0.8rem;
  word-break: break-all;
}
.track-chat__msg.is-mine .track-chat__file { background: rgba(255, 255, 255, 0.12); }
.track-chat__file--img {
  display: block;
  padding: 0;
  background: transparent;
  overflow: hidden;
  border-radius: 0.6rem;
}
.track-chat__file--img img {
  display: block;
  max-width: min(100%, 14rem);
  max-height: 12rem;
  object-fit: cover;
  cursor: zoom-in;
}
.chat-lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(12, 12, 12, 0.95);
}
.chat-lightbox[hidden] { display: none !important; }
.chat-lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  z-index: 2;
  border: 0;
  background: transparent;
  color: rgba(247, 244, 239, 0.7);
  font-size: 1.85rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.2rem 0.4rem;
}
.chat-lightbox__close:hover { color: #f7f4ef; }
.chat-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  border: 0;
  background: transparent;
  color: rgba(247, 244, 239, 0.6);
  font-size: 2.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.35rem 0.55rem;
}
.chat-lightbox__nav:hover { color: #f7f4ef; }
.chat-lightbox__nav--prev { left: 0.5rem; }
.chat-lightbox__nav--next { right: 0.5rem; }
@media (min-width: 640px) {
  .chat-lightbox__nav--prev { left: 1.5rem; }
  .chat-lightbox__nav--next { right: 1.5rem; }
}
.chat-lightbox__stage {
  width: 100%;
  max-width: 64rem;
  position: relative;
  text-align: center;
}
.chat-lightbox__img {
  display: block;
  max-height: 82vh;
  width: 100%;
  object-fit: contain;
  margin: 0 auto;
  user-select: none;
  -webkit-user-select: none;
}
.chat-lightbox__counter {
  margin: 1rem 0 0;
  font-size: 0.75rem;
  color: rgba(247, 244, 239, 0.5);
}
.track-chat__composer {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.75rem 0.85rem;
  border-top: 1px solid rgba(42, 42, 42, 0.08);
  background: #fff;
}
.track-chat__composer textarea {
  width: 100%;
  min-height: 2.6rem;
  max-height: 7rem;
  resize: none;
  padding: 0.65rem 0.85rem;
  font-size: 0.9rem;
  line-height: 1.4;
  color: #0c0c0c;
  background: #f4f2ef;
  border: 1px solid transparent;
  border-radius: 1.25rem;
  outline: none;
}
.track-chat__composer textarea:focus {
  border-color: rgba(168, 139, 98, 0.55);
  background: #fff;
}
.track-chat__send {
  align-self: end;
  width: 2.6rem;
  height: 2.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: #0c0c0c;
  background: #c4a882;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}
.track-chat__send:hover { background: #b89a72; }
.track-chat__send:disabled { opacity: 0.55; cursor: wait; }
.track-chat__status {
  margin: 0;
  padding: 0 0.85rem 0.65rem;
  font-size: 0.75rem;
  color: rgba(26, 26, 26, 0.5);
}
.track-chat__status.is-error { color: #b91c1c; }
.track-chat__closed {
  margin: 0;
  padding: 0.9rem 1.15rem;
  font-size: 0.8rem;
  color: rgba(26, 26, 26, 0.5);
  border-top: 1px solid rgba(42, 42, 42, 0.08);
}

/* Floating support widget (/track) */
.support-widget {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
  pointer-events: none;
}
.support-widget > * { pointer-events: auto; }
.support-widget__dock {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.support-widget__dock[hidden] { display: none !important; }
.support-widget__pill {
  height: 2.5rem;
  padding: 0 1rem;
  border: 0;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #0c0c0c;
  background: #c4a882;
  box-shadow: 0 10px 28px -12px rgba(12, 12, 12, 0.45);
  cursor: pointer;
}
.support-widget__fab {
  position: relative;
  width: 3.6rem;
  height: 3.6rem;
  border: 0;
  border-radius: 999px;
  color: #0c0c0c;
  background: #c4a882;
  box-shadow: 0 14px 32px -14px rgba(12, 12, 12, 0.5);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.support-widget__fab:hover,
.support-widget__pill:hover { background: #b89a72; }
.support-widget__fab-badge {
  position: absolute;
  top: -0.15rem;
  right: -0.15rem;
}
.support-widget__panel {
  width: min(22.5rem, calc(100vw - 1.5rem));
  height: min(34rem, calc(100vh - 6rem));
  border: 0;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 24px 60px -28px rgba(12, 12, 12, 0.55);
  animation: supportWidgetIn 0.22s ease-out both;
}
.support-widget__panel[hidden] { display: none !important; }
@keyframes supportWidgetIn {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.support-widget__head {
  display: grid;
  grid-template-columns: 1fr 2.25rem;
  align-items: center;
  gap: 0.35rem;
  padding: 0.75rem 0.65rem;
  background: #0c0c0c;
  color: #f7f4ef;
}
.support-widget__who { text-align: left; min-width: 0; padding-left: 0.35rem; }
.support-widget__name {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.support-widget__online {
  margin: 0.1rem 0 0;
  font-size: 0.72rem;
  color: rgba(196, 168, 130, 0.95);
}
.support-widget__online.is-offline {
  color: rgba(247, 244, 239, 0.45);
}
.support-widget__pill.is-offline {
  color: #f7f4ef;
  background: #2a2a2a;
}
.support-widget__pill.is-offline:hover {
  background: #3f3f3f;
}
.support-widget__icon-btn {
  width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  color: #f7f4ef;
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
}
.support-widget__icon-btn:hover { background: rgba(255, 255, 255, 0.18); }
.support-widget .track-chat__log { height: auto; }

/* Visitor chat consent gate — occupies composer slot */
.visitor-chat__footer.track-chat__composer {
  padding: 0;
}
.visitor-chat__compose-form[hidden],
.visitor-chat__consent[hidden] {
  display: none !important;
}
.visitor-chat__compose-form {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.75rem 0.85rem 0.85rem;
  box-sizing: border-box;
  width: 100%;
}
.visitor-chat__compose-form .track-chat__compose-row {
  gap: 0.55rem;
  align-items: center;
}
.visitor-chat__compose-form .track-chat__send {
  flex-shrink: 0;
  align-self: center;
}
.visitor-chat__compose-form .track-chat__input-shell {
  padding-right: 0.45rem;
}
.visitor-chat__consent {
  padding: 0.85rem 1rem 1rem;
  background: #f7f4ef;
}
.visitor-chat__consent-text {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  line-height: 1.4;
  color: rgba(42, 42, 42, 0.7);
}
.visitor-chat__consent-label {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 0 0 0.75rem;
  font-size: 0.7rem;
  line-height: 1.35;
  color: rgba(42, 42, 42, 0.6);
  cursor: pointer;
}
.visitor-chat__consent-label input {
  margin-top: 0.12rem;
  flex-shrink: 0;
  width: 0.9rem;
  height: 0.9rem;
  accent-color: #0c0c0c;
}
.visitor-chat__consent-label a {
  text-decoration: underline;
  text-underline-offset: 2px;
  color: inherit;
}
.visitor-chat__consent-label a:hover { color: #0c0c0c; }
.visitor-chat__consent-btn {
  width: 100%;
  border: 0;
  padding: 0.7rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #f7f4ef;
  background: #0c0c0c;
  cursor: pointer;
}
.visitor-chat__consent-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.visitor-chat__consent-btn:not(:disabled):hover { background: #2a2a2a; }

/* Lead CTA buttons inside chat bubbles */
.track-chat__cta {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 0.45rem;
}
.track-chat__cta-title {
  margin: 0 0 0.15rem;
  font-size: 0.82rem;
  line-height: 1.35;
}
.track-chat__cta-btn {
  border: 1px solid rgba(12, 12, 12, 0.18);
  background: #fff;
  color: #0c0c0c;
  padding: 0.45rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
}
.track-chat__cta-btn:hover { background: #f7f4ef; }
.track-chat__msg.is-mine .track-chat__cta-btn {
  border-color: rgba(247, 244, 239, 0.35);
  background: rgba(255, 255, 255, 0.12);
  color: inherit;
}
.track-chat__msg.is-mine .track-chat__cta-btn:hover {
  background: rgba(255, 255, 255, 0.22);
}
.track-chat__tool--lead {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0 0.35rem;
  min-width: 2.4rem;
}

/* Admin inbox */
.chats-layout {
  display: grid;
  grid-template-columns: minmax(16rem, 20rem) minmax(0, 1fr);
  min-height: min(70vh, 40rem);
}
@media (max-width: 900px) {
  .chats-layout { grid-template-columns: 1fr; }
}
.chats-list {
  border-right: 1px solid rgba(24, 24, 27, 0.08);
  overflow-y: auto;
  max-height: min(70vh, 40rem);
  background: #fafafa;
}
.chats-list__item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.9rem 1rem;
  border: 0;
  border-bottom: 1px solid rgba(24, 24, 27, 0.06);
  background: transparent;
  cursor: pointer;
}
.chats-list__item:hover { background: #fff; }
.chats-list__item.is-active {
  background: #fff;
  box-shadow: inset 3px 0 0 #c4a882;
}
.chats-list__preview {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  line-height: 1.35;
  color: rgba(63, 63, 70, 0.85);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.chats-thread {
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: #fff;
}
.chats-thread__empty {
  margin: auto;
  padding: 2rem;
  text-align: center;
}
.chats-thread__wrap {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
}
.chats-thread__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(24, 24, 27, 0.08);
}
.track-chat--inbox {
  flex: 1;
  min-height: 0;
}
.track-chat--inbox .track-chat__log {
  flex: 1;
  height: auto;
  min-height: 18rem;
  max-height: none;
}
.track-chat--inbox .track-chat__send {
  width: auto;
  min-width: 6.5rem;
  height: 2.6rem;
  padding: 0 1rem;
  border-radius: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #f7f4ef;
  background: #0c0c0c;
}
.track-chat--inbox .track-chat__send:hover { background: #2a2a2a; }
