/* Products & Services page specific styles */

.ps-hero {
  position: relative;
  padding: 86px 0 54px;
  color: #fff;
  background: #0b1220;
  overflow: hidden;
}
.ps-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--ps-hero-bg);
  background-size: cover;
  background-position: center;
  opacity: 0.22;
  transform: scale(1.02);
}
.ps-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(11,18,32,0.92), rgba(13,71,161,0.40));
}
.ps-hero .container { position: relative; z-index: 1; }
.ps-breadcrumbs a { color: rgba(252,194,0,0.96); text-decoration: none; }
.ps-breadcrumbs a:hover { text-decoration: underline; }
.ps-breadcrumbs .text-muted { color: rgba(252,194,0,0.82) !important; }
.ps-title {
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #f5fbff;
  display: inline;
  padding: 0.12rem 0.42rem;
  background: rgba(6, 26, 38, 0.60);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  border-left: 4px solid rgba(252, 194, 0, 0.95);
}
.ps-subtitle { color: rgba(255,230,140,0.96); text-shadow: 0 6px 16px rgba(0,0,0,0.35); }
.ps-hero .text-muted { color: rgba(252,218,102,0.86) !important; }

.ps-section { padding: 56px 0; }
.ps-filter-card {
  border: 1px solid rgba(13,71,161,0.25);
  box-shadow: inset 0 0 0 1px rgba(13,71,161,0.06);
  background: #fff;
  padding: 16px;
  position: sticky;
  top: 84px;
}
.ps-filter-title { font-weight: 900; color: #111827; }
.ps-filter-label { font-weight: 800; color: #111827; margin: 10px 0 6px; }
.ps-filter-list .list-group-item {
  border: 0;
  border-bottom: 1px solid rgba(13,71,161,0.14);
  border-radius: 0;
  padding: 10px 10px;
  font-weight: 700;
  color: #111827;
}
.ps-filter-list .list-group-item:last-child { border-bottom: 0; }
.ps-filter-list .list-group-item.active {
  background: #0d47a1;
  border-color: #0d47a1;
  color: #fff;
}
.ps-filter-name {
  white-space: normal;
  word-break: break-word;
  line-height: 1.25;
  padding-right: 8px;
}
.ps-cat-parent-row {
  display: flex;
  align-items: stretch;
  gap: 0;
}
.ps-cat-parent-row > .list-group-item {
  border-right: 0;
}
.ps-sub-toggle-btn {
  min-width: 34px;
  width: 34px;
  border: 1px solid rgba(13,71,161,0.24);
  border-left: 0;
  color: #6b7280;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
}
.ps-sub-toggle-btn:hover { color: #0d47a1; border-color: rgba(13,71,161,0.35); }
.ps-sub-toggle-btn i { transition: transform 180ms ease; }
.ps-sub-toggle-btn[aria-expanded="true"] i { transform: rotate(180deg); }
.ps-sub-filter-group { padding-left: 10px; border-left: 2px solid rgba(13,71,161,0.15); }
.ps-filter-sub-list .list-group-item {
  font-weight: 600;
  font-size: 0.9rem;
  padding-left: 14px;
}
.ps-filter-sub-list .list-group-item .badge,
.ps-filter-list .list-group-item .badge {
  flex: 0 0 auto;
  margin-left: 8px;
}
.ps-products-toolbar {
  border: 1px solid rgba(13,71,161,0.20);
  background: linear-gradient(180deg, rgba(13,71,161,0.03), rgba(13,71,161,0.01));
  padding: 10px;
}
.ps-products-search-form {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
}
.ps-products-search-form .form-control {
  border-radius: 0;
  border: 1px solid rgba(13,71,161,0.35);
  max-width: 430px;
}

.ps-results-title { font-weight: 900; }

.ps-empty {
  border: 1px dashed rgba(17,24,39,0.20);
  padding: 22px;
  background: rgba(13,71,161,0.02);
}
.ps-empty-title { font-weight: 900; }

.ps-card {
  border: 1px solid rgba(13,71,161,0.20);
  background: #fff;
  border-radius: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.ps-card:hover {
  transform: translateY(-2px);
  border-color: rgba(13,71,161,0.25);
  box-shadow: 0 14px 28px rgba(0,0,0,0.10);
}
.ps-card-media {
  position: relative;
  background: rgba(13,71,161,0.03);
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.ps-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ps-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #0d47a1;
}
.ps-card-placeholder i { font-size: 1.5rem; }
.ps-card-badges {
  position: absolute;
  left: 10px;
  bottom: 10px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.ps-badge-path {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(13,71,161,0.35);
  color: #0b2f6e;
  font-size: 0.74rem;
  line-height: 1.25;
  padding: 4px 7px;
  font-weight: 700;
  max-width: 100%;
  white-space: normal;
}
.ps-badge-cat, .ps-badge-sub { display: inline; word-break: break-word; }
.ps-badge-sep {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0d47a1;
  font-weight: 900;
  line-height: 1;
  transform: translateY(-1px);
}
.ps-card-body { padding: 14px 14px 10px; }
.ps-card-title { font-weight: 900; color: #111827; line-height: 1.2; }
.ps-card-text { font-size: 0.92rem; margin-top: 6px; min-height: 40px; }
.ps-card-footer { padding: 0 14px 14px; margin-top: auto; }

.ps-pagination .pagination { justify-content: center; }
.ps-pagination .page-link { border-radius: 0; }

#psProductsPane.is-loading { opacity: 0.65; pointer-events: none; }
.ps-ajax-loader {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.75);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.ps-services-section { padding: 56px 0; background: rgba(13,71,161,0.03); }
.ps-kicker {
  display: inline-flex;
  font-weight: 800;
  color: #0d47a1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
}
.ps-h2 { font-weight: 900; letter-spacing: -0.02em; margin-top: 10px; }
.ps-lead { color: #374151; margin-top: 10px; }
.ps-service-card {
  border: 1px solid rgba(17,24,39,0.10);
  background: #fff;
  padding: 16px;
  height: 100%;
}
.ps-service-card i { color: #0d47a1; font-size: 1.35rem; }
.ps-service-title { margin-top: 8px; font-weight: 900; }
.ps-service-text { color: #6b7280; font-size: 0.92rem; margin-top: 4px; }

@media (max-width: 991.98px) {
  .ps-filter-card { position: static; }
  #psFiltersBody.is-collapsed { display: none; }
  .ps-products-search-form { justify-content: stretch; }
  .ps-products-search-form .form-control { max-width: none; }
}

