/* === normalize.css (inlined for listing: one render-blocking CSS) === */
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

 html {
    line-height: 1.15; /* 1 */
    -webkit-text-size-adjust: 100%; /* 2 */
  }
  
  /* Sections
     ========================================================================== */
  
  /**
   * Remove the margin in all browsers.
   */
  
  body {
    margin: 0;
  }
  
  /**
   * Render the `main` element consistently in IE.
   */
  
  main {
    display: block;
  }
  
  /**
   * Correct the font size and margin on `h1` elements within `section` and
   * `article` contexts in Chrome, Firefox, and Safari.
   */
  
  h1 {
    font-size: 2em;
    margin: 0.67em 0;
  }
  
  /* Grouping content
     ========================================================================== */
  
  /**
   * 1. Add the correct box sizing in Firefox.
   * 2. Show the overflow in Edge and IE.
   */
  
  hr {
    box-sizing: content-box; /* 1 */
    height: 0; /* 1 */
    overflow: visible; /* 2 */
  }
  
  /**
   * 1. Correct the inheritance and scaling of font size in all browsers.
   * 2. Correct the odd `em` font sizing in all browsers.
   */
  
  pre {
    font-family: monospace, monospace; /* 1 */
    font-size: 1em; /* 2 */
  }
  
  /* Text-level semantics
     ========================================================================== */
  
  /**
   * Remove the gray background on active links in IE 10.
   */
  
  a {
    background-color: transparent;
  }
  
  /**
   * 1. Remove the bottom border in Chrome 57-
   * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
   */
  
  abbr[title] {
    border-bottom: none; /* 1 */
    text-decoration: underline; /* 2 */
    text-decoration: underline dotted; /* 2 */
  }
  
  /**
   * Add the correct font weight in Chrome, Edge, and Safari.
   */
  
  b,
  strong {
    font-weight: bolder;
  }
  
  /**
   * 1. Correct the inheritance and scaling of font size in all browsers.
   * 2. Correct the odd `em` font sizing in all browsers.
   */
  
  code,
  kbd,
  samp {
    font-family: monospace, monospace; /* 1 */
    font-size: 1em; /* 2 */
  }
  
  /**
   * Add the correct font size in all browsers.
   */
  
  small {
    font-size: 80%;
  }
  
  /**
   * Prevent `sub` and `sup` elements from affecting the line height in
   * all browsers.
   */
  
  sub,
  sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }
  
  sub {
    bottom: -0.25em;
  }
  
  sup {
    top: -0.5em;
  }
  
  /* Embedded content
     ========================================================================== */
  
  /**
   * Remove the border on images inside links in IE 10.
   */
  
  img {
    border-style: none;
  }
  
  /* Forms
     ========================================================================== */
  
  /**
   * 1. Change the font styles in all browsers.
   * 2. Remove the margin in Firefox and Safari.
   */
  
  button,
  input,
  optgroup,
  select,
  textarea {
    font-family: inherit; /* 1 */
    font-size: 100%; /* 1 */
    line-height: 1.15; /* 1 */
    margin: 0; /* 2 */
  }
  
  /**
   * Show the overflow in IE.
   * 1. Show the overflow in Edge.
   */
  
  button,
  input { /* 1 */
    overflow: visible;
  }
  
  /**
   * Remove the inheritance of text transform in Edge, Firefox, and IE.
   * 1. Remove the inheritance of text transform in Firefox.
   */
  
  button,
  select { /* 1 */
    text-transform: none;
  }
  
  /**
   * Correct the inability to style clickable types in iOS and Safari.
   */
  
  button,
  [type="button"],
  [type="reset"],
  [type="submit"] {
    -webkit-appearance: button;
  }
  
  /**
   * Remove the inner border and padding in Firefox.
   */
  
  button::-moz-focus-inner,
  [type="button"]::-moz-focus-inner,
  [type="reset"]::-moz-focus-inner,
  [type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
  }
  
  /**
   * Restore the focus styles unset by the previous rule.
   */
  
  button:-moz-focusring,
  [type="button"]:-moz-focusring,
  [type="reset"]:-moz-focusring,
  [type="submit"]:-moz-focusring {
    outline: 1px dotted ButtonText;
  }
  
  /**
   * Correct the padding in Firefox.
   */
  
  fieldset {
    padding: 0.35em 0.75em 0.625em;
  }
  
  /**
   * 1. Correct the text wrapping in Edge and IE.
   * 2. Correct the color inheritance from `fieldset` elements in IE.
   * 3. Remove the padding so developers are not caught out when they zero out
   *    `fieldset` elements in all browsers.
   */
  
  legend {
    box-sizing: border-box; /* 1 */
    color: inherit; /* 2 */
    display: table; /* 1 */
    max-width: 100%; /* 1 */
    padding: 0; /* 3 */
    white-space: normal; /* 1 */
  }
  
  /**
   * Add the correct vertical alignment in Chrome, Firefox, and Opera.
   */
  
  progress {
    vertical-align: baseline;
  }
  
  /**
   * Remove the default vertical scrollbar in IE 10+.
   */
  
  textarea {
    overflow: auto;
  }
  
  /**
   * 1. Add the correct box sizing in IE 10.
   * 2. Remove the padding in IE 10.
   */
  
  [type="checkbox"],
  [type="radio"] {
    box-sizing: border-box; /* 1 */
    padding: 0; /* 2 */
  }
  
  /**
   * Correct the cursor style of increment and decrement buttons in Chrome.
   */
  
  [type="number"]::-webkit-inner-spin-button,
  [type="number"]::-webkit-outer-spin-button {
    height: auto;
  }
  
  /**
   * 1. Correct the odd appearance in Chrome and Safari.
   * 2. Correct the outline style in Safari.
   */
  
  [type="search"] {
    -webkit-appearance: textfield; /* 1 */
    outline-offset: -2px; /* 2 */
  }
  
  /**
   * Remove the inner padding in Chrome and Safari on macOS.
   */
  
  [type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
  }
  
  /**
   * 1. Correct the inability to style clickable types in iOS and Safari.
   * 2. Change font properties to `inherit` in Safari.
   */
  
  ::-webkit-file-upload-button {
    -webkit-appearance: button; /* 1 */
    font: inherit; /* 2 */
  }
  
  /* Interactive
     ========================================================================== */
  
  /*
   * Add the correct display in Edge, IE 10+, and Firefox.
   */
  
  details {
    display: block;
  }
  
  /*
   * Add the correct display in all browsers.
   */
  
  summary {
    display: list-item;
  }
  
  /* Misc
     ========================================================================== */
  
  /**
   * Add the correct display in IE 10+.
   */
  
  template {
    display: none;
  }
  
  /**
   * Add the correct display in IE 10.
   */
  
  [hidden] {
    display: none;
  }

/* === shop-listing === */
a {
  text-decoration: none;
  color: inherit;
}

:root {
  
  --blue: #5b7cfa;
  --blue-hover: #4563d9;
  --purple: #9b6dff;
  --yellow: #f0d45a;
  --bg-color: #eef0f6;
  --description: #4a5166;
  --menu-color: #141824;
  --header-gradient-start: #060812;
  --surface: #ffffff;
  --danger: #dc3545;
  --success: #28a745;
  --border-muted: #d2dae8;
  --blue-soft-bg: color-mix(in srgb, var(--blue) 8%, white);
  --blue-muted-bg: color-mix(in srgb, var(--blue) 14%, white);
  --blue-strong-bg: color-mix(in srgb, var(--blue) 22%, white);
  --blue-border-soft: color-mix(in srgb, var(--blue) 32%, white);
  --blue-focus-ring: color-mix(in srgb, var(--blue) 15%, transparent);
  --blue-shadow: color-mix(in srgb, var(--blue) 15%, transparent);
  --blue-scroll: color-mix(in srgb, var(--blue) 35%, transparent);
  --blue-scroll-hover: color-mix(in srgb, var(--blue) 45%, transparent);
  --scrollbar-size: 5px;
  --header-logo-size: 60px;
  --header-sticky-offset: 62px;

  
  --bottom-nav-offset: 4px;
  --bottom-nav-pad: 4px;
  --bottom-nav-btn-min-height: 32px;
  --bottom-nav-clearance: calc(
    var(--bottom-nav-offset) + 2px + (var(--bottom-nav-pad) * 2) + var(--bottom-nav-btn-min-height)
  );

  --btn-transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease, opacity 0.25s ease;

  
  --btn-radius: 8px;
  --btn-pad-y: 8px;
  --btn-pad-x: 14px;
  --btn-font-size: 13px;
  --btn-font-weight: 600;
  --btn-min-height: 40px;
  --btn-border-width: 1px;

  --btn-bg: transparent;
  --btn-bg-hover: color-mix(in srgb, var(--blue) 10%, white);
  --btn-border: color-mix(in srgb, var(--blue) 35%, white);
  --btn-border-hover: var(--blue);
  --btn-color: var(--blue);
  --btn-color-hover: var(--blue-hover);

  --btn-soft-bg: rgba(15, 23, 42, 0.03);
  --btn-soft-bg-hover: rgba(15, 23, 42, 0.06);
  --btn-soft-border: var(--border-muted);
  --btn-soft-color: var(--menu-color);

  --btn-danger-bg: transparent;
  --btn-danger-bg-hover: color-mix(in srgb, var(--danger) 10%, white);
  --btn-danger-border: color-mix(in srgb, var(--danger) 40%, white);
  --btn-danger-color: var(--danger);
  --btn-danger-color-hover: color-mix(in srgb, var(--danger) 85%, black);

  --btn-success-bg: transparent;
  --btn-success-bg-hover: color-mix(in srgb, var(--success) 12%, white);
  --btn-success-border: color-mix(in srgb, var(--success) 40%, white);
  --btn-success-color: var(--success);
  --btn-success-color-hover: color-mix(in srgb, var(--success) 85%, black);

  --btn-glass-bg: rgba(255, 255, 255, 0.12);
  --btn-glass-bg-hover: rgba(255, 255, 255, 0.22);
  --btn-glass-border: rgba(255, 255, 255, 0.22);
  --btn-glass-border-hover: rgba(255, 255, 255, 0.4);
  --btn-glass-color: #fff;

  
  --control-radius: var(--btn-radius);
  --control-pad-y: 10px;
  --control-pad-x: 12px;
  --control-font-size: 14px;
  --control-label-size: 13px;
  --control-min-height: var(--btn-min-height);
  --control-border-width: 1px;
  --control-border-color: var(--border-muted);
}

@font-face {
  font-display: swap;
  
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  src: url('/static/fonts/montserrat-v25-cyrillic_latin-regular.woff2') format('woff2'),
    
    url('/static/fonts/montserrat-v25-cyrillic_latin-regular.woff') format('woff');
  
}

@font-face {
  font-display: swap;
  
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  src: url('/static/fonts/montserrat-v25-cyrillic_latin-600.woff2') format('woff2'),
    
    url('/static/fonts/montserrat-v25-cyrillic_latin-600.woff') format('woff');
}

@font-face {
  font-display: swap;
  
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  src: url('/static/fonts/montserrat-v25-cyrillic_latin-700.woff2') format('woff2'),
    
    url('/static/fonts/montserrat-v25-cyrillic_latin-700.woff') format('woff');
}

* {
  box-sizing: border-box;
}

html,
body {
  padding: 0;
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  background-color: var(--bg-color);
  height: 100%;
}

.btn-green:not(.header-btn):not(.my-orders-btn) {
  background: var(--btn-success-bg);
  color: var(--btn-success-color);
  border: var(--btn-border-width) solid var(--btn-success-border);
}

.btn-green:not(.header-btn):not(.my-orders-btn):hover {
  background: var(--btn-success-bg-hover);
  border-color: var(--btn-success-color);
  color: var(--btn-success-color-hover);
}

body.shop-confirm-open {
  overflow: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.header {
  position: relative;
  top: auto;
  left: auto;
  z-index: 1100;
  flex: 0 0 auto;
  width: 100%;
  background: rgb(2, 0, 36);
  background: linear-gradient(90deg, var(--header-gradient-start) 0%, var(--blue) 0%, var(--purple) 100%);
  border-bottom: 1.4px solid rgba(0, 0, 0, .5);
  border-radius: 0;
  margin-bottom: 0;
  color: white;
  padding: 0 16px 0 10px;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  position: relative;
  z-index: 100 !important;
  min-height: var(--header-sticky-offset);
  padding: 0;
  box-sizing: border-box;
}

.header__logo {
  flex-shrink: 0;
  width: var(--header-logo-size) !important;
  height: var(--header-logo-size) !important;
  max-width: var(--header-logo-size);
  max-height: var(--header-logo-size);
  object-fit: contain;
  display: block;
}

.header__text {
  position: absolute;
  left: 50%;
  transform-origin: center;
  transform: translateX(-50%);
  transition: transform 0.3s ease;
}

.header__text:hover, .header__text:focus {
  outline: none;
  transform: translateX(-50%) scale(1.07) !important;
}

.header__right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  position: relative;
  z-index: 3;
  order: 2;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 4px 4px;
  flex-wrap: nowrap;
  flex-shrink: 0;
  margin-left: 0;
  margin-right: 0;
  position: relative;
  z-index: 3;
  order: 1;
}

.header__nav-sep {
  display: inline-block;
  width: 1px;
  height: 14px;
  margin: 0 10px;
  background: rgba(255, 255, 255, 0.35);
  flex-shrink: 0;
}

.header__nav-link {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0.88;
  letter-spacing: 0.01em;
  padding: 6px 10px;
  border-radius: 8px;
  text-shadow: none;
  transition: opacity 0.2s ease, background-color 0.2s ease;
}

.header__nav-link:hover,
.header__nav-link:focus {
  color: #fff;
  opacity: 1;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.12);
  outline: none;
}

.header__nav-link.is-active {
  color: #fff;
  opacity: 1;
  background: rgba(255, 255, 255, 0.16);
  text-decoration: none;
}

.header__nav-link--external {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  line-height: 1;
}

.header__nav-arrow {
  display: block;
  flex: 0 0 auto;
  width: 18px;
  height: 14px;
  opacity: 0.9;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.header__nav-link--external:hover .header__nav-arrow,
.header__nav-link--external:focus .header__nav-arrow {
  transform: translateX(2px);
  opacity: 1;
}

.header__inner:has(.header__nav) {
  gap: 10px 12px;
}

.header__inner:has(.header__nav) .header__text {
  position: static;
  transform: none;
  transform-origin: left center;
  flex: 1 1 auto;
  min-width: 0;
  font-size: 20px;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-bottom: 0;
  transition: transform 0.3s ease;
}

.header__inner:has(.header__nav) .header__text:hover,
.header__inner:has(.header__nav) .header__text:focus {
  outline: none;
  transform: scale(1.04) !important;
}

.header__inner:has(.header__nav) .header__nav {
  margin-left: auto;
}

.header__burger.header__shop-burger {
  display: none;
  flex-shrink: 0;
  margin-left: 0;
  position: relative;
  z-index: 21;
  border: none;
  outline: none;
  background-color: transparent;
  background-size: 22px 22px;
  padding: 0;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
  order: 3;
}

.header__burger.header__shop-burger.burger-active {
  background-image: url('/static/img/X-white.svg');
}

@media (max-width: 768px) {
.body > .info-page {
    margin-bottom: 8px;
  }
}

.header-btn,
.my-orders-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: var(--btn-glass-bg);
  color: var(--btn-glass-color);
  padding: 5px 10px;
  min-height: 32px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: var(--btn-font-weight);
  font-size: 12px;
  letter-spacing: 0.01em;
  line-height: 1.2;
  transition: var(--btn-transition);
  box-shadow: none;
  border: var(--btn-border-width) solid var(--btn-glass-border);
  box-sizing: border-box;
  cursor: pointer;
  white-space: nowrap;
  font-family: 'Montserrat', sans-serif;
}

.header-btn:hover,
.header-btn:focus,
.my-orders-btn:hover,
.my-orders-btn:focus {
  background: var(--btn-glass-bg-hover);
  border-color: var(--btn-glass-border-hover);
  color: var(--btn-glass-color);
  outline: none;
  transform: none;
  box-shadow: none;
}

.header-btn--primary,
.my-orders-btn.btn-green {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
  font-weight: var(--btn-font-weight);
}

.header-btn--primary:hover,
.header-btn--primary:focus,
.my-orders-btn.btn-green:hover,
.my-orders-btn.btn-green:focus {
  background: rgba(255, 255, 255, 0.3);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.65);
}

.cart-toggle,
.header-btn--cart {
  background: var(--btn-glass-bg);
  color: var(--btn-glass-color);
  padding: 5px 10px;
  min-height: 32px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: var(--btn-font-weight);
  font-size: 12px;
  transition: var(--btn-transition);
  box-shadow: none;
  border: var(--btn-border-width) solid var(--btn-glass-border);
  box-sizing: border-box;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  position: relative;
  font-family: 'Montserrat', sans-serif;
}

.cart-toggle:hover,
.header-btn--cart:hover {
  background: var(--btn-glass-bg-hover);
  border-color: var(--btn-glass-border-hover);
  color: var(--btn-glass-color);
  transform: none;
  box-shadow: none;
}

.cart-icon {
  font-size: 14px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cart-icon .ui-icon {
  width: 15px;
  height: 15px;
}

.cart-btn__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.cart-btn__icon .ui-icon {
  width: 16px;
  height: 16px;
}

.cart-btn .ui-icon,
.cart-close .ui-icon,
.close-btn .ui-icon,
.quantity-btn .ui-icon,
.remove-btn .ui-icon,
.locked-brand-chip__clear .ui-icon {
  width: 12px;
  height: 12px;
  display: block;
  margin: 0;
  flex-shrink: 0;
  pointer-events: none;
}

.cart-controls .cart-btn .ui-icon,
.cart-btn--remove .ui-icon,
.cart-btn--checkout .ui-icon,
.cart-btn--remove-item .ui-icon {
  width: 18px;
  height: 18px;
}

.cart-icon .ui-icon {
  width: 18px;
  height: 18px;
}

.open-filters-btn__inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.open-filters-btn .ui-icon {
  width: 18px;
  height: 18px;
}

.open-filters-btn--icon {
  width: var(--catalog-toolbar-control-height, 44px);
  min-width: var(--catalog-toolbar-control-height, 44px);
  max-width: var(--catalog-toolbar-control-height, 44px);
  height: var(--catalog-toolbar-control-height, 44px);
  min-height: var(--catalog-toolbar-control-height, 44px);
  max-height: var(--catalog-toolbar-control-height, 44px);
  padding: 0 !important;
  flex: 0 0 var(--catalog-toolbar-control-height, 44px);
  box-sizing: border-box;
  align-self: center;
}

.open-filters-btn--icon .open-filters-btn__inner {
  gap: 0;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sticky-filters-wrapper {
  --catalog-toolbar-control-height: 44px;
}

.mobile-buttons-bar {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.mobile-buttons-bar .catalog-toggle,
.mobile-buttons-bar .catalog-toolbar-search .catalog-toolbar-input,
.mobile-buttons-bar .brand-field-shell,
.mobile-buttons-bar .catalog-toolbar-apply,
.mobile-buttons-bar .open-filters-btn--icon {
  height: var(--catalog-toolbar-control-height, 44px) !important;
  min-height: var(--catalog-toolbar-control-height, 44px) !important;
  max-height: var(--catalog-toolbar-control-height, 44px) !important;
  box-sizing: border-box;
}

.mobile-buttons-bar .catalog-toggle {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  line-height: 1.2;
}

.mobile-buttons-bar .catalog-toolbar-apply,
.mobile-buttons-bar .open-filters-btn--icon {
  padding: 0 !important;
}

.catalog-toolbar-search,
.catalog-toolbar-brand {
  flex: 1 1 0;
  min-width: 0;
  max-width: 240px;
  position: relative;
  display: flex;
  align-items: center;
  height: var(--catalog-toolbar-control-height, 44px);
  overflow: visible;
}

.catalog-toolbar-brand .brand-search-container {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  flex: 1 1 auto;
  position: relative;
  overflow: visible;
  z-index: 5;
}

.catalog-toolbar-input {
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
  box-sizing: border-box;
}

.catalog-toolbar-search .catalog-toolbar-input {
  height: var(--catalog-toolbar-control-height, 44px);
  min-height: var(--catalog-toolbar-control-height, 44px) !important;
  max-height: var(--catalog-toolbar-control-height, 44px);
  padding: 0 12px !important;
  line-height: 1.2;
  border-width: 1px;
  border-radius: 10px;
}

.catalog-toolbar-apply {
  flex: 0 0 var(--catalog-toolbar-control-height, 44px);
  width: var(--catalog-toolbar-control-height, 44px);
  min-width: var(--catalog-toolbar-control-height, 44px);
  max-width: var(--catalog-toolbar-control-height, 44px);
  height: var(--catalog-toolbar-control-height, 44px) !important;
  min-height: var(--catalog-toolbar-control-height, 44px) !important;
  max-height: var(--catalog-toolbar-control-height, 44px) !important;
  padding: 0 !important;
  white-space: nowrap;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  align-self: center;
}

.catalog-toolbar-apply__inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.catalog-toolbar-apply .ui-icon {
  width: 18px;
  height: 18px;
}

.brand-field-shell {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: var(--catalog-toolbar-control-height, 44px);
  min-height: var(--catalog-toolbar-control-height, 44px);
  max-height: var(--catalog-toolbar-control-height, 44px);
  padding: 0 8px;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #d2dae8;
  border-radius: 10px;
  transition: border-color 0.2s ease;
  overflow: hidden;
}

.brand-field-shell:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-focus-ring);
}

.brand-field-shell .catalog-toolbar-input,
.brand-field-shell .brand-input,
.brand-field-shell .filter-input {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  width: 0 !important;
  max-width: 100%;
  height: 24px !important;
  min-height: 0 !important;
  max-height: 24px !important;
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 0 4px !important;
  outline: none;
  line-height: 24px;
  font-size: 14px;
}

.brand-field-shell .catalog-toolbar-input:focus,
.brand-field-shell .filter-input:focus {
  border: none !important;
  box-shadow: none !important;
}

.brand-chips {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 0 1 auto;
  max-width: min(70%, 240px);
  min-width: 0;
  overflow: hidden;
}

.brand-chips:empty {
  display: none;
}

.locked-brand-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0 6px 0 8px;
  height: 24px;
  max-height: 24px;
  width: auto;
  max-width: 100%;
  box-sizing: border-box;
  background: var(--blue-soft-bg);
  border: 1px solid var(--blue-border-soft);
  border-radius: 6px;
  font-size: 12px;
  line-height: 1;
  color: color-mix(in srgb, var(--blue) 45%, var(--menu-color));
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
}

.locked-brand-chip--multi {
  max-width: 100%;
}

.locked-brand-chip.d-none,
.locked-brand-chip[hidden] {
  display: none !important;
}

.locked-brand-chip__text {
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 700;
}

.locked-brand-chip__clear {
  border: none;
  background: transparent;
  color: #666;
  font-size: 0;
  line-height: 0;
  cursor: pointer;
  padding: 0;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.locked-brand-chip__clear .ui-icon {
  width: 12px;
  height: 12px;
  display: block;
  margin: 0;
  flex-shrink: 0;
  pointer-events: none;
}

.locked-brand-chip__clear:hover {
  color: #dc2626;
}


.catalog-toolbar-brand .brand-suggestions {
  z-index: 12000;
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

.mobile-buttons-bar .catalog-toggle {
  height: var(--catalog-toolbar-control-height, 44px);
  min-height: var(--catalog-toolbar-control-height, 44px);
  max-height: var(--catalog-toolbar-control-height, 44px);
  box-sizing: border-box;
  padding-top: 0;
  padding-bottom: 0;
  border-radius: 10px;
}

.bottom-nav__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.bottom-nav__icon .ui-icon {
  width: 16px;
  height: 16px;
}

.cart-count {
  color: inherit;
  border-radius: 50%;
  min-width: 0;
  height: auto;
  display: inline;
  align-items: center;
  justify-content: center;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

.header-btn--cart .cart-count,
.cart-toggle .cart-count {
  color: #fff;
  min-width: 20px;
  height: 20px;
  display: inline-flex;
  font-size: 12px;
  font-weight: bold;
  line-height: 1;
}

.header__menu {
  height: 250px;
  padding: 16px 70px 30px 30px;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 10;
  transition: transform .3s ease-in-out;
  transform: translateX(110%);
  background-color: white;
  box-shadow: 0px 5px 40px rgba(0, 0, 0, 0.1);
  border-radius: 0 0 0 32px;
  overflow-y: scroll;
}

body::-webkit-scrollbar,
.header__menu::-webkit-scrollbar {
  width: 0;
}

* {
  scrollbar-width: thin;
  scrollbar-color: var(--blue-scroll) transparent;
}

*::-webkit-scrollbar {
  width: var(--scrollbar-size);
  height: var(--scrollbar-size);
}

*::-webkit-scrollbar-track {
  background: transparent;
}

*::-webkit-scrollbar-thumb {
  background: var(--blue-scroll);
  border-radius: 999px;
}

*::-webkit-scrollbar-thumb:hover {
  background: var(--blue-scroll-hover);
}

body {
  overflow: hidden;
}

body.cart-open {
  overflow: hidden;
}

body.cart-open .body {
  overflow: hidden;
}

.header__menu.is-active {
  transform: translateX(10%);
}

.header__burger {
  display: block;
  cursor: pointer;
  width: 50px;
  height: 44px;
  background-image: url('/static/img/burger.svg');
  background-repeat: no-repeat;
  background-position: center center;
  z-index: 20;
  padding: 7px;
  transition-property: transform, background-image;
  transition-duration: .4s;
  transition-timing-function: ease;
}

.header__burger:focus {
  transform: scale(1.2);
}

.header__burger.burger-active {
  background-image: url('/static/img/X.svg');
  transform: rotate(90deg);
}

.header__link {
  transition-property: transform;
  transition-duration: .4s;
  transition-timing-function: ease;
  text-decoration: none;
  color: inherit;
}

.header__link:focus {
  outline: none;
  transform: scale(1.1);
}

.header__logo {
  width: var(--header-logo-size) !important;
  height: var(--header-logo-size) !important;
  max-width: var(--header-logo-size);
  max-height: var(--header-logo-size);
  object-fit: contain;
  display: block;
}

.header__text {
  font-size: 40px;
  line-height: 1;
  font-weight: 400;
  padding-bottom: 5px;
  color: white;
  text-decoration: none;
}

.body {
  margin-top: 0;
  max-width: 100%;
  box-sizing: border-box;
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
  
  padding-top: 0;
}

@media (max-width: 768px) {
html,
  body {
    height: auto;
    min-height: 100%;
  }

body {
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior-y: auto;
  }

body.cart-open {
    overflow: hidden;
    height: 100%;
  }

.wrapper,
  .content {
    height: auto;
    min-height: 100%;
    overflow: visible;
  }

body.cart-open .wrapper,
  body.cart-open .content {
    height: 100%;
    overflow: hidden;
  }

.body {
    overflow: visible;
    flex: 1 1 auto;
    min-height: 0;
  }

body.cart-open .body {
    overflow: hidden;
  }

.header {
    position: sticky;
    top: 0;
    z-index: 1100;
  }

.sticky-filters-wrapper {
    top: calc(var(--header-sticky-offset) + 8px) !important;
  }
}

.body > .container,
.body > .post-container,
.body > .checkout-container,
.body > .info-page,
.body > .similar-products {
  padding-top: 16px;
}

.body__title {
  font-size: 26px;
  line-height: 1;
  font-weight: 400;
  margin-top: 0;
  margin-bottom: 15px;
  text-align: center;
}

.part {
  margin-bottom: 30px;
}

.body.part {
  margin-bottom: 0;
}

.post__desc {
  -webkit-line-clamp: 3;
  line-clamp: 3;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.about__text.is-active,
.more.is-active {
  display: block;
}

.sticky-filters-wrapper {
  border: 1px solid rgba(0, 0, 0, 0.28);
}

.footer {
  background: rgb(2, 0, 36);
  background: linear-gradient(90deg, var(--header-gradient-start) 0%, var(--blue) 0%, var(--purple) 100%);
  padding-bottom: 8px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  position: relative;
  overflow-x: hidden;
  flex: 0 0 auto;
  margin-top: auto;
}

.body > .container {
  margin-bottom: 24px;
}

.body > .info-page {
  margin-bottom: 12px;
}

.body > .post-container {
  
  margin-bottom: 0;
}

.body > .checkout-container,
.body > .similar-products {
  margin-bottom: 16px;
}

.bald {
  font-weight: 600;
}

.contacts {
  padding: 16px 0 4px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}

.contacts-col--legal {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  flex: 0 1 28%;
  max-width: 100%;
  gap: 12px;
}

.contacts-col--legal .contacts-list {
  width: 100%;
  flex: none;
  align-items: flex-start;
}

.contacts-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 18%;
  flex: 0 1 18%;
}

.contacts-list:first-child {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  width: max-content;
  max-width: 100%;
  flex: 0 1 auto;
  gap: 0;
}

.contacts-list:first-child .contact {
  width: max-content;
  max-width: 100%;
}

/* Адрес не участвует в max-content колонки – ширина = телефон/email */
.contacts-list:first-child .contact.contact--address {
  width: 0;
  min-width: 100%;
  max-width: 100%;
}

.contacts-list:first-child .contact-name {
  flex: 0 0 auto;
  white-space: nowrap;
  margin-right: 0;
}

.contacts-list:first-child .contact-link {
  flex: 0 1 auto;
  min-width: 0;
  text-align: left;
}

.contact {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 10px;
}

.contact:not(:last-child) {
  margin-bottom: 10px;
}

.contact-name {
  color: rgba(255, 255, 255, .7);
  font-size: 16px;
  margin: 0;
}

.contact-link {
  color: rgba(255, 255, 255, .7);
  font-size: 16px;
  margin-left: 0;
  text-align: left;
  text-decoration: none;
}

/* ПК: адрес столбиком, не шире строк телефон/email */
.contact--address {
  flex-direction: column;
  align-items: stretch;
  align-self: stretch;
  flex-wrap: nowrap;
  gap: 2px;
  margin: 0;
  padding: 0;
  background: none;
  border-radius: 0;
  width: 0;
  min-width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.contact--address .contact-name {
  white-space: nowrap;
}

.contact--address .contact-link {
  display: block;
  width: 100%;
  max-width: 100%;
  line-height: 1.4;
  box-sizing: border-box;
  overflow-wrap: break-word;
  word-wrap: break-word;
  white-space: normal;
}

.clickable {
  transition-property: color;
  transition-duration: .4s;
  transition-timing-function: ease;
}

.docs {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 8px;
  width: auto;
  max-width: 100%;
  text-align: left;
}

.doc-link {
  color: rgba(255, 255, 255, .7);
  font-size: 16px;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition-property: color;
  transition-duration: .4s;
  transition-timing-function: ease;
  text-align: left;
  display: block;
  width: auto;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0;
}

.doc-link:focus {
  color: white;
}

.cookie_notification {
  display: none;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  bottom: 0;
  left: 50%;
  width: 70%;
  max-width: 90%;
  transform: translateX(-50%);
  padding: 16px 20px calc(16px + env(safe-area-inset-bottom, 0px));
  background-color: white;
  border-radius: 15px 15px 0 0;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, .2);
  z-index: 1200;
}

.cookie_notification.show {
  display: flex;
}

.cookie_notification p {
  color: var(--description);
  font-size: 14px;
}

.button {
  background: var(--btn-bg);
  color: var(--btn-color);
  border-radius: var(--btn-radius);
  padding: var(--btn-pad-y) var(--btn-pad-x);
  min-height: var(--btn-min-height);
  outline: none;
  border: var(--btn-border-width) solid var(--btn-border);
  cursor: pointer;
  font-size: var(--btn-font-size);
  font-weight: var(--btn-font-weight);
  box-shadow: none;
  box-sizing: border-box;
  transition: var(--btn-transition);
  font-family: 'Montserrat', sans-serif;
}

.button:hover,
.button:focus {
  background: var(--btn-bg-hover);
  color: var(--btn-color-hover);
  border-color: var(--btn-border-hover);
  outline: none;
}

.cookie_accept {
  margin-left: 10px;
}

.brand {
  display: flex;
  justify-content: space-between;
  margin-top: -40px;
}

.brand__present {
  display: flex;
  align-items: center;
  flex-direction: column;
  width: 45%;
  margin-top: 30px;
}

.brand__init {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.brand__logo {
  width: 120px;
  height: 100px;
  border-radius: 15px;
  margin-right: 20px;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, .2);
}

.brand__name {
  font-weight: 600;
  font-size: 40px;
}

.brand__promo {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, .2);
}

.brand__text {
  margin-left: 40px;
  padding-top: 125px;
  margin-top: 20px;
  width: 55%;
}

.wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  height: 100%;
  overflow: hidden;
}

.content {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  height: auto;
  overflow: hidden;
}

@media (max-width: 768px) {
.wrapper,
  .content {
    height: auto;
    min-height: 100%;
    overflow: visible;
  }

body.cart-open .wrapper,
  body.cart-open .content {
    height: 100%;
    overflow: hidden;
  }
}

.post-container {
  width: 82%;
  max-width: 100%;
  margin: auto;
  box-sizing: border-box;
  min-width: 0;
}

.post__title {
  font-size: 36px;
  line-height: 1;
  font-weight: 400;
  margin-bottom: 15px;
  text-align: center;
}

.post__subtitle {
  font-size: 24px;
  line-height: 1;
  font-weight: 300;
  margin-bottom: 10px;
  text-align: center;
}

.post__img {
  height: 100%;
  width: 35%;
  border-radius: 15px;
}

.post__li {
  display: flex;
  position: relative;
  list-style: none;
  text-indent: 25px;
  margin-bottom: 3px !important;
  margin-top: 0px !important;
}

.post__li::before {
  position: absolute;
  content: '';
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  background-image: url("/static/img/dot.svg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 8px 8px;
}

@media (max-width: 1250px) {
.body__title {
    font-size: 28px;
    text-align: center;
    font-weight: 800;
  }

.header__text {
    text-align: center;
  }

.contacts {
    flex-direction: column;
    padding: 12px 0 4px;
  }

.contacts-col--legal {
    width: 100%;
    flex: none;
    align-items: flex-start;
  }

.contacts-list {
    width: 100%;
    flex: none;
  }

.contacts-list:first-child {
    display: flex;
    flex-direction: column;
    width: 100%;
    flex: none;
    max-width: 100%;
  }

.contacts-list:not(:last-child) {
    margin-bottom: 14px;
  }

.brand {
    flex-direction: column;
    margin-top: -20px;
    align-items: center;
    justify-content: center;
  }

.brand__text {
    padding: 0;
    margin-top: 0;
    width: 100%;
    margin-left: 0;
  }

.brand__present {
    width: 100%;
    margin-bottom: 30px;
    margin-top: 10px;
  }

.header__text {
    font-size: 26px;
  }
}

@media (max-width: 980px) {
.header__text {
    position: static;
    transform: none;
    font-size: 26px;
  }

.header__text:hover, .header__text:focus {
    transform: scale(1.07) !important;
  }

.post__img {
    width: 80%;
    float: none;
    border-radius: 15px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 5px;
  }
}

@media (max-width: 640px) {
body {
    margin: auto;
  }

:root {
    --header-logo-size: 40px;
    --header-sticky-offset: 42px;
  }

.sticky-filters-wrapper {
    top: calc(var(--header-sticky-offset) + 8px) !important;
    padding: 10px;
  }

.post__img {
    width: 80%;
    float: none;
    border-radius: 15px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 5px;
  }

.post-container {
    width: 100%;
    padding-left: 10px;
    padding-right: 10px;
  }

.post__li::before {
    background-position: 10px 5px;
  }

.header__text {
    font-size: 16px !important;
    font-weight: 800;
  }

.header__logo {
    width: var(--header-logo-size) !important;
    height: var(--header-logo-size) !important;
    max-width: var(--header-logo-size);
    max-height: var(--header-logo-size);
  }

.header__burger {
    height: 20px;
    width: 20px;
  }

.body {
    margin-top: 0;
    padding-top: 0;
  }

.body > .container,
  .body > .post-container,
  .body > .checkout-container,
  .body > .info-page {
    padding-top: 16px;
  }

.body > .similar-products {
    padding-top: 24px;
  }

.cookie_notification {
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    transform: none;
    flex-direction: column;
    bottom: 0;
    z-index: 1200;
  }

.cookie_notification p {
    margin-bottom: 10px;
    text-align: center;
  }

.button {
    border-radius: var(--btn-radius);
  }

.header__menu {
    padding-top: 7px;
  }

.header {
    padding: 0 17px 0 6px;
  }

.brand__logo {
    width: 96px;
    height: 80px;
    border-radius: 15px;
    margin-right: 20px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, .2);
  }

.brand__name {
    font-size: 34px;
  }

.docs {
    margin-bottom: 10px;
    width: 100%;
    align-items: flex-start;
    text-align: left;
  }

.docs .doc-link {
    text-align: left;
    width: auto;
    margin-left: 0;
    margin-right: 0;
  }

.footer {
    padding-bottom: calc(var(--bottom-nav-clearance) - 10px + env(safe-area-inset-bottom, 0px));
  }

.footer .contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

.footer .contact-name {
    margin-right: 0;
    margin-bottom: 0;
    white-space: normal;
  }

.footer .contact-link {
    margin-left: 0;
    text-align: left;
  }

.footer .contacts-list:first-child .contact-name {
    margin-right: 0;
    white-space: normal;
  }

.footer .contacts-list {
    align-items: flex-start;
  }

.footer .contact--address {
    margin-bottom: 0;
    padding: 0;
    background: none;
    width: auto;
    min-width: 0;
    max-width: 100%;
  }

.footer .contacts-list:first-child .contact.contact--address {
    width: auto;
    min-width: 0;
    max-width: 100%;
  }

.footer .contacts-list:first-child {
    margin-bottom: 10px;
  }

.footer .contact--address .contact-name {
    white-space: normal;
  }

.footer .contact--address .contact-link {
    width: 100%;
    max-width: 100%;
    white-space: normal;
  }

body {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-tap-highlight-color: transparent;
  }
}

@media (hover: hover) {
.header__link:hover {
    outline: none;
    transform: scale(1.1);
  }

.header__burger:hover {
    transform: scale(1.2);
  }

.clickable:hover,
  .clickable:focus {
    color: white;
  }

.doc-link:hover,
  .doc-link:focus {
    color: white;
  }

.button:hover {
    background: var(--btn-bg-hover);
    color: var(--btn-color-hover);
    border-color: var(--btn-border-hover);
    outline: none;
  }
}

.page-title {
  font-size: 48px;
  font-weight: 800;
  color: var(--menu-color);
  text-align: center;
  margin-top: 0;
  margin-bottom: 16px;
}

.category-carousel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  margin: 8px 0 32px;
  padding: 0 44px;
  
}

.category-carousel__viewport {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.category-carousel__track {
  display: flex;
  flex-wrap: nowrap;
  gap: 14px;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 2px 14px;
  box-sizing: border-box;
}

.category-carousel__track::-webkit-scrollbar {
  display: none;
}

.category-card {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  width: 176px;
  height: auto;
  padding: 0;
  background: #fff;
  border-radius: 18px;
  text-decoration: none;
  color: #1c1c1c;
  overflow: hidden;
  scroll-snap-align: start;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

.category-card:hover,
.category-card:focus {
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.07);
  outline: none;
  color: #1c1c1c;
}

.category-card__title {
  position: relative;
  z-index: 2;
  flex: 0 0 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 8px 10px;
  background: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  overflow: hidden;
}

.category-card__title-text {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.category-card__media {
  display: block;
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  background: #f2f2f2;
  overflow: hidden;
}

.category-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  user-select: none;
  transition: transform 0.25s ease;
}

.category-card:hover .category-card__image {
  transform: scale(1.04);
}

.category-carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 42px;
  height: 42px;
  border: var(--btn-border-width) solid var(--btn-border);
  border-radius: 50%;
  background: var(--surface);
  color: var(--btn-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--btn-transition);
  padding: 0;
}

.category-carousel__btn:hover:not(:disabled) {
  background: var(--btn-bg-hover);
  border-color: var(--btn-border-hover);
  color: var(--btn-color-hover);
  box-shadow: 0 4px 16px var(--blue-shadow);
}

.category-carousel__btn:disabled {
  opacity: 0.35;
  cursor: default;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.category-carousel__btn--prev {
  left: 0;
}

.category-carousel__btn--next {
  right: 0;
}

@media (max-width: 768px) {
.category-carousel {
    margin-bottom: 18px;
    padding: 0 28px;
  }

.carousel-block__head {
    justify-content: center;
    text-align: center;
    padding: 0 28px;
  }

.carousel-block__title {
    width: 100%;
    font-size: 18px;
    text-align: center;
  }

.carousel-block__all {
    display: none;
  }

.category-carousel__track {
    gap: 10px;
    padding: 4px 2px 8px;
  }

.category-card {
    width: 118px;
    border-radius: 12px;
  }

.category-card__title {
    flex-basis: 42px;
    font-size: 11px;
    padding: 4px 6px;
  }

.category-carousel__btn {
    width: 28px;
    height: 28px;
  }

.category-carousel__btn svg {
    width: 14px;
    height: 14px;
  }

.category-carousel-block,
  .brand-carousel-block {
    margin-bottom: 20px;
  }
}

.carousel-block__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin: 0 0 12px;
  
  padding: 0 46px;
  box-sizing: border-box;
}

.carousel-block__title {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: var(--menu-color);
}

.carousel-block__all {
  font-size: 15px;
  font-weight: 600;
  color: var(--accent-color, #2f6fed);
  text-decoration: none;
  white-space: nowrap;
}

.carousel-block__all:hover {
  text-decoration: underline;
}

.category-carousel-block {
  margin: 0 0 8px;
  min-width: 0;
}

.brand-carousel-block {
  margin: 0 0 36px;
  min-width: 0;
}

.brand-carousel {
  margin: 0;
}

.brand-carousel-card {
  position: relative;
  flex: 0 0 auto;
  display: block;
  width: 148px;
  padding: 0;
  background: #fff;
  border-radius: 16px;
  text-decoration: none;
  color: #1c1c1c;
  overflow: hidden;
  scroll-snap-align: start;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

.brand-carousel-card:hover,
.brand-carousel-card:focus {
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.07);
  outline: none;
  color: #1c1c1c;
}

.brand-carousel-card__media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  padding: 0;
  background: #fff;
  overflow: hidden;
  box-sizing: border-box;
  border-radius: 16px;
}

.brand-carousel-card__logo {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.brand-carousel-card__fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  color: #1c1c1c;
  box-sizing: border-box;
}

.brand-carousel-card--karcher .brand-carousel-card__media {
  background: #19171c;
}

.brand-carousel-card--karcher .brand-carousel-card__logo {
  object-fit: contain;
  object-position: center;
  padding: 8% 4%;
  box-sizing: border-box;
}

.brand-carousel-card--greenworks .brand-carousel-card__media {
  background: #fff;
}

.brand-carousel-card--greenworks .brand-carousel-card__logo {
  object-fit: contain;
  object-position: center;
  padding: 6% 4%;
  box-sizing: border-box;
}

.brand-carousel-card--gigant .brand-carousel-card__media {
  background: #fff;
}

.brand-carousel-card--gigant .brand-carousel-card__logo {
  object-fit: contain;
  object-position: center;
  padding: 10% 6%;
  box-sizing: border-box;
  transform: none;
}

.brand-carousel-card--all .brand-carousel-card__media--all {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(145deg, #eef3ff, #f8fafc);
}

.brand-carousel-card__all-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  font-size: 22px;
  color: var(--accent-color, #2f6fed);
}

.brand-carousel-card__all-label {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  color: #1c1c1c;
}

@media (max-width: 768px) {
.brand-carousel-card {
    width: 92px;
    border-radius: 10px;
  }

.brand-carousel-card__media {
    border-radius: 10px;
  }

.brand-carousel-card__all-icon {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }

.brand-carousel-card__all-label,
  .brand-carousel-card__fallback {
    font-size: 10px;
    padding: 6px;
  }
}

@media (min-width: 769px) and (max-width: 920px) {
.carousel-block__title {
    font-size: 18px;
  }

.brand-carousel-card {
    width: 124px;
  }
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 24px;
}

.products-state {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 40px 20px;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(243, 247, 255, 0.8), rgba(255, 255, 255, 0.9));
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.05), 0 10px 30px rgba(15, 23, 42, 0.08);
  text-align: center;
  color: var(--menu-color);
}

.products-state--active {
  display: flex;
}

.products-state__spinner {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 4px solid color-mix(in srgb, var(--blue) 20%, transparent);
  border-top-color: var(--blue);
  animation: products-state-spin 0.9s linear infinite;
}

@keyframes products-state-spin {
  to {
    transform: rotate(360deg);
  }
}

.products-state__text {
  font-size: 18px;
  font-weight: 600;
}

@media (min-width: 769px) {
.shop-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
  }
}

.shop-card {
  background-color: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

.shop-card__hitarea {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}

.shop-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.shop-card__image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  position: relative;
}

@media (min-width: 769px) {
.shop-card__image {
    height: 180px;
  }
}

.shop-card__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.shop-card:hover .shop-card__photo {
  transform: scale(1.05);
}

.shop-card__content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.shop-card__brand {
  font-size: 14px;
  font-weight: 600;
  color: var(--purple);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.shop-card__name {
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  color: var(--menu-color);
  line-height: 1.4;
  margin-bottom: 10px;
  margin-top: 5px;
  flex-grow: 1;
  transition: color 0.2s ease;
  
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.shop-card__article {
  font-size: 12px;
  color: var(--description);
  margin-bottom: 10px;
}

.shop-card__price {
  font-size: 20px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 22px;
}

@media (min-width: 769px) {
.shop-card__content {
    padding: 15px;
  }

.shop-card__brand {
    font-size: 12px;
    margin-bottom: 6px;
  }

.shop-card__name {
    font-size: 16px;
    margin-bottom: 8px;
  }

.shop-card__article {
    font-size: 11px;
    margin-bottom: 8px;
  }

.shop-card__price {
    font-size: 18px;
    margin-bottom: 18px;
  }

.shop-card {
    border-radius: 12px; 
  }

.shop-card__actions {
    gap: 8px;
  }

.shop-card .cart-btn {
    padding: var(--btn-pad-y) var(--btn-pad-x);
    font-size: var(--btn-font-size);
    border-radius: var(--btn-radius);
  }
}

.shop-card__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  z-index: 2;
}

.cart-btn {
  padding: var(--btn-pad-y) var(--btn-pad-x);
  min-height: var(--btn-min-height);
  border: var(--btn-border-width) solid var(--btn-border);
  border-radius: var(--btn-radius);
  font-size: var(--btn-font-size);
  font-weight: var(--btn-font-weight);
  cursor: pointer;
  transition: var(--btn-transition);
  font-family: 'Montserrat', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  box-shadow: none;
  box-sizing: border-box;
  background: var(--btn-bg);
  color: var(--btn-color);
}

.cart-btn--add {
  background: var(--btn-bg);
  color: var(--btn-color);
  border-color: var(--btn-border);
  height: var(--cart-control-size, 36px);
  min-height: var(--cart-control-size, 36px);
  max-height: var(--cart-control-size, 36px);
  padding: 0 12px;
  line-height: 1;
  box-sizing: border-box;
}

.cart-btn--add:hover {
  background: var(--btn-bg-hover);
  border-color: var(--btn-border-hover);
  color: var(--btn-color-hover);
  transform: none;
}

.cart-btn--remove {
  background: var(--btn-danger-bg);
  color: var(--btn-danger-color);
  border: var(--btn-border-width) solid var(--btn-danger-border);
  width: var(--cart-control-size, 36px);
  height: var(--cart-control-size, 36px);
  min-width: var(--cart-control-size, 36px);
  min-height: var(--cart-control-size, 36px);
  max-width: var(--cart-control-size, 36px);
  max-height: var(--cart-control-size, 36px);
  padding: 0;
  border-radius: var(--btn-radius);
  flex: 0 0 var(--cart-control-size, 36px);
  box-sizing: border-box;
  line-height: 1;
}

.cart-btn--remove:hover {
  background: var(--btn-danger-bg-hover);
  border-color: var(--btn-danger-color);
  color: var(--btn-danger-color-hover);
}

.cart-btn--checkout {
  margin-left: 0;
  background: var(--btn-success-bg);
  color: var(--btn-success-color);
  border: var(--btn-border-width) solid var(--btn-success-border);
  width: var(--cart-control-size, 36px);
  height: var(--cart-control-size, 36px);
  min-width: var(--cart-control-size, 36px);
  min-height: var(--cart-control-size, 36px);
  max-width: var(--cart-control-size, 36px);
  max-height: var(--cart-control-size, 36px);
  padding: 0;
  border-radius: var(--btn-radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 18px;
  transition: var(--btn-transition);
  cursor: pointer;
  box-sizing: border-box;
  flex: 0 0 var(--cart-control-size, 36px);
  line-height: 1;
}

.cart-btn--checkout:hover {
  background: var(--btn-success-bg-hover);
  border-color: var(--btn-success-color);
  color: var(--btn-success-color-hover);
  transform: none;
  box-shadow: none;
}

.cart-btn--remove-all {
  background: var(--btn-soft-bg);
  color: var(--btn-soft-color);
  border: var(--btn-border-width) solid var(--btn-soft-border);
  width: 36px;
  height: 36px;
  min-height: 36px;
  padding: 0;
  border-radius: var(--btn-radius);
  font-size: 16px;
  font-weight: 700;
  box-sizing: border-box;
}

.cart-btn--remove-all:hover {
  background: var(--btn-soft-bg-hover);
  border-color: #c5cad3;
}

.cart-btn--remove-item {
  background: var(--btn-danger-bg);
  color: var(--btn-danger-color);
  border: var(--btn-border-width) solid var(--btn-danger-border);
  width: var(--cart-control-size, 36px);
  height: var(--cart-control-size, 36px);
  min-width: var(--cart-control-size, 36px);
  min-height: var(--cart-control-size, 36px);
  max-width: var(--cart-control-size, 36px);
  max-height: var(--cart-control-size, 36px);
  padding: 0;
  border-radius: var(--btn-radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  flex: 0 0 var(--cart-control-size, 36px);
  line-height: 0;
  position: static;
}

.cart-btn--remove-item:hover {
  background: var(--btn-danger-bg-hover);
  border-color: var(--btn-danger-color);
  color: var(--btn-danger-color-hover);
}

.cart-controls {
  --cart-control-size: 36px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
}

.cart-controls .cart-btn--add {
  width: var(--cart-control-size);
  height: var(--cart-control-size);
  min-width: var(--cart-control-size);
  min-height: var(--cart-control-size);
  max-width: var(--cart-control-size);
  max-height: var(--cart-control-size);
  padding: 0;
  flex: 0 0 var(--cart-control-size);
  box-sizing: border-box;
  line-height: 1;
  font-size: 18px;
}

.cart-controls .cart-btn--remove,
.cart-controls .cart-btn--checkout {
  width: var(--cart-control-size);
  height: var(--cart-control-size);
  min-width: var(--cart-control-size);
  min-height: var(--cart-control-size);
  max-width: var(--cart-control-size);
  max-height: var(--cart-control-size);
}

.cart-quantity-input {
  width: 64px;
  min-width: 64px;
  height: var(--cart-control-size, 36px);
  min-height: var(--cart-control-size, 36px);
  max-height: var(--cart-control-size, 36px);
  border: var(--btn-border-width) solid #d8dce3;
  border-radius: var(--btn-radius);
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--menu-color);
  transition: var(--btn-transition);
  background-color: white;
  box-sizing: border-box;
  padding: 0 4px;
  flex: 0 0 64px;
}

.cart-quantity-input:focus {
  outline: none;
  border-color: var(--blue);
}

.cart-quantity-input::-webkit-outer-spin-button,
.cart-quantity-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.cart-quantity-input[type=number] {
  -moz-appearance: textfield;
}

.filters-container {
  background-color: white;
  border-radius: 15px;
  padding: 25px;
}

.filters-form {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: stretch;
  align-content: flex-start;
}

#characteristic-filters {
  display: contents;
}

.filter-group {
  position: relative;
  display: flex;
  flex-direction: column;
  row-gap: 14px;
  flex: 1 1 260px;
  min-width: 240px;
  max-width: 100%;
  padding: 18px 20px;
  background: linear-gradient(135deg, #f9fbff 0%, #f3f7ff 100%);
  border: 1px solid #dfe6f3;
  border-radius: 14px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.filter-group:hover,
.filter-group:focus-within {
  border-color: var(--blue);
  box-shadow: 0 12px 26px var(--blue-shadow);
}

.filter-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--menu-color);
  margin-bottom: 0;
}

.filter-input,
.filter-select {
  width: 100%;
  padding: 12px 15px;
  min-height: 44px;
  border: 1px solid #d2dae8;
  border-radius: 10px;
  font-size: 14px;
  font-family: 'Montserrat', sans-serif;
  line-height: 1.3;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  background-color: white;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.05);
  box-sizing: border-box;
}

.filter-input:focus,
.filter-select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px var(--blue-focus-ring);
}

.filter-input::placeholder {
  color: #999;
}

.filter-group--section-heading {
  flex: 1 1 100%;
  width: 100%;
  padding: 12px 0 0;
  margin-top: 10px;
  border: none;
  border-top: 1px solid #e3e9f3;
  background: transparent;
  box-shadow: none;
  row-gap: 0;
  transform: none;
  pointer-events: none;
  cursor: default;
}

.filter-group--section-heading:hover,
.filter-group--section-heading:focus,
.filter-group--section-heading:focus-within {
  border-color: transparent;
  border-top-color: #e3e9f3;
  box-shadow: none;
  transform: none;
  background: transparent;
}

.filter-group--characteristic {
  flex: 1 1 320px;
}

.filter-group--primary {
  flex: 1 1 100%;
}

.filter-form-actions {
  flex: 1 1 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid #e3e9f3;
}

.filter-form-actions .filter-btn {
  min-width: 140px;
}

.filter-primary-actions .filter-btn {
  min-width: 120px;
  min-height: var(--btn-min-height);
  height: auto;
  padding: var(--btn-pad-y) var(--btn-pad-x);
}

.filter-primary-actions .filter-btn--primary {
  box-shadow: none;
}

.filter-primary-actions .filter-btn--secondary {
  box-shadow: none;
}

.filter-label--section {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--menu-color);
}

.filter-label__units {
  font-size: 12px;
  font-weight: 500;
  color: #888;
  margin-left: 6px;
}

.characteristic-range {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.open-filters-btn {
  display: none;
  width: 100%;
  background: var(--btn-bg);
  color: var(--btn-color);
  border: var(--btn-border-width) solid var(--btn-border);
  padding: var(--btn-pad-y) var(--btn-pad-x);
  min-height: var(--btn-min-height);
  border-radius: var(--btn-radius);
  font-size: var(--btn-font-size);
  font-weight: var(--btn-font-weight);
  cursor: pointer;
  transition: var(--btn-transition);
  box-shadow: none;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}

.open-filters-btn:hover {
  background: var(--btn-bg-hover);
  border-color: var(--btn-border-hover);
  color: var(--btn-color-hover);
  box-shadow: none;
  transform: none;
}

.open-filters-btn:active {
  transform: none;
}

.open-filters-btn--active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.open-filters-btn--active:hover {
  background: var(--blue-hover);
  border-color: var(--blue-hover);
  color: #fff;
}

.open-filters-btn--active:active {
  background: var(--blue-hover);
  border-color: var(--blue-hover);
  color: #fff;
}

.filters-modal {
  display: block;
}

.filters-modal-content {
  background: transparent;
  width: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 15px;
  position: relative;
}

.filters-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 0;
  background: white;
  border-radius: 0 0 15px 15px;
  scrollbar-gutter: stable both-edges;
  scrollbar-color: var(--blue-scroll) transparent;
}

.filters-modal-body::-webkit-scrollbar {
  width: var(--scrollbar-size);
}

.filters-modal-body::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 15px;
  margin: 12px 4px;
}

.filters-modal-body::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--blue) 30%, transparent);
  border-radius: 15px;
}

.filters-modal-body::-webkit-scrollbar-thumb:hover {
  background: var(--blue-scroll-hover);
}

.filters-modal-header {
  display: none; 
}

.price-filter-container {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-top: 4px;
}

.price-input {
  flex: 1;
  min-width: 0;
}

.price-separator {
  color: #666;
  font-weight: 500;
  flex-shrink: 0;
}

.filter-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  align-self: flex-end;
  margin-left: auto;
}

.filter-btn {
  padding: var(--btn-pad-y) var(--btn-pad-x);
  min-height: var(--btn-min-height);
  height: auto;
  border: var(--btn-border-width) solid var(--btn-border);
  border-radius: var(--btn-radius);
  font-size: var(--btn-font-size);
  font-weight: var(--btn-font-weight);
  cursor: pointer;
  transition: var(--btn-transition);
  font-family: 'Montserrat', sans-serif;
  box-shadow: none;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
  background: var(--btn-bg);
  color: var(--btn-color);
}

.filter-btn--primary {
  background: var(--btn-bg);
  color: var(--btn-color);
  border-color: var(--btn-border);
}

.filter-btn--primary:hover {
  background: var(--btn-bg-hover);
  border-color: var(--btn-border-hover);
  color: var(--btn-color-hover);
  transform: none;
}

.filter-btn--secondary {
  background: var(--btn-soft-bg);
  color: var(--btn-soft-color);
  border-color: var(--btn-soft-border);
}

.filter-btn--secondary:hover {
  background: var(--btn-soft-bg-hover);
  border-color: #c5cad3;
  color: var(--btn-soft-color);
}

.cart-toggle {
  position: relative;
  cursor: pointer;
}

.cart-sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  right: -400px;
  width: 400px;
  max-width: 100vw;
  height: 100%;
  background-color: white;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  transition: right 0.3s ease;
  z-index: 2100; 
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-sizing: border-box;
}

.cart-sidebar.active {
  right: 0;
}

.cart-header {
  padding: 20px;
  border-bottom: 1px solid #e0e0e0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
  background-color: white;
  position: sticky;
  top: 0;
  z-index: 10;
}

.cart-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--menu-color);
  margin: 0;
}

.cart-close {
  background: none;
  border: none;
  font-size: 0;
  cursor: pointer;
  color: var(--description);
  padding: 0;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  border-radius: var(--btn-radius);
  transition: var(--btn-transition);
}

.cart-close:hover {
  color: var(--menu-color);
  background: var(--btn-soft-bg);
}

.cart-content {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  overflow-x: hidden;
}

.cart-empty {
  text-align: center;
  color: var(--description);
  padding: 40px 0;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid #f0f0f0;
  width: 100%;
  box-sizing: border-box;
  flex-wrap: wrap;
}

.cart-item__image {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: #f8f9fa;
}

.cart-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cart-item__content,
.cart-item__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cart-item__name {
  font-size: 14px;
  font-weight: 600;
  color: var(--menu-color);
  margin-bottom: 0;
  line-height: 1.3;
}

.cart-item__name a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.cart-item__name a:hover {
  color: var(--blue);
  text-decoration: underline;
}

.cart-item__price {
  font-size: 16px;
  font-weight: 700;
  color: var(--blue);
  margin: 0;
}

.cart-item__total {
  display: none;
}

.cart-item__controls {
  --cart-control-size: 36px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  width: 100%;
}

.cart-item__controls .cart-controls {
  --cart-control-size: 36px;
}

.cart-item__controls .cart-btn,
.cart-item__controls .cart-btn--remove,
.cart-item__controls .cart-btn--add,
.cart-item__controls .cart-btn--checkout,
.cart-item__controls .cart-btn--remove-item {
  width: var(--cart-control-size);
  height: var(--cart-control-size);
  min-width: var(--cart-control-size);
  min-height: var(--cart-control-size);
  max-width: var(--cart-control-size);
  max-height: var(--cart-control-size);
  padding: 0 !important;
  margin: 0;
  font-size: 16px;
  flex: 0 0 var(--cart-control-size);
  box-sizing: border-box;
  align-self: center;
  line-height: 0;
  aspect-ratio: 1 / 1;
  position: static;
}

.cart-item__controls .cart-quantity-input {
  width: 64px;
  min-width: 64px;
  max-width: 64px;
  flex: 0 0 64px;
  height: var(--cart-control-size);
  min-height: var(--cart-control-size);
  max-height: var(--cart-control-size);
  font-size: 14px;
  box-sizing: border-box;
  align-self: center;
  padding: 0 4px;
}

.cart-footer {
  padding: 20px;
  border-top: 1px solid #e0e0e0;
  background-color: #f8f9fa;
  flex-shrink: 0;
  position: sticky;
  bottom: 0;
  z-index: 10;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.cart-total-label {
  font-size: 18px;
  font-weight: 600;
  color: var(--menu-color);
}

.cart-total-price {
  font-size: 24px;
  font-weight: 700;
  color: var(--blue);
}

.cart-checkout-btn {
  width: 100%;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  min-height: var(--btn-min-height);
  background: var(--btn-bg);
  color: var(--btn-color);
  border: var(--btn-border-width) solid var(--btn-border);
  border-radius: var(--btn-radius);
  font-size: var(--btn-font-size);
  font-weight: var(--btn-font-weight);
  cursor: pointer;
  transition: var(--btn-transition);
  font-family: 'Montserrat', sans-serif;
  box-shadow: none;
  letter-spacing: 0.01em;
  box-sizing: border-box;
}

.cart-checkout-btn:hover {
  background: var(--btn-bg-hover);
  border-color: var(--btn-border-hover);
  color: var(--btn-color-hover);
  transform: none;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.load-more-container {
  display: flex;
  justify-content: center;
  margin-top: 0;
  margin-bottom: 24px;
}

.load-more-btn {
  background: var(--btn-bg);
  color: var(--btn-color);
  border: var(--btn-border-width) solid var(--btn-border);
  padding: 14px 36px;
  min-height: 52px;
  min-width: 220px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--btn-transition);
  font-family: 'Montserrat', sans-serif;
  box-shadow: none;
  box-sizing: border-box;
}

.load-more-btn:hover {
  background: var(--btn-bg-hover);
  border-color: var(--btn-border-hover);
  color: var(--btn-color-hover);
  transform: none;
  box-shadow: none;
}

.load-more-btn:active {
  transform: none;
}

.load-more-btn:disabled {
  background: var(--btn-bg);
  border-color: #d0d5dd;
  color: #98a2b3;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.brand-search-container {
  position: relative;
  min-width: 0;
  max-width: 100%;
}

.brand-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  background: white;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  max-height: 400px;
  overflow: hidden;
  z-index: 10000;
  display: none;
  margin-top: 4px;
}

.brand-suggestions--virtual {
  display: none;
  flex-direction: column;
}

.brand-suggestions__pinned {
  flex: 0 0 auto;
  max-height: 140px;
  overflow-y: auto;
  border-bottom: 1px solid #eee;
}

.brand-suggestions__pinned:empty {
  display: none;
  border-bottom: none;
}

.brand-suggestions__scroll {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  max-height: 360px;
  overflow-y: auto;
  overflow-x: hidden;
}

.brand-suggestions__phantom {
  width: 100%;
  pointer-events: none;
}

.brand-suggestions__window {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  will-change: transform;
}

.brand-suggestions__window .brand-suggestion {
  height: 44px;
  box-sizing: border-box;
}

.brand-suggestions__window .brand-suggestion__label {
  height: 44px;
  min-height: 44px;
  padding-top: 0;
  padding-bottom: 0;
}

.brand-suggestion {
  padding: 0;
  cursor: pointer;
  transition: background-color 0.2s;
  border-bottom: 1px solid #f0f0f0;
  box-sizing: border-box;
}

.brand-suggestion:hover {
  background-color: #f5f5f5;
}

.brand-suggestion:last-child {
  border-bottom: none;
}

.brand-suggestion__label {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  cursor: pointer;
  margin: 0;
  width: 100%;
  box-sizing: border-box;
  min-height: 44px;
}

.brand-suggestion__label input[type="checkbox"] {
  margin: 0 10px 0 0;
  width: 18px;
  height: 18px;
  cursor: pointer;
  flex-shrink: 0;
  accent-color: var(--blue);
}

.brand-suggestion__label span {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  user-select: none;
  line-height: 1.25;
}

.brand-suggestion--empty {
  color: #999;
  cursor: default;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  min-height: 44px;
  box-sizing: border-box;
}

.brand-suggestion--empty:hover {
  background-color: white;
}

.brand-suggestion--selected {
  background-color: var(--blue-muted-bg);
  border-left: 3px solid var(--blue);
}

.brand-suggestion--selected .brand-suggestion__label {
  font-weight: 600;
  color: var(--blue);
  padding-left: 13px;
}

.brand-suggestion--selected:hover {
  background-color: var(--blue-strong-bg);
}


.catalog-widget {
  position: relative;
}

.catalog-widget--subcategories {
  position: relative;
}

@media (max-width: 768px) {
.sticky-filters-wrapper {
    position: sticky;
    top: calc(var(--header-sticky-offset) + 8px);
    z-index: 200;
    background: white;
    padding: 10px;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
    --catalog-toolbar-control-height: 36px;
    
  }

.sticky-filters-wrapper:has(.filters-modal.active) {
    z-index: 10050;
  }

body:has(.filters-modal.active) .bottom-nav {
    visibility: hidden;
    pointer-events: none;
  }

.mobile-buttons-bar {
    position: relative; 
    background: transparent;
    padding: 0;
    box-shadow: none;
    margin-bottom: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    align-items: stretch;
    width: 100%;
  }

.catalog-widget--sticky {
    position: static;
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-bottom: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
    display: flex;
    overflow: visible;
  }

.mobile-buttons-bar .catalog-widget--sticky {
    display: none !important;
  }

.mobile-buttons-bar .catalog-widget--subcategories {
    position: static;
    flex: 1 1 0;
    width: auto;
    max-width: none;
    min-width: 0;
    margin-bottom: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
    display: flex;
    overflow: visible;
    order: 3;
  }

.catalog-widget--sticky .catalog-toggle,
  .catalog-widget--subcategories .catalog-toggle {
    width: 100%;
    min-width: 0;
    padding-left: 10px;
    padding-right: 8px;
  }

.catalog-widget--sticky .catalog-toggle__text,
  .catalog-widget--subcategories .catalog-toggle__text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

.catalog-widget--sticky .catalog-toggle,
  .catalog-widget--subcategories .catalog-toggle {
    width: 100%;
    height: var(--catalog-toolbar-control-height, 40px);
    min-height: var(--catalog-toolbar-control-height, 40px);
  }

.mobile-buttons-bar .catalog-dropdown {
    position: absolute;
    top: calc(100% + 10px); 
    left: -10px; 
    right: -10px; 
    width: calc(100% + 20px); 
    max-width: none;
    margin-top: 0;
    border-radius: 12px; 
  }

.mobile-buttons-bar .catalog-submenu {
    position: static; 
    width: 100%;
    max-width: none;
    max-height: 30vh !important;
    margin-left: 0;
    margin-top: 4px;
    box-shadow: none;
    border-left: 3px solid var(--blue);
    padding-left: 12px;
  }

.open-filters-btn {
    position: static;
    flex: 0 0 var(--catalog-toolbar-control-height, 36px);
    width: var(--catalog-toolbar-control-height, 36px);
    min-width: var(--catalog-toolbar-control-height, 36px);
    max-width: var(--catalog-toolbar-control-height, 36px);
    margin-bottom: 0;
    box-shadow: none;
    height: var(--catalog-toolbar-control-height, 36px);
    min-height: var(--catalog-toolbar-control-height, 36px);
    display: flex;
    align-items: center;
    justify-content: center;
    order: 4;
  }

.mobile-buttons-bar .catalog-widget--sticky {
    display: none !important;
  }

.catalog-toolbar-search {
    flex: 1 1 100%;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    height: var(--catalog-toolbar-control-height, 36px);
    overflow: visible;
    order: 1;
  }

.catalog-toolbar-brand {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    max-width: none;
    height: var(--catalog-toolbar-control-height, 36px);
    overflow: visible;
    order: 2;
  }

.catalog-toolbar-apply {
    flex: 0 0 var(--catalog-toolbar-control-height, 36px);
    width: var(--catalog-toolbar-control-height, 36px);
    min-width: var(--catalog-toolbar-control-height, 36px);
    max-width: var(--catalog-toolbar-control-height, 36px);
    height: var(--catalog-toolbar-control-height, 36px);
    min-height: var(--catalog-toolbar-control-height, 36px);
    order: 3;
  }

.mobile-buttons-bar:has(.catalog-widget--subcategories) .catalog-toolbar-search {
    flex: 1 1 calc(50% - 4px);
    width: auto;
    max-width: none;
  }

.mobile-buttons-bar:has(.catalog-widget--subcategories) .catalog-toolbar-brand {
    flex: 1 1 calc(50% - 4px);
  }

.mobile-buttons-bar:has(.catalog-widget--subcategories) .catalog-toolbar-apply {
    order: 5;
  }

.catalog-toolbar-search .catalog-toolbar-input {
    font-size: 13px;
    padding: 0 10px !important;
  }

.brand-field-shell {
    padding: 0 6px;
  }

.brand-field-shell .catalog-toolbar-input,
  .brand-field-shell .brand-input,
  .brand-field-shell .filter-input {
    font-size: 13px !important;
  }

.catalog-toolbar-apply .ui-icon,
  .open-filters-btn--icon .ui-icon {
    width: 16px;
    height: 16px;
  }

.catalog-toolbar-brand .brand-suggestions,
  .brand-search-container .brand-suggestions {
    left: 0;
    right: 0;
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

.mobile-buttons-bar .catalog-toolbar-brand,
  .mobile-buttons-bar .brand-search-container {
    position: static;
  }

.mobile-buttons-bar .brand-suggestions {
    position: absolute;
    top: calc(100% + 10px);
    left: -10px;
    right: -10px;
    width: calc(100% + 20px);
    min-width: 0;
    max-width: none;
    margin-top: 0;
    border-radius: 12px;
    z-index: 12000;
    box-sizing: border-box;
  }

.filter-group--section-heading {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
  }

.characteristic-range {
    width: 100%;
    flex-wrap: nowrap;
    gap: 6px;
  }
}

@media (min-width: 769px) {
.post-container {
    display: block;
  }

.page-title,
  .catalog-widget,
  .open-filters-btn,
  .filters-modal,
  .shop-grid,
  .load-more-container,
  .sticky-filters-wrapper,
  .mobile-buttons-bar {
    order: 0;
  }

.sticky-filters-wrapper {
    background: white;
    position: sticky;
    top: 8px;
    z-index: 100;
    border-radius: 15px;
    margin-bottom: 20px;
    padding: 10px;
    width: fit-content;
    max-width: 100%;
    box-sizing: border-box;
  }

.mobile-buttons-bar {
    position: static;
    background: transparent;
    padding: 0;
    box-shadow: none;
    margin-bottom: 0;
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    align-items: center;
    width: auto;
    max-width: 100%;
  }

.open-filters-btn {
    display: flex;
    width: var(--catalog-toolbar-control-height, 40px);
    min-width: var(--catalog-toolbar-control-height, 40px);
    max-width: var(--catalog-toolbar-control-height, 40px);
    flex: 0 0 var(--catalog-toolbar-control-height, 40px);
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    height: var(--catalog-toolbar-control-height, 40px);
    min-height: var(--catalog-toolbar-control-height, 40px);
  }

.catalog-widget--sticky,
  .catalog-widget--subcategories {
    width: auto;
    flex: 0 0 auto;
    flex-shrink: 0;
    position: relative;
    display: flex;
    height: var(--catalog-toolbar-control-height, 40px);
  }

.catalog-toolbar-search,
  .catalog-toolbar-brand {
    flex: 0 1 200px;
    width: 200px;
    min-width: 120px;
    max-width: 240px;
    height: var(--catalog-toolbar-control-height, 40px);
    overflow: visible;
  }

.catalog-toolbar-apply {
    flex: 0 0 var(--catalog-toolbar-control-height, 40px);
    width: var(--catalog-toolbar-control-height, 40px);
    min-width: var(--catalog-toolbar-control-height, 40px);
    max-width: var(--catalog-toolbar-control-height, 40px);
    height: var(--catalog-toolbar-control-height, 40px);
    min-height: var(--catalog-toolbar-control-height, 40px);
  }

.catalog-widget--sticky .catalog-toggle,
  .catalog-widget--subcategories .catalog-toggle {
    width: auto;
    white-space: nowrap;
    height: var(--catalog-toolbar-control-height, 40px);
    min-height: var(--catalog-toolbar-control-height, 40px);
    padding-left: 14px;
    padding-right: 12px;
  }

.catalog-widget--sticky .catalog-dropdown,
  .catalog-widget--subcategories .catalog-dropdown {
    position: absolute;
    top: calc(100% + 8px); 
    left: 0;
    width: 320px;
  }

.filters-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    overflow-y: auto;
  }

.filters-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
  }

.filters-modal-content {
    background: white;
    border-radius: 15px;
    max-width: 900px;
    width: 100%;
    max-height: none; 
    height: 80vh; 
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  }

.filters-modal-body {
    padding: 0 0 25px;
  }

.filters-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 2px solid #e0e0e0;
    position: sticky;
    top: 0;
    background: white;
    border-radius: 15px 15px 0 0;
    z-index: 1;
  }

.filters-modal-header h3 {
    margin: 0;
    font-size: 22px;
    color: #333;
  }

.filters-container--sticky {
    padding: 25px;
  }

.filters-modal .brand-suggestions {
    max-height: 300px; 
  }

.filters-modal .filters-form {
    gap: 20px;
  }
}

.catalog-toggle {
  background: var(--btn-bg);
  color: var(--btn-color);
  border: var(--btn-border-width) solid var(--btn-border);
  padding: var(--btn-pad-y) var(--btn-pad-x);
  min-height: var(--btn-min-height);
  border-radius: var(--btn-radius);
  font-size: var(--btn-font-size);
  font-weight: var(--btn-font-weight);
  cursor: pointer;
  transition: var(--btn-transition);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: none;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}

.catalog-toggle:hover {
  background: var(--btn-bg-hover);
  border-color: var(--btn-border-hover);
  color: var(--btn-color-hover);
  box-shadow: none;
  transform: none;
}

.catalog-toggle__icon {
  font-size: 20px;
}

.catalog-toggle__text {
  flex: 1;
  text-align: left;
  font-weight: 700;
}

.catalog-toggle__arrow {
  font-size: 14px;
  margin-left: 7px;
  transition: transform 0.3s ease;
}

.catalog-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 320px;
  max-height: 70vh;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  z-index: 100;
  display: none;
  overflow: hidden;
}

.catalog-dropdown.active {
  display: block;
}

@media (min-width: 769px) {
.catalog-dropdown.catalog-dropdown--min-two-rows:not(#subcategories-dropdown),
  .catalog-dropdown.catalog-dropdown--min-two-rows:not(#subcategories-dropdown) .catalog-menu {
    min-height: 120px;
  }

.catalog-widget--subcategories .catalog-dropdown,
  .catalog-widget--subcategories .catalog-dropdown .catalog-menu {
    min-height: 0;
  }
}

.catalog-menu {
  padding: 10px;
  position: relative;
  max-height: 60vh;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-gutter: stable both-edges;
}

.catalog-menu::-webkit-scrollbar {
  width: var(--scrollbar-size);
}

.catalog-menu::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.05);
  border-radius: 8px;
  margin: 6px;
}

.catalog-menu::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
}

.catalog-menu::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.3);
}

.catalog-menu-item {
  position: relative;
  margin-bottom: 4px;
}

.catalog-menu-item.active .catalog-menu-item__link {
  background-color: var(--blue-muted-bg);
  color: var(--blue);
  font-weight: 600;
}

.catalog-menu-item__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  color: #333;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.2s ease;
  background-color: white;
}

.catalog-menu-item__link:hover {
  background-color: var(--blue-soft-bg);
  color: var(--blue);
}

.catalog-menu-item__arrow {
  font-size: 16px;
  color: #999;
  margin-left: 8px;
  transition: transform 0.2s ease;
}

.catalog-menu-item:hover > .catalog-menu-item__link .catalog-menu-item__arrow {
  transform: translateX(3px);
}

.catalog-submenu {
  display: none;
  position: fixed;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  padding: 8px;
  min-width: 250px;
  max-width: 350px;
  max-height: 60vh;
  overflow-y: auto;
  z-index: 150;
}

.catalog-submenu-item {
  margin-bottom: 2px;
}

.catalog-submenu-item__link {
  display: block;
  padding: 10px 14px;
  color: #495057;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border-radius: 6px;
  transition: all 0.2s ease;
  background-color: white;
}

.catalog-submenu-item__link:hover {
  background-color: var(--blue-soft-bg);
  color: var(--blue);
}

.breadcrumb {
  padding: 4px 0;
  margin-bottom: 8px;
  font-size: 14px;
  color: #666;
  max-width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.container > .breadcrumb {
  margin-bottom: 16px;
}

.breadcrumb__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: block;
  line-height: 1.45;
  max-width: 100%;
}

.breadcrumb__item {
  display: inline;
}

.breadcrumb__link {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb__link:hover {
  color: var(--blue-hover);
  text-decoration: underline;
}

.breadcrumb__separator {
  display: inline;
  color: #999;
  user-select: none;
  margin: 0 0.35em;
  white-space: nowrap;
}

.breadcrumb__current {
  color: #333;
  font-weight: 500;
}

.product-gallery__thumb.is-active {
  border: 2px solid var(--blue);
  box-shadow: none;
}

body.lightbox-open {
  overflow: hidden;
}

.product-detail__actions .cart-btn--large,
.product-detail__actions .back-to-shop-btn {
  min-height: var(--pda-height);
  height: var(--pda-height);
  padding: 0 var(--btn-pad-x);
  font-size: var(--btn-font-size);
  font-weight: var(--btn-font-weight);
  border-radius: var(--btn-radius);
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
  transition: var(--btn-transition);
}

.product-detail__actions .cart-btn--large.cart-btn--add {
  background: var(--blue);
  border: 2px solid var(--blue);
  color: #fff;
}

.product-detail__actions .cart-btn--large.cart-btn--add:hover,
.product-detail__actions .cart-btn--large.cart-btn--add:focus {
  background: var(--blue-hover);
  border-color: var(--blue-hover);
  color: #fff;
  outline: none;
  box-shadow: 0 4px 14px var(--blue-shadow);
  transform: translateY(-1px);
}

.product-detail__actions .cart-btn--large.cart-btn--add:active {
  transform: translateY(0);
  box-shadow: none;
}

.product-detail__actions .cart-controls {
  --cart-control-size: var(--pda-height);
  height: var(--pda-height);
  align-items: center;
  gap: 6px;
}

.product-detail__actions .cart-controls .cart-btn {
  width: var(--cart-control-size);
  min-width: var(--cart-control-size);
  max-width: var(--cart-control-size);
  height: var(--cart-control-size);
  min-height: var(--cart-control-size);
  max-height: var(--cart-control-size);
  padding: 0;
  border-radius: var(--btn-radius);
  font-size: 16px;
  font-weight: var(--btn-font-weight);
  box-sizing: border-box;
  transition: var(--btn-transition);
  flex: 0 0 var(--cart-control-size);
}

.product-detail__actions .cart-controls .cart-btn--remove {
  border-radius: var(--btn-radius);
  border: var(--btn-border-width) solid var(--btn-danger-border);
  background: var(--btn-danger-bg);
  color: var(--btn-danger-color);
}

.product-detail__actions .cart-controls .cart-btn--remove:hover {
  background: var(--btn-danger-bg-hover);
  border-color: var(--btn-danger-color);
  color: var(--btn-danger-color-hover);
}

.product-detail__actions .cart-controls .cart-btn--checkout {
  width: var(--cart-control-size);
  min-width: var(--cart-control-size);
  height: var(--cart-control-size);
  margin-left: 0;
  border-radius: var(--btn-radius);
  font-size: 16px;
  transition: var(--btn-transition);
  border: var(--btn-border-width) solid var(--btn-success-border);
  background: var(--btn-success-bg);
  color: var(--btn-success-color);
}

.product-detail__actions .cart-controls .cart-btn--checkout:hover {
  background: var(--btn-success-bg-hover);
  border-color: var(--btn-success-color);
  color: var(--btn-success-color-hover);
}

.product-detail__actions .cart-controls .cart-quantity-input {
  width: 72px;
  min-width: 72px;
  flex: 0 0 72px;
  height: var(--cart-control-size);
  min-height: var(--cart-control-size);
  max-height: var(--cart-control-size);
  padding: 0 4px;
  border: var(--btn-border-width) solid #d8dce3;
  border-radius: var(--btn-radius);
  font-size: 14px;
  box-sizing: border-box;
  transition: var(--btn-transition);
}

@media (min-width: 769px) {
.product-detail__actions .cart-btn--large {
    min-height: 48px;
    height: 48px;
    max-height: 48px;
    padding: 0 22px;
    font-size: 16px;
    font-weight: 700;
    border-width: 2px;
    border-radius: 10px;
  }

.product-detail__actions .cart-btn--large .cart-btn__icon,
  .product-detail__actions .cart-btn--large .cart-btn__icon .ui-icon {
    width: 18px;
    height: 18px;
  }
}

.cart-btn--large {
  padding: 0 18px;
  height: var(--cart-control-size, 36px);
  min-height: var(--cart-control-size, 36px);
  max-height: var(--cart-control-size, 36px);
  font-size: var(--btn-font-size);
  font-weight: var(--btn-font-weight);
  border-radius: var(--btn-radius);
  transition: var(--btn-transition);
  box-sizing: border-box;
  line-height: 1;
}

.shop-card__no-image {
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  color: #6c757d;
  font-size: 14px;
}

.shop-card__name a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
  pointer-events: none;
}

.shop-card__name a:hover {
  color: var(--blue);
}

.shop-card:hover .shop-card__name {
  color: var(--blue);
}

.close-btn {
  background: none;
  border: none;
  font-size: 0;
  cursor: pointer;
  color: #666;
  padding: 0;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  border-radius: var(--btn-radius);
}

.close-btn:hover {
  color: #333;
  background: var(--btn-soft-bg);
}

.bottom-nav {
  display: none;
  position: fixed;
  bottom: var(--bottom-nav-offset);
  left: 50%;
  transform: translateX(-50%);
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
  z-index: 999;
  padding: var(--bottom-nav-pad);
  border: 1px solid #e8ecf2;
}

.bottom-nav__container {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  gap: 6px;
}

.bottom-nav__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  min-height: var(--bottom-nav-btn-min-height);
  border-radius: var(--btn-radius);
  background: var(--btn-bg);
  color: var(--btn-color);
  text-decoration: none;
  font-size: 11px;
  font-weight: var(--btn-font-weight);
  transition: var(--btn-transition);
  cursor: pointer;
  border: var(--btn-border-width) solid var(--btn-border);
  white-space: nowrap;
  min-width: 64px;
  box-sizing: border-box;
  gap: 1px;
  line-height: 1.15;
}

.bottom-nav__btn--profile {
  background: var(--btn-bg);
  color: var(--btn-color);
  border-color: var(--btn-border);
}

.bottom-nav__btn--catalog {
  background: var(--btn-bg);
  color: var(--btn-color);
  border-color: var(--btn-border);
}

.bottom-nav__btn--home {
  background: var(--btn-bg);
  color: var(--btn-color);
  border-color: var(--btn-border);
}

.bottom-nav__btn--catalog.is-active,
.bottom-nav__btn--profile.is-active {
  background: var(--btn-bg-hover);
  border-color: var(--btn-border-hover);
  box-shadow: none;
}

.bottom-nav__btn--shop {
  background: var(--btn-success-bg);
  color: var(--btn-success-color);
  border-color: var(--btn-success-border);
}

.bottom-nav__btn--logout {
  background: var(--btn-danger-bg);
  color: var(--btn-danger-color);
  border-color: var(--btn-danger-border);
}

.bottom-nav__btn:active {
  transform: none;
  background: var(--btn-bg-hover);
}

.bottom-nav__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-size: 0;
}

.bottom-nav__icon .ui-icon {
  width: 16px;
  height: 16px;
}

.body > .post-container.shop-categories-page {
  margin-bottom: 12px;
}

@media (max-width: 768px) {
.body > .post-container.shop-categories-page {
    margin-bottom: 8px;
  }
}

.catalog-menu-item.is-brand-inactive,
.catalog-submenu-item.is-brand-inactive,
.shop-categories-item.is-brand-inactive,
[data-category-id].is-brand-inactive {
  display: none !important;
}

@media (max-width: 768px) {
.post-container {
    display: block; 
    width: 100%;
    max-width: 100%;
    padding-left: 10px;
    padding-right: 10px;
  }

.filters-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    overflow-y: auto;
    order: 3;
  }

.filters-modal.active {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 10px;
  }

.filters-modal-content {
    background: white;
    border-radius: 15px;
    max-width: 100%;
    max-height: none;
    height: 85vh; 
    margin: 20px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  }

.filters-modal-body {
    padding: 0 0 20px;
  }

.filters-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 2px solid #e0e0e0;
    position: sticky;
    top: 0;
    background: white;
    border-radius: 15px 15px 0 0;
    z-index: 1;
  }

.filters-modal-header h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
  }

.filters-container {
    padding: 20px;
    margin: 0;
    box-shadow: none;
  }

.filters-form {
    gap: 15px;
  }

.filter-group {
    width: 100%;
    min-width: 100%;
    flex: 1 1 100%;
    padding: 16px 18px;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
  }

.filter-primary-actions .filter-btn {
    flex: 1 1 auto;
    min-width: 0;
  }

.filter-input,
  .filter-select {
    font-size: 15px;
    padding: 12px;
  }

.price-input {
    font-size: 15px;
    padding: 12px 10px;
  }

.filters-modal .brand-suggestions {
    max-height: 250px; 
  }

.catalog-toggle {
    width: 100%;
    max-width: 100%;
    font-size: var(--btn-font-size);
    padding: var(--btn-pad-y) var(--btn-pad-x);
  }

.catalog-dropdown:not(.mobile-buttons-bar .catalog-dropdown) {
    position: relative;
    left: auto;
    right: auto;
    width: 100%;
  }

.catalog-menu {
    max-height: 60vh;
  }

.catalog-submenu:not(.mobile-buttons-bar .catalog-submenu) {
    position: static;
    margin-left: 0;
    margin-top: 4px;
    box-shadow: none;
    border-left: 3px solid var(--blue);
    padding-left: 12px;
  }

.catalog-menu-item__link {
    font-size: 14px;
  }
}

@media (max-width: 1100px) {
.header__inner {
    flex-wrap: nowrap;
    gap: 8px;
  }

.header__inner:has(.header__nav) {
    gap: 8px;
  }

.header__inner:has(.header__nav) .header__text {
    position: static;
    transform: none;
    flex: 1 1 auto;
    min-width: 0;
    max-width: none;
    width: auto;
    font-size: 16px !important;
    font-weight: 700;
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

.header__inner:has(.header__nav) .header__text:hover,
  .header__inner:has(.header__nav) .header__text:focus {
    transform: scale(1.03) !important;
  }

.header:has(.header__shop-burger) {
    overflow: visible;
  }

.header__burger.header__shop-burger {
    display: block;
    width: 28px;
    height: 28px;
    background-size: 22px 22px;
    margin-left: 0;
  }

.header__right {
    display: flex;
    margin-left: auto;
    gap: 8px;
  }

.header__inner:has(.header__nav) .header__nav {
    margin-left: 0;
  }

.header__nav {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    left: auto;
    margin: 0;
    width: min(240px, calc(100vw - 24px));
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.14);
    z-index: 1200;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }

.header__nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

.header__nav-sep {
    display: block;
    width: auto;
    height: 1px;
    margin: 6px 16px;
    background: #eceff3;
  }

.header__nav-link {
    display: block;
    color: #222;
    font-size: 15px;
    font-weight: 500;
    text-shadow: none;
    padding: 11px 18px;
    opacity: 1;
    text-decoration: none;
    border-radius: 0;
  }

.header__nav-link:hover,
  .header__nav-link:focus,
  .header__nav-link.is-active {
    color: var(--blue);
    text-decoration: none;
    background: rgba(3, 123, 252, 0.06);
  }

.header-btn,
  .my-orders-btn,
  .cart-toggle,
  .header-btn--cart {
    padding: 7px 11px;
    font-size: 12px;
  }

.header__text {
    padding-bottom: 0;
    font-weight: 600;
  }
}

@media (max-width: 768px) {
.header__right {
    display: none;
  }

.header__inner:has(.header__nav) {
    gap: 6px;
  }

.header__inner:has(.header__nav) .header__text {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transform-origin: center;
    flex: 0 0 auto;
    max-width: none;
    width: max-content;
    font-size: 16px !important;
    font-weight: 800;
    text-align: center;
    overflow: visible;
    text-overflow: clip;
    white-space: nowrap;
  }

.header__burger.header__shop-burger {
    margin-left: auto;
  }

.header__inner:has(.header__nav) .header__text:hover,
  .header__inner:has(.header__nav) .header__text:focus {
    transform: translateX(-50%) scale(1.05) !important;
  }
}

@media (max-width: 640px) {
.header__inner:has(.header__nav) .header__text {
    font-size: 12px !important;
    font-weight: 700;
  }

.header__burger.header__shop-burger {
    width: 22px;
    height: 22px;
    background-size: 16px 16px;
  }
}

@media (max-width: 768px) {
.bottom-nav {
    display: block;
  }

.shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

.shop-card {
    flex-direction: column;
    padding: 0;
  }

.shop-card__image {
    width: 100%;
    min-width: 0;
    height: 140px;
    margin-right: 0;
    flex-shrink: 0;
  }

.shop-card__photo {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

.shop-card__no-image {
    height: 140px;
  }

.shop-card__content {
    flex: 1;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

.shop-card__brand {
    font-size: 11px;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
  }

.shop-card__name {
    font-size: 13px;
    margin-bottom: 6px;
    margin-top: 0;
    line-height: 1.3;
    -webkit-line-clamp: 3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

.shop-card__article {
    display: none;
  }

.shop-card__price {
    font-size: 15px;
    margin-bottom: 8px;
    font-weight: 700;
  }

.shop-card__actions {
    margin-top: auto;
    gap: 6px;
  }

.shop-card .cart-btn {
    min-height: 30px;
    padding: 5px 8px;
    font-size: 11px;
  }

.shop-card__actions > .cart-btn {
    width: 100%;
  }

.shop-card .cart-controls {
    --cart-control-size: 28px;
    gap: 4px;
    width: 100%;
  }

.shop-card .cart-controls .cart-btn--add,
  .shop-card .cart-controls .cart-btn--remove,
  .shop-card .cart-controls .cart-btn--checkout {
    width: var(--cart-control-size);
    height: var(--cart-control-size);
    min-width: var(--cart-control-size);
    min-height: var(--cart-control-size);
    max-width: var(--cart-control-size);
    max-height: var(--cart-control-size);
    flex: 0 0 var(--cart-control-size);
    font-size: 14px;
    padding: 0;
  }

.shop-card .cart-quantity-input {
    width: auto;
    min-width: 36px;
    flex: 1 1 auto;
    height: var(--cart-control-size);
    min-height: var(--cart-control-size);
    max-height: var(--cart-control-size);
    font-size: 12px;
    padding: 0 2px;
  }

.product-detail__actions .cart-btn--large,
  .product-detail__actions .cart-controls,
  .product-detail__actions .back-to-shop-btn {
    width: auto;
    max-width: none;
    box-sizing: border-box;
  }

.product-detail__actions .cart-btn--large.cart-btn--add {
    white-space: nowrap;
    padding: 0 14px;
    font-size: 13px;
    font-weight: 700;
  }

.body > .container {
    max-width: 100%;
    min-width: 0;
    overflow-x: clip;
    box-sizing: border-box;
  }

.product-detail__actions .cart-controls {
    justify-content: space-between;
  }

.product-detail__actions .cart-controls .cart-btn,
  .product-detail__actions .cart-controls .cart-btn--checkout {
    flex: 0 0 var(--pda-height);
  }

.product-detail__actions .cart-controls .cart-quantity-input {
    flex: 1 1 auto;
    width: auto;
    min-width: 72px;
  }

.page-title {
    font-size: 36px;
    margin-top: 0;
    margin-bottom: 16px;
  }

.filters-container {
    padding: 15px;
  }

.filters-form {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
  }

.filter-group {
    min-width: 100%;
    width: 100%;
    flex: 1 1 100%;
    padding: 16px 18px;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
  }

.filter-primary-actions .filter-btn {
    width: 100%;
  }

.filter-actions {
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    align-self: stretch;
    margin-left: 0;
  }

.price-filter-container {
    gap: 6px;
    width: 100%;
    flex-wrap: nowrap;
    display: flex;
  }

.price-input {
    min-width: 0;
    width: calc(50% - 10px);
    font-size: 14px;
    padding: 10px 8px;
  }

.price-separator {
    font-size: 14px;
    flex-shrink: 0;
  }

.brand-search-container {
    width: 100%;
  }

.filter-input,
  .filter-select {
    font-size: 16px;
    padding: 10px 12px;
  }

.cart-count {
    display: inline;
  }

.cart-sidebar {
    width: 100%;
    right: -100%;
    top: 0;
    bottom: 0;
    height: 100%;
    max-height: none;
  }

.cart-content {
    padding: 10px;
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

.cart-items {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

.cart-item {
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
  }

.cart-item__image {
    width: 72px;
    height: 72px;
  }

.cart-item__controls {
    --cart-control-size: 30px;
    display: flex;
    justify-content: flex-start;
    width: 100%;
    flex-wrap: nowrap;
    gap: 4px;
  }

.cart-empty {
    grid-column: 1 / -1;
  }

.cart-item__controls .cart-btn,
  .cart-item__controls .cart-btn--remove,
  .cart-item__controls .cart-btn--add,
  .cart-item__controls .cart-btn--checkout,
  .cart-item__controls .cart-btn--remove-item {
    width: var(--cart-control-size) !important;
    height: var(--cart-control-size) !important;
    min-width: var(--cart-control-size) !important;
    min-height: var(--cart-control-size) !important;
    max-width: var(--cart-control-size) !important;
    max-height: var(--cart-control-size) !important;
    padding: 0 !important;
    position: static !important;
    top: auto !important;
    right: auto !important;
    font-size: 14px !important;
  }

.cart-item__controls .cart-quantity-input {
    width: 48px !important;
    min-width: 48px !important;
    flex: 0 0 48px !important;
    height: var(--cart-control-size) !important;
    min-height: var(--cart-control-size) !important;
    max-height: var(--cart-control-size) !important;
    font-size: 13px !important;
  }

.cart-controls {
    --cart-control-size: 36px;
    flex-wrap: nowrap;
    gap: 6px;
  }

.cart-btn {
    font-size: var(--btn-font-size);
  }

.cart-controls .cart-btn--add,
  .cart-controls .cart-btn--remove,
  .cart-controls .cart-btn--checkout {
    width: var(--cart-control-size);
    height: var(--cart-control-size);
    min-width: var(--cart-control-size);
    min-height: var(--cart-control-size);
    max-width: var(--cart-control-size);
    max-height: var(--cart-control-size);
    padding: 0;
    font-size: 16px;
  }

.cart-quantity-input,
  .cart-controls .cart-quantity-input {
    width: 60px;
    min-width: 60px;
    flex-basis: 60px;
    height: var(--cart-control-size);
    min-height: var(--cart-control-size);
    max-height: var(--cart-control-size);
    font-size: 14px;
  }

.shop-card .cart-controls {
    --cart-control-size: 28px;
    gap: 4px;
    width: 100%;
    justify-content: space-between;
  }

.shop-card .cart-controls .cart-btn--add,
  .shop-card .cart-controls .cart-btn--remove,
  .shop-card .cart-controls .cart-btn--checkout {
    font-size: 14px;
  }

.shop-card .cart-quantity-input,
  .shop-card .cart-controls .cart-quantity-input {
    width: auto;
    min-width: 36px;
    flex: 1 1 auto;
    flex-basis: 0;
    max-width: none;
    font-size: 12px;
    padding: 0 2px;
  }

.cart-btn--remove-item {
    background: var(--btn-danger-bg);
    color: var(--btn-danger-color);
    border: var(--btn-border-width) solid var(--btn-danger-border);
    border-radius: var(--btn-radius);
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-sizing: border-box;
  }

.filter-label--section {
    margin-bottom: 0 !important;
  }

.brand-input {
    width: 100%;
  }

.map-controls input,
  .map-controls button {
    width: 100%;
  }
}

@media (max-width: 480px) {
.filter-group--section-heading {
    padding: 12px 0 0 !important;
    border: none !important;
    border-top: 1px solid #e3e9f3 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

.bottom-nav__container {
    gap: 8px;
  }

.bottom-nav__btn {
    padding: 4px 8px;
    min-height: var(--bottom-nav-btn-min-height);
  }

.shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

.shop-card__image,
  .shop-card__no-image {
    height: 120px;
  }

.shop-card__content {
    padding: 8px;
  }

.shop-card__name {
    font-size: 12px;
  }

.shop-card__price {
    font-size: 14px;
  }

.page-title {
    font-size: 28px;
    margin-top: 0;
    margin-bottom: 16px;
  }

.filters-container {
    padding: 10px;
  }

.filters-form {
    gap: 12px;
  }

.filter-group {
    min-width: 100%;
    width: 100%;
  }

.filter-btn {
    width: 100%;
    padding: var(--btn-pad-y) var(--btn-pad-x);
    min-height: var(--btn-min-height);
    height: auto;
  }

.price-filter-container {
    gap: 4px;
    width: 100%;
    flex-wrap: nowrap;
  }

.price-input {
    flex: 1;
    font-size: 14px;
    padding: 10px 6px;
    text-align: center;
  }

.price-separator {
    font-size: 12px;
    flex-shrink: 0;
    padding: 0 3px;
    align-self: center;
  }

.filter-group--section-heading {
    margin-top: 0;
    border-top: none;
    padding-top: 0;
  }

.characteristic-range {
    width: 100%;
    gap: 4px;
  }

.brand-search-container {
    width: 100%;
  }

.filter-label {
    font-size: 13px;
  }

.filters-modal.active {
    padding: 0;
    align-items: stretch;
  }

.filters-modal-content {
    max-height: 100vh;
    height: 100vh;
    max-width: 100%;
    margin: 0;
    border-radius: 0;
  }

.filters-modal-header {
    padding: 12px 15px;
  }

.filters-modal-header h3 {
    font-size: 16px;
  }

.filters-container {
    padding: 15px;
    height: calc(100vh - 60px);
    overflow-y: auto;
  }

.open-filters-btn {
    padding: 12px;
    font-size: 15px;
    font-weight: 700;
  }

.open-filters-btn--icon {
    padding: 0 !important;
    height: var(--catalog-toolbar-control-height, 44px) !important;
    min-height: var(--catalog-toolbar-control-height, 44px) !important;
    max-height: var(--catalog-toolbar-control-height, 44px) !important;
  }

.catalog-toggle {
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 700;
    width: 100%;
  }

.mobile-buttons-bar .catalog-toggle {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    height: var(--catalog-toolbar-control-height, 44px) !important;
    min-height: var(--catalog-toolbar-control-height, 44px) !important;
    max-height: var(--catalog-toolbar-control-height, 44px) !important;
  }

.mobile-buttons-bar .catalog-toolbar-apply.filter-btn {
    width: var(--catalog-toolbar-control-height, 44px) !important;
    min-width: var(--catalog-toolbar-control-height, 44px) !important;
    max-width: var(--catalog-toolbar-control-height, 44px) !important;
    height: var(--catalog-toolbar-control-height, 44px) !important;
    min-height: var(--catalog-toolbar-control-height, 44px) !important;
    max-height: var(--catalog-toolbar-control-height, 44px) !important;
    padding: 0 !important;
  }

.catalog-dropdown {
    width: 100%;
    left: 0;
    right: 0;
  }

.catalog-menu {
    max-height: 50vh;
  }

.header__inner {
    gap: 3px;
  }

.cart-total-label {
    font-size: 16px;
  }

.cart-total-price {
    font-size: 20px;
  }

.cart-checkout-btn {
    padding: var(--btn-pad-y) var(--btn-pad-x);
    font-size: var(--btn-font-size);
    font-weight: var(--btn-font-weight);
  }
}

.error-page-body .content {
  min-height: 100vh;
}

.error-page > .footer,
.error-page > .brand-footer {
  position: relative;
  z-index: 1;
  margin-top: auto;
}

.articles-home .article-card__excerpt,
.articles-home .post__desc.article-card__excerpt {
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

.body.part:has(.article-post) {
  background:
    radial-gradient(900px 380px at 6% -10%, color-mix(in srgb, var(--blue) 12%, transparent), transparent 55%),
    linear-gradient(180deg, #f5f7fc 0%, var(--bg-color) 48%, #e9eef7 100%);
}

.article-post__meta .tags.part {
  margin-bottom: 0 !important;
}

.article-post__body .post__subtitle {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--menu-color);
  text-align: left;
  margin: 18px 0 10px;
}

.article-post__body .post__li {
  margin: 0 !important;
  padding: 7px 0 7px 24px;
  position: relative;
  border-bottom: 1px solid #e8edf3;
  text-indent: 0;
}

.article-post__body .post__li:last-child {
  border-bottom: 0;
}

.article-post__body .post__li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--blue) 55%, #5f7f9f);
  position: absolute;
  left: 8px;
  top: 17px;
  background-image: none;
}

.article-post__body .post__li p {
  margin: 0;
  text-indent: 0;
  line-height: 1.55;
}

.article-post__body .post__li strong {
  color: #20354d;
}

@media (max-width: 768px) {
.article-post__body .post__li {
    padding-left: 22px;
  }
}

@media (max-width: 640px) {
.article-post__body .post__li::before {
    top: 14px;
  }
}

/* filters / brand picker */
.characteristic-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 220px;
  overflow-y: auto;
}

.characteristic-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--menu-color);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.characteristic-option:hover {
  background-color: var(--blue-soft-bg);
}

.characteristic-option input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--blue);
}

.characteristic-notice {
  font-size: 12px;
  color: #999;
  margin-top: 4px;
}

.subcategories-container {
  margin-bottom: 40px;
}

.subcategories-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #333;
}

.subcategories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.brand-suggestions-divider {
  height: 1px;
  background: linear-gradient(to right, #e0e0e0, transparent);
  margin: 8px 0;
  position: relative;
}

.brand-suggestions-divider::after {
  content: 'Доступные бренды';
  position: absolute;
  top: -8px;
  left: 16px;
  background: white;
  padding: 0 8px;
  font-size: 11px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
