﻿:root {
  --bhs-orange: #e95420;
  --bhs-orange-dark: #c74618;
}

html { font-size: 14px; }
@media (min-width: 768px) { html { font-size: 16px; } }

body {
  padding-top: 4.5rem;
  padding-bottom: 1.5rem;
  background: #fff;
}

.bhs-navbar {
  background-color: var(--bhs-orange) !important;
}

.bhs-navbar .logo {
  height: 50px;
  width: 50px;
  object-fit: contain;
  display: block;
  margin-right: .35rem;
}

.bhs-navbar .nav-link,
.bhs-navbar .navbar-brand,
.bhs-navbar .btn-link {
  color: #fff !important;
}

.bhs-navbar .dropdown-menu {
  border: none;
}

a { color: var(--bhs-orange); }
a:hover { color: var(--bhs-orange-dark); }

.body-content { padding-top: 1rem; }

.catalog-card h3,
.catalog-card h4 {
  color: var(--bhs-orange);
  font-size: 1.15rem;
  margin-top: 1rem;
}

.catalog-card img {
  max-width: 100%;
  border-radius: .35rem;
}

.breadcrumb {
  margin-bottom: 1.15rem;
  --bs-breadcrumb-divider-color: #bbb;
}

.breadcrumb a { text-decoration: none; }

.breadcrumb-item.active,
.breadcrumb-item.active a {
  color: #555;
}

/* Catalog grids (categories / subcategories) */
.catalog-page {
  max-width: 72rem;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr));
  gap: 1rem;
}

.catalog-grid-sub {
  grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));
}

.catalog-tile {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: linear-gradient(180deg, #fff 0%, #fafafa 100%);
  border: 1px solid #e6e6e6;
  border-radius: .55rem;
  overflow: hidden;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.catalog-tile:hover {
  color: inherit;
  border-color: color-mix(in srgb, var(--bhs-orange) 55%, #e6e6e6);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
  transform: translateY(-2px);
}

.catalog-tile-media {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  padding: .85rem;
  background: #fff;
}

.catalog-tile-media img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.catalog-tile-title {
  display: block;
  padding: .7rem .75rem .85rem;
  text-align: center;
  font-size: .95rem;
  font-weight: 600;
  color: #2a2a2a;
  line-height: 1.35;
  border-top: 1px solid #f0f0f0;
}

/* Product list (subcategory detail) */
.product-list-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.product-list-thumb {
  width: 4.5rem;
  height: 4.5rem;
  object-fit: contain;
  border-radius: .45rem;
  border: 1px solid #e6e6e6;
  background: #fff;
  flex-shrink: 0;
}

.product-list-heading {
  min-width: 0;
}

.product-table {
  --bs-table-bg: transparent;
  border: 1px solid #e6e6e6;
  border-radius: .5rem;
  overflow: hidden;
  margin-bottom: 0;
  vertical-align: middle;
}

.product-table thead th {
  background: #f7f7f7;
  color: #444;
  font-weight: 600;
  border-bottom-color: #e6e6e6;
  padding: .85rem 1rem;
}

.product-table tbody td {
  padding: .95rem 1rem;
  border-color: #efefef;
}

.product-table tbody tr.product-row {
  cursor: pointer;
  transition: background-color .15s ease;
}

.product-table tbody tr.product-row:hover,
.product-table tbody tr.product-row:focus-within {
  background: color-mix(in srgb, var(--bhs-orange) 8%, #fff);
}

.product-table tbody tr.product-row:focus {
  outline: 2px solid color-mix(in srgb, var(--bhs-orange) 55%, transparent);
  outline-offset: -2px;
}

.product-table tbody tr:hover {
  background: color-mix(in srgb, var(--bhs-orange) 5%, #fff);
}

.product-name {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #222;
  line-height: 1.35;
}

.product-sku {
  margin: .2rem 0 0;
  color: #888;
  font-size: .85rem;
}

.product-specs {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}

.product-spec {
  display: inline-flex;
  flex-direction: column;
  gap: .1rem;
  min-width: 5.5rem;
  padding: .4rem .55rem;
  border-radius: .35rem;
  background: #f6f6f6;
  border: 1px solid #ececec;
}

.product-spec-label {
  font-size: .72rem;
  color: #888;
  letter-spacing: .02em;
}

.product-spec-value {
  font-size: .9rem;
  font-weight: 600;
  color: #333;
}

.product-cards {
  display: grid;
  gap: .85rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: .85rem;
  padding: 1rem;
  background: linear-gradient(180deg, #fff 0%, #fafafa 100%);
  border: 1px solid #e6e6e6;
  border-radius: .55rem;
}

.product-card-link {
  text-decoration: none;
  color: inherit;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.product-card-link:hover {
  color: inherit;
  border-color: color-mix(in srgb, var(--bhs-orange) 55%, #e6e6e6);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
  transform: translateY(-1px);
}

.product-card-action {
  align-self: stretch;
  pointer-events: none;
}

.product-notes {
  margin-top: 1.75rem;
  display: grid;
  gap: 1rem;
}

.product-note {
  padding: 1.15rem 1.2rem;
  background: linear-gradient(180deg, #fff 0%, #fafafa 100%);
  border: 1px solid #e6e6e6;
  border-left: 3px solid var(--bhs-orange);
  border-radius: .45rem;
}

.product-note-title {
  margin: 0 0 .55rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #222;
}

.product-note-body {
  margin: 0;
  color: #444;
  font-size: .98rem;
  line-height: 1.75;
}

@media (max-width: 575.98px) {
  .product-list-header {
    align-items: flex-start;
  }

  .product-list-thumb {
    width: 3.75rem;
    height: 3.75rem;
  }
}

/* Home carousel: full-bleed, fade rotation under fixed navbar */
.body-content-home {
  padding-top: 0;
  padding-left: 0;
  padding-right: 0;
  max-width: none;
}

.body-content-home #myCarousel {
  width: 100%;
  height: calc(100dvh - 4.5rem);
  margin-bottom: 0 !important;
  background: #fff;
}

.body-content-home #myCarousel .carousel-inner,
.body-content-home #myCarousel .carousel-item {
  height: 100%;
}

.body-content-home #myCarousel .carousel-item > a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.body-content-home #myCarousel .carousel-inner > .carousel-item > a > img,
.body-content-home #myCarousel .carousel-inner > .carousel-item > img {
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  margin: auto;
  display: block;
}

/* Smooth crossfade timing */
#myCarousel.carousel-fade .carousel-item {
  transition: opacity .9s ease-in-out;
}

/* Modern pill/dot indicators (visible on white product photos) */
#myCarousel .carousel-indicators {
  margin-bottom: 1.25rem;
  gap: .45rem;
}

#myCarousel .carousel-indicators [data-bs-target] {
  width: .55rem;
  height: .55rem;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, .28);
  opacity: 1;
  transition: transform .2s ease, background-color .2s ease, width .2s ease;
}

#myCarousel .carousel-indicators .active {
  width: 1.35rem;
  border-radius: 999px;
  background-color: var(--bhs-orange);
  transform: none;
}

/* Circular prev/next controls */
#myCarousel .carousel-control-prev,
#myCarousel .carousel-control-next {
  width: 3.25rem;
  opacity: 1;
}

#myCarousel .carousel-control-prev-icon,
#myCarousel .carousel-control-next-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, .92);
  background-size: 55% 55%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .18);
  filter: none;
}

#myCarousel .carousel-control-prev-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23e95420'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}

#myCarousel .carousel-control-next-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23e95420'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

#myCarousel .carousel-control-prev:hover .carousel-control-prev-icon,
#myCarousel .carousel-control-next:hover .carousel-control-next-icon {
  background-color: #fff;
  box-shadow: 0 3px 14px rgba(233, 84, 32, .35);
}

@media (max-width: 767.98px) {
  #myCarousel .carousel-control-prev,
  #myCarousel .carousel-control-next {
    width: 2.75rem;
  }

  #myCarousel .carousel-control-prev-icon,
  #myCarousel .carousel-control-next-icon {
    width: 2.1rem;
    height: 2.1rem;
  }
}

.carousel-inner > .carousel-item > a > img,
.carousel-inner > .carousel-item > img {
  width: 100%;
  height: auto;
  margin: auto;
  display: block;
}

.hero-fallback {
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e95420, #f4a27a);
  color: #fff;
  border-radius: .35rem;
}

footer { color: #666; font-size: .9rem; }

/* Cases page */
.cases-intro {
  max-width: 52rem;
  margin: 0 auto 1.75rem;
  padding: 1.25rem 1rem 0;
}

.cases-lead {
  color: #333;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.cases-sub {
  color: #555;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 0;
}

.cases-grid {
  margin-bottom: 1.5rem;
}

.case-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  padding: .5rem .5rem 1rem;
  text-decoration: none;
  color: inherit;
}

.case-tile:hover {
  color: inherit;
}

.case-tile:hover .case-title {
  color: var(--bhs-orange-dark);
}

.case-title {
  color: var(--bhs-orange);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.35;
  min-height: 2.7em;
  margin: 0 0 .75rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-img {
  display: block;
  width: min(100%, 240px);
  height: auto;
  aspect-ratio: 157 / 129;
  object-fit: contain;
  margin: 0 auto;
  border: 1px solid #ddd;
  padding: .25rem;
  background: #fff;
}

/* Case detail applications */
.case-detail-crumb {
  margin-bottom: .75rem;
  background: transparent;
  padding: 0;
}

.case-detail-header {
  margin-bottom: 1.5rem;
  padding-bottom: .85rem;
  border-bottom: 2px solid var(--bhs-orange);
}

.case-detail-header h1 {
  margin: 0;
  font-size: clamp(1.5rem, 2.2vw, 1.85rem);
  font-weight: 700;
  color: #222;
  letter-spacing: .02em;
}

.case-apps {
  margin-bottom: 1.5rem;
}

.case-app {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1rem;
  align-items: start;
  height: 100%;
  padding: 1rem;
  background:
    linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
  border: 1px solid #e6e6e6;
  border-radius: .4rem;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.case-app:hover {
  border-color: color-mix(in srgb, var(--bhs-orange) 55%, #e6e6e6);
  box-shadow: 0 .35rem 1rem rgba(0, 0, 0, .06);
  transform: translateY(-2px);
}

.case-app-img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: .3rem;
  display: block;
  background: #f0f0f0;
}

.case-app-body {
  min-width: 0;
}

.case-app-title {
  margin: 0 0 .65rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: #222;
  line-height: 1.3;
}

.case-app-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem .5rem;
}

.case-app-links a {
  display: inline-block;
  padding: .28rem .55rem;
  font-size: .9rem;
  line-height: 1.2;
  text-decoration: none;
  color: var(--bhs-orange);
  background: color-mix(in srgb, var(--bhs-orange) 10%, #fff);
  border: 1px solid color-mix(in srgb, var(--bhs-orange) 28%, #fff);
  border-radius: .25rem;
  transition: background .15s ease, color .15s ease;
}

.case-app-links a:hover {
  background: var(--bhs-orange);
  color: #fff;
  border-color: var(--bhs-orange);
}

@media (max-width: 575.98px) {
  .case-app {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .case-app-links {
    justify-content: center;
  }
}

/* Shared page chrome */
.page-header {
  margin: .25rem 0 1.5rem;
  padding-bottom: .85rem;
  border-bottom: 2px solid var(--bhs-orange);
}

.page-header h1 {
  margin: 0;
  font-size: clamp(1.5rem, 2.2vw, 1.85rem);
  font-weight: 700;
  color: #222;
}

.page-header-sub {
  margin: .4rem 0 0;
  color: #666;
  font-size: .98rem;
}

.btn-bhs {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--bhs-orange);
  --bs-btn-border-color: var(--bhs-orange);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--bhs-orange-dark);
  --bs-btn-hover-border-color: var(--bhs-orange-dark);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--bhs-orange-dark);
  --bs-btn-active-border-color: var(--bhs-orange-dark);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #d08a70;
  --bs-btn-disabled-border-color: #d08a70;
}

.btn-bhs-outline {
  --bs-btn-color: var(--bhs-orange);
  --bs-btn-bg: transparent;
  --bs-btn-border-color: var(--bhs-orange);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--bhs-orange);
  --bs-btn-hover-border-color: var(--bhs-orange);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--bhs-orange-dark);
  --bs-btn-active-border-color: var(--bhs-orange-dark);
}

/* FAQ search */
.faq-search {
  margin: 0 0 1.15rem;
}

.faq-search-bar {
  display: flex;
  gap: .65rem;
  align-items: center;
}

.faq-search-input {
  flex: 1 1 auto;
  padding: .7rem .95rem;
  font-size: 1rem;
  border-color: #ddd;
  box-shadow: none;
}

.faq-search-input:focus {
  border-color: var(--bhs-orange);
  box-shadow: 0 0 0 .2rem color-mix(in srgb, var(--bhs-orange) 22%, transparent);
}

.faq-search-clear {
  white-space: nowrap;
}

.faq-search-meta {
  margin: .55rem 0 0;
  color: #777;
  font-size: .9rem;
}

.faq-empty {
  margin: 0 0 1rem;
  padding: 1.15rem 1.25rem;
  color: #555;
  background: #fafafa;
  border: 1px dashed #ddd;
  border-radius: .4rem;
}

.faq-empty p {
  margin: 0;
}

.faq-item[hidden] {
  display: none !important;
}

/* FAQ accordion */
.faq-accordion {
  --bs-accordion-border-color: #e6e6e6;
  --bs-accordion-btn-focus-box-shadow: 0 0 0 .2rem color-mix(in srgb, var(--bhs-orange) 25%, transparent);
  --bs-accordion-active-color: #222;
  --bs-accordion-active-bg: color-mix(in srgb, var(--bhs-orange) 10%, #fff);
  --bs-accordion-btn-color: #222;
  margin-bottom: 1.5rem;
}

.faq-item {
  border-radius: .4rem !important;
  overflow: hidden;
  margin-bottom: .65rem;
  border: 1px solid #e6e6e6 !important;
  background: #fff;
}

.faq-item .accordion-button {
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.45;
  padding: 1rem 1.15rem;
}

.faq-item .accordion-button:not(.collapsed) {
  box-shadow: none;
}

.faq-answer {
  color: #333;
  line-height: 1.7;
  font-size: .98rem;
}

.faq-answer a {
  font-weight: 600;
}

/* Resource download cards */
.resource-grid {
  margin-bottom: 1.5rem;
}

.resource-card {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  height: 100%;
  padding: 1.35rem 1.2rem;
  text-decoration: none;
  color: inherit;
  background: linear-gradient(180deg, #fff 0%, #fafafa 100%);
  border: 1px solid #e6e6e6;
  border-radius: .4rem;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.resource-card:hover {
  color: inherit;
  border-color: color-mix(in srgb, var(--bhs-orange) 55%, #e6e6e6);
  box-shadow: 0 .35rem 1rem rgba(0, 0, 0, .06);
  transform: translateY(-2px);
}

.resource-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: .35rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--bhs-orange);
  background: color-mix(in srgb, var(--bhs-orange) 12%, #fff);
  border: 1px solid color-mix(in srgb, var(--bhs-orange) 30%, #fff);
  border-radius: .3rem;
}

.resource-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #222;
}

.resource-card-desc {
  color: #666;
  font-size: .92rem;
}

/* Contact panels */
.contact-panel {
  display: grid;
  grid-template-columns: minmax(160px, 220px) 1fr;
  gap: 1.75rem;
  align-items: center;
  max-width: 48rem;
  margin: 0 0 1.5rem;
  padding: 1.5rem;
  background: linear-gradient(180deg, #fff 0%, #fafafa 100%);
  border: 1px solid #e6e6e6;
  border-radius: .45rem;
}

.contact-panel-single {
  grid-template-columns: 1fr;
  max-width: 36rem;
}

.contact-logo {
  display: block;
  width: 100%;
  max-width: 200px;
  height: auto;
  margin: 0 auto;
}

.contact-logo-fw {
  max-width: 240px;
  object-fit: contain;
}

.contact-section-title {
  margin: 0 0 .75rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: #222;
}

.contact-line {
  margin: 0 0 .35rem;
  color: #333;
  line-height: 1.55;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 1.15rem;
}

@media (max-width: 767.98px) {
  .contact-panel {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .contact-actions {
    justify-content: center;
  }
}

/* Search */
.search-panel {
  margin-bottom: 1.5rem;
}

.search-hint {
  margin: .55rem 0 0;
  color: #777;
  font-size: .9rem;
}

.search-bar {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  align-items: center;
}

.search-input {
  flex: 1 1 16rem;
  min-width: 12rem;
  max-width: 28rem;
  padding: .65rem .85rem;
}

.search-results-meta {
  color: #666;
  margin-bottom: .75rem;
}

.search-table {
  --bs-table-bg: transparent;
  border: 1px solid #e6e6e6;
  border-radius: .4rem;
  overflow: hidden;
}

.search-table thead th {
  background: #f7f7f7;
  color: #444;
  font-weight: 600;
  border-bottom-color: #e6e6e6;
}

.search-sku {
  font-weight: 600;
  white-space: nowrap;
}

.search-empty {
  padding: 1.5rem;
  border: 1px dashed #ddd;
  border-radius: .4rem;
  background: #fafafa;
}

.search-empty p {
  margin-bottom: .85rem;
  color: #555;
}

/* Data sheets */
.datasheet-legend {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin: -.35rem 0 1.25rem;
  color: #666;
  font-size: .92rem;
}

.datasheet-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.1rem;
  height: 1.35rem;
  padding: 0 .4rem;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--bhs-orange);
  background: color-mix(in srgb, var(--bhs-orange) 12%, #fff);
  border: 1px solid color-mix(in srgb, var(--bhs-orange) 28%, #fff);
  border-radius: .2rem;
}

.datasheet-grid {
  margin-bottom: 1.5rem;
}

.datasheet-group {
  height: 100%;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e4e4e4;
  border-radius: .5rem;
  box-shadow: 0 .15rem .6rem rgba(0, 0, 0, .03);
}

.datasheet-group-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .75rem;
  padding: .95rem 1.15rem;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--bhs-orange) 12%, #fff) 0%, #fff 70%);
  border-bottom: 1px solid color-mix(in srgb, var(--bhs-orange) 22%, #eee);
}

.datasheet-group-head h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: #222;
}

.datasheet-group-head span {
  color: #777;
  font-size: .82rem;
  white-space: nowrap;
}

.datasheet-block {
  padding: 1rem 1.15rem;
  border-bottom: 1px solid #f1f1f1;
}

.datasheet-block:last-child {
  border-bottom: 0;
}

.datasheet-block h3 {
  margin: 0 0 .65rem;
  font-size: .98rem;
  font-weight: 600;
  color: #2a2a2a;
}

.datasheet-docs {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}

.datasheet-doc {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .32rem .55rem;
  font-size: .86rem;
  line-height: 1.2;
  text-decoration: none;
  color: #333;
  background: #f7f7f7;
  border: 1px solid #e5e5e5;
  border-radius: .28rem;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.datasheet-doc span {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .03em;
  color: var(--bhs-orange);
}

.datasheet-doc:hover {
  color: #fff;
  background: var(--bhs-orange);
  border-color: var(--bhs-orange);
}

.datasheet-doc:hover span {
  color: #fff;
}

/* Inquiry form */
.inquiry-form {
  max-width: 52rem;
  margin-bottom: 1.5rem;
}

.inquiry-section {
  margin-bottom: 1.15rem;
  padding: 1.25rem 1.35rem 1.4rem;
  background: linear-gradient(180deg, #fff 0%, #fafafa 100%);
  border: 1px solid #e6e6e6;
  border-radius: .45rem;
}

.inquiry-section-title {
  margin: 0 0 1rem;
  padding-bottom: .55rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: #222;
  border-bottom: 2px solid var(--bhs-orange);
}

.inquiry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.15rem;
}

.inquiry-field label {
  display: block;
  margin-bottom: .35rem;
  font-weight: 600;
  color: #333;
  font-size: .92rem;
}

.inquiry-field .form-control {
  padding: .65rem .8rem;
}

.inquiry-field .form-control:focus {
  border-color: var(--bhs-orange);
  box-shadow: 0 0 0 .2rem color-mix(in srgb, var(--bhs-orange) 22%, transparent);
}

.inquiry-field-wide {
  grid-column: 1 / -1;
}

.inquiry-checks {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.25rem;
  margin-bottom: 1rem;
}

.inquiry-check {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin: 0;
  font-weight: 500;
  color: #333;
  cursor: pointer;
}

.inquiry-check input {
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--bhs-orange);
}

.inquiry-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: .35rem;
}

.inquiry-alert {
  margin: 0 0 1rem;
  padding: .9rem 1.1rem;
  border-radius: .4rem;
}

.inquiry-alert-success {
  color: #1f5c2e;
  background: #eaf7ee;
  border: 1px solid #c9e8d1;
}

.inquiry-alert-error:empty {
  display: none;
}

.inquiry-alert-error {
  color: #842029;
  background: #f8d7da;
  border: 1px solid #f1aeb5;
}

.inquiry-context {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin: 0 0 1.25rem;
  padding: 1rem 1.15rem;
  background: linear-gradient(180deg, #fff 0%, #fafafa 100%);
  border: 1px solid #e6e6e6;
  border-left: 3px solid var(--bhs-orange);
  border-radius: .45rem;
}

.inquiry-context-thumb {
  width: 4.25rem;
  height: 4.25rem;
  object-fit: contain;
  border: 1px solid #e6e6e6;
  border-radius: .4rem;
  background: #fff;
  flex-shrink: 0;
}

.inquiry-context-label {
  margin: 0 0 .2rem;
  font-size: .82rem;
  color: #888;
}

.inquiry-context-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: #222;
}

.inquiry-context-meta {
  margin: .25rem 0 0;
  color: #666;
  font-size: .92rem;
}

.inquiry-context-link {
  display: inline-block;
  margin-top: .45rem;
  font-size: .9rem;
  text-decoration: none;
}

@media (max-width: 767.98px) {
  .inquiry-grid {
    grid-template-columns: 1fr;
  }

  .inquiry-field-wide {
    grid-column: auto;
  }
}

/* Product detail */
.product-detail-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.product-inquiry-hint {
  flex: 1 0 100%;
  order: 3;
  margin: 0;
  padding: .55rem .75rem;
  font-size: .9rem;
  line-height: 1.45;
  color: #666;
  background: color-mix(in srgb, var(--bhs-orange) 8%, #fff);
  border: 1px solid color-mix(in srgb, var(--bhs-orange) 22%, #eee);
  border-radius: .35rem;
}

.product-inquiry-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin: 0 0 1.25rem;
  padding: .85rem 1rem;
  background: color-mix(in srgb, var(--bhs-orange) 8%, #fff);
  border: 1px solid color-mix(in srgb, var(--bhs-orange) 28%, #eee);
  border-radius: .45rem;
}

.product-inquiry-inline[hidden],
.product-inquiry-follow[hidden] {
  display: none !important;
}

.product-inquiry-inline-text,
.product-inquiry-follow-text {
  color: #444;
  font-size: .95rem;
  line-height: 1.4;
}

.product-inquiry-inline-text strong,
.product-inquiry-follow-text strong {
  color: var(--bhs-orange-dark);
  margin-right: .35rem;
}

.product-inquiry-follow {
  position: sticky;
  bottom: .85rem;
  z-index: 30;
  margin-top: 1rem;
}

.product-inquiry-follow-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .85rem 1rem;
  background: rgba(255, 255, 255, .96);
  border: 1px solid color-mix(in srgb, var(--bhs-orange) 35%, #e6e6e6);
  border-radius: .55rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
}

.product-sku-label {
  margin-right: .35rem;
  color: #888;
}

.product-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(12rem, 18rem) minmax(0, 1fr);
  gap: 1.5rem 1.75rem;
  align-items: start;
}

.product-detail-media {
  position: sticky;
  top: 5.5rem;
}

.product-detail-image-link {
  display: block;
  border: 1px solid #e6e6e6;
  border-radius: .55rem;
  background: #fff;
  overflow: hidden;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.product-detail-image-link:hover {
  border-color: color-mix(in srgb, var(--bhs-orange) 50%, #e6e6e6);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
}

.product-detail-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  aspect-ratio: 1;
  padding: .85rem;
}

.product-detail-image-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  border: 1px dashed #ddd;
  border-radius: .55rem;
  background: #fafafa;
  color: #888;
}

.product-detail-section {
  margin-bottom: 1.35rem;
  padding: 1.1rem 1.2rem;
  background: linear-gradient(180deg, #fff 0%, #fafafa 100%);
  border: 1px solid #e6e6e6;
  border-radius: .5rem;
}

.product-detail-section-title {
  margin: 0 0 .85rem;
  padding-bottom: .5rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #222;
  border-bottom: 2px solid var(--bhs-orange);
}

.product-color-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(5.5rem, 1fr));
  gap: .75rem;
}

.product-color {
  margin: 0;
  padding: .35rem;
  text-align: center;
  border: 1px solid transparent;
  border-radius: .4rem;
  background: transparent;
  cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}

.product-color:hover {
  border-color: #e0e0e0;
  background: #fafafa;
}

.product-color.is-selected,
.product-color[aria-pressed="true"] {
  border-color: var(--bhs-orange);
  background: color-mix(in srgb, var(--bhs-orange) 8%, #fff);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--bhs-orange) 35%, transparent);
}

.product-color img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  border: 1px solid #e6e6e6;
  border-radius: .35rem;
  background: #fff;
  padding: .25rem;
  display: block;
}

.product-color-name,
.product-color figcaption {
  display: block;
  margin-top: .35rem;
  font-size: .82rem;
  color: #555;
}

.product-pack-row {
  cursor: pointer;
  transition: background-color .15s ease;
}

.product-pack-row.is-selected,
.product-pack-row[aria-pressed="true"] {
  background: color-mix(in srgb, var(--bhs-orange) 10%, #fff);
}

.product-pack-row:hover {
  background: color-mix(in srgb, var(--bhs-orange) 6%, #fff);
}

.product-pack-table {
  --bs-table-bg: transparent;
  margin-bottom: 0;
  border: 1px solid #e6e6e6;
  border-radius: .4rem;
  overflow: hidden;
}

.product-pack-table thead th {
  background: #f7f7f7;
  font-weight: 600;
  color: #444;
}

.product-pack-price {
  font-weight: 600;
  white-space: nowrap;
}

.product-spec-list {
  margin: 0;
}

.product-spec-row {
  display: grid;
  grid-template-columns: minmax(6rem, 10rem) minmax(0, 1fr);
  gap: .5rem 1rem;
  padding: .55rem 0;
  border-bottom: 1px solid #f0f0f0;
}

.product-spec-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.product-spec-row:first-child {
  padding-top: 0;
}

.product-spec-row dt {
  margin: 0;
  font-weight: 600;
  color: #666;
  font-size: .92rem;
}

.product-spec-row dd {
  margin: 0;
  color: #222;
}

.product-detail-desc {
  margin: 0;
  color: #444;
  line-height: 1.7;
}

/* Content articles (HtmlView, About, etc.) */
.content-article {
  max-width: 48rem;
}

.content-figure {
  margin: 0 0 1.25rem;
  border: 1px solid #e6e6e6;
  border-radius: .55rem;
  overflow: hidden;
  background: #fff;
}

.content-figure img {
  display: block;
  width: 100%;
  max-height: 22rem;
  object-fit: contain;
  background: #fafafa;
}

.content-lead {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #333;
  margin-bottom: 1rem;
}

.content-article p {
  color: #444;
  line-height: 1.75;
}

.content-section-title {
  margin: 1.5rem 0 .85rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: #222;
  padding-bottom: .45rem;
  border-bottom: 2px solid var(--bhs-orange);
}

.content-checklist {
  margin: 0 0 1.25rem;
  padding-left: 1.15rem;
  color: #333;
  line-height: 1.7;
}

.content-checklist li {
  margin-bottom: .4rem;
}

.content-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 1.25rem;
}

/* Status / error pages */
.status-page {
  max-width: 36rem;
  margin: 1rem auto 2rem;
}

.status-panel {
  padding: 1.25rem 1.35rem;
  background: linear-gradient(180deg, #fff 0%, #fafafa 100%);
  border: 1px solid #e6e6e6;
  border-radius: .5rem;
}

.status-panel p {
  color: #444;
  line-height: 1.7;
}

.status-meta {
  font-size: .9rem;
  color: #666;
}

/* Admin list pages */
.admin-page .page-header {
  margin-bottom: 1rem;
}

.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-bottom: 1rem;
}

.admin-table {
  --bs-table-bg: transparent;
  border: 1px solid #e6e6e6;
  border-radius: .5rem;
  overflow: hidden;
  vertical-align: middle;
}

.admin-table thead th {
  background: #f7f7f7;
  color: #444;
  font-weight: 600;
  border-bottom-color: #e6e6e6;
  white-space: nowrap;
}

.admin-table img.admin-thumb {
  width: 4.5rem;
  height: 4.5rem;
  object-fit: contain;
  border: 1px solid #e6e6e6;
  border-radius: .35rem;
  background: #fff;
  padding: .15rem;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  justify-content: flex-end;
}

.admin-form {
  max-width: 40rem;
}

.admin-form .form-group,
.admin-form .mb-3 {
  margin-bottom: 1rem;
}

footer.site-footer {
  margin-top: 1.5rem;
  padding-top: .25rem;
  color: #888;
  font-size: .88rem;
}

footer.site-footer p {
  margin: 0;
}

/* PagedList / Bootstrap pagination */
.pagination {
  --bs-pagination-active-bg: var(--bhs-orange);
  --bs-pagination-active-border-color: var(--bhs-orange);
  --bs-pagination-color: var(--bhs-orange);
  --bs-pagination-hover-color: var(--bhs-orange-dark);
  margin-top: .75rem;
}

@media (max-width: 991.98px) {
  .product-detail {
    grid-template-columns: 1fr;
  }

  .product-detail-media {
    position: static;
    max-width: 16rem;
  }
}

@media (max-width: 575.98px) {
  .product-spec-row {
    grid-template-columns: 1fr;
    gap: .15rem;
  }

  .product-detail-media {
    max-width: none;
  }
}

/* Login */
.login-panel {
  max-width: 26rem;
  margin: 0 0 2rem;
  padding: 1.5rem 1.35rem 1.25rem;
  border: 1px solid #e8e0db;
  border-radius: .5rem;
  background: linear-gradient(180deg, #fffaf7 0%, #fff 55%);
}

.login-form {
  display: grid;
  gap: 1rem;
}

.login-field label {
  display: block;
  margin-bottom: .35rem;
  font-weight: 600;
  color: #333;
}

.login-field .form-control {
  border-color: #d9cfc8;
}

.login-field .form-control:focus {
  border-color: var(--bhs-orange);
  box-shadow: 0 0 0 .2rem rgba(233, 84, 32, .15);
}

.login-remember {
  margin-top: -.15rem;
}

.login-check {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin: 0;
  font-weight: 500;
  color: #444;
  cursor: pointer;
}

.login-actions {
  margin-top: .25rem;
}

.login-submit {
  width: 100%;
  padding: .65rem 1rem;
  font-weight: 600;
}

.login-help {
  margin: .15rem 0 0;
  text-align: center;
  font-size: .92rem;
}

.login-help a {
  text-decoration: none;
}

.login-help a:hover {
  text-decoration: underline;
}

.login-alert:not(:empty) {
  margin: 0;
  padding: .7rem .85rem;
  border-radius: .4rem;
  background: #fff1f0;
  border: 1px solid #f5c2c0;
  color: #a33;
}

.login-alert:empty {
  display: none;
}
