.products-main {
  display: flex;
  gap: 30px;
  margin: 30px 0 40px;
}
.products-sidebar {
  flex: 0 0 280px;
  border-right: 1px solid #e4e9f0;
  padding-right: 25px;
}
.products-content {
  flex: 1;
}
.category-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #003f7d;
  margin-bottom: 30px;
}
.category-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}
.category-menu-item {
  margin-bottom: 12px;
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 6px;
}
.category-menu-item:last-child {
  border-bottom: none;
}
.category-menu-link {
  display: block;
  color: #444;
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.2s;
}
.category-menu-link:hover {
  background-color: #f5f9fd;
  color: #003f7d;
}
.category-menu-link.active {
  background-color: #003f7d;
  color: #fff;
}
.category-menu-link.has-children {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.category-menu-link.has-children:after {
  content: '▼';
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}
.category-menu-link.has-children.expanded:after {
  transform: rotate(180deg);
}
.category-menu-link.parent-active {
  background-color: #e0ecf9;
  color: #003f7d;
  font-weight: 600;
}
.subcategory-menu {
  list-style: none;
  padding-left: 15px;
  margin-top: 8px;
  margin-bottom: 8px;
  background-color: #f8fafc;
  border-radius: 4px;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out, margin 0.3s ease-in-out;
}
.subcategory-menu.active {
  max-height: 1000px;
  opacity: 1;
}
.subcategory-menu-item {
  margin-bottom: 8px;
  transform: translateX(-10px);
  opacity: 0;
  transition: transform 0.3s ease-out, opacity 0.3s ease-out;
  transition-delay: calc(0.05s * var(--item-index, 0));
}
.subcategory-menu.active .subcategory-menu-item {
  transform: translateX(0);
  opacity: 1;
}
.subcategory-menu-link {
  display: block;
  color: #666;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 0.95rem;
  transition: all 0.25s ease;
}
.subcategory-menu-link:hover {
  background-color: #f5f9fd;
  color: #003f7d;
  transform: translateX(3px);
}
.subcategory-menu-link.active {
  font-weight: 700 !important;
  color: #003f7d !important;
  background-color: #e8effb !important;
  padding-left: 15px !important;
  box-shadow: 0 2px 8px rgba(0,63,125,0.1);
}
.subcategory-menu-link.parent-active {
  background-color: #e7f0fa;
  color: #003f7d;
  font-weight: 600;
  border-left: 3px solid #005cb9;
  padding-left: 12px;
}
.scale-type-menu {
  list-style: none;
  padding-left: 15px;
  margin-top: 8px;
  margin-bottom: 8px;
  background-color: #f8fafc;
  border-radius: 4px;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out, margin-top 0.3s ease-in-out, margin-bottom 0.3s ease-in-out;
}
.scale-type-menu.active {
  max-height: 1000px;
  opacity: 1;
  border-left: 2px solid #a9bdd8;
  padding-top: 6px;
  padding-bottom: 6px;
}
.scale-type-menu-item {
  margin-bottom: 6px;
  position: relative;
  transform: translateX(-10px);
  opacity: 0;
  transition: transform 0.3s ease-out, opacity 0.3s ease-out;
  transition-delay: calc(0.05s * var(--item-index, 0));
}
.scale-type-menu.active .scale-type-menu-item {
  transform: translateX(0);
  opacity: 1;
}
.scale-type-menu-item:before {
  content: '';
  position: absolute;
  left: -10px;
  top: 50%;
  width: 3px;
  height: 0;
  background: #003f7d;
  transform: translateY(-50%);
  transition: height 0.3s ease;
  opacity: 0;
}
.scale-type-menu-item:has(.scale-type-menu-link.active):before {
  height: 80%;
  opacity: 1;
}
.scale-type-menu-link {
  display: block;
  color: #777;
  text-decoration: none;
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 0.9rem;
  transition: all 0.25s ease;
}
.scale-type-menu-link:hover {
  background-color: #f0f5fb;
  color: #003f7d;
  transform: translateX(3px);
}
.scale-type-menu-link.active {
  font-weight: 700;
  color: #003f7d;
  background-color: #e8effb;
  padding-left: 15px;
  box-shadow: 0 2px 8px rgba(0,63,125,0.1);
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}
.product-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 15px rgba(0,0,0,0.07);
  padding: 20px;
  text-align: center;
  transition: all 0.3s;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.product-card:hover {
  box-shadow: 0 5px 25px rgba(0,63,125,0.12);
  transform: translateY(-3px);
}
.product-image {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  padding: 10px;
}
.product-image img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  object-position: center;
  transition: transform 0.3s;
  border-radius: 8px;
}
.default-product-image {
  opacity: 0.6;
  filter: grayscale(30%);
  background: #f8f9fa;
}

.sort-controls {
  position: relative;
  z-index: 15;
}
.sort-dropdown {
  position: relative;
}
.sort-dropdown-menu {
  z-index: 9999 !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  border-radius: 8px;
  border: 1px solid #dce6f5;
  min-width: 160px;
  margin-top: 4px !important;
}
.sort-dropdown .dropdown-menu {
  z-index: 1060 !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  position: absolute !important;
  right: 0 !important;
  left: auto !important;
  transform: none !important;
  will-change: transform;
}
.sort-dropdown .dropdown-item {
  padding: 8px 16px;
  transition: all 0.2s ease;
}
.sort-dropdown .dropdown-item:hover {
  background-color: #f8fafc;
  color: #003f7d;
}
.sort-dropdown .dropdown-item.active {
  background-color: #003f7d;
  color: white;
}
.sort-dropdown .dropdown-item.active:hover {
  background-color: #002d5a;
}
.no-image-placeholder {
  height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #003f7d !important;
  color: white;
  border-radius: 8px;
}
.product-card:hover .product-image img {
  transform: scale(1.05);
}
.product-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #003f7d;
  margin-bottom: 8px;
}
.product-category {
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 15px;
}
.product-badge {
  position: absolute;
  top: 0;
  left: 0;
  background-color: #e30613;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 15px;
  text-transform: uppercase;
  z-index: 1;
}
.product-detail-btn {
  background: #003f7d;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s;
  margin-top: 15px;
  display: inline-block;
}
.product-detail-btn:hover {
  background: #002d5a;
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,63,125,0.2);
}
.products-breadcrumb {
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 0.95rem;
}
.products-breadcrumb a {
  color: #666;
  text-decoration: none;
}
.products-breadcrumb a:hover {
  color: #003f7d;
  text-decoration: underline;
}
@media (max-width: 991.98px) {
  .products-main {
    flex-direction: column;
  }
  .products-sidebar {
    flex: 0 0 auto;
    border-right: none;
    border-bottom: 1px solid #e4e9f0;
    padding-right: 0;
    padding-bottom: 20px;
    margin-bottom: 20px;
  }
}

.category-icon {
  margin-right: 8px;
  height: 20px;
  width: 20px;
  object-fit: contain;
}

.subcategory-icon {
  margin-right: 6px;
  height: 16px;
  width: 16px;
  object-fit: contain;
}

.news-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.news-card-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.news-card:hover .news-card-image img {
  transform: scale(1.05);
}

.news-card-content {
  padding: 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-card-date {
  color: #6c757d;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 12px;
}

.news-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 15px;
  line-height: 1.4;
}

.news-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.news-card-title a:hover {
  color: #007bff;
}

.news-card-summary {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 20px;
  flex: 1;
}

.news-card-footer {
  margin-top: auto;
}

.btn-read-more {
  background: #007bff;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.btn-read-more:hover {
  background: #0056b3;
  color: white;
  text-decoration: none;
  transform: translateX(2px);
}

.news-sort-controls {
  background: linear-gradient(to right, #f0f5fb, #f7f9fc);
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: 0 3px 15px rgba(0,0,0,0.05);
  border: 1px solid #dbe3ef;
  margin-bottom: 25px;
}

.sort-heading {
  font-weight: 600;
  color: #003f7d;
  font-size: 16px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.sort-heading i {
  margin-right: 8px;
  background: #e0ecf9;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #003f7d;
}

.news-sort-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.news-sort-option {
  display: flex;
  align-items: center;
  padding: 9px 16px;
  background: white;
  border-radius: 8px;
  border: 1px solid #dbe3ef;
  color: #495057;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

.news-sort-option:hover {
  transform: translateY(-2px);
  border-color: #a9bdd8;
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
  color: #003f7d;
  text-decoration: none;
}

.news-sort-option.active {
  background: linear-gradient(to right, #003f7d, #0052a5);
  color: white;
  border-color: #003f7d;
  box-shadow: 0 4px 12px rgba(0,63,125,0.2);
}

.sort-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  margin-right: 12px;
  background: rgba(0,0,0,0.05);
  transition: all 0.25s ease;
}

.news-sort-option:hover .sort-icon {
  transform: scale(1.1);
}

.news-sort-option.active .sort-icon {
  background: rgba(255,255,255,0.2);
}

.sort-label {
  font-weight: 500;
  font-size: 15px;
}
.no-products {
  text-align: center;
  padding: 60px 20px;
  background: #f7f9fc;
  border-radius: 10px;
  margin-top: 20px;
}
.no-products-icon {
  font-size: 3rem;
  color: #a9bdd8;
  margin-bottom: 20px;
}
.no-products-title {
  font-size: 1.5rem;
  color: #003f7d;
  margin-bottom: 10px;
}
.no-products-text {
  color: #777;
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.6;
}
.scale-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
  margin-bottom: 30px;
}

.scale-type-card {
  background: #ffffff;
  border: 1px solid #dce6f5;
  border-radius: 14px;
  padding: 24px;
  text-align: center;
  transition: all 0.3s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.scale-type-card:hover {
  background: #f9fbfe;
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,63,125,0.15);
}

.scale-type-image {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  padding: 10px;
  background: #f8fafd;
  border-radius: 8px;
}

.scale-type-image img {
  max-width: 100%;
  max-height: 160px;
  object-fit: contain;
  transition: transform 0.3s;
}

.scale-type-card:hover .scale-type-image img {
  transform: scale(1.05);
}

.scale-type-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #003f7d;
  margin-bottom: 10px;
  line-height: 1.4;
}

.scale-type-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.scale-type-link:hover {
  text-decoration: none;
  color: inherit;
}

.scale-type-badge {
  position: absolute;
  top: 0;
  left: 0;
  background-color: #e30613;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 15px;
  text-transform: uppercase;
  z-index: 1;
}

.video-card {
  border: 1px solid #e5eaf3;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
  transition: transform .25s ease, box-shadow .25s ease;
  overflow: hidden;
}

.video-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,63,125,.16);
}

.video-thumbnail {
  position: relative;
  overflow: hidden;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.video-thumbnail:hover .video-overlay {
  opacity: 1;
}

.video-play-btn {
  border-radius: 50%;
  width: 60px;
  height: 60px;
  background: #003f7d;
  border: none;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.video-play-btn:hover {
  background: #002d5a;
  transform: scale(1.1);
}

.video-play-btn:focus {
  box-shadow: 0 0 0 0.2rem rgba(0,63,125,.25);
}
.products-grid {
grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
gap: 32px;
}
.product-card {
border: 1px solid #e5eaf3;
border-radius: 14px;
box-shadow: 0 4px 16px rgba(0,0,0,0.04);
transition: transform .25s ease, box-shadow .25s ease;
}
.product-card:hover {
transform: translateY(-6px);
box-shadow: 0 8px 20px rgba(0,63,125,.16);
}
.product-image {
aspect-ratio: 4/3;
background:#f9fbfe;
border-bottom:1px solid #eef2f8;
}
.product-badge {
border-radius: 0 0 8px 0;
}

.products-table {
border-collapse: separate;
border-spacing: 0;
}
.products-table thead th {
position: sticky;
top: 0;
z-index: 2;
background:#f7f9fc;
border-bottom:2px solid #dbe3ef;
font-weight:600;
white-space:nowrap;
}
.products-table tbody tr:nth-child(even){
background:#fefefe;
}
.products-table tbody tr:nth-child(odd){
background:#f7f9fc;
}
.products-table tbody td:first-child,
.products-table thead th:first-child{
position: sticky;
left:0;
z-index:1;
background:#fff;
border-right:1px solid #e5eaf3;
min-width:260px;
}
.table-product-img{
width:54px; height:54px; object-fit:contain;
}
.product-table-link {
text-decoration: none;
transition: all 0.2s ease;
padding: 8px 4px;
border-radius: 6px;
}
.product-table-link:hover {
background-color: #f8fafc;
text-decoration: none;
}
.product-name-table {
font-size: 1.05rem;
font-weight: 500;
color: #003f7d;
line-height: 1.4;
margin-left: 20px;
}
.view-controls .btn{
border-radius:4px 4px 0 0;
}
.view-controls .btn-primary{
background:#003f7d;
border-color:#003f7d;
}
.view-controls .btn-outline-primary{
color:#003f7d;
border-color:#bcd0ef;
}
.view-controls .btn-outline-primary:hover{
background:#e8effb;
}

.products-breadcrumb {
margin-top: 0;
margin-bottom: 20px;
}

.products-breadcrumb .breadcrumb {
background: linear-gradient(to right, #f0f5fb, #f8fafc);
padding: 12px 18px;
border-radius: 10px;
border: 1px solid #dbe3ef;
box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.products-breadcrumb .breadcrumb-item {
font-weight: 500;
}

.products-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
content: "\f054";
font-family: "Font Awesome 5 Free";
font-weight: 900;
color: #8ba5ca;
padding: 0 12px;
}

.products-breadcrumb .breadcrumb-item a {
color: #003f7d;
text-decoration: none;
transition: all 0.2s ease;
position: relative;
}

.products-breadcrumb .breadcrumb-item a:hover {
color: #002d5a;
text-decoration: none;
}

.products-breadcrumb .breadcrumb-item a:after {
content: '';
position: absolute;
width: 100%;
height: 1px;
bottom: -2px;
left: 0;
background-color: #002d5a;
transform: scaleX(0);
transform-origin: bottom right;
transition: transform 0.3s;
}

.products-breadcrumb .breadcrumb-item a:hover:after {
transform: scaleX(1);
transform-origin: bottom left;
}

.products-breadcrumb .breadcrumb-item.active {
color: #495057;
font-weight: 600;
}

.subcategory-menu-item {
margin-bottom: 8px;
transform: translateX(-10px);
opacity: 0;
transition: transform 0.3s ease-out, opacity 0.3s ease-out;
transition-delay: calc(0.05s * var(--item-index, 0));
position: relative;
}

.subcategory-menu-item:before {
content: '';
position: absolute;
left: -15px;
top: 50%;
width: 3px;
height: 0;
background: #003f7d;
transform: translateY(-50%);
transition: height 0.3s ease;
opacity: 0;
}

.subcategory-menu-link.active + ul li:before,
.subcategory-menu-link.active:before,
.subcategory-menu-item:has(.subcategory-menu-link.active):before {
height: 80%;
opacity: 1;
}

.subcategory-menu-link.active {
font-weight: 700 !important;
color: #003f7d !important;
background-color: #e8effb !important;
padding-left: 15px !important;
box-shadow: 0 2px 8px rgba(0,63,125,0.1);
}

.category-menu-link.active {
background: linear-gradient(to right, #003f7d, #0052a5);
color: white;
font-weight: 600;
box-shadow: 0 4px 12px rgba(0,63,125,0.2);
}

.scale-type-menu-link.active {
font-weight: 700;
color: #003f7d;
background-color: #e8effb;
padding-left: 15px;
box-shadow: 0 2px 8px rgba(0,63,125,0.1);
}

.scale-type-menu {
list-style: none;
padding-left: 15px;
margin-top: 8px;
margin-bottom: 8px;
background-color: #f8fafc;
border-radius: 4px;
overflow: hidden;
max-height: 0;
opacity: 0;
transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out, margin-top 0.3s ease-in-out, margin-bottom 0.3s ease-in-out; /* Added margin transitions */
}

.subcategory-menu-link.expanded + .scale-type-menu {
max-height: 1000px;
opacity: 1;
border-left: 2px solid #a9bdd8;
padding-top: 6px;
padding-bottom: 6px;
margin-top: 10px;
margin-bottom: 10px;
}

.scale-type-menu-item {
margin-bottom: 6px;
position: relative;
transform: translateX(-10px);
opacity: 0;
transition: transform 0.3s ease-out, opacity 0.3s ease-out;
transition-delay: calc(0.05s * var(--item-index, 0));
}

.scale-type-menu.active .scale-type-menu-item {
transform: translateX(0);
opacity: 1;
}

.scale-type-menu-item:before {
content: '';
position: absolute;
left: -10px;
top: 50%;
width: 3px;
height: 0;
background: #003f7d;
transform: translateY(-50%);
transition: height 0.3s ease;
opacity: 0;
}

.scale-type-menu-item:has(.scale-type-menu-link.active):before {
height: 80%;
opacity: 1;
}

.scale-type-menu-link {
display: block;
color: #777;
text-decoration: none;
padding: 5px 12px;
border-radius: 4px;
font-size: 0.9rem;
transition: all 0.25s ease;
}

.scale-type-menu-link:hover {
background-color: #f0f5fb;
color: #003f7d;
transform: translateX(3px);
}

.scale-type-menu-link.active {
font-weight: 700;
color: #003f7d;
background-color: #e8effb;
padding-left: 15px;
box-shadow: 0 2px 8px rgba(0,63,125,0.1);
}

.products-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 30px;
}

.product-card {
background: #fff;
border-radius: 12px;
box-shadow: 0 3px 15px rgba(0,0,0,0.07);
padding: 20px;
text-align: center;
transition: all 0.3s;
height: 100%;
display: flex;
flex-direction: column;
justify-content: space-between;
position: relative;
overflow: hidden;
}

.product-card:hover {
box-shadow: 0 5px 25px rgba(0,63,125,0.12);
transform: translateY(-3px);
}

.product-image {
height: 200px;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 20px;
padding: 10px;
}

.product-image img {
max-width: 100%;
max-height: 180px;
object-fit: contain;
transition: transform 0.3s;
}

.product-card:hover .product-image img {
transform: scale(1.05);
}

.product-title {
font-size: 1.1rem;
font-weight: 600;
color: #003f7d;
margin-bottom: 8px;
}

.product-category {
font-size: 0.9rem;
color: #888;
margin-bottom: 15px;
}

.product-badge {
position: absolute;
top: 0;
left: 0;
background-color: #e30613;
color: #fff;
font-size: 0.8rem;
font-weight: 600;
padding: 5px 15px;
text-transform: uppercase;
z-index: 1;
}

.product-detail-btn {
background: #003f7d;
color: #fff;
border: none;
padding: 10px 20px;
border-radius: 6px;
font-weight: 500;
text-decoration: none;
transition: all 0.3s;
margin-top: 15px;
display: inline-block;
}

.product-detail-btn:hover {
background: #002d5a;
color: #fff;
text-decoration: none;
transform: translateY(-2px);
box-shadow: 0 5px 15px rgba(0,63,125,0.2);
}

.products-breadcrumb {
margin-top: 0;
margin-bottom: 15px;
font-size: 0.95rem;
}

.products-breadcrumb a {
color: #666;
text-decoration: none;
}

.products-breadcrumb a:hover {
color: #003f7d;
text-decoration: underline;
}

@media (max-width: 991.98px) {
.products-main {
  flex-direction: column;
}
.products-sidebar {
  flex: 0 0 auto;
  border-right: none;
  border-bottom: 1px solid #e4e9f0;
  padding-right: 0;
  padding-bottom: 20px;
  margin-bottom: 20px;
}
}

.product-tabs {
display: flex;
border-bottom: 2px solid #e4e9f0;
margin-bottom: 25px;
overflow-x: auto;
scrollbar-width: none;
-ms-overflow-style: none;
}

.product-tabs::-webkit-scrollbar {
display: none;
}

.product-tab {
padding: 12px 20px;
font-weight: 600;
color: #666;
text-decoration: none;
border-bottom: 3px solid transparent;
white-space: nowrap;
}

.product-tab:hover {
color: #003f7d;
text-decoration: none;
}

.product-tab.active {
color: #003f7d;
border-bottom-color: #003f7d;
}

.category-icon {
margin-right: 8px;
height: 20px;
width: 20px;
object-fit: contain;
}

.subcategory-icon {
margin-right: 6px;
height: 16px;
width: 16px;
object-fit: contain;
}

.no-products {
text-align: center;
padding: 60px 20px;
background: #f7f9fc;
border-radius: 10px;
margin-top: 20px;
}

.no-products-icon {
font-size: 3rem;
color: #a9bdd8;
margin-bottom: 20px;
}

.no-products-title {
font-size: 1.5rem;
color: #003f7d;
margin-bottom: 10px;
}

.no-products-text {
color: #777;
max-width: 600px;
margin: 0 auto;
font-size: 1.05rem;
line-height: 1.6;
}

.scale-types-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
gap: 28px;
margin-bottom: 30px;
}

.scale-type-card {
background: #ffffff;
border: 1px solid #dce6f5;
border-radius: 14px;
padding: 24px;
text-align: center;
transition: all 0.3s;
box-shadow: 0 4px 16px rgba(0,0,0,0.04);
height: 100%;
display: flex;
flex-direction: column;
justify-content: space-between;
position: relative;
overflow: hidden;
}

.scale-type-card:hover {
background: #f9fbfe;
transform: translateY(-6px);
box-shadow: 0 8px 20px rgba(0,63,125,0.15);
}

.scale-type-image {
height: 180px;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 15px;
padding: 10px;
background: #f8fafd;
border-radius: 8px;
}

.scale-type-image img {
max-width: 100%;
max-height: 160px;
object-fit: contain;
transition: transform 0.3s;
}

.scale-type-card:hover .scale-type-image img {
transform: scale(1.05);
}

.scale-type-title {
font-size: 1.3rem;
font-weight: 700;
color: #003f7d;
margin-bottom: 10px;
line-height: 1.4;
}

.scale-type-link {
display: block;
text-decoration: none;
color: inherit;
height: 100%;
}

.scale-type-link:hover {
text-decoration: none;
color: inherit;
}

.scale-type-badge {
position: absolute;
top: 0;
left: 0;
background-color: #e30613;
color: #fff;
font-size: 0.8rem;
font-weight: 600;
padding: 5px 15px;
text-transform: uppercase;
z-index: 1;
}
.sort-controls {
position: relative;
z-index: 1;
}

.sort-controls .sort-wrap {
display: flex;
align-items: center;
background: #f0f5fb;
border-radius: 8px;
padding: 6px 15px;
border: 1px solid #dbe3ef;
box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.sort-controls label {
margin-right: 10px;
font-weight: 600;
color: #003f7d;
font-size: 14px;
margin-bottom: 0;
}

.sort-controls .sort-select {
background-color: white;
border: 1px solid #c9d4e8;
border-radius: 6px;
padding: 6px 15px 6px 10px;
font-weight: 500;
color: #003f7d;
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23003f7d' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
background-repeat: no-repeat;
background-position: right 0.5rem center;
background-size: 16px 12px;
box-shadow: 0 2px 5px rgba(0,63,125,0.08);
transition: all 0.2s ease;
width: auto;
min-width: 160px;
}

.sort-controls .sort-select:hover {
border-color: #8baed9;
box-shadow: 0 3px 8px rgba(0,63,125,0.15);
}

.sort-controls .sort-select:focus {
border-color: #003f7d;
box-shadow: 0 0 0 3px rgba(0,63,125,0.15);
outline: none;
}

.filter-options .filter-option {
display: flex;
align-items: center;
padding: 8px 16px;
background: white;
border: 1px solid #dbe3ef;
border-radius: 8px;
font-weight: 500;
transition: all 0.2s ease;
color: #495057;
text-decoration: none;
box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

.filter-options .filter-option:hover {
transform: translateY(-2px);
border-color: #a9bdd8;
box-shadow: 0 4px 10px rgba(0,0,0,0.06);
color: #003f7d;
}

.filter-options .filter-option.active {
background: linear-gradient(to right, #003f7d, #0052a5);
color: white;
border-color: #003f7d;
box-shadow: 0 4px 12px rgba(0,63,125,0.2);
}

.filter-icon {
display: inline-flex;
align-items: center;
justify-content: center;
width: 26px;
height: 26px;
border-radius: 50%;
margin-right: 8px;
background: rgba(0,0,0,0.05);
}

.filter-option:hover .filter-icon {
transform: scale(1.1);
}

.filter-option.active .filter-icon {
background: rgba(255,255,255,0.2);
}
.compare-bar {
position: fixed;
bottom: 0;
left: 0;
width: 100%;
background: #003f7d;
color: #fff;
padding: 12px 0;
box-shadow: 0 -2px 10px rgba(0,0,0,0.15);
z-index: 1000;
font-size: 15px;
transform: translateY(0);
transition: transform 0.3s ease;
}

.compare-count {
font-weight: 700;
font-size: 18px;
margin-right: 5px;
}

.compare-submit-btn {
margin-right: 10px;
background: white;
color: #003f7d;
font-weight: 600;
border-radius: 6px;
padding: 6px 15px;
transition: background 0.2s;
}

.compare-submit-btn:hover {
background: #f0f5fb;
color: #003f7d;
}

.compare-clear-btn {
color: #fff;
border-color: rgba(255, 255, 255, 0.5);
border-radius: 6px;
width: 36px;
height: 36px;
padding: 0;
display: inline-flex;
align-items: center;
justify-content: center;
}

.compare-clear-btn:hover {
background: rgba(255, 255, 255, 0.15);
color: #fff;
border-color: #fff;
}

.professional-badge {
background-color: #007bff;
}

.advanced-badge {
background-color: #28a745;
}

.standard-badge {
background-color: #6c757d;
}

.badge {
font-size: 12px;
padding: 4px 8px;
border-radius: 4px;
font-weight: 500;
color: white;
}

.badge-new {
background-color: #e30613;
}

.product-level-filter {
background: #f7f9fc;
border-radius: 8px;
padding: 15px;
box-shadow: 0 1px 4px rgba(0,0,0,0.04);
border: 1px solid #eaeef5;
}

.filter-heading {
font-weight: 500;
color: #495057;
font-size: 15px;
margin-bottom: 12px;
}

.filter-options {
display: flex;
flex-wrap: wrap;
gap: 12px;
}

.filter-option {
display: flex;
align-items: center;
padding: 8px 15px;
background: white;
border-radius: 6px;
border: 1px solid #e5eaf3;
color: #495057;
text-decoration: none;
transition: all 0.2s ease;
box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.filter-option:hover {
transform: translateY(-2px);
box-shadow: 0 3px 8px rgba(0,0,0,0.07);
border-color: #c9d4e8;
text-decoration: none;
color: #212529;
}

.filter-option.active {
background: #003f7d;
color: white;
border-color: #003f7d;
box-shadow: 0 4px 12px rgba(0,63,125,0.2);
}

.filter-icon {
margin-right: 8px;
width: 22px;
height: 22px;
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: 50%;
background: rgba(0,0,0,0.05);
}

.filter-option:hover .filter-icon {
transform: scale(1.1);
}

.filter-option.active .filter-icon {
background: rgba(255,255,255,0.2);
}

.professional-icon {
color: #007bff;
}

.advanced-icon {
color: #28a745;
}

.standard-icon {
color: #6c757d;
}

.filter-option.active .professional-icon,
.filter-option.active .advanced-icon,
.filter-option.active .standard-icon {
color: white;
}

.product-level-filter {
background: linear-gradient(to right, #f0f5fb, #f7f9fc);
border-radius: 12px;
padding: 16px 20px;
box-shadow: 0 3px 15px rgba(0,0,0,0.05);
border: 1px solid #dbe3ef;
margin-bottom: 25px;
}

.filter-heading {
font-weight: 600;
color: #003f7d;
font-size: 16px;
margin-bottom: 15px;
display: flex;
align-items: center;
}

.filter-heading i {
margin-right: 8px;
background: #e0ecf9;
width: 28px;
height: 28px;
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: 50%;
color: #003f7d;
}

.filter-options {
display: flex;
flex-wrap: wrap;
gap: 10px;
}

.filter-option {
display: flex;
align-items: center;
padding: 9px 16px;
background: white;
border-radius: 8px;
border: 1px solid #dbe3ef;
color: #495057;
text-decoration: none;
transition: all 0.25s ease;
box-shadow: 0 2px 6px rgba(0,0,0,0.04);
position: relative;
overflow: hidden;
}

.filter-option:before {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 3px;
background: transparent;
transition: all 0.25s ease;
}

.filter-option:hover {
transform: translateY(-3px);
box-shadow: 0 5px 12px rgba(0,63,125,0.10);
border-color: #a9bdd8;
text-decoration: none;
color: #003f7d;
}

.filter-option.active {
background: #003f7d;
color: white;
border-color: #003f7d;
font-weight: 500;
box-shadow: 0 4px 12px rgba(0,63,125,0.25);
}

.filter-icon {
margin-right: 10px;
width: 28px;
height: 28px;
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: 50%;
background: rgba(0,0,0,0.05);
transition: all 0.25s ease;
}

.filter-option:hover .filter-icon {
transform: scale(1.1);
}

.filter-option.active .filter-icon {
background: rgba(255,255,255,0.25);
}

.filter-label {
font-weight: 500;
font-size: 15px;
}

.professional-icon {
color: #007bff;
background: rgba(0,123,255,0.1) !important;
}

.filter-option:hover .professional-icon {
background: rgba(0,123,255,0.15) !important;
}

.filter-option:before.professional-filter {
background: #007bff;
}

.advanced-icon {
color: #28a745;
background: rgba(40,167,69,0.1) !important;
}

.filter-option:hover .advanced-icon {
background: rgba(40,167,69,0.15) !important;
}

.standard-icon {
color: #6c757d;
background: rgba(108,117,125,0.1) !important;
}

.filter-option:hover .standard-icon {
background: rgba(108,117,125,0.15) !important;
}

.filter-option.active .professional-icon,
.filter-option.active .advanced-icon,
.filter-option.active .standard-icon {
color: white;
background: rgba(255,255,255,0.2) !important;
}

@media (max-width: 768px) {
.filter-options {
  flex-direction: column;
  gap: 8px;
}

.filter-option {
  width: 100%;
}
}
