/* =========================================================================
   LEVTRON INSTRUMENTS - PRODUCTS CATALOG STYLESHEET (industrial-level-measurement-products.css)
   ========================================================================= */

.products-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.products-filter-bar > div {
  flex: 1 1 280px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  align-items: stretch;
}

.product-card,
.glass-card.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  background: #ffffff !important;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.25rem !important;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.product-card.is-hidden,
.glass-card.product-card.is-hidden {
  display: none !important;
}

.product-card:hover,
.glass-card.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-blue, #0284c7);
  box-shadow: 0 16px 32px rgba(37, 99, 235, 0.12), 0 4px 12px rgba(15, 23, 42, 0.06);
}

.product-img-holder {
  height: 200px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background: #ffffff !important;
  margin-bottom: 1rem;
  border: 1px solid #f1f5f9;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 12px !important;
  text-align: center;
}

.product-img-holder a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 auto !important;
}

.product-img-holder img {
  max-width: 100% !important;
  max-height: 100% !important;
  width: auto;
  height: auto;
  margin: 0 auto !important;
  display: block !important;
  object-fit: contain !important;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-img-holder img {
  transform: scale(1.06);
}

/* Responsive Grid Fitting */
@media (min-width: 1400px) {
  .products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.75rem;
  }
}

@media (max-width: 1100px) {
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

@media (max-width: 650px) {
  .products-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .product-img-holder {
    height: 180px;
  }
}

/* =========================================================================
   LOCATION WE SERVE SECTION (Matches Reference Image 1)
   ========================================================================= */
.location-serve-section {
  padding: 1.5rem 0 3.5rem;
  width: 100%;
  box-sizing: border-box;
}

.location-serve-bar {
  background-color: #2563eb;
  color: #ffffff;
  border-radius: 8px;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.location-serve-bar:hover {
  background-color: #1d4ed8;
}

.location-serve-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.location-serve-title i {
  font-size: 1.1rem;
}

.location-serve-action {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.location-serve-chevron {
  font-size: 0.95rem;
  transition: transform 0.3s ease;
}

.location-serve-content {
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, margin-top 0.3s ease;
  max-height: 1200px;
  opacity: 1;
}

.location-serve-content.is-collapsed {
  max-height: 0;
  opacity: 0;
  margin-top: 0 !important;
  pointer-events: none;
}

.location-serve-card {
  background: #0b1728;
  border-radius: 18px;
  max-width: 860px;
  margin: 24px auto 0;
  padding: 26px 36px 30px;
  box-shadow: 0 16px 36px rgba(11, 23, 40, 0.28);
  box-sizing: border-box;
}

.location-serve-city {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 22px;
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.location-serve-city i {
  color: #0099ff;
  font-size: 1.15rem;
}

.location-serve-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 44px;
}

.location-serve-col {
  display: flex;
  flex-direction: column;
}

.location-serve-item {
  display: flex;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.location-serve-item:last-child {
  border-bottom: none;
}

.location-serve-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #2563eb;
  margin-right: 14px;
  flex-shrink: 0;
}

.location-serve-link {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.4;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.location-serve-link:hover {
  color: #38bdf8;
  transform: translateX(3px);
}

@media (max-width: 768px) {
  .location-serve-card {
    padding: 20px 20px 24px;
    margin: 16px auto 0;
    border-radius: 14px;
  }

  .location-serve-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .location-serve-col:first-child .location-serve-item:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .location-serve-bar {
    padding: 12px 18px;
    border-radius: 6px;
  }

  .location-serve-title {
    font-size: 0.92rem;
  }

  .location-serve-action {
    font-size: 0.82rem;
  }

  .location-serve-link {
    font-size: 0.88rem;
  }
}

@media (max-width: 480px) {
  .location-serve-bar {
    padding: 10px 14px;
  }
  .location-serve-title {
    font-size: 0.82rem;
    letter-spacing: 0.3px;
  }
  .location-serve-action {
    font-size: 0.74rem;
  }
  .location-serve-card {
    padding: 16px 12px 20px;
    margin: 12px auto 0;
    border-radius: 12px;
  }
  .location-serve-link {
    font-size: 0.84rem;
  }
}



