/* ============================================
   Industrial Cable Catalog — Project Page
   ============================================ */
.project-page {
  --catalog-navy: #000000;
  --catalog-navy-dark: #000000;
  --catalog-red: #000000;
  --catalog-red-hover: #1a1a1a;
  --catalog-gray: #f4f5f7;
  --catalog-border: #e8eaed;
  --catalog-text: #000000;
  --catalog-muted: #000000;
  --catalog-font: var(--font-body);
  --catalog-serif: var(--font-heading);
  font-family: var(--font-body);
  color: var(--catalog-text);
  background: #fff;
}

/* Header */
.catalog-header {
  background: #fff;
  border-bottom: 1px solid var(--catalog-border);
}

.catalog-navbar {
  padding: 0.85rem 0;
}

.catalog-brand {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  text-decoration: none;
}

.catalog-brand .brand-maharaja,
.catalog-footer-brand .brand-maharaja {
  font-family: var(--catalog-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--catalog-navy);
  letter-spacing: 0.02em;
}

.catalog-brand .brand-white,
.catalog-footer-brand .brand-white {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--catalog-red);
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.catalog-navbar .nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--catalog-text);
  padding: 0.5rem 0.9rem !important;
}

.catalog-navbar .nav-link:hover,
.catalog-navbar .nav-link.active {
  color: var(--catalog-red);
}

.catalog-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--catalog-gray);
  border-radius: 50px;
  padding: 0.45rem 1rem;
  min-width: 220px;
}

.catalog-search i {
  color: var(--catalog-muted);
  font-size: 0.9rem;
}

.catalog-search input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.82rem;
  width: 100%;
  color: var(--catalog-text);
}

.catalog-search input::placeholder {
  color: var(--catalog-muted);
}

.catalog-icon-btn {
  background: none;
  border: none;
  font-size: 1.15rem;
  color: var(--catalog-text);
  padding: 0.25rem;
  cursor: pointer;
  transition: color 0.2s;
}

.catalog-icon-btn:hover {
  color: var(--catalog-red);
}

.catalog-breadcrumb {
  padding: 0.75rem 0 1rem;
  font-size: 0.8rem;
  color: var(--catalog-muted);
}

.catalog-breadcrumb a {
  color: var(--catalog-muted);
  text-decoration: none;
}

.catalog-breadcrumb a:hover {
  color: var(--catalog-red);
}

.catalog-breadcrumb .sep {
  margin: 0 0.4rem;
}

.catalog-breadcrumb .current {
  color: var(--catalog-text);
  font-weight: 500;
}

/* Hero */
.catalog-hero {
  position: relative;
}

.catalog-hero .carousel,
.catalog-hero .carousel-inner,
.catalog-hero .carousel-item {
  border-radius: 0;
}

.catalog-hero-slide {
  position: relative;
  min-height: 420px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

.catalog-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(15, 29, 61, 0.92) 0%, rgba(26, 45, 90, 0.75) 55%, rgba(26, 45, 90, 0.4) 100%);
}

.catalog-hero-content {
  position: relative;
  z-index: 2;
  max-width: 580px;
  padding: 3.5rem 0;
  color: #fff;
}

.catalog-hero-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--catalog-red);
  margin-bottom: 1rem;
}

.catalog-hero-content h1 {
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.catalog-hero-content p {
  font-size: 0.95rem;
  line-height: 1.7;
  opacity: 0.9;
  margin-bottom: 1.75rem;
}

.catalog-hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.catalog-hero-indicators {
  position: absolute;
  bottom: 1.75rem;
  left: max(1rem, calc((100vw - 1140px) / 2 + 0.75rem));
  right: auto;
  margin: 0;
  justify-content: flex-start;
  gap: 0.4rem;
}

.catalog-hero-indicators [data-bs-target] {
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  opacity: 1;
  transition: all 0.3s;
}

.catalog-hero-indicators .active {
  background: #fff;
  width: 36px;
}

/* Buttons */
.btn-catalog-red {
  background: var(--catalog-red);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.65rem 1.5rem;
  transition: background 0.2s, transform 0.2s;
}

.btn-catalog-red:hover {
  background: var(--catalog-red-hover);
  color: #fff;
  transform: translateY(-1px);
}

.btn-catalog-navy {
  background: var(--catalog-navy);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.65rem 1.5rem;
  transition: background 0.2s;
}

.btn-catalog-navy:hover {
  background: var(--catalog-navy-dark);
  color: #fff;
}

.btn-catalog-outline {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.65rem 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: background 0.2s;
}

.btn-catalog-outline:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.btn-catalog-light {
  background: var(--catalog-gray);
  color: var(--catalog-text);
  border: 1px solid var(--catalog-border);
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.6rem 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s;
}

.btn-catalog-light:hover {
  background: #fff;
  border-color: var(--catalog-navy);
  color: var(--catalog-navy);
}

/* Section headings */
.catalog-section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--catalog-red);
  margin-bottom: 0.5rem;
}

.catalog-section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--catalog-navy);
  margin-bottom: 2rem;
}

/* Portfolio */
.catalog-portfolio {
  background: #fff;
}

.portfolio-marquee {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
}

.portfolio-marquee-inner {
  display: flex;
  width: max-content;
  animation: portfolio-scroll 45s linear infinite;
}

.portfolio-marquee:hover .portfolio-marquee-inner {
  animation-play-state: paused;
}

@keyframes portfolio-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.portfolio-track {
  display: flex;
  gap: 1rem;
  padding: 0.5rem 0;
  flex-shrink: 0;
}

.portfolio-card {
  flex: 0 0 160px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  padding: 1.25rem 1rem;
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s;
}

.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.portfolio-card-img {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.portfolio-card-img img {
  max-height: 95px;
  object-fit: contain;
}

.portfolio-card h3 {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--catalog-navy);
  margin: 0;
}

/* Featured Product */
.catalog-featured {
  background: var(--catalog-gray);
}

.featured-product-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.featured-gallery {
  display: flex;
  gap: 1rem;
}

.featured-thumbs {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.featured-thumb {
  width: 64px;
  height: 64px;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  padding: 0;
  background: var(--catalog-gray);
  cursor: pointer;
  transition: border-color 0.2s;
}

.featured-thumb.active {
  border-color: var(--catalog-red);
}

.featured-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-main-wrap {
  flex: 1;
  position: relative;
}

.featured-badge {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  background: var(--catalog-red);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.75rem;
  border-radius: 0 0 6px 0;
}

.featured-main-img {
  background: var(--catalog-gray);
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.featured-main-img img {
  max-height: 100%;
  object-fit: contain;
  transition: opacity 0.3s;
}

.featured-gallery-tools {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.featured-gallery-tools button {
  background: #fff;
  border: 1px solid var(--catalog-border);
  border-radius: 6px;
  padding: 0.45rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--catalog-muted);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  transition: all 0.2s;
}

.featured-gallery-tools button:hover {
  border-color: var(--catalog-navy);
  color: var(--catalog-navy);
}

.featured-info-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.featured-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--catalog-red);
  background: rgba(227, 30, 36, 0.08);
  padding: 0.3rem 0.65rem;
  border-radius: 4px;
}

.featured-actions {
  display: flex;
  gap: 0.5rem;
}

.featured-action-btn {
  background: #fff;
  border: 1px solid var(--catalog-border);
  border-radius: 6px;
  padding: 0.4rem 0.65rem;
  font-size: 0.8rem;
  color: var(--catalog-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: all 0.2s;
}

.featured-action-btn:hover {
  color: var(--catalog-red);
  border-color: var(--catalog-red);
}

.featured-title {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
  color: var(--catalog-navy);
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.featured-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  font-size: 0.82rem;
  color: var(--catalog-muted);
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--catalog-border);
}

.featured-meta strong {
  color: var(--catalog-text);
}

.featured-rating {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.featured-rating i {
  color: #f5a623;
  font-size: 0.75rem;
}

.featured-rating span {
  margin-left: 0.35rem;
}

.featured-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--catalog-muted);
  margin-bottom: 1.5rem;
}

.featured-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.spec-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.spec-icon {
  width: 36px;
  height: 36px;
  background: var(--catalog-gray);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--catalog-navy);
  flex-shrink: 0;
}

.spec-label {
  display: block;
  font-size: 0.72rem;
  color: var(--catalog-muted);
  margin-bottom: 0.1rem;
}

.spec-value {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--catalog-text);
}

.featured-btns-primary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.featured-btns-primary .btn {
  flex: 1;
  min-width: 180px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.featured-btns-secondary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.featured-btns-secondary .btn {
  flex: 1;
  min-width: 160px;
  justify-content: center;
}

/* Certifications */
.catalog-certifications {
  background: #fff;
}

.cert-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}

.cert-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  flex: 1;
}

.cert-logo-item {
  text-align: center;
  min-width: 90px;
}

.cert-logo-box {
  width: 72px;
  height: 72px;
  border: 1px solid var(--catalog-border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.5rem;
  background: #fff;
}

.cert-logo-box span {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--catalog-navy);
}

.cert-logo-item p {
  font-size: 0.72rem;
  color: var(--catalog-muted);
  margin: 0;
  max-width: 100px;
}

.cert-quality-card {
  display: flex;
  gap: 1rem;
  background: var(--catalog-gray);
  border-radius: 10px;
  padding: 1rem;
  max-width: 340px;
}

.cert-quality-img {
  width: 90px;
  height: 90px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.cert-quality-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cert-quality-text h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--catalog-navy);
  margin-bottom: 0.35rem;
}

.cert-quality-text p {
  font-size: 0.78rem;
  color: var(--catalog-muted);
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.cert-quality-text a {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--catalog-red);
  text-decoration: none;
}

.cert-quality-text a:hover {
  text-decoration: underline;
}

/* Catalog Listing */
.catalog-listing {
  background: var(--catalog-gray);
}

.catalog-listing-header {
  margin-bottom: 2rem;
}

.catalog-listing-header p {
  color: var(--catalog-muted);
  font-size: 0.9rem;
  max-width: 600px;
  margin: 0;
}

.catalog-sidebar {
  background: #fff;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  position: sticky;
  top: 90px;
}

.sidebar-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--catalog-border);
}

.sidebar-header i {
  color: var(--catalog-navy);
}

.sidebar-header h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--catalog-navy);
  margin: 0;
}

.sidebar-field {
  margin-bottom: 1.25rem;
}

.sidebar-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--catalog-text);
  margin-bottom: 0.4rem;
}

.sidebar-field .form-control {
  border: 1px solid var(--catalog-border);
  border-radius: 6px;
  font-size: 0.85rem;
  padding: 0.55rem 0.75rem;
}

.sidebar-field .form-control:focus {
  border-color: var(--catalog-navy);
  box-shadow: 0 0 0 3px rgba(26, 45, 90, 0.1);
}

.sidebar-group {
  margin-bottom: 1.25rem;
}

.sidebar-group h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--catalog-navy);
  margin-bottom: 0.65rem;
}

.sidebar-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--catalog-muted);
  margin-bottom: 0.45rem;
  cursor: pointer;
}

.sidebar-check input {
  accent-color: var(--catalog-navy);
}

.size-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.size-pill {
  background: #fff;
  border: 1px solid var(--catalog-border);
  border-radius: 50px;
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--catalog-muted);
  cursor: pointer;
  transition: all 0.2s;
}

.size-pill:hover,
.size-pill.active {
  background: var(--catalog-navy);
  color: #fff;
  border-color: var(--catalog-navy);
}

.catalog-grid-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  font-size: 0.85rem;
  color: var(--catalog-muted);
}

.grid-view-toggle {
  display: flex;
  gap: 0.25rem;
}

.view-btn {
  background: #fff;
  border: 1px solid var(--catalog-border);
  border-radius: 6px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--catalog-muted);
  cursor: pointer;
  transition: all 0.2s;
}

.view-btn.active,
.view-btn:hover {
  background: var(--catalog-navy);
  color: #fff;
  border-color: var(--catalog-navy);
}

.catalog-product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.catalog-product-grid.list-view {
  grid-template-columns: 1fr;
}

.catalog-product-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s, box-shadow 0.25s;
}

.catalog-product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.catalog-product-card .card-img {
  background: #e8ebf10a;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 187px;
}

.catalog-product-card .card-img img {
  max-height: 220px;
  object-fit: contain;
}

.catalog-product-card .card-body {
  padding: 1.15rem;
}

.catalog-product-card .card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.5rem;
}

.catalog-product-card .card-tag {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--catalog-navy);
  background: rgba(26, 45, 90, 0.08);
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
}

.catalog-product-card h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--catalog-navy);
  margin-bottom: 0.65rem;
  line-height: 1.35;
}

.catalog-product-card .card-specs {
  font-size: 0.75rem;
  color: var(--catalog-muted);
  margin-bottom: 1rem;
}

.catalog-product-card .card-specs div {
  display: flex;
  justify-content: space-between;
  padding: 0.25rem 0;
  border-bottom: 1px solid var(--catalog-border);
}

.catalog-product-card .card-specs div:last-child {
  border-bottom: none;
}

.catalog-product-card .card-specs strong {
  color: var(--catalog-text);
  font-weight: 600;
}

.catalog-product-card .card-btns {
  display: flex;
  gap: 0.5rem;
}

.catalog-product-card .card-btns .btn {
  flex: 1;
  font-size: 0.78rem;
  padding: 0.5rem 0.65rem;
}

.catalog-product-card .btn-datasheet {
  background: #fff;
  border: 1px solid var(--catalog-border);
  color: var(--catalog-text);
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.catalog-product-card .btn-datasheet:hover {
  border-color: var(--catalog-navy);
  color: var(--catalog-navy);
}

/* List view variant */
.catalog-product-grid.list-view .catalog-product-card {
  display: flex;
}

.catalog-product-grid.list-view .catalog-product-card .card-img {
  width: 200px;
  flex-shrink: 0;
  height: auto;
}

.catalog-product-grid.list-view .catalog-product-card .card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Pagination */
.catalog-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.35rem;
  margin-top: 2rem;
}

.page-btn,
.page-num {
  width: 36px;
  height: 36px;
  border: 1px solid var(--catalog-border);
  background: #fff;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--catalog-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.page-num.active,
.page-num:hover,
.page-btn:hover {
  background: var(--catalog-navy);
  color: #fff;
  border-color: var(--catalog-navy);
}

.page-dots {
  color: var(--catalog-muted);
  padding: 0 0.25rem;
}

/* Footer */
.catalog-footer {
  background: var(--catalog-navy-dark);
  color: rgba(255, 255, 255, 0.75);
}

.catalog-footer-brand {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.05;
  text-decoration: none;
  margin-bottom: 1rem;
}

.catalog-footer-about {
  font-size: 0.85rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.catalog-footer-heading {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #fff;
  margin-bottom: 1rem;
}

.catalog-footer-links a {
  display: block;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  margin-bottom: 0.45rem;
  transition: color 0.2s;
}

.catalog-footer-links a:hover {
  color: #fff;
}

.catalog-contact-list li {
  display: flex;
  gap: 0.65rem;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
  align-items: flex-start;
}

.catalog-contact-list i {
  color: var(--catalog-red);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.catalog-contact-list a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}

.catalog-contact-list a:hover {
  color: #fff;
}

.catalog-social {
  display: flex;
  gap: 0.65rem;
}

.catalog-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  transition: all 0.2s;
}

.catalog-social a:hover {
  background: var(--catalog-red);
  border-color: var(--catalog-red);
  color: #fff;
}

.catalog-footer-divider {
  border-color: rgba(255, 255, 255, 0.12);
  margin: 2rem 0 1.25rem;
}

.catalog-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
}

.catalog-footer-bottom p {
  margin: 0;
}

.catalog-footer-legal {
  display: flex;
  gap: 1.5rem;
}

.catalog-footer-legal a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
}

.catalog-footer-legal a:hover {
  color: #fff;
}

/* Responsive */
@media (max-width: 991.98px) {
  .catalog-nav-actions {
    flex-wrap: wrap;
    padding-top: 1rem;
    width: 100%;
  }

  .catalog-search {
    flex: 1;
    min-width: 0;
  }

  .catalog-hero-indicators {
    padding-left: 1rem;
  }

  .featured-gallery {
    flex-direction: column-reverse;
  }

  .featured-thumbs {
    flex-direction: row;
    overflow-x: auto;
  }

  .catalog-sidebar {
    position: static;
  }

  .cert-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .cert-quality-card {
    max-width: 100%;
    width: 100%;
  }
}

@media (max-width: 767.98px) {
  .catalog-product-grid {
    grid-template-columns: 1fr;
  }

  .featured-specs {
    grid-template-columns: 1fr;
  }

  .featured-btns-primary .btn,
  .featured-btns-secondary .btn {
    min-width: 100%;
  }

  .catalog-product-grid.list-view .catalog-product-card {
    flex-direction: column;
  }

  .catalog-product-grid.list-view .catalog-product-card .card-img {
    width: 100%;
  }

  .catalog-footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (min-width: 1200px) {
  .catalog-product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===================================================
   Need Help CTA Banner  — Professional Edition
   Typography: Times New Roman (body) · Poppins (headings)
   =================================================== */

/* ---------- Section shell ---------- */
.need-help-cta {
  position: relative;
  padding: 5rem 0 4.5rem;
  background: #0d1433;
  /* deep navy base */
  overflow: hidden;
}

/* ---------- Background layers ---------- */

/* 1. Faint product photo on the right */
.nh-bg-image {
  position: absolute;
  inset: 0;
  background: url('../images/slider/1.png') right center / 55% auto no-repeat;
  opacity: 0.09;
  pointer-events: none;
}

/* 2. Rich multi-stop gradient overlay */
.nh-bg-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 90% at 20% 50%, rgba(26, 45, 90, 0.95) 0%, transparent 70%),
    radial-gradient(ellipse 55% 75% at 75% 30%, rgba(80, 50, 200, 0.22) 0%, transparent 65%),
    radial-gradient(ellipse 40% 55% at 90% 80%, rgba(227, 30, 36, 0.12) 0%, transparent 60%),
    linear-gradient(125deg, #0d1433 0%, #141e4a 45%, #1a1050 100%);
  pointer-events: none;
}

/* 3. Subtle dot-grid texture */
.nh-bg-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

/* ---------- Layout ---------- */
.nh-layout {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 4rem;
}

/* ---------- Left content column ---------- */
.nh-content {
  flex: 1 1 420px;
  max-width: 560px;
}

/* Eye-brow label */
.nh-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #e31e24;
  background: rgba(227, 30, 36, 0.12);
  border: 1px solid rgba(227, 30, 36, 0.25);
  border-radius: 50px;
  padding: 0.35rem 0.9rem 0.35rem 0.7rem;
  margin-bottom: 1.4rem;
}

.nh-eyebrow i {
  font-size: 0.85rem;
}

/* Main heading — match index section-heading */
.nh-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 400;
  line-height: 1.2;
  color: #ffffff;
  margin: 0 0 1.4rem;
  letter-spacing: -0.01em;
}

/* Italic accent line inside heading */
.nh-heading em {
  font-style: italic;
  background: linear-gradient(90deg, #e88080 0%, #e31e24 55%, #ff6b6b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Short red divider rule */
.nh-divider {
  width: 52px;
  height: 3px;
  background: linear-gradient(90deg, #e31e24, rgba(227, 30, 36, 0.25));
  border-radius: 2px;
  margin-bottom: 1.4rem;
}

/* Body paragraph — Times New Roman */
.nh-body {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.78;
  color: rgba(255, 255, 255, 0.68);
  margin: 0 0 1.75rem;
  max-width: 460px;
}

/* Trust pills row */
.nh-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.nh-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50px;
  padding: 0.3rem 0.8rem;
  letter-spacing: 0.01em;
}

.nh-trust-pill i {
  color: #e31e24;
  font-size: 0.82rem;
}

/* ---------- Right actions column ---------- */
.nh-actions {
  flex: 0 0 360px;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

/* ---------- Individual button cards ---------- */
.nh-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem 1rem 1rem;
  border-radius: 12px;
  text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease;
  position: relative;
  overflow: hidden;
}

/* Hover shimmer sweep */
.nh-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.06) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.45s ease;
}

.nh-btn:hover::after {
  transform: translateX(100%);
}

/* Icon box */
.nh-btn-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  transition: transform 0.2s;
}

.nh-btn:hover .nh-btn-icon {
  transform: scale(1.1);
}

/* Text block */
.nh-btn-label {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.nh-btn-title {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.nh-btn-sub {
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 400;
  line-height: 1.3;
  opacity: 0.7;
}

/* Arrow icon */
.nh-btn-arrow {
  flex-shrink: 0;
  font-size: 1rem;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.2s, transform 0.2s;
}

.nh-btn:hover .nh-btn-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ---- Primary button (red fill) ---- */
.nh-btn--primary {
  background: linear-gradient(135deg, #e31e24 0%, #c4191f 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  box-shadow: 0 4px 20px rgba(227, 30, 36, 0.35);
}

.nh-btn--primary .nh-btn-icon {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.nh-btn--primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(227, 30, 36, 0.5);
}

/* ---- Ghost buttons (glass) ---- */
.nh-btn--ghost {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.nh-btn--ghost .nh-btn-icon {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.85);
}

.nh-btn--ghost:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3);
}

.nh-btn--ghost:hover .nh-btn-icon {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .nh-layout {
    flex-direction: column;
    gap: 2.5rem;
    text-align: center;
  }

  .nh-content {
    max-width: 100%;
  }

  .nh-body {
    max-width: 100%;
  }

  .nh-trust-row {
    justify-content: center;
  }

  .nh-divider {
    margin-left: auto;
    margin-right: auto;
  }

  .nh-actions {
    flex: 0 0 100%;
    max-width: 480px;
    width: 100%;
  }
}

@media (max-width: 575px) {
  .need-help-cta {
    padding: 3.5rem 0;
  }

  .nh-heading {
    font-size: clamp(1.7rem, 7vw, 2.25rem);
  }

  .nh-btn {
    padding: 0.85rem 1rem;
  }

  .nh-btn-icon {
    width: 40px;
    height: 40px;
    font-size: 1.15rem;
  }
}

/* ============================================
   Dark Mode Overrides for Product Catalog Page
   ============================================ */
[data-theme="dark"] .project-page {
  --catalog-navy: #ffffff;
  --catalog-navy-dark: #ffffff;
  --catalog-red: #ffffff;
  --catalog-red-hover: #e6e6e6;
  --catalog-gray: #1a1a1a;
  --catalog-border: #2d3748;
  --catalog-text: #ffffff;
  --catalog-muted: #ffffff;
  background: #121212;
}

[data-theme="dark"] .catalog-header {
  background: #1a1a1a;
  border-bottom-color: var(--catalog-border);
}

[data-theme="dark"] .catalog-navbar .nav-link {
  color: var(--catalog-text);
}

[data-theme="dark"] .catalog-navbar .nav-link:hover,
[data-theme="dark"] .catalog-navbar .nav-link.active {
  color: var(--catalog-red);
}

[data-theme="dark"] .catalog-search {
  background: #2d3748;
}

[data-theme="dark"] .catalog-search input {
  color: var(--catalog-text);
}

[data-theme="dark"] .catalog-icon-btn {
  color: var(--catalog-text);
}

[data-theme="dark"] .catalog-portfolio {
  background: #121212;
}

[data-theme="dark"] .portfolio-card {
  background: #1a1a1a;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .portfolio-card:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .featured-product-card {
  background: #1a1a1a;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .featured-thumb {
  background: #2d3748;
}

[data-theme="dark"] .featured-main-img {
  background: #2d3748;
}

[data-theme="dark"] .featured-gallery-tools button {
  background: #1a1a1a;
  border-color: var(--catalog-border);
  color: var(--catalog-muted);
}

[data-theme="dark"] .featured-gallery-tools button:hover {
  border-color: var(--catalog-navy);
  color: var(--catalog-navy);
}

[data-theme="dark"] .featured-action-btn {
  background: #1a1a1a;
  border-color: var(--catalog-border);
  color: var(--catalog-muted);
}

[data-theme="dark"] .featured-action-btn:hover {
  color: var(--catalog-red);
  border-color: var(--catalog-red);
}

[data-theme="dark"] .spec-icon {
  background: #2d3748;
  color: var(--catalog-navy);
}

[data-theme="dark"] .featured-btns-primary .btn-catalog-navy {
  background: var(--catalog-navy);
  color: #121212;
}

[data-theme="dark"] .featured-btns-primary .btn-catalog-navy:hover {
  background: var(--catalog-navy-dark);
  color: #ffffff;
}

[data-theme="dark"] .btn-catalog-light {
  background: #2d3748;
  border-color: var(--catalog-border);
  color: var(--catalog-text);
}

[data-theme="dark"] .btn-catalog-light:hover {
  background: #1a1a1a;
  border-color: var(--catalog-navy);
  color: var(--catalog-navy);
}

[data-theme="dark"] .catalog-certifications {
  background: #121212;
}

[data-theme="dark"] .cert-logo-box {
  background: #1a1a1a;
  border-color: var(--catalog-border);
}

[data-theme="dark"] .cert-quality-card {
  background: #1a1a1a;
}

[data-theme="dark"] .catalog-sidebar {
  background: #1a1a1a;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .sidebar-header {
  border-bottom-color: var(--catalog-border);
}

[data-theme="dark"] .sidebar-field .form-control {
  background: #2d3748;
  border-color: var(--catalog-border);
  color: var(--catalog-text);
}

[data-theme="dark"] .sidebar-field .form-control::placeholder {
  color: var(--catalog-muted);
}

[data-theme="dark"] .size-pill {
  background: #1a1a1a;
  border-color: var(--catalog-border);
  color: var(--catalog-muted);
}

[data-theme="dark"] .view-btn {
  background: #1a1a1a;
  border-color: var(--catalog-border);
  color: var(--catalog-muted);
}

[data-theme="dark"] .catalog-product-card {
  background: #1a1a1a;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .catalog-product-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .catalog-product-card .card-img {
  background: #2d3748;
}

[data-theme="dark"] .catalog-product-card .card-tag {
  background: rgba(126, 200, 200, 0.15);
  color: var(--catalog-navy);
}

[data-theme="dark"] .catalog-product-card .card-specs div {
  border-bottom-color: var(--catalog-border);
}

[data-theme="dark"] .catalog-product-card .btn-datasheet {
  background: #1a1a1a;
  border-color: var(--catalog-border);
  color: var(--catalog-text);
}

[data-theme="dark"] .catalog-product-card .btn-datasheet:hover {
  border-color: var(--catalog-navy);
  color: var(--catalog-navy);
}

[data-theme="dark"] .page-btn,
[data-theme="dark"] .page-num {
  background: #1a1a1a;
  border-color: var(--catalog-border);
  color: var(--catalog-muted);
}

/* Force high contrast black-on-white text for main buttons in dark mode */
[data-theme="dark"] .project-page .btn-catalog-red,
[data-theme="dark"] .project-page .btn-catalog-navy {
  color: #000000 !important;
}

/* Adjust star ratings to match black/white constraints */
.project-page .featured-rating i {
  color: #000000 !important;
}

[data-theme="dark"] .project-page .featured-rating i {
  color: #ffffff !important;
}