body.page-category {
  --lgl-category-bg: #f1f4f7;
  --lgl-card-bg: #ffffff;
  --lgl-soft-bg: #f6f7f9;
  --lgl-border: rgba(8, 52, 37, 0.14);
  --lgl-muted: #6b7280;
  --lgl-heading: #20242a;
}

body.page-category .breadcrumb__wrapper {
  background: #f4f6f8;
  border-bottom: 1px solid rgba(8, 52, 37, 0.08);
  padding: 18px 0;
}

body.page-category .breadcrumb {
  margin-bottom: 0;
}

body.page-category #wrapper > .container {
  max-width: 1376px;
}

body.page-category #wrapper > .container > .row {
  row-gap: 28px;
}

body.page-category #left-column,
body.page-category #content-wrapper {
  padding-top: 36px;
}

body.page-category #left-column {
  padding-right: 24px;
}

body.page-category #content-wrapper {
  padding-left: 12px;
}

body.page-category #left-column > * {
  background: var(--lgl-card-bg);
  border: 1px solid var(--lgl-border);
  border-radius: 4px;
  box-shadow: 0 8px 22px rgba(8, 52, 37, 0.06);
  margin-bottom: 20px;
  overflow: hidden;
}

body.page-category .left-block__title,
body.page-category .search-filters-title {
  background: var(--lgl-soft-bg);
  border-bottom: 1px solid rgba(8, 52, 37, 0.08);
  margin: 0;
  padding: 18px 20px;
}

body.page-category .left-block__title__link,
body.page-category .search-filters-title {
  color: var(--lgl-heading);
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
}

body.page-category .category-tree .accordion,
body.page-category #search-filters .accordion,
body.page-category .lgl-mobile-filter-content .accordion {
  padding: 10px 18px 18px;
}

body.page-category .category-tree__list {
  list-style: none;
  margin: 0;
  padding-left: 0;
}

body.page-category .category-tree__item__header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  min-height: 34px;
}

body.page-category .category-tree__item__link,
body.page-category #search-filters a,
body.page-category #search-filters label {
  color: var(--text-dark);
  font-size: 14px;
  line-height: 1.45;
  text-decoration: none;
}

body.page-category .category-tree__item__link:hover,
body.page-category #search-filters a:hover {
  color: var(--golden-title);
}

body.page-category .lgl-category-hero {
  align-items: center;
  background: var(--lgl-category-bg);
  display: flex;
  gap: 28px;
  min-height: 188px;
  margin-bottom: 22px;
  overflow: hidden;
  padding: 36px 48px;
  position: relative;
}

body.page-category .lgl-category-hero.has-cover {
  background: transparent;
  display: block;
  min-height: 0;
  padding: 0;
  width: 100%;
}

body.page-category .lgl-category-hero.has-cover::before {
  content: none;
}

body.page-category .lgl-category-hero__content {
  max-width: 720px;
  position: relative;
  z-index: 1;
}

body.page-category .lgl-category-hero.has-cover .lgl-category-hero__content {
  display: none;
}

body.page-category .lgl-category-hero__eyebrow {
  color: var(--golden-title);
  display: block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

body.page-category .lgl-category-hero__title {
  color: var(--lgl-heading);
  font-size: clamp(28px, 3vw, 46px);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 0;
}

body.page-category .lgl-category-hero.has-cover .lgl-category-hero__title {
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.26);
}

body.page-category .lgl-category-hero__description {
  color: var(--lgl-muted);
  line-height: 1.7;
  margin-top: 16px;
  max-width: 760px;
}

body.page-category .lgl-category-hero.has-cover .lgl-category-hero__description {
  color: rgba(255, 255, 255, 0.9);
}

body.page-category .lgl-category-hero__description > :last-child {
  margin-bottom: 0;
}

body.page-category .lgl-category-hero__media {
  margin-left: auto;
  max-width: 36%;
}

body.page-category .lgl-category-hero.has-cover .lgl-category-hero__media {
  height: clamp(190px, 18vw, 280px);
  margin: 0;
  max-width: none;
  overflow: hidden;
  position: relative;
  width: 100%;
}

body.page-category .lgl-category-hero__media img {
  display: block;
  height: 190px;
  object-fit: contain;
  width: 100%;
}

body.page-category .lgl-category-hero.has-cover .lgl-category-hero__media img {
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

body.page-category .lgl-subcategories {
  margin-bottom: 28px;
}

body.page-category .lgl-subcategory-card {
  align-items: center;
  background: #fff;
  border: 1px solid var(--lgl-border);
  border-radius: 4px;
  color: var(--lgl-heading);
  display: flex;
  gap: 16px;
  min-height: 82px;
  padding: 14px 16px;
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

body.page-category .lgl-subcategory-card:hover {
  border-color: rgba(220, 182, 88, 0.62);
  box-shadow: 0 10px 24px rgba(8, 52, 37, 0.08);
  color: var(--golden-title);
  transform: translateY(-1px);
}

body.page-category .lgl-subcategory-card__image {
  align-items: center;
  background: var(--lgl-soft-bg);
  display: flex;
  flex: 0 0 54px;
  height: 54px;
  justify-content: center;
  overflow: hidden;
}

body.page-category .lgl-subcategory-card__image img {
  height: 100%;
  object-fit: contain;
  width: 100%;
}

body.page-category .lgl-subcategory-card__name {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
  margin: 0;
}

body.page-category .lgl-products-toolbar {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin: 2px 0 24px;
}

body.page-category .lgl-products-toolbar__summary p {
  color: var(--lgl-heading);
  font-size: 16px;
  margin: 0;
}

body.page-category .lgl-products-toolbar__actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

body.page-category .sort-by {
  color: var(--lgl-heading);
  font-weight: 500;
}

body.page-category .products-sort-order .select-title {
  background: #fff;
  border: 1px solid var(--lgl-border);
  border-radius: 4px;
  min-width: 220px;
  text-align: left;
}

body.page-category .lgl-grid-options {
  gap: 8px;
}

body.page-category .lgl-grid-button {
  align-items: center;
  background: var(--lgl-soft-bg);
  border: 0;
  border-radius: 4px;
  display: flex;
  gap: 3px;
  height: 36px;
  justify-content: center;
  opacity: 0.55;
  padding: 0 10px;
  transition: opacity 0.2s ease, background-color 0.2s ease;
}

body.page-category .lgl-grid-button span {
  background: var(--lgl-heading);
  display: block;
  height: 18px;
  width: 4px;
}

body.page-category .lgl-grid-button--list {
  flex-direction: column;
}

body.page-category .lgl-grid-button--list span {
  height: 3px;
  width: 18px;
}

body.page-category .lgl-grid-button.active,
body.page-category .lgl-grid-button:hover {
  opacity: 1;
}

body.page-category .lgl-filter-button {
  display: none;
}

body.page-category .lgl-filter-button {
  align-items: center;
  background: var(--primary-light);
  border: 1px solid var(--border-forest);
  border-radius: 4px;
  color: var(--golden-title);
  gap: 6px;
  font-weight: 700;
  min-height: 42px;
  padding: 0 16px;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

body.page-category .lgl-filter-button i {
  color: currentColor;
}

body.page-category .lgl-filter-button:hover,
body.page-category .lgl-filter-button:focus,
body.page-category .lgl-filter-button:active {
  background: var(--forest-dark);
  border-color: var(--golden-title);
  color: var(--golden-title);
}

body.page-category .lgl-mobile-filters {
  max-width: min(390px, 92vw);
}

body.page-category .lgl-mobile-filters .offcanvas-header {
  border-bottom: 1px solid var(--lgl-border);
  padding: 18px 20px;
}

body.page-category .lgl-mobile-filters .offcanvas-title {
  color: var(--lgl-heading);
  font-weight: 800;
  margin: 0;
}

body.page-category .lgl-mobile-filters .offcanvas-body {
  padding: 0;
}

body.page-category .lgl-mobile-filter-content > * {
  background: var(--lgl-card-bg);
  border: 0;
  box-shadow: none;
  margin: 0;
  overflow: hidden;
}

body.page-category .lgl-mobile-filter-content > * + * {
  border-top: 1px solid var(--lgl-border);
}

body.page-category .products {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 2rem;
}

body.page-category .product-miniature {
  display: flex;
}

body.page-category .product-miniature .card {
  background: #fff;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  height: 100%;
  overflow: visible;
  width: 100%;
}

body.page-category .product-miniature__link {
  display: block;
  position: relative;
  text-decoration: none;
}

body.page-category .product-miniature__image-container {
  align-items: center;
  background: #f5f6f8;
  display: flex;
  height: 285px;
  justify-content: center;
  margin-bottom: 16px;
  overflow: hidden;
  position: relative;
}

body.page-category .product-miniature__image-container picture {
  align-items: center;
  display: flex;
  height: 100%;
  justify-content: center;
  width: 100%;
}

body.page-category .product-miniature__image {
  height: 100%;
  object-fit: contain;
  padding: 18px;
  width: 100%;
}

body.page-category .product-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  left: 10px;
  margin: 0;
  padding: 0;
  position: absolute;
  top: 10px;
  z-index: 2;
}

body.page-category .product-flags .badge {
  background: var(--golden-title);
  border: 0;
  border-radius: 4px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  padding: 8px 10px;
}

body.page-category .product-flags .badge.in-stock {
  background: var(--forest-dark);
  color: var(--golden-title);
}

body.page-category .product-flags .badge.out_of_stock {
  background: #5b6471;
}

body.page-category .product-miniature__quickview_touch,
body.page-category .product-miniature__quickview {
  display: none;
}

body.page-category .product-miniature__infos {
  padding: 0;
}

body.page-category .product-miniature__title {
  color: var(--lgl-heading);
  display: -webkit-box;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 10px;
  min-height: 41px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body.page-category .product-miniature__title:hover {
  color: var(--golden-title);
}

body.page-category .product-miniature__prices {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

body.page-category .product-miniature__price {
  color: var(--golden-title);
  font-size: 20px;
  font-weight: 800;
}

body.page-category .product-miniature__regular-price,
body.page-category .product-miniature__suggested_retail_price {
  color: #7b818b;
  font-size: 15px;
  font-weight: 600;
  text-decoration: line-through;
}

body.page-category .product-miniature__discount-price {
  display: inline-flex;
}

body.page-category .product-miniature form {
  gap: 8px !important;
  margin-top: 14px !important;
}

body.page-category .product-miniature .quantity-button {
  max-width: 86px;
}

body.page-category .product-miniature .btn-primary,
body.page-category .product-miniature .btn-outline-primary {
  align-items: center;
  background: var(--primary-light);
  border-color: var(--primary-light);
  border-radius: 4px;
  color: var(--golden-title);
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  min-height: 42px;
}

body.page-category .product-miniature .btn-primary:hover,
body.page-category .product-miniature .btn-outline-primary:hover {
  background: var(--forest-dark);
  border-color: var(--forest-dark);
  color: #fff;
}

body.page-category .active_filters {
  margin: -8px 0 22px;
}

body.page-category .active_filters ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

body.page-category .active_filters .filter-block {
  background: var(--lgl-soft-bg);
  border-radius: 4px;
  color: var(--lgl-heading);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 10px;
}

body.page-category.lgl-grid-mode-2 .product-miniature {
  flex: 0 0 auto;
  width: 50% !important;
}

body.page-category.lgl-grid-mode-3 .product-miniature {
  flex: 0 0 auto;
  width: 33.333333% !important;
}

body.page-category.lgl-grid-mode-4 .product-miniature {
  flex: 0 0 auto;
  width: 25% !important;
}

body.page-category.lgl-grid-mode-list .product-miniature {
  flex: 0 0 auto;
  width: 100% !important;
}

body.page-category.lgl-grid-mode-list .product-miniature .card {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(180px, 260px) 1fr;
}

body.page-category.lgl-grid-mode-list .product-miniature__image-container {
  height: 260px;
  margin-bottom: 0;
}

@media (min-width: 992px) {
  body.page-category #left-column > * {
    position: sticky;
    top: 18px;
  }
}

@media (max-width: 1399.98px) {
  body.page-category .product-miniature__image-container {
    height: 250px;
  }
}

@media (max-width: 1199.98px) {
  body.page-category #left-column {
    padding-right: 12px;
  }

  body.page-category .lgl-category-hero {
    padding: 30px;
  }

  body.page-category .product-miniature__image-container {
    height: 230px;
  }
}

@media (max-width: 991.98px) {
  body.page-category #left-column,
  body.page-category #content-wrapper {
    padding-top: 24px;
  }

  body.page-category #left-column .ps_categorytree {
    display: none;
  }

  body.page-category.lgl-mobile-filters-ready #left-column {
    display: none;
  }

  body.page-category #content-wrapper {
    padding-left: 12px;
  }

  body.page-category .lgl-category-hero {
    min-height: 150px;
    padding: 26px;
  }

  body.page-category .lgl-category-hero.has-cover {
    height: auto;
    min-height: 0;
  }

  body.page-category .lgl-category-hero.has-cover .lgl-category-hero__media {
    height: clamp(150px, 38vw, 220px);
  }

  body.page-category .lgl-category-hero.has-cover::before {
    content: none;
  }

  body.page-category .lgl-category-hero__media {
    display: none;
  }

  body.page-category .lgl-category-hero.has-cover .lgl-category-hero__media {
    display: block;
  }

  body.page-category .lgl-products-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  body.page-category .lgl-products-toolbar__actions {
    justify-content: flex-start;
    width: 100%;
  }

  body.page-category .lgl-filter-button {
    display: inline-flex;
  }

  body.page-category .products-sort-order {
    flex: 1 1 auto;
  }

  body.page-category .products-sort-order .select-title {
    min-width: 0;
    width: 100%;
  }
}

@media (max-width: 767.98px) {
  body.page-category .breadcrumb__wrapper {
    padding: 12px 0;
  }

  body.page-category .lgl-category-hero {
    margin-bottom: 18px;
    padding: 22px;
  }

  body.page-category .lgl-category-hero__title {
    font-size: 28px;
  }

  body.page-category .lgl-subcategory-card {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    min-height: 112px;
  }

  body.page-category .lgl-products-toolbar__actions {
    gap: 10px;
  }

  body.page-category .product-miniature__image-container {
    height: 205px;
  }

  body.page-category .product-miniature__title {
    font-size: 14px;
    min-height: 38px;
  }

  body.page-category .product-miniature__price {
    font-size: 17px;
  }

  body.page-category .product-miniature form {
    display: none !important;
  }

  body.page-category.lgl-grid-mode-3 .product-miniature,
  body.page-category.lgl-grid-mode-4 .product-miniature {
    width: 50% !important;
  }
}

@media (max-width: 480px) {
  body.page-category .products {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 1.5rem;
  }

  body.page-category .product-miniature__image-container {
    height: 178px;
  }

  body.page-category.lgl-grid-mode-list .product-miniature .card {
    display: block;
  }

  body.page-category.lgl-grid-mode-list .product-miniature__image-container {
    height: 220px;
    margin-bottom: 14px;
  }
}
