/* Product Finder - Modern Industrial Styles */

:root {
  --navtech-slate: #1a2a3a; /* Deep Navy from header */
  --navtech-orange: #5b84b1; /* Steel Blue from header */
  --navtech-accent: #5b84b1;
  --navtech-light: #f8f9fa;
  --navtech-border: #dee2e6;
  --navtech-text: #333;
  --navtech-shadow: 0 8px 30px rgba(0,0,0,0.05);
}

/* Dual Mode Toggle */
.finder-mode-toggle {
  display: flex;
  background: var(--navtech-light);
  border: 1px solid var(--navtech-border);
  border-radius: 8px;
  padding: 4px;
  margin-bottom: 24px;
}

.mode-btn {
  flex: 1;
  padding: 10px 16px;
  border: none;
  background: transparent;
  font-weight: 600;
  font-size: 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--navtech-slate);
}

.mode-btn.active {
  background: var(--navtech-slate);
  color: #fff;
  box-shadow: var(--navtech-shadow);
}

/* Accordion Filters */
.filter-accordion {
  border: 1px solid var(--navtech-border);
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
  background: #fff;
}

.filter-header {
  width: 100%;
  padding: 16px;
  background: #fff;
  border: none;
  text-align: left;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: var(--navtech-slate);
  transition: background 0.2s;
}

.filter-header:hover {
  background: var(--navtech-light);
}

.filter-content {
  padding: 0 16px 16px;
  display: none; /* Hidden by default */
}

.filter-content.open {
  display: block;
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  cursor: pointer;
  font-size: 14px;
}

.filter-option input[type="checkbox"] {
  accent-color: var(--navtech-orange);
}

/* Product Cards - Technical Layout */
.product-card-tech {
    background: #fff;
    border: 1px solid var(--navtech-border);
    border-radius: 10px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 240px; /* Refined compact height */
    position: relative;
    overflow: hidden;
}

.product-card-tech:hover {
    transform: translateY(-5px);
    border-color: var(--navtech-orange);
    box-shadow: 0 15px 35px rgba(91, 132, 177, 0.15);
}

.card-tech-header {
    margin-bottom: 12px;
}

.card-tech-cat {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 4px;
}

.card-tech-model {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.3;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-tech-specs {
    margin-top: 10px;
    flex-grow: 1; /* Pushes content to fill space but stays compact */
}

.spec-item {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 4px;
    display: flex;
    justify-content: space-between;
}

.spec-label {
  font-weight: 700;
  display: block;
  color: var(--navtech-slate);
}

.card-tech-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
}

.btn-tech {
  padding: 10px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: 0.2s;
  cursor: pointer;
  border: none;
}

.btn-tech-primary, .btn-steel {
  background: var(--navtech-orange);
  color: #fff;
}

.btn-catalog {
  background: var(--navtech-slate);
  color: #fff;
}

.btn-tech-secondary {
  background: var(--navtech-light);
  color: var(--navtech-slate);
  border: 1px solid var(--navtech-border);
}

.btn-outline-steel {
  background: transparent;
  color: var(--navtech-orange);
  border: 2px solid var(--navtech-orange);
  font-weight: 700;
  padding: 12px 30px;
}

.btn-outline-steel:hover {
  background: var(--navtech-orange);
  color: #fff;
}

.grid-footer {
  text-align: center;
  margin-top: 40px;
  padding-bottom: 20px;
}

.btn-tech-primary:hover, .btn-steel:hover {
  background: #4a6d91;
}

.btn-catalog:hover {
  background: #0d161e;
}

/* Quote Basket */
.quote-basket-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--navtech-slate);
  color: #fff;
  padding: 12px 20px;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.quote-basket-float:hover {
  transform: scale(1.05);
  background: #34495e;
}

.quote-count {
  background: var(--navtech-orange);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
}

/* Showing X of Y Bar - Sleek Style */
.results-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  background: #fff;
  border: 1px solid var(--navtech-border);
  border-radius: 8px;
  margin-bottom: 24px;
  font-size: 14px;
  color: #666;
  border-left: 4px solid var(--navtech-orange); /* Steel Blue accent */
}

#results-bar-info strong {
  color: var(--navtech-slate);
}

/* Toast Notifications */
.navtech-toast {
  position: fixed;
  top: 100px !important;
  bottom: auto !important;
  right: 24px !important;
  background: #1a2a3a;
  color: #fff;
  padding: 14px 28px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  z-index: 2200;
  font-weight: 600;
  font-size: 14px;
  border-left: 4px solid #ea580c;
  animation: slideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Search Input Styling */
#product-search {
  border: 2px solid var(--navtech-border);
  border-radius: 6px;
  padding: 10px 12px;
  width: 100%;
  transition: border-color 0.3s;
}

#product-search:focus {
  border-color: var(--navtech-orange);
  outline: none;
  box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.1);
}

/* --- Premium Tech Product Cards --- */
.product-card-tech-premium {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 6px rgba(0,0,0,0.02);
  transition: all 0.3s ease;
  height: 100%;
  min-width: 0;
}
.product-card-tech-premium:hover {
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transform: translateY(-4px);
  border-color: #cbd5e1;
}

.card-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
  gap: 8px;
}
.card-badge-new {
  background: #0b2e59;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 60%;
}
.card-sku-new {
  font-size: 11px;
  color: #64748b;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 40%;
  text-align: right;
  padding-top: 2px;
}

.card-image-wrap-new {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 16px;
  height: 220px;
  background: #f8fafc;
  border-radius: 8px;
  padding: 16px;
  border: 1px solid #f1f5f9;
  transition: background-color 0.3s ease;
}
.product-card-tech-premium:hover .card-image-wrap-new {
  background-color: #f1f5f9;
}
.card-img-new {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.card-body-new {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.card-title-new {
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 48px;
  line-height: 1.4;
}
.card-desc-new {
  font-size: 14px;
  color: #475569;
  line-height: 1.5;
  margin-bottom: 24px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-specs-grid-new {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  margin-bottom: 16px;
}
.spec-node-new {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-right: 1px solid #e2e8f0;
  padding: 0 4px;
  min-width: 0;
}
.spec-node-new:last-child {
  border-right: none;
}
.icon-spec {
  font-size: 16px;
  color: #1a4f9c;
  margin-bottom: 6px;
}
.node-val-new {
  font-size: 12px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
  line-height: 1.2;
  word-break: break-word;
  white-space: normal;
  width: 100%;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.node-label-new {
  font-size: 10px;
  color: #64748b;
  line-height: 1.2;
  white-space: normal;
  width: 100%;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-divider {
  border: none;
  border-top: 1px solid #e2e8f0;
  margin: auto 0 16px 0;
}

.card-actions-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 8px;
}
.btn-outline-new {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px;
  border: 1px solid #0b2e59;
  color: #0b2e59;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-outline-new:hover {
  background: #f8fafc;
  color: #0b2e59;
}
.btn-solid-new {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px;
  background: #2558a3;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  width: 100%;
}
.btn-solid-new:hover {
  background: #1a4f9c;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 24px;
    align-items: stretch;
    margin-top: 20px;
    min-height: 800px;
}




@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    }
}
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}





.card-tech-cat {
  font-size: 10px; /* Smaller category label */
  text-transform: uppercase;
  color: var(--navtech-orange);
  font-weight: 800;
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 4px;
}

.spec-item {
  font-size: 12px; /* Smaller spec text */
  color: #666;
  line-height: 1.3;
}

.card-tech-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: auto;
}

.btn-tech {
  padding: 8px;
  border-radius: 6px;
  font-size: 11px; /* Smaller button text */
  font-weight: 700;
  text-align: center;
}

/* ==============================================================
   FLOATING QUOTE CART
   ============================================================== */

.floating-cart-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: var(--slate-deep, #1a2332);
    color: #fff;
    border: none;
    border-radius: 50%;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    z-index: 1050;
    transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
}

.floating-cart-btn:hover {
    transform: translateY(-4px);
    background: var(--accent-color, #e05e26);
    color: #fff;
    box-shadow: 0 14px 28px rgba(0,0,0,0.4);
}

.floating-cart-btn .cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--accent-color, #e05e26);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}

.cart-item-row {
    display: flex;
    gap: 15px;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.cart-item-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    background: #f8fafc;
    border-radius: 6px;
    border: 1px solid rgba(0,0,0,0.05);
}

.cart-item-details {
    flex-grow: 1;
}

.cart-item-title {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 4px 0;
    color: var(--text-dark, #1e293b);
    line-height: 1.3;
}

.cart-item-sku {
    font-size: 12px;
    color: var(--steel-mid, #64748b);
    margin: 0;
}

.btn-remove-item:hover {
    color: #b91c1c;
}

/* ==============================================================
   ADDED PREMIUM STYLING - MATRIX STACKING, STICKY CHECKOUT & DISCOVERY
   ============================================================== */

/* 1. Added State for Adding to Basket Button */
.btn-solid-new.added {
  background: #10b981 !important; /* Emerald green */
  border-color: #10b981 !important;
}
.btn-solid-new.added:hover {
  background: #059669 !important;
}

/* 2. Contextual Discovery Amber Banners */
.contextual-discovery-banner-container {
  width: 100%;
}
.discovery-card-amber {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 1px solid #fde68a;
  border-left: 5px solid #d97706;
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 24px;
  box-shadow: 0 4px 15px rgba(217, 119, 6, 0.05);
  animation: navtechFadeIn 0.4s ease-out;
}
.discovery-card-content {
  display: flex;
  align-items: center;
  gap: 16px;
}
.discovery-card-content .alert-icon {
  font-size: 24px;
  color: #d97706;
}
.discovery-card-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}
.discovery-card-text strong {
  font-size: 14px;
  color: #78350f;
  margin-bottom: 2px;
}
.discovery-card-text span {
  font-size: 13px;
  color: #92400e;
  line-height: 1.4;
}
.btn-discovery-action {
  background: #d97706;
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 8px 18px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(217, 119, 6, 0.15);
  transition: all 0.2s ease;
}
.btn-discovery-action:hover {
  background: #b45309;
  color: #fff;
  transform: translateX(3px);
}

@keyframes navtechFadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 3. Sticky Bottom Checkout Bar */
.sticky-mobile-checkout-bar {
  position: fixed;
  bottom: -100px;
  left: 0;
  right: 0;
  background: rgba(26, 42, 58, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 2px solid #5b84b1;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1040;
  transition: bottom 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.15);
}
.sticky-mobile-checkout-bar.show {
  bottom: 0;
}
.checkout-info {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-align: left;
}
.checkout-info i {
  font-size: 24px;
  color: #5b84b1;
}
.checkout-title {
  font-size: 14px;
  font-weight: 700;
  margin: 0;
  color: #fff;
}
.checkout-count {
  font-size: 12px;
  color: #cbd5e1;
  margin: 0;
}
.btn-mobile-checkout {
  background: #25d366; /* WhatsApp green */
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
  transition: all 0.2s ease;
}
.btn-mobile-checkout:hover {
  background: #20ba5a;
  transform: translateY(-2px);
}

/* 4. Desktop Hiding of Sticky Mobile Checkout */
@media (min-width: 769px) {
  .sticky-mobile-checkout-bar {
    display: none !important;
  }
}

/* 5. Mobile Specs Matrix Horizontal Stacking & Touch Optimizations */
@media (max-width: 768px) {
  /* Floating Cart Button Offset Shift when Sticky Bar is shown */
  body.has-sticky-checkout .floating-cart-btn {
    bottom: 90px;
  }

  /* Dynamic Spec Card Mobile Grid Stacking */
  .card-specs-grid-new {
    grid-template-columns: 1fr;
    gap: 8px;
    background: #f8fafc;
    border-radius: 8px;
    padding: 12px;
    border: 1px solid #e2e8f0;
  }
  .spec-node-new {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-right: none;
    border-bottom: 1px dashed #e2e8f0;
    padding: 8px 0;
    text-align: left;
  }
  .spec-node-new:last-child {
    border-bottom: none;
  }
  .icon-spec {
    font-size: 14px;
    margin-bottom: 0;
    margin-right: 8px;
  }
  .node-val-new {
    order: 2;
    text-align: right;
    font-size: 13px;
    margin-bottom: 0;
    max-width: 60%;
    display: inline-block;
  }
  .node-label-new {
    order: 1;
    font-size: 12px;
    font-weight: 600;
    color: #475569;
    max-width: 40%;
    display: inline-flex;
    align-items: center;
  }

  /* Discovery Card responsive stacked style */
  .discovery-card-amber {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 14px 16px;
  }
  .discovery-card-content {
    align-items: flex-start;
  }
  .discovery-card-content .alert-icon {
    font-size: 20px;
    margin-top: 2px;
  }
  .btn-discovery-action {
    justify-content: center;
  }
  
  /* Robust Mobile Offcanvas Filters */
  .filter-option {
    padding: 12px 0; /* Increase touch target size */
    font-size: 15px;
    border-bottom: 1px solid #f1f5f9;
  }
  .filter-option input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
  }
}

/* =====================================================================
   NEW B2B SIDEBAR — Search, Category & Utility Filter Groups
   ===================================================================== */

/* ── Accordion container ─────────────────────────────────────────── */
.filter-accordion {
  border: none !important;
  border-radius: 0 !important;
  margin-bottom: 0 !important;
  background: transparent !important;
  overflow: visible !important;
}

/* ── Section header button ───────────────────────────────────────── */
.filter-header {
  width: 100%;
  padding: 12px 0 10px;
  background: transparent !important;
  border: none !important;
  border-bottom: 2px solid #e2e8f0 !important;
  text-align: left;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  color: #94a3b8;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  margin-bottom: 6px;
  transition: color 0.2s;
}
.filter-header:hover {
  background: transparent !important;
  color: #64748b;
}
.filter-header span {
  flex: 1;
}
.filter-header .bi-chevron-down {
  transition: transform 0.25s ease;
  font-size: 13px;
  color: #cbd5e1;
  flex-shrink: 0;
}
.filter-header.open .bi-chevron-down {
  transform: rotate(180deg);
}

/* ── Filter content area ─────────────────────────────────────────── */
.filter-content {
  padding: 4px 0 8px;
  display: none;
}
.filter-content.open {
  display: block;
}

/* Spacing between the two accordion groups */
.filter-accordion + .filter-accordion {
  margin-top: 20px;
}

/* ── Search bar ──────────────────────────────────────────────────── */
.filter-search-wrap {
  position: relative;
  margin-bottom: 20px;
}
.filter-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 14px;
  pointer-events: none;
}
.filter-search-input {
  width: 100%;
  padding: 10px 14px 10px 38px;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  font-size: 13.5px;
  color: #334155;
  background: #f8fafc;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  outline: none;
}
.filter-search-input::placeholder {
  color: #94a3b8;
  font-size: 13px;
}
.filter-search-input:focus {
  border-color: #2558a3;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(37, 88, 163, 0.08);
}

/* ── Individual filter row ───────────────────────────────────────── */
.filter-option {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 5px 6px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.12s;
  margin-bottom: 1px;
  /* Reset any inherited text-transform */
  text-transform: none !important;
}
.filter-option:hover {
  background: #f1f5f9;
}
.filter-option.is-active {
  background: #eff6ff;
}

/* ── Custom styled checkbox ──────────────────────────────────────── */
.filter-option input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  min-width: 16px;
  border: 1.5px solid #cbd5e1;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
  transition: all 0.15s;
  position: relative;
  margin-right: 10px;
  flex-shrink: 0;
  accent-color: #2558a3;
}
.filter-option input[type="checkbox"]:hover {
  border-color: #2558a3;
}
.filter-option input[type="checkbox"]:checked {
  background: #2558a3;
  border-color: #2558a3;
}
.filter-option input[type="checkbox"]:checked::after {
  content: "";
  display: block;
  width: 4px;
  height: 7px;
  border: 2px solid #fff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg) translate(1px, -1px);
  position: absolute;
  top: 2px;
  left: 4px;
}
.filter-option.is-active input[type="checkbox"] {
  border-color: #2558a3;
}

/* ── Label text ──────────────────────────────────────────────────── */
.filter-label {
  flex: 1;
  font-size: 13px;
  font-weight: 500;
  color: #334155;
  line-height: 1.35;
  /* Normal sentence/title case — no uppercase */
  text-transform: none;
  letter-spacing: 0;
  /* Allow long names to wrap naturally */
  word-break: normal;
  overflow-wrap: break-word;
}
.filter-option.is-active .filter-label {
  color: #1e3a6e;
  font-weight: 600;
}

/* ── Count badge ─────────────────────────────────────────────────── */
.filter-count {
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  background: #f1f5f9;
  border-radius: 20px;
  padding: 2px 7px;
  min-width: 24px;
  text-align: center;
  margin-left: 6px;
  flex-shrink: 0;
  transition: background 0.2s, color 0.2s;
}
.filter-option:hover .filter-count {
  background: #e2e8f0;
  color: #475569;
}
.filter-option.is-active .filter-count {
  background: #dbeafe;
  color: #1d4ed8;
  font-weight: 800;
}

/* ── Reset Filters Button ────────────────────────────────────────── */
.filter-reset-wrap {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #e2e8f0;
}
.btn-reset-filters {
  width: 100%;
  padding: 9px 14px;
  background: transparent;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  color: #94a3b8;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  letter-spacing: 0.2px;
  transition: all 0.2s;
}
.btn-reset-filters:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  color: #334155;
}
.btn-reset-filters i {
  font-size: 13px;
}

/* ── Active filter chip pills (in results bar) ───────────────────── */
.results-bar-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: #1d4ed8;
  cursor: pointer;
  transition: all 0.15s;
  text-transform: none;
}
.filter-chip:hover {
  background: #dbeafe;
  border-color: #93c5fd;
}
.filter-chip .bi-x {
  font-size: 13px;
  opacity: 0.6;
}

/* ── btn-disabled for missing PDFs ──────────────────────────────── */
.btn-disabled {
  opacity: 0.38;
  cursor: not-allowed;
  pointer-events: none;
}

/* ── Mobile touch target boost ───────────────────────────────────── */
@media (max-width: 768px) {
  .filter-option {
    padding: 9px 6px;
    border-bottom: 1px solid #f8fafc;
    border-radius: 0;
    margin-bottom: 0;
  }
  .filter-label {
    font-size: 14px;
  }
}

.card-image-wrap-new {
  position: relative;
}

.utility-badge-img {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffffff;
  padding: 4px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.06);
  z-index: 10;
  object-fit: contain;
  pointer-events: none;
}




/* ── Category Overview Section ───────────────────────────────────── */
.category-overview-section {
  padding: 40px 0;
  background: #ffffff;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.category-overview-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.overview-highlight-card {
  flex: 1 1 320px;
  background: linear-gradient(135deg, #1a4f9c, #0b2e59);
  color: #ffffff;
  padding: 32px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(11, 46, 89, 0.12);
}
.overview-highlight-card h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 26px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
  color: #ffffff !important;
}
.overview-highlight-card p {
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.95;
  margin: 0;
}
.overview-features-card {
  flex: 2 1 500px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 32px;
  border-radius: 12px;
}
.overview-features-card h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 20px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: #0b2e59;
  letter-spacing: 0.5px;
}
.features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.features-list li {
  display: flex;
  gap: 12px;
  font-size: 14.5px;
  color: #334155;
  line-height: 1.5;
}
.features-list li i {
  color: #1a4f9c;
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}
@media (max-width: 991px) {
  .category-overview-inner {
    flex-direction: column;
  }
}
