@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@600&display=swap');

body.com_jshopping.view-category.task-view {
  --lv-category-ink: var(--lv-header-ink, #182c46);
  --lv-category-paper: var(--lv-header-paper, #f7f5f0);
  --lv-category-accent: var(--lv-header-red, #b3262e);
  --lv-category-line: var(--lv-header-line, #deded8);
  --lv-category-muted: #555c65;
  --lv-category-font: var(--lv-header-font, Manrope, Arial, sans-serif);
  --lv-category-gap: clamp(20px, 3vw, 44px);
}

body.com_jshopping.view-category.task-view #sp-main > #sp-section-2 {
  display: none;
}

body.com_jshopping.view-category.task-view #sp-main-body {
  padding-block: clamp(32px, 4vw, 54px) clamp(45px, 6vw, 78px);
  color: var(--lv-category-ink);
  font-family: var(--lv-category-font);
}

body.com_jshopping.view-category.task-view #sp-main-body > .container {
  width: calc(100% - 2 * var(--lv-header-gutter, 4.45%));
  max-width: var(--lv-header-max-width, 1600px);
  padding-inline: 0;
}

body.com_jshopping.view-category.task-view #sp-main-body #mxcpr {
  display: none;
}

#sp-main-body .row:has(> #sp-left .lv-category-filters) {
  display: grid;
  grid-template-columns: clamp(178px, 17vw, 220px) minmax(0, 1fr);
  align-items: start;
  column-gap: var(--lv-category-gap);
  margin: 0;
}

#sp-main-body .row:has(> #sp-left .lv-category-filters) > #sp-component,
#sp-main-body .row:has(> #sp-left .lv-category-filters) > #sp-component > .sp-column,
#sp-main-body .row:has(> #sp-left .lv-category-filters) #comjshop {
  display: contents;
}

#sp-main-body .row:has(> #sp-left .lv-category-filters) > :not(#sp-left),
#sp-main-body .row:has(> #sp-left .lv-category-filters) #sp-component > .sp-column > *,
#sp-main-body .row:has(> #sp-left .lv-category-filters) #comjshop > * {
  grid-column: 1 / -1;
  min-width: 0;
}

#sp-main-body .row:has(> #sp-left .lv-category-filters) > #sp-left {
  grid-column: 1;
  grid-row: 5;
  width: auto;
  padding: 0;
}

#sp-main-body .row:has(> #sp-left .lv-category-filters) #comjshop > .jshop_list_product {
  grid-column: 2;
  grid-row: 5;
  min-width: 0;
}

#sp-main-body .row:has(> #sp-left .lv-category-filters) .sp-module-content-top { grid-row: 1; }
#sp-main-body .row:has(> #sp-left .lv-category-filters) #comjshop > :is(h1, .shophead) { grid-row: 2; }
#sp-main-body .row:has(> #sp-left .lv-category-filters) #comjshop > .category_description { grid-row: 3; }
#sp-main-body .row:has(> #sp-left .lv-category-filters) #comjshop > .jshop_list_category { grid-row: 4; }

body.com_jshopping.view-category.task-view #sp-main-body .mod-breadcrumbs {
  background: none;
  border: 0;
  border-radius: 0;
  margin: 0 0 16px;
  padding: 0 !important;
  color: var(--lv-category-muted);
  font-size: 13px;
}

body.com_jshopping.view-category.task-view #sp-main-body .mod-breadcrumbs a {
  color: var(--lv-category-ink);
}

body.com_jshopping.view-category.task-view #sp-main-body .mod-breadcrumbs__here {
  display: none;
}

body.com_jshopping.view-category.task-view #comjshop h1 {
  margin: 0 0 clamp(24px, 2.8vw, 42px);
  color: var(--lv-category-ink);
  font: 600 40px/1.08 Oswald, "Arial Narrow", sans-serif;
  letter-spacing: -.025em;
  text-transform: uppercase;
}

body.com_jshopping.view-category.task-view #comjshop > .category_description {
  margin: 0;
  padding: 0 0 28px;
  color: var(--lv-category-muted);
  font-size: 15px;
}

body.com_jshopping.view-category.task-view #comjshop > .category_description:empty {
  padding: 0;
}

.lv-category-filters {
  color: var(--lv-category-ink);
}

.lv-category-filters .filter_mob_head {
  display: none;
}

.lv-filter-panel::before {
  display: block;
  content: 'Фильтры';
  color: var(--lv-category-ink);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
  margin-block: 5px 16px;
}

.lv-category-filters #sort_count,
.lv-category-filters #sort_count .form_sort_count,
.lv-category-filters #sort_count .jshop.filters {
  display: block !important;
  margin: 0;
  padding: 0;
  border: 0;
}

.lv-category-filters #sort_count :is(.box_cat_man,.box_manufacrurer,.filter_price,.box_price_from_to,.box_button) {
  display: block !important;
  width: auto;
  margin: 0;
}

.lv-category-filters #sort_count .control-group:not(.box_button) {
  border-top: 1px solid var(--lv-category-line);
  padding-block: 13px;
}

.lv-category-filters #sort_count .control-label {
  float: none;
  width: auto;
  margin: 0 0 8px !important;
  padding: 0;
  text-align: left;
  color: var(--lv-category-ink);
  font-size: 15px;
  font-weight: 700;
}

.lv-category-filters #sort_count .controls {
  margin: 0;
}

.lv-category-filters #sort_count :is(select,input[type="text"]) {
  width: 100%;
  min-width: 0;
  min-height: 41px;
  border: 1px solid var(--lv-category-line);
  border-radius: 0;
  box-shadow: none;
  background-color: #fff;
  color: var(--lv-category-ink);
  font: 500 14px var(--lv-category-font);
}

.lv-category-filters .box_price_from_to .controls {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 7px;
}

.lv-category-filters .box_price_from_to .input-append {
  min-width: 0;
}

.lv-category-filters .price_ftspace { margin-top: 0 !important; }

.lv-category-filters .box_button .controls {
  display: grid !important;
  gap: 8px;
}

.lv-category-filters #sort_count .clear_filter { margin: 0; }

.lv-category-filters #sort_count .btn,
.lv-category-filters .lv-filter-trigger {
  display: block;
  width: 100%;
  min-height: 42px;
  padding: 9px 10px;
  border-radius: 0;
  border: 1px solid var(--lv-category-ink);
  font: 600 var(--lv-text-button, 16px)/1.25 var(--lv-category-font);
  text-align: center;
}

.lv-category-filters :is(.lv-filter-trigger,#submit_product_list_filter) {
  background: var(--lv-category-ink);
  color: #fff;
}

.lv-category-filters #clear_product_list_filter {
  background: transparent;
  color: var(--lv-category-ink);
}

.lv-category-filters :is(a,button,select,input):focus-visible,
body.com_jshopping.view-category.task-view #comjshop :is(a,button,select):focus-visible {
  outline: 2px solid var(--lv-category-accent);
  outline-offset: 2px;
}

.lv-category-filters .lv-filter-trigger[hidden],
.lv-category-filters .lv-filter-panel[hidden] {
  display: none;
}

.lv-filter-dialog {
  position: fixed;
  inset: 0 0 0 auto;
  margin: 0;
  width: min(350px, 100%);
  height: 100dvh;
  max-width: none;
  max-height: none;
  padding: 23px;
  border: 0;
  background: var(--lv-category-paper);
  color: var(--lv-category-ink);
  overflow-y: auto;
}

.lv-filter-dialog::backdrop { background: #182c467a; }
.lv-filter-dialog-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 15px; }
.lv-filter-dialog-heading h2 { margin: 0; font: 800 19px/1.2 var(--lv-category-font); }
.lv-filter-close { width: 44px; height: 44px; padding: 0; border: 0; background: none; color: inherit; font-size: 25px; }

#comjshop .lv-category-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  min-height: 43px;
  padding-bottom: 10px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--lv-category-line);
  color: var(--lv-category-muted);
  font-size: 14px;
}

body.com_jshopping.view-category.task-view #comjshop .list_product {
  display: grid;
  grid-template-columns: repeat(var(--lv-product-columns, 3), minmax(0, 1fr));
  gap: 31px clamp(14px, 1.7vw, 25px);
}

body.com_jshopping.view-category.task-view #comjshop .list_product > .row-fluid {
  display: contents;
}

body.com_jshopping.view-category.task-view #comjshop .list_product > .row-fluid::before,
body.com_jshopping.view-category.task-view #comjshop .list_product > .row-fluid::after {
  content: none;
}

body.com_jshopping.view-category.task-view #comjshop .list_product > .row-fluid > .clearfix {
  display: none;
}

body.com_jshopping.view-category.task-view #comjshop .list_product [class^="sblock"] {
  display: flex;
  float: none;
  width: auto;
  min-width: 0;
  max-width: none;
  margin: 0;
  padding: 0;
}

body.com_jshopping.view-category.task-view #comjshop .list_product .block_product:hover {
  border-radius: 0;
  box-shadow: none;
}

body.com_jshopping.view-category.task-view #comjshop .list_product .product {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  color: var(--lv-category-ink);
  text-align: left;
}

body.com_jshopping.view-category.task-view #comjshop .product > .oiproduct {
  display: contents;
}

body.com_jshopping.view-category.task-view #comjshop .product :is(.name,.oiproduct,.manufacturer_name,.jshop_price,.old_price,.description) {
  text-align: left;
}

body.com_jshopping.view-category.task-view #comjshop .product > .image {
  order: -3;
  width: 100%;
  aspect-ratio: .86;
  margin: 0 0 14px;
  position: relative;
  overflow: hidden;
  background: transparent;
}

body.com_jshopping.view-category.task-view #comjshop .product .image_block,
body.com_jshopping.view-category.task-view #comjshop .product .image_block > a {
  display: block;
  width: 100%;
  height: 100%;
}

body.com_jshopping.view-category.task-view #comjshop .product img.jshop_img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  padding: 0;
  border: 0;
  border-radius: 0;
  object-fit: cover;
  object-position: center 18%;
  transition: transform .35s ease;
}

body.com_jshopping.view-category.task-view #comjshop .product .image_block:hover img.jshop_img {
  transform: scale(1.035);
}

body.com_jshopping.view-category.task-view #comjshop .product .manufacturer_name {
  order: -2;
  margin: 0 0 4px;
  font-size: 0;
}

body.com_jshopping.view-category.task-view #comjshop .product .manufacturer_name span {
  color: var(--lv-category-ink);
  font-size: 13px;
  font-weight: 750;
}

body.com_jshopping.view-category.task-view #comjshop .product > .name {
  order: -1;
  min-height: 0;
  margin: 0 0 7px;
  padding: 0;
  font: 600 15px/1.4 var(--lv-category-font);
  overflow-wrap: anywhere;
}

body.com_jshopping.view-category.task-view #comjshop .product :is(.name a,.name a:visited) {
  color: var(--lv-category-ink);
}

body.com_jshopping.view-category.task-view #comjshop .product .name a:hover {
  color: var(--lv-category-accent);
}

body.com_jshopping.view-category.task-view #comjshop .product :is(.jshop_price,.old_price) {
  margin: 0 0 4px;
  font-size: 0;
}

body.com_jshopping.view-category.task-view #comjshop .product .jshop_price span {
  color: var(--lv-category-ink);
  font: 800 15px/1.4 var(--lv-category-font);
}

body.com_jshopping.view-category.task-view #comjshop .product .old_price span {
  color: var(--lv-category-muted);
  font: 500 13px/1.4 var(--lv-category-font);
  text-decoration: line-through;
}

body.com_jshopping.view-category.task-view #comjshop .product :is(.description,.jshop_code_prod) {
  color: var(--lv-category-muted);
  font: 500 13px/1.45 var(--lv-category-font);
  margin: 3px 0 11px;
}

body.com_jshopping.view-category.task-view #comjshop .product .price_extra_info:empty {
  display: none;
}

body.com_jshopping.view-category.task-view #comjshop .product .buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 4px;
}

body.com_jshopping.view-category.task-view #comjshop .product .buttons a {
  flex: 1 1 auto;
  display: grid;
  place-items: center;
  min-height: 42px;
  padding: 7px 5px;
  border: 1px solid var(--lv-category-ink);
  border-radius: 0;
  box-shadow: none;
  font: 650 var(--lv-text-button, 16px)/1.2 var(--lv-category-font);
  text-align: center;
}

body.com_jshopping.view-category.task-view #comjshop .product .button_buy {
  color: #fff;
  background: var(--lv-category-ink);
}

body.com_jshopping.view-category.task-view #comjshop .product .button_detail {
  color: var(--lv-category-ink);
  background: transparent;
}

body.com_jshopping.view-category.task-view #comjshop .product .buttons a:hover {
  color: #fff;
  background: #294b70;
}

body.com_jshopping.view-category.task-view #comjshop .product button[data-favorite] {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--lv-category-paper);
  color: var(--lv-category-ink);
}

body.com_jshopping.view-category.task-view #comjshop .product button[data-favorite].selected {
  color: var(--lv-category-accent);
}

body.com_jshopping.view-category.task-view #comjshop .product_label:has(img[alt="из США" i]) {
  position: absolute;
  top: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  z-index: 1;
  padding: 5px 7px;
  border: 1px solid #fff;
  background: var(--lv-category-paper);
  color: var(--lv-category-ink);
  font: 800 13px/1.2 var(--lv-category-font);
  pointer-events: none;
}

body.com_jshopping.view-category.task-view #comjshop .product_label:has(img[alt="из США" i])::before {
  content: '';
  width: 17px;
  height: 11px;
  background: linear-gradient(var(--lv-category-ink),var(--lv-category-ink)) top left / 44% 54% no-repeat,
    repeating-linear-gradient(var(--lv-category-accent) 0 calc(100% / 13),#fff calc(100% / 13) calc(200% / 13));
}

body.com_jshopping.view-category.task-view #comjshop .product_label:has(img[alt="из США" i])::after {
  content: 'Из США' / '';
}

body.com_jshopping.view-category.task-view #comjshop .product_label img[alt="из США" i] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

body.com_jshopping.view-category.task-view #comjshop .jshop_pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--lv-category-line);
}

body.com_jshopping.view-category.task-view #comjshop .jshop_pagination .pagination_result_counter {
  order: -1;
  margin: 0;
  color: var(--lv-category-muted);
  font-size: 14px;
}

body.com_jshopping.view-category.task-view #comjshop .jshop_pagination ul.pagination {
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 0 !important;
}

body.com_jshopping.view-category.task-view #comjshop .jshop_pagination .page-item:has(.fa-angle-double-left, .fa-angle-double-right) {
  display: none;
}

body.com_jshopping.view-category.task-view #comjshop .jshop_pagination .page-link {
  display: grid;
  place-items: center;
  min-height: 42px;
  min-width: 42px;
  margin: 0;
  padding: 6px 10px;
  border: 1px solid var(--lv-category-line);
  border-radius: 0;
  background: #fff;
  color: var(--lv-category-ink);
  font: 700 14px/1.2 var(--lv-category-font);
}

body.com_jshopping.view-category.task-view #comjshop .jshop_pagination .disabled > .page-link {
  color: var(--lv-category-muted);
}

body.com_jshopping.view-category.task-view #comjshop .jshop_pagination a.page-link:is(:hover, :focus-visible) {
  border-color: var(--lv-category-ink);
  text-decoration: none;
}

body.com_jshopping.view-category.task-view #comjshop .jshop_pagination .active > .page-link {
  background: var(--lv-category-ink);
  border-color: var(--lv-category-ink);
  color: #fff;
}

@media (max-width:820px) {
  #sp-main-body .row:has(> #sp-left .lv-category-filters) {
    grid-template-columns: minmax(0, 1fr);
    column-gap: 0;
  }

  #sp-main-body .row:has(> #sp-left .lv-category-filters) > #sp-left {
    grid-row: 5;
    margin-bottom: 13px;
  }

  #sp-main-body .row:has(> #sp-left .lv-category-filters) #comjshop > .jshop_list_product {
    grid-column: 1;
    grid-row: 6;
  }

  .lv-category-filters .lv-filter-trigger { width: auto; }

  body.com_jshopping.view-category.task-view #comjshop .jshop_pagination {
    justify-content: center;
  }

  body.com_jshopping.view-category.task-view #comjshop .jshop_pagination .pagination_result_counter {
    width: 100%;
    text-align: center;
  }
}

@media (max-width:600px) {
  body.com_jshopping.view-category.task-view #comjshop .list_product {
    grid-template-columns: repeat(min(2, var(--lv-product-columns, 3)), minmax(0, 1fr));
    gap: 22px 12px;
  }

  body.com_jshopping.view-category.task-view #comjshop .product > .image {
    aspect-ratio: .8;
    margin-bottom: 9px;
  }

  body.com_jshopping.view-category.task-view #comjshop .product .buttons {
    flex-direction: column;
  }

  body.com_jshopping.view-category.task-view #comjshop .product button[data-favorite] {
    top: 6px;
    right: 6px;
    width: 36px;
    height: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.com_jshopping.view-category.task-view #comjshop .product img.jshop_img {
    transition: none;
  }
}

.lv-category-toolbar .block_sorting_count_to_page,
.lv-category-toolbar .box_products_sorting,
.lv-category-toolbar .box_products_sorting .controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}

.lv-category-toolbar select {
  min-height: 39px;
  max-width: 100%;
  padding: 5px 28px 5px 9px;
  border: 1px solid var(--lv-category-line);
  border-radius: 0;
  color: var(--lv-category-ink);
  background-color: #fff;
  font: 600 14px var(--lv-category-font);
}

.lv-filter-group summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--lv-category-ink);
  font-size: 15px;
  font-weight: 750;
  cursor: pointer;
  list-style: none;
}

.lv-filter-group summary::-webkit-details-marker { display: none; }

.lv-filter-group summary::after {
  content: '';
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  margin-right: 4px;
  border: solid currentColor;
  border-width: 0 1px 1px 0;
  transform: rotate(45deg);
}

.lv-filter-group[open] summary::after { transform: rotate(225deg); }
.lv-filter-group summary:focus-visible { outline: 2px solid var(--lv-category-accent); outline-offset: 3px; }
.lv-filter-group > .controls { padding-top: 11px; }

.lv-filter-brands { display: grid; gap: 3px; }
.lv-category-filters #sort_count .lv-filter-brands label {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 33px;
  margin: 0;
  font-size: 14px;
  cursor: pointer;
}

.lv-filter-brands input {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: var(--lv-category-ink);
}

.lv-filter-brand-count { color: var(--lv-category-muted); font-size: 13px; }
.lv-category-filters #sort_count select[hidden] { display: none !important; }

.lv-category-filters .box_price_from_to .controls.lv-filter-price-fields {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.lv-category-filters #sort_count .lv-filter-price-fields .input-append label {
  display: block;
  margin: 0 0 3px;
  color: var(--lv-category-muted);
  font-size: 13px;
}

.lv-category-filters #sort_count .lv-filter-price-fields input[type="text"] {
  border-radius: 4px;
}

.lv-filter-range {
  position: relative;
  height: 28px;
  margin: 10px 9px 0;
}

.lv-filter-range-track {
  position: absolute;
  inset: calc(50% - 1px) 0 auto;
  height: 2px;
  background: linear-gradient(to right, var(--lv-category-line) var(--lv-range-from),
    var(--lv-category-ink) var(--lv-range-from) var(--lv-range-to), var(--lv-category-line) var(--lv-range-to));
}

.lv-filter-range input[type="range"] {
  position: absolute;
  inset: 0 -9px;
  width: calc(100% + 18px);
  height: 28px;
  margin: 0;
  padding: 0;
  border: 0;
  appearance: none;
  background: transparent;
  pointer-events: none;
}

.lv-filter-range input:focus-visible,
.lv-filter-range .lv-range-front { z-index: 1; }

.lv-filter-range input::-webkit-slider-thumb {
  appearance: none;
  width: 17px;
  height: 17px;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--lv-category-ink);
  background: var(--lv-category-ink);
  pointer-events: auto;
  cursor: ew-resize;
}

.lv-filter-range input::-moz-range-thumb {
  width: 13px;
  height: 13px;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--lv-category-ink);
  background: var(--lv-category-ink);
  pointer-events: auto;
  cursor: ew-resize;
}
