/* Industrial Steel/Orange WooCommerce Theme CSS */
:root {
  /* Industrial Steel/Orange Color Palette */
  --color-steel-900: #1a1a1a;
  --color-steel-800: #2d2d2d;
  --color-steel-700: #404040;
  --color-steel-600: #525252;
  --color-steel-500: #737373;
  --color-steel-400: #a3a3a3;
  --color-steel-300: #d4d4d4;
  --color-steel-200: #e5e5e5;
  --color-steel-100: #f5f5f5;
  --color-steel-50: #fafafa;
  
  /* Industrial Accent Colors */
  --color-orange: #ff6b35;
  --color-orange-dark: #e55a2b;
  --color-blue: #1e40af;
  --color-blue-light: #3b82f6;
  --color-yellow: #fbbf24;
  --color-red: #dc2626;
  --color-green: #16a34a;
  
  /* Typography */
  --font-industrial: 'Arial', 'Helvetica', sans-serif;
  --font-mono: 'Courier New', monospace;
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;

  /* Heights for positioning */
  --theme-header-height: 105px;
  --shop-header-height: 80px;
  --breadcrumb-height: 50px;
  --mobile-filters-offset: calc(50vh - 60px);
}

/* Reset and Base Styles */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-industrial);
  line-height: 1.5;
  background-color: var(--color-steel-50);
  color: var(--color-steel-900);
}

::selection,
*::selection {
  background: var(--color-accent-500, #D3B574) !important;
  color: var(--color-primary-900, #0c1b2a) !important;
}

::-moz-selection,
*::-moz-selection {
  background: var(--color-accent-500, #D3B574) !important;
  color: var(--color-primary-900, #0c1b2a) !important;
}

/* Industrial Header Styles - UPDATED TO MATCH VISUAL_PREVIEW_NEW.html */
/* NOTE: Works with Elementor header - positioned below Elementor nav */
.seo-header,
.industrial-header {
  background: #0c1b2a;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 99;
  border-bottom: none;
}
  

/* If Elementor header is sticky, adjust top position */
body.elementor-header-sticky .seo-header,
body.elementor-header-sticky .industrial-header {
  top: var(--elementor-header-height, 0px);
}

.header-content,
.header-inner {
  max-width: 1920px;
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
}

.company-logo,
.company-branding {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: white;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon,
.company-logo .header-logo-icon {
  width: 42px;
  height: 42px;
  background: #D3B574;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.25rem;
  color: white;
  border: none;
}

.company-info h1,
.company-info .site-name-text {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: white;
  display: block;
}

.company-tagline {
  font-size: 0.7rem;
  color: #999;
  text-transform: uppercase;
  margin-top: 2px;
}

/* Header Search Container */
.header-search-container {
  flex: 1;
  max-width: 600px;
  position: relative;
  background: white;
  border-radius: 4px;
  border: none;
  display: flex;
  align-items: center;
  padding: 0.35rem 0.5rem;
}

.search-icon {
  position: absolute;
  left: 0.75rem;
  width: 1.1rem;
  height: 1.1rem;
  color: #999;
  z-index: 10;
}

.header-search-input {
  flex-grow: 1;
  padding: 0.45rem 0.75rem;
  padding-left: 2.4rem;
  border: none;
  background: transparent;
  font-size: 0.9rem;
  color: #333;
  font-family: var(--font-industrial);
  width: 100%;
  border-radius: 4px;
}

.header-search-input::placeholder {
  color: #999;
  font-size: 0.95rem;
  text-transform: none;
}

.header-search-input:focus {
  outline: 2px solid #D3B574;
  background-color: white;
}

/* Smart Search Section with Interactive Pills */
.smart-search-section {
  background: white;
  padding: 2rem 0;
  border-bottom: 2px solid #e0e0e0;
}

.search-container {
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
  width: 100%;
}

.search-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.search-input-group {
  position: relative;
  background: var(--color-steel-100);
  border: 2px solid var(--color-steel-600);
  border-radius: 0;
  display: flex;
  max-width: 800px;
  margin: 0 auto;
}

.search-input {
  flex-grow: 1;
  padding: var(--space-md) var(--space-lg);
  padding-left: 3.5rem;
  border: none;
  background: transparent;
  font-size: 1rem;
  color: var(--color-steel-900);
  font-family: var(--font-industrial);
}

.search-input::placeholder {
  color: var(--color-steel-500);
  text-transform: uppercase;
  font-size: 0.875rem;
}

/* Pills Container */
.pills-container {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
  min-height: 60px;
  align-items: flex-start;
}

.filter-pill {
  background: #D3B574;
  color: white;
  padding: var(--space-sm) var(--space-md);
  border: 2px solid #D3B574;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  animation: pillAppear 0.3s ease-out;
}

.filter-pill:hover {
  background: #bda25e;
  border-color: #bda25e;
  transform: translateY(-2px);
}

.filter-pill.selected {
  background: var(--color-steel-800);
  border-color: var(--color-steel-800);
}

.pill-checkbox {
  display: none;
}

.pill-label {
  color: inherit;
  font-weight: inherit;
  cursor: pointer;
}

@keyframes pillAppear {
  from {
    opacity: 0;
    transform: scale(0.8) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Search Submit */
.search-submit-container {
  display: flex;
  justify-content: center;
}

.search-submit {
  background: #D3B574;
  border: none;
  padding: var(--space-md) var(--space-2xl);
  color: white;
  cursor: pointer;
  text-transform: uppercase;
  font-weight: bold;
  transition: background 0.2s;
  font-size: 0.875rem;
  letter-spacing: 0.5px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.search-submit.show {
  opacity: 1;
  transform: translateY(0);
}

.search-submit:hover {
  background: #bda25e;
}

/* Clear Filters */
.clear-filters-container {
  display: flex;
  justify-content: center;
  margin-top: var(--space-lg);
}

.clear-filters-btn {
  background: var(--color-steel-700);
  color: white;
  padding: var(--space-sm) var(--space-lg);
  text-decoration: none;
  border-radius: 4px;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  transition: background 0.2s;
}

.clear-filters-btn:hover {
  background: var(--color-steel-600);
  color: white;
}

/* Breadcrumbs */
.breadcrumb-container {
  background: #0c1b2a;
  color: #999;
  padding: 0.5rem 2rem;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 10;
  margin-top: 0;
}

.breadcrumb-container a,
.woocommerce-breadcrumb a {
  color: #D3B574;
  text-decoration: none;
}

.woocommerce-breadcrumb {
  margin: 0;
  padding: 0;
  color: inherit;
  font-size: inherit;
  text-transform: inherit;
  letter-spacing: inherit;
}

body .breadcrumb-container {
  margin-top: 0;
}

/* Results Info */
.results-info {
  background: var(--color-steel-100);
  border: 2px solid var(--color-steel-300);
  border-top: 4px solid #D3B574;
  margin-top: var(--space-xl);
}

.results-info h2 {
  background: #0c1b2a;
  color: #D3B574;
  padding: var(--space-lg) var(--space-xl);
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.results-count {
  padding: 0 var(--space-xl) var(--space-md);
  color: var(--color-steel-600);
  font-size: 1rem;
  text-transform: uppercase;
  margin: var(--space-md) 0 0 0;
}

.filtered-indicator {
  color: #D3B574;
}

/* App Container */
.app-container {
  min-height: 100vh;
  background-color: var(--color-steel-50);
}

/* Main Content */
.main-content-area {
  max-width: 1920px;
  margin: 0 auto;
  padding: var(--space-lg);
  width: 100%;
}

body > .main-content-area,
body > main.main-content-area {
  padding-top: calc(var(--space-lg) + var(--elementor-header-height, 0px));
}

/* Products Container */
.products-container {
  background: var(--color-steel-100);
  border: 2px solid var(--color-steel-300);
  padding: var(--space-xl);
  margin-top: var(--space-lg);
}

/* Product Grid */
.products,
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-xl);
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  align-items: stretch;
}

.products li.product,
.product-grid .product {
  display: flex;
  height: 100%;
}

.products li.product .product-card,
.product-grid .product-card {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.product-card .product-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

/* Product Cards - MATCHES VISUAL_PREVIEW_NEW.html */
.product,
.product-card {
  background: white;
  border-left: 5px solid #D3B574;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(12, 27, 42, 0.12);
  transition: transform 0.2s, box-shadow 0.2s;
}

.product:hover,
.product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(12, 27, 42, 0.18);
}

/* Product Header (Archive Pages) - Dark navy with brand badge */
.product > .product-card > .product-header,
.product-card > .product-header {
  background: #0c1b2a;
  color: white;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.product-header .brand-badge {
  background: #D3B574;
  padding: 0.35rem 0.75rem;
  border-radius: 3px;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  color: #0c1b2a;
}

.product-header .product-type {
  color: #999;
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 600;
}

.product-body {
  padding: 1.25rem;
}

.product-model {
  font-size: 1.35rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 0.75rem;
}

.product-description {
  color: #666;
  font-size: 0.875rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

/* Product Footer - Column Layout */
.product-footer {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding-top: 0.75rem;
  border-top: 1px solid #e0e0e0;
  margin-top: auto;
}

/* Availability */
.availability {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-green);
}

.availability-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-green);
}

/* Product Actions - Buttons */
.product-actions {
  display: flex;
  gap: 0.5rem;
  width: 100%;
}

/* Button Styles - COMPACT SIZE TO MATCH PREVIEW */
.btn {
  padding: 0.5rem 0.8rem;
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.3px;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  white-space: nowrap;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: #0c1b2a;
  color: white;
  border: 2px solid #0c1b2a;
}

.btn-primary:hover {
  background: #1a2f45;
  border-color: #1a2f45;
  color: white;
}

.btn-secondary {
  background: #D3B574;
  color: #0c1b2a;
  border: 2px solid #D3B574;
}

.btn-secondary:hover {
  background: #bda25e;
  border-color: #bda25e;
  color: #0c1b2a;
}

/* Brand Color Gradients */
.brand-gradient-1 { background: linear-gradient(135deg, var(--color-orange), var(--color-orange-dark)); }
.brand-gradient-2 { background: linear-gradient(135deg, var(--color-blue), var(--color-blue-light)); }
.brand-gradient-3 { background: linear-gradient(135deg, var(--color-green), #10b981); }
.brand-gradient-4 { background: linear-gradient(135deg, var(--color-red), #dc2626); }
.brand-gradient-5 { background: linear-gradient(135deg, var(--color-yellow), #f59e0b); }
.brand-gradient-6 { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.brand-gradient-7 { background: linear-gradient(135deg, #06b6d4, #0891b2); }
.brand-gradient-8 { background: linear-gradient(135deg, #ec4899, #be185d); }

/* Single Product Page - Enhanced Design */

/* Product Header with Gradient (Single Product Pages) */
.single-product .product-header,
.woocommerce-page .product-header {
  background: linear-gradient(135deg, #0c1b2a 0%, #1a2f45 100%);
  padding: 2rem 1.5rem;
  color: white;
  border-bottom: 3px solid #D3B574;
  position: relative;
  overflow: hidden;
}

.single-product .product-header::before,
.woocommerce-page .product-header::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(211, 181, 116, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.product-header-content {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Two-column grid for product info + image - FORCE DISPLAY */
.product-header-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 3rem !important;
  align-items: center !important;
  margin-bottom: 2rem !important;
  width: 100% !important;
}

.product-info {
  display: block !important;
  width: 100% !important;
}

.product-header-image {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 300px !important;
}

/* Style WordPress figure/caption in header */
.product-header-image figure,
.product-header-image .wp-caption {
  margin: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
}

.product-header-image .wp-caption-text,
.product-header-image figcaption {
  display: none !important; /* Hide caption in header */
}

.product-header-image a {
  display: block !important;
  width: 100% !important;
}

.product-header-image img,
.product-header-image .product-thumbnail,
.product-header-image .attachment-large,
.product-header-image figure img,
.product-header-image .wp-caption img,
.product-header-image .product-main-image {
  max-width: 100% !important;
  width: auto !important;
  max-height: 312px !important;
  height: auto !important;
  border-radius: 8px !important;
  box-shadow: 0 8px 24px rgba(211, 181, 116, 0.25) !important;
  transition: transform 0.3s ease !important;
  object-fit: contain !important;
  display: block !important;
  margin: 0 auto !important;
}

.product-header-image img:hover,
.product-header-image .product-thumbnail:hover {
  transform: scale(1.02);
}

/* Representative image label — shown when image is not an exact product match */
.product-header-image {
  position: relative !important;
}

.representative-image-label {
  display: block;
  text-align: center;
  font-size: 0.75rem;
  font-style: italic;
  color: #8a9aa8;
  margin-top: 0.5rem;
  letter-spacing: 0.02em;
}

/* No image placeholder — shown when no product image exists at all */
.no-image-placeholder {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 280px !important;
  background: #1e2530 !important;
  border: 1px dashed rgba(138,115,85,0.3) !important;
  border-radius: 8px !important;
}

.no-image-icon {
  font-size: 2.5rem;
  opacity: 0.4;
  margin-bottom: 0.75rem;
}

.no-image-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: #8a9aa8;
  margin-bottom: 0.25rem;
}

.no-image-sub {
  font-size: 0.8rem;
  color: #6a7a86;
  font-weight: 300;
}

/* Mobile: Stack vertically */
@media (max-width: 768px) {
  .product-header-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  .product-header-image {
    order: -1 !important;
  }
}

.product-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.product-meta .brand-badge {
  background: #D3B574;
  padding: 0.35rem 0.85rem;
  border-radius: 3px;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  color: #0c1b2a;
}

.product-meta .product-type {
  color: #999;
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 600;
}

.product-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.product-description {
  font-size: 1rem;
  color: #ccc;
  line-height: 1.6;
  max-width: 900px;
}

/* Ensure hero description text is legible on dark navy background */
.single-product-enhanced .product-header .product-description,
.single-product-enhanced .product-header .product-description p,
.single-product-enhanced .product-header .product-description .short-description-container p,
.product-header .product-description .short-description-container p {
  color: rgba(255, 255, 255, 0.75) !important;
}

.product-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

/* Stats Bar */
.stats-bar {
  display: flex;
  gap: 2rem;
  margin-top: 1.5rem;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(211, 181, 116, 0.3);
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.stat-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: #D3B574;
}

.stat-label {
  font-size: 0.8rem;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Product Content Grid */
.product-content {
  padding: 2rem 1.5rem;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

@media (min-width: 968px) {
  .content-grid {
    grid-template-columns: 2fr 1fr;
  }
}

/* Main Content Styles */
.main-content h2 {
  color: #0c1b2a;
  font-size: 1.5rem;
  margin: 1.5rem 0 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #D3B574;
  position: relative;
  padding-left: 1.25rem;
}

.main-content h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.2rem;
  width: 3px;
  height: 1.25rem;
  background: #D3B574;
}

.main-content h2:first-child {
  margin-top: 0;
}

.main-content p {
  margin-bottom: 1rem;
  color: #555;
  line-height: 1.8;
}

.main-content ul {
  margin: 1rem 0 1rem 2rem;
  color: #555;
}

.main-content li {
  margin-bottom: 0.75rem;
  line-height: 1.6;
  position: relative;
  padding-left: 0.5rem;
}

.main-content li::marker {
  color: #D3B574;
}

/* Feature Cards Grid */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}

@media (min-width: 640px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.feature-card {
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  padding: 1.25rem;
  transition: all 0.3s;
}

.feature-card:hover {
  border-color: #D3B574;
  box-shadow: 0 4px 12px rgba(211, 181, 116, 0.2);
  transform: translateY(-2px);
}

.feature-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #D3B574 0%, #bda25e 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  color: #0c1b2a;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

/* Sidebar */
.sidebar {
  position: sticky;
  top: 2rem;
  align-self: start;
}

/* Quote Card */
.quote-card {
  background: linear-gradient(135deg, #0c1b2a 0%, #1a2f45 100%);
  color: white;
  padding: 1.5rem;
  border-radius: 6px;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 16px rgba(12, 27, 42, 0.3);
}

.quote-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.quote-card p {
  color: #ccc;
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
}

.quote-form {
  background: white;
  padding: 1.25rem;
  border-radius: 4px;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  color: #333;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  font-size: 0.95rem;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #D3B574;
}

/* Info Card */
.info-card {
  background: #f5f5f5;
  padding: 1.25rem;
  border-radius: 6px;
  border-left: 3px solid #D3B574;
  margin-bottom: 1.25rem;
}

.info-card h4 {
  color: #0c1b2a;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.info-card p {
  color: #666;
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 0;
}

/* Inventory Disclaimer */
.info-card.inventory-notice {
  border-left-color: #f59e0b;
  background: #fffbeb;
}

.info-card.inventory-notice h4 {
  color: #92400e;
}

.info-card.inventory-notice p {
  color: #78350f;
}

/* FAQ Section */
.faq-section {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 2px solid #e0e0e0;
}

.faq-section h2 {
  color: #0c1b2a;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  padding-left: 0;
  border-bottom: none;
}

.faq-section h2::before {
  display: none;
}

.faq-item {
  border-bottom: 1px solid #e0e0e0;
  padding: 1rem 0;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #0c1b2a;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question:hover {
  color: #D3B574;
}

.faq-question:after {
  content: '+';
  font-size: 1.5rem;
  color: #D3B574;
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-question[aria-expanded="true"]:after {
  content: '−';
}

.faq-answer {
  padding: 1rem 0 0.5rem;
  color: #666;
  line-height: 1.7;
  display: none;
}

.faq-answer[aria-hidden="false"] {
  display: block;
}

/* Legacy Single Product Styles (for backward compatibility) */
.single-product-container {
  background: white;
}

.single-product-content {
  padding: var(--space-2xl);
}

.single-product-contact {
  background: var(--color-steel-100);
  border: 2px solid var(--color-steel-300);
  border-top: 4px solid #D3B574;
  padding: var(--space-xl);
  margin-top: var(--space-xl);
}

.single-product-contact-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--color-steel-900);
  margin-bottom: var(--space-md);
  text-transform: uppercase;
}

.single-product-contact-text {
  color: var(--color-steel-600);
  margin-bottom: var(--space-xl);
  line-height: 1.6;
}

.single-product-contact-buttons {
  display: grid;
  gap: var(--space-md);
}

@media (min-width: 768px) {
  .single-product-contact-buttons {
    grid-template-columns: 1fr 1fr;
  }
}

.single-product-contact-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-lg);
  text-decoration: none;
  font-weight: bold;
  text-transform: uppercase;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}

.single-product-contact-button.primary {
  background: #D3B574;
  color: white;
}

.single-product-contact-button.primary:hover {
  background: #bda25e;
  color: white;
}

.single-product-contact-button.secondary {
  background: var(--color-steel-800);
  color: white;
}

.single-product-contact-button.secondary:hover {
  background: var(--color-steel-700);
  color: white;
}

/* Wordbank Containers */
.wordbank-container {
  background: var(--color-steel-100);
  border: 2px solid var(--color-steel-300);
  border-left: 4px solid #D3B574;
  margin-bottom: 0;
  overflow: visible;
  break-inside: avoid;
}

/* Two-column layout for wordbank containers */
.main-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  align-items: start;
}

/* Make certain sections full-width */
.main-content > #wb-overview,
.main-content > #wb-faq,
.main-content > .full-width,
.main-content > .faq-section,
.main-content > p.footer,
.main-content > .disclaimer-section,
.main-content > .wordbank-container:last-child,
.main-content > #wb-cta {
  grid-column: 1 / -1;
}

/* Mobile: single column */
@media (max-width: 968px) {
  .main-content {
    grid-template-columns: 1fr;
  }
}

.wordbank-container h2 {
  background: var(--color-steel-800);
  color: white;
  padding: 0.75rem 1rem;
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.wordbank-header-toggle {
  width: 100%;
  background: var(--color-steel-800);
  color: white;
  border: none;
  padding: 0.75rem 1rem;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
}

.wordbank-header-toggle:hover {
  background: var(--color-steel-700);
}

.wordbank-header-toggle::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: bold;
  transition: transform 0.3s;
}

.wordbank-container.is-open .wordbank-header-toggle::after {
  content: '−';
  transform: rotate(180deg);
}

/* Wordbank content - SEO-friendly collapse using max-height instead of hidden */
.wordbank-content {
  padding: 0;
  color: var(--color-steel-600);
  line-height: 1.6;
  font-size: 0.95rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

/* Override hidden attribute on wordbank-content so Google can still see it */
.wordbank-content[hidden] {
  display: block !important;
  max-height: 0 !important;
  overflow: hidden !important;
  padding: 0 !important;
}

/* Open state for wordbank sections */
.wordbank-container.is-open .wordbank-content {
  max-height: 5000px;
  overflow: visible;
  padding: 1rem;
}

.wordbank-content p {
  margin-bottom: var(--space-md);
}

.wordbank-content p:last-child {
  margin-bottom: 0;
}

/* Short Description */
.woocommerce-product-details__short-description {
  background: var(--color-steel-100);
  border: 2px solid var(--color-steel-300);
  padding: var(--space-xl);
  margin: var(--space-xl) 0;
  color: var(--color-steel-600);
  line-height: 1.6;
}

.woocommerce-product-details__short-description p {
  margin: 0;
}

/* Quote Form */
.quote-form-collapsible-content {
  margin-top: var(--space-lg);
  border: 2px solid var(--color-steel-300);
  border-radius: 0;
}

.quote-form-wrapper {
  padding: var(--space-xl);
}

.wpcf7-form {
  background: transparent;
  padding: 0;
}

.wpcf7-form-control:not(.wpcf7-submit) {
  width: 100%;
  padding: var(--space-md);
  border: 2px solid var(--color-steel-300);
  background: white;
  color: var(--color-steel-900);
  font-family: var(--font-industrial);
}

.wpcf7-form-control:not(.wpcf7-submit):focus {
  outline: none;
  border-color: #D3B574;
}

.wpcf7-submit {
  background: #D3B574;
  color: white;
  border: none;
  padding: var(--space-md) var(--space-xl);
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}

.wpcf7-submit:hover {
  background: #bda25e;
}

/* Split Column Layout */
.split-column-left,
.split-column-right {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

/* Related Products */
.related-products {
  margin-top: var(--space-2xl);
  background: var(--color-steel-100);
  border: 2px solid var(--color-steel-300);
  border-top: 4px solid #D3B574;
  padding: var(--space-xl);
}

.related-products-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-xl);
}

.related-products-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--color-steel-900);
  text-transform: uppercase;
  margin: 0;
}

.carousel-controls {
  display: flex;
  gap: var(--space-sm);
}

.carousel-button {
  background: var(--color-steel-800);
  color: white;
  border: none;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.carousel-button:hover:not(:disabled) {
  background: #D3B574;
}

.carousel-button:disabled {
  background: var(--color-steel-400);
  cursor: not-allowed;
}

.related-products-carousel {
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.3s ease;
  gap: var(--space-lg);
}

.carousel-slide {
  flex: 0 0 100%;
  min-width: 0;
}

@media (min-width: 640px) {
  .carousel-slide {
    flex: 0 0 calc(50% - var(--space-lg) / 2);
  }
}

@media (min-width: 1024px) {
  .carousel-slide {
    flex: 0 0 calc(33.333% - var(--space-lg) * 2 / 3);
  }
}

@media (min-width: 1280px) {
  .carousel-slide {
    flex: 0 0 calc(25% - var(--space-lg) * 3 / 4);
  }
}

/* Pagination */
.pagination,
.woocommerce-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-2xl);
  padding: var(--space-xl);
}

.page-numbers,
.page-button {
  padding: var(--space-sm) var(--space-md);
  border: 2px solid var(--color-steel-400);
  background: white;
  color: var(--color-steel-700);
  text-decoration: none;
  font-weight: bold;
  transition: all 0.2s;
  font-family: var(--font-industrial);
}

.page-numbers:hover,
.page-numbers.current,
.page-button:hover,
.page-button.current {
  background: #D3B574;
  color: white;
  border-color: #D3B574;
}

/* No Products Found */
.no-products-found {
  text-align: center;
  padding: var(--space-2xl);
  color: var(--color-steel-600);
}

.no-products-found h3 {
  color: var(--color-steel-800);
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
}

/* FAQ Styles */
.faq-accordion .faq-item {
  background: var(--color-steel-100);
  border: 2px solid var(--color-steel-300);
  margin-bottom: var(--space-md);
}

.faq-item h3 {
  margin: 0;
  background: var(--color-steel-800);
  color: white;
}

.faq-item button {
  width: 100%;
  background: var(--color-steel-800);
  color: white;
  border: none;
  padding: var(--space-lg);
  text-align: left;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
}

.faq-item button:hover {
  background: var(--color-steel-700);
}

.faq-item button::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: bold;
}

.faq-item.is-open button::after {
  content: '−';
}

.faq-content {
  padding: var(--space-lg);
  color: var(--color-steel-600);
  line-height: 1.6;
}

.faq-content p {
  margin-bottom: var(--space-md);
}

.faq-content p:last-child {
  margin-bottom: 0;
}

/* Toggle Icons */
.toggle-icon {
  transition: transform 0.3s ease;
  width: 1rem;
  height: 1rem;
}

.quote-form-toggle[aria-expanded="true"] .toggle-icon {
  transform: rotate(180deg);
}

/* Contact Form Success Message */
.wpcf7-response-output {
  background: var(--color-steel-100);
  border: 2px solid var(--color-green);
  color: var(--color-green);
  padding: var(--space-lg);
  margin-top: var(--space-lg);
  font-weight: bold;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
  .header-content,
  .header-inner {
    flex-direction: column;
    gap: var(--space-md);
    padding: 1rem;
  }

  .smart-search-container,
  .header-search-container {
    width: 100%;
    max-width: none;
  }

  .product-grid,
  .products {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }

  .main-content-area {
    padding: 1rem;
  }

  body > .main-content-area,
  body > main.main-content-area {
    padding-top: calc(1rem + var(--elementor-header-height, 0px));
  }
}

@media (max-width: 768px) {
  .company-info h1,
  .company-info .site-name-text {
    font-size: 1.25rem;
  }

  .results-header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
  }

  .product-grid,
  .products {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .single-product-contact-buttons {
    grid-template-columns: 1fr;
  }

  .breadcrumb-container {
    padding: 0.5rem 1rem;
  }

  .filter-pills-section {
    padding: 0.75rem 1rem;
  }

  .products-container {
    padding: 1rem;
  }
}

@media (max-width: 640px) {
  .main-content-area {
    padding: 0.75rem;
  }

  body > .main-content-area,
  body > main.main-content-area {
    padding-top: calc(0.75rem + var(--elementor-header-height, 0px));
  }

  .search-container {
    padding: 0 0.75rem;
  }

  .pills-container {
    justify-content: flex-start;
  }

  .single-product-content {
    padding: var(--space-lg);
  }

  .single-product-brand-icon {
    width: 6rem;
    height: 6rem;
  }

  .single-product-brand-initials {
    font-size: 2rem;
  }

  .single-product-brand-name {
    font-size: 1.5rem;
  }

  .single-product-model {
    font-size: 1.25rem;
  }

  .header-content,
  .header-inner {
    padding: 0.75rem;
  }
}

@media (max-width: 480px) {
  .product-card,
  .products li.product {
    min-height: auto !important;
    max-height: none !important;
  }

  .btn {
    font-size: 0.65rem;
    padding: 0.45rem 0.7rem;
  }

  .product-model {
    font-size: 1.15rem;
  }

  .company-info h1,
  .company-info .site-name-text {
    font-size: 1rem;
  }

  .company-tagline {
    font-size: 0.65rem;
  }

  .cart-items {
    flex: 0 0 auto;
    min-height: 140px;
    max-height: clamp(170px, 45vh, 300px);
  }

  .cart-footer {
    max-height: clamp(220px, 58vh, 400px);
  }
}

/* Utility Classes */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hidden {
  display: none;
}

.block {
  display: block;
}

.flex {
  display: flex;
}

.grid {
  display: grid;
}

/* Loading States */
.loading {
  opacity: 0.6;
  pointer-events: none;
  position: relative;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid #D3B574;
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Print Styles */
@media print {
  .industrial-header,
  .seo-header,
  .smart-search-section,
  .breadcrumb-container,
  .single-product-contact,
  .related-products,
  .pagination,
  .woocommerce-pagination {
    display: none;
  }

  .app-container {
    background: white;
  }

  .single-product-container,
  .product-card,
  .wordbank-container {
    border: 1px solid #000;
    box-shadow: none;
  }
}

/* ============================================
   QUOTE CART PANEL - SLIDE OUT FROM RIGHT
   ============================================ */

/* Cart Button in Header - Enhanced Styling */
.cart-button {
  background: #D3B574;
  color: white;
  border: none;
  padding: 0.6rem 1.25rem;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.2s;
  font-size: 0.95rem;
}

.cart-button:hover {
  background: #bda25e;
}

.cart-count {
  background: #0c1b2a;
  color: white;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: bold;
}

/* Quote Cart Panel */
.quote-cart {
  position: fixed;
  right: -460px;
  top: calc(var(--elementor-header-height, 0px) + 12px);
  bottom: 12px;
  width: min(420px, calc(100vw - 40px));
  background: white;
  box-shadow: -4px 0 18px rgba(0, 0, 0, 0.22);
  transition: right 0.3s ease;
  z-index: 200;
  display: flex;
  flex-direction: column;
  border-radius: 12px 0 0 12px;
  max-height: calc(100vh - (var(--elementor-header-height, 0px) + 24px));
  min-height: 360px;
}

.quote-cart.open {
  right: 0;
}

/* Cart Header */
.cart-header {
  background: #0c1b2a;
  color: white;
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-header h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
}

.quote-cart .close-cart {
  background: none;
  border: none;
  color: #D3B574 !important;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem;
  line-height: 1;
  transition: color 0.2s ease;
}

.quote-cart .close-cart:hover,
.quote-cart .close-cart:focus-visible {
  color: #ffffff !important;
}

/* Cart Items Container */
.cart-items {
  flex: 0 0 auto;
  max-height: clamp(160px, 32vh, 280px);
  overflow-y: auto;
  padding: 1.25rem 1.5rem;
  margin-right: 2px;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Cart Item Card */
.cart-item {
  background: #f5f5f5;
  padding: 1rem;
  border-radius: 4px;
  border-left: 4px solid #D3B574;
}

.cart-item-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 0.5rem;
}

.cart-item-brand {
  background: #D3B574;
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 3px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.cart-item-remove {
  background: none;
  border: none;
  color: #999;
  cursor: pointer;
  font-size: 1.25rem;
  padding: 0;
  line-height: 1;
}

.cart-item-remove:hover {
  color: #333;
}

.cart-item-model {
  font-weight: 600;
  color: #222;
  margin-bottom: 0.5rem;
}

.cart-item-type {
  font-size: 0.85rem;
  color: #666;
}

/* Empty Cart State */
.empty-cart {
  text-align: center;
  padding: 3rem 1rem;
  color: #999;
}

.empty-cart-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.empty-cart p {
  font-size: 1rem;
  margin: 0;
}

/* Cart Footer */
.cart-footer {
  border-top: 2px solid #e0e0e0;
  padding: 1.5rem;
  background: #f5f5f5;
  border-radius: 0 0 0 12px;
  flex-shrink: 0;
  max-height: clamp(240px, 48vh, 520px);
  overflow-y: auto;
}

.cart-summary {
  display: flex;
  justify-content: space-between;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

/* Quote Form in Cart */
.cart-footer .quote-form {
  background: white;
  padding: 1.25rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.cart-footer .quote-form h3 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #0c1b2a;
}

.form-row {
  margin-bottom: 1rem;
}

.form-row label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #555;
  margin-bottom: 0.35rem;
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 0.65rem;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  font-size: 0.9rem;
  font-family: inherit;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: #D3B574;
}

.form-row textarea {
  resize: vertical;
  min-height: 80px;
}

.btn-submit-quote {
  width: 100%;
  background: #D3B574;
  color: white;
  border: none;
  padding: 1rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
  text-transform: uppercase;
}

.btn-submit-quote:hover {
  background: #bda25e;
}

.btn-submit-quote:disabled {
  background: #ccc;
  cursor: not-allowed;
}

/* Cart Overlay */
.cart-overlay {
  position: fixed;
  top: calc(var(--elementor-header-height, 0px) + 12px);
  bottom: 12px;
  left: 0;
  width: 100%;
  background: rgba(0,0,0,0.45);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 199;
}

.cart-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Button State - Added to Quote */
.btn-added {
  background: #22c55e !important;
  color: white !important;
  border-color: #22c55e !important;
}

/* Mobile Responsive for Cart */
@media (max-width: 768px) {
  .quote-cart {
    width: 100%;
    right: -100%;
    border-radius: 16px 16px 0 0;
    top: calc(var(--elementor-header-height, 0px));
    bottom: 0;
    max-height: none;
    min-height: 0;
  }

  .cart-items {
    flex: 0 0 auto;
    min-height: 160px;
    max-height: clamp(180px, 42vh, 320px);
  }

  .cart-footer {
    max-height: clamp(240px, 54vh, 460px);
  }

  .quote-cart .close-cart {
    color: #D3B574;
  }

  .quote-cart .close-cart:hover {
    color: #ffffff;
  }

  .cart-overlay {
    top: calc(var(--elementor-header-height, 0px));
    bottom: 0;
  }
}

/* ============================================
   BLOCKSY THEME OVERRIDES - COLOR FIXES
   ============================================ */

/* Fix "Add to Quote" Button Colors - FORCE GOLD */
.woocommerce ul.products li.product .btn-secondary,
.woocommerce-page ul.products li.product .btn-secondary,
.product-card .product-actions .btn-secondary,
button.btn-secondary,
.btn.btn-secondary,
a.btn-secondary {
    background: #D3B574 !important;
    background-color: #D3B574 !important;
    color: #0c1b2a !important;
    border: 2px solid #D3B574 !important;
    border-color: #D3B574 !important;
}

.woocommerce ul.products li.product .btn-secondary:hover,
button.btn-secondary:hover,
.btn.btn-secondary:hover,
a.btn-secondary:hover {
    background: #bda25e !important;
    background-color: #bda25e !important;
    border-color: #bda25e !important;
    color: #0c1b2a !important;
}

/* Fix Quote Cart Button - FORCE GOLD */
button.cart-button,
#cartButton,
.cart-button {
    background: #D3B574 !important;
    background-color: #D3B574 !important;
    color: white !important;
    border: none !important;
}

button.cart-button:hover,
#cartButton:hover,
.cart-button:hover {
    background: #bda25e !important;
    background-color: #bda25e !important;
}

/* Fix Primary Button Colors - Ensure Navy */
.woocommerce ul.products li.product .btn-primary,
.product-card .product-actions .btn-primary,
button.btn-primary,
.btn.btn-primary,
a.btn-primary {
    background: #0c1b2a !important;
    background-color: #0c1b2a !important;
    color: white !important;
    border: 2px solid #D3B574 !important;
}

.woocommerce ul.products li.product .btn-primary:hover,
button.btn-primary:hover,
.btn.btn-primary:hover,
a.btn-primary:hover {
    background: #1a2f45 !important;
    background-color: #1a2f45 !important;
    border-color: #D3B574 !important;
    color: white !important;
}

/* Fix FAQ Questions - FORCE NAVY not Blue - NUCLEAR OPTION */
.faq-question,
.faq-item button,
.faq-section .faq-question,
button.faq-question,
.elementor-toggle-title,
.elementor-tab-title,
div[class*="faq"] button,
div[class*="faq"] .faq-question,
.ct-toggle,
.ct-accordion-item button,
[class*="toggle"] button,
[class*="accordion"] button {
    background: transparent !important;
    background-color: transparent !important;
    color: #0c1b2a !important;
    border: none !important;
    border-color: transparent !important;
}

.faq-question:hover,
.faq-item button:hover,
button.faq-question:hover {
    color: #D3B574 !important;
    background: transparent !important;
}

.faq-question::after,
.faq-item button::after,
button.faq-question::after {
    color: #D3B574 !important;
}

/* FAQ expanded state */
.faq-question[aria-expanded="true"],
button.faq-question[aria-expanded="true"] {
    color: #0c1b2a !important;
    background: transparent !important;
}

/* Remove any blue backgrounds from Blocksy theme */
.ct-toggle,
.ct-accordion-item,
[class*="toggle"],
[class*="accordion"] {
    background: transparent !important;
}

/* Fix Wordbank/Collapsible Headers - FORCE NAVY */
.wordbank-header-toggle,
.wordbank-container h2 button,
button.wordbank-header-toggle {
    background: #0c1b2a !important;
    background-color: #0c1b2a !important;
    color: white !important;
    border: none !important;
}

.wordbank-header-toggle:hover,
button.wordbank-header-toggle:hover {
    background: #1a2f45 !important;
    background-color: #1a2f45 !important;
}

/* Fix Any Generic Blue Buttons from Blocksy */
.wp-block-button__link,
.button,
button[type="submit"],
input[type="submit"],
.wp-element-button {
    background-color: inherit !important;
}

/* Specifically target Blocksy's default blue */
button:not(.cart-button):not(.btn):not(.faq-question):not(.wordbank-header-toggle) {
    background-color: inherit;
}

/* Override any Blocksy primary color that might be blue */
:root {
    --theme-button-background-initial: #D3B574;
    --theme-button-background-hover: #bda25e;
}

/* Fix Single Product Form Overlap Issues - NUCLEAR OPTION */
/* Force sidebar and all contents to stay within bounds */
.sidebar,
.sidebar *,
div.sidebar,
aside.sidebar {
    box-sizing: border-box !important;
    max-width: 100% !important;
}

/* Quote card container */
.quote-card,
.sidebar .quote-card,
div.quote-card {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 2rem !important;
    margin: 0 0 2rem 0 !important;
    overflow: hidden !important;
}

/* Quote form wrapper */
.quote-form,
.quote-card .quote-form,
.sidebar .quote-form,
form.quote-form,
#singleProductQuoteForm {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 1.5rem !important;
    margin: 0 !important;
    background: white !important;
    border-radius: 4px !important;
}

/* Form groups */
.form-group,
.quote-form .form-group,
.quote-card .form-group,
div.form-group {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-bottom: 1rem !important;
    padding: 0 !important;
}

/* Form labels */
.form-group label,
.quote-form label,
.quote-card label {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-bottom: 0.5rem !important;
}

/* Form inputs and textareas - THE CRITICAL FIX */
.form-group input,
.form-group textarea,
.form-group select,
.quote-form input,
.quote-form textarea,
.quote-form select,
.quote-card input,
.quote-card textarea,
.quote-card select,
.sidebar input[type="text"],
.sidebar input[type="email"],
.sidebar input[type="tel"],
.sidebar textarea {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0.75rem !important;
    margin: 0 !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 4px !important;
    font-size: 0.95rem !important;
    font-family: inherit !important;
}

/* Submit buttons in forms */
.quote-form button,
.quote-card button,
form.quote-form button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
}

/* Ensure all form elements use border-box */
* {
    box-sizing: border-box;
}

input, textarea, select, button {
    box-sizing: border-box !important;
}

/* ============================================
   SUBMIT BUTTON FIXES - PROPER CONTRAST
   ============================================ */

/* Force submit buttons to have proper contrast - Dark text on gold */
.quote-form button[type="submit"],
.quote-card button[type="submit"],
form.quote-form button[type="submit"],
button[type="submit"].btn-primary,
.sidebar button[type="submit"],
.cart-footer button[type="submit"],
.btn-submit-quote,
form button[type="submit"] {
    background: #D3B574 !important;
    background-color: #D3B574 !important;
    color: #0c1b2a !important; /* Dark navy text for contrast */
    border: none !important;
    font-weight: 600 !important;
}

.quote-form button[type="submit"]:hover,
.quote-card button[type="submit"]:hover,
form button[type="submit"]:hover {
    background: #bda25e !important;
    background-color: #bda25e !important;
    color: #0c1b2a !important;
}

/* Quote form message area */
#quoteFormMessage {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 4px;
    font-size: 0.95rem;
}

/* ============================================
   FILTER PILLS SECTION
   ============================================ */

.filter-pills-section {
    background: white;
    border-bottom: 2px solid #e0e0e0;
    padding: 1rem 2rem;
}

.filter-pills-container {
    max-width: 1920px;
    margin: 0 auto;
    width: 100%;
}

.pills-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    background: #D3B574;
    color: white;
    animation: pillSlideIn 0.3s ease-out;
}

.filter-pill.search-pill {
    background: #0c1b2a;
    color: white;
}

.pill-remove {
    background: none !important;
    border: none !important;
    color: white !important;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0 !important;
    line-height: 1;
    transition: opacity 0.2s;
}

.pill-remove:hover {
    opacity: 0.7;
}

.clear-all-filters {
    background: #0c1b2a !important;
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    transition: background 0.2s;
}

.clear-all-filters:hover {
    background: #1a2f45 !important;
    color: white !important;
}

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

/* Mobile responsive for pills */
@media (max-width: 768px) {
    .filter-pills-section {
        padding: 0.75rem 1rem;
    }

    .pills-wrapper {
        gap: 0.5rem;
    }
}

/* ============================================
   FIX CARD LAYOUT - PREVENT EXTRA SPACE
   ============================================ */

/* Grid needs to stretch to fill available width without leaving phantom columns */
.products,
.product-grid,
ul.products {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) !important;
    gap: 1.5rem !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    align-items: stretch !important;
    justify-items: stretch !important;
    justify-content: stretch !important;
}

/* Force each product list item to behave like a flex column so cards equalize height */
.products li.product,
ul.products li.product {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    min-height: auto !important;
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    overflow: visible !important;
    align-self: stretch !important;
    min-width: 0 !important;
}

.products li.product::before,
.products li.product::after,
ul.products li.product::before,
ul.products li.product::after {
    content: none !important;
    box-shadow: none !important;
}

/* Ensure the card consumes the full height and uses flex for internal layout */
.products li.product .product-card,
ul.products li.product .product-card {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    height: 100% !important;
    box-sizing: border-box !important;
    flex: 1 1 auto !important;
}

/* Allow the body to stretch while keeping footer anchored at bottom */
.products li.product .product-card .product-body,
ul.products li.product .product-card .product-body {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
}

.products li.product .product-card .product-footer,
ul.products li.product .product-card .product-footer {
    margin-top: auto !important;
}

/* Responsive grid adjustments */
@media (min-width: 768px) {
    .products,
    .product-grid,
    ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (min-width: 1024px) {
    .products,
    .product-grid,
    ul.products {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (min-width: 1400px) {
    .products,
    .product-grid,
    ul.products {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

@media (min-width: 1700px) {
    .products,
    .product-grid,
    ul.products {
        grid-template-columns: repeat(5, 1fr) !important;
    }
}

@media (min-width: 2000px) {
    .products,
    .product-grid,
    ul.products {
        grid-template-columns: repeat(6, 1fr) !important;
    }
}
/* ============================================
   PRODUCT CARD UNIFORMITY - FIXED HEIGHT
   ============================================ */

/* Set minimum height for product cards, allow expansion */
.product-card {
    min-height: 480px !important;
}

/* Product description - show 8 lines by default (archive pages only) */
.woocommerce-page:not(.single-product) .product-description,
.archive .product-description,
.post-type-archive .product-description,
ul.products li.product .product-description,
.products li.product .product-description,
.product-card .product-description,
li.product .product-description,
.product-body .product-description {
    max-height: 168px !important;
    overflow: hidden !important;
    position: relative !important;
    line-height: 1.5 !important;
    margin-bottom: 0.75rem !important;
    text-overflow: ellipsis !important;
    display: -webkit-box !important;
    line-clamp: 8 !important;
    -webkit-line-clamp: 8 !important;
    -webkit-box-orient: vertical !important;
    color: #666 !important;
    font-size: 0.875rem !important;
}

/* Ensure single product pages are NOT truncated */
.single-product .product-description {
    max-height: none !important;
    line-clamp: unset !important;
    -webkit-line-clamp: unset !important;
    display: block !important;
    overflow: visible !important;
}

/* ============================================
   SHOP HEADER - STICKY & COMPACT
   ============================================ */

/* Shop/Inventory header styling */
.shop-header,
.page-header.woocommerce-products-header,
.woocommerce-products-header {
    background: linear-gradient(135deg, #0c1b2a 0%, #1a2f45 100%) !important;
    padding: 1.5rem 2rem !important;
    border-bottom: 3px solid #D3B574 !important;
    position: relative !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    z-index: 999 !important;
}

.shop-header h1,
.woocommerce-products-header__title,
.page-title {
    font-size: 2rem !important;
    font-weight: 700 !important;
    margin: 0 !important;
    padding: 0 !important;
    color: white !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

/* Sticky state */
.shop-header.sticky,
.woocommerce-products-header.sticky {
    position: sticky !important;
    top: 0 !important;
    padding: 0.75rem 2rem !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2) !important;
}

.shop-header.sticky h1,
.woocommerce-products-header.sticky .woocommerce-products-header__title {
    font-size: 1.5rem !important;
}

/* Account for WordPress admin bar */
body.admin-bar .shop-header.sticky,
body.admin-bar .woocommerce-products-header.sticky {
    top: 32px !important;
}

@media (max-width: 782px) {
    body.admin-bar .shop-header.sticky,
    body.admin-bar .woocommerce-products-header.sticky {
        top: 46px !important;
    }
}

/* Account for Elementor header (adjust if needed) */
body:not(.admin-bar) .shop-header.sticky,
body:not(.admin-bar) .woocommerce-products-header.sticky {
    top: 0 !important; /* Adjust to your Elementor header height if needed */
}

/* ============================================
   HEADER COLLISION FIX
   ============================================ */

/* Ensure proper z-index layering */
.elementor-location-header {
    z-index: 9999 !important;
}

.shop-header,
.woocommerce-products-header {
    z-index: 999 !important;
}

/* Smooth transitions */
.shop-header,
.woocommerce-products-header {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* ============================================
   TARGET FAQ IN PRODUCT CONTENT - CSV DATA
   ============================================ */

/* Target FAQ section from WooCommerce product description */
#wb-faq,
.wordbank-container #wb-faq,
div[id*="wb-faq"] {
    margin: 2rem 0 !important;
}

/* FAQ accordion container */
.faq-accordion {
    margin: 1rem 0 !important;
}

/* FAQ items */
.faq-item {
    border-bottom: 1px solid #e0e0e0 !important;
    padding: 1rem 0 !important;
}

/* FAQ buttons inside H3 - TARGET YOUR ACTUAL STRUCTURE */
.faq-item h3 {
    margin: 0 !important;
    padding: 0 !important;
}

.faq-item h3 button,
.faq-item button {
    width: 100% !important;
    text-align: left !important;
    background: transparent !important;
    border: none !important;
    padding: 0.5rem 2rem 0.5rem 0 !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    color: #0c1b2a !important;
    cursor: pointer !important;
    position: relative !important;
    display: block !important;
    font-family: inherit !important;
}

.faq-item h3 button:hover,
.faq-item button:hover {
    color: #D3B574 !important;
}

/* Plus/Minus icon */
.faq-item h3 button::after,
.faq-item button::after {
    content: '+' !important;
    position: absolute !important;
    right: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 1.5rem !important;
    color: #D3B574 !important;
    font-weight: 700 !important;
}

.faq-item h3 button[aria-expanded="true"]::after,
.faq-item button[aria-expanded="true"]::after {
    content: '−' !important;
}

/* FAQ content (answers) - SEO-friendly collapse using max-height instead of hidden/display:none */
.faq-content,
.faq-item .faq-content {
    color: #666 !important;
    line-height: 1.7 !important;
    max-height: 0 !important;
    overflow: hidden !important;
    padding: 0 !important;
    transition: max-height 0.3s ease, padding 0.3s ease !important;
}

/* Open state for FAQ items */
.faq-item.is-open .faq-content,
.faq-item.is-open > .faq-content {
    max-height: 2000px !important;
    overflow: visible !important;
    padding: 1rem 0 0.5rem !important;
}

/* Override hidden attribute on faq-content so Google can still see it */
.faq-content[hidden],
.faq-item .faq-content[hidden] {
    display: block !important;
    max-height: 0 !important;
    overflow: hidden !important;
    padding: 0 !important;
}

/* ============================================
   FIX FAQ SECTION - OVERRIDE WORDBANK STYLING
   ============================================ */

/* Exclude FAQ from wordbank toggle styling */
#wb-faq h2,
#wb-faq .wordbank-header-toggle {
    background: transparent !important;
    color: #0c1b2a !important;
    border: none !important;
    padding: 0 0 0.5rem 0 !important;
    margin: 0 0 1.5rem 0 !important;
    font-size: 2rem !important;
    cursor: default !important;
    pointer-events: none !important;
}

/* FAQ section container */
#wb-faq.wordbank-container {
    background: transparent !important;
    border: none !important;
    padding: 2rem 0 !important;
}

/* FAQ accordion wrapper */
#wb-faq .faq-accordion {
    background: transparent !important;
}

/* FAQ item styling - FORCE CORRECT COLORS */
#wb-faq .faq-item {
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid #e0e0e0 !important;
    padding: 1.5rem 0 !important;
    margin: 0 !important;
}

/* FAQ question buttons - NAVY TEXT ON TRANSPARENT */
#wb-faq .faq-item h3,
#wb-faq .faq-item h3 button {
    background: transparent !important;
    background-color: transparent !important;
    color: #0c1b2a !important;
    border: none !important;
    padding: 0.5rem 2rem 0.5rem 0 !important;
    margin: 0 !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    width: 100% !important;
    text-align: left !important;
    cursor: pointer !important;
    position: relative !important;
    display: block !important;
    pointer-events: auto !important;
}

/* FAQ button hover */
#wb-faq .faq-item h3 button:hover {
    color: #D3B574 !important;
    background: transparent !important;
}

/* Gold plus/minus icons */
#wb-faq .faq-item h3 button::after {
    content: '+' !important;
    position: absolute !important;
    right: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 1.5rem !important;
    color: #D3B574 !important;
    font-weight: 700 !important;
    line-height: 1 !important;
}

#wb-faq .faq-item h3 button[aria-expanded="true"]::after {
    content: '−' !important;
}

/* FAQ answers */
#wb-faq .faq-content {
    background: transparent !important;
    padding: 1rem 0 0.5rem !important;
    color: #666 !important;
    line-height: 1.7 !important;
}

#wb-faq .faq-content p {
    color: #666 !important;
    margin: 0 !important;
}

/* ====================================
   SIDEBAR FILTERS
   ==================================== */

/* Container with sidebar */
.shop-container-with-sidebar {
    display: flex;
    gap: 2rem;
    max-width: 1920px;
    margin: 0 auto;
    padding: 2rem 1rem;
    width: 100%;
}

/* Sidebar */
.shop-sidebar {
    width: 250px;
    flex-shrink: 0;
}

.sidebar-section {
    margin-bottom: 2rem;
}

.sidebar-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0c1b2a;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #D3B574;
}

.filter-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-height: 300px;
    overflow-y: auto;
    padding-right: 0.25rem;
}

.filter-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.75rem;
    color: #333;
    text-decoration: none;
    font-size: 0.95rem;
    border-radius: 4px;
    transition: all 0.2s;
}

.filter-item:hover {
    background-color: #f5f5f5;
    color: #0c1b2a;
}

.filter-item.active {
    background-color: #0c1b2a;
    color: white;
    font-weight: 600;
}

.filter-item .count {
    font-size: 0.85rem;
    color: #999;
}

.filter-item.active .count {
    color: #D3B574;
}

.clear-filters-btn {
    display: block;
    width: 100%;
    padding: 0.75rem;
    background-color: #D3B574;
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.2s;
}

.clear-filters-btn:hover {
    background-color: #c2a563;
    color: white;
}

.sidebar-actions {
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    background: #ffffff;
    padding: 0.75rem;
    border: 1px solid #e0e4ea;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    box-shadow: 0 6px 18px rgba(12, 27, 42, 0.08);
    z-index: 5;
}

.sidebar-actions .apply-filters-btn {
    margin-bottom: 0 !important;
}

.sidebar-actions .clear-filters-btn {
    margin: 0 !important;
}

.filter-search {
    position: sticky;
    top: 6.5rem;
    z-index: 4;
    margin-bottom: 0.75rem;
    background: #ffffff;
}

.filter-search-input {
    width: 100%;
    border: 1px solid #d9dde3;
    border-radius: 6px;
    padding: 0.55rem 0.75rem;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.filter-search-input:focus {
    border-color: #0c1b2a;
    box-shadow: 0 0 0 2px rgba(211, 181, 116, 0.35);
}

.filter-empty-state {
    font-size: 0.85rem;
    color: #666;
    margin: 0 0 1rem;
    display: none;
}

.filter-empty-state.is-visible {
    display: block;
}

/* Main content area with sidebar */
.shop-container-with-sidebar .main-content-area {
    flex: 1;
    min-width: 0;
}

.mobile-filter-toggle {
    display: none;
}

.mobile-filter-overlay {
    display: none;
}

.mobile-filter-overlay.is-active {
    display: block;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .shop-container-with-sidebar {
        display: flex;
        gap: 2rem;
        max-width: 1920px;
        margin: 0 auto;
        padding: 2rem 1rem;
        width: 100%;
    }

    .shop-container-with-sidebar .main-content-area {
        width: 100%;
    }

    .mobile-filter-toggle {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0.4rem !important;
        background: #0c1b2a !important;
        color: #fff !important;
        padding: 0.65rem 0.4rem !important;
        border: none !important;
        border-radius: 0 10px 10px 0 !important;
        width: 42px !important;
        height: 120px !important;
        font-size: 0.75rem !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.35em !important;
        cursor: pointer !important;
        box-shadow: 4px 0 18px rgba(12, 27, 42, 0.25) !important;
        position: fixed !important;
        left: calc(env(safe-area-inset-left, 0px)) !important;
        top: calc(env(safe-area-inset-top, 0px) + var(--mobile-filters-offset)) !important;
        z-index: 12000 !important;
        touch-action: none !important;
        transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease !important;
    }

    .mobile-filter-toggle .toggle-icon {
        transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease !important;
        display: inline-flex !important;
        width: 26px !important;
        height: 26px !important;
        border-radius: 999px !important;
        border: 2px solid rgba(255,255,255,0.75) !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 1.1rem !important;
        font-weight: 700 !important;
        line-height: 1 !important;
        background: rgba(255,255,255,0.12) !important;
    }

    .mobile-filter-toggle .toggle-label {
        writing-mode: vertical-rl !important;
        transform: rotate(180deg) !important;
        text-transform: uppercase !important;
        letter-spacing: 0.25em !important;
        font-size: 0.65rem !important;
        color: inherit !important;
    }

    .mobile-filter-toggle[aria-expanded="true"] {
        background: #D3B574 !important;
        color: #0c1b2a !important;
        box-shadow: 4px 0 20px rgba(12, 27, 42, 0.35) !important;
    }

    .mobile-filter-toggle[aria-expanded="true"] .toggle-icon {
        transform: scaleX(-1);
        border-color: rgba(12, 27, 42, 0.35);
        background: rgba(12, 27, 42, 0.08);
        color: #0c1b2a;
    }

    .shop-sidebar {
        position: fixed !important;
        left: calc(env(safe-area-inset-left, 0px)) !important;
        top: calc(env(safe-area-inset-top, 0px) + var(--elementor-header-height, 0px)) !important;
        bottom: 0 !important;
        width: min(320px, 82vw) !important;
        background: #fff !important;
        border-radius: 0 16px 16px 0 !important;
        border: 1px solid rgba(12, 27, 42, 0.08) !important;
        box-shadow: 18px 0 30px rgba(12, 27, 42, 0.18) !important;
        padding: 1.5rem !important;
        overflow-y: auto !important;
        touch-action: pan-y !important;
        -webkit-overflow-scrolling: touch !important;
        overscroll-behavior: contain !important;
        scrollbar-gutter: stable both-edges !important;
        transform: translateX(-110%) !important;
        opacity: 0 !important;
        pointer-events: none !important;
        transition: transform 0.28s ease, opacity 0.28s ease !important;
        z-index: 11900 !important;
    }

    .shop-sidebar.is-open {
        transform: translateX(0) !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    .shop-sidebar.is-dragging {
        transition: none !important;
    }

    .mobile-filter-overlay {
        position: fixed;
        inset: 0;
        background: rgba(12, 27, 42, 0.55);
        z-index: 11850;
        opacity: 0;
        transition: opacity 0.2s ease;
        pointer-events: none;
    }

    .mobile-filter-overlay.is-active {
        opacity: 1;
        pointer-events: auto;
    }

    .sidebar-section {
        margin-bottom: 1.25rem !important;
    }
}

/* ====================================
   SIDEBAR FILTERS - UPDATED WITH BACKGROUND & COMPACT SIZE
   ==================================== */

@media (min-width: 769px) {
    /* Override previous sidebar styles */
    .shop-sidebar {
        width: 280px !important;
        flex-shrink: 0 !important;
        background: white !important;
        border: 2px solid #e0e0e0 !important;
        border-radius: 8px !important;
        padding: 1.5rem !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.05) !important;
        position: sticky !important;
        top: 2rem !important;
        max-height: calc(100vh - 4rem) !important;
        overflow-y: auto !important;
    }

    .sidebar-section {
        margin-bottom: 1.5rem !important;
        padding-bottom: 1.5rem !important;
        border-bottom: 1px solid #e0e0e0 !important;
    }

    .sidebar-section:last-of-type {
        border-bottom: none !important;
        padding-bottom: 0 !important;
    }

    .sidebar-title {
        font-size: 1rem !important;
        font-weight: 700 !important;
        color: #0c1b2a !important;
        margin-bottom: 0.75rem !important;
        padding-bottom: 0.5rem !important;
        border-bottom: 2px solid #D3B574 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
    }

    .filter-list {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.35rem !important;
        max-height: 260px !important;
        overflow-y: auto !important;
        padding-right: 0.5rem !important;
    }

    /* Custom scrollbar for filter lists */
    .filter-list::-webkit-scrollbar {
        width: 6px !important;
    }

    .filter-list::-webkit-scrollbar-track {
        background: #f1f1f1 !important;
        border-radius: 3px !important;
    }

    .filter-list::-webkit-scrollbar-thumb {
        background: #D3B574 !important;
        border-radius: 3px !important;
    }

    .filter-list::-webkit-scrollbar-thumb:hover {
        background: #bda25e !important;
    }

    .filter-item {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 0.4rem 0.6rem !important;
        color: #555 !important;
        text-decoration: none !important;
        font-size: 0.875rem !important;
        border-radius: 4px !important;
        transition: all 0.2s !important;
        background: #f8f8f8 !important;
    }

    .filter-item:hover {
        background-color: #e8e8e8 !important;
        color: #0c1b2a !important;
    }

    .filter-item.active {
        background-color: #0c1b2a !important;
        color: white !important;
        font-weight: 600 !important;
    }

    .filter-item .count {
        font-size: 0.75rem !important;
        color: #999 !important;
        font-weight: 600 !important;
    }

    .filter-item.active .count {
        color: #D3B574 !important;
    }

    .clear-filters-btn {
        display: block !important;
        width: 100% !important;
        padding: 0.65rem !important;
        background-color: #D3B574 !important;
        color: white !important;
        text-align: center !important;
        text-decoration: none !important;
        border-radius: 4px !important;
        font-weight: 600 !important;
        font-size: 0.875rem !important;
        transition: background-color 0.2s !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
    }

    .clear-filters-btn:hover {
        background-color: #c2a563 !important;
        color: white !important;
    }
}


/* ====================================
   CHECKBOX FILTERS WITH SUBMIT BUTTON
   ==================================== */

/* Checkbox filter styling */
.filter-checkbox {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    padding: 0.4rem 0.6rem !important;
    border-radius: 4px !important;
    transition: all 0.2s !important;
    background: #f8f8f8 !important;
    cursor: pointer !important;
}

.filter-checkbox:hover {
    background: #e8e8e8 !important;
}

.filter-checkbox input[type="checkbox"] {
    width: 16px !important;
    height: 16px !important;
    cursor: pointer !important;
    accent-color: #D3B574 !important;
}

.filter-label {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex: 1 !important;
    font-size: 0.875rem !important;
    color: #555 !important;
    cursor: pointer !important;
}

.filter-checkbox input[type="checkbox"]:checked + .filter-label {
    font-weight: 600 !important;
    color: #0c1b2a !important;
}

.filter-label .count {
    font-size: 0.75rem !important;
    color: #999 !important;
    font-weight: 600 !important;
}

/* Filter checkbox item labels */
.filter-checkbox-item {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    padding: 0.4rem 0.6rem !important;
    border-radius: 4px !important;
    transition: all 0.2s !important;
    background: #f8f8f8 !important;
    cursor: pointer !important;
    margin-bottom: 0.25rem !important;
}

.filter-checkbox-item[hidden] {
    display: none !important;
}

.filter-checkbox-item:hover {
    background: #e8e8e8 !important;
}

.filter-checkbox-item.active {
    background: #0c1b2a !important;
}

.filter-checkbox-item input[type="checkbox"] {
    width: 16px !important;
    height: 16px !important;
    cursor: pointer !important;
    accent-color: #D3B574 !important;
    margin: 0 !important;
}

.filter-checkbox-item .filter-label {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex: 1 !important;
    font-size: 0.875rem !important;
    color: #555 !important;
    cursor: pointer !important;
}

.filter-checkbox-item.active .filter-label {
    font-weight: 600 !important;
    color: white !important;
}

.filter-checkbox-item .filter-label .count {
    font-size: 0.75rem !important;
    color: #999 !important;
    font-weight: 600 !important;
}

.filter-checkbox-item.active .filter-label .count {
    color: #D3B574 !important;
}

/* Apply Filters Button */
.apply-filters-btn {
    display: block !important;
    width: 100% !important;
    padding: 0.75rem !important;
    background-color: #0c1b2a !important;
    color: white !important;
    border: none !important;
    border-radius: 4px !important;
    font-weight: 700 !important;
    font-size: 0.875rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    cursor: pointer !important;
    transition: background-color 0.2s !important;
    margin-bottom: 0.75rem !important;
}

.apply-filters-btn:hover {
    background-color: #1a2f45 !important;
}

/* Clear filters button (adjusted for form layout) */
.sidebar-section .clear-filters-btn,
.sidebar-actions .clear-filters-btn {
    margin-top: 0 !important;
}

.active-filters {
    display: none;
    align-items: flex-start;
    gap: 0.75rem;
    flex-wrap: wrap;
    background: #fffaf0;
    border: 1px solid #d3b574;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    margin-bottom: 1.5rem;
}

.active-filters.is-visible {
    display: flex;
}

.active-filters-label {
    font-weight: 700;
    color: #0c1b2a;
    font-size: 0.9rem;
    margin-right: 0.25rem;
}

.active-filters-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

#activeFilters .filter-pill {
    border: 1px solid #d3b574;
    background: #f5e9ce;
    color: #0c1b2a;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 0.95rem;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    text-decoration: none;
    text-shadow: none;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.6), 0 2px 6px rgba(12,27,42,0.08);
}

#activeFilters .filter-pill:hover,
#activeFilters .filter-pill:focus {
    transform: translateY(-1px);
    background: #edd9a6;
    border-color: #c8a95d;
    color: #0b1726;
}

#activeFilters .filter-pill .pill-remove {
    font-size: 1rem;
    line-height: 1;
    color: inherit;
    opacity: 0.8;
}

#activeFilters .clear-active-filters {
    border: none;
    background: #0c1b2a;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    cursor: pointer;
    padding: 0.4rem 0.95rem;
    border-radius: 999px;
    box-shadow: 0 2px 6px rgba(12,27,42,0.12);
}

.clear-active-filters[hidden] {
    display: none;
}

@media (max-width: 1024px) {
    .sidebar-actions {
        position: static;
        box-shadow: none;
    }

    .filter-search {
        position: static;
    }
}

/* ===== SHORT DESCRIPTION CONTAINER ===== */
.short-description-container {
  margin-bottom: 1.5rem;
}

.short-description-container p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-steel-700, #404040);
  margin: 0;
}

/* ===== CTA SECTION ===== */
.cta-section {
  text-align: center;
  padding: 2rem 1.5rem;
}

.cta-section h2 {
  margin-bottom: 0.75rem;
}

.cta-section p {
  margin-bottom: 1.25rem;
  color: var(--color-steel-600, #525252);
}

.cta-buttons {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-buttons .button {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  border-radius: 3px;
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  transition: background 0.2s, color 0.2s;
}

.cta-buttons a.button.quote-button,
.woocommerce .cta-buttons a.button.quote-button {
  background: #D3B574 !important;
  background-color: #D3B574 !important;
  color: #0c1b2a !important;
  border: 2px solid #D3B574 !important;
}

.cta-buttons a.button.quote-button:hover,
.woocommerce .cta-buttons a.button.quote-button:hover {
  background: #bda25e !important;
  background-color: #bda25e !important;
  border-color: #bda25e !important;
  color: #fff !important;
}

.cta-buttons a.button.brand-button,
.woocommerce .cta-buttons a.button.brand-button {
  background: #0c1b2a !important;
  background-color: #0c1b2a !important;
  color: #fff !important;
  border: 2px solid #D3B574 !important;
}

.cta-buttons a.button.brand-button:hover,
.woocommerce .cta-buttons a.button.brand-button:hover {
  background: #D3B574 !important;
  background-color: #D3B574 !important;
  color: #0c1b2a !important;
}

.cta-buttons a.button.inventory-button,
.woocommerce .cta-buttons a.button.inventory-button {
  background: #D3B574 !important;
  background-color: #D3B574 !important;
  color: #0c1b2a !important;
  border: 2px solid #D3B574 !important;
}

.cta-buttons a.button.inventory-button:hover,
.woocommerce .cta-buttons a.button.inventory-button:hover {
  background: #bda25e !important;
  background-color: #bda25e !important;
  border-color: #bda25e !important;
  color: #fff !important;
}

/* ===== NEW DYNAMIC SECTIONS (inventory, product data, industry, tech overview, service offerings, logistics) ===== */
.new-dynamic-section {
  border-left: 3px solid var(--color-accent-500, #D3B574);
}

/* ===== DISCLAIMER SECTION (required on all product pages) ===== */
.disclaimer-section {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  background: var(--color-steel-100, #f5f5f5);
  border-left: 3px solid var(--color-steel-400, #a3a3a3);
  border-radius: 3px;
}

.disclaimer-section .disclaimer {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--color-steel-600, #525252);
}

.disclaimer-section .disclaimer strong {
  color: var(--color-steel-800, #2d2d2d);
}