/* i-Light.lv category layout and compact filters — SAFE v1.0.2 */

body.product-category .module.so_filter_wrap {
  border: 1px solid #e2e8ef;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 3px 14px rgba(27, 39, 53, 0.06);
  overflow: hidden;
}

body.product-category .module.so_filter_wrap.ilight-filter-module-ready {
  margin-right: 0 !important;
  margin-left: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

body.product-category .module.so_filter_wrap .modtitle {
  margin: 0 !important;
  padding: 12px 14px !important;
  min-height: 42px;
  border-bottom: 1px solid #e2e8ef;
  font-size: 15px !important;
  line-height: 18px !important;
  font-weight: 700 !important;
}

body.product-category .module.so_filter_wrap .modcontent > ul {
  margin: 0 !important;
  padding: 4px 10px 10px !important;
}

body.product-category .module.so_filter_wrap .modcontent > ul > li.so-filter-options {
  margin: 0 !important;
  border-bottom: 1px solid #edf1f5;
  list-style: none;
}

body.product-category .module.so_filter_wrap .so-filter-heading {
  min-height: 35px !important;
  padding: 8px 6px !important;
  align-items: center;
  cursor: pointer;
}

body.product-category .module.so_filter_wrap .so-filter-heading-text {
  min-width: 0;
  font-size: 12.5px !important;
  line-height: 18px !important;
  font-weight: 500;
  text-transform: none !important;
}

body.product-category .module.so_filter_wrap .so-filter-heading > i {
  margin-left: auto;
  font-size: 11px;
  color: #718096;
}

body.product-category .module.so_filter_wrap .so-filter-content-opts {
  padding: 6px 6px 10px !important;
}

body.product-category .module.so_filter_wrap .so-filter-content-opts-container,
body.product-category .module.so_filter_wrap .so-filter-iscroll {
  max-height: 238px !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  scrollbar-width: thin;
  scrollbar-color: #b9c3cf transparent;
}

body.product-category .module.so_filter_wrap .so-filter-option {
  margin: 0 !important;
  padding: 3px 0 !important;
}

body.product-category .module.so_filter_wrap .so-option-container {
  min-height: 26px;
  font-size: 12px !important;
  line-height: 17px !important;
}

body.product-category .module.so_filter_wrap .ilight-filter-search > .so-filter-heading {
  display: none !important;
}

body.product-category .module.so_filter_wrap .ilight-filter-search > .so-filter-content-opts {
  display: block !important;
  padding: 8px 4px !important;
}

body.product-category .module.so_filter_wrap .ilight-filter-search input.form-control {
  height: 34px !important;
  font-size: 12.5px !important;
}

body.product-category .module.so_filter_wrap .ilight-filter-search .btn {
  height: 34px !important;
}

body.product-category .module.so_filter_wrap .ilight-filter-secondary {
  display: none !important;
}

body.product-category .module.so_filter_wrap.ilight-show-more .ilight-filter-secondary {
  display: list-item !important;
}

body.product-category .module.so_filter_wrap .ilight-filter-excluded {
  display: none !important;
}

body.product-category .ilight-more-filters-row {
  margin: 8px 0 2px !important;
  border: 0 !important;
  list-style: none;
}

body.product-category .ilight-more-filters {
  display: block;
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #dbe3eb;
  border-radius: 6px;
  background: #f6f8fa;
  color: #334155;
  font-size: 12px;
  font-weight: 600;
  line-height: 18px;
  text-align: left;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

body.product-category .ilight-more-filters:hover,
body.product-category .ilight-more-filters:focus {
  border-color: #ff7a1a;
  background: #fff7f0;
  outline: none;
}

body.product-category .ilight-more-filters-icon {
  float: right;
  font-size: 14px;
  line-height: 18px;
}

body.product-category .ilight-subcategory-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0 20px;
}

body.product-category .ilight-subcategory-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
  padding: 11px 14px;
  border: 1px solid #dfe5eb;
  border-radius: 8px;
  background: #fff;
  color: #26384a;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  text-decoration: none !important;
  box-shadow: 0 2px 8px rgba(27, 39, 53, 0.04);
  transition: border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

body.product-category .ilight-subcategory-link:hover,
body.product-category .ilight-subcategory-link:focus {
  border-color: #ff7a1a;
  color: #d95f00;
  box-shadow: 0 3px 12px rgba(255, 122, 26, 0.12);
  outline: none;
}

body.product-category .ilight-subcategory-arrow {
  margin-left: 10px;
  color: #ff7a1a;
  font-size: 18px;
  font-weight: 400;
}

@media (min-width: 1200px) {
  body.product-category #wrapper > .breadcrumbs > .container,
  body.product-category #wrapper > .container {
    width: auto !important;
    max-width: none !important;
    margin-right: 64px !important;
    margin-left: 20px !important;
  }

  body.product-category .container.product-listing.content-main > .row {
    display: grid !important;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 16px;
    margin: 0 !important;
    align-items: start;
  }

  body.product-category .container.product-listing.content-main > .row::before,
  body.product-category .container.product-listing.content-main > .row::after {
    display: none !important;
    content: none !important;
  }

  body.product-category .container.product-listing.content-main > .row > aside.left_column,
  body.product-category .container.product-listing.content-main > .row > #content {
    float: none !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.product-category .container.product-listing.content-main > .row > aside.left_column {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }

  body.product-category .container.product-listing.content-main > .row > aside.left_column:not(.is_stuck) {
    width: auto !important;
  }

  body.product-category .container.product-listing.content-main > .row > aside.left_column.is_stuck {
    width: 240px !important;
  }

  body.product-category .container.product-listing.content-main > .row > #content {
    grid-column: 2 !important;
    grid-row: 1 !important;
    position: relative !important;
    width: auto !important;
  }

  body.product-category .container.product-listing.content-main > .row > .div_sticky {
    grid-column: 1 !important;
    grid-row: 1 !important;
    min-width: 0 !important;
  }

  body.product-category .module.so_filter_wrap {
    position: relative !important;
    top: auto !important;
    max-height: calc(100vh - 24px);
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #b9c3cf transparent;
  }
}

@media (min-width: 1440px) {
  body.product-category .container.product-listing.content-main > .row {
    grid-template-columns: 260px minmax(0, 1fr);
  }

  body.product-category .container.product-listing.content-main > .row > aside.left_column.is_stuck {
    width: 260px !important;
  }
}

@media (min-width: 1600px) {
  body.product-category #wrapper > .breadcrumbs > .container,
  body.product-category #wrapper > .container {
    margin-right: 80px !important;
    margin-left: 32px !important;
  }
}

@media (max-width: 1199px) {
  body.product-category .module.so_filter_wrap {
    border-radius: 8px;
  }
}

@media (max-width: 767px) {
  body.product-category .ilight-subcategory-nav {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 12px;
  }

  body.product-category .ilight-subcategory-link {
    min-height: 42px;
    padding: 9px 12px;
    font-size: 13px;
  }

  body.product-category .module.so_filter_wrap .modtitle {
    padding: 10px 12px !important;
  }

  body.product-category .module.so_filter_wrap .modcontent > ul {
    padding-right: 8px !important;
    padding-left: 8px !important;
  }
}
