.furniture-project-detail {
  padding: 32px 0 64px;
}

.furniture-project-breadcrumb-bar {
  margin-bottom: 24px;
  padding: 0 4px;
}

.furniture-project-breadcrumb {
  margin-bottom: 0;
}

.furniture-project-breadcrumb .breadcrumb {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--furniture-text-muted);
}

.furniture-project-breadcrumb .breadcrumb-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0;
}

.furniture-project-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  color: color-mix(in srgb, var(--furniture-charcoal) 20%, transparent);
  font-size: 0.8rem;
}

.furniture-project-breadcrumb .breadcrumb-item a {
  color: var(--furniture-text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.furniture-project-breadcrumb .breadcrumb-item a:hover {
  color: var(--furniture-sage);
}

.furniture-project-breadcrumb .breadcrumb-item.active {
  color: var(--furniture-text);
  font-weight: 600;
}

.furniture-project-hero {
  display: grid;
  gap: 32px;
  margin-bottom: 54px;
  align-items: start;
}

@media (min-width: 992px) {
  .furniture-project-hero {
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 1fr);
    gap: 64px;
  }
}

.furniture-project-hero-no-media {
  grid-template-columns: minmax(0, 820px);
}

.furniture-project-media {
  min-width: 0;
  display: grid;
  gap: 16px;
}

@media (min-width: 992px) {
  .furniture-project-media {
    position: sticky;
    top: 120px;
    align-self: start;
  }
}

.furniture-project-gallery {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--furniture-border);
  border-radius: var(--furniture-radius);
  background:
    linear-gradient(135deg, rgba(91, 111, 87, 0.08), rgba(138, 95, 61, 0.12)),
    var(--furniture-surface);
}

.furniture-project-gallery .swiper-slide a {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.furniture-project-gallery-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  transition: transform 0.35s ease;
}

.furniture-project-gallery a:hover .furniture-project-gallery-image,
.furniture-project-gallery a:focus-visible .furniture-project-gallery-image {
  transform: scale(1.015);
}

.swiper-gallery-nav {
  width: 42px;
  height: 42px;
  color: var(--furniture-charcoal) !important;
  border: 1px solid var(--furniture-border);
  border-radius: 50%;
  background: rgba(255, 253, 248, 0.88);
  box-shadow: var(--furniture-shadow-soft);
}

.swiper-gallery-nav::after {
  font-size: 16px !important;
  font-weight: 800;
}

.swiper-gallery-nav:hover,
.swiper-gallery-nav:focus-visible {
  color: var(--furniture-sage) !important;
  background: var(--furniture-surface);
}

.furniture-project-gallery .swiper-pagination-bullet {
  background: rgba(32, 28, 24, 0.28);
  opacity: 1;
}

.furniture-project-gallery .swiper-pagination-bullet-active {
  background: var(--furniture-sage);
}

.furniture-project-thumbs {
  width: 100%;
  padding: 2px;
}

.furniture-project-thumb {
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--furniture-border);
  border-radius: var(--furniture-radius);
  background: var(--furniture-surface);
  opacity: 0.62;
  transition: border-color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.furniture-project-thumbs .swiper-slide-thumb-active .furniture-project-thumb {
  border-color: var(--furniture-sage);
  opacity: 1;
  transform: translateY(-1px);
}

.furniture-project-thumb-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.furniture-project-intro {
  min-width: 0;
  padding: 18px 0 0;
}

.furniture-project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.furniture-project-chip {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid rgba(91, 111, 87, 0.28);
  border-radius: var(--furniture-radius);
  background: rgba(91, 111, 87, 0.08);
  color: var(--furniture-sage);
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
}

.furniture-project-chip:hover,
.furniture-project-chip:focus-visible {
  border-color: rgba(91, 111, 87, 0.5);
  background: rgba(91, 111, 87, 0.14);
  color: var(--furniture-text);
}

.furniture-project-title {
  margin: 0 0 28px;
  color: var(--furniture-text);
  font-family: "Marcellus", Georgia, serif;
  font-size: 3rem;
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: 0;
}

.furniture-project-summary {
  margin-bottom: 32px;
  padding: 2px 0 2px 24px;
  border-left: 3px solid var(--furniture-sage);
  color: var(--furniture-text-muted);
  font-family: "Manrope", sans-serif;
  font-size: 1.08rem;
  line-height: 1.7;
  font-weight: 500;
}

.furniture-project-summary > :last-child,
.furniture-project-copy > :last-child,
.furniture-project-specs > :last-child {
  margin-bottom: 0;
}

.furniture-project-copy {
  color: var(--furniture-text);
  font-family: "Manrope", var(--bs-font-sans-serif);
  font-size: 1rem;
  line-height: 1.8;
}

.furniture-project-copy p,
.furniture-project-copy span,
.furniture-project-copy li {
  font-family: "Manrope", var(--bs-font-sans-serif);
  font-size: 1rem;
  line-height: 1.8;
}

/* Guard against narrow columns from DB content and handle unclosed tags */
.furniture-project-copy [class*="col-"] {
  width: 100% !important;
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  float: none !important;
}

.furniture-project-copy h2,
.furniture-project-copy h3,
.furniture-project-copy h4,
.furniture-project-copy p {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  clear: both;
}

.furniture-project-copy p,
.furniture-project-specs p,
.furniture-project-specs ul,
.furniture-project-specs ol {
  margin-bottom: 1rem;
}

.furniture-project-copy h2,
.furniture-project-copy h3,
.furniture-project-copy h4,
.furniture-project-specs h2,
.furniture-project-specs h3,
.furniture-project-specs h4 {
  margin: 1.35rem 0 0.7rem;
  color: var(--furniture-text);
  font-family: "Marcellus", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.2;
}

.furniture-project-section {
  display: grid;
  gap: 32px;
  padding-top: 64px;
  margin-top: 54px;
  border-top: 1px solid var(--furniture-border);
}

.furniture-project-section-title {
  position: relative;
  margin: 0;
  color: var(--furniture-text);
  font-family: "Marcellus", Georgia, serif;
  font-size: 2.2rem;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0;
}

.furniture-project-section-title::after {
  content: "";
  display: block;
  width: 50px;
  height: 2px;
  margin-top: 16px;
  background-color: var(--furniture-sage);
  opacity: 0.8;
}

.furniture-project-specs {
  width: 100%;
  max-width: 1100px;
  min-width: 0;
  overflow: hidden;
  box-sizing: border-box;
  padding: 32px;
  border: 1px solid var(--furniture-border);
  border-radius: var(--furniture-radius);
  background: var(--furniture-surface);
  box-shadow: var(--furniture-shadow-soft);
  color: var(--furniture-text);
  line-height: 1.8;
}

.furniture-project-specs ul {
  padding-left: 1.2rem;
  margin-bottom: 0;
}

.furniture-project-specs li {
  margin-bottom: 12px;
}

.furniture-project-specs li::marker {
  color: var(--furniture-sage);
  font-size: 1.1em;
}

.furniture-project-specs table {
  width: 100%;
  margin: 0;
  border-collapse: separate;
  border-spacing: 0;
}

.table-responsive {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch;
}

/* Multi-column technical specifications tables inside project detail pages */
.furniture-project-specs table.table {
  width: 100% !important;
  margin: 0 0 1.5rem 0;
  border-collapse: collapse;
  border-spacing: 0;
}

.furniture-project-specs table.table th,
.furniture-project-specs table.table td {
  padding: 4px 6px !important;
  font-size: 10px !important;
  line-height: 1.2;
  vertical-align: middle;
  white-space: nowrap !important;
  width: auto !important;
}

@media (max-width: 1200px) {
  .furniture-project-specs table.table th,
  .furniture-project-specs table.table td {
    padding: 3px 5px !important;
    font-size: 9px !important;
  }
}

@media (max-width: 991.98px) {
  .furniture-project-specs table.table th,
  .furniture-project-specs table.table td {
    padding: 2px 4px !important;
    font-size: 8px !important;
  }
}

.furniture-project-specs table.table th {
  background-color: var(--furniture-surface-soft) !important;
  color: var(--furniture-text);
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  text-align: center;
  border: 1px solid var(--furniture-border) !important;
}

.furniture-project-specs table.table td {
  color: var(--furniture-text-muted);
  font-family: "Manrope", sans-serif;
  border: 1px solid var(--furniture-border) !important;
  background-color: var(--furniture-surface);
}

.furniture-project-specs table.table tr:nth-child(even) td {
  background-color: color-mix(in srgb, var(--furniture-sage) 3%, var(--furniture-surface)) !important;
}

.furniture-project-specs th,
.furniture-project-specs td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--furniture-border);
  font-size: 1rem;
  vertical-align: middle;
}

.furniture-project-specs tr:last-child th,
.furniture-project-specs tr:last-child td {
  border-bottom: 0;
}

.furniture-project-specs th {
  background-color: var(--furniture-surface-soft);
  color: var(--furniture-text);
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  text-align: left;
}

.furniture-project-specs table:not(.table) th {
  width: 35%;
}

.furniture-project-specs td {
  color: var(--furniture-text-muted);
  font-family: "Manrope", sans-serif;
}

.furniture-project-specs tr:nth-child(even) td {
  background-color: color-mix(in srgb, var(--furniture-sage) 2%, transparent);
}

.furniture-project-reference-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.furniture-project-reference {
  min-width: 0;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--furniture-border);
  border-radius: var(--furniture-radius);
  background: var(--furniture-surface);
  color: var(--furniture-text);
  text-decoration: none;
}

.furniture-project-reference:hover,
.furniture-project-reference:focus-visible {
  border-color: rgba(91, 111, 87, 0.42);
  color: var(--furniture-text);
}

.furniture-project-reference-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.furniture-project-reference strong,
.furniture-project-reference span span {
  overflow-wrap: anywhere;
}

.furniture-project-reference strong {
  color: var(--furniture-text);
  font-size: 0.98rem;
  line-height: 1.32;
}

.furniture-project-reference span span {
  color: var(--furniture-text-muted);
  font-size: 0.88rem;
  line-height: 1.4;
}

/* Video Cards */
.furniture-project-video-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--furniture-border);
  border-radius: var(--furniture-radius);
  background: var(--furniture-surface);
  box-shadow: var(--furniture-shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.furniture-project-video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--furniture-shadow);
}

.furniture-project-video-frame {
  background: var(--furniture-charcoal);
  border-radius: calc(var(--furniture-radius) - 1px) calc(var(--furniture-radius) - 1px) 0 0;
  overflow: hidden;
}

.furniture-project-video-info {
  padding: 16px 20px;
  border-top: 1px solid var(--furniture-border);
  background: linear-gradient(180deg, color-mix(in srgb, var(--furniture-surface) 40%, transparent), transparent);
}

.furniture-project-video-name {
  margin: 0;
  color: var(--furniture-text);
  font-family: "Manrope", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.video-poster {
  position: relative;
  display: block;
  background-size: cover;
  background-position: center;
}

.video-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--furniture-charcoal) 15%, transparent);
  transition: background-color 0.3s ease;
}

.furniture-project-video-card:hover .video-poster::after {
  background: color-mix(in srgb, var(--furniture-charcoal) 30%, transparent);
}

.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 5;
  transform: translate(-50%, -50%) scale(1);
  color: var(--furniture-surface);
  font-size: 4rem;
  opacity: 0.9;
  filter: drop-shadow(var(--furniture-shadow-soft));
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}

.furniture-project-video-card:hover .play-icon {
  transform: translate(-50%, -50%) scale(1.15);
  opacity: 1;
}

[data-bs-theme="dark"] .furniture-project-gallery,
body.dark-mode .furniture-project-gallery,
[data-bs-theme="dark"] .furniture-project-specs,
body.dark-mode .furniture-project-specs {
  background:
    linear-gradient(135deg, rgba(91, 111, 87, 0.12), rgba(138, 95, 61, 0.1)),
    var(--furniture-surface);
}

[data-bs-theme="dark"] .swiper-gallery-nav,
body.dark-mode .swiper-gallery-nav {
  color: var(--furniture-text) !important;
  background: rgba(32, 35, 31, 0.9);
}

@media (max-width: 991.98px) {
  .furniture-project-detail {
    gap: 20px;
    padding-top: 14px;
  }

  .furniture-project-hero {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .furniture-project-media {
    position: static !important;
  }

  .furniture-project-gallery .swiper-slide a {
    aspect-ratio: unset;
    height: 240px;
  }

  .furniture-project-gallery-image {
    object-fit: contain;
    height: 240px;
    width: 100%;
  }

  .furniture-project-intro {
    padding-top: 0;
  }

  .furniture-project-title {
    font-size: 1.75rem;
    margin-bottom: 14px;
  }

  .furniture-project-meta {
    margin-bottom: 14px;
  }
}

@media (max-width: 575.98px) {
  .furniture-project-detail {
    gap: 16px;
    padding: 12px 0 36px;
  }

  .furniture-project-breadcrumb .breadcrumb {
    row-gap: 4px;
  }

  .furniture-project-breadcrumb .breadcrumb-item,
  .furniture-project-breadcrumb .breadcrumb-item a {
    font-size: 0.88rem;
  }

  .furniture-project-gallery .swiper-slide a {
    height: 200px;
  }

  .furniture-project-gallery-image {
    height: 200px;
  }

  .furniture-project-media {
    gap: 10px;
  }

  .swiper-gallery-nav {
    width: 34px;
    height: 34px;
  }

  .swiper-gallery-nav::after {
    font-size: 14px !important;
  }

  .furniture-project-title {
    margin-bottom: 12px;
    font-size: 1.55rem;
    line-height: 1.15;
  }

  .furniture-project-summary {
    padding-left: 12px;
    font-size: 0.97rem;
  }

  .furniture-project-specs {
    padding: 14px;
  }

  .furniture-project-section {
    padding-top: 20px;
    gap: 14px;
  }

  .furniture-project-section-title {
    font-size: 1.3rem;
  }

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

/* ==========================================
   Project Listing Page Styles (Furniture Theme)
   ========================================== */
.furniture-projects-shell {
  padding: 32px 0 64px;
}

.furniture-projects-header {
  margin-bottom: 32px;
}

.furniture-projects-title {
  font-family: "Marcellus", Georgia, serif;
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--furniture-text);
  margin-bottom: 6px;
  line-height: 1.1;
}

.furniture-projects-subtitle {
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
  color: var(--furniture-text-muted);
  margin: 0;
}

/* Category Sidebar / Filters */
.furniture-category-card {
  border: 1px solid var(--furniture-border);
  border-radius: var(--furniture-radius-md);
  background: var(--furniture-surface);
  box-shadow: var(--furniture-shadow-soft);
  overflow: hidden;
}

.furniture-category-card-header {
  padding: 16px 20px;
  background: color-mix(in srgb, var(--furniture-sage) 6%, var(--furniture-surface));
  border-bottom: 1px solid var(--furniture-border);
}

.furniture-category-card-title {
  font-family: "Manrope", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--furniture-text);
  margin: 0;
}

.furniture-category-nav {
  display: flex;
  flex-direction: column;
  padding: 8px 0;
}

.furniture-category-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 20px;
  color: var(--furniture-text-muted);
  font-family: "Manrope", sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: all 0.2s ease;
}

.furniture-category-nav-item:hover,
.furniture-category-nav-item:focus-visible {
  color: var(--furniture-sage);
  background: color-mix(in srgb, var(--furniture-sage) 4%, transparent);
}

.furniture-category-nav-item.active {
  color: var(--furniture-sage);
  background: color-mix(in srgb, var(--furniture-sage) 8%, transparent);
  border-left-color: var(--furniture-sage);
  font-weight: 700;
}

.furniture-category-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 22px;
  padding: 0 8px;
  border-radius: var(--furniture-radius-full);
  background: color-mix(in srgb, var(--furniture-sage) 12%, var(--furniture-surface));
  color: var(--furniture-sage);
  font-size: 0.78rem;
  font-weight: 700;
}

.furniture-category-nav-item.active .furniture-category-count-badge {
  background: var(--furniture-sage);
  color: #fff;
}

/* Mobile Scrollable Horizontal Filter Pills */
.furniture-category-pills-bar {
  display: none;
  margin-bottom: 24px;
}

.furniture-category-pills {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.furniture-category-pills::-webkit-scrollbar {
  height: 4px;
}

.furniture-category-pills::-webkit-scrollbar-thumb {
  background: var(--furniture-border);
  border-radius: 4px;
}

.furniture-category-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  white-space: nowrap;
  border-radius: var(--furniture-radius-full);
  border: 1px solid var(--furniture-border);
  background: var(--furniture-surface);
  color: var(--furniture-text-muted);
  font-family: "Manrope", sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.furniture-category-pill:hover {
  border-color: var(--furniture-sage);
  color: var(--furniture-sage);
}

.furniture-category-pill.active {
  background: var(--furniture-sage);
  border-color: var(--furniture-sage);
  color: #fff;
}

.furniture-category-pill.active .furniture-category-count-badge {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}

/* Project List Cards */
.furniture-project-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--furniture-border);
  border-radius: var(--furniture-radius-md);
  background: var(--furniture-surface);
  box-shadow: var(--furniture-shadow-soft);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.furniture-project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--furniture-shadow);
  border-color: color-mix(in srgb, var(--furniture-sage) 40%, var(--furniture-border));
}

.furniture-project-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: color-mix(in srgb, var(--furniture-sage) 8%, var(--furniture-surface-muted));
  display: block;
}

.furniture-project-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.45s ease;
}

.furniture-project-card:hover .furniture-project-card-img {
  transform: scale(1.04);
}

.furniture-project-card-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--furniture-sage) 12%, var(--furniture-surface)), color-mix(in srgb, var(--furniture-wood) 12%, var(--furniture-surface-muted)));
  color: var(--furniture-sage);
  font-size: 2.5rem;
  transition: transform 0.45s ease;
}

.furniture-project-fallback-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  padding: 14px;
  border-radius: 50%;
  background: var(--furniture-surface);
  box-shadow: 0 8px 24px rgba(32, 28, 24, 0.08);
  border: 1px solid var(--furniture-border);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s ease, border-color 0.45s ease;
}

.furniture-project-fallback-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  opacity: 0.88;
  transition: transform 0.45s ease, opacity 0.3s ease;
}

.furniture-project-card:hover .furniture-project-card-fallback {
  transform: scale(1.02);
}

.furniture-project-card:hover .furniture-project-fallback-logo-wrap {
  transform: scale(1.08);
  box-shadow: 0 12px 32px rgba(32, 28, 24, 0.14);
  border-color: color-mix(in srgb, var(--furniture-sage) 40%, var(--furniture-border));
}

.furniture-project-card:hover .furniture-project-fallback-logo {
  opacity: 1;
}

.furniture-project-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px;
}

.furniture-project-card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.furniture-project-card-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: var(--furniture-radius-full);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.furniture-project-card-badge-category {
  background: color-mix(in srgb, var(--furniture-sage) 10%, var(--furniture-surface));
  color: var(--furniture-sage);
  border: 1px solid color-mix(in srgb, var(--furniture-sage) 20%, transparent);
}

.furniture-project-card-badge-highlight {
  background: color-mix(in srgb, var(--furniture-wood) 14%, var(--furniture-surface));
  color: var(--furniture-wood);
  border: 1px solid color-mix(in srgb, var(--furniture-wood) 28%, transparent);
}

.furniture-project-card-title {
  font-family: "Marcellus", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 12px;
}

.furniture-project-card-title a {
  color: var(--furniture-text);
  text-decoration: none;
  transition: color 0.2s ease;
}

.furniture-project-card-title a:hover {
  color: var(--furniture-sage);
}

.furniture-project-card-excerpt {
  color: var(--furniture-text-muted);
  font-family: "Manrope", sans-serif;
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.furniture-project-card-footer {
  margin-top: auto;
  padding-top: 12px;
}

.furniture-project-card-footer .furniture-outline-button i {
  display: inline-block;
  transition: transform 0.25s ease;
}

.furniture-project-card-footer .furniture-outline-button:hover i,
.furniture-project-card-footer .furniture-outline-button:focus-visible i {
  transform: translateX(4px);
}

/* Custom Pagination for Furniture Theme */
.furniture-pagination .pagination {
  gap: 6px;
}

.furniture-pagination .page-item .page-link {
  min-width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: var(--furniture-radius);
  border: 1px solid var(--furniture-border);
  background: var(--furniture-surface);
  color: var(--furniture-text);
  font-family: "Manrope", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.furniture-pagination .page-item:hover .page-link {
  border-color: var(--furniture-sage);
  color: var(--furniture-sage);
  background: color-mix(in srgb, var(--furniture-sage) 6%, var(--furniture-surface));
}

.furniture-pagination .page-item.active .page-link {
  background: var(--furniture-sage);
  border-color: var(--furniture-sage);
  color: #fff;
  font-weight: 700;
}

.furniture-pagination .page-item.disabled .page-link {
  background: var(--furniture-surface-muted);
  color: var(--furniture-text-muted);
  border-color: var(--furniture-border);
  opacity: 0.6;
}

/* Empty State */
.furniture-empty-state {
  padding: 48px 24px;
  text-align: center;
  border: 1px dashed var(--furniture-border);
  border-radius: var(--furniture-radius-md);
  background: var(--furniture-surface);
}

.furniture-empty-state-icon {
  font-size: 2.8rem;
  color: var(--furniture-text-muted);
  margin-bottom: 16px;
  opacity: 0.7;
}

.furniture-empty-state-text {
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
  color: var(--furniture-text-muted);
  margin-bottom: 20px;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .furniture-projects-shell {
    padding: 16px 0 48px;
  }

  .furniture-projects-title {
    font-size: 1.85rem;
  }

  .furniture-category-sidebar-desktop {
    display: none;
  }

  .furniture-category-pills-bar {
    display: block;
  }
}

/* ==========================================
   Project Detail Dedicated Utility Card & Actions (UI/UX)
   ========================================== */
.furniture-project-utility-card {
  padding: 1rem 0;
  border-top: 1px solid var(--furniture-border);
}

.utility-card-label {
  font-family: "Manrope", sans-serif;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  color: var(--furniture-text-muted);
}

.color-sage {
  color: var(--furniture-sage, #5b6f57);
}

.btn-utility-dropdown {
  height: 38px;
  padding: 0 1.1rem;
  border-radius: var(--furniture-radius-full, 999px);
  border: 1px solid color-mix(in srgb, var(--furniture-sage, #5b6f57) 28%, var(--furniture-border, #dee2e6));
  background: var(--furniture-surface, #ffffff);
  color: var(--furniture-text, #201c18);
  font-family: "Manrope", sans-serif;
  font-size: 0.86rem;
  font-weight: 600;
  box-shadow: var(--furniture-shadow-soft, 0 2px 8px rgba(0, 0, 0, 0.03));
  transition: all 0.22s ease;
}

.btn-utility-dropdown i {
  color: var(--furniture-sage, #5b6f57);
  font-size: 0.95rem;
}

.btn-utility-dropdown:hover,
.btn-utility-dropdown:focus-visible,
.btn-utility-dropdown.show {
  border-color: var(--furniture-sage, #5b6f57);
  background: color-mix(in srgb, var(--furniture-sage, #5b6f57) 8%, var(--furniture-surface, #ffffff));
  color: var(--furniture-text, #201c18);
  box-shadow: 0 6px 16px color-mix(in srgb, var(--furniture-sage, #5b6f57) 18%, transparent);
  transform: translateY(-1px);
}

.btn-utility-print {
  height: 38px;
  padding: 0 1.1rem;
  border-radius: var(--furniture-radius-full, 999px);
  border: 1px solid var(--furniture-border, #dee2e6);
  background: var(--furniture-surface, #ffffff);
  color: var(--furniture-text, #201c18);
  font-family: "Manrope", sans-serif;
  font-size: 0.86rem;
  font-weight: 600;
  box-shadow: var(--furniture-shadow-soft, 0 2px 8px rgba(0, 0, 0, 0.03));
  transition: all 0.22s ease;
}

.btn-utility-print i {
  color: var(--furniture-text-muted);
  font-size: 0.95rem;
}

.btn-utility-print:hover,
.btn-utility-print:focus-visible {
  border-color: var(--furniture-charcoal, #201c18);
  background: color-mix(in srgb, var(--furniture-charcoal, #201c18) 6%, var(--furniture-surface, #ffffff));
  color: var(--furniture-text, #201c18);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}

.furniture-export-menu {
  border-radius: 16px !important;
  padding: 0.5rem;
  min-width: 220px;
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  margin-top: 0.5rem !important;
  animation: furnitureFadeInDown 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes furnitureFadeInDown {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.furniture-export-menu .dropdown-item {
  border-radius: 10px;
  font-family: "Manrope", sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--furniture-text, #201c18);
  transition: all 0.18s ease;
}

.furniture-export-menu .dropdown-item:hover,
.furniture-export-menu .dropdown-item:focus {
  background: color-mix(in srgb, var(--furniture-sage, #5b6f57) 10%, var(--furniture-surface, #ffffff));
  color: var(--furniture-text, #201c18);
  transform: translateX(3px);
}

.btn-tool-icon {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--furniture-border, #dee2e6);
  color: var(--furniture-text-muted, #6c757d);
  background-color: var(--furniture-surface, #ffffff);
  text-decoration: none;
  font-size: 1.05rem;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
  outline: none;
  padding: 0;
}

.btn-tool-icon.dropdown-toggle::after {
  display: none !important;
}

.btn-tool-icon:hover,
.btn-tool-icon:focus-visible,
.btn-tool-icon.show {
  transform: translateY(-2px) scale(1.06);
  color: #ffffff !important;
  background-color: var(--furniture-charcoal, #201c18) !important;
  border-color: transparent !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

[data-bs-theme="dark"] .furniture-project-utility-card,
body.dark-mode .furniture-project-utility-card {
  border-color: rgba(255, 255, 255, 0.1);
}

[data-bs-theme="dark"] .btn-tool-icon,
body.dark-mode .btn-tool-icon {
  background-color: rgba(42, 46, 54, 0.9);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.75);
}

[data-bs-theme="dark"] .btn-tool-icon:hover,
body.dark-mode .btn-tool-icon:hover,
[data-bs-theme="dark"] .btn-tool-icon.show,
body.dark-mode .btn-tool-icon.show {
  background-color: var(--furniture-sage, #5b6f57) !important;
  color: #ffffff !important;
}

[data-bs-theme="dark"] .furniture-export-menu,
body.dark-mode .furniture-export-menu {
  background: rgba(32, 36, 44, 0.96) !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
}

[data-bs-theme="dark"] .furniture-export-menu .dropdown-item,
body.dark-mode .furniture-export-menu .dropdown-item {
  color: #e5e5e5;
}

[data-bs-theme="dark"] .furniture-export-menu .dropdown-item:hover,
body.dark-mode .furniture-export-menu .dropdown-item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

@media (max-width: 575.98px) {
  .furniture-project-utility-card {
    padding-top: 0.8rem;
  }
}
